/* Aadhi Raat · Free palette and type, glass family · Designed using Design Lounge (https://www.designlounge.live) */
:root {
  /* Colour, from a sodium lamp on wet asphalt and a magenta tube */
  --bg: #0e0c10;
  --surface: #171419;
  --surface-2: #211c25;
  --surface-3: #2d2632;
  --ink: #f2eef4;
  --ink-2: #b4acbd;
  --ink-3: #857c90;
  --line: #2b2630;
  --line-strong: #6e6578;
  --primary: #ff4fa8;
  --primary-ink: #141210;
  --primary-soft: #3d1b2f;
  --secondary: #43d9e8;
  --secondary-ink: #141210;
  --secondary-soft: #15353a;
  --tertiary: #ffa23a;
  --tertiary-ink: #141210;
  --tertiary-soft: #3d2a14;
  --success: #5ec8a0; --success-soft: #1f3e3f; --success-on-soft: #5ec8a0;
  --warning: #ffa23a; --warning-soft: #3d2a14; --warning-on-soft: #ffa23a;
  --danger: #ff5a4e; --danger-soft: #3f1a1b; --danger-on-soft: #ff8a82;
  --info: #43d9e8; --info-soft: #15353a; --info-on-soft: #43d9e8;
  --link: #ff8cc6;
  --focus: #ff8cc6;
  --overlay: rgba(6, 5, 8, 0.72);

  /* Scene */
  --scene-sodium: #ffa23a;
  --scene-tube: #ff4fa8;
  --scene-tube-2: #43d9e8;
  --scene-sky: #1a1230;

  /* Type */
  --font-display: "Tilt Neon", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --font-text: "Eczar", Georgia, "Times New Roman", serif;
  --font-mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Glass family */
  --radius: 16px;
  --radius-card: 16px;
  --control: 44px;
  --gap: 24px;
  --pad: 20px;
  --shadow: 0 16px 40px -20px rgba(0, 0, 0, .28);

  /* Motion · Designed using Design Lounge */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-expo-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-micro: 120ms;
  --t-fast: 160ms;
  --t-ui: 200ms;
  --t-layout: 320ms;
  --t-sheet: 400ms;
  --t-hero: 640ms;
  --t-cinematic: 900ms;

  --frame: 1120px;
  --page-pad: 40px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-text);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.55;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
main, footer, .tail { overflow-x: clip; }
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.05; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: var(--link); text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; letter-spacing: 0; }
em { font-style: normal; color: var(--primary); }
.kicker { font: 500 12px/1 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }

/* Buttons · glass family: soft fill, 44px */
.btn {
  height: var(--control);
  padding: 0 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  font: 500 15px/1 var(--font-text);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: background var(--t-ui) var(--ease), border-color var(--t-ui) var(--ease), color var(--t-ui) var(--ease), transform var(--t-micro) var(--ease);
  white-space: nowrap;
}
.btn:hover { border-color: var(--ink); }
.btn:active { transform: scale(0.98); }
.btn-soft { background: var(--primary-soft); border-color: transparent; color: var(--ink); }
.btn-soft:hover { background: var(--surface-3); border-color: transparent; }
.snd .ic-pause { display: none; }
.snd[aria-pressed="true"] .ic-play { display: none; }
.snd[aria-pressed="true"] .ic-pause { display: block; }
.btn .ic { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.ic { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* Grain, one fixed layer */
.grain {
  position: fixed; inset: 0; z-index: 20; pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px 220px;
}

/* Header: the one floating glass bar */
.top {
  position: fixed; top: 16px; left: 16px; right: 16px; z-index: 10;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  height: 56px; padding: 0 8px 0 18px;
  border-radius: var(--radius);
  background: rgba(23, 20, 25, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: var(--shadow);
}
@supports (backdrop-filter: blur(16px)) or (-webkit-backdrop-filter: blur(16px)) {
  .top { -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
}
.mark { display: inline-flex; align-items: baseline; gap: 10px; color: var(--ink); }
.mark-en { font: 400 19px/1 var(--font-display); letter-spacing: 0.01em; }
.mark-ne { font: 500 14px/1 var(--font-text); color: var(--ink-2); }
.top nav { display: flex; gap: 4px; }
.top nav a {
  display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border-radius: 999px;
  color: var(--ink-2); font-size: 15px; font-weight: 500;
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.top nav a:hover { color: var(--ink); background: var(--surface-2); }
.clock { justify-self: end; display: inline-flex; align-items: center; gap: 8px; font: 500 13px/1 var(--font-mono); color: var(--ink-2); padding-right: 10px; }
.clock time { font-variant-numeric: tabular-nums; color: var(--ink); }
.clock .zone { color: var(--ink-3); }
.lamp { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); display: inline-block; flex: none; transition: background var(--t-ui) var(--ease), box-shadow var(--t-ui) var(--ease); }
:root[data-lit="1"] .lamp { background: var(--primary); box-shadow: 0 0 0 0 rgba(255, 79, 168, 0.7); animation: pulse 1600ms ease-out infinite; }
@keyframes pulse { to { box-shadow: 0 0 0 10px rgba(255, 79, 168, 0); } }

/* Hero: the street */
.hero {
  position: relative; min-height: 100dvh; min-height: 100vh;
  display: grid; grid-template-rows: 96px auto 1fr auto;
  padding: 0 var(--page-pad) 36px;
  isolation: isolate; overflow: hidden;
}
#street { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; display: block; }
.scene { grid-row: 2; display: flex; justify-content: center; }
.sign-wrap { width: min(760px, 100%); position: relative; will-change: transform; }
.sign { display: block; width: 100%; height: auto; overflow: visible; }
.reflect {
  position: relative; aspect-ratio: 1000 / 215; overflow: hidden; pointer-events: none; margin-top: 16px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), rgba(0,0,0,0) 92%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), rgba(0,0,0,0) 92%);
  filter: blur(3px);
  opacity: 0.6;
}
.reflect .sign { width: 100%; position: absolute; left: 0; top: 0; transform: scaleY(-1); transform-origin: 50% 50%; }
.reflect .sign > *:not(.tube):not(.paint):not(defs) { opacity: 0.25; }

/* Sign text: the fonts and the lit and dark states */
.sign .paint { font: 600 44px var(--font-text); fill: #e9dcc0; fill-opacity: 0.88; }
.sign text.core, .sign text.glow { font: 400 118px/1 var(--font-display); letter-spacing: 0.02em; }
.tube-sub text.core, .tube-sub text.glow { font-size: 38px; letter-spacing: 0.12em; }
.sign .glow { opacity: 0; transition: opacity var(--t-sheet) var(--ease); }
.tube-main .core { fill: url(#tubeDark); stroke: rgba(255, 255, 255, 0.14); stroke-width: 1.2; paint-order: stroke; transition: fill var(--t-ui) var(--ease); }
.tube-sub .core { fill: url(#tubeDark2); stroke: rgba(255, 255, 255, 0.12); stroke-width: 1; paint-order: stroke; }
.tube-main .glow { fill: var(--scene-tube); }
.tube-sub .glow { fill: var(--scene-tube-2); }
:root[data-lit="1"] .tube-main .core { fill: url(#tubeLit); stroke: #ff9fd0; stroke-width: 1.5; }
:root[data-lit="1"] .tube-sub .core { fill: url(#tubeLit2); stroke: #9beef7; stroke-width: 1; }
:root[data-lit="1"] .glow-near { opacity: 0.9; }
:root[data-lit="1"] .glow-mid { opacity: 0.75; }
:root[data-lit="1"] .glow-far { opacity: 0.6; }
.sign.strike .tube { animation: strike 1100ms steps(1, end) 1; }
@keyframes strike {
  0% { opacity: 0.2; } 8% { opacity: 1; } 14% { opacity: 0.15; } 22% { opacity: 1; }
  30% { opacity: 0.4; } 36% { opacity: 1; } 60% { opacity: 1; } 64% { opacity: 0.6; } 70% { opacity: 1; }
}
.sign.buzz .tube-main { animation: buzz 7s linear infinite; }
@keyframes buzz { 0%, 93%, 100% { opacity: 1; } 94% { opacity: 0.86; } 95% { opacity: 1; } 97% { opacity: 0.92; } 98% { opacity: 1; } }

/* Hero foot */
.hero-foot {
  grid-row: 4; display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 360px); justify-content: space-between; align-items: end; gap: 32px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6), 0 0 24px rgba(0, 0, 0, 0.6);
}
.big { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.25; font-weight: 500; max-width: 24ch; margin-bottom: 20px; }
.ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; text-shadow: none; }
.status { display: inline-flex; align-items: center; gap: 10px; height: var(--control); padding: 0 16px 0 14px; border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.1); background: rgba(14, 12, 16, 0.82); font-size: 15px; font-weight: 500; white-space: nowrap; }
.status .st-num { font-size: 18px; color: var(--ink); }
.status .st-title { color: var(--ink-2); }
:root[data-lit="1"] .status .st-title { color: var(--ink); }
.window { margin: 0; justify-self: end; text-align: right; }
.window dt { font: 500 12px/1 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.window dd { margin: 0; }
.window .num { font-size: 20px; color: var(--ink); }
.window .win-note { font-size: 14px; color: var(--ink-2); margin-top: 6px; }

/* Sections, shared */
.rule, .week, .send, .tail { width: min(var(--frame), 100% - 2 * var(--page-pad)); margin: 0 auto; }
.rise { opacity: 0; transform: translateY(20px); transition: opacity 700ms var(--ease-expo-out), transform 700ms var(--ease-expo-out); }
.rise.in { opacity: 1; transform: none; }

/* The rule (scroll-word-highlight, built still: every word lit, underlines drawn) */
.rule { padding: 128px 0 96px; }
.rule .kicker { margin-bottom: 28px; }
.manifesto { font-size: clamp(28px, 4vw, 54px); line-height: 1.16; max-width: 960px; font-weight: 400; letter-spacing: -0.005em; }
.manifesto mark { background: none; color: inherit; text-decoration: underline; text-decoration-color: var(--primary); text-decoration-thickness: 3px; text-underline-offset: 0.12em; }

/* This week (week-schedule) */
.week { padding: 64px 0 112px; }
.week-head { margin-bottom: 18px; }
.week h2 { font-size: 40px; margin-bottom: 8px; }
.detail { color: var(--ink-2); font-size: 18px; }
.board { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.day { background: var(--surface); border-radius: var(--radius-card); padding: 10px; min-height: 360px; display: flex; flex-direction: column; gap: 10px; border: 1px solid var(--line); }
.day h3 { font: 500 12px/1 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); padding: 4px 2px 0; display: flex; justify-content: space-between; }
.day h3 .d { color: var(--ink-3); }
.day.today h3 { color: var(--primary); }
.day.today h3 .d { color: var(--primary); }
.moon { width: 100%; max-width: 120px; margin: 10px auto 2px; display: block; }
.night {
  margin-top: auto; width: 100%; text-align: left; border: 0; border-left: 3px solid var(--primary); border-radius: 0 10px 10px 0;
  padding: 10px 10px 10px 12px; background: var(--surface-2); color: var(--ink); cursor: pointer; font-family: var(--font-text);
  display: grid; gap: 4px; transition: background var(--t-ui) var(--ease), color var(--t-ui) var(--ease);
}
.night:hover { background: var(--surface-3); }
.night .num { font-size: 15px; white-space: nowrap; }
.night small { font-size: 13px; color: var(--ink-2); }
.night[aria-pressed="true"] { background: var(--primary); color: var(--primary-ink); border-left-color: var(--primary); }
.night[aria-pressed="true"] small { color: var(--primary-ink); }
.night:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.board-note { margin-top: 20px; color: var(--ink-2); font-size: 16px; max-width: 64ch; }

/* Send a tape (stacking-cards-scroll) */
.send { padding: 48px 0 160px; position: relative; }
.send-head { display: grid; grid-template-columns: 1fr 300px; align-items: end; gap: 24px; padding-bottom: 32px; }
.send-head h2 { font-size: clamp(48px, 7vw, 96px); letter-spacing: -0.045em; line-height: 0.95; }
.send-head p { color: var(--ink-2); font-size: 15px; }
.stack { list-style: none; margin: 0; padding: 0; }
.stack li { position: sticky; top: 0; padding-top: calc(40px + var(--i) * 16px); margin-bottom: 40px; }
.stack li:last-child { margin-bottom: 0; }
.card {
  position: relative; display: grid; grid-template-columns: 500px minmax(0, 1fr); gap: 16px; padding: 16px;
  min-height: 540px; border-radius: var(--radius-card); background: var(--surface); border: 1px solid var(--line);
  transform-origin: 50% 0; transform: scale(var(--s, 1)); box-shadow: var(--shadow);
}
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #000; opacity: var(--dim, 0); pointer-events: none; }
.card .txt { padding: 24px 24px 20px; display: flex; flex-direction: column; }
.step { font-size: 13px; color: var(--primary); margin-bottom: 18px; }
.card h3 { font-size: clamp(56px, 8vw, 112px); font-weight: 400; letter-spacing: -0.03em; line-height: 0.95; margin-bottom: 20px; }
.card .txt > p:not(.step) { max-width: 38ch; color: var(--ink-2); font-size: 18px; }
.meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: auto 0 0; padding-top: 28px; }
.meta div { border-top: 1px solid var(--line); padding-top: 10px; }
.meta dt { font: 500 11px/1 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.meta dd { margin: 0; font-size: 16px; }
.art { position: relative; border-radius: 12px; background: var(--surface-2); overflow: hidden; display: grid; place-items: center; min-height: 320px; }
.art::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 20% 10%, rgba(255, 162, 58, 0.16), transparent 70%); }
.art-svg { width: min(360px, 80%); height: auto; position: relative; }
.slot-caption { position: absolute; left: 20px; bottom: 16px; font: 500 12px/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.file { position: relative; width: min(360px, 86%); background: var(--surface); border: 1px solid var(--line-strong); border-radius: 12px; padding: 14px 16px 6px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); }
.file::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: rgba(255, 217, 168, 0.3); }
.file-top { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--ink); padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.chip { font: 500 11px/1 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); border: 1px solid var(--line-strong); border-radius: 999px; padding: 5px 8px; }
.file-rows div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.file-rows div:last-child { border-bottom: 0; }
.file-rows b { font-weight: 500; color: var(--ink); }
.file-rows .ok b { color: var(--success); }
.rail { position: fixed; right: 24px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 6px; z-index: 10; opacity: 0; pointer-events: none; transition: opacity var(--t-layout) var(--ease); }
.rail.show { opacity: 1; pointer-events: auto; }
.rail button { display: flex; align-items: center; gap: 8px; height: 28px; padding: 0 6px; border: 0; background: transparent; color: var(--ink-3); font: 500 12px/1 var(--font-mono); cursor: pointer; }
.rail button::before { content: ""; width: 8px; height: 2px; background: var(--ink-3); transition: width var(--t-ui) var(--ease), background var(--t-ui) var(--ease); }
.rail button[aria-current="step"] { color: var(--ink); }
.rail button[aria-current="step"]::before { width: 20px; background: var(--primary); }

/* Tail: the catalogue, empty */
.tail { padding: 0 0 72px; display: grid; grid-template-columns: 1fr auto; gap: 8px 32px; align-items: center; border-top: 1px solid var(--line); padding-top: 40px; }
.tail h2 { font-size: 40px; grid-column: 1; }
.tail p { grid-column: 1; color: var(--ink-2); font-size: 18px; }
.tail .btn { grid-column: 2; grid-row: 1 / span 2; }

/* Footer (footer-giant-wordmark-reveal) */
footer { position: relative; overflow: hidden; padding: 36px var(--page-pad) 0; background: var(--surface); border-top: 1px solid var(--line); }
.f-top { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; padding-bottom: 28px; border-bottom: 1px solid var(--line); width: min(var(--frame), 100%); margin: 0 auto; }
.f-top .kicker { margin-bottom: 10px; }
.f-top .line { font-size: clamp(22px, 2.6vw, 34px); line-height: 1.2; font-weight: 500; max-width: 22ch; }
.f-clock { text-align: right; }
.f-clock .t { font-size: clamp(32px, 3vw, 40px); line-height: 1; }
.f-clock .sec { color: var(--ink-3); }
.f-clock .z { display: inline-flex; align-items: center; gap: 8px; font: 500 13px/1 var(--font-mono); color: var(--ink-2); margin-top: 10px; }
.cols { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 32px; padding: 32px 0 28px; width: min(var(--frame), 100%); margin: 0 auto; }
.cols h3 { font: 500 12px/1 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cols a { color: var(--ink-2); display: inline-flex; align-items: center; min-height: 24px; font-size: 16px; transition: color var(--t-fast) var(--ease); }
.cols a::before { content: ""; width: 0; height: 2px; margin-right: 0; background: var(--primary); transition: width 240ms var(--ease-expo-out), margin-right 240ms var(--ease-expo-out); }
.cols a:hover { color: var(--ink); }
.cols a:hover::before { width: 14px; margin-right: 8px; }
.cols .muted { color: var(--ink-3); font-size: 16px; }
.note { color: var(--ink-2); font-size: 15px; margin: 0; max-width: 40ch; }
.legal { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; font-size: 13px; color: var(--ink-3); width: min(var(--frame), 100%); margin: 0 auto; padding-bottom: 8px; }
.legal a { color: var(--ink-2); }
.legal a:hover { color: var(--ink); }
.legal .spacer { flex: 1; }
.replay { height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--ink-2); font: 500 12px/1 var(--font-mono); cursor: pointer; transition: border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.replay:hover { border-color: var(--primary); color: var(--ink); }
.word { display: flex; justify-content: center; height: 0.7em; overflow: hidden; margin: 8px auto 0; width: min(var(--frame), 100%); font: 400 var(--word-size, 300px)/1 var(--font-display); color: var(--ink); user-select: none; white-space: nowrap; }
.word span { display: inline-block; transform: translateY(calc((1 - var(--p, 0)) * 100%)); transition: transform 520ms var(--ease-expo-out), color var(--t-fast) var(--ease); }
.word span:hover { color: var(--primary); }
.word .end { color: var(--primary); }
:root[data-lit="1"] .word span { color: #ffd7ec; text-shadow: 0 0 18px rgba(255, 79, 168, 0.8), 0 0 60px rgba(255, 79, 168, 0.5); }
:root[data-lit="1"] .word .end { color: var(--secondary); text-shadow: 0 0 18px rgba(67, 217, 232, 0.8); }

/* Responsive */
@media (max-width: 1100px) {
  .card { grid-template-columns: 440px minmax(0, 1fr); }
}
@media (max-width: 1023px) {
  .f-top { grid-template-columns: 1fr; gap: 24px; }
  .f-clock { text-align: left; }
  .cols { grid-template-columns: 1fr 1fr; }
  .note { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  :root { --page-pad: 24px; }
  .board { grid-template-columns: 1fr; }
  .day { min-height: 0; flex-direction: row; align-items: center; gap: 14px; padding: 10px 12px; }
  .day h3 { width: 110px; flex: none; flex-direction: column; gap: 6px; }
  .moon { width: 44px; margin: 0; flex: none; }
  .night { margin: 0; flex: 1; grid-template-columns: 1fr; align-items: center; }
  .night small { white-space: nowrap; }
  .card { grid-template-columns: 1fr; min-height: 0; }
  .art { order: -1; min-height: 240px; }
  .art-svg { width: min(220px, 60%); }
  .rail { display: none; }
  .send-head { grid-template-columns: 1fr; }
  .tail { grid-template-columns: 1fr; }
  .tail .btn { grid-column: 1; grid-row: auto; justify-self: start; }
}
@media (max-width: 760px) {
  .hero { grid-template-rows: 128px auto 1fr auto; padding-bottom: 28px; }
  .hero-foot { grid-template-columns: 1fr; gap: 20px; }
  .window { justify-self: start; text-align: left; }
  .top { grid-template-columns: 1fr auto; grid-template-rows: auto auto; height: auto; padding: 10px 12px 8px 16px; row-gap: 2px; }
  .top nav { grid-column: 1 / -1; grid-row: 2; margin-left: -10px; }
  .top nav a { height: 36px; padding: 0 10px; font-size: 14px; }
  .clock { grid-column: 2; grid-row: 1; padding-right: 4px; }
  .clock .zone { display: none; }
}
@media (max-width: 640px) {
  :root { --page-pad: 20px; }
  .reflect { margin-top: 12px; }
  .big { font-size: 22px; max-width: none; }
  .status { height: auto; min-height: var(--control); padding: 8px 14px; white-space: normal; display: grid; grid-template-columns: auto 1fr; column-gap: 10px; row-gap: 2px; align-items: center; }
  .status .lamp { grid-row: 1 / span 2; }
  .status .st-title, .status .st-num { grid-column: 2; }
  .window .num { font-size: 17px; }
  .rule { padding: 88px 0 64px; }
  .week { padding: 40px 0 80px; }
  .week h2 { font-size: 32px; }
  .day h3 { width: 76px; }
  .night .num { font-size: 14px; }
  .send { padding-bottom: 96px; }
  .stack li { padding-top: calc(24px + var(--i) * 12px); margin-bottom: 24px; }
  .card { padding: 12px; }
  .card .txt { padding: 16px 12px 12px; }
  .card h3 { font-size: 56px; }
  .meta { grid-template-columns: 1fr; gap: 10px; }
  .cols { grid-template-columns: 1fr 1fr; gap: 24px; }
  .legal .replay { flex-basis: 100%; width: max-content; }
  .tail h2 { font-size: 32px; }
}
@media (max-height: 720px) and (min-width: 761px) {
  .hero { grid-template-rows: 84px auto 1fr auto; }
  .sign-wrap { width: min(620px, 100%); }
}

/* Reduced motion: every effect still */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 1ms !important; }
  .rise { opacity: 1; transform: none; }
  .word span { transform: none !important; }
  .card { transform: none !important; }
  .card::after { opacity: 0 !important; }
  .sign.strike .tube, .sign.buzz .tube-main { animation: none !important; opacity: 1; }
}
