/* Last Stop landing page: the game's own palette (amber, bone, ink) and subway signage type. */
:root {
  --amber: #f2b632;
  --amber-dim: rgba(242, 182, 50, 0.55);
  --bone: #e9e4d6;
  --bone-dim: rgba(233, 228, 214, 0.68);
  --ink: #08090a;
  --panel: #0f1113;
  --line: rgba(242, 182, 50, 0.22);
  --red: #d8322a;
  --green: #45c96b;
  --tile: #1a1c1e;
  --mono: "Consolas", "SF Mono", "Menlo", "DejaVu Sans Mono", monospace;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--ink); color: var(--bone); font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--amber); }
img, video { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--sans); font-weight: 700; line-height: 1.15; margin: 0; }
p { margin: 0 0 1em; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--amber); color: #111; padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }

/* the round line bullet */
.bullet { display: inline-grid; place-items: center; width: 1.25em; height: 1.25em; border-radius: 50%; background: var(--amber); color: #111; font-family: var(--sans); font-weight: 700; font-size: 0.82em; line-height: 1; flex: none; }
.bullet.sm { font-size: 15px; width: 26px; height: 26px; }

/* ---------- top bar ---------- */
.bar { position: fixed; inset: 0 0 auto; z-index: 20; display: flex; align-items: center; gap: 24px; padding: 12px var(--gutter); background: linear-gradient(rgba(8, 9, 10, 0.85), rgba(8, 9, 10, 0)); transition: background 0.3s, border-color 0.3s; border-bottom: 1px solid transparent; }
.bar.solid { background: rgba(8, 9, 10, 0.94); border-bottom-color: var(--line); }
.bar-mark { display: flex; align-items: center; gap: 10px; color: var(--bone); text-decoration: none; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; font-size: 15px; }
.bar-mark .bullet { font-size: 16px; }
.bar-links { display: flex; gap: 22px; margin-left: auto; }
.bar-links a { color: var(--bone-dim); text-decoration: none; font-size: 14px; letter-spacing: 0.04em; }
.bar-links a:hover, .bar-links a:focus-visible { color: var(--amber); }
@media (max-width: 760px) { .bar-links { display: none; } .bar .btn-small { margin-left: auto; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; border-radius: 3px; font-family: var(--mono); font-weight: 700; font-size: 14px; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; border: 2px solid var(--amber); transition: background 0.15s, color 0.15s, box-shadow 0.15s; }
.btn-go { background: var(--amber); color: #111; box-shadow: 0 0 22px rgba(242, 182, 50, 0.25); }
.btn-go:hover, .btn-go:focus-visible { background: #ffc94a; box-shadow: 0 0 30px rgba(242, 182, 50, 0.45); }
.btn-quiet { color: var(--amber); background: rgba(8, 9, 10, 0.55); }
.btn-quiet:hover, .btn-quiet:focus-visible { background: rgba(242, 182, 50, 0.12); }
.btn-small { min-height: 36px; padding: 0 16px; font-size: 12px; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: #000 url(media/hero.jpg) center / cover no-repeat; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 9, 10, 0.88) 0%, rgba(8, 9, 10, 0.55) 38%, rgba(8, 9, 10, 0) 70%), linear-gradient(0deg, var(--ink) 0%, rgba(8, 9, 10, 0) 32%); }
.hero-copy { position: relative; z-index: 1; width: min(640px, 100%); padding: 120px var(--gutter) clamp(48px, 9vh, 96px); }
.status { display: inline-flex; align-items: center; gap: 9px; padding: 6px 14px; margin-bottom: 22px; border: 1px solid rgba(210, 153, 34, 0.7); border-radius: 999px; background: rgba(210, 153, 34, 0.14); color: #f0c060; font: 700 12px/1 var(--mono); letter-spacing: 0.18em; text-transform: uppercase; }
.status .dot { width: 8px; height: 8px; border-radius: 50%; background: #d29922; box-shadow: 0 0 8px #d29922; animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }
@media (prefers-reduced-motion: reduce) { .status .dot { animation: none; } }
.wordmark { display: flex; align-items: center; gap: 0.3em; white-space: nowrap; font-size: clamp(38px, 7.4vw, 92px); letter-spacing: 0.08em; text-transform: uppercase; text-shadow: 0 2px 0 #000, 0 0 40px rgba(0, 0, 0, 0.6); }
.wordmark .bullet { font-size: 0.62em; box-shadow: 0 0 26px rgba(242, 182, 50, 0.45); }
.sign { display: inline-block; margin: 18px 0 22px; padding: 7px 14px; background: #111; border-top: 3px solid var(--bone); color: var(--bone); font-weight: 700; font-size: 15px; letter-spacing: 0.06em; }
.sign i { color: var(--amber); font-style: normal; padding: 0 6px; }
.lede { font-size: clamp(20px, 2.4vw, 25px); line-height: 1.4; color: var(--bone); font-style: italic; margin-bottom: 10px; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8); }
.lede-sub { color: var(--bone-dim); max-width: 34em; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 14px; }
.fine { font: 13px/1.5 var(--mono); color: var(--bone-dim); letter-spacing: 0.04em; }
.source-note { max-width: 34em; margin-top: 14px; padding-left: 12px; border-left: 2px solid var(--amber-dim); font-size: 14px; line-height: 1.5; color: var(--bone-dim); text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8); }

/* ---------- arrival board strip ---------- */
.board-strip { padding: 0 var(--gutter); margin: -28px 0 0; position: relative; z-index: 2; }
.board { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 18px; max-width: 980px; margin: 0 auto; padding: 14px 22px; background: #050505; border: 1px solid #222; border-radius: 4px; box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.9), 0 18px 40px rgba(0, 0, 0, 0.5); font-family: var(--mono); color: var(--amber); text-shadow: 0 0 8px rgba(242, 182, 50, 0.55); letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; }
.board-dest { font-size: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.board-msg { font-size: 13px; color: var(--amber-dim); white-space: nowrap; }
.board-min { font-size: 18px; min-width: 5ch; text-align: right; }
@media (max-width: 640px) { .board { grid-template-columns: auto minmax(0, 1fr) auto; } .board-msg { display: none; } }

/* ---------- sections ---------- */
section { padding: clamp(64px, 10vw, 120px) var(--gutter) 0; }
.section-head { max-width: 760px; margin: 0 auto clamp(36px, 6vw, 64px); text-align: center; }
.kicker { display: inline-block; margin-bottom: 14px; font: 700 12px/1 var(--mono); letter-spacing: 0.3em; text-transform: uppercase; color: var(--amber); }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 18px; }
.intro { color: var(--bone-dim); font-size: 18px; }

/* the line: one stop per clip */
.stop { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 52px); align-items: center; max-width: 1200px; margin: 0 auto clamp(56px, 8vw, 96px); }
.stop:nth-of-type(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); }
.stop:nth-of-type(even) .clip { order: 2; }
.clip { margin: 0; position: relative; aspect-ratio: 16 / 9; background: #000; border: 1px solid #1f2123; border-radius: 4px; overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55); }
.clip video { width: 100%; height: 100%; object-fit: cover; }
.stop-sign { margin-bottom: 16px; }
.stop-sign span { display: inline-block; padding: 6px 12px; background: #111; border-top: 3px solid var(--bone); font-weight: 700; font-size: 14px; letter-spacing: 0.06em; }
.stop h3 { font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 14px; }
.stop p { color: var(--bone-dim); }
@media (max-width: 860px) {
  .stop, .stop:nth-of-type(even) { grid-template-columns: 1fr; }
  .stop:nth-of-type(even) .clip { order: 0; }
}

/* the whole run */
.run-frame { margin: 0 auto; max-width: 1200px; aspect-ratio: 16 / 9; background: #000; border: 1px solid #1f2123; border-radius: 4px; overflow: hidden; }
.run-frame video { width: 100%; height: 100%; }
.chapters { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 1200px; margin: 18px auto 0; padding: 0; }
.chapters button { min-height: 40px; padding: 0 14px; background: var(--panel); color: var(--bone); border: 1px solid #2a2c2e; border-left: 3px solid var(--amber-dim); border-radius: 3px; font: 13px/1 var(--mono); letter-spacing: 0.06em; cursor: pointer; }
.chapters button b { color: var(--amber); font-weight: 700; margin-right: 8px; }
.chapters button:hover, .chapters button:focus-visible, .chapters button[aria-current="true"] { border-color: var(--amber); background: #17140c; }

/* controls */
.keys { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 10px; max-width: 1000px; margin: 0 auto; }
.keys div { display: flex; gap: 14px; align-items: baseline; padding: 12px 16px; background: var(--panel); border: 1px solid #1f2123; border-radius: 3px; }
.keys dt { font: 700 13px/1.4 var(--mono); color: var(--amber); letter-spacing: 0.06em; min-width: 7.5em; }
.keys dd { margin: 0; color: var(--bone-dim); font-size: 15px; }

/* how it was made */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; max-width: 1200px; margin: 0 auto; }
.card { padding: 24px 24px 10px; background: var(--panel); border: 1px solid #1f2123; border-top: 3px solid var(--amber); border-radius: 3px; }
.card h3 { font-size: 19px; margin-bottom: 12px; }
.card p { color: var(--bone-dim); font-size: 15.5px; }
.made-by { text-align: center; color: var(--bone-dim); margin: 36px 0 0; font-size: 15px; }

/* footer */
.foot { padding: clamp(64px, 10vw, 110px) var(--gutter) 48px; text-align: center; border-top: 1px solid #16181a; margin-top: clamp(64px, 10vw, 120px); background: linear-gradient(#08090a, #0c0d0e); }
.foot .cta { justify-content: center; margin-bottom: 26px; }
.foot p { color: var(--bone-dim); font-size: 14px; max-width: 46em; margin: 0 auto 10px; }
