/* What They Carry: the landing page. Night colors from the game; pixel images stay crisp. */
:root {
  --night: #0b0d16;
  --panel: #12142a;
  --line: #2c3054;
  --text: #e9e4da;
  --muted: #8f8a80;
  --gold: #e2bd7f;
  --voice: #b9b0e8;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font: 18px/1.65 Georgia, "Iowan Old Style", "Palatino Linotype", serif;
}

img, video { image-rendering: pixelated; max-width: 100%; display: block; }

a { color: var(--gold); }

.gold { color: var(--gold); }

/* The station at night, with the title over it. */
.hero {
  min-height: min(92vh, 860px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem 1rem;
  background:
    linear-gradient(to bottom, rgba(11, 13, 22, 0.35), rgba(11, 13, 22, 0.55) 60%, var(--night)),
    url("media/station.png") center / cover no-repeat;
  image-rendering: pixelated;
}

.hero-inner { max-width: 760px; }

/* The logo: the soul holding its light, above the title (game/art/logo.py). */
.logo { width: min(560px, 86vw); margin: 0 auto 2rem; }

.hook { font-size: clamp(1.25rem, 3.2vw, 1.75rem); margin: 0 0 2rem; }

.button {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border: 2px solid var(--gold);
  color: var(--gold);
  text-decoration: none;
  background: rgba(11, 13, 22, 0.7);
}

.button:hover { background: var(--gold); color: var(--night); }

.soon { color: var(--muted); margin-top: 1.2rem; font-size: 0.95rem; }

main { max-width: 980px; margin: 0 auto; padding: 0 1.2rem; }

section { margin: 4.5rem 0; }

h2 { font-weight: normal; color: var(--gold); font-size: 1.35rem; margin: 1rem 0 0.5rem; }

/* Wide trailer on wide screens, the vertical cut on phones held upright. */
.trailer video { width: 100%; border: 1px solid var(--line); background: #000; }
.trailer .tall { display: none; max-width: 420px; margin: 0 auto; }
@media (orientation: portrait) and (max-width: 700px) {
  .trailer .wide { display: none; }
  .trailer .tall { display: block; }
}

.about { max-width: 680px; margin-left: auto; margin-right: auto; text-align: center; font-size: 1.2rem; }

.features { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.features img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border: 1px solid var(--line); }
.features p { color: #cfc9be; margin: 0; }

.made {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  padding: 1.6rem 1.8rem;
  background: var(--panel);
  border: 1px solid var(--line);
}
.made h2 { color: var(--voice); margin-top: 0; }
.made p { color: #cfc9be; }
.made .small { color: var(--muted); font-size: 0.9rem; margin-bottom: 0; }

.follow { text-align: center; }
.follow .links a { margin: 0 0.8rem; font-size: 1.15rem; }

footer { text-align: center; color: var(--muted); padding: 2rem 1rem 3rem; }
footer .soul { width: 48px; margin: 0 auto 0.6rem; }
