/* ═════════════════════════════════════════════════════════
   House Rroga — 26 May 2026 · v5 (GoT midnight palette)
   ═════════════════════════════════════════════════════════ */

:root {
  /* Midnight — primary stage colour */
  --night-0:   #050810;
  --night-1:   #0a0e1a;
  --night-2:   #121828;
  --night-3:   #1a2238;
  --night-4:   #232c44;
  --night-5:   #2a3450;

  /* Steel / pewter for body text */
  --steel-0:   #dee4ee;
  --steel-1:   #b4bccc;
  --steel-2:   #8c95a8;
  --steel-3:   #6c7484;
  --steel-4:   #4a5260;

  /* Smoke (atmospheric blue-gray, in between night and steel) */
  --smoke-0:   #5a6478;
  --smoke-1:   #3a4458;
  --smoke-2:   #1f2838;

  /* Muted antique gold — not bright, candle-lit */
  --gold-0:   #e6c878;
  --gold-1:   #c8a868;
  --gold-2:   #9c8042;
  --gold-3:   #6c5828;
  --gold-4:   #3a3010;

  /* House Rroga heraldic — burgundy, used sparingly */
  --burg-0:   #b03844;
  --burg-1:   #8a2a2f;
  --burg-2:   #6b1f24;
  --burg-3:   #4a0e15;
  --burg-4:   #2a060a;

  /* Wax */
  --wax-hi:   #c83040;
  --wax-md:   #8e1c28;
  --wax-lo:   #3a0610;

  /* Forest (living tincture — laurel, vine) */
  --forest-0: #6b8a4e;
  --forest-1: #4a6b3a;
  --forest-2: #2e4422;
  --forest-3: #1a2a13;

  /* Parchment (used only inside sigil/wheel inner fields — small "moons" of light) */
  --parch-0:  #f0e2bd;
  --parch-1:  #e6d29a;
  --parch-2:  #d4ba70;

  /* Fonts */
  --ff-decor:   'Cinzel Decorative', 'Cinzel', Georgia, serif;
  --ff-display: 'Cinzel', 'Cormorant Garamond', Georgia, serif;
  --ff-fell:    'IM Fell English', 'Cormorant Garamond', Georgia, serif;
  --ff-fellsc:  'IM Fell English SC', 'Cinzel', Georgia, serif;
  --ff-body:    'IM Fell English', 'Cormorant Garamond', Georgia, serif;
  --ff-prose:   'Cormorant Garamond', Georgia, serif;
  --ff-sc:      'Cormorant SC', 'Cinzel', Georgia, serif;
  --ff-tan:     'Tangerine', 'Italianno', cursive;

  --ease:       cubic-bezier(0.16, 1, 0.3, 1);
  --ease-ink:   cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--ff-body);
  color: var(--steel-1);
  font-size: 19px;
  line-height: 1.72;
  letter-spacing: 0.005em;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  background:
    /* atmospheric haze top-center */
    radial-gradient(ellipse 70% 40% at 50% 12%, rgba(74, 96, 130, 0.28) 0%, transparent 70%),
    /* subtle warm rim at the bottom — fire/blood distance */
    radial-gradient(ellipse 55% 35% at 50% 92%, rgba(110, 35, 45, 0.14) 0%, transparent 75%),
    /* corner blue mists */
    radial-gradient(ellipse 26% 30% at 0% 25%, rgba(50, 70, 100, 0.16) 0%, transparent 70%),
    radial-gradient(ellipse 26% 30% at 100% 75%, rgba(50, 70, 100, 0.16) 0%, transparent 70%),
    /* base midnight gradient */
    linear-gradient(180deg, #1a2238 0%, #12182a 35%, #0a0e1a 72%, #050810 100%);
  background-attachment: fixed;
}

body.locked { overflow: hidden; height: 100vh; }

::selection { background: var(--gold-2); color: var(--night-0); }

/* ── Ambient layers — fog, grain, vignette ──────────────── */
.paper-grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='420' viewBox='0 0 420 420'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.55  0 0 0 0 0.62  0 0 0 0 0.72  0 0 0 0.6 0'/%3E%3C/filter%3E%3Crect width='420' height='420' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.10;
  mix-blend-mode: overlay;
}
.paper-stain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  opacity: 0.18;
  background-image:
    radial-gradient(ellipse 200px 80px at 22% 18%, rgba(90, 110, 140, 0.45) 0%, transparent 70%),
    radial-gradient(ellipse 240px 100px at 78% 30%, rgba(60, 90, 130, 0.35) 0%, transparent 70%),
    radial-gradient(ellipse 180px 80px at 15% 75%, rgba(80, 100, 130, 0.4) 0%, transparent 70%),
    radial-gradient(ellipse 220px 100px at 85% 85%, rgba(70, 95, 125, 0.35) 0%, transparent 70%);
}
.paper-vignette {
  position: fixed; inset: 0; z-index: 2; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 70% at 50% 50%, transparent 0%, transparent 55%, rgba(0,0,0,0.30) 90%, rgba(0,0,0,0.55) 100%);
}

.gold-motes { position: fixed; inset: 0; z-index: 3; pointer-events: none; }

/* ── Layout ─────────────────────────────────────────────── */
main { position: relative; z-index: 5; }
.container {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 32px;
}
.container--narrow { max-width: 720px; }

/* ════ HERO — invitation card on midnight ═════════════════ */
.hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 48px 24px 80px;
  position: relative;
}

.invitation {
  position: relative;
  max-width: 700px;
  width: 100%;
  padding: 60px 56px 56px;
  text-align: center;
  background:
    radial-gradient(ellipse 80% 70% at 50% 35%, rgba(60, 80, 110, 0.35) 0%, transparent 75%),
    radial-gradient(ellipse 110% 110% at 50% 50%, var(--night-3) 0%, var(--night-2) 65%, var(--night-1) 100%);
  border-radius: 2px;
  box-shadow:
    0 40px 80px -16px rgba(0, 0, 0, 0.7),
    inset 0 0 80px rgba(50, 70, 110, 0.15);
  opacity: 0;
  animation: fadeUp 1.6s var(--ease) 0.3s forwards;
}

/* Double-line gold border + corner ornaments */
.invitation__frame {
  position: absolute; inset: 12px;
  pointer-events: none;
  border: 1px solid var(--gold-2);
}
.invitation__frame::before {
  content: "";
  position: absolute; inset: 8px;
  border: 1px solid var(--gold-3);
  opacity: 0.7;
}
.frame-corner {
  position: absolute;
  width: 36px; height: 36px;
  border: 1px solid var(--gold-2);
}
.frame-corner--tl { top: -8px; left: -8px;     border-right: 0; border-bottom: 0; }
.frame-corner--tr { top: -8px; right: -8px;    border-left: 0;  border-bottom: 0; }
.frame-corner--bl { bottom: -8px; left: -8px;  border-right: 0; border-top: 0; }
.frame-corner--br { bottom: -8px; right: -8px; border-left: 0;  border-top: 0; }
.frame-corner::before {
  content: "✦";
  position: absolute;
  color: var(--gold-1);
  font-size: 12px;
  background:
    radial-gradient(circle at center, var(--night-2) 0%, var(--night-2) 40%, transparent 70%);
  padding: 0 4px;
}
.frame-corner--tl::before { bottom: -7px; right: -7px; }
.frame-corner--tr::before { bottom: -7px; left: -7px; }
.frame-corner--bl::before { top: -7px; right: -7px; }
.frame-corner--br::before { top: -7px; left: -7px; }

.invitation__inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center;
}

.invitation__eyebrow {
  font-family: var(--ff-fellsc);
  font-size: 12px;
  letter-spacing: 0.48em;
  text-transform: uppercase;
  color: var(--gold-1);
  display: inline-flex; align-items: center; gap: 14px;
  margin-bottom: 22px;
}
.eyebrow-dot {
  display: inline-block;
  width: 5px; height: 5px;
  background: var(--gold-2);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Sigil — heraldic medallion (gold filigree on midnight, parchment moon at center) */
.sigil {
  width: min(360px, 76vw);
  aspect-ratio: 1 / 1.2;     /* allow for crown above */
  margin: 0 auto 26px;
  filter:
    drop-shadow(0 18px 36px rgba(0,0,0,0.7))
    drop-shadow(0 0 40px rgba(199, 168, 104, 0.18));
}
.sigil-svg { width: 100%; height: 100%; }

/* Invitation copy */
.invite-prelude {
  font-family: var(--ff-tan);
  font-size: 38px;
  line-height: 1;
  color: var(--steel-2);
  margin-bottom: 4px;
}
.invite-prelude em { font-style: italic; color: var(--gold-1); }

.invite-name {
  display: flex; flex-direction: column; align-items: center;
  gap: 2px;
  margin: 4px 0 14px;
}
.invite-name__line {
  font-family: var(--ff-fellsc);
  font-size: 13px;
  letter-spacing: 0.44em;
  text-transform: uppercase;
  color: var(--gold-1);
}
.invite-name__display {
  font-family: var(--ff-decor);
  font-weight: 900;
  font-size: clamp(48px, 9vw, 84px);
  letter-spacing: 0.1em;
  line-height: 1;
  background: linear-gradient(180deg, #f0d896 0%, #c8a868 45%, #6c5828 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 12px rgba(199, 168, 104, 0.25));
}

.invite-line {
  font-family: var(--ff-fellsc);
  font-size: 12px;
  letter-spacing: 0.46em;
  text-transform: uppercase;
  color: var(--steel-2);
  margin: 4px 0 22px;
  display: inline-flex; align-items: center; gap: 14px;
}
.invite-line em { color: var(--gold-1); font-style: italic; letter-spacing: 0.1em; text-transform: none; font-family: var(--ff-fell); font-size: 15px; }
.invite-line::before, .invite-line::after {
  content: "";
  display: inline-block;
  width: 26px; height: 1px;
  background: var(--gold-3);
}

/* Flourish */
.invite-flourish {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  max-width: 320px; margin: 6px auto 16px;
  color: var(--gold-2);
}
.flourish-line { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-2), transparent); }
.flourish-mark { width: 60px; height: 28px; }

/* Wax seal */
.wax-seal {
  position: relative;
  width: 110px; height: 110px;
  cursor: pointer;
  margin: 4px auto 18px;
  transition: transform 0.4s var(--ease);
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.55));
}
.wax-seal:hover { transform: rotate(-3deg) scale(1.05); }
.wax-seal__shadow {
  position: absolute; inset: 6% -4% -8% 6%;
  background: radial-gradient(ellipse at 50% 50%, rgba(70, 10, 14, 0.55) 0%, transparent 70%);
  filter: blur(8px);
  border-radius: 50%;
  z-index: 0;
}
.wax-seal__disc {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%,
      var(--wax-hi) 0%,
      var(--wax-md) 40%,
      var(--wax-lo) 88%,
      #1a0408 100%);
  box-shadow:
    inset 0 -3px 6px rgba(0,0,0,0.6),
    inset 0 3px 5px rgba(255, 200, 180, 0.32),
    inset 6px -6px 14px rgba(0,0,0,0.4);
  display: grid; place-items: center;
}
.wax-seal__disc::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 36% 22%, rgba(255, 220, 200, 0.5) 0%, transparent 32%);
}
.wax-seal__disc::after {
  content: "";
  position: absolute; inset: 2px;
  border-radius: 50%;
  border: 1px solid rgba(255, 200, 180, 0.2);
}
.wax-seal__svg {
  width: 88px; height: 88px;
  position: relative;
  filter: drop-shadow(0 1px 0 rgba(255,200,180,0.15));
}
.wax-seal__drip {
  position: absolute;
  width: 16px;
  background: radial-gradient(circle at 50% 30%, var(--wax-hi), var(--wax-md) 60%, var(--wax-lo) 100%);
  border-radius: 0 0 60% 60% / 0 0 80% 80%;
  box-shadow:
    inset 0 -2px 4px rgba(0,0,0,0.5),
    inset 0 2px 3px rgba(255,200,180,0.2);
  z-index: 1;
}
.wax-seal__drip--1 { left: 22%; bottom: -4px; height: 20px; transform: rotate(-10deg); }
.wax-seal__drip--2 { left: 50%; bottom: -10px; height: 26px; transform: translateX(-50%); }
.wax-seal__drip--3 { right: 22%; bottom: -2px; height: 18px; transform: rotate(12deg); }

.wax-seal.breaking { pointer-events: none; animation: seal-break 0.9s var(--ease-ink) forwards; }
.wax-seal.breaking .wax-seal__disc::after {
  background:
    linear-gradient(105deg, transparent 47%, rgba(0,0,0,0.8) 49%, rgba(0,0,0,0.8) 51%, transparent 53%);
  animation: seal-crack 0.5s var(--ease-ink) forwards;
}
@keyframes seal-break {
  0%   { transform: scale(1) rotate(0); opacity: 1; }
  30%  { transform: scale(1.12) rotate(-5deg); opacity: 1; }
  60%  { transform: scale(0.95) rotate(6deg); opacity: 0.95; }
  100% { transform: scale(0.7) rotate(-2deg) translateY(50px); opacity: 0; }
}
@keyframes seal-crack {
  0%   { opacity: 0; }
  60%  { opacity: 1; }
  100% { opacity: 1; }
}

/* Open decree button — gold-outlined on midnight */
.open-decree {
  position: relative;
  display: inline-flex; align-items: center; gap: 14px;
  padding: 16px 28px;
  background: transparent;
  border: 1px solid var(--gold-2);
  color: var(--gold-1);
  font-family: var(--ff-fellsc);
  font-size: 12px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.4s var(--ease);
  margin: 2px 0 18px;
}
.open-decree::before, .open-decree::after {
  content: "";
  position: absolute; top: 50%;
  width: 9px; height: 9px;
  background: var(--gold-2);
  transform: translateY(-50%) rotate(45deg);
}
.open-decree::before { left: -5px; }
.open-decree::after  { right: -5px; }
.od-icon { color: var(--gold-1); font-size: 11px; }
.open-decree:hover {
  background: rgba(199, 168, 104, 0.10);
  color: var(--gold-0);
  border-color: var(--gold-1);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -10px rgba(199, 168, 104, 0.35);
}

.invite-foot {
  font-family: var(--ff-tan);
  font-size: 30px;
  line-height: 1;
  color: var(--gold-1);
  margin-top: 6px;
}
.invite-foot em { color: var(--steel-3); font-style: italic; }

/* ── Hereafter ──────────────────────────────────────────── */
.hereafter {
  opacity: 0;
  transition: opacity 1.2s var(--ease) 0.4s;
  pointer-events: none;
}
body.unsealed .hereafter { opacity: 1; pointer-events: auto; }

/* ════ SECTIONS ════════════════════════════════════════════ */
.section { padding: 100px 0 40px; position: relative; }

.section-eyebrow {
  font-family: var(--ff-fellsc);
  font-size: 11px;
  letter-spacing: 0.48em;
  text-transform: uppercase;
  color: var(--gold-1);
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 26px;
}
.section-eyebrow span {
  font-family: var(--ff-decor);
  font-weight: 900;
  font-size: 14px;
  color: var(--forest-0);
  letter-spacing: 0.04em;
}
.section-eyebrow--centered { display: flex; justify-content: center; margin: 0 auto 22px; }

.section-head { text-align: center; margin-bottom: 56px; }
.section-title { display: flex; flex-direction: column; gap: 4px; align-items: center; }
.section-title__line { line-height: 1.1; }
.section-title__line--script {
  font-family: var(--ff-tan);
  font-size: clamp(38px, 6vw, 56px);
  color: var(--gold-1);
  font-style: italic;
}
.section-title__line--display {
  font-family: var(--ff-decor);
  font-weight: 900;
  font-size: clamp(28px, 4.6vw, 42px);
  letter-spacing: 0.08em;
  background: linear-gradient(180deg, #f0d896 0%, #c8a868 50%, #6c5828 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 12px rgba(199, 168, 104, 0.18));
}
.section-kicker {
  text-align: center;
  font-family: var(--ff-fell);
  font-style: italic;
  color: var(--steel-2);
  font-size: 17px;
  margin-top: 14px;
}

/* ════ LETTER — on midnight ═══════════════════════════════ */
.letter {
  position: relative;
  padding: 12px 18px 4px;
  margin: 0 auto;
  max-width: 680px;
  text-align: center;
}
.letter::before, .letter::after {
  content: "";
  position: absolute;
  width: 60px; height: 60px;
  border: 1px solid var(--gold-2);
  opacity: 0.55;
  pointer-events: none;
}
.letter::before { top: -2px; left: -2px;     border-right: 0; border-bottom: 0; }
.letter::after  { bottom: -2px; right: -2px; border-left: 0;  border-top: 0; }

.salutation { text-align: center; margin-bottom: 28px; }
.salutation__line {
  display: block;
  font-family: var(--ff-tan);
  font-size: 58px;
  line-height: 1.1;
  color: var(--gold-1);
}
.salutation__line em { font-style: italic; color: var(--gold-0); }
.salutation__line--small {
  font-size: 32px;
  color: var(--steel-2);
  margin-top: 2px;
}

.body-text {
  font-family: var(--ff-prose);
  color: var(--steel-1);
  font-size: 20px;
  line-height: 1.78;
  text-align: left;
  margin-top: 18px;
}
.body-text--lead {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-top: 0;
}
.illuminated-cap {
  flex-shrink: 0;
  width: 88px; height: 88px;
  color: var(--gold-1);
}
.illuminated-cap svg { width: 100%; height: 100%; }
.illuminated-text { flex: 1; display: block; padding-top: 6px; }

.pull-quote {
  position: relative;
  text-align: center;
  font-family: var(--ff-fell);
  font-style: italic;
  color: var(--gold-1);
  font-size: 24px;
  line-height: 1.5;
  margin: 30px auto 6px;
  max-width: 480px;
  padding: 22px 30px;
  border-top: 1px solid var(--gold-3);
  border-bottom: 1px solid var(--gold-3);
}
.pull-quote__mark {
  font-family: var(--ff-decor);
  font-weight: 900;
  font-size: 64px;
  color: var(--gold-2);
  line-height: 0;
  vertical-align: -22px;
}
.pull-quote__mark--close { vertical-align: -30px; }

/* ════ CHRONICLE ════════════════════════════════════════ */
.section--chronicle { padding-top: 110px; }
.chronicle {
  list-style: none;
  padding: 0;
  max-width: 820px;
  margin: 0 auto;
}

.chr-entry {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 36px;
  align-items: start;
  padding: 38px 0;
  position: relative;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.chr-entry.is-visible { opacity: 1; transform: translateY(0); }

.chr-entry + .chr-entry::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 240px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-3), transparent);
}
.chr-entry + .chr-entry::after {
  content: "✦";
  position: absolute;
  top: -10px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--ff-display);
  font-size: 13px;
  color: var(--gold-1);
  background:
    radial-gradient(circle at center, var(--night-1) 0%, var(--night-1) 50%, transparent 80%);
  padding: 0 10px;
}

.chr-entry--mirror { grid-template-columns: 1fr 200px; }
.chr-entry--mirror .chr-entry__numeral { order: 2; }
.chr-entry--mirror .chr-entry__body    { order: 1; text-align: right; }
.chr-entry--mirror .chr-entry__rule    { margin-left: auto; }

.chr-entry__numeral {
  position: relative;
  display: grid; place-items: center;
  width: 200px; height: 200px;
  font-family: var(--ff-decor);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
}
.chr-numeral-bg {
  position: absolute;
  inset: 0;
  display: grid; place-items: center;
  color: transparent;
  -webkit-text-stroke: 1.6px var(--gold-3);
  opacity: 0.5;
  font-size: 168px;
}
.chr-numeral-fg {
  position: relative;
  background: linear-gradient(180deg, #f0d896 0%, #c8a868 45%, #6c5828 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 130px;
  filter: drop-shadow(0 4px 18px rgba(199, 168, 104, 0.22));
}

.chr-entry__body { min-width: 0; }
.chr-entry__title {
  font-family: var(--ff-decor);
  font-weight: 700;
  font-size: clamp(22px, 3vw, 28px);
  color: var(--gold-0);
  line-height: 1.2;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}
.chr-entry__title em {
  font-family: var(--ff-fell);
  font-style: italic;
  font-weight: 400;
  color: var(--forest-0);
}
.today-pill {
  display: inline-block;
  margin-left: 10px;
  padding: 4px 12px;
  font-family: var(--ff-fellsc);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  background: var(--burg-1);
  color: var(--gold-0);
  border: 1px solid var(--gold-2);
  border-radius: 1px;
  font-weight: 600;
  vertical-align: middle;
}

.chr-entry__rule {
  width: 80px; height: 1px;
  background: linear-gradient(90deg, var(--gold-3), transparent);
  margin: 0 0 18px;
}

.chr-entry__text {
  font-family: var(--ff-fell);
  color: var(--steel-1);
  font-size: 19px;
  line-height: 1.74;
}
.chr-entry__text strong { color: var(--gold-0); font-weight: 600; }
.chr-entry__text em { color: var(--forest-0); font-style: italic; }
.chr-entry__sub {
  font-family: var(--ff-fell);
  font-style: italic;
  color: var(--gold-2);
  font-size: 15px;
  margin-top: 12px;
  opacity: 0.95;
}

.chr-entry--today .chr-numeral-bg { -webkit-text-stroke-color: var(--burg-1); opacity: 0.55; }
.chr-entry--today .chr-numeral-fg {
  background: linear-gradient(180deg, #f0d896 0%, #c8a868 30%, #8a2a2f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ════ PROCLAMATION — filigree wheel on midnight ══════════ */
.section--proclamation { padding: 130px 0 80px; }
.proclamation { position: relative; text-align: center; max-width: 820px; margin: 0 auto; }

.proclaim-wheel {
  width: min(560px, 88vw);
  aspect-ratio: 1 / 1;
  margin: 0 auto 30px;
  position: relative;
  filter:
    drop-shadow(0 24px 48px rgba(0,0,0,0.7))
    drop-shadow(0 0 60px rgba(199, 168, 104, 0.16));
}
.proclaim-wheel__svg { width: 100%; height: 100%; }
.wheel-spin-slow      { transform-origin: 300px 300px; animation: wheel-spin 120s linear infinite; }
.wheel-spin-slow-rev  { transform-origin: 300px 300px; animation: wheel-spin 80s linear infinite reverse; }
@keyframes wheel-spin { from { transform: rotate(0); } to { transform: rotate(360deg); } }

.proclaim-text { margin: 0 auto; max-width: 480px; margin-top: -10px; }
.proclaim-line {
  font-family: var(--ff-fell);
  font-size: 20px;
  line-height: 1.55;
  color: var(--steel-1);
  margin: 6px 0;
}
.proclaim-line em { color: var(--gold-1); font-style: italic; font-weight: 500; }
.proclaim-line strong { color: var(--gold-0); font-style: normal; font-weight: 600; }
.proclaim-line--soft { color: var(--gold-2); font-style: italic; margin-top: 18px; }
.proclaim-script {
  font-family: var(--ff-tan);
  font-size: 46px;
  line-height: 1.25;
  color: var(--gold-1);
  margin: 22px 0;
}

/* Countdown */
.raven-flight {
  margin: 50px auto 0;
  padding-top: 30px;
  border-top: 1px dashed var(--gold-3);
  max-width: 460px;
}
.raven-flight__label {
  font-family: var(--ff-fellsc);
  font-size: 10px;
  letter-spacing: 0.55em;
  color: var(--gold-1);
  margin-bottom: 16px;
}
.cd-row { display: flex; align-items: baseline; justify-content: center; gap: 10px; margin-bottom: 12px; }
.cd-unit { display: flex; flex-direction: column; align-items: center; min-width: 64px; }
.cd-num {
  font-family: var(--ff-decor);
  font-weight: 900;
  font-size: 46px;
  line-height: 1;
  color: var(--gold-0);
  letter-spacing: 0.03em;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 24px rgba(199, 168, 104, 0.22);
  transition: transform 0.25s var(--ease), color 0.25s var(--ease);
}
.cd-num.pulse { animation: cd-pulse 0.4s var(--ease); }
@keyframes cd-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.16); color: #fde9b6; }
  100% { transform: scale(1); }
}
.cd-lbl {
  font-family: var(--ff-fellsc);
  font-size: 9px;
  letter-spacing: 0.34em;
  color: var(--steel-3);
  margin-top: 8px;
}
.cd-sep { font-family: var(--ff-decor); font-size: 38px; color: var(--gold-2); font-weight: 700; align-self: flex-start; padding-top: 3px; }
.raven-flight__foot { font-family: var(--ff-fell); font-style: italic; font-size: 15px; color: var(--steel-2); }

/* ════ FEAST ═══════════════════════════════════════════ */
.section--feast { padding: 120px 0 80px; }
.verses { list-style: none; padding: 0; max-width: 880px; margin: 0 auto; }

.verse {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  align-items: center;
  padding: 50px 0;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.verse.is-visible { opacity: 1; transform: translateY(0); }
.verse--right { grid-template-columns: 1fr 220px; }
.verse--right .verse__num { order: 2; text-align: right; }
.verse--right .verse__body { order: 1; text-align: right; }

.verse + .verse { position: relative; }
.verse + .verse::before {
  content: "";
  position: absolute;
  top: 0; left: 12%; right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-3), transparent);
}

.verse__num {
  font-family: var(--ff-decor);
  font-weight: 900;
  font-size: 150px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1.4px var(--gold-2);
  text-align: center;
  opacity: 0.85;
}

.verse__title {
  font-family: var(--ff-decor);
  font-weight: 700;
  font-size: clamp(22px, 3vw, 26px);
  color: var(--gold-0);
  margin-bottom: 12px;
  line-height: 1.2;
  letter-spacing: 0.01em;
}
.verse__title em {
  font-family: var(--ff-fell);
  font-style: italic;
  font-weight: 400;
  color: var(--forest-0);
}
.verse__text { font-family: var(--ff-fell); font-size: 18.5px; line-height: 1.74; color: var(--steel-1); }
.verse__text em { color: var(--gold-1); font-style: italic; }

/* ════ REPLY ════════════════════════════════════════════ */
.section--accept { padding: 80px 0 80px; }

.accept-buttons {
  display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: 40px;
}

.accept-btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 0; cursor: pointer; padding: 0;
  transition: all 0.4s var(--ease);
  font-family: var(--ff-display);
}
.accept-btn--yes {
  width: min(360px, 80vw); height: 88px;
  font-family: var(--ff-decor); font-weight: 700; font-size: 17px;
  letter-spacing: 0.05em; color: var(--gold-0);
  text-shadow: 0 1px 0 rgba(0,0,0,0.5);
  background: radial-gradient(circle at 30% 25%, var(--wax-hi) 0%, var(--wax-md) 50%, var(--wax-lo) 100%);
  border-radius: 50px;
  box-shadow:
    inset 0 -4px 8px rgba(0,0,0,0.55),
    inset 0 4px 6px rgba(255, 200, 180, 0.32),
    0 14px 30px -8px rgba(120, 30, 40, 0.55),
    0 0 0 1px var(--gold-2);
}
.accept-btn--yes::before {
  content: ""; position: absolute; inset: 6px;
  border-radius: 50px; border: 1px solid rgba(255, 200, 180, 0.22);
  pointer-events: none;
}
.accept-btn--yes::after {
  content: "✦"; position: absolute; right: 24px; top: 50%;
  transform: translateY(-50%); color: var(--gold-0); font-size: 14px;
}
.accept-btn__wax {
  position: absolute; left: 20px; top: 50%;
  width: 30px; height: 30px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--gold-0) 0%, var(--gold-2) 60%, var(--gold-4) 100%);
  box-shadow: inset 0 -1px 2px rgba(0,0,0,0.4), inset 0 1px 1px rgba(255, 220, 140, 0.4);
}
.accept-btn__wax::after {
  content: "R"; font-family: var(--ff-decor); font-weight: 900; font-size: 14px;
  color: var(--burg-3); position: absolute; inset: 0;
  display: grid; place-items: center;
}
.accept-btn--yes:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 -4px 8px rgba(0,0,0,0.55),
    inset 0 4px 6px rgba(255, 200, 180, 0.4),
    0 20px 40px -10px rgba(120, 30, 40, 0.7),
    0 0 0 1px var(--gold-1);
}
.accept-btn__label { display: flex; flex-direction: column; gap: 2px; text-align: center; padding-left: 48px; }
.accept-btn__line1 {
  font-family: var(--ff-fell); font-style: italic; font-weight: 400; font-size: 14px;
  color: rgba(255, 240, 210, 0.8); letter-spacing: 0.02em; text-transform: none;
}
.accept-btn__line2 { font-family: var(--ff-decor); font-weight: 900; font-size: 17px; letter-spacing: 0.06em; }

.accept-btn--maybe {
  font-family: var(--ff-fell); font-style: italic; font-size: 16px;
  color: var(--gold-1); padding: 10px 22px;
  border-bottom: 1px solid var(--gold-3);
}
.accept-btn--maybe:hover { color: var(--gold-0); border-bottom-color: var(--gold-1); }

.accept-confirm {
  text-align: center; margin-top: 50px; padding: 36px 24px 24px;
  animation: confirm-in 0.9s var(--ease);
}
@keyframes confirm-in {
  0% { opacity: 0; transform: translateY(14px); }
  100% { opacity: 1; transform: translateY(0); }
}
.confirm-stamp {
  width: 110px; height: 110px; margin: 0 auto 18px;
  color: var(--gold-1);
  filter: drop-shadow(0 0 24px rgba(199, 168, 104, 0.4));
}
.confirm-stamp svg { animation: seal-stamp 0.8s var(--ease) 0.1s both; }
@keyframes seal-stamp {
  0% { transform: scale(0.4) rotate(-14deg); opacity: 0; }
  60% { transform: scale(1.18) rotate(3deg); opacity: 1; }
  100% { transform: scale(1) rotate(0); opacity: 1; }
}
.confirm-line {
  font-family: var(--ff-tan); font-size: 38px; line-height: 1.3; color: var(--gold-0);
}
.confirm-sub {
  font-family: var(--ff-fellsc); font-size: 11px; letter-spacing: 0.5em;
  color: var(--gold-1); margin-top: 16px; text-transform: uppercase;
}

/* ════ FOOTER ════════════════════════════════════════════ */
.decree-foot { padding: 70px 0 80px; text-align: center; }
.foot-flourish {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  max-width: 300px; margin: 0 auto 28px;
}
.ff-line { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-2), transparent); }
.ff-mark { color: var(--gold-1); font-size: 14px; }

.house-motto {
  font-family: var(--ff-decor); font-weight: 900;
  font-size: clamp(36px, 6vw, 60px); letter-spacing: 0.1em;
  background: linear-gradient(180deg, #f0d896 0%, #c8a868 50%, #6c5828 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 4px 12px rgba(199, 168, 104, 0.2));
}
.house-motto .amp {
  font-family: var(--ff-tan); font-size: 1.5em; letter-spacing: 0;
}
.house-credit {
  margin-top: 22px; font-family: var(--ff-tan);
  font-size: 28px; line-height: 1.3; color: var(--gold-1);
}
.house-credit em { color: var(--gold-0); }
.credit-date {
  display: inline-block; margin-top: 4px;
  font-family: var(--ff-fellsc); font-size: 10px;
  letter-spacing: 0.42em; color: var(--steel-3); text-transform: uppercase;
}

/* ── Reveals ───────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(14px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 820px) {
  .section { padding: 72px 0 24px; }
  .container { padding: 0 22px; }

  .hero {
    padding: 16px 12px 28px;
    min-height: 100svh; min-height: 100vh;
    display: grid; place-items: center;
  }

  .invitation { padding: 28px 18px 22px; max-width: 100%; }
  .invitation__frame { inset: 6px; }
  .invitation__frame::before { inset: 5px; }
  .frame-corner { width: 22px; height: 22px; }
  .frame-corner--tl { top: -5px; left: -5px; }
  .frame-corner--tr { top: -5px; right: -5px; }
  .frame-corner--bl { bottom: -5px; left: -5px; }
  .frame-corner--br { bottom: -5px; right: -5px; }
  .frame-corner::before { font-size: 9px; padding: 0 3px; }

  .invitation__eyebrow {
    font-size: 9.5px; letter-spacing: 0.32em; gap: 9px; margin-bottom: 10px;
  }
  .eyebrow-dot { width: 4px; height: 4px; }

  .sigil { width: min(200px, 56vw); margin: 0 auto 12px; aspect-ratio: 1 / 1.2; }

  .invite-prelude { font-size: 28px; line-height: 1; margin-bottom: 0; }
  .invite-name { margin: 0 0 6px; gap: 0; }
  .invite-name__line { font-size: 10px; letter-spacing: 0.34em; }
  .invite-name__display { font-size: clamp(40px, 12.5vw, 56px); letter-spacing: 0.06em; line-height: 1; }

  .invite-line { font-size: 10px; letter-spacing: 0.34em; margin: 4px 0 14px; gap: 10px; }
  .invite-line::before, .invite-line::after { width: 18px; }
  .invite-line em { font-size: 13px; }

  .invite-flourish { display: none; }
  .invite-foot { font-size: 22px; line-height: 1; margin-top: 6px; }

  .open-decree {
    font-size: 10.5px; letter-spacing: 0.34em; padding: 11px 18px; gap: 8px; margin: 2px 0 14px;
  }
  .od-icon { font-size: 10px; }

  .wax-seal { width: 78px; height: 78px; margin: 0 auto 10px; }
  .wax-seal__svg { width: 62px; height: 62px; }
  .wax-seal__drip--1 { height: 14px; bottom: -2px; }
  .wax-seal__drip--2 { height: 20px; bottom: -8px; }
  .wax-seal__drip--3 { height: 13px; bottom: -1px; }

  /* ── Letter / opening ─────────────────────────────── */
  .letter { padding: 8px 6px; }
  .salutation__line { font-size: 40px; }
  .salutation__line--small { font-size: 22px; }
  .body-text { font-size: 17.5px; line-height: 1.7; }
  .body-text--lead { flex-direction: row; align-items: flex-start; gap: 12px; text-align: left; }
  .illuminated-cap { width: 56px; height: 56px; }
  .pull-quote { font-size: 19px; padding: 16px 18px; line-height: 1.45; }
  .pull-quote__mark { font-size: 44px; vertical-align: -14px; }
  .pull-quote__mark--close { vertical-align: -20px; }

  /* ── Chronicle ─────────────────────────────────────── */
  .section-title__line--script { font-size: clamp(32px, 8vw, 42px); }
  .section-title__line--display { font-size: clamp(24px, 6.4vw, 32px); }
  .section-kicker { font-size: 15px; }

  .chr-entry,
  .chr-entry--mirror {
    grid-template-columns: 70px 1fr; gap: 18px; padding: 28px 0;
    align-items: center;
  }
  .chr-entry--mirror .chr-entry__numeral { order: 0; }
  .chr-entry--mirror .chr-entry__body    { order: 0; text-align: left; }
  .chr-entry--mirror .chr-entry__rule    { margin-left: 0; }
  .chr-entry__numeral { width: 70px; height: 90px; }
  .chr-numeral-bg { font-size: 60px; }
  .chr-numeral-fg { font-size: 52px; }
  .chr-entry__title { font-size: 19px; margin-bottom: 10px; }
  .chr-entry__rule { width: 50px; margin-bottom: 12px; }
  .chr-entry__text { font-size: 16.5px; line-height: 1.66; }
  .chr-entry__sub { font-size: 13px; margin-top: 10px; }
  .today-pill { padding: 3px 8px; font-size: 9px; letter-spacing: 0.28em; }

  /* ── Verses ────────────────────────────────────────── */
  .verse,
  .verse--right {
    grid-template-columns: 70px 1fr; gap: 18px; padding: 28px 0;
    align-items: center;
  }
  .verse--right .verse__num { order: 0; text-align: center; }
  .verse--right .verse__body { order: 0; text-align: left; }
  .verse__num { font-size: 64px; }
  .verse__title { font-size: 18px; line-height: 1.25; }
  .verse__text { font-size: 16.5px; line-height: 1.66; }

  /* ── Proclamation ──────────────────────────────────── */
  .section--proclamation { padding: 80px 0 50px; }
  .proclaim-wheel { width: min(360px, 88vw); margin-bottom: 22px; }
  .proclaim-line { font-size: 17px; line-height: 1.5; }
  .proclaim-script { font-size: 32px; }
  .raven-flight { margin-top: 36px; padding-top: 22px; }
  .raven-flight__label { font-size: 9px; letter-spacing: 0.42em; margin-bottom: 12px; }
  .cd-row { gap: 6px; }
  .cd-num { font-size: 30px; }
  .cd-unit { min-width: 46px; }
  .cd-sep { font-size: 28px; padding-top: 2px; }
  .cd-lbl { font-size: 8px; letter-spacing: 0.3em; margin-top: 6px; }

  /* ── Reply ─────────────────────────────────────────── */
  .accept-btn--yes { width: 92%; max-width: 360px; height: 80px; }
  .accept-btn__line2 { font-size: 15px; }
  .accept-btn__line1 { font-size: 12px; }
  .confirm-stamp { width: 88px; height: 88px; }
  .confirm-line { font-size: 30px; }
  .confirm-sub { font-size: 10px; }

  /* ── Footer ────────────────────────────────────────── */
  .house-credit { font-size: 22px; }
  .credit-date { font-size: 9px; letter-spacing: 0.34em; }
}

@media (max-width: 480px) {
  body { font-size: 17.5px; }
  .container, .hero { padding-left: 12px; padding-right: 12px; }
  .invitation { padding: 24px 16px 20px; }
  .sigil { width: min(180px, 52vw); margin-bottom: 10px; }

  .invitation__eyebrow { font-size: 9px; letter-spacing: 0.3em; margin-bottom: 8px; }
  .invite-prelude { font-size: 24px; }
  .invite-name__line { font-size: 9.5px; }
  .invite-name__display { font-size: clamp(36px, 12vw, 50px); }
  .invite-line { font-size: 9px; }
  .invite-line em { font-size: 12px; }
  .invite-foot { font-size: 20px; }
  .wax-seal { width: 72px; height: 72px; }
  .wax-seal__svg { width: 56px; height: 56px; }
  .open-decree { font-size: 10px; padding: 10px 16px; }

  .chr-entry, .chr-entry--mirror,
  .verse, .verse--right {
    grid-template-columns: 60px 1fr; gap: 14px;
  }
  .chr-entry__numeral { width: 60px; height: 80px; }
  .chr-numeral-bg { font-size: 52px; }
  .chr-numeral-fg { font-size: 44px; }
  .verse__num { font-size: 54px; }
  .chr-entry__title { font-size: 17.5px; }
  .verse__title { font-size: 17px; }

  .proclaim-wheel { width: min(320px, 84vw); }
  .cd-num { font-size: 26px; }
  .cd-unit { min-width: 40px; }
  .cd-sep { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
  .wheel-spin-slow, .wheel-spin-slow-rev { animation: none !important; }
}
