/* Corevanta Advisory — corevantaadvisory.co.uk
   World: optical bench. Noise comes in, a lens brings it to one point (the core, in ember),
   and a clean beam leaves (the vantage). Cool optic paper, vanta ink, one ember accent.
   Type: Mona Sans (variable width + weight) for everything said; Geist Mono only for measurements. */

@font-face {
  font-family: "Mona Sans";
  src: url("../fonts/mona-sans-latin.woff2") format("woff2");
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("../fonts/geist-mono-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --vanta: #0b0c0f;
  --ink: #15171b;
  --graphite: #50565c;
  --mist: #9aa29f;
  --paper: #eef0ec;
  --paper-2: #e3e7e3;
  --glass: #d5ddd9;
  --white: #f8f9f6;
  --ember: #ff5a1f;
  --ember-ink: #b8400f;
  --ember-soft: #ffd9c9;
  --line: rgba(21, 23, 27, 0.16);
  --line-soft: rgba(21, 23, 27, 0.09);
  --line-dark: rgba(238, 240, 236, 0.16);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-soft: cubic-bezier(0.32, 0.72, 0, 1);

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --section: clamp(88px, 11vw, 168px);
  --header-h: 72px;

  --fs-body: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --fs-lead: clamp(1.125rem, 1.02rem + 0.5vw, 1.375rem);
  --fs-h1: clamp(2.75rem, 1.2rem + 6.3vw, 6rem);
  --fs-h2: clamp(2.1rem, 1.2rem + 3.4vw, 4.1rem);
  --fs-h3: clamp(1.35rem, 1.1rem + 0.9vw, 1.85rem);
  --fs-small: 0.875rem;
  --fs-mono: 0.75rem;

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Mona Sans", ui-sans-serif, system-ui, sans-serif;
  font-size: var(--fs-body);
  font-stretch: 100%;
  font-weight: 400;
  line-height: 1.6;
  font-feature-settings: "ss01" 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, canvas, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--ember); color: var(--vanta); }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; border-radius: 4px; }
html { scrollbar-color: #9aa29f var(--paper); scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: #b4bbb7; border-radius: 10px; border: 2px solid var(--paper); }
::-webkit-scrollbar-thumb:hover { background: var(--graphite); }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--vanta); color: var(--paper); padding: 10px 16px; border-radius: 999px; text-decoration: none; transition: top 0.2s var(--ease-out); }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: "Geist Mono", ui-monospace, monospace; font-size: var(--fs-mono); letter-spacing: 0.02em; font-feature-settings: "tnum" 1, "zero" 1; }
.dot { color: var(--ember); }

/* ---------- type ---------- */
.display {
  font-size: var(--fs-h1);
  font-stretch: 112%;
  font-weight: 620;
  line-height: 0.96;
  letter-spacing: -0.034em;
}
.h2 {
  font-size: var(--fs-h2);
  font-stretch: 110%;
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.h3 {
  font-size: var(--fs-h3);
  font-stretch: 106%;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.lead { font-size: var(--fs-lead); line-height: 1.5; font-stretch: 102%; color: var(--ink); max-width: 38ch; text-wrap: pretty; }
.muted { color: var(--graphite); }
.prose { max-width: 62ch; text-wrap: pretty; }
.prose p:last-child { margin-bottom: 0; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--vanta); --fg: var(--paper); --knob: var(--ember); --knob-fg: var(--vanta);
  position: relative;
  display: inline-flex; align-items: center; gap: 14px;
  min-height: 52px;
  padding: 6px 6px 6px 24px;
  border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-weight: 560; font-stretch: 104%; font-size: 1rem; line-height: 1.1;
  text-decoration: none;
  border: 0; cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease;
  -webkit-tap-highlight-color: transparent;
}
.btn__knob {
  flex: none;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--knob); color: var(--knob-fg);
  transition: transform 300ms var(--ease-soft);
}
.btn__knob svg { width: 16px; height: 16px; transition: transform 300ms var(--ease-soft); }
.btn:active { transform: scale(0.98); }
@media (hover: hover) {
  .btn:hover .btn__knob { transform: translateX(3px) scale(1.05); }
  .btn:hover .btn__knob svg { transform: translateX(2px); }
}
.btn--ghost { --bg: transparent; --fg: var(--ink); --knob: var(--vanta); --knob-fg: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
@media (hover: hover) { .btn--ghost:hover { --bg: rgba(21, 23, 27, 0.05); } }
.btn--light { --bg: var(--paper); --fg: var(--vanta); --knob: var(--ember); --knob-fg: var(--vanta); }
.btn--sm { min-height: 44px; padding: 4px 4px 4px 18px; font-size: 0.9375rem; gap: 10px; }
.btn--sm .btn__knob { width: 36px; height: 36px; }

.link {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 560; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: 3px;
  transition: background-size 0.5s var(--ease-out);
}
.link svg { width: 14px; height: 14px; transition: transform 0.45s var(--ease-soft); }
@media (hover: hover) { .link:hover { background-size: 30% 1px; } .link:hover svg { transform: translateX(3px); } }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  height: var(--header-h);
  transition: background-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), transform 0.5s var(--ease-out);
}
.site-header.is-scrolled { background: rgba(238, 240, 236, 0.88); box-shadow: 0 1px 0 var(--line-soft); -webkit-backdrop-filter: saturate(1.2) blur(14px); backdrop-filter: saturate(1.2) blur(14px); }
.site-header.is-dark:not(.is-scrolled) { color: var(--paper); }
.site-header__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: inherit; }
.brand .mark { width: 34px; height: 34px; flex: none; }
.brand__name { display: flex; flex-direction: column; line-height: 1; }
.brand__word { font-size: 1.12rem; font-stretch: 116%; font-weight: 650; letter-spacing: -0.02em; }
.brand__sub { font-size: 0.69rem; font-stretch: 100%; font-weight: 520; letter-spacing: 0.22em; text-transform: uppercase; color: var(--graphite); margin-top: 4px; }
.site-header.is-dark:not(.is-scrolled) .brand__sub { color: var(--mist); }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 38px); }
.nav__list { display: flex; gap: clamp(18px, 2.4vw, 34px); list-style: none; }
.nav__link { position: relative; text-decoration: none; font-weight: 520; font-size: 0.97rem; padding: 6px 0; }
.nav__link::before {
  content: ""; position: absolute; left: -12px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%;
  background: var(--ember); opacity: 0; transform: scale(0.4); transition: transform 250ms var(--ease-out), opacity 200ms ease;
}
.nav__link[aria-current="page"]::before { opacity: 1; transform: none; }
@media (hover: hover) { .nav__link:hover::before { opacity: 1; transform: none; } }
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav__list, .nav .btn { display: none; }
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 10px;
    background: none; border: 0; padding: 10px 0 10px 10px; cursor: pointer; font-weight: 560;
  }
  .nav-toggle__lines { position: relative; width: 22px; height: 12px; }
  .nav-toggle__lines::before, .nav-toggle__lines::after {
    content: ""; position: absolute; left: 0; right: 0; height: 1.6px; background: currentColor; border-radius: 2px;
    transition: transform 0.5s var(--ease-soft), top 0.5s var(--ease-soft);
  }
  .nav-toggle__lines::before { top: 1px; }
  .nav-toggle__lines::after { top: 9px; }
  .menu-open .nav-toggle__lines::before { top: 5px; transform: rotate(45deg); }
  .menu-open .nav-toggle__lines::after { top: 5px; transform: rotate(-45deg); }
}
.menu {
  position: fixed; inset: 0; z-index: 39;
  background: var(--vanta); color: var(--paper);
  padding: calc(var(--header-h) + 32px) var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: circle(0% at calc(100% - 40px) 36px);
  visibility: hidden;
  transition: clip-path 0.7s var(--ease-soft), visibility 0s linear 0.7s;
}
.menu-open .menu { clip-path: circle(150% at calc(100% - 40px) 36px); visibility: visible; transition: clip-path 0.8s var(--ease-soft), visibility 0s; }
.menu-open .site-header { color: var(--paper); background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.menu-open .site-header .brand__sub { color: var(--mist); }
.menu__list { list-style: none; display: grid; gap: 6px; }
.menu__list a { display: inline-block; font-size: clamp(2.4rem, 11vw, 3.6rem); font-stretch: 112%; font-weight: 600; letter-spacing: -0.03em; text-decoration: none; line-height: 1.12; }
.menu__list li { opacity: 0; transform: translateY(28px); transition: opacity 0.5s var(--ease-out), transform 0.7s var(--ease-out); }
.menu-open .menu__list li { opacity: 1; transform: none; }
.menu-open .menu__list li:nth-child(2) { transition-delay: 0.06s; }
.menu-open .menu__list li:nth-child(3) { transition-delay: 0.12s; }
.menu-open .menu__list li:nth-child(4) { transition-delay: 0.18s; }
.menu__foot { display: grid; gap: 6px; color: var(--mist); }
.menu__foot a { color: var(--paper); text-decoration: none; font-size: 1.1rem; }
@media (min-width: 861px) { .menu { display: none; } }

/* ---------- hero (home) ---------- */
.hero { position: relative; min-height: 100svh; padding-top: calc(var(--header-h) + clamp(28px, 6vh, 72px)); display: flex; flex-direction: column; }
.hero__copy { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: clamp(24px, 4vh, 40px); }
.hero__title { grid-column: 1 / -1; }
.hero__title .line { display: block; }
.hero__title .line + .line { padding-left: clamp(0px, 9vw, 150px); }
.hero__lead { grid-column: 1 / span 6; margin: 0; }
.hero__cta { grid-column: 8 / -1; display: flex; flex-wrap: wrap; gap: 12px; align-self: end; justify-content: flex-end; }
.hero__bench { position: relative; flex: 1 1 auto; min-height: clamp(250px, 40vh, 470px); margin-top: clamp(12px, 3vh, 36px); }
.hero__bench canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__meta { display: flex; justify-content: space-between; gap: 16px; padding-block: 18px 22px; border-top: 1px solid var(--line-soft); color: var(--graphite); }
.hero__meta span:nth-child(2) { text-align: center; }
.hero__meta span:last-child { text-align: right; }
@media (max-width: 860px) {
  .hero__lead, .hero__cta { grid-column: 1 / -1; }
  .hero__cta { justify-content: flex-start; }
  .hero__title .line + .line { padding-left: 0; }
  .hero__meta span:nth-child(2) { display: none; }
}

/* bench fallback (no canvas / no JS): a drawn diagram */
.bench-fallback { position: absolute; inset: 0; width: 100%; height: 100%; }
.js .bench-fallback { display: none; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { position: relative; padding-top: calc(var(--header-h) + clamp(48px, 10vh, 120px)); padding-bottom: clamp(56px, 8vw, 110px); }
.page-hero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 28px; align-items: end; }
.page-hero__title { grid-column: 1 / span 9; }
.page-hero__lead { grid-column: 1 / span 6; margin: 0; }
.page-hero__aside { grid-column: 8 / -1; justify-self: end; display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 860px) { .page-hero__title, .page-hero__lead, .page-hero__aside { grid-column: 1 / -1; justify-self: start; } }

/* ---------- sections ---------- */
.section { padding-block: var(--section); position: relative; }
.section--tint { background: var(--paper-2); }
.section--dark { background: var(--vanta); color: var(--paper); }
.section--dark .muted { color: var(--mist); }
.section__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 22px; margin-bottom: clamp(48px, 6vw, 88px); align-items: end; }
.section__head .h2 { grid-column: 1 / span 7; }
.section__head .lead, .section__head .prose { grid-column: 9 / -1; margin: 0; }
@media (max-width: 960px) { .section__head .h2, .section__head .lead, .section__head .prose { grid-column: 1 / -1; } }

/* statement + atrium */
.statement { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 48px; align-items: center; }
.statement__text { grid-column: 1 / span 7; }
.statement__big { font-size: clamp(1.6rem, 1rem + 2.2vw, 2.9rem); font-stretch: 106%; font-weight: 500; line-height: 1.12; letter-spacing: -0.025em; margin: 0 0 clamp(32px, 4vw, 56px); text-wrap: balance; }
.statement__big em { font-style: normal; color: var(--graphite); }
.statement__figure { grid-column: 9 / -1; margin: 0; }
.signals { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; border-top: 1px solid var(--line); }
.signals li { padding: 18px 0 18px 26px; border-bottom: 1px solid var(--line); position: relative; font-size: 1.02rem; line-height: 1.45; }
.signals li::before { content: ""; position: absolute; left: 2px; top: 1.45em; width: 12px; height: 1px; background: var(--ink); }
.signals li::after { content: ""; position: absolute; left: 12px; top: calc(1.45em - 2.5px); width: 6px; height: 6px; border-radius: 50%; background: var(--ember); }
@media (max-width: 960px) {
  .statement__text, .statement__figure { grid-column: 1 / -1; }
  .statement__figure { max-width: 520px; }
}
@media (max-width: 560px) { .signals { grid-template-columns: 1fr; } }

/* photographs: the aperture reveal */
.photo { position: relative; margin: 0; }
.photo__frame { position: relative; overflow: hidden; border-radius: 16px; background: var(--glass); }
.photo__frame img { width: 100%; height: 100%; object-fit: cover; }
.photo figcaption { display: flex; justify-content: space-between; gap: 16px; margin-top: 12px; color: var(--graphite); }
.js .ap .photo__frame img {
  clip-path: polygon(50% 49%, 51% 50%, 51% 51%, 50% 52%, 49% 51%, 49% 50%);
}
.js .ap.is-in .photo__frame img {
  clip-path: polygon(50% -70%, 165% -5%, 165% 105%, 50% 170%, -65% 105%, -65% -5%);
  transition: clip-path 1.5s var(--ease-out);
}
.section--dark .photo figcaption { color: var(--mist); }

/* disciplines list (home) */
.disciplines { list-style: none; border-top: 1px solid var(--line); position: relative; }
.discipline { border-bottom: 1px solid var(--line); }
.discipline a {
  display: grid; grid-template-columns: 64px minmax(0, 5fr) minmax(0, 4fr) 48px; column-gap: 24px; align-items: center;
  padding: clamp(24px, 3vw, 38px) 0; text-decoration: none; color: inherit;
}
.discipline__glyph { width: 46px; height: 46px; color: var(--ink); }
.discipline__glyph .lens-fill { fill: rgba(213, 221, 217, 0.65); }
.discipline__title { font-size: clamp(1.6rem, 1rem + 2.2vw, 2.9rem); font-stretch: 110%; font-weight: 600; letter-spacing: -0.028em; line-height: 1.04; transition: transform 400ms var(--ease-out); }
.discipline__desc { color: var(--graphite); margin: 0; font-size: 1rem; line-height: 1.5; }
.discipline__go { justify-self: end; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line); transition: background-color 200ms ease, color 200ms ease, transform 300ms var(--ease-out); }
.discipline__go svg { width: 16px; height: 16px; }
@media (hover: hover) {
  .discipline a:hover .discipline__title { transform: translateX(10px); }
  .discipline a:hover .discipline__go { background: var(--vanta); color: var(--paper); box-shadow: none; transform: rotate(-45deg); }
  .discipline a:hover .discipline__glyph .core { fill: var(--ember); }
}
.discipline__glyph .core { fill: var(--ink); transition: fill 0.3s var(--ease-out); }
.peek {
  position: fixed; left: 0; top: 0; z-index: 30; pointer-events: none;
  width: clamp(220px, 22vw, 340px); aspect-ratio: 3 / 2; border-radius: 14px; overflow: hidden;
  opacity: 0; transform: translate(-50%, -50%) scale(0.86);
  transition: opacity 0.35s var(--ease-out), transform 0.5s var(--ease-soft);
  box-shadow: 0 30px 60px -20px rgba(11, 12, 15, 0.35);
}
.peek.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.peek img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.4s var(--ease-out); }
.peek img.is-on { opacity: 1; }
@media (max-width: 860px) {
  .discipline a { grid-template-columns: 44px minmax(0, 1fr) 40px; row-gap: 8px; }
  .discipline__glyph { width: 36px; height: 36px; }
  .discipline__desc { grid-column: 2 / 3; grid-row: 2; }
  .discipline__go { grid-column: 3; grid-row: 1; width: 38px; height: 38px; }
}

/* approach: sticky bench + steps */
.approach { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.approach__bench { grid-column: 1 / span 7; position: sticky; top: calc(var(--header-h) + 4vh); height: min(64vh, 560px); align-self: start; }
.approach__bench canvas { width: 100%; height: 100%; }
.approach__steps { grid-column: 9 / -1; list-style: none; counter-reset: step; }
.step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; padding-block: 24px; opacity: 0.32; transition: opacity 0.6s var(--ease-out); }
.no-js .step, .step.is-on, .reduced .step { opacity: 1; }
.step:first-child { min-height: 48vh; }
.step__meta { display: flex; gap: 14px; align-items: baseline; color: var(--graphite); margin-bottom: 14px; }
.step__n { color: var(--ink); font-weight: 600; }
.step h3 { margin-bottom: 14px; }
.step p { color: var(--graphite); margin: 0; max-width: 44ch; }
.step ul { list-style: none; margin-top: 18px; display: grid; gap: 8px; }
.step li { position: relative; padding-left: 18px; font-size: 0.97rem; }
.step li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 8px; height: 1px; background: currentColor; }
@media (max-width: 960px) {
  .approach__bench { grid-column: 1 / -1; top: var(--header-h); height: 34vh; z-index: 2; background: var(--paper-2); margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .approach__steps { grid-column: 1 / -1; }
  .step, .step:first-child { min-height: 0; padding-block: 44px; }
}

/* core review */
.review { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 48px; align-items: start; }
.review__photo { grid-column: 1 / span 6; position: sticky; top: calc(var(--header-h) + 32px); }
.review__body { grid-column: 8 / -1; }
.review__body .h2 { margin-bottom: 24px; }
.weeks { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); margin: 40px 0 36px; position: relative; }
.weeks::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--line); }
.weeks__fill { position: absolute; left: 0; top: 6px; height: 3px; width: 100%; background: var(--ink); transform-origin: 0 50%; transform: scaleX(1); border-radius: 3px; }
.js .weeks__fill { transform: scaleX(0); transition: transform 1.6s var(--ease-io); }
.js .weeks.is-in .weeks__fill { transform: scaleX(1); }
.weeks li { position: relative; padding-top: 30px; padding-right: 10px; }
.weeks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 11px; height: 11px; border-radius: 50%; background: var(--paper-2); box-shadow: inset 0 0 0 2px var(--ink); }
.weeks li:last-child::before { background: var(--ember); box-shadow: none; }
.weeks b { display: block; font-weight: 600; font-stretch: 106%; margin: 4px 0 4px; }
.weeks span:not(.mono) { color: var(--graphite); font-size: 0.92rem; line-height: 1.4; display: block; }
.deliver { list-style: none; border-top: 1px solid var(--line); margin-bottom: 36px; }
.deliver li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.deliver svg { width: 20px; height: 20px; margin-top: 3px; }
@media (max-width: 960px) {
  .review__photo, .review__body { grid-column: 1 / -1; position: static; }
  .weeks { grid-template-columns: 1fr 1fr; row-gap: 26px; }
  .weeks::before, .weeks__fill { display: none; }
}

/* audiences */
.audience { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 48px; align-items: center; }
.audience__list { grid-column: 1 / span 6; list-style: none; }
.audience__list li { padding: 24px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
.audience__list li:last-child { border-bottom: 1px solid var(--line); }
.audience__list h3 { font-size: 1.3rem; font-stretch: 106%; font-weight: 600; letter-spacing: -0.012em; }
.audience__list p { margin: 0; color: var(--graphite); max-width: 54ch; }
.audience__photo { grid-column: 8 / -1; }
@media (max-width: 960px) { .audience__list, .audience__photo { grid-column: 1 / -1; } }

/* principles */
.principles { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.principles li { padding: 28px 28px 8px 0; position: relative; }
.principles li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.principles h3 { font-size: 1.22rem; font-stretch: 106%; font-weight: 600; letter-spacing: -0.012em; margin-bottom: 10px; line-height: 1.2; }
.principles p { color: var(--graphite); margin: 0; font-size: 0.98rem; }
@media (max-width: 960px) {
  .principles { grid-template-columns: 1fr 1fr; }
  .principles li:nth-child(3) { padding-left: 0; border-left: 0; }
  .principles li:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .principles { grid-template-columns: 1fr; }
  .principles li, .principles li + li { padding-left: 0; border-left: 0; padding-right: 0; }
  .principles li + li { border-top: 1px solid var(--line); }
}

/* closing call to action (dark) */
.close { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 48px; align-items: center; }
.close__copy { grid-column: 1 / span 7; }
.close__copy .h2 { margin-bottom: 28px; font-size: clamp(2.2rem, 1.1rem + 4vw, 4.6rem); }
.close__copy .lead { color: var(--mist); margin-bottom: 36px; }
.close__lines { display: grid; gap: 6px; margin-bottom: 40px; }
.close__lines a { font-size: clamp(1.25rem, 1rem + 1.1vw, 1.9rem); font-stretch: 108%; font-weight: 520; letter-spacing: -0.015em; text-decoration: none; width: fit-content; background: linear-gradient(var(--ember), var(--ember)) 0 100% / 0 2px no-repeat; transition: background-size 0.6s var(--ease-out); padding-bottom: 2px; }
@media (hover: hover) { .close__lines a:hover { background-size: 100% 2px; } }
.close__photo { grid-column: 9 / -1; }
@media (max-width: 960px) { .close__copy, .close__photo { grid-column: 1 / -1; } .close__photo { max-width: 560px; } }

/* ---------- footer ---------- */
.site-footer { background: var(--vanta); color: var(--paper); padding-top: clamp(40px, 6vw, 80px); overflow: hidden; }
.site-footer__cols { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 36px; padding-bottom: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line-dark); padding-top: clamp(36px, 4vw, 56px); }
.site-footer h2 { font-size: 0.8rem; font-weight: 560; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mist); margin-bottom: 16px; font-stretch: 100%; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
@media (hover: hover) { .site-footer a:hover { color: var(--ember); } }
.f-about { grid-column: 1 / span 4; color: var(--mist); max-width: 34ch; }
.f-about .brand { color: var(--paper); margin-bottom: 18px; }
.f-pages { grid-column: 6 / span 2; }
.f-contact { grid-column: 8 / span 2; }
.f-office { grid-column: 10 / -1; }
.f-office address { font-style: normal; color: var(--paper); line-height: 1.55; }
.wordmark { display: block; font-size: clamp(3.2rem, 15.4vw, 15rem); font-stretch: 125%; font-weight: 700; letter-spacing: -0.055em; line-height: 0.8; white-space: nowrap; margin: 0; padding: 0 calc(max(0px, (100vw - var(--max)) / 2) + var(--gutter)) 0.03em; color: var(--paper); user-select: none; }
.wordmark .dot { color: var(--ember); }
.site-footer__legal { padding-block: 22px 26px; color: var(--mist); font-size: 0.85rem; border-top: 1px solid var(--line-dark); position: relative; z-index: 1; background: var(--vanta); }
.site-footer__legal .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px; }
@media (max-width: 960px) {
  .f-about { grid-column: 1 / -1; }
  .f-pages, .f-contact { grid-column: span 6; }
  .f-office { grid-column: 1 / -1; }
}

/* ---------- reveals: things come into focus ---------- */
.js .rv { opacity: 0; filter: blur(10px); transform: translateY(16px); }
.js .rv.is-in { opacity: 1; filter: blur(0); transform: none; transition: opacity 1s var(--ease-out), filter 1.1s var(--ease-out), transform 1.2s var(--ease-out); }
.js .hero__title .line { display: block; opacity: 0; filter: blur(14px); transform: translateY(0.18em); }
.js .hero__title.is-in .line { opacity: 1; filter: blur(0); transform: none; transition: opacity 1.1s var(--ease-out), filter 1.3s var(--ease-out), transform 1.3s var(--ease-out); }
.js .hero__title.is-in .line:nth-child(2) { transition-delay: 0.14s; }
.js .page-hero__title .line { display: block; opacity: 0; filter: blur(14px); transform: translateY(0.18em); }
.js .page-hero__title.is-in .line { opacity: 1; filter: blur(0); transform: none; transition: opacity 1.1s var(--ease-out), filter 1.3s var(--ease-out), transform 1.3s var(--ease-out); }
.js .page-hero__title.is-in .line:nth-child(2) { transition-delay: 0.14s; }

/* ---------- aperture page transition ---------- */
.aperture { position: fixed; inset: 0; z-index: 90; pointer-events: none; visibility: hidden; }
.aperture svg { width: 100%; height: 100%; }
.aperture.is-on { visibility: visible; pointer-events: auto; }
.aperture-in .aperture { visibility: visible; background: var(--vanta); animation: aperture-safety 0s linear 2.4s forwards; }
@keyframes aperture-safety { to { visibility: hidden; } }

/* ---------- services page ---------- */
.subnav { position: sticky; top: var(--header-h); z-index: 20; background: rgba(238, 240, 236, 0.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-block: 1px solid var(--line-soft); }
.subnav__in { display: flex; gap: clamp(16px, 3vw, 40px); overflow-x: auto; scrollbar-width: none; }
.subnav__in::-webkit-scrollbar { display: none; }
.subnav a { flex: none; position: relative; padding: 16px 0 15px; text-decoration: none; font-weight: 540; font-size: 0.95rem; color: var(--graphite); transition: color 0.3s var(--ease-out); }
.subnav a.is-on, .subnav a:hover { color: var(--ink); }
.subnav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ember); transform: scaleX(0.001); transform-origin: 0 50%; transition: transform 0.5s var(--ease-soft); }
.subnav a.is-on::after { transform: scaleX(1); }

.svc { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 40px; align-items: start; }
.svc + .svc { margin-top: var(--section); padding-top: var(--section); border-top: 1px solid var(--line); }
.svc__head { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 20px; align-items: end; }
.svc__head .h2 { grid-column: 1 / span 7; }
.svc__head .lead { grid-column: 9 / -1; margin: 0; }
.svc__photo { grid-column: 1 / span 5; position: sticky; top: calc(var(--header-h) + 80px); }
.svc__photo .photo__frame { aspect-ratio: 4 / 5; }
.svc--flip .svc__photo { grid-column: 8 / -1; grid-row: 2; }
.svc__cols { grid-column: 7 / -1; display: grid; gap: 36px; }
.svc--flip .svc__cols { grid-column: 1 / span 6; grid-row: 2; }
.svc__block h3 { font-size: 0.82rem; font-weight: 560; letter-spacing: 0.14em; text-transform: uppercase; color: var(--graphite); margin-bottom: 14px; font-stretch: 100%; }
.qs { list-style: none; display: grid; gap: 10px; }
.qs li { font-size: clamp(1.1rem, 1rem + 0.45vw, 1.35rem); font-stretch: 104%; font-weight: 500; letter-spacing: -0.01em; line-height: 1.3; padding-left: 26px; position: relative; }
.qs li::before { content: "?"; position: absolute; left: 0; top: 0; font-family: "Geist Mono", monospace; font-size: 0.8em; color: var(--ember-ink); font-weight: 500; }
.ticks { list-style: none; border-top: 1px solid var(--line); }
.ticks li { padding: 12px 0 12px 26px; border-bottom: 1px solid var(--line); position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 1.25em; width: 14px; height: 1px; background: var(--ink); }
.ticks li::after { content: ""; position: absolute; left: 11px; top: calc(1.25em - 2.5px); width: 6px; height: 6px; border-radius: 50%; background: var(--ember); }
.outcome { padding: 22px 24px; background: var(--white); border-radius: 14px; box-shadow: 0 1px 0 var(--line-soft), 0 18px 40px -28px rgba(11, 12, 15, 0.35); }
.outcome h3 { color: var(--ink); }
.outcome p { margin: 0; color: var(--graphite); }
@media (max-width: 960px) {
  .svc__head .h2, .svc__head .lead { grid-column: 1 / -1; }
  .svc__photo, .svc--flip .svc__photo, .svc__cols, .svc--flip .svc__cols { grid-column: 1 / -1; grid-row: auto; position: static; }
  .svc__photo .photo__frame { aspect-ratio: 3 / 2; }
}

/* lens group hero (services) */
.group { position: relative; height: clamp(220px, 30vw, 380px); margin-top: clamp(40px, 6vw, 72px); }
.group canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* issue tree */
.tree-wrap { position: relative; }
.tree { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1.2fr); column-gap: clamp(28px, 4vw, 64px); align-items: center; padding: 8px 0; }
.tree__col { display: grid; gap: 12px; position: relative; z-index: 1; }
.node { position: relative; background: var(--white); border-radius: 12px; padding: 14px 16px; box-shadow: 0 1px 0 var(--line-soft), 0 12px 28px -22px rgba(11, 12, 15, 0.4); transition: opacity 0.6s var(--ease-out), filter 0.6s var(--ease-out), transform 0.6s var(--ease-out), background-color 0.6s var(--ease-out); }
.node b { display: block; font-weight: 600; font-stretch: 104%; line-height: 1.25; }
.node .mono { display: block; color: var(--graphite); margin-top: 6px; line-height: 1.45; }
.node--q { background: var(--vanta); color: var(--paper); padding: 20px 20px; }
.node--q b { font-size: 1.2rem; }
.node--q .mono { color: var(--mist); }
.node--core { background: var(--ember); color: var(--vanta); padding: 20px 20px; }
.node--core b { font-size: 1.2rem; }
.node--core .mono { color: rgba(11, 12, 15, 0.72); }
.node__mark { position: absolute; right: 12px; top: 12px; width: 16px; height: 16px; }
.node--leaf b { padding-right: 22px; }
.tree__wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.tree__wires path { fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; transition: opacity 0.6s var(--ease-out), stroke 0.6s var(--ease-out); }
.tree__wires path.is-core { stroke: var(--ember); stroke-width: 2.4; }
.tree-stage-cap { display: flex; justify-content: space-between; gap: 16px; margin-top: 28px; color: var(--graphite); flex-wrap: wrap; }
.tree-stages { list-style: none; display: flex; gap: 8px; flex-wrap: wrap; }
.tree-stages li { padding: 6px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-size: 0.85rem; transition: background-color 0.4s var(--ease-out), color 0.4s var(--ease-out); }
.tree-stages li.is-on { background: var(--vanta); color: var(--paper); box-shadow: none; }
/* staged states (JS): s0 question, s1 branches, s2 evidence, s3 pruned, s4 core */
.js .tree[data-stage] .tree__col--b .node, .js .tree[data-stage] .tree__col--l .node, .js .tree[data-stage] .tree__col--c .node { opacity: 0; transform: translateX(-12px); filter: blur(6px); }
.js .tree[data-stage="1"] .tree__col--b .node,
.js .tree[data-stage="2"] .tree__col--b .node, .js .tree[data-stage="2"] .tree__col--l .node,
.js .tree[data-stage="3"] .tree__col--b .node, .js .tree[data-stage="3"] .tree__col--l .node,
.js .tree[data-stage="4"] .tree__col--b .node, .js .tree[data-stage="4"] .tree__col--l .node, .js .tree[data-stage="4"] .tree__col--c .node { opacity: 1; transform: none; filter: none; }
.js .tree .tree__col--l .node .mono { opacity: 0; transition: opacity 0.5s var(--ease-out); }
.js .tree[data-stage="2"] .tree__col--l .node .mono, .js .tree[data-stage="3"] .tree__col--l .node .mono, .js .tree[data-stage="4"] .tree__col--l .node .mono { opacity: 1; }
.tree[data-stage="3"] .tree__col .node.is-pruned, .tree[data-stage="4"] .tree__col .node.is-pruned, .js .tree[data-stage="3"] .tree__col .node.is-pruned, .js .tree[data-stage="4"] .tree__col .node.is-pruned { opacity: 0.4; filter: grayscale(1); }
.tree[data-stage="3"] .node.is-kept, .tree[data-stage="4"] .node.is-kept { box-shadow: inset 0 0 0 2px var(--ember), 0 12px 28px -22px rgba(11, 12, 15, 0.4); }
.node__mark { opacity: 0; transition: opacity 0.4s var(--ease-out); }
.tree[data-stage="3"] .node__mark, .tree[data-stage="4"] .node__mark, .no-js .node__mark, .reduced .node__mark { opacity: 1; }
@media (max-width: 960px) {
  .tree { grid-template-columns: 1fr; row-gap: 44px; }
  .tree__col--b { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tree__col--l { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .tree__col--b { grid-template-columns: 1fr; }
  .tree__col--l { grid-template-columns: 1fr; }
}

/* engagement formats: a ruler of months */
.formats { position: relative; }
.ruler { display: grid; grid-template-columns: minmax(180px, 1.1fr) minmax(0, 3fr); column-gap: 24px; }
.ruler__scale { grid-column: 2; display: grid; grid-template-columns: repeat(12, 1fr); color: var(--graphite); border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.ruler__scale span { position: relative; }
.ruler__scale span::after { content: ""; position: absolute; left: 0; bottom: -11px; width: 1px; height: 6px; background: var(--line); }
.format { display: contents; }
.format__name { grid-column: 1; padding: 22px 0; border-bottom: 1px solid var(--line-soft); }
.format__name h3 { font-size: 1.18rem; font-stretch: 106%; font-weight: 600; letter-spacing: -0.01em; }
.format__name p { margin: 4px 0 0; color: var(--graphite); font-size: 0.93rem; line-height: 1.45; }
.format__track { grid-column: 2; position: relative; border-bottom: 1px solid var(--line-soft); background-image: linear-gradient(to right, var(--line-soft) 1px, transparent 1px); background-size: calc(100% / 12) 100%; }
.format__bar { position: absolute; top: 50%; height: 34px; margin-top: -17px; left: calc(var(--from) / 12 * 100%); width: calc((var(--to) - var(--from)) / 12 * 100%); border-radius: 999px; background: var(--vanta); color: var(--paper); display: flex; align-items: center; padding: 0 14px; white-space: nowrap; overflow: hidden; transform-origin: 0 50%; }
.format__bar .mono { color: var(--paper); }
.format__bar--core { background: var(--ember); color: var(--vanta); min-width: 112px; }
.format__bar--core .mono { color: var(--vanta); }
.format__bar--open { background: repeating-linear-gradient(90deg, var(--vanta) 0 18px, transparent 18px 26px); color: var(--ink); }
.format__bar--open .mono { background: var(--paper-2); color: var(--ink); padding: 3px 8px; border-radius: 999px; }
.js .format__bar { transform: scaleX(0); }
.js .formats.is-in .format__bar { transform: none; transition: transform 1.2s var(--ease-out); }
.js .formats.is-in .format:nth-of-type(2) .format__bar { transition-delay: 0.15s; }
.js .formats.is-in .format:nth-of-type(3) .format__bar { transition-delay: 0.3s; }
.js .formats.is-in .format:nth-of-type(4) .format__bar { transition-delay: 0.45s; }
@media (max-width: 760px) {
  .ruler { grid-template-columns: 1fr; }
  .ruler__scale { grid-column: 1; }
  .ruler__scale span:nth-child(even) { visibility: hidden; }
  .format__name { grid-column: 1; border-bottom: 0; padding-bottom: 8px; }
  .format__track { grid-column: 1; height: 56px; }
  .format__bar--short { overflow: visible; }
  .format__bar--short .mono { position: absolute; left: calc(100% + 10px); color: var(--ink); }
}

/* faq */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem); font-stretch: 106%; font-weight: 560; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq__icon { flex: none; width: 36px; height: 36px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); position: relative; transition: background-color 0.35s var(--ease-out), transform 0.5s var(--ease-soft); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; margin: -0.8px 0 0 -6px; background: currentColor; border-radius: 2px; transition: transform 0.5s var(--ease-soft); }
.faq__icon::after { transform: rotate(90deg); }
.faq details[open] .faq__icon { background: var(--ember); box-shadow: none; transform: rotate(180deg); }
.faq details[open] .faq__icon::after { transform: rotate(0deg); }
.faq__a { padding: 0 0 26px; max-width: 70ch; color: var(--graphite); overflow: hidden; }
.faq__a p:last-child { margin: 0; }

/* ---------- contact page ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(40px, 6vw, 72px); }
.ccard { position: relative; background: var(--white); border-radius: 18px; padding: 26px 26px 24px; min-height: 196px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; box-shadow: 0 1px 0 var(--line-soft), 0 24px 50px -36px rgba(11, 12, 15, 0.4); }
.ccard__label { color: var(--graphite); display: flex; justify-content: space-between; gap: 12px; }
.ccard__value { font-size: clamp(1.15rem, 0.95rem + 0.9vw, 1.6rem); font-stretch: 106%; font-weight: 580; letter-spacing: -0.015em; line-height: 1.2; text-decoration: none; overflow-wrap: anywhere; }
.ccard__value:hover { color: var(--ember-ink); }
.ccard__row { display: flex; gap: 10px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: transparent; border: 0; box-shadow: inset 0 0 0 1px var(--line); font-size: 0.88rem; font-weight: 540; cursor: pointer; text-decoration: none; color: var(--ink); transition: background-color 0.3s var(--ease-out); }
.chip svg { width: 14px; height: 14px; }
@media (hover: hover) { .chip:hover { background: rgba(21, 23, 27, 0.06); } }
.chip.is-done { background: var(--vanta); color: var(--paper); box-shadow: none; }
.ccard--dark { background: var(--vanta); color: var(--paper); }
.ccard--dark .ccard__label { color: var(--mist); }
.ccard--dark .chip { color: var(--paper); box-shadow: inset 0 0 0 1px var(--line-dark); }
@media (max-width: 960px) { .contact-cards { grid-template-columns: 1fr; } .ccard { min-height: 0; } }

.brief { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 48px; align-items: start; }
.brief__side { grid-column: 1 / span 4; position: sticky; top: calc(var(--header-h) + 32px); }
.brief__side .h2 { margin-bottom: 20px; }
.brief__meter { margin-top: 32px; background: var(--white); border-radius: 16px; padding: 16px 16px 14px; box-shadow: 0 1px 0 var(--line-soft), 0 24px 50px -36px rgba(11, 12, 15, 0.4); }
.brief__meter canvas { width: 100%; height: 150px; }
.brief__meter p { display: flex; justify-content: space-between; margin: 10px 2px 0; color: var(--graphite); }
.brief__form { grid-column: 6 / -1; }
.field { display: grid; gap: 8px; margin-bottom: 22px; align-content: start; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.field label, .field legend { font-weight: 560; font-size: 0.95rem; }
.field .opt { color: var(--graphite); font-weight: 400; }
.input, .textarea, .select {
  width: 100%; background: var(--white); border: 0; border-radius: 12px; padding: 14px 16px; font-size: 1rem;
  box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 0.3s var(--ease-out);
  caret-color: var(--ember);
}
.input::placeholder, .textarea::placeholder { color: #6b7176; }
.input:focus, .textarea:focus, .select:focus { outline: none; box-shadow: inset 0 0 0 2px var(--ink); }
.input[aria-invalid="true"], .textarea[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--ember-ink); }
.textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%2315171b' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 40px; }
fieldset.field { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; font-size: 0.95rem; transition: background-color 0.3s var(--ease-out), color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out); background: var(--white); }
.pill span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--line); transition: background-color 0.3s var(--ease-out); }
.pill input:checked + span { background: var(--vanta); color: var(--paper); box-shadow: none; }
.pill input:checked + span::before { background: var(--ember); }
.pill input:focus-visible + span { outline: 2px solid var(--ember); outline-offset: 2px; }
.error { color: var(--ember-ink); font-size: 0.9rem; min-height: 0; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 8px; }
.form-foot p { margin: 0; color: var(--graphite); font-size: 0.9rem; max-width: 46ch; }
.form-status { margin-top: 18px; padding: 16px 18px; border-radius: 12px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); display: none; }
.form-status.is-on { display: block; }
@media (max-width: 960px) {
  .brief__side, .brief__form { grid-column: 1 / -1; position: static; }
}
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

.findus { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 40px; align-items: stretch; }
.findus__map { grid-column: 1 / span 8; position: relative; border-radius: 18px; overflow: hidden; background: #e6eae6; min-height: 420px; }
.findus__map .map__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.findus__side { grid-column: 9 / -1; display: flex; flex-direction: column; gap: 24px; }
.findus__side .photo__frame { aspect-ratio: 3 / 2; }
.walks { list-style: none; border-top: 1px solid var(--line); }
.walks li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.walks b { font-weight: 560; }
@media (max-width: 960px) { .findus__map, .findus__side { grid-column: 1 / -1; } .findus__map { min-height: 0; aspect-ratio: 1 / 1; } }

.map__road { font-family: "Mona Sans", sans-serif; font-size: 9.5px; font-weight: 620; letter-spacing: 1.2px; fill: #7b8481; font-stretch: 110%; }
.map__park { font-family: "Mona Sans", sans-serif; font-size: 10px; font-weight: 560; fill: #6c7a6f; }
.map__st-name { font-family: "Mona Sans", sans-serif; font-size: 13px; font-weight: 680; fill: var(--ink); font-stretch: 106%; }
.map__st-sub { font-family: "Geist Mono", monospace; font-size: 9.5px; fill: var(--graphite); }
.map__office-name { font-family: "Mona Sans", sans-serif; font-size: 13.5px; font-weight: 680; fill: var(--paper); font-stretch: 108%; }
.map__office-sub { font-family: "Geist Mono", monospace; font-size: 9.5px; fill: #c9cfcb; }
.map__scale, .map__credit { font-family: "Geist Mono", monospace; font-size: 9px; fill: var(--graphite); }
.js .map__route { stroke-dasharray: var(--len, 2000); stroke-dashoffset: var(--len, 2000); }
.js .findus__map.is-in .map__route { stroke-dashoffset: 0; transition: stroke-dashoffset 2.2s var(--ease-io); transition-delay: calc(var(--i) * 0.18s); }
.js .map__st { opacity: 0; transition: opacity 0.6s var(--ease-out); transition-delay: calc(var(--i) * 0.18s); }
.js .findus__map.is-in .map__st { opacity: 1; }
.map__pulse { transform-box: fill-box; transform-origin: center; }
.findus__map.is-in .map__pulse { animation: pulse 2.8s var(--ease-out) 2.2s infinite; }
@keyframes pulse { 0% { transform: scale(0.4); opacity: 0.5; } 100% { transform: scale(1.6); opacity: 0; } }

.registry { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.registry div { padding: 20px 20px 20px 0; }
.registry div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.registry dt { color: var(--graphite); margin-bottom: 6px; }
.registry dd { margin: 0; font-weight: 540; }
@media (max-width: 860px) { .registry { grid-template-columns: 1fr 1fr; } .registry div:nth-child(3) { padding-left: 0; border-left: 0; } .registry div:nth-child(n + 3) { border-top: 1px solid var(--line); } }

/* ---------- 404 ---------- */
.lost { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: var(--header-h); }
.lost__bench { height: clamp(200px, 32vh, 340px); margin-block: 32px; position: relative; }
.lost__bench canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------- reduced motion / static ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .rv, .ap img, .format__bar, .weeks__fill, .map__route, .menu, .menu__list li, .discipline__title, .btn__knob, .peek { transition-duration: 0.001ms !important; }
}
.reduced .rv, .reduced .hero__title .line, .reduced .page-hero__title .line { opacity: 1 !important; filter: none !important; transform: none !important; }
.reduced .ap .photo__frame img { clip-path: none !important; }
.reduced .format__bar, .reduced .weeks__fill { transform: none !important; }
.reduced .map__route { stroke-dashoffset: 0 !important; }
.reduced .map__st { opacity: 1 !important; }

/* issue tree pinned while it grows (wide, tall-enough screens with motion) */
@media (min-width: 961px) and (min-height: 820px) {
  .js:not(.reduced) .tree-scroller { height: 290vh; }
  .js:not(.reduced) .tree-sticky { position: sticky; top: calc(var(--header-h) + 52px); min-height: calc(100vh - var(--header-h) - 52px); display: flex; flex-direction: column; justify-content: center; padding-block: 24px; }
  .js:not(.reduced) .tree-sticky .section__head { margin-bottom: 32px; }
  .js:not(.reduced) .tree-sticky .section__head .h2 { grid-column: 1 / span 5; }
  .js:not(.reduced) .tree-sticky .section__head .lead { grid-column: 7 / -1; max-width: none; }
  #method.section { padding-block: clamp(40px, 5vw, 80px); }
}
.tree__col--l .node { padding: 10px 14px; }
.tree__col--l .node .mono { margin-top: 3px; }

/* mobile hero: the bench sits between the headline and the words */
@media (max-width: 860px) {
  .hero { padding-top: calc(var(--header-h) + 28px); }
  .hero__copy { display: contents; }
  .hero__title, .hero__lead, .hero__cta { padding-inline: var(--gutter); }
  .hero__title { order: 1; }
  .hero__bench { order: 2; min-height: clamp(200px, 30vh, 300px); flex: 1 1 auto; margin-block: 18px 22px; max-height: 46vh; }
  .hero__lead { order: 3; margin-bottom: 24px; }
  .hero__cta { order: 4; margin-bottom: 36px; align-self: stretch; }
  .hero > .wrap:last-child { order: 5; }
}

.node__tag { display: none; }
@media (max-width: 960px) {
  .tree__wires { display: none; }
  .tree { row-gap: 20px; }
  .tree__col--b::before, .tree__col--l::before, .tree__col--c::before { grid-column: 1 / -1; font-family: "Geist Mono", monospace; font-size: var(--fs-mono); color: var(--graphite); margin-top: 18px; }
  .tree__col--b::before { content: "Three places to look"; }
  .tree__col--l::before { content: "What the evidence says"; }
  .tree__col--c::before { content: "The core"; color: var(--ember-ink); }
  .node__tag { display: inline-block; font-style: normal; font-family: "Geist Mono", monospace; font-size: 0.68rem; color: var(--graphite); margin-bottom: 4px; letter-spacing: 0.04em; text-transform: uppercase; }
}
