/* ═══════════════════════════════════════════════════════════════════
   The Operating Principles: page styles.
   Values come from tokens.css; component patterns mirror the
   assessment (q-display, q-eyebrow, q-meta, btn, field, q-consent).
   ═══════════════════════════════════════════════════════════════════ */

/* Fonts: see fonts.css (embedded copies of the assessment's files) */

/* ── Base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html {
  background: var(--color-bg);
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--space-md);
  scrollbar-color: color-mix(in srgb, var(--color-text) 20%, transparent) transparent;
}
body {
  margin: 0;
  color: var(--color-text);
  caret-color: var(--color-accent);
  background-image: radial-gradient(1100px 520px at 50% -8%,
    color-mix(in srgb, var(--color-accent) 7%, transparent), transparent 62%);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
/* Film grain, as on the assessment */
body::after {
  content: ""; position: fixed; inset: 0; z-index: var(--z-grain); pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
::selection { background: var(--color-accent); color: var(--color-on-accent); }
:where(button, input, a, summary):focus-visible { outline: var(--focus-width) solid var(--color-focus); outline-offset: var(--focus-offset); }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; }
p { margin: 0 0 var(--space-sm); }
h1, h2, h3 { margin: 0; font-weight: var(--fw-title); }

.skip {
  position: absolute; left: var(--gutter); top: -100px; z-index: 100;
  background: var(--color-accent); color: var(--color-on-accent);
  padding: 10px 16px; border-radius: var(--radius-btn-x); font-family: var(--font-ui); font-weight: 600; font-size: var(--fs-small);
}
.skip:focus { top: var(--gutter); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── Type (assessment patterns) ───────────────────────────────────── */
.display {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2rem, 1.2rem + 2.6vw, 3.15rem);
  line-height: var(--lh-heading); letter-spacing: var(--ls-heading);
  text-wrap: balance; max-width: 17ch; margin: 0 0 var(--space-md);
}
.display-hero { max-width: 20ch; color: #fff; }
.kicker {
  display: block; font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(1.5rem, 1.1rem + 1.1vw, 2.3rem); line-height: 1.15; letter-spacing: -0.01em;
  color: var(--color-text-muted); margin: 0 0 24px;
}
.series {
  font-family: var(--font-serif); font-style: italic;
  font-size: var(--fs-h5); line-height: 1.2;
  color: color-mix(in srgb, var(--color-accent) 70%, #fff);
  margin: 0 0 var(--space-sm);
}
.lede { font-family: var(--font-serif); font-size: var(--fs-h5); line-height: 1.35; max-width: 40ch; color: var(--color-text-muted); }
.label {
  display: block; font-family: var(--font-ui); font-size: var(--fs-caption); font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; color: #dedeDA; margin-bottom: 8px;
}

/* ── Buttons (verbatim from assessment) ───────────────────────────── */
.btn {
  font-family: var(--font-ui); font-size: var(--fs-small); font-weight: 600; line-height: 1.5;
  border-radius: var(--radius-btn-x); padding: 16px 30px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  letter-spacing: .005em; text-decoration: none; min-height: 48px;
  transition: background-color 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease), transform 120ms var(--ease);
}
.btn-primary { color: var(--color-on-accent); background: var(--color-accent); border: 1px solid var(--color-accent); }
.btn-primary:hover { background: color-mix(in srgb, var(--color-accent) 86%, #fff); }
.btn-primary:active { transform: scale(.98); }
.btn-primary:disabled { cursor: progress; transform: none; color: var(--color-text-muted); background: transparent; border-color: var(--color-border); }
.btn-secondary { color: var(--color-text); background: transparent; border: var(--border-width-thick) solid var(--color-border); }
.btn-secondary:hover { border-color: var(--color-accent); }
.btn svg { width: 16px; height: 16px; flex: none; }
.link {
  font-family: var(--font-ui); font-weight: 600; font-size: var(--fs-small); color: var(--color-text);
  text-decoration: underline; text-decoration-color: var(--color-accent); text-decoration-thickness: 1px;
  transition: color var(--duration) var(--ease);
}
.link:hover { color: var(--color-accent); }

/* ── Layout ───────────────────────────────────────────────────────── */
.wrap { max-width: var(--container-wide); margin: 0 auto; padding: 0 var(--gutter); position: relative; z-index: var(--z-content); }
.band { padding: clamp(var(--space-3xl), 10vw, 144px) 0; position: relative; overflow: hidden; }
.band--mid { background: var(--color-surface-dark); --color-bg: var(--color-surface-dark); --color-border: #3f3f3c; }
.band--light {
  --color-bg: var(--color-bg-light); --color-surface: var(--color-surface-light); --color-panel: var(--color-panel-light);
  --color-text: var(--color-text-light); --color-text-muted: var(--color-text-light-muted);
  --color-accent: var(--color-accent-light); --color-border: var(--color-border-light);
  background: var(--color-bg-light); color: var(--color-text);
}
.band--light::selection, .band--light ::selection { background: var(--color-text-light); color: var(--color-bg-light); }
.band--light::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)' opacity='.35'/%3E%3C/svg%3E");
}
.band--light :where(button, input, a, summary):focus-visible { outline-color: var(--color-text-light); }
.band-head { display: grid; gap: var(--space-sm); margin-bottom: clamp(var(--space-xl), 5vw, var(--space-2xl)); }
.band-head .display { margin: 0; }
.band-head .lede { margin: 0; }

/* ── 1. Entrance ──────────────────────────────────────────────────── */
.hero { position: relative; min-height: min(100svh, 980px); display: grid; align-items: end; overflow: hidden; }
.hero-media { position: absolute; inset: 0 0 auto; height: 70%; overflow: hidden; background: var(--color-bg); }
/* Faded photo, treated like the assessment's hero-band imagery */
.hero-art {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%;
  opacity: .42; filter: grayscale(.45) contrast(1.08);
  animation: plate-drift 48s ease-in-out infinite;
}
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, var(--color-bg) 0%, var(--color-bg) 18%, color-mix(in srgb, var(--color-bg) 70%, transparent) 46%, color-mix(in srgb, var(--color-bg) 20%, transparent) 72%, transparent 100%),
    linear-gradient(to bottom, var(--color-bg) 0%, color-mix(in srgb, var(--color-bg) 40%, transparent) 14%, transparent 30%);
}
@media (min-width: 900px) {
  .hero-media { height: 100%; }
  .hero-art { object-position: 50% 22%; left: 38%; width: 62%; }
  .hero-media::after {
    background:
      linear-gradient(to right, var(--color-bg) 0%, var(--color-bg) 38%, color-mix(in srgb, var(--color-bg) 55%, transparent) 52%, transparent 75%),
      linear-gradient(to top, var(--color-bg) 0%, transparent 35%),
      linear-gradient(to bottom, var(--color-bg) 0%, transparent 20%);
  }
}
.hero-in { position: relative; z-index: 1; padding-top: min(44svh, 440px); padding-bottom: clamp(var(--space-xl), 6vw, var(--space-3xl)); }
.hero .display-hero { font-size: clamp(2rem, 1.1rem + 3vw, 3.6rem); line-height: 1.12; letter-spacing: -.012em; margin-bottom: var(--space-sm); }
.hero .lede { color: rgba(255,255,255,.72); font-size: var(--fs-h6); margin: 0 0 var(--space-lg); max-width: 44ch; }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
@media (max-width: 479px) { .hero .actions .btn { flex: 1 1 100%; } }

@keyframes plate-drift { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.035); } }
@keyframes introIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.js .hero-media { animation: introIn 1100ms var(--ease-out-expo) both; }
.js .hero .series { animation: introIn 700ms var(--ease-out-expo) 240ms both; }
.js .hero .display-hero { animation: introIn 700ms var(--ease-out-expo) 320ms both; }
.js .hero .lede { animation: introIn 700ms var(--ease-out-expo) 420ms both; }
.js .hero .actions { animation: introIn 700ms var(--ease-out-expo) 520ms both; }

/* ── 2. How it works ──────────────────────────────────────────────── */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: step; }
.step { display: grid; grid-template-columns: 3.2rem 1fr; gap: var(--space-sm); padding: var(--space-md) 0; border-top: 1px solid var(--color-border); }
.step:last-child { border-bottom: 1px solid var(--color-border); }
.step-n { font-family: var(--font-serif); font-style: italic; font-size: var(--fs-h3); line-height: 1; color: var(--color-accent); }
.step h3 { font-family: var(--font-display); font-size: var(--fs-h5); line-height: var(--lh-heading); letter-spacing: var(--ls-heading); margin-bottom: var(--space-3xs); }
.step p { color: var(--color-text-muted); margin: 0; max-width: 42ch; }
.how-grid { display: grid; gap: var(--space-xl); }
.how-photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--color-surface); }
.how-photo img { width: 100%; height: 100%; object-fit: cover; opacity: .62; filter: grayscale(.35) contrast(1.05); }
.how-photo::after { content: ""; position: absolute; inset: 0; background: var(--scrim); opacity: .55; }
.how-photo figcaption { position: absolute; left: var(--space-md); right: var(--space-md); bottom: var(--space-md); z-index: 1; font-family: var(--font-serif); font-style: italic; font-size: var(--fs-h5); line-height: 1.25; color: #fff; }
@media (min-width: 900px) {
  .how-grid { grid-template-columns: 1.35fr 1fr; align-items: end; gap: var(--col-gap); }
  .how-photo { aspect-ratio: 4 / 5; max-height: 560px; }
}

/* ── 3. Four doors ────────────────────────────────────────────────── */
.doors { display: grid; gap: var(--space-xs); }
.door {
  position: relative; display: grid; align-content: end; gap: var(--space-3xs);
  width: 100%; min-height: 220px; padding: var(--space-md); text-align: left; cursor: pointer;
  font: inherit; color: var(--color-text); background: var(--color-surface);
  border: 1px solid var(--color-border); border-radius: var(--radius-card); overflow: hidden; isolation: isolate;
  transition: border-color var(--duration) var(--ease), transform 120ms var(--ease);
}
.door:active { transform: scale(.99); }
.door-img {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover;
  opacity: .3; filter: grayscale(.45) contrast(1.08);
  transition: opacity 400ms var(--ease), transform 700ms var(--ease), filter 400ms var(--ease);
}
.door::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--scrim); }
.door:hover { border-color: color-mix(in srgb, var(--color-accent) 60%, var(--color-border)); }
.door:hover .door-img { opacity: .42; transform: scale(1.03); }
.door[aria-expanded="true"] { border-color: var(--color-accent); }
.door[aria-expanded="true"] .door-img { opacity: .55; filter: grayscale(.15) contrast(1.05); }
.door-name { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-h4); line-height: var(--lh-heading); letter-spacing: var(--ls-heading); color: #fff; }
.door-promise { font-family: var(--font-serif); font-size: var(--fs-h6); line-height: 1.35; color: rgba(255,255,255,.8); max-width: 34ch; }
.door-cue {
  position: absolute; top: var(--space-md); right: var(--space-md);
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(244,244,242,.4); color: #fff;
  transition: background-color var(--duration) var(--ease), border-color var(--duration) var(--ease), transform var(--duration-slow) var(--ease-out-expo);
}
.door-cue svg { width: 16px; height: 16px; }
.door[aria-expanded="true"] .door-cue { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-on-accent); transform: rotate(45deg); }
.door-state { font-family: var(--font-ui); font-size: var(--fs-caption); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--color-accent); margin-bottom: var(--space-2xs); opacity: 0; transition: opacity var(--duration) var(--ease); }
.door[aria-expanded="true"] .door-state { opacity: 1; }

/* Panel: grid-rows trick for a smooth height reveal */
.door-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--duration-slow) var(--ease-out-expo); }
.door-panel[data-open] { grid-template-rows: 1fr; }
.door-panel > .panel-clip { overflow: hidden; min-height: 0; }
.door-panel:not([data-open]) > .panel-clip { visibility: hidden; transition: visibility 0s linear var(--duration-slow); }
.panel {
  display: grid; gap: var(--space-xl); margin: var(--space-2xs) 0 var(--space-sm);
  padding: clamp(var(--space-md), 4vw, var(--space-xl));
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-card);
}
.door-panel[data-open] .panel > * { animation: screenIn 520ms var(--ease-out-expo) both; }
.door-panel[data-open] .panel > :nth-child(2) { animation-delay: 80ms; }
@keyframes screenIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.panel h3 { font-family: var(--font-display); font-size: var(--fs-h4); line-height: var(--lh-heading); letter-spacing: var(--ls-heading); margin-bottom: var(--space-md); }
.bulletins { list-style: none; margin: 0; padding: 0; }
.bulletins li { display: grid; grid-template-columns: 3.4rem 1fr; gap: var(--space-xs); padding: 12px 0; border-top: 1px solid var(--color-border); }
.bulletins li:last-child { border-bottom: 1px solid var(--color-border); }
.b-day { font-family: var(--font-ui); font-size: var(--fs-caption); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--color-accent); padding-top: 3px; font-variant-numeric: tabular-nums; }
.b-title { display: block; font-weight: 600; font-size: var(--fs-small); line-height: 1.4; }
.b-ch { display: block; font-family: var(--font-serif); font-style: italic; font-size: var(--fs-small); line-height: 1.4; color: var(--color-text-muted); margin-top: 2px; }

/* Form (assessment gate pattern) */
.form h3 { margin-bottom: var(--space-2xs); }
.form-lede { color: var(--color-text-muted); font-size: var(--fs-small); margin-bottom: var(--space-md); max-width: 44ch; }
.field-row { margin-bottom: var(--space-2xs); }
.field {
  width: 100%; min-height: 48px; font-family: var(--font-ui); font-size: max(16px, var(--fs-small)); color: var(--color-text);
  background: rgba(6,6,5,.62); border: var(--border-width) solid rgba(244,244,242,.58); border-radius: var(--radius-md); padding: 12px 14px;
  transition: border-color var(--duration) var(--ease);
}
.field::placeholder { color: var(--color-text-muted); }
.field:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 1px var(--color-accent); }
.field[aria-invalid="true"] { border-color: #ff8a5c; }
.err { color: #ffa47e; font-size: var(--fs-small); margin: 6px 0 0; min-height: 0; }
.err:empty { display: none; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: var(--fs-small); color: #cfcfca; margin: var(--space-md) 0 var(--space-2xs); max-width: 46ch; padding: 10px 0; cursor: pointer; }
.consent input { width: 24px; height: 24px; flex: 0 0 24px; margin: 0; accent-color: var(--color-accent); cursor: pointer; }
.privacy { font-size: var(--fs-caption); line-height: 1.55; color: #b4b4af; margin: 0 0 var(--space-lg); max-width: 46ch; padding-left: 36px; }
.privacy a { color: #dededa; }
.privacy a:hover { color: var(--color-accent); }
.form .btn { width: 100%; }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin 700ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.success { display: grid; gap: var(--space-sm); align-content: start; animation: screenIn 520ms var(--ease-out-expo) both; }
.success-mark { width: 48px; height: 48px; border-radius: 50%; background: var(--color-accent); color: var(--color-on-accent); display: grid; place-items: center; }
.success-mark svg { width: 22px; height: 22px; }
.success-mark path { stroke-dasharray: 24; stroke-dashoffset: 24; animation: draw 600ms var(--ease-draw) 160ms forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.success p { font-family: var(--font-serif); font-size: var(--fs-h5); line-height: 1.3; margin: 0; max-width: 30ch; }
.success .again { justify-self: start; }

@media (min-width: 640px) {
  .form .btn { width: auto; }
}
@media (min-width: 900px) {
  .doors { grid-template-columns: repeat(4, 1fr); gap: var(--space-sm); }
  .door { min-height: 360px; grid-row: 1; }
  .door-panel { grid-row: 2; grid-column: 1 / -1; }
  .panel { grid-template-columns: 1.15fr 1fr; gap: var(--col-gap); margin-top: var(--space-xs); }
}

/* ── 4. Daily email preview (paper band) ──────────────────────────── */
.mail-grid { display: grid; gap: var(--space-md); }
.inbox { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-card); box-shadow: 0 1px 2px rgba(60,54,30,.05), 0 12px 32px -18px rgba(60,54,30,.25); }
.inbox-head { display: flex; justify-content: space-between; align-items: center; padding: 14px var(--space-md); border-bottom: 1px solid var(--color-border); font-family: var(--font-ui); font-size: var(--fs-caption); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--color-text-muted); }
.inbox ol { list-style: none; margin: 0; padding: 0; }
.inbox li { display: grid; grid-template-columns: 1fr auto; gap: 2px var(--space-sm); padding: 12px var(--space-md); border-bottom: 1px solid #ecece8; font-size: var(--fs-small); }
.inbox li:last-child { border-bottom: 0; }
.inbox .from { font-weight: 600; }
.inbox .when { color: var(--color-text-muted); font-variant-numeric: tabular-nums; font-size: var(--fs-caption); }
.inbox .subj { grid-column: 1 / -1; color: var(--color-text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inbox li.is-today { background: color-mix(in srgb, var(--color-accent-dark) 14%, #fff); }
.inbox li.is-today .subj { color: var(--color-text); }
.inbox li.is-today .from::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--color-text); margin-right: 8px; vertical-align: 1px; }
@media (min-width: 900px) { .mail-grid { grid-template-columns: 1fr 1.15fr; align-items: start; gap: var(--col-gap); } .mail-grid .band-head { margin-bottom: 0; } }

/* ── 5. Two other ways in ─────────────────────────────────────────── */
.ways { display: grid; gap: var(--space-sm); }
.way { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius-card); border: 1px solid var(--color-border); padding: clamp(var(--space-md), 4vw, var(--space-xl)); min-height: 380px; display: grid; align-content: end; gap: var(--space-sm); }
.way-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .3; filter: grayscale(.45) contrast(1.08); transition: opacity 400ms var(--ease), transform 700ms var(--ease); }
.way::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--scrim); }
.way:hover .way-img, .way:focus-within .way-img { opacity: .42; transform: scale(1.025); }
.way h2 { font-family: var(--font-display); font-size: var(--fs-h3); line-height: var(--lh-heading); letter-spacing: var(--ls-heading); color: #fff; max-width: 16ch; }
.way p { color: rgba(255,255,255,.78); max-width: 40ch; margin: 0; }
.way .form { margin-top: var(--space-2xs); }
.way .consent { margin-top: var(--space-sm); }
.way .privacy { margin-bottom: var(--space-md); }
.way .btn { justify-self: start; }
@media (min-width: 900px) { .ways { grid-template-columns: 1fr 1fr; align-items: stretch; } .way { min-height: 520px; } }

/* ── 6. About ─────────────────────────────────────────────────────── */
.about { min-height: min(70svh, 760px); display: grid; align-items: center; }
.bg-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; opacity: 0; pointer-events: none; transition: opacity var(--duration-slow) var(--ease); }
.bg-video.is-playing { opacity: .12; }
.about::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, var(--color-bg) 0%, transparent 22%, transparent 78%, var(--color-bg) 100%); pointer-events: none; }
.about-grid { display: grid; gap: var(--space-lg); }
.about .display { margin: 0; }
.about-name { font-family: var(--font-serif); font-style: italic; color: var(--color-accent); }
.about-body p { color: var(--color-text-muted); max-width: 52ch; }
.about-body .link { display: inline-flex; gap: 8px; align-items: center; margin-top: var(--space-xs); }
.about-body .link svg { width: 14px; height: 14px; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1fr 1fr; gap: var(--col-gap); align-items: end; } }

/* ── 7. FAQ ───────────────────────────────────────────────────────── */
.faq { max-width: var(--container-narrow); }
.faq details { border-top: 1px solid var(--color-border); }
.faq details:last-child { border-bottom: 1px solid var(--color-border); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--space-sm);
  padding: var(--space-md) 0; font-family: var(--font-display); font-size: var(--fs-h5); line-height: var(--lh-heading); letter-spacing: var(--ls-heading);
  transition: color var(--duration) var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--color-accent); }
.faq summary svg { width: 18px; height: 18px; flex: none; transition: transform var(--duration-slow) var(--ease-out-expo); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { color: var(--color-text-muted); max-width: 60ch; padding-bottom: var(--space-md); margin: 0; }
.faq details[open] p { animation: screenIn 520ms var(--ease-out-expo) both; }

/* ── Footer ───────────────────────────────────────────────────────── */
.foot { padding: var(--space-xl) 0; border-top: 1px solid var(--color-border); font-size: var(--fs-caption); color: var(--color-text-muted); }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-sm); }
.foot a { color: var(--color-text-muted); }
.foot a:hover { color: var(--color-accent); }

/* ── Scroll reveals (assessment: clip-path headings, 14px rise body) ─ */
.js .reveal .display { clip-path: inset(0 0 108%); transform: translateY(.26em); transition: clip-path 900ms var(--ease-out-expo), transform 900ms var(--ease-out-expo); }
.js .reveal.is-in .display { clip-path: inset(0 0 -12%); transform: none; }
.js .reveal .rise { opacity: 0; transform: translateY(14px); transition: opacity 620ms ease-out, transform 620ms var(--ease-out-expo); transition-delay: calc(var(--i, 0) * 80ms); }
.js .reveal.is-in .rise { opacity: 1; transform: none; }

/* ── Reduced motion ───────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; transition-delay: 0ms !important; }
  .hero-art { animation: none !important; }
  .bg-video { display: none; }
  .js .reveal .display, .js .reveal .rise { clip-path: none; opacity: 1; transform: none; }
}

/* ── Fixes from inspection ────────────────────────────────────────── */
.about-body .link, .foot a { display: inline-flex; align-items: center; min-height: 44px; }

/* ═══ Bulletin page ═══════════════════════════════════════════════ */
.b-bar { position: relative; z-index: 2; border-bottom: 1px solid var(--color-border); }
.b-bar-in { display: flex; justify-content: space-between; align-items: center; gap: var(--space-sm); min-height: 56px; }
.b-home { font-family: var(--font-serif); font-style: italic; font-size: var(--fs-h6); color: color-mix(in srgb, var(--color-accent) 70%, #fff); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.b-home:hover { color: var(--color-accent); }
.b-pos { font-family: var(--font-ui); font-size: var(--fs-caption); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--color-text-muted); text-align: right; }

.b-head { position: relative; overflow: hidden; padding: clamp(var(--space-2xl), 12vw, 160px) 0 clamp(var(--space-lg), 4vw, var(--space-xl)); }
.b-media { position: absolute; inset: 0; }
.b-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; opacity: .3; filter: grayscale(.45) contrast(1.08); }
.b-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--color-bg) 0%, var(--color-bg) 8%, color-mix(in srgb, var(--color-bg) 55%, transparent) 55%, color-mix(in srgb, var(--color-bg) 30%, transparent) 100%); }
.b-head-in { position: relative; z-index: 1; }
.b-head .display { max-width: 22ch; color: #fff; margin-bottom: var(--space-lg); }
.js .b-head .series, .js .b-head .display, .js .b-days { animation: introIn 700ms var(--ease-out-expo) both; }
.js .b-head .display { animation-delay: 80ms; }
.js .b-days { animation-delay: 160ms; }

/* Day progress: assessment-style segmented bar, each segment a link */
.b-days { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; max-width: 420px; }
.b-days a { display: block; height: 22px; position: relative; }
.b-days a::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; border-radius: var(--radius-pill); background: color-mix(in srgb, var(--color-text) 22%, transparent); transition: background-color var(--duration) var(--ease); }
.b-days a:hover::before { background: color-mix(in srgb, var(--color-accent) 60%, transparent); }
.b-days li:has(~ li a[aria-current]) a::before { background: color-mix(in srgb, var(--color-accent) 45%, transparent); }
.b-days a[aria-current]::before { background: var(--color-accent); }

.b-read { padding-top: clamp(var(--space-lg), 4vw, var(--space-xl)); padding-bottom: var(--space-xl); }
.b-text { max-width: 60ch; font-size: var(--fs-h6); line-height: 1.7; color: #e4e4e0; }
.b-text p { margin: 0 0 .85em; text-wrap: pretty; }
.b-text ul { list-style: none; margin: .2em 0 1.2em; padding: 0; border-left: 1px solid var(--color-border); }
.b-text li { position: relative; padding: .28em 0 .28em 1.4em; }
.b-text li::before { content: ""; position: absolute; left: -1px; top: 1.05em; width: .8em; height: 1px; background: var(--color-accent); }
.b-sign { font-family: var(--font-serif); font-style: italic; font-size: var(--fs-h4); color: var(--color-accent); margin: var(--space-lg) 0 0; }

.b-nav { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-xs); padding-bottom: clamp(var(--space-xl), 6vw, var(--space-3xl)); }
.b-step { display: grid; gap: 4px; padding: var(--space-md); border: 1px solid var(--color-border); border-radius: var(--radius-card); text-decoration: none; color: var(--color-text); transition: border-color var(--duration) var(--ease); min-height: 44px; }
.b-step:hover { border-color: var(--color-accent); }
.b-step--next { text-align: right; grid-column: 2; }
.b-step-k { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-ui); font-size: var(--fs-caption); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--color-accent); }
.b-step--next .b-step-k { justify-content: flex-end; }
.b-step-k svg { width: 14px; height: 14px; }
.b-step-t { font-family: var(--font-display); font-size: var(--fs-h6); line-height: var(--lh-heading); }
@media (max-width: 559px) { .b-nav { grid-template-columns: 1fr; } .b-step--next { grid-column: auto; } }

.b-cta-in { display: grid; gap: var(--space-lg); }
.b-cta .display, .b-cta .lede { margin-bottom: var(--space-sm); }
@media (min-width: 900px) { .b-cta-in { grid-template-columns: 1.2fr 1fr; align-items: end; } .b-cta .actions { justify-content: flex-end; } }
@media (max-width: 479px) { .b-cta .actions .btn { flex: 1 1 100%; } }

.b-missing { min-height: 60svh; }
.b-missing .lede { margin-bottom: var(--space-lg); }
.bulletins .b-ch { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ── Full-width layout ────────────────────────────────────────────── */
.wrap { max-width: none; width: 100%; padding-inline: clamp(1rem, 4vw, 4.5rem); }

/* Single "Want all four?" card */
.ways { grid-template-columns: 1fr !important; }
.way--wide { min-height: 0; }
.way--wide .way-copy { display: grid; gap: var(--space-sm); }
@media (min-width: 900px) {
  .way--wide { grid-template-columns: 1fr minmax(320px, 520px); align-items: end; gap: var(--col-gap); min-height: 460px; padding: clamp(var(--space-xl), 5vw, var(--space-3xl)); }
  .way--wide h2 { font-size: var(--fs-h2); }
}

/* New Frame.io photography: subject positions */
.hero-art { object-position: 72% 30%; }
@media (min-width: 900px) { .hero-art { left: 30%; width: 70%; object-position: 60% 30%; } }
.how-photo img { object-position: 40% 50%; }
@media (max-width: 899px) {
  .hero-media { height: min(50svh, 440px); }
  .hero-art { object-position: 74% 25%; }
}

/* ═══ INN 2.0 style (online.innerstance.com): ink + paper, no grey, no yellow ═══ */
body { background-image: radial-gradient(1100px 460px at 82% -4%, rgba(244,244,242,.07), transparent 62%); }
body::after { display: none; }                        /* no grain overlay on the reference */
::selection { background: var(--color-paper); color: var(--color-ink); }

/* Top bar */
.top { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--color-ink) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-dark); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.wordmark { display: inline-flex; align-items: center; min-height: 44px; }
.wordmark img { width: auto; height: 15px; }
.top .btn { padding: 11px 20px; min-height: 44px; }
.top-pos { font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--color-mist); text-align: right; }
@media (max-width: 479px) { .top .btn { padding: 10px 14px; font-size: 13px; } .wordmark img { height: 13px; } }

/* Type: serif headlines, sans body */
.display { font-family: var(--font-serif); font-weight: 400; font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.4rem); line-height: 1.05; letter-spacing: -0.02em; }
.hero .display-hero { font-family: var(--font-serif); font-weight: 400; font-size: clamp(2.5rem, 1.7rem + 3vw, 4.4rem); line-height: 1.03; letter-spacing: -0.02em; max-width: 17ch; }
.series { font-family: var(--font-ui); font-style: normal; font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--color-mist); margin-bottom: 14px; }
.lede { font-family: var(--font-body); font-size: clamp(1rem, .96rem + .2vw, 1.1rem); line-height: 1.6; color: var(--color-mist); max-width: 46ch; }
.hero .lede { font-weight: 500; font-size: clamp(1.05rem, .98rem + .4vw, 1.3rem); line-height: 1.35; letter-spacing: -0.01em; color: var(--color-paper); max-width: 34ch; }
.band--light .lede { color: var(--color-text-light-muted); }
.label { color: var(--color-mist); }
.step-n { color: var(--color-paper); }
.step h3, .panel h3, .door-name, .way h2, .faq summary, .b-step-t { font-family: var(--font-serif); font-weight: 400; letter-spacing: -0.01em; }
.door-name { font-size: var(--fs-h3); }
.panel h3 { font-size: var(--fs-h3); }
.way h2 { font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.4rem); line-height: 1.05; }
.faq summary { font-size: var(--fs-h4); }
.door-promise, .b-ch { font-family: var(--font-body); font-style: normal; }
.door-promise { color: rgba(244,244,242,.78); font-size: var(--fs-small); line-height: 1.5; }
.b-day { color: var(--color-mist); }
.about-name { color: var(--color-paper); }
.b-sign { color: var(--color-paper); }
.how-photo figcaption { font-size: var(--fs-h4); }

/* Buttons: white (paper) primary, ghost secondary */
.btn { font-size: 15px; font-weight: 600; padding: 13px 24px; border-radius: 3px; }
.btn-primary { background: var(--color-paper); border-color: var(--color-paper); color: var(--color-ink); }
.btn-primary:hover { background: #fff; transform: translateY(-1px); }
.btn-secondary { background: rgba(255,255,255,.15); border-color: transparent; color: var(--color-paper); }
.btn-secondary:hover { background: rgba(255,255,255,.24); border-color: transparent; }
.link { text-decoration-color: var(--color-paper); }
.link:hover { color: #fff; }

/* Surfaces: ink only, hairline borders */
.band--mid { background: var(--color-ink); }
.door, .panel, .how-photo { background: var(--color-ink); border-color: var(--line-dark); }
.door[aria-expanded="true"] { border-color: var(--color-paper); }
.door:hover { border-color: rgba(244,244,242,.5); }
.door-state { color: var(--color-paper); }
.panel { border-radius: var(--radius-card); }
.way { border-color: var(--line-dark); }

/* Fields (reference .field) */
.field { background: rgba(8,8,7,.5); border-color: rgba(244,244,242,.3); border-radius: 3px; font-size: max(16px, 15px); }
.field::placeholder { color: rgba(244,244,242,.42); }
.field:focus { border-color: var(--color-paper); box-shadow: none; }
.field[aria-invalid="true"] { border-color: #e8836b; }
.err { color: #f0a08c; }
.consent { color: var(--color-mist); font-size: 13.5px; line-height: 1.55; }
.consent input { width: 20px; height: 20px; flex-basis: 20px; accent-color: var(--color-paper); }
.privacy { color: var(--color-dim); padding-left: 32px; }
.privacy a { color: var(--color-paper); }

/* Light band (stone, as on the reference's newsletter section) */
.inbox li.is-today { background: rgba(22,22,21,.05); }
.inbox, .band--light .inbox-head { border-color: var(--line-light); }

/* Bulletin page */
.b-text { color: var(--color-paper); }
.b-text li::before { background: var(--color-paper); }
.b-days a::before { background: rgba(244,244,242,.18); }
.b-days li:has(~ li a[aria-current]) a::before { background: rgba(244,244,242,.45); }
.b-days a[aria-current]::before { background: var(--color-paper); }
.b-step-k { color: var(--color-mist); }
.b-step:hover { border-color: var(--color-paper); }

.foot { border-top-color: var(--line-dark); color: var(--color-dim); font-size: 13px; }
.foot a { color: var(--color-mist); }
.foot a:hover { color: var(--color-paper); }
@media (max-width: 899px) {
  .hero { min-height: calc(100svh - 73px); }
  .hero-media { height: min(42svh, 360px); }
  .hero-in { padding-top: min(32svh, 280px); }
}

/* ═══ Yellow accents back (assessment #ffc600); still no grey anywhere ═══ */
::selection { background: var(--color-accent); color: var(--color-on-accent); }
.btn-primary { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-on-accent); }
.btn-primary:hover { background: color-mix(in srgb, var(--color-accent) 86%, #fff); }
.series { color: var(--color-accent); }
.step-n, .b-day, .b-step-k, .door-state, .about-name, .b-sign { color: var(--color-accent); }
.door[aria-expanded="true"] { border-color: var(--color-accent); }
.door:hover { border-color: color-mix(in srgb, var(--color-accent) 60%, transparent); }
.door[aria-expanded="true"] .door-cue { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-on-accent); }
.field:focus { border-color: var(--color-accent); }
.consent input { accent-color: var(--color-accent); }
.link { text-decoration-color: var(--color-accent); }
.link:hover, .privacy a:hover, .foot a:hover { color: var(--color-accent); }
.b-text li::before { background: var(--color-accent); }
.b-days li:has(~ li a[aria-current]) a::before { background: color-mix(in srgb, var(--color-accent) 45%, transparent); }
.b-days a[aria-current]::before { background: var(--color-accent); }
.b-days a:hover::before { background: color-mix(in srgb, var(--color-accent) 70%, transparent); }
.b-step:hover { border-color: var(--color-accent); }
.faq summary:hover { color: var(--color-accent); }

/* Inbox section: was light grey (stone). Now ink like the rest, dark inbox card. */
.band--light {
  --color-bg: var(--color-ink); --color-surface: var(--color-ink); --color-text: var(--color-paper);
  --color-text-muted: var(--color-mist); --color-accent: var(--color-accent-dark); --color-border: var(--line-dark);
  background: var(--color-ink); color: var(--color-paper);
}
.band--light::before { display: none; }
.band--light .lede { color: var(--color-mist); }
.band--light :where(button, input, a, summary):focus-visible { outline-color: var(--color-focus); }
.band--light ::selection { background: var(--color-accent); color: var(--color-on-accent); }
.inbox { background: var(--color-ink); border-color: var(--line-dark); box-shadow: none; }
.band--light .inbox-head { border-color: var(--line-dark); color: var(--color-mist); }
.inbox li { border-bottom-color: var(--line-dark); }
.inbox .from { color: var(--color-paper); }
.inbox li.is-today { background: color-mix(in srgb, var(--color-accent) 10%, transparent); }
.inbox li.is-today .subj { color: var(--color-paper); }
.inbox li.is-today .from::before { background: var(--color-accent); }
.btn-secondary { background: transparent; border: 1px solid rgba(244,244,242,.3); color: var(--color-paper); }
.btn-secondary:hover { background: transparent; border-color: var(--color-accent); }

/* Hero: less space under the top bar */
.hero { min-height: 0; align-items: start; }
.hero-in { padding-top: clamp(3.5rem, 7vw, 7rem); padding-bottom: clamp(3.5rem, 7vw, 7rem); }
@media (min-width: 900px) { .hero { min-height: min(78svh, 760px); align-items: center; } }
@media (max-width: 899px) {
  .hero { min-height: 0; }
  .hero-media { height: 300px; }
  .hero-in { padding-top: 170px; padding-bottom: var(--space-xl); }
}
@media (max-width: 899px) {
  .hero-media { height: 240px; }
  .hero-in { padding-top: 96px; }
}

/* ═══ Motion ════════════════════════════════════════════════════════
   Curves/durations from the assessment's tokens: --ease-out-expo
   (cubic-bezier(.16,1,.3,1)) for entrances, --ease for hovers.
   transform / opacity / clip-path only. Reduced motion at the end.
   ═══════════════════════════════════════════════════════════════════ */

/* Word-by-word headline reveal (words split by js/motion.js) */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.split .w > span { display: inline-block; will-change: transform; }
@keyframes wordUp { from { transform: translateY(110%); } to { transform: none; } }

/* Hero: one authored moment. Photo settles, eyebrow, words rise, then copy and CTA. */
.js .hero .display-hero.split, .js .b-head .display.split { animation: none; }
.js .hero .split .w > span, .js .b-head .split .w > span { animation: wordUp 1000ms var(--ease-out-expo) both; animation-delay: calc(160ms + var(--wi) * 55ms); }
.js .hero .series { animation-delay: 60ms; }
.js .hero .lede { animation-delay: 720ms; }
.js .hero .actions { animation-delay: 840ms; }
@keyframes heroSettle { from { transform: scale(1.12); } to { transform: scale(1); } }
.js .hero-art { animation: heroSettle 1800ms var(--ease-out-expo) both, plate-drift 48s ease-in-out 1800ms infinite; }
/* Hero copy drifts up and fades as you scroll away (scroll-driven, no JS) */
@keyframes heroOut { to { transform: translateY(-48px); opacity: .15; } }
@supports (animation-timeline: scroll()) {
  .hero-in { animation: heroOut linear both; animation-timeline: scroll(root); animation-range: 0 80vh; }
}

/* Section headings: words rise when the section scrolls in */
.js .reveal .display.split { clip-path: none; transform: none; transition: none; }
.js .reveal .split .w > span { transform: translateY(110%); transition: transform 1000ms var(--ease-out-expo); transition-delay: calc(var(--wi) * 45ms); }
.js .reveal.is-in .split .w > span { transform: none; }

/* Staggered groups: doors, inbox rows, FAQ */
@keyframes riseIn { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes riseInSm { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.js .reveal:not(.is-in) .stagger > * { opacity: 0; }
.js .reveal.is-in .stagger > * { animation: riseIn 900ms var(--ease-out-expo) backwards; animation-delay: calc(140ms + var(--i, 0) * 75ms); }
.js .reveal.is-in .doors > .door-panel { animation: none; }   /* panels follow their door, not the stagger */
@keyframes imgSettle { from { transform: scale(1.18); } to { transform: none; } }
.js .reveal.is-in .door-img { animation: imgSettle 1500ms var(--ease-out-expo) backwards; animation-delay: calc(140ms + var(--i, 0) * 75ms); }

/* Photos open like a shutter: clip-path wipe + slow settle */
.js .reveal .how-photo.rise, .js .reveal .way.rise {
  clip-path: inset(14% 0 14% 0 round var(--radius-card));
  transition: opacity 700ms ease-out, transform 900ms var(--ease-out-expo), clip-path 1300ms var(--ease-out-expo);
}
.js .reveal.is-in .how-photo.rise, .js .reveal.is-in .way.rise { clip-path: inset(0 0 0 0 round var(--radius-card)); }
.js .reveal.is-in .how-photo img, .js .reveal.is-in .way-img { animation: imgSettle 1800ms var(--ease-out-expo) backwards; }

/* Door panel: bulletin rows cascade in after the panel opens */
.door-panel[data-open] .bulletins li { animation: riseInSm 600ms var(--ease-out-expo) backwards; animation-delay: calc(180ms + var(--i, 0) * 40ms); }

/* Hover (fine pointers only) */
.door-name, .door-promise, .door-state { transition: transform 500ms var(--ease-out-expo), opacity var(--duration) var(--ease); }
.btn svg { transition: transform 220ms var(--ease-out-expo); }
@media (hover: hover) and (pointer: fine) {
  .door:hover .door-name, .door:hover .door-state { transform: translateY(-4px); }
  .door:hover .door-promise { transform: translateY(-2px); }
  .btn:hover svg { transform: translateX(3px); }
  [data-scroll-doors-hero]:hover svg { transform: translateY(3px); }
  .b-step--prev:hover .b-step-k svg { transform: translateX(-3px); }
}
.btn:active { transform: scale(.97); transition-duration: 120ms; }

/* Top bar: hairline appears once content scrolls beneath it */
.top { border-bottom-color: transparent; transition: border-color 300ms var(--ease), background-color 300ms var(--ease); }
.top.is-scrolled { border-bottom-color: var(--line-dark); background: color-mix(in srgb, var(--color-ink) 94%, transparent); }

/* Bulletin page: reading progress + lines arriving as you read */
.read-bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--color-accent); transform-origin: left; transform: scaleX(0); pointer-events: none; }
@keyframes readProgress { to { transform: scaleX(1); } }
@supports (animation-timeline: scroll()) {
  .read-bar { animation: readProgress linear both; animation-timeline: scroll(root); }
}
.js .ln { opacity: 0; transform: translateY(14px); transition: opacity 700ms ease-out, transform 900ms var(--ease-out-expo); }
.js .ln.in { opacity: 1; transform: none; }
@keyframes barFill { from { transform: scaleX(0); } }
.b-days a::before { transform-origin: left; }
.js .b-days a[aria-current]::before { animation: barFill 900ms var(--ease-out-expo) 650ms backwards; }

/* Reduced motion: no movement, content simply present */
@media (prefers-reduced-motion: reduce) {
  .split .w > span, .js .reveal .split .w > span { animation: none !important; transform: none !important; }
  .hero-in { animation: none !important; }
  .js .hero-art { animation: none !important; }
  .js .reveal .how-photo.rise, .js .reveal .way.rise { clip-path: none; }
  .js .reveal:not(.is-in) .stagger > * { opacity: 1; }
  .js .ln { opacity: 1; transform: none; }
}

/* ═══ How it works: timeline with live step visuals ════════════════ */
.how-head { display: grid; gap: var(--space-md); margin-bottom: clamp(var(--space-xl), 6vw, var(--space-3xl)); }
.how-head .display { margin: 0; max-width: 14ch; }
.how-aside { font-family: var(--font-serif); font-style: italic; font-size: var(--fs-h4); line-height: 1.25; color: var(--color-mist); max-width: 28ch; margin: 0; text-wrap: balance; }
@media (min-width: 900px) { .how-head { grid-template-columns: 1fr auto; align-items: end; } .how-aside { text-align: right; } }

.track { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(var(--space-xl), 5vw, var(--space-2xl)); }
@media (min-width: 900px) { .track { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; } .stop { padding-right: clamp(20px, 3vw, 48px); } }

.stop-plate { position: relative; overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid var(--line-dark); border-radius: var(--radius-card); background: var(--color-ink); display: grid; place-items: center; margin-bottom: var(--space-lg); }
.stop-when { font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--color-accent); margin: var(--space-md) 0 var(--space-2xs); }
.stop h3 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.6rem); line-height: 1.05; letter-spacing: -0.02em; margin-bottom: var(--space-xs); }
.stop-body { color: var(--color-mist); max-width: 34ch; margin: 0; }

/* Rail: hairline track, yellow fill + dot arrive stop by stop */
.stop-rail { position: relative; height: 12px; }
.stop-rail::before, .stop-rail::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; }
.stop-rail::before { background: var(--line-dark); }
.stop-rail::after { background: var(--color-accent); transform-origin: left; transform: scaleX(0); transition: transform 900ms var(--ease-out-expo); transition-delay: calc(300ms + var(--i) * 350ms); }
.stop-dot { position: absolute; left: 0; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--color-ink); border: 1px solid var(--line-dark); transition: background-color 300ms var(--ease), border-color 300ms var(--ease), transform 500ms var(--ease-out-expo); transition-delay: calc(300ms + var(--i) * 350ms); z-index: 1; }
.reveal.is-in .stop-rail::after { transform: scaleX(1); }
.reveal.is-in .stop-dot { background: var(--color-accent); border-color: var(--color-accent); transform: scale(1.15); }

/* Phones: vertical rail on the left */
@media (max-width: 899px) {
  .stop { position: relative; padding-left: 28px; }
  .stop-rail { position: absolute; left: 0; top: 0; bottom: 0; width: 12px; height: auto; }
  .stop-rail::before, .stop-rail::after { left: 50%; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .stop-rail::after { transform-origin: top; transform: scaleY(0); }
  .reveal.is-in .stop-rail::after { transform: scaleY(1); }
  .stop-dot { top: 0; margin-top: 0; }
  .stop-when { margin-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .stop-rail::after, .stop-dot { transition: none !important; }
}
@media (min-width: 900px) { .stop:not(:last-child) .stop-rail { margin-right: calc(-1 * clamp(20px, 3vw, 48px)); } }

/* Longer copy (2026-10-28 copy pass) */
.hero .lede { max-width: 50ch; }
.how-aside { font-family: var(--font-body); font-style: normal; font-size: var(--fs-h6); line-height: 1.55; max-width: 44ch; text-align: left; }
@media (min-width: 900px) { .how-aside { text-align: left; } }
.way p { max-width: 44ch; }

/* How it works head: heading on one line, body underneath (all widths) */
@media (min-width: 900px) {
  .how-head { grid-template-columns: 1fr; align-items: start; }
  .how-head .display { max-width: none; white-space: nowrap; font-size: clamp(2rem, 3.6vw, 3.4rem); }
}
.how-head .display { max-width: none; }
.how-aside { text-align: left; max-width: 52ch; }



/* ═══ Step visuals: continuous loops (driven by js/motion.js, only while on screen) ═══ */

/* 1. A cursor moves between the areas and clicks one at a time */
.vis-pick { position: relative; width: 100%; height: 100%; display: grid; place-items: center; }
.vis-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 0 8%; }
.chip { font-size: clamp(12px, .7rem + .3vw, 14px); font-weight: 600; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(244,244,242,.24); color: rgba(244,244,242,.55); white-space: nowrap;
  transition: background-color 280ms var(--ease), color 280ms var(--ease), border-color 280ms var(--ease), transform 280ms var(--ease-out-expo); }
.chip.is-on { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-on-accent); }
.chip.is-press { transform: scale(.94); }
.cursor { position: absolute; left: 0; top: 0; width: 22px; height: 22px; pointer-events: none; z-index: 2;
  fill: var(--color-paper); stroke: var(--color-ink); stroke-width: 1.2; stroke-linejoin: round;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,.6));
  transform: translate(var(--cx, 70%), var(--cy, 70%)); transition: transform 900ms cubic-bezier(0.77, 0, 0.175, 1); }
.cursor.is-press { transform: translate(var(--cx), var(--cy)) scale(.82); transition-duration: 120ms; }

/* 2. The four PDFs swirl through, front sheet out, next one in */
.vis-doc { position: relative; width: 44%; aspect-ratio: 3 / 4; }
.psheet { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 7%; padding: 12% 11%;
  background: var(--color-ink); border: 1px solid rgba(244,244,242,.26); border-radius: 6px; box-shadow: 0 18px 40px -16px rgba(0,0,0,.9);
  opacity: 0; transform: rotate(12deg) translate(18px, 26px) scale(.92);
  transition: transform 1100ms var(--ease-out-expo), opacity 700ms ease; }
.psheet.is-back  { opacity: .55; transform: rotate(6deg) translate(12px, 6px) scale(.97); z-index: 1; }
.psheet.is-front { opacity: 1; transform: rotate(-3deg); z-index: 2; }
.psheet.is-out   { opacity: 0; transform: rotate(-26deg) translate(-46%, -8%) scale(.94); z-index: 3; transition-duration: 900ms, 600ms; }
.sheet-k { font-size: 7px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--color-mist); }
.sheet-t { font-family: var(--font-serif); font-size: clamp(14px, .7rem + .6vw, 20px); line-height: 1; color: var(--color-paper); margin-bottom: 4%; }
.sheet-l { display: block; height: 2px; width: var(--w); background: rgba(244,244,242,.22); border-radius: 2px; }
.sheet-tag { position: absolute; right: 9%; bottom: 7%; font-size: 8px; font-weight: 700; letter-spacing: .1em; padding: 3px 6px; border-radius: 3px; background: var(--color-accent); color: var(--color-on-accent); }

/* 3. A slow week: today pulses, then gets its check; at day 7 the week restarts */
.vis-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 35%; opacity: .32; filter: grayscale(.35) contrast(1.05); }
.vis-week { position: relative; display: grid; grid-template-columns: repeat(7, 1fr); gap: clamp(6px, 1vw, 12px); width: 86%; margin-top: -14px; }
.wday { position: relative; aspect-ratio: 1; border-radius: 6px; border: 1px solid rgba(244,244,242,.3); background: rgba(22,22,21,.55); display: grid; place-items: center;
  transition: background-color 500ms var(--ease), border-color 500ms var(--ease), opacity 600ms var(--ease); }
.wday b { position: absolute; left: 0; right: 0; bottom: -20px; text-align: center; font-size: 11px; font-weight: 600; letter-spacing: .04em; color: var(--color-mist); transition: color 400ms var(--ease); }
.tick { width: 62%; height: 62%; fill: none; stroke: var(--color-on-accent); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.tick path { stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset 600ms var(--ease-out-expo) 250ms; }
.wday.is-now { border-color: var(--color-accent); animation: dayPulse 1600ms ease-in-out infinite; }
.wday.is-now b, .wday.is-done b { color: var(--color-paper); }
.wday.is-done { background: var(--color-accent); border-color: var(--color-accent); animation: none; }
.wday.is-done .tick path { stroke-dashoffset: 0; }
.vis-week.is-reset .wday { opacity: .35; }
@keyframes dayPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,198,0,.0); } 50% { box-shadow: 0 0 0 5px rgba(255,198,0,.22); } }

@media (prefers-reduced-motion: reduce) {
  .cursor { display: none; }
  .chip, .psheet, .wday, .tick path { transition: none !important; animation: none !important; }
}

/* How it works: no one-time entrance; the rail and dots are simply there, only the three loops move */
.stop-rail::after { transform: none !important; transition: none !important; }
.stop-dot { background: var(--color-accent); border-color: var(--color-accent); transform: none !important; transition: none !important; }
.how .rise { opacity: 1 !important; transform: none !important; transition: none !important; }
