/* Tale of Days waitlist. Ember theme, dark only (theme_bible.md section 1).
   Tokens first. Nothing below uses a raw colour or a size outside the scales. */

@font-face {
  font-family: "Spectral";
  src: url("/fonts/spectral-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Spectral";
  src: url("/fonts/spectral-400-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  /* Ember, dark */
  --bg: #16120F;
  --card: #1F1A16;
  --text: #EDE6DA;
  --muted: #B3A898;
  --gold: #D9A441;
  --ember: #C8472B;        /* fill only, white label */
  --ember-deep: #B23D24;   /* hover and pressed fill */
  --ember-text: #E8704F;   /* error text and error border */
  --steel: #8E9AA3;        /* field borders, decoration */
  --line: rgba(237, 230, 218, 0.16);   /* dividers, not control edges */
  --edge: #6F767C;                      /* edge of a control at rest, 3:1 or better on bg and card */
  --fog: 150, 141, 148;    /* the mist colour in the paintings */
  --bg-rgb: 22, 18, 15;    /* bg again, for see-through scrims over pictures */
  --on-ember: #FFFFFF;     /* label on the ember fill, 4.8:1 */

  /* type */
  --display: "Spectral", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --t-tiny: 0.8125rem;     /* 13, labels under pictures only */
  --t-small: 0.875rem;     /* 14 */
  --t-body: 1rem;          /* 16 */
  --t-input: 1.0625rem;    /* 17, fields and buttons */
  --t-lead: 1.125rem;      /* 18 */
  --t-mark: 1.25rem;       /* 20, wordmark and wide-screen lead */
  --t-h3: 1.375rem;        /* 22 */
  --t-h2: 1.75rem;         /* 28 */
  --t-h1: 1.9375rem;       /* 31, grows on wide screens */

  /* space: 4 8 12 16 24 32 48 72 96 */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 72px; --s9: 96px;

  --r: 12px;               /* the one corner radius */
  --r-inner: 8px;          /* a part nested inside a 12px frame */
  --wide: 1184px;          /* widest the page content gets */
  --gutter: 20px;
  --tap: 48px;             /* smallest touch target */
  --measure: 34rem;
  color-scheme: dark;
}

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 var(--t-body)/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; font: 400 var(--t-small)/1.4 var(--body); color: var(--muted); }
p { margin: 0; }
h1, h2 { margin: 0; font-family: var(--display); font-weight: 500; text-wrap: balance; }
a { color: var(--text); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold); color: var(--bg); }
[hidden] { display: none !important; }

.vh {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: var(--s4); top: -100px; z-index: 10;
  padding: var(--s3) var(--s4); background: var(--text); color: var(--bg);
  border-radius: var(--r); font-weight: 600;
}
.skip:focus { top: var(--s4); color: var(--bg); }

/* ---------- masthead ---------- */

.masthead {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s4);
  min-height: 56px; padding: 0 var(--gutter);
  max-width: var(--wide); margin: 0 auto;
}
.wordmark {
  display: inline-flex; align-items: center; min-height: var(--tap);
  font: 500 var(--t-mark)/1 var(--display); letter-spacing: 0.01em;
  color: var(--gold); text-decoration: none;
}
.wordmark:hover { color: var(--gold); text-decoration: underline; }
.masthead__cta {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s4);
  border: 1.5px solid var(--steel); border-radius: var(--r);
  font-size: var(--t-small); font-weight: 600; color: var(--text); text-decoration: none; white-space: nowrap;
}
.masthead__cta:hover { border-color: var(--text); color: var(--text); }
.masthead__cta:focus-visible { border-radius: var(--r); }

/* ---------- hero ---------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

/* small screens: the figure's parts sit straight in the hero grid, so the headline can lie on
   the picture and the note can follow under it */
.hero { position: relative; }
.stage { display: contents; }

.stage__frame {
  grid-column: 1; grid-row: 1;
  position: relative; overflow: hidden;
  aspect-ratio: 4 / 5; max-height: 64svh; width: 100%;
  background:
    radial-gradient(70% 50% at 50% 38%, rgba(var(--fog), 0.30), transparent 75%),
    var(--card);
}
.stage__frame::after {              /* scrim under the headline on small screens */
  content: ""; position: absolute; inset: auto 0 0 0; height: 58%;
  background: linear-gradient(to top, var(--bg) 4%, rgba(var(--bg-rgb), 0.82) 36%, rgba(var(--bg-rgb), 0) 100%);
  pointer-events: none;
}
.stage__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 10%;
  color: transparent;   /* if a picture fails, the fog placeholder shows; the alt text is still read aloud */
}
.stage__img.is-missing, .rank__art img.is-missing { visibility: hidden; }
.stage__img--day1 { opacity: 0; }
.stage__fog {
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background:
    radial-gradient(90% 55% at 24% 96%, rgba(var(--fog), 0.90), transparent 72%),
    radial-gradient(80% 60% at 88% 46%, rgba(var(--fog), 0.72), transparent 74%),
    radial-gradient(90% 70% at 8% 18%, rgba(var(--fog), 0.66), transparent 72%),
    linear-gradient(rgba(var(--fog), 0.50), rgba(var(--fog), 0.50));
}

/* the two states of the warrior: plain CSS, no script needed */
.hero:has(#day-one:checked) .stage__img--day1 { opacity: 1; animation: none; }
.hero:has(#day-one:checked) .stage__fog { opacity: 0.5; animation: none; }

/* the one moment of motion: on load the fog thins once */
@keyframes thin-figure { 0%, 24% { opacity: 1; } 100% { opacity: 0; } }
@keyframes thin-fog { 0%, 24% { opacity: 0.5; } 100% { opacity: 0; } }
.stage__img--day1 { animation: thin-figure 3.8s cubic-bezier(0.45, 0, 0.2, 1) backwards; }
.stage__fog { animation: thin-fog 3.8s cubic-bezier(0.45, 0, 0.2, 1) backwards; }
.stage.is-settled .stage__img--day1,
.stage.is-settled .stage__fog { animation: none; transition: opacity 1.4s cubic-bezier(0.45, 0, 0.2, 1); }

.stage__bar {
  position: absolute; top: var(--s3); left: var(--s3); right: var(--s3); z-index: 3;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s2);
}
.stage__cap {
  order: -1; white-space: nowrap;
  font-size: var(--t-small); line-height: 1.3; color: var(--text);
  padding: var(--s2) var(--s3); border-radius: var(--r);
  background: rgba(var(--bg-rgb), 0.78);
}

.stage__note { padding: var(--s3) var(--gutter) 0; font-size: var(--t-small); line-height: 1.5; color: var(--muted); }

.days {
  display: inline-flex; margin: 0; padding: 3px; border: 1px solid var(--edge);
  border-radius: var(--r); background: rgba(var(--bg-rgb), 0.78);
  min-inline-size: 0;
}
.days__opt { position: relative; display: block; cursor: pointer; }
.days__opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.days__opt span {
  display: flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 var(--s3);
  border-radius: var(--r-inner); font-size: var(--t-small); font-weight: 600; white-space: nowrap;
  color: var(--text);
}
.days__opt input:checked + span { background: var(--text); color: var(--bg); }
.days__opt input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
@supports not selector(:has(*)) { .days { display: none; } }

.hero__beat { display: block; }
.nb { white-space: nowrap; }
.hero__head {
  grid-column: 1; grid-row: 1; align-self: end; z-index: 2;
  padding: 0 var(--gutter) var(--s2);
}
/* the plain line over the headline: says what the app is before the poetry does */
.hero__kicker {
  display: inline-block; max-width: 100%; margin-bottom: var(--s2);
  padding: var(--s1) var(--s2); border-radius: var(--r-inner);
  background: rgba(var(--bg-rgb), 0.78);
  font-size: var(--t-tiny); line-height: 1.3; font-weight: 600; color: var(--text);
}
.hero__title {
  font-size: var(--t-h1); line-height: 1.14; letter-spacing: -0.008em;
}

.hero__lead {
  padding: var(--s4) var(--gutter) 0;
  font-size: var(--t-lead); line-height: 1.55; max-width: calc(var(--measure) + 2 * var(--gutter));
}

.join { padding: var(--s5) var(--gutter) 0; max-width: calc(var(--measure) + 2 * var(--gutter)); scroll-margin-top: var(--s4); }
.join__notbuilt { margin-top: var(--s4); color: var(--muted); }

/* ---------- signup form ---------- */

.signup { margin-top: var(--s5); }
.signup__card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: var(--s4);
}
.signup__label { display: block; font-size: var(--t-small); font-weight: 600; margin-bottom: var(--s2); }
.signup__input {
  display: block; width: 100%; min-height: 52px; padding: 0 var(--s4);
  background: var(--bg); color: var(--text);
  border: 1.5px solid var(--steel); border-radius: var(--r);
  font: 400 var(--t-input)/1.2 var(--body);
  appearance: none;
}
.signup__input:hover { border-color: var(--text); }
.signup__input:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-color: var(--gold); border-radius: var(--r); }
.signup__input[aria-invalid="true"] { border-color: var(--ember-text); border-width: 2px; }
.signup__input:-webkit-autofill { -webkit-text-fill-color: var(--text); box-shadow: 0 0 0 100px var(--bg) inset; caret-color: var(--text); }

.signup__error, .signup__failed {
  display: flex; gap: var(--s2); align-items: flex-start;
  margin-top: var(--s2); font-size: var(--t-small); line-height: 1.45; color: var(--ember-text);
}
.signup__error::before, .signup__failed::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 1px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Ccircle cx='9' cy='9' r='8' fill='none' stroke='%23E8704F' stroke-width='1.5'/%3E%3Cpath d='M9 4.8v5.2' stroke='%23E8704F' stroke-width='1.8' stroke-linecap='round'/%3E%3Ccircle cx='9' cy='12.9' r='1.1' fill='%23E8704F'/%3E%3C/svg%3E") center / contain no-repeat;
}
.signup__failed { margin-top: var(--s3); }

.btn {
  display: flex; align-items: center; justify-content: center; gap: var(--s2);
  width: 100%; min-height: 52px; margin-top: var(--s3); padding: 0 var(--s5);
  background: var(--ember); color: var(--on-ember);
  border: 0; border-radius: var(--r);
  font: 600 var(--t-input)/1.2 var(--body); letter-spacing: 0.005em;
  text-decoration: none; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { background: var(--ember-deep); color: var(--on-ember); }
.btn:active { background: var(--ember-deep); transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: var(--r); }
.btn[aria-disabled="true"] { cursor: progress; background: var(--ember-deep); }
.btn[aria-disabled="true"]::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.45); border-top-color: var(--on-ember);
  animation: turn 0.9s linear infinite;
}
@keyframes turn { to { transform: rotate(360deg); } }

.signup__fine { margin-top: var(--s3); font-size: var(--t-small); line-height: 1.5; color: var(--muted); }
.signup__fine--adults { margin-top: var(--s1); }
.signup__terms { margin-top: var(--s4); font-size: var(--t-small); line-height: 1.5; color: var(--muted); }
.signup__privacy { margin-top: var(--s5); font-size: var(--t-small); line-height: 1.5; color: var(--muted); }
.signup__privacy a { display: inline-block; padding: var(--s3) 0; margin: calc(-1 * var(--s3)) 0; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* sent state */
.sent { outline: none; }
.sent__mark { color: var(--gold); display: block; }
.sent__title { margin-top: var(--s2); font-size: var(--t-h3); line-height: 1.2; }
.sent__text { margin-top: var(--s2); }
.sent__text strong { font-weight: 600; overflow-wrap: anywhere; }
.sent__text--quiet { color: var(--muted); font-size: var(--t-small); }

/* ---------- coming later (the optional pick) ---------- */

.later { margin: var(--s6) 0 0; padding: var(--s5) 0 0; border: 0; border-top: 1px solid var(--line); min-inline-size: 0; }
.later__legend { float: left; width: 100%; padding: 0; font: 500 var(--t-h3)/1.2 var(--display); color: var(--text); }
.later__lead { clear: both; padding-top: var(--s2); font-size: var(--t-small); line-height: 1.5; color: var(--muted); }

.later__row {
  display: grid; grid-auto-flow: column; grid-auto-columns: 108px; gap: var(--s3);
  margin: var(--s4) calc(-1 * var(--gutter)) 0; padding: 4px var(--gutter) var(--s2);
  overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter);
  scrollbar-width: thin; scrollbar-color: var(--steel) transparent;
}
.pick { position: relative; display: block; cursor: pointer; scroll-snap-align: start; }
.pick input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.pick__art {
  position: relative; display: block; aspect-ratio: 2 / 3; overflow: hidden;
  border-radius: var(--r); border: 1px solid var(--edge);
  background: radial-gradient(80% 45% at 50% 100%, rgba(var(--fog), 0.42), transparent 75%), var(--card);
}
.pick__art img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; color: transparent;
  transform: scale(1.3); transform-origin: 50% 20%;   /* head to knee, so the figure reads at card size */
}
/* art cards sit in a little fog until picked: they are ideas, not the hero */
.pick:not(.pick--fog) .pick__art::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(95% 50% at 26% 100%, rgba(var(--fog), 0.70), transparent 72%),
    linear-gradient(rgba(var(--fog), 0.20), rgba(var(--fog), 0.20));
  transition: opacity 0.5s ease;
}
.pick:not(.pick--fog) input:checked ~ .pick__art::before { opacity: 0; }
.pick__name { display: block; padding-top: var(--s2); font-size: var(--t-small); line-height: 1.3; font-weight: 500; text-align: center; }

/* no art yet: the card is a patch of fog with the name set in it */
.pick--fog .pick__art {
  background:
    radial-gradient(95% 50% at 22% 100%, rgba(var(--fog), 0.50), transparent 72%),
    radial-gradient(80% 45% at 92% 8%, rgba(var(--fog), 0.34), transparent 74%),
    linear-gradient(rgba(var(--fog), 0.10), rgba(var(--fog), 0.10)),
    var(--card);
}
.pick--fog .pick__art img { display: none; }
.pick--fog .pick__name {
  position: absolute; inset: 0; display: grid; place-items: center; padding: var(--s2);
  font: 500 var(--t-input)/1.2 var(--display); text-wrap: balance; pointer-events: none;
}

.pick:hover .pick__art { border-color: var(--text); }
.pick input:focus-visible ~ .pick__art { outline: 2px solid var(--gold); outline-offset: 2px; }
.pick input:checked ~ .pick__art { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.pick input:checked ~ .pick__art::after {
  content: ""; position: absolute; z-index: 2; top: 6px; right: 6px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3.2 3.2L17 8.8' fill='none' stroke='%2316120F' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.pick input:checked ~ .pick__name { color: var(--gold); }

.pick-none {
  display: inline-flex; align-items: center; gap: var(--s2);
  min-height: var(--tap); margin-top: var(--s2); padding-right: var(--s3);
  font-size: var(--t-small); color: var(--muted); cursor: pointer;
}
.pick-none input {
  appearance: none; width: 20px; height: 20px; margin: 0; flex: none;
  border: 1.5px solid var(--steel); border-radius: 50%; background: var(--bg); cursor: pointer;
}
.pick-none input:checked { border-color: var(--text); background: radial-gradient(var(--text) 0 4.5px, var(--bg) 5.5px); }
.pick-none input:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.later__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--s4); min-height: var(--s5); margin-top: var(--s2); }
.later__clear {
  min-height: 44px; padding: 0; border: 0; background: none; cursor: pointer;
  font: 400 var(--t-small)/1.5 var(--body); color: var(--text); text-decoration: underline; text-underline-offset: 0.2em;
}
.later__clear:hover { color: var(--gold); }
.later__status { font-size: var(--t-small); line-height: 1.5; color: var(--text); }

/* ---------- the chronicle: what the app is ---------- */

.chronicle { padding: var(--s8) var(--gutter) 0; max-width: var(--wide); margin: 0 auto; }
.entry { padding: var(--s6) 0; border-top: 1px solid var(--line); }
.entry__title { font-size: var(--t-h2); line-height: 1.18; }
.entry > p { margin-top: var(--s3); max-width: var(--measure); }

.ranks { margin: var(--s5) 0 0; }
.ranks__row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s2); margin: 0; padding: 0; list-style: none; }
.rank__art {
  position: relative; display: block; overflow: hidden; aspect-ratio: 9 / 19;
  border-radius: var(--r-inner);
  background: radial-gradient(80% 45% at 50% 100%, rgba(var(--fog), 0.38), transparent 75%), var(--card);
}
.rank__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 46% 50%; color: transparent; overflow: hidden; }
.rank--fogged .rank__art::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(90% 55% at 30% 90%, rgba(var(--fog), 0.95), transparent 75%),
    linear-gradient(rgba(var(--fog), 0.78), rgba(var(--fog), 0.78));
}
.rank__name { display: block; padding-top: var(--s2); font-size: var(--t-tiny); line-height: 1.3; color: var(--muted); text-align: center; }
.rank__word { display: none; }
.ranks__cap { margin-top: var(--s3); font-size: var(--t-small); color: var(--muted); max-width: var(--measure); }

.line { margin: var(--s5) 0 0; padding-left: var(--s4); border-left: 2px solid var(--gold); max-width: var(--measure); }
.line p { font: italic 400 var(--t-h3)/1.35 var(--display); }
.line footer { margin-top: var(--s1); font-size: var(--t-small); color: var(--muted); }

.again { padding: var(--s5) 0 0; border-top: 1px solid var(--line); }
.btn--link { max-width: 22rem; }

/* ---------- footer ---------- */

.foot {
  margin: var(--s8) auto 0; padding: var(--s5) var(--gutter) var(--s7); max-width: var(--wide);
  font-size: var(--t-small); color: var(--muted);
}
.foot__name { color: var(--text); }
.foot__links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--s5); margin: var(--s1) 0 0; padding: 0; list-style: none; }
.foot__links li { display: flex; align-items: center; min-height: var(--tap); }
.foot__links a { display: inline-flex; align-items: center; min-height: var(--tap); color: var(--text); }

/* ---------- small pages: thanks, try again, privacy ---------- */

.page { padding: var(--s6) var(--gutter) 0; max-width: calc(var(--measure) + 2 * var(--gutter)); margin: 0 auto; }
.page h1 { font-size: var(--t-h1); line-height: 1.14; }
.page h2 { margin-top: var(--s6); font-size: var(--t-h3); line-height: 1.25; }
.page p, .page ul { margin-top: var(--s3); }
.page ul { padding-left: 1.2em; }
.page li + li { margin-top: var(--s2); }
.page .sent__mark { margin-bottom: var(--s3); }
.page__back { display: inline-flex; align-items: center; min-height: var(--tap); margin-top: var(--s5); }
.page .signup { margin-top: var(--s5); }
.note { color: var(--muted); font-size: var(--t-small); }

/* ---------- very narrow screens ---------- */

@media (max-width: 359px) {
  :root { --gutter: 16px; --t-h1: 1.75rem; }
  .stage__bar { left: var(--s2); right: var(--s2); }
  .stage__cap { padding: var(--s2) var(--s2); }
  .days__opt span { padding: 0 var(--s2); }
  .masthead__cta { padding: 0 var(--s3); }
}

/* ---------- wider screens ---------- */

@media (min-width: 560px) {
  :root { --gutter: 32px; }
  .later__row {
    grid-auto-flow: row; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-auto-columns: auto;
    margin-inline: 0; padding-inline: 0; overflow: visible;
  }
  .ranks__row { gap: var(--s3); }
  .rank__art { aspect-ratio: 2 / 3; border-radius: var(--r); }
  .rank__art img { object-position: 50% 50%; }
  .rank__n { display: none; }
  .rank__word { display: inline; }
  .signup__card { padding: var(--s5); }
}

@media (min-width: 900px) {
  :root { --t-h1: 3rem; --t-h2: 2rem; }
  .masthead { min-height: 72px; }
  .hero {
    grid-template-columns: minmax(0, 1fr) 460px; grid-template-rows: auto auto 1fr;
    column-gap: var(--s8); align-items: start;
    max-width: var(--wide); margin: 0 auto; padding: var(--s5) var(--gutter) 0;
  }
  .hero__head { align-self: start; padding: var(--s5) 0 0; }
  .hero__kicker { margin-bottom: var(--s3); padding: 0; background: none; font-size: var(--t-small); color: var(--muted); }
  .hero__title { line-height: 1.08; letter-spacing: -0.014em; }
  .hero__lead { grid-column: 1; grid-row: 2; padding: var(--s5) 0 0; font-size: var(--t-mark); max-width: var(--measure); }
  .join { grid-column: 1; grid-row: 3; padding: var(--s6) 0 0; max-width: var(--measure); }
  .stage { display: block; margin: 0; grid-column: 2; grid-row: 1 / span 3; position: sticky; top: var(--s5); }
  .stage__note { padding: var(--s3) 0 0; }
  .stage__frame { aspect-ratio: 2 / 3; max-height: calc(100svh - 176px); border-radius: var(--r); }
  .stage__frame::after { display: none; }
  .stage__img { object-position: 50% 30%; }
  .masthead__cta { display: none; }
  .chronicle { padding-top: var(--s9); }
  .entry { display: grid; grid-template-columns: 300px minmax(0, 1fr); column-gap: var(--s8); padding: var(--s7) 0; }
  .entry > * { grid-column: 2; }
  .entry > .entry__title { grid-column: 1; grid-row: 1 / span 3; }
  .entry > p { margin-top: var(--s1); }
  .entry--wide > .ranks { grid-column: 1 / -1; margin-top: var(--s6); }
  .again { padding-top: var(--s7); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .stage__img--day1, .stage__fog,
  .stage.is-settled .stage__img--day1, .stage.is-settled .stage__fog { animation: none; transition: none; }
  .btn[aria-disabled="true"]::before { animation-duration: 2.4s; }
  .btn:active { transform: none; }
  .pick:not(.pick--fog) .pick__art::before { transition: none; }
}

@media (forced-colors: active) {
  .days__opt input:checked + span { background: Highlight; color: HighlightText; }
  .pick input:checked ~ .pick__art { outline: 3px solid Highlight; }
  .btn { border: 1px solid ButtonText; }
}
