/* ============================================================
   WORK REDESIGNED · Showcase build
   Concept: "The Reweaving"
   Mint paper → deep teal drench → back to paper. Threads of work,
   frayed at first, weaving themselves calm.
   Fraunces (variable: opsz / SOFT / WONK) · Schibsted Grotesk
   Palette inherited unchanged from the production workredesigned.co
   token system. All color in OKLCH.
   ============================================================ */

/* ---------- Tokens (from the production brand) ---------- */
:root {
  /* surfaces */
  --mint: oklch(96.2% 0.022 168);        /* pale mint paper */
  --mint-2: oklch(93.5% 0.03 170);       /* deeper mint band */
  --surface: oklch(99.5% 0.004 168);     /* near-white card */
  --ink: oklch(23.5% 0.013 200);         /* charcoal ink */
  --ink-2: oklch(45% 0.016 195);         /* muted ink */

  /* teals */
  --teal: oklch(74.5% 0.115 178);        /* bright teal: fills, CTA */
  --teal-hover: oklch(69% 0.12 180);
  --teal-deep: oklch(50% 0.095 184);     /* accent text on light */
  --teal-deeper: oklch(42% 0.082 186);
  --marker: oklch(84% 0.09 177);         /* highlighter box */

  /* the drench (dark teal sections) */
  --drench: oklch(31% 0.055 188);
  --drench-ink: oklch(24% 0.042 190);
  --on-drench: oklch(96.5% 0.02 175);
  --on-drench-2: oklch(82% 0.04 176);

  /* type */
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Schibsted Grotesk", "Helvetica Neue", sans-serif;

  /* rhythm */
  --shell: min(92vw, 82rem);
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --header-h: 4.5rem;

  --ease-out: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-swift: cubic-bezier(0.65, 0, 0.35, 1);
}

/* theme surfaces (body cross-fades between acts) */
body[data-theme="light"] {
  --bg: var(--mint);
  --bg-raised: var(--surface);
  --fg: var(--ink);
  --fg-dim: var(--ink-2);
  --line: oklch(23.5% 0.013 200 / 0.16);
  --accent: var(--teal-deep);
  --accent-bright: var(--teal);
}
body[data-theme="deep"] {
  --bg: var(--drench-ink);
  --bg-raised: oklch(29% 0.05 188 / 0.6);
  --fg: var(--on-drench);
  --fg-dim: var(--on-drench-2);
  --line: oklch(96.5% 0.02 175 / 0.16);
  --accent: var(--teal);
  --accent-bright: var(--teal);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color 1.4s var(--ease-swift), color 1.4s var(--ease-swift);
  overflow-x: clip;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
em { font-style: italic; }
.mono {
  font-family: var(--font-body);
  font-weight: 650;
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-style: normal;
}

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

.skip-link {
  position: fixed; top: -100%; left: 1rem; z-index: 300;
  background: var(--teal); color: var(--ink); padding: 0.6rem 1rem;
  font-family: var(--font-body); font-weight: 600; font-size: 0.85rem; text-decoration: none;
  border-radius: 100px;
}
.skip-link:focus-visible { top: 1rem; }

::selection { background: var(--teal); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Grain (soft paper tooth) ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 120; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.03;
  animation: grain-shift 0.9s steps(4) infinite;
}
@keyframes grain-shift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 3%); }
  50% { transform: translate(3%, -2%); }
  75% { transform: translate(-3%, -3%); }
  100% { transform: translate(2%, 2%); }
}

/* ---------- Scroll progress ---------- */
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 150;
  pointer-events: none;
}
.progress-fill {
  display: block; height: 100%; width: 100%;
  background: linear-gradient(90deg, var(--teal-deep), var(--teal));
  transform: scaleX(0); transform-origin: left;
}

/* ---------- Loader ---------- */
.loader { display: none; }
html.js .loader {
  display: flex; position: fixed; inset: 0; z-index: 200;
  background: var(--mint); color: var(--ink);
  align-items: center; justify-content: center;
}
.loader-inner { position: relative; text-align: center; padding-bottom: 1.4rem; }
.loader-word {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4.5vw, 2.8rem);
  font-weight: 480; font-variation-settings: "opsz" 60, "SOFT" 60;
  font-style: italic;
}
.loader-line {
  position: absolute; left: 8%; right: 8%; bottom: 0; height: 2px;
  background: oklch(23.5% 0.013 200 / 0.12);
  border-radius: 2px; overflow: hidden;
}
.loader-line-fill {
  display: block; height: 100%; width: 0%;
  background: var(--teal);
}

/* ---------- Header (floating bar, frosts on scroll) ---------- */
.site-header {
  position: fixed; top: clamp(0.6rem, 1.6vh, 1rem); left: 50%; z-index: 100;
  transform: translateX(-50%);
  width: min(96vw, 88rem);
  height: 3.8rem;
  display: flex; align-items: center; justify-content: space-between;
  padding-inline: clamp(1rem, 2.5vw, 1.6rem);
  border-radius: 100px;
  border: 1px solid transparent;
  color: var(--fg);
  transition:
    transform 0.5s var(--ease-out),
    background-color 0.45s var(--ease-swift),
    border-color 0.45s var(--ease-swift),
    box-shadow 0.45s var(--ease-swift),
    color 1.4s var(--ease-swift);
}
.site-header.is-scrolled {
  background: color-mix(in oklab, var(--bg) 84%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-color: var(--line);
  box-shadow: 0 10px 32px oklch(23.5% 0.013 200 / 0.09);
}
.site-header.is-hidden { transform: translate(-50%, calc(-100% - 1.2rem)); }

.wordmark {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-display); font-weight: 600; font-style: italic;
  font-variation-settings: "opsz" 40, "SOFT" 50;
  font-size: 1.05rem; text-decoration: none; letter-spacing: 0.01em;
}
.wordmark-orbit { width: 1.15em; height: 1.15em; }
.orbit-dot { transform-origin: 16px 16px; animation: orbit 9s linear infinite; }
@keyframes orbit { to { transform: rotate(360deg); } }

.primary-nav { display: flex; gap: clamp(1.2rem, 2.5vw, 2.2rem); }
.primary-nav a {
  font-family: var(--font-body); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.12em;
  text-transform: uppercase; text-decoration: none; position: relative; padding-block: 0.3rem;
}
.primary-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}
.primary-nav a:hover::after, .primary-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }

.btn-header {
  font-family: var(--font-body); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; border: 1px solid color-mix(in oklab, currentColor 45%, transparent); border-radius: 100px;
  padding: 0.6rem 1.2rem; transition: background 0.35s var(--ease-out), color 0.35s, border-color 0.35s;
}
.btn-header:hover, .btn-header:focus-visible { background: var(--fg); color: var(--bg); border-color: var(--fg); }

.nav-toggle { display: none; }

.mobile-nav {
  position: fixed; inset: 0; z-index: 90; background: var(--mint); color: var(--ink);
  display: grid; place-items: center;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav nav { display: grid; gap: 1.6rem; text-align: center; }
.mobile-nav a {
  font-family: var(--font-display); font-size: clamp(2rem, 8vw, 3rem); font-weight: 500;
  text-decoration: none; font-variation-settings: "opsz" 80, "SOFT" 30;
}
.mobile-nav a:hover { font-style: italic; color: var(--teal-deep); }

/* ---------- Buttons ---------- */
.btn-primary {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  padding: 1.05rem 2.4rem; border-radius: 100px; text-decoration: none;
  font-family: var(--font-body); font-weight: 650; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink); background: var(--teal);
  overflow: hidden; isolation: isolate;
  transition: transform 0.3s var(--ease-out), box-shadow 0.4s var(--ease-out);
  box-shadow: 0 1px 2px oklch(40% 0.08 184 / 0.18), 0 10px 24px oklch(55% 0.1 182 / 0.22);
}
.btn-primary .btn-label { position: relative; z-index: 2; }
.btn-primary .btn-fill {
  position: absolute; inset: 0; z-index: 1; border-radius: inherit;
  background: var(--teal-hover); transform: translateY(101%);
  transition: transform 0.45s var(--ease-out);
}
.btn-primary:hover .btn-fill, .btn-primary:focus-visible .btn-fill { transform: translateY(0); }
.btn-primary:hover { box-shadow: 0 2px 4px oklch(40% 0.08 184 / 0.2), 0 16px 40px oklch(55% 0.1 182 / 0.34); }
.btn-xl { padding: 1.3rem 3.2rem; font-size: 0.92rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-body); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--fg); text-decoration: none; padding-block: 0.5rem;
  border-bottom: 2px solid var(--accent-bright);
  transition: color 0.3s;
}
.link-arrow::after { content: "→"; transition: transform 0.35s var(--ease-out); }
.link-arrow:hover { color: var(--accent); }
.link-arrow:hover::after { transform: translateX(6px); }

/* ---------- Acts / shared section chrome ---------- */
.act { position: relative; }
.act-head {
  display: flex; align-items: center; gap: 1.2rem;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
  color: var(--fg-dim);
}
.act-rule { flex: 1; height: 1px; background: var(--line); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.6vw, 3.2rem);
  font-weight: 440; line-height: 1.12; letter-spacing: -0.01em;
  font-variation-settings: "opsz" 100, "SOFT" 15, "WONK" 0;
  max-width: 24ch;
}
.section-title em { font-variation-settings: "opsz" 120, "SOFT" 70, "WONK" 1; color: var(--accent); }
.section-lede {
  margin-top: 1.4rem; max-width: 44ch; font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: var(--fg-dim);
}

/* highlighter mark (the production site's teal box treatment) */
.mark {
  position: relative; white-space: nowrap;
}
.mark::before {
  content: ""; position: absolute; inset: 0.08em -0.14em -0.02em;
  background: var(--marker); z-index: -1; border-radius: 0.2em;
  transform: skewX(-4deg) rotate(-0.5deg);
}

/* split-line reveal scaffolding: simple fade-up, nothing masked or clipped */
.split-lines > span { display: block; }
html.js .split-lines .sl-inner { display: block; opacity: 0; transform: translateY(22px); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--header-h) + 2rem) clamp(1.25rem, 3.5vw, 2.5rem) 0;
  position: relative;
}
.hero-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: block;
}
.hero-veil {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(85% 75% at 18% 88%, oklch(96.2% 0.022 168 / 0.92) 0%, oklch(96.2% 0.022 168 / 0.4) 48%, transparent 72%),
    linear-gradient(oklch(96.2% 0.022 168 / 0.7), transparent 34%);
}
.hero-inner { position: relative; z-index: 2; }
.hero-kicker { color: var(--teal-deep); margin-bottom: clamp(1.2rem, 3vh, 2.2rem); }

.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.3rem, 5.4vw, 5rem);
  line-height: 1.08; letter-spacing: -0.015em;
  font-variation-settings: "opsz" 144, "SOFT" 0, "WONK" 0;
  max-width: 18ch;
}
.hero-title .ht-line { display: block; }
.hero-title em {
  color: var(--teal-deep);
  font-variation-settings: "opsz" 144, "SOFT" 75, "WONK" 1;
}
html.js .ht-word { display: inline-block; opacity: 0; transform: translateY(0.35em); }

/* hand-drawn underline */
.squig { position: relative; display: inline-block; }
.squig-svg {
  position: absolute; left: -2%; bottom: -0.1em; width: 104%; height: 0.2em;
  color: var(--teal); overflow: visible;
}
.squig-svg path {
  stroke-dasharray: 130; stroke-dashoffset: 130;
}
html.js .squig-svg path { animation: squig-draw 0.9s var(--ease-swift) 2.6s forwards; }
html:not(.js) .squig-svg path { stroke-dashoffset: 0; }
@keyframes squig-draw { to { stroke-dashoffset: 0; } }

.hero-foot {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 2.5rem; margin-top: clamp(1.8rem, 4vh, 3rem);
  padding-bottom: clamp(4rem, 9vh, 6.5rem);
  flex-wrap: wrap;
}
.hero-sub { max-width: 44ch; color: var(--fg-dim); font-size: clamp(1rem, 1.3vw, 1.2rem); }
.hero-actions { display: flex; align-items: center; gap: 1.8rem; flex-wrap: wrap; }

/* ---------- Credibility bar ---------- */
.logobar {
  border-block: 1px solid var(--line);
  padding-block: clamp(1.6rem, 3.5vh, 2.4rem);
  background: var(--bg);
}
.logobar-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: clamp(1.5rem, 4vw, 3rem); flex-wrap: wrap;
}
.logobar-label { color: var(--fg-dim); }
.logobar-list {
  list-style: none; display: flex; align-items: center;
  gap: clamp(1.8rem, 4.5vw, 3.6rem); flex-wrap: wrap;
}
.logobar-list li { display: flex; align-items: center; }
.logo {
  height: 1.5rem; width: auto; display: block;
  color: var(--fg); opacity: 0.62;
  transition: opacity 0.3s;
}
.logobar-list li:hover .logo { opacity: 0.95; }
.logo--meta { height: 1.2rem; }
.logo--youtube { height: 1.25rem; }
.logo--uber { height: 1.6rem; }
.logo--doordash { height: 1.15rem; }

/* ---------- Problem ---------- */
.problem { padding-block: clamp(6rem, 14vh, 11rem) clamp(5rem, 10vh, 8rem); }
.problem-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 420; line-height: 1.12; letter-spacing: -0.012em;
  font-variation-settings: "opsz" 110;
}
.problem-title em { color: var(--teal-deep); font-variation-settings: "opsz" 110, "SOFT" 70, "WONK" 1; }

.problem-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  margin-top: clamp(3rem, 7vh, 5rem);
}
.problem-lead { font-size: clamp(1.15rem, 1.7vw, 1.45rem); color: var(--fg); margin-bottom: 1.4rem; }
.problem-prose p + p { margin-top: 1.2rem; }
.problem-prose { color: var(--fg-dim); }
.problem-prose strong { color: var(--fg); font-weight: 650; }

.arc { border-left: 1px solid var(--line); padding-left: clamp(1.4rem, 3vw, 2.5rem); }
.arc-label { color: var(--teal-deep); margin-bottom: 1.6rem; }
.arc-item {
  display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; align-items: start;
  padding-block: 1.1rem;
  border-bottom: 1px solid var(--line);
}
.arc-item:last-child { border-bottom: 0; }
.arc-index { color: var(--fg-dim); padding-top: 0.35rem; }
.arc-item p { color: var(--fg-dim); }
.arc-item.is-lit p { color: var(--fg); }
.arc-item.is-lit .arc-index { color: var(--teal-deep); }

/* ---------- Shift (typographic hinge, drenched, normal flow) ---------- */
.shift { position: relative; padding-block: clamp(6rem, 16vh, 11rem); }
.shift-sticky {
  width: var(--shell); margin-inline: auto; padding-inline: var(--gutter);
}
.shift-kicker { color: var(--accent); margin-bottom: 2rem; }
.shift-type {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.4vw, 3.9rem);
  line-height: 1.14; letter-spacing: -0.012em;
  max-width: 20ch;
  font-weight: 410;
  word-spacing: -0.08em;
}
.shift-type .sw {
  display: inline-block; margin-right: 0.12em;
  font-variation-settings: "opsz" 144, "SOFT" 0, "WONK" 0;
  opacity: 0.25; transform: translateY(0.12em);
  will-change: opacity, transform;
}
.shift-type .sw--em { font-style: italic; color: var(--accent); }
html:not(.js) .shift-type .sw { opacity: 1; transform: none; }
.shift-support { margin-top: 2.4rem; max-width: 46ch; color: var(--fg-dim); font-size: clamp(1.05rem, 1.4vw, 1.25rem); }

/* ---------- Method (light act) ---------- */
.method { padding-block: clamp(6rem, 14vh, 11rem) clamp(3rem, 6vh, 5rem); }
.stages {
  width: var(--shell); margin-inline: auto; padding-inline: var(--gutter);
  margin-top: clamp(3rem, 7vh, 5.5rem);
  display: grid; gap: 2.5rem;
}
.stage-card {
  border-radius: 1.6rem;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  padding: clamp(2rem, 4vw, 3.2rem);
  overflow: hidden;
  position: relative;
  box-shadow: 0 2px 6px oklch(40% 0.05 280 / 0.05), 0 24px 50px oklch(40% 0.05 280 / 0.1);
}

.stage-ghost {
  position: absolute; right: -0.05em; top: 50%; transform: translateY(-50%);
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(8rem, 20vw, 16rem); line-height: 1;
  color: oklch(50% 0.095 184 / 0.07);
  font-variation-settings: "opsz" 144;
  pointer-events: none; user-select: none;
}
.stage-inner { position: relative; max-width: 38rem; }
.stage-eyebrow { color: var(--teal-deep); margin-bottom: 1rem; }
.stage-name {
  font-family: var(--font-display); font-weight: 450;
  font-size: clamp(1.9rem, 3.4vw, 2.8rem); line-height: 1.1;
  font-variation-settings: "opsz" 110, "SOFT" 40;
  margin-bottom: 1.1rem;
}
.stage-promise { font-size: clamp(1.05rem, 1.5vw, 1.3rem); margin-bottom: 1.8rem; color: var(--fg); }
.stage-steps { list-style: none; display: grid; gap: 0.8rem; color: var(--fg-dim); }
.stage-steps li { display: grid; grid-template-columns: 1.4rem 1fr; gap: 0.6rem; }
.stage-steps li::before { content: "❋"; color: var(--teal-deep); font-size: 0.85rem; padding-top: 0.2rem; }

/* ---------- Outcomes ---------- */
.outcomes { padding-block: clamp(5rem, 12vh, 9rem); }
.stat-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--line);
  border-block: 1px solid var(--line);
  margin-top: clamp(2.5rem, 6vh, 4rem);
}
.stat { background: var(--bg); padding: clamp(1.4rem, 3vw, 2.4rem) clamp(1rem, 2vw, 1.8rem); }
.stat-num {
  display: flex; align-items: baseline; gap: 0.3rem;
  font-family: var(--font-display); font-weight: 380;
  font-size: clamp(2.1rem, 3.8vw, 3.4rem); line-height: 1.05;
  font-variation-settings: "opsz" 144;
  color: var(--teal-deep);
}
.stat-unit { font-size: 0.34em; font-family: var(--font-body); font-weight: 600; letter-spacing: 0.08em; color: var(--fg-dim); }
.stat p { margin-top: 0.8rem; font-size: 0.9rem; color: var(--fg-dim); max-width: 22ch; }
.stat-note { margin-top: 0.9rem; color: var(--fg-dim); opacity: 0.8; }

.outcome-list {
  list-style: none; margin-top: clamp(2.5rem, 6vh, 4rem);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 3vw, 2.5rem);
}
.outcome-list li {
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid var(--line); border-radius: 1.2rem;
  background: var(--bg-raised);
  color: var(--fg-dim);
  transition: border-color 0.4s, transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.outcome-list li:hover {
  border-color: var(--teal); transform: translateY(-4px);
  box-shadow: 0 18px 44px oklch(40% 0.05 280 / 0.1);
}
.outcome-list strong { display: block; color: var(--fg); font-weight: 650; margin-bottom: 0.4rem; font-size: 1.06em; }

/* ---------- Proof ---------- */
.proof { padding-block: clamp(5rem, 12vh, 9rem) clamp(6rem, 14vh, 10rem); }
.quote-hero { max-width: 56rem; margin-top: clamp(2rem, 5vh, 3rem); }
.quote-hero blockquote p {
  font-family: var(--font-display); font-weight: 420;
  font-size: clamp(1.5rem, 2.9vw, 2.5rem); line-height: 1.24; letter-spacing: -0.008em;
  font-variation-settings: "opsz" 100, "SOFT" 30;
  text-indent: -0.45em;
}
.quote-hero em { color: var(--teal-deep); font-variation-settings: "opsz" 110, "SOFT" 70, "WONK" 1; }
.q-mark { color: var(--teal-deep); }
.quote-hero figcaption {
  display: flex; align-items: center; gap: 1rem; margin-top: 2rem;
  font-size: 0.92rem; color: var(--fg-dim);
}
.quote-hero img, .tcard img { border-radius: 50%; }
.quote-hero strong, .tcard strong { color: var(--fg); }

.tgrid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 2.5vw, 2rem);
  margin-top: clamp(3rem, 7vh, 5rem);
}
.tcard {
  border: 1px solid var(--line); border-radius: 1.4rem;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  display: flex; flex-direction: column; gap: 1.6rem; justify-content: space-between;
  background: var(--bg-raised);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
  box-shadow: 0 1px 2px oklch(40% 0.05 280 / 0.06), 0 8px 24px oklch(40% 0.05 280 / 0.07);
}
.tcard:hover { transform: translateY(-6px); box-shadow: 0 2px 4px oklch(40% 0.05 280 / 0.08), 0 18px 44px oklch(40% 0.05 280 / 0.12); }
.tcard blockquote { color: var(--fg-dim); font-size: 0.98rem; }
.tcard figcaption { display: flex; align-items: center; gap: 0.8rem; font-size: 0.84rem; color: var(--fg-dim); }

/* ---------- Timeline (drenched) ---------- */
.timeline { padding-block: clamp(6rem, 14vh, 11rem) clamp(4rem, 9vh, 7rem); }
.tl {
  list-style: none; position: relative;
  margin-top: clamp(3rem, 7vh, 5rem);
  display: grid; gap: clamp(2.5rem, 6vh, 4rem);
  padding-left: clamp(2rem, 5vw, 3.5rem);
}
.tl-line {
  position: absolute; left: 0.45rem; top: 0.4rem; bottom: 0.4rem; width: 1px;
  background: var(--line);
}
.tl-line-fill { display: block; width: 100%; height: 100%; background: var(--teal); transform-origin: top; transform: scaleY(0); }
html:not(.js) .tl-line-fill { transform: none; }
.tl-step { position: relative; max-width: 44rem; }
.tl-dot {
  position: absolute; left: calc(-1 * clamp(2rem, 5vw, 3.5rem) - 0px); top: 0.4rem;
  width: 0.95rem; height: 0.95rem; border-radius: 50%;
  border: 1px solid var(--teal); background: var(--bg);
}
.tl-step.is-lit .tl-dot { background: var(--teal); box-shadow: 0 0 18px oklch(74.5% 0.115 178 / 0.55); }
.tl-when { display: block; color: var(--teal); margin-bottom: 0.6rem; }
.tl-step p { color: var(--fg-dim); font-size: clamp(1.05rem, 1.5vw, 1.3rem); }
.tl-step.is-lit p { color: var(--fg); }

/* ---------- Start (drenched) ---------- */
.start { padding-block: clamp(4rem, 9vh, 7rem) clamp(5rem, 11vh, 8rem); }
.path {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(1.4rem, 3vw, 2.4rem);
  margin-top: clamp(3rem, 7vh, 4.5rem);
}
.path-step {
  border: 1px solid var(--line); border-radius: 1.4rem;
  padding: clamp(1.6rem, 3.5vw, 2.6rem);
  background: var(--bg-raised);
  position: relative;
}
.path-step--wide { grid-column: 1 / -1; }
.path-num {
  display: inline-grid; place-items: center;
  width: 2.4rem; height: 2.4rem; border-radius: 50%;
  border: 1px solid var(--teal); color: var(--teal);
  margin-bottom: 1.3rem; font-size: 0.85rem;
}
.path-step h3 {
  font-family: var(--font-display); font-weight: 450;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-variation-settings: "opsz" 80, "SOFT" 30;
  margin-bottom: 0.7rem;
}
.path-step > p { color: var(--fg-dim); max-width: 58ch; }

.tier-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 1.8rem; }
.tier {
  border: 1px solid var(--line); border-radius: 1.2rem; padding: 1.4rem;
  transition: border-color 0.35s;
}
.tier:hover { border-color: oklch(96.5% 0.02 175 / 0.45); }
.tier--hot { border-color: var(--teal); position: relative; }
.tier-badge { display: inline-block; color: var(--teal); margin-bottom: 0.7rem; font-size: 0.62rem; }
.tier h4 {
  font-family: var(--font-display); font-weight: 500; font-size: 1.3rem;
  font-variation-settings: "opsz" 40, "SOFT" 30; margin-bottom: 0.45rem;
}
.tier p { color: var(--fg-dim); font-size: 0.92rem; }
.tier-note { margin-top: 1.6rem; color: var(--fg-dim); font-size: 0.92rem; max-width: 62ch; }

.guarantee {
  display: flex; align-items: center; gap: clamp(1.6rem, 4vw, 3rem);
  margin-top: clamp(3rem, 6vh, 4.5rem);
  border: 1px solid var(--line); border-radius: 1.6rem;
  padding: clamp(1.6rem, 4vw, 2.6rem);
  background: linear-gradient(120deg, oklch(29% 0.05 188 / 0.65), oklch(38% 0.075 184 / 0.35));
}
.seal { width: clamp(6.5rem, 12vw, 8.5rem); flex-shrink: 0; color: var(--teal); }
.seal text { font-family: var(--font-body); font-weight: 600; font-size: 0.6rem; letter-spacing: 0.22em; fill: currentColor; }
.seal-rotor { transform-origin: 60px 60px; transform-box: view-box; }
html.js .seal-rotor { animation: seal-spin 30s linear infinite; }
@keyframes seal-spin { to { transform: rotate(360deg); } }
.guarantee-copy h3 {
  font-family: var(--font-display); font-weight: 470; font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-variation-settings: "opsz" 80, "SOFT" 40; margin-bottom: 0.6rem;
}
.guarantee-copy p { color: var(--fg-dim); max-width: 58ch; }

/* ---------- About ---------- */
.about { padding-block: clamp(4rem, 9vh, 7rem); }
.about-grid {
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: clamp(2.5rem, 6vw, 5rem); align-items: center;
}
.portrait-frame {
  border-radius: 1.6rem; overflow: hidden; position: relative;
  transform: rotate(-1.5deg);
  box-shadow: 0 2px 6px oklch(40% 0.05 280 / 0.08), 0 40px 80px -30px oklch(40% 0.05 280 / 0.3);
}
.portrait-frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(160deg, oklch(84% 0.09 177 / 0.16), transparent 45%, oklch(50% 0.095 184 / 0.14));
  mix-blend-mode: overlay;
}
.portrait-frame img { width: 100%; height: auto; filter: saturate(0.95) contrast(1.02); }
.about-portrait figcaption { margin-top: 1rem; color: var(--fg-dim); text-align: center; }
.about-copy p { color: var(--fg-dim); margin-top: 1.2rem; max-width: 58ch; }
.about-copy .section-title { margin-bottom: 0.6rem; }
.about-hook { font-family: var(--font-display); font-size: 1.35rem; color: var(--fg) !important; font-variation-settings: "opsz" 40, "SOFT" 50; }
.about-copy .link-arrow { margin-top: 1.6rem; }

/* ---------- FAQ ---------- */
.faq { padding-block: clamp(4rem, 9vh, 7rem); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.faq-head { position: sticky; top: calc(var(--header-h) + 2rem); }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding-block: 1.4rem;
  font-family: var(--font-display); font-weight: 460; font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-variation-settings: "opsz" 60, "SOFT" 20;
  transition: color 0.3s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--teal-deep); }
.faq-x { position: relative; width: 1rem; height: 1rem; flex-shrink: 0; }
.faq-x::before, .faq-x::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  background: var(--teal-deep); transition: transform 0.4s var(--ease-out);
}
.faq-x::before { width: 100%; height: 1.5px; }
.faq-x::after { width: 1.5px; height: 100%; }
.faq-item[open] .faq-x::after { transform: scaleY(0); }
.faq-item[open] .faq-x::before { transform: rotate(180deg); }
.faq-a { padding-bottom: 1.6rem; max-width: 56ch; }
.faq-a p { color: var(--fg-dim); }

/* ---------- Closing (drenched) ---------- */
.closing {
  min-height: 92svh; display: grid; place-items: center;
  position: relative; overflow: clip; text-align: center;
}
.closing-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(45% 38% at 50% 72%, oklch(50% 0.095 184 / 0.35), transparent 70%),
    radial-gradient(70% 55% at 50% 85%, oklch(74.5% 0.115 178 / 0.14), transparent 75%);
}
.closing-inner { position: relative; display: grid; justify-items: center; gap: 1.6rem; padding-block: 8rem; }
.closing-kicker { color: var(--teal); }
.closing-title {
  font-family: var(--font-display); font-weight: 410;
  font-size: clamp(2.1rem, 4.4vw, 4rem); line-height: 1.12; letter-spacing: -0.012em;
  font-variation-settings: "opsz" 144;
  max-width: 20ch;
}
.closing-title em { color: var(--teal); font-variation-settings: "opsz" 144, "SOFT" 75, "WONK" 1; }
.closing-sub { color: var(--fg-dim); font-size: clamp(1.05rem, 1.5vw, 1.3rem); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); }
.footer-inner {
  display: flex; justify-content: space-between; gap: 3rem; flex-wrap: wrap;
  padding-block: clamp(2.5rem, 6vh, 4rem);
}
.footer-brand .wordmark--footer {
  font-family: var(--font-display); font-style: italic; font-weight: 550; font-size: 1.4rem;
  font-variation-settings: "opsz" 60, "SOFT" 50;
}
.footer-brand p { margin-top: 0.8rem; color: var(--fg-dim); }
.footer-links { display: grid; grid-template-columns: repeat(2, minmax(10rem, auto)); gap: 0.7rem 3rem; }
.footer-links a { color: var(--fg-dim); text-decoration: none; font-size: 0.95rem; transition: color 0.3s; }
.footer-links a:hover { color: var(--teal); }
.footer-base {
  display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-block: 1.4rem; color: var(--fg-dim);
}
.footer-base a { color: inherit; text-decoration: none; }
.footer-base a:hover { color: var(--teal); }

/* ---------- Responsive ---------- */
@media (max-width: 60rem) {
  .primary-nav { display: none; }
  .btn-header { display: none; }
  .nav-toggle {
    display: grid; gap: 6px; background: none; border: 0; cursor: pointer;
    padding: 0.6rem; z-index: 110; color: inherit;
  }
  .nav-toggle span { display: block; width: 26px; height: 2px; background: currentColor; transition: transform 0.35s var(--ease-out), opacity 0.35s; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

  .problem-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .outcome-list { grid-template-columns: 1fr; }
  .tgrid { grid-template-columns: 1fr; }
  .path { grid-template-columns: 1fr; }
  .tier-row { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-portrait { max-width: 22rem; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-head { position: static; }
  .guarantee { flex-direction: column; align-items: flex-start; }
  .hero-foot { padding-bottom: 3rem; }
  .footer-links { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 40rem) {
  .stat-row { grid-template-columns: 1fr 1fr; }
  .stage-card { min-height: auto; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .grain, .orbit-dot { animation: none; }
  html.js .seal-rotor { animation: none; }
  html.js .ht-word { opacity: 1; transform: none; }
  html.js .squig-svg path { animation: none; stroke-dashoffset: 0; }
  html.js .split-lines .sl-inner { opacity: 1; transform: none; }
  .shift-type .sw { opacity: 1; transform: none; }
  html.js .tl-line-fill { transform: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
