/* Orchestra HQ — lead-magnet landing page
   World: Law Firm Template editorial structure, in Orchestra's pine / terracotta / cream. */

@font-face {
  font-family: "Lexend Exa";
  src: url("fonts/lexend-exa-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lexend";
  src: url("fonts/lexend-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #fff9eb;
  --sand: #f4ecd9;
  --card: #fffdf6;
  --ink: #1c2c23;
  --ink-2: #33443a;
  --muted: #59635a;
  --line: rgba(28, 44, 35, 0.14);
  --line-strong: rgba(28, 44, 35, 0.3);
  --pine: #21372b;
  --pine-2: #2b4636;
  --pine-3: #355342;
  --terra: #c1683c;
  --terra-btn: #a8552d;
  --terra-btn-hover: #8f4522;
  --terra-text: #9c4d27;
  --sage: #a5b56b;
  --on-dark: #fff9eb;
  --on-dark-2: #ccd4c6;
  --line-dark: rgba(255, 249, 235, 0.18);

  --display: "Lexend Exa", ui-sans-serif, system-ui, sans-serif;
  --font: "Lexend", ui-sans-serif, system-ui, sans-serif;
  --gutter: clamp(20px, 3vw, 40px);
  --maxw: 1360px;
  --section: clamp(84px, 10vw, 148px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.44, 0, 0.56, 1);
  --container-edge: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
  --header-h: 84px;

  --r-btn: 8px;
  --r-badge: 6px;
  --r-card: 8px;
  --r-panel: 10px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scrollbar-color: #8c9a8f var(--paper);
}
html.has-smoothscroll { scroll-behavior: auto !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Lenis required rules */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.62;
  font-weight: 340;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--sage); color: var(--pine); }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
h1, h2, h3, p, figure, blockquote, dl, dd, ol, ul { margin: 0; }
ul[role="list"], ol { list-style: none; padding: 0; }
h1, h2, h3 { font-weight: 500; text-wrap: balance; }
p { text-wrap: pretty; }
strong { font-weight: 550; }
button, input, textarea, select { font: inherit; color: inherit; }

section[id] { scroll-margin-top: var(--header-h); }
#main:focus { outline: none; }

:focus-visible { outline: 3px solid var(--terra-text); outline-offset: 3px; border-radius: 2px; }
.hero :focus-visible,
.section-pine :focus-visible,
.statement :focus-visible,
.proof :focus-visible,
.team :focus-visible,
.site-footer :focus-visible { outline-color: var(--sage); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--pine); color: var(--paper); padding: 12px 18px; border-radius: var(--r-btn);
  font-weight: 500; text-decoration: none; transition: top 160ms var(--ease-out);
}
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }

/* ---------- type ---------- */
.h2 {
  font-family: var(--display);
  font-size: clamp(30px, 3.25vw, 50px);
  line-height: 1.1;
  letter-spacing: -0.05em;
  font-weight: 500;
  max-width: 20ch;
}
.lede { margin-top: 22px; font-size: clamp(17px, 1.3vw, 19px); line-height: 1.6; color: var(--muted); max-width: 52ch; }
.lede a { color: var(--terra-text); font-weight: 450; }

.side-label, .eyebrow {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 12.5px; line-height: 1.4; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-2);
}
.side-label::before, .eyebrow::before {
  content: ""; flex: none; width: 7px; height: 7px; margin-top: 0.42em;
  background: var(--terra);
}
.side-label-light { color: var(--on-dark-2); }
.side-label-light::before { background: var(--sage); }
.eyebrow-light { color: #fff; }
.eyebrow-light::before { background: var(--terra); }

.section-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  align-items: start;
  margin-bottom: clamp(44px, 5vw, 72px);
}
.section-head > .side-label { grid-column: 1 / span 3; padding-top: 0.95em; }
.section-head > div, .section-head > .h2 { grid-column: 4 / -1; }
.section-head-split > div { grid-column: 4 / span 6; }
.section-head-split > .head-btn { grid-column: 11 / -1; justify-self: end; align-self: end; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 24px;
  border-radius: var(--r-btn); border: 1px solid transparent;
  font-family: var(--font); font-size: 15px; font-weight: 500; letter-spacing: 0.01em; line-height: 1;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 200ms var(--ease-out), color 200ms var(--ease-out),
    border-color 200ms var(--ease-out), box-shadow 240ms var(--ease-out), transform 160ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--terra-btn); color: var(--paper); }
.btn-primary:hover { background: var(--terra-btn-hover); box-shadow: 0 12px 26px -14px rgba(168, 85, 45, 0.8); }
.btn-outline { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--pine); border-color: var(--pine); color: var(--paper); }
.btn-ghost-light { border-color: rgba(255, 255, 255, 0.62); color: #fff; background: rgba(255, 255, 255, 0.05); }
.btn-ghost-light:hover { background: #fff; color: var(--pine); border-color: #fff; }
.btn-cream { background: var(--paper); color: var(--pine); }
.btn-cream:hover { background: #fff; box-shadow: 0 12px 26px -16px rgba(0, 0, 0, 0.6); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- header (reference: floating cream bar) ---------- */
.site-header {
  position: fixed; top: 16px; left: 0; right: 0; z-index: 50;
  padding: 0 16px; pointer-events: none;
}
.nav-bar {
  pointer-events: auto;
  position: relative;
  display: flex; align-items: center; gap: 20px;
  width: min(1040px, 100%); margin: 0 auto;
  padding: 8px 8px 8px 20px;
  background: rgba(255, 249, 235, 0.9);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  border-radius: var(--r-panel);
  box-shadow: 0 1px 0 rgba(28, 44, 35, 0.04);
  transition: box-shadow 300ms var(--ease-out), background-color 300ms var(--ease-out);
}
.site-header.is-scrolled .nav-bar {
  background: rgba(255, 249, 235, 0.97);
  box-shadow: 0 12px 32px -18px rgba(28, 44, 35, 0.4);
}
.brand { display: inline-flex; align-items: center; min-height: 44px; flex: none; }
.brand img { width: 168px; height: auto; }

.nav { margin-left: auto; }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links a:not(.btn) {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  font-size: 12.5px; font-weight: 500; letter-spacing: 0.09em; text-transform: uppercase;
  text-decoration: none; color: var(--ink-2); border-radius: var(--r-badge);
  transition: color 180ms var(--ease-out), background-color 180ms var(--ease-out);
}
.nav-links a:not(.btn):hover { color: var(--ink); background: rgba(28, 44, 35, 0.06); }
.nav-cta-mobile { display: none; }

.nav-toggle {
  display: none; width: 48px; height: 48px; margin-left: auto;
  border: 0; border-radius: var(--r-btn); background: var(--pine); cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.nav-toggle-bar { display: block; width: 18px; height: 2px; background: var(--paper); transition: transform 240ms var(--ease-out); }
.menu-open .nav-toggle-bar:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .nav-toggle-bar:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- hero (reference: full-bleed photo, headline bottom-left, aside bottom-right) ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  color: #fff; overflow: hidden; isolation: isolate;
  background: #1b2a21;
}
.hero-media, .hero-media picture, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 62% 40%; }
.hero-shade {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to top, rgba(16, 26, 20, 0.9) 0%, rgba(16, 26, 20, 0.66) 24%, rgba(16, 26, 20, 0.18) 50%, rgba(16, 26, 20, 0) 64%),
    linear-gradient(to right, rgba(16, 26, 20, 0.58) 0%, rgba(16, 26, 20, 0.22) 34%, rgba(16, 26, 20, 0) 52%);
}
.hero-inner {
  position: relative; z-index: 2;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 48px;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: clamp(40px, 6vh, 72px);
}
.hero-copy { min-width: 0; }
.hero-title {
  margin-top: 22px;
  font-family: var(--display);
  font-size: clamp(38px, calc((100vw - 500px) / 13.4), 76px);
  line-height: 1.06;
  letter-spacing: -0.055em;
  font-weight: 500;
}
.hero-line { display: block; }
.hero-line > span { display: block; white-space: nowrap; }
.hero-accent { color: #e8a27c; }
.hero-aside { flex: none; width: 360px; }
.hero-aside p { font-size: 17px; line-height: 1.55; color: rgba(255, 255, 255, 0.92); margin-bottom: 24px; }

/* Entrance, measured from the reference: photo 1.05 -> 1 over 2s, words blur up one by one,
   actions fade in last. Words stay visible without JS (the failsafe fires at 2.5s). */
.split-w { display: inline-block; }
.js-motion .hero-media img { animation: heroBg 2s cubic-bezier(0.12, 0.23, 0.5, 1) both; }
.js-motion .nav-bar { animation: navIn 0.9s var(--ease-soft) 0.2s both; }
.js-motion .hero-copy .eyebrow { animation: fadeIn 0.7s var(--ease-soft) 0.3s both; }
.js-motion .hero-aside .btn-row { animation: fadeUp 0.7s var(--ease-soft) 1.5s both; }
.js-motion [data-split]:not(.is-split) { opacity: 0; animation: fadeIn 0.01s linear 2.5s forwards; }
.js-motion .is-split .split-w {
  opacity: 0; filter: blur(10px); transform: translateY(10px);
  animation: wordIn 0.9s var(--ease-soft) forwards; animation-delay: var(--wd, 0ms);
}
@keyframes heroBg { from { opacity: 0.001; transform: scale(1.05); } to { opacity: 1; transform: none; } }
@keyframes navIn { from { opacity: 0; filter: blur(10px); } to { opacity: 1; filter: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes wordIn { to { opacity: 1; filter: none; transform: none; } }

/* ---------- statement + proof (reference: one coloured band) ---------- */
.statement { background: var(--pine); color: var(--on-dark); padding: clamp(84px, 9vw, 136px) 0 clamp(64px, 7vw, 104px); }
.statement-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.statement-grid .side-label { grid-column: 1 / span 3; padding-top: 0.6em; }
.statement-text {
  grid-column: 4 / -1;
  font-family: var(--display);
  font-size: clamp(22px, 2.3vw, 35px); line-height: 1.34; letter-spacing: -0.045em; font-weight: 400;
  max-width: 36ch;
}
.scrub-w { will-change: opacity; }

.proof { background: var(--pine); color: var(--on-dark); padding: 0 0 clamp(84px, 9vw, 136px); }
.proof-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
.proof-photo { grid-column: 1 / span 4; }
.proof-photo img { width: 100%; aspect-ratio: 4 / 5; height: auto; object-fit: cover; border-radius: var(--r-card); }
.proof-body { grid-column: 6 / -1; display: flex; flex-direction: column; align-items: stretch; }
.proof-top { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 5fr); gap: 24px 32px; align-items: start; }
.proof-top .side-label { padding-top: 0.35em; }
.proof-lede { font-family: var(--font); font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; font-weight: 340; letter-spacing: 0; color: var(--on-dark-2); max-width: 32ch; text-wrap: pretty; }
.proof-numbers { margin-top: clamp(44px, 5vw, 72px); }
.stats {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px;
  margin: 18px 0 36px;
}
.stat { border-bottom: 1px solid var(--line-dark); padding: 20px 0 22px; }
.stat dt { font-size: 12.5px; font-weight: 500; letter-spacing: 0.09em; text-transform: uppercase; color: var(--on-dark-2); }
.stat dd {
  margin-top: 8px; font-family: var(--display);
  font-size: clamp(38px, 3.8vw, 58px); line-height: 1; letter-spacing: -0.06em; font-weight: 300;
  font-variant-numeric: tabular-nums; color: var(--on-dark);
}
.stat-unit { font-family: var(--font); font-size: 16px; letter-spacing: 0; font-weight: 400; color: var(--on-dark-2); }
.proof-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
.stack-note { font-size: 14.5px; color: var(--on-dark-2); max-width: 32ch; text-align: right; }

/* ---------- services (reference: 2-column photo cards, label bottom-left) ---------- */
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.service-card {
  position: relative; overflow: hidden; border-radius: var(--r-card);
  aspect-ratio: 16 / 10; background: #24352b; color: #fff;
  display: flex; align-items: flex-end;
}
.service-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%;
  transition: transform 900ms var(--ease-out);
}
.service-card::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 48%; z-index: 1;
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  -webkit-mask-image: linear-gradient(to top, #000 25%, transparent);
  mask-image: linear-gradient(to top, #000 25%, transparent);
  pointer-events: none;
}
.service-card::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(14, 24, 18, 0.93) 0%, rgba(14, 24, 18, 0.8) 26%, rgba(14, 24, 18, 0.26) 56%, rgba(14, 24, 18, 0) 72%);
}
.service-card:hover img { transform: scale(1.035); }
.service-copy { position: relative; z-index: 2; padding: clamp(22px, 2.4vw, 34px); max-width: 560px; }
.service-tag { font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: #e8a27c; margin-bottom: 10px; }
.service-copy h3 { font-family: var(--display); font-size: clamp(22px, 2vw, 30px); letter-spacing: -0.05em; line-height: 1.12; }
.service-copy p:last-child { margin-top: 10px; font-size: 16px; line-height: 1.5; color: rgba(255, 255, 255, 0.9); max-width: 46ch; }

/* ---------- testimonials (reference: label, small tile, large quote, arrows) ---------- */
.reviews { padding-top: clamp(40px, 4vw, 64px); padding-bottom: clamp(48px, 5vw, 72px); overflow: hidden; }
.reviews-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
.reviews-label { grid-column: 1 / span 3; grid-row: 1; padding-top: 0.9em; }
.review-badge { grid-column: 2 / span 2; grid-row: 2; align-self: end; width: 140px; margin-top: 48px; }
.review-badge img { width: 100%; aspect-ratio: 4 / 5; height: auto; object-fit: cover; border-radius: var(--r-card); }
.review-stage { grid-column: 5 / -1; grid-row: 1 / span 2; }
.review-list { min-height: clamp(230px, 19vw, 290px); }
.review blockquote { margin: 0; }
.review-quote { font-family: var(--display); font-size: clamp(21px, 2vw, 31px); line-height: 1.34; letter-spacing: -0.048em; font-weight: 400; max-width: 34ch; }
.review-name { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font-size: 15.5px; color: var(--muted); }
.review-name strong { color: var(--ink); font-weight: 500; }
.js-motion .review-name.is-swapping { animation: fadeIn 0.6s var(--ease-soft) 0.5s both; }
.review-controls { margin-top: 28px; display: flex; align-items: center; gap: 10px; }
.review-count { margin-right: auto; font-size: 13px; font-weight: 500; letter-spacing: 0.09em; color: var(--muted); font-variant-numeric: tabular-nums; }
.review-btn {
  width: 48px; height: 48px; display: grid; place-items: center; cursor: pointer;
  background: transparent; border: 1px solid var(--line-strong); border-radius: var(--r-btn);
  transition: background-color 200ms var(--ease-out), border-color 200ms var(--ease-out), transform 160ms var(--ease-out);
}
.review-btn svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke 200ms var(--ease-out); }
.review-btn:hover { background: var(--pine); border-color: var(--pine); }
.review-btn:hover svg { stroke: var(--paper); }
.review-btn:active { transform: scale(0.97); }

.ticker {
  margin-top: clamp(56px, 6vw, 88px); padding-top: 28px; border-top: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}
.ticker-track { display: flex; width: max-content; animation: ticker 52s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track li {
  display: flex; align-items: center; gap: 30px; padding-right: 30px;
  font-family: var(--display); font-size: clamp(18px, 1.6vw, 23px); font-weight: 400; letter-spacing: -0.04em; white-space: nowrap;
  color: rgba(28, 44, 35, 0.4);
}
.ticker-track li::after { content: ""; width: 7px; height: 7px; background: var(--terra); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- what working with us looks like (reference: pinned photo, swaps per step) ---------- */
.how { background: var(--paper); }
.how-layout { display: grid; grid-template-columns: minmax(0, 38fr) minmax(0, 62fr); }
.how-col { padding: var(--section) clamp(32px, 4vw, 64px) calc(var(--section) * 0.6) var(--container-edge); }
.how-intro .h2 { margin-top: 20px; max-width: 13ch; }
.how-step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; max-width: 420px; }
.how-step-photo { display: none; }
.how-step .side-label { font-size: 13px; color: var(--ink); }
.how-text { margin-top: 14px; font-family: var(--display); font-size: clamp(18px, 1.5vw, 22px); line-height: 1.45; letter-spacing: -0.04em; font-weight: 400; color: var(--ink-2); }
.how-media { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #24352b; }
.how-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%;
  opacity: 0; transform: scale(1.04);
  transition: opacity 800ms var(--ease-soft), transform 1.6s var(--ease-soft);
}
.how-media img.is-active { opacity: 1; transform: none; }
.js-motion .focus-ready .focus-item { transition: opacity 240ms linear, filter 240ms linear; }

/* ---------- founder (reference: team band) ---------- */
.team { background: var(--pine); color: var(--on-dark); }
.team .h2 { color: var(--on-dark); }
.person {
  display: grid; grid-template-columns: minmax(0, 3.4fr) minmax(0, 4.6fr) minmax(0, 4fr); gap: 32px 40px;
  padding-top: 40px; border-top: 1px solid var(--line-dark);
}
.person-photo img { width: 100%; aspect-ratio: 4 / 5; height: auto; object-fit: cover; object-position: 50% 30%; border-radius: var(--r-card); }
.person-main h3 { font-family: var(--display); font-size: clamp(26px, 2.4vw, 36px); letter-spacing: -0.05em; line-height: 1.1; }
.person-role { margin-top: 8px; font-size: 12.5px; font-weight: 500; letter-spacing: 0.09em; text-transform: uppercase; color: var(--sage); }
.person-main > p:not(.person-role) { margin-top: 18px; color: var(--on-dark-2); max-width: 54ch; }
.tags { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 8px; margin-top: 26px; }
.tags li {
  padding: 7px 10px; border: 1px solid rgba(255, 249, 235, 0.3); border-radius: var(--r-badge);
  font-size: 12px; font-weight: 500; letter-spacing: 0.07em; text-transform: uppercase; color: var(--on-dark-2);
  white-space: nowrap;
}
.person-foot { display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 28px; }
.person-meta { display: grid; gap: 14px; width: 100%; }
.person-meta > div { border-top: 1px solid var(--line-dark); padding-top: 12px; }
.person-meta dt { font-size: 12.5px; font-weight: 500; letter-spacing: 0.09em; text-transform: uppercase; color: var(--on-dark-2); }
.person-meta dd { margin-top: 4px; font-size: 17px; color: var(--on-dark); }

/* ---------- blog (reference: 3 dark-overlay photo cards) ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.blog-card {
  position: relative; overflow: hidden; border-radius: var(--r-card);
  aspect-ratio: 9 / 10; background: #24352b; color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(20px, 2vw, 28px);
}
.blog-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.blog-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(14, 24, 18, 0.92) 0%, rgba(14, 24, 18, 0.72) 28%, rgba(14, 24, 18, 0.1) 58%, rgba(14, 24, 18, 0.35) 100%);
}
.blog-card:hover img { transform: scale(1.035); }
.blog-tag {
  position: absolute; top: clamp(18px, 1.8vw, 24px); right: clamp(18px, 1.8vw, 24px); z-index: 1;
  font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: #fff;
}
.blog-card h3 { position: relative; z-index: 1; font-family: var(--display); font-size: clamp(18px, 1.55vw, 22px); line-height: 1.3; letter-spacing: -0.045em; font-weight: 400; padding-right: 32px; }
.blog-card h3 a { text-decoration: none; }
.blog-card h3 a::after { content: ""; position: absolute; inset: -2000px; z-index: 1; }
.blog-card h3::after {
  content: "\2192"; position: absolute; right: 0; bottom: 0; font-family: var(--font); font-size: 20px;
  transition: transform 240ms var(--ease-out);
}
.blog-card:hover h3::after { transform: translateX(4px); }
.blog-card:focus-within { outline: 3px solid var(--terra-text); outline-offset: 3px; }
.blog-card h3 a:focus-visible { outline: none; }

/* ---------- process (reference: big photo left, numbered list right) ---------- */
.taxyear { background: var(--paper); }
.taxyear-layout { display: grid; grid-template-columns: minmax(0, 52fr) minmax(0, 48fr); align-items: start; }
.taxyear-photo { position: sticky; top: 0; height: 100vh; height: 100svh; margin: 0; overflow: hidden; }
.taxyear-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.taxyear-body { padding: var(--section) var(--container-edge) var(--section) clamp(40px, 5vw, 88px); }
.taxyear-body .h2 { margin-top: 20px; max-width: 13ch; }
.year-list { margin-top: clamp(40px, 5vw, 64px); }
.year-list li { border-top: 1px solid var(--line-strong); padding: 30px 0 44px; }
.year-num { font-family: var(--display); font-size: clamp(40px, 4vw, 58px); line-height: 1; letter-spacing: -0.06em; font-weight: 200; color: rgba(28, 44, 35, 0.3); }
.year-list h3 { margin-top: 18px; font-family: var(--display); font-size: clamp(19px, 1.6vw, 23px); letter-spacing: -0.045em; line-height: 1.2; }
.year-list li p:last-child { margin-top: 8px; color: var(--muted); max-width: 46ch; }

/* ---------- FAQ ---------- */
.faq { background: var(--sand); }
.faq-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
.faq-head { grid-column: 1 / span 4; position: sticky; top: calc(var(--header-h) + 24px); }
.faq-head .h2 { margin-top: 20px; }
.accordion { grid-column: 6 / -1; border-bottom: 1px solid var(--line-strong); }
.acc-item { border-top: 1px solid var(--line-strong); }
.acc-item h3 { font-size: inherit; font-weight: inherit; }
.acc-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0; min-height: 48px; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font); font-size: clamp(17px, 1.4vw, 20px); font-weight: 450; letter-spacing: -0.01em; line-height: 1.35;
}
.acc-icon { position: relative; flex: none; width: 32px; height: 32px; border-radius: var(--r-badge); background: var(--paper); transition: background-color 200ms var(--ease-out); }
.acc-icon::before, .acc-icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px;
  background: var(--pine); transition: transform 260ms var(--ease-out), background-color 200ms var(--ease-out);
}
.acc-icon::after { transform: rotate(90deg); }
.acc-trigger:hover .acc-icon, .is-open .acc-icon { background: var(--pine); }
.acc-trigger:hover .acc-icon::before, .acc-trigger:hover .acc-icon::after,
.is-open .acc-icon::before, .is-open .acc-icon::after { background: var(--paper); }
.is-open .acc-icon::after { transform: rotate(0deg); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 320ms var(--ease-out); }
.acc-panel > div { overflow: hidden; }
.is-open .acc-panel { grid-template-rows: 1fr; }
.acc-panel p { padding: 0 56px 26px 0; color: var(--muted); max-width: 62ch; }

/* ---------- final CTA (reference: copy left, photo right) ---------- */
.cta-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; }
.cta-copy { grid-column: 1 / span 5; display: flex; flex-direction: column; align-items: flex-start; }
.cta-copy .h2 { margin-top: 20px; max-width: 14ch; }
.cta-copy .lede { margin-bottom: 30px; }
.direct { margin-top: 36px; width: 100%; border-top: 1px solid var(--line-strong); }
.direct li { display: flex; align-items: baseline; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.direct-label { width: 56px; flex: none; font-size: 12.5px; font-weight: 500; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); }
.direct a { font-size: clamp(17px, 1.5vw, 21px); font-weight: 450; letter-spacing: -0.01em; text-decoration: underline; text-decoration-color: var(--terra); text-underline-offset: 0.25em; overflow-wrap: anywhere; }
.direct a:hover { color: var(--terra-text); }
.cta-photo { grid-column: 7 / -1; }
.cta-photo img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; border-radius: var(--r-card); }

/* ---------- footer ---------- */
.site-footer { background: var(--pine); color: var(--on-dark-2); padding: clamp(64px, 7vw, 96px) 0 36px; font-size: 15.5px; }
.footer-top { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2.4fr)); gap: 32px; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
.footer-brand img { width: 240px; height: auto; }
.footer-brand p { margin-top: 20px; max-width: 34ch; }
.footer-head { font-size: 12.5px; font-weight: 500; letter-spacing: 0.09em; text-transform: uppercase; color: var(--on-dark); margin-bottom: 14px; }
.footer-col ul { display: grid; gap: 4px; }
.footer-col a { display: inline-flex; align-items: center; min-height: 32px; }
.site-footer a { color: var(--on-dark-2); text-decoration: none; }
.site-footer a:hover { color: var(--on-dark); text-decoration: underline; }
.footer-line { margin-top: 28px; line-height: 1.8; color: var(--on-dark); text-align: center; text-wrap: balance; }
.footer-line a { color: var(--on-dark); }
.footer-fine { margin-top: 10px; font-size: 13.5px; color: #aab5a8; text-align: center; }

/* ---------- reveal (content visible by default) ---------- */
.pre-reveal { opacity: 0; transform: translateY(20px); }
.pre-reveal.reveal-fade { transform: none; }
.pre-reveal.is-visible {
  opacity: 1; transform: none;
  transition: opacity 1s var(--ease-soft) var(--d, 0ms), transform 1s var(--ease-soft) var(--d, 0ms);
}

/* ================= responsive ================= */
@media (max-width: 1180px) {
  .service-card { aspect-ratio: 4 / 3; }
  .person { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); }
  .person-foot { grid-column: 2; }
  .proof-top { grid-template-columns: 1fr; }
}

@media (max-width: 1080px) {
  .hero-inner { flex-direction: column; align-items: flex-start; gap: 28px; }
  .hero-title { font-size: clamp(40px, 6.8vw, 66px); }
  .hero-aside { width: min(520px, 100%); }
  .proof-photo { grid-column: 1 / span 5; }
  .proof-body { grid-column: 7 / -1; }
  .how-layout { grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); }
  .review-badge { grid-column: 1 / span 3; }
  .review-stage { grid-column: 4 / -1; }
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-card:last-child { display: none; }
  .cta-copy { grid-column: 1 / span 6; }
  .cta-photo { grid-column: 8 / -1; }
  .footer-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  :root { --header-h: 76px; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-bar { padding: 6px 6px 6px 16px; }
  .nav { margin-left: 0; }
  .nav-links.is-open {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: absolute; left: 0; right: 0; top: calc(100% + 8px);
    padding: 10px; background: var(--paper); border-radius: var(--r-panel);
    box-shadow: 0 20px 44px -20px rgba(28, 44, 35, 0.5);
  }
  .nav-links.is-open a:not(.btn) { min-height: 48px; padding: 0 12px; font-size: 13.5px; }
  .nav-links.is-open .nav-cta-mobile { display: block; margin-top: 6px; }
  .nav-links .nav-cta-mobile .btn-primary { width: 100%; color: var(--paper); background: var(--terra-btn); }

  .section-head { display: block; }
  .section-head > .side-label { padding-top: 0; margin-bottom: 18px; }
  .section-head-split > .head-btn { margin-top: 26px; }
  .statement-grid { display: block; }
  .statement-grid .side-label { padding-top: 0; margin-bottom: 22px; }
  .statement-text { max-width: none; }

  .proof-grid { display: flex; flex-direction: column; gap: 40px; }
  .proof-photo { width: min(360px, 100%); }
  .stack-note { text-align: left; }
  .service-grid { grid-template-columns: 1fr; }

  .how-layout { display: block; }
  .how-media { display: none; }
  .how-col { padding: var(--section) var(--gutter) calc(var(--section) * 0.4); }
  .how-step { min-height: 0; max-width: none; margin-top: 56px; }
  .how-step-photo { display: block; margin-bottom: 22px; }
  .how-step-photo img { width: 100%; aspect-ratio: 4 / 3.6; height: auto; object-fit: cover; object-position: 50% 30%; border-radius: var(--r-card); }

  .person { grid-template-columns: 1fr; }
  .person-photo { width: min(360px, 100%); }
  .person-foot { grid-column: 1; }

  .taxyear-layout { display: block; }
  .taxyear-photo { position: relative; height: auto; aspect-ratio: 4 / 4.4; max-height: 82vh; }
  .taxyear-body { padding: calc(var(--section) * 0.8) var(--gutter) var(--section); }

  .reviews-grid { display: block; }
  .reviews-label { padding-top: 0; margin-bottom: 26px; }
  .review-badge { display: none; }
  .review-list { min-height: 0; }

  .faq-grid { display: block; }
  .faq-head { position: static; margin-bottom: 36px; }

  .cta-grid { display: flex; flex-direction: column; align-items: stretch; gap: 48px; }
}

@media (max-width: 760px) {
  body { font-size: 16.5px; }
  .hero-inner { padding-bottom: 28px; gap: 22px; }
  .hero-media img { object-position: 50% 0%; }
  .hero-shade {
    background: linear-gradient(to top, rgba(16, 26, 20, 0.96) 0%, rgba(16, 26, 20, 0.9) 36%, rgba(16, 26, 20, 0.74) 48%, rgba(16, 26, 20, 0.3) 58%, rgba(16, 26, 20, 0) 68%);
  }
  .hero-title { font-size: clamp(30px, 9.2vw, 46px); margin-top: 16px; letter-spacing: -0.06em; }
  .hero-line > span { white-space: normal; }
  .hero-aside p { font-size: 16px; margin-bottom: 20px; }
  .btn-row { flex-direction: column; width: 100%; gap: 10px; }
  .btn { width: 100%; }
  .nav-bar .btn, .nav-toggle { width: auto; }
  .nav-links.is-open .nav-cta-mobile .btn { width: 100%; }
  .brand img { width: 150px; }

  .proof-top { gap: 18px; }
  .stats { column-gap: 20px; }
  .stat dt { font-size: 11.5px; letter-spacing: 0.06em; }
  .proof-foot { flex-direction: column; align-items: stretch; }
  .service-card { aspect-ratio: 4 / 5; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card { aspect-ratio: 4 / 3.4; }
  .blog-card:last-child { display: flex; }
  .footer-top { grid-template-columns: 1fr; }
  .acc-panel p { padding-right: 0; }
  .side-label, .eyebrow { font-size: 11.5px; letter-spacing: 0.08em; white-space: nowrap; }
  .how-step .side-label { font-size: 12px; }
  .person-foot .btn, .proof-foot .btn, .cta-copy .btn { width: 100%; }
}

@media (max-width: 400px) {
  .service-copy { padding: 20px; }
  .service-copy h3 { font-size: 21px; }
  .stat dt { letter-spacing: 0.03em; font-size: 11px; }
  .stat dd { font-size: 34px; }
  .direct li { gap: 12px; }
  .direct-label { width: 46px; }
  .tags li { font-size: 11px; }
}

/* short viewports: keep the hero at exactly one screen */
@media (max-height: 820px) and (min-width: 1081px) {
  .hero-title { font-size: clamp(38px, min(calc((100vw - 500px) / 13.4), 8.6vh), 76px); }
  .hero-inner { padding-bottom: 36px; }
}
@media (max-height: 820px) and (min-width: 761px) and (max-width: 1080px) {
  .hero-title { font-size: clamp(38px, min(6.8vw, 7.2vh), 66px); }
  .hero-inner { padding-bottom: 36px; }
}
@media (max-width: 760px) and (max-height: 760px) {
  .hero-aside p { display: none; }
}
@media (max-width: 760px) and (max-height: 680px) {
  .hero-title { font-size: clamp(28px, 8.4vw, 38px); }
  .hero-copy .eyebrow { display: none; }
  .btn { min-height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .pre-reveal { opacity: 1; transform: none; }
  .ticker-track { animation: none; }
}

/* ---------- accessibility statement page ---------- */
.a11y-hero { background: var(--pine); color: var(--on-dark); padding: calc(var(--header-h) + clamp(64px, 9vw, 120px)) 0 clamp(56px, 6vw, 88px); }
.a11y-title { margin-top: 22px; font-family: var(--display); font-size: clamp(38px, 5.4vw, 80px); line-height: 1.02; letter-spacing: -0.055em; max-width: 14ch; }
.a11y-hero .lede { color: var(--on-dark-2); }
.a11y-body { padding: clamp(64px, 7vw, 112px) 0; }
.a11y-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
.a11y-toc { grid-column: 1 / span 3; position: sticky; top: calc(var(--header-h) + 24px); }
.a11y-toc ol { margin-top: 18px; display: grid; gap: 2px; }
.a11y-toc a { display: flex; align-items: center; min-height: 40px; color: var(--ink-2); text-decoration: none; font-weight: 450; }
.a11y-toc a:hover { color: var(--terra-text); text-decoration: underline; }
.a11y-content { grid-column: 5 / -1; max-width: 70ch; }
.a11y-content section { padding: 0 0 44px; margin-bottom: 44px; border-bottom: 1px solid var(--line-strong); }
.a11y-content h2 { font-family: var(--display); font-size: clamp(23px, 2.1vw, 31px); letter-spacing: -0.05em; line-height: 1.15; margin-bottom: 16px; }
.a11y-content p + p { margin-top: 14px; }
.a11y-content a:not(.btn) { color: var(--terra-text); }
.a11y-list { display: grid; gap: 12px; padding: 0; list-style: none; margin-top: 14px; }
.a11y-list li { position: relative; padding-left: 20px; }
.a11y-list li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; background: var(--terra); }
.page-a11y .site-footer { padding-top: 56px; }
.page-a11y .footer-line { margin-top: 0; }

@media (max-width: 900px) {
  .a11y-grid { display: block; }
  .a11y-toc { position: static; margin-bottom: 40px; }
}

/* keep phone numbers whole */
a[href^="tel:"] { white-space: nowrap; }
