:root {
  --ink: #eef0e9;
  --muted: #a7aa9f;
  --gold: #d1b675;
  --gold-bright: #f0d691;
  --line: rgba(209, 182, 117, .32);
  --panel: #0d1822;
  --background: #061018;
  --deep: #03080d;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--deep); }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 18%, rgba(38, 65, 79, .38), transparent 34rem),
    linear-gradient(180deg, var(--background), var(--deep) 70%);
  font: 16px/1.7 Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; }
img { max-width: 100%; display: block; }

.site-header {
  width: min(1180px, calc(100% - 40px));
  min-height: 76px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--line);
}
.studio {
  font: 600 15px/1 Cinzel, Georgia, serif;
  letter-spacing: .22em;
  text-decoration: none;
}
.site-header nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 24px; }
.site-header nav a { color: var(--muted); text-decoration: none; font-size: 13px; }
.site-header nav a:hover { color: var(--gold-bright); }

.hero {
  min-height: 780px;
  position: relative;
  overflow: hidden;
  margin-top: -76px;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.hero-art, .hero-shade { position: absolute; inset: 0; }
.hero-art {
  background: url("./assets/feature.jpg") center 24% / cover no-repeat;
  filter: saturate(.8) contrast(1.1);
  transform: scale(1.04);
  z-index: -3;
}
.hero-shade {
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(3, 8, 13, .25), rgba(3, 8, 13, .6) 55%, var(--background) 100%),
    radial-gradient(circle at center, rgba(6, 16, 24, .12), rgba(3, 8, 13, .78));
}
.hero-content {
  width: min(860px, calc(100% - 40px));
  padding: 150px 0 90px;
  text-align: center;
}
.eyebrow, .chapter {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: 12px;
  font-weight: 700;
}
.game-icon {
  width: 92px;
  aspect-ratio: 1;
  object-fit: cover;
  margin: 26px auto 18px;
  border-radius: 21px;
  border: 1px solid rgba(240, 214, 145, .55);
  box-shadow: 0 22px 60px #000a;
}
.hero h1, h2, h3 { font-family: Cinzel, Georgia, serif; }
.hero h1 {
  margin: 0;
  font-size: clamp(62px, 11vw, 126px);
  font-weight: 500;
  line-height: .95;
  letter-spacing: .07em;
  text-shadow: 0 8px 36px #000;
}
.hero-question {
  margin: 24px auto 0;
  color: var(--gold-bright);
  font: 500 clamp(22px, 3.3vw, 36px)/1.35 Cinzel, Georgia, serif;
}
.hero-copy { max-width: 720px; margin: 20px auto 0; color: #d5d6cf; font-size: 18px; }
.hero-actions, .testing-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--gold);
  border-radius: 5px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .03em;
}
.button.primary { color: #10130f; background: linear-gradient(135deg, var(--gold-bright), #b6924f); }
.button.secondary { background: rgba(3, 8, 13, .58); backdrop-filter: blur(10px); }
.button:hover { transform: translateY(-1px); filter: brightness(1.08); }
.quick-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; margin: 34px 0 0; padding: 0; list-style: none; color: #c4c5bd; font-size: 13px; }
.quick-facts li::before { content: "◆"; color: var(--gold); font-size: 8px; margin-right: 9px; }

.section-shell { width: min(1100px, calc(100% - 40px)); margin: 0 auto; }
.statement { padding: 120px 0 90px; text-align: center; }
.statement h2, .history h2, .details h2, .testing h2, .languages h2 {
  margin: 12px 0 22px;
  color: var(--gold-bright);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.18;
  font-weight: 500;
}
.statement > p:last-child { max-width: 790px; margin: auto; color: var(--muted); font-size: 19px; }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); background: rgba(13, 24, 34, .72); }
.feature-grid article { min-height: 300px; padding: 38px 30px; border-right: 1px solid var(--line); }
.feature-grid article:last-child { border-right: 0; }
.feature-number { color: var(--gold); font: 500 48px/1 Cinzel, serif; }
.feature-grid h3 { margin: 28px 0 14px; font-size: 19px; line-height: 1.35; }
.feature-grid p { margin: 0; color: var(--muted); font-size: 14px; }

.history, .details { padding: 140px 0 80px; display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 70px; }
.history > p, .details .detail-list { color: var(--muted); font-size: 18px; }

.screens { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; padding: 45px 0 80px; }
.screens figure { margin: 0; }
.screens img { width: 100%; border: 1px solid var(--line); box-shadow: 0 26px 70px #000a; }
.screens figcaption { padding: 16px 4px; color: var(--gold); font: 500 15px/1.4 Cinzel, serif; text-align: center; }
.screen-raised { transform: translateY(-34px); }

.details { align-items: start; border-top: 1px solid var(--line); }
.detail-list p { margin: 0 0 28px; }
.detail-list strong { color: var(--ink); }

.testing {
  margin-top: 50px;
  padding: 70px clamp(24px, 7vw, 80px);
  text-align: center;
  border: 1px solid var(--line);
  background: radial-gradient(circle at 50% 0, rgba(56, 78, 88, .46), transparent 70%), var(--panel);
}
.testing h2 { max-width: 760px; margin-left: auto; margin-right: auto; }
.testing > p { max-width: 760px; margin: auto; color: var(--muted); font-size: 17px; }
.status-pill { display: inline-flex; align-items: center; gap: 9px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; color: #d3d6cc; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.status-pill span { width: 8px; height: 8px; border-radius: 50%; background: #d4a95b; box-shadow: 0 0 14px #d4a95b; }

.languages { padding: 110px 0; text-align: center; }
.languages h2 { font-size: clamp(28px, 4vw, 44px); }
.languages p { color: var(--muted); }

footer {
  width: min(1100px, calc(100% - 40px));
  margin: auto;
  padding: 42px 0 60px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 30px;
  color: var(--muted);
  font-size: 13px;
}
footer strong { color: var(--ink); }

@media (max-width: 850px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid article:nth-child(2) { border-right: 0; }
  .feature-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .history, .details { grid-template-columns: 1fr; gap: 20px; }
  .screens { gap: 12px; }
}

@media (max-width: 640px) {
  .site-header { width: calc(100% - 28px); padding: 17px 0; align-items: flex-start; }
  .site-header nav { gap: 8px 14px; max-width: 230px; }
  .site-header nav a:nth-child(-n+3) { display: none; }
  .hero { min-height: 720px; }
  .hero-content { width: calc(100% - 28px); padding-top: 140px; }
  .hero h1 { font-size: clamp(49px, 17vw, 76px); letter-spacing: .035em; }
  .hero-copy { font-size: 16px; }
  .game-icon { width: 78px; border-radius: 18px; }
  .section-shell, footer { width: calc(100% - 28px); }
  .statement { padding-top: 90px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid article { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .feature-grid article:last-child { border-bottom: 0; }
  .screens { overflow-x: auto; grid-template-columns: repeat(3, 76vw); scroll-snap-type: x mandatory; padding-left: 2px; padding-bottom: 30px; }
  .screens figure { scroll-snap-align: center; }
  .screen-raised { transform: none; }
  .history, .details { padding-top: 100px; }
  .testing { width: calc(100% - 28px); padding: 50px 20px; }
  footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button:hover { transform: none; }
}
