/* Suzuki Holdings
   One scene behind the page, from night to sunrise. Words are few and large. */

@font-face { font-family: "House Serif"; src: url("../fonts/serif-var.woff2") format("woff2"); font-weight: 300 600; font-style: normal; font-display: swap; }
@font-face { font-family: "House Serif"; src: url("../fonts/serif-display-italic.woff2") format("woff2"); font-weight: 300 600; font-style: italic; font-display: swap; }
@font-face { font-family: "House Sans"; src: url("../fonts/sans-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "House Mono"; src: url("../fonts/mono-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Serif Fallback"; src: local("Georgia"); size-adjust: 95%; ascent-override: 108%; descent-override: 35%; line-gap-override: 0%; }
@font-face { font-family: "Sans Fallback"; src: local("Arial"), local("Helvetica Neue"); size-adjust: 103%; ascent-override: 99%; descent-override: 26%; line-gap-override: 0%; }

:root {
  --night: #05080F;
  --navy: #0A1226;
  --ivory: #F6F3EE;
  --dawn: #C9D8E8;
  --dawn-deep: #8FA9C6;
  --blush: #E9C3C0;
  --gold: #A88B57;
  --on-night: #F1EDE4;
  --on-night-soft: #C3C9D8;
  --ink: #0A1226;
  --ink-soft: #27304A;
  --serif: "House Serif", "Serif Fallback", Georgia, "Times New Roman", serif;
  --sans: "House Sans", "Sans Fallback", "Helvetica Neue", Arial, sans-serif;
  --mono: "House Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --gutter: 24px;
  --header-h: 64px;
  --vh: 100vh;
  --ease: cubic-bezier(.22, .68, .16, 1);
  /* type: every size is one continuous curve of the window's width, from a small phone to a very wide screen, with no steps.
     Each curve is set by its size at 390, 1440 and 1920 wide. */
  /* Nothing here has a ceiling. Past 1728 wide every size keeps the same share of the window,
     so a very large screen, or a browser zoomed out, shows the page in the same proportions and never as small print. */
  --u: max(1px, .05787vw);                                                                  /* one design pixel: 1px up to 1728 wide, then growing with the window */
  --fs-hero: max(36px, min(10.8vw, max(26.21px + 4.048vw, 5.867vw)));        /* 42 at 390, 84 at 1440, 101 at 1728 */
  --fs-statement: max(30px, min(8.8vw, max(25.72px + 2.124vw, 3.872vw)));    /* 34, 56, 67 */
  --fs-line: max(28px, min(8.2vw, max(25.57px + 1.648vw, 3.339vw)));         /* 32, 49, 58: the frontier lines and the principles */
  --fs-body: max(17px, 1.08vw);                                               /* 17, 17, 18.7 */
  --fs-ui: max(16px, .896vw);                                                 /* the header link */
  --fs-small: max(13px, .8vw);                                                /* small labels */
  --fs-foot: max(14px, .78vw);                                                /* the footer */
  --fs-rail: calc(12.5 * var(--u));
  color-scheme: dark;
}
@supports (height: 1svh) { :root { --vh: 100svh; } }
@media (min-width: 640px) {
  :root { --gutter: max(32px, 4.6vw); --header-h: max(84px, min(70px + 1vw, 100px), 5.05vw); }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--night); }
body { margin: 0; background: var(--night); color: var(--on-night); font: 400 var(--fs-body)/1.55 var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ol, ul { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; border-radius: 1px; }
.skip-link { position: fixed; z-index: 100; left: 12px; top: 12px; padding: 12px 16px; background: var(--ivory); color: var(--ink); font: 400 14px/1 var(--sans); text-decoration: none; transform: translateY(-200%); }
.skip-link:focus { transform: none; }

/* ---------- the scene sits behind everything ---------- */
.backdrop { position: fixed; z-index: 0; inset: 0; background: var(--night) center / cover no-repeat; }
/* if the scene is late, or until it is running after a jump down the page, a still picture stands in */
.motion.is-late .backdrop, .motion[data-at]:not([data-at="0"]) .backdrop { background-image: url("../images/poster-0.webp"); }
.motion[data-at="1"] .backdrop { background-image: url("../images/poster-1.webp"); }
.motion[data-at="2"] .backdrop { background-image: url("../images/poster-2.webp"); }
.motion[data-at="3"] .backdrop { background-image: url("../images/poster-3.webp"); }
.motion[data-at="4"] .backdrop { background-image: url("../images/poster-4.webp"); }
.motion[data-at="5"] .backdrop { background-image: url("../images/poster-5.webp"); }
#scene { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.4s ease; }
.is-live #scene { opacity: 1; }
.still .backdrop { display: none; }
main, .site-header, .foot { position: relative; z-index: 1; }

/* ---------- header ---------- */
.site-header { position: fixed; z-index: 40; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; height: calc(var(--header-h) + env(safe-area-inset-top, 0px)); padding: env(safe-area-inset-top, 0px) max(var(--gutter), env(safe-area-inset-right, 0px)) 0 max(var(--gutter), env(safe-area-inset-left, 0px)); color: var(--on-night); --gap: var(--night); transition: color .6s ease; pointer-events: none; }
.site-header > * { pointer-events: auto; }
.sky-light .site-header { color: var(--ink); --gap: var(--dawn); }
.still .site-header { position: absolute; }
.lockup { display: inline-flex; align-items: center; gap: 11px; min-height: 44px; text-decoration: none; }
.lockup__mark { width: max(44px, 2.714vw); height: auto; flex: none; }
.lockup__mark { fill: currentColor; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.lockup__name { display: block; font: 400 max(20px, 1.255vw)/1 var(--serif); letter-spacing: -.01em; }
.lockup__sub { display: block; margin-top: 4px; font: 400 max(9px, .57vw)/1 var(--mono); letter-spacing: .28em; text-transform: uppercase; }
.site-header__link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 2px; font: 400 var(--fs-ui)/1 var(--sans); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 calc(50% + .85em) / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.site-header__link:hover, .site-header__link:focus-visible { background-size: 100% 1px; }

.site-header__tools { display: flex; align-items: center; gap: clamp(8px, 1.6vw, 22px); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sound { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: none; color: inherit; cursor: pointer; }
.sound svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; }
.sound__wave { opacity: .55; transition: opacity .3s ease; }
.sound__off { transition: opacity .3s ease; }
.sound.is-on .sound__wave { opacity: 1; }
.sound.is-on .sound__off { opacity: 0; }
.sound:hover .sound__wave { opacity: 1; }

/* ---------- the first moments: the lotus appears star by star, then its lines join ---------- */
.loader { position: fixed; z-index: 0; left: 50%; top: calc(25vh - 12.1vh); width: 40vh; height: 24.2vh; transform: translateX(-50%); pointer-events: none; transition: opacity 1.2s ease .2s; }
@media (max-aspect-ratio: 1/1) { .loader { top: calc(23vh - 7.744vh); width: 25.6vh; height: 15.488vh; } }
.loader svg { display: block; width: 100%; height: 100%; overflow: visible; }
.loader circle { fill: #F1F3FA; opacity: 0; animation: star .5s ease forwards; }
.loader circle.g { fill: #EBD09A; }
.loader circle.f { animation-name: star-faint; }
.loader__lines { fill: none; stroke: #A9C3E0; stroke-width: .5; opacity: 0; animation: join .9s ease 1.05s forwards; }
@keyframes star { from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: none; } }
@keyframes star-faint { to { opacity: .5; } }
@keyframes join { to { opacity: .5; } }
.loader circle { transform-box: fill-box; transform-origin: center; }
.loader .s0 { animation-delay: 0.000s; }
.loader .s1 { animation-delay: 0.085s; }
.loader .s2 { animation-delay: 0.170s; }
.loader .s3 { animation-delay: 0.255s; }
.loader .s4 { animation-delay: 0.340s; }
.loader .s5 { animation-delay: 0.425s; }
.loader .s6 { animation-delay: 0.510s; }
.loader .s7 { animation-delay: 0.595s; }
.loader .s8 { animation-delay: 0.680s; }
.loader .s9 { animation-delay: 0.765s; }
.loader .s10 { animation-delay: 0.850s; }
.loader .s11 { animation-delay: 0.935s; }
.is-live .loader, .is-late .loader, .still .loader, html:not(.js) .loader { opacity: 0; }
.still .loader, html:not(.js) .loader { display: none; }

/* ---------- the rail: where you are on the journey, drawn as an orbit ---------- */
.rail { position: fixed; z-index: 30; right: max(calc(6 * var(--u)), env(safe-area-inset-right, 0px)); top: 50%; width: calc(44 * var(--u)); height: calc(264 * var(--u)); transform: translateY(-50%); color: var(--on-night); transition: color .6s ease, opacity .5s ease; }
/* the rail steps aside once the footer arrives */
.at-foot .rail { opacity: 0; pointer-events: none; }
.sky-light .rail { color: var(--ink); }
.rail__orbit { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.rail__orbit path { fill: none; stroke: currentColor; stroke-width: 1; opacity: .32; vector-effect: non-scaling-stroke; }
.rail__sat { fill: var(--gold); stroke: currentColor; stroke-width: .8; }
.rail ol { list-style: none; margin: 0; padding: 0; }
.rail a { position: absolute; left: var(--x, 28px); top: var(--y, 0); width: 44px; height: 44px; margin: -22px 0 0 -22px; display: flex; align-items: center; justify-content: center; text-decoration: none; border-radius: 50%; }
.rail:not(.is-set) a { position: static; margin: 0; }
.rail__dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .6; transition: transform .3s ease, opacity .3s ease; }
.rail a:hover .rail__dot, .rail a:focus-visible .rail__dot, .rail a[aria-current] .rail__dot { opacity: 1; transform: scale(1.5); }
.rail__name { position: absolute; right: 40px; top: 50%; transform: translate(6px, -50%); padding: 5px 10px; border-radius: 3px; background: var(--navy); color: var(--on-night); font: 400 var(--fs-rail)/1.2 var(--sans); white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease; }
.rail a:hover .rail__name, .rail a:focus-visible .rail__name { opacity: 1; transform: translate(0, -50%); }
.rail a:focus-visible { outline-offset: -8px; }
.still .rail__sat { display: none; }
@media (max-width: 639px) {
  /* on a phone the orbit lies along the bottom edge */
  .rail { right: auto; left: 50%; top: auto; bottom: calc(6px + env(safe-area-inset-bottom, 0px)); width: 264px; height: 44px; transform: translateX(-50%); border-radius: 22px; background: rgba(10, 18, 38, .62); color: var(--on-night); }
  .sky-light .rail { color: var(--on-night); }
  .rail { transition: opacity .3s ease; }
  .at-foot .rail { opacity: 0; pointer-events: none; }
  .still .rail { display: none; }   /* the still page is one plain scroll, with nothing fixed over the words */
  .rail a { left: var(--x, 22px); top: var(--y, 22px); }
  .rail__name { right: auto; left: 50%; top: -6px; transform: translate(-50%, -100%); }
  .rail a:hover .rail__name, .rail a:focus-visible .rail__name { transform: translate(-50%, -100%); }
  .step { padding-bottom: calc(clamp(40px, 8vh, 96px) + 36px); }
}

/* ---------- shared type ---------- */
h1 { font-family: var(--serif); font-weight: 330; font-size: var(--fs-hero); line-height: 1.02; letter-spacing: -.034em; font-variation-settings: "opsz" 60; text-wrap: balance; }
.statement { font-family: var(--serif); font-weight: 330; font-size: var(--fs-statement); line-height: 1.05; letter-spacing: -.03em; font-variation-settings: "opsz" 60; text-wrap: balance; }
.label { font: 400 var(--fs-small)/1.4 var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--on-night-soft); }
.hairline { display: block; width: 56px; height: 1px; background: var(--gold); }
.lede { max-width: 30em; color: var(--on-night-soft); text-wrap: balance; }
[data-tone="dawn"] { color: var(--ink); }
[data-tone="dawn"] .label, [data-tone="dawn"] .lede { color: var(--ink-soft); }

/* ---------- steps of the journey: about one screen each ---------- */
.step { position: relative; display: flex; min-height: var(--vh); padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 24px) max(var(--gutter), env(safe-area-inset-right, 0px)) clamp(40px, 8vh, 96px) max(var(--gutter), env(safe-area-inset-left, 0px)); }
.motion .step__text, .motion .step__pin > * { opacity: var(--o, 1); }
.step__text { width: 100%; }

.step--hero { align-items: flex-end; text-align: center; }
.step--hero .hairline { margin: clamp(18px, 3vh, 36px) auto; }
.step--hero .lede { margin: 0 auto; }
.motion .step--hero h1 { animation: rise 1.5s var(--ease) 1.25s both; }
.motion .step--hero .hairline { animation: rule 1.4s var(--ease) 1.9s both; }
.motion .step--hero .lede { animation: fade 1.6s ease 2.1s both; }
@keyframes rise { from { opacity: 0; transform: translateY(.35em); } }
@keyframes rule { from { transform: scaleX(0); } }
@keyframes fade { from { opacity: 0; } }

.step--who .label { margin-bottom: clamp(16px, 3vh, 32px); }
.step--who .statement { margin-top: clamp(24px, 4.4vh, 52px); }
.letter { max-width: 26em; font-family: var(--serif); font-weight: 340; font-size: calc(var(--fs-body) * 1.06); line-height: 1.42; letter-spacing: -.014em; font-variation-settings: "opsz" 32; text-wrap: pretty; }
.sign { display: inline-block; margin-top: clamp(20px, 3.4vh, 40px); padding-top: 16px; border-top: 1px solid var(--gold); font-size: var(--fs-small); color: var(--on-night-soft); }

/* pinned steps: the screen holds while short lines replace each other */
.step--pinned { display: block; padding-top: 0; padding-bottom: 0; }
.step__pin { display: flex; flex-direction: column; align-items: center; gap: 28px; padding: calc(var(--header-h) + 40px) 0 80px; text-align: center; }
.lines { display: grid; gap: 28px; }
.motion .step--pinned { height: calc(var(--vh) * 3); }
.motion .step__pin { position: sticky; top: 0; height: var(--vh); display: block; padding: 0; overflow: hidden; }
.motion .step__pin .label { position: absolute; left: 0; right: 0; top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 12px); }
.motion .lines { position: absolute; inset: 0; display: block; }
.motion .line { position: absolute; left: var(--gutter); right: var(--gutter); top: max(var(--line-top, 24%), calc(var(--header-h) + env(safe-area-inset-top, 0px) + 46px + var(--fs-statement) * .62)); margin: 0 auto; transform: translateY(calc(-50% + .5em)); opacity: 0; transition: opacity .8s ease, transform 1s var(--ease); pointer-events: none; }
.motion .line.is-on { opacity: 1; transform: translateY(-50%); }
.motion .line.is-past { transform: translateY(calc(-50% - .5em)); }

/* ---------- the later steps ---------- */
.support { max-width: 26em; margin-top: clamp(20px, 3.4vh, 40px); color: var(--on-night-soft); text-wrap: balance; }
[data-tone="dawn"] .support { color: var(--ink-soft); }
.step--side { align-items: flex-start; }
.step--side .statement { max-width: 12em; }

.step--group { align-items: flex-start; }
.step--group .statement { max-width: 17em; }
.step--group .label { margin-bottom: clamp(14px, 2.6vh, 28px); }
/* the family tree, drawn as a small constellation */
.tree { position: relative; margin-top: clamp(32px, 6vh, 64px); padding-left: 34px; }
.tree__lines { display: none; }
.tree__root { position: relative; font: 400 max(22px, 1.4vw)/1.2 var(--serif); letter-spacing: -.01em; }
.tree__leaves { position: relative; list-style: none; margin: 0; padding: 14px 0 0; }
.tree__leaves li { position: relative; padding: 9px 0; font-size: max(16px, .963vw); line-height: 1.35; }
.tree__root::before, .tree__leaves li::before { content: ""; position: absolute; left: -34px; top: .55em; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.tree__root::before { width: 11px; height: 11px; left: -35px; top: .35em; background: var(--ink); }
.tree__leaves li::before { top: calc(9px + .48em); }
.tree::before { content: ""; position: absolute; left: 4px; top: 18px; bottom: 20px; width: 1px; background: rgba(10, 18, 38, .45); transform-origin: 50% 0; }
.motion .tree::before { transition: transform 1.6s var(--ease) .2s; }
.motion .tree__leaves li { transition: opacity .9s ease; }
.motion .tree__leaves li:nth-child(1) { transition-delay: .5s; } .motion .tree__leaves li:nth-child(2) { transition-delay: .8s; } .motion .tree__leaves li:nth-child(3) { transition-delay: 1.1s; } .motion .tree__leaves li:nth-child(4) { transition-delay: 1.4s; }
.motion .tree:not(.is-drawn)::before { transform: scaleY(0); }
.motion .tree:not(.is-drawn) .tree__leaves li { opacity: 0; }

.statement--huge, .step--frontier .line .statement { font-size: var(--fs-line); }
.step--frontier .line .statement { max-width: 15em; margin: 0 auto; }
.step--frontier .line .support { margin: clamp(14px, 2.4vh, 28px) auto 0; }
/* the frontier lines hang from the top of the screen, so a line of any length leaves the planet clear beneath it */
.motion .step--frontier .line { top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 68 * var(--u)); transform: translateY(.6em); }
.motion .step--frontier .line.is-on { transform: none; }
.motion .step--frontier .line.is-past { transform: translateY(-.6em); }
.step--group .support { margin-top: clamp(14px, 2.4vh, 26px); }
.mail-note { margin-top: 12px; color: var(--ink-soft); }
.step--how .line .support { margin: clamp(14px, 2.4vh, 28px) auto 0; }
.step--how .line .statement { margin: 0 auto; max-width: 14em; }
.step--how .line .statement--huge { max-width: none; }
.step--how { --line-top: 42%; }
.motion .step--how { height: calc(var(--vh) * 4); }

.step--ending { align-items: flex-start; justify-content: center; text-align: center; }
.step--ending .step__text { padding-top: 22vh; }
.step--ending .hairline { margin: clamp(22px, 4vh, 44px) auto clamp(18px, 3vh, 30px); }
.lotus-line { max-width: 24em; margin: 0 auto; font-family: var(--serif); font-style: italic; font-weight: 330; font-size: clamp(21px, 5.6vw, 27px); line-height: 1.28; letter-spacing: -.016em; text-wrap: balance; }

.mail { margin-top: 10px; font-family: var(--serif); font-weight: 330; font-size: clamp(20px, 6.2vw, 80px); line-height: 1.1; letter-spacing: -.025em; font-variation-settings: "opsz" 60; }
.mail a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; }
.copy { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: clamp(12px, 2.2vh, 26px); min-height: 72px; }
.copy button { min-height: calc(44 * var(--u)); padding: 0 calc(22 * var(--u)); border: 1px solid rgba(10, 18, 38, .55); border-radius: 999px; background: none; color: var(--ink); font: 400 max(15px, .78vw)/1 var(--sans); cursor: pointer; transition: background-color .3s ease; }
.copy button:hover { background: rgba(10, 18, 38, .07); }
.copy__status { min-height: 1.4em; font-size: var(--fs-foot); color: var(--ink-soft); }

/* ---------- footer: the disclaimer, set to be read, then one quiet line ---------- */
.foot { padding: clamp(48px, 9vh, 88px) max(var(--gutter), env(safe-area-inset-right, 0px)) calc(28px + env(safe-area-inset-bottom, 0px)) max(var(--gutter), env(safe-area-inset-left, 0px)); background: var(--ivory); color: var(--foot-ink); --foot-ink: #4A5268; }
.foot__top { display: grid; gap: 22px; }
.foot__mark { display: inline-flex; align-items: center; width: 44px; min-height: 44px; color: var(--ink); }
.foot__svg { width: 44px; height: auto; }
.foot__svg { fill: currentColor; }
.foot__disclaimer { max-width: 39em; font-size: var(--fs-foot); line-height: 1.6; text-wrap: pretty; }
.foot a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; }
.foot__base { display: flex; flex-direction: column; gap: 4px; margin-top: clamp(36px, 6vh, 56px); padding-top: 18px; border-top: 1px solid rgba(10, 18, 38, .16); font-size: var(--fs-foot); line-height: 1.6; }
.foot__link a { display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- desktop layout from 640px ---------- */
@media (min-width: 640px) {
  .br { display: block; }
  .letter { max-width: 25em; }
  .step--who .statement { max-width: 11.5em; }
  .step--frontier .line .statement { max-width: 18em; }
  .step--group .support { margin-left: auto; margin-right: auto; }
  .step--side { align-items: center; }
  .step--side .statement { max-width: 11em; }
  .step--right .step__text { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
  .step--group { text-align: center; }
  .step--group .statement { margin: 0 auto; font-size: var(--fs-line); max-width: 20em; }
  .tree { width: min(100%, calc(1100 * var(--u))); margin: clamp(28px, 5vh, 56px) auto 0; padding: 0; }
  .tree::before { display: none; }
  .tree__lines { display: block; position: absolute; left: 0; right: 0; top: calc(51 * var(--u)); width: 100%; height: clamp(90px, 17vh, 170px); overflow: visible; }
  .tree__lines path { fill: none; stroke: rgba(10, 18, 38, .5); stroke-width: 1; vector-effect: non-scaling-stroke; }
  .motion .tree__lines { transition: opacity 1.6s ease .4s; }
  .motion .tree:not(.is-drawn) .tree__lines { opacity: 0; }
  .tree__root { padding-bottom: 0; }
  .tree__root span { display: block; padding-bottom: 14px; }
  .tree__root::before { position: static; display: block; margin: 0 auto; order: 2; }
  .tree__root { display: flex; flex-direction: column; align-items: center; }
  .tree__leaves { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 0; margin-top: clamp(90px, 17vh, 170px); }
  .tree__leaves li { padding: 22px 10px 0; }
  .tree__leaves li::before { left: calc(50% - 4.5px); top: -10px; }
  .motion .tree__leaves li:nth-child(n) { transition-delay: 1.6s; }
  .step--how { --line-top: 44%; }
  .step--ending .step__text { padding-top: 24vh; }
  .lotus-line { font-size: max(22px, 1.85vw); max-width: 27em; }
  .mail { font-size: max(34px, 3.52vw); }
  .site-header, .foot { padding-right: max(var(--gutter), calc(58 * var(--u))); }
  .foot__top { grid-template-columns: 56px minmax(0, 1fr); gap: clamp(28px, 3.4vw, 64px); align-items: start; }
  .foot__svg { width: 56px; }
  .foot__mark { width: 56px; margin-top: -8px; }
  .foot__base { flex-direction: row; align-items: center; gap: clamp(28px, 4vw, 64px); }
  .foot__credit { margin-left: auto; }
}
/* short phones: the same words, set a little tighter so each step still rests on one screen where it can */
@media (max-width: 639px) and (max-height: 640px) {
  .letter { font-size: 16.5px; }
  .step--group .statement { font-size: 26px; }
  .tree { margin-top: 18px; }
  .tree__leaves li { padding: 6px 0; }
  .tree__leaves li::before { top: calc(6px + .48em); }
  .step--ending .step__text { padding-top: 12vh; }
  .lotus-line { font-size: 19px; }
  .step--ending .hairline { margin: 14px auto 12px; }
  .copy { margin-top: 8px; min-height: 0; }
}
/* phones on their side */
@media (orientation: landscape) and (max-height: 500px) {
  :root { --header-h: 52px; --fs-hero: clamp(30px, 11vh, 48px); --fs-statement: clamp(26px, 10vh, 40px); }
  .letter { font-size: clamp(18px, 5.4vh, 24px); max-width: 24em; }
  .step { padding-bottom: 16px; }
  .step--group .statement { font-size: 24px; }
  .tree { margin-top: 12px; }
  .tree__lines, .tree__leaves { --gap: 44px; }
  .tree__lines { height: 44px; }
  .tree__leaves { margin-top: 44px; }
  .tree__leaves li { font-size: 14px; padding-top: 14px; }
  .step--ending .step__text { padding-top: 34vh; }
  .lotus-line { font-size: 19px; max-width: 30em; }
  .mail { font-size: 34px; margin-top: 6px; }
  .copy { margin-top: 8px; min-height: 0; }
  .step--hero .hairline { margin: 10px auto; }
}

/* ---------- the still version: reduced motion, or no WebGL. A picture of each stage, nothing pinned. ---------- */
.still .step { background: var(--night) center / cover no-repeat; }
.still [data-step="0"] { background-image: url("../images/poster-0.webp"); }
/* after the first screen, each step is its words on the sky of that stage, then a picture of the scene */
.still .step:not(.step--hero) { flex-direction: column; align-items: stretch; min-height: 0; padding-bottom: 0; }
.still .step:not(.step--hero)::after { content: ""; display: block; flex: none; align-self: stretch; margin: clamp(40px, 8vh, 88px) calc(-1 * max(var(--gutter), env(safe-area-inset-right, 0px))) 0 calc(-1 * max(var(--gutter), env(safe-area-inset-left, 0px))); aspect-ratio: 16 / 10; background-position: center; background-size: cover; background-repeat: no-repeat; -webkit-mask-image: linear-gradient(transparent, #000 22%); mask-image: linear-gradient(transparent, #000 22%); }
.still .step--pinned .step__pin { padding-left: var(--gutter); padding-right: var(--gutter); padding-bottom: 0; }
.still .step--pinned { padding-left: 0; padding-right: 0; }
.still .step--pinned::after { margin-left: 0 !important; margin-right: 0 !important; }
.still .step--ending .step__text { padding-top: 0; }
.still .lines { gap: clamp(36px, 7vh, 72px); }
.still [data-step="1"] { background-color: #070b16; }
.still [data-step="1"]::after { background-image: url("../images/poster-1.webp"); }
.still [data-step="2"] { background-color: #0a1020; }
.still [data-step="2"]::after { background-image: url("../images/poster-2.webp"); }
.still [data-step="3"] { background-color: #c9d8e8; }
.still [data-step="3"]::after { background-image: url("../images/poster-3.webp"); }
.still [data-step="4"] { background-color: #dde2e8; }
.still [data-step="4"]::after { background-image: url("../images/poster-4.webp"); }
.still [data-step="5"] { background-color: #ece4de; }
.still [data-step="5"]::after { background-image: url("../images/poster-5.webp"); }
@media (max-aspect-ratio: 1/1) {
  .motion.is-late .backdrop, .still [data-step="0"] { background-image: url("../images/poster-0-tall.webp"); }
  .still .step:not(.step--hero)::after { aspect-ratio: 4 / 5; }
  .motion[data-at="1"] .backdrop { background-image: url("../images/poster-1-tall.webp"); }
  .still [data-step="1"]::after { background-image: url("../images/poster-1-tall.webp"); }
  .motion[data-at="2"] .backdrop { background-image: url("../images/poster-2-tall.webp"); }
  .still [data-step="2"]::after { background-image: url("../images/poster-2-tall.webp"); }
  .motion[data-at="3"] .backdrop { background-image: url("../images/poster-3-tall.webp"); }
  .still [data-step="3"]::after { background-image: url("../images/poster-3-tall.webp"); }
  .motion[data-at="4"] .backdrop { background-image: url("../images/poster-4-tall.webp"); }
  .still [data-step="4"]::after { background-image: url("../images/poster-4-tall.webp"); }
  .motion[data-at="5"] .backdrop { background-image: url("../images/poster-5-tall.webp"); }
  .still [data-step="5"]::after { background-image: url("../images/poster-5-tall.webp"); }
}

/* ---------- diagnostics, shown only when the address ends in #diag ---------- */
.diag { position: fixed; z-index: 90; left: 8px; bottom: 8px; max-width: min(560px, calc(100vw - 16px)); padding: 10px 12px; background: rgba(0, 0, 0, .82); color: #B8F5C8; font: 400 11px/1.45 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; pointer-events: none; }

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