/* ==========================================================================
   Prestige — one day of the sun.

   The page is Phaeton's day at the reins, told alongside the product. Two
   tones carry it: paper (marble, daylight) and ink (night, the paintings).
   Each section names its tone; the page crossfades between them as you read.

   Type: Instrument Serif for everything a person reads, Geist Mono for the
   small labels. Accent: amber, the Heliades' tears.
   ========================================================================== */

@property --bg     { syntax: '<color>'; inherits: true; initial-value: #F1ECE3; }
@property --fg     { syntax: '<color>'; inherits: true; initial-value: #16130F; }
@property --mute   { syntax: '<color>'; inherits: true; initial-value: #6F675C; }
@property --rule   { syntax: '<color>'; inherits: true; initial-value: rgba(22, 19, 15, .14); }
@property --accent { syntax: '<color>'; inherits: true; initial-value: #A4621A; }

:root {
  --paper: #F1ECE3;
  --ink: #0E0C0A;
  --ink-2: #16130F;
  --bone: #EFE8DC;
  --amber: #E09B3D;
  --amber-hi: #F2B862;

  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gut: clamp(20px, 4.5vw, 72px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
  --start: 2.3s; /* when the hero begins, as the intro's word travels into it */
}
.no-intro { --start: .12s; }

html[data-tone="paper"] {
  --bg: #F1ECE3; --fg: #16130F; --mute: #6F675C;
  --rule: rgba(22, 19, 15, .14); --accent: #A4621A;
}
html[data-tone="ink"] {
  --bg: #0E0C0A; --fg: #EFE8DC; --mute: #948B7E;
  --rule: rgba(239, 232, 220, .14); --accent: #E6A447;
}

/* Without the script nothing crossfades, so ink sections paint themselves. */
html:not(.js) [data-tone="ink"] {
  --fg: #EFE8DC; --mute: #948B7E; --rule: rgba(239, 232, 220, .14); --accent: #E6A447;
  background: var(--ink); color: var(--fg);
}

/* ── Base ─────────────────────────────────────────────────────────────── */

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

html {
  background: var(--bg);
  color: var(--fg);
  transition: --bg 1s var(--ease-io), --fg 1s var(--ease-io), --mute 1s var(--ease-io),
              --rule 1s var(--ease-io), --accent 1s var(--ease-io);
  -webkit-text-size-adjust: 100%;
}
/* No scrollbar: the page still scrolls, and the day's path in the corner
   is the sense of place instead. */
html { scrollbar-width: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar { display: none; width: 0; height: 0; }

/* Native smoothing only where Lenis is not running (it would fight it). */
html:not(.lenis) { scroll-behavior: smooth; }
html.lock { overflow: hidden; }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--serif);
  font-size: clamp(1.1875rem, .95rem + .55vw, 1.4375rem);
  line-height: 1.36;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }
button, input { font: inherit; color: inherit; }
ul, ol { list-style: none; }
::selection { background: var(--amber); color: var(--ink); }

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

.mono {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .16em;
  line-height: 1.5;
  text-transform: uppercase;
}
.sep {
  display: inline-block;
  width: 22px; height: 1px;
  margin: 0 12px;
  vertical-align: middle;
  background: currentColor;
  opacity: .6;
}
.vh {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip {
  position: fixed; left: 16px; top: 16px; z-index: 200;
  padding: 10px 14px; background: var(--fg); color: var(--bg);
  transform: translateY(-200%);
}
.skip:focus { transform: none; }

.wrap {
  width: 100%;
  max-width: 1600px;
  margin-inline: auto;
  padding-inline: var(--gut);
}

.eyebrow {
  display: flex; align-items: center; gap: 14px;
  color: var(--mute);
  margin-bottom: clamp(28px, 4vh, 48px);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }

.numeral {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(40px, 4.4vw, 72px);
  line-height: 1;
  color: var(--amber);
  margin-bottom: 10px;
}

/* ── Reveals ──────────────────────────────────────────────────────────── */

html.js .rv {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 1.2s var(--ease), transform 1.2s var(--ease);
  transition-delay: var(--d, 0s);
}
html.js .rv.in { opacity: 1; transform: none; }

/* Words that rise from behind their own baseline. */
.sw {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0 .08em .14em 0;
  margin: 0 -.08em -.14em 0;
}
.sw > span {
  display: inline-block;
  transform: translate3d(0, 110%, 0);
  transition: transform 1.3s var(--ease);
  transition-delay: calc(var(--i) * 55ms);
}
.split.in .sw > span { transform: none; }

/* ── Intro ────────────────────────────────────────────────────────────── */

/* The intro never cuts away. At the handoff the hero's own wordmark takes
   the intro word's exact place, drawn at full size and shrunk to match, and
   grows back to its natural size (site.js). Shrinking a full-size word keeps
   it sharp the whole way; enlarging a small one would blur it. The paper is
   the page's own colour, so it can simply go. */
.intro {
  position: fixed; inset: 0; z-index: 120;
  display: grid; place-items: center; align-content: center; gap: 10px;
  background-color: rgba(241, 236, 227, 1); color: #16130F;
  pointer-events: none;
  /* Only if the script never arrives to hand over. */
  animation: intro-failsafe .8s ease 7s forwards;
}
.intro.is-leaving { background-color: rgba(241, 236, 227, 0); }
.intro.is-leaving .intro__word { visibility: hidden; }
.intro.is-leaving .intro__arc { opacity: 0; transform: translateY(-14px); }
.intro.is-leaving .intro__latin { animation: fade-out .5s ease forwards; }
html:not(.js) .intro, .no-intro .intro { display: none; }

.intro__arc {
  width: min(380px, 64vw); overflow: visible;
  transition: opacity .7s ease, transform 1.1s var(--ease-io);
}
.intro__path {
  fill: none; stroke: rgba(22, 19, 15, .28); stroke-width: 1;
  stroke-dasharray: 566; stroke-dashoffset: 566;
  animation: draw 1.5s var(--ease-io) .15s forwards;
}
.intro__sun {
  fill: var(--amber);
  filter: drop-shadow(0 0 8px rgba(224, 155, 61, .9));
}
.intro__word {
  font-style: italic;
  font-size: clamp(56px, 9vw, 128px);
  line-height: .9;
  letter-spacing: -.045em; /* the hero's, so the two words share a shape */
  overflow: hidden;
  margin-top: -64px;
  padding-bottom: .06em;
}
.intro__word span {
  display: block;
  padding: 0 .16em 0 .04em;
  transform: translateY(105%);
  animation: rise 1.2s var(--ease) .55s forwards;
}
.intro__latin {
  font-family: var(--mono); font-size: 10px; letter-spacing: .24em; text-transform: uppercase;
  color: #6F675C; opacity: 0;
  animation: fade-in 1s ease 1s forwards;
}

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes rise { to { transform: none; } }
@keyframes fade-in { to { opacity: 1; } }
@keyframes fade-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes intro-failsafe { to { opacity: 0; visibility: hidden; } }

/* ── Grain and cursor ─────────────────────────────────────────────────── */

.grain {
  position: fixed; inset: -50%; z-index: 130; /* over the intro too, so it never appears mid-handoff */
  width: 200%; height: 200%;
  pointer-events: none;
  opacity: .065;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .45 0 0 0 0 .4 0 0 0 1.4 -.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.1s steps(6) infinite;
}
@keyframes grain {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-3%, 2%); }
  40%  { transform: translate(2%, -4%); }
  60%  { transform: translate(-4%, -1%); }
  80%  { transform: translate(3%, 3%); }
  100% { transform: translate(0, 0); }
}

.cursor { display: none; }
@media (pointer: fine) {
  html.has-cursor .cursor {
    display: block;
    position: fixed; left: 0; top: 0; z-index: 115;
    pointer-events: none;
    mix-blend-mode: difference;
  }
  html.has-cursor, html.has-cursor a, html.has-cursor button { cursor: none; }
  html.has-cursor input { cursor: text; }
}
.cursor__ring, .cursor__dot {
  position: absolute; left: 0; top: 0;
  border-radius: 50%;
  will-change: transform;
}
.cursor__ring {
  width: 38px; height: 38px; margin: -19px 0 0 -19px;
  border: 1px solid rgba(255, 255, 255, .8);
  transition: width .5s var(--ease), height .5s var(--ease), margin .5s var(--ease),
              background-color .4s, opacity .3s;
}
.cursor__dot {
  width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px;
  background: #fff;
  transition: opacity .3s;
}
.cursor.is-link .cursor__ring {
  width: 72px; height: 72px; margin: -36px 0 0 -36px;
  background: rgba(255, 255, 255, .92);
}
.cursor.is-link .cursor__dot { opacity: 0; }
.cursor.is-text .cursor__ring, .cursor.is-text .cursor__dot,
.cursor.is-away .cursor__ring, .cursor.is-away .cursor__dot { opacity: 0; }

/* ── Navigation ───────────────────────────────────────────────────────── */

.nav {
  position: fixed; left: 0; right: 0; top: 0; z-index: 80;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px var(--gut);
  color: var(--fg);
  transition: transform .7s var(--ease), opacity .7s var(--ease);
}
html.js .nav { opacity: 0; animation: fade-in 1.2s ease calc(var(--start) + .6s) forwards; }
.nav.is-hidden { transform: translateY(-130%); }

.nav__brand { display: flex; align-items: center; gap: 11px; font-size: 24px; line-height: 1; font-style: italic; }

.nav__links { display: flex; gap: clamp(20px, 2.6vw, 44px); }
.nav__links a {
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  position: relative; padding: 6px 0;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .6s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav__cta {
  display: inline-flex; align-items: center;
  padding: 11px 18px;
  border: 1px solid currentColor; border-radius: 999px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  transition: background-color .4s, color .4s, border-color .4s;
}
.nav__cta:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }

@media (max-width: 900px) { .nav__links { display: none; } }

/* ── The day's path (progress) ────────────────────────────────────────── */

.daypath {
  position: fixed; left: var(--gut); bottom: 20px; z-index: 80;
  display: flex; align-items: flex-end; gap: 12px;
  padding: 9px 16px 9px 12px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  color: var(--mute);
  pointer-events: none;
  opacity: 0;
  transition: opacity .8s var(--ease);
}
.daypath.is-on { opacity: 1; }
.daypath svg { width: 40px; height: 21px; overflow: visible; }
.daypath path { fill: none; stroke: currentColor; stroke-opacity: .6; stroke-width: 1; }
.daypath circle { fill: var(--amber); filter: drop-shadow(0 0 5px rgba(224, 155, 61, .8)); }
.daypath__label {
  font-family: var(--mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  padding-bottom: 1px;
  transition: opacity .35s;
}
.daypath__label.is-swap { opacity: 0; }
@media (max-width: 700px) { .daypath { display: none; } }

/* ══ Hero ═══════════════════════════════════════════════════════════════ */

.hero {
  position: relative;
  height: 100svh; min-height: 620px;
  overflow: hidden;
  display: grid;
  grid-template-rows: 1fr auto;
}

.hero__sky {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0;
  animation: fade-in 2.4s ease calc(var(--start) + .4s) forwards;
}
.hero__sky path { fill: none; }
#ecliptic { stroke: var(--rule); stroke-width: 1; }
.hero__sky-band { stroke: var(--amber); stroke-opacity: .09; stroke-width: 84; }
.hero__sky-sun { fill: var(--amber); filter: drop-shadow(0 0 10px rgba(224, 155, 61, .9)); }

.hero__glow {
  position: absolute; left: 50%; top: 39%;
  width: min(82vw, 860px); aspect-ratio: 1;
  translate: -50% -50%;
  background: radial-gradient(circle, rgba(224, 155, 61, .30) 0%, rgba(224, 155, 61, .08) 38%, rgba(224, 155, 61, 0) 64%);
  opacity: 0;
  animation: fade-in 3s ease calc(var(--start) + .2s) forwards;
}

.hero__meta {
  position: absolute; top: clamp(96px, 14vh, 130px); right: var(--gut);
  color: var(--mute);
}
html.js .hero__meta { opacity: 0; animation: fade-in 1.4s ease calc(var(--start) + .9s) forwards; }

.hero__foot {
  grid-row: 1;
  align-self: end;
  position: relative;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 32px;
  padding: 0 var(--gut) clamp(18px, 3vh, 36px);
}
.hero__lede {
  max-width: 21ch;
  font-size: clamp(23px, 1.95vw, 33px);
  line-height: 1.12;
  letter-spacing: -.005em;
}
.hero__lede em { color: var(--accent); }
html.js .hero__lede { opacity: 0; transform: translateY(20px); animation: lede-in 1.4s var(--ease) calc(var(--start) + .7s) forwards; }
@keyframes lede-in { to { opacity: 1; transform: none; } }

.hero__cue { display: flex; align-items: center; gap: 14px; color: var(--mute); }
.hero__cue i {
  position: relative; display: block; width: 1px; height: 46px; overflow: hidden;
  background: var(--rule);
}
.hero__cue i::after {
  content: ""; position: absolute; inset: 0; background: var(--fg);
  transform: translateY(-100%);
  animation: cue 2.6s var(--ease-io) infinite;
}
@keyframes cue { 50% { transform: none; } 100% { transform: translateY(100%); } }
html.js .hero__cue { opacity: 0; animation: fade-in 1.2s ease calc(var(--start) + 1.1s) forwards; }

.hero__word {
  grid-row: 2;
  font-weight: 400;
  font-style: italic;
  font-size: 37vw;
  line-height: .74;
  letter-spacing: -.045em;
  text-align: center;
  white-space: nowrap;
  margin-bottom: -.035em;
  transform: translate3d(0, var(--wy, 0px), 0);
}
.hero__letters { display: block; overflow: hidden; padding-top: .06em; }
/* Italic letters lean past their own box, and Chrome clips an animated
   letter to that box, so each one carries room for its slant. */
.hero__letters > span { display: inline-block; padding: .12em .16em 0 .04em; margin: -.12em -.16em 0 -.04em; }
/* While the intro runs, the hero's own word waits unseen until the handoff. */
html.js:not(.no-intro) .hero__word { opacity: 0; animation: fade-in .01s linear 7s forwards; }
html.js.intro-done .hero__word { opacity: 1; animation: none; }

/* With no intro, the letters rise on their own. */
html.no-intro .hero__letters > span {
  transform: translate3d(0, 105%, 0);
  animation: rise 1.6s var(--ease) calc(var(--start) + var(--i, 0) * 70ms) forwards;
}
.hero__letters > span:nth-child(1) { --i: 0; }
.hero__letters > span:nth-child(2) { --i: 1; }
.hero__letters > span:nth-child(3) { --i: 2; }
.hero__letters > span:nth-child(4) { --i: 3; }
.hero__letters > span:nth-child(5) { --i: 4; }
.hero__letters > span:nth-child(6) { --i: 5; }
.hero__letters > span:nth-child(7) { --i: 6; }
.hero__letters > span:nth-child(8) { --i: 7; }

@media (max-width: 700px) {
  .hero__glow { top: 38%; }
  .hero__meta { top: 84px; right: auto; left: var(--gut); }
  .hero__foot { flex-direction: column; align-items: flex-start; gap: 18px; }
  .hero__cue { display: none; }
}

/* ══ Why ════════════════════════════════════════════════════════════════ */

.why { padding-block: clamp(140px, 26vh, 300px) clamp(120px, 20vh, 240px); }

.lit {
  max-width: 14.5em;
  font-size: clamp(36px, 4.9vw, 86px);
  line-height: 1.01;
  letter-spacing: -.018em;
}
.lit .w { opacity: var(--o, 1); transition: opacity .25s linear; }
html.js .lit .w { --o: .14; }

.why__who {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 48px);
  margin-top: clamp(90px, 16vh, 180px);
}
.why__who li {
  padding-top: 22px;
  border-top: 1px solid var(--rule);
  font-size: clamp(20px, 1.5vw, 25px);
  line-height: 1.2;
  max-width: 22ch;
}
.why__who li span { display: block; color: var(--accent); margin-bottom: 18px; }
.why__who li:nth-child(2) { --d: .12s; }
.why__who li:nth-child(3) { --d: .24s; }
@media (max-width: 800px) { .why__who { grid-template-columns: 1fr; } }

/* ══ Painting windows (the myth) ════════════════════════════════════════ */

.window {
  --ix: 33%; --iy: 21%;
  --k: 1; /* 1 = a small plate on the wall, 0 = the whole sky */
  --t: 0; /* how far the telling has come in */
  position: relative;
  height: 280vh;
}
@media (max-width: 700px) { .window { --ix: 8%; --iy: 25%; } }

.window__stick { position: sticky; top: 0; height: 100svh; overflow: hidden; }

.window__frame {
  position: absolute; inset: 0;
  clip-path: inset(calc(var(--k) * var(--iy)) calc(var(--k) * var(--ix)) round calc(var(--k) * 3px));
  background: #1a1612;
}
.window__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(calc(1.02 + var(--k) * .22)) translate3d(0, calc(var(--k) * -2%), 0);
  will-change: transform;
}
.window__scrim {
  position: absolute; inset: 0;
  opacity: var(--t);
  background:
    linear-gradient(to top, rgba(10, 8, 6, .92) 0%, rgba(10, 8, 6, .6) 34%, rgba(10, 8, 6, .12) 66%, rgba(10, 8, 6, 0) 86%),
    linear-gradient(to right, rgba(10, 8, 6, .5) 0%, rgba(10, 8, 6, 0) 62%);
}
.window--right .window__scrim {
  background:
    linear-gradient(to top, rgba(10, 8, 6, .92) 0%, rgba(10, 8, 6, .6) 34%, rgba(10, 8, 6, .12) 66%, rgba(10, 8, 6, 0) 86%),
    linear-gradient(to left, rgba(10, 8, 6, .55) 0%, rgba(10, 8, 6, 0) 62%);
}

.window__plate {
  position: absolute; left: 0; right: 0;
  top: calc(100% - var(--k) * var(--iy) + 20px);
  text-align: center;
  color: var(--mute);
  opacity: calc(var(--k) * 2.4 - 1.2);
}

.window__text {
  position: absolute;
  left: var(--gut); bottom: clamp(44px, 10vh, 120px);
  width: min(640px, calc(100% - var(--gut) * 2));
  color: #F4EDE1;
}
.window--right .window__text { left: auto; right: var(--gut); }

.window__text > * {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  filter: blur(8px);
  transition: opacity 1.2s var(--ease), transform 1.4s var(--ease), filter 1.2s var(--ease);
}
.window.is-told .window__text > * { opacity: 1; transform: none; filter: none; }
.window.is-told .window__text > :nth-child(2) { transition-delay: .08s; }
.window.is-told .window__text > :nth-child(3) { transition-delay: .2s; }
.window.is-told .window__text > :nth-child(4) { transition-delay: .36s; }
.window.is-told .window__text > :nth-child(5) { transition-delay: .5s; }

.window__title {
  font-weight: 400;
  font-size: clamp(60px, 8.6vw, 148px);
  line-height: .86;
  letter-spacing: -.03em;
}
.window__body {
  margin-top: clamp(20px, 3vh, 32px);
  max-width: 31ch;
  font-size: clamp(20px, 1.55vw, 26px);
  line-height: 1.3;
  color: rgba(244, 237, 225, .86);
}
.window__echo {
  margin-top: 18px;
  max-width: 28ch;
  font-size: clamp(22px, 1.85vw, 31px);
  line-height: 1.16;
}
.window__echo em { color: var(--amber-hi); }
.window__note {
  margin-top: clamp(24px, 4vh, 40px);
  max-width: 46ch;
  color: rgba(244, 237, 225, .6);
  text-transform: none;
  letter-spacing: .04em;
  font-size: 12px;
}
.window__note em { font-family: var(--serif); font-size: 16px; letter-spacing: 0; color: var(--amber-hi); }

/* ══ The advice ═════════════════════════════════════════════════════════ */

.advice { --p: 0; position: relative; height: 240vh; }
.advice__stick {
  position: sticky; top: 0;
  height: 100svh;
  overflow: hidden;
  display: grid; place-items: center;
}

.advice__arc {
  position: absolute; left: 50%; bottom: -2px;
  width: max(1500px, 118vw);
  translate: -50% 0;
  overflow: visible;
}
@media (max-width: 700px) { .advice__arc { width: 250vw; bottom: 4vh; } }
.advice__arc path { fill: none; }
.advice__band { stroke: var(--amber); stroke-opacity: .12; stroke-width: 72; }
.advice__edge { stroke: var(--amber); stroke-opacity: .5; stroke-width: 1; }
.advice__track { stroke: var(--accent); stroke-width: 1.4; stroke-dasharray: 1 7; stroke-linecap: round; }
.advice__sun { fill: var(--amber); }
.advice__halo { fill: var(--amber); fill-opacity: .2; }
.advice__sun { filter: drop-shadow(0 0 16px rgba(224, 155, 61, .95)); }

.advice__text {
  position: relative;
  max-width: 980px;
  padding: 0 var(--gut);
  text-align: center;
  translate: 0 6vh;
}
.advice__text .numeral { color: var(--accent); }
.advice__latin {
  font-weight: 400;
  font-size: clamp(46px, 6.6vw, 124px);
  line-height: .95;
  letter-spacing: -.028em;
  white-space: nowrap;
  opacity: clamp(0, calc(var(--p) * 4), 1);
  filter: blur(calc((1 - clamp(0, calc(var(--p) * 4), 1)) * 16px));
  transform: scale(calc(1.06 - clamp(0, calc(var(--p) * 4), 1) * .06));
}
.advice__trans {
  margin-top: 20px;
  font-style: italic;
  font-size: clamp(22px, 2vw, 32px);
  color: var(--mute);
  opacity: clamp(0, calc(var(--p) * 4 - .6), 1);
}
.advice__body {
  max-width: 34ch;
  margin: clamp(36px, 6vh, 64px) auto 0;
  font-size: clamp(20px, 1.5vw, 25px);
  line-height: 1.3;
}
.advice__turn {
  margin: 18px auto 0;
  max-width: 26ch;
  font-size: clamp(25px, 2.3vw, 38px);
  line-height: 1.12;
  --d: .15s;
}
.advice__turn em { color: var(--accent); }

/* ══ The band ═══════════════════════════════════════════════════════════ */

.band { position: relative; height: 520vh; }
.band__stick {
  position: sticky; top: 0;
  height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  grid-template-areas: "head head" "chart steps";
  column-gap: clamp(32px, 6vw, 110px);
  padding: clamp(96px, 14vh, 150px) var(--gut) clamp(36px, 8vh, 90px);
  max-width: 1600px;
  margin-inline: auto;
}
.band__head { grid-area: head; }
.band__head .eyebrow { margin-bottom: 20px; }
.band__head h2 {
  font-weight: 400;
  font-size: clamp(46px, 6vw, 108px);
  line-height: .92;
  letter-spacing: -.028em;
}
.band__head h2 em { color: var(--accent); }

.band__chart { grid-area: chart; align-self: center; min-width: 0; }
.band__axis { display: flex; justify-content: space-between; color: var(--mute); margin-bottom: 14px; gap: 12px; }
.chart { width: 100%; height: auto; overflow: visible; }

.chart .c-grid { stroke: var(--rule); stroke-width: 1; }
.chart .c-lbl { font-family: var(--mono); font-size: 11px; fill: var(--mute); letter-spacing: .06em; }
.chart .c-line { fill: none; stroke: var(--fg); stroke-opacity: .22; stroke-width: 1; transition: stroke-opacity .8s; }
.chart .c-pt { fill: var(--fg); transition: fill .8s var(--ease), opacity .8s var(--ease), r .8s var(--ease); }
.chart .c-arw {
  font-family: var(--mono); font-size: 11px; text-anchor: middle;
  fill: var(--fg);
  transition: opacity .6s var(--ease), transform .8s var(--ease);
}
.chart .c-arw.dn { fill: var(--mute); }

.chart .c-band { transform-box: fill-box; transform-origin: left center; transform: scaleX(0); transition: transform 1.8s var(--ease-io), opacity 1s; }
.chart .c-band rect, .chart .c-band path.f { fill: var(--amber); fill-opacity: .13; }
.chart .c-band line, .chart .c-band path.e { stroke: var(--amber); stroke-opacity: .7; stroke-width: 1; fill: none; }
.chart .c-band .mid { stroke-dasharray: 2 6; stroke-opacity: .5; }
.chart .c-tag { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; fill: var(--accent); opacity: 0; transition: opacity .8s var(--ease) .6s; }

/* Step 1: every session is a verdict. */
.chart[data-step="0"] .c-arw { opacity: 1; }
/* Step 2 onward: the band draws; the verdicts go quiet. */
.chart:not([data-step="0"]) .c-arw { opacity: 0; transform: translateY(-6px); }
.chart:not([data-step="0"]) .c-b1 { transform: scaleX(1); }
.chart:not([data-step="0"]) .c-b1 .c-tag { opacity: 1; }
/* Step 3: inside it, nothing is news. */
.chart[data-step="2"] .c-pt.in1, .chart[data-step="3"] .c-pt.in1 { opacity: .32; }
.chart[data-step="2"] .c-line, .chart[data-step="3"] .c-line { stroke-opacity: .1; }
/* Step 4: the climb. */
.chart[data-step="3"] .c-b1 { opacity: .45; }
.chart[data-step="3"] .c-b2 { transform: scaleX(1); }
.chart[data-step="3"] .c-b2 .c-tag { opacity: 1; }
.chart[data-step="3"] .c-pt.up { fill: var(--amber); r: 6; filter: drop-shadow(0 0 6px rgba(224, 155, 61, .8)); }
.chart[data-step="3"] .c-pt.in2 { opacity: .55; }

.band__steps { grid-area: steps; position: relative; align-self: center; min-height: 250px; }
.band__step {
  position: absolute; left: 0; right: 0; top: 0;
  padding-left: clamp(18px, 2vw, 30px);
  border-left: 1px solid var(--rule);
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  filter: blur(6px);
  transition: opacity .8s var(--ease), transform 1s var(--ease), filter .8s var(--ease);
  pointer-events: none;
}
.band__step.is-on { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.band__step span { display: block; color: var(--accent); margin-bottom: 18px; }
.band__step p { font-size: clamp(25px, 2.25vw, 40px); line-height: 1.1; letter-spacing: -.008em; max-width: 17em; }
.band__step em { color: var(--accent); }

.band__rail {
  position: absolute; right: var(--gut); bottom: clamp(36px, 8vh, 90px);
  display: flex; gap: 6px;
}
.band__rail i { width: 26px; height: 2px; background: var(--rule); transition: background-color .6s; }
.band__rail i.is-on { background: var(--amber); }

@media (max-width: 900px) {
  .band__stick {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto 1fr;
    grid-template-areas: "head" "chart" "steps";
    padding-top: 92px;
    row-gap: 3vh;
  }
  .band__steps { align-self: start; min-height: 170px; }
  .band__rail { bottom: 28px; }
  .chart .c-lbl { font-size: 24px; }
  .chart .c-tag { font-size: 20px; }
  .chart .c-arw { font-size: 18px; }
}

/* ══ What it does ═══════════════════════════════════════════════════════ */

.does { padding-block: clamp(140px, 24vh, 280px) clamp(120px, 20vh, 240px); }

.does__head {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: end;
  gap: 32px clamp(32px, 6vw, 110px);
  margin-bottom: clamp(80px, 14vh, 160px);
}
.does__head .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.does__head h2 {
  font-weight: 400;
  font-size: clamp(50px, 6.6vw, 120px);
  line-height: .92;
  letter-spacing: -.03em;
}
.does__head h2 em { color: var(--accent); }
.does__intro { max-width: 30ch; color: var(--fg); padding-bottom: .5em; }

.moments {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 40px);
  align-items: start;
}
.moment:nth-child(2) { --d: .12s; margin-top: clamp(0px, 8vh, 110px); }
.moment:nth-child(3) { --d: .24s; margin-top: clamp(0px, 16vh, 220px); }
.moment__when { display: flex; gap: 14px; color: var(--mute); }
.moment__when span { color: var(--accent); }
.moment__what {
  margin: 16px 0 28px;
  font-size: clamp(21px, 1.55vw, 26px);
  line-height: 1.2;
  min-height: 3.6em;
  max-width: 24ch;
}

.card {
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 0%;
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 2vw, 30px);
  border-radius: 24px;
  background: linear-gradient(180deg, #1B1713 0%, #110F0C 100%);
  color: var(--bone);
  box-shadow:
    0 1px 0 rgba(255, 244, 225, .07) inset,
    0 50px 90px -40px rgba(58, 36, 8, .55),
    0 18px 30px -18px rgba(20, 14, 6, .5);
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .9s var(--ease), box-shadow .9s var(--ease);
}
.card:hover { transition-duration: .25s; }
.card__sheen {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 214, 150, .13), transparent 60%);
  opacity: 0; transition: opacity .6s;
}
.card:hover .card__sheen { opacity: 1; }

.card__top {
  display: flex; justify-content: space-between; gap: 12px;
  color: rgba(239, 232, 220, .5);
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(239, 232, 220, .1);
  margin-bottom: 20px;
  font-size: 10px;
}
.card__rows > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card__rows dt { color: rgba(239, 232, 220, .5); font-size: 10px; }
.card__rows dd { font-size: 22px; }
.card__label { margin-top: 44px; color: var(--amber); font-size: 10px; }
.card__big { font-size: clamp(56px, 5vw, 84px); line-height: 1; letter-spacing: -.03em; margin-top: 4px; }
.card__big em { color: var(--amber-hi); }
.card__small { margin-top: 12px; font-size: 16px; line-height: 1.3; color: rgba(239, 232, 220, .55); }
.card__small.mono { font-size: 10px; }

.card__sentence { font-size: clamp(23px, 1.8vw, 28px); line-height: 1.14; font-style: italic; margin-bottom: 22px; }
.card__marks li {
  display: grid; grid-template-columns: 1fr 58px 58px; align-items: center; gap: 12px;
  padding: 11px 0;
  border-top: 1px solid rgba(239, 232, 220, .09);
  font-size: 18px;
}
.card__marks .mono { font-size: 9.5px; color: rgba(239, 232, 220, .45); text-align: right; }
.card__marks .mono.up { color: var(--amber); }
.card__next {
  display: flex; justify-content: space-between; gap: 12px;
  margin-top: 16px; padding-top: 16px;
  border-top: 1px solid rgba(239, 232, 220, .1);
  font-size: 10px; color: rgba(239, 232, 220, .5);
}
.card__next span { color: var(--amber); }

.glyph { position: relative; height: 16px; }
.glyph::before {
  content: ""; position: absolute; left: 0; right: 0; top: 4px; bottom: 4px;
  background: rgba(224, 155, 61, .16);
  border-top: 1px solid rgba(224, 155, 61, .5);
  border-bottom: 1px solid rgba(224, 155, 61, .5);
}
.glyph i {
  position: absolute; left: 50%; top: 50%;
  width: 6px; height: 6px; margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: var(--bone);
}
.glyph--hi i { top: 36%; left: 62%; }
.glyph--lo i { top: 64%; left: 40%; }
.glyph--up i { top: 0; left: 72%; background: var(--amber); box-shadow: 0 0 8px rgba(224, 155, 61, .9); }

.card__count { font-size: clamp(64px, 5.4vw, 92px); line-height: .95; letter-spacing: -.03em; }
.card__count em { color: var(--amber-hi); }
.card__count span { display: block; margin-top: 6px; font-size: 20px; letter-spacing: 0; color: rgba(239, 232, 220, .55); }
.card__spark { width: 100%; height: auto; margin: 26px 0 22px; overflow: visible; }
.card__spark .sb { fill: var(--amber); fill-opacity: .16; }
.card__spark .sl { fill: none; stroke: var(--bone); stroke-width: 1.5; stroke-linejoin: round; stroke-dasharray: 400; stroke-dashoffset: 400; transition: stroke-dashoffset 2.4s var(--ease-io) .5s; }
.moment.in .card__spark .sl { stroke-dashoffset: 0; }
.card__pattern { font-size: clamp(22px, 1.7vw, 27px); line-height: 1.15; font-style: italic; }

@media (max-width: 960px) {
  .does__head { grid-template-columns: 1fr; }
  .moments { grid-template-columns: 1fr; gap: 90px; }
  .moment:nth-child(n) { margin-top: 0; }
  .moment__what { min-height: 0; }
  .moment .card { max-width: 460px; }
}

/* ══ Readings ═══════════════════════════════════════════════════════════ */

.readings { padding-block: clamp(140px, 24vh, 280px) clamp(120px, 20vh, 240px); }
.readings__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 80px clamp(40px, 7vw, 130px);
}
.readings h2 {
  font-weight: 400;
  font-size: clamp(54px, 7.2vw, 132px);
  line-height: .9;
  letter-spacing: -.032em;
}
.readings h2 em { color: var(--accent); }
.readings__lede { margin-top: clamp(28px, 4vh, 44px); max-width: 31ch; font-size: clamp(21px, 1.6vw, 27px); line-height: 1.24; }

.kinds { margin-top: clamp(48px, 8vh, 90px); }
.kinds__row {
  display: grid; grid-template-columns: clamp(96px, 9vw, 140px) 1fr; gap: 18px;
  align-items: baseline;
  padding: 20px 0;
  border-top: 1px solid var(--rule);
}
.kinds__row:last-child { border-bottom: 1px solid var(--rule); }
.kinds__row:nth-child(2) { --d: .1s; }
.kinds__row:nth-child(3) { --d: .2s; }
.kinds dt { color: var(--accent); }
.kinds dd { font-size: clamp(20px, 1.6vw, 27px); line-height: 1.2; }
.kinds dd em { font-style: normal; color: var(--accent); }

.readings__art { position: relative; height: clamp(600px, 84vh, 800px); }

.issue, .sig {
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 0%;
  position: absolute;
  overflow: hidden;
  color: var(--bone);
  transform: perspective(1100px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .9s var(--ease);
}
.issue:hover, .sig:hover { transition-duration: .25s; }
.issue:hover .card__sheen, .sig:hover .card__sheen { opacity: 1; }

.issue {
  right: 0; bottom: 0;
  width: min(380px, 62%);
  aspect-ratio: 9 / 16.2;
  border-radius: 34px;
  background: #15171c;
  box-shadow: 0 1px 0 rgba(255, 244, 225, .08) inset, 0 60px 120px -40px rgba(0, 0, 0, .8);
}
.issue__art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.issue::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(14, 14, 18, .15) 0%, rgba(14, 14, 18, .1) 30%, rgba(14, 14, 18, .72) 62%, rgba(16, 16, 20, .97) 88%);
}
.issue__in {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(24px, 2.4vw, 34px);
}
.issue__top {
  display: flex; justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(239, 232, 220, .28);
  color: rgba(239, 232, 220, .7);
  font-size: 10px;
}
.issue__no { color: rgba(239, 232, 220, .6); font-size: 10px; }
.issue__title { margin-top: 12px; font-size: clamp(32px, 2.8vw, 46px); line-height: 1; letter-spacing: -.02em; }
.issue__dek { margin-top: 14px; font-style: italic; font-size: clamp(17px, 1.3vw, 21px); line-height: 1.22; color: var(--amber-hi); }
.issue__rule { display: block; width: 52px; height: 1px; margin: 22px 0 16px; background: rgba(239, 232, 220, .3); }
.issue__meta { color: rgba(239, 232, 220, .55); font-size: 9.5px; }

.sig {
  left: 0; top: 0; z-index: 1;
  width: min(310px, 52%);
  padding: clamp(22px, 2vw, 28px);
  border-radius: 26px;
  background: linear-gradient(180deg, #1a1d26 0%, #121318 100%);
  box-shadow: 0 1px 0 rgba(255, 244, 225, .07) inset, 0 50px 100px -30px rgba(0, 0, 0, .85);
}
.sig__label { color: rgba(239, 232, 220, .55); font-size: 9.5px; }
.sig__print { width: 72%; margin: 22px auto 20px; color: rgba(239, 232, 220, .8); }
.sig__print svg { width: 100%; height: auto; overflow: visible; }
html.js .print path {
  stroke-dasharray: 1 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 2.4s var(--ease-io);
  transition-delay: calc(var(--i) * 28ms + .2s);
}
html.js .sig.in .print path { stroke-dashoffset: 0; }
.sig__cap { font-size: 15px; line-height: 1.3; color: rgba(239, 232, 220, .55); }
.sig__says { margin-top: 12px; font-size: clamp(20px, 1.6vw, 25px); line-height: 1.12; font-style: italic; color: var(--amber-hi); }

.versus {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px clamp(40px, 7vw, 130px);
  margin-top: clamp(120px, 20vh, 240px);
}
.versus__col { padding-top: 26px; border-top: 1px solid var(--rule); }
.versus__col--us { border-top-color: var(--amber); --d: .12s; }
.versus__col .mono { color: var(--mute); }
.versus__col--us .mono { color: var(--accent); }
.versus blockquote {
  margin-top: 22px;
  font-size: clamp(26px, 2.5vw, 42px);
  line-height: 1.1;
  letter-spacing: -.012em;
}
.versus__col--them blockquote { color: var(--mute); }
.versus__note { margin-top: 20px; font-style: italic; color: var(--mute); }
.versus__col--us .versus__note { color: var(--fg); }

.readings__coda {
  margin-top: clamp(80px, 14vh, 160px);
  font-size: clamp(30px, 3.4vw, 58px);
  line-height: 1.04;
  letter-spacing: -.016em;
}
.readings__coda { max-width: calc(24ch + var(--gut) * 2); margin-left: max(0px, calc((100% - 1600px) / 2)); }

@media (max-width: 960px) {
  .readings__top { grid-template-columns: 1fr; }
  .readings__art { height: auto; display: flex; flex-direction: column; gap: 22px; }
  .issue, .sig { position: relative; inset: auto; }
  .issue { width: min(84%, 380px); }
  .sig { width: min(84%, 340px); align-self: flex-end; }
  .versus { grid-template-columns: 1fr; }
}

/* ══ Compared ═══════════════════════════════════════════════════════════ */

.compare { padding-block: clamp(140px, 24vh, 280px); }
.compare__h {
  font-weight: 400;
  font-size: clamp(52px, 8.4vw, 156px);
  line-height: .9;
  letter-spacing: -.034em;
}
.compare__h > span { display: block; }
.compare__h em { color: var(--accent); }

.table { margin-top: clamp(80px, 14vh, 170px); }
.table__row {
  display: grid;
  grid-template-columns: minmax(0, 2.3fr) repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--rule);
}
.table__row:last-child { border-bottom: 1px solid var(--rule); }
.table__row > * { padding: clamp(18px, 2.6vh, 28px) clamp(10px, 1.4vw, 22px); }
.table__row > :first-child { padding-left: 0; }
.table__row [role="rowheader"] { font-size: clamp(19px, 1.7vw, 28px); line-height: 1.15; }
.table__row [role="cell"] { font-size: clamp(17px, 1.4vw, 23px); }
.table__row--head > * { color: var(--mute); padding-block: 18px; }
.table__row--head .is-us { color: var(--accent); }
.table .is-us { background: rgba(224, 155, 61, .07); }
.table .no { color: var(--mute); }
.table .yes.is-us { color: var(--accent); font-style: italic; }
.table .no.is-us { color: var(--fg); font-style: italic; }
.table__row:nth-child(3) { --d: .06s; }
.table__row:nth-child(4) { --d: .12s; }
.table__row:nth-child(5) { --d: .18s; }
.table__row:nth-child(6) { --d: .24s; }

.compare__coda {
  margin-top: clamp(80px, 14vh, 160px);
  max-width: 20ch;
  font-size: clamp(32px, 3.8vw, 64px);
  line-height: 1.02;
  letter-spacing: -.018em;
}
.compare__coda em { color: var(--accent); }

@media (max-width: 700px) {
  .table__row { grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, .8fr)); }
  .table__row--head .mono { font-size: 8.5px; letter-spacing: .1em; }
  .table__row > * { padding-inline: 6px; }
}

/* ══ What it will never do ══════════════════════════════════════════════ */

.never { padding-block: clamp(140px, 24vh, 280px) clamp(80px, 12vh, 140px); }
.never__list { border-bottom: 1px solid var(--rule); }
.never__line {
  display: grid;
  grid-template-columns: clamp(44px, 7vw, 120px) 1fr;
  align-items: baseline;
  padding: clamp(18px, 3.4vh, 40px) 0;
  border-top: 1px solid var(--rule);
}
.never__line .mono { color: var(--accent); }
.never__text {
  font-size: clamp(46px, 7.8vw, 144px);
  line-height: .92;
  letter-spacing: -.032em;
}
.never__text em { transition: color .6s var(--ease); }
.never__line:hover .never__text em { color: var(--accent); }
html.js .never__text {
  clip-path: inset(-10% 100% -20% 0);
  transition: clip-path 1.6s var(--ease-io);
}
html.js .never__line.in .never__text { clip-path: inset(-10% -2% -20% 0); }

.never__foot {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px clamp(32px, 6vw, 110px);
  margin-top: clamp(60px, 10vh, 120px);
  margin-left: clamp(44px, 7vw, 120px);
}
.never__foot p { max-width: 30ch; font-size: clamp(21px, 1.6vw, 27px); line-height: 1.24; }
.never__foot p + p { --d: .12s; }
.never__foot a {
  display: inline-block; margin-top: 12px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent);
  border-bottom: 1px solid currentColor; padding-bottom: 3px;
}

.fit {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px clamp(32px, 6vw, 110px);
  margin-top: clamp(120px, 20vh, 240px);
}
.fit__h { color: var(--mute); margin-bottom: 18px; }
.fit__col--not { --d: .12s; }
.fit li {
  padding: 16px 0;
  border-top: 1px solid var(--rule);
  font-size: clamp(22px, 1.8vw, 30px);
  line-height: 1.15;
}
.fit__col--not li { color: var(--mute); }

@media (max-width: 800px) {
  .never__foot, .fit { grid-template-columns: 1fr; }
  .never__foot { margin-left: 0; }
}

/* ══ Your history ═══════════════════════════════════════════════════════ */

.history {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  align-items: center;
  gap: 60px clamp(40px, 7vw, 130px);
  padding-block: clamp(100px, 16vh, 200px) clamp(140px, 24vh, 280px);
}
.history h2 {
  font-weight: 400;
  font-size: clamp(48px, 5.8vw, 104px);
  line-height: .92;
  letter-spacing: -.03em;
  margin-bottom: clamp(28px, 4vh, 44px);
}
.history h2 em { color: var(--accent); }
.history__text p:not(.eyebrow) { max-width: 32ch; }

.years { width: 100%; height: auto; overflow: visible; }
.years .d { fill: var(--fg); opacity: 0; transition: opacity .6s var(--ease); }
.years.in .d { opacity: .55; }
.years .d.up { fill: var(--amber); }
.years.in .d.up { opacity: 1; }
.years .yb { fill: var(--amber); fill-opacity: .14; stroke: var(--amber); stroke-opacity: .55; stroke-width: 1; vector-effect: non-scaling-stroke; opacity: 0; transition: opacity 1.4s var(--ease) 1.9s; }
.years.in .yb { opacity: 1; }
.years .yl { stroke: var(--rule); stroke-width: 1; vector-effect: non-scaling-stroke; }
.years__labels { display: flex; justify-content: space-between; color: var(--mute); margin-top: 14px; font-size: 10px; }
.years__labels span:last-child { color: var(--accent); }

@media (max-width: 900px) { .history { grid-template-columns: 1fr; } }

/* ══ Close ══════════════════════════════════════════════════════════════ */

.close {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: clamp(120px, 22vh, 260px) var(--gut) clamp(80px, 12vh, 140px);
  text-align: center;
  overflow: hidden;
}
.close::before {
  content: ""; position: absolute; left: 50%; top: 58%;
  width: min(120vw, 1300px); aspect-ratio: 1;
  translate: -50% -50%;
  background: radial-gradient(circle, rgba(224, 155, 61, .16), rgba(224, 155, 61, 0) 58%);
  pointer-events: none;
}

.close__figure {
  position: relative;
  width: clamp(120px, 12vw, 170px);
  aspect-ratio: 1;
  border-radius: 22.5%; /* an app icon's corner */
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(224, 155, 61, .5), 0 0 0 10px rgba(224, 155, 61, .06), 0 0 80px rgba(224, 155, 61, .28);
  animation: float 7s ease-in-out infinite;
}
.close__figure img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) sepia(.25) contrast(1.05); }
@keyframes float { 50% { transform: translateY(-12px); } }

.close__pre {
  position: relative;
  margin-top: clamp(48px, 8vh, 90px);
  max-width: 20ch;
  font-size: clamp(28px, 3vw, 50px);
  line-height: 1.04;
  color: var(--mute);
}
.close__h {
  position: relative;
  font-weight: 400;
  font-size: clamp(84px, 14vw, 260px);
  line-height: .86;
  letter-spacing: -.04em;
  color: var(--amber);
  text-shadow: 0 0 80px rgba(224, 155, 61, .35);
  margin: 14px 0 clamp(48px, 8vh, 90px);
}

.access { position: relative; width: min(600px, 100%); }
.access__row {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 8px 8px 0;
  border-bottom: 1px solid var(--rule);
  transition: border-color .4s;
}
.access__row:focus-within { border-color: var(--amber); }
.access__input {
  flex: 1; min-width: 0;
  background: transparent; border: 0; outline: 0;
  font-size: clamp(22px, 2vw, 30px);
  padding: 12px 0;
}
.access__input::placeholder { color: var(--mute); opacity: .7; }
.access__btn {
  flex: none;
  padding: 15px 22px;
  border: 0; border-radius: 999px;
  background: var(--amber); color: var(--ink);
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  cursor: pointer;
  transition: background-color .4s, box-shadow .6s var(--ease);
}
.access__btn:hover { background: var(--amber-hi); box-shadow: 0 0 40px rgba(224, 155, 61, .45); }
.access__btn:disabled { opacity: .6; }
.access__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.access__note { margin-top: 16px; color: var(--mute); text-align: left; }
.access.is-err .access__note { color: #E48A6B; }
.access.is-ok .access__note { color: var(--amber); }
@media (max-width: 520px) {
  .access__row { flex-direction: column; align-items: stretch; border: 0; padding: 0; }
  .access__input { border-bottom: 1px solid var(--rule); text-align: center; }
  .access__btn { padding: 18px; }
  .access__note { text-align: center; }
}

.close__again {
  position: relative;
  display: inline-flex; align-items: center; gap: 14px;
  margin-top: clamp(80px, 14vh, 160px);
  color: var(--mute);
  transition: color .4s;
}
.close__again i {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 12px rgba(224, 155, 61, .9);
  transition: transform .8s var(--ease);
}
.close__again:hover { color: var(--fg); }
.close__again:hover i { transform: translateY(-8px); }

/* ══ Footer ═════════════════════════════════════════════════════════════ */

.foot {
  --mx: 50%; --my: 50%;
  position: relative;
  padding: 0 var(--gut) 22px;
  overflow: hidden;
}
.foot__word {
  font-style: italic;
  font-size: 37vw;
  line-height: .74;
  letter-spacing: -.045em;
  text-align: center;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px var(--rule);
  background: radial-gradient(circle at var(--mx) var(--my), rgba(224, 155, 61, .95) 0, rgba(224, 155, 61, 0) 14vw) no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  padding-top: .06em;
  margin-inline: calc(var(--gut) * -1);
}
.foot__row {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px 28px;
  padding-top: 22px;
  margin-top: 28px;
  border-top: 1px solid var(--rule);
  color: var(--mute);
  padding-right: 90px; /* room for nothing; the day path sits left */
}
.foot__links { display: flex; gap: 28px; }
.foot__links a { transition: color .3s; }
.foot__links a:hover { color: var(--fg); }
@media (max-width: 700px) { .foot__row { flex-direction: column; padding-right: 0; padding-bottom: 50px; } }

/* ══ Privacy ════════════════════════════════════════════════════════════ */

.legal { padding-block: clamp(150px, 24vh, 260px) clamp(100px, 16vh, 180px); }
.legal__head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px clamp(40px, 7vw, 130px);
  align-items: end;
  padding-bottom: clamp(60px, 10vh, 110px);
  border-bottom: 1px solid var(--rule);
}
.legal__head h1 {
  font-weight: 400;
  font-size: clamp(56px, 8vw, 148px);
  line-height: .88;
  letter-spacing: -.034em;
}
.legal__head h1 em { color: var(--accent); }
.legal__head p { max-width: 30ch; }
.legal__date { color: var(--mute); margin-top: 18px; }

.legal__body { margin-top: clamp(40px, 8vh, 90px); }
.legal__sec {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 12px clamp(40px, 7vw, 130px);
  padding: clamp(28px, 5vh, 52px) 0;
  border-bottom: 1px solid var(--rule);
}
.legal__sec h2 { font-weight: 400; font-size: clamp(28px, 2.6vw, 42px); line-height: 1.02; letter-spacing: -.012em; }
.legal__sec p { max-width: 36em; }
.legal__sec p + p { margin-top: 1em; }
.legal__sec a { color: var(--accent); border-bottom: 1px solid currentColor; }
.legal__sec strong { font-weight: 400; font-style: italic; color: var(--accent); }
@media (max-width: 800px) { .legal__head, .legal__sec { grid-template-columns: 1fr; } }

/* ══ Less motion ════════════════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .grain, .hero__sky-sun, .cursor { display: none !important; }
  html.js .lit .w { --o: 1; }
}
