/* =====================================================================
   APS · V4 "Combined"
   Base: Version 2 "Warm Gallery" (three grounds: cream, stone, ink/brown;
   solid fills only; photos framed like plates). Lifted into it and restyled:
   the 12-column services grid (from V3), the How it works timeline, audit
   calculator and founder card (from V1), and a new icon conveyor for #work.
   Standalone: the three v4 pages load this file instead of the old stack.
   ===================================================================== */

@font-face { font-family: "Cormorant"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("../assets/cormorant-latin-wght-normal.356e67f02c89.woff2") format("woff2"); }
@font-face { font-family: "Cormorant"; font-style: italic; font-weight: 300 700; font-display: swap; src: url("../assets/cormorant-latin-wght-italic.0b465a71dec2.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../assets/inter-latin-opsz-normal.4b73e2ff3024.woff2") format("woff2"); }

:root {
  /* Grounds: a real three-step scale */
  --cream: #FAF9F6;
  --stone: #E4D9C6;
  --ink: #0E1117;
  --brown: #4F3130;

  /* Solid fills */
  --stone-solid: #CDBFA6;   /* "Before", system steps: a full colour, never a tint */
  --gold: #B68F40;          /* black text */
  --gold-dk: #7A5B1F;       /* white text */
  --gold-lt: #DCC48F;       /* accents on dark grounds */
  --blue: #0015B0;          /* "After": white text */

  /* Text */
  --ink-2: #2A2C31;
  --ink-3: #57534D;
  --on-dark: #F4EFE6;
  --on-dark-2: #CFC6B8;

  /* Rules */
  --rule: rgba(14, 17, 23, .14);
  --rule-strong: rgba(14, 17, 23, .38);
  --rule-dark: rgba(244, 239, 230, .2);

  --display: "Cormorant", "Cormorant Garamond", Georgia, serif;
  --text: "Inter", "Segoe UI", system-ui, sans-serif;

  /* Layout */
  --max: 1296px;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(80px, 9vw, 136px);
  --section-tight: clamp(56px, 6vw, 88px);

  /* One radius system: crisp tags/buttons, soft only on the three hero objects */
  --r-s: 3px;
  --r-l: 10px;

  /* Photography grade: one warm documentary look for every picture */
  --grade: sepia(.24) saturate(.8) contrast(1.06) brightness(.96);

  --sh-hero: 0 1px 2px rgba(40, 24, 12, .1), 0 22px 44px -16px rgba(40, 24, 12, .32), 0 48px 90px -40px rgba(40, 24, 12, .3);

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);

  /* Space: an 8px grid (4px half-step for tight joins) */
  --s1: 4px; --s2: 8px; --s3: 16px; --s4: 24px; --s5: 32px; --s6: 48px; --s7: 64px; --s8: 96px;
  --rule-dark-2: rgba(244, 239, 230, .32);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 17px/1.62 var(--text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; }
h1, h2, h3, h4, h5 { margin: 0; font-family: var(--display); font-weight: 600; line-height: 1.08; letter-spacing: -.005em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
em { font-style: italic; }
b, strong { font-weight: 600; }
address { font-style: normal; }
button, input { font: inherit; color: inherit; }
::selection { background: var(--gold-lt); color: var(--ink); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.on-dark :focus-visible, .g-ink :focus-visible, .g-brown :focus-visible, .hero-full :focus-visible, footer :focus-visible { outline-color: var(--gold-lt); }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* Grounds */
.g-cream { background: var(--cream); color: var(--ink); }
.g-stone { background: var(--stone); color: var(--ink); }
.g-ink { background: var(--ink); color: var(--on-dark); }
.g-brown { background: var(--brown); color: var(--on-dark); }
.sec { padding-block: var(--section); }
.sec-tight { padding-block: var(--section-tight); }

/* ---------- Type roles ---------- */
.h2 { font-size: clamp(38px, 3.9vw, 62px); line-height: 1.02; }
.h3 { font-size: clamp(28px, 2.4vw, 38px); line-height: 1.08; }
.lead { font-size: clamp(17.5px, 1.3vw, 20px); line-height: 1.55; color: var(--ink-2); max-width: 38em; }
.g-ink .lead, .g-brown .lead, .on-dark .lead { color: var(--on-dark-2); }
/* The one tracked label allowed per section family (max ~3 a page) */
.kicker { font: 600 12.5px/1.2 var(--text); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dk); margin-bottom: 18px; }
.g-ink .kicker, .g-brown .kicker, .on-dark .kicker { color: var(--gold-lt); }
/* Quiet sentence-case label */
.label { font: 600 14px/1.3 var(--text); color: var(--gold-dk); margin-bottom: 12px; }
.g-ink .label, .g-brown .label { color: var(--gold-lt); }
.caption { font: italic 500 16px/1.4 var(--display); color: var(--ink-3); }
.g-ink .caption, .g-brown .caption { color: var(--on-dark-2); }
.fine { font-size: 13.5px; color: var(--ink-3); }
.g-ink .fine, .g-brown .fine { color: var(--on-dark-2); }

.head { display: grid; gap: 20px; margin-bottom: clamp(40px, 5vw, 64px); }
.head.center { text-align: center; justify-items: center; }
.head.center .lead { margin-inline: auto; }
.head.split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: end; gap: 24px 64px; }

/* ---------- Links + buttons ---------- */
.link { color: inherit; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; text-decoration-color: var(--gold); transition: text-decoration-color .2s, color .2s; }
.link:hover { text-decoration-color: currentColor; }
.link:active { text-decoration-thickness: 2px; }
.g-ink .link, .g-brown .link, .on-dark .link { text-decoration-color: var(--gold-lt); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: var(--r-s); border: 1px solid transparent; font: 600 15.5px/1.1 var(--text); letter-spacing: .005em; text-decoration: none; cursor: pointer; transition: background-color .22s var(--ease), color .22s var(--ease), border-color .22s, transform .12s; }
.btn i { font-size: 18px; transition: transform .25s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: var(--on-dark); }
.btn-primary:hover { background: var(--brown); }
/* On dark grounds the primary becomes solid gold with black text */
.g-ink .btn-primary, .g-brown .btn-primary, .on-dark .btn-primary, .hero-full .btn-primary, .btn-gold { background: var(--gold); color: var(--ink); }
.g-ink .btn-primary:hover, .g-brown .btn-primary:hover, .on-dark .btn-primary:hover, .hero-full .btn-primary:hover, .btn-gold:hover { background: var(--gold-lt); }
@media (hover: hover) { .btn:hover i { transform: translateX(3px); } }

/* Solid tags (the only "badge" in the system) */
.tag { display: inline-block; font: 600 12px/1 var(--text); letter-spacing: .02em; padding: 7px 10px; border-radius: var(--r-s); white-space: nowrap; vertical-align: middle; }
.tag-gold { background: var(--gold); color: var(--ink); }
.tag-ink { background: var(--ink); color: var(--on-dark); }
.tag-cream { background: var(--on-dark); color: var(--ink); }

/* ---------- Photography: one grade, framed like plates ---------- */
.ph { position: relative; overflow: hidden; background: #2a211a; }
.ph img { width: 100%; height: 100%; object-fit: cover; filter: var(--grade); }
.ph::after { content: ""; position: absolute; inset: 0; background: rgba(79, 49, 48, .08); mix-blend-mode: multiply; pointer-events: none; }
.plate-fig { margin: 0; }
.plate-fig .ph { outline: 1px solid var(--rule-strong); outline-offset: 7px; }
.g-ink .plate-fig .ph, .g-brown .plate-fig .ph { outline-color: var(--rule-dark); }
.plate-fig figcaption { margin-top: 18px; display: flex; justify-content: space-between; gap: 16px; padding-top: 10px; border-top: 1px solid var(--rule); }

/* ---------- Nav (markup unchanged from the site) ---------- */
.nav { position: sticky; top: 0; z-index: 30; background: var(--cream); border-bottom: 1px solid var(--rule); view-transition-name: site-nav; transition: background-color .3s var(--ease), border-color .3s; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 36px; height: 36px; transition: transform .6s var(--ease); }
.brand b { display: block; font: 600 23px/1 var(--display); letter-spacing: .01em; }
.brand small { display: block; margin-top: 3px; font: 600 10px/1.3 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
@media (hover: hover) { .brand:hover img { transform: rotate(-14deg); } }
.nav ul { display: flex; gap: 34px; }
.nav ul a { position: relative; display: block; padding: 8px 0; font-size: 15px; font-weight: 500; text-decoration: none; color: var(--ink-2); transition: color .2s; }
.nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav ul a:hover { color: var(--ink); }
.nav ul a:hover::after, .nav ul a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { min-height: 44px; padding: 0 20px; font-size: 14.5px; }
.has-hero .nav { position: fixed; left: 0; right: 0; background: transparent; border-bottom-color: transparent; }
.has-hero .nav:not(.scrolled) .brand b, .has-hero .nav:not(.scrolled) ul a { color: var(--on-dark); }
.has-hero .nav:not(.scrolled) .brand small { color: rgba(244, 239, 230, .74); }
.has-hero .nav:not(.scrolled) ul a::after { background: var(--gold-lt); }
.has-hero .nav:not(.scrolled) .btn { background: var(--gold); color: var(--ink); }
.has-hero .nav:not(.scrolled) .btn:hover { background: var(--gold-lt); }
.has-hero .nav.scrolled { background: var(--cream); border-bottom-color: var(--rule); }
/* Phone menu: a button replaces the hidden links below 900px. */
.nav-toggle { display: none; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; margin-left: auto; border: 1px solid var(--rule); border-radius: 4px; background: transparent; color: var(--ink); font: 500 14px/1 var(--text); cursor: pointer; transition: background-color .2s, border-color .2s; }
.nav-toggle i { font-size: 20px; }
.nav-toggle:hover { border-color: var(--ink-3); }
.nav-toggle:active { background: var(--stone); }
.nav-toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.nav-menu-cta { display: none; }
.has-hero .nav:not(.scrolled):not(.menu-open) .nav-toggle { color: var(--on-dark); border-color: rgba(244, 239, 230, .4); }

/* ---------- Version label ---------- */
.v-label { position: fixed; left: 14px; bottom: 14px; z-index: 40; background: var(--ink); color: var(--on-dark); font: 600 11.5px/1 var(--text); letter-spacing: .02em; padding: 8px 11px; border-radius: var(--r-s); pointer-events: none; box-shadow: 0 0 0 1px rgba(244, 239, 230, .14); }
.v-label b { color: var(--gold-lt); font-weight: 600; }

/* =====================================================================
   HOMEPAGE
   ===================================================================== */

/* ---------- Hero ---------- */
.hero-full { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--on-dark); background: #1d1813; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; filter: var(--grade); }
.hero-media video { opacity: 0; transition: opacity 1.2s var(--ease); }
.hero-media video.ready { opacity: 1; }
.hero-scrim { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(14, 17, 23, .62) 0%, rgba(14, 17, 23, .08) 26%, rgba(14, 17, 23, .18) 48%, rgba(20, 14, 10, .9) 100%),
  linear-gradient(90deg, rgba(20, 14, 10, .72) 0%, rgba(20, 14, 10, .35) 45%, rgba(20, 14, 10, 0) 70%); }
.hero-full .wrap { width: 100%; padding-top: 116px; padding-bottom: clamp(36px, 6vh, 72px); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px; }
.hero-copy { max-width: 800px; }
.hero-copy .kicker { color: var(--gold-lt); }
.hero-copy h1 { font-size: clamp(46px, 6.6vw, 104px); line-height: .96; letter-spacing: -.012em; }
.hero-copy h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-copy h1 .line > span { display: inline-block; }
.hero-copy h1 em { font-weight: 500; color: var(--gold-lt); }
.hero-copy .sub { margin-top: 26px; max-width: 34em; font-size: clamp(16.5px, 1.32vw, 20px); line-height: 1.55; color: #E9E2D6; }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 30px; }
.hero-actions .link { color: var(--on-dark); text-decoration-color: var(--gold-lt); }
.hero-note { margin-top: 16px; font-size: 14.5px; color: var(--on-dark-2); }
.hero-proof { margin-top: 30px; padding-top: 18px; border-top: 1px solid rgba(244, 239, 230, .3); max-width: 40em; font-size: 16px; line-height: 1.5; color: var(--on-dark); }
.hero-proof b { color: var(--gold-lt); white-space: nowrap; }
.hero-meta { text-align: right; font: italic 500 16px/1.45 var(--display); color: var(--on-dark-2); padding-bottom: 4px; }
.hero-meta span { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .js .hero-copy h1 .line > span { animation: line-up 1.1s var(--ease) both; animation-delay: calc(var(--i, 0) * 120ms + 80ms); }
}
@keyframes line-up { from { transform: translateY(105%); } to { transform: none; } }

/* ---------- Section reveal (section-level, purposeful) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-v] { transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
  .js [data-v]:not(.is-in) { opacity: 0; transform: translateY(26px); }
}

/* ---------- #what-we-do: intro + compact outcomes list ---------- */
.fits-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--s5) var(--s8); align-items: start; margin-bottom: clamp(56px, 6vw, 88px); }
.fits-top .lead { margin-top: var(--s4); }
.outcome-list li { padding: 14px 0; border-top: 1px solid var(--rule); font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.outcome-list li:last-child { border-bottom: 1px solid var(--rule); }
.outcome-list b { margin-right: 10px; font: 600 22px/1.25 var(--display); color: var(--ink); }
.outcome-list b::after { content: "."; }

/* =====================================================================
   COMPONENT · Firm hub (C1) with photo spokes   [#what-we-do]
   Firm at the centre; six parts of the firm around it, each with a framed
   photo so it reads at a glance. Spokes are drawn by v4.js to each photo.
   ===================================================================== */
.c1 { position: relative; margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) 280px minmax(0, 1fr); grid-template-rows: repeat(3, auto); gap: var(--s5) var(--s7); align-items: center; }
.c1-spokes { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.c1-spokes path { fill: none; stroke: var(--ink-3); stroke-width: 1; stroke-dasharray: 1; stroke-dashoffset: 0; }
.c1-spokes circle { fill: var(--gold); }
.c1-core { grid-column: 2; grid-row: 1 / 4; position: relative; z-index: 1; aspect-ratio: 1; border-radius: 50%; background: var(--ink); color: var(--on-dark); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: var(--s6) var(--s5); outline: 1px solid var(--gold); outline-offset: 10px; }
.c1-core img { width: 46px; height: 46px; }
.c1-core h3 { margin-top: var(--s2); font-size: 34px; }
.c1-core p { margin-top: var(--s1); font-size: 14px; line-height: 1.5; color: var(--on-dark-2); }
.c1-tile { position: relative; z-index: 1; display: flex; align-items: center; gap: var(--s3) var(--s4); }
.c1-tile[data-side="l"] { grid-column: 1; flex-direction: row-reverse; text-align: right; }
.c1-tile[data-side="r"] { grid-column: 3; }
.c1-tile[data-r="1"] { grid-row: 1; } .c1-tile[data-r="2"] { grid-row: 2; } .c1-tile[data-r="3"] { grid-row: 3; }
.c1-ill { flex: none; display: block; width: clamp(96px, 8.4vw, 120px); aspect-ratio: 1; }
.c1-ill svg { width: 100%; height: 100%; }
.c1-txt h4 { font-size: 26px; }
.c1-txt p { margin-top: var(--s1); max-width: 17em; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.c1-tile[data-side="l"] .c1-txt p { margin-left: auto; }
.c1-note { margin-top: var(--s6); text-align: center; }
html.js [data-dg] .c1-spokes path { stroke-dashoffset: 1; }
html.js [data-dg].in .c1-spokes path { stroke-dashoffset: 0; transition: stroke-dashoffset .9s var(--ease); transition-delay: calc(var(--d) * 1ms); }
html.js [data-dg] .c1-core { opacity: 0; transform: scale(.94); }
html.js [data-dg].in .c1-core { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .9s var(--ease); }
html.js [data-dg] .c1-tile { opacity: 0; transform: translateY(12px); }
html.js [data-dg].in .c1-tile { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .8s var(--ease); transition-delay: calc(320ms + var(--i) * 80ms); }
@media (max-width: 1100px) {
  .c1 { grid-template-columns: minmax(0, 1fr) 236px minmax(0, 1fr); gap: var(--s5) var(--s6); }
  .c1-core { padding: var(--s5) var(--s4); }
  .c1-core h3 { font-size: 30px; }
}
/* Below 900px: a clean two-column photo grid with the firm label on top. */
@media (max-width: 899px) {
  .c1 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4) var(--s3); align-items: start; }
  .c1-core { grid-column: 1 / -1; grid-row: auto; aspect-ratio: auto; border-radius: var(--r-s); flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: var(--s2) var(--s3); text-align: left; padding: var(--s3) var(--s4); outline-offset: 5px; margin-bottom: var(--s1); }
  .c1-core img { width: 36px; height: 36px; flex: none; }
  .c1-core h3 { margin: 0; font-size: 26px; flex: none; }
  .c1-core p { flex-basis: 100%; margin: 0; padding-top: var(--s2); border-top: 1px solid var(--rule-dark); font-size: 13.5px; }
  .c1-tile[data-side] { grid-column: auto; grid-row: auto; flex-direction: column; align-items: stretch; gap: var(--s2); text-align: left; }
  .c1-ill { width: 76px; }
  .c1-txt { padding-top: var(--s1); }
  .c1-txt h4 { font-size: 23px; }
  .c1-tile[data-side] .c1-txt p { margin: 2px 0 0; font-size: 14px; }
  .c1-spokes { display: none; }
  .c1-note { margin-top: var(--s4); }
}

/* =====================================================================
   COMPONENT · Plate   (a cream mount hung on a dark wall)
   ===================================================================== */
.plate { position: relative; background: var(--cream); color: var(--ink); padding: clamp(20px, 3vw, 40px); }
.g-ink .plate, .g-brown .plate { outline: 1px solid rgba(220, 196, 143, .38); outline-offset: 12px; }
.g-cream .plate { background: var(--stone); }
/* The plate is a light surface even on a dark ground: undo the dark-ground link + focus colours. */
.plate .link { text-decoration-color: var(--gold); }
.plate :focus-visible { outline-color: var(--blue); }

/* =====================================================================
   COMPONENT · Icon conveyor   [#work, service + industry pages]
   Reads left to right in one glance: a file token moves along a plain track
   past solid role-coloured stations (AI = ink · your team = gold · your
   systems = stone) to the payoff at the end. v4.js runs it and swaps belts.
   Unlit stations are outlined; lit stations are solid. Reduced motion: all lit.
   ===================================================================== */
.conveyor { --disc: 84px; --track: 4px; --token-h: 34px; }
.cv-tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border: 1px solid var(--rule-strong); border-radius: var(--r-s); }
.cv-tabs [role="tab"] { appearance: none; min-height: 40px; padding: 0 18px; border: 0; border-radius: 2px; background: transparent; color: var(--ink-2); font: 600 15px/1 var(--text); cursor: pointer; transition: background-color .2s var(--ease), color .2s; }
.cv-tabs [role="tab"]:hover { background: var(--stone); color: var(--ink); }
.cv-tabs [role="tab"]:active { transform: translateY(1px); }
.cv-tabs [role="tab"][aria-selected="true"] { background: var(--ink); color: var(--on-dark); }

.cv-panel { padding-top: var(--s5); }
.cv-tabs + .cv-panel { margin-top: var(--s1); }
.cv-panel:focus-visible { outline-offset: 6px; }
.cv-status { font: italic 600 18px/1.2 var(--display); color: var(--gold-dk); }
.cv-head h3 { margin-top: var(--s1); font-size: clamp(26px, 2.3vw, 34px); }
.cv-sub { margin-top: 6px; font-size: 15.5px; color: var(--ink-2); }

/* The belt: discs on one plain track, chevrons between them, the payoff at the end. */
.belt-wrap { position: relative; margin-top: calc(var(--s6) + var(--token-h)); }
.belt { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)) minmax(0, 1.35fr); align-items: start; }
.st { position: relative; display: flex; flex-direction: column; align-items: center; padding: 0 var(--s1); text-align: center; }
.st-disc { position: relative; z-index: 1; width: var(--disc); height: var(--disc); border-radius: 50%; display: grid; place-items: center; font-size: 36px; color: var(--ink-3); background: var(--cream); box-shadow: inset 0 0 0 2px var(--rule-strong); transition: background-color .45s var(--ease), color .45s var(--ease), box-shadow .45s, transform .5s var(--ease); }
.st-label { margin-top: var(--s3); font: 600 21px/1.15 var(--display); color: var(--ink-2); transition: color .45s; }
/* Chevron between stations, sitting on the track */
.st:not(.st-end)::after { content: ""; position: absolute; z-index: 1; right: -7px; top: calc(var(--disc) / 2 - 7px); width: 10px; height: 10px; border-top: 2.5px solid var(--ink); border-right: 2.5px solid var(--ink); transform: rotate(45deg); background: transparent; }
.st.lit .st-disc { box-shadow: none; transform: scale(1.04); }
.st.lit .st-label { color: var(--ink); }
.k-ai.lit .st-disc { background: var(--ink); color: var(--gold-lt); }
.k-team.lit .st-disc { background: var(--gold); color: var(--ink); }
.k-sys.lit .st-disc { background: var(--stone-solid); color: var(--ink); }

/* The payoff: the end of the line */
.st-end { align-items: stretch; padding-left: var(--s4); text-align: left; }
.st-end .end-cap { min-height: var(--disc); display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: var(--s2) var(--s4); border-radius: var(--r-s); box-shadow: inset 0 0 0 2px var(--rule-strong); color: var(--ink-3); transition: background-color .5s var(--ease), color .5s, box-shadow .5s; }
.end-cap .big { font: 600 clamp(28px, 2.5vw, 38px)/1 var(--display); font-variant-numeric: lining-nums; }
.end-cap .cap { font-size: 14px; line-height: 1.35; }
.st-end.lit .end-cap { background: var(--ink); color: var(--on-dark); box-shadow: none; }
.st-end.lit .end-cap .big { color: var(--gold-lt); }
.st-end.lit .end-cap .cap { color: var(--on-dark-2); }

.belt-track { position: absolute; left: calc(100% / (var(--n, 5) + 1.35) / 2); right: calc(100% / (var(--n, 5) + 1.35) * 1.35 - var(--s4)); top: calc(var(--disc) / 2 - var(--track) / 2); height: var(--track); border-radius: 2px; background: var(--stone-solid); overflow: hidden; }
.belt-track::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleX(var(--fill, 0)); transform-origin: left; transition: transform .8s var(--ease-io); }
/* The file token: a white sheet with ruled lines, riding just above the stations */
.belt-token { position: absolute; left: 0; top: 0; z-index: 2; width: 28px; height: var(--token-h); background: #fff; border: 1.5px solid var(--ink); border-radius: 2px; box-shadow: 0 6px 14px -6px rgba(14, 17, 23, .5); opacity: 0; transform: translate(var(--tx, 0), var(--ty, 0)); transition: transform .8s var(--ease-io), opacity .3s; }
.belt-token::before { content: ""; position: absolute; left: 6px; right: 6px; top: 9px; height: 1.5px; background: var(--ink-3); box-shadow: 0 5px 0 var(--ink-3), 0 10px 0 var(--ink-3), 0 15px 0 var(--ink-3); }
.conveyor.ready .belt-token { opacity: 1; }
.conveyor.jump .belt-token, .conveyor.jump .belt-track::after { transition: none; }

.cv-foot { margin-top: var(--s5); padding-top: var(--s3); border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s2) var(--s4); }
.cv-legend { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s4); font-size: 13.5px; color: var(--ink-3); }
.cv-legend li { display: inline-flex; align-items: center; gap: var(--s1); }
.cv-key { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.cv-key.k-ai { background: var(--ink); }
.cv-key.k-team { background: var(--gold); }
.cv-key.k-sys { background: var(--stone-solid); }
.cv-foot .link { font-size: 15px; }

@media (max-width: 1100px) {
  .conveyor { --disc: 68px; }
  .st-disc { font-size: 30px; }
  .st-label { font-size: 19px; }
}
/* Tablet (700-1023px): the payoff column is narrow, so tighten it and keep "10–20 hrs" on one line. */
@media (min-width: 700px) and (max-width: 1023px) {
  .st-end { padding-left: var(--s3); }
  .st-end .end-cap { padding: var(--s2) var(--s3); }
  .end-cap .big { font-size: 21px; }
  .end-cap .cap { font-size: 13px; }
  .st-label { font-size: 17px; }
}
/* Below 700px the belt turns vertical: top to bottom, the payoff at the foot. */
@media (max-width: 699px) {
  .conveyor { --disc: 56px; --token-h: 28px; }
  .cv-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .cv-tabs [role="tab"] { padding: 0 var(--s1); font-size: 14.5px; }
  .cv-panel { padding-top: var(--s4); }
  .belt-wrap { margin-top: var(--s4); }
  .belt { grid-template-columns: 1fr; row-gap: var(--s4); padding-left: 38px; }
  .st { flex-direction: row; gap: var(--s3); padding: 0; text-align: left; align-items: center; }
  .st-label { margin: 0; font-size: 20px; }
  .st:not(.st-end)::after { right: auto; left: calc(var(--disc) / 2 - 5px); top: calc(var(--disc) + 6px); transform: rotate(135deg); }
  .st-end { padding: var(--s1) 0 0; }
  .st-end .end-cap { width: 100%; }
  .belt-track { left: calc(38px + var(--disc) / 2 - var(--track) / 2); right: auto; width: var(--track); top: calc(var(--disc) / 2); bottom: calc(var(--disc) / 2 + 72px); height: auto; }
  .belt-track::after { transform: scaleY(var(--fill, 0)); transform-origin: top; }
  .belt-token { width: 22px; }
  .belt-token::before { left: 5px; right: 5px; top: 7px; box-shadow: 0 4px 0 var(--ink-3), 0 8px 0 var(--ink-3), 0 12px 0 var(--ink-3); }
  .cv-foot { flex-direction: column; align-items: flex-start; }
}

/* =====================================================================
   SECTION · #work (ink set-piece): the conveyor, one proof line, CTA
   ===================================================================== */
.work-head { margin-bottom: var(--s6); }
.work-proof { max-width: 62em; margin: var(--s6) auto 0; text-align: center; font-size: 15px; line-height: 1.6; color: var(--on-dark-2); }
.work-proof .link { margin-left: 6px; color: var(--on-dark); white-space: nowrap; }
.work-cta { margin-top: var(--s5); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--s3) var(--s5); text-align: center; }
.work-cta .link { color: var(--on-dark); }

/* =====================================================================
   SECTION · #services   three groups; each service = illustration + name + line + e.g.
   Illustrations sit on cream plates here (the ground is stone).
   ===================================================================== */
.svc-groups { --ill-plate: var(--cream); }
.svc-group { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--s4) var(--s7); padding: var(--s6) 0; border-top: 1px solid var(--rule-strong); }
.svc-group:last-child { border-bottom: 1px solid var(--rule-strong); }
.svc-group > h3 { font-size: clamp(28px, 2.3vw, 36px); max-width: 11em; }
.svc-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5) var(--s6); }
.svc-items a { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: var(--s3) 18px; align-items: start; color: var(--ink); text-decoration: none; }
.svc-ill { display: block; width: 60px; height: 60px; transition: transform .35s var(--ease); }
.svc-ill svg { width: 100%; height: 100%; }
.svc-txt b { display: inline; font-size: 17px; font-weight: 600; background: linear-gradient(var(--gold-dk), var(--gold-dk)) 0 100% / 0 1px no-repeat; padding-bottom: 2px; transition: background-size .4s var(--ease), color .2s; }
.svc-txt .what { display: block; margin-top: 6px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.svc-txt .eg { display: flex; gap: var(--s1); margin-top: var(--s1); font-size: 14.5px; line-height: 1.45; color: var(--ink); }
.svc-txt .eg::before { content: "e.g."; flex: none; font: italic 600 16px/1.3 var(--display); color: var(--gold-dk); }
.svc-items a:hover b { background-size: 100% 1px; }
.svc-items a:hover .svc-ill { transform: translateY(-3px); }
.svc-items a:active .svc-ill { transform: translateY(0); }
.svc-items a:active b { color: var(--brown); }
.svc-items a:focus-visible { outline-offset: 6px; }
.svc-foot { margin-top: var(--s4); display: flex; justify-content: flex-end; }
@media (max-width: 1023px) {
  .svc-group { grid-template-columns: 1fr; padding: var(--s5) 0 var(--s6); }
}
@media (max-width: 700px) {
  .svc-items { grid-template-columns: 1fr; gap: var(--s4); }
  .svc-items a { grid-template-columns: 52px minmax(0, 1fr); gap: var(--s2) var(--s3); }
  .svc-ill { width: 52px; height: 52px; }
}

/* =====================================================================
   COMPONENT · Ruled head   (hairline with a short gold segment)
   h2 + lead on the left, an optional framed photo on the right.
   ===================================================================== */
.rule-head { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s4); align-items: end; padding-top: var(--s4); border-top: 1px solid var(--rule-strong); margin-bottom: clamp(48px, 5vw, 80px); }
.rule-head::before { content: ""; position: absolute; left: 0; top: -1px; width: 72px; height: 1px; background: var(--gold); }
.g-ink .rule-head, .g-brown .rule-head { border-top-color: var(--rule-dark); }
.rule-head .h-main { grid-column: 1 / span 6; }
.rule-head .h-main .lead { margin-top: var(--s4); max-width: 30em; }
.how-photo { grid-column: 8 / span 5; }
.how-photo .ph { aspect-ratio: 2 / 1; }
.how-photo .ph img { object-position: center 60%; }
.g-ink .plate-fig figcaption, .g-brown .plate-fig figcaption { border-top-color: var(--rule-dark); }

/* =====================================================================
   COMPONENT · A1 timeline   (Audit → Build → Run; a true sequence)
   Works on light and dark grounds: --a1-ring matches the ground behind it.
   ===================================================================== */
.a1 { --a1-ring: var(--cream); --a1-n: 3; position: relative; display: grid; grid-template-columns: repeat(var(--a1-n), minmax(0, 1fr)); gap: clamp(28px, 3vw, 48px); }
.g-stone .a1 { --a1-ring: var(--stone); }
.g-ink .a1 { --a1-ring: var(--ink); }
.a1-track { position: absolute; left: 26px; right: calc(100% / var(--a1-n) - 26px); top: 26px; height: 1px; background: var(--rule-strong); }
.g-ink .a1-track { background: rgba(244, 239, 230, .28); }
.a1-fill { position: absolute; inset: 0; background: var(--gold); transform-origin: left; }
.a1-step { position: relative; }
.a1-node { position: relative; z-index: 1; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--ink); font: 600 26px/1 var(--display); font-variant-numeric: lining-nums; box-shadow: 0 0 0 8px var(--a1-ring); }
.a1-body h3 { margin-top: var(--s4); font-size: clamp(34px, 3vw, 44px); line-height: 1; }
.a1-body .meta { margin-top: var(--s1); font-size: 15px; color: var(--gold-dk); }
.g-ink .a1-body .meta { color: var(--gold-lt); }
.a1-body .meta .tag { margin-left: 6px; vertical-align: 2px; }
.a1-body ul { margin-top: var(--s4); }
.a1-body li { padding: 11px 0; border-top: 1px solid var(--rule); font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.g-ink .a1-body li { border-top-color: var(--rule-dark); color: var(--on-dark-2); }
.a1-body > p:not(.meta) { margin-top: var(--s3); font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.g-ink .a1-body > p:not(.meta) { color: var(--on-dark-2); }
.a1-body .rows { margin-top: var(--s3); }
.a1-body .rows li { display: flex; padding: 9px 0; font-size: 15px; }
.a1-body .btn { margin-top: var(--s4); }
.a1-title { margin: clamp(64px, 7vw, 104px) 0 var(--s5); font-size: clamp(28px, 2.6vw, 38px); }
.a1-stop { margin-top: var(--s5); font-size: 15px; color: var(--ink-2); }
.a1-stop b { color: var(--ink); font-weight: 600; }
.g-ink .a1-stop { color: var(--on-dark-2); }
.g-ink .a1-stop b { color: var(--on-dark); }
html.js [data-dg] .a1-fill { transform: scaleX(0); }
html.js [data-dg].in .a1-fill { transform: scaleX(1); transition: transform 1.3s var(--ease-io) .15s; }
html.js [data-dg] .a1-node { opacity: 0; transform: scale(.6); }
html.js [data-dg].in .a1-node { opacity: 1; transform: none; transition: opacity .4s, transform .6s var(--ease); transition-delay: calc(150ms + var(--i) * 400ms); }
html.js [data-dg] .a1-body { opacity: 0; transform: translateY(12px); }
html.js [data-dg].in .a1-body { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .8s var(--ease); transition-delay: calc(260ms + var(--i) * 400ms); }
@media (max-width: 860px) {
  .a1 { grid-template-columns: 1fr; gap: var(--s5); padding-left: 76px; }
  .a1-track { left: 26px; right: auto; top: 26px; bottom: 40px; width: 1px; height: auto; }
  .a1-fill { transform-origin: top; }
  html.js [data-dg] .a1-fill { transform: scaleY(0); }
  html.js [data-dg].in .a1-fill { transform: scaleY(1); }
  .a1-node { position: absolute; left: -76px; top: 0; }
  .a1-body h3 { margin-top: 6px; }
}

/* =====================================================================
   SECTION · #how (ink set-piece) + calculator over the bookcase
   ===================================================================== */
.how { padding-bottom: 0; }
.calc-band { position: relative; isolation: isolate; margin-top: clamp(72px, 8vw, 128px); padding-block: clamp(64px, 7vw, 112px); overflow: hidden; background: #16110d; color: var(--on-dark); }
.calc-band .bg { position: absolute; inset: -40px 0; z-index: -2; }
.calc-band .bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; filter: var(--grade); will-change: translate; }
.calc-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(18, 13, 10, .93) 0%, rgba(18, 13, 10, .78) 46%, rgba(18, 13, 10, .42) 100%),
  linear-gradient(180deg, var(--ink) 0%, rgba(14, 17, 23, 0) 16%, rgba(14, 17, 23, 0) 84%, rgba(18, 13, 10, .9) 100%); }
#calc { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 5vw, 88px); align-items: start; }
.calc-left > h3 { font-size: clamp(36px, 3.8vw, 58px); line-height: 1; }
.calc-left > p { margin-top: 14px; max-width: 46ch; color: var(--on-dark-2); }
.calc-left .field { margin-top: var(--s5); }
.field-label { display: block; margin-bottom: 12px; font: 600 14px/1.3 var(--text); color: var(--on-dark); }
.field-label small { margin-left: var(--s1); font-weight: 400; color: var(--on-dark-2); }
.tiers-seg { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.tiers-seg button { appearance: none; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 14px 14px 13px; border: 1px solid var(--rule-dark-2); border-radius: var(--r-s); background: var(--ink); color: var(--on-dark); text-align: left; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; }
.tiers-seg button span { font: 500 13px/1 var(--text); color: var(--on-dark-2); transition: color .25s; }
.tiers-seg button b { font: 600 23px/1 var(--display); font-variant-numeric: lining-nums; }
.tiers-seg button:hover { border-color: var(--gold-lt); }
.tiers-seg button:active { transform: translateY(1px); }
.tiers-seg button[aria-checked="true"] { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.tiers-seg button[aria-checked="true"] span { color: var(--ink-3); }
.stepper { display: inline-flex; align-items: stretch; border: 1px solid var(--rule-dark-2); border-radius: var(--r-s); background: var(--ink); overflow: hidden; }
.stepper button { appearance: none; width: 52px; border: 0; background: none; color: var(--on-dark); font-size: 22px; cursor: pointer; transition: background-color .2s; }
.stepper button:hover { background: #222631; }
.stepper button:active { background: #2C313D; }
.stepper input { width: 88px; padding: 10px 0; border: 0; border-inline: 1px solid var(--rule-dark-2); background: none; color: var(--on-dark); text-align: center; font: 600 30px/1 var(--display); font-variant-numeric: lining-nums; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.hint { margin-top: 10px; font-size: 13.5px; color: var(--on-dark-2); }
.before-pay { margin-top: var(--s6); max-width: 560px; }
.before-pay h4 { margin-bottom: var(--s1); font: 600 15px/1.3 var(--text); color: var(--gold-lt); }
.before-pay li { padding: 11px 0; border-top: 1px solid var(--rule-dark); font-size: 15px; line-height: 1.5; color: var(--on-dark); }

/* The quote card: one of the three lifted objects on the page */
.quote-card { position: relative; padding: clamp(28px, 3vw, 44px); border-radius: var(--r-l); background: var(--cream); color: var(--ink); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .7); }
.quote-card :focus-visible { outline-color: var(--blue); }
.qc-label { font: 600 14px/1.3 var(--text); color: var(--ink-3); }
.quote-card .price { margin-top: 6px; font: 600 clamp(68px, 7vw, 108px)/.9 var(--display); letter-spacing: -.02em; font-variant-numeric: lining-nums; }
.price-for { margin-top: 10px; font-size: 15px; color: var(--ink-3); }
.included { margin: var(--s4) 0; }
.included li { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--rule); font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.included li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: .6em; background: var(--gold); }
.custom-note { margin-bottom: var(--s3); font-size: 15px; color: var(--ink-2); }
.quote-card .btn { width: 100%; min-height: 56px; font-size: 16px; }
.quote-card .btn-primary { background: var(--ink); color: var(--on-dark); }
.quote-card .btn-primary:hover { background: var(--brown); }
.quote-card .hint { color: var(--ink-3); text-align: center; }
.talk-first { margin-top: var(--s3); padding-top: var(--s3); border-top: 1px solid var(--rule); font-size: 14px; line-height: 1.55; color: var(--ink-3); }
.talk-first a { color: var(--ink); font-weight: 600; text-decoration-color: var(--gold); text-underline-offset: 3px; transition: text-decoration-color .2s; }
.talk-first a:hover { text-decoration-color: currentColor; }

/* Inline checkout mock: opens from "Book and pay" (or "Talk with Aramis first") */
.checkout { position: relative; margin-top: var(--s3); padding: 22px 22px 20px; border-radius: var(--r-s); background: var(--ink); color: var(--on-dark); }
.checkout[hidden] { display: none; }
.checkout :focus-visible { outline-color: var(--gold-lt); }
.checkout-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.checkout h4 { font-size: 24px; line-height: 1.1; outline: none; }
.checkout ol { margin-top: 14px; counter-reset: step; }
.checkout ol li { counter-increment: step; display: flex; gap: 12px; padding: 9px 0; border-top: 1px solid var(--rule-dark); font-size: 15px; }
.checkout ol li::before { content: counter(step); flex: none; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: var(--ink); font: 600 12px/1 var(--text); }
.checkout .call { margin-top: 12px; }
.checkout .link { color: var(--on-dark); text-decoration-color: var(--gold-lt); }
.checkout .mock { margin-top: 12px; font-size: 13px; color: var(--on-dark-2); }
.checkout .mock .tag { margin-right: 6px; }
.checkout-close { appearance: none; min-height: 32px; padding: 0 12px; border: 1px solid var(--rule-dark-2); border-radius: var(--r-s); background: none; color: var(--on-dark-2); font: 500 13px/1 var(--text); cursor: pointer; transition: color .2s, border-color .2s; }
.checkout-close:hover { color: var(--on-dark); border-color: var(--on-dark-2); }
.checkout-close:active { transform: translateY(1px); }
@media (prefers-reduced-motion: no-preference) {
  .checkout:not([hidden]) { animation: open-panel .45s var(--ease) both; }
}
@keyframes open-panel { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (max-width: 1023px) {
  #calc { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .tiers-seg { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tiers-seg button { padding: 12px 10px; }
  .tiers-seg button b { font-size: 21px; }
}

/* Pricing teaser: replaces the calculator on index #how and audit.html; the full calculator lives on book.html */
.teaser-band { padding-block: clamp(56px, 6vw, 96px); }
.price-teaser { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(24px, 3.5vw, 56px); padding: clamp(24px, 3vw, 40px) clamp(24px, 3.4vw, 48px); border-radius: var(--r-l); background: var(--cream); color: var(--ink); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .7); }
.price-teaser :focus-visible { outline-color: var(--blue); }
.pt-big { margin-top: 4px; font: 600 clamp(52px, 4.6vw, 72px)/.92 var(--display); letter-spacing: -.02em; font-variant-numeric: lining-nums; white-space: nowrap; }
.pt-facts { display: grid; padding-left: clamp(24px, 3.5vw, 56px); border-left: 1px solid var(--rule); }
.pt-facts li { display: grid; grid-template-columns: minmax(0, auto) minmax(0, 1fr); align-items: baseline; gap: 16px; padding: 10px 0; }
.pt-facts li + li { border-top: 1px solid var(--rule); }
.pt-facts span { text-align: right; }
.pt-facts b { font: 600 clamp(19px, 1.5vw, 22px)/1.15 var(--display); font-variant-numeric: lining-nums; white-space: nowrap; }
.pt-facts span { font-size: 14px; line-height: 1.45; color: var(--ink-3); }
.pt-act { display: grid; justify-items: center; gap: 10px; }
.price-teaser .btn-primary { background: var(--ink); color: var(--on-dark); min-height: 56px; white-space: nowrap; }
.price-teaser .btn-primary:hover { background: var(--brown); }
.price-teaser .fine { color: var(--ink-3); }
.price-teaser .fine .link { color: var(--ink); text-underline-offset: 3px; }
@media (max-width: 1100px) {
  .price-teaser { grid-template-columns: auto minmax(0, 1fr); }
  .pt-act { grid-column: 1 / -1; grid-auto-flow: column; justify-content: start; align-items: center; gap: var(--s4); padding-top: var(--s4); border-top: 1px solid var(--rule); }
}
@media (max-width: 760px) {
  .price-teaser { grid-template-columns: 1fr; gap: var(--s4); }
  .pt-facts { padding-left: 0; border-left: 0; }
  .pt-facts li { grid-template-columns: 1fr; gap: 2px; padding: 12px 0; border-top: 1px solid var(--rule); }
  .pt-facts span { text-align: left; }
  .pt-act { grid-auto-flow: row; justify-content: stretch; justify-items: stretch; text-align: center; padding-top: 0; border-top: 0; }
  .price-teaser .btn-primary { width: 100%; }
}

/* =====================================================================
   COMPONENT · Founder business card   [#team]
   ===================================================================== */
.team-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s4); align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.team-head h2 { grid-column: 1 / span 7; }
.team-head p { grid-column: 9 / span 4; font-size: 17px; color: var(--ink-2); }
.founder-card { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 520px; border-radius: var(--r-l); background: var(--brown); color: var(--on-dark); box-shadow: var(--sh-hero); overflow: hidden; }
.founder-card :focus-visible { outline-color: var(--gold-lt); }
.founder-card .text { display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: clamp(32px, 4.4vw, 72px); }
.founder-card .letterhead { display: flex; align-items: center; gap: 10px; font: 600 11.5px/1 var(--text); letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-2); }
.founder-card .letterhead img { width: 26px; height: 26px; }
.founder-card blockquote { margin: 0; font: italic 600 clamp(28px, 2.6vw, 40px)/1.14 var(--display); color: var(--on-dark); text-wrap: balance; }
.founder-card .who { font-size: 15px; color: var(--on-dark-2); }
.founder-card .who strong { color: var(--on-dark); font-weight: 600; }
.founder-card .body { max-width: 34em; font-size: 16px; line-height: 1.65; color: var(--on-dark-2); }
.founder-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.founder-links a { display: inline-flex; align-items: center; gap: var(--s1); color: var(--on-dark); text-decoration-color: var(--gold-lt); }
.founder-links a:hover { text-decoration-color: currentColor; }
.founder-links i { font-size: 20px; }
.founder-card .pic { position: relative; min-height: 360px; background: #222; }
.founder-card .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 14%; filter: sepia(.2) saturate(.85) contrast(1.04); }
@media (max-width: 960px) {
  .team-head h2, .team-head p { grid-column: 1 / -1; }
  .founder-card { grid-template-columns: 1fr; min-height: 0; }
  .founder-card .pic { order: -1; min-height: 380px; }
}

/* ---------- Full-bleed photo strip ---------- */
.strip { position: relative; height: clamp(300px, 40vw, 580px); overflow: hidden; background: #1a140f; }
.strip img { position: absolute; left: 0; top: -40px; width: 100%; height: calc(100% + 80px); object-fit: cover; filter: var(--grade); will-change: translate; }
.strip::after { content: ""; position: absolute; inset: 0; background: rgba(79, 49, 48, .1); mix-blend-mode: multiply; }

/* ---------- Industries: gallery plates ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 32px; }
.ind { display: block; text-decoration: none; color: var(--ink); }
.ind .ph { aspect-ratio: 4 / 5; outline: 1px solid var(--rule-strong); outline-offset: 7px; }
.ind .ph img { transition: transform 1.2s var(--ease); }
.ind h3 { margin-top: 26px; font-size: 28px; }
.ind p { margin-top: 8px; font-size: 15.5px; color: var(--ink-2); }
.ind .go { display: inline-block; margin-top: 14px; font-weight: 600; font-size: 15px; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; text-decoration-color: var(--gold); transition: text-decoration-color .2s; }
@media (hover: hover) { .ind:hover .ph img { transform: scale(1.04); } .ind:hover .go { text-decoration-color: var(--ink); } }
.ind-foot { margin-top: clamp(48px, 5vw, 64px); padding-top: 22px; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 32px; color: var(--ink-2); }

/* ---------- Tools: one monochrome logo wall ---------- */
.tools-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--s2) var(--s5); margin-bottom: var(--s4); }
.tools-head h2 { font-size: clamp(28px, 2.4vw, 36px); }
.logo-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(136px, 1fr)); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.logo-wall li { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 96px; padding: var(--s3) var(--s1); border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); text-align: center; }
.logo-wall img { width: 28px; height: 28px; object-fit: contain; filter: brightness(0); opacity: .86; }
.logo-wall img.logo-wide { width: auto; height: 20px; margin-block: 4px; } /* wide wordmark: same 28px slot as the square marks */
.logo-wall .wordmark b { display: flex; align-items: center; height: 28px; font: 600 23px/1 var(--display); letter-spacing: .01em; color: var(--ink); opacity: .9; }
.logo-wall span { font-size: 12.5px; font-weight: 500; line-height: 1.25; color: var(--ink-2); }
.logo-wall .wordmark span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 700px) {
  .logo-wall { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .logo-wall li { min-height: 80px; gap: var(--s1); padding: 12px 4px; }
  .logo-wall img { width: 24px; height: 24px; }
  .logo-wall img.logo-wide { width: auto; height: 18px; margin-block: 3px; }
  .logo-wall .wordmark b { height: 24px; font-size: 19px; }
  .logo-wall span { font-size: 11.5px; }
}

/* ---------- Place ---------- */
.place-row { margin-top: clamp(48px, 5vw, 64px); padding-top: clamp(48px, 5vw, 64px); border-top: 1px solid var(--rule-strong); display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 32px 72px; align-items: center; }
.place-row h2 { font-size: clamp(30px, 2.8vw, 44px); }
.place-row p { margin-top: 16px; color: var(--ink-2); max-width: 34em; }
.place-map { max-width: 380px; justify-self: end; width: 100%; }
.fl-map { --map-land: var(--cream); --map-coast: var(--gold-dk); --map-mesh: #CDBFA6; --map-area: var(--gold); --map-area-line: var(--gold-dk); --map-dot: var(--ink); --map-pulse: var(--gold-dk); --map-text: var(--ink-2); --map-text-strong: var(--ink); }
.fl-map__legend { font-size: 13.5px; gap: 8px 20px; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px 80px; align-items: start; }
.faq-side { position: sticky; top: 112px; }
.faq-side p { margin-top: 16px; color: var(--ink-2); }
.faq details { border-top: 1px solid var(--rule-strong); }
.faq details:last-child { border-bottom: 1px solid var(--rule-strong); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font: 600 clamp(21px, 1.7vw, 25px)/1.25 var(--display); color: var(--ink); transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(var(--ink), var(--ink)) center / 14px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 14px no-repeat; transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--gold-dk); }
.faq details p { padding: 0 48px 24px 0; color: var(--ink-2); max-width: 42em; }
.faq-photo { margin-top: var(--s5); max-width: 300px; }
.faq-photo .ph { aspect-ratio: 4 / 5; }

/* ---------- Final CTA (brown set-piece) ---------- */
.final-cta { text-align: center; }
.final-cta h2 { font-size: clamp(42px, 4.8vw, 76px); line-height: 1; max-width: 14em; margin-inline: auto; }
.final-cta h2 em { font-weight: 500; color: var(--gold-lt); }
.final-cta .lead { margin: 24px auto 0; color: #E7DDD3; }
.final-actions { margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 32px; }
.final-actions .link { color: var(--on-dark); }
.direct { margin-top: 36px; display: inline-flex; align-items: center; gap: 14px; font-size: 15.5px; color: var(--on-dark-2); text-align: left; }
.direct img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; filter: sepia(.2); box-shadow: 0 0 0 1px var(--gold-lt); }
.checklist { margin: 48px auto 0; max-width: 640px; border-top: 1px solid var(--rule-dark); border-bottom: 1px solid var(--rule-dark); text-align: left; }
.checklist summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; font-weight: 600; font-size: 16px; color: var(--on-dark); }
.checklist summary::-webkit-details-marker { display: none; }
.checklist summary::after { content: ""; flex: none; width: 12px; height: 12px; background: linear-gradient(var(--gold-lt), var(--gold-lt)) center / 12px 1.5px no-repeat, linear-gradient(var(--gold-lt), var(--gold-lt)) center / 1.5px 12px no-repeat; transition: transform .35s var(--ease); }
.checklist[open] summary::after { transform: rotate(45deg); }
.checklist .inner { padding: 0 0 24px; }
.checklist .inner > p { color: var(--on-dark-2); font-size: 15.5px; }
.magnet-form { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; }
.magnet-form label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; color: var(--on-dark); }
.magnet-form input { width: 100%; min-height: 50px; padding: 0 14px; border-radius: var(--r-s); border: 1px solid transparent; background: var(--cream); color: var(--ink); font-size: 16px; }
.magnet-form input[aria-invalid="true"] { border-color: #E39A8E; box-shadow: 0 0 0 2px #E39A8E; }
.magnet-form .btn { min-height: 50px; }
.magnet-msg { margin-top: 12px; min-height: 1.4em; font-size: 15px; color: var(--gold-lt); }
.magnet-msg.err { color: #F3B3A8; }
.checklist .fine { margin-top: 6px; }

/* ---------- Footer ---------- */
footer { background: var(--ink); color: var(--on-dark-2); padding: clamp(64px, 7vw, 96px) 0 40px; font-size: 15px; }
footer .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; }
footer .brand { color: var(--on-dark); }
footer .brand small { color: var(--on-dark-2); }
footer h4 { font: 600 12px/1 var(--text); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-lt); margin-bottom: 18px; }
footer ul li + li { margin-top: 10px; }
footer a { color: var(--on-dark); text-decoration: none; transition: color .2s; }
footer a:hover { color: var(--gold-lt); }
footer address { line-height: 1.75; }
footer .socials { display: flex; gap: 10px; margin-top: 20px; }
footer .socials a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--rule-dark); border-radius: 50%; font-size: 19px; transition: border-color .2s, color .2s; }
footer .socials a:hover { border-color: var(--gold-lt); }
footer .legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--rule-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-size: 13.5px; }

/* ---------- Mobile sticky CTA (app.js toggles .show) ---------- */
.sticky-cta { display: none; }

/* =====================================================================
   INNER PAGES
   ===================================================================== */
.crumb { font-size: 14px; color: var(--ink-3); margin-bottom: 26px; }
.crumb a { color: var(--ink-2); text-decoration: none; border-bottom: 1px solid var(--rule-strong); }
.crumb a:hover { color: var(--ink); border-color: var(--gold); }

/* Service hero: asymmetric, tall plate on the right */
.svc-hero { padding: clamp(48px, 6vw, 88px) 0 clamp(72px, 8vw, 112px); }
.svc-hero .grid { display: grid; grid-template-columns: minmax(0, 6.2fr) minmax(0, 5fr); gap: 48px 80px; align-items: end; }
.svc-hero h1 { font-size: clamp(46px, 5.6vw, 88px); line-height: .98; }
.svc-hero .lead { margin-top: 26px; }
.page-actions { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 30px; }
.facts { margin-top: clamp(40px, 4vw, 56px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule-strong); }
.facts div { padding: 18px 20px 0 0; }
.facts div + div { padding-left: 20px; border-left: 1px solid var(--rule); }
.facts b { display: block; font: 600 clamp(24px, 2vw, 30px)/1.1 var(--display); }
.facts span { display: block; margin-top: 6px; font-size: 14.5px; color: var(--ink-3); line-height: 1.4; }
.svc-hero .plate-fig .ph { aspect-ratio: 4 / 5; }

/* Statement list (What you get) */
.statements { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px 80px; align-items: start; }
.statements .side { position: sticky; top: 112px; }
.statements .side p { margin-top: 16px; color: var(--ink-2); }
.st-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
.st-list li { padding: 24px 0 28px; border-top: 1px solid var(--rule-strong); }
.st-list h3 { font-size: clamp(25px, 2vw, 30px); }
.st-list p { margin-top: 8px; color: var(--ink-2); font-size: 16px; }

/* Real-result strip: full-bleed photo with type on a scrim */
.real-strip { position: relative; color: var(--on-dark); overflow: hidden; isolation: isolate; background: #1a140f; padding-block: clamp(80px, 9vw, 128px); }
.real-strip .bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.real-strip .bg img { position: absolute; left: 0; top: -40px; width: 100%; height: calc(100% + 80px); object-fit: cover; object-position: center 40%; filter: var(--grade) brightness(.9); }
.real-strip::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(16, 12, 9, .9) 0%, rgba(16, 12, 9, .7) 50%, rgba(16, 12, 9, .3) 100%); }
.real-strip .inner { max-width: 760px; }
.real-strip .num { font: 600 clamp(60px, 7.4vw, 120px)/.92 var(--display); color: var(--gold-lt); letter-spacing: -.015em; }
.real-strip .num small { display: block; font-size: .36em; color: var(--on-dark); letter-spacing: 0; margin-top: 10px; }
.real-strip p { margin-top: 22px; font-size: 18px; color: #E6DED1; max-width: 36em; }
.real-strip .link { display: inline-block; margin-top: 22px; color: var(--on-dark); }


/* Ruled example index with solid Before / After */
.ex-index > li { display: grid; grid-template-columns: minmax(0, 3.4fr) minmax(0, 7fr) minmax(0, 1.8fr); gap: 20px 32px; padding: 32px 0; border-top: 1px solid var(--rule-strong); align-items: start; }
.ex-index > li:last-child { border-bottom: 1px solid var(--rule-strong); }
.ex-index .who { font-weight: 600; font-size: 14px; color: var(--gold-dk); margin-bottom: 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.ex-index h3 { font-size: clamp(25px, 2vw, 30px); }
.ex-index .desc { margin-top: 8px; font-size: 15.5px; color: var(--ink-2); }
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.ba > div { padding: 18px 20px 20px; font-size: 15.5px; line-height: 1.5; }
.ba b { display: block; font: 600 12.5px/1 var(--text); letter-spacing: .04em; margin-bottom: 8px; }
.ba .before { background: var(--stone-solid); color: var(--ink); border-radius: var(--r-s) 0 0 var(--r-s); }
.ba .after { background: var(--blue); color: #fff; border-radius: 0 var(--r-s) var(--r-s) 0; }
.ba .after b { color: var(--gold-lt); }
.uses { margin-top: 12px; font-size: 14.5px; color: var(--ink-3); }
.uses a { color: var(--ink); font-weight: 500; text-underline-offset: 4px; text-decoration-color: var(--gold); }
.uses a:hover { text-decoration-color: var(--ink); }
.ex-index .more { justify-self: end; align-self: center; font-size: 15px; }
.ex-note { margin-top: 24px; }

/* CTA band after examples (ink set-piece: heading left, actions right) */
.cta-band { padding-block: var(--section-tight); }
.cta-band .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s5) clamp(32px, 5vw, 96px); align-items: end; }
.cta-band h2 { font-size: clamp(34px, 3.8vw, 60px); line-height: 1; }
.cta-band p { margin-top: 14px; max-width: 40em; color: var(--on-dark-2); }
.cta-band .acts { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s3); }
.cta-band .acts .fine a { color: var(--on-dark); }

/* Getting started / price rows */
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 80px; }
.two-col h3 { font-size: clamp(27px, 2.2vw, 34px); margin-bottom: 18px; }
.rows li { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-top: 1px solid var(--rule); font-size: 16px; color: var(--ink-2); }
.rows li:last-child { border-bottom: 1px solid var(--rule); }
.rows li b { color: var(--ink); text-align: right; }
.plain li { padding: 13px 0; border-top: 1px solid var(--rule); color: var(--ink-2); }
.plain li:last-child { border-bottom: 1px solid var(--rule); }
.two-col .fine, .two-col .tools-line { margin-top: 18px; }
.tools-line { font-size: 15px; color: var(--ink-2); }
.tools-line b { color: var(--ink); }
.two-col .btn { margin-top: 26px; }

/* Related links */
.related li a { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) auto; gap: 8px 32px; align-items: baseline; padding: 24px 0; border-top: 1px solid var(--rule-strong); text-decoration: none; color: var(--ink); transition: padding-left .4s var(--ease); }
.related li:last-child a { border-bottom: 1px solid var(--rule-strong); }
.related b { font: 600 clamp(23px, 1.9vw, 28px)/1.15 var(--display); }
.related span { color: var(--ink-2); font-size: 15.5px; }
.related i { font-size: 20px; color: var(--gold-dk); transition: transform .3s var(--ease); }
@media (hover: hover) { .related li a:hover i { transform: translateX(4px); } .related li a:hover b { color: var(--gold-dk); } }

/* Law hero: centred classical moment over a wide plate */
.law-hero { padding: clamp(48px, 6vw, 88px) 0 clamp(64px, 7vw, 104px); text-align: center; }
.law-hero h1 { font-size: clamp(44px, 5.6vw, 88px); line-height: .98; max-width: 13em; margin-inline: auto; }
.law-hero .lead { margin: 26px auto 0; }
.law-hero .page-actions { justify-content: center; }
.law-hero .facts { max-width: 880px; margin-inline: auto; text-align: left; }
.law-hero .plate-fig { margin-top: clamp(56px, 6vw, 88px); }
.law-hero .plate-fig .ph { aspect-ratio: 21 / 8; }
.law-hero .plate-fig figcaption { text-align: left; }

/* Pains as a ruled typographic list */
.pain-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 48px; }
.pain-list li { padding: 24px 0 28px; border-top: 1px solid var(--rule-strong); }
.pain-list h3 { font-size: clamp(24px, 1.9vw, 28px); }
.pain-list p { margin-top: 8px; color: var(--ink-2); font-size: 15.5px; }


.notes-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 80px; }
.notes-two h3 { font-size: clamp(27px, 2.2vw, 34px); margin-bottom: 16px; }
.notes-two .plain { margin-bottom: 18px; }
.notes-two p { color: var(--ink-2); }
.notes-two .pull { font: 600 clamp(26px, 2.2vw, 34px)/1.15 var(--display); color: var(--ink); margin-bottom: 18px; }

/* ---------- Responsive (page-level; components carry their own breakpoints above) ---------- */
@media (max-width: 1100px) {
  .nav ul { gap: 22px; }
}

@media (max-width: 960px) {
  .head.split, .fits-top, .faq, .statements, .place-row, .svc-hero .grid, .two-col, .notes-two, .cta-band .wrap { grid-template-columns: 1fr; }
  .faq-side, .statements .side { position: static; }
  .faq-photo { display: none; }
  .rule-head .h-main, .how-photo { grid-column: 1 / -1; }
  .how-photo { margin-top: var(--s2); }
  .place-map { justify-self: start; max-width: 380px; }
  .ind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  footer .cols { grid-template-columns: 1fr 1fr; }
  .ex-index > li { grid-template-columns: 1fr; }
  .ex-index .more { justify-self: start; }
  .pain-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-hero .plate-fig .ph { aspect-ratio: 16 / 10; }
}

@media (max-width: 900px) {
  .nav ul { display: none; }
  .nav .wrap { height: 64px; gap: 10px; }
  .nav-toggle { display: inline-flex; }
  .nav.menu-open, .has-hero .nav.menu-open { background: var(--cream); border-bottom-color: var(--rule); }
  .has-hero .nav.menu-open .brand b, .has-hero .nav.menu-open ul a { color: var(--ink); }
  .has-hero .nav.menu-open .brand small { color: var(--ink-3); }
  .nav.menu-open ul { display: flex; flex-direction: column; gap: 0; position: absolute; left: 0; right: 0; top: 100%; padding: 8px 16px 20px; background: var(--cream); border-bottom: 1px solid var(--rule); box-shadow: 0 18px 30px -18px rgba(14, 17, 23, .35); }
  .nav.menu-open ul a { padding: 14px 0; font-size: 17px; border-top: 1px solid var(--rule); }
  .nav.menu-open ul li:first-child a { border-top: 0; }
  .nav.menu-open ul a::after { display: none; }
  .nav.menu-open ul a[aria-current="page"] { color: var(--gold-dk); }
  .brand small { white-space: nowrap; }
}
@media (max-width: 520px) {
  /* Too narrow for brand + Menu + CTA: the CTA moves to the bottom of the menu panel. */
  .nav .nav-cta { display: none; }
  .nav.menu-open .nav-menu-cta { display: block; margin-top: 14px; }
  .nav.menu-open .nav-menu-cta a.btn { display: flex; align-items: center; gap: 8px; width: 100%; padding: 0 20px; min-height: 48px; font-size: 15px; border-top: 0; background: var(--gold); color: var(--ink); justify-content: center; }
  .nav.menu-open .nav-menu-cta a.btn:hover { background: var(--gold-lt); }
  .nav .btn { min-height: 40px; padding: 0 16px; font-size: 14px; white-space: nowrap; }
  .hero-meta { display: none; }
  .hero-full .wrap { grid-template-columns: 1fr; }
  .sticky-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--cream); border-top: 1px solid var(--rule); transform: translateY(110%); transition: transform .4s var(--ease); }
  .sticky-cta.show { transform: none; }
  .sticky-cta .btn { width: 100%; }
  .v-label { bottom: 10px; left: 10px; font-size: 11px; padding: 7px 9px; transition: bottom .4s var(--ease); }
  .sticky-cta.show ~ .v-label { bottom: calc(78px + env(safe-area-inset-bottom, 0px)); }
}

@media (max-width: 700px) {
  body { font-size: 16.5px; }
  .ind-grid { gap: 32px 16px; }
  .ind h3 { font-size: 22px; margin-top: 20px; }
  .ind p { font-size: 14px; }
  .ind .ph { outline-offset: 4px; }
  .magnet-form { grid-template-columns: 1fr; }
  footer .cols { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .facts div, .facts div + div { padding: 14px 0; border-left: 0; border-bottom: 1px solid var(--rule); }
  .st-list, .pain-list { grid-template-columns: 1fr; }
  .ba { grid-template-columns: 1fr; }
  .ba .before { border-radius: var(--r-s) var(--r-s) 0 0; }
  .ba .after { border-radius: 0 0 var(--r-s) var(--r-s); }
  .related li a { grid-template-columns: 1fr auto; }
  .related li a span { grid-column: 1; }
  .related li a i { grid-row: 1; grid-column: 2; }
  .law-hero { text-align: left; }
  .law-hero h1, .law-hero .lead { margin-inline: 0; }
  .law-hero .page-actions { justify-content: flex-start; }
  .law-hero .plate-fig .ph { aspect-ratio: 4 / 3; }
}

@media (max-width: 700px) {
  .hero-scrim { background:
    linear-gradient(180deg, rgba(14, 17, 23, .62) 0%, rgba(14, 17, 23, .12) 16%, rgba(20, 14, 10, .62) 28%, rgba(20, 14, 10, .86) 44%, rgba(20, 14, 10, .94) 70%, rgba(20, 14, 10, .96) 100%); }
}

@media (max-width: 420px) {
  .hero-full .wrap { padding-top: 84px; padding-bottom: 50px; }
  .hero-copy h1 { font-size: 45px; }
  .hero-copy .sub { margin-top: 16px; font-size: 16px; line-height: 1.5; }
  .hero-actions { margin-top: 22px; gap: 12px 22px; }
  .hero-note { margin-top: 12px; font-size: 13.5px; line-height: 1.45; }
  .hero-proof { margin-top: 18px; padding-top: 14px; font-size: 15px; }
}

/* ---------- View transitions + reduced motion ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out 180ms ease both; }
::view-transition-new(root) { animation: vt-in 420ms var(--ease) 40ms both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(8px); } }


/* =====================================================================
   FUNNEL (r5) · hero paths, trust strip, case study, one-person firm,
   video slot, compact services, audit deliverable, risk band, dual final CTA
   ===================================================================== */

/* Secondary button on dark grounds: a quiet outline beside the solid primary */
.btn-line { background: transparent; color: var(--on-dark); border-color: rgba(244, 239, 230, .55); }
.btn-line:hover { border-color: var(--gold-lt); color: var(--gold-lt); }
.btn-line:active { border-color: var(--on-dark); }
/* Cream solid button on brown/ink (second path in the final CTA) */
.btn-cream { background: var(--cream); color: var(--ink); }
.btn-cream:hover { background: var(--stone); }

/* Hero: founder line under the two paths */
.hero-founder { margin-top: 20px; display: flex; align-items: center; gap: 12px; max-width: 46em; font-size: 14.5px; line-height: 1.4; color: var(--on-dark-2); }
.hero-founder img { flex: none; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; filter: sepia(.2); box-shadow: 0 0 0 1px var(--gold-lt); }
.hero-founder b { color: var(--on-dark); font-weight: 600; }
.hero-copy .hero-proof { margin-top: 22px; }

/* Trust strip: four facts on one slim stone band */
.trust-strip { background: var(--stone); color: var(--ink); border-bottom: 1px solid var(--rule); }
.trust-strip ul { display: grid; grid-template-columns: repeat(4, minmax(0, auto)); justify-content: space-between; gap: var(--s3) var(--s5); padding-block: 20px; }
.trust-strip li { display: flex; align-items: center; gap: 10px; font: 600 14.5px/1.35 var(--text); color: var(--ink-2); }
.trust-strip i { flex: none; font-size: 22px; color: var(--gold-dk); }
@media (max-width: 1023px) { .trust-strip ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .trust-strip ul { gap: 12px 16px; padding-block: 16px; } .trust-strip li { font-size: 13.5px; align-items: flex-start; } .trust-strip i { font-size: 19px; } }

/* Proof first: problem → what we built → result, above the belt */
.case-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); max-width: 1080px; margin: 0 auto var(--s6); }
.case-steps li { padding-top: var(--s3); border-top: 1px solid var(--rule-dark-2); }
.cs-k { display: block; margin-bottom: 8px; font: 600 14px/1.3 var(--text); color: var(--gold-lt); }
.case-steps p { font-size: 16px; line-height: 1.55; color: var(--on-dark-2); }
.case-steps b { color: var(--on-dark); font-weight: 600; }
.cv-tabs-label { align-self: center; padding: 0 4px 0 14px; font: 500 13.5px/1.2 var(--text); color: var(--ink-3); }
@media (max-width: 760px) {
  .case-steps { grid-template-columns: 1fr; gap: var(--s3); }
  .cv-tabs-label { flex-basis: 100%; padding: 8px 10px 2px; }
}

/* Why a one-person firm: promises beside the explainer video slot */
.why-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s6) clamp(40px, 5vw, 88px); align-items: center; margin-top: clamp(48px, 5vw, 72px); }
.promises li { position: relative; padding: 14px 0 14px 22px; border-top: 1px solid var(--rule-strong); font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.promises li:last-child { border-bottom: 1px solid var(--rule-strong); }
.promises li::before { content: ""; position: absolute; left: 0; top: 1.3em; width: 8px; height: 8px; background: var(--gold); }
.promises b { color: var(--ink); font-weight: 600; }
.video-slot { position: relative; margin: 0; }
.vs-frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink); outline: 1px solid var(--rule-strong); outline-offset: 7px; box-shadow: var(--sh-hero); }
.vs-frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; filter: var(--grade); }
.vs-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 17, 23, .92) 0%, rgba(14, 17, 23, .7) 38%, rgba(14, 17, 23, .1) 72%), linear-gradient(0deg, rgba(14, 17, 23, .55) 0%, rgba(14, 17, 23, 0) 45%); pointer-events: none; }
.vs-play { position: absolute; z-index: 1; left: clamp(24px, 3.4vw, 44px); top: 50%; transform: translateY(-82%); width: clamp(56px, 5.4vw, 76px); aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: var(--ink); font-size: clamp(22px, 2vw, 30px); box-shadow: 0 0 0 8px rgba(182, 143, 64, .22); }
.vs-play svg { margin-left: 3px; }
.vs-title { position: absolute; z-index: 1; left: clamp(24px, 3.4vw, 44px); bottom: clamp(20px, 3vw, 40px); max-width: 15em; display: grid; gap: 6px; color: var(--on-dark); }
.vs-title b { font: 600 clamp(22px, 2.1vw, 30px)/1.12 var(--display); }
.vs-title span { font-size: 14px; color: var(--on-dark-2); }
/* Mockup annotation in the version-label style: reads as a note on the mockup, not as site copy */
.mock-note { position: absolute; z-index: 2; top: -14px; right: 18px; margin: 0; padding: 8px 11px; border-radius: var(--r-s); background: var(--ink); color: var(--on-dark); font: 600 11.5px/1 var(--text); letter-spacing: .02em; box-shadow: 0 0 0 1px rgba(244, 239, 230, .14); }
.mock-note b { color: var(--gold-lt); font-weight: 600; }
@media (max-width: 960px) { .why-row { grid-template-columns: 1fr; } .video-slot { order: -1; } }
@media (max-width: 520px) {
  .vs-play { top: 16px; transform: none; }
  .vs-title { bottom: 16px; }
  .vs-title b { font-size: 19px; }
}

/* What we build, compact: three columns, one line per service */
.svc-compact { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5) clamp(32px, 4vw, 64px); }
.svc-compact .svc-group, .svc-compact .svc-group:last-child { grid-template-columns: 1fr; gap: var(--s4); padding: var(--s4) 0 0; border-bottom: 0; }
.svc-compact .svc-group > h3 { font-size: clamp(24px, 1.9vw, 28px); max-width: none; }
.svc-compact .svc-group { align-content: start; }
.svc-compact .svc-items { grid-template-columns: 1fr; gap: var(--s4); align-content: start; }
.svc-compact .svc-items a { grid-template-columns: 48px minmax(0, 1fr); gap: 14px; }
.svc-compact .svc-ill { width: 48px; height: 48px; }
.svc-compact .what { font-size: 14.5px; }
@media (max-width: 1023px) { .svc-compact { grid-template-columns: 1fr; gap: 0; } .svc-compact .svc-group { padding-bottom: var(--s5); } }

/* What you get from the audit: the plan preview beside the deliverables */
.get-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--s6) clamp(48px, 6vw, 104px); align-items: center; margin-bottom: clamp(64px, 7vw, 112px); }
.plan-stack { position: relative; display: block; padding: 0 0 18% 0; color: var(--on-dark-2); text-decoration: none; }
.plan-stack .pg { display: block; height: auto; border-radius: 4px; box-shadow: 0 2px 4px rgba(0, 0, 0, .25), 0 30px 60px -24px rgba(0, 0, 0, .75); transition: transform .5s var(--ease); }
.plan-stack .pg-back { width: 82%; transform: rotate(-2.5deg); }
.plan-stack .pg-front { position: absolute; right: 0; bottom: 7%; width: 80%; transform: rotate(1.5deg); }
.plan-tag { position: absolute; left: 0; bottom: -6px; display: flex; align-items: center; gap: 10px; font-size: 13.5px; }
@media (hover: hover) { .plan-stack:hover .pg-front { transform: rotate(1.5deg) translateY(-6px); } .plan-stack:hover .pg-back { transform: rotate(-3.5deg); } }
.plan-stack:focus-visible { outline-offset: 10px; }
.get-copy .lead { margin-top: var(--s4); }
.g-ink .get-list li { color: var(--on-dark); border-top-color: var(--rule-dark); }
.get-list { margin: var(--s5) 0 var(--s4); }
.get-links { display: flex; flex-wrap: wrap; gap: 12px 28px; }
@media (max-width: 960px) { .get-grid { grid-template-columns: 1fr; } .plan-stack { max-width: 560px; } }

/* Before you pay: one solid gold band, black text */
.risk-band { background: var(--gold); color: var(--ink); }
.risk-band .wrap { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: var(--s3) var(--s6); padding-block: 26px; }
.risk-band h2 { font-size: clamp(26px, 2.2vw, 32px); white-space: nowrap; }
.risk-band ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s3) var(--s4); }
.risk-band li { padding-left: var(--s3); border-left: 1px solid rgba(14, 17, 23, .35); font: 600 14.5px/1.4 var(--text); }
@media (max-width: 1100px) { .risk-band .wrap { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .risk-band ul { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .risk-band ul { grid-template-columns: 1fr; } }

/* Final CTA: two paths side by side, hairline between */
.paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 1000px; margin: 44px auto 0; text-align: left; }
.path { display: flex; flex-direction: column; align-items: flex-start; padding: 8px clamp(24px, 4vw, 56px); }
.path + .path { border-left: 1px solid var(--rule-dark-2); }
.path-k { font: 600 14px/1.3 var(--text); color: var(--gold-lt); }
.path h3 { margin-top: 8px; font-size: clamp(26px, 2.3vw, 34px); line-height: 1.1; color: var(--on-dark); }
.path > p:not(.path-k) { margin: 12px 0 24px; font-size: 15.5px; line-height: 1.55; color: var(--on-dark-2); }
.path .btn { margin-top: auto; }
.final-cta .direct .link { color: var(--on-dark); }
@media (max-width: 760px) {
  .paths { grid-template-columns: 1fr; }
  .path { padding: 24px 0; }
  .path + .path { border-left: 0; border-top: 1px solid var(--rule-dark-2); }
  .path .btn { width: 100%; }
}

/* book.html: the free-call path under the price card */
.not-ready { margin-top: var(--s3); font-size: 14px; text-align: center; color: var(--ink-3); }
.not-ready .link { color: var(--ink); text-underline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  html.js [data-v], html.js [data-dg] *, html.js [data-dg] { opacity: 1 !important; transform: none !important; }
  html.js [data-dg] .c1-spokes path { stroke-dashoffset: 0 !important; }
  /* Conveyor: static, every station lit, no travelling token. */
  .belt-token { display: none; }
}

/* Law examples: two columns (no per-row link) */
.ex-index.law > li { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
@media (max-width: 960px) { .ex-index.law > li { grid-template-columns: 1fr; } }

/* Lining figures for every display number (Cormorant defaults to old-style) */
.price, .real-strip .num, .facts b { font-variant-numeric: lining-nums; }
.path h3, .final-cta h2 { font-variant-numeric: lining-nums; }
/* Funnel: mobile density (the homepage should not grow on phones) */
@media (max-width: 760px) {
  .cv-tabs-label { display: none; }
  #why .founder-card .pic { min-height: 280px; }
  #why .founder-card .pic img { object-position: center 18%; }
  .svc-compact .what { display: none; }
  .svc-compact .svc-items { gap: var(--s3); }
  .svc-compact .svc-items a { align-items: center; }
  .svc-compact .svc-ill { width: 44px; height: 44px; }
  .svc-compact .svc-items a { grid-template-columns: 44px minmax(0, 1fr); }
  .teaser-band { padding-block: 40px; }
  .case-steps p { font-size: 15px; }
  .case-steps li { padding-top: 12px; }
  .get-grid { margin-bottom: var(--s7); }
  .final-cta.sec { padding-block: 72px; }
  .paths { margin-top: 28px; }
  .path { padding: 20px 0; }
}
@media (max-width: 560px) {
  #tools .logo-wall { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  #tools .logo-wall li { min-height: 68px; padding: 10px 2px; }
  #tools .logo-wall img { width: 22px; height: 22px; }
  #tools .logo-wall span { font-size: 10.5px; }
  .plan-stack { padding-bottom: 14%; }
  .a1-body p { font-size: 15px; }
}
.vs-title { max-width: 19em; }
.vs-by { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.vs-by img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; filter: sepia(.2); box-shadow: 0 0 0 1px var(--gold-lt); }

/* =====================================================================
   PHONE LAYOUT (r9) · one clear column, thumb-sized targets, less scrolling.
   Desktop (901px+) is untouched; everything here sits behind max-width queries.
   ===================================================================== */
.tools-more { display: none; }
@media (max-width: 760px) {
  :root { --section: 64px; --section-tight: 48px; }

  /* Hero: kicker readable over the photo; the two paths as equal full-width buttons. */
  .hero-copy .kicker { text-shadow: 0 1px 12px rgba(14, 17, 23, .85); }
  .hero-actions { display: grid; grid-template-columns: 1fr; gap: 12px; }
  .hero-actions .btn { width: 100%; justify-content: center; min-height: 52px; }
  .hero-proof .link { display: inline-block; margin-top: 6px; padding-block: 4px; color: var(--gold-lt); }

  /* Firm hub: the "Your firm" label reads as a heading row, not a stray dark box. */
  .c1-core { background: transparent; color: var(--ink); outline: 0; padding: 0 0 var(--s3); border-radius: 0; border-bottom: 1px solid var(--rule-strong); }
  .c1-core p { border-top: 0; padding-top: 0; color: var(--ink-2); font-size: 15px; }
  .c1-tile[data-side] .c1-txt p { font-size: 14.5px; }

  /* Industries: one column of horizontal cards (small photo left, text right). */
  .ind-grid { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--rule); }
  .ind { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 0 var(--s3); align-items: start; padding: var(--s3) 0; border-bottom: 1px solid var(--rule); }
  .ind .ph { grid-row: 1 / 4; aspect-ratio: 1; outline: 0; border-radius: var(--r-s); overflow: hidden; }
  .ind h3 { margin-top: 0; font-size: 23px; }
  .ind p { margin-top: 4px; font-size: 15px; }
  .ind .go { margin-top: 6px; padding-block: 6px; font-size: 15px; }
  .ind-foot { margin-top: var(--s5); }

  /* Founder section: smaller portrait so the quote shows on the first screen of the card. */
  #why .founder-card .pic { min-height: 0; aspect-ratio: 4 / 3; }

  /* FAQ: comfortable rows to tap. */
  .faq summary { min-height: 52px; }

  /* Footer: two short link columns side by side, thumb-sized rows. */
  footer { padding-top: 56px; }
  footer .cols { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  footer .cols > div:first-child, footer .cols > div:last-child { grid-column: 1 / -1; }
  footer ul li + li { margin-top: 0; }
  footer ul a { display: inline-block; padding-block: 7px; }
  footer address a { display: inline-block; padding-block: 6px; }
  footer .legal { margin-top: 32px; }
  footer .legal a { display: inline-block; padding-block: 6px; }
}
@media (max-width: 560px) {
  /* Tools: 4 across with readable labels; the first 12 show, the rest behind one button. */
  #tools .logo-wall { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  #tools .logo-wall li { min-height: 76px; padding: 10px 4px; }
  #tools .logo-wall img { width: 24px; height: 24px; }
  #tools .logo-wall span { font-size: 12px; }
  html.js #tools .logo-wall:not(.show-all) li:nth-child(n+13) { display: none; }
  html.js .tools-more { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 48px; margin-top: var(--s3); border: 1px solid var(--rule-strong); border-radius: var(--r-s); background: var(--cream); color: var(--ink); font: 600 15px/1 var(--text); cursor: pointer; }
  .tools-more:hover { border-color: var(--ink); }
  .tools-more:active { transform: translateY(1px); }
}
@media (max-width: 400px) {
  .ind { grid-template-columns: 88px minmax(0, 1fr); }
}
@media (max-width: 340px) {
  footer .cols { grid-template-columns: 1fr; }
}
/* Case study page: the three-step summary sits between the hero copy and the belt. */
.work-steps { margin-top: clamp(40px, 5vw, 72px); }
@media (max-width: 760px) { .work-steps { margin-top: var(--s6); margin-bottom: var(--s5); } }
@media (max-width: 760px) {
  /* Breadcrumb links: a taller hit area without moving the text. */
  .crumb a { display: inline-block; padding-block: 7px; margin-block: -7px; }
}
@media (max-width: 760px) {
  /* Timeline: smaller nodes and a narrower gutter so the step text gets the width. */
  .a1 { padding-left: 60px; gap: var(--s4); }
  .a1-node { left: -60px; width: 44px; height: 44px; font-size: 22px; box-shadow: 0 0 0 6px var(--a1-ring); }
  .a1-track { left: 22px; top: 22px; }
  .a1-body h3 { font-size: 30px; }
  .a1-title { margin-top: 56px; }
  /* Small standalone links: a thumb-sized hit area. */
  .page-actions .link, .real-strip .link, .cv-foot .link, .get-links .link, .svc-foot .link, .ind-foot .link { display: inline-block; padding-block: 8px; }
}
@media (max-width: 699px) {
  /* Vertical belt: tighter stations so the whole belt fits on about one screen. */
  .conveyor { --disc: 46px; }
  .st-disc { font-size: 22px; }
  .belt { row-gap: var(--s3); padding-left: 30px; }
  .belt-track { left: calc(30px + var(--disc) / 2 - var(--track) / 2); }
  .st-label { font-size: 18px; }
  .cv-legend { font-size: 12.5px; gap: var(--s1) var(--s3); }
}
@media (max-width: 699px) {
  /* Three tabs sit on one row instead of 2 + an orphan. */
  .cv-tabs:has([role="tab"]:nth-of-type(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cv-tabs:has([role="tab"]:nth-of-type(3):last-child) [role="tab"] { font-size: 13.5px; padding: 0 4px; }
}
@media (max-width: 760px) {
  .facts div, .facts div + div { padding: 10px 0; }
  .ba > div { padding: 12px 14px; }
}

/* Homepage "why" row without the video: promises sit alone in one readable column. */
.why-row.no-video { grid-template-columns: minmax(0, 1fr); }
.why-row.no-video .promises { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(40px, 5vw, 88px); }
.why-row.no-video .promises li:last-child { grid-column: 1 / -1; }
@media (max-width: 760px) { .why-row.no-video .promises { grid-template-columns: minmax(0, 1fr); } }
