/* Squad Shooter's website. The game's look: amber is ours, chunky dark outlines, capsule pills, the map table's sand,
   the opening's dusk. Mobile first; one file, no framework. */

@font-face { font-family: "Russo One"; src: url("../fonts/RussoOne-Regular.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Chakra Petch"; src: url("../fonts/ChakraPetch-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Chakra Petch"; src: url("../fonts/ChakraPetch-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --amber: #F2B134; --amber-dk: #C98A12; --amber-lt: #FFD873;
  --ink: #1E1A17; --ink-2: #2A2520;
  --dusk: #2C3A54; --dusk-dk: #1C2538; --night: #141A28;
  --olive: #56633C; --olive-dk: #3F4829;
  --sand: #EFE0B8; --sand-dk: #D9C08A; --paper: #F7EDD4;
  --gun: #3A4048; --gun-dk: #24282E; --cyan: #49C6D6; --green: #3FB950; --red: #FF4A55;
  --head: "Russo One", "Arial Black", system-ui, sans-serif;
  --body: "Chakra Petch", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 18px;
  --edge: 0 4px 0 var(--ink);
  --wrap: min(1120px, calc(100% - 32px));
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--night); color: #F4EEDF;
  font: 600 17px/1.5 var(--body); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--amber); }
h1, h2, h3 { font-family: var(--head); font-weight: 400; line-height: 1.05; margin: 0; letter-spacing: 0.01em; }
p { margin: 0; }
.wrap { width: var(--wrap); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

/* ------------------------------------------------------------------------------------------------ buttons and pills */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 28px; border: 3px solid var(--ink); border-radius: 999px;
  font: 400 20px/1 var(--head); letter-spacing: 0.03em; text-decoration: none; cursor: pointer;
  color: var(--ink); background: var(--amber); box-shadow: 0 5px 0 var(--amber-dk), 0 5px 0 3px var(--ink);
  transition: transform 0.08s, box-shadow 0.08s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { background: var(--amber-lt); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--amber-dk), 0 1px 0 3px var(--ink); }
.btn svg { width: 22px; height: 22px; fill: currentColor; }
.btn-big { min-height: 68px; padding: 0 40px; font-size: 26px; }
.btn-dark { color: #fff; background: var(--gun); box-shadow: 0 5px 0 var(--gun-dk), 0 5px 0 3px var(--ink); }
.btn-dark:hover { background: #4A515B; }

.soon-pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 14px;
  border-radius: 999px; background: rgba(20, 26, 40, 0.78); border: 2px solid rgba(255, 255, 255, 0.22);
  font: 700 14px/1.1 var(--body); letter-spacing: 0.06em; text-transform: uppercase; color: #fff;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.soon-pill svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--amber); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.soon-pill b { display: block; font: 400 17px/1.1 var(--head); letter-spacing: 0.02em; text-transform: none; }

.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px;
  background: var(--paper); color: var(--ink); border: 2.5px solid var(--ink); box-shadow: 0 3px 0 var(--ink);
  font: 700 15px/1.1 var(--body);
}
.chip img { width: 38px; height: 38px; border-radius: 50%; background: #E7D7AB; }
.chip small { display: block; font-weight: 600; font-size: 12px; opacity: 0.7; text-transform: uppercase; letter-spacing: 0.06em; }

.stripe {
  height: 14px;
  background: repeating-linear-gradient(-45deg, var(--amber) 0 14px, var(--ink) 14px 28px);
}

/* ---------------------------------------------------------------------------------------------------------- top bar */

.topbar {
  position: absolute; z-index: 20; inset: 0 0 auto 0;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px; padding-top: max(14px, env(safe-area-inset-top));
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.brand img { width: 40px; height: 40px; border-radius: 11px; border: 2.5px solid var(--ink); box-shadow: 0 3px 0 var(--ink); }
.brand span { font: 400 17px/1 var(--head); letter-spacing: 0.03em; text-shadow: 0 2px 0 var(--ink); }
.nav { display: flex; gap: 6px; }
.nav a {
  padding: 9px 14px; border-radius: 999px; color: #fff; text-decoration: none;
  font: 700 14px/1 var(--body); letter-spacing: 0.06em; text-transform: uppercase;
  background: rgba(20, 26, 40, 0.55); border: 2px solid rgba(255, 255, 255, 0.18);
}
.nav a:hover { background: rgba(20, 26, 40, 0.85); }
.nav .hide-s { display: none; }

/* ------------------------------------------------------------------------------------------------------------- hero */

.hero {
  position: relative; min-height: 100svh; overflow: hidden; isolation: isolate;
  display: grid; grid-template-rows: auto 1fr auto; background: var(--dusk-dk);
}
.hero-art { position: absolute; inset: 0; z-index: -2; }
.hero-art img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 72%;
  animation: push 9s ease-out both;
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 38%; z-index: -1;
  background: linear-gradient(to bottom, rgba(20, 26, 40, 0), var(--night) 92%);
}
.hero-sky { padding: 84px 16px 0; text-align: center; }
.title-band { position: relative; display: inline-block; padding: 14px 0 10px; }
.title-band .stripe {
  position: absolute; left: -40vw; right: -40vw; top: 50%; height: 64%; transform: translateY(-50%) rotate(-3deg);
  opacity: 0.95; border-block: 3px solid var(--ink); z-index: -1;
  animation: sweep 0.7s cubic-bezier(0.2, 0.9, 0.2, 1) 0.15s both;
}
.title {
  font-size: clamp(54px, 16vw, 112px); color: #fff; line-height: 0.88;
  -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill;
  text-shadow: 0 6px 0 var(--ink);
  animation: slam 0.55s cubic-bezier(0.2, 1.4, 0.4, 1) 0.55s both;
}
.title span { display: block; color: var(--amber); }
.title .subtitle {
  display: inline-block; margin-top: 0.16em; padding: 0.14em 0.6em 0.1em; border-radius: 999px;
  font: 400 0.3em/1 var(--head); font-style: normal; letter-spacing: 0.08em; color: #fff;
  -webkit-text-stroke: 0; text-shadow: none; background: var(--ink); border: 3px solid var(--ink);
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.35); transform: rotate(-3deg);
  animation: pop 0.4s cubic-bezier(0.2, 1.6, 0.4, 1) 1s both;
}
.title .subtitle b { color: var(--amber); font-weight: 400; }
@keyframes pop { from { transform: rotate(-3deg) scale(0); } to { transform: rotate(-3deg) scale(1); } }
.tagline {
  margin-top: 18px; font: 400 clamp(20px, 5.6vw, 28px)/1.15 var(--head); color: #fff;
  text-shadow: 0 3px 0 var(--ink); animation: rise 0.5s ease-out 1.05s both;
}
.hero-ground {
  grid-row: 3; display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding: 0 16px max(28px, env(safe-area-inset-bottom));
  animation: rise 0.5s ease-out 1.25s both;
}
.hero-frame { display: none; }

@keyframes push { from { transform: scale(1.12); opacity: 0; } 20% { opacity: 1; } to { transform: scale(1); } }
@keyframes sweep { from { transform: translateY(-50%) rotate(-3deg) translateX(-110%); } to { transform: translateY(-50%) rotate(-3deg); } }
@keyframes slam { from { transform: scale(2.4); opacity: 0; } 60% { opacity: 1; } to { transform: scale(1); } }
@keyframes rise { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ------------------------------------------------------------------------------------------------------- sections */

.section { padding: 72px 0; }
.section-sand { background: var(--sand) url("../img/map-paper.webp") center / 480px auto; color: var(--ink); }
.section-dusk { background: linear-gradient(var(--night), var(--dusk-dk)); }
.kicker {
  display: inline-block; padding: 6px 14px; border-radius: 999px; margin-bottom: 14px;
  font: 700 13px/1 var(--body); letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--ink); color: var(--amber);
}
.h2 { font-size: clamp(34px, 9vw, 58px); }
.section-sand .h2 { color: var(--ink); }
.lead { margin-top: 12px; font-size: 19px; opacity: 0.9; max-width: 34ch; }
.center, .center-s { text-align: center; }
.center .lead { margin-inline: auto; }

/* The playable round's section. */
.play-grid { display: grid; gap: 36px; justify-items: center; }
.phone {
  position: relative; width: min(340px, 86vw); aspect-ratio: 9 / 16; border-radius: 34px; padding: 10px;
  background: var(--ink); box-shadow: 0 0 0 3px #3a332c inset, 0 24px 60px rgba(0, 0, 0, 0.45), 0 8px 0 #0d0b0a;
}
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 26px; overflow: hidden; background: #DEC88C; }
.phone canvas { width: 100%; height: 100%; display: block; }
.phone-cta {
  position: absolute; inset: 0; display: grid; align-content: start; justify-items: center; gap: 8px; padding-top: 25%;
  background: linear-gradient(to bottom, rgba(20, 26, 40, 0.35), rgba(20, 26, 40, 0) 40%);
  border: 0; cursor: pointer; color: #fff; font: inherit; width: 100%;
}
.phone-cta .btn { pointer-events: none; min-height: 50px; font-size: 19px; padding: 0 24px; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.06); } }
.phone-cta small { font: 700 13px/1 var(--body); letter-spacing: 0.1em; text-transform: uppercase; text-shadow: 0 2px 0 var(--ink); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; width: min(460px, 100%); }
.step {
  display: grid; grid-template-columns: 76px 1fr; align-items: center; gap: 16px; padding: 14px;
  background: var(--paper); color: var(--ink); border: 3px solid var(--ink); border-radius: var(--r); box-shadow: var(--edge);
}
.step svg { width: 76px; height: 76px; }
.step h3 { font-size: 24px; }
.step p { font-size: 16px; opacity: 0.8; }

/* Screenshots: a swipe row on phones, a row of five on wide screens. */
.shots {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(62vw, 250px); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 26px 16px 18px; margin: 0 -16px;
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.shots::-webkit-scrollbar { display: none; }
.shot { scroll-snap-align: center; margin: 0; }
.shot img {
  width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 22px;
  border: 4px solid var(--ink); box-shadow: 0 6px 0 var(--ink); background: #333;
}
.shot figcaption { margin-top: 12px; text-align: center; font: 400 18px/1 var(--head); color: var(--ink); }
.swipe-hint { text-align: center; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.6; }

/* The squad. */
.squad-art { position: relative; margin-top: 28px; border-radius: 26px; overflow: hidden; border: 4px solid var(--ink); box-shadow: 0 7px 0 var(--ink); }
.squad-art img { width: 100%; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }

/* Fair fights. */
.fair { display: grid; gap: 14px; margin-top: 28px; }
.fair-card {
  display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; padding: 16px;
  border-radius: var(--r); background: rgba(255, 255, 255, 0.06); border: 2px solid rgba(255, 255, 255, 0.12);
}
.fair-card svg { width: 64px; height: 64px; }
.fair-card h3 { font-size: 21px; color: #fff; }
.fair-card p { font-size: 15px; opacity: 0.75; }

/* The last call. */
.outro { position: relative; text-align: center; padding: 80px 0 90px; overflow: hidden; }
.outro .icon-big {
  width: 132px; height: 132px; margin: 0 auto 22px; border-radius: 30px;
  border: 4px solid var(--ink); box-shadow: 0 7px 0 var(--ink); animation: bob 3s ease-in-out infinite;
}
.outro .h2 { color: #fff; }
.outro .actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px; margin-top: 28px; }
@keyframes bob { 50% { transform: translateY(-8px) rotate(-2deg); } }

/* ----------------------------------------------------------------------------------------------------------- footer */

.footer { background: #0E1220; padding: 34px 0 calc(34px + env(safe-area-inset-bottom)); font-size: 15px; }
.footer .wrap { display: grid; gap: 18px; justify-items: center; text-align: center; }
.footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; }
.footer a { color: #E9E2D0; text-decoration: none; font-weight: 700; }
.footer a:hover { color: var(--amber); }
.footer small { opacity: 0.55; font-size: 13px; }

/* ------------------------------------------------------------------------------------------- inner pages (text) */

.page-head { position: relative; padding: 96px 0 36px; background: linear-gradient(var(--dusk), var(--dusk-dk)); overflow: hidden; }
.page-head::after { content: ""; position: absolute; inset: auto 0 0 0; height: 12px; background: repeating-linear-gradient(-45deg, var(--amber) 0 12px, var(--ink) 12px 24px); }
.page-head .topbar { position: absolute; }
.page-head h1 { font-size: clamp(36px, 9vw, 60px); color: #fff; text-shadow: 0 4px 0 var(--ink); }
.page-head p { margin-top: 10px; opacity: 0.85; }
.page { background: var(--paper); color: var(--ink); padding: 40px 0 64px; }
.prose { width: min(720px, calc(100% - 32px)); margin: 0 auto; font-weight: 600; font-size: 17px; line-height: 1.6; }
.prose h2 { font-size: 26px; margin: 36px 0 10px; }
.prose h3 { font-size: 20px; margin: 26px 0 8px; }
.prose p, .prose ul, .prose ol { margin: 0 0 14px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose a { color: #8A5A00; }
.prose a.btn { color: var(--ink); text-decoration: none; }
.prose strong { font-weight: 700; }
.prose .note { padding: 12px 16px; border-radius: 14px; background: #F1DFAF; border: 2px solid var(--ink); }
mark.fill { background: #FFD873; color: var(--ink); padding: 0 4px; border-radius: 6px; outline: 2px dashed var(--amber-dk); }
.draft {
  display: flex; gap: 10px; align-items: center; margin: 0 auto 26px; width: min(720px, calc(100% - 32px));
  padding: 12px 16px; border-radius: 14px; background: #FFE9A8; border: 2.5px dashed var(--amber-dk); font-size: 15px;
}
.draft b { font-family: var(--head); font-weight: 400; }

.cards { display: grid; gap: 16px; margin: 8px 0 28px; }
.card {
  padding: 18px; border-radius: var(--r); background: #fff; border: 3px solid var(--ink); box-shadow: var(--edge);
}
.card h2, .card h3 { margin-top: 0; }
.prose .howto { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 10px; counter-reset: s; }
.howto li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center; }
.howto li::before {
  counter-increment: s; content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--amber); border: 3px solid var(--ink); font: 400 20px/1 var(--head);
}
.mail-btn { margin-top: 6px; }
details.faq { border: 3px solid var(--ink); border-radius: var(--r); background: #fff; box-shadow: var(--edge); margin: 0 0 14px; }
details.faq summary {
  cursor: pointer; list-style: none; padding: 16px 52px 16px 18px; position: relative; font: 400 19px/1.2 var(--head);
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%; background: var(--amber); border: 2.5px solid var(--ink);
  display: grid; place-items: center; font: 400 20px/1 var(--head);
}
details.faq[open] summary::after { content: "–"; }
details.faq > div { padding: 0 18px 16px; }
.kit { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; margin: 14px 0 26px; }
.kit a { display: block; text-decoration: none; color: var(--ink); font-size: 14px; }
.kit img { border-radius: 14px; border: 3px solid var(--ink); box-shadow: 0 4px 0 var(--ink); margin-bottom: 8px; aspect-ratio: 1; object-fit: cover; width: 100%; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 10px 0 26px; }
.facts dt { font-family: var(--head); }
.facts dd { margin: 0; }

/* ------------------------------------------------------------------------------------------- the game's overlays */

.g-ui { position: absolute; inset: 0; pointer-events: none; font-family: var(--body); color: var(--ink); }
.g-ui > * { pointer-events: auto; }
.g-ui.is-auto, .g-ui.is-auto > * { pointer-events: none; }
.g-coach {
  position: absolute; left: 50%; transform: translateX(-50%); top: 8.6%; width: max-content; max-width: 92%;
  display: flex; align-items: center; gap: 8px; padding: 5px 14px 5px 5px; border-radius: 16px;
  background: rgba(30, 26, 23, 0.9); color: #fff; pointer-events: none; font-size: 14.5px; line-height: 1.2;
  animation: fade 0.3s ease-out;
}
.g-coach img { width: 34px; height: 44px; object-fit: cover; object-position: top; border-radius: 12px; background: var(--dusk); flex: none; }
.g-panel {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; padding: 18px 12px; background: rgba(20, 26, 40, 0.62); animation: fade 0.2s ease-out; z-index: 2;
}
.g-panel[hidden], .g-coach[hidden] { display: none; }
.g-ribbon {
  padding: 10px 22px; border-radius: 999px; background: var(--amber); border: 3px solid var(--ink); box-shadow: 0 4px 0 var(--ink);
  font: 400 clamp(16px, 4.6vw, 22px)/1 var(--head); text-align: center; animation: slamIn 0.35s cubic-bezier(0.2, 1.4, 0.4, 1);
}
.g-ribbon.is-down { background: var(--red); color: #fff; }
.g-card-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; max-width: 420px; }
.g-card {
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 6px 12px; border-radius: 16px;
  background: #34404F; border: 3px solid var(--ink); box-shadow: 0 5px 0 var(--ink); color: #fff; cursor: pointer;
  font: 700 13px/1.15 var(--body); text-align: center; animation: rise 0.3s ease-out both;
  -webkit-tap-highlight-color: transparent;
}
.g-card:nth-child(2) { animation-delay: 0.06s; }
.g-card:nth-child(3) { animation-delay: 0.12s; }
.g-card:hover, .g-card.is-picked { background: #44536A; outline: 3px solid var(--amber); }
.g-card.is-picked { transform: translateY(-6px) scale(1.04); }
.g-card.is-squad { background: #3F4C2E; }
.g-card.is-squad:hover, .g-card.is-squad.is-picked { background: #4E5E38; }
.g-card-art { display: grid; place-items: center; width: 100%; aspect-ratio: 1; border-radius: 12px; background: radial-gradient(#5C6E86, #2B3442); }
.g-card.is-squad .g-card-art { background: radial-gradient(#7E9158, #39442A); }
.g-card-art img { width: 82%; height: auto; }
.g-card-name { font: 400 14px/1.1 var(--head); min-height: 2.2em; display: grid; place-items: center; }
.g-card-line { font-size: 12px; opacity: 0.85; }
.g-pips { display: flex; gap: 4px; }
.g-pips i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.25); }
.g-pips i.on { background: var(--amber); }
.g-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; width: 100%; max-width: 380px; }
.g-tile { display: grid; place-items: center; padding: 10px 4px; border-radius: 14px; background: var(--paper); border: 3px solid var(--ink); }
.g-tile b { font: 400 20px/1 var(--head); }
.g-tile small { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.7; }
.g-end-line { color: #fff; text-align: center; max-width: 30ch; font-size: 16px; text-shadow: 0 2px 0 var(--ink); }
.g-end-actions { display: flex; flex-direction: column; align-items: center; gap: 12px; }
@keyframes fade { from { opacity: 0; } }
@keyframes slamIn { from { transform: scale(1.8); opacity: 0; } }

/* The full-screen round. */
.play-overlay {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  background: rgba(10, 13, 22, 0.92); animation: fade 0.2s ease-out;
}
.play-stage {
  position: relative; width: 100vw; height: calc(100svh - env(safe-area-inset-top)); margin-top: env(safe-area-inset-top);
  overflow: hidden; background: #DEC88C; touch-action: none;
}
.play-stage canvas { width: 100%; height: 100%; display: block; touch-action: none; user-select: none; -webkit-user-select: none; }
.play-close {
  position: absolute; z-index: 5; right: 2.5%; top: 1.6%;
  width: 40px; height: 40px; border-radius: 50%; border: 3px solid var(--ink); background: var(--paper); color: var(--ink);
  font: 400 20px/1 var(--head); cursor: pointer; box-shadow: 0 3px 0 var(--ink);
}
.play-keys { display: none; }
body.is-playing { overflow: hidden; }

/* ------------------------------------------------------------------------------------------------------ wide screens */

@media (min-width: 720px) {
  .nav .hide-s { display: inline-block; }
  .step { grid-template-columns: 86px 1fr; }
  .fair { grid-template-columns: repeat(3, 1fr); }
  .fair-card { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 22px 18px; }
  .cards.two { grid-template-columns: 1fr 1fr; }
  .play-stage {
    width: min(calc((100svh - 64px) * 0.5625), 100vw); height: min(calc(100svh - 64px), 177.8vw);
    margin: 0 0 40px; border-radius: 22px; border: 4px solid var(--ink);
  }
  .play-keys {
    display: block; position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap;
  }
}

@media (min-width: 980px) {
  .topbar { padding: 20px 32px; }
  .hero { grid-template-columns: 1.05fr 0.95fr; grid-template-rows: 1fr; align-items: center; min-height: min(100vh, 980px); padding: 90px max(32px, calc((100vw - 1180px) / 2)) 60px; column-gap: 40px; }
  .hero-art img { filter: blur(26px) brightness(0.55) saturate(1.2); transform: scale(1.15); animation: none; }
  .hero::after { height: 30%; }
  .hero-sky { grid-column: 1; grid-row: 1; padding: 0; text-align: left; align-self: end; }
  .title { font-size: clamp(84px, 8.4vw, 128px); }
  .title-band .stripe { left: -60vw; right: -12vw; }
  .hero-ground { grid-column: 1; grid-row: 2; align-items: flex-start; padding: 28px 0 0; align-self: start; flex-direction: row; flex-wrap: wrap; }
  .hero { grid-template-rows: 1fr 1fr; }
  .hero-frame {
    display: block; grid-column: 2; grid-row: 1 / span 2; justify-self: center;
    width: min(100%, 440px); aspect-ratio: 1143 / 2048; max-height: 82vh;
    border-radius: 34px; overflow: hidden; border: 5px solid var(--ink);
    box-shadow: 0 10px 0 var(--ink), 0 40px 80px rgba(0, 0, 0, 0.5); transform: rotate(2.5deg);
    animation: frameIn 0.8s cubic-bezier(0.2, 1.2, 0.4, 1) 0.2s both;
  }
  .hero-frame img { width: 100%; height: 100%; object-fit: cover; animation: push 9s ease-out both; }
  .play-grid { grid-template-columns: auto 1fr; align-items: center; justify-items: start; gap: 56px; }
  .play-grid .intro { grid-column: 2; grid-row: 1; text-align: left; }
  .play-grid .phone { grid-column: 1; grid-row: 1 / span 2; width: 360px; }
  .play-grid .steps { grid-column: 2; }
  .shots { grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); overflow: visible; margin: 0; padding: 30px 0 10px; }
  .swipe-hint { display: none; }
  .shot:nth-child(odd) { transform: rotate(-1.5deg); }
  .shot:nth-child(even) { transform: rotate(1.5deg) translateY(14px); }
}
@keyframes frameIn { from { transform: rotate(8deg) translateY(60px); opacity: 0; } to { transform: rotate(2.5deg); opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0s !important; scroll-behavior: auto !important; }
}

/* ------------------------------------------------------------------------------------------- About, squad, news */

.about { max-width: 820px; }
.about .lead { max-width: none; margin-top: 14px; }
.about-links { margin-top: 26px; text-align: center; }
.faqs { margin-top: 30px; text-align: left; color: var(--ink); }
.faqs details.faq summary { font-size: 18px; }
.faqs details.faq p { font-size: 16px; }
.faqs a { color: #8A5A00; }

.squad-grid { display: grid; gap: 16px; margin-top: 8px; }
.member {
  display: grid; grid-template-columns: 68px 1fr; gap: 14px; align-items: start; padding: 14px;
  background: #fff; border: 3px solid var(--ink); border-radius: var(--r); box-shadow: var(--edge);
}
.member img { width: 68px; height: 68px; object-fit: cover; object-position: top; border-radius: 16px; background: #E7D7AB; border: 3px solid var(--ink); }
.member h2 { font-size: 26px; margin: 0; }
.member .role { display: inline-block; margin: 6px 0 8px; padding: 4px 10px; border-radius: 999px; background: var(--ink); color: var(--amber); font: 700 12px/1 var(--body); letter-spacing: 0.1em; text-transform: uppercase; }
.member p { margin: 0 0 6px; font-size: 16px; }
.member .sig { font-size: 15px; opacity: 0.8; }
.redlens { margin-top: 34px; padding: 18px; border-radius: var(--r); background: #2A2D33; color: #fff; border: 3px solid var(--ink); box-shadow: var(--edge); }
.redlens h2 { color: #fff; margin-top: 0; }
.redlens h2 b { color: var(--red); font-weight: 400; }
.redlens img { border-radius: 16px; border: 3px solid var(--ink); margin-top: 12px; width: min(100%, 300px); }
.post { padding: 18px; margin: 0 0 18px; background: #fff; border: 3px solid var(--ink); border-radius: var(--r); box-shadow: var(--edge); }
.post time { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--ink); color: var(--amber); font: 700 12px/1 var(--body); letter-spacing: 0.08em; text-transform: uppercase; }
.post h2 { margin: 10px 0 8px; font-size: 24px; }
.page-cta { margin: 30px 0 0; text-align: center; }

@media (min-width: 720px) {
  .squad-grid { grid-template-columns: 1fr 1fr; }
  .member { grid-template-columns: 96px 1fr; gap: 16px; padding: 16px; }
  .member img { width: 96px; height: 96px; }
}
a.play-close { display: grid; place-items: center; text-decoration: none; }
