/* ============================================================
   SOW FINANCIAL — styles.css
   Palette + type drawn from the SOW brand marks.
   Display: Cormorant Garamond · Body: IBM Plex Sans
   ============================================================ */

:root {
  /* Brand colour ---------------------------------------------------------- */
  --forest:        #3b4a2f;   /* deep green from the wordmark */
  --forest-deep:   #2c3823;   /* darker for contrast blocks   */
  --forest-ink:    #232a1c;   /* near-black green body text    */
  --sage:          #9fb083;   /* logomark sage */
  --sage-soft:     #c4d0ac;
  --sage-tint:     #e7ecdb;   /* pale sage wash */
  --cream:         #f2ecc9;   /* butter accent from logomark */
  --paper:         #faf7ee;   /* warm off-white page bg */
  --paper-2:       #f4efe1;   /* alt section bg */
  --white:         #ffffff;
  --line:          #e2ddca;   /* hairline borders */

  /* Semantic -------------------------------------------------------------- */
  --bg:            var(--paper);
  --ink:           var(--forest-ink);
  --muted:         #5c6551;   /* muted body / captions (>=4.5:1 on paper) */
  --brand:         var(--forest);
  --accent:        var(--sage);

  /* Type ------------------------------------------------------------------ */
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "IBM Plex Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* Scale ----------------------------------------------------------------- */
  --step--1: clamp(0.82rem, 0.79rem + 0.15vw, 0.9rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.12rem);
  --step-1:  clamp(1.2rem, 1.1rem + 0.5vw, 1.4rem);
  --step-2:  clamp(1.6rem, 1.35rem + 1.2vw, 2.2rem);
  --step-3:  clamp(2.2rem, 1.7rem + 2.4vw, 3.4rem);
  --step-4:  clamp(3rem, 2rem + 5vw, 6rem);

  /* Space ----------------------------------------------------------------- */
  --space-section: clamp(4.5rem, 3rem + 6vw, 8.5rem);
  --gutter: clamp(1.25rem, 0.6rem + 3vw, 4rem);
  --maxw: 1240px;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 18px 50px -24px rgba(35, 42, 28, 0.35);
  --shadow-soft: 0 10px 30px -18px rgba(35, 42, 28, 0.3);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------------- Reset ---------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
:focus-visible { outline: 3px solid var(--forest); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--forest); color: #fff; padding: 10px 16px; border-radius: 8px;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

.ic { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------------- Shared type ---------------- */
.eyebrow {
  font-family: var(--sans);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 1.1rem;
  display: flex; align-items: center; gap: .7rem;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--sage); display: inline-block; }
.eyebrow--light { color: var(--sage-soft); }
.eyebrow--light::before { background: var(--sage-soft); }

.h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: var(--step-3);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--forest);
  max-width: 20ch;
}
.h2--light { color: var(--paper); }

.section__lede, .contact__lede {
  font-size: var(--step-1);
  color: var(--muted);
  max-width: 52ch;
  margin-top: 1.3rem;
  line-height: 1.55;
}

.prose p { margin-top: 1.1rem; color: #414a37; max-width: 54ch; }
.prose p:first-child { margin-top: 0; }
.prose em { font-style: italic; color: var(--forest); }

.section {
  padding-block: var(--space-section);
  padding-inline: var(--gutter);
  max-width: var(--maxw);
  margin-inline: auto;
}

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 500; color: var(--forest);
  margin-top: 2rem;
  border-bottom: 1px solid var(--sage);
  padding-bottom: 3px;
  transition: gap .25s var(--ease), color .25s var(--ease);
}
.link-arrow .ic { width: 18px; height: 18px; }
.link-arrow:hover { gap: .9rem; color: var(--forest-deep); }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-weight: 500; font-size: var(--step-0);
  padding: .8rem 1.5rem; border-radius: 999px;
  transition: transform .2s var(--ease), background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
}
.btn--lg { padding: 1rem 2rem; }
.btn--block { width: 100%; }
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--forest); color: var(--paper); box-shadow: var(--shadow-soft); }
.btn--primary:hover { background: var(--forest-deep); box-shadow: var(--shadow); }

.btn--ghost-light { border: 1px solid rgba(255,255,255,.55); color: #fff; }
.btn--ghost-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }

.btn--ghost { border: 1px solid var(--sage); color: var(--forest); }
.btn--ghost:hover { background: var(--sage-tint); border-color: var(--forest); }

.btn--phone { color: var(--cream); border: 1px solid transparent; background: var(--forest); }
.btn--phone .ic { width: 17px; height: 17px; fill: currentColor; stroke: none; }
.btn--phone .ic--stroke { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.btn--phone:hover { background: var(--forest-deep); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav__inner {
  max-width: var(--maxw); margin-inline: auto;
  padding: .9rem var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.nav__wordmark { height: 30px; width: auto; }

.nav.is-solid { background: rgba(250, 247, 238, 0.92); backdrop-filter: saturate(140%) blur(10px); border-bottom-color: var(--line); box-shadow: 0 8px 30px -22px rgba(35,42,28,.5); }

/* ---------------- Growing vine: weaves through the page (desktop) ---------------- */
.vine {
  position: absolute; top: 0; left: 0; width: 100%;
  z-index: 1; pointer-events: none;
}
.vine svg { display: block; overflow: visible; width: 100%; }

/* Lift page content above the vine so it weaves BEHIND text and images,
   surfacing in the whitespace between them. Backgrounds stay beneath it. */
.section > *, .stats > *, .gallery > *, .how > *, .contact > * { position: relative; z-index: 2; }
.band__img, .band__scrim { z-index: 2; }
.band__line { z-index: 3; }
.vine__stem {
  stroke: var(--sage); stroke-width: 2.5;
  stroke-linecap: round; stroke-linejoin: round;
}
.vine__leaf {
  transform-box: fill-box; transform-origin: 0px 0px;
  transform: scale(0) rotate(-30deg);
  transition: transform .8s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.vine__leaf.is-grown { transform: scale(1) rotate(0deg); }
.vine__leaf-shape { fill: var(--sage); }
.vine__leaf--soft .vine__leaf-shape { fill: var(--sage-soft); }
.vine__leaf-vein { stroke: var(--paper); stroke-width: 1; stroke-linecap: round; opacity: .75; }
.vine__leaf--soft .vine__leaf-vein { stroke: var(--forest); opacity: .28; }
.vine__tendril-curl { stroke: var(--sage); stroke-width: 1.8; stroke-linecap: round; }
.vine__branch-stem { stroke: var(--sage); stroke-width: 2.2; stroke-linecap: round; }
.vine__bloom {
  transform-origin: center;
  transform: scale(0) rotate(-90deg);
  transition: transform 1s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.vine__bloom.is-grown { transform: scale(1) rotate(0deg); }
.vine__petal { fill: var(--cream); stroke: var(--sage); stroke-width: .8; }
.vine__heart { fill: var(--forest); }
.vine__tip { fill: var(--forest); opacity: 0; transition: opacity .3s var(--ease); }
.vine.is-growing .vine__tip { opacity: 1; }
@media (max-width: 940px) { .vine { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .vine__leaf { transition: none; }
}

/* ---------------- Side rail nav (desktop) ---------------- */
.sidenav {
  opacity: 0; pointer-events: none; translate: 14px 0;
  transition: opacity .4s var(--ease), translate .4s var(--ease);
  position: fixed; top: 50%; right: clamp(.8rem, 2vw, 2.2rem); transform: translateY(-50%);
  z-index: 90;
  display: flex; flex-direction: column; align-items: flex-end; gap: .15rem;
  padding: .9rem 1.1rem;
  background: rgba(250, 247, 238, 0.78);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border: 1px solid rgba(226, 221, 202, 0.7);
  border-radius: 16px;
  box-shadow: 0 14px 40px -26px rgba(35, 42, 28, 0.5);
}
.sidenav a {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: var(--step--1); font-weight: 500; letter-spacing: .015em;
  color: var(--muted); padding: .32rem 0;
  transition: color .22s var(--ease);
}
.sidenav__dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--sage); opacity: 0;
  transform: scale(.4);
  transition: opacity .25s var(--ease), transform .25s var(--ease), background .25s var(--ease);
}
.sidenav a:hover { color: var(--forest); }
.sidenav a.is-active { color: var(--forest); font-weight: 600; }
.sidenav a.is-active .sidenav__dot { opacity: 1; transform: scale(1); background: var(--forest); }

.nav__actions { display: flex; align-items: center; gap: .8rem; }

.nav__toggle { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease), background .3s var(--ease); }
.nav.is-solid .nav__toggle span { background: var(--forest-ink); }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile[hidden] { display: none; }
.nav__mobile {
  display: flex; flex-direction: column; gap: .3rem;
  padding: .5rem var(--gutter) 1.6rem;
  background: rgba(250, 247, 238, 0.98); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__mobile a { padding: .85rem .2rem; font-weight: 500; color: var(--forest-ink); border-bottom: 1px solid var(--line); }
.nav__mobile a:last-child { border-bottom: none; margin-top: .8rem; }

/* ============================================================
   HERO — Elysian-style stage (photo → type → subject cutout)
   ============================================================ */
.hero {
  --hero-focus: 26% 42%;   /* shared crop focus so photo & cutout align; low x keeps the team right of centre at mid widths */
  position: relative; min-height: 100svh;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: var(--hero-focus);
}

/* ---- Entrance choreography: photo settles, lines rise, team lifts in last ---- */
@keyframes hero-photo-settle {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* Hidden start states only when JS is available (html.js), so no-JS users still see everything */
.js .hero:not(.is-on) .hero__media img,
.js .hero:not(.is-on) .hero__l1,
.js .hero:not(.is-on) .hero__l2,
.js .hero:not(.is-on) .hero__cutout { opacity: 0; }
.hero.is-on .hero__media img,
.hero.is-on .hero__cutout { animation: hero-photo-settle 1.7s var(--ease) both; }
.hero.is-on .hero__l1, .hero.is-on .hero__l2 { animation: hero-rise .95s var(--ease) both; }
.hero.is-on .hero__l1 { animation-delay: .6s; }
.hero.is-on .hero__l2 { animation-delay: .82s; }
@media (prefers-reduced-motion: reduce) {
  .js .hero:not(.is-on) .hero__media img, .js .hero:not(.is-on) .hero__l1,
  .js .hero:not(.is-on) .hero__l2, .js .hero:not(.is-on) .hero__cutout { opacity: 1; }
  .hero.is-on .hero__media img, .hero.is-on .hero__l1, .hero.is-on .hero__l2,
  .hero.is-on .hero__cutout { animation: none; }
}
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(0deg, rgba(35,42,28,.5) 0%, rgba(35,42,28,.16) 34%, rgba(35,42,28,.4) 100%);
}
.hero__cutout {
  position: absolute; inset: 0; z-index: 2;
  width: 100%; height: 100%;
  object-fit: cover; object-position: var(--hero-focus);
  pointer-events: none;
  filter: drop-shadow(0 22px 40px rgba(35, 42, 28, 0.35));
}
.hero__eyebrow {
  position: absolute; z-index: 3;
  top: calc(64px + clamp(1rem, 3vh, 2.2rem));
  left: 50%; transform: translateX(-50%);
  width: max-content; max-width: calc(100vw - 2 * var(--gutter));
  text-align: center;
  font-size: var(--step--1); font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(250, 247, 238, 0.92);
  text-shadow: 0 1px 14px rgba(35, 42, 28, 0.4);
}
.hero__title {
  position: absolute; z-index: 1;
  top: 34%; left: 0; transform: translateY(-50%);
  width: 100%;
  text-align: left;
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.6rem, 8.4vw, 10.5rem);
  line-height: 0.98; letter-spacing: -0.012em;
  color: var(--paper);
  text-shadow: 0 2px 34px rgba(35, 42, 28, 0.4);
}
.hero__l1 { display: block; margin-left: 13vw; }
.hero__l2 { display: block; margin-left: 30vw; }
.hero__gap { display: inline-block; width: 1.6em; }
/* Mid widths: not enough room beside the team — run one clear line up top */
@media (max-width: 1240px) and (min-width: 701px) {
  .hero__title {
    top: 24%; text-align: center; white-space: nowrap;
    font-size: clamp(1.8rem, 6.3vw, 5.2rem);
  }
  .hero__l1, .hero__l2 { display: inline; margin-left: 0; }
  .hero__gap { width: .28em; }
}
@media (max-width: 700px) {
  .hero { --hero-focus: 62% 42%; }
  .hero__title {
    text-align: center; text-wrap: balance;
    top: 30%; font-size: clamp(2.8rem, 12vw, 4.4rem);
  }
  .hero__l1, .hero__l2 { margin-left: 0; }
  .hero__gap { width: .28em; }
}
.hero__title .i { font-style: italic; color: var(--cream); }

/* ============================================================
   WHY
   ============================================================ */
.why { }
.why__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.why__media--collage { position: relative; padding-bottom: clamp(3rem, 6vw, 4.5rem); }
.why__photo { position: relative; margin: 0; }
.why__photo--main img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 4/5; object-fit: cover; }
.why__photo--main figcaption {
  position: absolute; left: 1.2rem; top: 1.2rem;
  background: rgba(250,247,238,.94); color: var(--forest); font-family: var(--serif); font-style: italic;
  font-size: var(--step-1); padding: .5rem 1rem; border-radius: 999px; box-shadow: var(--shadow-soft);
}
.why__photo--accent {
  position: absolute; right: clamp(-1.5rem, -2vw, -1rem); bottom: 0;
  width: 58%;
}
.why__photo--accent img {
  width: 100%; aspect-ratio: 3/2; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow);
  border: 5px solid var(--paper);
}

/* ============================================================
   HOW  (green section)
   ============================================================ */
.how {
  max-width: none; margin-inline: 0;
  background: var(--forest); color: var(--paper);
  position: relative;
}
.how > * { max-width: var(--maxw); margin-inline: auto; }
.how .eyebrow { color: var(--sage-soft); }
.how .eyebrow::before { background: var(--sage-soft); }
.how .h2 { color: var(--paper); }
.how .section__lede { color: rgba(255,255,255,.8); }
.how__head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.how__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }

.steps { list-style: none; display: grid; gap: .4rem; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; padding: 1.5rem 0; border-top: 1px solid rgba(255,255,255,.16); }
.step:first-child { border-top: none; }
.step__num { font-family: var(--serif); font-size: var(--step-2); color: var(--sage-soft); line-height: 1; }
.step__title { font-family: var(--serif); font-weight: 600; font-size: var(--step-1); color: var(--paper); margin-bottom: .35rem; }
.step p { color: rgba(255,255,255,.78); max-width: 46ch; }
.how__media img { width: 100%; border-radius: var(--radius-lg); aspect-ratio: 3/4; object-fit: cover; box-shadow: var(--shadow); }

/* ============================================================
   SERVICES
   ============================================================ */
.services__head { text-align: center; display: flex; flex-direction: column; align-items: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.services__head .eyebrow { justify-content: center; }
.services__head .h2 { max-width: 22ch; }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: .85rem .85rem 0;
  display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--sage); }

/* Arched photo header */
.card__photo { position: relative; margin: 0; }
.card__photo img {
  width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover;
  border-radius: 200px 200px 14px 14px;
}
.card__icon {
  position: absolute; left: 1.05rem; bottom: -24px;
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--paper); border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  display: grid; place-items: center;
}
.card__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--forest); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.card__content { display: flex; flex-direction: column; flex: 1; padding: 2.7rem 1.1rem 1.5rem; }
.card__title { font-family: var(--serif); font-weight: 600; font-size: var(--step-2); line-height: 1.08; color: var(--forest); margin-bottom: .6rem; }
.card__body { color: var(--muted); margin-bottom: 1.3rem; }
.card__list { list-style: none; display: grid; gap: .55rem; margin-top: auto; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.card__list li { position: relative; padding-left: 1.5rem; font-size: var(--step--1); color: #414a37; }
.card__list a { color: inherit; text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .2s var(--ease), color .2s var(--ease); }
.card__list a:hover, .card__list a:focus-visible { color: var(--forest); border-bottom-color: var(--sage); }
.card__list li::before {
  content: ""; position: absolute; left: 3px; top: .34em;
  width: 5px; height: 10px;
  border-right: 2px solid var(--forest); border-bottom: 2px solid var(--forest);
  transform: rotate(42deg); border-radius: 1px;
}
.card__link {
  display: inline-flex; align-items: center; gap: .45rem;
  margin-top: 1.35rem; padding-top: 1.1rem; border-top: 1px solid var(--line);
  font-size: var(--step--1); font-weight: 600; letter-spacing: .01em; color: var(--forest);
}
.card__link svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.card__link:hover { color: var(--forest-deep); }
.card__link:hover svg { transform: translateX(4px); }
.services__note { text-align: center; margin-top: 2.6rem; color: var(--muted); font-size: var(--step-1); }
.services__note a { color: var(--forest); font-weight: 500; border-bottom: 1px solid var(--sage); }
.services__note a:hover { color: var(--forest-deep); }

/* ============================================================
   STATS BAND (count-up on scroll)
   ============================================================ */
.stats { max-width: var(--maxw); margin-inline: auto; padding: 0 var(--gutter) clamp(2rem, 5vw, 3.5rem); }
.stats__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
  padding: clamp(1.6rem, 3.5vw, 2.6rem) 0;
}
.stats__item {
  display: flex; flex-direction: column; align-items: center; gap: .2rem;
  text-align: center; padding-inline: 1rem;
}
.stats__item + .stats__item { border-left: 1px solid var(--line); }
.stats__value {
  font-family: var(--serif); font-weight: 600; font-size: clamp(2.4rem, 1.4rem + 3.4vw, 4.2rem);
  line-height: 1; color: var(--forest); font-variant-numeric: tabular-nums;
}
.stats__label { font-size: var(--step--1); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 700px) {
  .stats__grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .stats__item + .stats__item { border-left: 0; border-top: 1px solid var(--line); padding-top: 1.4rem; }
}

/* ============================================================
   BANNER BAND (full-bleed quote-over-photo)
   ============================================================ */
.band {
  position: relative; overflow: hidden;
  min-height: clamp(320px, 52vh, 560px);
  display: grid; place-items: center;
}
.band__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.band__scrim { position: absolute; inset: 0; background: rgba(35, 42, 28, 0.34); }
.band__line {
  position: relative; z-index: 1;
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2rem, 1rem + 4.5vw, 4.6rem);
  line-height: 1.05; text-align: center; text-wrap: balance;
  color: var(--paper); padding-inline: var(--gutter);
  text-shadow: 0 2px 26px rgba(35, 42, 28, 0.45);
}
.band__line .i { font-style: italic; color: var(--cream); }

/* ============================================================
   GALLERY STRIP
   ============================================================ */
.gallery {
  max-width: var(--maxw); margin-inline: auto;
  padding: 0 var(--gutter) var(--space-section);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.gallery__item { margin: 0; }
.gallery__item img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-soft);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.gallery__item:hover img { transform: translateY(-6px); box-shadow: var(--shadow); }
.gallery__item:nth-child(2) { transform: translateY(clamp(1rem, 2.5vw, 2.2rem)); }

/* ============================================================
   TEAM
   ============================================================ */
.team { }
.team__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.team__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 5/6; object-fit: cover; object-position: center 30%; }
.team__values { list-style: none; display: grid; gap: .8rem; margin-top: 2rem; }
.team__values li { padding-left: 1.6rem; position: relative; color: #414a37; }
.team__values li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 2px; background: var(--sage); }
.team__values strong { color: var(--forest); font-weight: 600; }

/* ============================================================
   STORIES
   ============================================================ */
.stories { }
.stories__head { text-align: center; display: flex; flex-direction: column; align-items: center; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.stories__head .eyebrow { justify-content: center; }
.stories__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1.5rem; }
.quote { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.quote--feature { display: grid; grid-template-columns: .8fr 1fr; align-items: stretch; }
.quote__img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.quote__body { padding: clamp(1.6rem, 3vw, 2.6rem); display: flex; flex-direction: column; justify-content: center; }
.quote__body p { font-family: var(--serif); font-size: var(--step-2); line-height: 1.28; color: var(--forest); font-weight: 500; }
.quote--feature .quote__body p { font-size: var(--step-1); line-height: 1.42; }
.quote__body figcaption { margin-top: 1.2rem; font-family: var(--sans); font-size: var(--step--1); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.quote__col { display: grid; gap: 1.5rem; }
.quote__col .quote__body p { font-size: var(--step-1); }
.quote--imgtop .quote__img { width: 100%; height: 210px; object-fit: cover; object-position: 50% 35%; min-height: 0; }
.quote__body figcaption em { font-style: normal; color: #a8452f; font-size: .85em; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  max-width: none; margin-inline: 0;
  background: var(--forest-deep); color: var(--paper);
}
.contact > * { max-width: var(--maxw); margin-inline: auto; }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
.contact__lede { color: rgba(255,255,255,.82); }
.contact__details { list-style: none; margin-top: 2.6rem; display: grid; gap: 1.4rem; }
.contact__details li { display: grid; gap: .2rem; }
.contact__label { font-size: var(--step--1); letter-spacing: .16em; text-transform: uppercase; color: var(--sage-soft); }
.contact__details a, .contact__details span { font-family: var(--serif); font-size: var(--step-2); color: var(--paper); }
.contact__details a:hover { color: var(--cream); }
.contact__details em { font-family: var(--sans); font-style: normal; font-size: var(--step--1); color: rgba(255,255,255,.55); }

.contact__form { background: var(--paper); border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: var(--shadow); }
.field { display: grid; gap: .45rem; margin-bottom: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { font-size: var(--step--1); font-weight: 500; color: var(--forest-ink); letter-spacing: .01em; }
.field .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  font: inherit; font-size: var(--step-0); color: var(--forest-ink);
  padding: .8rem .9rem; border: 1px solid var(--line); border-radius: 10px; background: var(--white);
  width: 100%; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 3px var(--sage-tint); }
.field input::placeholder, .field textarea::placeholder { color: #9aa08d; }
.form__fineprint { margin-top: 1rem; font-size: var(--step--1); color: var(--muted); text-align: center; }

/* ============================================================
   LEGAL / DOC PAGE (disclosure.html)
   ============================================================ */
.docpage { background: var(--paper); }
.legal { max-width: 820px; margin-inline: auto; padding: calc(70px + clamp(2.5rem, 7vh, 5rem)) var(--gutter) clamp(3rem, 8vh, 5.5rem); }
.legal__head { margin-bottom: clamp(2.2rem, 5vh, 3.5rem); }
.legal__title {
  font-family: var(--serif); font-weight: 500; font-size: var(--step-4);
  line-height: 1.02; letter-spacing: -0.015em; color: var(--forest); margin: .3rem 0 1.2rem;
}
.legal__title .i { font-style: italic; color: var(--sage); }
.legal__intro { font-size: var(--step-1); color: var(--muted); line-height: 1.6; max-width: 58ch; }
.legal__intro strong { color: var(--forest); font-weight: 600; }
.legal__section { padding: 1.8rem 0; border-top: 1px solid var(--line); }
.legal__section h2 {
  font-family: var(--serif); font-weight: 600; font-size: var(--step-2);
  color: var(--forest); line-height: 1.15; margin-bottom: 1rem;
}
.legal__section h3 {
  font-size: var(--step-0); font-weight: 600; color: var(--forest-ink);
  margin: 1.4rem 0 .5rem;
}
.legal__section p { color: var(--muted); line-height: 1.7; margin-bottom: .9rem; max-width: 68ch; }
.legal__section ul, .legal__section ol { margin: .4rem 0 1rem 1.35rem; display: grid; gap: .45rem; color: #414a37; line-height: 1.6; }
.legal__section ul ul { margin-top: .45rem; margin-bottom: 0; }
.legal__section a { color: var(--forest); font-weight: 500; border-bottom: 1px solid var(--sage); }
.legal__section a:hover { color: var(--forest-deep); }
.legal__kv { display: grid; gap: .55rem; margin-top: .4rem; }
.legal__kv div { display: grid; grid-template-columns: 110px 1fr; gap: 1rem; align-items: baseline; }
.legal__kv dt { font-size: var(--step--1); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.legal__kv dd { color: var(--forest-ink); }
.legal__back { margin-top: 2.5rem; }
.legal__formula {
  display: block; margin: .9rem 0;
  font-family: var(--serif); font-size: var(--step-1); font-weight: 600; color: var(--forest);
  background: var(--sage-tint); border-radius: var(--radius); padding: .8rem 1.1rem;
}
.legal__table { width: 100%; border-collapse: collapse; margin: .6rem 0 1rem; font-variant-numeric: tabular-nums; }
.legal__table th, .legal__table td { text-align: left; padding: .55rem .8rem; border-bottom: 1px solid var(--line); }
.legal__table th { font-size: var(--step--1); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.legal__table td { color: var(--forest-ink); }
.footer__base--solo { display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: space-between; max-width: var(--maxw); margin-inline: auto; }
.footer__social { display: inline-flex; align-items: center; gap: .45rem; }
.footer__social .ic { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.footer__base--solo a { color: inherit; }
.footer__base--solo a:hover { color: var(--cream); }

/* ============================================================
   TOOLS PAGE (tools.html)
   ============================================================ */
.nav__link { font-weight: 500; color: var(--forest); margin-right: .6rem; font-size: var(--step--1); }
.nav__link:hover { color: var(--forest-deep); text-decoration: underline; text-underline-offset: 4px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.tools { max-width: var(--maxw); margin-inline: auto; padding: calc(70px + clamp(2.5rem, 6vh, 4.5rem)) var(--gutter) clamp(3rem, 8vh, 5.5rem); }
.tools__head { max-width: 720px; margin-bottom: 2.4rem; }
.tools__title {
  font-family: var(--serif); font-weight: 500; font-size: var(--step-4);
  line-height: 1.02; letter-spacing: -0.015em; color: var(--forest); margin: .3rem 0 1rem;
}
.tools__title .i { font-style: italic; color: var(--sage); }
.tools__lede { font-size: var(--step-1); color: var(--muted); line-height: 1.6; }

.tools__tabs { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2.2rem; }
.tools__tab {
  padding: .65rem 1.3rem; border-radius: 999px; font-weight: 500; font-size: var(--step--1);
  border: 1px solid var(--line); color: var(--forest); background: var(--white);
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.tools__tab:hover { border-color: var(--sage); background: var(--sage-tint); }
.tools__tab.is-active { background: var(--forest); color: var(--cream); border-color: var(--forest); }

.tool { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2.4rem); }
.tool__intro { max-width: 62ch; margin-bottom: 1.6rem; }
.tool__title { font-family: var(--serif); font-weight: 600; font-size: var(--step-2); color: var(--forest); margin-bottom: .5rem; }
.tool__intro p { color: var(--muted); line-height: 1.6; }
.tool__intro em { font-style: italic; color: var(--forest); }

.tool__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 3vw, 2.6rem); align-items: start; }

.tool__group { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.1rem 1.2rem; margin-bottom: 1.2rem; }
.tool__group legend { font-size: var(--step--1); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding-inline: .4rem; }
.tool__field { display: flex; flex-direction: column; gap: .3rem; margin-bottom: .8rem; }
.tool__field > span { font-size: var(--step--1); font-weight: 500; color: var(--forest-ink); }
.tool__field input, .tool__field select {
  font: inherit; color: var(--forest-ink);
  padding: .55rem .7rem; border: 1px solid var(--line); border-radius: 10px; background: var(--paper);
  min-width: 0; width: 100%;
}
.tool__field input:focus, .tool__field select:focus { outline: 2px solid var(--sage); border-color: var(--sage); }
.tool__field input[type="range"] { padding: 0; accent-color: var(--forest); background: none; border: none; }
.tool__field output { font-weight: 600; color: var(--forest); margin-left: .3rem; }
.tool__row { display: flex; gap: .7rem; align-items: flex-end; }
.tool__row .tool__field { flex: 0 0 auto; }
.tool__row .tool__field--grow { flex: 1 1 auto; }
.tool__row--line { align-items: center; margin-bottom: .45rem; }
.tool__row--line .tool__field { margin-bottom: 0; }
.tool__field--amt { width: 110px; }
.tool__hint { font-size: var(--step--1); color: var(--muted); line-height: 1.5; margin-top: .4rem; }
.tool__add {
  font-weight: 500; font-size: var(--step--1); color: var(--forest);
  border: 1px dashed var(--sage); border-radius: 999px; padding: .45rem 1rem; margin-top: .4rem;
}
.tool__add:hover { background: var(--sage-tint); }
.tool__remove {
  width: 30px; height: 30px; flex: 0 0 30px; border-radius: 50%; line-height: 1;
  color: var(--muted); border: 1px solid transparent; font-size: 1.1rem;
}
.tool__remove:hover { color: #a8452f; border-color: var(--line); background: var(--paper); }

.tool__results { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; position: sticky; top: 86px; }
.tool__stat { display: flex; flex-direction: column; gap: .15rem; }
.tool__stat--hero { margin-bottom: 1rem; }
.tool__stat-label { font-size: var(--step--1); letter-spacing: .05em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.tool__stat-value { font-family: var(--serif); font-weight: 600; font-size: var(--step-3); color: var(--forest); font-variant-numeric: tabular-nums; }
.tool__stat-value.is-neg { color: #a8452f; }
.tool__stat-value--sm { font-size: var(--step-2); }
.tool__statgrid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; margin-bottom: 1.1rem; }
.tool__statgrid .tool__stat-value { font-size: var(--step-2); }
.tool__bars { display: grid; gap: .55rem; margin: .6rem 0 1rem; }
.tool__bar { display: grid; grid-template-columns: 84px 1fr; align-items: center; gap: .7rem; font-size: var(--step--1); color: var(--muted); }
.tool__bar-track { height: 14px; background: var(--sage-tint); border-radius: 999px; overflow: hidden; }
.tool__bar-fill { height: 100%; background: var(--forest); border-radius: 999px; transition: width .4s var(--ease); }
.tool__bar-fill--spend { background: var(--sage); }
.tool__chart { width: 100%; display: block; margin-top: .4rem; }
.tool__note { font-size: var(--step--1); color: var(--muted); margin-top: .7rem; line-height: 1.5; }
.tool__callout {
  background: var(--sage-tint); border: 1px solid var(--sage); border-radius: var(--radius);
  padding: .8rem 1rem; font-size: var(--step--1); color: var(--forest-ink); line-height: 1.55; margin-bottom: 1rem;
}
.tool__callout--warn { background: #f8ece5; border-color: #d9a58e; }
.tool__callout--warn strong { color: #a8452f; }
.tool__compare { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; margin-bottom: 1.1rem; }
.tool__strategy { border: 1px solid var(--line); background: var(--white); border-radius: var(--radius); padding: 1rem; }
.tool__strategy h3 { font-family: var(--serif); font-weight: 600; font-size: var(--step-1); color: var(--forest); }
.tool__strategy-sub { font-size: var(--step--1); color: var(--muted); margin-bottom: .7rem; }
.tool__strategy .tool__stat { margin-bottom: .6rem; }
.tool__debt-head { display: grid; grid-template-columns: 1.2fr .9fr .6fr .8fr 30px; gap: .5rem; font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; font-weight: 600; color: var(--muted); margin-bottom: .4rem; }
.tool__debt-row { display: grid; grid-template-columns: 1.2fr .9fr .6fr .8fr 30px; gap: .5rem; align-items: center; margin-bottom: .45rem; }
.tool__debt-row input { font: inherit; font-size: var(--step--1); color: var(--forest-ink); padding: .5rem .55rem; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); min-width: 0; width: 100%; }
.tool__debt-row input:focus { outline: 2px solid var(--sage); border-color: var(--sage); }

/* ---------------- Team page ---------------- */
.people__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.4rem, 3vw, 2.4rem);
  margin-bottom: clamp(2.4rem, 5vw, 4rem);
}
.person {
  position: relative;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: .85rem .85rem 1.5rem; text-align: center;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.person:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--sage); }
.person__photo { margin: 0 0 1.2rem; }
.person__photo img,
.person__photo video {
  width: 100%; aspect-ratio: 4 / 4.8; object-fit: cover;
  border-radius: 200px 200px 14px 14px;
}
.person__video { display: block; background: var(--sage-tint); }
.person__photo--video { position: relative; }
.person__photo--video .person__video {
  position: absolute; inset: 0; height: 100%;
  opacity: 0; transition: opacity .3s var(--ease);
}
.person--media:hover .person__video,
.person--media:focus-within .person__video { opacity: 1; }
.person__photo--soon {
  aspect-ratio: 4 / 4.8; border-radius: 200px 200px 14px 14px;
  background: var(--sage-tint); border: 1px dashed var(--sage);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .8rem;
}
.person__photo--soon .person__mark { width: 74px; height: auto; opacity: .8; aspect-ratio: auto; border-radius: 0; object-fit: contain; }
.person__photo--soon figcaption { font-size: var(--step--1); color: var(--muted); font-style: italic; font-family: var(--serif); font-size: var(--step-1); }
.person__bio {
  position: absolute; inset: 0; z-index: 2;
  border-radius: var(--radius-lg);
  background: rgba(44, 56, 35, 0.94);
  display: flex; align-items: center;
  padding: clamp(1.4rem, 2.2vw, 2rem);
  overflow-y: auto;
  opacity: 0; transition: opacity .35s var(--ease);
}
.person__bio p { margin: auto 0; }
.person__bio p {
  color: var(--paper); font-size: var(--step--1); line-height: 1.6; text-align: left;
  transform: translateY(8px); transition: transform .35s var(--ease);
}
.person:hover .person__bio, .person:focus-visible .person__bio, .person:focus-within .person__bio { opacity: 1; }
.person:hover .person__bio p, .person:focus-visible .person__bio p, .person:focus-within .person__bio p { transform: translateY(0); }
@media (hover: none) {
  .person__bio { position: static; opacity: 1; background: none; border-radius: 0; padding: .7rem .3rem 0; }
  .person__bio p { color: var(--muted); transform: none; text-align: center; }
}

.person__name { font-family: var(--serif); font-weight: 600; font-size: var(--step-2); color: var(--forest); line-height: 1.1; margin-bottom: .35rem; }
.person__role { font-size: var(--step--1); font-weight: 500; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 940px) { .people__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .people__grid { grid-template-columns: 1fr; } }

.tools__disclaimer { font-size: var(--step--1); color: var(--muted); line-height: 1.6; max-width: 72ch; margin-top: 2rem; }
.tools__disclaimer a { color: var(--forest); font-weight: 500; border-bottom: 1px solid var(--sage); }
.tool__smallprint {
  font-size: var(--step--1); color: var(--muted); line-height: 1.65;
  border-top: 1px solid var(--line); margin-top: 1.8rem; padding-top: 1.2rem; max-width: 90ch;
}
.tool__smallprint strong { color: var(--forest-ink); }
.tool__smallprint a { color: var(--forest); font-weight: 500; border-bottom: 1px solid var(--sage); }
.tool__smallprint a:hover { color: var(--forest-deep); }
.tools__cta { text-align: center; background: var(--forest); color: var(--paper); border-radius: var(--radius-lg); padding: clamp(2rem, 5vw, 3.4rem); margin-top: 2.4rem; }
.tools__cta-title { font-family: var(--serif); font-weight: 500; font-size: var(--step-3); margin-bottom: .5rem; }
.tools__cta p { color: var(--sage-soft); margin-bottom: 1.4rem; }

@media (max-width: 940px) {
  .tool__grid { grid-template-columns: 1fr; }
  .tool__results { position: static; }
}
@media (max-width: 560px) {
  .tool__debt-head { display: none; }
  .tool__debt-row { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
  .tool__debt-row .tool__remove { grid-column: 2; justify-self: end; }
  .nav__link { display: none; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--paper-2); border-top: 1px solid var(--line); padding: clamp(3rem, 6vw, 5rem) var(--gutter) 2rem; }
.footer__top { max-width: var(--maxw); margin-inline: auto; display: grid; grid-template-columns: 1fr 1.4fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--line); }
.footer__wordmark { height: 46px; width: auto; margin-bottom: 1rem; }
.footer__tag { font-family: var(--serif); font-style: italic; font-size: var(--step-1); color: var(--forest); }
.footer__nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.footer__nav h4 { font-size: var(--step--1); letter-spacing: .12em; text-transform: uppercase; color: var(--forest); margin-bottom: 1rem; }
.footer__nav a, .footer__nav span { display: block; color: var(--muted); padding: .3rem 0; transition: color .2s var(--ease); }
.footer__nav a:hover { color: var(--forest); }
.footer__disclosure { max-width: var(--maxw); margin: 1.8rem auto 0; }
.footer__disclosure p { font-size: var(--step--1); color: var(--muted); max-width: 90ch; line-height: 1.6; }
.footer__disclosure a { color: var(--forest); border-bottom: 1px solid var(--sage); }
.footer__disclosure em { font-style: normal; color: #a8452f; } /* flag placeholders */
.footer__base { max-width: var(--maxw); margin: 1.8rem auto 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; font-size: var(--step--1); color: var(--muted); }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* Rail visible: shrink the centered container so the rail owns the right margin */
@media (min-width: 1241px) {
  :root { --maxw: min(1240px, calc(100vw - 360px)); }
}
@media (max-width: 1240px) {
  .sidenav { display: none; }
  .nav__toggle { display: flex; }
}

@media (max-width: 940px) {
  .why__grid, .how__grid, .team__grid, .contact__grid, .stories__grid, .footer__top { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: 1fr; }
  .why__photo--accent { right: 0; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery__item:nth-child(2) { transform: none; }
  .gallery__item:nth-child(3) { grid-column: 1 / -1; }
  .gallery__item:nth-child(3) img { aspect-ratio: 16/10; object-position: 50% 30%; }
  .quote--feature { grid-template-columns: 1fr; }
  .quote__img { min-height: 260px; }
  .team__grid { direction: ltr; }
  .team__media { order: -1; }
  .how__media { order: -1; max-width: 460px; }
  .footer__top { gap: 2rem; }
}

@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
  .footer__nav { grid-template-columns: 1fr 1fr; }
  .footer__base { justify-content: flex-start; }
}

/* Rail appears after the hero */
.sidenav.is-visible { opacity: 1; pointer-events: auto; translate: 0 0; }

/* Feedback: more air between the Why headline and its copy */
.why__text .h2 { margin-bottom: 1.9rem; }

/* Feedback: match full-bleed sections' inner width to .section content width */
.how > *, .contact > * { max-width: calc(var(--maxw) - 2 * var(--gutter)); }

/* ============================================================
   FAQ PAGES (faqs.html + faq-*.html) — build on .legal doc page
   ============================================================ */
.faq-notice {
  background: var(--sage-tint); border: 1px solid var(--line); border-left: 3px solid var(--forest);
  border-radius: var(--radius); padding: clamp(1.1rem, 2.4vw, 1.6rem) clamp(1.2rem, 2.6vw, 1.9rem);
  margin: 0 0 2.4rem;
}
.faq-notice__title { font-family: var(--serif); font-weight: 600; font-size: var(--step-1); color: var(--forest); margin-bottom: .6rem; }
.faq-notice p { color: var(--muted); line-height: 1.6; font-size: var(--step--1); margin: 0 0 .6rem; max-width: 72ch; }
.faq-notice p:last-child { margin-bottom: 0; }
.faq-notice a { color: var(--forest); font-weight: 500; border-bottom: 1px solid var(--sage); }
.faq-notice a:hover { color: var(--forest-deep); }
.faq-notice__cta { margin-top: .9rem !important; }

.faq-lead { font-size: var(--step-1); color: var(--forest-ink); line-height: 1.6; max-width: 64ch; margin: 0 0 1.1rem; }

/* FAQ dropdowns (native <details>/<summary>) */
.faq__list { margin-top: 1.6rem; }
.faq__item { border-top: 1px solid var(--line); scroll-margin-top: 84px; }
.faq__item:last-of-type { border-bottom: 1px solid var(--line); }
.faq__summary {
  list-style: none; cursor: pointer; display: flex; align-items: flex-start;
  justify-content: space-between; gap: 1.2rem; padding: 1.35rem 0;
}
.faq__summary::-webkit-details-marker { display: none; }
.faq__summary:hover .faq__q { color: var(--forest-deep); }
.faq__summary:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; border-radius: 4px; }
.faq__q {
  font-family: var(--serif); font-weight: 600; font-size: var(--step-1); color: var(--forest);
  line-height: 1.28; letter-spacing: -.005em; margin: 0;
}
.faq__icon {
  flex: none; width: 1.35rem; height: 1.35rem; margin-top: .2rem; fill: none; stroke: var(--sage);
  stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease);
}
details[open] > .faq__summary .faq__icon { transform: rotate(180deg); }
.faq__a { padding: 0 0 1.5rem; }
.faq__a p { color: var(--muted); line-height: 1.7; margin: 0 0 1rem; max-width: 68ch; }
.faq__a p:last-child { margin-bottom: 0; }
.faq__a a { color: var(--forest); font-weight: 500; border-bottom: 1px solid var(--sage); }
.faq__a a:hover { color: var(--forest-deep); }
details[open] > .faq__a { animation: faqReveal .28s var(--ease); }
@keyframes faqReveal { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .faq__icon, details[open] > .faq__a { transition: none; animation: none; } }

.faq-related { margin-top: 3.2rem; padding-top: 1.8rem; border-top: 1px solid var(--line); }
.faq-related h2 { font-size: var(--step--1); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: .9rem; }
.faq-related ul { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; padding: 0; margin: 0; }
.faq-related a {
  display: inline-block; padding: .5rem 1rem; border: 1px solid var(--line); border-radius: 999px;
  color: var(--forest); font-size: var(--step--1); font-weight: 500; text-decoration: none;
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.faq-related a:hover { background: var(--sage-tint); border-color: var(--sage); transform: translateY(-1px); }

.faq-closing {
  margin-top: 2.8rem; padding: 1.3rem 1.5rem; background: var(--sage-tint); border: 1px solid var(--line);
  border-left: 3px solid var(--forest); border-radius: var(--radius);
  font-size: var(--step--1); color: var(--muted); line-height: 1.65; max-width: 72ch;
}
.faq-closing p { margin: 0 0 .7rem; }
.faq-closing p:last-child { margin-bottom: 0; }
.faq-closing__lead { font-weight: 600; color: var(--forest); }
.faq-closing strong { color: var(--forest-ink); }
.faq-closing a { color: var(--forest); font-weight: 500; border-bottom: 1px solid var(--sage); }
.faq-closing a:hover { color: var(--forest-deep); }

/* FAQ hub — three categorised columns */
.faq-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: start; margin: 2.2rem 0 1rem; }
.faq-cat { display: flex; flex-direction: column; gap: .8rem; }
.faq-cat__title { font-family: var(--serif); font-weight: 600; font-size: var(--step-2); color: var(--forest); margin: 0; padding-bottom: .5rem; border-bottom: 2px solid var(--sage); }
.faq-cat__sub { font-size: var(--step--1); color: var(--muted); line-height: 1.5; margin: -.2rem 0 .3rem; }
.faq-hub__card {
  display: block; padding: 1.15rem 1.3rem; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); text-decoration: none; color: inherit;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.faq-hub__card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--sage); }
.faq-hub__card h3 { font-family: var(--serif); font-weight: 600; font-size: var(--step-1); color: var(--forest); margin: 0 0 .3rem; padding: 0; border: none; }
.faq-hub__card p { font-size: var(--step--1); color: var(--muted); line-height: 1.5; margin: 0; }
@media (max-width: 880px) { .faq-cats { grid-template-columns: 1fr; gap: 2rem; } }
