:root {
  --ink: #090404;
  --deep-red: #240606;
  --crimson: #8f0c0c;
  --red: #e43119;
  --orange: #ff6200;
  --yellow: #ffc247;
  --enamel: #f5e9d6;
  --silver: #b8b8b8;
  --muted: #d9c8bb;
  --panel: rgba(13, 4, 4, 0.88);
  --panel-soft: rgba(29, 6, 6, 0.78);
  --border: rgba(255, 98, 0, 0.34);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.44);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --max-width: 1180px;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: clip;
  background: var(--ink);
  color: var(--enamel);
  font-family: "Trebuchet MS", "Avenir Next", Avenir, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.lightbox-open {
  overflow: hidden;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

button,
summary,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
summary {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  transform: translateY(-150%);
  border-radius: 10px;
  background: var(--enamel);
  color: var(--ink);
  font-weight: 900;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-backdrop,
.page-backdrop::after {
  position: fixed;
  inset: 0;
  z-index: -3;
}

.page-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.64;
}

body[data-page="home"] .page-backdrop img { object-position: 70% center; }
body[data-page="lore"] .page-backdrop img { object-position: 31% center; }
body[data-page="roadmap"] .page-backdrop img { object-position: 62% center; }
body[data-page="gallery"] .page-backdrop img { object-position: 60% center; }

.page-shade {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(9, 4, 4, 0.96) 0%, rgba(9, 4, 4, 0.76) 42%, rgba(9, 4, 4, 0.26) 100%),
    linear-gradient(180deg, rgba(9, 4, 4, 0.28) 0%, rgba(9, 4, 4, 0.82) 76%, var(--ink) 100%);
}

.embers {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.ember {
  position: absolute;
  bottom: -18px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 12px 3px rgba(255, 98, 0, 0.66);
  opacity: 0;
  animation: rise 10s linear infinite;
}

.ember:nth-child(1) { left: 7%; animation-delay: -2s; animation-duration: 12s; }
.ember:nth-child(2) { left: 24%; animation-delay: -8s; animation-duration: 15s; width: 3px; height: 3px; }
.ember:nth-child(3) { left: 46%; animation-delay: -5s; animation-duration: 11s; }
.ember:nth-child(4) { left: 68%; animation-delay: -10s; animation-duration: 17s; width: 4px; height: 4px; }
.ember:nth-child(5) { left: 84%; animation-delay: -4s; animation-duration: 13s; }
.ember:nth-child(6) { left: 94%; animation-delay: -12s; animation-duration: 19s; width: 3px; height: 3px; }

@keyframes rise {
  0% { transform: translate3d(0, 0, 0) scale(0.7); opacity: 0; }
  12% { opacity: 0.75; }
  70% { opacity: 0.48; }
  100% { transform: translate3d(40px, -105vh, 0) scale(1.2); opacity: 0; }
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(255, 98, 0, 0.2);
  background: rgba(9, 4, 4, 0.94);
}

.nav-shell {
  width: min(calc(100% - 36px), var(--max-width));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--enamel);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 1.32rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand img {
  width: 42px;
  height: 42px;
  border: 2px solid rgba(255, 194, 71, 0.72);
  border-radius: 13px;
  object-fit: cover;
  box-shadow: 0 0 18px rgba(255, 98, 0, 0.38);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a,
.mobile-links a {
  border-radius: 999px;
  color: #eadad1;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.site-nav a {
  padding: 12px 13px;
}

.site-nav a:hover,
.site-nav a.is-active,
.mobile-links a:hover,
.mobile-links a.is-active {
  background: rgba(228, 49, 25, 0.18);
  color: var(--yellow);
}

.site-nav a.is-active,
.mobile-links a.is-active {
  box-shadow: inset 0 0 0 1px rgba(255, 98, 0, 0.34);
}

.site-nav .nav-buy,
.mobile-links .nav-buy {
  background: linear-gradient(135deg, var(--red), var(--orange));
  color: #fff;
  box-shadow: 0 8px 24px rgba(228, 49, 25, 0.25);
}

.site-nav .nav-buy:hover,
.mobile-links .nav-buy:hover {
  background: linear-gradient(135deg, #f03b21, #ff7b16);
  color: #fff;
  transform: translateY(-1px);
}

.mobile-nav {
  display: none;
  position: relative;
}

.mobile-nav summary {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  cursor: pointer;
  list-style: none;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(36, 6, 6, 0.92);
}

.mobile-nav summary::-webkit-details-marker { display: none; }

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  width: 21px;
  height: 2px;
  display: block;
  border-radius: 2px;
  background: var(--yellow);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-icon { position: relative; }
.menu-icon::before,
.menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -7px; }
.menu-icon::after { top: 7px; }
.mobile-nav[open] .menu-icon { background: transparent; }
.mobile-nav[open] .menu-icon::before { top: 0; transform: rotate(45deg); }
.mobile-nav[open] .menu-icon::after { top: 0; transform: rotate(-45deg); }

.mobile-links {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(280px, calc(100vw - 30px));
  padding: 10px;
  display: grid;
  gap: 5px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(9, 4, 4, 0.98);
  box-shadow: var(--shadow);
}

.mobile-links a {
  padding: 15px 16px;
}

.container {
  width: min(calc(100% - 36px), var(--max-width));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 104px 0;
}

.section-tight {
  padding: 72px 0;
}

.section-dark {
  border-block: 1px solid rgba(255, 98, 0, 0.12);
  background: linear-gradient(180deg, rgba(9, 4, 4, 0.83), rgba(21, 5, 5, 0.94));
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  line-height: 1.3;
  text-transform: uppercase;
}

.display-title,
.section-title,
.card-title,
.phase-title {
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-weight: 900;
  letter-spacing: 0.035em;
  line-height: 0.98;
  text-transform: uppercase;
}

.display-title {
  max-width: 830px;
  font-size: clamp(4rem, 7.4vw, 7rem);
  color: var(--enamel);
  text-shadow: 0 5px 0 rgba(143, 12, 12, 0.9), 0 0 34px rgba(255, 98, 0, 0.32);
}

.section-title {
  font-size: clamp(2.65rem, 6vw, 5.2rem);
}

.card-title {
  font-size: clamp(2rem, 3vw, 3.15rem);
}

.phase-title {
  font-size: clamp(1.75rem, 3vw, 2.55rem);
}

.gradient-text {
  color: var(--yellow);
  background: linear-gradient(135deg, var(--yellow) 10%, var(--orange) 58%, #ff3920 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lead {
  max-width: 760px;
  margin: 22px 0 0;
  color: #f1e5dc;
  font-size: clamp(1.04rem, 1.8vw, 1.28rem);
  line-height: 1.65;
}

.body-copy {
  color: var(--muted);
}

.hero {
  min-height: calc(100vh - 76px);
  min-height: calc(100svh - 76px);
  display: grid;
  align-items: center;
  padding: 54px 0 68px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, 0.82fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
}

.tagline {
  margin: 16px 0 0;
  color: var(--yellow);
  font-size: clamp(1.05rem, 2vw, 1.42rem);
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-description {
  max-width: 690px;
  margin: 18px 0 0;
  color: #dbcac0;
}

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

.button {
  min-width: 94px;
  min-height: 50px;
  padding: 14px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  background: linear-gradient(135deg, var(--red), var(--orange));
  box-shadow: 0 12px 34px rgba(255, 98, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  animation: button-glow 3s ease-in-out infinite;
}

.button-secondary {
  border-color: rgba(255, 194, 71, 0.38);
  background: rgba(36, 6, 6, 0.84);
  color: var(--yellow);
}

@keyframes button-glow {
  0%, 100% { box-shadow: 0 12px 32px rgba(255, 98, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.2); }
  50% { box-shadow: 0 14px 42px rgba(255, 98, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.26); }
}

.media-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 194, 71, 0.4);
  border-radius: var(--radius-xl);
  background: #150505;
  box-shadow: var(--shadow), inset 0 0 0 5px rgba(255, 98, 0, 0.06);
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 55px rgba(0, 0, 0, 0.26);
}

.hero-character {
  width: min(100%, 560px);
  justify-self: end;
  animation: float 5.5s ease-in-out infinite;
}

.hero-character img,
.character-art img,
.story-art img,
.roadmap-art img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-0.4deg); }
  50% { transform: translateY(-13px) rotate(0.5deg); }
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(34px, 6vw, 86px);
}

.split.reverse > :first-child { order: 2; }

.panel {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: linear-gradient(150deg, rgba(36, 6, 6, 0.92), rgba(9, 4, 4, 0.94));
  box-shadow: var(--shadow);
}

.content-panel {
  padding: clamp(26px, 5vw, 58px);
}

.cards-grid {
  margin-top: 46px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.character-card {
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.character-card:hover {
  transform: translateY(-7px);
  border-color: rgba(255, 194, 71, 0.54);
  box-shadow: 0 28px 75px rgba(0, 0, 0, 0.5), 0 0 28px rgba(228, 49, 25, 0.14);
}

.mt-42 {
  margin-top: 42px;
}

.character-art {
  aspect-ratio: 16 / 11;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: #120404;
}

.character-art img {
  height: 100%;
  object-fit: contain;
}

.card-copy {
  padding: 28px;
}

.card-copy p:last-child {
  margin-bottom: 0;
}

.roadmap-preview {
  margin-top: 46px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.roadmap-step {
  min-height: 198px;
  padding: 25px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(13, 4, 4, 0.88);
  transition: transform 200ms ease, border-color 200ms ease;
}

.roadmap-step:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 194, 71, 0.58);
}

.step-number {
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--red), var(--orange));
  color: #fff;
  font-weight: 900;
  box-shadow: 0 8px 22px rgba(228, 49, 25, 0.25);
}

.roadmap-step h3 {
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  line-height: 1.08;
  text-transform: uppercase;
}

.roadmap-step p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.gallery-preview {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.gallery-preview .media-frame {
  transition: transform 220ms ease, border-color 220ms ease;
}

.gallery-preview .media-frame:hover {
  transform: translateY(-6px) rotate(0.25deg);
  border-color: rgba(255, 194, 71, 0.58);
}

.gallery-preview img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}

.cta {
  padding: 72px clamp(24px, 7vw, 82px);
  text-align: center;
  border-color: rgba(255, 98, 0, 0.5);
  background:
    radial-gradient(circle at 50% 120%, rgba(255, 98, 0, 0.3), transparent 48%),
    linear-gradient(145deg, rgba(49, 6, 6, 0.96), rgba(9, 4, 4, 0.96));
}

.cta .lead {
  margin-inline: auto;
}

.cta .button-row {
  justify-content: center;
}

.page-hero {
  padding: 96px 0 74px;
  text-align: center;
}

.page-hero .lead {
  margin-inline: auto;
}

.page-hero-visual {
  width: min(480px, 86vw);
  margin: 42px auto 0;
}

.story-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.72fr);
  align-items: start;
  gap: clamp(28px, 5vw, 64px);
}

.story-text p {
  margin: 0 0 1.3em;
  color: #e2d3c9;
  font-size: 1.03rem;
}

.story-text p:last-child { margin-bottom: 0; }

.story-art {
  position: sticky;
  top: 104px;
}

.character-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: 40px;
}

.character-feature + .character-feature {
  margin-top: 32px;
}

.character-feature:nth-child(even) .feature-media { order: 2; }

.feature-media {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.feature-media img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.feature-copy {
  padding: clamp(20px, 4vw, 48px);
}

.roadmap-shell {
  position: relative;
  margin-top: 24px;
}

.roadmap-shell::before {
  content: "";
  position: absolute;
  top: 25px;
  bottom: 25px;
  left: 50%;
  width: 2px;
  transform: translateX(-1px);
  background: linear-gradient(var(--yellow), var(--red), var(--orange));
  box-shadow: 0 0 16px rgba(255, 98, 0, 0.52);
}

.phase-card {
  position: relative;
  width: calc(50% - 38px);
  margin-bottom: 38px;
  padding: clamp(25px, 4vw, 42px);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(36, 6, 6, 0.94), rgba(9, 4, 4, 0.96));
  box-shadow: var(--shadow);
  transition: transform 200ms ease, border-color 200ms ease;
}

.phase-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 194, 71, 0.58);
}

.phase-card:nth-child(even) {
  margin-left: auto;
}

.phase-card::after {
  content: "";
  position: absolute;
  top: 38px;
  right: -45px;
  width: 14px;
  height: 14px;
  border: 3px solid var(--yellow);
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 7px rgba(228, 49, 25, 0.18), 0 0 20px var(--orange);
}

.phase-card:nth-child(even)::after {
  right: auto;
  left: -45px;
}

.phase-label {
  margin: 0 0 10px;
  color: var(--orange);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.phase-list {
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 11px;
  list-style: none;
  color: #dfd0c7;
}

.phase-list li {
  position: relative;
  padding-left: 28px;
}

.phase-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--yellow);
}

.roadmap-note {
  margin: 28px auto 0;
  max-width: 760px;
  padding: 18px 22px;
  border: 1px solid rgba(184, 184, 184, 0.22);
  border-radius: 16px;
  background: rgba(9, 4, 4, 0.8);
  color: #cbbcb4;
  font-size: 0.9rem;
  text-align: center;
}

.gallery-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 20px;
}

.gallery-card {
  width: 100%;
  padding: 0;
  overflow: hidden;
  cursor: zoom-in;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(9, 4, 4, 0.9);
  color: var(--enamel);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.3);
  text-align: left;
  transition: transform 210ms ease, border-color 210ms ease, box-shadow 210ms ease;
}

.gallery-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 194, 71, 0.62);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.46), 0 0 22px rgba(228, 49, 25, 0.14);
}

.gallery-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #110404;
}

.gallery-card .gallery-caption {
  display: block;
  padding: 17px 18px;
  border-top: 1px solid rgba(255, 98, 0, 0.18);
  color: #eee0d6;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.lightbox[hidden] { display: none; }

.lightbox {
  position: fixed;
  z-index: 1000;
  inset: 0;
  padding: 76px 84px 34px;
  display: grid;
  place-items: center;
  background: rgba(5, 2, 2, 0.96);
}

.lightbox-figure {
  width: 100%;
  height: 100%;
  margin: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  place-items: center;
  gap: 14px;
}

.lightbox-figure picture {
  min-height: 0;
  display: grid;
  place-items: center;
}

.lightbox-figure img {
  max-width: min(1120px, 100%);
  max-height: calc(100vh - 145px);
  width: auto;
  height: auto;
  object-fit: contain;
  border: 1px solid rgba(255, 194, 71, 0.42);
  border-radius: 20px;
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.72);
}

.lightbox-figure figcaption {
  color: #e9d9cf;
  font-weight: 800;
  text-align: center;
}

.lightbox-button {
  position: absolute;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  cursor: pointer;
  border: 1px solid rgba(255, 194, 71, 0.36);
  border-radius: 50%;
  background: rgba(36, 6, 6, 0.92);
  color: var(--yellow);
  font-size: 1.55rem;
  line-height: 1;
  transition: transform 180ms ease, background-color 180ms ease;
}

.lightbox-button:hover {
  transform: scale(1.08);
  background: var(--crimson);
}

.lightbox-close { top: 18px; right: 22px; }
.lightbox-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 22px; top: 50%; transform: translateY(-50%); }
.lightbox-prev:hover,
.lightbox-next:hover { transform: translateY(-50%) scale(1.08); }

.site-footer {
  padding: 44px 0;
  border-top: 1px solid rgba(255, 98, 0, 0.2);
  background: rgba(9, 4, 4, 0.96);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-copy p {
  margin: 8px 0 0;
  color: #bbaaa1;
  font-size: 0.86rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.footer-links a {
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.footer-links a:hover { background: rgba(228, 49, 25, 0.16); }

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (scripting: none) {
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1020px) {
  .site-nav { display: none; }
  .mobile-nav { display: block; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr); }
  .display-title { font-size: clamp(4rem, 10.5vw, 6.7rem); }
  .roadmap-preview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 780px) {
  .nav-shell,
  .container { width: min(calc(100% - 28px), var(--max-width)); }
  .nav-shell { min-height: 68px; }
  .brand img { width: 38px; height: 38px; }
  .section { padding: 78px 0; }
  .hero { min-height: auto; padding: 60px 0 74px; }
  .display-title { font-size: clamp(4rem, 15vw, 6rem); }
  .hero-grid,
  .split,
  .story-layout,
  .character-feature { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-description,
  .hero-copy .lead { margin-inline: auto; }
  .hero-copy .button-row { justify-content: center; }
  .hero-character { width: min(100%, 520px); margin: 14px auto 0; justify-self: center; }
  .split.reverse > :first-child,
  .character-feature:nth-child(even) .feature-media { order: initial; }
  .cards-grid { grid-template-columns: 1fr; }
  .gallery-preview { grid-template-columns: 1fr; }
  .story-art { position: static; width: min(100%, 500px); margin-inline: auto; }
  .roadmap-shell::before { left: 16px; }
  .phase-card,
  .phase-card:nth-child(even) { width: calc(100% - 48px); margin-left: 48px; }
  .phase-card::after,
  .phase-card:nth-child(even)::after { right: auto; left: -39px; }
  .footer-grid { align-items: flex-start; flex-direction: column; }
  .footer-links { justify-content: flex-start; }
  .lightbox { padding: 68px 14px 82px; }
  .lightbox-close { top: 12px; right: 14px; }
  .lightbox-prev { top: auto; bottom: 16px; left: calc(50% - 62px); transform: none; }
  .lightbox-next { top: auto; right: calc(50% - 62px); bottom: 16px; transform: none; }
  .lightbox-prev:hover,
  .lightbox-next:hover { transform: scale(1.08); }
  .lightbox-figure img { max-height: calc(100vh - 180px); }
}

@media (max-width: 560px) {
  .display-title { font-size: clamp(3.35rem, 17vw, 5rem); letter-spacing: 0.01em; }
  .section-title { font-size: clamp(2.4rem, 13vw, 3.55rem); }
  .page-hero { padding: 70px 0 52px; }
  .tagline { font-size: 0.94rem; letter-spacing: 0.1em; }
  .button { min-width: 84px; flex: 1 1 100px; padding-inline: 16px; }
  .button-row { width: 100%; }
  .content-panel { padding: 25px 21px; }
  .roadmap-preview,
  .gallery-grid { grid-template-columns: 1fr; }
  .roadmap-step { min-height: 0; }
  .cta { padding: 54px 21px; }
  .brand { font-size: 1.08rem; letter-spacing: 0.06em; }
  .card-copy { padding: 23px 20px; }
}

@media (max-width: 360px) {
  .display-title { font-size: 3.05rem; }
  .brand span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
