/* Hall of Raziel™ homepage (staged). Page skin only — header/footer live in site-chrome.css */
:root {
  --cream: #fbf8f2;
  --cream-deep: #f3ebe0;
  --white: #fffcf7;
  --sky: #d4e4f2;
  --sky-soft: #e8f1f8;
  --gold: #c9a04a;
  --gold-soft: #e8d5a3;
  --gold-glow: rgba(201, 160, 74, 0.35);
  --rose: #e8cfc4;
  --ink: #3a342c;
  --ink-soft: #5c5348;
  --muted: #7a7166;
  --serif: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --max: 68rem;
  --radius: 1.25rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .glory-pulse { animation: none !important; opacity: 0.55; }
  .float-stack .fs, .fs-glow { animation: none !important; }
}
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, var(--gold-soft) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 20%, var(--sky) 0%, transparent 50%),
    radial-gradient(ellipse 50% 35% at 10% 60%, var(--rose) 0%, transparent 45%),
    var(--cream);
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--white);
  color: var(--ink);
  padding: 0.75rem 1rem;
  z-index: 100;
}
.skip:focus { left: 1rem; top: 1rem; }
.wrap { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.glory-pulse {
  position: absolute;
  inset: 8% 12%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-glow) 0%, rgba(232, 213, 163, 0.25) 35%, transparent 70%);
  animation: pulse-glory 6s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
@keyframes pulse-glory {
  0%, 100% { opacity: 0.45; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.06); }
}
.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  padding: 2rem 0 3rem;
}
@media (min-width: 840px) {
  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    padding: 3rem 0 4rem;
  }
}
.hero-copy h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}
.hero-copy .lede {
  font-size: 1.2rem;
  color: var(--ink-soft);
  max-width: 38ch;
  margin: 0 0 1.75rem;
}
.hero-art { position: relative; display: flex; justify-content: center; align-items: center; }
.section-label {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.5rem;
}
h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  line-height: 1.2;
  margin: 0 0 1.25rem;
}
h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.35rem;
  margin: 0 0 0.5rem;
}
p { margin: 0 0 1rem; color: var(--ink-soft); }
p:last-child { margin-bottom: 0; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: none;
  text-decoration: none;
  background: linear-gradient(145deg, #d4ae5a, var(--gold));
  color: #2a2418;
  box-shadow: 0 4px 16px var(--gold-glow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 22px var(--gold-glow); }
.btn-ghost {
  background: transparent;
  color: var(--ink-soft);
  box-shadow: none;
  border: 1.5px solid var(--gold-soft);
}
.btn-ghost:hover { background: var(--cream-deep); box-shadow: none; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.float-stack { position: relative; width: min(100%, 26rem); aspect-ratio: 1 / 0.8; margin: 0 auto 1.25rem; }
.float-stack .fs { position: absolute; height: auto; filter: drop-shadow(0 6px 14px rgba(58, 52, 44, 0.14)); will-change: transform; animation: fs-bob 6s ease-in-out infinite; }
.fs-glow { position: absolute; left: 50%; top: 52%; width: 70%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, var(--gold-glow) 0%, rgba(232, 213, 163, 0.22) 40%, transparent 70%); animation: fs-glow 7s ease-in-out infinite; }
.fs-raziel { width: 52%; left: 24%; top: 10%; z-index: 3; animation-duration: 8s; }
.fs-back { z-index: 1; opacity: 0.85; filter: blur(0.6px) drop-shadow(0 4px 10px rgba(58, 52, 44, 0.1)); }
.fs-head { width: 13%; left: 44%; top: 0; animation-duration: 5.2s; animation-delay: -1.3s; }
.fs-up { width: 24%; left: 4%; top: 2%; animation-duration: 6.8s; animation-delay: -2.1s; --dx: 6px; }
.fs-right { width: 26%; left: 0; top: 50%; z-index: 4; animation-duration: 5.6s; animation-delay: -0.7s; --dx: 8px; }
.fs-left { width: 27%; right: 0; top: 46%; z-index: 4; animation-duration: 6.2s; animation-delay: -3.4s; --dx: -8px; }
.fs-raised { width: 19%; right: 6%; top: 0; z-index: 2; opacity: 0.92; animation-duration: 7.4s; animation-delay: -4.2s; --dx: -5px; }
@keyframes fs-bob { 0%, 100% { transform: translate(0, 0) rotate(0deg); } 50% { transform: translate(var(--dx, 0), -12px) rotate(1.2deg); } }
@keyframes fs-glow { 0%, 100% { opacity: 0.7; } 50% { opacity: 1; } }
.float-stack--hero { width: min(100%, 30rem); margin: 0 auto; z-index: 1; }
@media (max-width: 480px) { .float-stack { width: 100%; } }
.soft-rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-soft), transparent);
  border: none;
  margin: 0;
}
section.doors, section.lore { padding: 3.5rem 0; }
.doors-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
}
@media (min-width: 800px) {
  .doors-grid { grid-template-columns: repeat(3, 1fr); }
}
.door {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid rgba(201, 160, 74, 0.18);
  box-shadow: 0 2px 20px rgba(58, 52, 44, 0.05);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 100%;
}
.door:hover { border-color: var(--gold); box-shadow: 0 6px 24px var(--gold-glow); }
.door img { width: 88px; margin-bottom: 0.4rem; filter: drop-shadow(0 4px 12px rgba(58, 52, 44, 0.1)); }
.door h3 { margin: 0; }
.door p { font-size: 0.98rem; }
.door .go { margin-top: auto; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #8a6a24; }
.lore-layout {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 900px) {
  .lore-layout { grid-template-columns: minmax(0, 1fr) 15rem; align-items: start; }
}
.lore-col { display: grid; gap: 1.5rem; }
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 2px 20px rgba(58, 52, 44, 0.05);
  border: 1px solid rgba(201, 160, 74, 0.15);
}
.quote {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  border-left: 3px solid var(--gold);
  box-shadow: 0 2px 12px rgba(58, 52, 44, 0.04);
  margin: 1rem 0 0;
}
.quote blockquote {
  margin: 0 0 0.75rem;
  font-family: var(--serif);
  font-size: 1.12rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--ink);
}
.quote cite {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-style: normal;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
  display: block;
}
.fine { font-size: 0.88rem; color: var(--muted); }
.cherub-help {
  position: sticky;
  top: 5rem;
  background: linear-gradient(160deg, #fffaf0, #f3e6c6);
  border: 1px solid var(--gold);
  border-radius: 18px;
  padding: 1rem 1.1rem 1.1rem;
  box-shadow: 0 14px 30px -12px rgba(58, 52, 44, 0.35);
}
.cherub-help img { width: 92px; margin: 0 auto 0.5rem; filter: drop-shadow(0 4px 10px rgba(58, 52, 44, 0.12)); }
.cherub-help .k { font-family: "Pirata One", var(--serif); font-size: 1.15rem; line-height: 1.1; margin: 0 0 0.35rem; }
.cherub-help p { font-size: 0.9rem; margin: 0; }
@media (max-width: 899px) {
  .cherub-help {
    position: relative;
    top: auto;
    display: flex;
    gap: 0.85rem;
    align-items: center;
  }
  .cherub-help img { width: 72px; margin: 0; }
}
.sources { margin: 1rem 0 0; padding-left: 1.15rem; color: var(--ink-soft); }
.sources li { margin: 0.35rem 0; }
.note-box {
  margin-top: 1rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
  background: var(--sky-soft);
  border-radius: 0.85rem;
  padding: 1rem 1.1rem;
}
sup.tm { font-family: Georgia, serif; font-size: .42em; vertical-align: super; line-height: 0; margin-left: .08em; font-weight: 400; }
main h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(2.2rem, 5vw, 3.2rem); line-height: 1.15; margin: 0 0 1rem; }
article.lore { padding: 2.5rem 0 3.5rem; }
