:root {
  --paper: #f4ece0;
  --paper-2: #ebe0cf;
  --ink: #1e1914;
  --ink-2: #5d5145;
  --line: #d6c8b4;
  --orange: #e2701b;
  --orange-ink: #b4520a;
  --brown: #2a1d14;
  --brown-2: #3a2a1e;
  --cream: #f6ead6;
  --cream-2: #c9b79e;
  --display: "Bricolage Grotesque", Georgia, serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -0.02em; }
.mono { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.02em; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange-ink);
  margin: 0 0 18px;
}
.eyebrow.light { color: #f2a25e; }

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; }
.brand img { width: 34px; height: 34px; object-fit: contain; }
.brand b { font-weight: 500; color: var(--ink-2); margin-left: 4px; }
.links { display: flex; gap: 26px; margin-left: auto; }
.links a { text-decoration: none; font-weight: 500; font-size: 0.95rem; color: var(--ink-2); }
.links a:hover { color: var(--ink); }
.lang {
  font: 500 0.78rem var(--mono);
  background: none; border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 12px; color: var(--ink-2); cursor: pointer;
}
.lang span.on { color: var(--ink); font-weight: 700; }

/* INTRO */
.intro { padding-top: clamp(56px, 10vw, 120px); padding-bottom: clamp(40px, 6vw, 64px); }
.intro h1 {
  font-size: clamp(2.3rem, 6.2vw, 5.1rem);
  line-height: 1.02;
  font-weight: 800;
  max-width: 15ch;
}
.lede { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--ink-2); max-width: 54ch; margin: 28px 0 0; }

.hero { margin: 0; }
.hero img { width: 100%; aspect-ratio: 2400 / 1029; object-fit: cover; }
.hero figcaption { padding-top: 12px; padding-bottom: 12px; color: var(--ink-2); font-size: 0.9rem; display: flex; gap: 12px; align-items: baseline; }

/* GAME */
.game { background: var(--brown); color: var(--cream); padding: clamp(64px, 9vw, 112px) 0 clamp(64px, 9vw, 104px); margin-top: clamp(48px, 7vw, 88px); }
.game-head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: end; }
.game-logo { width: min(100%, 460px); }
.game-pitch p { font-size: 1.12rem; color: var(--cream); opacity: .9; margin: 0 0 28px; max-width: 48ch; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: flex; flex-direction: column; justify-content: center;
  min-width: 170px; padding: 10px 20px;
  border: 1px solid #5a4636; border-radius: 12px;
  background: #160f0a; text-decoration: none; line-height: 1.2;
  transition: border-color .15s, transform .15s;
}
.store:hover { border-color: #f2a25e; transform: translateY(-2px); }
.store small { font-size: 0.72rem; color: var(--cream-2); }
.store strong { font-family: var(--display); font-size: 1.2rem; font-weight: 700; }

.facts {
  display: grid; grid-template-columns: repeat(5, 1fr);
  margin-top: clamp(48px, 7vw, 80px); margin-bottom: 0;
  border-top: 1px solid #4a3828;
}
.facts div { padding: 18px 18px 0 0; }
.facts dt { font: 500 0.72rem var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--cream-2); margin-bottom: 6px; }
.facts dd { margin: 0; font-weight: 500; }

.trailer { margin-top: clamp(40px, 6vw, 64px); }
.trailer video { width: 100%; border-radius: 6px; background: #000; aspect-ratio: 16 / 9; }

/* DAY */
.day { padding-top: clamp(72px, 10vw, 128px); padding-bottom: clamp(40px, 6vw, 72px); }
.day-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.day-head h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 1.02; font-weight: 800; }
.day-head p { color: var(--ink-2); margin: 0; max-width: 42ch; font-size: 1.08rem; }

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li {
  display: grid;
  grid-template-columns: 90px minmax(0, 0.8fr) minmax(0, 1.4fr);
  gap: 32px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.timeline time { font-size: 1rem; color: var(--orange-ink); padding-top: 4px; }
.timeline h3 { font-size: 1.55rem; font-weight: 700; margin-bottom: 10px; line-height: 1.15; }
.timeline p { margin: 0; color: var(--ink-2); }
.timeline img { width: 100%; border-radius: 6px; aspect-ratio: 1600 / 721; object-fit: cover; box-shadow: 0 1px 0 var(--line); }

/* STUDIO */
.studio { background: var(--paper-2); padding: clamp(72px, 10vw, 120px) 0; margin-top: clamp(32px, 5vw, 56px); }
.studio-in { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.studio-logo { width: 100%; max-width: 460px; justify-self: center; background: var(--brown); padding: 36px 40px; border-radius: 8px; }
.studio h2 { font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.05; font-weight: 800; margin-bottom: 22px; }
.studio p:not(.eyebrow) { color: var(--ink-2); max-width: 56ch; margin: 0 0 16px; }

/* CONTACT */
.contact { padding-top: clamp(72px, 10vw, 120px); padding-bottom: clamp(72px, 10vw, 120px); }
.contact h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; margin-bottom: 36px; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.c-item { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px 22px 0; text-decoration: none; border-right: 1px solid var(--line); }
.c-item + .c-item { padding-left: 24px; }
.c-item:last-child { border-right: 0; }
.c-label { font: 500 0.74rem var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); }
.c-val { font-family: var(--display); font-size: clamp(1.1rem, 1.8vw, 1.4rem); font-weight: 700; overflow-wrap: anywhere; }
.c-item:hover .c-val { color: var(--orange-ink); }

/* FOOT */
.foot { border-top: 1px solid var(--line); padding: 24px 0 36px; color: var(--ink-2); font-size: 0.9rem; }
.foot-in { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 22px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .game-head, .day-head, .studio-in { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts div:last-child { grid-column: span 2; }
  .timeline li { grid-template-columns: 70px 1fr; gap: 12px 20px; }
  .timeline img { grid-column: 1 / -1; }
  .studio-logo { width: min(70%, 300px); justify-self: start; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .links { display: none; }
  .lang { margin-left: auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .c-item, .c-item + .c-item { padding: 18px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .timeline li { grid-template-columns: 1fr; padding: 28px 0; }
  .stores .store { flex: 1 1 140px; min-width: 0; }
}
