:root {
  color-scheme: dark;
  --bg: #15110e;
  --panel: rgb(242 230 207 / 0.06);
  --panel-strong: rgb(242 230 207 / 0.1);
  --line: rgb(242 230 207 / 0.14);
  --text: #f6ecd8;
  --muted: #c9bda6;
  --red: #d8452b;
  --gold: #e7b64c;
  --paper: #f2e6cf;
  --ink: #17120f;
  font-family: "Space Grotesk", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(ellipse at top right, rgb(216 69 43 / 0.2), transparent 40%),
    radial-gradient(ellipse at bottom left, rgb(231 182 76 / 0.1), transparent 42%),
    linear-gradient(180deg, #1f1712 0%, #15110e 100%);
  color: var(--text);
}

a { color: inherit; text-decoration: none; }

.topbar, main { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
}

.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; }
.brand img { width: 32px; height: auto; }

.nav-links { display: flex; gap: 22px; color: var(--muted); font-size: 14px; }
.nav-links a:hover { color: var(--text); }

h1, h2, h3 { font-family: "Gelasio", Georgia, serif; font-weight: 700; letter-spacing: -0.01em; }

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ─── Hero ─── */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: center;
  padding: 24px 0 88px;
}

.hero-title-row { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }

.hero-title-row img {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  box-shadow: 0 14px 28px rgb(0 0 0 / 0.4);
}

.hero-title-row .eyebrow { margin: 0; }

.hero-copy h1 {
  margin: 0;
  font-size: clamp(44px, 7vw, 80px);
  line-height: 1;
}

.hero-copy h1 em { font-style: normal; color: var(--red); }

.hero-copy > p {
  max-width: 540px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

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

.primary-button,
.secondary-button,
.soon-pill {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 700;
}

.soon-pill {
  background: linear-gradient(135deg, #e85a3c 0%, var(--red) 100%);
  color: var(--paper);
  box-shadow: 0 6px 0 #8f2717;
}

.secondary-button {
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
}

/* A landscape screenshot in a dark device frame, with the ronin stepping out of it */
.screen {
  position: relative;
  padding: 12px;
  border-radius: 34px;
  background: #0b0908;
  box-shadow: 0 30px 70px rgb(0 0 0 / 0.55), inset 0 0 0 1px rgb(255 255 255 / 0.06);
}

.screen img.shot {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1434 / 660;
  border-radius: 24px;
}

.screen .stepping {
  position: absolute;
  right: -18px;
  bottom: -26px;
  width: 15%;
  height: auto;
  filter: drop-shadow(0 12px 10px rgb(0 0 0 / 0.5));
}

/* ─── Sections ─── */
.section { padding: 72px 0; border-top: 1px solid var(--line); }

.section-heading { max-width: 660px; margin-bottom: 36px; }

.section-heading h2 {
  margin: 0;
  font-size: clamp(32px, 4.6vw, 50px);
  line-height: 1.08;
}

.section-heading p:not(.eyebrow) {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
}

.card h3 { margin: 0; font-size: 23px; }

.card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }

.card-icon {
  display: block;
  width: 72px;
  height: 72px;
  margin-bottom: 6px;
  object-fit: contain;
  filter: drop-shadow(0 6px 6px rgb(0 0 0 / 0.35));
}

/* ─── Screenshot strip ─── */
.shot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.shot-card { margin: 0; }

.shot-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1434 / 660;
  border-radius: 18px;
  border: 1px solid var(--line);
}

.shot-card figcaption { margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.shot-card figcaption strong { color: var(--text); }

/* ─── Stages ─── */
.stage-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.stage-card { overflow: hidden; padding: 0; gap: 0; }

.stage-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.stage-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 24px; }

.stage-number { color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }

/* ─── Foes ─── */
.foe-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.foe-card img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: contain;
  margin-bottom: 4px;
  filter: drop-shadow(0 10px 8px rgb(0 0 0 / 0.4));
}

/* ─── Dojo ─── */
.dojo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.scarf-row { display: flex; gap: 10px; margin-top: 6px; }

.scarf-row span {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 2px solid rgb(242 230 207 / 0.5);
}

/* ─── CTA ─── */
.cta {
  margin: 24px 0 96px;
  padding: 64px;
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgb(231 182 76 / 0.22), transparent 42%),
    linear-gradient(135deg, #2a1e17 0%, #7d2416 100%);
  text-align: center;
}

.cta-icon {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  box-shadow: 0 16px 32px rgb(0 0 0 / 0.4);
}

.cta h2 { margin: 18px 0 0; font-size: clamp(32px, 4.6vw, 50px); }

.cta > p:not(.eyebrow) { margin: 14px auto 0; max-width: 540px; color: var(--muted); line-height: 1.7; }

.cta .eyebrow { margin-top: 18px; }

.cta .actions { justify-content: center; }

.footnote { margin: -64px 0 64px; color: var(--muted); font-size: 13px; text-align: center; }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }

  .card-grid,
  .foe-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .stage-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .topbar, main { width: calc(100% - 32px); }

  .nav-links { display: none; }

  .card-grid,
  .shot-grid,
  .stage-grid,
  .dojo-grid { grid-template-columns: 1fr; }

  .cta { padding: 44px 24px; }

  .actions > * { width: 100%; }

  .screen .stepping { right: -6px; bottom: -18px; }
}
