@font-face {
  font-family: 'Cinzel';
  src: url('assets/Cinzel.ttf') format('truetype');
  font-weight: 400 900;
  font-display: swap;
}

:root {
  --bg: #08070b;
  --panel: #14101c;
  --line: rgba(255, 220, 190, 0.16);
  --text: #efe6dc;
  --muted: #a89c93;
  --crimson: #c45a69;
  --ember: #ffb36b;
  --display: 'Cinzel', Georgia, 'Times New Roman', serif;
  --body: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --width: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--body);
  -webkit-text-size-adjust: 100%;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--ember); }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.15; margin: 0; text-wrap: balance; }
p { margin: 0; }

.wrap { width: min(100%, var(--width)); margin-inline: auto; padding-inline: var(--gutter); }

/* Top bar */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; }
.studio { font-family: var(--display); font-size: 15px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
.lang { font-size: 15px; text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; color: var(--text); }
.lang:hover { border-color: var(--ember); }

/* Hero */
.hero { padding-block: clamp(20px, 5vw, 56px) clamp(40px, 7vw, 80px); }
.hero-head { display: flex; align-items: center; gap: clamp(14px, 3vw, 24px); }
.hero-head img { width: clamp(64px, 12vw, 104px); border-radius: 22%; border: 1px solid var(--line); flex: none; }
h1 { font-size: clamp(38px, 8vw, 84px); letter-spacing: 0.02em; }
.alt-name { font-family: var(--display); color: var(--crimson); font-size: clamp(15px, 2.4vw, 20px); letter-spacing: 0.18em; text-transform: uppercase; margin-top: 6px; }
.pitch { font-size: clamp(18px, 2.6vw, 23px); line-height: 1.45; max-width: 34em; margin-top: clamp(18px, 3vw, 28px); }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: clamp(20px, 3vw, 30px); }
.store {
  display: inline-flex; flex-direction: column; justify-content: center;
  min-height: 56px; padding: 8px 26px; border-radius: 12px;
  background: var(--text); color: #120d14; text-decoration: none; line-height: 1.15;
}
.store small { font-size: 12px; }
.store strong { font-size: 21px; font-weight: 650; }
.store:hover { background: #fff; }
.facts { color: var(--muted); font-size: 15px; }

.trailer { margin-top: clamp(26px, 5vw, 48px); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #000; }
.trailer video { width: 100%; aspect-ratio: 1280 / 590; }

/* Sections */
section { padding-block: clamp(40px, 7vw, 80px); border-top: 1px solid var(--line); }
h2 { font-size: clamp(26px, 4.4vw, 40px); margin-bottom: clamp(18px, 3vw, 28px); }
.lead { color: var(--muted); max-width: 40em; margin-bottom: clamp(20px, 3vw, 32px); }

/* Run timeline: the six-minute run, drawn to scale */
.run { position: relative; margin-top: 8px; padding-top: 34px; }
.run-bar { position: relative; height: 10px; border-radius: 999px; background: linear-gradient(90deg, #3a2a33 0%, var(--crimson) 66.6%, var(--ember) 66.7%, var(--ember) 100%); }
.run-mark { position: absolute; top: 0; font-family: var(--display); font-size: 15px; color: var(--muted); transform: translateX(-50%); white-space: nowrap; }
.run-mark::after { content: ''; position: absolute; left: 50%; top: 26px; width: 1px; height: 26px; background: var(--muted); }
.run-mark.start { left: 0; transform: none; }
.run-mark.start::after { left: 0; }
.run-mark.boss { left: 66.66%; color: var(--ember); }
.run-mark.boss::after { background: var(--ember); }
.run-mark.end { left: auto; right: 0; transform: none; }
.run-mark.end::after { left: auto; right: 0; }
.run-steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); }
.run-steps h3 { font-size: 19px; margin-bottom: 6px; }
.run-steps p { color: var(--muted); font-size: 16px; }

/* Screenshots */
.shots { display: grid; grid-auto-flow: column; grid-auto-columns: min(86%, 560px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
.shots figure { margin: 0; scroll-snap-align: start; }
.shots img { width: 100%; aspect-ratio: 1434 / 660; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); }
.shots figcaption { color: var(--muted); font-size: 15px; margin-top: 8px; }

/* Exiles + features */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); }
.cards li { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.cards h3 { font-size: 20px; color: var(--ember); margin-bottom: 6px; }
.cards p { color: var(--muted); font-size: 16px; }
.features { margin: clamp(24px, 4vw, 36px) 0 0; padding: 0; list-style: none; display: grid; gap: 10px 32px; grid-template-columns: repeat(2, 1fr); }
.features li { padding-left: 20px; position: relative; }
.features li::before { content: ''; position: absolute; left: 0; top: 0.62em; width: 8px; height: 8px; background: var(--crimson); transform: rotate(45deg); }

/* FAQ */
.faq { max-width: 44em; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 16px 28px 16px 0; font-weight: 600; font-size: 18px; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 12px; font-size: 24px; color: var(--ember); }
.faq details[open] summary::after { content: '–'; }
.faq summary h3 { font: inherit; display: inline; }
.faq p { color: var(--muted); padding-bottom: 18px; }

/* Press */
.press p { max-width: 44em; }
.press ul { margin: 18px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.press li a { display: inline-block; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--text); font-size: 15px; }
.press li a:hover { border-color: var(--ember); }

/* Footer */
footer { border-top: 1px solid var(--line); padding-block: 28px 44px; color: var(--muted); font-size: 15px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 12px; }
footer small { display: block; font-size: 13px; margin-top: 6px; }

@media (max-width: 720px) {
  body { font-size: 16px; }
  .run-steps, .cards, .features { grid-template-columns: 1fr; }
  .run-mark { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
