/* ==========================================================================
   Manivest — website preview
   Editorial, scroll-driven layout. Brand: ink + Manivest red on warm paper.
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("../assets/fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../assets/fonts/instrument-serif.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../assets/fonts/instrument-serif-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f7f5f1;
  --paper-2: #efebe5;
  --paper-3: #e3ded6;
  --ink: #131313;
  --ink-2: #57524c;
  --ink-3: #6e6861;
  --line: rgba(19, 19, 19, 0.14);
  --line-light: rgba(244, 239, 230, 0.18);
  --ivory: #f4efe6;
  --ivory-2: rgba(244, 239, 230, 0.66);
  --red: #c3161f;
  --red-hot: #e0252e;
  --oxblood: #4f0d13;
  --stone: #d6cdbf;

  --sans: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, "Times New Roman", serif;

  --gutter: clamp(16px, 2.2vw, 36px);
  --section: clamp(88px, 10vw, 168px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--red); color: var(--ivory); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
/* focus rings stay visible on every surface */
[data-theme="dark"] :focus-visible, .menu :focus-visible, .welcome :focus-visible,
.stack-card--red :focus-visible, .stack-card--ink :focus-visible, .stack-card--ox :focus-visible,
.p-card--red :focus-visible, .p-card--ox :focus-visible, .p-card:not([class*="--"]) :focus-visible { outline-color: var(--ivory); }
.door:focus-visible { outline-color: var(--ink); outline-offset: 4px; }

.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-link {
  position: fixed; top: 10px; left: 10px; z-index: 200;
  padding: 10px 14px; background: var(--ink); color: var(--ivory);
  text-decoration: none; transform: translateY(-160%); transition: transform 0.3s var(--ease);
}
.skip-link:focus { transform: none; }

.wrap { padding-inline: var(--gutter); }
.section { padding-block: var(--section); }

/* ---------- Type helpers ---------- */
.label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: inherit;
}
.label::before { content: "("; }
.label::after { content: ")"; }
.eyebrow {
  font-size: 0.6875rem;
  font-weight: 500;
  font-stretch: 125%;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.display {
  font-weight: 500;
  font-stretch: 112%;
  letter-spacing: -0.045em;
  line-height: 0.92;
}
.h1 { font-size: clamp(2.9rem, 7.2vw, 8.2rem); }
.h2 { font-size: clamp(2.1rem, 4.2vw, 4.6rem); }
.h3 { font-size: clamp(1.7rem, 3vw, 3rem); }
.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }
.muted { color: var(--ink-2); }
.red { color: var(--red); }
.split-line-mask { padding-block: 0.08em 0.14em; margin-block: -0.08em -0.14em; } /* room for descenders */

.statement-text {
  font-size: clamp(1.55rem, 3vw, 3.05rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.12;
  max-width: 24em;
}
/* first-line indent as an inline spacer, so split words/lines don't each inherit it */
.statement-text::before { content: ""; display: inline-block; width: clamp(0px, 9vw, 160px); }
.statement-text em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }

.lede { font-size: clamp(1.02rem, 1.25vw, 1.2rem); line-height: 1.5; max-width: 34em; }
.small { font-size: 0.8125rem; line-height: 1.55; }

/* Arrow links & buttons */
.link-arrow {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-size: 0.9375rem; font-weight: 500; text-decoration: none;
  padding-bottom: 6px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size 0.5s var(--ease), color 0.3s;
}
.link-arrow .arr { display: inline-block; transition: transform 0.5s var(--ease); }
.link-arrow:hover { background-size: 30% 1px; }
.link-arrow:hover .arr { transform: translate(3px, -3px); }

.btn {
  --b: var(--ink); --f: var(--ivory);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 54px; padding: 0 24px;
  background: var(--b); color: var(--f);
  border: 0; border-radius: 3px;
  font-size: 0.9375rem; font-weight: 500; text-decoration: none;
  transition: color 0.4s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--red);
  transform: translateY(101%);
  transition: transform 0.55s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn .arr { transition: transform 0.5s var(--ease); }
.btn:hover .arr { transform: translate(3px, -3px); }
.btn--light { --b: var(--ivory); --f: var(--ink); }
.btn--light:hover { color: var(--ivory); }
.btn--ghost { --b: transparent; --f: currentColor; box-shadow: inset 0 0 0 1px currentColor; }
.btn--ghost:hover { color: var(--ivory); box-shadow: inset 0 0 0 1px var(--red); }

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 11px;
  border: 1px solid currentColor; border-radius: 2px;
  font-size: 0.625rem; font-weight: 500; font-stretch: 125%;
  letter-spacing: 0.16em; text-transform: uppercase; line-height: 1;
}

/* ---------- Emblem (built from the 9 logo petals) ---------- */
.emblem {
  position: relative;
  aspect-ratio: 1200 / 1188;
  width: 100%;
}
/* static fallback only when scripts can't build the petals */
html:not(.js) .emblem { background: url("../assets/brand/emblem.png") center / contain no-repeat; }
.emblem.is-built { background: none; }
.petal { position: absolute; display: block; will-change: transform; }
.petal img { width: 100%; height: 100%; object-fit: contain; }
.petal-glow { filter: drop-shadow(0 10px 18px rgba(130, 8, 16, 0.25)); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: var(--header-h);
  padding-inline: var(--gutter);
  color: var(--ink);
  pointer-events: none;
  transition: transform 0.7s var(--ease), color 0.35s ease, background-color 0.35s ease;
}
.site-header a { pointer-events: auto; }
.site-header.is-solid { background: rgba(247, 245, 241, 0.84); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.site-header.is-solid.is-dark { background: rgba(19, 19, 19, 0.8); }
.site-header.is-hidden { transform: translateY(-110%); }
.hdr-nav { display: flex; gap: clamp(16px, 2.2vw, 34px); font-size: 0.8125rem; font-weight: 500; }
.hdr-nav--right { justify-content: flex-end; }
.hdr-nav a {
  text-decoration: none; padding-block: 6px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 0.5s var(--ease);
}
.hdr-nav a:hover, .hdr-nav a[aria-current="page"] { background-size: 100% 1px; }
.hdr-logo { position: relative; display: block; width: clamp(128px, 12vw, 176px); }
.hdr-logo img { width: 100%; transition: opacity 0.35s ease; }
.hdr-logo .logo-ivory { position: absolute; inset: 0; opacity: 0; }
.site-header.is-dark { color: var(--ivory); }
.site-header.is-dark .logo-ink { opacity: 0; }
.site-header.is-dark .logo-ivory { opacity: 1; }

/* ---------- Dock (bottom right) ---------- */
.dock {
  position: fixed; right: var(--gutter); bottom: var(--gutter); z-index: 60;
  display: flex; gap: 8px; align-items: stretch;
}
.dock-pill {
  display: inline-flex; align-items: center; gap: 12px;
  height: 46px; padding: 0 18px;
  background: rgba(247, 245, 241, 0.88);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid var(--line); border-radius: 3px;
  color: var(--ink); font-size: 0.8125rem; font-weight: 500; text-decoration: none;
  transition: background 0.35s, color 0.35s, border-color 0.35s;
}
.dock-pill:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.dock-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.dock-dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 1px solid var(--red); animation: ping 2.2s var(--ease) infinite;
}
@keyframes ping { 0% { transform: scale(0.4); opacity: 1; } 80%, 100% { transform: scale(1.8); opacity: 0; } }
.dock-menu {
  display: grid; place-items: center; width: 46px; height: 46px;
  background: var(--ink); color: var(--ivory); border: 0; border-radius: 3px;
  transition: background 0.35s;
}
.dock-menu { box-shadow: inset 0 0 0 1px rgba(244, 239, 230, 0.22); }
.dock-menu:hover { background: var(--red); }
.dock-menu i { display: block; width: 16px; height: 1.5px; background: currentColor; transition: transform 0.5s var(--ease); }
.dock-menu i + i { margin-top: 5px; width: 10px; justify-self: start; }
.dock-menu span { display: grid; }
.dock-menu:hover i + i { transform: translateX(6px); }

/* ---------- Menu overlay ---------- */
.menu {
  position: fixed; inset: 0; z-index: 70;
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 4vw;
  padding: calc(var(--header-h) + 4vh) var(--gutter) var(--gutter);
  background: var(--ink); color: var(--ivory);
  visibility: hidden; clip-path: inset(0 0 100% 0);
  overflow-y: auto;
}
.menu.is-open { visibility: visible; }
.menu-links { display: flex; flex-direction: column; justify-content: center; }
.menu-links a {
  display: flex; align-items: baseline; gap: 18px;
  padding-block: 0.08em;
  font-size: clamp(2.4rem, 6.4vw, 6.6rem); font-weight: 500; font-stretch: 112%;
  letter-spacing: -0.045em; line-height: 1; text-decoration: none;
  overflow: hidden;
}
.menu-links a span:last-child { display: inline-block; transition: transform 0.6s var(--ease), color 0.3s; }
.menu-links a:hover span:last-child { transform: translateX(0.18em); color: var(--red-hot); }
.menu-links small { font-size: 0.75rem; font-weight: 500; letter-spacing: 0; font-stretch: 100%; color: var(--ivory-2); min-width: 2.4em; }
.menu-side { display: flex; flex-direction: column; justify-content: flex-end; gap: 28px; font-size: 0.9375rem; }
.menu-side a { text-decoration: none; }
.menu-side a:hover { color: var(--red-hot); }
.menu-side .label { color: var(--ivory-2); margin-bottom: 8px; }
.menu-close {
  position: absolute; top: 18px; right: var(--gutter);
  display: inline-flex; align-items: center; gap: 10px;
  height: 40px; padding: 0 14px; border: 1px solid var(--line-light); border-radius: 3px;
  background: transparent; color: var(--ivory); font-size: 0.8125rem;
}
.menu-close:hover { border-color: var(--red-hot); color: var(--red-hot); }
.menu-brand { position: absolute; top: 22px; left: var(--gutter); width: 150px; }

/* ---------- Loader & page curtain ---------- */
.loader, .curtain { display: none; }
html.show-loader .loader {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  background: var(--paper);
}
.loader-emblem { width: clamp(120px, 15vw, 210px); }
.loader-foot {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: var(--gutter);
  display: flex; justify-content: space-between; align-items: flex-end;
  font-size: 0.75rem; font-weight: 500;
}
.loader-count {
  font-size: clamp(3rem, 8vw, 7.5rem); font-weight: 500; font-stretch: 112%;
  letter-spacing: -0.05em; line-height: 0.8; font-variant-numeric: tabular-nums;
}
.curtain {
  position: fixed; inset: 0; z-index: 95;
  display: grid; place-items: center;
  background: var(--ink);
  transform: translateY(100%);
  pointer-events: none;
}
html.js .curtain { display: grid; }
html.show-curtain .curtain { transform: none; }
.curtain .emblem { width: 64px; }
html.show-loader body, html.show-curtain body { overflow: hidden; }

/* ---------- Welcome note ---------- */
.welcome {
  position: fixed; left: var(--gutter); bottom: 64px; z-index: 58;
  width: min(360px, calc(100vw - 2 * var(--gutter)));
  padding: 18px 18px 16px;
  background: var(--ink); color: var(--ivory);
  border-radius: 4px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.35);
  font-size: 0.8125rem; line-height: 1.5;
  opacity: 0; transform: translateY(16px); visibility: hidden;
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), visibility 0.6s;
}
.welcome.is-shown { opacity: 1; transform: none; visibility: visible; }
.welcome .eyebrow { color: var(--ivory-2); display: block; margin-bottom: 8px; }
.welcome p + p { margin-top: 10px; }
.welcome a { color: var(--ivory); font-weight: 500; }
.welcome-close {
  position: absolute; top: 10px; right: 10px; width: 30px; height: 30px;
  display: grid; place-items: center;
  background: transparent; border: 0; color: var(--ivory-2); font-size: 18px; line-height: 1;
}
.welcome-close:hover { color: var(--ivory); }

/* ==========================================================================
   HOME
   ========================================================================== */

/* Intro stage: hero shrinks into a card, the four doors rise */
.intro { position: relative; background: var(--paper-3); }
.hero {
  position: relative; z-index: 2;
  height: 100vh; height: 100svh; min-height: 580px;
  background: var(--paper);
  overflow: hidden;
  transform-origin: 50% 50%;
}
.hero-marquee {
  position: absolute; left: 0; right: 0; top: 56%;
  transform: translateY(-50%);
  padding-block: 0.2em 0.24em;
  border-block: 1px solid var(--line);
  font-size: clamp(2.6rem, 5.6vw, 6.4rem);
  font-weight: 500; font-stretch: 110%; letter-spacing: -0.045em; line-height: 1;
  color: var(--ink);
}
.marquee-item .sep { display: inline-block; flex: none; width: 0.42em; height: 0.42em; margin-inline: 0.5em; }
.marquee-item .sep img { width: 100%; height: 100%; object-fit: contain; }
.hero-tile {
  position: absolute; left: 50%; top: 33%; z-index: 2;
  width: clamp(120px, 13vw, 220px); aspect-ratio: 1;
  transform: translate(-50%, -50%);
  display: grid; place-items: center;
  cursor: pointer;
}
.hero-tile .emblem { width: 92%; }
.hero-foot {
  position: absolute; left: 50%; bottom: 13vh; transform: translateX(-50%);
  width: min(560px, calc(100% - 2 * var(--gutter)));
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  text-align: center;
}
.hero-foot .lede { font-weight: 500; font-size: clamp(0.98rem, 1.2vw, 1.15rem); line-height: 1.4; }
.hero-meta {
  position: absolute; left: var(--gutter); bottom: 24px;
  display: flex; gap: 28px; font-size: 0.75rem; font-weight: 500;
}
.hero-meta .scroll-cue { color: var(--ink-3); }

.intro-doors { position: relative; z-index: 1; }
.door {
  --c: var(--red); --t: var(--ivory);
  position: relative;
  display: grid; grid-template-rows: auto 1fr auto auto;
  height: 100%;
  padding: 18px 18px 0;
  background: var(--c); color: var(--t);
  border-radius: 4px; overflow: hidden;
  text-decoration: none;
}
.door--ink { --c: var(--ink); }
.door--ox { --c: var(--oxblood); }
.door--stone { --c: var(--stone); --t: var(--ink); }
.door-top { display: flex; justify-content: space-between; align-items: center; font-size: 0.75rem; font-weight: 500; }
.door-top .door-arr { font-size: 1.1rem; transition: transform 0.6s var(--ease); }
.door-title {
  justify-self: end; align-self: start;
  margin-top: 14px;
  writing-mode: vertical-rl;
  font-size: clamp(2.4rem, 3.9vw, 4.6rem); font-weight: 500; font-stretch: 108%;
  letter-spacing: -0.04em; line-height: 0.9;
  transition: transform 0.7s var(--ease);
}
.door-copy { align-self: end; max-width: 15em; padding-bottom: 16px; font-size: 0.8125rem; line-height: 1.45; opacity: 0.86; }
.door-foot {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
  margin-inline: -18px; padding: 16px 18px 18px;
  background: rgba(0, 0, 0, 0.2);
  min-height: 30%;
  transition: background 0.5s;
}
.door--stone .door-foot { background: rgba(19, 19, 19, 0.07); }
.door-big { font-size: clamp(3.2rem, 5.6vw, 6.4rem); font-weight: 500; font-stretch: 112%; letter-spacing: -0.06em; line-height: 0.78; }
.door-foot span:last-child { font-size: 0.75rem; text-align: right; line-height: 1.35; opacity: 0.86; }
.door:hover .door-title { transform: translateY(10px); }
.door:hover .door-arr { transform: rotate(45deg); }
.door:hover .door-foot { background: rgba(0, 0, 0, 0.32); }
.door--stone:hover .door-foot { background: rgba(19, 19, 19, 0.12); }

/* static layout (phones, reduced motion, no JS) */
.intro-doors {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 340px); gap: 10px;
  padding: 10px var(--gutter) 10px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.intro-doors::-webkit-scrollbar { display: none; }
.intro-doors .door { height: 470px; scroll-snap-align: start; }

/* pinned layout (desktop with motion) */
.intro.is-pinned { height: 100vh; overflow: hidden; }
.intro.is-pinned .hero { position: absolute; inset: 0; height: 100%; will-change: transform, clip-path; }
.intro.is-pinned .intro-doors {
  position: absolute; left: var(--gutter); right: var(--gutter); top: 11vh; height: 63vh;
  display: grid; grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); gap: 1.4vw;
  padding: 0; overflow: visible;
}
.intro.is-pinned .intro-doors .door { height: 100%; }

/* Statement */
.statement { display: grid; grid-template-columns: 1fr 3fr; gap: 24px; align-items: start; }
.statement .label { padding-top: 0.9em; }
.statement-body { display: flex; flex-direction: column; gap: 44px; align-items: flex-start; }

/* Values (pinned, dark) */
.values { position: relative; background: var(--ink); color: var(--ivory); }
.values-inner {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 5vw;
  padding: var(--section) var(--gutter);
}
.values-art { display: grid; place-items: center; }
.values-art .emblem { width: min(34vw, 62vh, 520px); }
.values.is-pinned .petal { transition: opacity 0.7s var(--ease), filter 0.7s var(--ease); }
.values.is-pinned .petal { opacity: 0.12; filter: grayscale(1) brightness(2.4); }
.values.is-pinned .petal.is-lit { opacity: 1; filter: drop-shadow(0 0 28px rgba(224, 37, 46, 0.35)); }
.values-copy { display: flex; flex-direction: column; gap: 28px; }
.values-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.values-head .label { color: var(--ivory-2); }
.values-count { font-size: 0.8125rem; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--ivory-2); }
.values-count b { color: var(--ivory); font-weight: 500; }
.v-window { position: relative; }
.v-list { display: grid; gap: 22px 32px; grid-template-columns: 1fr; }
.v-item { display: grid; grid-template-columns: 2.4rem 1fr; column-gap: 12px; border-top: 1px solid var(--line-light); padding-top: 14px; }
.v-num { font-size: 0.75rem; font-weight: 500; color: var(--ivory-2); padding-top: 0.5em; }
.v-name { font-size: clamp(1.8rem, 3.2vw, 3.2rem); font-weight: 500; font-stretch: 110%; letter-spacing: -0.04em; line-height: 1.05; }
.v-text { grid-column: 2; margin-top: 6px; font-size: 0.9375rem; color: var(--ivory-2); max-width: 30em; }
.values-foot { font-family: var(--serif); font-size: clamp(1.3rem, 1.8vw, 1.75rem); line-height: 1.2; color: var(--ivory-2); }
.values-foot em { color: var(--ivory); }

.values.is-pinned .values-inner { height: 100vh; padding-block: calc(var(--header-h) + 2vh) 6vh; }
.values.is-pinned .v-window {
  --fs: clamp(2.8rem, 5.6vw, 6.2rem);
  font-size: var(--fs);
  height: 3.3em; overflow: hidden;
  -webkit-mask-image: linear-gradient(transparent, #000 32%, #000 68%, transparent);
  mask-image: linear-gradient(transparent, #000 32%, #000 68%, transparent);
}
.values.is-pinned .v-list { display: block; padding-top: 1.1em; will-change: transform; }
.values.is-pinned .v-item { display: block; border: 0; padding: 0; height: 1.1em; }
.values.is-pinned .v-num { display: none; }
/* description stays available to screen readers; the visible copy is .v-desc */
.values.is-pinned .v-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.values.is-pinned .v-name { display: block; font-size: 1em; line-height: 1.1em; opacity: 0.16; transition: opacity 0.4s ease, color 0.4s ease; }
.values.is-pinned .v-item.is-active .v-name { opacity: 1; }
.v-desc { display: none; min-height: 3.2em; font-size: clamp(1rem, 1.25vw, 1.2rem); color: var(--ivory-2); max-width: 28em; }
.values.is-pinned .v-desc { display: block; }

/* Numbers */
.numbers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 24px; margin-top: 56px; }
.stat { border-top: 1px solid var(--line); padding-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.stat b { font-size: clamp(4rem, 9.5vw, 10rem); font-weight: 500; font-stretch: 112%; letter-spacing: -0.06em; line-height: 0.85; font-variant-numeric: tabular-nums; }
.stat span { font-size: 0.8125rem; font-weight: 500; color: var(--ink-2); }
.section-head { display: grid; grid-template-columns: 1fr 3fr; gap: 24px; align-items: end; }
.section-head .label { align-self: start; padding-top: 0.6em; }
.section-head-main { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }

/* Services list */
.svc-list { margin-top: 64px; border-bottom: 1px solid var(--line); }
.svc-row {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: 4.5rem 1fr minmax(0, 14rem) 6rem 2rem; align-items: center; gap: 16px;
  padding: 26px 12px;
  border-top: 1px solid var(--line);
  text-decoration: none;
  transition: color 0.45s var(--ease), padding 0.6s var(--ease);
}
.svc-row::before {
  content: ""; position: absolute; inset: -1px 0 0; z-index: -1;
  background: var(--red);
  transform: scaleY(0); transform-origin: 50% 100%;
  transition: transform 0.55s var(--ease);
}
.svc-row:hover, .svc-row:focus-visible { color: var(--ivory); padding-left: 28px; }
.svc-row:hover::before, .svc-row:focus-visible::before { transform: none; }
.svc-num { font-size: 0.75rem; font-weight: 500; }
.svc-name { font-size: clamp(1.4rem, 2.7vw, 2.75rem); font-weight: 500; font-stretch: 106%; letter-spacing: -0.035em; line-height: 1.05; }
.svc-tag { font-size: 0.8125rem; opacity: 0.75; }
.svc-price { font-size: 1.05rem; font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; }
.svc-arr { justify-self: end; transition: transform 0.5s var(--ease); }
.svc-row:hover .svc-arr { transform: rotate(45deg); }
.hover-card { position: fixed; left: 0; top: 0; z-index: 40; width: 280px; pointer-events: none; }
.hover-card-in {
  padding: 18px;
  background: var(--ink); color: var(--ivory); border-radius: 4px;
  font-size: 0.8125rem; line-height: 1.5;
  opacity: 0; transform: scale(0.85); transform-origin: 0 0;
  transition: opacity 0.3s ease, transform 0.4s var(--ease);
}
.hover-card.is-on .hover-card-in { opacity: 1; transform: none; }
.hover-card b { display: block; margin-bottom: 6px; font-size: 0.6875rem; font-stretch: 125%; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red-hot); font-weight: 500; }

/* Programs horizontal scroll */
.hs { position: relative; background: var(--paper-2); }
.hs-viewport { padding-block: var(--section); }
.hs-track {
  display: flex; gap: 14px; align-items: stretch;
  padding-inline: var(--gutter);
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.hs-track::-webkit-scrollbar { display: none; }
.hs-intro { flex: none; width: min(84vw, 420px); display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding-right: 3vw; scroll-snap-align: start; }
.hs-intro p { max-width: 26em; }
.p-card {
  --c: var(--ink); --t: var(--ivory);
  flex: none; width: min(84vw, 540px); min-height: 500px;
  display: grid; grid-template-rows: auto 1fr auto; gap: 24px;
  padding: 22px;
  background: var(--c); color: var(--t);
  border-radius: 4px;
  scroll-snap-align: start;
}
.p-card--red { --c: var(--red); }
.p-card--ox { --c: var(--oxblood); }
.p-card--stone { --c: var(--stone); --t: var(--ink); }
.p-card--line { --c: transparent; --t: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.p-meta { display: flex; justify-content: space-between; gap: 12px; font-size: 0.75rem; font-weight: 500; }
.p-title { align-self: center; font-size: clamp(2.2rem, 3.6vw, 4rem); font-weight: 500; font-stretch: 108%; letter-spacing: -0.045em; line-height: 0.95; }
.p-bottom { display: flex; flex-direction: column; gap: 18px; }
.p-bottom p { font-size: 0.9375rem; line-height: 1.5; opacity: 0.86; max-width: 32em; }
.p-price { font-size: clamp(2rem, 3vw, 3rem); font-weight: 500; font-stretch: 112%; letter-spacing: -0.05em; line-height: 1; }
.p-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.hs.is-pinned .hs-viewport { height: 100vh; padding: 0; display: flex; align-items: center; overflow: hidden; }
.hs.is-pinned .hs-track { overflow: visible; width: max-content; height: min(74vh, 700px); padding-top: 4vh; }
.hs.is-pinned .p-card { width: clamp(340px, 34vw, 560px); min-height: 0; }
.hs.is-pinned .hs-intro { width: clamp(320px, 30vw, 460px); }
.hs-progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 5vh; height: 1px; background: var(--line); display: none; }
.hs-progress i { display: block; height: 100%; background: var(--ink); transform-origin: left; transform: scaleX(0); }
.hs.is-pinned .hs-progress { display: block; }

/* Quote */
.quote { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 36px; }
.quote blockquote { font-family: var(--serif); font-size: clamp(2.3rem, 5.6vw, 6rem); line-height: 1.02; letter-spacing: -0.015em; max-width: 15em; }
.quote cite { font-style: normal; font-size: 0.8125rem; font-weight: 500; color: var(--ink-2); }

/* Marquee band */
.marquee { overflow: hidden; white-space: nowrap; }
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee-item { display: flex; align-items: center; flex: none; }
.marquee-item i { display: inline-block; font-style: normal; margin-inline: 0.28em; }
.band { padding-block: clamp(30px, 5vw, 70px); border-block: 1px solid var(--line); }
.band .marquee {
  font-size: clamp(4.4rem, 13vw, 14rem); font-weight: 500; font-stretch: 112%;
  letter-spacing: -0.05em; line-height: 1;
}
.band .outline { color: transparent; -webkit-text-stroke: 1.5px var(--red); }
.band .marquee-item i { width: 0.42em; height: 0.42em; margin-inline: 0.36em; }
.band .marquee-item i img { width: 100%; height: 100%; object-fit: contain; }

/* CTA */
.cta { display: grid; grid-template-columns: 1fr 3fr; gap: 24px; }
.cta-main { display: grid; grid-template-columns: 1.3fr 1fr; gap: 5vw; align-items: end; }
.cta-side { display: flex; flex-direction: column; gap: 26px; align-items: flex-start; }

/* Next page */
.next {
  position: relative; display: block;
  padding: clamp(72px, 8vw, 128px) var(--gutter) clamp(56px, 6vw, 96px);
  border-top: 1px solid var(--line);
  text-decoration: none; color: inherit;
}
.next-top { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.8125rem; font-weight: 500; color: var(--ink-2); }
.next-main { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: 28px; }
.next-title {
  display: block;
  font-size: clamp(1.9rem, 3.6vw, 3.8rem); font-weight: 500; font-stretch: 110%;
  letter-spacing: -0.045em; line-height: 0.95;
  transition: transform 0.8s var(--ease), color 0.4s;
}
.next-desc { display: block; margin-top: 14px; font-size: 0.9375rem; color: var(--ink-2); }
.next-go {
  position: relative; isolation: isolate; overflow: hidden; flex: none;
  display: grid; place-items: center;
  width: clamp(60px, 6vw, 92px); aspect-ratio: 1; border-radius: 50%;
  border: 1px solid var(--line); font-size: 1.35rem;
  transition: color 0.4s, border-color 0.4s;
}
.next-go::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%; background: var(--red); transform: scale(0); transition: transform 0.6s var(--ease); }
.next-go span { transition: transform 0.6s var(--ease); }
.next:hover .next-title, .next:focus-visible .next-title { transform: translateX(0.5vw); color: var(--red); }
.next:hover .next-go, .next:focus-visible .next-go { color: var(--ivory); border-color: var(--red); }
.next:hover .next-go::before, .next:focus-visible .next-go::before { transform: none; }
.next:hover .next-go span { transform: translateX(4px); }
.next-bar { display: block; height: 2px; margin-top: 40px; background: var(--line); }
.next-bar i { display: block; height: 100%; background: var(--red); transform-origin: left; transform: scaleX(0); }

/* Footer */
.footer { background: var(--ink); color: var(--ivory); padding: clamp(64px, 8vw, 120px) var(--gutter) calc(var(--gutter) + 74px); } /* room for the dock */
.footer-top { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: end; }
.footer-brand { display: block; width: clamp(150px, 13vw, 200px); }
.footer-brand img { width: 100%; }
.footer-tag { grid-column: 2 / span 2; font-family: var(--serif); font-size: clamp(1.3rem, 1.9vw, 1.85rem); line-height: 1.15; color: var(--ivory-2); }
.footer-tag em { color: var(--ivory); }
.footer-up { justify-self: end; display: inline-flex; align-items: center; gap: 10px; font-size: 0.8125rem; font-weight: 500; text-decoration: none; }
.footer-up span { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line-light); border-radius: 50%; transition: background 0.4s, border-color 0.4s, transform 0.5s var(--ease); }
.footer-up:hover span { background: var(--red); border-color: var(--red); transform: translateY(-3px); }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 24px; margin-top: clamp(40px, 4.5vw, 64px); padding-top: 28px; border-top: 1px solid var(--line-light); font-size: 0.875rem; }
.footer-grid .label { color: var(--ivory-2); display: block; margin-bottom: 14px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--red-hot); }
.footer-grid li + li { margin-top: 6px; }
.footer-legal { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line-light); font-size: 0.75rem; color: var(--ivory-2); }
.footer-legal p { max-width: 62em; }
.bbb { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 8px 12px; border: 1px solid var(--line-light); border-radius: 3px; font-size: 0.75rem; }

/* ==========================================================================
   INNER PAGES
   ========================================================================== */
.page-hero { padding: calc(var(--header-h) + 12vh) var(--gutter) clamp(60px, 8vw, 120px); }
.page-hero .label { display: block; margin-bottom: 28px; }
.page-hero-foot { display: grid; grid-template-columns: 1fr 3fr; gap: 24px; margin-top: clamp(40px, 6vw, 90px); align-items: end; }
.page-hero-foot .lede { grid-column: 2; }

.marquee-hero {
  position: relative; height: 100vh; height: 100svh; min-height: 560px;
  overflow: hidden; background: var(--paper);
}

/* Sub-nav chips */
.subnav {
  position: sticky; top: 0; z-index: 30;
  transition: top 0.7s var(--ease);
  display: flex; gap: 8px; flex-wrap: nowrap; overflow-x: auto;
  padding: 14px var(--gutter);
  background: rgba(247, 245, 241, 0.9);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-block: 1px solid var(--line);
  scrollbar-width: none;
}
.subnav::-webkit-scrollbar { display: none; }
html.hdr-shown .subnav { top: var(--header-h); }
.subnav a {
  flex: none; display: inline-flex; align-items: center; gap: 8px;
  height: 36px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 3px;
  font-size: 0.8125rem; font-weight: 500; text-decoration: none;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.subnav a sup { font-size: 0.625rem; color: var(--ink-3); transition: color 0.3s; }
.subnav a:hover { border-color: var(--ink); }
.subnav a.is-active { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.subnav a.is-active sup { color: var(--ivory-2); }

/* Stacking service cards */
.stack { display: flex; flex-direction: column; gap: 18px; margin-top: 64px; }
.stack-card {
  --c: var(--paper-2); --t: var(--ink);
  position: sticky; top: calc(76px + var(--i, 0) * 12px);
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 4vw;
  min-height: min(76vh, 680px);
  padding: clamp(22px, 3vw, 44px);
  background: var(--c); color: var(--t);
  border-radius: 6px;
  transform-origin: 50% 0;
  scroll-margin-top: 90px;
}
.stack-card--red { --c: var(--red); --t: var(--ivory); }
.stack-card--red .btn::before { background: var(--ink); }
.stack-card--red .btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.stack-card--ink { --c: var(--ink); --t: var(--ivory); }
.stack-card--ox { --c: var(--oxblood); --t: var(--ivory); }
.stack-card--stone { --c: var(--stone); }
.stack-card--line { --c: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.sc-left { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.sc-meta { display: flex; gap: 18px; align-items: center; font-size: 0.75rem; font-weight: 500; }
.sc-title { font-size: clamp(2.4rem, 5vw, 5.4rem); font-weight: 500; font-stretch: 108%; letter-spacing: -0.05em; line-height: 0.92; }
.sc-price { display: flex; align-items: baseline; gap: 12px; }
.sc-price b { font-size: clamp(3rem, 6vw, 6.4rem); font-weight: 500; font-stretch: 112%; letter-spacing: -0.06em; line-height: 0.85; }
.sc-price span { font-size: 0.8125rem; opacity: 0.75; }
.sc-right { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.sc-right > p { font-size: clamp(1.05rem, 1.35vw, 1.3rem); line-height: 1.45; }
.sc-points { display: grid; gap: 0; border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent); }
.sc-points li { display: grid; grid-template-columns: 2rem 1fr; gap: 8px; padding: 12px 0; border-bottom: 1px solid color-mix(in srgb, currentColor 22%, transparent); font-size: 0.9375rem; }
.sc-points li span { font-size: 0.75rem; opacity: 0.7; padding-top: 0.2em; }
.sc-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Accordion (programs) */
.acc { margin-top: 64px; border-bottom: 1px solid var(--line); }
.acc-item { border-top: 1px solid var(--line); }
.acc-btn {
  width: 100%; display: grid; grid-template-columns: 4.5rem 1fr auto 3rem; align-items: center; gap: 16px;
  padding: 28px 0; background: none; border: 0; text-align: left;
}
.acc-btn .svc-name { transition: transform 0.6s var(--ease), color 0.3s; }
.acc-btn:hover .svc-name { transform: translateX(14px); color: var(--red); }
.acc-sign { position: relative; justify-self: end; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; transition: background 0.3s, border-color 0.3s, transform 0.6s var(--ease); }
.acc-sign::before, .acc-sign::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.acc-sign::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 0.6s var(--ease); }
.acc-item.is-open .acc-sign { background: var(--ink); border-color: var(--ink); color: var(--ivory); transform: rotate(180deg); }
.acc-item.is-open .acc-sign::after { transform: translate(-50%, -50%) rotate(0deg); }
.acc-panel { overflow: hidden; }
.acc-panel[hidden] { display: none; }
.acc-inner { display: grid; grid-template-columns: 4.5rem 1.2fr 1fr; gap: 16px; padding: 0 0 40px; }
.acc-inner > p { grid-column: 2; font-size: clamp(1.02rem, 1.3vw, 1.25rem); line-height: 1.5; max-width: 34em; }
.acc-facts { grid-column: 3; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.acc-facts dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 0; font-size: 0.875rem; }
.acc-facts dt { color: var(--ink-3); }
.acc-facts dd { margin: 0; font-weight: 500; }
.soon { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.soon .chip { color: var(--ink-2); }

/* Resource list */
.res-list { margin-top: 64px; border-bottom: 1px solid var(--line); }
.res-row {
  display: grid; grid-template-columns: 4.5rem 1fr auto 7rem 2rem; gap: 16px; align-items: center;
  padding: 22px 12px; border-top: 1px solid var(--line); text-decoration: none;
  transition: background 0.4s, padding 0.6s var(--ease);
}
.res-row:hover { background: var(--paper-2); padding-left: 24px; }
.res-row .svc-name { font-size: clamp(1.25rem, 2.2vw, 2.2rem); }
.res-type { font-size: 0.8125rem; color: var(--ink-2); }
.res-price { text-align: right; font-weight: 500; font-variant-numeric: tabular-nums; }
.res-free { color: var(--red); }

/* Loyalty */
.loyal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 64px; }
.loyal-card { display: flex; flex-direction: column; justify-content: space-between; gap: 48px; min-height: 340px; padding: 24px; border-radius: 4px; background: var(--paper-2); }
.loyal-card:nth-child(2) { background: var(--ink); color: var(--ivory); }
.loyal-card:nth-child(3) { background: var(--red); color: var(--ivory); }
.loyal-card h3 { font-size: clamp(1.8rem, 2.8vw, 2.8rem); font-weight: 500; font-stretch: 108%; letter-spacing: -0.04em; line-height: 1; }
.loyal-card ul { display: grid; gap: 8px; font-size: 0.9375rem; }
.loyal-card li { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid color-mix(in srgb, currentColor 20%, transparent); padding-top: 8px; }
.loyal-card li b { font-weight: 500; }

/* About: pillars */
.pillars { display: flex; flex-direction: column; gap: clamp(60px, 9vw, 140px); margin-top: clamp(70px, 9vw, 140px); }
.pillar { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; align-items: center; }
.pillar-art { grid-column: 2 / span 3; aspect-ratio: 4 / 5; display: grid; place-items: center; background: var(--paper-2); border-radius: 4px; position: relative; overflow: hidden; }
.pillar-art .big-num { font-size: clamp(6rem, 14vw, 15rem); font-weight: 500; font-stretch: 112%; letter-spacing: -0.07em; line-height: 0.8; color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.pillar-art img { position: absolute; width: 22%; right: 10%; top: 10%; }
.pillar-body { grid-column: 6 / span 4; display: flex; flex-direction: column; gap: 18px; }
.pillar-body .label { color: var(--ink-3); }
.pillar-body h3 { font-size: clamp(2.2rem, 4vw, 4.2rem); font-weight: 500; font-stretch: 108%; letter-spacing: -0.045em; line-height: 0.95; }
.pillar-body p { font-size: 0.9375rem; color: var(--ink-2); max-width: 26em; }
.pillar:nth-child(even) .pillar-art { grid-column: 9 / span 3; grid-row: 1; }
.pillar:nth-child(even) .pillar-body { grid-column: 4 / span 4; grid-row: 1; }
.pillar:nth-child(2) .pillar-art { background: var(--red); }
.pillar:nth-child(2) .big-num { -webkit-text-stroke-color: var(--ivory); }
.pillar:nth-child(3) .pillar-art { background: var(--ink); }
.pillar:nth-child(3) .big-num { -webkit-text-stroke-color: var(--ivory); }

/* Founder */
.founder { display: grid; grid-template-columns: 1fr 3fr; gap: 24px; }
.founder blockquote { font-family: var(--serif); font-size: clamp(2.1rem, 4.6vw, 4.9rem); line-height: 1.04; letter-spacing: -0.015em; max-width: 16em; }
.founder figcaption { margin-top: 36px; display: flex; gap: 16px; align-items: center; font-size: 0.875rem; }
.founder figcaption b { font-weight: 500; }
.founder-mark { width: 44px; }

/* Timeline */
.timeline { position: relative; margin-top: 70px; display: grid; gap: 0; }
.timeline::before { content: ""; position: absolute; left: calc(25% - 0.5px); top: 0; bottom: 0; width: 1px; background: var(--line); }
.tl-line { position: absolute; left: calc(25% - 1px); top: 0; width: 2px; height: 100%; background: var(--red); transform-origin: top; transform: scaleY(0); }
.tl-item { position: relative; display: grid; grid-template-columns: 1fr 3fr; gap: 24px; padding-block: 34px; }
.tl-item::before { content: ""; position: absolute; left: calc(25% - 6px); top: 46px; width: 11px; height: 11px; border-radius: 50%; background: var(--paper); border: 2px solid var(--red); }
.tl-when { font-size: 0.875rem; font-weight: 500; padding-top: 0.35em; text-align: right; padding-right: 32px; }
.tl-body { padding-left: 40px; display: flex; flex-direction: column; gap: 10px; }
.tl-body h3 { font-size: clamp(1.6rem, 2.8vw, 2.8rem); font-weight: 500; font-stretch: 106%; letter-spacing: -0.04em; line-height: 1; }
.tl-body p { color: var(--ink-2); max-width: 36em; }

/* Testimonial + community */
.voices { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.voice { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: clamp(24px, 3vw, 44px); border-radius: 4px; min-height: 420px; }
.voice--ink { background: var(--ink); color: var(--ivory); }
.voice--paper { background: var(--paper-2); }
.voice blockquote { font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.6rem); line-height: 1.1; }
.voice p { font-size: 1rem; line-height: 1.55; max-width: 32em; }
.voice cite { font-style: normal; font-size: 0.8125rem; }
.voice cite b { display: block; font-weight: 500; font-size: 0.9375rem; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; }
.contact-info { display: flex; flex-direction: column; gap: 40px; }
.contact-lines { display: grid; gap: 22px; }
.contact-lines div { border-top: 1px solid var(--line); padding-top: 14px; display: grid; grid-template-columns: 9rem 1fr; gap: 12px; font-size: 1rem; }
.contact-lines dt, .contact-lines .k { font-size: 0.8125rem; color: var(--ink-3); padding-top: 0.15em; }
.contact-lines dd { margin: 0; }
.contact-lines a { text-decoration: none; font-weight: 500; }
.contact-lines a:hover { color: var(--red); }
.form { display: grid; gap: 14px; align-content: start; }
.field { display: grid; gap: 8px; font-size: 0.8125rem; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  background: transparent; font-size: 1.05rem; font-weight: 400;
  transition: border-color 0.3s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--red); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-note { font-size: 0.75rem; color: var(--ink-3); }
.form-status { padding: 14px 16px; border-left: 2px solid var(--red); background: var(--paper-2); font-size: 0.875rem; }

/* ==========================================================================
   PROPOSAL / DECISION
   ========================================================================== */
.pp-hero { padding: calc(var(--header-h) + 14vh) var(--gutter) clamp(70px, 9vw, 130px); }
.pp-hero-top { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; font-size: 0.8125rem; font-weight: 500; }
.pp-hero h1 em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; color: var(--red); }
.pp-hero-foot { display: grid; grid-template-columns: 1fr 3fr; gap: 24px; margin-top: clamp(40px, 6vw, 90px); }
.pp-hero-foot .lede { grid-column: 2; }
.pp-hero-foot .actions { grid-column: 2; display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }

.new-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 64px; }
.new-card { display: flex; flex-direction: column; justify-content: space-between; gap: 36px; min-height: 300px; padding: clamp(22px, 2.6vw, 36px); border-radius: 4px; background: var(--paper-2); }
.new-card:nth-child(1) { background: var(--ink); color: var(--ivory); }
.new-card:nth-child(4) { background: var(--red); color: var(--ivory); }
.new-card h3 { font-size: clamp(1.8rem, 3vw, 3rem); font-weight: 500; font-stretch: 108%; letter-spacing: -0.04em; line-height: 1; }
.new-card p { font-size: 1rem; max-width: 30em; opacity: 0.86; }
.new-card .label { opacity: 0.7; }

.carry { display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; margin-top: 64px; }
.carry-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.carry-stats .stat b { font-size: clamp(3.4rem, 7vw, 7.4rem); }
.carry-stats .stat { padding-bottom: 28px; }
.keep { display: grid; gap: 0; align-content: start; }
.keep li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); font-size: 1.05rem; font-weight: 500; }
.keep li:last-child { border-bottom: 1px solid var(--line); }
.keep li span { font-size: 0.75rem; font-weight: 500; color: var(--ink-3); }
.keep li span::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--red); margin-right: 8px; vertical-align: 1px; }

.steps { position: relative; margin-top: 64px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.step { position: relative; display: flex; flex-direction: column; gap: 18px; padding-top: 30px; border-top: 1px solid var(--line); }
.step-bar { position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--red); transform-origin: left; transform: scaleX(0); }
.step b { font-size: clamp(3rem, 5vw, 5.4rem); font-weight: 500; font-stretch: 112%; letter-spacing: -0.06em; line-height: 0.85; }
.step h3 { font-size: clamp(1.3rem, 1.8vw, 1.75rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; }
.step p { font-size: 0.9375rem; color: var(--ink-2); }

.needs { display: grid; grid-template-columns: 1fr 3fr; gap: 24px; }
.needs ol { counter-reset: n; display: grid; }
.needs li { counter-increment: n; display: grid; grid-template-columns: 4.5rem 1fr; gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); font-size: clamp(1.15rem, 1.8vw, 1.7rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; }
.needs li:last-child { border-bottom: 1px solid var(--line); }
.needs li::before { content: "0" counter(n); font-size: 0.75rem; letter-spacing: 0; color: var(--ink-3); padding-top: 0.6em; }
.needs li small { display: block; margin-top: 6px; font-size: 0.9375rem; font-weight: 400; color: var(--ink-2); letter-spacing: 0; }

.decision { background: var(--ink); color: var(--ivory); }
.decision .label { color: var(--ivory-2); }
.choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 64px; border: 0; padding: 0; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice-card {
  display: flex; flex-direction: column; justify-content: space-between; gap: 48px;
  height: 100%; min-height: 300px; padding: 24px;
  border: 1px solid var(--line-light); border-radius: 4px;
  transition: background 0.45s var(--ease), border-color 0.45s, transform 0.6s var(--ease);
}
.choice-title { display: block; font-size: clamp(1.8rem, 3vw, 3rem); font-weight: 500; font-stretch: 108%; letter-spacing: -0.045em; line-height: 0.98; }
.choice-text { display: block; margin-top: 18px; font-size: 0.9375rem; color: var(--ivory-2); }
.choice-top { display: flex; justify-content: space-between; align-items: center; font-size: 0.75rem; color: var(--ivory-2); }
.choice-radio { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--ivory-2); display: grid; place-items: center; transition: border-color 0.3s; }
.choice-radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ivory); transform: scale(0); transition: transform 0.4s var(--ease); }
.choice:hover .choice-card { border-color: var(--ivory-2); transform: translateY(-4px); }
.choice input:checked + .choice-card { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.choice input:checked + .choice-card .choice-text, .choice input:checked + .choice-card .choice-top { color: var(--ink-2); }
.choice input:checked + .choice-card .choice-radio { border-color: var(--ink); }
.choice input:checked + .choice-card .choice-radio::after { transform: scale(1); background: var(--red); }
.choice--yes input:checked + .choice-card { background: var(--red); color: var(--ivory); border-color: var(--red); }
.choice--yes input:checked + .choice-card .choice-text, .choice--yes input:checked + .choice-card .choice-top { color: var(--ivory-2); }
.choice--yes input:checked + .choice-card .choice-radio { border-color: var(--ivory); }
.choice--yes input:checked + .choice-card .choice-radio::after { background: var(--ivory); }
.choice input:focus-visible + .choice-card { outline: 2px solid var(--red-hot); outline-offset: 3px; }
.decide-foot { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; margin-top: 18px; }
.decision .field { color: var(--ivory-2); }
.decision .field textarea { border-bottom-color: var(--line-light); color: var(--ivory); min-height: 90px; }
.decision .field textarea::placeholder { color: rgba(244, 239, 230, 0.55); }
.decide-status { margin-top: 24px; padding: 18px 20px; border-left: 2px solid var(--red-hot); background: rgba(244, 239, 230, 0.06); font-size: 0.9375rem; max-width: 46em; }
.decide-status b { font-weight: 500; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .svc-row { grid-template-columns: 3rem 1fr 6rem 2rem; }
  .svc-tag { display: none; }
  .res-row { grid-template-columns: 3rem 1fr 6rem 2rem; }
  .res-type { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 40px 14px; }
}

@media (max-width: 899px) {
  .footer-top { grid-template-columns: 1fr auto; row-gap: 20px; }
  .footer-tag { grid-column: 1 / -1; grid-row: 2; }
  .footer-up { grid-column: 2; grid-row: 1; }
  :root { --header-h: 64px; }
  .hdr-nav--left { display: none; }
  .site-header { grid-template-columns: 1fr auto; }
  .hdr-logo { width: 138px; }
  .hdr-nav--right a:not(:first-child) { display: none; }

  .hero-marquee { top: 53%; font-size: 11.5vw; }
  .hero-tile { top: 31%; width: 38vw; }
  .hero-foot { bottom: 17vh; }
  .hero-meta { bottom: calc(var(--gutter) + 64px); right: var(--gutter); justify-content: space-between; }
  .hero-meta .scroll-cue { display: none; }
  .hero-foot .lede br { display: none; }

  .statement, .section-head, .cta, .founder, .needs, .page-hero-foot, .pp-hero-foot { grid-template-columns: 1fr; }
  .page-hero-foot .lede, .pp-hero-foot .lede, .pp-hero-foot .actions { grid-column: 1; }
  .statement-text::before { display: none; }
  .cta-main { grid-template-columns: 1fr; }

  .values-inner { grid-template-columns: 1fr; }
  .values-art .emblem { width: min(62vw, 340px); }

  .numbers-grid { grid-template-columns: 1fr 1fr; gap: 36px 16px; }

  .svc-row { grid-template-columns: 2.2rem 1fr auto; padding: 20px 6px; gap: 10px; }
  .svc-row:hover { padding-left: 12px; }
  .svc-arr { display: none; }
  .res-row { grid-template-columns: 2.2rem 1fr auto; padding: 18px 6px; }
  .res-row .svc-arr { display: none; }

  .stack-card { grid-template-columns: 1fr; position: relative; top: 0; min-height: 0; }
  .acc-btn { grid-template-columns: 2.2rem 1fr auto; }
  .acc-btn .p-price-inline { display: none; }
  .acc-inner { grid-template-columns: 1fr; padding-left: 0; }
  .acc-inner > p, .acc-facts { grid-column: 1; }
  .loyal-grid, .voices, .contact, .new-grid, .choices, .carry { grid-template-columns: 1fr; }
  .loyal-card, .voice, .choice-card, .new-card { min-height: 0; }

  .pillar { grid-template-columns: 1fr; }
  .pillar-art, .pillar:nth-child(even) .pillar-art { grid-column: 1; grid-row: auto; width: 64%; }
  .pillar:nth-child(even) .pillar-art { justify-self: end; }
  .pillar-body, .pillar:nth-child(even) .pillar-body { grid-column: 1; grid-row: auto; }

  .timeline::before, .tl-line { left: 6px; }
  .tl-item { grid-template-columns: 1fr; gap: 6px; padding-left: 34px; }
  .tl-item::before { left: 1px; top: 38px; }
  .tl-when { text-align: left; padding: 0; }
  .tl-body { padding-left: 0; }

  .menu { grid-template-columns: 1fr; align-content: start; gap: 48px; padding-top: calc(var(--header-h) + 40px); }
  .menu-side { justify-content: flex-start; }
  .form-row { grid-template-columns: 1fr; }
  .decide-foot { grid-template-columns: 1fr; }
  .welcome { bottom: calc(var(--gutter) + 56px); }
  .contact-lines div { grid-template-columns: 1fr; gap: 4px; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .dock-pill .dock-text-long { display: none; }
  .carry-stats { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  html.show-loader .loader { display: none; }
}

/* Utilities */
.pt-0 { padding-top: 0 !important; }
.mt-28 { margin-top: 28px; }
address { font-style: normal; }
.loader .emblem:not(.is-built) { background: none; }

/* Motion toggle (pause the moving type) */
.motion-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0; border: 0; background: none;
  font-size: 0.75rem; font-weight: 500; color: inherit;
}
.motion-toggle i { position: relative; display: inline-block; width: 8px; height: 9px; }
.motion-toggle i::before, .motion-toggle i::after { content: ""; position: absolute; top: 0; bottom: 0; width: 2.5px; background: currentColor; }
.motion-toggle i::before { left: 0; }
.motion-toggle i::after { right: 0; }
.motion-toggle[aria-pressed="true"] i::before { width: 0; height: 0; background: none; border-style: solid; border-width: 4.5px 0 4.5px 8px; border-color: transparent transparent transparent currentColor; }
.motion-toggle[aria-pressed="true"] i::after { display: none; }
.motion-toggle:hover { color: var(--red); }

/* Text on red surfaces is always solid ivory (translucent ivory drops below 4.5:1) */
.door--red .door-copy, .door--red .door-foot span:last-child,
.p-card--red .p-bottom p, .new-card:nth-child(4) p, .new-card:nth-child(4) .label,
.stack-card--red .sc-price span, .stack-card--red .sc-points li span,
.svc-row:hover .svc-tag, .svc-row:focus-visible .svc-tag { opacity: 1; }
.choice--yes input:checked + .choice-card .choice-text,
.choice--yes input:checked + .choice-card .choice-top { color: var(--ivory); }
