:root {
  --ink: #0c1715;
  --pine: #0b2924;
  --pine-deep: #061c19;
  --emerald: #16483e;
  --ivory: #f7f2e8;
  --pearl: #fffcf6;
  --mist: #e8e3d8;
  --gold: #c7a766;
  --gold-bright: #e5ca8f;
  --muted: #66726e;
  --night: #041714;
  --serif: "Italiana", "Times New Roman", serif;
  --script: "Parisienne", cursive;
  --sans: "Manrope", Arial, sans-serif;
  --shadow: 0 35px 90px rgba(2, 24, 20, .18);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: #031310;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 15%, rgba(34, 92, 79, .18), transparent 38rem),
    radial-gradient(circle at 90% 78%, rgba(199, 167, 102, .12), transparent 38rem),
    #031310;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  cursor: none;
}

body.intro-locked { overflow: hidden; }
button, input { font: inherit; }
a { color: inherit; }
button, a, label { cursor: none; }

main,
.entrance {
  width: 100%;
  margin-inline: auto;
}

.site-progress {
  position: fixed;
  z-index: 120;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(255,255,255,.08);
}

.site-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), #fff4ce);
  box-shadow: 0 0 10px rgba(229,202,143,.75);
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
}

.brand-watermark {
  position: fixed;
  z-index: 110;
  top: max(14px, env(safe-area-inset-top));
  left: max(14px, env(safe-area-inset-left));
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 11px 5px 5px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  color: rgba(255,255,255,.86);
  background: rgba(3, 23, 20, .5);
  box-shadow: 0 8px 30px rgba(0,0,0,.12);
  backdrop-filter: blur(12px);
  transition: color .4s, border-color .4s, background .4s;
  pointer-events: none;
}

.brand-watermark .sis-name {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.sis-emblem {
  display: grid;
  place-items: center;
  width: 30px;
  aspect-ratio: 1;
  border: 1px solid rgba(229,202,143,.55);
  border-radius: 50%;
  color: var(--gold-bright);
  background: var(--pine-deep);
  font-family: var(--serif);
  font-size: 9px;
  letter-spacing: .06em;
}

body.invitation-open .brand-watermark {
  color: var(--pine);
  border-color: rgba(8, 51, 43, .14);
  background: rgba(255, 252, 246, .82);
}

.sound-control {
  position: fixed;
  z-index: 111;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  display: grid;
  justify-items: center;
  gap: 3px;
  width: 56px;
  padding: 0;
  border: 0;
  color: white;
  background: transparent;
}

.sound-disc {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 48px;
  aspect-ratio: 1;
  border: 1px solid rgba(232, 209, 160, .6);
  border-radius: 50%;
  background: rgba(7, 39, 33, .9);
  box-shadow: 0 9px 28px rgba(1, 17, 14, .3), inset 0 0 0 5px rgba(255,255,255,.025);
  backdrop-filter: blur(12px);
}

.sound-disc i {
  display: block;
  width: 2px;
  height: 6px;
  border-radius: 3px;
  background: var(--gold-bright);
}

.sound-control[aria-pressed="true"] .sound-disc i { animation: soundWave .65s ease-in-out infinite alternate; }
.sound-control[aria-pressed="true"] .sound-disc i:nth-child(2) { animation-delay: -.22s; }
.sound-control[aria-pressed="true"] .sound-disc i:nth-child(3) { animation-delay: -.41s; }
.sound-text { font-size: 7px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }

@keyframes soundWave { to { height: 19px; } }

.cursor-orbit {
  position: fixed;
  z-index: 200;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(214, 187, 129, .78);
  border-radius: 50%;
  color: var(--gold-bright);
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition: width .22s, height .22s, background .22s, transform .12s;
  mix-blend-mode: difference;
}

.cursor-orbit span { font-size: 8px; }
.cursor-orbit.is-active { width: 48px; height: 48px; background: rgba(255,255,255,.16); }
.spark-layer { position: fixed; z-index: 190; inset: 0; pointer-events: none; overflow: hidden; }

.cursor-spark {
  position: absolute;
  color: var(--gold-bright);
  animation: sparkAway 1.1s ease-out forwards;
  filter: drop-shadow(0 0 6px rgba(238,213,155,.55));
  will-change: transform, opacity;
}

@keyframes sparkAway {
  to { opacity: 0; transform: translate(var(--drift-x), var(--drift-y)) rotate(110deg) scale(.2); }
}

.entrance {
  position: relative;
  z-index: 100;
  min-height: 100svh;
  overflow: hidden;
  color: var(--ivory);
  background:
    radial-gradient(circle at 50% 25%, rgba(51, 103, 88, .5), transparent 18rem),
    radial-gradient(circle at 50% 85%, rgba(199, 167, 102, .14), transparent 24rem),
    linear-gradient(165deg, #0a322b, #041815 65%, #020d0b);
  isolation: isolate;
}

.entrance::before,
.entrance::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -20%;
  opacity: .2;
  background-image:
    radial-gradient(circle, rgba(255,244,210,.85) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(255,244,210,.55) 0 1px, transparent 1.5px);
  background-size: 88px 88px, 137px 137px;
  background-position: 0 0, 33px 28px;
  animation: starDrift 24s linear infinite;
}

.entrance::after { transform: rotate(18deg); animation-direction: reverse; animation-duration: 33s; }
@keyframes starDrift { to { translate: 0 -88px; } }

.entrance-reveal {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  padding: 90px 28px;
  text-align: center;
  opacity: 0;
  transform: scale(.94);
  filter: blur(8px);
  transition: opacity 1.8s 1.2s ease, transform 2.2s 1.15s cubic-bezier(.18,.8,.24,1), filter 1.5s 1.1s;
}

.entrance.is-open .entrance-reveal { opacity: 1; transform: scale(1); filter: blur(0); }
.entrance-reveal > p { margin: 0 0 30px; font-size: 10px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; opacity: .75; }
.entrance-reveal h1 { margin: 0; font-family: var(--serif); font-size: clamp(54px, 15vw, 96px); font-weight: 400; line-height: .75; letter-spacing: -.05em; }
.entrance-reveal h1 span { display: block; }
.entrance-reveal h1 i { display: block; margin: 12px 0 8px; color: var(--gold-bright); font-family: var(--script); font-size: .65em; font-weight: 400; }
.opening-date { margin: 34px 0 40px; color: var(--gold-bright); font-size: 9px; font-weight: 600; letter-spacing: .28em; }

.enter-scroll {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(225, 198, 139, .46);
  color: rgba(255,255,255,.82);
  text-decoration: none;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.enter-scroll b { color: var(--gold-bright); font-size: 16px; animation: cueDown 1.5s ease-in-out infinite; }
@keyframes cueDown { 50% { transform: translateY(5px); } }

.constellation {
  position: absolute;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(222, 195, 137, .12);
  border-radius: 50%;
  box-shadow: inset 0 0 0 28px rgba(255,255,255,.01);
}

.constellation::before,
.constellation::after { content: "✦"; position: absolute; color: var(--gold); font-size: 10px; }
.constellation::before { top: 18%; left: 8%; }
.constellation::after { right: 8%; bottom: 18%; }
.constellation-a { top: -70px; right: -75px; animation: orbit 28s linear infinite; }
.constellation-b { left: -95px; bottom: -55px; width: 260px; height: 260px; animation: orbit 40s linear infinite reverse; }
@keyframes orbit { to { transform: rotate(360deg); } }

.door-scene { position: absolute; z-index: 3; inset: 0; overflow: hidden; perspective: 1800px; }
.door-panel {
  position: absolute;
  top: 0;
  width: 50.2%;
  height: 100%;
  background-image: linear-gradient(rgba(1,14,12,.06), rgba(1,14,12,.18)), url("assets/moonlit-doors.webp");
  background-repeat: no-repeat;
  background-size: 200% 100%;
  will-change: transform, filter;
  transition: transform 3.2s cubic-bezier(.72,0,.17,1), filter 2.6s ease;
  backface-visibility: hidden;
}

.door-left { left: 0; background-position: left center; transform-origin: left center; }
.door-right { right: 0; background-position: right center; transform-origin: right center; }
.entrance.is-open .door-left { transform: translateX(-99%) rotateY(15deg); filter: brightness(.52); }
.entrance.is-open .door-right { transform: translateX(99%) rotateY(-15deg); filter: brightness(.52); }

.door-shadow {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 12%;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,.7));
  transition: opacity 1.2s 1s, transform 3s cubic-bezier(.72,0,.17,1);
  will-change: transform, opacity;
}
.door-shadow-left { left: 38%; }
.door-shadow-right { right: 38%; transform: scaleX(-1); }
.entrance.is-open .door-shadow { opacity: .35; transform: translateX(-380%); }
.entrance.is-open .door-shadow-right { transform: translateX(380%) scaleX(-1); }

.enter-button {
  position: absolute;
  z-index: 5;
  left: 50%;
  top: 62%;
  display: grid;
  justify-items: center;
  gap: 8px;
  width: 170px;
  padding: 0;
  border: 0;
  color: white;
  background: transparent;
  transform: translate(-50%, -50%);
  transition: opacity .75s, transform .8s;
}

.enter-rings {
  position: relative;
  display: grid;
  place-items: center;
  width: 116px;
  aspect-ratio: 1;
  border: 1px solid rgba(235,211,158,.35);
  border-radius: 50%;
  animation: ringBreath 2.4s ease-in-out infinite;
}

.enter-rings::before,
.enter-rings::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(229,202,143,.55);
  border-radius: 50%;
}
.enter-rings::after { inset: -9px; border-color: rgba(255,255,255,.12); }

.enter-monogram {
  display: grid;
  place-items: center;
  width: 86px;
  aspect-ratio: 1;
  border-radius: 50%;
  color: var(--gold-bright);
  background: rgba(5,29,25,.82);
  box-shadow: 0 18px 55px rgba(0,0,0,.48), inset 0 0 35px rgba(216,182,120,.12);
  font-family: var(--serif);
  font-size: 25px;
  letter-spacing: -.08em;
  backdrop-filter: blur(10px);
}

.enter-monogram i { margin: 0 3px; font-family: var(--script); font-size: .8em; }
.enter-button strong { margin-top: 8px; font-family: var(--serif); font-size: 17px; font-weight: 400; letter-spacing: .05em; }
.enter-button small { font-size: 8px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; opacity: .72; }
.entrance.is-open .enter-button { opacity: 0; transform: translate(-50%, -50%) scale(.72); pointer-events: none; }

@keyframes ringBreath {
  50% { transform: scale(1.045); box-shadow: 0 0 0 12px rgba(238,213,155,.025); }
}

.chapter {
  position: relative;
  min-height: 720px;
  padding: 112px 34px 88px;
  overflow: hidden;
  text-align: center;
  isolation: isolate;
}

.chapter-number {
  position: absolute;
  z-index: -1;
  top: 28px;
  right: 28px;
  color: rgba(13,63,53,.07);
  font-family: var(--serif);
  font-size: 110px;
  line-height: 1;
}

.section-mark {
  position: absolute;
  bottom: 20px;
  left: 50%;
  color: rgba(16,61,52,.28);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: .24em;
  transform: translateX(-50%);
  white-space: nowrap;
}

.kicker {
  margin: 0 0 14px;
  color: var(--emerald);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
}

.editorial-title {
  margin: 0 auto 24px;
  max-width: 620px;
  color: var(--pine);
  font-family: var(--serif);
  font-size: clamp(46px, 11vw, 82px);
  font-weight: 400;
  line-height: .9;
  letter-spacing: -.045em;
}

.editorial-title em {
  color: var(--gold);
  font-family: var(--script);
  font-size: 1.05em;
  font-weight: 400;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s ease, transform 1s cubic-bezier(.18,.74,.2,1);
  will-change: transform, opacity;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

.chapter-invitation {
  background:
    linear-gradient(90deg, transparent calc(50% - .5px), rgba(24,73,63,.08) 50%, transparent calc(50% + .5px)),
    radial-gradient(circle at 10% 10%, rgba(196,165,101,.1), transparent 18rem),
    var(--pearl);
}

.botanical-orbit {
  position: absolute;
  z-index: -1;
  top: -140px;
  left: -160px;
  display: grid;
  place-items: center;
  width: 420px;
  aspect-ratio: 1;
  border: 1px solid rgba(22,72,62,.07);
  border-radius: 50%;
  color: rgba(198,164,95,.24);
  font-size: 24px;
}

.bismillah { margin: 28px 0 4px; color: var(--pine); font-family: Georgia, serif; font-size: clamp(28px, 7vw, 38px); line-height: 1.8; }
.translation { margin: 0 auto; max-width: 420px; color: var(--muted); font-family: var(--serif); font-size: 16px; font-style: italic; }
.fine-rule { display: flex; align-items: center; gap: 14px; width: 190px; margin: 34px auto; color: var(--gold); }
.fine-rule::before, .fine-rule::after { content: ""; height: 1px; flex: 1; background: linear-gradient(90deg, transparent, var(--gold)); }
.fine-rule::after { transform: scaleX(-1); }

blockquote { margin: 0 auto 64px; max-width: 480px; color: var(--pine); font-family: var(--serif); font-size: clamp(26px, 6vw, 38px); line-height: 1.22; }
blockquote cite { display: block; margin-top: 16px; color: var(--gold); font-family: var(--sans); font-size: 8px; font-style: normal; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }

.invitation-card {
  position: relative;
  max-width: 540px;
  margin: 0 auto;
  padding: 60px 34px;
  border: 1px solid rgba(20,72,61,.16);
  background: rgba(255,255,255,.62);
  box-shadow: var(--shadow);
}
.invitation-card::before,
.invitation-card::after { content: ""; position: absolute; width: 34px; height: 34px; border-color: var(--gold); opacity: .58; }
.invitation-card::before { top: 14px; left: 14px; border-top: 1px solid; border-left: 1px solid; }
.invitation-card::after { right: 14px; bottom: 14px; border-right: 1px solid; border-bottom: 1px solid; }
.card-cap { color: var(--gold); font-size: 8px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; }
.invitation-card > p { margin: 20px auto; color: var(--pine); font-family: var(--serif); font-size: 23px; line-height: 1.35; }
.invitation-card .request-line,
.invitation-card .card-note { max-width: 390px; color: var(--muted); font-family: var(--sans); font-size: 14px; line-height: 1.7; }
.invitation-card h2 { margin: 34px 0; color: var(--pine); font-family: var(--serif); font-size: clamp(50px, 12vw, 76px); font-weight: 400; line-height: .72; letter-spacing: -.06em; }
.invitation-card h2 span { display: block; }
.invitation-card h2 i { display: block; margin: 10px 0 6px; color: var(--gold); font-family: var(--script); font-size: .65em; font-weight: 400; }

.chapter-date {
  color: var(--ivory);
  background:
    radial-gradient(circle at 50% 6%, rgba(66,127,112,.44), transparent 25rem),
    repeating-radial-gradient(circle at 50% 12%, transparent 0 58px, rgba(255,255,255,.025) 59px 60px),
    var(--night);
}
.chapter-date .chapter-number { color: rgba(255,255,255,.035); }
.chapter-date .kicker { color: var(--gold-bright); }
.chapter-date .editorial-title { color: var(--ivory); }
.chapter-date .section-mark { color: rgba(255,255,255,.16); }
.date-intro { margin: 0 auto 36px; max-width: 420px; color: rgba(255,255,255,.62); font-family: var(--serif); font-size: 18px; }

.date-reveal {
  position: relative;
  max-width: 460px;
  height: 370px;
  margin: 0 auto 48px;
  border: 1px solid rgba(221,194,134,.3);
  background: rgba(255,255,255,.025);
  box-shadow: 0 30px 80px rgba(0,0,0,.32);
  overflow: hidden;
}
.date-reveal::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(255,255,255,.06); pointer-events: none; }

.date-underlay,
.date-veil { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; }
.date-underlay { background: radial-gradient(circle at center, rgba(47,105,92,.45), transparent 65%); }
.date-underlay span { font-family: var(--serif); font-size: 26px; }
.date-underlay strong { margin: -4px 0 -6px; color: var(--gold-bright); font-family: var(--serif); font-size: 132px; font-weight: 400; line-height: 1; }
.date-underlay i { margin-top: 17px; color: rgba(255,255,255,.68); font-family: var(--sans); font-size: 10px; font-style: normal; font-weight: 600; letter-spacing: .28em; }

.date-veil {
  border: 0;
  color: white;
  background:
    linear-gradient(125deg, transparent 40%, rgba(255,255,255,.15) 50%, transparent 60%) -500px 0 / 500px 100% no-repeat,
    linear-gradient(155deg, #17493f, #092b25 62%, #061c19);
  transition: transform 1.5s cubic-bezier(.7,0,.15,1), opacity 1.1s, filter 1.2s;
  animation: veilShimmer 3.6s 1.2s ease-in-out infinite;
}
.date-veil::before,
.date-veil::after { content: ""; position: absolute; border: 1px solid rgba(222,194,132,.18); border-radius: 50%; }
.date-veil::before { width: 230px; height: 230px; }
.date-veil::after { width: 290px; height: 290px; }
.date-reveal.is-revealed .date-veil { transform: translateY(-104%) rotate(-3deg); opacity: .2; filter: blur(5px); pointer-events: none; }
.moon-seal { position: relative; z-index: 1; display: grid; place-items: center; width: 78px; aspect-ratio: 1; margin-bottom: 25px; border: 1px solid rgba(227,202,145,.5); border-radius: 50%; color: var(--gold-bright); font-family: Georgia, serif; font-size: 38px; box-shadow: 0 0 0 12px rgba(255,255,255,.025); }
.date-veil strong { position: relative; z-index: 1; font-family: var(--serif); font-size: 25px; font-weight: 400; letter-spacing: .04em; }
.date-veil small { position: relative; z-index: 1; margin-top: 8px; font-size: 8px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; opacity: .68; }
@keyframes veilShimmer { 55%,100% { background-position: 500px 0, 0 0; } }

.countdown { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 530px; margin: 0 auto 30px; border-top: 1px solid rgba(221,194,134,.22); border-bottom: 1px solid rgba(221,194,134,.22); }
.countdown div { position: relative; padding: 20px 3px; }
.countdown div + div::before { content: ""; position: absolute; left: 0; top: 25%; height: 50%; width: 1px; background: rgba(255,255,255,.12); }
.countdown strong { display: block; font-family: var(--serif); font-size: clamp(24px, 6vw, 36px); font-weight: 400; }
.countdown span { display: block; margin-top: 2px; color: rgba(255,255,255,.54); font-size: 7px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.calendar-link { display: inline-flex; align-items: center; gap: 14px; color: var(--gold-bright); text-decoration: none; font-size: 9px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }

.chapter-story { background: linear-gradient(180deg, #f3eee4, #fffdf8); }
.timeline { position: relative; max-width: 600px; margin: 64px auto 0; }
.timeline::before { content: ""; position: absolute; left: 35%; top: 28px; bottom: 28px; width: 1px; background: linear-gradient(var(--gold), rgba(199,167,102,.15)); }
.timeline-item { display: grid; grid-template-columns: 1fr 56px 1.65fr; align-items: center; min-height: 150px; text-align: left; }
.time { text-align: right; color: var(--pine); font-family: var(--serif); font-size: 25px; }
.time small { font-family: var(--sans); font-size: 8px; letter-spacing: .1em; }
.timeline-dot { position: relative; z-index: 1; display: grid; place-items: center; width: 36px; aspect-ratio: 1; margin: auto; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); background: #f9f5ec; }
.timeline-dot span { font-size: 11px; }
.timeline-copy { padding-left: 10px; }
.timeline-copy small { color: var(--gold); font-size: 8px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.timeline-copy h3 { margin: 3px 0 7px; color: var(--pine); font-family: var(--serif); font-size: 28px; font-weight: 400; line-height: 1.1; }
.timeline-copy p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }

.chapter-venue {
  color: var(--ivory);
  background:
    linear-gradient(rgba(3,23,19,.72), rgba(3,23,19,.92)),
    url("assets/moonlit-doors.webp") center / cover fixed;
}
.chapter-venue .chapter-number { color: rgba(255,255,255,.04); }
.chapter-venue .kicker { color: var(--gold-bright); }
.chapter-venue .editorial-title { color: white; }
.chapter-venue .section-mark { color: rgba(255,255,255,.16); }
.venue-glow { position: absolute; z-index: -1; inset: 0; background: radial-gradient(circle at 50% 30%, rgba(50,114,99,.3), transparent 24rem); }

.venue-frame { position: relative; max-width: 510px; margin: 58px auto 70px; padding: 56px 34px 38px; border: 1px solid rgba(231,205,148,.38); background: rgba(3,24,20,.74); box-shadow: 0 35px 80px rgba(0,0,0,.38); backdrop-filter: blur(14px); }
.venue-frame::before { content: ""; position: absolute; inset: 9px; border: 1px solid rgba(255,255,255,.07); pointer-events: none; }
.venue-compass { display: grid; place-items: center; width: 76px; aspect-ratio: 1; margin: -95px auto 27px; border: 1px solid rgba(228,201,142,.55); border-radius: 50%; color: var(--gold-bright); background: var(--night); font-size: 7px; line-height: 1.1; box-shadow: 0 10px 35px rgba(0,0,0,.35); }
.venue-compass i { font-size: 19px; font-style: normal; }
.venue-frame > small { color: var(--gold-bright); font-size: 8px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; }
.venue-frame h3 { margin: 12px 0 16px; font-family: var(--serif); font-size: clamp(40px, 10vw, 62px); font-weight: 400; line-height: 1; }
.venue-frame > p { color: rgba(255,255,255,.68); font-family: var(--serif); font-size: 18px; line-height: 1.5; }
.venue-meta { display: grid; grid-template-columns: 1fr 1fr; margin: 30px 0; border-top: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1); }
.venue-meta span { padding: 16px 8px; font-family: var(--serif); font-size: 16px; }
.venue-meta span + span { border-left: 1px solid rgba(255,255,255,.1); }
.venue-meta small { display: block; margin-bottom: 4px; color: var(--gold); font-family: var(--sans); font-size: 7px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.venue-frame a { display: inline-flex; align-items: center; gap: 12px; padding: 12px 20px; border: 1px solid rgba(229,202,143,.45); color: var(--gold-bright); text-decoration: none; font-size: 8px; font-weight: 600; letter-spacing: .17em; text-transform: uppercase; transition: color .25s, background .25s; }
.venue-frame a:hover { color: var(--night); background: var(--gold-bright); }

.notes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 600px; margin: 0 auto; }
.notes-grid article { position: relative; min-height: 220px; padding: 32px 24px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.055); text-align: left; backdrop-filter: blur(8px); }
.notes-grid article > span { position: absolute; top: 18px; right: 18px; color: rgba(255,255,255,.15); font-family: var(--serif); font-size: 36px; }
.notes-grid small { color: var(--gold); font-size: 8px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.notes-grid h3 { margin: 34px 0 10px; font-family: var(--serif); font-size: 27px; font-weight: 400; line-height: 1.1; }
.notes-grid p { margin: 0; color: rgba(255,255,255,.58); font-size: 13px; line-height: 1.65; }

.chapter-rsvp { background: var(--pearl); }
.rsvp-intro { margin: 0; color: var(--muted); font-family: var(--serif); font-size: 18px; }
.rsvp-form { display: grid; gap: 24px; max-width: 520px; margin: 46px auto 0; padding: 38px 30px; border: 1px solid rgba(18,69,58,.14); background: white; box-shadow: var(--shadow); text-align: left; }
.field > span,
.rsvp-form legend { display: block; margin-bottom: 9px; color: var(--pine); font-size: 9px; font-weight: 600; letter-spacing: .17em; text-transform: uppercase; }
.field input { width: 100%; min-height: 54px; padding: 12px 0; border: 0; border-bottom: 1px solid rgba(15,59,50,.22); border-radius: 0; color: var(--pine); background: transparent; font-family: var(--serif); font-size: 20px; outline: none; transition: border-color .25s; }
.field input:focus { border-color: var(--gold); }
.rsvp-form fieldset { padding: 0; border: 0; }
.reply-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.reply-options label { position: relative; }
.reply-options input { position: absolute; opacity: 0; pointer-events: none; }
.reply-options span { display: grid; min-height: 82px; padding: 16px; border: 1px solid rgba(13,59,50,.14); color: var(--muted); font-size: 12px; transition: border-color .25s, color .25s, background .25s; }
.reply-options span b { color: var(--pine); font-family: var(--serif); font-size: 19px; font-weight: 400; }
.reply-options input:checked + span { border-color: var(--emerald); color: var(--pine); background: #eef3ef; }
.reply-options input:focus-visible + span { outline: 3px solid rgba(199,167,102,.45); outline-offset: 2px; }
.submit-reply { display: flex; align-items: center; justify-content: space-between; min-height: 54px; padding: 0 20px; border: 0; color: white; background: var(--pine); font-size: 9px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; transition: background .25s, transform .25s; }
.submit-reply:hover { background: var(--emerald); transform: translateY(-2px); }
.submit-reply:disabled { opacity: .72; transform: none; }
.submit-reply b { color: var(--gold-bright); font-size: 16px; }
.form-message { display: none; margin: 0; padding: 14px 16px; border-left: 2px solid var(--gold); color: var(--pine); background: #f4f1e8; font-family: var(--serif); font-size: 17px; }
.form-message.show { display: block; animation: messageIn .5s ease both; }
@keyframes messageIn { from { opacity: 0; transform: translateY(7px); } }

.chapter-finale {
  min-height: 100svh;
  display: grid;
  align-content: center;
  color: var(--ivory);
  background:
    radial-gradient(circle at 50% 40%, rgba(49,104,90,.48), transparent 25rem),
    linear-gradient(165deg, #082b25, #031411);
}
.chapter-finale .kicker { color: var(--gold-bright); }
.finale-stars { display: flex; justify-content: center; gap: 18px; margin-bottom: 34px; color: var(--gold); }
.finale-stars span:nth-child(even) { opacity: .45; }
.chapter-finale h2 { margin: 0; font-family: var(--serif); font-size: clamp(56px, 14vw, 94px); font-weight: 400; line-height: .78; letter-spacing: -.05em; }
.chapter-finale h2 i { display: block; margin: 14px 0 8px; color: var(--gold-bright); font-family: var(--script); font-size: .6em; font-weight: 400; }
.finale-copy { margin: 46px auto 0; max-width: 460px; color: rgba(255,255,255,.68); font-family: var(--serif); font-size: 20px; line-height: 1.55; }
.family-signoff { margin-top: 45px; }
.family-signoff span { color: var(--gold); font-size: 8px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.family-signoff p { margin: 8px 0 0; font-family: var(--serif); font-size: 21px; }
.replay-button { display: inline-flex; align-items: center; justify-content: center; gap: 13px; min-height: 46px; margin: 46px auto 0; padding: 0 18px; border: 1px solid rgba(231,204,145,.38); color: var(--gold-bright); background: transparent; font-size: 8px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.replay-button span { font-size: 15px; }
.made-by { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 70px; color: rgba(255,255,255,.56); text-align: left; }
.made-by p { margin: 0; font-size: 8px; line-height: 1.6; letter-spacing: .13em; text-transform: uppercase; }
.made-by strong { color: var(--gold-bright); font-weight: 500; }

button:focus-visible,
a:focus-visible,
input:focus-visible { outline: 3px solid rgba(229,202,143,.7); outline-offset: 4px; }

@media (max-width: 520px) {
  .chapter { padding: 96px 22px 78px; }
  .invitation-card { padding: 48px 22px; }
  .date-reveal { height: 340px; }
  .timeline::before { left: 32%; }
  .timeline-item { grid-template-columns: .8fr 45px 1.6fr; }
  .time { font-size: 20px; }
  .timeline-copy h3 { font-size: 24px; }
  .notes-grid { grid-template-columns: 1fr; }
  .notes-grid article { min-height: 190px; }
  .rsvp-form { padding: 30px 20px; }
}

@media (max-width: 380px) {
  .brand-watermark .sis-name { display: none; }
  .brand-watermark { padding-right: 5px; }
  .sound-text { display: none; }
  .countdown strong { font-size: 21px; }
  .reply-options { grid-template-columns: 1fr; }
  .timeline-item { grid-template-columns: 66px 38px 1fr; }
  .timeline::before { left: 85px; }
  .timeline-copy { padding-left: 6px; }
}

@media (min-width: 900px) {
  .brand-watermark { left: max(24px, env(safe-area-inset-left)); }
  .sound-control { right: max(24px, env(safe-area-inset-right)); }
  .door-panel { background-size: 200% 100%; }
  .chapter { padding-inline: 76px; }
  .chapter-invitation { padding-inline: 180px; }
  .notes-grid { max-width: 720px; }
  .venue-frame { max-width: 600px; }
}

@media (pointer: coarse), (prefers-reduced-motion: reduce) {
  body, button, a, label { cursor: auto; }
  .cursor-orbit { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .door-panel { transition-duration: .8s; }
  .entrance-reveal { transition-delay: .2s; transition-duration: .6s; }
}
