/* ===== Fonts (self-hosted, latin subset) ===== */
@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-italic-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Jakarta";
  src: url("/assets/fonts/jakarta-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* ===== Tokens ===== */
:root {
  --ink: #0f1c2e;
  --ink-2: #172a42;
  --ink-3: #22385a;
  --ivory: #f8f4ec;
  --paper: #fffdf8;
  --sand: #efe6d7;
  --text: #1c2431;
  --muted: #586274;
  --on-dark: #eef0f4;
  --on-dark-muted: #aab4c4;
  --amber: #f4b54b;
  --coral: #e3653f;
  --sage: #6f9c85;
  --sky: #8fb3d9;
  --line: rgba(15, 28, 46, 0.12);
  --line-dark: rgba(255, 255, 255, 0.12);
  --warm: linear-gradient(100deg, var(--amber), var(--coral));
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgba(15, 28, 46, 0.06), 0 12px 32px -12px rgba(15, 28, 46, 0.18);
  --shadow-lg: 0 30px 80px -30px rgba(15, 28, 46, 0.45);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Jakarta", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --warm-shine: linear-gradient(100deg, var(--amber) 0%, var(--coral) 35%, #ffd27a 50%, var(--coral) 65%, var(--amber) 100%);
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -0.015em; margin: 0 0 0.5em; font-variation-settings: "opsz" 96; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); font-variation-settings: "opsz" 36; }
em { font-style: italic; }
h1 em, h2 em, .grad {
  font-style: italic;
  background: var(--warm);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.04em;
}
::selection { background: var(--amber); color: var(--ink); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--paper); padding: 10px 16px; border-radius: 10px; }
.skip:focus { left: 12px; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.narrow { max-width: 760px; }
.center { text-align: center; margin-inline: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: #a83f1a; margin-bottom: 18px; /* deeper coral so small caps pass 4.5:1 on the cream backgrounds */
}
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--warm); }
.center .eyebrow, .eyebrow.center { justify-content: center; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--muted); max-width: 62ch; }
.dark .lead, .dark p { color: var(--on-dark-muted); }
.small { font-size: 0.9rem; color: var(--muted); }
.tm { font-size: 0.55em; vertical-align: super; font-style: normal; }

/* ===== Buttons ===== */
.btn {
  --bg: var(--ink); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  background: var(--bg); color: var(--fg); border: 1.5px solid transparent;
  font: 600 1rem/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.25s, color 0.25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { --bg: var(--warm); background: var(--warm); color: var(--ink); box-shadow: 0 10px 30px -10px rgba(227, 101, 63, 0.7); }
.btn-primary:hover { box-shadow: 0 16px 40px -12px rgba(227, 101, 63, 0.85); }
.btn-dark { --bg: var(--ink); --fg: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(15, 28, 46, 0.25); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-ghost-light { background: rgba(255, 255, 255, 0.06); color: #fff; border-color: rgba(255, 255, 255, 0.3); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.12); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 0.92rem; }
.btn .arrow { transition: transform 0.35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.center .btn-row { justify-content: center; }
.text-link { font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--amber); padding-bottom: 2px; }
.dark .text-link { color: #fff; }

/* ===== Header ===== */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background 0.35s, box-shadow 0.35s, transform 0.4s var(--ease);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; flex-shrink: 0; }
.brand-mark { width: 40px; height: 40px; }
.brand-text { display: grid; line-height: 1.1; }
.brand-text strong { font-family: var(--serif); font-size: 1.22rem; font-weight: 600; letter-spacing: -0.01em; }
.brand-text small { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.7; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav a { display: block; padding: 10px 14px; border-radius: 999px; text-decoration: none; font-size: 0.95rem; font-weight: 500; transition: background 0.25s; }
.nav a:hover { background: rgba(127, 127, 127, 0.14); }
.nav a[aria-current="page"] { background: rgba(244, 181, 75, 0.2); }
.nav-toggle { display: none; }

/* Header over the dark hero: light text until scrolled */
.has-dark-hero .site-header:not(.scrolled) { color: #fff; }
.site-header.scrolled { background: rgba(248, 244, 236, 0.86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); color: var(--text); }
.site-header.hidden { transform: translateY(-100%); }

@media (max-width: 1060px) {
  .nav-toggle {
    display: grid; place-content: center; gap: 6px; margin-left: auto;
    width: 46px; height: 46px; border-radius: 50%; border: 1px solid currentColor; background: transparent; color: inherit; cursor: pointer;
  }
  .nav-toggle span { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.3s var(--ease); }
  .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); }
  .nav { position: fixed; inset: 76px 0 auto; margin: 0; background: var(--paper); color: var(--text); box-shadow: var(--shadow-lg);
    clip-path: inset(0 0 100% 0); transition: clip-path 0.45s var(--ease); }
  .nav.open { clip-path: inset(0 0 0 0); }
  .nav ul { flex-direction: column; padding: 14px 20px 22px; }
  .nav a { padding: 14px 12px; font-size: 1.1rem; border-radius: 12px; }
  .header-cta { margin-left: auto; }
  .nav-toggle { margin-left: 0; }
  .nav-open .site-header, .has-dark-hero.nav-open .site-header:not(.scrolled) { background: var(--paper); color: var(--text); }
}
@media (min-width: 1061px) { .nav .mobile-only { display: none; } }
@media (max-width: 520px) {
  .header-cta { display: none; }
  .nav-toggle { margin-left: auto; }
  .brand-text small { display: none; }
}

/* ===== Sections ===== */
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.section-tight { padding: clamp(56px, 7vw, 90px) 0; }
.dark { background: var(--ink); color: var(--on-dark); }
.dark h2, .dark h3 { color: #fff; }
.paper { background: var(--paper); }
.sand { background: var(--sand); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 70px); }
.section-head.center { text-align: center; }
.section-head.center .lead { margin-inline: auto; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.split-60 { grid-template-columns: 1.15fr 0.85fr; }
@media (max-width: 900px) { .split, .split-60 { grid-template-columns: 1fr; } }

/* ===== Hero (home) ===== */
.hero {
  position: relative; min-height: 100svh; display: grid; align-items: end;
  padding: 130px 0 clamp(60px, 9vh, 110px); color: #fff; overflow: hidden; background: var(--ink);
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media img { object-position: 60% center; }
.hero-media video { position: absolute; inset: 0; object-position: 60% center; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(70% 60% at 85% 20%, rgba(227, 101, 63, 0.28), transparent 60%),
    radial-gradient(60% 60% at 10% 100%, rgba(244, 181, 75, 0.18), transparent 60%),
    linear-gradient(90deg, rgba(15, 28, 46, 0.78) 0%, rgba(15, 28, 46, 0.45) 60%, rgba(15, 28, 46, 0.3) 100%),
    linear-gradient(180deg, rgba(15, 28, 46, 0.55) 0%, rgba(15, 28, 46, 0.6) 45%, rgba(15, 28, 46, 0.97) 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 50px; align-items: end; }
.hero h1 { color: #fff; max-width: 13ch; margin-bottom: 26px; }
.hero .eyebrow { color: var(--amber); }
.hero-sub { font-size: clamp(1.08rem, 1.6vw, 1.3rem); color: rgba(255, 255, 255, 0.82); max-width: 54ch; margin-bottom: 34px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; font-size: 0.9rem; color: rgba(255, 255, 255, 0.7); }
.hero-proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
.play-btn {
  display: inline-flex; align-items: center; gap: 12px; background: none; border: 0; color: #fff; cursor: pointer;
  font: 600 1rem var(--sans); padding: 0; text-align: left;
}
.play-btn[hidden] { display: none; }
.play-btn .ring {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.12); border: 1.5px solid rgba(255, 255, 255, 0.4); backdrop-filter: blur(6px);
  position: relative;
}
.play-btn .ring::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1.5px solid rgba(244, 181, 75, 0.6); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(0.85); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }

/* Emotion shift card: the hero's motion graphic. Each scene plays the Emotion Roadmap:
   the situation types in, the four steps light up, and the feeling warms from "now" to "ideal". */
.shift-card {
  background: rgba(15, 28, 46, 0.6); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius);
  padding: 22px 24px 24px; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: var(--shadow-lg);
  isolation: isolate; overflow: hidden; contain: layout paint;
}
/* Warm light floods the card when the ideal feeling arrives */
.shift-card::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(80% 70% at 82% 46%, rgba(244, 181, 75, 0.24), transparent 65%), radial-gradient(60% 60% at 10% 100%, rgba(227, 101, 63, 0.14), transparent 70%); opacity: 0; transition: opacity 1.4s var(--ease); }
.shift-card.arrived::after { opacity: 1; }
.shift-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.ctx-label { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark-muted); }
.shift-count { font: 600 0.72rem var(--sans); letter-spacing: 0.1em; color: var(--on-dark-muted); font-variant-numeric: tabular-nums; }
.shift-count b { color: var(--amber); font-weight: 700; }
.shift-context { margin: 0 0 22px; font-family: var(--serif); font-size: 1.22rem; line-height: 1.35; color: #fff; min-height: 2.7em; }
.shift-context .caret { display: inline-block; width: 2px; height: 1.05em; margin-left: 3px; vertical-align: -0.15em; background: var(--amber); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.shift-card .label { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 10px; display: flex; justify-content: space-between; }
.shift-row { display: grid; grid-template-columns: 1fr 64px 1fr; align-items: center; gap: 8px; }
.feel { position: relative; height: 50px; border-radius: 13px; font-family: var(--serif); font-size: 1.2rem; font-style: italic; }
.feel-now { background: rgba(143, 179, 217, 0.1); color: rgba(226, 234, 244, 0.85); box-shadow: inset 0 0 0 1px rgba(143, 179, 217, 0.18); }
.feel-ideal { color: var(--ink); font-weight: 600; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.16); }
.feel-ideal::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--warm); opacity: 0; transform: scale(0.7); transition: opacity 0.6s var(--ease), transform 0.8s var(--ease); }
.feel-ideal::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--amber); opacity: 0; pointer-events: none; }
.arrived .feel-ideal::before { opacity: 1; transform: none; box-shadow: 0 10px 34px -8px rgba(227, 101, 63, 0.8); }
.arrived .feel-ideal::after { animation: burst 1s var(--ease); }
@keyframes burst { from { opacity: 0.9; transform: scale(1); } to { opacity: 0; transform: scale(1.3, 1.9); } }
/* Words assemble and dissolve letter by letter */
.feel .word { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: center; white-space: nowrap; }
.feel .word b { display: inline-block; font-weight: inherit; opacity: 0; filter: blur(6px); transform: translateY(60%); transition: opacity 0.5s var(--ease), transform 0.6s var(--ease), filter 0.5s; transition-delay: calc(var(--i) * 34ms); }
.feel .word.show b { opacity: 1; filter: none; transform: none; }
.feel .word.leave b { opacity: 0; filter: blur(6px); transform: translateY(-60%); }
/* Arrow: a beam draws between the feelings with a spark riding its tip */
.shift-arrow { width: 64px; height: 26px; overflow: visible; }
.shift-arrow path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.shift-arrow .track { stroke: rgba(255, 255, 255, 0.18); stroke-width: 1.5; stroke-dasharray: 2 5; }
.shift-arrow .beam { stroke: var(--amber); stroke-width: 2.2; stroke-dasharray: 1; stroke-dashoffset: 1; }
.shifting .shift-arrow .beam { stroke-dashoffset: 0; transition: stroke-dashoffset 1.8s cubic-bezier(0.65, 0, 0.35, 1); }
.shift-arrow .head { stroke: var(--coral); stroke-width: 2.2; opacity: 0; transition: opacity 0.3s; }
.arrived .shift-arrow .head { opacity: 1; }
.shift-arrow .spark { fill: #fff; opacity: 0; filter: drop-shadow(0 0 4px var(--amber)) drop-shadow(0 0 8px var(--coral)); }
/* The four Roadmap steps double as the progress track */
.shift-steps { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.shift-steps::before, .shift-steps::after { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 5px; height: 2px; border-radius: 2px; }
.shift-steps::before { background: rgba(255, 255, 255, 0.12); }
.shift-steps::after { background: var(--warm); transform-origin: left; transform: scaleX(var(--sf, 0)); }
.shift-card.shifting .shift-steps::after { transition: transform 1.8s linear; }
.shift-steps li { position: relative; z-index: 1; text-align: center; padding-top: 22px; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark-muted); transition: color 0.4s; }
.shift-steps li::before { content: ""; position: absolute; top: 0; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--ink-2); border: 2px solid rgba(255, 255, 255, 0.25); transition: background 0.4s, border-color 0.4s, box-shadow 0.4s, transform 0.5s var(--ease); }
.shift-steps li.on { color: #fff; }
.shift-steps li.on::before { background: var(--amber); border-color: var(--amber); transform: scale(1.15); box-shadow: 0 0 0 4px rgba(244, 181, 75, 0.2), 0 0 16px rgba(244, 181, 75, 0.8); }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; translate: -50% 0; width: 24px; height: 38px; border: 1.5px solid rgba(255, 255, 255, 0.4); border-radius: 14px; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(12px); opacity: 0; } }
@media (max-width: 700px) { .hero-media img, .hero-media video { object-position: center; } }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero { align-items: center; }
  .scroll-cue { display: none; }
}

/* ===== Page hero (inner pages) ===== */
.page-hero { padding: clamp(140px, 18vw, 200px) 0 clamp(60px, 8vw, 100px); position: relative; overflow: hidden; }
.page-hero.dark { background: radial-gradient(60% 80% at 90% 0%, rgba(227, 101, 63, 0.22), transparent 60%), radial-gradient(50% 60% at 0% 100%, rgba(244, 181, 75, 0.14), transparent 60%), var(--ink); }
.page-hero h1 { max-width: 16ch; }
.page-hero.dark h1 { color: #fff; }
.page-hero .lead { margin-bottom: 30px; }
.breadcrumbs { font-size: 0.85rem; margin-bottom: 22px; opacity: 0.75; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs span { margin: 0 8px; }
.hero-portrait { position: relative; }
.hero-portrait img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; object-position: top; box-shadow: var(--shadow-lg); }
.hero-portrait .badge-float { position: absolute; left: -24px; bottom: 30px; }
@media (max-width: 900px) { .hero-portrait .badge-float { left: 12px; } }

/* ===== Marquee ===== */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--paper); padding: 22px 0; }
.marquee-label { text-align: center; font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 48s linear infinite; }
/* Pause on mouse hover only: phones keep a tap as "hover", which would freeze the strip */
@media (hover: hover) { .marquee:hover .marquee-track { animation-play-state: paused; } }
.marquee-track span { font-family: var(--serif); font-size: 1.35rem; color: #3a4558; white-space: nowrap; display: inline-flex; align-items: center; gap: 56px; }
.marquee-track span::after { content: "✦"; font-size: 0.7rem; color: var(--amber); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===== Big statement (word-by-word light-up on scroll) ===== */
.statement { font-family: var(--serif); font-size: clamp(1.7rem, 3.6vw, 3rem); line-height: 1.25; letter-spacing: -0.015em; max-width: 26ch; font-variation-settings: "opsz" 72; }
.statement .w { opacity: 0.18; transition: opacity 0.4s; }
.statement .w.lit { opacity: 1; }
.no-js .statement .w, .statement.static .w { opacity: 1; }
.statement-by { margin-top: 28px; display: flex; align-items: center; gap: 14px; font-size: 0.95rem; color: var(--muted); }
.statement-by img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: top; }

/* ===== Cards ===== */
.cards { display: grid; gap: 22px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .cards-3, .cards-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards-3, .cards-2, .cards-4 { grid-template-columns: 1fr; } }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  position: relative; transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s;
}
@media (hover: hover) { .card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; } }
.card h3 { margin-bottom: 12px; overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
/* Grid items may shrink below their longest word, so cards never push the page wider on small phones */
.cards > * { min-width: 0; }
@media (max-width: 360px) { .card { padding: 22px 18px; } }
.card p { color: var(--muted); }
.card .num { font-family: var(--serif); font-style: italic; font-size: 0.95rem; color: var(--coral); margin-bottom: 18px; display: block; }
.card .tag { display: inline-block; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: rgba(111, 156, 133, 0.16); color: #3f6b55; margin-top: 6px; }
.card-link { position: absolute; inset: 0; border-radius: inherit; }
.dark .card { background: var(--ink-2); border-color: var(--line-dark); }
.dark .card p { color: var(--on-dark-muted); }
.card-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(244, 181, 75, 0.16); margin-bottom: 20px; }
.card-icon svg { width: 24px; height: 24px; stroke: var(--coral); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Talk cards with image */
.talk { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.talk-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand); }
.talk-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.talk:hover .talk-img img { transform: scale(1.05); }
.talk-body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.talk-body ul { margin: 6px 0 0; padding-left: 18px; color: var(--muted); font-size: 0.95rem; }
.talk-body li { margin-bottom: 6px; }
.talk-art { aspect-ratio: 16 / 10; display: grid; place-items: center; background: radial-gradient(80% 80% at 30% 20%, rgba(244, 181, 75, 0.35), transparent 60%), radial-gradient(70% 70% at 90% 90%, rgba(227, 101, 63, 0.3), transparent 60%), var(--ink); color: #fff; font-family: var(--serif); font-style: italic; font-size: 1.6rem; text-align: center; padding: 20px; }

/* ===== Emotion Roadmap steps (animated road) ===== */
.roadmap { position: relative; }
.road-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.road-svg path.base { stroke: var(--line-dark); stroke-width: 2; fill: none; stroke-dasharray: 4 8; }
.road-svg path.glow { stroke: url(#g-warm); stroke-width: 3; fill: none; stroke-linecap: round; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); } .road-svg { display: none; } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 30px 18px 0 0; position: relative; z-index: 1; }
.step > :not(.step-dot) { transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.js .step:not(.active) > :not(.step-dot) { opacity: 0.35; transform: translateY(8px); }
.step-dot { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); border: 1.5px solid rgba(255, 255, 255, 0.22); margin-bottom: 26px; font-family: var(--serif); font-size: 1.3rem; color: var(--amber); transition: background 0.5s, color 0.5s, box-shadow 0.5s; }
@media (max-width: 1000px) { .step { padding: 0 0 10px; } }
.step.active .step-dot { background: var(--warm); color: var(--ink); box-shadow: 0 0 0 8px rgba(244, 181, 75, 0.14); }
.step h3 { color: #fff; margin-bottom: 4px; }
.step .phase { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber); margin-bottom: 14px; display: block; }
.step .q { font-family: var(--serif); font-style: italic; font-size: 1.12rem; color: #fff; line-height: 1.4; margin-bottom: 12px; }
.step p { font-size: 0.95rem; }

/* Light variant of steps */
.steps-light .step h3, .steps-light .step .q { color: var(--ink); }
.steps-light .step-dot { background: var(--ivory); border-color: var(--line); color: var(--coral); }
.steps-light .step p { color: var(--muted); }
.steps-light .road-svg path.base { stroke: var(--line); }

/* ===== Before / after slider ===== */
.compare { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 2 / 3; max-height: 640px; margin-inline: auto; box-shadow: var(--shadow-lg); user-select: none; touch-action: pan-y; --pos: 50%; background: var(--ink); }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare .after { clip-path: inset(0 0 0 var(--pos)); }
.compare .handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: #fff; translate: -1px 0; }
.compare .handle::after {
  content: "‹ ›"; position: absolute; top: 50%; left: 50%; translate: -50% -50%;
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--warm); color: var(--ink); font-weight: 700; letter-spacing: 2px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare .chip { position: absolute; top: 16px; padding: 7px 12px; border-radius: 999px; font-size: 0.8rem; font-weight: 700; background: rgba(15, 28, 46, 0.75); color: #fff; backdrop-filter: blur(6px); }
.compare .chip.l { left: 16px; }
.compare .chip.r { right: 16px; background: var(--warm); color: var(--ink); }
.feeling-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.feeling-list li { display: grid; grid-template-columns: 1fr 26px 1fr; align-items: center; gap: 10px; padding: 14px 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); font-weight: 500; }
.feeling-list li span:first-child { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(227, 101, 63, 0.6); }
.feeling-list li span:last-child { font-family: var(--serif); font-style: italic; font-size: 1.1rem; }
.feeling-list svg { width: 22px; height: 22px; stroke: var(--coral); fill: none; stroke-width: 2; }

/* ===== Stats ===== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 800px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { padding: 26px 0; border-top: 1px solid var(--line); }
.dark .stat { border-color: var(--line-dark); }
.stat b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1; letter-spacing: -0.03em; margin-bottom: 10px; }
.stat b .grad { font-style: normal; }
.stat span { color: var(--muted); font-size: 0.95rem; }
.dark .stat span { color: var(--on-dark-muted); }

/* ===== Testimonials ===== */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 1000px) { .quotes { grid-template-columns: 1fr; } }
.quote { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; display: flex; flex-direction: column; }
.quote blockquote { margin: 0 0 24px; font-family: var(--serif); font-size: 1.18rem; line-height: 1.5; flex: 1; }
.quote blockquote::before { content: "“"; display: block; font-size: 4rem; line-height: 0.6; color: var(--amber); margin-bottom: 12px; }
.quote figcaption { font-size: 0.92rem; color: var(--muted); }
.quote figcaption strong { display: block; color: var(--text); font-size: 1rem; }
.quote.featured { grid-column: span 2; background: var(--ink); color: #fff; border: 0; }
.quote.featured blockquote { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
.quote.featured figcaption, .quote.featured figcaption strong { color: var(--on-dark-muted); }
.quote.featured figcaption strong { color: #fff; }
@media (max-width: 1000px) { .quote.featured { grid-column: auto; } }
.quote.ei-card { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; background: var(--ink); color: var(--on-dark); border: 0; }
.quote.ei-card h3 { color: #fff; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.quote.ei-card p { color: var(--on-dark-muted); }
.quote.ei-card .text-link { color: #fff; }
.quote.ei-card .pills li { background: rgba(255, 255, 255, 0.06); border-color: var(--line-dark); color: var(--on-dark); font-family: var(--serif); font-size: 1rem; }
@media (max-width: 800px) { .quote.ei-card { grid-template-columns: 1fr; } }
[data-placeholder] { position: relative; outline: 2px dashed var(--coral); outline-offset: 4px; }
[data-placeholder]::after { content: "Placeholder: replace before launch"; position: absolute; top: -12px; right: 16px; font: 700 0.7rem var(--sans); letter-spacing: 0.06em; text-transform: uppercase; background: var(--coral); color: #fff; padding: 4px 8px; border-radius: 6px; }

/* ===== Case stories ===== */
.case { padding: 34px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); display: grid; gap: 14px; align-content: start; }
.case .kicker { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sage); }
.case dl { margin: 0; display: grid; gap: 10px; }
.case dt { font-weight: 700; font-size: 0.85rem; color: var(--ink); }
.case dd { margin: 0 0 6px; color: var(--muted); font-size: 0.97rem; }

/* ===== Course promo ===== */
.course-card { display: grid; grid-template-columns: 1fr 1fr; border-radius: 30px; overflow: hidden; background: var(--ink); color: #fff; box-shadow: var(--shadow-lg); }
.course-card .course-body { padding: clamp(32px, 5vw, 64px); }
.course-card h2 { color: #fff; }
.course-card p { color: var(--on-dark-muted); }
.course-media { position: relative; min-height: 340px; }
.course-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.price { display: flex; align-items: baseline; gap: 10px; margin: 8px 0 26px; }
.price b { font-family: var(--serif); font-size: 3rem; font-weight: 500; line-height: 1; color: #fff; }
.price span { color: var(--on-dark-muted); }
@media (max-width: 900px) { .course-card { grid-template-columns: 1fr; } .course-media { min-height: 260px; } }

/* ===== Video facade ===== */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: var(--shadow-lg); }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transition: opacity 0.4s, transform 0.8s var(--ease); }
.video button { position: absolute; inset: 0; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; color: #fff; }
.video button span { width: 84px; height: 84px; border-radius: 50%; background: var(--warm); display: grid; place-items: center; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4); transition: transform 0.4s var(--ease); }
.video button svg { width: 28px; height: 28px; fill: var(--ink); margin-left: 4px; }
.video:hover img { opacity: 1; transform: scale(1.03); }
.video:hover button span { transform: scale(1.08); }
.video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ===== Lists / misc content ===== */
.checks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 34px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: rgba(111, 156, 133, 0.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233f6b55' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat; }
.dark .checks li::before { background-color: rgba(244, 181, 75, 0.16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4b54b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E"); }
.pills { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.pills li { padding: 9px 16px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: 0.92rem; font-weight: 500; }
.dark .pills li { background: rgba(255, 255, 255, 0.06); border-color: var(--line-dark); color: var(--on-dark); }
.photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-stack { position: relative; padding: 0 0 40px 40px; }
.photo-stack .photo-2 { position: absolute; left: 0; bottom: 0; width: 46%; border: 6px solid var(--ivory); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); }
.badge-float { display: inline-flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 16px; background: var(--paper); box-shadow: var(--shadow-lg); font-size: 0.9rem; color: var(--text); animation: bob 6s ease-in-out infinite; }
.badge-float b { font-family: var(--serif); font-size: 1.6rem; font-weight: 500; line-height: 1; }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--amber), var(--coral)); transform-origin: top; transform: scaleY(var(--tl, 0)); }
.timeline li { position: relative; padding: 0 0 34px 40px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--ivory); border: 3px solid var(--coral); }
.timeline time { font-family: var(--serif); font-style: italic; color: var(--coral); font-size: 1.05rem; }
.timeline h3 { font-size: 1.2rem; margin: 4px 0 6px; }
.timeline p { color: var(--muted); margin: 0; }

/* Publications */
/* Press feature (About page) and press line (homepage) */
.press-card { padding: clamp(24px, 4vw, 40px); display: grid; gap: 14px; }
.press-card h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.press-meta { margin: 0; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.press-card blockquote { margin: 4px 0; padding-left: 18px; border-left: 3px solid var(--amber); font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--text); }
.press-note { margin: -8px 0 22px; font-size: 0.95rem; color: var(--muted); }
.press-note cite { font-style: normal; font-weight: 700; color: var(--text); }
.press-note a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.pubs { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.pubs li { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 70px 1fr; gap: 20px; }
.pubs li b { font-family: var(--serif); font-weight: 500; color: var(--coral); }
.pubs li span { color: var(--muted); }
.pubs li cite { font-style: normal; color: var(--text); font-weight: 600; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 24px; transition: box-shadow 0.3s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 36px 22px 0; font-weight: 600; font-size: 1.05rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 0; top: 50%; width: 14px; height: 14px; margin-top: -9px; border-right: 2px solid var(--coral); border-bottom: 2px solid var(--coral); transform: rotate(45deg); transition: transform 0.35s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { color: var(--muted); padding-bottom: 22px; margin: 0; }

/* Copyable bio */
.bio-box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; position: relative; }
.bio-box p { margin: 0; }
.bio-tabs { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.bio-tabs button { border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: 8px 16px; font: 600 0.9rem var(--sans); cursor: pointer; color: var(--text); }
.bio-tabs button[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.copy-btn { margin-top: 20px; }

/* Fees / formats */
.formats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; }
.formats div { padding: 28px; border-right: 1px solid var(--line-dark); }
.formats div:last-child { border-right: 0; }
.formats b { display: block; font-family: var(--serif); font-size: 1.5rem; font-weight: 500; color: #fff; margin-bottom: 6px; }
.formats span { color: var(--on-dark-muted); font-size: 0.93rem; display: block; }
.formats .fee { display: block; margin-top: 16px; font-family: var(--serif); font-size: 1.7rem; font-weight: 500; background: var(--warm); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 800px) { .formats { grid-template-columns: 1fr 1fr; } .formats div:nth-child(2) { border-right: 0; } .formats div:nth-child(-n+2) { border-bottom: 1px solid var(--line-dark); } }

/* ===== Forms ===== */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 8px; }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: var(--paper);
  border: 1.5px solid rgba(15, 28, 46, 0.16); border-radius: 12px; padding: 14px 16px; transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--coral); box-shadow: 0 0 0 4px rgba(227, 101, 63, 0.14); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { grid-column: 1 / -1; padding: 16px 18px; border-radius: 12px; display: none; }
.form-status.ok { display: block; background: rgba(111, 156, 133, 0.16); color: #2f5a44; }
.form-status.err { display: block; background: rgba(227, 101, 63, 0.12); color: #9a3a1d; }
.contact-card { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 34px; }
.contact-card a { color: #fff; }
.contact-card h3 { color: #fff; }
.contact-card p { color: var(--on-dark-muted); }
.contact-line { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
.contact-line svg { width: 22px; height: 22px; stroke: var(--amber); fill: none; stroke-width: 1.8; flex-shrink: 0; }

/* Prose (privacy etc.) */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.6rem; margin-top: 2em; }
.prose ul { padding-left: 20px; }

/* ===== Footer ===== */
.site-footer { background: var(--ink); color: var(--on-dark-muted); padding: clamp(70px, 9vw, 120px) 0 30px; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; width: 700px; height: 700px; right: -200px; top: -300px; border-radius: 50%; background: radial-gradient(closest-side, rgba(227, 101, 63, 0.22), transparent); pointer-events: none; }
.footer-cta { text-align: center; max-width: 820px; margin: 0 auto clamp(60px, 8vw, 100px); position: relative; }
.footer-cta h2 { color: #fff; }
.footer-cta .btn-row { justify-content: center; margin-top: 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-top: 50px; border-top: 1px solid var(--line-dark); position: relative; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h3 { font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; margin-bottom: 16px; font-weight: 700; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer address { font-style: normal; line-height: 1.9; }
.brand-light { color: #fff; margin-bottom: 18px; }
.footer-note { max-width: 32ch; }
.footer-base { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 0.85rem; }
.footer-base p { margin: 0; }

/* ===== Video modal ===== */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; background: rgba(8, 14, 24, 0.86); backdrop-filter: blur(8px); opacity: 0; pointer-events: none; transition: opacity 0.35s; }
.modal.open { opacity: 1; pointer-events: auto; }
.modal-inner { width: min(1000px, 100%); transform: scale(0.96); transition: transform 0.45s var(--ease); }
.modal.open .modal-inner { transform: none; }
.modal-close { position: absolute; top: 18px; right: 18px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.4); background: transparent; color: #fff; font-size: 1.6rem; cursor: pointer; }

/* ===== Reveal on scroll ===== */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal-img { clip-path: inset(12% 12% 12% 12% round var(--radius)); transition: clip-path 1.2s var(--ease); }
.js .reveal-img.in { clip-path: inset(0 0 0 0 round var(--radius)); }
.js .hero-in > * { opacity: 0; translate: 0 26px; animation: rise 1s var(--ease) forwards; }
.js .hero-in > h1.split-words { opacity: 1; translate: none; animation: none; } /* its words animate on their own */
.js .hero-in > *:nth-child(2) { animation-delay: 0.12s; }
.js .hero-in > *:nth-child(3) { animation-delay: 0.24s; }
.js .hero-in > *:nth-child(4) { animation-delay: 0.36s; }
.js .hero-in > *:nth-child(5) { animation-delay: 0.48s; }
@keyframes rise { to { opacity: 1; translate: none; } }
.split-words em .sw > span { background: var(--warm-shine); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 0.06em; }
.split-words .sw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.16em; margin-bottom: -0.16em; }
.split-words .sw > span { display: inline-block; transform: translateY(105%); animation: wordup 1s var(--ease) forwards; animation-delay: calc(var(--i) * 0.07s + 0.1s); }
@keyframes wordup { to { transform: none; } }
.split-words em .sw > span { animation: wordup 1s var(--ease) forwards, shimmer 8s ease-in-out 1.2s infinite; animation-delay: calc(var(--i) * 0.07s + 0.1s), 1.2s; }
.split-words.wait .sw > span { animation-play-state: paused; }
/* Italic words keep room for their overhang without leaving a gap before punctuation */
.split-words em { padding-right: 0; }
.split-words em .sw { margin-right: -0.06em; }

/* ===== Motion layer ===== */
/* Scroll progress */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; background: var(--warm); transform-origin: left; transform: scaleX(var(--sp, 0)); pointer-events: none; }

/* Slow shimmer through the highlighted words */
h1 em, h2 em { background-image: var(--warm-shine); background-size: 250% 100%; animation: shimmer 8s ease-in-out infinite; }
@keyframes shimmer { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* Hero: opens like a stage reveal, then sinks into a rounded card as you scroll */
.js .hero-media { animation: heroIn 2s var(--ease) 0.05s both; }
@keyframes heroIn { from { clip-path: inset(16% 14% 16% 14% round 40px); transform: scale(1.14); } to { clip-path: inset(0 0 0 0 round 0); transform: none; } }
@keyframes heroFade { from { opacity: 0; transform: scale(1.08); } to { opacity: 1; transform: none; } }
.hero-media picture { display: contents; }
.hero-media img, .hero-media video { translate: 0 calc(var(--hp, 0) * 18%); scale: calc(1 + var(--hp, 0) * 0.08); }
.hero { clip-path: inset(0 calc(var(--hp, 0) * 2.5vw) 0 round 0 0 calc(var(--hp, 0) * 48px) calc(var(--hp, 0) * 48px)); }
.hero-grid { translate: 0 calc(var(--hp, 0) * -70px); opacity: calc(1 - var(--hp, 0) * 1.3); }
.hero-grain {
  position: absolute; inset: -50%; z-index: -1; pointer-events: none; opacity: 0.1; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%, 100% { transform: translate(0, 0); } 20% { transform: translate(-4%, 3%); } 40% { transform: translate(3%, -5%); } 60% { transform: translate(-2%, 4%); } 80% { transform: translate(5%, 1%); } }
.hero-spot { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(560px circle at var(--mx, 72%) var(--my, 32%), rgba(244, 181, 75, 0.16), transparent 62%); }

/* Shift card: light runs round its border, and it tilts toward the cursor */
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.shift-card { position: relative; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.6s var(--ease); }
.shift-card::before {
  content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--ang), transparent 0 62%, var(--amber) 78%, var(--coral) 88%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: spin 5s linear infinite;
}
@keyframes spin { to { --ang: 360deg; } }

/* Primary button: a light sweep on hover, and every few seconds on the hero CTA */
.btn-primary { position: relative; overflow: hidden; isolation: isolate; }
.btn-primary::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%); translate: -120% 0; transition: translate 0.8s var(--ease); }
.btn-primary:hover::after { translate: 120% 0; }
.btn-shine::after { animation: sweep 4.5s var(--ease) 2.4s infinite; }
@keyframes sweep { 0% { translate: -120% 0; } 30%, 100% { translate: 120% 0; } }

/* Cards: a warm spotlight follows the cursor, icons answer the hover */
@media (hover: hover) {
  .card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.4s; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(244, 181, 75, 0.16), transparent 50%); }
  .card:hover::after { opacity: 1; }
}
.card-icon { transition: transform 0.5s var(--ease), background 0.4s; }
.card-icon svg { transition: stroke 0.4s; }
.card:hover .card-icon { transform: rotate(-8deg) scale(1.1); background: var(--warm); }
.card:hover .card-icon svg { stroke: var(--ink); }

/* Feelings band: two rows of "now → ideal" sliding in opposite directions as you scroll */
.feel-band { padding: clamp(46px, 7vw, 96px) 0; overflow: hidden; border-top: 1px solid var(--line); }
.feel-row { display: flex; width: max-content; font-family: var(--serif); font-size: clamp(2.3rem, 6.4vw, 5.6rem); line-height: 1.15; letter-spacing: -0.02em; white-space: nowrap; transform: translate3d(var(--x, 0px), 0, 0); will-change: transform; }
.feel-row + .feel-row { margin-top: 0.12em; }
.feel-row span { display: inline-flex; align-items: center; gap: 0.3em; padding-right: 0.55em; }
.feel-row span::after { content: "✦"; font-size: 0.28em; color: var(--amber); margin-left: 0.45em; }
.feel-row s { text-decoration: none; color: transparent; -webkit-text-stroke: 1.3px rgba(15, 28, 46, 0.5); }
.feel-row i { font-style: normal; font-family: var(--sans); font-size: 0.42em; color: var(--coral); }
.feel-row em { font-style: italic; background: var(--warm-shine); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 0.06em; animation: shimmer 8s ease-in-out infinite; }

/* Dark sections with drifting warm light */
.aurora { overflow: hidden; isolation: isolate; }
.aurora::before, .aurora::after { content: ""; position: absolute; z-index: -1; width: 60vw; max-width: 820px; aspect-ratio: 1; border-radius: 50%; pointer-events: none; }
.aurora::before { left: -18%; top: -25%; background: radial-gradient(closest-side, rgba(227, 101, 63, 0.26), transparent); animation: drift 22s ease-in-out infinite alternate; }
.aurora::after { right: -20%; bottom: -30%; background: radial-gradient(closest-side, rgba(244, 181, 75, 0.18), transparent); animation: drift 26s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(18%, 14%) scale(1.15); } }
.site-footer::before { animation: drift 20s ease-in-out infinite alternate; }

/* Roadmap: a glowing marker travels the road as it draws */
.road-orb { position: absolute; left: 0; top: 0; z-index: 2; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px rgba(244, 181, 75, 0.28), 0 0 34px 10px rgba(244, 181, 75, 0.55); pointer-events: none; opacity: 0; transition: opacity 0.4s; }
.roadmap.moving .road-orb { opacity: 1; }
@media (max-width: 1000px) { .road-orb { display: none; } }
.step.active .step-dot { animation: pop 0.7s var(--ease); }
@keyframes pop { 40% { transform: scale(1.18); } }

/* Feeling list: the old feeling gets struck through, then the arrow draws */
.feeling-list li span:first-child { text-decoration: none; background: linear-gradient(rgba(227, 101, 63, 0.7), rgba(227, 101, 63, 0.7)) left 56% / 0% 1.5px no-repeat; transition: background-size 0.8s var(--ease) calc(var(--d, 0s) + 0.35s); }
.feeling-list li.in span:first-child, html:not(.js) .feeling-list li span:first-child { background-size: 100% 1.5px; }
.feeling-list svg path { stroke-dasharray: 40; stroke-dashoffset: 40; transition: stroke-dashoffset 0.8s var(--ease) calc(var(--d, 0s) + 0.6s); }
.feeling-list li.in svg path, html:not(.js) .feeling-list svg path { stroke-dashoffset: 0; }

/* EI Consortium names pop in one after another */
.js .ei-card .pills li { opacity: 0; transform: translateY(10px) scale(0.94); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); transition-delay: calc(var(--n, 0) * 55ms + 0.3s); }
.js .ei-card.in .pills li { opacity: 1; transform: none; }

/* Talk images: wipe in on scroll */
.js .talk.reveal .talk-img img { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--ease) calc(var(--d, 0s) + 0.15s), transform 0.8s var(--ease); }
.js .talk.reveal.in .talk-img img { clip-path: inset(0 0 0 0); }

/* Looping animations pause while their section is off-screen (main.js toggles .is-off) */
.is-off, .is-off *, .is-off *::before, .is-off *::after { animation-play-state: paused !important; }

/* Phones and touch tablets keep the motion but drop the layers that repaint every frame:
   blur over the playing video, the blended grain, the spinning border light and the gradient shimmer. */
@media (max-width: 700px), (hover: none) {
  .hero-grain { display: none; }
  .shift-card { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(15, 28, 46, 0.86); }
  .shift-card::before { animation: none; --ang: 210deg; }
  .btn-ghost-light, .play-btn .ring, .compare .chip { backdrop-filter: none; }
  h1 em, h2 em, .feel-row em { animation: none; }
  .js .hero-media { animation: heroFade 1.6s var(--ease) 0.05s both; }
  .feel .word b { filter: none !important; }
  .split-words em .sw > span { animation: wordup 1s var(--ease) forwards; animation-delay: calc(var(--i) * 0.07s + 0.1s); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .js .reveal, .js .hero-in > * { opacity: 1; transform: none; }
  .js .reveal-img { clip-path: none; }
  /* Still versions: each name and feeling shown once, centred and fully on screen */
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; gap: 8px 22px; padding-inline: 20px; }
  .marquee-track span { font-size: 1.1rem; gap: 22px; }
  .marquee-track span[aria-hidden] { display: none; }
  .statement .w { opacity: 1; }
  .hero, .hero-grid, .hero-media img, .hero-media video { clip-path: none; translate: none; scale: none; opacity: 1; }
  .shift-card { transform: none; }
  .feel-row { transform: none; width: auto; flex-wrap: wrap; justify-content: center; row-gap: 0.1em; padding-inline: 20px; font-size: clamp(1.7rem, 5vw, 3.2rem); }
  .feel-row span:nth-child(n+4) { display: none; }
  .feel-row span::after { display: none; }
  .js .ei-card .pills li { opacity: 1; transform: none; }
  .js .talk.reveal .talk-img img { clip-path: none; }
  .feeling-list li span:first-child { background-size: 100% 1.5px; }
  .feeling-list svg path { stroke-dashoffset: 0; }
}
