/* ==========================================================================
   Reputation Matters - site.css
   Hand-built design system. Palette derived from the RM pinwheel logo and
   2026 capability document. Fonts: Jost (display) + Figtree (body).
   ========================================================================== */

:root {
  --green: #709547; /* sampled from the pinwheel logo */
  --green-deep: #587b37;
  --green-ink: #2a3520;
  --green-tint: #edf3e2;
  --green-tint-2: #f5f8ee;
  --sage: #a9bc8f;
  --ink: #242b1c;
  --ink-2: #4c5442;
  --grey: #6f7468;
  --paper: #fbfcf8;
  --white: #ffffff;
  --line: #e3e8d8;
  --acc-blue: #2f6bae;
  --acc-red: #ce3a2e;
  --acc-orange: #e5892f;
  --acc-purple: #7d3f98;
  --acc-gold: #dfb62f;
  --radius: 20px;
  --radius-sm: 14px;
  --shadow: 0 6px 30px rgba(42, 53, 32, 0.08);
  --shadow-lg: 0 18px 60px rgba(42, 53, 32, 0.14);
  --font-display: "Jost", "Century Gothic", sans-serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
  --header-h: 84px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); overflow-x: hidden; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--green-deep); text-decoration: none; }
a:hover { color: var(--green); }
strong { color: var(--ink); }
ul { list-style: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: 0.005em;
  text-wrap: balance;
}

.container { width: min(1180px, 92vw); margin: 0 auto; }
.container-wide { width: min(1400px, 94vw); margin: 0 auto; }

section { position: relative; }
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-tint { background: var(--green-tint-2); }

/* --- shared bits ------------------------------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}

.section-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section-head.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.centered .eyebrow::after {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); margin-bottom: 0.9rem; }
.section-head p { font-size: 1.1rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.95rem 1.9rem;
  border-radius: 999px;
  border: 1.5px solid var(--green);
  background: var(--green);
  color: #fff;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  text-align: center;
  max-width: 100%;
}
.nav-cta .btn { white-space: nowrap; }
.btn:hover {
  background: var(--green-deep);
  border-color: var(--green-deep);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(110, 148, 68, 0.35);
}
.btn .arr { transition: transform 0.2s ease; }
.btn:hover .arr { transform: translateX(4px); }

.btn-ghost { background: transparent; color: var(--green-deep); }
.btn-ghost:hover { background: var(--green); border-color: var(--green); }

.btn-light { background: #fff; border-color: #fff; color: var(--green-deep); }
.btn-light:hover { background: var(--green-tint); border-color: var(--green-tint); color: var(--green-ink); box-shadow: none; }

/* --- header ------------------------------------------------------------ */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(251, 252, 248, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 24px rgba(42, 53, 32, 0.06); }

.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand img { height: 58px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 1.7rem; }
.nav-links a {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--ink-2);
  position: relative;
  padding: 0.35rem 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-links a:hover { color: var(--green-deep); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.nav-cta { display: flex; align-items: center; gap: 0.9rem; }
.nav-cta .btn { padding: 0.7rem 1.5rem; font-size: 0.92rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- hero -------------------------------------------------------------- */

.hero {
  padding: calc(var(--header-h) + clamp(3rem, 7vw, 5.5rem)) 0 clamp(3.5rem, 6vw, 5rem);
  background:
    radial-gradient(60rem 34rem at 118% -10%, rgba(169, 188, 143, 0.28), transparent 60%),
    radial-gradient(46rem 30rem at -18% 112%, rgba(110, 148, 68, 0.14), transparent 55%),
    var(--paper);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.5rem, 4.6vw, 3.9rem);
  font-weight: 500;
  margin-bottom: 1.4rem;
}
.hero h1 em {
  font-style: normal;
  color: var(--green-deep);
  position: relative;
  white-space: nowrap;
}
.hero h1 em svg {
  position: absolute;
  left: 0;
  bottom: -0.18em;
  width: 100%;
  height: 0.32em;
  overflow: visible;
}
.hero-sub { font-size: 1.2rem; max-width: 34rem; margin-bottom: 2.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.8rem; }

/* --- trust band --------------------------------------------------------- */

.belief-line.trust-line { margin-top: 0; font-size: clamp(1.35rem, 2.6vw, 1.9rem); }
.hero { padding-bottom: clamp(0.8rem, 1.5vw, 1.2rem); }
.trust-band + .section { padding-top: clamp(1.3rem, 2.4vw, 1.8rem); }

.trust-banner {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: clamp(230px, 30vw, 340px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.trust-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.trust-banner p {
  position: relative;
  z-index: 1;
  width: 100%;
  text-align: center;
  background: rgba(255, 253, 246, 0.88);
  padding: 1.25rem clamp(1rem, 4vw, 3rem);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.1rem, 2.3vw, 1.55rem);
  color: var(--green-ink);
  letter-spacing: 0.01em;
  text-wrap: balance;
}

.hero-visual { position: relative; }
.hero-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3.4;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

.float-card {
  position: absolute;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 0.95rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  animation: floaty 5.5s ease-in-out infinite;
}
.float-card .t b { display: block; font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: 0.98rem; line-height: 1.25; }
.float-card .t span { font-size: 0.8rem; color: var(--grey); }
.fc-years { top: -1.4rem; right: -0.8rem; animation-delay: 1.6s; }
.fc-score { bottom: -1.6rem; left: -1.2rem; }
.fc-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--green-tint);
  color: var(--green-deep);
  flex: none;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

.hero-deco { position: absolute; border-radius: 7px; opacity: 0.9; animation: floaty 7s ease-in-out infinite; }
.hero-deco.d1 { width: 20px; height: 20px; background: var(--acc-gold); top: 12%; left: -3.2rem; animation-delay: 0.8s; }
.hero-deco.d2 { width: 14px; height: 14px; background: var(--acc-blue); top: 38%; right: -2.8rem; border-radius: 5px; animation-delay: 2.2s; }
.hero-deco.d3 { width: 16px; height: 16px; background: var(--acc-red); bottom: 26%; right: -3.4rem; border-radius: 5px; animation-delay: 3.4s; }
.hero-deco.d4 { width: 12px; height: 12px; background: var(--acc-purple); bottom: 8%; left: -2.6rem; border-radius: 4px; animation-delay: 1.4s; }

/* --- client marquee ---------------------------------------------------- */

.trust-strip { padding: 2.6rem 0 2.8rem; border-top: 1px solid var(--line); background: #fff; }
.trust-strip p.lead-in {
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 1.6rem;
}
.marquee { overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 1rem; width: max-content; animation: marquee 70s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img {
  height: 66px;
  width: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 6px 10px;
  object-fit: contain;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* --- story ------------------------------------------------------------- */

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
.story-copy p { margin-bottom: 1.1rem; }
.story-visual { position: relative; }
.story-visual .main {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.story-visual .main img { width: 100%; height: 100%; object-fit: cover; }
.quote-card {
  position: absolute;
  right: -1.4rem;
  bottom: -2rem;
  max-width: 21rem;
  background: var(--green);
  color: #f6f9ec;
  border-radius: var(--radius-sm);
  padding: 1.4rem 1.6rem;
  box-shadow: var(--shadow-lg);
  font-size: 0.97rem;
  line-height: 1.55;
}
.quote-card b { color: #fff; display: block; margin-top: 0.6rem; font-weight: 600; font-size: 0.85rem; letter-spacing: 0.06em; }
.quote-card .qmark { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: #e2ecca; display: block; margin-bottom: 0.2rem; }

.belief-line {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  color: var(--green-ink);
  font-weight: 500;
  max-width: 46rem;
  margin-left: auto;
  margin-right: auto;
}
.belief-line span { color: var(--green); }

/* --- values ------------------------------------------------------------ */

.values-intro { max-width: 640px; margin: 0 auto clamp(2.2rem, 4vw, 3rem); text-align: center; }
.values-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.1rem; }
.value-card {
  flex: 0 1 216px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.6rem 1.2rem 1.4rem;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--sage); }
.value-card .ic {
  width: 54px;
  height: 54px;
  margin: 0 auto 0.9rem;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--green-tint);
  color: var(--green-deep);
}
.value-card h3 { font-size: 1.06rem; font-weight: 500; letter-spacing: 0.02em; }
.value-card h3 b { color: var(--green); font-weight: 600; }

/* --- services ---------------------------------------------------------- */

.svc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-bottom: clamp(2.6rem, 5vw, 3.6rem); }
.svc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.8rem 1.9rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--sage); }
.svc-card img.pin { width: 96px; height: 96px; object-fit: contain; margin-bottom: 1.3rem; }
.svc-card h3 { font-size: 1.35rem; margin-bottom: 0.2rem; }
.svc-card .tag { font-size: 0.86rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); margin-bottom: 0.8rem; }
.svc-card p { font-size: 0.99rem; }
.svc-card > .btn { margin-top: 1.4rem; align-self: flex-start; padding: 0.75rem 1.5rem; font-size: 0.93rem; }

/* accordion */
.acc { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.acc-item + .acc-item { border-top: 1px solid var(--line); }
.acc-head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.35rem 1.6rem;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  transition: background 0.2s ease;
}
.acc-head:hover { background: var(--green-tint-2); }
.acc-thumb { width: 58px; height: 58px; border-radius: 12px; object-fit: cover; flex: none; }
.acc-head .tt { flex: 1; }
.acc-head .tt h3 { font-size: 1.12rem; font-weight: 500; letter-spacing: 0.04em; }
.acc-head .tt span { font-size: 0.9rem; color: var(--grey); }
.acc-icon {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--green-deep);
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.acc-item.open .acc-icon { transform: rotate(45deg); background: var(--green); border-color: var(--green); color: #fff; }
.acc-body { max-height: 0; overflow: hidden; transition: max-height 0.45s ease; }
.acc-body-inner { padding: 0.2rem 1.6rem 1.7rem calc(1.6rem + 58px + 1.2rem); }
.acc-body-inner p { margin-bottom: 1rem; font-size: 1rem; }
.acc-body-inner .btn { margin-top: 0.4rem; }

/* --- repudometer spotlight --------------------------------------------- */

.repu {
  background:
    radial-gradient(50rem 30rem at 110% 0%, rgba(255, 255, 255, 0.14), transparent 55%),
    linear-gradient(145deg, #7ba351 0%, #709547 55%, #628343 100%);
  color: #f3f7e9;
}
.repu .eyebrow { color: #fff; }
.repu .eyebrow::before { background: #fff; }
.repu-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
.repu h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: 1rem; }
.repu h2 span { color: #2b3a1d; }
.repu p { margin-bottom: 1.1rem; }
.repu .treasure { font-family: var(--font-display); font-size: 1.25rem; color: #fff; margin: 1.4rem 0 1.8rem; }
.repu-visual { position: relative; }
.repu-visual img {
  width: min(460px, 100%);
  margin: 0 auto;
  border-radius: var(--radius);
  box-shadow: 0 22px 60px rgba(31, 42, 17, 0.35);
}
.repu .btn-ghost:hover { background: rgba(255, 255, 255, 0.16); border-color: #fff; color: #fff; }
.repu-steps { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-bottom: 1.9rem; }
.repu-steps span {
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.5rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  color: #fff;
}

/* --- split feature (budget, book, rebag) ------------------------------- */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
.split .visual { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.split .visual img { width: 100%; height: 100%; object-fit: cover; }
.split .copy h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-bottom: 1rem; }
.split .copy p { margin-bottom: 1.1rem; }
.split .copy .btn { margin-top: 0.8rem; }
.split.flip .visual { order: 2; }
.split.flip .copy { order: 1; }

.link-lines { margin-top: 1rem; display: grid; gap: 0.45rem; font-size: 1rem; }
.link-lines a { font-weight: 600; }

/* --- clients grid ------------------------------------------------------ */

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.85rem;
}
.clients-grid .cell {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem;
  display: grid;
  place-items: center;
  aspect-ratio: 3 / 2;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.clients-grid .cell:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--sage); }
.clients-grid .cell img { max-height: 100%; object-fit: contain; }
.clients-grid .cell.you {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  cursor: pointer;
}
.clients-grid .cell.you:hover { background: var(--green-deep); }
.clients-grid .cell.you a { color: #fff; display: grid; place-items: center; width: 100%; height: 100%; }

/* --- awards ------------------------------------------------------------ */

.awards-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; }
.awards-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.award-list { display: grid; gap: 0.55rem; }
.award-item {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem 1.1rem;
  font-size: 0.97rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.award-item:hover { transform: translateX(5px); border-color: var(--sage); }
.award-item .yr {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--green-deep);
  flex: none;
  width: 3.1rem;
}
.award-item .win {
  margin-left: auto;
  flex: none;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--green-deep);
  background: var(--green-tint);
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  text-transform: uppercase;
  align-self: center;
}

/* --- why / community --------------------------------------------------- */

.duo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.duo-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem 2rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.duo-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.duo-card .ic {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--green-tint);
  color: var(--green-deep);
  margin-bottom: 1.2rem;
}
.duo-card h3 { font-size: 1.3rem; margin-bottom: 0.8rem; }
.duo-card p { font-size: 1rem; }

/* --- testimonials ------------------------------------------------------ */

.testi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.testi-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem 2rem 1.9rem;
  position: relative;
}
.testi-card .qmark {
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 0.6;
  color: var(--sage);
  display: block;
  margin-bottom: 1.1rem;
}
.testi-card blockquote { font-size: 1.05rem; color: var(--ink-2); margin-bottom: 1.4rem; font-style: italic; }
.testi-card .who { font-size: 0.92rem; font-weight: 700; color: var(--ink); }
.testi-card .who span { display: block; font-weight: 500; color: var(--grey); font-size: 0.86rem; }

/* --- CTA band ---------------------------------------------------------- */

.cta-band {
  background:
    radial-gradient(40rem 22rem at 88% 120%, rgba(233, 239, 220, 0.2), transparent 60%),
    linear-gradient(135deg, var(--green-deep), var(--green) 90%);
  border-radius: var(--radius);
  color: #f0f4e4;
  padding: clamp(2.6rem, 5vw, 4rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.8rem;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 0.5rem; }
.cta-band p { max-width: 34rem; }

/* --- subscribe --------------------------------------------------------- */

.sub-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; }
.sub-visual { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.sub-form .form-row { display: grid; gap: 0.9rem; margin-top: 1.6rem; max-width: 26rem; }
.sub-form input[type="text"], .sub-form input[type="email"] {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.95rem 1.2rem;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}
.sub-form input:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(110, 148, 68, 0.14); }
.form-note { font-size: 0.95rem; margin-top: 0.9rem; display: none; }
.form-note.ok { display: block; color: var(--green-deep); font-weight: 600; }
.form-note.err { display: block; color: var(--acc-red); font-weight: 600; }

/* --- contact ----------------------------------------------------------- */

.contact-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 1.6rem; align-items: stretch; }
.contact-grid > * { min-width: 0; }
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.3rem 2.1rem;
  box-shadow: var(--shadow);
}
.contact-card h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 0.4rem; }
.contact-card .sub { margin-bottom: 1.6rem; }
.contact-rows { display: grid; gap: 1.05rem; margin-bottom: 1.7rem; }
.contact-row { display: flex; gap: 1rem; align-items: flex-start; }
.contact-row > div { min-width: 0; }
.contact-row a, .contact-row span.v { overflow-wrap: anywhere; }
.contact-row .ic {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--green-tint);
  color: var(--green-deep);
  display: grid;
  place-items: center;
}
.contact-row b { display: block; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey); font-weight: 700; margin-bottom: 0.1rem; }
.contact-row a, .contact-row span.v { font-size: 1.02rem; font-weight: 600; color: var(--ink); }
.contact-row a:hover { color: var(--green-deep); }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); min-height: 420px; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

.socials { display: flex; gap: 0.7rem; }
.socials a {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--green-deep);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.socials a:hover { background: var(--green); border-color: var(--green); color: #fff; transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }

/* --- footer ------------------------------------------------------------ */

.site-footer { background: var(--green); color: #f2f6e6; padding: 3.4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.4rem; }
.footer-brand img { height: 56px; width: auto; background: #fff; padding: 8px 14px; border-radius: 12px; margin-bottom: 1.1rem; }
.footer-brand p { font-size: 0.97rem; max-width: 24rem; }
.site-footer h4 { color: #fff; font-size: 0.85rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; margin-bottom: 1rem; }
.footer-links { display: grid; gap: 0.5rem; }
.footer-links a { color: rgba(255, 255, 255, 0.92); font-size: 0.97rem; }
.footer-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.site-footer .socials a { border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.site-footer .socials a:hover { background: #fff; border-color: #fff; color: var(--green-deep); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.32);
  padding-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: space-between;
  font-size: 0.9rem;
}
.footer-bottom strong { color: #fff; }

/* --- inner-page hero (team / press / articles) ------------------------- */

.page-hero {
  padding: calc(var(--header-h) + clamp(2.6rem, 5vw, 4rem)) 0 clamp(2.6rem, 5vw, 4rem);
  background:
    radial-gradient(50rem 26rem at 110% -20%, rgba(169, 188, 143, 0.3), transparent 60%),
    var(--green-tint-2);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); margin-bottom: 0.9rem; }
.page-hero p.lead { font-size: 1.15rem; max-width: 46rem; }

/* --- team -------------------------------------------------------------- */

.profile { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2.2rem, 5vw, 4rem); align-items: start; }
.profile + .profile { margin-top: clamp(3.5rem, 7vw, 5.5rem); padding-top: clamp(3.5rem, 7vw, 5.5rem); border-top: 1px solid var(--line); }
.profile.flip .photo { order: 2; }
.profile .photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); position: sticky; top: calc(var(--header-h) + 20px); }
.profile .photo img { width: 100%; object-fit: cover; }
.profile h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin-bottom: 0.2rem; }
.profile .role { font-family: var(--font-display); color: var(--green-deep); font-weight: 500; letter-spacing: 0.06em; margin-bottom: 1.1rem; }
.profile .qual {
  display: inline-block;
  background: var(--green-tint);
  color: var(--green-ink);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  margin: 0 0.5rem 0.6rem 0;
}
.profile .bio { margin-top: 1.2rem; }
.profile .bio p { margin-bottom: 1.05rem; }

/* --- press grid -------------------------------------------------------- */

.press-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.post-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--sage); }
.post-card .thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--green-tint-2); }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.post-card:hover .thumb img { transform: scale(1.05); }
.post-card .body { padding: 1.4rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.post-card .date { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green-deep); margin-bottom: 0.5rem; }
.post-card h3 { font-size: 1.18rem; line-height: 1.3; margin-bottom: 0.6rem; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a:hover { color: var(--green-deep); }
.post-card p.ex {
  font-size: 0.95rem;
  color: var(--ink-2);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 1rem;
}
.post-card .more { margin-top: auto; font-family: var(--font-display); font-weight: 500; font-size: 0.94rem; letter-spacing: 0.04em; }

/* --- article page ------------------------------------------------------ */

.article-wrap { max-width: 780px; margin: 0 auto; }
.article-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  margin-bottom: 1.8rem;
}
.article-title { font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: 0.8rem; }
.article-meta { font-size: 0.88rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green-deep); margin-bottom: 2.2rem; }
.prose { font-size: 1.08rem; }
.prose p { margin-bottom: 1.25rem; }
.prose img { border-radius: var(--radius-sm); margin: 1.6rem auto; height: auto; }
.prose h2, .prose h3, .prose h4 { margin: 2rem 0 0.9rem; }
.prose ul, .prose ol { margin: 0 0 1.25rem 1.4rem; }
.prose ol { list-style: decimal; }
.prose ul { list-style: disc; }
.prose li { margin-bottom: 0.45rem; }
.prose blockquote { border-left: 3px solid var(--green); padding-left: 1.2rem; font-style: italic; margin: 1.5rem 0; color: var(--ink); }
.prose a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.prose iframe { max-width: 100%; border-radius: var(--radius-sm); }

/* --- reveal on scroll --------------------------------------------------- */

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-card, .hero-deco { animation: none; }
  .marquee-track { animation-duration: 240s; }
}

/* --- responsive --------------------------------------------------------- */

@media (max-width: 1080px) {
  .nav-links { gap: 1.15rem; }
  .nav-links a { font-size: 0.9rem; }
}

@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .brand img { height: 46px; }
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: flex; }
  .mobile-menu {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 99;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    padding: 1rem 4vw 1.6rem;
    display: none;
  }
  .mobile-menu.open { display: block; }
  .mobile-menu a {
    display: block;
    padding: 0.85rem 0.4rem;
    font-family: var(--font-display);
    font-size: 1.08rem;
    font-weight: 500;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
  }
  .mobile-menu a:last-of-type { border-bottom: 0; }
  .hero-grid, .story-grid, .repu-grid, .split, .sub-grid, .awards-grid, .contact-grid, .profile { grid-template-columns: 1fr; }
  .split.flip .visual { order: 0; }
  .split.flip .copy { order: 1; }
  .hero-visual { max-width: 540px; }
  .svc-cards { grid-template-columns: 1fr; }
  .duo-grid, .testi-grid { grid-template-columns: 1fr; }
  .press-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .quote-card { position: static; margin-top: 1.2rem; max-width: none; }
  .awards-photo, .profile .photo { position: static; }
  .profile.flip .photo { order: 0; }
  .profile .photo { max-width: 420px; }
  .acc-body-inner { padding-left: 1.6rem; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .press-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .fc-years { right: 0.4rem; top: -1.1rem; }
  .fc-score { left: 0.4rem; }
  .hero-deco { display: none; }
  .clients-grid { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); }
  .acc-head { padding: 1.1rem 1.1rem; }
  .acc-body-inner { padding: 0.2rem 1.1rem 1.4rem; }
  .cta-band { text-align: left; }
  .btn { overflow-wrap: anywhere; }
  .contact-card { padding: 1.7rem 1.3rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .cta-band .btn, .acc-body-inner .btn, .sub-form .btn { width: 100%; }
}

@media (max-width: 460px) {
  .brand img { height: 38px; }
  .nav-cta .btn { padding: 0.55rem 1rem; font-size: 0.83rem; }
  .nav-cta { gap: 0.4rem; }
}
