/* How You Tick Fasting: the website. Colours, font and glass are the app's own (app/index.html), so the two read as one thing. */
@font-face { font-family: 'Figtree'; src: url('../lib/Figtree-Variable.ttf') format('truetype'); font-weight: 300 900; font-display: swap; }

:root {
  --night: #061424;
  --ink: #0B2238;
  --glass: #4FD1FF;
  --ice: #9FE6FF;
  --soft: #CFEFFF;
  --text: #FFFFFF;
  --muted: rgba(214, 238, 255, 0.72);
  --faint: rgba(214, 238, 255, 0.46);
  --hair: rgba(255, 255, 255, 0.10);
  --rim: rgba(255, 255, 255, 0.16);
  --sugar: #CFF3FF;
  --fat: #F2C75C;
  --ketone: #FFB238;
  --warn: #FF8A3D;
  --pane: linear-gradient(180deg, rgba(112, 168, 214, 0.20), rgba(14, 40, 68, 0.42));
  --pane-solid: linear-gradient(180deg, #17395a, #0d2742);
  --blur: blur(24px) saturate(165%);
  --shine: inset 0 1px 0 rgba(255, 255, 255, 0.30), inset 0 -1px 0 rgba(255, 255, 255, 0.05), 0 18px 48px rgba(0, 0, 0, 0.36);
  --lens: linear-gradient(180deg, rgba(255, 255, 255, 0.30), rgba(255, 255, 255, 0.12));
  --lens-shine: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 2px 10px rgba(0, 0, 0, 0.25);
  --font: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(20px, 5vw, 76px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; background: var(--night); color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--glass); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
::selection { background: rgba(79, 209, 255, 0.35); }

/* film grain over everything: stops the flat gradients looking like CSS */
body::after { content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.skip { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--text); color: var(--night); font-weight: 700; }
.skip:focus { top: 16px; }

.glass { background: var(--pane); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid var(--rim); box-shadow: var(--shine); }
@media (prefers-reduced-transparency: reduce) { .glass { background: var(--pane-solid); -webkit-backdrop-filter: none; backdrop-filter: none; } }

.eyebrow { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--glass); }
.lede { font-size: clamp(1.08rem, 1.5vw, 1.32rem); line-height: 1.45; color: var(--muted); text-wrap: pretty; }
.wrap { width: min(1160px, 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ------------------------------------------------------------------ the bar */
.nav { position: fixed; z-index: 50; top: max(12px, env(safe-area-inset-top)); left: 50%; transform: translateX(-50%); width: min(1120px, 100% - 24px); height: 54px;
  display: flex; align-items: center; gap: 20px; padding: 0 8px 0 12px; border-radius: 999px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 0.98rem; letter-spacing: -0.01em; white-space: nowrap; }
.brand img { width: 30px; height: 30px; border-radius: 8px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14); }
.brand em { font-style: normal; font-weight: 500; color: var(--muted); }
.nav nav { display: none; margin-left: auto; gap: 4px; }
.nav nav a { padding: 8px 14px; border-radius: 999px; font-size: 0.92rem; font-weight: 600; color: var(--muted); transition: color 0.2s, background-color 0.2s; }
.nav nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.08); }
.nav nav a[aria-current="page"] { color: var(--text); }
.pill { margin-left: auto; height: 38px; padding: 0 16px; display: inline-flex; align-items: center; border-radius: 999px; background: var(--lens); box-shadow: var(--lens-shine);
  border: 1px solid var(--rim); font-size: 0.86rem; font-weight: 700; white-space: nowrap; }
@media (min-width: 900px) { .nav nav { display: flex; } .pill { margin-left: 0; } }

/* ------------------------------------------------------------------ the stage: he sits here, fixed, behind the first two sections */
.stage { position: fixed; inset: 0 0 auto 0; height: 100vh; height: 100lvh; z-index: 0; overflow: clip; background:
  radial-gradient(58% 60% at 72% 40%, rgba(79, 209, 255, 0.17), rgba(79, 209, 255, 0) 70%),
  radial-gradient(70% 50% at 10% 100%, rgba(11, 34, 56, 0.9), rgba(11, 34, 56, 0) 70%),
  var(--night); }
.stage::before { content: ""; position: absolute; inset: 0; opacity: 0.6;
  background-image: linear-gradient(rgba(159, 230, 255, 0.055) 1px, transparent 1px), linear-gradient(90deg, rgba(159, 230, 255, 0.055) 1px, transparent 1px);
  background-size: 72px 72px; background-position: center;
  -webkit-mask-image: radial-gradient(70% 70% at 70% 45%, #000 20%, transparent 78%); mask-image: radial-gradient(70% 70% at 70% 45%, #000 20%, transparent 78%); }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.4s var(--ease); touch-action: pan-y; cursor: grab; }
.stage canvas:active { cursor: grabbing; }
.ready .stage canvas { opacity: 1; }
.stage.off { visibility: hidden; }
.poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; opacity: 0; transition: opacity 0.6s; }
.no-js .poster, .no3d .poster { opacity: 1; }
.labels { position: absolute; inset: 0; pointer-events: none; overflow: clip; }
.organ-label { position: absolute; left: 0; top: 0; display: flex; align-items: center; transition: opacity 0.3s ease; will-change: transform; }
.organ-label i { flex: 0 0 auto; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--text); box-shadow: 0 0 0 2px rgba(11, 34, 56, 0.85); }
.organ-label i::after { content: ""; display: block; width: 14px; height: 1.5px; margin: 3.25px 0 0 8px; background: rgba(255, 255, 255, 0.8); }
.organ-label span { margin-left: 16px; padding: 4px 9px 4px 8px; border-left: 3px solid var(--glass); border-radius: 3px; background: rgba(11, 34, 56, 0.88);
  font-size: 13px; font-weight: 700; letter-spacing: 0.01em; white-space: nowrap; }
.organ-label.left { flex-direction: row-reverse; }
.organ-label.left i { margin-left: 0; margin-right: -4px; }
.organ-label.left i::after { margin: 3.25px 0 0 -14px; }
.organ-label.left span { margin-left: 0; margin-right: 16px; }

/* the hour, enormous, behind him: you read it through his glass */
.ghost { position: absolute; left: 50%; top: 13%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; opacity: 0; transition: opacity 0.7s var(--ease); pointer-events: none; }
.ghost.on { opacity: 1; }
.ghost b { display: block; font-size: min(62vw, 46vh); font-weight: 800; line-height: 0.8; letter-spacing: -0.06em; font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, rgba(120, 220, 255, 0.27), rgba(79, 209, 255, 0.02) 92%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.turn { display: none; position: absolute; right: var(--gutter); bottom: 28px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; color: var(--faint); transition: opacity 0.6s; }
.turn.gone { opacity: 0; }
@media (min-width: 900px) {
  .ghost { left: 71%; top: 50%; transform: translate(-50%, -50%); }
  .ghost b { font-size: min(40vw, 76vh); }
}
@media (min-width: 900px) and (hover: hover) and (pointer: fine) { .ready .turn { display: block; } }

/* drags pass through the first two sections to him; only their text, and everything on the sheet, takes the pointer */
main { position: relative; z-index: 1; }
.home main { pointer-events: none; }
.sheet { pointer-events: auto; }
.zone .hero-copy, .zone .journey-intro, .zone .card, .zone .rail { pointer-events: auto; }

/* ------------------------------------------------------------------ hero */
.hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; padding: 110px var(--gutter) max(34px, env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(6, 20, 36, 0) 38%, rgba(6, 20, 36, 0.78) 68%, rgba(6, 20, 36, 0.94)); }
.hero-copy { max-width: 37rem; }
.hero h1 { margin: 14px 0 18px; font-size: clamp(2.75rem, 12.4vw, 4.2rem); font-weight: 800; line-height: 0.98; letter-spacing: -0.038em; text-wrap: balance; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; height: 54px; padding: 0 26px; border-radius: 999px; background: var(--lens); border: 1px solid var(--rim); box-shadow: var(--lens-shine);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); font-size: 1rem; font-weight: 700; }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ice); }
.more svg { transition: transform 0.5s var(--ease); }
.more:hover svg { transform: translateY(3px); }
@media (min-width: 900px) {
  .hero { align-items: center; padding: 120px var(--gutter) 80px; background: none; }
  .hero-copy { max-width: min(40rem, 48vw); }
  .hero h1 { font-size: clamp(3.6rem, 6.3vw, 6.6rem); margin: 20px 0 26px; }
  .cta { margin-top: 38px; }
}

/* ------------------------------------------------------------------ hour by hour */
.journey { position: relative; padding-bottom: 6vh; }
.journey-intro { margin: 0 12px; padding: 26px 22px 28px; border-radius: 30px; background: var(--pane); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid var(--rim); box-shadow: var(--shine); }
.journey-intro h2 { margin: 10px 0 12px; font-size: clamp(2.3rem, 9.5vw, 3.2rem); font-weight: 800; line-height: 1; letter-spacing: -0.035em; }

.rail { position: sticky; z-index: 3; top: calc(max(12px, env(safe-area-inset-top)) + 64px); height: 34px; margin: 18px auto -52px; width: min(340px, 100% - 24px);
  display: flex; align-items: center; justify-content: space-between; padding: 0 6px; border-radius: 999px;
  background: rgba(8, 26, 44, 0.55); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid var(--hair); }
.rail li { flex: 1 1 0; display: flex; justify-content: center; }
.rail a { min-width: 30px; height: 26px; padding: 0 6px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; font-size: 0.74rem; font-weight: 700;
  font-variant-numeric: tabular-nums; color: var(--faint); transition: color 0.3s, background-color 0.3s; }
.rail a[aria-current="step"] { color: var(--night); background: var(--glass); }

/* on a phone each step opens with empty room, so he is seen changing before his card slides up over him */
.step { min-height: 150vh; min-height: 150svh; display: flex; align-items: flex-end; padding: 45vh 12px 0; padding-top: 45svh; scroll-margin-top: -30vh; }
.card { position: sticky; bottom: max(12px, env(safe-area-inset-bottom)); width: 100%; padding: 22px 22px 20px; border-radius: 30px; }
.when { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--glass); }
.card h3 { margin: 8px 0 10px; font-size: clamp(1.5rem, 6.2vw, 1.85rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.025em; text-wrap: balance; }
.card > p:not(.when):not(.warn) { font-size: 1rem; line-height: 1.5; color: var(--muted); }
.fuel { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.fuel .mix { flex: 1 1 0; display: flex; height: 8px; border-radius: 4px; overflow: hidden; background: rgba(3, 12, 22, 0.4); }
.fuel .mix i { display: block; }
.fuel .sugar { background: var(--sugar); } .fuel .fat { background: var(--fat); } .fuel .ketone { background: var(--ketone); }
.fuel-label { flex: 0 0 auto; font-size: 0.82rem; font-weight: 600; color: var(--soft); }
.warn { margin-top: 14px; padding: 10px 12px; border-radius: 12px; border-left: 3px solid var(--warn); background: rgba(255, 138, 61, 0.09); font-size: 0.84rem; line-height: 1.45; color: #FFE1CB; }
.warn a { text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.src { display: inline-block; margin-top: 12px; font-size: 0.78rem; font-weight: 600; color: var(--faint); text-decoration: underline; text-decoration-color: rgba(214, 238, 255, 0.25); text-underline-offset: 3px; transition: color 0.2s; }
.src:hover { color: var(--ice); }

@media (min-width: 900px) {
  .journey { padding-bottom: 12vh; }
  .journey-intro { margin: 0; padding: 12vh var(--gutter) 6vh; max-width: calc(34rem + var(--gutter) * 2); border-radius: 0; background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .journey-intro h2 { font-size: clamp(3rem, 5.2vw, 5rem); margin: 14px 0 18px; }
  .rail { top: calc(50vh - 150px); height: 300px; width: 44px; margin: 0 0 -300px calc(var(--gutter) - 4px); flex-direction: column; align-items: flex-start; padding: 0;
    background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; border-radius: 0; }
  .rail::before { content: ""; position: absolute; left: 4px; top: 12px; bottom: 12px; width: 1px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.04)); }
  .rail li { justify-content: flex-start; align-items: center; }
  .rail a { position: relative; min-width: 0; height: 24px; padding: 0 0 0 22px; background: none; justify-content: flex-start; font-size: 0.78rem; }
  .rail a::before { content: ""; position: absolute; left: 1px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: currentColor; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
  .rail a:hover { color: var(--soft); }
  .rail a[aria-current="step"] { color: var(--glass); background: none; }
  .rail a[aria-current="step"]::before { transform: scale(1.7); box-shadow: 0 0 0 4px rgba(79, 209, 255, 0.18), 0 0 16px rgba(79, 209, 255, 0.8); }

  .step { min-height: 88vh; align-items: center; padding: 0 0 0 calc(var(--gutter) + 68px); scroll-margin-top: 0; }
  .card { position: static; width: min(30rem, 38vw); padding: 0; border-radius: 0; background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .card h3 { font-size: clamp(2rem, 3.1vw, 3rem); margin: 12px 0 16px; line-height: 1.04; letter-spacing: -0.03em; }
  .card > p:not(.when):not(.warn) { font-size: 1.1rem; }
  .fuel { margin-top: 24px; }
  .js .card { opacity: 0.2; transform: translateY(14px); transition: opacity 0.6s var(--ease), transform 0.7s var(--ease); }
  .js .step.is-active .card { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------------ the sheet: slides up over him like a card */
.sheet { position: relative; z-index: 5; background: var(--night); border-radius: 36px 36px 0 0; box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.12), 0 -40px 90px rgba(0, 0, 0, 0.55); overflow: clip; }
.head { max-width: 46rem; margin: 0 auto; text-align: center; }
.head h2, .closing h2 { margin: 16px 0 20px; font-size: clamp(2.5rem, 6.6vw, 5.4rem); font-weight: 800; line-height: 0.98; letter-spacing: -0.04em; text-wrap: balance; }

.app { padding: clamp(84px, 13vw, 170px) 0 clamp(60px, 9vw, 120px); background: radial-gradient(60% 34% at 50% 0%, rgba(79, 209, 255, 0.12), rgba(79, 209, 255, 0) 70%); }
.bento { display: grid; gap: 16px; margin-top: clamp(44px, 7vw, 88px); }
.tile { position: relative; overflow: clip; border-radius: 32px; padding: clamp(26px, 3.4vw, 44px); border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(26, 62, 98, 0.62), rgba(11, 32, 56, 0.62)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12); }
.tile h3 { font-size: clamp(1.55rem, 2.5vw, 2.15rem); font-weight: 800; line-height: 1.06; letter-spacing: -0.03em; text-wrap: balance; }
.tile p { margin-top: 12px; color: var(--muted); max-width: 30rem; text-wrap: pretty; }
.phone { position: relative; width: min(290px, 78%); margin: 34px auto calc(clamp(26px, 3.4vw, 44px) * -1 - 90px); padding: 9px; border-radius: 52px; background: #05090f;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16), inset 0 0 0 1.5px rgba(255, 255, 255, 0.06), 0 40px 80px rgba(0, 0, 0, 0.55), 0 0 90px rgba(79, 209, 255, 0.12); }
.phone img { width: 100%; height: auto; border-radius: 43px; }
.tile-private .glyph { color: var(--glass); margin-bottom: 22px; }
.journals { margin: 0 0 22px; font-size: clamp(1.7rem, 3.2vw, 2.6rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; color: rgba(214, 238, 255, 0.26); }
.tile p.journals { margin-top: 0; max-width: none; }
.journals i { font-style: normal; color: var(--glass); }
@media (min-width: 900px) {
  .bento { grid-template-columns: repeat(12, 1fr); gap: 20px; }
  .tile-fast { grid-column: span 7; display: grid; grid-template-columns: 1fr auto; gap: 24px; min-height: 600px; }
  .tile-fast .tile-copy { align-self: center; }
  .tile-fast .phone { width: 280px; margin: 0 8px calc(clamp(26px, 3.4vw, 44px) * -1 - 110px) 0; align-self: start; }
  .tile-history { grid-column: span 5; min-height: 600px; }
  .tile-history .phone { width: 250px; margin-bottom: calc(clamp(26px, 3.4vw, 44px) * -1 - 230px); }
  .tile-private { grid-column: span 5; }
  .tile-sourced { grid-column: span 7; display: grid; grid-template-columns: auto 1fr; column-gap: 44px; align-items: center; }
  .tile-sourced .journals { grid-row: span 2; margin: 0; }
  .tile-sourced h3 { align-self: end; }
  .tile-sourced p:not(.journals) { align-self: start; }
}

.honest { padding: clamp(60px, 9vw, 130px) 0; }
.wont { margin-top: clamp(40px, 6vw, 80px); border-top: 1px solid var(--hair); }
.wont li { display: grid; gap: 12px 48px; padding: clamp(30px, 4.4vw, 56px) 0; border-bottom: 1px solid var(--hair); }
.wont h3 { font-size: clamp(1.75rem, 3.7vw, 3.3rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.035em; text-wrap: balance; }
.wont p { color: var(--muted); font-size: clamp(1.02rem, 1.3vw, 1.18rem); max-width: 34rem; }
.cite { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.cite, .wont p.cite { font-size: 0.82rem; font-weight: 600; }
.cite a { color: var(--ice); text-decoration: underline; text-decoration-color: rgba(159, 230, 255, 0.35); text-underline-offset: 3px; }
.cite a:hover { text-decoration-color: currentColor; }
@media (min-width: 900px) {
  .wont li { grid-template-columns: 1.15fr 1fr; align-items: start; }
  .wont h3 { grid-row: span 2; }
  .wont p:first-of-type { padding-top: 0.5em; }
}

.safety { padding: 0 0 clamp(60px, 9vw, 120px); }
.safety-card { display: grid; gap: 22px 56px; padding: clamp(28px, 4vw, 52px); border-radius: 32px; border: 1px solid rgba(255, 255, 255, 0.08); background: linear-gradient(180deg, rgba(26, 62, 98, 0.42), rgba(11, 32, 56, 0.42)); }
.safety-card h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); font-weight: 800; line-height: 1.04; letter-spacing: -0.03em; text-wrap: balance; }
.safety-card p { color: var(--muted); }
.safety-card ul { margin: 14px 0 18px; display: grid; gap: 9px; }
.safety-card li { position: relative; padding-left: 22px; }
.safety-card li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 7px; height: 7px; border-radius: 50%; background: var(--warn); }
@media (min-width: 900px) { .safety-card { grid-template-columns: 1fr 1.25fr; } }

.closing { padding: clamp(70px, 11vw, 150px) 0 clamp(80px, 12vw, 170px); text-align: center; background: radial-gradient(46% 60% at 50% 42%, rgba(79, 209, 255, 0.16), rgba(79, 209, 255, 0) 72%); }
.appicon { width: 112px; height: 112px; margin: 0 auto 30px; border-radius: 26px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16), 0 30px 70px rgba(0, 0, 0, 0.6), 0 0 110px rgba(79, 209, 255, 0.4); }

.foot { padding: 34px 0 max(40px, env(safe-area-inset-bottom)); border-top: 1px solid var(--hair); font-size: 0.88rem; color: var(--faint); }
.foot .wrap { display: grid; gap: 16px; }
.foot-brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; }
.foot-brand img { border-radius: 7px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 26px; font-weight: 600; color: var(--muted); }
.foot nav a:hover { color: var(--text); }
.legal { max-width: 46rem; line-height: 1.5; }
@media (min-width: 900px) { .foot .wrap { grid-template-columns: 1fr auto; align-items: center; } .legal { grid-column: 1 / -1; } }

/* ------------------------------------------------------------------ privacy and support: plain reading pages */
.doc { background: radial-gradient(70% 40% at 50% 0%, rgba(79, 209, 255, 0.13), rgba(79, 209, 255, 0) 70%) no-repeat, var(--night); }
.doc main { padding: clamp(130px, 16vw, 190px) 0 clamp(60px, 9vw, 110px); }
.prose { width: min(44rem, 100% - 2 * var(--gutter)); margin-inline: auto; }
.prose .eyebrow { color: var(--glass); }
.prose h1 { margin: 14px 0 18px; font-size: clamp(2.5rem, 6vw, 4.4rem); font-weight: 800; line-height: 1; letter-spacing: -0.04em; }
.prose .lede { margin-bottom: 14px; }
.prose .date { font-size: 0.86rem; color: var(--faint); }
.prose h2 { margin: 52px 0 12px; font-size: clamp(1.35rem, 2.4vw, 1.7rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.prose p, .prose li { color: var(--muted); }
.prose p + p { margin-top: 12px; }
.prose ul { margin: 12px 0; display: grid; gap: 8px; }
.prose li { position: relative; padding-left: 22px; }
.prose li::before { content: ""; position: absolute; left: 2px; top: 0.66em; width: 6px; height: 6px; border-radius: 50%; background: var(--glass); }
.prose a { color: var(--ice); text-decoration: underline; text-decoration-color: rgba(159, 230, 255, 0.4); text-underline-offset: 3px; }
.prose strong { color: var(--text); font-weight: 700; }
.contact { margin-top: 30px; padding: 26px 28px; border-radius: 28px; }
.contact p { color: var(--muted); }
.contact .mail { display: inline-block; margin-top: 6px; font-size: clamp(1.25rem, 3.4vw, 1.7rem); font-weight: 800; letter-spacing: -0.02em; color: var(--text); text-decoration: none; }

/* ------------------------------------------------------------------ motion: one system, used sparingly */
.js [data-reveal] { opacity: 0; transform: translateY(22px) scale(0.985); transition: opacity 0.8s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js [data-reveal][data-revealed] { opacity: 1; transform: none; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    /* the phones drift a little slower than their tiles: depth, not decoration */
    .phone { animation: drift linear both; animation-timeline: view(); animation-range: cover; }
    @keyframes drift { from { translate: 0 34px; } to { translate: 0 -34px; } }
    /* the headline lets go as you scroll into the hours */
    .hero-copy { animation: letgo linear both; animation-timeline: view(); animation-range: exit 10% exit 90%; }
    @keyframes letgo { to { opacity: 0; translate: 0 -40px; } }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal], .js .card { opacity: 1; transform: none; transition: none; }
  .stage canvas, .ghost { transition: none; }
}
.no3d .stage canvas, .no3d .labels, .no3d .turn { display: none; }
