:root {
  --night: #080d11;
  --night-soft: #101a1b;
  --parchment: #e8dcc0;
  --parchment-muted: #b8aa8c;
  --gold: #caa65b;
  --gold-light: #ead394;
  --emerald: #65b896;
  --emerald-deep: #174b3e;
  --burgundy: #6d2734;
  --line: rgba(202, 166, 91, .34);
}

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

body {
  margin: 0;
  min-height: 100vh;
  color: var(--parchment);
  background: var(--night);
  font-family: Georgia, "Times New Roman", serif;
  overflow-x: hidden;
}

button, select { font: inherit; }
a { color: inherit; text-decoration: none; }

.world-background {
  position: absolute;
  z-index: -3;
  inset: 0 0 auto;
  height: 1040px;
  background: url("assets/realm-background.png") center top / cover no-repeat;
}

.world-overlay {
  position: absolute;
  z-index: -2;
  inset: 0 0 auto;
  height: 1120px;
  background:
    linear-gradient(90deg, rgba(5, 10, 12, .95) 0%, rgba(5, 10, 12, .72) 36%, rgba(5, 10, 12, .36) 67%, rgba(5, 10, 12, .6) 100%),
    linear-gradient(0deg, var(--night) 0%, transparent 44%),
    radial-gradient(circle at 70% 30%, transparent 0 18%, rgba(5, 10, 12, .18) 55%);
}

body::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: .15;
  background-image: radial-gradient(rgba(234, 211, 148, .75) .6px, transparent .7px);
  background-size: 7px 7px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}

.site-header {
  width: min(1460px, calc(100% - 80px));
  min-height: 118px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(202, 166, 91, .2);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--gold-light);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1;
}

.brand small {
  display: block;
  margin-bottom: 7px;
  color: var(--parchment-muted);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.brand-rune {
  width: 47px;
  height: 55px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  color: var(--gold-light);
  background: rgba(8, 13, 17, .62);
  font-size: 27px;
  clip-path: polygon(50% 0, 96% 22%, 90% 78%, 50% 100%, 10% 78%, 4% 22%);
  text-shadow: 0 0 13px rgba(234, 211, 148, .58);
}

nav { display: flex; align-items: center; gap: 43px; color: var(--parchment-muted); font-family: ui-sans-serif, system-ui, sans-serif; font-size: 12px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
nav a { transition: color 180ms ease; }
nav a:hover { color: var(--gold-light); }

.nav-seal {
  padding: 14px 22px;
  border: 1px solid var(--line);
  color: var(--gold-light);
  background: rgba(8, 13, 17, .45);
}

.hero {
  width: min(1460px, calc(100% - 80px));
  min-height: 820px;
  margin: 0 auto;
  padding: 70px 0 90px;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(560px, 1.1fr);
  gap: 78px;
  align-items: center;
}

.hero-copy { min-width: 0; }

.chapter-label {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 0 24px;
  color: var(--gold);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.chapter-label span { width: 32px; height: 1px; background: var(--gold); }

h1 {
  margin: 0;
  max-width: 750px;
  font-size: clamp(61px, 6.1vw, 94px);
  font-weight: 400;
  line-height: .92;
  letter-spacing: -.045em;
  text-wrap: balance;
}

h1 em { color: var(--gold-light); font-weight: 400; text-shadow: 0 4px 25px rgba(202, 166, 91, .16); }

.hero-intro {
  max-width: 610px;
  margin: 28px 0 31px;
  color: #c2b89f;
  font-size: 17px;
  line-height: 1.75;
}

.oracle-form {
  display: grid;
  grid-template-columns: 1.05fr 1.25fr .82fr;
  gap: 13px;
  padding: 19px;
  border: 1px solid var(--line);
  background: linear-gradient(130deg, rgba(8, 16, 17, .9), rgba(13, 24, 23, .76));
  box-shadow: 0 25px 60px rgba(0, 0, 0, .32), inset 0 0 40px rgba(101, 184, 150, .03);
  backdrop-filter: blur(16px);
}

.oracle-form label { min-width: 0; color: var(--gold); font-family: ui-sans-serif, system-ui, sans-serif; font-size: 9px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.select-shell { position: relative; display: block; margin-top: 9px; }

.select-shell select {
  width: 100%;
  height: 55px;
  appearance: none;
  border: 1px solid rgba(202, 166, 91, .38);
  border-radius: 0;
  padding: 0 38px 0 13px;
  outline: 0;
  color: var(--parchment);
  background: rgba(6, 12, 13, .82);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 13px;
  cursor: pointer;
}

.select-shell select:focus-visible { border-color: var(--gold-light); box-shadow: 0 0 0 2px rgba(234, 211, 148, .15); }
.select-shell::after { content: "▾"; position: absolute; right: 13px; top: 18px; color: var(--gold); pointer-events: none; }
.select-shell b { position: absolute; right: 30px; top: 15px; color: var(--emerald); font-family: Georgia, serif; font-size: 20px; pointer-events: none; }

.oracle-form button {
  grid-column: 1 / -1;
  min-height: 66px;
  margin-top: 4px;
  border: 1px solid var(--gold);
  color: #12100b;
  background: linear-gradient(105deg, #a98038, #dfc174 48%, #b48b42);
  box-shadow: 0 7px 25px rgba(202, 166, 91, .2), inset 0 1px rgba(255, 244, 205, .65);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  cursor: pointer;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  transition: filter 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.oracle-form button:hover:not(:disabled) { filter: brightness(1.1); transform: translateY(-2px); box-shadow: 0 11px 33px rgba(202, 166, 91, .28); }
.oracle-form button:disabled { cursor: wait; filter: saturate(.5); }
.button-rune { font-size: 11px; }
.form-note { margin: 10px 0 0; color: #756f61; font-family: ui-sans-serif, system-ui, sans-serif; font-size: 10px; text-align: center; }

.prophecy-card {
  position: relative;
  min-height: 725px;
  padding: 44px 45px 32px;
  border: 1px solid rgba(202, 166, 91, .58);
  background:
    linear-gradient(rgba(12, 24, 23, .93), rgba(7, 14, 15, .96)),
    radial-gradient(circle at 82% 15%, rgba(101, 184, 150, .15), transparent 18rem);
  box-shadow: 0 35px 90px rgba(0, 0, 0, .55), inset 0 0 0 5px rgba(6, 12, 13, .82), inset 0 0 0 6px rgba(202, 166, 91, .16), inset 0 0 70px rgba(101, 184, 150, .04);
  overflow: hidden;
  transition: opacity 280ms ease, transform 280ms ease, filter 280ms ease;
}

.prophecy-card::before,
.prophecy-card::after {
  content: "";
  position: absolute;
  width: 115px;
  height: 115px;
  opacity: .24;
  border-color: var(--gold);
  pointer-events: none;
}

.prophecy-card::before { top: 13px; left: 13px; border-top: 1px solid; border-left: 1px solid; }
.prophecy-card::after { right: 13px; bottom: 13px; border-right: 1px solid; border-bottom: 1px solid; }
.prophecy-card.is-reading { opacity: .48; transform: scale(.985); filter: blur(1px); }

.card-ornament { position: absolute; left: 50%; width: 180px; height: 17px; transform: translateX(-50%); display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 9px; }
.card-ornament::before, .card-ornament::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.card-ornament::after { background: linear-gradient(90deg, var(--gold), transparent); }
.card-ornament span { margin: 0 10px; }
.top-ornament { top: 17px; }
.bottom-ornament { bottom: 16px; }

.prophecy-header { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.prophecy-header p { margin: 0; color: var(--gold-light); font-family: ui-sans-serif, system-ui, sans-serif; font-size: 9px; font-weight: 800; letter-spacing: .19em; text-transform: uppercase; }
.prophecy-header > span { color: #776b55; font-family: ui-monospace, Consolas, monospace; font-size: 9px; letter-spacing: .08em; }

.identity-line { display: flex; align-items: center; gap: 15px; margin: 23px 0 22px; }
.identity-glyph { width: 45px; height: 45px; display: grid; place-items: center; border: 1px solid rgba(101, 184, 150, .48); border-radius: 50%; color: var(--emerald); background: rgba(23, 75, 62, .18); font-size: 24px; box-shadow: 0 0 20px rgba(101, 184, 150, .1); }
.identity-line p { margin: 0; }
.identity-line strong { display: block; color: var(--gold-light); font-size: 17px; font-weight: 400; }
.identity-line p span { display: block; margin-top: 4px; color: var(--parchment-muted); font-family: ui-sans-serif, system-ui, sans-serif; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }

.section-kicker {
  display: block;
  margin-bottom: 9px;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.real-world-block {
  margin-bottom: 15px;
  padding: 18px 20px 19px;
  border-left: 2px solid var(--gold);
  background: linear-gradient(90deg, rgba(202, 166, 91, .09), rgba(202, 166, 91, .015));
}

.real-world-block .section-kicker { color: var(--gold); }

.prophecy-card h2 {
  max-width: 690px;
  margin: 0 0 12px;
  color: #f1e8d4;
  font-size: clamp(31px, 2.75vw, 45px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.prophecy-text { margin: 0; color: #c8bda6; font-size: 14px; line-height: 1.65; }

.fantasy-translation {
  margin-bottom: 20px;
  padding: 18px 20px 19px;
  border-left: 2px solid var(--emerald);
  background: linear-gradient(90deg, rgba(23, 75, 62, .22), rgba(23, 75, 62, .025));
}

.fantasy-translation .section-kicker { color: var(--emerald); }
.fantasy-translation h3 { margin: 0 0 10px; color: #dce8dc; font-size: 24px; font-weight: 400; line-height: 1.12; }
.fantasy-translation p { margin: 0; color: #aebdaf; font-size: 13px; line-height: 1.62; }

.quest-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.quest-grid > div { min-height: 77px; padding: 15px 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(5, 13, 13, .3); }
.quest-grid small, .omen-bar small { display: block; margin-bottom: 7px; color: var(--gold); font-family: ui-sans-serif, system-ui, sans-serif; font-size: 8px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.quest-grid strong { display: block; color: #e1d6bd; font-size: 13px; font-weight: 400; line-height: 1.35; }

blockquote { margin: 19px 0; padding: 14px 18px 14px 21px; border-left: 2px solid var(--emerald); background: linear-gradient(90deg, rgba(23, 75, 62, .18), transparent); }
blockquote span { color: var(--emerald); font-family: ui-sans-serif, system-ui, sans-serif; font-size: 8px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
blockquote p { margin: 6px 0 0; color: #d8ceb8; font-size: 13px; font-style: italic; line-height: 1.5; }

.omen-bar { display: grid; grid-template-columns: 1fr 1px 1fr 1px 1fr; align-items: center; margin: 0 0 18px; padding: 12px 0; border-top: 1px solid rgba(202, 166, 91, .17); border-bottom: 1px solid rgba(202, 166, 91, .17); text-align: center; }
.omen-bar i { width: 1px; height: 34px; background: rgba(202, 166, 91, .24); }
.omen-bar strong { color: var(--parchment); font-size: 12px; font-weight: 400; }

.copy-button { width: 100%; height: 51px; border: 1px solid rgba(202, 166, 91, .48); color: var(--gold-light); background: rgba(5, 12, 12, .56); display: flex; align-items: center; justify-content: center; gap: 11px; cursor: pointer; font-family: ui-sans-serif, system-ui, sans-serif; font-size: 10px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; transition: background 180ms ease, border-color 180ms ease; }
.copy-button:hover { border-color: var(--gold); background: rgba(202, 166, 91, .08); }
.copy-button > span:first-child { color: var(--emerald); font-size: 18px; }
.oracle-form button:focus-visible, .copy-button:focus-visible, nav a:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }

.is-hidden { display: none !important; }

.ritual-card {
  min-height: 735px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ritual-stage { position: relative; z-index: 1; }
.stage-number { margin: 0 0 25px; color: var(--gold); font-family: ui-sans-serif, system-ui, sans-serif; font-size: 9px; font-weight: 800; letter-spacing: .2em; text-align: center; text-transform: uppercase; }

.deck-stage { max-width: 540px; margin: 0 auto; text-align: center; }
.deck-stage h2 { max-width: none; margin: 35px 0 15px; font-size: clamp(37px, 3.5vw, 54px); }
.deck-stage > p:last-child { margin: 0 auto; max-width: 480px; color: var(--parchment-muted); font-size: 14px; line-height: 1.7; }

.deck-visual { position: relative; width: 210px; height: 280px; margin: 0 auto; perspective: 900px; }
.card-back, .ghost-card { position: absolute; width: 165px; height: 245px; border: 1px solid rgba(202, 166, 91, .62); background: #0b1717; }
.ghost-card { left: 24px; top: 17px; opacity: .36; }
.ghost-one { transform: rotate(-7deg) translate(-13px, 4px); }
.ghost-two { transform: rotate(7deg) translate(13px, 4px); }
.card-back { left: 23px; top: 13px; display: grid; place-items: center; box-shadow: 0 24px 55px rgba(0,0,0,.48), inset 0 0 0 7px #081010, inset 0 0 0 8px rgba(202,166,91,.34), inset 0 0 45px rgba(101,184,150,.08); animation: card-breathe 4s ease-in-out infinite; }
.card-back::before, .card-back::after { content: ""; position: absolute; inset: 16px; border: 1px solid rgba(202,166,91,.28); transform: rotate(45deg) scale(.57); }
.card-back::after { transform: rotate(45deg) scale(.36); }
.card-back i { position: relative; z-index: 1; color: var(--gold-light); font-size: 48px; font-style: normal; text-shadow: 0 0 24px rgba(234,211,148,.4); }
.card-back > span { position: absolute; bottom: 24px; color: var(--emerald); font-size: 10px; }

.question-stage .prophecy-header { margin-bottom: 24px; }
.revealed-card { display: grid; grid-template-columns: 105px 1fr; gap: 24px; align-items: center; margin-bottom: 28px; }
.mini-card { width: 100px; height: 146px; display: grid; place-items: center; border: 1px solid rgba(202,166,91,.62); color: var(--gold-light); background: linear-gradient(145deg, #142620, #081111); box-shadow: inset 0 0 0 5px #081010, inset 0 0 0 6px rgba(202,166,91,.25), 0 17px 35px rgba(0,0,0,.3); }
.mini-card span { font-size: 39px; text-shadow: 0 0 20px rgba(234,211,148,.34); }
.revealed-card small { color: var(--emerald); font-family: ui-sans-serif, system-ui, sans-serif; font-size: 8px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.revealed-card h2 { max-width: none; margin: 8px 0 7px; font-size: clamp(34px, 3.2vw, 49px); }
.revealed-card p { margin: 0; color: var(--parchment-muted); font-size: 13px; }

.oracle-question { margin: 0 0 17px; padding: 18px 21px; border-left: 2px solid var(--emerald); background: linear-gradient(90deg, rgba(23,75,62,.22), transparent); }
.oracle-question > span { color: var(--emerald); font-family: ui-sans-serif, system-ui, sans-serif; font-size: 8px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.oracle-question h3 { margin: 8px 0 0; color: #e7dfce; font-size: 19px; font-weight: 400; line-height: 1.4; }

.answer-list { display: grid; gap: 9px; }
.answer-option { width: 100%; min-height: 62px; padding: 13px 17px; border: 1px solid rgba(202,166,91,.27); color: var(--parchment); background: rgba(5,12,12,.55); display: grid; grid-template-columns: minmax(160px, .8fr) 1.2fr; gap: 18px; align-items: center; text-align: left; cursor: pointer; transition: border-color 160ms ease, background 160ms ease, transform 160ms ease; }
.answer-option:hover { border-color: var(--gold); background: rgba(202,166,91,.08); transform: translateX(3px); }
.answer-option:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 2px; }
.answer-option strong { color: var(--gold-light); font-size: 14px; font-weight: 400; }
.answer-option span { color: #8e8779; font-family: ui-sans-serif, system-ui, sans-serif; font-size: 11px; line-height: 1.35; }
.answer-note { margin: 14px 0 0; color: #6e685d; font-family: ui-sans-serif, system-ui, sans-serif; font-size: 9px; text-align: center; }

.result-stage .identity-line { margin-top: 22px; }
.drawn-card-name { margin-left: auto; max-width: 155px; color: var(--gold); font-family: ui-sans-serif, system-ui, sans-serif; font-size: 9px; font-weight: 750; letter-spacing: .11em; text-align: right; text-transform: uppercase; }
.result-stage > h2 { max-width: 700px; margin: 25px 0 17px; font-size: clamp(34px, 3.25vw, 50px); }
.prophecy-narrative { margin-bottom: 21px; }
.prophecy-narrative p { margin: 0 0 11px; color: #beb49f; font-size: 13px; line-height: 1.62; }
.prophecy-narrative p:first-child { color: #d9cfba; }
.result-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.result-actions .draw-again-button { grid-column: 1 / -1; min-height: 42px; }
.engrave-button > span:first-child { color: var(--gold-light); }
.draw-again-button { border: 1px solid rgba(101,184,150,.38); color: var(--emerald); background: rgba(23,75,62,.11); cursor: pointer; font-family: ui-sans-serif, system-ui, sans-serif; font-size: 9px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; transition: background 180ms ease, border-color 180ms ease; }
.draw-again-button:hover { border-color: var(--emerald); background: rgba(23,75,62,.22); }
.draw-again-button:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 2px; }

@keyframes card-breathe {
  0%, 100% { transform: translateY(0) rotateY(-2deg); box-shadow: 0 24px 55px rgba(0,0,0,.48), inset 0 0 0 7px #081010, inset 0 0 0 8px rgba(202,166,91,.34), inset 0 0 45px rgba(101,184,150,.08); }
  50% { transform: translateY(-7px) rotateY(2deg); box-shadow: 0 31px 68px rgba(0,0,0,.54), 0 0 25px rgba(101,184,150,.09), inset 0 0 0 7px #081010, inset 0 0 0 8px rgba(202,166,91,.4), inset 0 0 55px rgba(101,184,150,.11); }
}

.lore-section { width: min(1220px, calc(100% - 80px)); margin: 0 auto; padding: 125px 0 140px; }
.lore-heading { max-width: 790px; margin: 0 auto 61px; text-align: center; }
.lore-heading .chapter-label { justify-content: center; }
.lore-heading h2 { margin: 0 0 22px; color: #eee3cc; font-size: clamp(44px, 5vw, 73px); font-weight: 400; line-height: 1; letter-spacing: -.045em; }
.lore-heading > p:last-child { max-width: 670px; margin: 0 auto; color: #8f8879; font-size: 15px; line-height: 1.7; }
.lore-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lore-cards article { min-height: 248px; padding: 29px; border: 1px solid rgba(202, 166, 91, .18); background: linear-gradient(145deg, rgba(16, 29, 28, .72), rgba(7, 13, 14, .85)); }
.lore-cards article > span { color: var(--gold); font-size: 30px; filter: grayscale(.5); }
.lore-cards h3 { margin: 44px 0 12px; color: #dfd3bc; font-size: 22px; font-weight: 400; }
.lore-cards p { margin: 0; color: #8f8879; font-family: ui-sans-serif, system-ui, sans-serif; font-size: 12px; line-height: 1.7; }

.realm-strip { width: calc(100% + 20px); margin-left: -10px; padding: 15px 25px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: #948362; background: #0c1515; display: flex; align-items: center; justify-content: center; gap: 24px; font-family: ui-sans-serif, system-ui, sans-serif; font-size: 9px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; transform: rotate(-.3deg); }
.realm-strip i { color: var(--gold); font-style: normal; font-size: 6px; }

footer { width: min(1220px, calc(100% - 80px)); margin: 0 auto; padding: 72px 0 44px; display: grid; grid-template-columns: 1fr 1.4fr .8fr; gap: 45px; align-items: end; color: #645f54; font-family: ui-sans-serif, system-ui, sans-serif; font-size: 10px; line-height: 1.6; }
.footer-brand { font-family: Georgia, serif; font-size: 14px; }
.footer-brand .brand-rune { width: 34px; height: 40px; font-size: 19px; }
footer p { margin: 0; }
footer > span { color: #81765f; text-align: right; text-transform: uppercase; letter-spacing: .11em; }
.footer-studio { margin-top: 11px; color: #7c745f; }
footer a { color: #a08f6a; text-decoration: none; border-bottom: 1px solid rgba(160,143,106,.35); transition: color .2s, border-color .2s; }
footer a:hover { color: #cbb583; border-color: rgba(203,181,131,.6); }

@media (max-width: 1180px) {
  .hero { grid-template-columns: 1fr 1.05fr; gap: 38px; }
  h1 { font-size: clamp(58px, 6.7vw, 79px); }
  .prophecy-card { padding: 40px 32px 31px; }
  .oracle-form { grid-template-columns: 1fr 1fr; }
  .oracle-form label:last-of-type { grid-column: 1 / -1; }
}

@media (max-width: 920px) {
  .world-background { height: 980px; background-position: 68% top; }
  .world-overlay { height: 1050px; background: linear-gradient(90deg, rgba(5,10,12,.9), rgba(5,10,12,.48)), linear-gradient(0deg, var(--night), transparent 55%); }
  .site-header, .hero, .lore-section, footer { width: min(100% - 40px, 740px); }
  nav a:not(.nav-seal) { display: none; }
  .hero { min-height: 0; padding-top: 70px; grid-template-columns: 1fr; gap: 70px; }
  .hero-copy { text-align: center; }
  .chapter-label { justify-content: center; }
  .hero-intro { margin-left: auto; margin-right: auto; }
  h1 { font-size: clamp(59px, 10vw, 82px); }
  .lore-cards { grid-template-columns: 1fr; }
  .lore-cards article { min-height: 0; }
  .realm-strip { justify-content: flex-start; overflow: hidden; white-space: nowrap; }
  footer { grid-template-columns: 1fr; }
  footer > span { text-align: left; }
}

@media (max-width: 600px) {
  .site-header { min-height: 90px; }
  .brand { font-size: 15px; }
  .brand-rune { width: 39px; height: 46px; font-size: 23px; }
  .nav-seal { padding: 11px 12px; font-size: 9px; }
  .hero { padding-top: 50px; }
  h1 { font-size: clamp(48px, 14vw, 68px); }
  .hero-intro { font-size: 15px; }
  .oracle-form { grid-template-columns: 1fr; }
  .oracle-form label:last-of-type { grid-column: auto; }
  .prophecy-card { padding: 38px 21px 28px; }
  .prophecy-header > span { display: none; }
  .prophecy-card h2 { font-size: 39px; }
  .prophecy-text { font-size: 14px; }
  .deck-stage h2 { font-size: 39px; }
  .deck-visual { transform: scale(.88); margin-top: -10px; margin-bottom: -15px; }
  .revealed-card { grid-template-columns: 74px 1fr; gap: 15px; }
  .mini-card { width: 70px; height: 103px; }
  .mini-card span { font-size: 28px; }
  .revealed-card h2 { font-size: 32px; }
  .oracle-question { padding: 15px; }
  .oracle-question h3 { font-size: 17px; }
  .answer-option { grid-template-columns: 1fr; gap: 4px; }
  .drawn-card-name { display: none; }
  .result-stage > h2 { font-size: 36px; }
  .result-actions { grid-template-columns: 1fr; }
  .draw-again-button { min-height: 48px; }
  .quest-grid { grid-template-columns: 1fr; }
  .omen-bar { grid-template-columns: 1fr; gap: 13px; }
  .omen-bar i { width: 100%; height: 1px; }
  .lore-section { padding: 100px 0; }
  footer { padding-top: 55px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
