:root {
  --bg: #0f1221;
  --bg-deep: #090b13;
  --panel: rgba(22, 27, 46, 0.94);
  --panel-soft: rgba(31, 36, 60, 0.9);
  --line: rgba(118, 229, 233, 0.18);
  --text: #f7f3df;
  --muted: #d6d0bb;
  --teal: #5be5de;
  --ember: #ff7d3a;
  --gold: #f5c76d;
  --violet: #5b4bc0;
  --shadow: 0 20px 48px rgba(0, 0, 0, 0.34);
  --shell: 1360px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--text);
  font-family: "Teko", "Arial Narrow", sans-serif;
  background:
    radial-gradient(circle at top, rgba(91, 229, 222, 0.08), transparent 28%),
    linear-gradient(180deg, #101323 0%, #0b0d17 100%);
}
main { flex: 1 0 auto; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.shell { width: min(calc(100% - 28px), var(--shell)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(10, 12, 19, 0.84);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.site-header__inner {
  display: grid;
  gap: 10px;
  justify-items: center;
  padding: 14px 0 16px;
}
.header-signal,
.hero-medallion,
.section-kicker,
.cta-primary,
.cta-ghost,
.cta-link,
.header-nav a,
.chip-list li,
.mission-card__media span,
.featured-sensei__poster span,
.back-link {
  font-family: "Montserrat", "Segoe UI", sans-serif;
}
.header-signal {
  margin: 0;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 800;
}
.brandmark {
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  font-weight: 900;
}
.header-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.header-nav a {
  min-height: 40px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  font-size: 0.88rem;
  font-weight: 800;
}

.hero-dojo {
  position: relative;
  overflow: hidden;
  min-height: 72vh;
}
.hero-dojo__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-dojo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,12,19,0.12), rgba(10,12,19,0.74)),
    radial-gradient(circle at center, rgba(255,125,58,0.12), transparent 32%);
}
.hero-dojo__inner {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 16px;
  padding: 92px 0 74px;
}
.hero-medallion,
.section-kicker {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 800;
}
.hero-medallion {
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(8, 14, 22, 0.62);
  border: 1px solid rgba(255,255,255,0.12);
}
.hero-dojo h1,
.featured-sensei__copy h2,
.mission-card__body h2,
.scroll-note__inner h2,
.selection-band h2,
.page-title,
.game-hero__copy h1,
.note-panel h2 {
  margin: 0;
  font-family: "Montserrat", "Segoe UI", sans-serif;
  line-height: 0.94;
  letter-spacing: -0.05em;
  font-weight: 900;
}
.hero-dojo h1 {
  max-width: 860px;
  font-size: clamp(2.8rem, 7vw, 5.3rem);
}
.hero-summary,
.featured-sensei__copy p,
.mission-card__body p,
.scroll-note__inner p,
.selection-band p,
.page-single p,
.game-hero__copy p,
.site-footer__note,
.note-panel p,
.note-panel li {
  color: var(--muted);
}
.hero-summary {
  max-width: 760px;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 1.05rem;
  line-height: 1.7;
}
.cta-primary,
.cta-ghost,
.cta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 800;
}
.cta-primary {
  background: linear-gradient(135deg, var(--ember) 0%, #ff9f57 100%);
  color: #2c1003;
}
.cta-ghost {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
}
.cta-link {
  padding-left: 0;
  color: var(--teal);
}

.move-strip,
.featured-sensei,
.mission-cards,
.scroll-note,
.selection-band {
  padding: 20px 0;
}
.move-strip__inner,
.mission-cards__grid,
.selection-band__inner {
  display: grid;
  gap: 16px;
}
.move-strip__inner {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.move-strip article,
.featured-sensei__copy,
.mission-card,
.scroll-note__inner,
.selection-band article,
.page-single,
.game-hero,
.game-frame,
.note-panel {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.move-strip article {
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(22, 27, 46, 0.96), rgba(14, 17, 29, 0.98));
}
.move-strip strong {
  display: block;
  color: var(--teal);
  font-family: "Montserrat", "Segoe UI", sans-serif;
  font-size: 1.2rem;
  text-transform: uppercase;
}
.move-strip span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-family: "Inter", "Segoe UI", sans-serif;
}

.featured-sensei__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
}
.featured-sensei__copy,
.scroll-note__inner,
.selection-band article,
.page-single,
.game-hero__copy,
.note-panel {
  padding: 24px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(22,27,46,0.95), rgba(12,14,24,0.98));
}
.chip-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip-list li {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(91,229,222,0.08);
  border: 1px solid rgba(91,229,222,0.14);
  font-size: 0.82rem;
  font-weight: 800;
}
.featured-sensei__poster,
.mission-card__media {
  position: relative;
  overflow: hidden;
  display: block;
  border-radius: 22px;
}
.featured-sensei__poster {
  min-height: 360px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.featured-sensei__poster img,
.mission-card__media img,
.game-hero__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.featured-sensei__poster span,
.mission-card__media span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(10,12,19,0.74);
  border: 1px solid rgba(255,255,255,0.14);
  font-weight: 800;
}

.mission-cards__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.mission-card {
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(25,30,52,0.96), rgba(14,17,28,0.98));
}
.mission-card__media {
  min-height: 180px;
}
.mission-card__body {
  padding: 20px;
}

.scroll-note__inner {
  max-width: 980px;
}
.selection-band__inner {
  grid-template-columns: 1fr 1fr;
}

.site-footer {
  margin-top: auto;
  padding: 26px 0 34px;
  background: #080b12;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.site-footer__inner {
  display: grid;
  gap: 14px;
  justify-items: center;
  text-align: center;
}
.site-footer__brand {
  margin: 0;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  font-weight: 900;
}
.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  color: var(--muted);
  font-family: "Montserrat", "Segoe UI", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
}
.site-footer__note {
  margin: 0;
  max-width: 720px;
  font-family: "Inter", "Segoe UI", sans-serif;
}

.page-shell {
  width: min(calc(100% - 28px), 1180px);
  margin: 0 auto;
  padding: 30px 0 54px;
}
.page-single {
  font-family: "Inter", "Segoe UI", sans-serif;
}
.page-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  margin-bottom: 16px;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--teal);
  font-weight: 800;
}
.game-page {
  display: grid;
  gap: 18px;
}
.game-hero {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(22,27,46,0.95), rgba(12,14,24,0.98));
}
.game-hero__poster {
  overflow: hidden;
  border-radius: 18px;
  min-height: 260px;
  margin: 12px 0 12px 12px;
}
.game-hero__copy {
  padding: 24px 24px 24px 0;
}
.meta-pills {
  list-style: none;
  padding: 0;
  margin: 16px 0 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.meta-pills li {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,125,58,0.1);
  border: 1px solid rgba(255,125,58,0.16);
  font-size: 0.82rem;
  font-weight: 800;
}
.game-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.game-frame {
  padding: 12px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(22,27,46,0.95), rgba(12,14,24,0.98));
}
.game-frame iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 12px;
  background: #000;
}
.notes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.note-panel ul {
  margin: 12px 0 0;
  padding-left: 18px;
}

@media (max-width: 1100px) {
  .move-strip__inner,
  .featured-sensei__inner,
  .mission-cards__grid,
  .selection-band__inner,
  .game-hero,
  .notes-grid {
    grid-template-columns: 1fr;
  }
  .game-hero__copy {
    padding: 0 24px 24px;
  }
  .game-hero__poster {
    margin: 12px 12px 0;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
  }
  .hero-dojo__inner {
    padding: 64px 0 54px;
  }
  .header-nav,
  .site-footer__links {
    gap: 10px;
  }
}
