/* Horizonbound Studio: one page, dark night sky with a sunrise accent. */

@font-face {
  font-family: "Unbounded";
  src: url("../fonts/unbounded-latin-var.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #060a17;
  --bg-2: #0a1124;
  --line: rgba(160, 180, 255, 0.1);
  --line-2: rgba(160, 180, 255, 0.18);
  --surface: rgba(255, 255, 255, 0.03);
  --surface-2: rgba(255, 255, 255, 0.055);
  --text: #eef2ff;
  --muted: #a3aecb;
  --dim: #75809e;
  --sun-1: #ffe066;
  --sun-2: #ffb340;
  --sun-3: #ff7a3d;
  --sun-grad: linear-gradient(100deg, #ffe066 0%, #ffb340 45%, #ff7a3d 100%);
  --live: #3ddc84;
  --night: #b9b0ff;
  --discord: #5865f2;
  --discord-hover: #4752c4;
  --r: 18px;
  --r-lg: 28px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
  --display: "Unbounded", ui-sans-serif, system-ui, sans-serif;
  --body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.i { width: 1.2em; height: 1.2em; flex: none; }
.sun-text {
  background: var(--sun-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 10px;
  background: var(--sun-1); color: #1b1103; font-weight: 700;
}
.skip:focus { top: 12px; }

/* ---------- buttons ---------- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  height: var(--h); padding: 0 1.3em;
  border: 1px solid transparent; border-radius: 999px;
  font: 600 15px/1 var(--body);
  white-space: nowrap; cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}
.btn:focus-visible { border-radius: 999px; }
.btn-sun {
  background: var(--sun-grad);
  color: #1b1103;
  box-shadow: 0 10px 30px -10px rgba(255, 140, 50, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.btn-sun:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -12px rgba(255, 140, 50, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
/* Discord's own blurple, for every "Join our Discord" button */
.btn-discord {
  background: var(--discord);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(88, 101, 242, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.btn-discord:hover {
  background: var(--discord-hover);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -12px rgba(88, 101, 242, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-2);
  color: var(--text);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.09); border-color: rgba(255, 255, 255, 0.3); }
.btn-sm { --h: 40px; padding: 0 1.05em; font-size: 14px; }
.btn-lg { --h: 56px; padding: 0 1.7em; font-size: 16px; }
.btn-xl { --h: 64px; padding: 0 2.1em; font-size: 18px; }

/* ---------- live dot ---------- */
.dot {
  width: 8px; height: 8px; flex: none;
  border-radius: 50%;
  background: var(--live);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(61, 220, 132, 0); }
  100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); }
}

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.site-header.is-scrolled {
  background: rgba(6, 10, 23, 0.74);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.brand-mark { width: 36px; height: 36px; color: #fff; }
.brand-name {
  font: 700 16px/1 var(--display);
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.brand-name small {
  display: block; margin-top: 5px;
  font: 600 9.5px/1 var(--body);
  letter-spacing: 0.36em;
  color: var(--muted);
}
.nav { margin-left: auto; display: flex; gap: 4px; }
.nav a {
  padding: 8px 14px; border-radius: 999px;
  color: var(--muted); font-size: 15px; font-weight: 500;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }

/* ---------- hero ---------- */
/* 40px shorter than the screen, so the stats numbers peek above the fold */
.hero {
  position: relative; isolation: isolate; overflow: clip;
  min-height: min(calc(100svh - 40px), 960px);
  display: grid; place-items: center;
  padding: calc(var(--header-h) + 48px) 0 150px;
}
.hero-wall {
  position: absolute; inset: -32% -30%; z-index: -3;
  display: flex; flex-direction: column; justify-content: center; gap: 22px;
  transform: perspective(1500px) rotateX(22deg) rotateZ(-9deg);
  opacity: 0.6;
}
.wall-row { display: flex; width: max-content; }
.wall-row img {
  width: clamp(230px, 25vw, 380px); height: auto;
  aspect-ratio: 16 / 9; object-fit: cover;
  margin-right: 22px;
  border-radius: 16px;
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.9);
}
.js .wall-row.is-looping { animation: wall 95s linear infinite; }
.js .wall-row.is-looping:nth-child(2) { animation-duration: 120s; animation-direction: reverse; }
.js .wall-row.is-looping:nth-child(3) { animation-duration: 105s; }
.js .wall-row.is-looping:nth-child(4) { animation-duration: 130s; animation-direction: reverse; }
@keyframes wall { to { transform: translateX(-50%); } }

.hero-shade {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse 58% 52% at 50% 47%, rgba(6, 10, 23, 0.93) 0%, rgba(6, 10, 23, 0.72) 55%, rgba(6, 10, 23, 0.38) 100%),
    linear-gradient(180deg, rgba(6, 10, 23, 0.8) 0%, rgba(6, 10, 23, 0) 20%, rgba(6, 10, 23, 0) 58%, var(--bg) 100%);
}
.horizon {
  position: absolute; inset: auto 0 0; height: 360px; z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse 52% 70% at 50% 100%, rgba(255, 150, 60, 0.42), rgba(255, 110, 60, 0.14) 45%, transparent 72%);
}
.horizon::after {
  content: ""; position: absolute; left: 6%; right: 6%; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 214, 130, 0.95), transparent);
}

.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.live-pill {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 30px; padding: 8px 16px 8px 13px;
  border: 1px solid var(--line-2); border-radius: 999px;
  background: rgba(10, 17, 36, 0.72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--muted); font-size: 14px;
  transition: border-color 0.2s ease;
}
.live-pill:hover { border-color: rgba(255, 255, 255, 0.32); }
.live-pill b { color: var(--text); font-weight: 700; font-variant-numeric: tabular-nums; }
.hero h1 {
  max-width: 13.5em;
  font-size: clamp(2.15rem, 1.1rem + 4.4vw, 5rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
}
.lead {
  max-width: 40rem; margin-top: 26px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1rem + 0.35vw, 1.25rem);
}
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 38px; }

/* ---------- proof / stats ---------- */
.proof { position: relative; z-index: 2; margin-top: -104px; }
.proof-card {
  border: 1px solid var(--line-2); border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(17, 27, 56, 0.88), rgba(9, 15, 33, 0.94));
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.proof-head {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  font: 600 12.5px/1.3 var(--body);
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
}
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 32px 16px 34px;
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: 0; }
.stat dt { margin-top: 14px; font-weight: 600; font-size: 16px; }
.stat-num {
  order: -1;
  font: 700 clamp(2rem, 1.3rem + 2.3vw, 3.25rem)/1 var(--display);
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fff 10%, #ffd27a 120%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-note { margin-top: 4px; color: var(--dim); font-size: 14px; }

/* ---------- sections ---------- */
.section { padding: clamp(84px, 10vw, 140px) 0 0; }
.section-head { max-width: 780px; margin: 0 auto 60px; text-align: center; }
.eyebrow {
  display: inline-block; margin-bottom: 18px;
  font: 600 13px/1 var(--body);
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--sun-2);
}
.section h2 { font-size: clamp(1.9rem, 1.15rem + 3vw, 3.4rem); }
.section-lead {
  max-width: 40rem; margin: 22px auto 0;
  color: var(--muted);
  font-size: clamp(1.03rem, 0.98rem + 0.3vw, 1.18rem);
}

/* ---------- the road ---------- */
.road { position: relative; max-width: 1060px; margin: 0 auto 96px; padding-top: 62px; }
.road-bracket {
  position: absolute; top: 0; left: 10%; width: 60%; height: 44px;
  display: flex; justify-content: center;
  border: 2px solid rgba(255, 190, 90, 0.5); border-bottom: 0;
  border-radius: 14px 14px 0 0;
}
.road-bracket span {
  height: max-content; padding: 0 14px;
  transform: translateY(-58%);
  background: var(--bg);
  color: var(--sun-1); font-weight: 600; font-size: 15px; white-space: nowrap;
}
.road-stops { display: grid; grid-template-columns: repeat(5, 1fr); }
.stop {
  position: relative;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 0 8px;
}
.stop:not(:last-child)::after {
  content: ""; position: absolute; z-index: 0;
  top: 13px; left: 50%; width: 100%; height: 4px; border-radius: 4px;
  background: var(--sun-grad);
  box-shadow: 0 0 22px rgba(255, 160, 60, 0.45);
}
.stop.is-peak::after {
  top: 14px; height: 2px; box-shadow: none;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.3) 0 8px, transparent 8px 16px);
}
.stop-dot {
  position: relative; z-index: 1;
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg);
  border: 3px solid var(--sun-2);
}
.stop.is-peak .stop-dot {
  width: 50px; height: 50px; margin-top: -10px; margin-bottom: -10px;
  border: 0;
  background: var(--sun-grad);
  color: #2a1604;
  box-shadow: 0 0 0 7px rgba(255, 170, 60, 0.14), 0 0 46px rgba(255, 150, 60, 0.65);
}
.stop.is-peak .stop-dot .i { width: 26px; height: 26px; }
.stop.is-theirs .stop-dot { border: 2px dashed rgba(255, 255, 255, 0.35); }
.stop b { margin-top: 16px; font-size: 16px; font-weight: 600; line-height: 1.3; }
.stop.is-peak b { color: var(--sun-1); }
.stop.is-theirs b { color: var(--muted); }
.stop small { margin-top: 6px; color: var(--dim); font-size: 14px; line-height: 1.35; }

/* ---------- how cards ---------- */
.how-title {
  margin-bottom: 30px; text-align: center;
  font-size: clamp(1.3rem, 1.05rem + 1vw, 1.8rem);
}
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card {
  padding: 30px 26px 32px;
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--surface);
  transition: border-color 0.25s ease, background-color 0.25s ease, translate 0.25s ease;
}
.card:hover { border-color: rgba(255, 190, 90, 0.35); background: var(--surface-2); translate: 0 -4px; }
.card-icon {
  width: 50px; height: 50px; margin-bottom: 22px;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 190, 90, 0.3); border-radius: 14px;
  background: linear-gradient(140deg, rgba(255, 224, 102, 0.18), rgba(255, 122, 61, 0.1));
  color: var(--sun-1);
}
.card-icon .i { width: 24px; height: 24px; }
.card h4 { font-size: 18px; line-height: 1.25; letter-spacing: -0.01em; }
.card p { margin-top: 10px; color: var(--muted); font-size: 15px; }

/* ---------- games ---------- */
.spotlight {
  display: grid; grid-template-columns: 1.12fr 1fr;
  overflow: hidden;
  border: 1px solid var(--line-2); border-radius: var(--r-lg);
  background: linear-gradient(160deg, #101a3a, #0a1126);
  box-shadow: 0 40px 100px -50px rgba(255, 140, 50, 0.35);
}
.spotlight-media { position: relative; min-height: 100%; }
.spotlight-media img { width: 100%; height: 100%; object-fit: cover; }
.spotlight-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 62%, rgba(11, 18, 40, 0.95));
}
.badge {
  position: absolute; top: 18px; left: 18px; z-index: 1;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 13px; border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(6, 10, 23, 0.78);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 13px; font-weight: 600;
}
.badge b { font-variant-numeric: tabular-nums; }
.badge-alpha { border-color: rgba(185, 176, 255, 0.45); background: rgba(40, 30, 90, 0.75); color: #e3deff; letter-spacing: 0.06em; text-transform: uppercase; font-size: 12px; }
.spotlight-body { padding: clamp(28px, 4vw, 52px); }
.game-id { display: flex; align-items: center; gap: 16px; }
.game-icon { width: 64px; height: 64px; border: 1px solid var(--line-2); border-radius: 16px; }
.game-kicker {
  color: var(--dim);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
}
.spotlight h3, .alpha-card h3 { margin-top: 6px; font-size: clamp(1.55rem, 1.15rem + 1.4vw, 2.3rem); }
.game-tagline {
  margin-top: 22px;
  color: var(--sun-1);
  font: 700 clamp(1.05rem, 0.98rem + 0.4vw, 1.3rem)/1.3 var(--display);
  letter-spacing: -0.01em;
}
.game-tagline-night { margin-top: 18px; color: var(--night); font-size: 1rem; }
.game-text { margin-top: 12px; color: var(--muted); font-size: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chips li {
  padding: 7px 13px; border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  font-size: 14px; font-weight: 500;
}
.mini-stats { display: flex; flex-wrap: wrap; gap: 14px 34px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.mini-stats dt { color: var(--dim); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.mini-stats dd { margin-top: 6px; font: 700 22px/1 var(--display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.spotlight .actions { justify-content: flex-start; margin-top: 30px; }

.gallery {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  margin-top: 14px;
}
.gallery li:first-child { grid-column: span 2; grid-row: span 2; }
.shot {
  position: relative; display: block; width: 100%; height: 100%;
  padding: 0; border: 0; border-radius: var(--r);
  overflow: hidden; cursor: zoom-in;
  background: var(--bg-2);
}
.shot::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  pointer-events: none;
}
.shot img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: scale 0.5s ease; }
.shot:hover img { scale: 1.04; }
.shot-zoom {
  position: absolute; right: 12px; bottom: 12px;
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(6, 10, 23, 0.7);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0; translate: 0 6px;
  transition: opacity 0.25s ease, translate 0.25s ease;
}
.shot-zoom .i { width: 17px; height: 17px; }
.shot:hover .shot-zoom, .shot:focus-visible .shot-zoom { opacity: 1; translate: 0 0; }
.shot:focus-visible { outline-offset: 3px; border-radius: var(--r); }

.alpha-card {
  display: grid; grid-template-columns: minmax(0, 460px) 1fr;
  margin-top: 56px; overflow: hidden;
  border: 1px solid rgba(185, 176, 255, 0.2); border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(60, 45, 140, 0.18), rgba(10, 17, 38, 0.6));
}
.alpha-media { position: relative; }
.alpha-media img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.alpha-body {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: clamp(26px, 3.6vw, 44px);
}
.alpha-body .btn { margin-top: 24px; }

/* ---------- community CTA ---------- */
.section-cta { padding-bottom: clamp(84px, 10vw, 130px); }
.cta-card {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: clamp(56px, 7vw, 100px) clamp(20px, 5vw, 64px) 210px;
  border: 1px solid rgba(255, 190, 90, 0.24); border-radius: 32px;
  background: linear-gradient(180deg, #0e1735, #0b1229 70%);
}
/* a striped sun rising out of the card's bottom edge, under all the text */
.cta-sun {
  position: absolute; z-index: -1; left: 50%; bottom: -170px;
  width: 340px; height: 340px; border-radius: 50%;
  translate: -50% 0;
  background: linear-gradient(180deg, #ffe066 0%, #ffb340 30%, #ff7a3d 52%);
  -webkit-mask: linear-gradient(180deg, #000 0 22%, transparent 22% 25%, #000 25% 31%, transparent 31% 35%, #000 35% 40%, transparent 40% 45%, #000 45%);
  mask: linear-gradient(180deg, #000 0 22%, transparent 22% 25%, #000 25% 31%, transparent 31% 35%, #000 35% 40%, transparent 40% 45%, #000 45%);
}
.cta-card::before {
  content: ""; position: absolute; z-index: -2; left: 50%; bottom: -220px;
  width: min(1000px, 160%); height: 440px; translate: -50% 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(255, 140, 60, 0.38), rgba(255, 120, 60, 0.1) 45%, transparent 68%);
}
.cta-card::after {
  content: ""; position: absolute; z-index: -1; inset: auto 0 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 214, 130, 0.9), transparent);
}
.cta-mark { width: 64px; height: 64px; margin-bottom: 28px; color: #fff; }
.cta-card h2 { font-size: clamp(2rem, 1.2rem + 3.4vw, 3.8rem); }
.cta-text { max-width: 34rem; margin-top: 20px; color: var(--muted); font-size: clamp(1.03rem, 0.98rem + 0.35vw, 1.2rem); }
.chips-center { justify-content: center; margin-top: 26px; }
.cta-card .btn { margin-top: 36px; }
.cta-online {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 20px; color: var(--muted); font-size: 14px;
}
.cta-online b { color: var(--text); font-variant-numeric: tabular-nums; }

/* ---------- footer ---------- */
.site-footer { padding: 64px 0 32px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-brand p { max-width: 22rem; margin-top: 16px; color: var(--muted); }
.footer-h {
  margin-bottom: 16px;
  color: var(--dim);
  font: 600 12px/1 var(--body);
  letter-spacing: 0.2em; text-transform: uppercase;
}
.site-footer li + li { margin-top: 10px; }
.site-footer nav a { color: var(--muted); transition: color 0.2s ease; }
.site-footer nav a:hover { color: var(--sun-1); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  margin-top: 56px; padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--dim); font-size: 14px;
}

/* ---------- lightbox ---------- */
.lightbox {
  width: min(1200px, 92vw); max-width: none; max-height: none;
  padding: 0; border: 0; overflow: visible;
  background: transparent; color: var(--text);
}
.lightbox::backdrop {
  background: rgba(3, 6, 14, 0.9);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.lightbox figure { margin: 0; }
.lightbox img {
  width: 100%; max-height: 78vh; object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.9);
}
.lightbox figcaption { margin-top: 14px; text-align: center; color: var(--muted); font-size: 15px; }
.lb-btn {
  position: absolute;
  width: 48px; height: 48px; padding: 0;
  display: grid; place-items: center;
  border: 1px solid var(--line-2); border-radius: 50%;
  background: rgba(10, 17, 36, 0.88);
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.lb-btn:hover { background: rgba(30, 42, 78, 0.95); }
.lb-btn:focus-visible { border-radius: 50%; }
.lb-close { top: -62px; right: 0; }
.lb-prev, .lb-next { top: calc(50% - 44px); }
.lb-prev { left: -66px; }
.lb-next { right: -66px; }

html:has(.lightbox[open]) { overflow: hidden; }

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; translate: 0 26px; transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), translate 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .reveal.is-in { opacity: 1; translate: 0 0; }
@media print { .js .reveal { opacity: 1; translate: 0 0; } }

/* ---------- responsive ---------- */
@media (max-height: 820px) and (min-width: 761px) {
  .hero { padding-top: calc(var(--header-h) + 32px); }
  .hero h1 { font-size: clamp(2.15rem, 1rem + 3.6vw, 4.2rem); }
}
@media (max-width: 1100px) {
  .lb-prev { left: 10px; }
  .lb-next { right: 10px; }
}
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .spotlight { grid-template-columns: 1fr; }
  .spotlight-media img { aspect-ratio: 16 / 9; }
  .spotlight-media::after { background: linear-gradient(180deg, transparent 62%, rgba(11, 18, 40, 0.9)); }
}
@media (max-width: 860px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 760px) {
  :root { --header-h: 64px; }
  .nav { display: none; }
  .header-cta { margin-left: auto; }
  .hero { padding-bottom: 150px; }
  .hero-wall { inset: -20% -60%; gap: 16px; opacity: 0.7; }
  .wall-row img { width: 250px; margin-right: 16px; }
  /* phones: a taller, narrower shade so the art still shows above and below the words */
  .hero-shade {
    background:
      radial-gradient(ellipse 95% 38% at 50% 46%, rgba(6, 10, 23, 0.92) 0%, rgba(6, 10, 23, 0.6) 70%, rgba(6, 10, 23, 0.32) 100%),
      linear-gradient(180deg, rgba(6, 10, 23, 0.85) 0%, rgba(6, 10, 23, 0) 18%, rgba(6, 10, 23, 0) 70%, var(--bg) 100%);
  }
  .proof { margin-top: -96px; }
  .proof-head { font-size: 11.5px; letter-spacing: 0.1em; padding: 16px; }
  .mini-stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 12px; }
  .mini-stats dd { font-size: 18px; }
  .cta-card { padding-bottom: 170px; }
  .cta-sun { width: 260px; height: 260px; bottom: -130px; }
  .road { padding-top: 0; margin-bottom: 72px; max-width: 420px; }
  .road-bracket {
    position: static; width: auto; height: auto; margin-bottom: 26px;
    border: 0; justify-content: flex-start;
  }
  .road-bracket span { transform: none; padding: 0; background: none; white-space: normal; }
  .road-stops { grid-template-columns: 1fr; gap: 30px; }
  /* every stop is the same height, so each connector runs exactly centre to centre */
  .stop {
    display: grid; grid-template-columns: 50px 1fr; column-gap: 16px;
    align-content: center; align-items: center;
    min-height: 52px; padding: 0; text-align: left;
  }
  .stop-dot { grid-row: 1 / span 2; grid-column: 1; justify-self: center; }
  .stop b, .stop small { margin: 0; grid-column: 2; }
  .stop:not(:last-child)::after {
    top: 50%; left: 23px; width: 4px; height: calc(100% + 30px);
  }
  .stop.is-peak::after {
    left: 24px; width: 2px; height: calc(100% + 30px);
    background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0 8px, transparent 8px 16px);
  }
  .stop.is-peak .stop-dot { margin: 0; }
  .alpha-card { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .gallery li:first-child, .gallery li:last-child { grid-column: span 2; grid-row: auto; }
  .lb-close { top: -58px; right: 4px; }
  .lb-prev, .lb-next { top: auto; bottom: -64px; }
  .lb-prev { left: calc(50% - 56px); }
  .lb-next { right: calc(50% - 56px); }
  .lightbox figcaption { margin-top: 82px; }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .actions { width: 100%; }
  .hero .actions .btn, .spotlight .actions .btn, .alpha-body .btn { width: 100%; }
  .cta-card .btn-xl { width: 100%; --h: 58px; font-size: 17px; padding: 0 1.2em; }
}
@media (max-width: 400px) {
  .hide-xs { display: none; }
  .proof-head { font-size: 11px; letter-spacing: 0.06em; }
  .brand-name { font-size: 14px; }
  .brand-mark { width: 32px; height: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .wall-row.is-looping, .dot { animation: none; }
  .js .reveal { opacity: 1; translate: 0 0; transition: none; }
  .btn, .card, .shot img, .shot-zoom { transition: none; }
}
