/* =========================================================================
   Utopia — stylesheet
   Paper, ink and one bronze. Everything is drawn; only the market has colour.
   ========================================================================= */

@font-face { font-family: "IM Fell English"; src: url("../fonts/im-fell-english.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IM Fell English"; src: url("../fonts/im-fell-english-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Alegreya"; src: url("../fonts/alegreya.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Alegreya"; src: url("../fonts/alegreya-italic.woff2") format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Alegreya Sans"; src: url("../fonts/alegreya-sans-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  /* Colour */
  --paper: #ffffff;
  --ink: #000000;        /* headings, rules, cards */
  --graphite: #3b3b38;   /* body text */
  --pencil: #8e8e88;     /* hairlines, captions, quiet UI */
  --bronze: #7a5a2e;     /* the single accent: links, focus, the climb line */
  --bone: #ede6d6;       /* the hollow: the only coloured band */

  /* Type */
  --display: "IM Fell English", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --text: "Alegreya", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --ui: "Alegreya Sans", "Gill Sans", "Segoe UI", system-ui, sans-serif;

  /* Scale (≈ 1.25 at small sizes, opening up for display) */
  --step--1: 0.9rem;
  --step-0: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-1: clamp(1.3rem, 1.2rem + 0.4vw, 1.5rem);
  --step-2: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem);
  --step-3: clamp(2.25rem, 1.6rem + 2.8vw, 3.75rem);
  --step-hero: clamp(4.25rem, 2rem + 11vw, 10.5rem);

  /* Space */
  --gutter: clamp(1rem, 4vw, 3.5rem);
  --header-h: 4rem;
  --station-pad: clamp(6rem, 16vh, 11rem);
  --measure: 34rem;

  --ease-out: cubic-bezier(.2, .7, .2, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  background: var(--paper);
}
html.climb-pending body { opacity: 0; }

body {
  margin: 0;
  background: transparent; /* the page colour lives on <html>, so the sky (.air) can sit between them */
  color: var(--graphite);
  font-family: var(--text);
  font-size: var(--step-0);
  line-height: 1.6;
  font-variant-numeric: oldstyle-nums;
  overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; color: var(--ink); font-family: var(--display); font-weight: 400; line-height: 1.05; }
a { color: var(--bronze); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--ink); }
.nowrap { white-space: nowrap; }

:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; border-radius: 2px; }

.skip-link {
  position: fixed; left: var(--gutter); top: .75rem; z-index: 100;
  padding: .5rem .9rem; background: var(--ink); color: var(--paper);
  font-family: var(--ui); font-size: var(--step--1); text-decoration: none;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; color: var(--paper); }

/* ---------- Buttons ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 2.9rem; padding: .55rem 1.35rem;
  border: 1.5px solid var(--ink); border-radius: 999px;
  background: var(--ink); color: var(--paper);
  font-family: var(--ui); font-weight: 500; font-size: 1rem; line-height: 1.1; letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.button:hover { background: var(--bronze); border-color: var(--bronze); color: var(--paper); }
.button--quiet { background: transparent; color: var(--ink); }
.button--quiet:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.button--small { min-height: 2.4rem; padding: .35rem 1rem; font-size: .95rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0 var(--gutter);
  padding-top: env(safe-area-inset-top);
  background: rgb(255 255 255 / .86);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgb(0 0 0 / .08);
}
.wordmark { display: block; line-height: 0; text-decoration: none; }
.wordmark img { height: calc(var(--header-h) - 1rem); width: auto; transition: transform .3s var(--ease-out); }
.wordmark:hover img { transform: scale(1.04); }
.site-nav { display: flex; align-items: center; gap: clamp(.9rem, 2.4vw, 1.75rem); }
.site-nav__link {
  font-family: var(--ui); font-weight: 500; font-size: .98rem;
  color: var(--ink); text-decoration: none;
}
.site-nav__link:hover { color: var(--bronze); text-decoration: underline; }

/* ---------- Altitude meter ---------- */
.altitude {
  position: fixed; z-index: 40;
  right: clamp(.6rem, 1.6vw, 1.6rem);
  top: calc(var(--header-h) + 8vh); bottom: 8vh;
  width: 1.5rem;
  pointer-events: none;
}
.altitude__track {
  position: absolute; left: 50%; top: 0; bottom: 0; width: 1px;
  background: rgb(0 0 0 / .14);
  transform: translateX(-50%);
}
.altitude__fill {
  position: absolute; left: -0.5px; right: -0.5px; bottom: 0; height: 100%;
  background: var(--bronze);
  transform-origin: bottom;
  transform: scaleY(var(--progress, 0));
  width: 2px;
}
.altitude__stations {
  position: absolute; inset: 0; margin: 0; padding: 0; list-style: none;
  display: flex; flex-direction: column-reverse; justify-content: space-between; align-items: center;
}
.altitude__stations a {
  pointer-events: auto;
  position: relative; display: grid; place-items: center;
  width: 1.5rem; height: 1.5rem; border-radius: 50%;
  text-decoration: none;
}
.altitude__stations a::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%;
  background: var(--paper); border: 1.5px solid var(--pencil);
  transition: background-color .25s ease, border-color .25s ease, transform .25s ease;
}
.altitude__stations a span {
  position: absolute; right: calc(100% + .35rem); top: 50%;
  transform: translateY(-50%);
  padding: .1rem .5rem;
  background: rgb(255 255 255 / .9);
  font-family: var(--display); font-style: italic; font-size: 1.05rem; line-height: 1.3;
  color: var(--pencil); white-space: nowrap;
  opacity: 0; transition: opacity .25s ease, color .25s ease;
}
.altitude__stations a.is-passed::before { border-color: var(--bronze); background: var(--bronze); }
.altitude__stations a.is-here::before { border-color: var(--ink); background: var(--ink); transform: scale(1.25); }
.altitude__stations a.is-here span { color: var(--ink); }
@media (min-width: 1360px) {
  .altitude__stations a.is-here span { opacity: 1; }
}
.altitude__stations a:hover span,
.altitude__stations a:focus-visible span { opacity: 1; color: var(--ink); }


.button--large { min-height: 3.5rem; padding: .7rem 1.9rem; font-size: 1.15rem; }
.button__aside { font-family: var(--display); font-style: italic; font-weight: 400; font-size: 1.1em; opacity: .85; }

.altitude__tip {
  position: absolute; left: 50%; top: -1.15rem;
  width: 1rem; height: .75rem;
  transform: translateX(-50%);
  color: var(--bronze);
}

/* ---------- The ascent: sections in reverse ---------- */
.climb { display: flex; flex-direction: column-reverse; overflow-x: clip; } /* art may bleed off the edges, never past them */

/* ---------- The air: what drifts past as you climb (built by main.js) ---------- */
.air {
  /* behind everything, so the sketches still blend (multiply) into the sky */
  position: absolute; left: 0; top: 0; width: 100%; z-index: -1;
  overflow: hidden; pointer-events: none;
  background: none; /* the page stays pure white; only the drawings move */
}
.air__defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.air__glory {
  position: absolute; left: 50%; top: 0;
  width: 2600px; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: repeating-conic-gradient(from 0deg, rgb(122 90 46 / .14) 0deg .25deg, transparent .25deg 3deg);
  -webkit-mask-image: radial-gradient(circle, transparent 6%, #000 14%, transparent 48%);
  mask-image: radial-gradient(circle, transparent 6%, #000 14%, transparent 48%);
}
.air__layer { position: absolute; left: 0; top: 0; width: 100%; will-change: transform; }
.mote {
  position: absolute; display: block; overflow: visible;
  color: var(--graphite);
  fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round;
}
.air path, .air circle { vector-effect: non-scaling-stroke; }
.mote--mote { fill: currentColor; stroke: none; }
.mote--cloud { fill: var(--paper); stroke-width: 1.2; }
.mote--spark { color: var(--bronze); }
.mote--leaf, .mote--leaf2 { transform: rotate(var(--r)); animation: sway var(--d) ease-in-out var(--delay) infinite alternate; }
.mote--bird { animation: flap calc(var(--d) / 6) ease-in-out var(--delay) infinite alternate; }
.mote--butterfly { animation: flutter calc(var(--d) / 8) ease-in-out var(--delay) infinite alternate; }
.mote--spark { animation: twinkle var(--d) ease-in-out var(--delay) infinite alternate; }
@keyframes sway {
  from { transform: translateX(-7px) rotate(calc(var(--r) - 16deg)); }
  to { transform: translateX(7px) rotate(calc(var(--r) + 16deg)); }
}
@keyframes flap { from { transform: scaleY(1); } to { transform: scaleY(.4) translateY(3px); } }
@keyframes flutter { from { transform: scaleX(1); } to { transform: scaleX(.35); } }
@keyframes twinkle { from { opacity: .15; } to { opacity: .8; } }

/* Framed art: the picture shifts a little inside its frame as you rise past it */
.window { display: block; overflow: hidden; }
.window img, .arch img { transform: scale(1.12); will-change: transform; }

/* Altitude readout above the meter */
.altitude__readout {
  position: absolute; right: -.3rem; top: -2.8rem;
  padding: .2rem .35rem;
  background: rgb(255 255 255 / .88);
  border-radius: 3px;
  font-family: var(--display); font-style: italic; font-size: .95rem; line-height: 1;
  color: var(--bronze); white-space: nowrap;
  font-variant-numeric: lining-nums tabular-nums;
}

/* ---------- 1. Start (the bottom of the page) ----------
   Not the story yet: the logo, rays of light drawn as lines shining down from
   above, the way up in the middle, and the cards on the ground. */
.start {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding-top: var(--header-h);
  overflow: hidden;
}
.start__rays {
  position: absolute; left: 0; top: 0; width: 100%; height: 100%;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgb(0 0 0 / .85) 35%, transparent 78%);
  mask-image: linear-gradient(to bottom, #000 0%, rgb(0 0 0 / .85) 35%, transparent 78%);
}
.start__rays line { stroke: var(--bronze); stroke-linecap: round; vector-effect: non-scaling-stroke; }
.start__rays .ray { animation: ray-shine 6s ease-in-out var(--d) infinite alternate; }
@keyframes ray-shine { from { opacity: var(--o1); } to { opacity: var(--o2); } }

.start__intro {
  position: relative; z-index: 3;
  text-align: center;
  padding: clamp(.75rem, 3vh, 2.5rem) var(--gutter) 0;
}
.start__title { margin: 0; line-height: 1; }
.start__logo {
  display: block; margin: 0 auto;
  width: min(42rem, 86vw, 54vh);
  height: auto;
  filter: drop-shadow(0 .6rem 1.4rem rgb(40 60 160 / .18));
}
.start__actions {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: .85rem clamp(1rem, 3vw, 2.5rem);
  margin-top: clamp(.75rem, 2.5vh, 1.75rem);
}

/* "Scroll up to ascend": in the middle, between the two ways in */
.ascend-cue {
  display: flex; flex-direction: column; align-items: center; gap: .3rem;
  color: var(--ink); text-decoration: none;
}
.ascend-cue:hover { color: var(--bronze); }
.ascend-cue:hover .ascend-cue__arrow path { stroke: var(--ink); }
.ascend-cue__text {
  font-family: var(--display); font-style: italic;
  font-size: clamp(1.2rem, 1rem + .6vw, 1.6rem); line-height: 1.05;
  text-align: center;
}
.ascend-cue__arrow {
  width: auto; height: clamp(3.5rem, 9vh, 5.5rem);
  overflow: visible;
  animation: rise 2.6s var(--ease-out) infinite;
}
.ascend-cue__arrow path {
  fill: none; stroke: var(--bronze);
  stroke-width: 4; stroke-linecap: round; stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
@keyframes rise {
  0% { transform: translateY(14px); opacity: .35; }
  55% { transform: translateY(-4px); opacity: 1; }
  100% { transform: translateY(-4px); opacity: 1; }
}
.ascend-cue.is-nudged { animation: nudge .6s var(--ease-out); }
@keyframes nudge {
  0%, 100% { transform: translateY(0); }
  30% { transform: translateY(-16px); }
  60% { transform: translateY(4px); }
}

/* ---------- The ground: the cards rise out of it when the page opens ---------- */
.start__stage {
  position: relative;
  /* room for the cards: their height plus the ground below them */
  min-height: calc(min(11.5vw, 19vh) * 1.85 + clamp(3.5rem, 10vh, 7rem) + 1rem);
}
.start__stage::after {
  /* a pencil line for the ground */
  content: ""; position: absolute; left: 8%; right: 8%; bottom: clamp(3.4rem, 9.6vh, 6.9rem);
  height: 1px;
  background: linear-gradient(to right, transparent, rgb(0 0 0 / .35) 20%, rgb(0 0 0 / .35) 80%, transparent);
}

/* ---------- The cards: they rise out of the ground, stand in an arc and float ---------- */
.fan {
  --cw: clamp(6.2rem, min(11.5vw, 19vh), 10.5rem);
  --gap: calc(var(--cw) * .14);
  position: absolute; left: 0; right: 0;
  bottom: clamp(3.5rem, 10vh, 7rem);
  height: calc(var(--cw) * 1.85);
  margin: 0; padding: 0; list-style: none;
  /* the ground line: cards rise out from below it */
  clip-path: inset(-200% -100vw 0 -100vw);
}
.card {
  position: absolute; left: 50%; bottom: calc(var(--cw) * .1);
  width: var(--cw);
  margin-left: calc(var(--cw) / -2);
  /* an arc like a canopy: the centre card stands tallest */
  transform:
    translateX(calc(var(--i) * (var(--cw) + var(--gap))))
    translateY(calc((var(--a) - 2) * var(--cw) * .15))
    rotate(calc(var(--i) * 2.5deg));
  transition: transform 1.15s cubic-bezier(.2, .95, .3, 1.16);
  transition-delay: calc(.6s + var(--a) * 170ms);
  z-index: calc(10 - var(--a));
}
.card--centre { z-index: 11; }
/* a soft shadow on the roots under each card, shrinking as the card floats up */
.card::after {
  content: ""; position: absolute; z-index: -1;
  left: 12%; right: 12%; bottom: calc(var(--cw) * -.1);
  height: calc(var(--cw) * .12);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(40 30 10 / .32), rgb(40 30 10 / 0));
  transition: opacity .8s ease calc(1.4s + var(--a) * 170ms);
  animation: shadow-breathe calc(4.6s + var(--a) * .7s) ease-in-out calc(var(--i) * -1.3s) infinite alternate;
}
.card__link {
  display: flex; flex-direction: column;
  aspect-ratio: 5 / 7;
  padding: 7%;
  border-radius: calc(var(--cw) * .07);
  background: var(--paper);
  border: 1.5px solid var(--ink);
  box-shadow:
    0 0 0 3px var(--paper),
    0 0 0 3.75px rgb(0 0 0 / .35),
    0 calc(var(--cw) * .1) calc(var(--cw) * .18) rgb(40 30 10 / .14);
  color: var(--ink); text-decoration: none;
  /* tilts toward the pointer (--rx/--ry are set by main.js) */
  transform: perspective(800px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .5s var(--ease-out), box-shadow .35s ease;
  animation: card-float calc(4.6s + var(--a) * .7s) ease-in-out calc(var(--i) * -1.3s) infinite alternate;
}
@keyframes card-float { from { translate: 0 0; } to { translate: 0 calc(var(--cw) * -.09); } }
@keyframes shadow-breathe { from { scale: 1; } to { scale: .72; } }
.card__art {
  flex: 1; min-height: 0; overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 3px;
  background: var(--paper);
}
.card__art img { width: 100%; height: 100%; object-fit: cover; }
.card__art--contain img { object-fit: contain; padding: 4%; }
.card__art--dark { background: #2b2119; }
.card__name {
  margin-top: .4em;
  font-family: var(--display); font-size: calc(var(--cw) * .085); line-height: 1.1;
  text-align: center; text-wrap: balance;
}
.card__type {
  font-family: var(--display); font-style: italic; font-size: calc(var(--cw) * .072); line-height: 1.2;
  color: var(--pencil); text-align: center;
}
.card__link:hover,
.card__link:focus-visible {
  transform: perspective(800px) translateY(-12%) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(1.05);
  box-shadow:
    0 0 0 3px var(--paper),
    0 0 0 3.75px rgb(0 0 0 / .55),
    0 calc(var(--cw) * .18) calc(var(--cw) * .28) rgb(40 30 10 / .22);
}
.card:hover, .card:focus-within { z-index: 20; }

/* Before they grow: the cards wait below the ground line */
html.js .start:not(.is-grown) .card {
  transform:
    translateX(calc(var(--i) * (var(--cw) + var(--gap))))
    translateY(calc(var(--cw) * 1.75))
    rotate(calc(var(--i) * -7deg));
  transition-duration: 0s;
}
html.js .start:not(.is-grown) .card::after { opacity: 0; transition-delay: 0s; }
html.js .start:not(.is-grown) .card__link { animation: none; }

.fineprint {
  position: relative; z-index: 2;
  padding: .9rem var(--gutter) calc(.9rem + env(safe-area-inset-bottom));
  text-align: center;
  font-family: var(--ui); font-weight: 500; font-size: .8rem; line-height: 1.45;
  color: var(--pencil);
  background: linear-gradient(to bottom, rgb(255 255 255 / 0), var(--paper) 40%);
}
.fineprint p { margin: 0 auto; max-width: 46rem; }

/* ---------- Shared station layout ---------- */
.station { padding: var(--station-pad) var(--gutter); }
.station__inner {
  max-width: 76rem; margin: 0 auto;
  display: grid; gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.station__text { max-width: var(--measure); }
.station__title {
  font-size: var(--step-3);
  margin-bottom: .55em;
  text-wrap: balance;
}
.station__text p { text-wrap: pretty; }

figcaption {
  margin-top: .8rem;
  font-family: var(--display); font-style: italic; font-size: 1.05rem; line-height: 1.35;
  color: var(--pencil);
}

/* A framed print: ink rule, paper margin, hairline inner rule */
.plate {
  position: relative;
  padding: clamp(.4rem, 1vw, .75rem);
  border: 1.5px solid var(--ink);
  background: var(--paper);
}
.plate::after {
  content: ""; position: absolute; inset: 4px; pointer-events: none;
  border: 1px solid rgb(0 0 0 / .18);
}
.plate img { width: 100%; }

.ledger {
  margin: 2rem 0 0; padding: 0; list-style: none;
  border-top: 1px solid var(--ink);
}
.ledger li {
  padding: .8rem 0 .85rem;
  border-bottom: 1px solid rgb(0 0 0 / .16);
  line-height: 1.45;
}
.ledger strong { font-weight: 500; color: var(--ink); }

/* ---------- 2. The beam of light: the story begins ----------
   Words first. A beam of light, drawn as fine lines, falls from above; the
   lines of the story appear one after another as you rise into it. */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.light { position: relative; overflow: hidden; min-height: 100vh; min-height: 100svh; display: grid; align-items: center; }
.light__beam {
  position: absolute; left: 50%; top: 0; height: 100%; width: min(56rem, 120vw);
  transform: translateX(-50%);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 100%);
}
.light__beam line { stroke: var(--bronze); stroke-linecap: round; vector-effect: non-scaling-stroke; }
.light__beam .ray { animation: ray-shine 7s ease-in-out var(--d) infinite alternate; }
.light__inner {
  position: relative;
  max-width: 44rem; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
}
.light__story {
  margin: 0 auto 1.5rem;
  font-family: var(--display);
  font-size: clamp(1.75rem, 1.2rem + 1.9vw, 2.9rem); line-height: 1.22;
  color: var(--ink);
}
.light__story p { margin-bottom: .7em; text-wrap: balance; }
.light__text {
  font-family: var(--display); font-style: italic;
  font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); color: var(--bronze);
  margin-bottom: clamp(2.5rem, 7vh, 4.5rem);
}
/* each line appears as you rise into it */
html.js [data-reveal] > p, html.js p[data-reveal], html.js figure[data-reveal] {
  opacity: 0; transform: translateY(1.2rem);
  transition: opacity 1.1s ease, transform 1.4s var(--ease-out);
}
html.js [data-reveal].is-revealed > p, html.js p[data-reveal].is-revealed, html.js figure[data-reveal].is-revealed { opacity: 1; transform: none; }
html.js [data-reveal].is-revealed > p:nth-child(2) { transition-delay: .9s; }
html.js [data-reveal].is-revealed > p:nth-child(3) { transition-delay: 1.8s; }
html.js .light__text.is-revealed { transition-delay: 2.7s; }
html.js .founder-note.is-revealed { transition-delay: 3.4s; }
/* why Utopia exists, in the founder's words */
.founder-note {
  max-width: 34rem; margin: 0 auto;
  padding: 1.25rem 1.5rem 1.1rem;
  border-top: 1px solid var(--ink); border-bottom: 1px solid rgb(0 0 0 / .16);
  background: rgb(255 255 255 / .85);
}
.founder-note blockquote { margin: 0; }
.founder-note p { margin: 0; font-size: var(--step-0); line-height: 1.55; color: var(--graphite); text-wrap: pretty; }
.founder-note figcaption { margin-top: .6rem; font-size: .98rem; color: var(--bronze); }
.place__list { margin: .2rem 0 0; padding: 0; list-style: none; }
.place__list li { position: relative; padding: .45rem 0 .45rem 1.25rem; border-top: 1px solid rgb(0 0 0 / .12); line-height: 1.45; }
.place__list li::before { content: ""; position: absolute; left: .1rem; top: 1rem; width: 6px; height: 6px; border-radius: 50%; background: var(--bronze); }

/* ---------- 4. The World Tree (with the film) ---------- */
/* "As you ascend, the visions begin": as big as a title, right over the film */
.vision-title {
  margin: 0 0 clamp(1rem, 2.5vh, 1.6rem);
  font-family: var(--display); font-style: italic;
  font-size: var(--step-3); line-height: 1.05;
  color: var(--ink); text-wrap: balance;
}
.film__frame {
  position: relative;
  border: 1.5px solid var(--ink);
  padding: clamp(.4rem, 1vw, .7rem);
  background: var(--paper);
}
.film__frame::after {
  content: ""; position: absolute; inset: 4px; pointer-events: none;
  border: 1px solid rgb(0 0 0 / .18);
}
.film__video { width: 100%; aspect-ratio: 16 / 9; background: var(--paper); }
.film__play {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: .6rem;
  width: 100%; padding-bottom: 8%;
  border: 0; background: transparent;
  color: var(--ink); cursor: pointer;
  font-family: var(--display); font-style: italic; font-size: var(--step-1);
}
.film__play svg {
  width: 4.25rem; height: 4.25rem; padding: 1.05rem .95rem 1.05rem 1.25rem;
  border-radius: 50%;
  background: var(--paper); border: 1.5px solid var(--ink);
  transition: background-color .2s ease, color .2s ease, transform .3s var(--ease-out);
}
.film__play span { padding: .05rem .6rem; background: rgb(255 255 255 / .92); }
.film__play:hover svg, .film__play:focus-visible svg { background: var(--ink); color: var(--paper); transform: scale(1.06); }
.film__play[hidden] { display: none; }

/* ---------- 5–7. The places (Halls, Training Grounds, Market) ---------- */
.place__inner {
  max-width: 72rem; margin: 0 auto;
  display: grid; gap: clamp(1.75rem, 4vw, 3rem);
}
.place__text { display: grid; gap: 0 clamp(2rem, 5vw, 5rem); }
.place__text .station__title { margin-bottom: .4em; }
.place__body { max-width: var(--measure); }
/* the story on one side, what you actually get on the other */
.place__lore p { text-wrap: pretty; }
.place__offer {
  padding-top: .9rem;
  border-top: 1.5px solid var(--ink);
}
.place__offer-title { font-size: var(--step-1); font-style: italic; margin-bottom: .35rem; }
.place__offer > p { margin-bottom: .5rem; font-weight: 500; color: var(--ink); }
.place__body p { text-wrap: pretty; }

/* Full-screen visions (Halls, Training Grounds): the drawing fills the screen,
   fades into the paper at top and bottom, and the words sit on a plaque */
.station.place--full { padding-left: 0; padding-right: 0; padding-top: clamp(2rem, 6vh, 4rem); }
.place--full .place__inner { max-width: none; gap: 0; }
.place--full .place__figure.plate { margin: 0; padding: 0; border: 0; background: none; }
.place--full .place__figure.plate::after { content: none; }
.market.place--full .place__figure.plate { box-shadow: none; }
.place--full .product {
  width: min(64rem, calc(100% - 2 * var(--gutter)));
  margin: clamp(3rem, 7vw, 5.5rem) auto 0;
}
.place--full .window {
  height: 100vh;
  height: 100svh;
  max-height: 68rem;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 82%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 82%, transparent);
}
.place--full .window img { width: 100%; height: 100%; object-fit: cover; }
.place--full .place__text {
  position: relative; z-index: 2;
  width: min(58rem, calc(100% - 2 * var(--gutter)));
  margin: calc(-1 * clamp(5rem, 14vh, 9rem)) auto 0;
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.25rem, 3vw, 2.75rem) clamp(1rem, 2vw, 1.75rem);
  background: var(--paper);
  border: 1.5px solid var(--ink);
  box-shadow: 0 0 0 6px var(--paper), 0 0 0 7px rgb(0 0 0 / .25);
}
.place--full .place__body p:last-child { margin-bottom: 0; }

/* The market: the bone band, and the only colour on the page */
.market { background: var(--bone); }
.market .plate { box-shadow: 0 0 0 6px var(--bone), 0 0 0 7px rgb(0 0 0 / .2); }
/* The first product: one set, two photos, not on sale yet */
.product { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.product__photos { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; align-items: end; gap: 1rem; }
.product__toolbox { width: 100%; } /* bone colour baked into the image */
.product__token {
  display: block;
  padding: .5rem;
  background: #fff;
  border: 1px solid #000;
  box-shadow: 0 0 0 4px var(--bone), 0 0 0 5px rgb(0 0 0 / .25), 0 18px 30px -18px rgb(40 30 10 / .5);
  transform: rotate(3deg) translateY(-1.5rem);
}
.product__token img { width: 100%; }
.product__status { display: flex; align-items: center; gap: .7rem; margin-bottom: .5rem; font-family: var(--display); font-style: italic; font-size: 1.15rem; color: var(--bronze); }
.product__badge {
  font-family: var(--ui); font-style: normal; font-weight: 500; font-size: .85rem;
  padding: .2rem .7rem; border: 1px solid var(--bronze); border-radius: 999px;
}
.product__name { font-size: var(--step-2); line-height: 1.1; margin-bottom: .6rem; text-wrap: balance; }
.product__more { font-family: var(--display); font-style: italic; font-size: var(--step-1); color: var(--ink); margin: 0; }

/* ---------- 8. Utopia (the top of the page) ---------- */
.utopia {
  min-height: 100vh;
  min-height: 100svh;
  display: grid; align-items: center;
  padding: calc(var(--header-h) + clamp(2rem, 6vh, 4.5rem)) var(--gutter) clamp(4rem, 10vh, 7rem);
}
.utopia__inner {
  width: 100%; max-width: 78rem; margin: 0 auto;
  display: grid; gap: clamp(2rem, 4vw, 4rem); align-items: center;
}
.utopia__title { font-size: clamp(2.75rem, 1.4rem + 4.2vw, 5.75rem); line-height: .98; text-wrap: balance; }
.utopia__lede { margin-top: 1.25rem; max-width: 30rem; font-size: var(--step-1); line-height: 1.45; }
.utopia__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.utopia__members { margin-top: 1.25rem; font-family: var(--ui); font-weight: 500; font-size: 1rem; }
.utopia__figure img { width: 100%; }

.notices { margin-top: clamp(2.5rem, 6vh, 4rem); max-width: 30rem; }
.notices__title { font-size: var(--step-1); font-style: italic; padding-bottom: .4rem; border-bottom: 1px solid var(--ink); }
.notices__list { margin: 0; padding: 0; list-style: none; }
.notices__list li { padding: .8rem 0; border-bottom: 1px solid rgb(0 0 0 / .16); }
.notices__list time { display: block; font-family: var(--ui); font-weight: 500; font-size: .85rem; color: var(--bronze); }
.notices__list p { margin: .15rem 0 0; line-height: 1.45; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Bats and butterflies that flutter over the art */
.flyer, .bat {
  position: absolute; left: var(--x); top: var(--y);
  overflow: visible; pointer-events: none;
  animation: drift 7s ease-in-out var(--d) infinite alternate, flap .28s ease-in-out var(--d) infinite alternate;
}
.flyer--butterfly { width: calc(2.2rem * var(--s)); height: calc(2.2rem * var(--s)); color: var(--graphite); animation-name: drift, flutter; animation-duration: 7s, .22s; }
.flyer--bat, .bat { width: calc(2.6rem * var(--s)); height: calc(1.3rem * var(--s)); color: #1b1830; }
@keyframes drift {
  0% { translate: 0 0; }
  50% { translate: 16px -12px; }
  100% { translate: -10px -22px; }
}
@keyframes flap { from { transform: scaleY(1); } to { transform: scaleY(.35); } }
@keyframes flutter { from { transform: scaleX(1); } to { transform: scaleX(.3); } }


/* ---------- 7. The hands behind Utopia: a triptych ----------
   Three panels like an altarpiece, the founder in the taller middle panel,
   the artists on either side, each in a gilded, carved frame. */
.creators { --gold-1: #f4dc94; --gold-2: #b98a37; --gold-3: #6e4c17; }
.creators__inner { max-width: 70rem; margin: 0 auto; text-align: center; }
.creators__head { max-width: 38rem; margin: 0 auto clamp(1rem, 3vh, 2.25rem); }
.creators__head .station__title { margin-bottom: .3em; }
.creators__head p { text-wrap: pretty; margin: 0; }
.triptych {
  display: grid; grid-template-columns: 1fr 1.35fr 1fr;
  align-items: end; gap: clamp(.75rem, 2vw, 1.75rem);
  /* sized by the screen height too, so the whole triptych fits on one screen */
  max-width: min(62rem, 74vh); margin: 0 auto;
}
.creators { padding-top: calc(var(--header-h) + clamp(1.5rem, 4vh, 3rem)); padding-bottom: clamp(2rem, 6vh, 4rem); min-height: 100vh; min-height: 100svh; display: grid; align-items: center; }
.panel { margin: 0; display: flex; flex-direction: column; align-items: center; }
.panel__frame {
  position: relative; width: 100%;
  padding: clamp(.55rem, 1.2vw, .9rem);
  /* gilded wood: a bevelled gold border with a darker carved edge */
  background:
    linear-gradient(135deg, var(--gold-1), var(--gold-2) 30%, var(--gold-1) 50%, var(--gold-2) 70%, var(--gold-3));
  border-radius: 999px 999px 6px 6px;
  box-shadow:
    inset 0 0 0 1px rgb(255 255 255 / .55),
    inset 0 0 0 3px var(--gold-3),
    0 0 0 1px var(--gold-3),
    0 1.2rem 2.2rem -1.2rem rgb(60 40 10 / .55);
}
.panel--wing .panel__frame { aspect-ratio: 5 / 8; }
.panel--centre .panel__frame { aspect-ratio: 5 / 7.4; }
.panel__picture {
  display: block; width: 100%; height: 100%;
  border-radius: 999px 999px 3px 3px;
  object-fit: cover; object-position: 50% 20%;
  box-shadow: inset 0 0 0 2px var(--gold-3), 0 0 0 2px var(--gold-3), 0 0 0 4px var(--gold-1);
  background: #fff;
}
img.panel__picture { filter: sepia(.1) contrast(1.03); }
.panel__empty {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  gap: .4rem; padding-bottom: 12%;
  color: var(--pencil);
  font-family: var(--display); font-style: italic; font-size: .95rem;
}
.panel__empty svg { width: 62%; height: auto; aspect-ratio: 1; }
.panel__corner {
  position: absolute; z-index: 2; width: clamp(1.6rem, 3.4vw, 2.6rem); height: clamp(1.6rem, 3.4vw, 2.6rem);
  color: var(--gold-3); pointer-events: none;
  filter: drop-shadow(0 1px 0 rgb(255 255 255 / .5));
}
.panel__corner--tl, .panel__corner--tr { top: 34%; }
.panel__corner--bl, .panel__corner--br { bottom: -2px; }
.panel__corner--tl { left: -2px; }
.panel__corner--tr { right: -2px; transform: scaleX(-1); }
.panel__corner--bl { left: -2px; transform: scaleY(-1); }
.panel__corner--br { right: -2px; transform: scale(-1, -1); }
.panel figcaption { margin-top: .9rem; display: flex; flex-direction: column; align-items: center; gap: .1rem; font-style: normal; }
.panel__name { font-family: var(--display); font-size: clamp(1.1rem, 1rem + .5vw, 1.45rem); line-height: 1.15; color: var(--ink); }
.panel--centre .panel__name { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.8rem); }
.panel__role { font-family: var(--ui); font-weight: 500; font-size: .9rem; color: var(--bronze); }
.panel__handle { font-family: var(--text); font-style: italic; font-size: .9rem; color: var(--pencil); }
.creators__note {
  margin: clamp(1.75rem, 4vh, 2.75rem) auto 0;
  font-family: var(--display); font-style: italic; font-size: var(--step-1); color: var(--ink);
}
.creators__note::before, .creators__note::after { content: " \2766 "; color: var(--gold-2); font-style: normal; }

/* ---------- 9. Utopia by day and by night (version A) ----------
   Night spreads out from the picture and lifts again, on its own. By night
   the sky turns deep violet, stars and a crescent moon come out, bats cross
   the sky, and the same picture of Utopia is drawn in white lines. The
   words change colour with the sky. */

/* registered so the colours glide instead of snapping */
@property --ink { syntax: '<color>'; inherits: true; initial-value: #000; }
@property --graphite { syntax: '<color>'; inherits: true; initial-value: #3b3b38; }
@property --pencil { syntax: '<color>'; inherits: true; initial-value: #8e8e88; }
@property --paper { syntax: '<color>'; inherits: true; initial-value: #fff; }
@property --bronze { syntax: '<color>'; inherits: true; initial-value: #7a5a2e; }

[data-daynight] {
  position: relative;
  color: var(--graphite); /* so the words follow the sky */
  transition: --ink 1.4s ease .7s, --graphite 1.4s ease .7s, --pencil 1.4s ease .7s, --paper 1.4s ease .7s, --bronze 1.4s ease .7s;
}
.utopia { --nx: 72%; --ny: 46%; }  /* where the night begins: the tree */
[data-daynight]:not(.is-night) { transition-delay: 0s; }
[data-daynight].is-night {
  --ink: #f2eeff;
  --graphite: #d2ccec;
  --pencil: #a59ec9;
  --paper: #14112f;
  --bronze: #e2c48f;
}

.night-sky {
  position: absolute; inset: 0; z-index: -1;
  pointer-events: none; overflow: hidden;
  background:
    radial-gradient(60% 55% at var(--nx) var(--ny), rgb(74 58 150 / .55), rgb(74 58 150 / 0) 70%),
    linear-gradient(to bottom, #0b0a20, #15123a 55%, #1d1846);
  /* night spreads out from the tree with a soft edge, and fades into the paper at the bottom */
  --spread: -20%;
  -webkit-mask-image:
    radial-gradient(circle at var(--nx) var(--ny), #000 var(--spread), transparent calc(var(--spread) + 18%)),
    linear-gradient(to bottom, #000 80%, transparent);
  mask-image:
    radial-gradient(circle at var(--nx) var(--ny), #000 var(--spread), transparent calc(var(--spread) + 18%)),
    linear-gradient(to bottom, #000 80%, transparent);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  transition: --spread 2.8s cubic-bezier(.65, 0, .35, 1);
}
@property --spread { syntax: '<percentage>'; inherits: false; initial-value: -20%; }
.is-night > .night-sky { --spread: 160%; }

.night__stars {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1.6px 1.6px at 6% 14%, #fff 50%, transparent 55%),
    radial-gradient(1.3px 1.3px at 14% 34%, #fff 50%, transparent 55%),
    radial-gradient(1.8px 1.8px at 22% 9%, #fff 50%, transparent 55%),
    radial-gradient(1.2px 1.2px at 31% 26%, #fff 50%, transparent 55%),
    radial-gradient(1.5px 1.5px at 39% 6%, #fff 50%, transparent 55%),
    radial-gradient(1.2px 1.2px at 47% 21%, #fff 50%, transparent 55%),
    radial-gradient(1.7px 1.7px at 55% 11%, #fff 50%, transparent 55%),
    radial-gradient(1.3px 1.3px at 63% 31%, #fff 50%, transparent 55%),
    radial-gradient(1.5px 1.5px at 71% 7%, #fff 50%, transparent 55%),
    radial-gradient(1.2px 1.2px at 79% 24%, #fff 50%, transparent 55%),
    radial-gradient(1.8px 1.8px at 87% 15%, #fff 50%, transparent 55%),
    radial-gradient(1.3px 1.3px at 95% 33%, #fff 50%, transparent 55%),
    radial-gradient(1.4px 1.4px at 9% 52%, #fff 50%, transparent 55%),
    radial-gradient(1.2px 1.2px at 27% 61%, #fff 50%, transparent 55%),
    radial-gradient(1.5px 1.5px at 44% 47%, #fff 50%, transparent 55%),
    radial-gradient(1.2px 1.2px at 92% 58%, #fff 50%, transparent 55%);
  animation: night-twinkle 3.4s ease-in-out infinite alternate;
}
.night__stars--far {
  background-image:
    radial-gradient(1px 1px at 3% 27%, #d9d2ff 50%, transparent 55%),
    radial-gradient(1px 1px at 18% 19%, #d9d2ff 50%, transparent 55%),
    radial-gradient(1px 1px at 35% 38%, #d9d2ff 50%, transparent 55%),
    radial-gradient(1px 1px at 51% 4%, #d9d2ff 50%, transparent 55%),
    radial-gradient(1px 1px at 59% 41%, #d9d2ff 50%, transparent 55%),
    radial-gradient(1px 1px at 67% 17%, #d9d2ff 50%, transparent 55%),
    radial-gradient(1px 1px at 83% 4%, #d9d2ff 50%, transparent 55%),
    radial-gradient(1px 1px at 98% 21%, #d9d2ff 50%, transparent 55%),
    radial-gradient(1px 1px at 12% 70%, #d9d2ff 50%, transparent 55%),
    radial-gradient(1px 1px at 36% 74%, #d9d2ff 50%, transparent 55%);
  animation-duration: 5.2s; animation-delay: -2.4s;
}
@keyframes night-twinkle { from { opacity: .45; } to { opacity: 1; } }
.night__moon {
  position: absolute; right: 11%; top: calc(var(--header-h) + 5%);
  width: clamp(3.25rem, 5.5vw, 5.25rem); aspect-ratio: 1;
  border-radius: 50%;
  box-shadow: inset clamp(.85rem, 1.4vw, 1.35rem) clamp(-.45rem, -.7vw, -.3rem) 0 0 #f4efff;
  filter: drop-shadow(0 0 1.1rem rgb(214 205 255 / .6));
  transform: rotate(-18deg);
}
.night__bat {
  position: absolute; left: 0; top: var(--y);
  width: calc(2.6rem * var(--s)); height: calc(1.3rem * var(--s));
  color: #06051a;
  animation: bat-cross var(--t) linear var(--d) infinite, flap .24s ease-in-out infinite alternate;
}
@keyframes bat-cross {
  0% { translate: -12vw 0; }
  25% { translate: 22vw calc(var(--rise) * .5); }
  50% { translate: 50vw calc(var(--rise) * -.4); }
  75% { translate: 80vw calc(var(--rise) * .7); }
  100% { translate: 114vw var(--rise); }
}

.duality { position: relative; }
.duality__stage { position: relative; aspect-ratio: 2400 / 2022; }
.duality .duality__light,
.duality .duality__dark {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain;
  transition: opacity 1.6s ease;
}
/* the same transparent ink drawing, turned to white lines for the night */
.duality .duality__dark { opacity: 0; filter: invert(1) drop-shadow(0 0 .35rem rgb(200 190 255 / .35)); }
.utopia.is-night .duality .duality__light { opacity: 0; }
.utopia.is-night .duality .duality__dark { opacity: .95; transition-delay: 1s; }
.duality__flutter { position: absolute; inset: 0; pointer-events: none; }
.duality .flyer { transition: opacity 1s ease; }
.utopia.is-night .duality .flyer--butterfly { opacity: 0; }

.duality__caption { text-align: center; }
.duality__say-dark { display: none; }
.utopia.is-night .duality__say-light { display: none; }
.utopia.is-night .duality__say-dark { display: inline; }

/* the dial: shows sun or moon, and how long until the sky turns */
.duality__dial {
  display: block; margin: .85rem auto 0;
  width: 3rem; height: 3rem; padding: 0;
  border: 0; border-radius: 50%; background: none;
  color: var(--ink); cursor: pointer;
  transition: transform .3s var(--ease-out);
}
.duality__dial:hover { transform: scale(1.08); }
.duality__dial svg { width: 100%; height: 100%; overflow: visible; }
.dial__track { fill: var(--paper); stroke: var(--pencil); stroke-width: 1.2; }
.dial__time {
  fill: none; stroke: var(--bronze); stroke-width: 2.4; stroke-linecap: round;
  stroke-dasharray: 100; stroke-dashoffset: 100;
  transform: rotate(-90deg); transform-origin: 22px 22px;
}
.duality__dial.is-timing .dial__time { animation: dial-time var(--hold, 9s) linear forwards; }
@keyframes dial-time { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
.dial__sun, .dial__moon { transform-origin: 22px 22px; transition: opacity .8s ease, transform .8s var(--ease-out); }
.dial__sun { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.dial__moon { fill: currentColor; opacity: 0; transform: rotate(-50deg) scale(.6); }
[data-daynight].is-night .dial__sun { opacity: 0; transform: rotate(70deg) scale(.6); }
[data-daynight].is-night .dial__moon { opacity: 1; transform: none; }

/* the header and meter follow the sky while Utopia is in view */
.site-header { transition: background-color 1.4s ease, border-color 1.4s ease, --ink 1.4s ease, --paper 1.4s ease, --bronze 1.4s ease; }
html.utopia-dark .site-header {
  --ink: #f2eeff; --paper: #14112f; --bronze: #e2c48f;
  background: rgb(20 17 47 / .82);
  border-bottom-color: rgb(255 255 255 / .08);
}
html.utopia-dark .altitude__track { background: rgb(255 255 255 / .22); }
.wordmark img { transition: transform .3s var(--ease-out), filter 1.4s ease; }
html.utopia-dark .wordmark img { filter: drop-shadow(0 0 .45rem rgb(190 205 255 / .75)) brightness(1.25); }

/* the sky above Utopia dims a little on the dark side */
.air__glory { transition: opacity 1.4s ease; }
html.utopia-dark .air__glory { opacity: .3; }
.mote .u-dark { opacity: 0; transition: opacity 1s ease; }
.mote .u-light { transition: opacity 1s ease; }
html.utopia-dark .mote .u-dark { opacity: 1; }
html.utopia-dark .mote .u-light { opacity: 0; }

/* ---------- "Doors open soon" dialog ---------- */
.soon {
  width: min(28rem, calc(100vw - 2rem));
  padding: 0;
  border: 1.5px solid var(--ink); border-radius: 6px;
  background: var(--paper); color: var(--graphite);
  box-shadow: 0 0 0 5px var(--paper), 0 0 0 6px rgb(0 0 0 / .35), 0 24px 60px rgb(0 0 0 / .18);
}
.soon form { padding: 2rem 1.75rem 1.75rem; }
.soon::backdrop { background: rgb(255 255 255 / .7); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.soon__title { font-size: var(--step-2); margin-bottom: .6rem; }
.soon p { margin-bottom: 1.5rem; }

/* ---------- Larger screens ---------- */
@media (min-width: 900px) {
  .station, .utopia { padding-right: calc(var(--gutter) + 2.25rem); }
  .station__inner { grid-template-columns: repeat(12, minmax(0, 1fr)); }

  .world-tree .station__inner { align-items: start; }
  .world-tree__vision { grid-column: 1 / span 7; position: sticky; top: calc(var(--header-h) + 2rem); padding-top: .5rem; }
  .world-tree .station__text { grid-column: 9 / span 4; }

  .place__text { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
  /* title above; the story on the left, what you get on the right */
  .place__text--split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .place__text--split .station__title { grid-column: 1 / -1; }
  .place--full .place__text--split { width: min(66rem, calc(100% - 2 * var(--gutter))); }
  .place__text--split .place__offer { border-top: 0; border-left: 1.5px solid var(--ink); padding: 0 0 0 clamp(1.25rem, 3vw, 2.5rem); }

  .product { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }

  .utopia__inner { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}

/* ---------- Small screens ---------- */
@media (max-width: 899px) {
  .station__text { margin: 0 auto; }
  .world-tree__vision { order: 2; }
  .utopia__figure { order: -1; max-width: 26rem; margin: 0 auto; }
  .utopia { --nx: 50%; --ny: 24%; }
  .night__moon { right: 8%; top: calc(var(--header-h) + 2%); }

  .place__text--split .place__offer { margin-top: 1rem; }

  .altitude { right: .35rem; width: 1rem; }
  .altitude__stations a { width: 1rem; height: 1rem; }
  .altitude__stations a::before { width: 7px; height: 7px; }
  .altitude__stations a span { display: none; }
  .altitude__tip { width: .8rem; }
  .altitude__readout { display: none; }
}
@media (max-width: 899px) {
  .place--full .window { height: 72svh; }
  .triptych { grid-template-columns: 1fr 1.25fr 1fr; gap: .5rem; }
  .panel__role, .panel__handle { font-size: .8rem; }
}
@media (max-width: 599px) {
  :root { --header-h: 3.5rem; }
  .site-nav__link { display: none; }
  /* on a phone the arrow sits between the logo and the buttons */
  .start__actions .ascend-cue { order: -1; flex: 1 1 100%; flex-direction: row; justify-content: center; gap: .6rem; }
  .start__actions .ascend-cue__arrow { height: 2.75rem; }
  .ascend-cue__text { text-align: left; }
  .panel__empty span { display: none; }
  .button--large { min-height: 3.1rem; font-size: 1.05rem; padding: .6rem 1.4rem; }
  .start__actions .button, .utopia__actions .button { flex: 1 1 100%; }
  .fan { --cw: clamp(4.4rem, 18vw, 6.25rem); --gap: calc(var(--cw) * -.1); bottom: clamp(3rem, 8vh, 4.5rem); }
  .card__link { padding: 6%; }
  /* names are too small to read at this size; keep them for screen readers */
  .card__name, .card__type {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
  }
  .station, .utopia { padding-left: 1rem; padding-right: 1.75rem; }
}
@media (max-height: 700px) and (min-width: 600px) {
  .start__logo { width: min(34rem, 60vh); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0s !important; transition-delay: 0s !important; }
}
