/* Jetfall landing page. Tokens follow DESIGN.md (ink, mint, amber, coral). */
@font-face { font-family: "Tektur"; src: url("/fonts/Tektur-Black.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Rajdhani"; src: url("/fonts/Rajdhani-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Rajdhani"; src: url("/fonts/Rajdhani-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --ink: #101e32;
  --ink-deep: #0b1524;
  --surface: #172a40;
  --line: rgba(237, 244, 237, 0.1);
  --mint: #84f4c2;
  --amber: #ffbd7c;
  --coral: #ff8b72;
  --white: #edf4ed;
  --muted: #a4babe;
  --radius: 14px;
  --gutter: clamp(16px, 5vw, 72px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ink-deep);
  color: var(--white);
  font: 500 19px/1.45 "Rajdhani", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p { margin: 0; }
a { color: var(--mint); }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; }

/* Hero: the key art, darkened on the left so the copy reads over it. */
.hero {
  position: relative;
  min-height: min(100svh, 860px);
  display: flex;
  align-items: center;
  padding: 48px var(--gutter);
  background:
    linear-gradient(90deg, rgba(11, 21, 36, 0.94) 0%, rgba(11, 21, 36, 0.82) 30%, rgba(11, 21, 36, 0.15) 58%, rgba(11, 21, 36, 0) 75%),
    linear-gradient(0deg, var(--ink-deep) 0%, rgba(11, 21, 36, 0) 22%),
    url("/art/hero.webp") 62% center / cover no-repeat,
    var(--ink);
}
.hero-copy { width: min(560px, 100%); }
.eyebrow {
  color: var(--amber);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
h1 {
  margin-top: 10px;
  font: 900 clamp(56px, 9vw, 104px)/0.92 "Tektur", "Rajdhani", sans-serif;
  letter-spacing: 0.01em;
}
h1 span {
  display: block;
  margin-top: 10px;
  color: var(--amber);
  font-size: 0.24em;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.lead { margin-top: 22px; color: var(--white); font-size: 22px; max-width: 30ch; }

/* Signup: the one loud action on the page. */
.signup, .joined { margin-top: 30px; }
.signup label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.row { display: flex; gap: 10px; }
.signup input {
  flex: 1;
  min-width: 0;
  height: 58px;
  padding: 0 18px;
  border: 1px solid rgba(237, 244, 237, 0.22);
  border-radius: 12px;
  background: rgba(11, 21, 36, 0.78);
  color: var(--white);
  font: 600 20px "Rajdhani", system-ui, sans-serif;
}
.signup input::placeholder { color: rgba(164, 186, 190, 0.7); }
.signup input[aria-invalid="true"] { border-color: var(--coral); }
.signup button {
  height: 58px;
  padding: 0 26px;
  border: 0;
  border-radius: 12px;
  background: var(--mint);
  color: var(--ink-deep);
  font: 700 20px "Rajdhani", system-ui, sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 120ms ease, transform 120ms ease;
}
.signup button:hover { background: #a6f8d4; }
.signup button:active { transform: translateY(1px); }
.hint { margin-top: 10px; color: var(--muted); font-size: 16px; }
.hint.error { color: var(--coral); font-weight: 700; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.joined {
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  border: 1px solid rgba(132, 244, 194, 0.45);
  border-radius: 12px;
  background: rgba(11, 21, 36, 0.82);
}
.joined strong { color: var(--mint); font-size: 22px; }

main { padding: 0 var(--gutter); max-width: 1320px; margin: 0 auto; }

.shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 40px 0 72px;
}
.shots figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.shots img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.shots figcaption { padding: 16px 18px 20px; }
.shots h2 { font-size: 24px; font-weight: 700; }
.shots p { margin-top: 4px; color: var(--muted); }

.modes { padding-bottom: 88px; }
.modes > h2 { font: 900 clamp(30px, 4vw, 42px)/1 "Tektur", sans-serif; }
.modes ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.modes li { padding-top: 16px; border-top: 2px solid var(--mint); }
.modes h3 { font-size: 24px; font-weight: 700; }
.modes p { margin-top: 4px; color: var(--muted); }
.again {
  display: inline-block;
  margin-top: 40px;
  padding: 14px 22px;
  border: 1px solid rgba(132, 244, 194, 0.5);
  border-radius: 12px;
  color: var(--mint);
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.again:hover { background: rgba(132, 244, 194, 0.08); }

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  padding: 24px var(--gutter) 32px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 16px;
}

@media (max-width: 900px) {
  .shots, .modes ul { grid-template-columns: 1fr; }
  .shots { gap: 16px; padding-top: 24px; }
}

/* Phones: the art sits on top at full width and the copy follows on ink. */
@media (max-width: 760px) {
  .hero {
    min-height: 0;
    display: block;
    padding-top: calc(56.25vw - 24px);
    background:
      linear-gradient(0deg, var(--ink-deep) calc(100% - 56.25vw), rgba(11, 21, 36, 0) calc(100% - 56.25vw + 90px)),
      url("/art/hero.webp") center top / 100% auto no-repeat,
      var(--ink-deep);
  }
  .lead { font-size: 20px; }
}
@media (max-width: 480px) {
  .row { flex-direction: column; }
  .signup input { flex: none; } /* flex: 1 would collapse its height in a column */
  .signup button { width: 100%; }
}
