:root {
  --bg: #0b0f12;
  --bg-alt: #11181d;
  --panel: rgba(17, 24, 29, 0.86);
  --panel-strong: rgba(20, 28, 34, 0.94);
  --line: rgba(139, 188, 255, 0.16);
  --line-strong: rgba(255, 184, 108, 0.22);
  --text: #ecf4ff;
  --muted: #afc1d6;
  --soft: #88a1ba;
  --accent: #78d6ff;
  --accent-2: #ffb86c;
  --accent-3: #9effb1;
  --danger: #ff7f7f;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  --radius: 24px;
  --radius-sm: 16px;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Sora", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(120, 214, 255, 0.16), transparent 28%),
    radial-gradient(circle at 85% 10%, rgba(255, 184, 108, 0.14), transparent 24%),
    linear-gradient(180deg, #091015 0%, #10161b 45%, #0a0d10 100%);
  min-height: 100vh;
}

body.serial-deminer-theme {
  --bg: #0d1110;
  --bg-alt: #161d1b;
  --panel: rgba(20, 28, 25, 0.86);
  --panel-strong: rgba(24, 34, 30, 0.94);
  --line: rgba(150, 211, 163, 0.16);
  --line-strong: rgba(247, 199, 106, 0.22);
  --text: #eef8f2;
  --muted: #b4cbbd;
  --soft: #8eab9c;
  --accent: #9ee18f;
  --accent-2: #f7c76a;
  --accent-3: #8fd0e1;
  background:
    radial-gradient(circle at top left, rgba(158, 225, 143, 0.15), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(247, 199, 106, 0.14), transparent 24%),
    linear-gradient(180deg, #0c110f 0%, #131a18 46%, #0a0d0c 100%);
}

body.serial-deminer-theme .brand-mark {
  color: #101510;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 14px 32px rgba(158, 225, 143, 0.2);
}

body.bullet-freeze-theme {
  --bg: #091019;
  --bg-alt: #101827;
  --panel: rgba(16, 24, 39, 0.86);
  --panel-strong: rgba(19, 30, 48, 0.94);
  --line: rgba(126, 209, 255, 0.18);
  --line-strong: rgba(255, 122, 122, 0.22);
  --text: #edf8ff;
  --muted: #b5cce0;
  --soft: #89a2bb;
  --accent: #8fe5ff;
  --accent-2: #ff8a8a;
  --accent-3: #d8f7ff;
  background:
    radial-gradient(circle at top left, rgba(143, 229, 255, 0.18), transparent 30%),
    radial-gradient(circle at 88% 10%, rgba(255, 138, 138, 0.14), transparent 26%),
    linear-gradient(180deg, #08101a 0%, #0e1623 48%, #090d14 100%);
}

body.bullet-freeze-theme .brand-mark {
  color: #091019;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 14px 32px rgba(143, 229, 255, 0.24);
}

body.moth-mania-theme {
  --bg: #0a0d12;
  --bg-alt: #121922;
  --panel: rgba(18, 25, 34, 0.86);
  --panel-strong: rgba(21, 31, 43, 0.94);
  --line: rgba(130, 225, 217, 0.18);
  --line-strong: rgba(255, 197, 104, 0.22);
  --text: #eef6f7;
  --muted: #bad2d5;
  --soft: #8fa9ac;
  --accent: #8ce4d8;
  --accent-2: #ffc568;
  --accent-3: #d8fff8;
  background:
    radial-gradient(circle at top left, rgba(140, 228, 216, 0.16), transparent 28%),
    radial-gradient(circle at 84% 12%, rgba(255, 197, 104, 0.14), transparent 24%),
    linear-gradient(180deg, #090d12 0%, #101721 48%, #090b10 100%);
}

body.moth-mania-theme .brand-mark {
  color: #0b1113;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 14px 32px rgba(140, 228, 216, 0.22);
}

body.hub-home {
  --bg: #050505;
  --bg-alt: #0d0d0d;
  --panel: rgba(11, 11, 11, 0.96);
  --panel-strong: rgba(16, 16, 16, 0.98);
  --line: rgba(246, 243, 237, 0.16);
  --line-strong: rgba(246, 243, 237, 0.32);
  --text: #f6f3ed;
  --muted: #c4beb3;
  --soft: #958f86;
  --accent: #f6f3ed;
  --accent-2: #f6f3ed;
  --accent-3: #d7d1c6;
  --shadow: 0 26px 90px rgba(0, 0, 0, 0.42);
  background:
    linear-gradient(180deg, #030303 0%, #070707 40%, #020202 100%);
}

body.hub-home::before {
  background:
    linear-gradient(rgba(246, 243, 237, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 243, 237, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(246, 243, 237, 0.12), transparent 30%);
  background-size: 72px 72px, 72px 72px, 100% 100%;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 94%);
}

body.hub-home .site-header {
  background: rgba(3, 3, 3, 0.92);
  border-bottom: 1px solid rgba(246, 243, 237, 0.12);
  backdrop-filter: blur(12px);
}

body.hub-home .brand-mark {
  border-radius: 0;
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(246, 243, 237, 0.08), rgba(246, 243, 237, 0.01));
  border: 1px solid rgba(246, 243, 237, 0.22);
  box-shadow: none;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

body.hub-home .brand-copy strong,
body.hub-home h1,
body.hub-home h2,
body.hub-home h3,
body.hub-home h4,
body.hub-home .eyebrow,
body.hub-home .card-label,
body.hub-home .top-nav a,
body.hub-home .sub-nav a,
body.hub-home .button {
  font-family: "Orbitron", "Sora", sans-serif;
}

body.hub-home h1,
body.hub-home h2,
body.hub-home h3 {
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.hub-home h1 {
  max-width: 12ch;
  font-size: clamp(3.2rem, 8vw, 5.8rem);
}

body.hub-home h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

body.hub-home .eyebrow,
body.hub-home .card-label,
body.hub-home h4 {
  color: var(--text);
  letter-spacing: 0.22em;
}

body.hub-home .top-nav a,
body.hub-home .sub-nav a {
  border-radius: 0;
  padding: 10px 14px;
  border: 1px solid transparent;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
}

body.hub-home .top-nav a:hover,
body.hub-home .top-nav a:focus-visible,
body.hub-home .sub-nav a:hover,
body.hub-home .sub-nav a:focus-visible {
  background: rgba(246, 243, 237, 0.06);
  border-color: rgba(246, 243, 237, 0.12);
}

body.hub-home .top-nav a.active,
body.hub-home .sub-nav a.active {
  background: rgba(246, 243, 237, 0.08);
  border-color: rgba(246, 243, 237, 0.18);
}

body.hub-home .button {
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}

body.hub-home .button.primary {
  color: #050505;
  background: var(--text);
  box-shadow: none;
}

body.hub-home .button.secondary {
  border: 1px solid rgba(246, 243, 237, 0.18);
  background: rgba(246, 243, 237, 0.03);
}

body.hub-home .panel,
body.hub-home .hero-stat,
body.hub-home .timeline-card,
body.hub-home .route-step,
body.hub-home .quest-card,
body.hub-home .pillars li,
body.hub-home .detail-list,
body.hub-home .map-note,
body.hub-home .graphic-placeholder,
body.hub-home .art-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 38%),
    var(--panel);
  border: 1px solid rgba(246, 243, 237, 0.12);
  border-radius: 0;
  backdrop-filter: none;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  box-shadow: none;
}

body.hub-home .quest-card,
body.hub-home .hero-stat {
  position: relative;
}

body.hub-home .quest-card::before,
body.hub-home .hero-stat::before,
body.hub-home .footer-card::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(246, 243, 237, 0.06);
  pointer-events: none;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

body.hub-home .hero-stat::after,
body.hub-home .quest-card::after,
body.hub-home .route-step::after,
body.hub-home .graphic-placeholder::after {
  background: linear-gradient(135deg, rgba(246, 243, 237, 0.05), transparent 42%);
}

body.hub-home .art-card figcaption {
  background: rgba(255, 255, 255, 0.01);
  border-top: 1px solid rgba(246, 243, 237, 0.08);
}

body.hub-home .footer-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 50%),
    rgba(10, 10, 10, 0.98);
  border: 1px solid rgba(246, 243, 237, 0.12);
  border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
}

body.hub-home .footer-links a {
  border-radius: 0;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(246, 243, 237, 0.12);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

body.hub-home .metric strong {
  font-family: "Orbitron", "Sora", sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

body.hub-home .hub-project-card header {
  gap: 10px;
}

body.hub-home .hub-project-card .grid.two {
  margin-top: 8px;
}

body.hub-home .hub-project-card .panel {
  min-height: 100%;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.92), transparent 96%);
  pointer-events: none;
  z-index: -1;
}

a {
  color: inherit;
}

img {
  display: block;
  width: 100%;
  border-radius: calc(var(--radius) - 4px);
}

.shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(7, 10, 14, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  flex-wrap: wrap;
}

.project-subheader {
  position: relative;
  z-index: 15;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 10, 14, 0.62);
  backdrop-filter: blur(10px);
}

.project-subheader-shell {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0 18px;
  flex-wrap: wrap;
}

.project-context {
  display: grid;
  gap: 4px;
}

.project-label {
  margin: 0;
  color: var(--soft);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
}

.project-context strong {
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.project-context span {
  color: var(--muted);
  font-size: 0.88rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #081015;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 14px 32px rgba(120, 214, 255, 0.2);
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: 0.98rem;
}

.brand-copy span {
  color: var(--soft);
  font-size: 0.86rem;
}

.top-nav,
.sub-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.project-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.top-nav a,
.sub-nav a,
.project-nav a,
.button,
.chip {
  text-decoration: none;
  border-radius: 999px;
  transition: 180ms ease;
}

.top-nav a,
.sub-nav a,
.project-nav a {
  color: var(--muted);
  padding: 9px 13px;
  font-size: 0.92rem;
}

.top-nav a:hover,
.top-nav a:focus-visible,
.sub-nav a:hover,
.sub-nav a:focus-visible,
.project-nav a:hover,
.project-nav a:focus-visible {
  color: var(--text);
  background: rgba(120, 214, 255, 0.08);
  outline: none;
}

.top-nav a.active,
.sub-nav a.active,
.project-nav a.active {
  color: var(--text);
  background: rgba(120, 214, 255, 0.13);
  border: 1px solid rgba(120, 214, 255, 0.16);
}

.page-hero {
  padding: 78px 0 36px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 22px;
}

.hero-grid.single-hero {
  grid-template-columns: minmax(0, 1fr);
}

.hero-grid.single-hero .hero-copy {
  max-width: 840px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.08;
}

h1,
h2 {
  font-family: "DM Serif Display", serif;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(3.1rem, 7vw, 6rem);
  max-width: 10ch;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
}

h3 {
  font-size: 1.22rem;
}

h4 {
  font-size: 0.96rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-2);
}

.lead {
  font-size: 1.1rem;
  color: var(--text);
  max-width: 40ch;
  margin: 18px 0 0;
  line-height: 1.7;
}

.hero-copy > p:last-of-type,
.section-head p,
.panel p,
.panel li,
.panel dd,
.panel blockquote,
.detail-list div,
.table-list li {
  color: var(--muted);
  line-height: 1.75;
}

.hero-copy > p:last-of-type {
  max-width: 64ch;
  margin: 18px 0 0;
}

.hero-copy > .lead:last-of-type {
  max-width: 40ch;
  color: var(--text);
}

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.button {
  padding: 14px 20px;
  font-weight: 600;
}

.button.primary {
  color: #071015;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 16px 34px rgba(120, 214, 255, 0.2);
}

.button.secondary {
  border: 1px solid rgba(120, 214, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.panel,
.hero-stat,
.timeline-card,
.route-step,
.quest-card,
.pillars li,
.detail-list,
.map-note,
.graphic-placeholder,
.art-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.panel,
.hero-stat,
.timeline-card,
.route-step,
.quest-card,
.map-note,
.graphic-placeholder,
.art-card {
  padding: 24px;
}

.hero-aside {
  display: grid;
  gap: 16px;
}

.hero-stat {
  position: relative;
  overflow: hidden;
}

.hero-stat::after,
.quest-card::after,
.route-step::after,
.graphic-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(120, 214, 255, 0.08), transparent 50%);
  pointer-events: none;
}

.hero-stat dl {
  margin: 0;
  display: grid;
  gap: 16px;
}

.hero-stat dt,
.card-label,
.detail-list strong,
.summary-label {
  margin: 0 0 6px;
  color: var(--accent-2);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-stat dd {
  margin: 0;
}

.hero-stat-actions {
  margin-top: 24px;
}

.about-me-button {
  padding: 18px 28px;
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.graphic-placeholder {
  min-height: 340px;
  display: grid;
  align-content: end;
  background:
    radial-gradient(circle at top, rgba(120, 214, 255, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(16, 24, 30, 0.9), rgba(11, 16, 20, 0.96));
}

.art-card {
  padding: 0;
  overflow: hidden;
}

.art-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.art-link {
  position: relative;
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: zoom-in;
}

.art-link::after {
  content: "Open Full Size";
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(7, 10, 14, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateY(6px);
  transition: 180ms ease;
}

.art-link.page-link::after {
  content: "Open Project";
}

.art-link.page-link {
  cursor: pointer;
}

.art-link:hover::after,
.art-link:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.art-link img {
  transition: transform 180ms ease, filter 180ms ease;
}

.art-link:hover img,
.art-link:focus-visible img {
  transform: scale(1.01);
  filter: brightness(1.03);
}

.art-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.art-card figcaption {
  padding: 14px 18px 18px;
  color: var(--soft);
  font-size: 0.92rem;
  line-height: 1.6;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(7, 10, 14, 0.34);
}

.graphic-note {
  margin: 14px 0 0;
  color: var(--soft);
  font-size: 0.9rem;
}

.art-card.tall img {
  max-height: 600px;
  object-fit: cover;
}

.art-card.medium img {
  max-height: 420px;
}

.project-graphic-link {
  color: inherit;
  text-decoration: none;
  display: block;
}

.project-graphic-link:hover,
.project-graphic-link:focus-visible {
  transform: translateY(-1px);
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.project-tile-art.horizontal-art .art-link {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.project-tile-art.horizontal-art img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
}

.project-tile-art.serial-art .art-link {
  background: rgba(3, 7, 10, 0.84);
}

.project-tile-art.serial-art img {
  object-fit: contain;
}

.project-tile-art.original-ratio-art {
  display: grid;
  justify-items: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(246, 243, 237, 0.08), transparent 44%),
    rgba(3, 7, 10, 0.84);
}

.project-tile-art.original-ratio-art .art-link {
  display: grid;
  place-items: center;
  width: 100%;
}

.project-tile-art.original-ratio-art img {
  width: auto;
  max-width: min(78%, 360px);
  height: auto;
  max-height: 260px;
  object-fit: contain;
  padding: 46px 0;
}

.project-tile-art.original-ratio-art figcaption {
  justify-self: stretch;
  width: 100%;
  box-sizing: border-box;
}

.poster-card .art-link {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(246, 243, 237, 0.08), transparent 44%),
    rgba(3, 7, 10, 0.84);
}

.poster-card img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(68vh, 640px);
  object-fit: contain;
}

.hero-poster-card {
  max-width: 520px;
  margin: 24px 0 0;
}

.image-grid {
  display: grid;
  gap: 16px;
}

.image-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.image-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.slideshow-frame {
  overflow: hidden;
}

.slideshow-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 0 2px 18px;
  scroll-behavior: smooth;
  scroll-padding-inline: 2px;
  scroll-snap-type: x mandatory;
}

.slideshow-slide {
  flex: 0 0 min(100%, 1080px);
  scroll-margin-inline: 2px;
  scroll-snap-align: start;
}

.slideshow-slide .art-link {
  background:
    radial-gradient(circle at 50% 0%, rgba(246, 243, 237, 0.08), transparent 44%),
    rgba(3, 7, 10, 0.84);
}

.slideshow-slide .art-link img {
  height: auto;
  max-height: 76vh;
  object-fit: contain;
}

.slide-nav {
  display: flex;
  gap: 8px;
  margin: 0 0 18px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.slide-nav a {
  flex: 0 0 auto;
  color: var(--muted);
  text-decoration: none;
  border: 1px solid rgba(246, 243, 237, 0.12);
  padding: 8px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.03);
  transition: 180ms ease;
}

.slide-nav a:hover,
.slide-nav a:focus-visible {
  color: var(--text);
  border-color: rgba(246, 243, 237, 0.34);
  outline: none;
}

.graphic-placeholder h3 {
  margin-bottom: 10px;
}

.graphic-placeholder p {
  margin: 0;
}

.section {
  padding: 28px 0;
}

.section-head {
  max-width: 72ch;
  margin-bottom: 20px;
}

.section-head p {
  margin: 14px 0 0;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sub-nav {
  margin-top: 18px;
}

.sub-nav a {
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

.project-nav a {
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

.metric {
  display: grid;
  gap: 10px;
}

.metric strong {
  font-size: 1.1rem;
}

.list-reset {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pillars {
  display: grid;
  gap: 14px;
}

.pillars li {
  padding: 18px;
}

.table-grid {
  display: grid;
  gap: 12px;
}

.detail-list {
  padding: 18px;
}

.detail-list div + div {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline-card {
  position: relative;
  padding-left: 60px;
}

.timeline-card::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 22px;
  bottom: -14px;
  width: 2px;
  background: linear-gradient(180deg, rgba(120, 214, 255, 0.9), rgba(255, 184, 108, 0.15));
}

.timeline-card:last-child::before {
  bottom: 22px;
}

.timeline-card::after {
  content: "";
  position: absolute;
  left: 20px;
  top: 20px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 4px solid rgba(120, 214, 255, 0.35);
  background: #091015;
  box-shadow: 0 0 0 8px rgba(120, 214, 255, 0.08);
}

.chip-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.chip {
  padding: 10px 12px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
}

.quote-box {
  padding: 28px;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(135deg, rgba(255, 184, 108, 0.12), rgba(120, 214, 255, 0.06)),
    rgba(15, 21, 26, 0.94);
}

.quote-box blockquote {
  margin: 0;
  font-size: 1.06rem;
  color: var(--text);
}

.quote-box p {
  margin: 12px 0 0;
}

.quest-card {
  display: grid;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.quest-card header {
  display: grid;
  gap: 8px;
}

.quest-card ul {
  margin: 0;
  padding-left: 18px;
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.route-step {
  min-height: 160px;
  position: relative;
  overflow: hidden;
}

.map-note {
  display: grid;
  gap: 12px;
}

.map-note h3 {
  margin-bottom: 0;
}

.table-list {
  margin: 0;
  padding-left: 18px;
}

.rule-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.rule-grid .chip {
  justify-content: center;
  display: flex;
  padding: 16px 12px;
}

.site-footer {
  padding: 24px 0 64px;
}

.footer-card {
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(255, 184, 108, 0.12), rgba(120, 214, 255, 0.08)),
    rgba(15, 21, 26, 0.94);
  border: 1px solid var(--line-strong);
}

.footer-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.footer-links a {
  text-decoration: none;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.license-footer {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.license-footer-text {
  margin: 0;
  color: #fff;
  font-size: 14px;
  line-height: 1.4;
}

.license-footer-link {
  color: #fff;
  text-decoration: none;
}

.license-footer-link:hover,
.license-footer-link:focus-visible {
  text-decoration: underline;
}

.license-footer-license {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.license-footer-icons {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.license-footer-icons img {
  height: 18px;
  filter: invert(1);
}

.small-note {
  color: var(--soft);
  font-size: 0.92rem;
}

.diagram-card {
  background:
    linear-gradient(135deg, rgba(120, 214, 255, 0.08), rgba(255, 184, 108, 0.04)),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}

.compact-diagram {
  display: grid;
  gap: 16px;
}

.system-diagram {
  display: grid;
  gap: 12px;
}

.diagram-row {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.diagram-node {
  min-height: 64px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 14px 12px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 85%),
    rgba(8, 14, 22, 0.72);
  color: var(--text);
  font-weight: 600;
  line-height: 1.35;
}

.diagram-node.wide {
  min-height: 58px;
}

.diagram-arrow,
.phase-link {
  color: var(--accent-2);
  font-size: 1.4rem;
  font-weight: 800;
  text-align: center;
}

.phase-card,
.architecture-card {
  display: grid;
  gap: 18px;
}

.phase-diagram {
  display: grid;
  grid-template-columns: repeat(11, minmax(0, auto));
  gap: 10px;
  align-items: stretch;
}

.phase-step {
  min-width: 0;
  min-height: 150px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 18px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 85%),
    rgba(8, 14, 22, 0.72);
}

.phase-step strong {
  color: var(--accent);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.phase-step span {
  color: var(--muted);
  line-height: 1.6;
}

.architecture-diagram {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.architecture-column {
  display: grid;
  gap: 12px;
}

.diagram-stack-note {
  text-align: center;
  color: var(--soft);
  font-size: 0.9rem;
}

.architecture-legend {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hub-diagram-card {
  padding: 18px;
}

.video-placeholder {
  padding: 0;
  overflow: hidden;
}

.feature-video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 720px;
  background: #05080d;
}

.playable-embed {
  display: block;
  width: 100%;
  height: min(82vh, 960px);
  min-height: 720px;
  border: 0;
  background: #050505;
}

.video-caption {
  padding: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 50%),
    rgba(9, 16, 25, 0.72);
}

.video-placeholder-frame {
  min-height: 280px;
  display: grid;
  place-items: center;
  gap: 18px;
  text-align: center;
  padding: 32px;
  background:
    radial-gradient(circle at 50% 35%, rgba(143, 229, 255, 0.18), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 50%),
    rgba(9, 16, 25, 0.8);
}

.play-badge {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #091019;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 20px 40px rgba(143, 229, 255, 0.2);
}

.disclaimer-note {
  margin: 16px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Universal monochrome portfolio system */
:root {
  --bg: #050505;
  --bg-alt: #0d0d0d;
  --panel: rgba(10, 10, 10, 0.96);
  --panel-strong: rgba(16, 16, 16, 0.98);
  --line: rgba(246, 243, 237, 0.16);
  --line-strong: rgba(246, 243, 237, 0.34);
  --text: #f6f3ed;
  --muted: #c4beb3;
  --soft: #958f86;
  --accent: #f6f3ed;
  --accent-2: #f6f3ed;
  --accent-3: #d7d1c6;
  --danger: #f6f3ed;
  --shadow: none;
  --radius: 0;
  --radius-sm: 0;
}

* {
  letter-spacing: 0 !important;
}

body,
body.hub-home,
body.serial-deminer-theme,
body.bullet-freeze-theme,
body.moth-mania-theme {
  --bg: #050505;
  --bg-alt: #0d0d0d;
  --panel: rgba(10, 10, 10, 0.96);
  --panel-strong: rgba(16, 16, 16, 0.98);
  --line: rgba(246, 243, 237, 0.16);
  --line-strong: rgba(246, 243, 237, 0.34);
  --text: #f6f3ed;
  --muted: #c4beb3;
  --soft: #958f86;
  --accent: #f6f3ed;
  --accent-2: #f6f3ed;
  --accent-3: #d7d1c6;
  --danger: #f6f3ed;
  --shadow: none;
  --radius: 0;
  --radius-sm: 0;
  color: var(--text);
  background: linear-gradient(180deg, #030303 0%, #080808 46%, #020202 100%);
}

body::before,
body.hub-home::before,
body.serial-deminer-theme::before,
body.bullet-freeze-theme::before,
body.moth-mania-theme::before {
  background:
    linear-gradient(rgba(246, 243, 237, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 243, 237, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(246, 243, 237, 0.12), transparent 30%);
  background-size: 72px 72px, 72px 72px, 100% 100%;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 94%);
}

:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .site-header {
  background: rgba(3, 3, 3, 0.92);
  border-bottom: 1px solid rgba(246, 243, 237, 0.12);
  backdrop-filter: blur(12px);
}

:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .project-subheader {
  background: rgba(3, 3, 3, 0.78);
  border-bottom: 1px solid rgba(246, 243, 237, 0.12);
}

:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .brand-copy strong,
:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) h1,
:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) h2,
:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) h3,
:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) h4,
:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .eyebrow,
:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .card-label,
:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .project-label,
:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .project-context strong,
:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .top-nav a,
:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .sub-nav a,
:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .project-nav a,
:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .button,
:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .metric strong {
  font-family: "Orbitron", "Sora", sans-serif;
}

:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) h1,
:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) h2,
:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) h3,
:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) h4,
:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .eyebrow,
:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .card-label {
  text-transform: uppercase;
}

:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) h1 {
  max-width: 12ch;
  font-size: clamp(3.2rem, 8vw, 5.8rem);
}

:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .brand-mark {
  border-radius: 0;
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(246, 243, 237, 0.08), rgba(246, 243, 237, 0.01));
  border: 1px solid rgba(246, 243, 237, 0.22);
  box-shadow: none;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .top-nav a,
:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .sub-nav a,
:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .project-nav a {
  border-radius: 0;
  padding: 10px 14px;
  border: 1px solid transparent;
  color: var(--muted);
  text-transform: uppercase;
  font-size: 0.82rem;
}

:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .top-nav a:hover,
:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .top-nav a:focus-visible,
:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .sub-nav a:hover,
:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .sub-nav a:focus-visible,
:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .project-nav a:hover,
:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .project-nav a:focus-visible,
:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .top-nav a.active,
:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .sub-nav a.active,
:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .project-nav a.active {
  color: var(--text);
  background: rgba(246, 243, 237, 0.08);
  border-color: rgba(246, 243, 237, 0.18);
}

:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .button,
:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .footer-links a,
:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .chip {
  border-radius: 0;
  text-transform: uppercase;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}

:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .button.primary,
:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .play-badge {
  color: #050505;
  background: var(--text);
  box-shadow: none;
}

:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .button.secondary,
:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .footer-links a,
:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .chip {
  border: 1px solid rgba(246, 243, 237, 0.18);
  background: rgba(246, 243, 237, 0.03);
}

:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .panel,
:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .hero-stat,
:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .timeline-card,
:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .route-step,
:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .quest-card,
:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .pillars li,
:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .detail-list,
:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .map-note,
:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .graphic-placeholder,
:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .art-card,
:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .diagram-card,
:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .quote-box,
:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .footer-card,
:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .diagram-node,
:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .phase-step,
:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .video-caption,
:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .video-placeholder-frame {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 38%),
    var(--panel);
  border: 1px solid rgba(246, 243, 237, 0.12);
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .hero-stat::after,
:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .quest-card::after,
:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .route-step::after,
:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .graphic-placeholder::after {
  background: linear-gradient(135deg, rgba(246, 243, 237, 0.05), transparent 42%);
}

:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .quest-card,
:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .hero-stat,
:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .footer-card {
  position: relative;
}

:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .quest-card::before,
:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .hero-stat::before,
:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .footer-card::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(246, 243, 237, 0.06);
  pointer-events: none;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) img,
:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) video {
  border-radius: 0;
  filter: none;
}

:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .license-footer-icons img {
  filter: invert(1) grayscale(1) contrast(1.08);
}

:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .art-link:hover img,
:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .art-link:focus-visible img {
  filter: brightness(1.04);
}

:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .art-card figcaption,
:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .video-caption,
:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .license-footer,
:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .detail-list div + div {
  background: rgba(255, 255, 255, 0.01);
  border-top: 1px solid rgba(246, 243, 237, 0.08);
}

:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .diagram-arrow,
:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .phase-link,
:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .phase-step strong,
:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .hero-stat dt,
:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .card-label,
:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .detail-list strong,
:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .summary-label,
:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .eyebrow,
:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) h4 {
  color: var(--text);
}

:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .timeline-card::before {
  background: linear-gradient(180deg, rgba(246, 243, 237, 0.78), rgba(246, 243, 237, 0.12));
}

:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .timeline-card::after {
  border-radius: 0;
  border-color: rgba(246, 243, 237, 0.34);
  background: #050505;
  box-shadow: 0 0 0 8px rgba(246, 243, 237, 0.06);
  transform: rotate(45deg);
}

:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .play-badge {
  border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

.footer-card.license-only-footer,
:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .footer-card.license-only-footer {
  padding: 20px 0;
  background: #0a0a0a;
  border: 0;
  clip-path: none;
  box-shadow: none;
}

.footer-card.license-only-footer::before,
:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .footer-card.license-only-footer::before {
  content: none;
}

.footer-card.license-only-footer .license-footer,
:is(body, body.hub-home, body.serial-deminer-theme, body.bullet-freeze-theme, body.moth-mania-theme) .footer-card.license-only-footer .license-footer {
  margin-top: 0;
  padding-top: 0;
  background: transparent;
  border-top: 0;
}

.footer-card.license-only-footer .license-footer-text {
  font-weight: 700;
  line-height: 1.55;
}

.footer-card.license-only-footer .license-footer-icons img {
  height: 18px;
}

.itch-embed-card {
  width: min(100%, 592px);
  margin: 0 0 22px;
  padding: 20px;
}

.itch-embed-card iframe {
  display: block;
  width: 100%;
  max-width: 552px;
  height: 167px;
  border: 0;
}

body.crystalis-theme {
  --bg: #061424;
  --bg-alt: #09243a;
  --panel: rgba(8, 28, 48, 0.88);
  --panel-strong: rgba(10, 38, 62, 0.95);
  --line: rgba(108, 217, 255, 0.28);
  --line-strong: rgba(143, 114, 255, 0.42);
  --text: #ecfbff;
  --muted: #b5d7e8;
  --soft: #83adc2;
  --accent: #69ddff;
  --accent-2: #8f72ff;
  --accent-3: #77ffc9;
  --danger: #ff6fba;
  color: var(--text);
  background:
    radial-gradient(circle at 14% 6%, rgba(105, 221, 255, 0.26), transparent 28%),
    radial-gradient(circle at 88% 16%, rgba(143, 114, 255, 0.22), transparent 24%),
    radial-gradient(circle at 46% 70%, rgba(119, 255, 201, 0.12), transparent 26%),
    linear-gradient(180deg, #04101f 0%, #08233b 50%, #030914 100%);
}

body.military-sand-theme {
  --bg: #211d13;
  --bg-alt: #332d1c;
  --panel: rgba(48, 42, 27, 0.88);
  --panel-strong: rgba(59, 52, 33, 0.95);
  --line: rgba(220, 196, 132, 0.28);
  --line-strong: rgba(122, 143, 82, 0.38);
  --text: #fbefd4;
  --muted: #d1c29d;
  --soft: #aa986f;
  --accent: #e1c06e;
  --accent-2: #7f9250;
  --accent-3: #c15f32;
  --danger: #d35e3c;
  color: var(--text);
  background:
    linear-gradient(rgba(225, 192, 110, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(225, 192, 110, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 82% 8%, rgba(127, 146, 80, 0.2), transparent 24%),
    linear-gradient(180deg, #18150d 0%, #2f2919 48%, #12100a 100%);
  background-size: 56px 56px, 56px 56px, auto, auto;
}

body.bullet-freeze-theme {
  --bg: #27100c;
  --bg-alt: #3a1710;
  --panel: rgba(62, 24, 15, 0.88);
  --panel-strong: rgba(78, 30, 17, 0.95);
  --line: rgba(255, 207, 76, 0.34);
  --line-strong: rgba(255, 93, 64, 0.48);
  --text: #fff3d1;
  --muted: #f4cfa3;
  --soft: #d89c70;
  --accent: #ffd34d;
  --accent-2: #ff684f;
  --accent-3: #55d7ff;
  --danger: #ff3b30;
  color: var(--text);
  background:
    radial-gradient(circle, rgba(255, 211, 77, 0.12) 0 2px, transparent 2px 18px),
    radial-gradient(circle at 16% 10%, rgba(255, 104, 79, 0.24), transparent 24%),
    radial-gradient(circle at 84% 14%, rgba(255, 211, 77, 0.22), transparent 22%),
    linear-gradient(180deg, #230d0a 0%, #3a150e 48%, #170908 100%);
}

body.moth-mania-theme {
  --bg: #091112;
  --bg-alt: #121f20;
  --panel: rgba(18, 31, 32, 0.9);
  --panel-strong: rgba(24, 42, 42, 0.96);
  --line: rgba(147, 218, 194, 0.25);
  --line-strong: rgba(246, 190, 93, 0.36);
  --text: #eef5e8;
  --muted: #bdcdb8;
  --soft: #8ca592;
  --accent: #93dac2;
  --accent-2: #f6be5d;
  --accent-3: #bca1ff;
  --danger: #ee6d5f;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 10%, rgba(147, 218, 194, 0.16), transparent 24%),
    radial-gradient(circle at 82% 14%, rgba(246, 190, 93, 0.16), transparent 22%),
    radial-gradient(circle at 44% 76%, rgba(188, 161, 255, 0.1), transparent 28%),
    linear-gradient(180deg, #070d0f 0%, #122022 48%, #090b0f 100%);
}

body.serial-deminer-theme {
  --bg: #1a0c25;
  --bg-alt: #281238;
  --panel: rgba(43, 18, 55, 0.88);
  --panel-strong: rgba(54, 22, 68, 0.95);
  --line: rgba(255, 204, 61, 0.32);
  --line-strong: rgba(232, 71, 54, 0.46);
  --text: #fff1c5;
  --muted: #e6c995;
  --soft: #b48c72;
  --accent: #39d9e8;
  --accent-2: #ffd03d;
  --accent-3: #e84736;
  --danger: #e84736;
  color: var(--text);
  background:
    radial-gradient(circle at 14% 10%, rgba(57, 217, 232, 0.18), transparent 22%),
    radial-gradient(circle at 88% 12%, rgba(255, 208, 61, 0.18), transparent 22%),
    linear-gradient(180deg, #16091f 0%, #30133f 46%, #120718 100%);
}

body.crystalis-theme::before,
body.military-sand-theme::before,
body.bullet-freeze-theme::before,
body.moth-mania-theme::before,
body.serial-deminer-theme::before {
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
}

body.bullet-freeze-theme::before,
body.serial-deminer-theme::before {
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.09) 0 1px, transparent 1px 16px),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 22px 22px, 64px 64px;
}

body.crystalis-theme .site-header,
body.military-sand-theme .site-header,
body.bullet-freeze-theme .site-header,
body.moth-mania-theme .site-header,
body.serial-deminer-theme .site-header {
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  border-bottom: 1px solid var(--line);
}

body.crystalis-theme .project-subheader,
body.military-sand-theme .project-subheader,
body.bullet-freeze-theme .project-subheader,
body.moth-mania-theme .project-subheader,
body.serial-deminer-theme .project-subheader {
  background: color-mix(in srgb, var(--bg-alt) 78%, transparent);
  border-bottom: 1px solid var(--line);
}

body.crystalis-theme .brand-mark,
body.military-sand-theme .brand-mark,
body.bullet-freeze-theme .brand-mark,
body.moth-mania-theme .brand-mark,
body.serial-deminer-theme .brand-mark {
  color: #061015;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border: 1px solid var(--line-strong);
  box-shadow: 0 14px 34px color-mix(in srgb, var(--accent) 24%, transparent);
}

body.bullet-freeze-theme .brand-mark {
  color: #2a100b;
  border: 2px solid #2a100b;
}

body.crystalis-theme .top-nav a:hover,
body.crystalis-theme .top-nav a:focus-visible,
body.crystalis-theme .top-nav a.active,
body.crystalis-theme .sub-nav a:hover,
body.crystalis-theme .sub-nav a:focus-visible,
body.crystalis-theme .sub-nav a.active,
body.crystalis-theme .project-nav a:hover,
body.crystalis-theme .project-nav a:focus-visible,
body.crystalis-theme .project-nav a.active,
body.military-sand-theme .top-nav a:hover,
body.military-sand-theme .top-nav a:focus-visible,
body.military-sand-theme .top-nav a.active,
body.military-sand-theme .sub-nav a:hover,
body.military-sand-theme .sub-nav a:focus-visible,
body.military-sand-theme .sub-nav a.active,
body.military-sand-theme .project-nav a:hover,
body.military-sand-theme .project-nav a:focus-visible,
body.military-sand-theme .project-nav a.active,
body.bullet-freeze-theme .top-nav a:hover,
body.bullet-freeze-theme .top-nav a:focus-visible,
body.bullet-freeze-theme .top-nav a.active,
body.bullet-freeze-theme .sub-nav a:hover,
body.bullet-freeze-theme .sub-nav a:focus-visible,
body.bullet-freeze-theme .sub-nav a.active,
body.bullet-freeze-theme .project-nav a:hover,
body.bullet-freeze-theme .project-nav a:focus-visible,
body.bullet-freeze-theme .project-nav a.active,
body.moth-mania-theme .top-nav a:hover,
body.moth-mania-theme .top-nav a:focus-visible,
body.moth-mania-theme .top-nav a.active,
body.moth-mania-theme .sub-nav a:hover,
body.moth-mania-theme .sub-nav a:focus-visible,
body.moth-mania-theme .sub-nav a.active,
body.moth-mania-theme .project-nav a:hover,
body.moth-mania-theme .project-nav a:focus-visible,
body.moth-mania-theme .project-nav a.active,
body.serial-deminer-theme .top-nav a:hover,
body.serial-deminer-theme .top-nav a:focus-visible,
body.serial-deminer-theme .top-nav a.active,
body.serial-deminer-theme .sub-nav a:hover,
body.serial-deminer-theme .sub-nav a:focus-visible,
body.serial-deminer-theme .sub-nav a.active,
body.serial-deminer-theme .project-nav a:hover,
body.serial-deminer-theme .project-nav a:focus-visible,
body.serial-deminer-theme .project-nav a.active {
  color: var(--text);
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  border-color: var(--line-strong);
}

body.crystalis-theme .button.primary,
body.military-sand-theme .button.primary,
body.bullet-freeze-theme .button.primary,
body.moth-mania-theme .button.primary,
body.serial-deminer-theme .button.primary,
body.crystalis-theme .play-badge,
body.military-sand-theme .play-badge,
body.bullet-freeze-theme .play-badge,
body.moth-mania-theme .play-badge,
body.serial-deminer-theme .play-badge {
  color: #061015;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 16px 34px color-mix(in srgb, var(--accent) 22%, transparent);
}

body.military-sand-theme .button.primary,
body.bullet-freeze-theme .button.primary,
body.serial-deminer-theme .button.primary {
  color: #20140b;
}

body.crystalis-theme .button.secondary,
body.crystalis-theme .footer-links a,
body.crystalis-theme .chip,
body.military-sand-theme .button.secondary,
body.military-sand-theme .footer-links a,
body.military-sand-theme .chip,
body.bullet-freeze-theme .button.secondary,
body.bullet-freeze-theme .footer-links a,
body.bullet-freeze-theme .chip,
body.moth-mania-theme .button.secondary,
body.moth-mania-theme .footer-links a,
body.moth-mania-theme .chip,
body.serial-deminer-theme .button.secondary,
body.serial-deminer-theme .footer-links a,
body.serial-deminer-theme .chip {
  background: color-mix(in srgb, var(--panel-strong) 60%, transparent);
  border: 1px solid var(--line);
}

body.crystalis-theme .panel,
body.crystalis-theme .hero-stat,
body.crystalis-theme .timeline-card,
body.crystalis-theme .route-step,
body.crystalis-theme .quest-card,
body.crystalis-theme .pillars li,
body.crystalis-theme .detail-list,
body.crystalis-theme .map-note,
body.crystalis-theme .graphic-placeholder,
body.crystalis-theme .art-card,
body.crystalis-theme .diagram-card,
body.crystalis-theme .quote-box,
body.crystalis-theme .footer-card,
body.crystalis-theme .diagram-node,
body.crystalis-theme .phase-step,
body.crystalis-theme .video-caption,
body.crystalis-theme .video-placeholder-frame,
body.military-sand-theme .panel,
body.military-sand-theme .hero-stat,
body.military-sand-theme .timeline-card,
body.military-sand-theme .route-step,
body.military-sand-theme .quest-card,
body.military-sand-theme .pillars li,
body.military-sand-theme .detail-list,
body.military-sand-theme .map-note,
body.military-sand-theme .graphic-placeholder,
body.military-sand-theme .art-card,
body.military-sand-theme .diagram-card,
body.military-sand-theme .quote-box,
body.military-sand-theme .footer-card,
body.military-sand-theme .diagram-node,
body.military-sand-theme .phase-step,
body.military-sand-theme .video-caption,
body.military-sand-theme .video-placeholder-frame,
body.bullet-freeze-theme .panel,
body.bullet-freeze-theme .hero-stat,
body.bullet-freeze-theme .timeline-card,
body.bullet-freeze-theme .route-step,
body.bullet-freeze-theme .quest-card,
body.bullet-freeze-theme .pillars li,
body.bullet-freeze-theme .detail-list,
body.bullet-freeze-theme .map-note,
body.bullet-freeze-theme .graphic-placeholder,
body.bullet-freeze-theme .art-card,
body.bullet-freeze-theme .diagram-card,
body.bullet-freeze-theme .quote-box,
body.bullet-freeze-theme .footer-card,
body.bullet-freeze-theme .diagram-node,
body.bullet-freeze-theme .phase-step,
body.bullet-freeze-theme .video-caption,
body.bullet-freeze-theme .video-placeholder-frame,
body.moth-mania-theme .panel,
body.moth-mania-theme .hero-stat,
body.moth-mania-theme .timeline-card,
body.moth-mania-theme .route-step,
body.moth-mania-theme .quest-card,
body.moth-mania-theme .pillars li,
body.moth-mania-theme .detail-list,
body.moth-mania-theme .map-note,
body.moth-mania-theme .graphic-placeholder,
body.moth-mania-theme .art-card,
body.moth-mania-theme .diagram-card,
body.moth-mania-theme .quote-box,
body.moth-mania-theme .footer-card,
body.moth-mania-theme .diagram-node,
body.moth-mania-theme .phase-step,
body.moth-mania-theme .video-caption,
body.moth-mania-theme .video-placeholder-frame,
body.serial-deminer-theme .panel,
body.serial-deminer-theme .hero-stat,
body.serial-deminer-theme .timeline-card,
body.serial-deminer-theme .route-step,
body.serial-deminer-theme .quest-card,
body.serial-deminer-theme .pillars li,
body.serial-deminer-theme .detail-list,
body.serial-deminer-theme .map-note,
body.serial-deminer-theme .graphic-placeholder,
body.serial-deminer-theme .art-card,
body.serial-deminer-theme .diagram-card,
body.serial-deminer-theme .quote-box,
body.serial-deminer-theme .footer-card,
body.serial-deminer-theme .diagram-node,
body.serial-deminer-theme .phase-step,
body.serial-deminer-theme .video-caption,
body.serial-deminer-theme .video-placeholder-frame {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--accent) 8%, transparent), transparent 42%),
    var(--panel);
  border: 1px solid var(--line);
}

body.bullet-freeze-theme .panel,
body.bullet-freeze-theme .hero-stat,
body.bullet-freeze-theme .quest-card,
body.bullet-freeze-theme .diagram-card,
body.bullet-freeze-theme .diagram-node {
  border: 2px solid color-mix(in srgb, var(--accent-2) 70%, #210c08);
  box-shadow: 6px 6px 0 rgba(255, 211, 77, 0.16);
}

body.crystalis-theme .hero-stat::after,
body.crystalis-theme .quest-card::after,
body.crystalis-theme .route-step::after,
body.crystalis-theme .graphic-placeholder::after,
body.military-sand-theme .hero-stat::after,
body.military-sand-theme .quest-card::after,
body.military-sand-theme .route-step::after,
body.military-sand-theme .graphic-placeholder::after,
body.bullet-freeze-theme .hero-stat::after,
body.bullet-freeze-theme .quest-card::after,
body.bullet-freeze-theme .route-step::after,
body.bullet-freeze-theme .graphic-placeholder::after,
body.moth-mania-theme .hero-stat::after,
body.moth-mania-theme .quest-card::after,
body.moth-mania-theme .route-step::after,
body.moth-mania-theme .graphic-placeholder::after,
body.serial-deminer-theme .hero-stat::after,
body.serial-deminer-theme .quest-card::after,
body.serial-deminer-theme .route-step::after,
body.serial-deminer-theme .graphic-placeholder::after {
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 14%, transparent), transparent 46%);
}

body.crystalis-theme .quest-card::before,
body.crystalis-theme .hero-stat::before,
body.crystalis-theme .footer-card::before,
body.military-sand-theme .quest-card::before,
body.military-sand-theme .hero-stat::before,
body.military-sand-theme .footer-card::before,
body.bullet-freeze-theme .quest-card::before,
body.bullet-freeze-theme .hero-stat::before,
body.bullet-freeze-theme .footer-card::before,
body.moth-mania-theme .quest-card::before,
body.moth-mania-theme .hero-stat::before,
body.moth-mania-theme .footer-card::before,
body.serial-deminer-theme .quest-card::before,
body.serial-deminer-theme .hero-stat::before,
body.serial-deminer-theme .footer-card::before {
  border-color: color-mix(in srgb, var(--accent) 22%, transparent);
}

body.crystalis-theme .diagram-arrow,
body.crystalis-theme .phase-link,
body.crystalis-theme .phase-step strong,
body.crystalis-theme .hero-stat dt,
body.crystalis-theme .card-label,
body.crystalis-theme .detail-list strong,
body.crystalis-theme .summary-label,
body.crystalis-theme .eyebrow,
body.crystalis-theme h4,
body.military-sand-theme .diagram-arrow,
body.military-sand-theme .phase-link,
body.military-sand-theme .phase-step strong,
body.military-sand-theme .hero-stat dt,
body.military-sand-theme .card-label,
body.military-sand-theme .detail-list strong,
body.military-sand-theme .summary-label,
body.military-sand-theme .eyebrow,
body.military-sand-theme h4,
body.bullet-freeze-theme .diagram-arrow,
body.bullet-freeze-theme .phase-link,
body.bullet-freeze-theme .phase-step strong,
body.bullet-freeze-theme .hero-stat dt,
body.bullet-freeze-theme .card-label,
body.bullet-freeze-theme .detail-list strong,
body.bullet-freeze-theme .summary-label,
body.bullet-freeze-theme .eyebrow,
body.bullet-freeze-theme h4,
body.moth-mania-theme .diagram-arrow,
body.moth-mania-theme .phase-link,
body.moth-mania-theme .phase-step strong,
body.moth-mania-theme .hero-stat dt,
body.moth-mania-theme .card-label,
body.moth-mania-theme .detail-list strong,
body.moth-mania-theme .summary-label,
body.moth-mania-theme .eyebrow,
body.moth-mania-theme h4,
body.serial-deminer-theme .diagram-arrow,
body.serial-deminer-theme .phase-link,
body.serial-deminer-theme .phase-step strong,
body.serial-deminer-theme .hero-stat dt,
body.serial-deminer-theme .card-label,
body.serial-deminer-theme .detail-list strong,
body.serial-deminer-theme .summary-label,
body.serial-deminer-theme .eyebrow,
body.serial-deminer-theme h4 {
  color: var(--accent);
}

body.serial-deminer-theme h1,
body.serial-deminer-theme h2 {
  text-shadow: 2px 2px 0 rgba(232, 71, 54, 0.24);
}

body.bullet-freeze-theme h1,
body.bullet-freeze-theme h2 {
  text-shadow: 3px 3px 0 rgba(255, 104, 79, 0.28);
}

body.military-sand-theme .timeline-card::before,
body.serial-deminer-theme .timeline-card::before,
body.crystalis-theme .timeline-card::before,
body.moth-mania-theme .timeline-card::before,
body.bullet-freeze-theme .timeline-card::before {
  background: linear-gradient(180deg, var(--accent), color-mix(in srgb, var(--accent-2) 44%, transparent));
}

body.military-sand-theme .timeline-card::after,
body.serial-deminer-theme .timeline-card::after,
body.crystalis-theme .timeline-card::after,
body.moth-mania-theme .timeline-card::after,
body.bullet-freeze-theme .timeline-card::after {
  border-color: var(--line-strong);
  background: var(--bg);
  box-shadow: 0 0 0 8px color-mix(in srgb, var(--accent) 10%, transparent);
}

body.crystalis-theme .footer-card.license-only-footer,
body.military-sand-theme .footer-card.license-only-footer,
body.bullet-freeze-theme .footer-card.license-only-footer,
body.moth-mania-theme .footer-card.license-only-footer,
body.serial-deminer-theme .footer-card.license-only-footer {
  background: var(--bg);
}

@media (max-width: 1040px) {
  .hero-grid,
  .grid.two,
  .grid.three,
  .grid.four,
  .route-grid,
  .rule-grid {
    grid-template-columns: 1fr 1fr;
  }

  .phase-diagram {
    grid-template-columns: 1fr;
  }

  .architecture-diagram,
  .diagram-row {
    grid-template-columns: 1fr;
  }

  .diagram-arrow,
  .phase-link {
    transform: rotate(90deg);
  }

  .hero-grid {
    align-items: stretch;
  }
}

@media (max-width: 720px) {
  .site-header .shell,
  .brand {
    justify-content: center;
  }

  .project-subheader-shell,
  .project-context,
  .project-nav {
    justify-content: center;
    text-align: center;
  }

  .hero-grid,
  .grid.two,
  .grid.three,
  .grid.four,
  .route-grid,
  .rule-grid {
    grid-template-columns: 1fr;
  }

  .diagram-card,
  .phase-step,
  .video-placeholder-frame {
    padding: 20px;
  }

  .playable-embed {
    height: 72vh;
    min-height: 560px;
  }

  .page-hero {
    padding-top: 62px;
  }

  .panel,
  .hero-stat,
  .timeline-card,
  .route-step,
  .quest-card,
  .footer-card,
  .graphic-placeholder,
  .art-card {
    padding: 20px;
  }

  .art-card {
    padding: 0;
  }

  .image-grid.two,
  .image-grid.three {
    grid-template-columns: 1fr;
  }

  .slideshow-track {
    gap: 12px;
  }

  .slideshow-slide .art-link img {
    max-height: 66vh;
  }

  .timeline-card {
    padding-left: 52px;
  }
}
