:root {
  color-scheme: dark;
  --black: #070706;
  --black-soft: #0d0c0b;
  --charcoal: #151412;
  --iron: #282622;
  --iron-light: #413d36;
  --bone: #eee3ce;
  --bone-muted: #b9ad98;
  --gold: #d7a23b;
  --gold-pale: #f3d17a;
  --ember: #e96520;
  --ruby: #a52b20;
  --blue: #4b78a7;
  --shell: min(1180px, calc(100% - 40px));
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--black);
  color: var(--bone);
  font-synthesis: none;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: radial-gradient(circle at 80% 15%, rgb(120 39 12 / 10%), transparent 26rem), linear-gradient(180deg, #090807 0%, #0c0b0a 48%, #070706 100%);
  color: var(--bone);
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image: linear-gradient(rgb(255 255 255 / 1.4%) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 1.2%) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent, black 30%, transparent 90%);
  content: "";
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p, h1, h2, h3, figure { margin-top: 0; }

p {
  color: var(--bone-muted);
  line-height: 1.7;
}

h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; }

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.4rem, 6vw, 4.75rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.shell { width: var(--shell); margin-inline: auto; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  transform: translateY(-160%);
  border: 1px solid var(--gold);
  background: var(--black);
  color: var(--bone);
  text-decoration: none;
}

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

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 50%;
  display: flex;
  width: var(--shell);
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  transform: translateX(-50%);
  border-bottom: 1px solid rgb(238 227 206 / 16%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--bone);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand img {
  border-radius: 10px;
  box-shadow: 0 0 24px rgb(233 101 32 / 18%);
}

nav { display: flex; align-items: center; gap: 30px; }

nav a {
  color: #c8bda8;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease;
}

nav a:hover, nav a:focus-visible { color: var(--gold-pale); }

nav .nav-cta {
  padding: 11px 16px;
  border: 1px solid rgb(215 162 59 / 65%);
  background: rgb(12 10 8 / 62%);
  color: var(--bone);
}

.hero {
  position: relative;
  min-height: 900px;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid #4b3a20;
}

.hero-backdrop {
  position: absolute;
  z-index: -3;
  inset: 0;
  background-image: url("assets/hero-dungeon.jpg");
  background-position: center 47%;
  background-size: cover;
  filter: saturate(0.85) contrast(1.07);
  transform: scale(1.025);
}

.hero::before, .hero::after {
  position: absolute;
  z-index: -2;
  inset: 0;
  content: "";
}

.hero::before {
  background: linear-gradient(90deg, rgb(5 5 5 / 93%) 0%, rgb(5 5 5 / 76%) 40%, rgb(5 5 5 / 26%) 72%, rgb(5 5 5 / 55%) 100%), linear-gradient(180deg, rgb(5 5 5 / 35%) 0%, transparent 35%, rgb(5 5 5 / 92%) 100%);
}

.hero::after {
  background: radial-gradient(circle at 72% 44%, transparent 0 12rem, rgb(217 81 23 / 11%) 24rem, transparent 44rem);
  mix-blend-mode: screen;
}

.hero-content {
  display: grid;
  min-height: 900px;
  padding-top: 130px;
  padding-bottom: 100px;
  align-items: center;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.72fr);
  gap: 84px;
}

.hero-copy { min-width: 0; max-width: 700px; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 20px;
  color: var(--gold-pale);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow span {
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.hero h1 {
  margin: -0.08em -0.06em calc(10px - 0.12em);
  padding: 0.08em 0.06em 0.12em;
  overflow: visible;
  background: linear-gradient(180deg, #fff8e9 12%, #c9bda8 50%, #736957 92%);
  background-clip: text;
  color: transparent;
  text-shadow: 0 4px 0 #16130e, 0 8px 22px rgb(0 0 0 / 80%);
  font-size: clamp(3.8rem, 6.4vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.075em;
  line-height: 0.78;
  text-transform: uppercase;
}

.hero-tagline {
  margin-bottom: 26px;
  color: var(--gold-pale);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing: 0.08em;
  line-height: 1.2;
}

.hero-intro {
  max-width: 590px;
  margin-bottom: 34px;
  color: #d4c9b8;
  font-size: 1.08rem;
}

.hero-actions { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; }

.button {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  padding: 12px 23px;
  border: 1px solid transparent;
  color: var(--bone);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-align: left;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button:hover, .button:focus-visible { transform: translateY(-2px); }

.button-primary {
  min-width: 190px;
  flex-direction: column;
  align-items: flex-start;
  border-color: #f4c661;
  background: linear-gradient(135deg, #9b501f, #552111 58%, #30130d);
  box-shadow: inset 0 1px rgb(255 238 188 / 28%), 0 14px 36px rgb(0 0 0 / 35%), 0 0 24px rgb(233 101 32 / 14%);
}

.button-primary:hover, .button-primary:focus-visible {
  background: linear-gradient(135deg, #b86425, #682816 58%, #3a170f);
  box-shadow: inset 0 1px rgb(255 238 188 / 35%), 0 16px 42px rgb(0 0 0 / 42%), 0 0 30px rgb(233 101 32 / 22%);
}

.button-overline { margin-bottom: 2px; color: #e6c88a; font-size: 0.58rem; letter-spacing: 0.18em; }
.button-primary strong { font-size: 1rem; letter-spacing: 0.03em; }

.hero-note {
  margin-top: 22px;
  margin-bottom: 0;
  color: #8f877a;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-note span { margin-right: 8px; color: var(--ruby); }

.hero-showcase {
  position: relative;
  justify-self: center;
  width: min(100%, 390px);
  animation: rise-in 900ms 180ms both cubic-bezier(0.2, 0.8, 0.2, 1);
}

.game-frame {
  position: relative;
  z-index: 2;
  width: min(100%, 350px);
  margin-inline: auto;
  padding: 11px;
  transform: rotate(1.8deg);
  border: 1px solid #6d5b3e;
  border-radius: 20px;
  background: linear-gradient(145deg, #39352e, #0b0a09 36%, #26221c 76%, #090807);
  box-shadow: 0 40px 80px rgb(0 0 0 / 62%), 0 0 0 4px rgb(0 0 0 / 45%), 0 0 46px rgb(222 88 26 / 12%);
  animation: hover-frame 7s ease-in-out infinite;
}

.game-frame::before {
  position: absolute;
  inset: 5px;
  border: 1px solid rgb(239 199 105 / 38%);
  border-radius: 15px;
  content: "";
  pointer-events: none;
}

.game-frame img { width: 100%; border-radius: 11px; }

.frame-rivet {
  position: absolute;
  z-index: 2;
  width: 8px;
  height: 8px;
  border: 1px solid #ad8a4c;
  border-radius: 50%;
  background: #15120e;
}

.frame-rivet-one { top: 8px; left: 8px; }
.frame-rivet-two { right: 8px; bottom: 8px; }

.sigil {
  position: absolute;
  z-index: 3;
  width: 100px;
  border: 1px solid rgb(215 162 59 / 28%);
  border-radius: 50%;
  background: radial-gradient(circle, rgb(30 25 18 / 96%), rgb(4 4 4 / 92%) 70%);
  box-shadow: 0 16px 30px rgb(0 0 0 / 55%);
}

.sigil-skull { top: 9%; left: -20px; animation: hover-sigil 5.8s ease-in-out infinite; }

.sigil-sword {
  z-index: 5;
  right: -32px;
  bottom: calc(6% + 118px);
  width: 88px;
  animation: hover-sigil 6.4s -2s ease-in-out infinite reverse;
}

.depth-badge {
  position: absolute;
  z-index: 4;
  right: -24px;
  bottom: 6%;
  display: flex;
  width: 118px;
  height: 118px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transform: rotate(-7deg);
  border: 1px solid #a17835;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #44311a, #120e09 65%);
  box-shadow: 0 16px 30px rgb(0 0 0 / 60%), inset 0 0 0 5px #0b0907, inset 0 0 0 6px rgb(215 162 59 / 36%);
  color: var(--gold-pale);
  font-family: Georgia, "Times New Roman", serif;
  text-transform: uppercase;
}

.depth-badge span { font-size: 0.56rem; letter-spacing: 0.2em; }
.depth-badge strong { margin-top: 3px; font-size: 1.15rem; }

.hero-edge {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 12px;
  background: linear-gradient(180deg, #47371e, #0b0907 40%, #342716 58%, #060606);
  box-shadow: 0 -12px 30px rgb(0 0 0 / 70%);
}

.embers i {
  position: absolute;
  z-index: -1;
  bottom: -20px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #ffae4a;
  box-shadow: 0 0 8px #ff5e19;
  animation: ember-rise 8s linear infinite;
}

.embers i:nth-child(1) { left: 8%; animation-delay: -2s; }
.embers i:nth-child(2) { left: 21%; animation-delay: -6s; animation-duration: 10s; }
.embers i:nth-child(3) { left: 38%; animation-delay: -4s; animation-duration: 7s; }
.embers i:nth-child(4) { left: 53%; animation-delay: -1s; animation-duration: 9s; }
.embers i:nth-child(5) { left: 67%; animation-delay: -7s; animation-duration: 11s; }
.embers i:nth-child(6) { left: 77%; animation-delay: -3s; animation-duration: 8s; }
.embers i:nth-child(7) { left: 89%; animation-delay: -5s; animation-duration: 12s; }
.embers i:nth-child(8) { left: 96%; animation-delay: -8s; animation-duration: 9s; }

.section { position: relative; padding: 130px 0; }
.section-heading { max-width: 760px; margin-bottom: 62px; }
.section-heading > p:last-child { max-width: 650px; margin-bottom: 0; font-size: 1.05rem; }

.descent {
  background: radial-gradient(circle at 100% 0%, rgb(165 43 32 / 8%), transparent 32rem), linear-gradient(180deg, #0a0908, #100f0d);
}

.tile-grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: 16px; }

.tile-card {
  position: relative;
  min-height: 300px;
  padding: 176px 24px 26px;
  overflow: hidden;
  grid-column: span 2;
  border: 1px solid #35312b;
  background: linear-gradient(135deg, rgb(255 255 255 / 3%), transparent 35%), linear-gradient(180deg, #161411, #0c0b09);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.tile-card::before, .tile-card::after {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: #6f572f;
  content: "";
}

.tile-card::before { top: 8px; left: 8px; border-top: 1px solid; border-left: 1px solid; }
.tile-card::after { right: 8px; bottom: 8px; border-right: 1px solid; border-bottom: 1px solid; }

.tile-card:hover {
  z-index: 2;
  transform: translateY(-8px);
  border-color: #7b6135;
  box-shadow: 0 22px 50px rgb(0 0 0 / 36%);
}

.tile-art {
  position: absolute;
  top: 2px;
  left: 50%;
  width: 150px;
  transform: translateX(-50%);
  filter: drop-shadow(0 15px 14px rgb(0 0 0 / 48%));
  transition: transform 250ms ease;
}

.tile-card:hover .tile-art { transform: translateX(-50%) scale(1.06) rotate(-2deg); }
.tile-card h3 { margin-bottom: 10px; color: var(--bone); font-size: 1.35rem; }
.tile-card > p:last-child { margin-bottom: 0; font-size: 0.86rem; line-height: 1.6; }
.tile-card-skull { border-top-color: #756a59; }
.tile-card-sword { border-top-color: #6781a0; }
.tile-card-shield { border-top-color: #3c6792; }
.tile-card-potion { border-top-color: #822b24; }
.tile-card-gold { border-top-color: #a57b20; }

.run-section {
  overflow: hidden;
  background: linear-gradient(90deg, #080706 0%, transparent 35%, #080706 100%), radial-gradient(circle at 20% 55%, rgb(204 75 22 / 12%), transparent 34rem), #080706;
  border-top: 1px solid #211d18;
  border-bottom: 1px solid #211d18;
}

.run-layout { display: grid; align-items: center; grid-template-columns: 1.05fr 0.95fr; gap: 110px; }
.run-visual { min-height: 720px; }

.screen-stack {
  position: relative;
  width: min(100%, 560px);
  height: 720px;
  margin-inline: auto;
}

.screen-card {
  position: absolute;
  width: 310px;
  margin: 0;
  padding: 9px;
  border: 1px solid #5f533f;
  border-radius: 17px;
  background: linear-gradient(145deg, #34302a, #090807 42%, #201c17);
  box-shadow: 0 36px 70px rgb(0 0 0 / 62%);
}

.screen-card img { border-radius: 10px; }
.screen-card-back { top: 46px; right: 20px; transform: rotate(6deg); opacity: 0.72; }
.screen-card-front { z-index: 2; bottom: 34px; left: 12px; transform: rotate(-4deg); }
.run-copy > p:not(.eyebrow) { max-width: 530px; font-size: 1.04rem; }

.run-list {
  display: grid;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #37312a;
}

.run-list li {
  display: grid;
  padding: 18px 0;
  grid-template-columns: 42px 86px 1fr;
  align-items: baseline;
  border-bottom: 1px solid #29251f;
  color: var(--bone-muted);
  font-size: 0.9rem;
}

.run-list span { color: #6f6455; font-size: 0.65rem; font-weight: 800; }
.run-list strong { color: var(--gold-pale); font-family: Georgia, "Times New Roman", serif; font-size: 1.02rem; }

.progression {
  background: radial-gradient(circle at 50% 30%, rgb(81 64 35 / 16%), transparent 36rem), linear-gradient(180deg, #0e0d0b, #090807);
}

.section-heading-centered { margin-right: auto; margin-left: auto; text-align: center; }
.section-heading-centered .eyebrow { justify-content: center; }
.section-heading-centered .eyebrow span:last-child { transform: rotate(180deg); }
.section-heading-centered > p:last-child { margin-right: auto; margin-left: auto; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }

.stat-card {
  position: relative;
  display: block;
  min-height: 260px;
  padding: 176px 24px 24px;
  overflow: hidden;
  border: 1px solid #39342c;
  background: linear-gradient(150deg, #181612, #0c0b09 70%);
}

.stat-card::after {
  position: absolute;
  right: -40px;
  bottom: -80px;
  width: 180px;
  height: 180px;
  border: 1px solid rgb(215 162 59 / 10%);
  border-radius: 50%;
  content: "";
}

.stat-card img {
  position: absolute;
  top: 10px;
  right: 8px;
  width: 150px;
  filter: drop-shadow(0 14px 18px rgb(0 0 0 / 58%));
  transition: transform 250ms ease;
}

.stat-card:hover img { transform: translateY(-5px) scale(1.04); }
.stat-card div { position: relative; z-index: 2; }
.stat-card h3 { margin-bottom: 7px; font-size: 1.5rem; }
.stat-card span { color: #9f9585; font-size: 0.82rem; }

.level-panel {
  position: relative;
  display: grid;
  min-height: 540px;
  margin-top: 90px;
  padding: 74px 70px;
  overflow: hidden;
  align-items: center;
  grid-template-columns: 1fr minmax(260px, 0.62fr);
  gap: 70px;
  border: 1px solid #4b4031;
  background: linear-gradient(90deg, rgb(8 7 6 / 100%) 0%, rgb(12 10 8 / 92%) 51%, rgb(11 10 9 / 55%) 100%), url("assets/hero-dungeon.jpg") center 24% / cover;
  box-shadow: inset 0 0 0 6px rgb(0 0 0 / 30%), 0 35px 70px rgb(0 0 0 / 35%);
}

.level-panel::before, .level-panel::after {
  position: absolute;
  width: 42px;
  height: 42px;
  border-color: #9b783f;
  content: "";
}

.level-panel::before { top: 18px; left: 18px; border-top: 1px solid; border-left: 1px solid; }
.level-panel::after { right: 18px; bottom: 18px; border-right: 1px solid; border-bottom: 1px solid; }
.level-panel-copy { position: relative; z-index: 2; }
.level-panel-copy h3 { max-width: 570px; margin-bottom: 20px; font-size: clamp(2rem, 4vw, 3.7rem); line-height: 1.02; }
.level-panel-copy > p:last-child { max-width: 550px; margin-bottom: 0; }

.level-panel figure {
  position: absolute;
  top: 28px;
  right: 70px;
  width: 280px;
  margin: 0;
  transform: rotate(3deg);
  border: 1px solid #7c6745;
  border-radius: 15px;
  box-shadow: 0 24px 55px rgb(0 0 0 / 68%);
}

.level-panel figure img { border-radius: 14px; }

.final-callout {
  position: relative;
  overflow: hidden;
  padding: 76px 0;
  border-top: 1px solid #4f351e;
  border-bottom: 1px solid #392817;
  background: #0c0907;
}

.final-glow {
  position: absolute;
  top: 50%;
  left: 10%;
  width: 34rem;
  height: 34rem;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgb(221 84 23 / 22%), transparent 66%);
  filter: blur(18px);
}

.final-inner { position: relative; display: grid; align-items: center; grid-template-columns: 125px 1fr auto; gap: 40px; }

.final-icon {
  width: 125px;
  border-radius: 28px;
  box-shadow: 0 20px 45px rgb(0 0 0 / 55%), 0 0 38px rgb(233 101 32 / 16%);
}

.final-inner .eyebrow { margin-bottom: 10px; }
.final-inner h2 { margin-bottom: 8px; font-size: clamp(2rem, 4vw, 3.5rem); }
.final-inner p:last-child { margin-bottom: 0; }

footer { padding: 34px 0; background: #050505; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-inner p { display: flex; margin-bottom: 0; align-items: baseline; gap: 12px; }
.footer-inner strong { color: var(--bone); font-family: Georgia, "Times New Roman", serif; font-size: 1.15rem; letter-spacing: 0.06em; text-transform: uppercase; }
.footer-inner span, .footer-inner a { color: #756e62; font-size: 0.75rem; letter-spacing: 0.08em; text-decoration: none; text-transform: uppercase; }
.footer-inner a:hover, .footer-inner a:focus-visible { color: var(--gold-pale); }
:focus-visible { outline: 2px solid var(--gold-pale); outline-offset: 4px; }

@keyframes hover-frame {
  0%, 100% { transform: rotate(1.8deg) translateY(0); }
  50% { transform: rotate(0.4deg) translateY(-10px); }
}

@keyframes hover-sigil {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-12px) rotate(3deg); }
}

@keyframes ember-rise {
  0% { transform: translate3d(0, 0, 0) scale(0.6); opacity: 0; }
  15% { opacity: 0.9; }
  100% { transform: translate3d(45px, -850px, 0) scale(1.4); opacity: 0; }
}

@keyframes rise-in {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@media (max-width: 1040px) {
  nav a:not(.nav-cta) { display: none; }
  .hero-content { gap: 42px; grid-template-columns: minmax(0, 1fr) minmax(290px, 0.65fr); }
  .hero h1 { font-size: clamp(3.6rem, 6.4vw, 5.8rem); }
  .tile-grid { grid-template-columns: repeat(6, 1fr); }
  .tile-card { grid-column: span 2; }
  .tile-card:nth-child(4) { grid-column: 2 / span 2; }
  .run-layout { gap: 50px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  :root { --shell: min(100% - 28px, 620px); }
  h2 { font-size: clamp(2.25rem, 12vw, 3.4rem); }
  .site-header { min-height: 72px; }
  .brand { font-size: 0.9rem; }
  .brand img { width: 38px; height: 38px; }
  nav .nav-cta { padding: 9px 12px; font-size: 0.66rem; }
  .hero, .hero-content { min-height: 0; }
  .hero-backdrop { background-position: center 48%; }

  .hero::before {
    background: linear-gradient(180deg, rgb(5 5 5 / 42%) 0%, rgb(5 5 5 / 86%) 46%, #080706 100%), linear-gradient(90deg, rgb(5 5 5 / 54%), rgb(5 5 5 / 25%), rgb(5 5 5 / 60%));
  }

  .hero-content { padding-top: 126px; padding-bottom: 80px; grid-template-columns: 1fr; gap: 60px; }
  .hero-copy { text-align: center; }
  .hero-copy .eyebrow, .hero-actions { justify-content: center; }
  .hero h1 { font-size: clamp(2.95rem, 12.6vw, 4.2rem); line-height: 0.84; }
  .hero-intro { margin-right: auto; margin-left: auto; font-size: 0.98rem; }
  .hero-note { font-size: 0.67rem; }
  .hero-showcase { width: min(82%, 330px); }
  .sigil-skull { left: -20px; width: 82px; }
  .sigil-sword { right: -28px; bottom: calc(6% + 90px); width: 74px; }
  .depth-badge { right: -35px; width: 100px; height: 100px; }
  .section { padding: 90px 0; }
  .section-heading { margin-bottom: 44px; }
  .tile-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
  .tile-card, .tile-card:nth-child(4) { min-height: 270px; padding: 160px 18px 22px; grid-column: auto; }
  .tile-card:last-child { grid-column: 1 / -1; }
  .tile-art { width: 132px; }
  .run-layout { grid-template-columns: 1fr; gap: 60px; }
  .run-visual { min-height: 580px; }
  .screen-stack { height: 580px; }
  .screen-card { width: min(64vw, 260px); }
  .screen-card-back { right: 4%; }
  .screen-card-front { left: 4%; }
  .run-list li { grid-template-columns: 35px 78px 1fr; }

  .level-panel {
    min-height: 760px;
    padding: 52px 32px;
    align-items: start;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .level-panel .eyebrow { justify-content: center; }
  .level-panel figure { top: auto; right: 50%; bottom: -190px; width: 245px; transform: translateX(50%) rotate(2deg); }
  .final-inner { grid-template-columns: 92px 1fr; gap: 25px; }
  .final-icon { width: 92px; border-radius: 22px; }
  .final-inner .button { grid-column: 1 / -1; justify-self: center; }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 460px) {
  .brand span { display: none; }
  .hero h1 { font-size: clamp(2.9rem, 12.6vw, 3.8rem); }
  .hero-tagline { font-size: 1.28rem; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .button-primary { align-items: center; }
  .tile-grid, .stat-grid { grid-template-columns: 1fr; }
  .tile-card:last-child { grid-column: auto; }
  .stat-card { min-height: 220px; }
  .screen-stack { height: 520px; }
  .screen-card { width: 210px; }
  .run-list li { grid-template-columns: 32px 72px 1fr; font-size: 0.8rem; }
  .level-panel { min-height: 720px; padding-right: 22px; padding-left: 22px; }
  .final-inner { grid-template-columns: 1fr; text-align: center; }
  .final-icon { justify-self: center; }
  .final-inner .eyebrow { justify-content: center; }
  .footer-inner p { flex-direction: column; gap: 4px; }
}

@media (max-width: 340px) {
  .hero h1 {
    position: relative;
    left: 50%;
    width: max-content;
    max-width: none;
    transform: translateX(-50%);
    font-size: 2.72rem;
  }
  .sigil-sword { right: -9px; }
  .depth-badge { right: -4px; }
}

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