/*
 * nutronhealth.com home page, v3. The legal pages keep /styles.css.
 *
 * Idea: the page is one day you hold in your hand. It opens under the visitor's own sky at
 * their local time, and the sun, the clock and the phone turn through one sample day.
 *
 * Modes, set on <html> by /home.js:
 *   (none) / .no-js  no script: every section flows and carries its own Paper or Night ground.
 *   .js              script ran: the form is enhanced. With reduced motion this is the whole look.
 *   .live            script ran, motion allowed, screen at least 620 px tall: the sky layer,
 *                    the sticky day stage, the pinned chapters and the sun.
 *
 * Coral is reserved for the sun, the active stop and thumbs. One phone frame, scaled as a unit.
 * Everything that moves is transform, opacity, clip-path or a shader uniform.
 */

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url("/fonts/outfit-variable-latin.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

@property --ink { syntax: "<color>"; inherits: true; initial-value: #0f1b2d; }
@property --muted { syntax: "<color>"; inherits: true; initial-value: #5e584b; }
@property --accent { syntax: "<color>"; inherits: true; initial-value: #b5381f; }

:root {
  --paper: #f4f0e6;
  --ink-brand: #0f1b2d;
  --night: #0b1522;
  --night-card: #13213a;
  --night-line: #2a3950;
  --stone: #5e584b;
  --stone-night: #b9b3a5;
  --coral: #ff5a3c;
  --coral-deep: #b5381f;
  --coral-night: #ff7a60;
  --sky: #86cdeb;
  --sea: #155e75;

  --ground: var(--paper);
  --ink: var(--ink-brand);
  --muted: var(--stone);
  --accent: var(--coral-deep);
  --rule: #e2dccd;
  --track: #ccd5e2;
  --sun-fill: var(--coral);
  --focus: var(--sea);
  --field: rgb(255 255 255 / 0.72);
  --field-line: #cfc6b2;

  --display: "Outfit", "Trebuchet MS", system-ui, sans-serif;
  --text: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(20px, 5vw, 64px);
  --max: 1200px;
  /* One phone frame, scaled as a unit. --phone in flowing sections, --ph (height) on stages. */
  --phone: clamp(232px, 62vw, 340px);
  --ph: min(57svh, 134vw);
  --section: clamp(88px, 14vh, 168px);
  --lead: 1;

  --h1: 11.2vw;
  --h2: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --h2-day: clamp(1.75rem, 2.6vw, 2.75rem);
  --statement: 13vw;
  --wall: 30vw;
  --num: clamp(5rem, 2rem + 16vw, 15rem);
  --lede: clamp(1.125rem, 1rem + 0.6vw, 1.5rem);
  --body: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --small: 0.8125rem;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --trig: 420ms;
}
@media (min-width: 900px) {
  :root {
    --phone: min(340px, calc((100svh - 120px) / 2));
    --ph: 80svh;
    /* The headline fits beside the phone at any width: its longer line runs about 7.8 em. */
    --h1: min(8.2vw, calc((100vw - 2 * var(--gutter) - var(--ph) / 2 - 72px) / 7.8));
    --statement: 7.2vw;
    --wall: min(24vw, 46svh);
  }
}

/* Night grounds. Live: the whole page follows the sky. Otherwise each section carries its own. */
html[data-theme="night"],
html:not(.live) [data-theme="night"] {
  --ground: var(--night);
  --ink: var(--paper);
  --muted: var(--stone-night);
  --accent: var(--coral-night);
  --rule: var(--night-line);
  --track: #24344d;
  --sun-fill: var(--coral-night);
  --focus: var(--sky);
  --field: var(--night-card);
  --field-line: var(--night-line);
}
html:not(.live) [data-theme="night"] {
  background: var(--ground);
  color: var(--ink);
  color-scheme: dark;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--paper);
  scroll-padding-top: 24px;
}
html.live { background: var(--ground); }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 var(--body) / 1.55 var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
html.live body {
  background: transparent;
  transition: --ink 500ms var(--ease), --muted 500ms var(--ease), --accent 500ms var(--ease);
}

img,
svg { display: block; max-width: 100%; }
img { height: auto; }

h1,
h2,
h3,
.h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  text-wrap: balance;
}
h1 { font-size: var(--h1); line-height: 0.94; letter-spacing: -0.035em; }
h2,
.h2 { font-size: var(--h2); line-height: 1.02; letter-spacing: -0.025em; }
p { margin: 0; }
a { color: var(--accent); text-underline-offset: 0.18em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 20;
  padding: 12px 16px;
  background: var(--ink-brand);
  color: var(--paper);
  border-radius: 8px;
  font-weight: 600;
}
.skip:focus { top: 12px; }

.eyebrow {
  margin-bottom: 18px;
  color: var(--accent);
  font: 600 var(--small) / 1.3 var(--text);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eyebrow .t { margin-left: 0.9em; color: var(--muted); font-variant-numeric: tabular-nums; }
.lede {
  margin-top: 18px;
  max-width: 34ch;
  color: var(--muted);
  font-size: var(--lede);
  line-height: 1.4;
  text-wrap: pretty;
}
.numeral {
  margin-top: clamp(24px, 4vw, 44px);
  display: flex;
  align-items: baseline;
  gap: 0.12em;
  font-family: var(--display);
  font-size: var(--num);
  font-weight: 600;
  line-height: 0.85;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}
.numeral .u { font-size: 0.24em; font-weight: 400; letter-spacing: -0.01em; }
.caption { margin-top: 14px; max-width: 40ch; color: var(--muted); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--ground);
  font: 600 1rem / 1 var(--text);
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms var(--ease);
}
html.live .btn { color: var(--paper); }
html.live[data-theme="night"] .btn { color: var(--night); }
.btn:hover { transform: translateY(-1px); }
.btn-ghost { gap: 10px; background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
html.live .btn-ghost,
html.live[data-theme="night"] .btn-ghost { color: var(--ink); }
.btn-ghost svg { width: 18px; height: 18px; }

/* The film: a native dialog. Without the script the button opens the file itself. */
.film {
  width: min(92vw, 1280px);
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: #000;
  overflow: visible;
}
.film::backdrop { background: rgb(11 21 34 / 0.86); }
.film video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 18px; }
.film-close {
  position: absolute;
  top: -52px;
  right: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink-brand);
  cursor: pointer;
}
.film-close svg { width: 20px; height: 20px; }
.btn-small { min-height: 44px; padding: 0 18px; font-size: 0.9375rem; white-space: nowrap; }

/* ---------- Sky (live only) ---------- */

.sky { display: none; }
html.live .sky {
  display: block;
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at var(--sx, 20%) var(--sy, 60%), var(--glow, rgb(255 241 216 / 0.4)), transparent 45vh),
    linear-gradient(var(--sky-a, #cfe5f2), var(--sky-b, #f2f0e8));
}
.sky canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 600ms var(--ease);
}
.sky canvas.on { opacity: 1; }

/* ---------- The sun (live only): one fixed button for the whole page ---------- */

.sun { display: none; }
html.live .sun {
  display: block;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 2;
  width: 56px;
  height: 56px;
  margin: -28px 0 0 -28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--sun-fill);
  box-shadow: 0 0 0 7px rgb(255 122 96 / 0.16), 0 0 48px 6px rgb(255 140 100 / 0.55);
  cursor: grab;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
  will-change: translate;
}
html.live .sun.held { cursor: grabbing; }
html.live .sun.set { clip-path: inset(-60px -60px 50% -60px); }
html.live .sun.high { box-shadow: 0 0 0 7px rgb(255 236 200 / 0.28), 0 0 64px 18px rgb(255 236 200 / 0.7); }
html.live[data-theme="night"] .sun { background: var(--coral-night) !important; }
html.live .sun[aria-hidden="true"] { pointer-events: none; }
.sun::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--sun-fill);
  opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  html.live .sun.now:not(.used)::after { animation: pulse 2.2s 1.6s var(--ease) infinite; }
}
@keyframes pulse { 0% { opacity: 0.7; scale: 1; } 100% { opacity: 0; scale: 1.9; } }
.sun-tag { display: none; }
html.live .sun-tag { display: block; position: fixed; left: 0; top: 0; z-index: 2; width: 56px; height: 56px; margin: -28px 0 0 -28px; pointer-events: none; }
.sun-time,
.sun-hint {
  position: absolute;
  left: calc(100% + 14px);
  white-space: nowrap;
  text-align: left;
  pointer-events: none;
  opacity: 0;
  transition: opacity 300ms var(--ease);
}
.sun-tag.now .sun-time,
.sun-tag.now .sun-hint { padding: 2px 8px; border-radius: 8px; background: color-mix(in srgb, var(--ground) 78%, transparent); }
.sun-time { top: 4px; color: var(--ink); font: 600 1rem / 1.2 var(--text); font-variant-numeric: tabular-nums; }
.sun-hint { top: 27px; color: var(--muted); font: 400 0.875rem / 1.2 var(--text); }
.sun-tag.flip .sun-time,
.sun-tag.flip .sun-hint { left: auto; right: calc(100% + 14px); text-align: right; }
.sun-tag.now .sun-time { opacity: 1; }
.sun-tag.now:not(.used, .off) .sun-hint { opacity: 1; }
@media (max-width: 899px) {
  html.live .sun,
  html.live .sun-tag { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
  .sun-time { top: -2px; }
  .sun-hint { top: 21px; }
}

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

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px var(--gutter);
  position: relative;
  z-index: 3;
}
/* Out of the flow in every mode, so switching to live moves nothing below it. */
.top { position: absolute; inset: 0 0 auto; }
.brand { color: var(--ink); line-height: 0; display: inline-flex; align-items: center; min-height: 44px; }
.brand svg { width: clamp(112px, 22vw, 148px); height: auto; }
.brand .you { fill: var(--coral); }

.top-end { display: flex; align-items: center; gap: 6px; }
.sound {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.sound[hidden] { display: none; }
.sound svg { width: 22px; height: 22px; }
.sound .wave { display: none; }
.sound[aria-pressed="true"] .wave { display: inline; }
.sound[aria-pressed="true"] .mute { display: none; }

/* ---------- Phones: one frame, one shadow ---------- */

.phone { margin: 0; width: var(--phone); flex: none; }
.phone img { width: 100%; filter: drop-shadow(0 18px 24px rgb(15 27 45 / 0.18)); }
.phone figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: var(--small);
  text-align: center;
}

/* ---------- The arches (Join emblem) ---------- */

.dial { width: 100%; height: auto; overflow: visible; }
.dial .track { stroke: var(--track); }
.dial .fill { stroke-dasharray: 1 2; }
.dial .fill-p { stroke: var(--coral); stroke-dashoffset: calc(1 - var(--p, 0)); opacity: clamp(0, (var(--p, 0) - 0.02) * 14, 1); }
.dial .fill-c { stroke: var(--sky); stroke-dashoffset: calc(1 - var(--c, 0)); opacity: clamp(0, (var(--c, 0) - 0.02) * 14, 1); }
.dial .fill-f { stroke: var(--sea); stroke-dashoffset: calc(1 - var(--f, 0)); opacity: clamp(0, (var(--f, 0) - 0.02) * 14, 1); }

/* =================================================================================
   A and B. Now, then the day. Flowing by default; one sticky stage when live.
   ================================================================================= */

.stage { display: none; }

.hero {
  display: grid;
  justify-items: start;
  padding: calc(80px + clamp(16px, 4vh, 48px)) var(--gutter) var(--section);
}
.hero h1 { max-width: none; }
.hero .actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-phone { margin-top: 48px; justify-self: center; }
@media (max-width: 899px) { .hero-phone { width: calc(var(--ph) / 2); margin-top: 11px; } }
@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr) var(--phone); column-gap: 72px; align-items: center; min-height: 100svh; }
  .hero > :not(.hero-phone) { grid-column: 1; }
  .hero h1 { max-width: none; }
  .hero-phone { grid-column: 2; grid-row: 1 / span 4; margin-top: 0; }
}

.scenes { padding: 0 var(--gutter); }
.rail ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0 clamp(14px, 2.4vw, 32px);
  font: 600 clamp(1.25rem, 1rem + 1vw, 1.75rem) / 1 var(--display);
  letter-spacing: -0.02em;
}
.rail a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
}
.stop {
  display: inline-block;
  width: 0.26em;
  height: 0.26em;
  margin-left: 0.1em;
  border-radius: 50%;
  background: var(--sun-fill);
  translate: 0 0.22em;
}
.scene { padding-block: calc(var(--section) / 2); display: grid; justify-items: start; }
.scene h2 { max-width: 15ch; }
.scene .phone-inline { margin-top: 40px; justify-self: center; }
.inset { margin: 36px 0 0; width: 100%; max-width: 560px; border-radius: 20px; overflow: hidden; }
.inset img { width: 100%; }

@media (min-width: 900px) {
  html:not(.live) .scene {
    grid-template-columns: minmax(0, 1fr) var(--phone);
    column-gap: clamp(48px, 8vw, 120px);
  }
  html:not(.live) .scene > :not(.phone-inline) { grid-column: 1; }
  html:not(.live) .scene .phone-inline { grid-column: 2; grid-row: 1 / span 8; align-self: center; margin-top: 0; }
}
html:not(.live) .scene[data-theme="night"] {
  box-shadow: 0 0 0 100vmax var(--night);
  clip-path: inset(0 -100vmax);
}

/* ---------- Live: one sticky stage under the hero and the seven scenes ---------- */

/* 60svh lead-in, eight scenes at 70svh, and the last screen. */
html.live .day { position: relative; height: 720svh; }
html.live .stage {
  display: block;
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: clip;
}
html.live .hero {
  position: relative;
  height: 100svh;
  margin-top: -100svh;
  margin-bottom: -40svh;
  grid-template-columns: minmax(0, 1fr);
  padding-top: calc(80px + 4svh);
  padding-bottom: 0;
  min-height: 0;
  align-content: start;
}
/* Until the first scroll the hero's own phone stands exactly where the stage phone waits, so the
   first screen paints without waiting for the script. The two swap invisibly as the lead-in starts. */
html.live .hero-phone {
  grid-area: auto;
  position: absolute;
  top: calc(50% - var(--ph) / 2 + 1.5svh);
  right: var(--gutter);
  width: calc(var(--ph) / 2);
  margin: 0;
}
html.live .hero-phone img { filter: none; }
html.live .hero-phone figcaption { display: none; }
html.live .hero.gone .hero-phone { visibility: hidden; }
.stage.at-hero .stack img[data-screen="today"] { opacity: 0; transition: none; }
@media (max-width: 899px) {
  html.live .hero-phone { top: 56svh; right: auto; left: 50%; translate: -50% 0; justify-self: auto; }
}
/* The sun passes behind the type but stays draggable wherever there is no type. */
html.live .hero { pointer-events: none; }
html.live .hero > * { pointer-events: auto; justify-self: start; }
html.live .hero > :not(.hero-phone) { z-index: 3; }
html.live .hero h1 { pointer-events: none; }
@media (min-width: 900px) { html.live .hero h1 { white-space: nowrap; } }
html.live .hero .lede { max-width: 30ch; }
html.live .scenes {
  position: sticky;
  top: 0;
  z-index: 1;
  height: 100svh;
  padding: 0;
  pointer-events: none;
}
html.live .scenes a,
html.live .scenes .sc-copy,
html.live .scenes .sc-num { pointer-events: auto; }

/* The device: one phone, at the colon of the clock. --lead (0 to 1) carries it from the hero. */
.device {
  position: absolute;
  left: 50%;
  top: calc(50% - var(--ph) / 2 + 1.5svh);
  height: var(--ph);
  aspect-ratio: 1 / 2;
  --hx: calc(50vw - var(--gutter) - var(--ph) / 4);
  --hy: 0px;
  translate: calc(-50% + (1 - var(--lead)) * var(--hx)) calc((1 - var(--lead)) * var(--hy));
  z-index: 2;
}
.device .phone { width: 100%; height: 100%; position: relative; }
.stack img {
  position: absolute;
  inset: 0;
  width: 100%;
  filter: none;
  opacity: 0;
  translate: 0 14px;
  transition: opacity 380ms var(--ease), translate 380ms cubic-bezier(0.2, 0.9, 0.2, 1.05);
}
.stack img.on { opacity: 1; translate: 0 0; }
/* Sundial light. The shade falls away from the sun: long at dawn and dusk, tight at noon.
   The sheen crosses the glass with the day. At night the shade gives way to a Sea glow. */
.shade,
.glow {
  position: absolute;
  inset: 2% 4%;
  border-radius: 14% / 7%;
  pointer-events: none;
}
.shade { background: var(--ink-brand); filter: blur(28px); opacity: 0.28; }
.glow { inset: 8% 12%; border-radius: 30%; box-shadow: 0 0 90px 40px rgb(124 196 232 / 0.9); opacity: 0; }
.sheen {
  position: absolute;
  inset: 1.8% 4.4%;
  border-radius: 12% / 6%;
  overflow: hidden;
  pointer-events: none;
}
.sheen::before {
  content: "";
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: 0;
  width: 30%;
  background: linear-gradient(90deg, transparent, #fff 50%, transparent);
  opacity: 0.16;
  rotate: 14deg;
  translate: calc(var(--sheen, -100) * 1%) 0;
}

/* The clock is the wallpaper: hours left of the phone, minutes right of it. */
.clock {
  position: absolute;
  inset: 0;
  margin: 0;
  font: 200 var(--wall) / 1 var(--display);
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  opacity: var(--lead);
  transition: color 420ms var(--ease);
}
.clock .colon { display: none; }
@media (min-width: 900px) {
  .clock .hh,
  .clock .mm { position: absolute; top: 42%; translate: 0 -50%; }
  .clock .hh { right: calc(50% + var(--ph) / 4 + 1.6vw); }
  .clock .mm { left: calc(50% + var(--ph) / 4 + 1.6vw); }
}

/* 17:38: the kitchen fills the viewport behind the clock. */
.kitchen {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 600ms var(--ease);
}
.kitchen img,
.kitchen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stack video.live {
  position: absolute;
  left: 8.298%;
  top: 3.723%;
  width: 83.404%;
  height: 90.426%;
  border-radius: 14.03% / 6.47%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 160ms var(--ease);
}
.stack video.live.show { opacity: 1; }
.dawn-view video { display: none; }
html.live .dawn-view video { display: block; position: absolute; inset: 0; }
@media (min-width: 900px) {
  .kitchen img,
  .kitchen video { transform-origin: 30% 0; scale: 1.4; translate: -27vw 0; }
}
@media (max-width: 899px) {
  .kitchen img,
  .kitchen video { object-position: 50% 0; }
  .stage .device { transition: scale 420ms var(--ease); transform-origin: 50% 100%; }
  .stage[data-scene="4"] .device { scale: 0.7; }
}
.kitchen::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(520px 260px at 18% 84%, rgb(11 21 34 / 0.6), transparent),
    radial-gradient(520px 260px at 86% 84%, rgb(11 21 34 / 0.6), transparent),
    linear-gradient(rgb(11 21 34 / 0.35), rgb(11 21 34 / 0.1) 40%, rgb(11 21 34 / 0.6));
}
.stage[data-scene="4"] .kitchen { opacity: 1; }
html.live .scenes:has(.scene[data-scene="4"].on) .rail { --ink: var(--paper); --muted: rgb(244 240 230 / 0.72); }
.stage[data-scene="4"] .clock { color: var(--paper); }
html.live .scene[data-scene="4"] { --ink: var(--paper); --muted: #e9e3d4; --accent: #ffb29e; color: var(--ink); }
html.live .scene[data-scene="4"] .sc-copy,
html.live .scene[data-scene="4"] .sc-num { text-shadow: 0 1px 18px rgb(11 21 34 / 0.6); }

/* 21:30: three arches close behind the phone at architecture scale, R = 45vw. */
.arches-big {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 120.9vw;
  max-width: none;
  height: auto;
  translate: -50% 0;
  overflow: visible;
  -webkit-mask-image: linear-gradient(#000 58%, transparent 86%);
  mask-image: linear-gradient(#000 58%, transparent 86%);
}
html[data-theme="night"] .arches-big { opacity: 0.62; }
.arches-big path { stroke-dasharray: 1 2; stroke-dashoffset: 1; transition: stroke-dashoffset 1400ms var(--ease); }
.arches-big .a-p { stroke: var(--coral-night); }
.arches-big .a-c { stroke: var(--sky); transition-delay: 160ms; }
.arches-big .a-f { stroke: var(--sea); transition-delay: 320ms; }
.stage[data-scene="7"] .arches-big path { stroke-dashoffset: 0; }

/* The verb rail: top centre while the day plays. Every verb stays a link. */
html.live .rail {
  position: absolute;
  top: 2.4svh;
  left: 50%;
  translate: -50% 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 300ms var(--ease), visibility 0s 300ms;
}
html.live .in-day .rail { opacity: 1; visibility: visible; transition: opacity 300ms var(--ease); }
html.live .rail ol { flex-wrap: nowrap; }
html.live .rail a { font-weight: 300; color: var(--muted); transition: color 300ms var(--ease); }
html.live .rail a.on { font-weight: 700; color: var(--ink); }
html.live .rail .stop { opacity: 0; transition: opacity 200ms var(--ease); }
html.live .rail a.on .stop { opacity: 1; }

/* Scenes: copy bottom left under the hours, numeral bottom right under the minutes.
   Copy is triggered: the old block clips out upward, the new one rises in. */
html.live .scene { position: absolute; inset: 0; padding: 0; display: block; }
html.live .scene .phone-inline,
html.live .scene .inset { display: none; }
html.live .scene h2 { font-size: var(--h2-day); max-width: 16ch; }
html.live .scene .lede { font-size: clamp(1.0625rem, 0.9rem + 0.5vw, 1.375rem); margin-top: 14px; }
html.live .sc-copy,
html.live .sc-num {
  position: absolute;
  bottom: 13svh;
  clip-path: inset(100% -2em -0.4em -2em);
  translate: 0 32px;
  visibility: hidden;
  transition: clip-path var(--trig) var(--ease), translate var(--trig) var(--ease), visibility 0s var(--trig);
}
html.live .scene.on .sc-copy,
html.live .scene.on .sc-num {
  clip-path: inset(-0.4em -2em -0.4em -2em);
  translate: 0 0;
  visibility: visible;
  transition: clip-path var(--trig) 120ms var(--ease), translate var(--trig) 120ms var(--ease), visibility 0s;
}
html.live .scene.past .sc-copy,
html.live .scene.past .sc-num { clip-path: inset(-0.4em -2em 100% -2em); translate: 0 -32px; }
html.live .sc-copy { left: var(--gutter); width: min(calc(50vw - var(--ph) / 4 - var(--gutter) - 3vw), 520px); }
html.live .sc-num { right: var(--gutter); width: min(calc(50vw - var(--ph) / 4 - var(--gutter) - 3vw), 440px); display: grid; justify-items: end; text-align: right; }
html.live .sc-num .numeral { margin: 0; font-size: clamp(4rem, 2rem + 4vw, 7rem); }
html.live .sc-num .caption { max-width: 28ch; }

@media (max-width: 899px) {
  .device { top: 19svh; --hx: 0px; --hy: 37svh; }
  .clock { top: 6.5svh; bottom: auto; text-align: center; line-height: 1; }
  .clock .colon { display: inline; }
  html.live .rail { top: 1svh; }
  html.live .rail ol { font-size: 1.125rem; gap: 0 14px; }
  html.live .sc-copy { left: var(--gutter); right: var(--gutter); width: auto; bottom: 4svh; }
  html.live .sc-copy .eyebrow { margin-bottom: 10px; }
  html.live .scene h2 { font-size: 1.75rem; }
  html.live .scene .lede { font-size: 1.0625rem; margin-top: 8px; }
  html.live .sc-num { display: none; }
  .arches-big { bottom: 34svh; }
}

/* =================================================================================
   C. Clinic, at night. Four screens open like a hand of cards.
   ================================================================================= */

.fan .pin-inner { padding: var(--section) var(--gutter); }
.fan-list { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--section); }
.fan-item { display: grid; justify-items: start; }
.fan-item .phone-inline { margin-top: 40px; justify-self: center; }
.fan-item h2,
.fan-item .h2 { max-width: 14ch; }
.chip {
  display: inline-block;
  margin-top: 24px;
  padding: 8px 16px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font: 600 var(--small) / 1.3 var(--text);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  align-self: start;
}
.fan-stage { display: none; }
@media (min-width: 900px) {
  html:not(.live) .fan-item { grid-template-columns: minmax(0, 1fr) var(--phone); column-gap: clamp(48px, 8vw, 120px); }
  html:not(.live) .fan-item > :not(.phone-inline) { grid-column: 1; }
  html:not(.live) .fan-item .phone-inline { grid-column: 2; grid-row: 1 / span 6; align-self: center; margin-top: 0; }
}
html:not(.live) .fan { background: var(--night); color: var(--paper); --ink: var(--paper); --muted: var(--stone-night); --accent: var(--coral-night); color-scheme: dark; }

html.live .fan { height: 300svh; }
html.live .fan .pin-inner {
  position: sticky;
  top: 0;
  height: 100svh;
  display: grid;
  grid-template-areas: "stage" "copy";
  grid-template-rows: auto 1fr;
  align-content: start;
  padding-block: 7svh 0;
  row-gap: 28px;
}
html.live .fan-list { grid-area: copy; display: grid; gap: 0; }
html.live .fan-item {
  grid-area: 1 / 1;
  align-self: start;
  clip-path: inset(100% -2em -0.4em -2em);
  translate: 0 28px;
  visibility: hidden;
  transition: clip-path var(--trig) var(--ease), translate var(--trig) var(--ease), visibility 0s var(--trig);
}
html.live .fan-item.on { clip-path: inset(-0.4em -2em -0.4em -2em); translate: 0 0; visibility: visible; transition: clip-path var(--trig) 120ms var(--ease), translate var(--trig) 120ms var(--ease), visibility 0s; }
html.live .fan-item.past { clip-path: inset(-0.4em -2em 100% -2em); translate: 0 -28px; }
html.live .fan-item .phone-inline { display: none; }
html.live .fan-item .h2,
html.live .fan-item h2 { font-size: var(--h2-day); }
html.live .fan-stage {
  grid-area: stage;
  display: block;
  position: relative;
  justify-self: center;
  height: 46svh;
  aspect-ratio: 1 / 2;
}
html.live .fan-stage::before {
  content: "";
  position: absolute;
  inset: -4% -30% -6%;
  border-radius: 50%;
  background: #7cc4e8;
  opacity: 0.42;
  filter: blur(60px);
}
html.live .fan-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  transform-origin: 50% 130%;
  rotate: calc(var(--r, 0) * 1deg);
  translate: 0 calc(var(--ty, 0) * 1%);
  cursor: pointer;
}
@media (max-width: 899px) {
  html.live .fan .chip { margin-top: 14px; }
  html.live .fan-item .lede { margin-top: 10px; font-size: 1.0625rem; }
}
@media (min-width: 900px) {
  html.live .fan .pin-inner {
    grid-template-areas: "copy stage";
    grid-template-columns: minmax(0, min(440px, 34vw)) 1fr;
    grid-template-rows: 1fr;
    align-items: center;
    padding-block: 0;
    column-gap: 48px;
  }
  html.live .fan-stage { height: min(80svh, calc((100vw - 2 * var(--gutter) - min(440px, 34vw) - 48px) / 1.15)); justify-self: end; translate: 0; margin-right: 6vw; }
  html.live .fan-stage img { transform-origin: 50% 160%; }
}
html.live .fan-stage { pointer-events: auto; }

/* =================================================================================
   D. Dawn. A horizon line of light opens onto the street.
   ================================================================================= */

.dawn-view { margin: 0; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; }
.dawn-view img,
.dawn-view video { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
@media (min-width: 700px) { .dawn-view { aspect-ratio: 16 / 9; max-height: 92svh; } .dawn-view img, .dawn-view video { object-position: 50% 40%; } }
.dawn-clock { display: none; }

html.live .dawn { height: 160svh; }
html.live .dawn-inner { position: sticky; top: 0; height: 100svh; overflow: hidden; clip-path: inset(calc(38% * (1 - var(--open, 0))) 0); -webkit-mask-image: linear-gradient(#000 88%, transparent); mask-image: linear-gradient(#000 88%, transparent); }
html.live .dawn-view {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
  max-height: none;
}
html.live .dawn-view::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 55%, rgb(11 21 34 / 0.45));
}
html.live .dawn-view { isolation: isolate; }
html.live .dawn-view img { position: absolute; inset: 0; }
html.live .dawn-clock {
  display: block;
  position: absolute;
  left: var(--gutter);
  bottom: 14svh;
  margin: 0;
  color: var(--paper);
  font: 200 var(--wall) / 0.8 var(--display);
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

/* =================================================================================
   E. Try it. Three sample instruments; tonight's dinner re-ranks as you move them.
   ================================================================================= */

.blood {
  padding: var(--section) var(--gutter) var(--section);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.blood h2 { max-width: 14ch; }
/* The meal itself: a full-bleed band at the top of Try it, the headline on the empty table. */
.try-plate {
  position: relative;
  margin: calc(-1 * var(--section)) calc(-1 * var(--gutter)) 0;
  height: 46svh;
  overflow: hidden;
}
.try-plate img,
.try-plate video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 78% 50%; }
.try-plate video { opacity: 0; transition: opacity 300ms var(--ease); }
.try-plate video.show { opacity: 1; }
@media (min-width: 900px) {
  .try-plate { grid-column: 1 / -1; grid-row: 1; height: 72svh; margin-bottom: 0; }
  .try-plate img,
  .try-plate video { object-position: 50% 50%; }
  .try-plate::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(244 240 230 / 0.55), transparent 48%); }
  .try-head { grid-column: 1 / 7; grid-row: 1; align-self: center; z-index: 1; color: var(--ink-brand); --muted: var(--stone); --accent: var(--coral-deep); }
  .try-head .lede { color: var(--stone); }
}
.readings-title {
  margin: 0 0 18px;
  color: var(--muted);
  font: 600 var(--small) / 1.3 var(--text);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.try-in { display: grid; gap: 14px; max-width: 560px; }
.inst {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 6px 12px;
  padding: 16px 18px 14px;
  border-radius: 16px;
  background: rgb(255 255 255 / 0.66);
  color: var(--ink-brand);
}
.inst label { font-weight: 600; }
.inst output { font: 600 1.375rem / 1 var(--display); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.inst output small { font: 400 0.75em var(--text); color: var(--stone); }
.inst-note { grid-column: 1 / -1; color: var(--stone); font-size: 0.875rem; }
.range { grid-column: 1 / -1; position: relative; padding: 6px 0; }
.range-band { padding-inline: 15% 25%; }
.range-band::before {
  content: "";
  position: absolute;
  inset: 50% 0 auto;
  height: 12px;
  margin-top: -6px;
  border-radius: 6px;
  background: #e2dccd;
}
.range input {
  position: relative;
  display: block;
  width: 100%;
  height: 28px;
  margin: 0;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  touch-action: pan-y;
}
.range input::-webkit-slider-runnable-track { height: 12px; border-radius: 6px; background: var(--ink-brand); }
.range input::-moz-range-track { height: 12px; border-radius: 6px; background: var(--ink-brand); }
.range input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px;
  height: 28px;
  margin-top: -8px;
  border: 0;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 3px #fff, 0 4px 12px rgb(15 27 45 / 0.25);
}
.range input::-moz-range-thumb {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 3px #fff, 0 4px 12px rgb(15 27 45 / 0.25);
}
.range input:focus-visible { outline: none; }
.range input:focus-visible::-webkit-slider-thumb { outline: 3px solid var(--sea); outline-offset: 3px; }
.range input:focus-visible::-moz-range-thumb { outline: 3px solid var(--sea); outline-offset: 3px; }
.inst-switch { grid-template-columns: 1fr auto; align-items: center; }
.inst-switch .inst-note { grid-column: 1; grid-row: 2; }
.switch {
  grid-column: 2;
  grid-row: 1 / span 2;
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  width: 64px;
  height: 36px;
  margin: 0;
  border-radius: 18px;
  background: #cfc6b2;
  cursor: pointer;
  transition: background 200ms var(--ease);
}
.switch::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgb(15 27 45 / 0.25);
  transition: translate 260ms cubic-bezier(0.2, 0.9, 0.2, 1.05);
}
.switch:checked { background: var(--ink-brand); }
.switch:checked::after { translate: 28px 0; background: var(--coral); }
.sheet { display: none; }

.try-out { color: var(--ink); }
.tonight { margin: 0; padding: 0; list-style: none; counter-reset: dish; }
.tonight li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  font: 600 clamp(1.25rem, 1rem + 0.8vw, 1.75rem) / 1.1 var(--display);
  letter-spacing: -0.015em;
  will-change: translate;
}
.tonight li::before {
  counter-increment: dish;
  content: counter(dish);
  flex: none;
  width: 2.4rem;
  color: var(--muted);
  font-size: 1.5rem;
  font-weight: 300;
}
.tonight li:first-child { font-size: clamp(1.75rem, 1rem + 2.4vw, 3rem); color: var(--ink); }
.snack { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; padding: 12px 16px; border-radius: 12px; background: rgb(255 255 255 / 0.6); color: var(--ink-brand); font-weight: 600; }
.snack-g { color: var(--stone); font-weight: 400; }
.snack[hidden] { display: none; }
.try-out .numeral { margin-top: 28px; font-size: clamp(4rem, 2rem + 4vw, 6.5rem); }
.reasons { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--muted); }
.reasons li { padding-left: 18px; position: relative; }
.reasons li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.try-photo .numeral { margin-top: 28px; }
.inset-blood { margin: 0; max-width: none; }

@media (min-width: 900px) {
  .blood { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 48px; }
  .try-in { grid-column: 1 / 6; max-width: none; }
  .try-photo { grid-column: 1 / 6; }
  .try-out { grid-column: 7 / 13; grid-row: 2 / span 2; position: sticky; top: 14svh; }
  .try-in { grid-row: 2; }
  .try-photo { grid-row: 3; }
}

/* 390: the output rides along as a bottom sheet while the instruments are in view. */
@media (max-width: 899px) {
  html.js .sheet {
    display: grid;
    position: sticky;
    bottom: 0;
    z-index: 2;
    height: 132px;
    margin: 10px calc(-1 * var(--gutter)) 0;
    padding: 6px var(--gutter);
    list-style: none;
    counter-reset: dish;
    background: rgb(244 240 230 / 0.94);
    border-top: 1px solid #e2dccd;
    box-shadow: 0 -10px 30px rgb(15 27 45 / 0.08);
    color: var(--ink-brand);
  }
  @supports (backdrop-filter: blur(8px)) { html.js .sheet { background: rgb(244 240 230 / 0.82); backdrop-filter: blur(12px); } }
  html.js .sheet { transition: opacity 250ms var(--ease), translate 250ms var(--ease); }
  html.js .sheet.away { opacity: 0; translate: 0 24px; visibility: hidden; transition: opacity 250ms var(--ease), translate 250ms var(--ease), visibility 0s 250ms; }
  .sheet li { display: flex; align-items: center; gap: 12px; height: 40px; font: 600 1.0625rem / 1 var(--display); }
  .sheet li::before { counter-increment: dish; content: counter(dish); width: 1em; color: var(--stone); font-weight: 300; }
  .sheet li:first-child { color: var(--ink-brand); font-size: 1.25rem; }
  .try-out { order: 0; }
  .blood { padding-bottom: calc(var(--section) / 2); }
}

/* =================================================================================
   F. Trust. The statement across the full width.
   ================================================================================= */

.trust {
  padding: var(--section) var(--gutter);
  display: grid;
  gap: 40px 48px;
  justify-items: start;
  align-items: end;
}
.trust > div:first-child { display: contents; }
.trust .eyebrow { grid-column: 1 / -1; margin-bottom: -16px; }
.trust h2 { grid-column: 1 / -1; font-size: var(--statement); line-height: 0.94; letter-spacing: -0.035em; text-wrap: auto; }
.trust .lede { margin: 0; }
.trust .phone { justify-self: center; }
.switches { width: 100%; max-width: 520px; }
.switches ul { margin: 0; padding: 0; list-style: none; border-radius: 16px; background: rgb(255 255 255 / 0.66); color: var(--ink-brand); }
.switches li {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0 16px;
  padding: 10px 16px;
  border-top: 1px solid #e2dccd;
}
.switches li:first-child { border-top: 0; }
.sw-name { font-weight: 600; }
.sw-sub { grid-column: 1; color: var(--stone); font-size: 0.875rem; }
.sw-sub.ended { color: var(--coral-deep); font-weight: 600; }
.sw {
  grid-column: 2;
  grid-row: 1 / span 2;
  position: relative;
  width: 52px;
  height: 32px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: #cfc6b2;
  cursor: pointer;
  transition: background 200ms var(--ease);
}
.sw::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgb(15 27 45 / 0.25);
  transition: translate 240ms cubic-bezier(0.2, 0.9, 0.2, 1.05);
}
.sw[aria-checked="true"] { background: var(--ink-brand); }
.sw[aria-checked="true"]::after { translate: 20px 0; background: var(--coral); }
@media (min-width: 700px) {
  .trust { grid-template-columns: minmax(0, 1fr) var(--phone); grid-template-rows: auto auto auto 1fr; padding-bottom: 0; }
  .switches { align-self: start; }
  .trust .lede { align-self: start; }
  .trust .phone { grid-row: 3 / span 2; grid-column: 2; align-self: start; }
  .switches { grid-column: 1; }
}

/* =================================================================================
   G. Join. Centred under the emblem.
   ================================================================================= */

.join { padding: var(--section) var(--gutter); }
html:not(.live) .join,
html:not(.live) .foot {
  --ground: var(--night);
  --ink: var(--paper);
  --muted: var(--stone-night);
  --accent: var(--coral-night);
  --rule: var(--night-line);
  --track: #24344d;
  --sun-fill: var(--coral-night);
  --focus: var(--sky);
  --field: var(--night-card);
  --field-line: var(--night-line);
  background: var(--ground);
  color: var(--ink);
  color-scheme: dark;
}
html.js:not(.live) .join.is-joined,
html.js:not(.live) .join.is-joined + * {
  --ground: var(--paper);
  --ink: var(--ink-brand);
  --muted: var(--stone);
  --accent: var(--coral-deep);
  --track: #ccd5e2;
  --sun-fill: var(--coral);
  --field: rgb(255 255 255 / 0.72);
  --field-line: #cfc6b2;
}
html.live .join { display: grid; align-content: start; padding-block: var(--section) calc(var(--section) / 2); }
.join-inner { max-width: 640px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
.join h2 { max-width: 14ch; }
.join .lede { margin-inline: auto; }
.dial-join { width: calc(min(72vw, 400px) * 360 / 268); max-width: none; justify-self: center; margin: 0 0 20px; }
.dial-join .track { stroke: rgb(15 27 45 / 0.12); }
html[data-theme="night"] .dial-join .track { stroke: rgb(244 240 230 / 0.14); }
.dial-join .fill { transition: stroke-dashoffset 700ms var(--ease), opacity 300ms var(--ease); }

.signup { margin-top: 28px; display: grid; gap: 24px; width: 100%; max-width: 440px; text-align: left; }
.field label { display: block; margin-bottom: 8px; font-weight: 600; }
.signup input[type="email"] {
  width: 100%;
  min-height: 56px;
  padding: 0 18px;
  border: 1.5px solid var(--field-line);
  border-radius: 14px;
  background: var(--field);
  color: var(--ink);
  font: 400 1.0625rem / 1 var(--text);
}
.signup input[type="email"]:focus-visible { border-color: var(--focus); outline-offset: 2px; }
.signup input[aria-invalid="true"] { border-color: var(--accent); }
.check { display: grid; grid-template-columns: 32px 1fr; gap: 4px 14px; align-items: start; }
.check input {
  appearance: none;
  width: 28px;
  height: 28px;
  margin: 0;
  border: 1.5px solid var(--muted);
  border-radius: 7px;
  background: var(--field);
  cursor: pointer;
}
.check input:checked { border-color: var(--ink); background: var(--ink) url("/img/check.svg") center / 20px no-repeat; }
.check label { margin: 0; font-weight: 400; line-height: 1.45; }
.check .error { grid-column: 2; }
.signup .btn { justify-self: stretch; }
.signup .btn[disabled] { opacity: 0.7; cursor: progress; }
.error { margin-top: 8px; color: var(--accent); font-weight: 600; }
.note { color: var(--muted); font-size: 0.9375rem; max-width: 52ch; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.notice { display: none; margin-top: 32px; padding: 18px 20px; border-radius: 14px; width: 100%; max-width: 440px; }
.notice:target { display: block; }
.notice-ok { border: 1.5px solid var(--ink); }
.notice-bad { border: 1.5px solid var(--accent); }
.join-inner:has(#joined:target) .signup,
.join.is-joined .signup { display: none; }
.join.is-joined #joined { display: block; }

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

.foot {
  padding: 40px var(--gutter) calc(56px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--rule);
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 16px;
}
.foot-mark { width: 28px; color: var(--ink); }
.foot ul { margin: 0; padding: 0; list-style: none; display: flex; gap: 8px 28px; flex-wrap: wrap; justify-content: center; }
.foot a { color: var(--ink); display: inline-block; padding: 10px 4px; }
.foot .small { max-width: 60ch; color: var(--muted); font-size: var(--small); }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after { transition-duration: 0.01ms !important; animation: none !important; }
}

/* Width polish (Fable's consult, 2026-11-21). */
@media (max-width: 699px) {
  .trust .phone { display: none; }
}
@media (max-width: 899px) {
  :root { --wall: min(30vw, 15svh); }
  html.live .sun::before { content: ""; position: absolute; inset: -12px; }
}
@media (min-width: 700px) and (max-width: 899px) {
  html.live .fan .pin-inner { align-content: center; }
}
