/* ==========================================================================
   Conscious Ventures — main stylesheet
   Palette and motif come from the firm's emblem: a burst of coral-to-rose dots.
   ========================================================================== */

@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("../fonts/unbounded-latin-wght-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("../fonts/source-serif-4-latin-wght-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Source Serif 4";
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
  src: url("../fonts/source-serif-4-latin-wght-italic.woff2") format("woff2");
}

:root {
  --night: #120910;
  --plum: #1e0f1a;
  --plum-2: #2e1828;
  --coral: #f4a293;
  --rose: #e83b7d;
  --rose-deep: #b81f5c;
  --shell: #f5edea;
  --shell-2: #eadfdc;
  --ink: #1c0f19;

  --on-dark: #fbf3f1;
  --on-dark-soft: rgba(251, 243, 241, 0.68);
  --on-dark-line: rgba(251, 243, 241, 0.16);
  --on-light-soft: rgba(28, 15, 25, 0.7);
  --on-light-line: rgba(28, 15, 25, 0.16);

  --display: "Unbounded", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --text: "Source Serif 4", "Iowan Old Style", Georgia, serif;

  --gutter: clamp(20px, 5vw, 76px);
  --max: 1320px;
  --section: clamp(84px, 11vw, 168px);
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --header-h: 76px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  background: var(--night);
}
body {
  margin: 0;
  font-family: var(--text);
  font-size: clamp(1.0625rem, 0.98rem + 0.3vw, 1.25rem);
  line-height: 1.62;
  color: var(--on-dark);
  background: var(--night);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 300; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--rose); color: #fff; }

:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 4px;
  border-radius: 4px;
}
.theme-light :focus-visible { outline-color: var(--rose-deep); }

.skip {
  position: absolute; left: 16px; top: -80px; z-index: 200;
  padding: 12px 18px; border-radius: 999px;
  background: var(--coral); color: var(--night);
  font-family: var(--display); font-size: 0.75rem; text-decoration: none;
  transition: top 0.2s;
}
.skip:focus { top: 16px; }

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

/* ---------- Layout ------------------------------------------------------ */

.wrap {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { position: relative; padding-block: var(--section); }
.section-tight { position: relative; padding-block: calc(var(--section) * 0.6); }
.theme-dark { background: var(--night); color: var(--on-dark); }
.theme-plum { background: var(--plum); color: var(--on-dark); }
.theme-light { background: var(--shell); color: var(--ink); }

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2.4vw, 40px);
  row-gap: clamp(28px, 4vw, 56px);
}
.col-4 { grid-column-end: span 4; }
.col-5 { grid-column-end: span 5; }
.col-6 { grid-column-end: span 6; }
.col-7 { grid-column-end: span 7; }
.col-8 { grid-column-end: span 8; }
.col-12 { grid-column: 1 / -1; }
.start-6 { grid-column-start: 6; }
.start-7 { grid-column-start: 7; }
.start-9 { grid-column-start: 9; }
@media (max-width: 900px) {
  .col-4, .col-5, .col-6, .col-7, .col-8,
  .start-6, .start-7, .start-9 { grid-column: 1 / -1; }
}

/* ---------- Type -------------------------------------------------------- */

.h1 {
  font-size: clamp(2.1rem, 5.6vw, 5.4rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  font-weight: 300;
}
.h1 .line { display: block; width: fit-content; max-width: 100%; }
.h1[data-swell] { width: fit-content; max-width: 100%; }
.h2 {
  font-size: clamp(1.7rem, 3.5vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 300;
  max-width: 18ch;
}
.h2-wide { max-width: 24ch; }
.h3 {
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-weight: 500;
}
.lede {
  font-size: clamp(1.15rem, 1rem + 0.7vw, 1.55rem);
  line-height: 1.5;
  max-width: 34em;
}
.measure { max-width: 36em; }
.soft { color: var(--on-dark-soft); }
.theme-light .soft { color: var(--on-light-soft); }
.label {
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.4;
}

.textlink {
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 400;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-block: 6px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size 0.5s var(--ease), color 0.3s;
}
.textlink::before {
  content: "";
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--rose);
  transition: transform 0.5s var(--ease);
}
.textlink:hover::before { transform: scale(1.7); }
.theme-light .textlink:hover { color: var(--rose-deep); }

/* ---------- Buttons ----------------------------------------------------- */

.btn {
  --btn-bg: var(--coral);
  --btn-fg: var(--night);
  --btn-fill: var(--on-dark);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 28px;
  border: 0;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.005em;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: color 0.35s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
/* A dot grows from the point where the pointer entered. */
.btn::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: var(--bx, 50%);
  top: var(--by, 50%);
  width: 2px; height: 2px;
  border-radius: 50%;
  background: var(--btn-fill);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.6s var(--ease);
}
.btn:hover::before,
.btn:focus-visible::before { transform: translate(-50%, -50%) scale(340); }
.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: currentColor;
  --btn-fill: var(--rose);
  box-shadow: inset 0 0 0 1px currentColor;
}
.btn-ghost:hover, .btn-ghost:focus-visible { color: #fff; box-shadow: inset 0 0 0 1px var(--rose); }
.theme-light .btn { --btn-bg: var(--ink); --btn-fg: var(--shell); --btn-fill: var(--rose); }
.theme-light .btn:hover { color: #fff; }
.theme-light .btn-ghost { --btn-bg: transparent; --btn-fg: var(--ink); }
.btn-small { min-height: 42px; padding: 10px 20px; font-size: 0.7rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; width: fit-content; max-width: 100%; }

/* ---------- Header ------------------------------------------------------ */

.progress {
  position: fixed; inset: 0 0 auto 0; z-index: 120;
  height: 3px;
  background: linear-gradient(90deg, var(--coral), var(--rose));
  transform-origin: 0 50%;
  transform: scaleX(var(--scroll, 0));
  pointer-events: none;
}

.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  color: var(--on-dark);
  transition: transform 0.5s var(--ease), background-color 0.4s, box-shadow 0.4s;
}
.header.is-solid {
  background: rgba(18, 9, 16, 0.94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--on-dark-line);
}
.header.is-hidden { transform: translateY(-110%); }
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--on-dark);
  flex: none;
}
.brand__emblem { width: 40px; height: 40px; transition: transform 0.9s var(--ease); }
.brand:hover .brand__emblem { transform: rotate(45deg) scale(1.06); }
.brand__word { width: 132px; height: auto; }

.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.nav__list { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.nav__link {
  position: relative;
  display: inline-block;
  padding: 10px 0;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 400;
  text-decoration: none;
  color: var(--on-dark-soft);
  transition: color 0.3s;
}
.nav__link::after {
  content: "";
  position: absolute; left: 50%; bottom: 0;
  width: 6px; height: 6px; margin-left: -3px; border-radius: 50%;
  background: var(--rose);
  transform: scale(0);
  transition: transform 0.4s var(--ease);
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--on-dark); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scale(1); }

.menu-toggle {
  display: none;
  width: 48px; height: 48px; margin-right: -10px;
  border: 0; border-radius: 50%; background: transparent; cursor: pointer;
  position: relative;
}
.menu-toggle span {
  position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px;
  background: var(--on-dark);
  transition: transform 0.4s var(--ease), opacity 0.3s;
}
.menu-toggle span:nth-child(1) { top: 18px; }
.menu-toggle span:nth-child(2) { top: 28px; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { transform: translateY(-5px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 90;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  background: var(--night);
  overflow-y: auto;
  visibility: hidden;
  clip-path: circle(0% at calc(100% - 44px) 38px);
  transition: clip-path 0.7s var(--ease), visibility 0s 0.7s;
}
.menu-open .menu {
  visibility: visible;
  clip-path: circle(150% at calc(100% - 44px) 38px);
  transition: clip-path 0.7s var(--ease), visibility 0s;
}
.menu__list li { border-bottom: 1px solid var(--on-dark-line); }
.menu__link {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 16px 0;
  font-family: var(--display); font-size: 1.25rem; font-weight: 300;
  text-decoration: none; color: var(--on-dark);
}
.menu__link[aria-current="page"] { color: var(--coral); }
.menu__foot { margin-top: 28px; display: grid; gap: 18px; }
.menu__legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.menu__legal a { color: var(--on-dark-soft); font-size: 0.9rem; }

@media (max-width: 1040px) {
  .nav__list, .nav .btn { display: none; }
  .menu-toggle { display: block; }
}
@media (max-width: 420px) { .brand__word { width: 112px; } .brand__emblem { width: 34px; height: 34px; } }

/* ---------- Hero -------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: clamp(40px, 7vh, 88px);
  overflow: hidden;
  background: var(--night);
}
.hero__canvas, .burst {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.hero__body { position: relative; z-index: 1; width: 100%; }
.hero__title { margin-bottom: clamp(20px, 3vw, 36px); }
.hero__lede { max-width: 31em; color: var(--on-dark-soft); }
.hero__foot {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 28px 48px;
  margin-top: clamp(24px, 4vw, 44px);
}
.status {
  display: flex; align-items: flex-start; gap: 14px;
  max-width: 30em;
  font-size: 0.95rem; line-height: 1.5;
  color: var(--on-dark-soft);
}
.status::before {
  content: ""; flex: none;
  width: 10px; height: 10px; margin-top: 0.42em; border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 0 rgba(244, 162, 147, 0.5);
  animation: pulse 2.6s ease-out infinite;
}
.status strong { color: var(--on-dark); font-weight: 600; }
.theme-light .status { color: var(--on-light-soft); }
.theme-light .status strong { color: var(--ink); }
.theme-light .status::before { background: var(--rose); box-shadow: 0 0 0 0 rgba(232, 59, 125, 0.45); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(244, 162, 147, 0.5); }
  70%, 100% { box-shadow: 0 0 0 14px rgba(244, 162, 147, 0); }
}
.scrollcue {
  position: absolute; right: var(--gutter); bottom: clamp(40px, 7vh, 88px); z-index: 1;
  writing-mode: vertical-rl;
  font-family: var(--display); font-size: 0.66rem; color: var(--on-dark-soft);
  display: flex; align-items: center; gap: 14px;
}
.scrollcue::after {
  content: ""; width: 1px; height: 56px;
  background: linear-gradient(var(--coral), transparent);
  animation: cue 2.2s var(--ease) infinite;
  transform-origin: 50% 0;
}
@keyframes cue { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-width: 900px) { .scrollcue { display: none; } }

/* Interior page hero */
.pagehero {
  position: relative;
  min-height: min(78vh, 760px);
  display: flex; align-items: flex-end;
  padding-top: calc(var(--header-h) + 72px);
  padding-bottom: clamp(48px, 7vw, 96px);
  overflow: hidden;
  background: var(--night);
}
.pagehero-short { min-height: min(56vh, 520px); }
.pagehero__body { position: relative; z-index: 1; width: 100%; }
.crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin-bottom: clamp(20px, 3vw, 36px);
  width: fit-content; max-width: 100%;
  font-family: var(--display); font-size: 0.7rem; color: var(--on-dark-soft);
}
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--coral); }
.crumbs li + li::before {
  content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 10px;
  border-radius: 50%; background: var(--rose); vertical-align: middle;
}
.crumbs ol { display: flex; flex-wrap: wrap; gap: 10px; }
.pagehero__lede { margin-top: clamp(18px, 2.4vw, 32px); color: var(--on-dark-soft); }

/* Letters that gain weight near the pointer */
.swell .w { display: inline-block; white-space: nowrap; }
.swell .c { display: inline-block; font-variation-settings: "wght" var(--wght, 300); will-change: font-variation-settings; }

/* ---------- Scroll reveals --------------------------------------------- */

.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 0.9s var(--ease), transform 1.1s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

.js [data-reveal="rule"] {
  opacity: 1; transform: scaleX(0); transform-origin: 0 50%;
  transition: transform 1.4s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js [data-reveal="rule"].is-in { transform: scaleX(1); }

/* The clip sits on the child: an element clipped to nothing never reports
   as intersecting, so the observed element itself has to stay unclipped. */
.js [data-reveal="clip"] { opacity: 1; transform: none; }
.js [data-reveal="clip"] > * {
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.5s var(--ease);
}
.js [data-reveal="clip"].is-in > * { clip-path: inset(0 0 0 0); }

.js [data-reveal="dot"] {
  opacity: 1; transform: scale(0);
  transition: transform 0.9s cubic-bezier(0.3, 1.5, 0.5, 1);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js [data-reveal="dot"].is-in { transform: scale(1); }

.js [data-reveal="words"] { opacity: 1; transform: none; }
.rw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.rw > span {
  display: inline-block;
  transform: translate3d(0, 110%, 0);
  font-variation-settings: "wght" 640;
  transition: transform 1.1s var(--ease), font-variation-settings 1.4s var(--ease);
  transition-delay: calc(var(--w, 0) * 55ms);
}
.is-in .rw > span { transform: none; font-variation-settings: "wght" 300; }

.rule { height: 1px; background: currentColor; opacity: 0.18; }

/* ---------- Pillars (rows) --------------------------------------------- */

.rows { border-top: 1px solid var(--on-light-line); }
.theme-dark .rows, .theme-plum .rows { border-color: var(--on-dark-line); }
.row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) auto;
  gap: clamp(16px, 3vw, 48px);
  align-items: center;
  padding: clamp(26px, 3.6vw, 48px) 0;
  border-bottom: 1px solid var(--on-light-line);
  text-decoration: none;
  color: inherit;
  transition: padding 0.6s var(--ease), color 0.3s;
}
.theme-dark .row, .theme-plum .row { border-color: var(--on-dark-line); }
.row__title {
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.6vw, 2.4rem);
  font-weight: 300; line-height: 1.12; letter-spacing: -0.02em;
  transition: font-variation-settings 0.6s var(--ease);
  font-variation-settings: "wght" 300;
}
.row__text { margin: 0; color: var(--on-light-soft); max-width: 32em; }
.theme-dark .row__text, .theme-plum .row__text { color: var(--on-dark-soft); }
.row__dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: linear-gradient(var(--coral), var(--rose));
  transition: transform 0.7s var(--ease);
}
a.row:hover { padding-inline: clamp(8px, 1.4vw, 22px); }
a.row:hover .row__title { font-variation-settings: "wght" 560; }
a.row:hover .row__dot { transform: scale(3.2); }
@media (max-width: 760px) {
  .row { grid-template-columns: minmax(0, 1fr) auto; }
  .row__text { grid-column: 1 / -1; grid-row: 2; }
}

/* ---------- Scroll-driven word band ------------------------------------ */

.band {
  overflow: hidden;
  padding-block: clamp(36px, 6vw, 84px);
  background: var(--plum);
  color: var(--on-dark);
}
.band__track {
  display: flex; align-items: center; gap: clamp(22px, 3.4vw, 54px);
  width: max-content;
  font-family: var(--display);
  font-size: clamp(2.6rem, 9vw, 8.4rem);
  font-weight: 200; line-height: 1; letter-spacing: -0.03em;
  white-space: nowrap;
  transform: translate3d(calc(var(--p, 0) * -38%), 0, 0);
  will-change: transform;
}
.band__track-reverse { transform: translate3d(calc(-40% + var(--p, 0) * 38%), 0, 0); margin-top: clamp(10px, 1.6vw, 24px); color: rgba(251, 243, 241, 0.2); }
.band__dot {
  flex: none;
  width: 0.26em; height: 0.26em; border-radius: 50%;
  background: linear-gradient(var(--coral), var(--rose));
}

/* ---------- Mandate split ---------------------------------------------- */

.figure { position: relative; overflow: hidden; border-radius: 2px; margin: 0; }
.figure img {
  width: 100%; height: 100%; object-fit: cover;
  transform: translate3d(0, calc((var(--p, 0.5) - 0.5) * -14%), 0) scale(1.16);
  will-change: transform;
}
.figure-tall { aspect-ratio: 4 / 5; }
.figure-mono img { filter: grayscale(1) contrast(1.05); }
.sticky { position: sticky; top: calc(var(--header-h) + 32px); }
@media (max-width: 900px) { .sticky { position: static; } }

.profiles { margin-top: clamp(28px, 4vw, 48px); border-top: 1px solid var(--on-dark-line); }
.theme-light .profiles { border-color: var(--on-light-line); }
.profile {
  display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--on-dark-line);
}
.theme-light .profile { border-color: var(--on-light-line); }
.profile::before {
  content: ""; width: 10px; height: 10px; margin-top: 0.55em; border-radius: 50%;
  background: linear-gradient(var(--coral), var(--rose));
}
.profile p { margin: 0; }
.profile strong { display: block; font-family: var(--display); font-size: 0.86rem; font-weight: 500; margin-bottom: 6px; }

/* ---------- Strengths grid --------------------------------------------- */

.quad {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(36px, 5vw, 80px) clamp(28px, 6vw, 110px);
}
.quad__item { position: relative; padding-top: 26px; }
.quad__item .rule { position: absolute; inset: 0 0 auto 0; }
.quad__item h3 { margin-bottom: 12px; }
.quad__item p { color: var(--on-light-soft); max-width: 30em; }
.theme-dark .quad__item p, .theme-plum .quad__item p { color: var(--on-dark-soft); }
@media (max-width: 760px) { .quad { grid-template-columns: 1fr; } }

.sectionhead {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end;
  gap: 20px clamp(24px, 4vw, 72px);
  margin-bottom: clamp(40px, 6vw, 88px);
}
.sectionhead .h2 { max-width: none; }
.sectionhead p { max-width: 30em; margin: 0; padding-bottom: 0.3em; }
@media (max-width: 900px) { .sectionhead { grid-template-columns: 1fr; } }

/* ---------- Process steps (summary) ------------------------------------ */

.steps {
  position: relative;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 44px);
  padding-top: 44px;
}
.steps__line {
  position: absolute; left: 0; right: 0; top: 6px; height: 1px;
  background: var(--on-dark-line);
}
.steps__line::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--coral), var(--rose));
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
}
.step { position: relative; }
.step::before {
  content: ""; position: absolute; left: 0; top: -44px;
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--plum-2);
  box-shadow: 0 0 0 1px var(--on-dark-line);
  transition: background-color 0.5s, transform 0.6s var(--ease), box-shadow 0.5s;
}
.step.is-on::before { background: var(--coral); box-shadow: 0 0 0 6px rgba(244, 162, 147, 0.16); transform: scale(1.15); }
.step__num {
  display: block;
  font-family: var(--display); font-size: 0.72rem; color: var(--coral);
  margin-bottom: 14px;
}
.step h3 { margin-bottom: 10px; }
.step p { color: var(--on-dark-soft); font-size: 0.95em; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; padding-top: 0; padding-left: 40px; gap: 36px; }
  .steps__line { left: 6px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .steps__line::after { transform-origin: 50% 0; transform: scaleY(var(--p, 0)); background: linear-gradient(var(--coral), var(--rose)); }
  .step::before { left: -40px; top: 4px; }
}

/* ---------- Process page: pinned stage --------------------------------- */

.stage { position: relative; }
.stage__list { display: grid; gap: clamp(48px, 8vw, 96px); }
.stage__step { position: relative; }
.stage__num {
  font-family: var(--display); font-weight: 200;
  font-size: clamp(4rem, 13vw, 11rem); line-height: 0.9; letter-spacing: -0.04em;
  color: var(--coral);
  margin-bottom: 18px;
}
.stage__step h2 { margin-bottom: 18px; }
.stage__step ul { margin-top: 22px; display: grid; gap: 10px; }
.stage__step li { position: relative; padding-left: 24px; color: var(--on-dark-soft); }
.stage__step li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 7px; height: 7px; border-radius: 50%; background: var(--rose); }
.stage__dial, .stage__rail { display: none; }

@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
  .js .stage { height: 440vh; }
  .js .stage__pin {
    position: sticky; top: 0; height: 100vh; overflow: hidden;
    display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center;
    column-gap: clamp(24px, 4vw, 72px);
  }
  .js .stage__list { position: relative; display: block; height: min(64vh, 560px); }
  .js .stage__step {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; justify-content: center;
    opacity: 0; visibility: hidden;
    transform: translate3d(0, 40px, 0);
    transition: opacity 0.6s var(--ease), transform 0.8s var(--ease), visibility 0s 0.6s;
  }
  .js .stage__step.is-active {
    opacity: 1; visibility: visible; transform: none;
    transition: opacity 0.7s var(--ease) 0.1s, transform 0.9s var(--ease) 0.1s, visibility 0s;
  }
  .js .stage__step.is-past { transform: translate3d(0, -40px, 0); }
  .js .stage__dial { display: block; position: relative; width: min(100%, 460px); aspect-ratio: 1; justify-self: end; }
  .js .stage__dial canvas { width: 100%; height: 100%; }
  .js .stage__rail {
    display: flex; gap: 10px; position: absolute; left: var(--gutter); bottom: clamp(28px, 6vh, 64px);
    font-family: var(--display); font-size: 0.7rem; color: var(--on-dark-soft);
  }
  .js .stage__rail li { display: flex; align-items: center; gap: 10px; padding-right: 18px; transition: color 0.4s; }
  .js .stage__rail li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--on-dark-line); transition: background-color 0.4s, transform 0.5s var(--ease); }
  .js .stage__rail li.is-done::before { background: var(--rose); }
  .js .stage__rail li.is-active { color: var(--on-dark); }
  .js .stage__rail li.is-active::before { background: var(--coral); transform: scale(1.5); }
}

/* ---------- Quote / founder -------------------------------------------- */

.quote {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(1.7rem, 4.2vw, 4rem);
  line-height: 1.1; letter-spacing: -0.025em;
  margin: 0;
  max-width: 14ch;
}
.quote-by { margin-top: clamp(24px, 3vw, 40px); display: grid; gap: 4px; }
.quote-by strong { font-family: var(--display); font-size: 0.86rem; font-weight: 500; }

/* ---------- CTA --------------------------------------------------------- */

.cta {
  position: relative; overflow: hidden;
  padding-block: clamp(96px, 14vw, 220px);
  background: var(--night); color: var(--on-dark);
  text-align: left;
}
.cta__body { position: relative; z-index: 1; display: grid; gap: clamp(22px, 3vw, 36px); max-width: 44rem; }
.cta__title { font-size: clamp(2.1rem, 5.6vw, 5rem); line-height: 1.04; letter-spacing: -0.025em; font-weight: 300; }

/* ---------- Prose (legal + long form) ---------------------------------- */

.prose { max-width: 42em; }
.prose h2 {
  font-size: clamp(1.25rem, 2vw, 1.7rem); line-height: 1.2; letter-spacing: -0.015em; font-weight: 400;
  margin: 2.4em 0 0.7em;
}
.prose h2:first-child { margin-top: 0; }
.prose ul { margin: 0 0 1.1em; display: grid; gap: 8px; }
.prose li { position: relative; padding-left: 24px; }
.prose li::before { content: ""; position: absolute; left: 2px; top: 0.66em; width: 7px; height: 7px; border-radius: 50%; background: var(--rose); }
.prose a { color: var(--rose-deep); text-underline-offset: 3px; }
.theme-dark .prose a { color: var(--coral); }
.toc { display: grid; gap: 4px; }
.toc a {
  display: block; padding: 8px 0; text-decoration: none;
  font-family: var(--display); font-size: 0.74rem; color: var(--on-light-soft);
  border-bottom: 1px solid var(--on-light-line);
  transition: color 0.3s, padding 0.5s var(--ease);
}
.toc a:hover { color: var(--rose-deep); padding-left: 8px; }
.note {
  padding: 22px 26px; border-radius: 2px;
  background: var(--shell-2);
  font-size: 0.95em;
}
.theme-dark .note, .theme-plum .note { background: var(--plum-2); }

/* ---------- Detail blocks (advisory page) ------------------------------ */

.detail { padding-block: clamp(48px, 7vw, 104px); border-top: 1px solid var(--on-light-line); }
.detail:first-of-type { border-top: 0; padding-top: 0; }
.detail__index { font-family: var(--display); font-size: 0.72rem; color: var(--rose-deep); margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.detail__index::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: linear-gradient(var(--coral), var(--rose)); }
.checks { display: grid; gap: 0; border-top: 1px solid var(--on-light-line); }
.theme-dark .checks, .theme-plum .checks { border-color: var(--on-dark-line); }
.checks li {
  position: relative; padding: 16px 0 16px 30px;
  border-bottom: 1px solid var(--on-light-line);
}
.theme-dark .checks li, .theme-plum .checks li { border-color: var(--on-dark-line); }
.checks li::before { content: ""; position: absolute; left: 2px; top: 1.72em; width: 9px; height: 9px; margin-top: -4px; border-radius: 50%; background: linear-gradient(var(--coral), var(--rose)); }

/* ---------- Form -------------------------------------------------------- */

.form { display: grid; gap: 26px; }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px clamp(20px, 3vw, 40px); }
.field { display: grid; gap: 8px; align-content: start; }
.field-wide { grid-column: 1 / -1; }
.field label, .field legend {
  font-family: var(--display); font-size: 0.72rem; font-weight: 400; padding: 0;
}
.field .opt { color: var(--on-light-soft); font-family: var(--text); font-size: 0.85rem; font-style: italic; }
.input {
  width: 100%;
  padding: 14px 0 13px;
  border: 0; border-bottom: 1px solid rgba(28, 15, 25, 0.38);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1.05rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  -webkit-appearance: none; appearance: none;
}
.input:hover { border-color: var(--ink); }
.input:focus { outline: none; border-color: var(--rose-deep); box-shadow: 0 2px 0 0 var(--rose-deep); }
textarea.input { min-height: 140px; resize: vertical; line-height: 1.5; }
select.input {
  padding-right: 28px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231c0f19' stroke-width='1.6'/%3E%3C/svg%3E") right 4px center / 12px no-repeat;
}
.field.has-error .input { border-color: #b3261e; box-shadow: 0 2px 0 0 #b3261e; }
.field__error { display: none; color: #9d1f18; font-size: 0.88rem; }
.field.has-error .field__error { display: block; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 46px; padding: 10px 20px; border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(28, 15, 25, 0.38);
  font-family: var(--display); font-size: 0.72rem;
  transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
}
.choice span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: rgba(28, 15, 25, 0.3); transition: background-color 0.3s, transform 0.4s var(--ease); }
.choice input:checked + span { background: var(--ink); color: var(--shell); box-shadow: inset 0 0 0 1px var(--ink); }
.choice input:checked + span::before { background: var(--coral); transform: scale(1.3); }
.choice input:focus-visible + span { outline: 2px solid var(--rose-deep); outline-offset: 3px; }
.consent { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 14px; align-items: start; font-size: 0.95rem; }
.consent input { width: 22px; height: 22px; margin: 3px 0 0; accent-color: var(--rose-deep); }
.consent a { color: var(--rose-deep); }
.hp { position: absolute; left: -9999px; }
@media (max-width: 700px) { .form__grid { grid-template-columns: 1fr; } }

.aside-steps { display: grid; gap: 0; counter-reset: s; border-top: 1px solid var(--on-light-line); }
.aside-steps li { counter-increment: s; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--on-light-line); }
.aside-steps li::before { content: "0" counter(s); font-family: var(--display); font-size: 0.72rem; color: var(--rose-deep); padding-top: 0.42em; }
.aside-steps strong { display: block; font-family: var(--display); font-size: 0.86rem; font-weight: 500; margin-bottom: 4px; }

/* ---------- Footer ------------------------------------------------------ */

.footer { position: relative; background: var(--plum); color: var(--on-dark); padding-top: clamp(64px, 8vw, 120px); overflow: hidden; }
.footer__top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 3fr); gap: clamp(32px, 5vw, 72px); }
.footer__brand { display: grid; gap: 22px; align-content: start; max-width: 26em; }
.footer__brand p { color: var(--on-dark-soft); font-size: 0.95em; margin: 0; }
.footer h2 { font-family: var(--display); font-size: 0.72rem; font-weight: 500; margin-bottom: 18px; color: var(--coral); letter-spacing: 0.01em; }
.footer__links { display: grid; gap: 4px; }
.footer__links a {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 0;
  text-decoration: none; color: var(--on-dark-soft);
  transition: color 0.3s, transform 0.5s var(--ease);
}
.footer__links a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--rose); transform: scale(0); transition: transform 0.4s var(--ease); margin-left: -16px; }
.footer__links a:hover, .footer__links a[aria-current="page"] { color: var(--on-dark); transform: translateX(16px); }
.footer__links a:hover::before, .footer__links a[aria-current="page"]::before { transform: scale(1); }
.footer__word {
  margin-top: clamp(48px, 8vw, 110px);
  color: var(--on-dark);
  opacity: 0.09;
  transform: translate3d(0, calc((1 - var(--p, 1)) * 26%), 0);
}
.footer__word svg { width: 100%; height: auto; }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 40px;
  padding-block: 26px 30px;
  border-top: 1px solid var(--on-dark-line);
  font-size: 0.86rem; color: var(--on-dark-soft);
}
.footer__bottom p { margin: 0; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer__legal a { text-underline-offset: 3px; text-decoration-color: var(--on-dark-line); }
.footer__legal a:hover { color: var(--coral); }
@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer__top { grid-template-columns: 1fr; } }

/* ---------- Custom cursor ---------------------------------------------- */

.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .has-cursor, .has-cursor a, .has-cursor button, .has-cursor label, .has-cursor summary, .has-cursor .choice input { cursor: none; }
  .has-cursor .cursor {
    display: block;
    position: fixed; left: 0; top: 0; z-index: 300;
    width: 0; height: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
  }
  .has-cursor .cursor.is-on { opacity: 1; }
  .cursor__core, .cursor__sat, .cursor__label {
    position: absolute; left: 0; top: 0;
    border-radius: 50%;
    will-change: transform;
  }
  .cursor__core {
    width: 12px; height: 12px; margin: -6px 0 0 -6px;
    background: linear-gradient(var(--coral), var(--rose));
    transition: width 0.45s var(--ease), height 0.45s var(--ease), margin 0.45s var(--ease), border-radius 0.3s, opacity 0.3s;
  }
  .cursor__sat {
    width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px;
    background: var(--rose);
    transition: opacity 0.3s;
  }
  .cursor__sat:nth-child(odd) { background: var(--coral); }
  .cursor__label {
    width: 84px; height: 84px; margin: -42px 0 0 -42px;
    display: grid; place-items: center;
    font-family: var(--display); font-size: 0.62rem; font-weight: 500; color: var(--night);
    opacity: 0;
    transition: opacity 0.3s;
  }
  .cursor.is-link .cursor__core { width: 6px; height: 6px; margin: -3px 0 0 -3px; }
  .cursor.is-label .cursor__core { width: 84px; height: 84px; margin: -42px 0 0 -42px; }
  .cursor.is-label .cursor__label { opacity: 1; }
  .cursor.is-text .cursor__core { width: 3px; height: 26px; margin: -13px 0 0 -1.5px; border-radius: 2px; }
  .cursor.is-text .cursor__sat { opacity: 0; }
}

/* ---------- Misc -------------------------------------------------------- */

.center-page { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; position: relative; overflow: hidden; padding-block: calc(var(--header-h) + 48px) 72px; }
.stack { display: grid; gap: clamp(18px, 2.4vw, 30px); justify-items: start; }
.stack-lg { display: grid; gap: clamp(28px, 4vw, 56px); justify-items: start; }
.mt { margin-top: clamp(28px, 4vw, 56px); }

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 0.28s ease both vt-out; }
::view-transition-new(root) { animation: 0.5s var(--ease) both vt-in; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js [data-reveal] > *, .rw > span { opacity: 1 !important; transform: none !important; clip-path: none !important; font-variation-settings: "wght" 300 !important; }
  .band__track, .band__track-reverse, .figure img, .footer__word { transform: none !important; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

@media print {
  .header, .menu, .progress, .cursor, .burst, .hero__canvas, .scrollcue { display: none !important; }
  body, .theme-dark, .theme-plum, .hero, .pagehero, .footer, .cta { background: #fff !important; color: #000 !important; }
  .js [data-reveal], .js [data-reveal] > * { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}

/* ---------- Phones: leave the top corner free for the emblem ------------- */
@media (max-width: 759px) {
  .hero { padding-top: 250px; }
  .pagehero, .pagehero-short { min-height: 0; padding-top: 236px; }
  .cta { padding-top: 244px; }
  .center-page { padding-top: 250px; align-items: flex-start; }
}

/* ---------- Small utilities -------------------------------------------- */
.align-end { align-content: end; }
.above { position: relative; z-index: 1; }
