/* ==========================================================================
   Firm Ground Co. | styles
   Palette: black, bone white, gold. Type: Fraunces / Archivo / IBM Plex Mono
   ========================================================================== */

:root {
  /* Color tokens */
  --ink-0: #0B0A09;
  --ink-1: #110F0D;
  --ink-2: #16130F;
  --ink-3: #221E19;
  --bone: #F2EEE6;
  --bone-2: #E7E1D5;
  --gold: #B8895A;
  --gold-hi: #D3A877;
  --gold-ink: #7A522C;

  --on-dark: var(--bone);
  --on-dark-muted: #A89F92;
  --on-bone: #15120F;
  --on-bone-muted: #5C554C;
  --line-dark: rgba(242, 238, 230, .12);
  --line-dark-strong: rgba(242, 238, 230, .22);
  --line-bone: rgba(21, 18, 15, .14);
  --error: #E58A6E;
  --error-bone: #A33A1F;
  --success: #9CC39A;

  /* Type */
  --f-display: "Fraunces", Georgia, "Times New Roman", serif;
  --f-sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  /* Space (8pt rhythm) */
  --s-1: 8px; --s-2: 16px; --s-3: 24px; --s-4: 32px; --s-5: 48px; --s-6: 64px; --s-7: 96px; --s-8: 128px;
  --gutter: clamp(20px, 5vw, 64px);
  --maxw: 1280px;
  --section-y: clamp(96px, 13vw, 184px);
  --header-h: 76px;

  /* Motion */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --t-fast: 180ms;
  --t-med: 420ms;
  --t-slow: 900ms;

  /* Layers */
  --z-bg: 0; --z-content: 10; --z-header: 100; --z-menu: 90; --z-skip: 1000;

  color-scheme: dark;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--ink-0);
  color: var(--on-dark);
  font-family: var(--f-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
[hidden] { display: none !important; }
::selection { background: var(--gold); color: var(--ink-0); }

:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: 2px; }
.section--bone :focus-visible { outline-color: var(--gold-ink); }

.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; }

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: var(--z-skip);
  background: var(--gold); color: var(--ink-0); padding: 12px 18px; font-weight: 600; text-decoration: none; border-radius: 2px;
  transition: top var(--t-fast) var(--ease-out);
}
.skip-link:focus { top: 16px; }

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

.icon { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Grain overlay ---------- */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 1;
  opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Typography primitives ---------- */
.eyebrow, .label {
  font-family: var(--f-mono); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-hi);
}
.label { display: flex; align-items: center; gap: 14px; margin-bottom: var(--s-4); }
.label span { color: var(--on-dark-muted); }
.label span::after { content: ""; display: inline-block; width: 36px; height: 1px; background: currentColor; vertical-align: middle; margin-left: 14px; opacity: .6; }
.label--muted { color: var(--on-dark-muted); margin-bottom: var(--s-2); }

.display {
  font-family: var(--f-display); font-weight: 350; font-variation-settings: "opsz" 144;
  font-size: clamp(2.3rem, 5.4vw, 5rem); line-height: 1.04; letter-spacing: -.02em;
  max-width: 17ch; text-wrap: balance;
}
.display em, .hero__title em { font-style: italic; color: var(--gold-hi); font-weight: 300; }

.lead { font-size: clamp(1.08rem, 1.4vw, 1.25rem); line-height: 1.6; color: var(--on-dark-muted); max-width: 58ch; }
.section-subhead {
  font-family: var(--f-mono); font-size: .8rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  margin-bottom: var(--s-3);
}
.prose p + p { margin-top: 1.1em; }

.wordmark {
  font-family: var(--f-sans); font-variation-settings: "wdth" 125; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; line-height: 1;
}

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 16px; --pad-x: 26px;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 48px; padding: var(--pad-y) var(--pad-x);
  font-family: var(--f-sans); font-weight: 600; font-size: .95rem; letter-spacing: .02em; line-height: 1.2;
  text-decoration: none; border-radius: 2px; border: 1px solid transparent;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color var(--t-med) var(--ease-out), border-color var(--t-med) var(--ease-out), background-color var(--t-med) var(--ease-out), transform var(--t-fast) var(--ease-out);
  touch-action: manipulation;
}
.btn .icon { transition: transform var(--t-med) var(--ease-out); }
.btn:hover .icon[aria-hidden] { transform: translateX(4px); }
.btn:active { transform: scale(.98); }
.btn--sm { --pad-y: 10px; --pad-x: 18px; min-height: 44px; font-size: .88rem; }
.btn--lg { --pad-y: 20px; --pad-x: 34px; font-size: 1.02rem; }

.btn--gold { background: var(--gold); color: var(--ink-0); }
.btn--gold::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--bone);
  transform: translateY(101%); transition: transform var(--t-med) var(--ease-out);
}
.btn--gold:hover::before { transform: translateY(0); }

.btn--ghost { border-color: var(--line-dark-strong); color: var(--on-dark); background: rgba(11, 10, 9, .35); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-hi); }

.btn--outline-dark { border-color: var(--on-bone); color: var(--on-bone); }
.btn--outline-dark:hover { background: var(--on-bone); color: var(--bone); }

.btn--text { padding-inline: 8px; color: var(--on-dark-muted); text-decoration: underline; text-underline-offset: 4px; font-weight: 500; }
.btn--text:hover { color: var(--on-dark); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; color: var(--gold-hi); font-weight: 600; text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 4px; min-height: 44px;
}
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow .icon { transition: transform var(--t-med) var(--ease-out); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: var(--z-header); height: var(--header-h);
  transition: border-color var(--t-med) var(--ease-out);
  border-bottom: 1px solid transparent;
}
/* The blur lives on a pseudo-element: backdrop-filter on the header itself would
   trap the fixed mobile menu inside the 76px bar. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: rgba(11, 10, 9, .92); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  opacity: 0; transition: opacity var(--t-med) var(--ease-out);
}
.site-header.is-scrolled { border-bottom-color: var(--line-dark); }
.site-header.is-scrolled::before { opacity: 1; }
body.menu-open .site-header::before { opacity: 0; }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: var(--s-4); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; min-height: 44px; }
.brand__mark { width: 40px; height: 34px; flex: none; }
.brand__word { font-family: var(--f-sans); font-variation-settings: "wdth" 125; font-weight: 600; font-size: .9rem; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
.brand__co { color: var(--gold); }
.mark-f { fill: var(--bone); }
.mark-g { fill: var(--gold); }

.nav__list { display: flex; gap: clamp(16px, 2.2vw, 34px); }
.nav__list a:not(.btn) {
  position: relative; text-decoration: none; font-size: .9rem; color: var(--on-dark-muted);
  padding-block: 12px; transition: color var(--t-fast) ease;
}
.nav__list a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right; transition: transform var(--t-med) var(--ease-out);
}
.nav__list a:not(.btn):hover, .nav__list a.is-active { color: var(--on-dark); }
.nav__list a:not(.btn):hover::after, .nav__list a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__cta-mobile { display: none; }

.menu-toggle { display: none; align-items: center; gap: 12px; min-height: 44px; padding: 0 4px; font-family: var(--f-mono); font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; }
.menu-toggle__lines { display: grid; gap: 6px; width: 24px; }
.menu-toggle__lines span { height: 1.5px; background: var(--bone); transition: transform var(--t-med) var(--ease-out); }
.menu-toggle[aria-expanded="true"] .menu-toggle__lines span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__lines span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

@media (max-width: 1080px) {
  .header-cta { display: none; }
}
@media (max-width: 900px) {
  .site-header__inner { gap: 12px; }
  .menu-toggle { display: inline-flex; }
  .nav__list {
    position: fixed; inset: 0; z-index: var(--z-menu);
    flex-direction: column; justify-content: center; gap: 4px;
    padding: calc(var(--header-h) + 24px) var(--gutter) 48px;
    background: var(--ink-0);
    opacity: 0; visibility: hidden; transition: opacity var(--t-med) var(--ease-out), visibility 0s linear var(--t-med);
  }
  .nav__list.is-open { opacity: 1; visibility: visible; transition: opacity var(--t-med) var(--ease-out); }
  .nav__list a:not(.btn) { font-family: var(--f-display); font-size: clamp(2rem, 8vw, 3rem); color: var(--on-dark); display: block; padding-block: 8px; }
  .nav__list a:not(.btn)::after { display: none; }
  .nav__cta-mobile { display: block; margin-top: var(--s-4); }
  .nav__alt-item { margin-top: 4px; }
  .nav__list a.nav__alt { font-family: var(--f-sans); font-size: 1rem; color: var(--on-dark-muted); text-decoration: underline; text-underline-offset: 4px; }
  .brand, .menu-toggle { position: relative; z-index: calc(var(--z-menu) + 1); }
  body.menu-open { overflow: hidden; }
}
@media (max-width: 420px) {
  .brand__word { font-size: .78rem; letter-spacing: .12em; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: calc(var(--header-h) + 48px); padding-bottom: clamp(28px, 4vw, 48px);
  overflow: hidden; isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 80% at 50% 0%, #1A1612 0%, var(--ink-0) 60%); }
.hero__ridges { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 45%; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.4s var(--ease-out); }
.has-webgl .hero__canvas { opacity: 1; }
.has-webgl .hero__ridges { opacity: 0; }
.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(11,10,9,.7) 0%, rgba(11,10,9,.2) 50%, rgba(11,10,9,0) 100%),
    linear-gradient(0deg, rgba(11,10,9,.85) 0%, rgba(11,10,9,0) 28%);
}
.hero__content { position: relative; z-index: var(--z-content); padding-bottom: clamp(40px, 7vh, 88px); }
.hero .eyebrow { margin-bottom: var(--s-3); }
.hero__title {
  font-family: var(--f-display); font-weight: 350; font-variation-settings: "opsz" 144;
  font-size: clamp(2.8rem, 7.6vw, 7.25rem); line-height: .98; letter-spacing: -.03em;
  max-width: 13ch; text-wrap: balance;
}
.hero__lede { margin-top: var(--s-4); max-width: 54ch; font-size: clamp(1.05rem, 1.35vw, 1.2rem); color: #CFC8BC; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--s-5); }
.hero__alt { display: inline-flex; align-items: center; min-height: 44px; margin-top: 10px; color: #CFC8BC; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(207, 200, 188, .4); }
.hero__alt:hover { color: var(--gold-hi); text-decoration-color: currentColor; }

.hero__pillars { position: relative; z-index: var(--z-content); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-dark); }
.pillar {
  display: flex; align-items: center; gap: 16px; padding: 22px 0 6px;
  font-family: var(--f-mono); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-muted);
}
.pillar + .pillar { padding-left: clamp(16px, 3vw, 40px); border-left: 1px solid var(--line-dark); }
.pillar strong { display: block; color: var(--on-dark); font-weight: 500; }
.pillar__icon { width: 30px; height: 30px; fill: none; stroke: var(--gold); stroke-width: 1.5; flex: none; }
.pillar__icon--fill { fill: none; }
@media (max-width: 720px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar { padding: 14px 0; }
  .pillar + .pillar { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-dark); }
}

/* ---------- Sections ---------- */
.section { position: relative; padding-block: var(--section-y); z-index: 2; }
.section--dark { background: var(--ink-1); }
.section--ink { background: var(--ink-0); }
.section--bone { background: var(--bone); color: var(--on-bone); color-scheme: light; }
.section--bone .label, .section--bone .eyebrow { color: var(--gold-ink); }
.section--bone .label span { color: var(--on-bone-muted); }

/* ---------- Problem ---------- */
.problem__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 7vw, 120px); margin-top: var(--s-6); align-items: start; }
.questions { margin-top: var(--s-4); border-top: 1px solid var(--line-dark); }
.questions li {
  padding: 18px 0 18px 36px; border-bottom: 1px solid var(--line-dark); position: relative;
  font-family: var(--f-display); font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.35; font-weight: 350;
}
.questions li::before { content: "?"; position: absolute; left: 0; top: 18px; font-family: var(--f-mono); font-size: .9rem; color: var(--gold); }
.pullquote { position: sticky; top: calc(var(--header-h) + 40px); padding-left: clamp(20px, 3vw, 40px); border-left: 1px solid var(--gold); }
.pullquote blockquote {
  font-family: var(--f-display); font-style: italic; font-weight: 300; font-variation-settings: "opsz" 144;
  font-size: clamp(1.8rem, 3.4vw, 3rem); line-height: 1.12; letter-spacing: -.01em; color: var(--on-dark);
}
.pullquote figcaption { margin-top: var(--s-4); color: var(--on-dark-muted); font-size: 1.05rem; }
.pullquote figcaption strong { color: var(--gold-hi); font-weight: 600; }

.symptoms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); margin-top: var(--s-8); }
.symptom { background: var(--ink-1); padding: clamp(24px, 2.6vw, 36px); min-height: 240px; display: flex; flex-direction: column; transition: background-color var(--t-med) var(--ease-out); }
.symptom:hover { background: var(--ink-2); }
.symptom h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.45rem; line-height: 1.15; margin-top: auto; margin-bottom: 10px; padding-top: 14px; border-top: 1px solid var(--gold); align-self: flex-start; }
.symptom p { color: var(--on-dark-muted); font-size: .98rem; }

@media (max-width: 960px) {
  .problem__grid { grid-template-columns: 1fr; }
  .pullquote { position: static; }
  .symptoms { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) { .symptoms { grid-template-columns: 1fr; } .symptom { min-height: 0; } }

/* Case study stats (Stakes section) */
.case__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); margin-top: var(--s-7); }
.case__stats dt { font-family: var(--f-display); font-weight: 300; font-size: clamp(2.6rem, 5vw, 4.4rem); line-height: 1; color: var(--gold-hi); letter-spacing: -.02em; font-variant-numeric: lining-nums tabular-nums; }
.case__stats dd { margin-top: 10px; color: var(--on-dark-muted); font-size: .95rem; max-width: 22ch; }

.case__lesson { display: grid; grid-template-columns: 1fr auto; gap: var(--s-5); align-items: end; margin-top: var(--s-7); padding: clamp(28px, 4vw, 48px); background: var(--ink-2); border: 1px solid var(--line-dark); }
.case__lesson p { font-family: var(--f-display); font-size: clamp(1.2rem, 1.8vw, 1.55rem); line-height: 1.4; font-weight: 350; max-width: 48ch; }

@media (max-width: 960px) {
  .case__stats { grid-template-columns: repeat(2, 1fr); row-gap: var(--s-5); }
  .case__lesson { grid-template-columns: 1fr; }
}

/* ---------- Approach ---------- */
.approach__layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(48px, 8vw, 140px); align-items: start; }
.approach__intro { position: sticky; top: calc(var(--header-h) + 48px); }
.approach__intro .lead { margin-top: var(--s-4); }
.steps { display: grid; gap: 0; }
.step {
  position: relative; padding: clamp(36px, 5vw, 64px) 0; border-top: 1px solid var(--line-dark);
  display: grid; grid-template-columns: auto 1fr; column-gap: 28px; row-gap: 12px;
}
.step:last-child { border-bottom: 1px solid var(--line-dark); }
.step__num { position: absolute; right: 0; top: clamp(20px, 3vw, 36px); font-family: var(--f-display); font-weight: 300; font-size: clamp(4rem, 9vw, 8rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(184, 137, 90, .35); pointer-events: none; }
.step__icon { grid-row: span 2; width: 44px; height: 44px; fill: none; stroke: var(--gold); stroke-width: 1.3; }
.step__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.7rem, 2.8vw, 2.5rem); line-height: 1.1; letter-spacing: -.01em; }
.step p { color: var(--on-dark-muted); max-width: 44ch; position: relative; }

@media (max-width: 960px) {
  .approach__layout { grid-template-columns: 1fr; }
  .approach__intro { position: static; }
}

/* ---------- Services ---------- */
.services__head { display: grid; grid-template-columns: 1.2fr 1fr; column-gap: clamp(40px, 6vw, 96px); align-items: end; }
.services__head .label { grid-column: 1 / -1; }
.services__head .lead { padding-bottom: 10px; }
.offers { margin-top: var(--s-7); border-top: 1px solid var(--line-dark-strong); }
.offer { border-bottom: 1px solid var(--line-dark-strong); transition: background-color var(--t-med) var(--ease-out); }
.offer:hover { background: rgba(242, 238, 230, .02); }
.offer__head { font-weight: inherit; }
.offer__toggle {
  width: 100%; display: grid; grid-template-columns: 72px 1fr auto 44px; align-items: center; gap: 16px;
  padding: clamp(22px, 3vw, 36px) 0; text-align: left; min-height: 64px;
}
.offer__num { font-family: var(--f-mono); font-size: .8rem; color: var(--gold); letter-spacing: .1em; }
.offer__name {
  font-family: var(--f-display); font-weight: 350; font-size: clamp(1.5rem, 3.4vw, 3rem); line-height: 1.08; letter-spacing: -.015em;
  transition: color var(--t-med) var(--ease-out), transform var(--t-med) var(--ease-out);
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px;
}
.offer__toggle:hover .offer__name { color: var(--gold-hi); transform: translateX(6px); }
.offer__tag { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-0); background: var(--gold); padding: 5px 10px; border-radius: 2px; }
.offer__meta { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-muted); white-space: nowrap; }
.offer__icon { width: 44px; height: 44px; padding: 11px; border: 1px solid var(--line-dark-strong); border-radius: 50%; fill: none; stroke: var(--on-dark); stroke-width: 1.5; transition: transform var(--t-med) var(--ease-out), background-color var(--t-med), border-color var(--t-med); }
.offer__toggle[aria-expanded="true"] .offer__icon { transform: rotate(45deg); background: var(--gold); border-color: var(--gold); stroke: var(--ink-0); }

.offer__body-inner {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 5vw, 72px);
  padding: 0 0 clamp(32px, 4vw, 56px) 88px;
}
.offer.is-animating .offer__body-inner { animation: offerIn var(--t-med) var(--ease-out); }
@keyframes offerIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.offer__for { font-size: 1.12rem; color: var(--on-dark); margin-bottom: var(--s-3); max-width: 52ch; }
.checklist li { position: relative; padding: 9px 0 9px 30px; color: var(--on-dark-muted); border-bottom: 1px solid var(--line-dark); font-size: .98rem; }
.checklist li::before {
  content: ""; position: absolute; left: 2px; top: 17px; width: 12px; height: 7px;
  border-left: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(-45deg);
}
.guarantee { align-self: start; padding: clamp(24px, 3vw, 36px); border: 1px solid rgba(184, 137, 90, .45); background: linear-gradient(160deg, rgba(184, 137, 90, .12), rgba(184, 137, 90, .02)); }
.guarantee__label { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-hi); margin-bottom: 14px; }
.guarantee__text { font-family: var(--f-display); font-size: clamp(1.2rem, 1.7vw, 1.45rem); line-height: 1.35; font-weight: 350; }
.guarantee__text strong { font-weight: 500; color: var(--gold-hi); }

.services__foot { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); margin-top: var(--s-7); }
.path__list { display: grid; gap: 0; counter-reset: p; }
.path__list li {
  counter-increment: p; display: grid; grid-template-columns: 40px auto 1fr; align-items: baseline; gap: 10px;
  padding: 14px 0; border-bottom: 1px solid var(--line-dark);
  font-family: var(--f-display); font-size: 1.35rem; font-weight: 400;
}
.path__list li::before { content: "0" counter(p); font-family: var(--f-mono); font-size: .76rem; color: var(--gold); }
.path__list li span { font-family: var(--f-sans); font-size: .95rem; color: var(--on-dark-muted); }
.continuity { padding: clamp(24px, 3vw, 40px); background: var(--ink-2); border: 1px solid var(--line-dark); }
.continuity h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.7rem; margin-bottom: 12px; }
.continuity p:last-child { color: var(--on-dark-muted); }

@media (max-width: 960px) {
  .services__head { grid-template-columns: 1fr; row-gap: var(--s-4); }
  .offer__toggle { grid-template-columns: 40px 1fr 44px; }
  .offer__meta { grid-column: 2; grid-row: 2; }
  .offer__icon { grid-column: 3; grid-row: 1 / span 2; }
  .offer__body-inner { grid-template-columns: 1fr; padding-left: 56px; }
  .services__foot { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .offer__toggle { grid-template-columns: 1fr 44px; }
  .offer__num { grid-column: 1; }
  .offer__name { grid-column: 1; grid-row: 2; }
  .offer__meta { grid-column: 1; grid-row: 3; }
  .offer__icon { grid-column: 2; grid-row: 1 / span 3; }
  .offer__body-inner { padding-left: 0; }
  .path__list li { grid-template-columns: 32px 1fr; }
  .path__list li span { grid-column: 2; }
}

/* ---------- About (bone) ---------- */
.about__opening { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.about__title {
  font-family: var(--f-display); font-weight: 350; font-variation-settings: "opsz" 144;
  font-size: clamp(1.9rem, 3.6vw, 3.3rem); line-height: 1.12; letter-spacing: -.015em; text-wrap: pretty;
}

.portrait { position: relative; aspect-ratio: 4 / 5; background: var(--ink-1); overflow: hidden; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; filter: grayscale(.15) contrast(1.02); }
.portrait__placeholder { display: none; position: absolute; inset: 0; place-items: center; background: radial-gradient(80% 60% at 50% 35%, #231E18, var(--ink-0)); }
.portrait__placeholder svg { width: 38%; height: auto; aspect-ratio: 120 / 100; opacity: .9; }
.portrait.is-empty img { display: none; }
.portrait.is-empty .portrait__placeholder { display: grid; }
.portrait figcaption { position: absolute; left: 0; bottom: 0; padding: 14px 18px; font-family: var(--f-mono); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); background: linear-gradient(0deg, rgba(11,10,9,.85), rgba(11,10,9,0)); width: 100%; padding-top: 32px; }

.story { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(28px, 6vw, 96px); margin-top: var(--s-8); padding-top: var(--s-6); border-top: 1px solid var(--line-bone); }
.story__heading { font-family: var(--f-mono); font-size: .8rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink); }
.story__body { font-size: clamp(1.06rem, 1.3vw, 1.18rem); line-height: 1.7; max-width: 64ch; }
.story__body p + p { margin-top: 1.1em; }
.story__emph { font-family: var(--f-display); font-size: 1.3em; line-height: 1.35; font-weight: 400; }

.record { margin-top: var(--s-8); padding-top: var(--s-6); border-top: 1px solid var(--line-bone); }
.record .section-subhead, .about__pair .section-subhead { color: var(--gold-ink); }
.record__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); }
.record__col li { padding: 12px 0; border-bottom: 1px solid var(--line-bone); font-size: .95rem; line-height: 1.5; color: var(--on-bone-muted); }
@media (max-width: 1080px) { .record__grid { grid-template-columns: repeat(2, 1fr); row-gap: var(--s-5); } }
@media (max-width: 600px) { .record__grid { grid-template-columns: 1fr; } }

.about__pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 96px); margin-top: var(--s-8); padding-top: var(--s-6); border-top: 1px solid var(--line-bone); }
.about__pair .prose { font-size: 1.06rem; line-height: 1.7; color: #2A251F; max-width: 56ch; }

@media (max-width: 960px) {
  .about__opening, .story, .about__pair { grid-template-columns: 1fr; }
  .portrait { max-width: 420px; order: -1; }
}
@media (max-width: 720px) { .portrait { max-width: none; } }

/* ---------- Self-assessment ---------- */
.assessment__head .lead { margin-top: var(--s-4); }
.quiz { margin-top: var(--s-7); counter-reset: q; border-top: 1px solid var(--line-dark-strong); }
.quiz__item { counter-increment: q; }
.quiz__row {
  display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 20px;
  padding: 22px 0; border-bottom: 1px solid var(--line-dark);
  transition: background-color var(--t-med) var(--ease-out);
}
.quiz__row::before { content: counter(q, decimal-leading-zero); font-family: var(--f-mono); font-size: .82rem; color: var(--gold); letter-spacing: .06em; }
.quiz__q { font-family: var(--f-display); font-weight: 350; font-size: clamp(1.1rem, 1.7vw, 1.45rem); line-height: 1.35; }
.quiz__choices { display: flex; gap: 8px; }
.quiz__choice {
  min-height: 44px; padding: 10px 16px; border: 1px solid var(--line-dark-strong); border-radius: 999px;
  font-size: .86rem; font-weight: 500; color: var(--on-dark-muted); white-space: nowrap;
  display: inline-flex; align-items: center; gap: 8px;
  transition: color var(--t-fast), border-color var(--t-fast), background-color var(--t-fast);
}
.quiz__choice:hover { color: var(--on-dark); border-color: var(--on-dark-muted); }
.quiz__choice .icon { width: 14px; height: 14px; display: none; }
.quiz__choice[aria-pressed="true"] .icon { display: block; }
.quiz__choice[data-v="easy"][aria-pressed="true"] { background: var(--bone); border-color: var(--bone); color: var(--ink-0); }
.quiz__choice[data-v="hard"][aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--ink-0); }
.quiz__row.is-hard .quiz__q { color: var(--gold-hi); }

/* Non-JS fallback: plain numbered list */
html:not(.js) .quiz__item { padding: 18px 0; border-bottom: 1px solid var(--line-dark); font-family: var(--f-display); font-size: 1.3rem; }
html:not(.js) .quiz__item::before { content: counter(q, decimal-leading-zero) "  "; font-family: var(--f-mono); font-size: .82rem; color: var(--gold); }

.quiz__result { margin-top: var(--s-6); display: grid; grid-template-columns: 1fr; gap: var(--s-3); }
.quiz__meter { height: 3px; background: var(--line-dark); position: relative; overflow: hidden; }
.quiz__meter span { position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(0); transition: transform var(--t-slow) var(--ease-out); }
.quiz__count { font-family: var(--f-mono); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-muted); }
.quiz__verdict {
  font-family: var(--f-display); font-weight: 350; font-size: clamp(1.4rem, 2.6vw, 2.3rem); line-height: 1.25; max-width: 30ch;
  color: var(--on-dark-muted); transition: color var(--t-med) var(--ease-out);
}
.quiz__result.is-flagged .quiz__verdict { color: var(--on-dark); }
.quiz__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: var(--s-2); }

@media (max-width: 760px) {
  .quiz__row { grid-template-columns: 40px 1fr; row-gap: 14px; }
  .quiz__choices { grid-column: 2; flex-wrap: wrap; }
}

/* ---------- Contact ---------- */
.contact__layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 120px); align-items: start; }
.contact__intro .lead { margin: var(--s-4) 0 var(--s-5); }
.contact__card { margin-top: var(--s-6); padding-top: var(--s-4); border-top: 1px solid var(--line-dark); }
.contact__name { font-family: var(--f-display); font-size: 1.4rem; font-weight: 400; }
.contact__name span { font-family: var(--f-sans); font-size: 1rem; color: var(--on-dark-muted); }
.contact__lines { margin-top: var(--s-2); display: grid; gap: 4px; }
.contact__lines li { display: flex; align-items: center; gap: 14px; min-height: 44px; flex-wrap: wrap; }
.contact__lines a { color: var(--gold-hi); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color var(--t-fast); }
.contact__lines a:hover { border-bottom-color: currentColor; }
.contact__k { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-muted); width: 84px; }

.form { background: var(--ink-2); border: 1px solid var(--line-dark); padding: clamp(24px, 4vw, 48px); display: grid; gap: 20px; }
.form__title { font-family: var(--f-display); font-weight: 400; font-size: 1.8rem; line-height: 1.1; }
.form__hint { color: var(--on-dark-muted); margin-top: -8px; }
.field { display: grid; gap: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-size: .9rem; font-weight: 500; }
.req { color: var(--gold-hi); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font-size: 1rem;
  background: var(--ink-0); border: 1px solid var(--line-dark-strong); border-radius: 2px; color: var(--on-dark);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--on-dark-muted) 50%), linear-gradient(135deg, var(--on-dark-muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--on-dark-muted); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184, 137, 90, .25); }
.field.has-error input, .field.has-error textarea { border-color: var(--error); }
.field__error { color: var(--error); font-size: .88rem; min-height: 0; }
.field__error:empty { display: none; }
.field__help { color: var(--on-dark-muted); font-size: .86rem; }
.form__error-summary { border: 1px solid var(--error); padding: 16px 18px; color: var(--on-dark); }
.form__error-summary ul { margin-top: 8px; display: grid; gap: 4px; }
.form__error-summary a { color: var(--error); }
.form__req { font-size: .82rem; color: var(--on-dark-muted); }
.form__req span { color: var(--gold-hi); }
.form__submit { justify-self: start; min-width: 180px; }
.form__submit[disabled] { opacity: .6; cursor: progress; }
.form__submit.is-loading .form__submit-label::after { content: ""; display: inline-block; width: 14px; height: 14px; margin-left: 10px; vertical-align: -2px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form__status { font-size: .95rem; }
.form__status.is-success { color: var(--success); }
.form__status.is-error { color: var(--error); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 960px) { .contact__layout { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } .form__submit { width: 100%; } }

/* ---------- Footer ---------- */
.site-footer { position: relative; z-index: 2; background: var(--ink-0); border-top: 1px solid var(--line-dark); padding: clamp(64px, 8vw, 112px) 0 40px; }
.footer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-5); padding-bottom: var(--s-6); border-bottom: 1px solid var(--line-dark); }
.footer__brand { display: flex; align-items: center; gap: 24px; }
.footer__mark { width: 96px; height: 80px; }
.footer__brand .wordmark { font-size: clamp(1.4rem, 3vw, 2.2rem); }
.wordmark-co { display: flex; align-items: center; gap: 14px; margin-top: 10px; color: var(--gold); font-family: var(--f-sans); font-variation-settings: "wdth" 125; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: clamp(1rem, 1.8vw, 1.3rem); }
.wordmark-co span { flex: 1; height: 1.5px; background: var(--gold); }
.footer__tagline { font-family: var(--f-mono); font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark-muted); max-width: 34ch; }
.footer__bottom { display: grid; grid-template-columns: 1.3fr auto; gap: var(--s-3) var(--s-5); padding-top: var(--s-4); color: var(--on-dark-muted); font-size: .9rem; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.footer__nav a { text-decoration: none; display: inline-block; padding-block: 10px; }
.footer__nav a:hover { color: var(--on-dark); }
.footer__legal { grid-column: 1 / -1; font-size: .82rem; }
.footer__motto { color: var(--gold); letter-spacing: .06em; }
@media (max-width: 760px) { .footer__bottom { grid-template-columns: 1fr; } .footer__mark { width: 72px; height: 60px; } }

/* ---------- Guide (short bio on home) ---------- */
.guide__grid { display: grid; grid-template-columns: minmax(260px, .8fr) 1.4fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.guide .portrait { position: sticky; top: calc(var(--header-h) + 32px); }
.guide__title {
  font-family: var(--f-display); font-weight: 350; font-variation-settings: "opsz" 144;
  font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1.05; letter-spacing: -.02em; max-width: 16ch; text-wrap: balance;
}
.guide__text { margin-top: var(--s-4); font-size: clamp(1.06rem, 1.3vw, 1.18rem); line-height: 1.7; color: #2A251F; max-width: 58ch; }
.guide__stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-4) var(--s-5); margin-top: var(--s-6); padding-top: var(--s-4); border-top: 1px solid var(--line-bone); }
.guide__stats dt { font-family: var(--f-display); font-weight: 350; font-size: clamp(1.9rem, 3.2vw, 2.8rem); line-height: 1; letter-spacing: -.02em; color: var(--gold-ink); white-space: nowrap; font-variant-numeric: lining-nums; }
.guide__stats dd { margin-top: 8px; color: var(--on-bone-muted); font-size: .95rem; max-width: 26ch; }
.testimonials { display: grid; gap: var(--s-4); margin-top: var(--s-6); }
.testimonial { padding-left: var(--s-3); border-left: 2px solid var(--gold); }
.testimonial blockquote { font-family: var(--f-display); font-weight: 350; font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.45; }
.testimonial figcaption { margin-top: 10px; font-family: var(--f-mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-bone-muted); }
.link-arrow--dark { color: var(--gold-ink); margin-top: var(--s-5); }
@media (max-width: 860px) {
  .guide__grid { grid-template-columns: 1fr; }
  .guide .portrait { position: static; max-width: 420px; }
}
@media (max-width: 420px) { .guide__stats { grid-template-columns: 1fr; } .guide__stats dt { white-space: normal; } }

/* ---------- Service one-liners ---------- */
.offer__summary { grid-column: 2 / 4; grid-row: 2; color: var(--on-dark-muted); font-size: 1rem; line-height: 1.5; max-width: 62ch; }
.offer.is-open .offer__summary { display: none; }
@media (max-width: 960px) {
  .offer__summary { grid-column: 2; grid-row: 3; }
}
@media (max-width: 560px) {
  .offer__summary { grid-column: 1; grid-row: 4; }
}

/* ---------- Commitments (How I work, in Services) ---------- */
.commitments { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(28px, 6vw, 96px); margin-top: var(--s-8); padding-top: var(--s-6); border-top: 1px solid var(--line-dark); }
.commitments .section-subhead { color: var(--gold-hi); }
.commitments__kicker { font-family: var(--f-display); font-size: clamp(1.7rem, 2.6vw, 2.4rem); line-height: 1.1; font-weight: 350; letter-spacing: -.01em; }
.commitments__list { counter-reset: pr; }
.commitments__list li { counter-increment: pr; position: relative; padding: 24px 0 24px 56px; border-bottom: 1px solid var(--line-dark); }
.commitments__list li:first-child { border-top: 1px solid var(--line-dark); }
.commitments__list li::before { content: "0" counter(pr); position: absolute; left: 0; top: 28px; font-family: var(--f-mono); font-size: .8rem; color: var(--gold); letter-spacing: .08em; }
.commitments__list h4 { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.2rem, 1.7vw, 1.45rem); line-height: 1.2; margin-bottom: 8px; }
.commitments__list p { color: var(--on-dark-muted); max-width: 60ch; }
@media (max-width: 960px) { .commitments { grid-template-columns: 1fr; } }

/* ---------- Stakes ---------- */
.stakes__story { margin-top: var(--s-4); }
.stakes .case__stats { margin-top: var(--s-6); }
.stakes .case__lesson { margin-top: var(--s-6); }

/* ---------- Success ---------- */
.success__layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: end; }
.success__list li {
  display: flex; gap: 18px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line-dark);
  font-family: var(--f-display); font-weight: 350; font-size: clamp(1.3rem, 2vw, 1.75rem); line-height: 1.3;
}
.success__list li:first-child { border-top: 1px solid var(--line-dark); }
.success__list .icon { color: var(--gold); width: 22px; height: 22px; transform: translateY(3px); }
@media (max-width: 860px) { .success__layout { grid-template-columns: 1fr; } }

/* ---------- Self-assessment result emphasis ---------- */
.quiz__result.is-flagged .quiz__verdict { color: var(--gold-hi); }

/* ---------- Contact + scheduler ---------- */
.contact__head .lead { margin-top: var(--s-4); }
.contact__formcol { display: grid; gap: var(--s-3); align-content: start; min-width: 0; }
.contact__book {
  display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 14px 20px;
  border: 1px solid rgba(184, 137, 90, .5); background: rgba(184, 137, 90, .08);
  color: var(--gold-hi); font-weight: 600; text-decoration: none;
  transition: background-color var(--t-fast), border-color var(--t-fast);
}
.contact__book:hover { background: rgba(184, 137, 90, .16); border-color: var(--gold); }
.contact__book span { margin-left: auto; transition: transform var(--t-med) var(--ease-out); }
.contact__book:hover span { transform: translateX(4px); }
.form-sent { display: grid; gap: 14px; justify-items: start; padding: clamp(28px, 4vw, 48px); background: var(--ink-2); border: 1px solid rgba(184, 137, 90, .5); }
.form-sent p { color: var(--on-dark-muted); max-width: 48ch; }
.form-sent .btn { margin-top: 8px; }
.form-sent__icon { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--gold); fill: none; stroke: var(--ink-0); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.form-sent:focus { outline: none; }
.contact .contact__layout { margin-top: var(--s-6); grid-template-columns: .8fr 1.2fr; }
@media (max-width: 960px) { .contact .contact__layout { grid-template-columns: 1fr; } }
.contact .contact__card { margin-top: 0; }

/* ---------- About page ---------- */
.page-about { background: var(--bone); }
.site-header.is-solid::before { opacity: 1; }
.about__intro { padding-top: calc(var(--header-h) + clamp(48px, 8vw, 112px)); }
.about__section { padding-top: var(--s-8); }
.about__section .story, .about__section .record, .about__section .about__pair { margin-top: 0; }
.about h3.story__heading, .about h2.story__heading { margin: 0; }
.record__col h3 { font-family: var(--f-display); font-weight: 450; font-size: 1.3rem; line-height: 1.2; padding-bottom: 14px; border-bottom: 1.5px solid var(--on-bone); margin-bottom: 6px; }
.about__close { margin-top: var(--s-8); padding: var(--section-y) 0; background: var(--ink-0); color: var(--on-dark); }
.about__close .lead { margin-top: var(--s-4); }
.about__close-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-5); margin-top: var(--s-5); }
.about__close-alt { color: var(--on-dark-muted); max-width: 44ch; }
.about__close-alt a, .about__sign a { color: var(--gold-hi); }
.about__sign { margin-top: var(--s-6); padding-top: var(--s-4); border-top: 1px solid var(--line-dark); color: var(--on-dark-muted); font-size: .95rem; }

.about__close-link { color: var(--on-dark-muted); text-decoration: underline; text-underline-offset: 4px; min-height: 44px; display: inline-flex; align-items: center; }
.about__close-link:hover { color: var(--gold-hi); }

/* ---------- Book a call page ---------- */
.book { padding: calc(var(--header-h) + clamp(40px, 7vw, 96px)) 0 var(--section-y); background: var(--ink-0); }
.book__head .label { margin-bottom: var(--s-3); }
.book__head .label .icon { width: 16px; height: 16px; color: var(--gold-hi); }
.book__head .lead { margin-top: var(--s-3); color: #CFC8BC; }
/* Google's booking UI is white and doesn't auto-size: frame it as a deliberate card
   and give it a fixed height tall enough that it never scrolls inside itself. */
.book__frame { margin-top: var(--s-6); padding: clamp(8px, 1.5vw, 16px); background: var(--bone); border: 1px solid var(--gold); box-shadow: 0 0 0 8px rgba(184, 137, 90, .08); }
.book__frame iframe { display: block; width: 100%; height: 760px; border: 0; background: #fff; }
@media (max-width: 640px) {
  /* Full-bleed on phones so Google's narrow layout gets every pixel of width. */
  .book__frame { margin-inline: calc(-1 * var(--gutter)); padding: 4px 0; border-inline: 0; box-shadow: none; }
  .book__frame iframe { height: 1180px; }
}
.book__foot { display: grid; gap: 10px; margin-top: var(--s-4); }
.book__fallback { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--gold-hi); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; justify-self: start; }
.book__alt { color: var(--on-dark-muted); }
.book__alt a, .book__sign a { color: var(--gold-hi); }
.book__sign { margin-top: var(--s-6); padding-top: var(--s-4); border-top: 1px solid var(--line-dark); color: var(--on-dark-muted); font-size: .95rem; }

/* ==========================================================================
   Sliding pages (homepage)
   A row of full-screen panels; --i is the active one. Each panel scrolls on its
   own when its content is taller than the screen.
   ========================================================================== */
:root { --bar-h: 68px; --slide: .8s; }
body.has-deck { height: 100%; overflow: hidden; }
.deck { position: fixed; inset: 0; overflow: clip; }
.deck__track {
  display: flex; height: 100%; width: calc(var(--n) * 100%);
  transform: translate3d(calc(var(--i, 0) * -100% / var(--n)), 0, 0);
  transition: transform var(--slide) var(--ease-in-out);
  will-change: transform;
}
.panel {
  position: relative; flex: none; width: calc(100% / var(--n)); height: 100%;
  overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  padding: calc(var(--header-h) + clamp(16px, 3.5vh, 44px)) 0 calc(var(--bar-h) + env(safe-area-inset-bottom, 0px) + clamp(16px, 3vh, 40px));
  scrollbar-width: thin; scrollbar-color: rgba(184, 137, 90, .35) transparent;
}
/* Parallax: page content trails the slide, so it drifts in at a different speed. */
.panel__inner { transition: transform var(--slide) var(--ease-in-out), opacity calc(var(--slide) * .8) var(--ease-out); }
.panel.is-after .panel__inner { transform: translate3d(18vw, 0, 0); opacity: 0; }
.panel.is-before .panel__inner { transform: translate3d(-18vw, 0, 0); opacity: 0; }
.deck.no-anim .deck__track, .deck.no-anim .panel__inner { transition: none; }

.panel--home { padding: 0; }
.panel--home .hero { min-height: 100%; padding-top: calc(var(--header-h) + clamp(16px, 4vh, 48px)); padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px) + 16px); }
.panel--home .hero__title { font-size: clamp(2.6rem, min(7.6vw, 11vh), 7.25rem); }
.panel--home .hero__content { padding-bottom: clamp(16px, 3vh, 48px); }
.panel--home .hero__lede { margin-top: clamp(14px, 2.6vh, 32px); }
.panel--home .hero__actions { margin-top: clamp(18px, 3.5vh, 48px); }
.hero__actions .btn { min-width: 220px; }

/* Header: see-through over the home hero, solid on every other page */
.has-deck .site-header.is-solid::before { opacity: 1; }
.has-deck .site-header.is-solid { border-bottom-color: var(--line-dark); }

/* Page head: a large page name so visitors always know where they are */
.page-head { margin-bottom: clamp(20px, 3.5vh, 44px); }
.page-head__num { font-family: var(--f-mono); font-size: .8rem; letter-spacing: .2em; color: var(--gold-hi); margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.section--bone .page-head__num { color: var(--gold-ink); }
.page-title {
  font-family: var(--f-display); font-weight: 350; font-variation-settings: "opsz" 144;
  font-size: clamp(2.6rem, min(7vw, 11vh), 6.2rem); line-height: .95; letter-spacing: -.035em;
}
.page-title:focus { outline: none; }
.page-statement {
  margin-top: clamp(12px, 2vh, 20px); max-width: 34ch;
  font-family: var(--f-display); font-weight: 350; font-size: clamp(1.3rem, 2.3vw, 2.05rem); line-height: 1.2; letter-spacing: -.01em;
  color: var(--on-dark-muted); text-wrap: balance;
}
.page-statement em { font-style: italic; font-weight: 300; color: var(--gold-hi); }
.section--bone .page-statement { color: var(--on-bone-muted); }
.page-head__lead { margin-top: var(--s-3); }

/* The Opportunity */
.opp__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.opp__grid .lead { font-size: clamp(1rem, 1.25vw, 1.12rem); }
.opp__grid .questions { margin-top: clamp(12px, 2vh, 24px); }
.opp__grid .questions li { padding-block: clamp(7px, 1.2vh, 12px); font-size: clamp(1.02rem, 1.35vw, 1.2rem); }
.opp__grid .questions li::before { top: clamp(7px, 1.2vh, 12px); }
.gains__label { font-family: var(--f-mono); font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-hi); margin-bottom: 12px; }
.gains { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.gain { background: var(--ink-1); padding: clamp(16px, 2.4vh, 26px) clamp(16px, 1.8vw, 24px); display: flex; flex-direction: column; gap: 8px; }
.gain h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.15rem, 1.5vw, 1.35rem); line-height: 1.15; padding-top: 10px; border-top: 1px solid var(--gold); align-self: flex-start; }
.gain p { color: var(--on-dark-muted); font-size: .95rem; line-height: 1.5; }
@media (max-width: 960px) { .opp__grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .gains { grid-template-columns: 1fr; } }

/* How I Work */
.steps-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); counter-reset: none; }
.step-card { padding: clamp(18px, 2.6vh, 30px) clamp(18px, 2vw, 28px); border: 1px solid var(--line-dark); background: var(--ink-2); display: grid; gap: 8px; align-content: start; }.step-card__icon { width: 28px; height: 28px; fill: none; stroke: var(--gold); stroke-width: 1.5; flex: none; }
.step-card__num { display: flex; align-items: center; gap: 12px; font-family: var(--f-mono); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-hi); }
.step-card h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.4rem, 2vw, 1.8rem); line-height: 1.1; }
.step-card p:last-child { color: var(--on-dark-muted); }
.walkaway { display: grid; grid-template-columns: auto 1fr; gap: var(--s-2) var(--s-5); align-items: center; margin-top: clamp(20px, 3.5vh, 40px); padding: clamp(18px, 2.4vw, 28px) clamp(20px, 2.6vw, 32px); border: 1px solid rgba(184, 137, 90, .45); background: linear-gradient(160deg, rgba(184, 137, 90, .12), rgba(184, 137, 90, .02)); }
.walkaway__label { font-family: var(--f-mono); font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-hi); }
.walkaway__list { display: flex; flex-wrap: wrap; gap: 10px 32px; }
.walkaway__list li { display: flex; gap: 10px; align-items: baseline; font-family: var(--f-display); font-size: clamp(1.05rem, 1.4vw, 1.25rem); }
.walkaway__list .icon { color: var(--gold); transform: translateY(2px); }
@media (max-width: 860px) { .steps-row { grid-template-columns: 1fr; } .walkaway { grid-template-columns: 1fr; } }

/* Services: the case story sits under the offers */
.case-card { margin-top: var(--s-6); padding: clamp(24px, 3.5vw, 44px); background: var(--ink-2); border: 1px solid var(--line-dark); }
.case-card__title { font-family: var(--f-display); font-weight: 350; font-size: clamp(1.6rem, 3vw, 2.6rem); line-height: 1.1; letter-spacing: -.015em; max-width: 22ch; }
.case-card__title em { font-style: italic; font-weight: 300; color: var(--gold-hi); }
.case-card__story { margin-top: var(--s-3); color: var(--on-dark-muted); max-width: 70ch; }
.case-card .case__stats { margin-top: var(--s-5); }
.case-card .case__stats dt { font-size: clamp(2rem, 3.6vw, 3.2rem); }
.case-card__lesson { margin-top: var(--s-5); font-family: var(--f-display); font-size: clamp(1.1rem, 1.6vw, 1.35rem); max-width: 56ch; }
.services .services__foot { margin-top: var(--s-6); }

/* About panel */
.about .guide__grid { margin-top: 0; }
.about .guide .portrait, .about .portrait { position: sticky; top: calc(var(--header-h) + 24px); }
.about .story, .about .record, .about .about__pair { margin-top: var(--s-7); }
button.link-arrow { background: none; border: 0; border-bottom: 1px solid currentColor; padding: 0 0 4px; cursor: pointer; font: inherit; font-weight: 600; }
@media (max-width: 860px) { .about .portrait { position: static; max-width: 420px; } }

/* Footer at the end of the last page */
.site-footer--panel { margin-top: var(--s-7); padding: var(--s-6) 0 0; background: none; }
.site-footer--panel a { color: var(--gold-hi); text-decoration: none; }
.site-footer--panel .footer__bottom { grid-template-columns: 1fr; }

/* Fit-to-screen tuning for the panels (kept last so it wins over the base rules) */
.services__note { margin-top: var(--s-4); color: var(--on-dark-muted); max-width: 70ch; }
.panel .offer__toggle { row-gap: 2px; padding-block: clamp(9px, 1.2vh, 22px); }
.panel .offer__name { font-size: clamp(1.35rem, min(2.6vw, 3.8vh), 2.4rem); }
.panel .offer__summary { font-size: .92rem; line-height: 1.4; }
/* Desktop service rows: number | name + summary | timeframe | toggle, placed explicitly */
@media (min-width: 961px) {
  .panel .offer__num { grid-column: 1; grid-row: 1; }
  .panel .offer__name { grid-column: 2; grid-row: 1; }
  .panel .offer__summary { grid-column: 2; grid-row: 2; }
  .panel .offer__meta { grid-column: 3; grid-row: 1 / span 2; align-self: center; }
  .panel .offer__icon { grid-column: 4; grid-row: 1 / span 2; align-self: center; width: 40px; height: 40px; padding: 10px; }
}
.page-head { margin-bottom: clamp(16px, 2.5vh, 40px); }
.page-title { font-size: clamp(2.2rem, min(5.2vw, 7.8vh), 4.6rem); line-height: 1; letter-spacing: -.03em; }
.page-statement { font-size: clamp(1.08rem, min(1.8vw, 2.9vh), 1.6rem); max-width: 40ch; }

/* Previous / next buttons at the end of each page */
.page-nav { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: clamp(14px, 2vh, 48px); }
.page-head + .page-nav { margin-top: 0; margin-bottom: clamp(16px, 3vh, 40px); }
.guide__text + .page-nav { margin-top: var(--s-4); }
.opp__grid .questions li { padding-block: clamp(6px, 1vh, 12px); }
.gain { padding-block: clamp(14px, 2vh, 26px); }
.opp__grid .questions li::before { top: clamp(6px, 1vh, 12px); }
.page-nav__next { margin-left: auto; }
.page-nav .btn { min-width: 200px; }
.page-nav__prev:hover .icon[aria-hidden] { transform: translateX(-4px); }
@media (max-width: 520px) { .page-nav .btn { min-width: 0; flex: 1 1 auto; } }

/* Self-assessment, as the second half of The Opportunity page */
.opp-assess__cue {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 10px;
  color: var(--gold-hi); font-weight: 600; border-bottom: 1px solid rgba(211, 168, 119, .4); padding: 0;
}
.opp-assess__cue:hover { border-bottom-color: currentColor; }
.page-nav .opp-assess__cue { margin: 0 auto; }
.page-nav .opp-assess__cue + .page-nav__next { margin-left: 0; }
@media (max-width: 700px) { .page-nav .opp-assess__cue { order: 3; flex-basis: 100%; justify-content: center; border-bottom: 0; text-decoration: underline; text-underline-offset: 4px; } }
.opp-assess__cue .icon { transition: transform var(--t-med) var(--ease-out); }
.opp-assess__cue:hover .icon { transform: translateY(3px); }
.opp-assess { margin-top: var(--s-7); padding-top: var(--s-6); border-top: 1px solid var(--line-dark); scroll-margin-top: calc(var(--header-h) + 16px); }
.opp-assess__title { font-family: var(--f-display); font-weight: 350; font-size: clamp(1.5rem, 2.6vw, 2.3rem); line-height: 1.15; letter-spacing: -.01em; max-width: 30ch; text-wrap: balance; }
.opp-assess__title:focus { outline: none; }
.opp-assess__lead { margin-top: 12px; }
.opp-assess .quiz { margin-top: var(--s-5); }

/* Header button: shown until the menu takes over */
.has-deck .header-cta, .page-book .header-cta { display: inline-flex; }
.nav__list a { white-space: nowrap; }
@media (max-width: 1100px) { .nav__list { gap: 18px; } .nav__list a:not(.btn) { font-size: .86rem; } }
@media (max-width: 900px) { .header-cta { display: none !important; } }

/* About uses the same dark background as the other pages */
.panel.about .guide__text, .panel.about .about__pair .prose { color: #CFC8BC; }
.panel.about .guide__stats { border-top-color: var(--line-dark); }
.panel.about .guide__stats dt { color: var(--gold-hi); }
.panel.about .guide__stats dd, .panel.about .testimonial figcaption { color: var(--on-dark-muted); }
.panel.about .link-arrow--dark { color: var(--gold-hi); }
.panel.about .story, .panel.about .record, .panel.about .about__pair { border-top-color: var(--line-dark); }
.panel.about .story__heading, .panel.about .section-subhead { color: var(--gold-hi); }
.panel.about .record__col h4 { border-bottom-color: var(--line-dark-strong); }
.panel.about .record__col li { color: var(--on-dark-muted); border-bottom-color: var(--line-dark); }
.panel:not(.panel--home) { padding-top: calc(var(--header-h) + clamp(14px, 3vh, 44px)); }
.walkaway { grid-template-columns: 1fr; gap: 10px; padding-block: clamp(14px, 2vh, 24px); }
.walkaway__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 28px; }
.panel--home .pillar { padding-top: clamp(12px, 2vh, 22px); }
@media (max-width: 860px) { .walkaway__list { grid-template-columns: 1fr; } }
/* On phones the home screen shows the promise and one button; the three steps live on How I Work. */
@media (max-width: 640px) { .panel--home .hero__pillars { display: none; } }

/* ---------- Bottom bar ---------- */
.deckbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-header);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: rgba(11, 10, 9, .94); border-top: 1px solid var(--line-dark);
}
.deckbar__inner { height: var(--bar-h); display: flex; justify-content: center; align-items: center; }
.deckbar__actions { display: flex; align-items: center; gap: clamp(10px, 2vw, 28px); }
.deckbar__actions .btn { gap: 8px; }
.deckbar__ic { width: 16px; height: 16px; }
.deckbar__link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--on-dark-muted); text-decoration: none; font-size: .92rem; font-weight: 500; transition: color var(--t-fast); }
.deckbar__link:hover, .deckbar__link:focus-visible { color: var(--gold-hi); }
.deckbar__link[hidden] { display: none; }
@media (max-width: 640px) {
  :root { --bar-h: 64px; }
  .deckbar__inner { padding-inline: 8px; }
  .deckbar__actions { gap: 12px; }
  .deckbar__link span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .deckbar__link { min-width: 44px; justify-content: center; }
  .deckbar__link .icon { width: 22px; height: 22px; }
  .deckbar__actions .btn { padding-inline: 14px; }
}

/* ---------- Contact drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 300; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(11, 10, 9, .66); opacity: 0; transition: opacity .35s var(--ease-out); }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(580px, 100%);
  overflow-y: auto; overscroll-behavior: contain; background: var(--ink-1); border-left: 1px solid var(--line-dark);
  padding: clamp(56px, 8vh, 72px) clamp(20px, 4vw, 44px) calc(32px + env(safe-area-inset-bottom, 0px));
  display: grid; gap: var(--s-3); align-content: start;
  transform: translateX(100%); transition: transform .45s var(--ease-out);
}
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: var(--on-dark); border: 1px solid var(--line-dark-strong); }
.drawer__close:hover { border-color: var(--gold); color: var(--gold-hi); }
.drawer .form { padding: 0; border: 0; background: none; }
.drawer__card { padding-top: var(--s-3); border-top: 1px solid var(--line-dark); }
body.drawer-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .deck__track, .panel__inner, .drawer__panel, .drawer__scrim { transition: none !important; }
  .panel.is-after .panel__inner, .panel.is-before .panel__inner { transform: none; }
}

/* ==========================================================================
   Motion: reveal & split text (only when JS is running)
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .4s var(--ease-out), transform .4s var(--ease-out); transition-delay: calc(var(--d, 0s) * .5); }
.js .reveal.is-in { opacity: 1; transform: none; }

.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; padding-right: .04em; margin-right: -.04em; }
.w__i { display: inline-block; transform: translateY(108%); transition: transform .45s var(--ease-out); transition-delay: calc(min(var(--i, 0), 8) * 18ms); will-change: transform; }
.is-in .w__i { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .w__i { transform: none; }
}
