/* ==========================================================================
   Brand Foundation Toolkit — Alluvia Studio
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --gold: #E8B856;          /* brand gold, sampled from the toolkit PDF */
  --gold-text: #E8B856;     /* gold text matches the brand gold in both themes */
  --gold-soft: rgba(232, 184, 86, .16);

  --bg: #FFFFFF;
  --bg-raised: #FAF8F4;
  --surface: #F2F1EE;
  --ink: #2A2929;
  --ink-soft: #4E4C49;
  --muted: #86827B;
  --faint: #C9C6C0;
  --line: rgba(42, 41, 41, .12);
  --pill-bg: #343333;
  --pill-ink: #FFFFFF;
  --topo: rgba(232, 184, 86, .55);
  --chip-bg: #FAF1DC;
  --chip-ink: #4E4C49;
  /* Dividers are dotted and faint, so they read differently from answer lines */
  --divider: 2px dotted color-mix(in srgb, var(--muted) 28%, transparent);
  --rule: rgba(42, 41, 41, .14);
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 12px 32px -12px rgba(60, 45, 10, .18);

  --font: "Libre Franklin", "Helvetica Neue", Arial, system-ui, sans-serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(20px, 5vw, 72px);
  --maxw: 1180px;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --gold-text: #E8B856;
    --gold-soft: rgba(232, 184, 86, .14);
    --bg: #343333;
    --bg-raised: #3B3A3A;
    --surface: #403F3E;
    --ink: #F4F1EB;
    --ink-soft: #D6D1C8;
    --muted: #A8A39A;
    --faint: #6A6764;
    --line: rgba(255, 255, 255, .12);
    --pill-bg: #E8B856;
    --pill-ink: #2A2929;
    --topo: rgba(232, 184, 86, .42);
  --chip-bg: rgba(232, 184, 86, .13);
  --chip-ink: #E9E4DA;
  --rule: rgba(255, 255, 255, .16);
    --shadow: 0 1px 2px rgba(0,0,0,.2), 0 18px 40px -16px rgba(0,0,0,.55);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --gold-text: #E8B856;
  --gold-soft: rgba(232, 184, 86, .14);
  --bg: #343333;
  --bg-raised: #3B3A3A;
  --surface: #403F3E;
  --ink: #F4F1EB;
  --ink-soft: #D6D1C8;
  --muted: #A8A39A;
  --faint: #6A6764;
  --line: rgba(255, 255, 255, .12);
  --pill-bg: #E8B856;
  --pill-ink: #2A2929;
  --topo: rgba(232, 184, 86, .42);
  --chip-bg: rgba(232, 184, 86, .13);
  --chip-ink: #E9E4DA;
  --rule: rgba(255, 255, 255, .16);
  --shadow: 0 1px 2px rgba(0,0,0,.2), 0 18px 40px -16px rgba(0,0,0,.55);
  color-scheme: dark;
}

/* ---------- Theme switch (View Transitions circular reveal) ---------- */
::view-transition-old(root),
::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
/* The default cross-fade/morph on the root group isn't needed and outlasts the circle */
::view-transition-group(root) { animation: none; }
/* Colour fades would otherwise lag behind the reveal circle */
.theme-switching *, .theme-switching *::before, .theme-switching *::after { transition: none !important; }

/* Animated content stays hidden until main.js has set its start states.
   Opacity, not visibility: GSAP treats an inherited visibility:hidden as alpha 0 when reading start values. */
.motion:not(.motion-ready) main { opacity: 0; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-soft);
  font-family: var(--font);
  font-size: clamp(16px, 1.05vw + 10px, 18px);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color .6s var(--ease-out), color .6s var(--ease-out);
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; font-weight: 500; line-height: 1.1; }
p { margin: 0 0 1em; }
strong { color: var(--ink); font-weight: 600; }
::selection { background: var(--gold); color: #2A2929; }

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

.logo { height: auto; }
.logo--dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo--light { display: none; }
  :root:not([data-theme="light"]) .logo--dark { display: block; }
}
:root[data-theme="dark"] .logo--light { display: none; }
:root[data-theme="dark"] .logo--dark { display: block; }

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

/* ---------- Access gate ---------- */
.gate { display: none; }
.is-locked { overflow: hidden; }
.is-locked body { overflow: hidden; }
.is-locked .gate, .gate.is-leaving {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  padding: max(20px, env(safe-area-inset-top, 0px)) 20px max(20px, env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
  background: color-mix(in srgb, var(--bg) 35%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
          backdrop-filter: blur(18px) saturate(1.2);
}
.gate__card {
  width: min(500px, 100%);
  padding: clamp(22px, 4vw, 36px);
  border: 1.5px solid var(--gold); border-radius: 24px;
  background: var(--bg);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .35);
  transition: background-color .6s;
}
/* Logo and star share a row to keep the card short */
.gate__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.gate__logo { width: 132px; }
.gate__star { display: block; width: 26px; height: 26px; fill: var(--gold); }
.gate__title { font-size: clamp(24px, 3vw, 30px); font-weight: 400; letter-spacing: -.02em; margin-bottom: 6px; }
.gate__intro { margin: 0 0 18px; font-size: 14px; line-height: 1.45; color: var(--ink-soft); }
/* Name and company sit side by side; everything else spans the card */
.gate__fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px 12px; }
.gate__field { min-width: 0; }
.gate__field--wide { grid-column: 1 / -1; }
.gate__field label { display: block; margin-bottom: 5px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.gate__field input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--bg-raised); color: var(--ink);
  font: inherit; font-size: 16px;
  transition: border-color .25s, box-shadow .25s, background-color .6s;
}
.gate__field input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.gate__field input[aria-invalid="true"] { border-color: #C2410C; }
.gate__error { margin: 4px 0 0; min-height: 0; font-size: 13px; line-height: 1.3; color: #C2410C; }
.gate__error:empty { display: none; }
.gate__submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; margin-top: 18px;
  padding: 13px 22px;
  border: 0; border-radius: 999px;
  background: var(--gold); color: #2A2929;
  font: inherit; font-size: 16px; font-weight: 600;
  cursor: pointer;
  transition: transform .4s var(--ease-out), box-shadow .4s;
}
.gate__submit:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(160, 110, 20, .7); }
.gate__submit.is-busy { opacity: .7; cursor: progress; transform: none; box-shadow: none; }
.gate__error--form { margin-top: 14px; }
.gate__submit svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease-out); }
.gate__submit:hover svg { transform: translateX(3px); }
/* Short screens (phones with browser bars): tighten so the card fits without scrolling */
@media (max-height: 760px) {
  .is-locked .gate, .gate.is-leaving { padding-block: max(12px, env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-bottom, 0px)); }
  .gate__card { padding: 18px 20px; border-radius: 20px; }
  .gate__error { margin-top: 3px; font-size: 12px; }
  .gate__head { margin-bottom: 12px; }
  .gate__logo { width: 116px; }
  .gate__star { width: 22px; height: 22px; }
  .gate__title { font-size: 22px; margin-bottom: 4px; }
  .gate__intro { margin-bottom: 12px; font-size: 13px; }
  .gate__fields { row-gap: 8px; }
  .gate__field label { margin-bottom: 3px; font-size: 11px; }
  .gate__field input { padding: 8px 12px; border-radius: 10px; }
  .gate__submit { margin-top: 14px; padding: 11px 20px; }
}

/* ---------- Top bar ---------- */
.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: calc(env(safe-area-inset-top, 0px) + clamp(30px, 4.4vw, 52px)) calc(clamp(14px, 2.2vw, 28px) + clamp(20px, 5.5vw, 84px)) 14px;
  transition: background-color .5s var(--ease-out), backdrop-filter .5s, box-shadow .5s, padding .6s var(--ease-out);
}
.topbar.is-scrolled {
  padding-top: calc(env(safe-area-inset-top, 0px) + 14px);
  padding-inline: var(--gutter);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.topbar__brand { display: block; width: clamp(132px, 14vw, 172px); margin-right: auto; }
/* Current section label */
.topbar__current {
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
@media (max-width: 640px) { .topbar__current { display: none; } }

/* Contents menu */
.contents { position: relative; }
.contents__btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 40px; padding: 0 16px 0 14px;
  border: 1px solid var(--line); border-radius: 999px;
  background: transparent; color: var(--ink);
  font: inherit; font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  cursor: pointer;
  transition: border-color .3s, background-color .3s;
}
.contents__btn:hover, .contents__btn[aria-expanded="true"] { border-color: var(--gold); }
.contents__icon { position: relative; width: 16px; height: 10px; }
.contents__icon span {
  position: absolute; left: 0; width: 100%; height: 1.5px; border-radius: 1px;
  background: currentColor;
  transition: transform .45s var(--ease-out), top .45s var(--ease-out);
}
.contents__icon span:first-child { top: 1px; }
.contents__icon span:last-child { top: 7.5px; }
.contents__btn[aria-expanded="true"] .contents__icon span:first-child { top: 4.25px; transform: rotate(45deg); }
.contents__btn[aria-expanded="true"] .contents__icon span:last-child { top: 4.25px; transform: rotate(-45deg); }
@media (max-width: 480px) { .contents__btn-label { display: none; } .contents__btn { padding: 0 12px; } }

.contents__panel {
  position: absolute; right: 0; top: calc(100% + 12px);
  width: min(320px, calc(100vw - 32px));
  max-height: calc(100svh - 110px); overflow-y: auto;
  padding: 10px;
  border: 1px solid var(--line); border-radius: 20px;
  background: var(--bg-raised);
  box-shadow: var(--shadow);
  transform-origin: top right;
  opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.97);
  transition: opacity .3s var(--ease-out), transform .45s var(--ease-out), visibility 0s .45s;
}
.contents.is-open .contents__panel {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .3s var(--ease-out), transform .45s var(--ease-out), visibility 0s;
}
.contents__list { list-style: none; margin: 0; padding: 0; }
.contents__list a, .contents__list .is-soon {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 12px; border-radius: 12px;
  font-size: 15px; text-decoration: none; color: var(--ink);
  transition: background-color .25s, color .25s;
}
.contents__list a:hover { background: var(--gold-soft); }
.contents__list a.is-active { background: var(--gold-soft); color: var(--gold-text); font-weight: 600; }
.contents__list .is-soon { color: var(--muted); }
.contents__list em {
  margin-left: auto;
  font-style: normal; font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--faint);
}
.contents__num { font-size: 12px; font-variant-numeric: tabular-nums; color: var(--gold-text); min-width: 18px; }
.contents__list .is-soon .contents__num { color: var(--faint); }

/* Autosave indicator */
.save-status {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted);
  transition: opacity .6s;
}
.save-status__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(232, 184, 86, .6);
}
.save-status.is-saving .save-status__dot { animation: save-pulse 1s ease-out infinite; }
.save-status.is-error { color: #C2410C; }
.save-status.is-error .save-status__dot { background: #C2410C; }
.save-status.is-quiet { opacity: .55; }
@keyframes save-pulse { to { box-shadow: 0 0 0 7px rgba(232, 184, 86, 0); } }

.topbar__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; pointer-events: none; }
.topbar__progress span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--gold), #F3D48E);
  transform-origin: left; transform: scaleX(0);
}

/* Section track (desktop): ten segments that fill with gold as you read */
.track { display: none; }
@media (min-width: 1180px) {
  .topbar { flex-wrap: wrap; row-gap: 12px; }
  .topbar__current, .contents, .topbar__progress { display: none; }
  .track {
    display: block;
    flex-basis: 100%;
    transition: opacity .5s var(--ease-out), transform .5s var(--ease-out), visibility 0s;
  }
  /* Over the cover the bar stays quiet; it arrives once you start reading */
  .topbar:not(.is-scrolled) .track {
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .3s, transform .3s, visibility 0s .3s;
  }
}
.track ol {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: 5px;
}
.track a, .track li > span { display: flex; flex-direction: column; gap: 7px; padding-top: 2px; text-decoration: none; }
.track__label {
  font-size: clamp(10.5px, .88vw, 13px); line-height: 1.2; color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: color .3s;
}
.track__bar { position: relative; height: 3px; border-radius: 2px; background: var(--line); overflow: hidden; }
.track__fill {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--gold), #F3D48E);
  transform-origin: left; transform: scaleX(0);
  transition: transform .3s linear;
}
.track a:hover .track__label { color: var(--ink); }
.track a.is-done .track__label { color: var(--ink-soft); }
.track a.is-active .track__label { color: var(--gold-text); font-weight: 600; }
.track .is-soon .track__label { color: var(--faint); }
.track .is-soon .track__bar { background: repeating-linear-gradient(90deg, var(--line) 0 5px, transparent 5px 9px); }

/* Theme toggle: sun ↔ moon morph */
.theme-toggle {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: border-color .3s, background-color .3s, transform .3s var(--ease-out);
}
.theme-toggle:hover { border-color: var(--gold); transform: rotate(-12deg); }
.theme-toggle svg { width: 20px; height: 20px; overflow: visible; }
.theme-toggle__core { fill: currentColor; transform-origin: 12px 12px; transform: scale(.6); transition: transform .5s var(--ease-out); }
.theme-toggle__bite { transition: transform .5s var(--ease-out); }
.theme-toggle__rays { stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; transform-origin: 12px 12px; transition: transform .5s var(--ease-out), opacity .3s; }
.is-dark .theme-toggle__core { transform: scale(1); }
.is-dark .theme-toggle__bite { transform: translate(-6px, 3px); }
.is-dark .theme-toggle__rays { transform: rotate(45deg) scale(.4); opacity: 0; }
.is-dark .theme-toggle { color: var(--gold); }

/* ---------- Cover ---------- */
.cover {
  position: relative;
  min-height: 100svh;
  display: flex;
  padding: clamp(14px, 2.2vw, 28px);
  isolation: isolate;
  overflow: hidden;
}
.cover__frame {
  position: absolute;
  inset: clamp(14px, 2.2vw, 28px);
  width: calc(100% - 2 * clamp(14px, 2.2vw, 28px));
  height: calc(100% - 2 * clamp(14px, 2.2vw, 28px));
  overflow: visible;
  pointer-events: none;
  z-index: 2;
}
.cover__frame rect {
  fill: none; stroke: var(--gold); stroke-width: 1.5;
}
.cover__topo {
  position: absolute;
  inset: 0;
  z-index: 0;
  color: var(--topo);
  -webkit-mask-image: radial-gradient(ellipse 95% 85% at 88% 92%, #000 30%, rgba(0,0,0,.55) 55%, transparent 80%);
          mask-image: radial-gradient(ellipse 95% 85% at 88% 92%, #000 30%, rgba(0,0,0,.55) 55%, transparent 80%);
}
.cover__topo svg { width: 100%; height: 100%; }
.topo path { fill: none; stroke: currentColor; stroke-width: 1.15; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.topo path.is-dashed { stroke-dasharray: 5 6; }

.cover__glow {
  position: absolute;
  width: 46vmax; height: 46vmax;
  left: 0; top: 0;
  margin: -23vmax 0 0 -23vmax;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 184, 86, .22), rgba(232, 184, 86, 0) 62%);
  pointer-events: none;
  opacity: 0;
  z-index: 1;
  transition: opacity .8s;
}
.cover:hover .cover__glow { opacity: 1; }
@media (hover: none) { .cover__glow { display: none; } }

.cover__inner {
  position: relative;
  z-index: 3;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(84px, 13vh, 150px) clamp(20px, 5.5vw, 84px) clamp(28px, 6vh, 64px);
}
.cover__title {
  font-size: clamp(56px, 10.4vw, 168px);
  font-weight: 500;
  line-height: .96;
  letter-spacing: -.035em;
}
.cover__title .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.cover__title .char { display: inline-block; will-change: transform; }
.cover__kicker {
  display: block;
  margin-top: .45em;
  font-size: clamp(18px, 2.2vw, 34px);
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
}
.cover__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cover__tagline {
  margin: 0;
  font-size: clamp(22px, 2.5vw, 38px);
  line-height: 1.2;
  color: var(--gold);
  font-weight: 400;
  letter-spacing: -.01em;
}

.scroll-cue {
  display: inline-flex; align-items: center; gap: 14px;
  text-decoration: none;
  font-size: 12px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--muted);
}
.scroll-cue__track { position: relative; width: 1.5px; height: 56px; background: var(--line); overflow: hidden; }
.scroll-cue__dot {
  position: absolute; left: 0; top: 0; width: 100%; height: 40%;
  background: var(--gold);
  animation: cue 2.2s var(--ease-out) infinite;
}
@keyframes cue { 0% { transform: translateY(-100%); } 70%, 100% { transform: translateY(260%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding-block: clamp(96px, 14vh, 168px); }

.eyebrow-rule { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.eyebrow-rule__star { width: 34px; height: 34px; fill: var(--gold); flex: none; }
.eyebrow-rule__line { flex: 1; height: 1px; background: var(--gold); transform-origin: left; }

.eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.headline {
  font-size: clamp(34px, 4.6vw, 64px);
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: 1.06;
  max-width: 18ch;
  text-wrap: balance;
}
.headline .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.headline .word > span { display: inline-block; }

/* ---------- Overview ---------- */
.overview__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 110px);
  margin-top: clamp(48px, 7vh, 80px);
}
@media (max-width: 900px) { .overview__grid { grid-template-columns: 1fr; } }

.lede { font-size: 1.2em; color: var(--ink); line-height: 1.45; }

.gold-statement {
  margin: 1.2em 0 1.4em;
  font-size: clamp(24px, 2.3vw, 32px);
  line-height: 1.22;
  font-weight: 600;
  letter-spacing: -.015em;
  color: var(--gold-text);
}
.shine-word {
  position: relative;
  display: inline-block;
  background: linear-gradient(100deg, var(--gold-text) 0 40%, #FFF3D1 50%, var(--gold-text) 60% 100%);
  background-size: 300% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}
.sparkle {
  position: absolute;
  right: -.85em; top: .02em;
  width: .62em; height: .62em;
  fill: var(--gold);
  transform: scale(0);
  overflow: visible;
}

.pillars {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-self: start;
}
@media (max-width: 460px) { .pillars { grid-template-columns: 1fr; } }
.pillar {
  position: relative;
  padding: 24px 22px 22px;
  border-radius: 18px;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out), border-color .4s, background-color .6s;
  overflow: hidden;
}
.pillar::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 0%), var(--gold-soft), transparent 70%);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--gold) 55%, transparent); }
.pillar:hover::before { opacity: 1; }
.pillar__icon {
  width: 40px; height: 40px;
  margin-bottom: 18px;
  fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .8s var(--ease-out);
}
.pillar:hover .pillar__icon { transform: rotate(-8deg) scale(1.08); }
/* Phosphor icons are filled outlines, not strokes */
.pillar__icon--fill { fill: var(--gold); stroke: none; }
.pillar__icon--fill path { transform-box: fill-box; transform-origin: center; }
.pillar h3 { font-size: 20px; font-weight: 500; margin-bottom: 6px; }
.pillar p { margin: 0; font-size: 15px; line-height: 1.45; color: var(--muted); }

/* How to work */
.howto { margin-top: clamp(80px, 12vh, 140px); }
.howto__head { display: flex; align-items: center; gap: 24px 32px; flex-wrap: wrap; }
.pill {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 999px;
  background: var(--pill-bg);
  color: var(--pill-ink);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: background-color .6s, color .6s;
}
.note { margin: 0; font-style: italic; color: var(--muted); font-size: 15px; }

.steps {
  position: relative;
  list-style: none; margin: 56px 0 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
}
.steps__track {
  position: absolute; left: 0; right: 0; top: 0;
  height: 1.5px;
  background: var(--line);
}
.steps__track span { display: block; height: 100%; background: var(--gold); transform-origin: left; transform: scaleX(0); }
.step { position: relative; padding-top: 34px; }
.step::before {
  content: "";
  position: absolute; left: 0; top: -5px;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--bg);
  border: 1.5px solid var(--faint);
  transition: background-color .4s, border-color .4s, transform .5s var(--ease-out);
}
.step.is-lit::before { background: var(--gold); border-color: var(--gold); transform: scale(1.25); }
.step__num {
  display: block;
  font-size: clamp(64px, 7vw, 104px);
  font-weight: 600;
  line-height: .9;
  letter-spacing: -.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--faint);
  transition: color .6s var(--ease-out), -webkit-text-stroke-color .6s;
}
.step.is-lit .step__num { color: var(--gold); -webkit-text-stroke-color: var(--gold); }
.step h4 {
  margin: 18px 0 10px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.step p { font-size: 16px; color: var(--muted); margin: 0; }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 40px; padding-left: 28px; }
  .steps__track { left: 0; top: 0; bottom: 0; right: auto; width: 1.5px; height: auto; }
  .steps__track span { transform-origin: top; transform: scaleY(0); }
  .step { padding-top: 0; }
  .step::before { left: -33px; top: 10px; }
}

/* Callout */
.callout {
  position: relative;
  margin-top: clamp(72px, 10vh, 120px);
  padding: 40px clamp(22px, 3vw, 40px) 30px;
  border: 1.5px solid var(--gold);
  border-radius: 22px;
  max-width: 900px;
}
.callout__tab {
  position: absolute; left: 22px; top: 0;
  transform: translateY(-50%);
  padding: 7px 22px;
  border-radius: 999px;
  background: var(--gold);
  color: #2A2929;
  font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.callout p { margin: 0; }

/* ---------- Introduction / journey ---------- */
.journey { position: relative; margin-top: clamp(48px, 8vh, 96px); }
.journey__lines {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  overflow: visible;
  pointer-events: none;
}
.journey__lines path { fill: none; vector-effect: non-scaling-stroke; }
.journey__lines .j-main { stroke: var(--faint); stroke-width: 1.5; }
.journey__lines .j-gold { stroke: var(--gold); stroke-width: 2; stroke-linecap: round; }
.journey__lines .j-topo { stroke: var(--line); stroke-width: 1.2; }
.journey__lines .j-topo.is-dashed { stroke: var(--faint); stroke-dasharray: 14 12; opacity: .7; }

.journey__steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  padding-bottom: 200px;
}
.waypoint { position: relative; padding-left: 26px; }
.waypoint h3 { font-size: clamp(20px, 1.8vw, 24px); font-weight: 600; color: var(--muted); margin-bottom: 12px; letter-spacing: -.01em; line-height: 1.2; }
.waypoint p { font-size: 15px; line-height: 1.5; color: var(--muted); margin: 0; max-width: 30ch; }
.waypoint--destination h3 { color: var(--gold-text); }
.waypoint--destination p { color: var(--ink-soft); }
.waypoint__stem {
  position: absolute;
  left: 0; top: 0;
  width: 1.5px;
  height: calc(100% + var(--drop, 160px));
  background: var(--faint);
  transform-origin: top;
}
.waypoint--destination .waypoint__stem { background: var(--gold); }
.waypoint__dot {
  position: absolute; left: 50%; bottom: 0;
  width: 11px; height: 11px;
  margin: 0 0 -5.5px -5.5px;
  border-radius: 50%;
  background: var(--faint);
}
.waypoint--destination .waypoint__dot { background: var(--gold); box-shadow: 0 0 0 6px var(--gold-soft); }
.waypoint:nth-child(1) { --drop: 200px; }
.waypoint:nth-child(2) { --drop: 110px; }
.waypoint:nth-child(3) { --drop: 30px; }
.waypoint__star {
  position: absolute;
  left: -15px; top: -6px;
  width: 31px; height: 31px;
  fill: var(--gold);
  background: var(--bg);
  transition: background-color .6s;
  z-index: 1;
}
.waypoint--destination h3, .waypoint--destination p { padding-left: 14px; }

@media (max-width: 760px) {
  .journey__lines { display: none; }
  .journey__steps { grid-template-columns: 1fr; gap: 44px; padding-bottom: 0; }
  .waypoint { --drop: 0px !important; padding-left: 28px; }
  .waypoint__stem { height: 100%; }
  .waypoint__dot { top: 0; bottom: auto; margin-top: -5px; }
  .waypoint--destination .waypoint__dot { display: none; }
  .waypoint--destination h3, .waypoint--destination p { padding-left: 10px; }
}

/* Venn card */
.venn-card {
  position: relative;
  margin-top: clamp(64px, 10vh, 120px);
  padding: clamp(28px, 4vw, 56px) clamp(20px, 4vw, 56px) clamp(24px, 3vw, 40px);
  border: 1.5px solid var(--gold);
  border-radius: 28px;
  background: var(--bg);
  transition: background-color .6s;
}
.venn-card__note { font-style: italic; color: var(--muted); max-width: 72ch; font-size: 16px; }

.venn {
  --spread: 0;
  position: relative;
  margin-top: clamp(16px, 3vw, 32px);
}
/* Circles + their labels share one box sized to the SVG viewBox (1000 × 600) */
.venn__plot { position: relative; aspect-ratio: 1000 / 600; container-type: inline-size; }
.venn__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.venn__circle { fill: var(--surface); transition: fill .6s; }
.venn__lens { fill: var(--gold); }
.venn__star { fill: #FFFFFF; }
.venn__connector { fill: none; stroke: var(--gold); stroke-width: 2; }
.venn__end { fill: var(--gold); }

.venn__label {
  position: absolute;
  top: 46.67%;             /* circle centre: cy 280 / 600 */
  transform: translateY(-50%);
  width: 23%;
}
/* Text spans the part of each circle outside the gold lens (x 150–380 and 615–845 of 1000) */
.venn__label--brand { left: calc(15% - var(--spread) * 10%); }
.venn__label--product { left: calc(61.5% + var(--spread) * 10%); }
/* Sized to the diagram (cqw), so the copy scales with the circles and always fits inside them */
.venn__label h3 { font-size: clamp(16px, 3.2cqw, 32px); font-weight: 700; margin-bottom: .4em; }
.venn__label p { font-size: clamp(11px, 1.6cqw, 16px); line-height: 1.45; margin: 0; overflow-wrap: break-word; }

/* In normal flow below the plot, so the card grows to fit it. The heading's
   midline sits on the plot's bottom edge, where the connector ends (x 672 / 1000). */
.venn__gold { margin-left: 68.6%; }
.venn__gold h3 {
  font-size: clamp(20px, 2.4vw, 32px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--gold-text);
  margin: -.55em 0 .4em;
}
.venn__gold p { font-size: clamp(13px, 1.25vw, 16px); line-height: 1.45; margin: 0; }

/* On phones the circles are too small to hold the copy: stack it below */
@media (max-width: 700px) {
  .venn { display: grid; gap: 20px; }
  .venn__plot { aspect-ratio: auto; display: grid; gap: 20px; }
  .venn__svg { position: relative; inset: auto; height: auto; aspect-ratio: 1000 / 520; }
  .venn__connector, .venn__end { display: none; }
  .venn__label { position: static; width: auto; transform: none; }
  .venn__gold { margin: 0; padding: 18px 20px; border-radius: 16px; background: var(--gold-soft); }
  .venn__gold h3 { margin-top: 0; }
}

/* ---------- Your Foundation ---------- */
.section-sub { margin: 18px 0 0; max-width: 64ch; font-style: italic; color: var(--muted); font-size: 16px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.mpv {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
  margin-top: clamp(48px, 7vh, 80px);
}
@media (max-width: 860px) { .mpv { grid-template-columns: 1fr; } }

.mpv__list { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 34px; }
.mpv__list::before {
  content: "";
  position: absolute; left: 21px; top: 44px; bottom: 44px; width: 1.5px;
  background: linear-gradient(var(--faint), transparent);
  transform-origin: top;
  transform: scaleY(var(--line-scale, 1));
}
.mpv__item { position: relative; display: flex; align-items: center; gap: 22px; }
.mpv__icon {
  flex: none; width: 44px; height: 44px; padding: 6px;
  border-radius: 50%;
  background: var(--bg);
  fill: var(--gold); /* Phosphor icons are filled outlines */
  transition: background-color .6s;
}
.mpv__item h3 { font-size: clamp(20px, 1.8vw, 24px); font-weight: 700; margin-bottom: 2px; }
.mpv__item p { margin: 0; font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-soft); }

/* Example cards */
.example {
  position: relative;
  padding: 34px clamp(18px, 2.4vw, 28px) 24px;
  border: 1.5px solid var(--gold);
  border-radius: 20px;
}
.example__tab, .worksheet__tab {
  position: absolute; top: 0; transform: translateY(-50%);
  padding: 6px 22px; border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.example__tab { right: 28px; background: var(--gold); color: #2A2929; }
.example__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.example__list li {
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--surface);
  font-style: italic; font-size: 15px; line-height: 1.45; color: var(--ink-soft);
  transition: background-color .6s;
}
.example__k { font-style: normal; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: 12px; color: var(--gold-text); margin-right: 4px; }
.example__source, .example__brand {
  margin: 18px 0 0;
  font-size: 13px; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; color: var(--ink);
}
.example__brand { margin: 0 0 12px; letter-spacing: .24em; }
.example__intro { color: var(--ink); font-size: 16px; margin-bottom: 14px; }
.example__declarations { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; }
.example__declarations li { position: relative; padding-left: 20px; color: var(--gold-text); font-weight: 500; }
.example__declarations li::before {
  content: ""; position: absolute; left: 2px; top: .62em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
}
.example__note { margin: 0; font-style: italic; font-size: 14px; color: var(--muted); }

/* Worksheet card */
.worksheet {
  position: relative;
  margin-top: clamp(72px, 10vh, 120px);
  padding: clamp(40px, 5vw, 56px) clamp(20px, 4vw, 52px) clamp(28px, 4vw, 44px);
  border: 1.5px solid var(--pill-bg);
  border-radius: 24px;
  transition: border-color .6s;
}
.worksheet__tab { left: 24px; background: var(--pill-bg); color: var(--pill-ink); transition: background-color .6s, color .6s; }
.worksheet__squiggle {
  position: absolute; right: clamp(16px, 4vw, 48px); top: -34px;
  width: clamp(150px, 20vw, 240px); height: auto;
  fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  background: var(--bg); padding: 0 8px;
  transition: background-color .6s;
}
@media (max-width: 560px) { .worksheet__squiggle { display: none; } }
.worksheet__intro { display: flex; gap: 14px; align-items: flex-start; margin-bottom: clamp(24px, 4vw, 40px); }
.worksheet__star { flex: none; width: 26px; height: 26px; fill: var(--ink); margin-top: 1px; }
.worksheet__lead { margin: 0 0 4px; font-size: 18px; color: var(--ink); }
.worksheet__hint { margin: 0; font-style: italic; color: var(--muted); font-size: 16px; }
.worksheet__title { font-size: clamp(22px, 2.2vw, 28px); font-weight: 400; }

/* Ruled writing fields */
.field + .field { margin-top: clamp(28px, 4vw, 40px); }
.field__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.field__label {
  font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
  transition: color .3s;
}
.field:focus-within .field__label { color: var(--gold-text); }
.field__example-btn {
  border: 0; background: none; padding: 4px 0; cursor: pointer;
  font: inherit; font-size: 13px; color: var(--gold-text);
  text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--gold) 50%, transparent); text-underline-offset: 4px;
}
.field__example-btn:hover { text-decoration-color: var(--gold); }
.field__example {
  overflow: hidden;
  margin: 8px 0 0; padding: 12px 16px; border-radius: 12px;
  background: var(--gold-soft);
  font-style: italic; font-size: 15px; line-height: 1.45; color: var(--ink-soft);
}
.field__example span { display: block; margin-top: 6px; font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }

.field__input, .behavior__input {
  --lh: 39px; /* whole pixels, so every repeated answer line lands on the same pixel row (Safari drew some 2px) */
  display: block;
  width: 100%;
  min-height: calc(var(--lh) * 2);
  margin-top: 6px;
  padding: 0 2px;
  border: 0; border-radius: 0;
  resize: none; overflow: hidden;
  font: inherit; font-size: 18px; line-height: var(--lh); color: var(--ink);
  background-color: transparent;
  background-image: linear-gradient(to bottom, transparent calc(var(--lh) - 1px), var(--rule) calc(var(--lh) - 1px));
  background-size: 100% var(--lh);
  background-attachment: local;
  outline: none;
  transition: background-image .3s;
}
.field__input::placeholder, .behavior__input::placeholder { color: var(--faint); font-style: italic; }
.field__input:focus, .behavior__input:focus {
  background-image: linear-gradient(to bottom, transparent calc(var(--lh) - 1.5px), color-mix(in srgb, var(--gold) 70%, transparent) calc(var(--lh) - 1.5px));
}
.field__input:focus-visible, .behavior__input:focus-visible { outline: none; }
.field__meta { min-height: 1.4em; margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.field__meta.is-good { color: var(--gold-text); }
.field__meta.is-good::before { content: "✓ "; }

/* ---------- Values ---------- */
.subsection { margin-top: clamp(120px, 18vh, 200px); }
.values__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr); /* lets the sideways-scrolling value bank stay within the page */
  gap: clamp(40px, 6vh, 64px);
  margin-top: clamp(48px, 7vh, 72px);
}
/* Wide example card: the story on the left, the declarations on the right */
.example--quote {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 16px clamp(28px, 5vw, 64px);
  align-items: center;
}
.example--quote .example__declarations { margin: 0; }
.example--quote .example__note { margin-top: 12px; }
@media (max-width: 760px) {
  .example--quote { grid-template-columns: 1fr; }
}
.values__tip { margin-bottom: 16px; }

.value-bank {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
  gap: 10px;
}
/* Phones: three columns */
@media (max-width: 700px) {
  .value-bank { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .value-bank .chip { min-height: 38px; padding: 7px 4px; font-size: 12.5px; white-space: nowrap; }
  /* The gold fill already marks a pick; dropping the tick keeps long words on one line */
  .value-bank .chip[aria-pressed="true"] .chip__check { width: 0; }
  .value-bank .chip[aria-pressed="true"] { gap: 0; }
}
.chip {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  width: 100%; min-height: 40px;
  padding: 8px 12px;
  border: 1px solid transparent; border-radius: 999px;
  background: var(--chip-bg);
  color: var(--chip-ink);
  font: inherit; font-size: 14px; line-height: 1.2; text-align: center;
  cursor: pointer;
  transition: background-color .3s, color .3s, border-color .3s, transform .4s var(--ease-out), box-shadow .4s;
}
.chip:hover { border-color: var(--gold); transform: translateY(-2px); }
.chip:active { transform: translateY(0) scale(.97); }
.chip__check { width: 0; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: width .3s var(--ease-out); }
.chip[aria-pressed="true"] { background: var(--gold); color: #2A2929; font-weight: 600; box-shadow: 0 6px 16px -8px rgba(160, 110, 20, .6); }
.chip[aria-pressed="true"] .chip__check { width: 14px; }
.chip--ghost { pointer-events: none; overflow: hidden; white-space: nowrap; }

/* Worksheet steps */
.values-work {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 260px);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
@media (max-width: 860px) { .values-work { grid-template-columns: 1fr; } }
.values-work__steps { display: grid; gap: clamp(36px, 5vw, 52px); }
.vstep { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 16px; }
.vstep__num {
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--faint); color: var(--bg);
  font-weight: 700; font-size: 15px;
  transition: background-color .6s, color .6s;
}
.vstep__title { font-size: 15px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 5px 0 6px; }
.vstep__prompt { margin: 0 0 18px; color: var(--ink-soft); font-size: 16px; }

.shortlist { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.shortlist:empty { display: none; }
.shortlist__empty {
  margin: 0; padding: 18px 20px;
  border: 1.5px dashed var(--rule); border-radius: 14px;
  color: var(--muted); font-size: 15px; font-style: italic;
}
.short-chip {
  position: relative;
  display: inline-flex; align-items: center; gap: 4px;
  max-width: 100%;
  padding: 4px 4px 4px 4px;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--bg-raised);
  color: var(--ink);
  transition: border-color .3s, background-color .3s, color .3s, opacity .3s;
}
.short-chip__label { position: relative; padding: 0 2px; font-size: 15px; overflow-wrap: anywhere; }
.short-chip__label::after {
  content: ""; position: absolute; left: 0; right: 0; top: 52%;
  height: 1.5px; background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease-out);
}
.short-chip.is-crossed { color: var(--muted); opacity: .75; }
.short-chip.is-crossed .short-chip__label::after { transform: scaleX(1); }
.short-chip.is-core { border-color: var(--gold); background: var(--gold-soft); font-weight: 600; }
.short-chip__star, .short-chip__remove {
  flex: none;
  display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%;
  border: 0; background: transparent; cursor: pointer;
  color: var(--muted);
  transition: background-color .2s, color .2s;
}
.short-chip__star:hover, .short-chip__remove:hover { background: var(--gold-soft); color: var(--ink); }
.short-chip__star svg { width: 18px; height: 18px; fill: currentColor; }
.short-chip__star[aria-pressed="true"] { color: var(--gold); }
.short-chip__star[aria-pressed="true"] svg { fill: var(--gold); }
.short-chip__remove svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }

.add-value { display: flex; gap: 10px; margin-top: 16px; max-width: 460px; }
.add-value__input {
  flex: 1; min-width: 0;
  padding: 10px 16px;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--bg); color: var(--ink);
  font: inherit; font-size: 15px;
  transition: border-color .3s, background-color .6s;
}
.add-value__input::placeholder { color: var(--muted); }
.add-value__input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.add-value__btn {
  padding: 10px 20px;
  border: 0; border-radius: 999px;
  background: var(--pill-bg); color: var(--pill-ink);
  font: inherit; font-size: 14px; font-weight: 600; letter-spacing: .06em;
  cursor: pointer;
  transition: transform .3s var(--ease-out), background-color .6s, color .6s;
}
.add-value__btn:hover { transform: translateY(-1px); }
.core-count { min-height: 1.4em; margin: 14px 0 0; font-size: 14px; color: var(--muted); }
.core-count.is-good { color: var(--gold-text); }

.behaviors { display: grid; gap: 22px; }
.behavior { overflow: hidden; }
.behavior__label { display: block; font-size: 17px; font-weight: 600; color: var(--gold-text); }

.exercise-card {
  padding: 24px;
  border-radius: 18px;
  background: var(--surface);
  transition: background-color .6s;
}
.exercise-card p { margin: 0 0 16px; color: var(--ink-soft); font-size: 16px; line-height: 1.5; }
.exercise-card__link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  background: var(--gold); color: #2A2929;
  font-weight: 600; font-size: 15px; text-decoration: none;
  transition: transform .4s var(--ease-out), box-shadow .4s;
}
.exercise-card__link:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -10px rgba(160, 110, 20, .7); }
.exercise-card__link svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease-out); }
.exercise-card__link:hover svg { transform: translate(2px, -2px); }
.exercise-card .exercise-card__note { margin: 12px 0 0; font-size: 13px; font-style: italic; color: var(--muted); }

/* ---------- Your Audience ---------- */
.headline--wide { max-width: 22ch; }

/* Role map */
.rolemap { display: grid; gap: clamp(28px, 4vw, 40px); }
.rm-cat__head, .rm-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) repeat(5, minmax(64px, 84px));
  align-items: center;
  column-gap: 4px;
}
.rm-cat__head { grid-template-columns: 40px minmax(0, 1fr) repeat(5, minmax(64px, 84px)); column-gap: 4px; margin-bottom: 4px; }
.rm-cat__icon {
  width: 34px; height: 34px;
  fill: var(--ink-soft);
}
.rm-cat__name { font-size: clamp(17px, 1.6vw, 20px); font-weight: 700; padding-left: 8px; overflow-wrap: break-word; }
.rm-cols { display: contents; }
.rm-cols span { text-align: center; font-size: 12px; color: var(--muted); line-height: 1.2; }
.rm-rows { list-style: none; margin: 0; padding: 0 0 0 44px; }
.rm-row { border-bottom: var(--divider); }
.rm-row__name {
  width: 100%; min-width: 0;
  padding: 10px 8px;
  border: 0; background: transparent; color: var(--ink);
  font: inherit; font-size: 16px;
  outline: none;
}
.rm-row__name::placeholder { color: var(--faint); }
.rm-row__name:focus { box-shadow: inset 0 -2px 0 var(--gold); }
.rm-roles { display: contents; }
.rm-role {
  display: grid; place-items: center;
  height: 40px; padding: 0;
  border: 0; background: none; cursor: pointer;
  color: var(--ink-soft);
}
.rm-role__label { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rm-role__dot {
  width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid var(--gold);
  background: transparent;
  transition: background-color .25s, box-shadow .3s, transform .3s var(--ease-out);
}
.rm-role:hover .rm-role__dot { transform: scale(1.15); box-shadow: 0 0 0 5px var(--gold-soft); }
.rm-role[aria-pressed="true"] .rm-role__dot { background: var(--gold); box-shadow: inset 0 0 0 3px var(--bg); }
.rm-add {
  display: inline-flex; align-items: center; gap: 6px;
  margin: 10px 0 0 44px; padding: 6px 2px;
  border: 0; background: none; cursor: pointer;
  font: inherit; font-size: 14px; color: var(--gold-text);
}
.rm-add svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.rm-add:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Phones: role toggles become labelled pills under each name */
@media (max-width: 700px) {
  .rm-cat__head { grid-template-columns: 40px minmax(0, 1fr); }
  .rm-cols { display: none; }
  .rm-rows { padding-left: 0; }
  .rm-row { display: block; padding-bottom: 12px; }
  .rm-row__name { padding-inline: 2px; }
  .rm-roles { display: flex; flex-wrap: wrap; gap: 6px; }
  .rm-role {
    display: inline-flex; align-items: center; gap: 6px;
    height: 32px; padding: 0 12px 0 8px;
    border: 1px solid var(--line); border-radius: 999px;
    font: inherit; font-size: 13px;
  }
  .rm-role__label { position: static !important; width: auto; height: auto; clip: auto; }
  .rm-role__dot { width: 14px; height: 14px; }
  .rm-role[aria-pressed="true"] { border-color: var(--gold); background: var(--gold-soft); color: var(--ink); }
  .rm-add { margin-left: 0; }
}

.example--wide { margin-top: clamp(48px, 7vh, 72px); }
.example--wide .example__tab { left: 28px; right: auto; }
.example__roles { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; color: var(--muted); font-size: 15px; }
.example__roles strong { color: var(--ink-soft); }

/* Listen first */
.methods {
  list-style: none; margin: clamp(40px, 6vh, 64px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
}
@media (max-width: 700px) { .methods { grid-template-columns: 1fr; } }
.method {
  position: relative;
  padding: 26px 26px 24px;
  border-radius: 18px;
  background: var(--surface);
  overflow: hidden;
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out), background-color .6s;
}
.method::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .7s var(--ease-out);
}
.method:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.method:hover::after { transform: scaleX(1); }
.method__num { display: block; margin-bottom: 14px; font-size: 13px; font-weight: 600; letter-spacing: .14em; color: var(--gold-text); }
.method h3 { font-size: 19px; font-weight: 600; margin-bottom: 10px; }
.method p { margin: 0; font-size: 16px; color: var(--ink-soft); }

.waveform {
  display: flex; align-items: center; justify-content: center; gap: 4px;
  height: 110px; margin: clamp(40px, 6vh, 72px) 0 clamp(28px, 4vh, 40px);
  overflow: hidden;
}
.waveform span {
  flex: 0 0 3px; height: 100%;
  border-radius: 3px;
  background: var(--gold);
  transform-origin: center;
}

/* Tip callouts */
.tip {
  position: relative;
  margin-top: clamp(40px, 6vh, 64px);
  padding: 26px clamp(22px, 4vw, 36px) 24px clamp(28px, 4vw, 40px);
  border: 1.5px solid var(--faint);
  border-radius: 20px;
}
.tip__star {
  position: absolute; left: -15px; top: 50%; margin-top: -15px;
  width: 30px; height: 30px;
  fill: var(--faint); background: var(--bg);
  transition: background-color .6s;
}
.tip__title { font-size: 19px; font-weight: 700; color: var(--gold-text); margin-bottom: 8px; }
.tip p { margin: 0; color: var(--ink-soft); }
.tip .tip__text { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink); }

/* Value proposition canvas */
.canvas { margin-top: 8px; }
.canvas__who { display: grid; gap: 6px; max-width: 520px; }
.canvas__who-input {
  padding: 8px 2px;
  border: 0; border-bottom: 1px solid var(--rule); border-radius: 0;
  background: transparent; color: var(--ink);
  font: inherit; font-size: clamp(20px, 2vw, 24px);
  outline: none;
}
.canvas__who-input::placeholder { color: var(--faint); }
.canvas__who-input:focus { border-bottom-color: var(--gold); }
.canvas__hint { margin: 16px 0 clamp(20px, 3vw, 28px); }

.canvas__head, .canvas-row {
  display: grid;
  grid-template-columns: minmax(150px, 220px) minmax(0, 1fr) minmax(140px, 190px);
  gap: clamp(16px, 3vw, 36px);
}
.canvas__ex-head { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); }
.canvas-row { padding: 18px 0; align-items: start; }
.canvas-row + .canvas-row { border-top: var(--divider); }
.canvas-row__q label { display: block; font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.canvas-row__q p { margin: 0; font-size: 14px; font-style: italic; color: var(--muted); line-height: 1.45; }
.canvas-row .field__input { margin-top: -6px; }
.canvas-row__ex { margin: 0; font-size: 14px; font-style: italic; line-height: 1.45; color: var(--ink-soft); }
.canvas-row__ex span { display: none; }
@media (max-width: 1000px) {
  .canvas__head { display: none; }
  .canvas-row { grid-template-columns: 1fr; gap: 8px; }
  .canvas-row .field__input { margin-top: 0; }
  .canvas-row__ex { padding: 10px 14px; border-radius: 10px; background: var(--gold-soft); }
  .canvas-row__ex span { display: block; font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 2px; }
}

/* ---------- Messaging ---------- */
/* Five principles: two staggered columns joined by gold stems, as in the PDF */
.principles {
  list-style: none; margin: clamp(40px, 6vh, 64px) 0 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(20px, 3vw, 32px);
  row-gap: 28px;
  max-width: 900px;
}
.principle:nth-child(1) { grid-column: 1; grid-row: 1 / 3; }
.principle:nth-child(2) { grid-column: 2; grid-row: 2 / 4; }
.principle:nth-child(3) { grid-column: 1; grid-row: 3 / 5; }
.principle:nth-child(4) { grid-column: 2; grid-row: 4 / 6; }
.principle:nth-child(5) { grid-column: 1; grid-row: 5 / 7; }
.principle {
  position: relative;
  padding: 24px 26px;
  border-radius: 16px;
  background: var(--chip-bg);
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out), background-color .6s;
}
.principle:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.principle h3 { font-size: clamp(19px, 1.7vw, 22px); font-weight: 700; margin-bottom: 8px; }
.principle p { margin: 0; font-size: 16px; color: var(--ink-soft); line-height: 1.5; }
/* stem + dot down to the next card in the same column */
.principle::before, .principle::after { content: ""; position: absolute; left: 32px; background: var(--gold); }
.principle::after { top: 100%; width: 2px; height: 28px; transform-origin: top; transform: scaleY(var(--stem, 1)); }
.principle::before { top: calc(100% - 4px); width: 8px; height: 8px; margin-left: -3px; border-radius: 50%; z-index: 1; }
.principle:nth-child(4)::before, .principle:nth-child(4)::after,
.principle:nth-child(5)::before, .principle:nth-child(5)::after { display: none; }
@media (max-width: 700px) {
  .principles { grid-template-columns: 1fr; }
  .principle:nth-child(n) { grid-column: 1; grid-row: auto; }
  .principle:nth-child(4)::before, .principle:nth-child(4)::after { display: block; }
}

.remember {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px 32px;
  margin: clamp(48px, 7vh, 80px) 0 0;
  padding: clamp(24px, 3vw, 32px) clamp(22px, 3vw, 32px);
  border: 1.5px solid var(--faint);
  border-radius: 20px;
}
.remember__label { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .42em; text-transform: uppercase; color: var(--gold-text); }
.remember__quote { margin: 0; text-align: right; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.35; }
.remember__quote p { margin: 0; color: var(--ink); }
.remember__lead { color: var(--ink-soft) !important; margin-bottom: 4px !important; }
.remember figcaption { grid-column: 2; text-align: right; font-size: 15px; color: var(--ink-soft); }
@media (max-width: 700px) {
  .remember { grid-template-columns: 1fr; }
  .remember__quote, .remember figcaption { text-align: left; grid-column: 1; }
}

/* Benefits pyramid diagram */
.pyramid-diagram {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  margin-top: clamp(40px, 6vh, 64px);
}
@media (max-width: 860px) { .pyramid-diagram { grid-template-columns: 1fr; } }
/* Arrows sit in the side padding so the pyramid gets the width */
.pyramid-diagram__visual { position: relative; padding-inline: clamp(58px, 8vw, 84px); }
.pyr { display: block; width: 100%; height: auto; aspect-ratio: 400 / 340; overflow: visible; }
.pyr__tier { stroke: none; transition: fill-opacity .35s, fill .35s; transform-box: fill-box; transform-origin: center bottom; }
.pyr__tier--1 { fill: color-mix(in srgb, var(--gold) 28%, var(--bg)); }
.pyr__tier--2 { fill: color-mix(in srgb, var(--gold) 58%, var(--bg)); }
.pyr__tier--3 { fill: var(--gold); }
/* Lower tiers are gold tinted toward the page colour, so their numbers follow the theme's ink */
.pyr__num { font: 600 30px var(--font); fill: var(--ink); text-anchor: middle; pointer-events: none; }
.pyr__num:first-of-type { fill: #2A2929; }
.has-hot .pyr__tier:not(.is-hot) { fill-opacity: .35; }
.pyr-arrow {
  position: absolute; top: 6%; bottom: 6%;
  width: clamp(54px, 7.5vw, 80px);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.pyr-arrow--up { left: 0; flex-direction: column-reverse; }
.pyr-arrow--down { right: 0; }
/* Arrow = a line plus a fixed-size head that always meets it (the head never stretches) */
.pyr-arrow__track { position: relative; flex: 1; width: 14px; min-height: 40px; }
.pyr-arrow__line { position: absolute; left: 6px; width: 2px; border-radius: 1px; background: var(--gold); }
.pyr-arrow__head { position: absolute; left: 0; width: 14px; height: 9px; overflow: visible; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pyr-arrow--down .pyr-arrow__line { top: 0; bottom: 1px; transform-origin: top; }
.pyr-arrow--down .pyr-arrow__head { bottom: 0; }
.pyr-arrow--up .pyr-arrow__line { bottom: 0; top: 1px; transform-origin: bottom; }
.pyr-arrow--up .pyr-arrow__head { top: 0; transform: rotate(180deg); }
.pyr-arrow > span:not(.pyr-arrow__track) { font-size: clamp(11px, 1vw, 13px); font-style: italic; line-height: 1.3; text-align: center; color: var(--muted); }

.tiers { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tier {
  display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 14px;
  padding: 20px 22px;
  border: 1.5px solid transparent; border-radius: 16px;
  background: var(--chip-bg);
  transition: border-color .3s, filter .35s, background-color .6s;
}
.tier__num {
  display: grid; place-items: center;
  width: 32px; height: 32px; border-radius: 50%;
  font-weight: 700; font-size: 15px; color: var(--ink);
}
.tier[data-tier="1"] .tier__num { background: color-mix(in srgb, var(--gold) 35%, var(--bg)); }
.tier[data-tier="2"] .tier__num { background: color-mix(in srgb, var(--gold) 65%, var(--bg)); }
.tier[data-tier="3"] .tier__num { background: var(--gold); color: #2A2929; }
.tier h3 { font-size: 18px; font-weight: 700; margin: 4px 0 6px; }
.tier p { margin: 0; font-size: 15px; color: var(--ink-soft); line-height: 1.45; }
.tier .tier__quote { margin-top: 6px; font-size: 14px; font-style: italic; color: var(--muted); }
.tier.is-hot { border-color: var(--gold); }
.has-hot .tier:not(.is-hot) { filter: opacity(.5); }

/* "What's in it for them?" rows */
.ladder { display: grid; }
.ladder-row {
  display: grid;
  grid-template-columns: minmax(200px, 300px) minmax(0, 1fr);
  gap: clamp(16px, 3vw, 36px);
  padding: 20px 0;
  align-items: start;
}
.ladder-row + .ladder-row { border-top: var(--divider); }
.ladder-row__q { display: flex; gap: 14px; align-items: flex-start; }
.ladder-row__q label { display: block; font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.ladder-row__q p { margin: 0; font-size: 14px; font-style: italic; color: var(--muted); line-height: 1.45; }
.ladder-row .field__input { margin-top: -6px; }
.mini-pyr { flex: none; width: 34px; height: auto; margin-top: 2px; transition: transform .5s var(--ease-out); }
.mini-pyr__tier { fill: var(--faint); opacity: .45; }
.mini-pyr__tier.is-on { fill: var(--gold); opacity: 1; }
.ladder-row:focus-within .mini-pyr { transform: scale(1.15) translateY(-2px); }
.ladder-row:focus-within label { color: var(--gold-text); }
@media (max-width: 760px) {
  .ladder-row { grid-template-columns: 1fr; gap: 10px; }
  .ladder-row .field__input { margin-top: 0; }
}

/* NewCo example */
.example--newco { padding-top: 44px; margin-top: clamp(48px, 7vh, 72px); }
.example--newco .example__tab { left: 28px; right: auto; }
.newco__title { font-size: clamp(24px, 3vw, 36px); font-weight: 400; letter-spacing: .02em; text-transform: uppercase; }
.newco__intro { margin: 8px 0 0; max-width: 70ch; font-size: 14px; font-style: italic; color: var(--muted); }
.newco {
  display: grid;
  grid-template-columns: minmax(200px, 260px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  margin-top: clamp(24px, 4vw, 36px);
  align-items: start;
}
.newco__nav { display: grid; gap: 18px; }
.pyr--nav { width: 100%; max-width: 220px; }
.pyr--nav .pyr__tier { cursor: pointer; }
.pyr--nav .pyr__tier:not(.is-on) { fill: color-mix(in srgb, var(--gold) 18%, var(--bg)); }
.pyr--nav .pyr__tier.is-on { fill: var(--gold); }
.pyr--nav .pyr__tier:hover:not(.is-on) { fill: color-mix(in srgb, var(--gold) 40%, var(--bg)); }
.newco__tabs { display: grid; gap: 6px; }
.newco__tabs button {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px 10px 10px;
  border: 1px solid transparent; border-radius: 12px;
  background: transparent; color: var(--ink-soft);
  font: inherit; font-size: 16px; text-align: left;
  cursor: pointer;
  transition: background-color .3s, border-color .3s, color .3s;
}
.newco__tabs button span {
  display: grid; place-items: center; flex: none;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--surface); font-size: 13px; font-weight: 700;
  transition: background-color .3s, color .3s;
}
.newco__tabs button:hover { background: var(--gold-soft); }
.newco__tabs button[aria-selected="true"] { border-color: var(--gold); background: var(--gold-soft); color: var(--ink); font-weight: 600; }
.newco__tabs button[aria-selected="true"] span { background: var(--gold); color: #2A2929; }

.newco__cols { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); }
.newco__cols--3 { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr) minmax(0, 1fr); }
.newco__panel h4 { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.newco__panel ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; }
.newco__panel li::marker { color: var(--gold); }
.newco__panel p { font-size: 16px; line-height: 1.5; margin: 0 0 12px; }
.newco__messages p { font-style: italic; color: var(--ink-soft); font-size: 15px; }
.big-idea { padding: 20px 22px; border-radius: 16px; background: var(--gold-soft); align-self: start; }
.big-idea__label { margin: 0 0 6px !important; font-size: clamp(24px, 2.4vw, 30px) !important; font-weight: 700; text-transform: uppercase; color: var(--gold-text); line-height: 1.1 !important; }
.big-idea__line { font-weight: 700; color: var(--ink); font-size: 17px !important; }
.big-idea__quote { font-style: italic; color: var(--ink-soft); font-size: 15px !important; margin: 0 !important; }
@media (max-width: 960px) {
  .newco { grid-template-columns: 1fr; }
  .newco__nav { grid-template-columns: 120px minmax(0, 1fr); align-items: center; }
}
@media (max-width: 760px) {
  .newco__cols, .newco__cols--3 { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .newco__nav { grid-template-columns: 1fr; }
  .pyr--nav { max-width: 140px; }
}

/* Proof points */
.proofs { display: grid; }
.proof {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: clamp(16px, 3vw, 40px);
  padding: 22px 0;
  align-items: start;
}
.proof:first-child { padding-top: 0; }
.proof + .proof { border-top: var(--divider); }
.proof__title { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.proof__q p { margin: 0; font-size: 15px; color: var(--ink-soft); line-height: 1.5; }
.proof__label { font-size: 13px; font-style: italic; color: var(--muted); transition: color .3s; }
.proof:focus-within .proof__label { color: var(--gold-text); }
.proof__field .field__input { margin-top: 0; }
@media (max-width: 760px) { .proof { grid-template-columns: 1fr; gap: 10px; } }

/* ---------- Brand Essence ---------- */
.essence-map {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(220px, 24vw, 300px) minmax(0, 1fr);
  grid-template-areas:
    "a1 . a2"
    ". core ."
    "a3 . tag";
  column-gap: clamp(24px, 5vw, 72px);
  margin-top: clamp(40px, 6vh, 64px);
  padding-block: clamp(24px, 4vw, 48px);
  isolation: isolate;
}
.essence-map__topo {
  position: absolute; inset: -6% -4%;
  z-index: -1;
  color: var(--faint);
  opacity: .7;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 35%, transparent 75%);
          mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 35%, transparent 75%);
}
.essence-map__topo svg { width: 100%; height: 100%; }
.essence-map__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.essence-line { fill: none; stroke: var(--gold); stroke-width: 2; stroke-linejoin: round; }
.essence-dot { fill: var(--gold); }

.essence-card {
  position: relative; z-index: 1;
  width: 100%; max-width: 330px;
  align-self: start; /* size to the text, not the grid row */
  padding: 22px 24px 20px;
  border-radius: 16px;
  background: var(--surface);
  transition: background-color .6s, box-shadow .5s var(--ease-out);
}
.essence-card--a1 { grid-area: a1; justify-self: start; }
.essence-card--a2 { grid-area: a2; justify-self: end; margin-top: 56px; }
.essence-card--a3 { grid-area: a3; justify-self: start; }
.essence-card--tag { grid-area: tag; justify-self: end; margin-top: 56px; }
.essence-card__title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.essence-card__desc { margin: 0; font-size: 15px; line-height: 1.45; color: var(--ink-soft); }

.essence-core {
  grid-area: core;
  position: relative; z-index: 1;
  width: 100%; aspect-ratio: 1;
  margin-block: -36px;
}
.essence-core__rings { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.essence-core__dash {
  fill: none; stroke: var(--faint); stroke-width: 1.4; stroke-dasharray: 7 7;
  transform-origin: 100px 100px;
  animation: essence-spin 80s linear infinite;
}
.essence-core__ring { fill: var(--bg); stroke: var(--faint); stroke-width: 1.4; transition: fill .6s; }
@keyframes essence-spin { to { transform: rotate(360deg); } }
.essence-core__inner {
  position: absolute; inset: 20%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  text-align: center;
}
.essence-core__label { margin: 0; font-size: clamp(22px, 2.3vw, 30px); font-weight: 700; line-height: 1.1; color: var(--gold-text); }

@media (max-width: 860px) {
  .essence-map {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "core" "a1" "a2" "a3" "tag";
    row-gap: 16px;
  }
  .essence-map__lines { display: none; }
  .essence-core { width: min(260px, 80%); justify-self: center; margin: 0 0 16px; }
  .essence-card { max-width: none; margin-top: 0 !important; }
}

/* ---------- Positioning ---------- */
.pmap {
  display: grid;
  grid-template-columns: minmax(96px, 160px) minmax(0, 1fr) minmax(96px, 160px);
  grid-template-areas:
    ".    top    ."
    "left plot   right"
    ".    bottom .";
  gap: 14px clamp(10px, 2vw, 20px);
  align-items: center;
}
.axis-field { display: grid; gap: 4px; text-align: center; }
.axis-field--top { grid-area: top; justify-self: center; width: min(240px, 100%); }
.axis-field--bottom { grid-area: bottom; justify-self: center; width: min(240px, 100%); }
.axis-field--left { grid-area: left; }
.axis-field--right { grid-area: right; }
.axis-field__input {
  width: 100%; min-width: 0;
  padding: 6px 2px;
  border: 0; border-bottom: 1px solid var(--ink-soft); border-radius: 0;
  background: transparent; color: var(--ink);
  font: inherit; font-size: 15px; font-weight: 600; text-align: center;
  outline: none;
  transition: border-color .3s;
}
.axis-field__input:focus { border-bottom-color: var(--gold); box-shadow: 0 1px 0 var(--gold); }
.axis-field__caption { font-size: 12px; color: var(--muted); }

.pmap__plot {
  grid-area: plot;
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 60%, color-mix(in srgb, var(--surface) 70%, transparent) 100%);
  user-select: none; -webkit-user-select: none;
}
/* Axes are plain elements, not SVG lines: Safari dropped the scaled SVG lines entirely */
.pmap__axis { position: absolute; background: var(--ink-soft); pointer-events: none; }
.pmap__axis--h { left: 1.5%; right: 1.5%; top: calc(50% - .75px); height: 1.5px; }
.pmap__axis--v { top: 2%; bottom: 2%; left: calc(50% - .75px); width: 1.5px; }
.pmap__head {
  position: absolute; width: 9px; height: 9px;
  border: solid var(--ink-soft); border-width: 1.5px 0 0 1.5px;
  pointer-events: none;
}
.pmap__head--l { left: 1.5%; top: 50%; transform: translate(1px, -50%) rotate(-45deg); }
.pmap__head--r { right: 1.5%; top: 50%; transform: translate(-1px, -50%) rotate(135deg); }
.pmap__head--t { top: 2%; left: 50%; transform: translate(-50%, 1px) rotate(45deg); }
.pmap__head--b { bottom: 2%; left: 50%; transform: translate(-50%, -1px) rotate(225deg); }

.pmap__square {
  position: absolute;
  border: 2px dashed var(--gold); border-radius: 8px;
  background: var(--gold-soft);
  cursor: move;
  touch-action: none; /* dragging the square shouldn't scroll the page */
  transition: border-color .3s, background-color .3s, box-shadow .3s;
}
.pmap__square:hover, .pmap__square:focus-visible { border-style: solid; outline: none; }
.pmap__square:focus-visible { box-shadow: 0 0 0 3px var(--gold-soft); }
.pmap__square.is-moving, .pmap__square.is-resizing { border-style: solid; background: color-mix(in srgb, var(--gold) 22%, transparent); }
.pmap__square-handle {
  position: absolute; right: -9px; bottom: -9px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--gold);
  cursor: nwse-resize;
  touch-action: none;
  transition: transform .25s var(--ease-out), background-color .25s;
}
.pmap__square-handle::after { content: ""; position: absolute; inset: -10px; } /* bigger touch target */
.pmap__square-handle:hover, .pmap__square.is-resizing .pmap__square-handle { transform: scale(1.2); background: var(--gold); }
.pmap__square-remove {
  position: absolute; top: 6px; right: 6px;
  display: grid; place-items: center;
  width: 26px; height: 26px; border-radius: 50%;
  border: 0; background: var(--bg); color: var(--ink-soft);
  cursor: pointer;
  opacity: .85;
  transition: opacity .2s, color .2s;
}
.pmap__square-remove:hover { opacity: 1; color: var(--ink); }
.pmap__square-remove svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.pmap__dots { position: absolute; inset: 0; pointer-events: none; }
.pdot {
  position: absolute;
  display: flex; align-items: center; gap: 8px;
  padding: 0; border: 0; background: none;
  transform: translate(-9px, -50%);
  font: inherit; color: var(--ink);
  cursor: grab;
  touch-action: none;
  pointer-events: auto;
  z-index: 1;
}
.pdot--flip { flex-direction: row-reverse; transform: translate(calc(-100% + 9px), -50%); }
.pdot__mark {
  flex: none; width: 18px; height: 18px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-soft);
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.pdot__label {
  max-width: 150px;
  padding: 3px 10px; border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-raised);
  font-size: 13px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: background-color .6s;
}
.pdot:hover .pdot__mark, .pdot:focus-visible .pdot__mark { transform: scale(1.2); box-shadow: 0 0 0 7px var(--gold-soft); }
.pdot:focus-visible { outline: none; }
.pdot:focus-visible .pdot__label { border-color: var(--gold); }
.pdot.is-dragging { cursor: grabbing; z-index: 2; }
.pdot.is-dragging .pdot__mark { transform: scale(1.3); }

.pmap-tools {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px;
  margin-top: clamp(20px, 3vw, 28px);
}
.pmap-add { margin-top: 0; flex: 1 1 320px; }
.pmap-tools__btn {
  padding: 10px 18px;
  border: 1px solid var(--gold); border-radius: 999px;
  background: transparent; color: var(--ink);
  font: inherit; font-size: 14px;
  cursor: pointer;
  transition: background-color .3s, color .3s;
}
.pmap-tools__btn:hover { background: var(--gold-soft); }
.pmap-tools__hint { flex-basis: 100%; margin: 0; font-size: 14px; font-style: italic; color: var(--muted); }
.pmap-list { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pmap-list:empty { display: none; }
.pmap-chip {
  display: inline-flex; align-items: center; gap: 2px; max-width: 100%;
  padding: 3px 4px 3px 12px;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--bg-raised); font-size: 14px;
}
.pmap-chip__label { overflow-wrap: anywhere; }
.pmap-chip__remove {
  display: grid; place-items: center; flex: none;
  width: 26px; height: 26px; border-radius: 50%;
  border: 0; background: transparent; color: var(--muted); cursor: pointer;
}
.pmap-chip__remove:hover { background: var(--gold-soft); color: var(--ink); }
.pmap-chip__remove svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }

.pmap-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  margin-top: clamp(40px, 6vh, 56px);
  padding-top: clamp(28px, 4vw, 40px);
  border-top: var(--divider);
}
@media (max-width: 860px) { .pmap-bottom { grid-template-columns: 1fr; } }
.use-map__head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.use-map__head .worksheet__star { margin: 0; }
.use-map__title { font-size: 18px; font-weight: 700; }
.use-map__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.use-map__steps li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: start; }
.use-map__steps p { margin: 0; font-size: 15px; line-height: 1.45; color: var(--ink-soft); }
.use-map__num {
  display: grid; place-items: center;
  width: 26px; height: 26px; border-radius: 50%;
  border: 1.5px solid var(--gold); color: var(--gold-text);
  font-size: 13px; font-weight: 700;
  transition: background-color .4s, color .4s, transform .5s var(--ease-out);
}
.use-map__steps li.is-done .use-map__num { background: var(--gold); color: #2A2929; transform: scale(1.08); }

.statement { position: relative; }
.statement__num {
  display: inline-grid; place-items: center;
  width: 36px; height: 36px; margin-bottom: 10px; border-radius: 50%;
  background: var(--gold); color: #2A2929;
  font-weight: 700; font-size: 16px;
}
.statement__prompt { margin: 4px 0 4px; font-size: 15px; color: var(--ink-soft); }

/* Phones: left/right labels sit under the map with direction arrows */
@media (max-width: 700px) {
  .pmap {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas: "top top" "plot plot" "bottom bottom" "left right";
  }
  .pmap__plot { aspect-ratio: 1; }
  .axis-field--left .axis-field__caption::before { content: "← "; }
  .axis-field--right .axis-field__caption::after { content: " →"; }
  .pdot__label { max-width: 110px; }
}

/* ---------- Value Proposition ---------- */
.vp-template {
  padding: clamp(24px, 4vw, 44px) clamp(22px, 5vw, 72px);
  border-radius: 18px;
  background: var(--surface);
  transition: background-color .6s;
}
.vp-template p {
  margin: 0;
  font-size: clamp(18px, 1.9vw, 23px); font-style: italic; line-height: 1.75;
  color: var(--ink-soft);
}
.vp-template strong {
  padding: 1px 3px; margin: 0 -3px;
  border-radius: 6px;
  font-weight: 700; color: var(--ink);
  transition: color .3s, background-color .3s, opacity .3s;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.vp-template.has-lit strong:not(.is-lit) { opacity: .45; }
.vp-template strong.is-lit { color: var(--gold-text); background: var(--gold-soft); }

.vp-fields {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 36px) clamp(24px, 4vw, 48px);
  margin-top: clamp(32px, 5vw, 48px);
}
@media (max-width: 700px) { .vp-fields { grid-template-columns: 1fr; } }
.vp-field__label {
  font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gold-text);
}

.vp-short { margin-top: clamp(44px, 6vw, 64px); padding-top: clamp(28px, 4vw, 40px); border-top: var(--divider); }
.vp-short__intro { margin-bottom: 18px; }
.vp-sentence {
  margin: 0;
  font-size: clamp(17px, 1.6vw, 19px);
  line-height: 3.3; /* room for the captions under each blank */
  color: var(--ink);
}
.blank {
  position: relative;
  display: inline-flex; flex-direction: column; align-items: center;
  max-width: 100%;
  margin: 0 3px;
  vertical-align: baseline;
  line-height: 1.3;
}
.blank__input {
  max-width: 100%; min-width: 0;
  padding: 2px 6px;
  border: 0; border-bottom: 1px solid var(--ink-soft); border-radius: 0;
  background: transparent; color: var(--ink);
  font: inherit; font-weight: 600; text-align: center;
  outline: none;
  transition: border-color .3s, width .25s var(--ease-out);
}
.blank__input:focus { border-bottom-color: var(--gold); box-shadow: 0 1px 0 var(--gold); }
.blank__cap {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  margin-top: 3px;
  width: max-content; max-width: calc(100vw - 64px);
  font-size: 10px; font-style: italic; letter-spacing: .04em; text-transform: uppercase; text-align: center; line-height: 1.3;
  color: var(--gold-text);
  pointer-events: none;
}
.blank.is-over .blank__input { border-bottom-color: #C2410C; }
.blank.is-over .blank__cap { color: #C2410C; }
.blank.is-over .blank__cap::after { content: " · 4 words max"; }

/* ---------- Boilerplate ---------- */
.bps {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
  margin-top: clamp(40px, 6vh, 64px);
}
@media (max-width: 860px) { .bps { grid-template-columns: 1fr; } }
.bp {
  display: flex; flex-direction: column;
  padding: clamp(22px, 2.6vw, 30px);
  border-radius: 20px;
  transition: background-color .6s, border-color .6s;
}
.bp.is-revealing { clip-path: inset(0 0 calc(100% - var(--reveal, 100) * 1%) 0 round 20px); }
.bp--one { border: 1.5px solid var(--line); background: var(--bg); }
.bp--short { background: var(--surface); }
.bp--long { background: var(--chip-bg); }
.bp__title { font-size: clamp(22px, 2vw, 26px); font-weight: 700; }
.bp__words { margin: 4px 0 12px; font-size: 14px; font-style: italic; color: var(--muted); }
.bp__desc { margin: 0; font-size: 16px; line-height: 1.5; color: var(--ink-soft); }
.bp__example { margin-top: 26px; }
/* Gold "Example" pill with a rule running off to the right, as in the PDF */
.bp__tab {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 14px;
}
.bp__tab span {
  flex: none;
  padding: 6px 26px; border-radius: 999px;
  background: var(--gold); color: #2A2929;
  font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.bp__tab::after { content: ""; flex: 1; height: 1.5px; background: var(--gold); }
.bp__example p { margin: 0; font-size: 15px; font-style: italic; line-height: 1.55; color: var(--ink); }

.reviews {
  list-style: none; margin: clamp(40px, 6vh, 64px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
}
@media (max-width: 760px) { .reviews { grid-template-columns: 1fr; } }
.review {
  position: relative;
  padding: 24px 64px 24px 26px;
  border-radius: 16px;
  background: var(--chip-bg);
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out), background-color .6s;
}
.review:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.review h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.review p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--ink-soft); }
.review__check {
  position: absolute; top: 18px; right: 20px;
  width: 32px; height: 32px; overflow: visible;
  fill: none; stroke: var(--ink-soft); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.review__check path { stroke: var(--gold); stroke-width: 2; }

/* ---------- Personality ---------- */
.persona {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 7vw, 110px);
  align-items: center;
  margin: clamp(40px, 6vh, 64px) 0 clamp(64px, 9vh, 96px);
}
@media (max-width: 860px) { .persona { grid-template-columns: 1fr; } }
.persona__rays { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
@media (max-width: 860px) { .persona__rays { display: none; } }
.persona__ray { stroke: color-mix(in srgb, var(--gold) 45%, transparent); stroke-width: 1.5; }
.persona__intro, .persona__traits { position: relative; z-index: 1; }
.persona__lead { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.5; color: var(--ink); margin: 0 0 28px; }
.persona__ask { display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); }
.persona__question {
  margin: 0; max-width: 14ch;
  font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; line-height: 1.15; letter-spacing: -.01em;
  color: var(--gold-text);
}
.persona__star { flex: none; width: 36px; height: 36px; fill: var(--gold); margin-left: auto; }
.persona__sub { margin: 24px 0 0; max-width: 46ch; font-size: 15px; font-style: italic; color: var(--muted); }
.persona__traits-label { margin: 0 0 10px; font-size: 13px; font-style: italic; color: var(--muted); }
.traits { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.trait {
  padding: 14px 20px;
  border-radius: 12px;
  background: var(--chip-bg);
  transition: transform .5s var(--ease-out), background-color .6s;
}
.trait:hover { transform: translateX(4px); }
.trait h3 { font-size: 17px; font-weight: 700; margin-bottom: 2px; }
.trait p { margin: 0; font-size: 14px; color: var(--ink-soft); }

/* Survey */
.survey {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}
/* The scales need ~560px to show every pair in full; stack below that */
@media (max-width: 1140px) { .survey { grid-template-columns: 1fr; } }
.survey__intro { position: relative; }
.survey__star { margin-bottom: 12px; }
.survey__intro p { margin: 0 0 14px; font-size: 15px; line-height: 1.5; color: var(--ink-soft); }
.scales {
  display: grid; gap: 4px;
  padding: clamp(16px, 2.5vw, 28px);
  border-radius: 16px;
  background: var(--surface);
  transition: background-color .6s;
}
.scale {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(140px, 240px) minmax(0, 1fr);
  gap: 12px; align-items: center;
}
.scale__label {
  display: block; min-width: 0;
  padding: 4px 2px;
  border-bottom: 1px dashed transparent;
  color: var(--ink-soft);
  font-size: 15px; line-height: 1.25;
  overflow-wrap: break-word;
  outline: none;
  cursor: text;
  transition: color .3s, border-color .3s;
}
.scale__label--left { text-align: right; }
.scale__label:hover { border-bottom-color: var(--faint); }
.scale__label:focus { border-bottom: 1px solid var(--gold); color: var(--ink); }
.scale.lean-left .scale__label--left, .scale.lean-right .scale__label--right { color: var(--ink); font-weight: 600; }
.scale__track { position: relative; display: flex; justify-content: space-between; align-items: center; height: 36px; }
.scale__line {
  position: absolute; left: 11px; right: 11px; top: 50%;
  height: 1.5px; margin-top: -.75px;
  background: color-mix(in srgb, var(--gold) 55%, transparent);
}
.scale__fill {
  position: absolute; top: -1px; height: 3.5px; border-radius: 2px;
  background: var(--gold);
  transition: left .45s var(--ease-out), width .45s var(--ease-out);
}
.scale__stop {
  position: relative; z-index: 1;
  display: grid; place-items: center;
  width: 22px; height: 22px; padding: 0;
  border: 0; background: none; cursor: pointer;
}
.scale__stop span {
  width: 13px; height: 13px; border-radius: 50%;
  border: 1.5px solid var(--gold);
  background: var(--surface);
  transition: transform .3s var(--ease-out), background-color .3s, box-shadow .3s;
}
.scale__stop:first-of-type span, .scale__stop:last-of-type span { width: 15px; height: 15px; }
.scale__stop:hover span { transform: scale(1.25); }
.scale__stop[aria-checked="true"] span { background: var(--gold); transform: scale(1.4); box-shadow: 0 0 0 5px var(--gold-soft); }
.scale__stop:focus-visible { outline: none; }
.scale__stop:focus-visible span { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--gold); }
@media (max-width: 560px) {
  .scale { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "l r" "t t"; row-gap: 0; padding-bottom: 8px; }
  .scale__label--left { grid-area: l; text-align: left; }
  .scale__label--right { grid-area: r; text-align: right; }
  .scale__track { grid-area: t; }
  .scale__label { font-size: 13.5px; }
}
.survey__traits { margin-top: clamp(36px, 5vw, 56px); }
.survey__traits .worksheet__intro { margin-bottom: 4px; }
.survey__traits .worksheet__lead { font-size: clamp(18px, 1.8vw, 22px); }

/* ---------- Visual Identity ---------- */
.basics {
  list-style: none; margin: clamp(40px, 6vh, 64px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
}
@media (max-width: 760px) { .basics { grid-template-columns: 1fr; } }
.basic {
  position: relative;
  padding: 26px 76px 24px 26px;
  border-radius: 16px;
  background: var(--chip-bg);
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out), background-color .6s;
}
.basic:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.basic h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.basic p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--ink-soft); }
.basic__icon { position: absolute; top: 22px; right: 24px; }
.basic__icon--logo { width: 30px; height: 30px; fill: var(--ink); }
.basic svg.basic__icon:not(.basic__icon--logo):not(.basic__icon--img) { width: 44px; height: 24px; }
.basic__dot-dark { fill: var(--ink); stroke: var(--chip-bg); stroke-width: 2; }
.basic__dot-gold { fill: var(--gold); stroke: var(--ink); stroke-width: 1.5; }
.basic__icon--tt { font-size: 26px; font-weight: 500; line-height: 1; color: var(--ink); letter-spacing: -.02em; }
.basic__icon--img { width: 30px; height: 30px; fill: none; stroke: var(--ink); stroke-width: 1.4; }

.vi-lower {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
  margin-top: clamp(56px, 8vh, 88px);
}
@media (max-width: 900px) { .vi-lower { grid-template-columns: 1fr; } }
.vi-statement {
  margin: 0 0 clamp(28px, 4vw, 44px); max-width: 12ch;
  font-size: clamp(28px, 3vw, 38px); font-weight: 700; line-height: 1.12; letter-spacing: -.01em;
  color: var(--gold-text);
}
.remember--list { display: block; position: relative; margin: 0; padding: 26px 28px 24px 36px; }
.remember--list .remember__label { margin-bottom: 16px; }
.remember__body p { margin: 0 0 14px; font-size: 16px; line-height: 1.5; color: var(--ink-soft); }
.remember__body ul { margin: 0; padding-left: 20px; display: grid; gap: 4px; font-size: 15px; color: var(--ink-soft); }
.remember__body li::marker { color: var(--gold); }

/* Annotated sample: pins run from the image out to labels in the side gutters */
.vi-sample { --pad: clamp(64px, 8vw, 100px); margin: 0; padding-inline: var(--pad); }
.vi-sample__frame { position: relative; }
.vi-sample img {
  display: block; width: 100%; height: auto;
  border: 1px solid var(--line); border-radius: 4px;
  box-shadow: var(--shadow);
}
.vi-pin {
  position: absolute; top: var(--y);
  display: flex; align-items: center;
  transform: translateY(-50%);
  pointer-events: none;
}
.vi-pin--left { left: calc(-1 * var(--pad)); width: calc(var(--pad) + var(--x)); }
.vi-pin--right { left: var(--x); right: calc(-1 * var(--pad)); flex-direction: row-reverse; }
.vi-pin__label { flex: none; padding: 0 8px; font-size: 14px; color: var(--muted); }
.vi-pin__line { flex: 1; height: 1.5px; background: color-mix(in srgb, var(--gold) 60%, transparent); }
.vi-pin--left .vi-pin__line { transform-origin: right; }
.vi-pin--right .vi-pin__line { transform-origin: left; }
.vi-pin__dot {
  flex: none; width: 12px; height: 12px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 0 4px rgba(232, 184, 86, .3);
}
.vi-pin--left .vi-pin__dot { margin-right: -6px; }
.vi-pin--right .vi-pin__dot { margin-left: -6px; }
/* Phones: no side gutters, so labels sit inside the image beside their dots */
@media (max-width: 560px) {
  .vi-sample { --pad: 0px; }
  .vi-pin--left { left: var(--x); width: auto; flex-direction: row-reverse; transform: translate(-6px, -50%); }
  .vi-pin--right { left: auto; right: calc(100% - var(--x)); flex-direction: row; transform: translate(6px, -50%); }
  .vi-pin__line { flex: none; width: 12px; }
  .vi-pin__label { padding: 2px 8px; border-radius: 999px; background: var(--bg); color: var(--ink); font-size: 12px; box-shadow: var(--shadow); }
  .vi-pin--left .vi-pin__dot { margin: 0; }
  .vi-pin--right .vi-pin__dot { margin: 0; }
}

/* Creative brief */
.brief { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 48px); }
@media (max-width: 760px) { .brief { grid-template-columns: 1fr; } }
.brief-q { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 14px; }
.brief-q__label { display: block; font-size: 16px; line-height: 1.45; color: var(--ink-soft); margin: 4px 0 2px; }
.brief-q:focus-within .vstep__num { background: var(--gold); color: #2A2929; }

/* ---------- Closing ---------- */
.closing { padding: clamp(40px, 8vh, 96px) clamp(14px, 2.2vw, 28px) clamp(14px, 2.2vw, 28px); }
.closing__frame {
  position: relative;
  min-height: min(980px, 100svh);
  border: 1.5px solid var(--gold); border-radius: 22px;
  overflow: hidden;
  isolation: isolate;
}
.closing__topo {
  position: absolute; inset: 0; z-index: -1;
  color: var(--topo);
  -webkit-mask-image: radial-gradient(ellipse 95% 85% at 88% 92%, #000 30%, rgba(0,0,0,.55) 55%, transparent 80%);
          mask-image: radial-gradient(ellipse 95% 85% at 88% 92%, #000 30%, rgba(0,0,0,.55) 55%, transparent 80%);
}
.closing__topo svg { width: 100%; height: 100%; }
/* Two columns on desktop: the deliverables story on the left, the sign-off and contact on the right */
.closing__inner {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  padding: clamp(40px, 7vw, 96px) clamp(22px, 6vw, 84px) clamp(48px, 8vw, 96px);
}
@media (max-width: 860px) { .closing__inner { grid-template-columns: 1fr; } }
.closing__main { max-width: 560px; }
.closing__lead { font-size: clamp(20px, 2vw, 26px); font-weight: 400; line-height: 1.35; letter-spacing: -.01em; margin-bottom: 26px; }
.deliverables { list-style: none; margin: 0 0 34px; padding: 0; }
.deliverables li { position: relative; padding: 5px 0 5px 32px; font-size: 16px; color: var(--ink-soft); }
.deliverables li::before {
  content: ""; position: absolute; left: 4px; top: 50%;
  width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%;
  background: var(--faint);
  transition: background-color .5s, box-shadow .5s;
}
.deliverables li:not(:last-child)::after {
  content: ""; position: absolute; left: 8px; top: calc(50% + 7px); height: calc(100% - 14px);
  width: 1px; background: var(--faint);
}
.deliverables li.is-lit::before { background: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft); }
.closing__sign { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.45; color: var(--ink); max-width: 34ch; margin: 0; }
.closing__contact {
  justify-self: start;
  padding: clamp(28px, 3.5vw, 44px) clamp(28px, 4vw, 52px);
  border-radius: 20px;
  /* frosted panel so the copy stays crisp over the contour lines */
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.export { margin-top: 36px; }
.export__btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px;
  border: 0; border-radius: 999px;
  background: var(--gold); color: #2A2929;
  font: inherit; font-size: 16px; font-weight: 600;
  cursor: pointer;
  transition: transform .4s var(--ease-out), box-shadow .4s;
}
.export__btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(160, 110, 20, .7); }
.export__btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.export__btn.is-busy { opacity: .7; cursor: progress; }
.export__btn.is-busy svg { animation: export-bob .9s ease-in-out infinite; }
@keyframes export-bob { 50% { transform: translateY(3px); } }
.export__status { min-height: 1.4em; margin: 10px 0 0; font-size: 14px; color: var(--muted); }
@media (max-width: 860px) { .closing__contact { padding: 8px 0 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; } }
.closing__star { display: block; width: 34px; height: 34px; margin-bottom: 18px; fill: var(--gold); }
.closing__contact p { margin: 0 0 6px; font-size: clamp(18px, 1.7vw, 22px); }
.closing__shine {
  margin-bottom: 18px !important;
  font-size: clamp(34px, 4.2vw, 56px) !important; font-weight: 700; line-height: 1.05; letter-spacing: -.02em;
  color: var(--gold-text);
}
.closing__contact a { color: var(--ink); text-decoration: none; background: linear-gradient(var(--gold), var(--gold)) left bottom / 0 1.5px no-repeat; transition: background-size .4s var(--ease-out), color .3s; }
.closing__contact a:hover { color: var(--ink); background-size: 100% 1.5px; }

/* ---------- Next / footer ---------- */
.next { text-align: center; padding-bottom: clamp(120px, 18vh, 200px); }
.next__inner { display: flex; flex-direction: column; align-items: center; }
.next__title { font-size: clamp(40px, 6vw, 88px); font-weight: 400; letter-spacing: -.03em; margin-bottom: 16px; }
.next__sub { color: var(--muted); max-width: 46ch; }
.next__soon {
  margin-top: 18px;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px dashed var(--gold);
  color: var(--gold-text);
  font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
}

.footer { border-top: var(--divider); padding-block: 28px calc(28px + env(safe-area-inset-bottom, 0px)); font-size: 13px; color: var(--gold-text); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer .logo { width: 140px; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
