:root {
  --bark: #17120d;
  --bark-2: #221a13;
  --bark-3: #2e241a;
  --cream: #f3ead8;
  --cream-dim: #c9bda6;
  --amber: #f0a63a;
  --amber-deep: #c9761c;
  --moss: #8fa64a;
  --line: rgba(243, 234, 216, 0.14);
  --radius: 14px;
  --wrap: 1120px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Nunito Sans", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bark);
  color: var(--cream);
  font: 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 0.5em;
}

h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 96px 0; }

.lead {
  font-size: 1.15rem;
  color: var(--cream-dim);
  max-width: 640px;
}

.kicker {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 12px;
}

/* Top bar */

.top {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 10;
}

.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--cream);
  text-decoration: none;
}

.top nav { display: flex; gap: 24px; }

.top nav a {
  color: var(--cream);
  text-decoration: none;
  font-size: 0.95rem;
  opacity: 0.85;
}

.top nav a:hover { opacity: 1; }

/* Hero */

.hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: flex;
  align-items: flex-end;
  padding: 120px 0 72px;
  background: var(--bark) url("assets/img/hero.jpg") 62% 40% / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(23, 18, 13, 0.92) 0%, rgba(23, 18, 13, 0.55) 45%, rgba(23, 18, 13, 0) 75%),
    linear-gradient(0deg, var(--bark) 0%, rgba(23, 18, 13, 0) 35%);
}

.hero .wrap { position: relative; width: 100%; }

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  max-width: 9ch;
  margin-bottom: 0.3em;
}

.hero .lead { color: var(--cream); max-width: 520px; }

.status {
  display: inline-block;
  margin-bottom: 20px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(23, 18, 13, 0.6);
  font-size: 0.85rem;
  color: var(--cream-dim);
}

.status::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--moss);
  vertical-align: 1px;
}

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary { background: var(--amber); color: var(--bark); }
.btn-primary:hover { background: #f6b85a; }

.btn-ghost { border-color: var(--line); color: var(--cream); background: rgba(23, 18, 13, 0.5); }
.btn-ghost:hover { border-color: var(--cream-dim); }

/* Gameplay */

.showreel {
  width: 100%;
  margin-top: 40px;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  background: #000;
}

/* Music */

.music { background: var(--bark-2); }

.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.feature {
  background: var(--bark-3);
  border-radius: var(--radius);
  overflow: hidden;
}

.feature .media {
  aspect-ratio: 16 / 9;
  background: #000;
}

.feature .media video,
.feature .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature .text { padding: 22px 24px 8px; }

.feature p { color: var(--cream-dim); }

.note {
  margin-top: 28px;
  font-size: 0.9rem;
  color: var(--cream-dim);
}

/* Story */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split img { border-radius: var(--radius); }

/* Worlds */

.worlds-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.world { margin: 0; }

.world img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 10px;
}

.world figcaption { padding-top: 12px; }

.world strong {
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.1rem;
}

.world span { font-size: 0.92rem; color: var(--cream-dim); }

/* Characters */

.characters { background: var(--bark-2); }

.cast {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.cast img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 18px;
}

.cast p { color: var(--cream-dim); }

/* Status */

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.fact {
  border-top: 2px solid var(--amber);
  padding-top: 16px;
}

.fact b {
  display: block;
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--amber);
  line-height: 1.1;
}

.fact span { color: var(--cream-dim); font-size: 0.95rem; }

/* Follow */

.follow {
  background:
    linear-gradient(rgba(23, 18, 13, 0.82), rgba(23, 18, 13, 0.92)),
    url("assets/img/ambo-mica-river.jpg") center / cover;
  text-align: center;
}

.follow .lead { margin: 0 auto; }

.signup {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 32px auto 0;
  max-width: 480px;
}

.signup input {
  flex: 1;
  min-width: 0;
  padding: 13px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(243, 234, 216, 0.08);
  color: var(--cream);
  font: inherit;
}

.signup input::placeholder { color: var(--cream-dim); }

.socials {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 32px;
}

.socials a { color: var(--cream); text-decoration: none; opacity: 0.8; }
.socials a:hover { opacity: 1; }

/* Footer */

footer {
  padding: 40px 0 56px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--cream-dim);
}

footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}

footer a { color: var(--cream); }

/* Press page */

.press-head { padding: 140px 0 40px; }

.press-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 56px;
  padding-bottom: 96px;
}

.factsheet dt {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-top: 18px;
}

.factsheet dd { margin: 4px 0 0; }

.press-body h2 { font-size: 1.7rem; margin-top: 48px; }
.press-body h2:first-child { margin-top: 0; }

.press-body ul { padding-left: 20px; }
.press-body li { margin-bottom: 8px; }

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.gallery img { border-radius: 8px; aspect-ratio: 16 / 9; object-fit: cover; }

/* Phone */

@media (max-width: 860px) {
  section { padding: 72px 0; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .top nav { display: none; }
  .hero { background-position: 70% 40%; min-height: 88vh; }
  .hero::before {
    background: linear-gradient(0deg, var(--bark) 10%, rgba(23, 18, 13, 0.75) 55%, rgba(23, 18, 13, 0.2) 100%);
  }
  .features, .split, .cast, .press-grid { grid-template-columns: 1fr; }
  .split { gap: 32px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .signup { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
