:root {
  --forest: #243229;
  --forest-deep: #16231c;
  --forest-soft: #3c4a3e;
  --paper: #f1eadc;
  --paper-light: #faf6ed;
  --ink: #41372f;
  --ink-soft: #796d62;
  --wine: #74433f;
  --gold: #b59a68;
  --gold-light: #d9c7a4;
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: #151d18; }
body { margin: 0; min-width: 320px; color: var(--ink); background: #151d18; font-family: var(--serif); overflow-x: hidden; }
body.invitation-locked { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { touch-action: manipulation; }

.page-stage { min-height: 100svh; position: relative; overflow-x: hidden; background: #151d18; }
.page-stage.is-locked { height: 100svh; overflow: hidden; }
.ambient-glow { position: fixed; inset: 0; pointer-events: none; background: radial-gradient(circle at 50% 20%, rgba(197,164,105,.09), transparent 32%); }
.invitation-shell { position: relative; width: min(100%, 430px); margin: 0 auto; overflow: hidden; background: var(--paper); box-shadow: 0 0 70px rgba(0,0,0,.35); }
.section { position: relative; min-height: 100svh; overflow: hidden; }

.opening { position: fixed; z-index: 100; inset: 0; width: min(100%, 430px); height: 100svh; margin: 0 auto; overflow: hidden; background: radial-gradient(circle at 50% 50%, #fcf8ef 0%, #f3eadb 100%); transition: opacity .9s ease, visibility .9s ease, transform 1s cubic-bezier(.2,.7,.2,1); }
.opening.is-open { opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-18px) scale(1.015); }
.opening__canvas, .dusk-hero__canvas, .ending__canvas { position: absolute; left: 50%; top: 50%; width: min(100%, 51.3158svh); aspect-ratio: 39 / 76; overflow: hidden; transform: translate(-50%, -50%); }
.opening__canvas { background: var(--paper-light); box-shadow: 0 0 70px rgba(68,52,38,.08); }
.opening__paper { position: absolute; inset: 0; opacity: .42; background-image: radial-gradient(rgba(82,65,48,.13) .55px, transparent .7px); background-size: 5px 5px; mix-blend-mode: multiply; }
.opening__image-wrap { position: absolute; inset: 7.5% 7.5% 21%; overflow: hidden; border-radius: 50% 50% 10px 10px / 28% 28% 10px 10px; box-shadow: 0 24px 60px rgba(77,60,46,.12); }
.opening__image { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 41%; filter: saturate(.82) sepia(.07) contrast(.96); }
.opening__image-wash { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(250,247,239,.02) 48%, rgba(247,241,229,.9) 87%, var(--paper-light) 100%); }
.opening__frame { position: absolute; inset: 3.5%; border: 1px solid rgba(145,118,77,.38); pointer-events: none; }
.opening__frame::before, .opening__frame::after { content: ""; position: absolute; width: 52px; height: 52px; border-color: var(--gold); opacity: .66; }
.opening__frame::before { left: -1px; top: -1px; border-left: 2px solid; border-top: 2px solid; }
.opening__frame::after { right: -1px; bottom: -1px; border-right: 2px solid; border-bottom: 2px solid; }
.opening__content { position: absolute; inset: 0; z-index: 2; text-align: center; }
.opening__kicker { position: absolute; top: 4.2%; left: 0; right: 0; margin: 0; color: #695c51; font: 600 9px/1 var(--sans); letter-spacing: .38em; }
.opening__line { position: absolute; top: 75.2%; left: 0; right: 0; margin: 0; color: var(--wine); font-size: 12px; letter-spacing: .28em; }
.opening__names { position: absolute; top: 78.8%; left: 0; right: 0; margin: 0; display: flex; align-items: center; justify-content: center; gap: 9px; color: #302923; font-size: clamp(26px, 8vw, 34px); font-weight: 500; line-height: 1.3; letter-spacing: .11em; }
.opening__names i { color: var(--gold); font-size: 13px; font-style: normal; font-weight: 400; }
.opening__date { position: absolute; top: 84.6%; left: 0; right: 0; margin: 0; color: var(--ink-soft); font: 500 10px/1 var(--sans); letter-spacing: .22em; }
.open-button { position: absolute; top: 87.3%; left: 50%; width: max-content; max-width: none; min-height: clamp(36px, 8.45svh, 48px); padding: 0 clamp(10px, 3.3svh, 19px) 0 clamp(12px, 4svh, 23px); display: inline-flex; align-items: center; gap: clamp(7px, 2.8svh, 16px); border: 1px solid rgba(95,76,58,.36); border-radius: 999px; color: var(--ink); background: rgba(255,255,255,.45); box-shadow: 0 11px 28px rgba(80,61,45,.08); font: 500 clamp(8px, 1.65svh, 11px)/1 var(--sans); letter-spacing: .13em; white-space: nowrap; transform: translateX(-50%); cursor: pointer; }
.open-button span { flex: 0 0 auto; white-space: nowrap; }
.open-button svg { width: clamp(13px, 3.16svh, 18px); flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.35; }

.dusk-hero { height: 100svh; min-height: 568px; color: var(--paper-light); background: linear-gradient(180deg, #b78068 0%, #8d6255 22%, #445048 58%, #1f2e26 100%); }
.dusk-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 18%, rgba(244,207,151,.42), transparent 27%), linear-gradient(180deg, transparent 63%, rgba(14,25,19,.58)); }
.dusk-hero__canvas { background: linear-gradient(180deg, transparent 0%, rgba(31,46,38,.12) 100%); }
.dusk-hero__sun { position: absolute; left: 50%; top: 18%; width: 96px; height: 96px; transform: translateX(-50%); border-radius: 50%; background: #e9c391; box-shadow: 0 0 65px rgba(243,192,128,.48); opacity: .72; }
.dusk-hero__mountains { position: absolute; left: -12%; right: -12%; bottom: 27%; height: 28%; background: #536057; opacity: .74; clip-path: polygon(0 61%, 16% 34%, 34% 54%, 53% 23%, 71% 49%, 83% 34%, 100% 59%, 100% 100%, 0 100%); }
.dusk-hero__grass { position: absolute; inset: auto 0 0; height: 31%; background: linear-gradient(180deg, #35483b, #17251d); }
.dusk-hero__grass::before { content: ""; position: absolute; inset: -25px 0 0; opacity: .38; background-image: repeating-linear-gradient(76deg, transparent 0 12px, rgba(218,198,159,.32) 13px 14px, transparent 15px 23px); }
.dusk-hero__arch { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: rgba(223,203,166,.5); stroke-width: 1.05; }
.dusk-hero__arch path:last-child { stroke-dasharray: 3 6; opacity: .5; }
.dusk-hero__content { position: absolute; z-index: 2; inset: 0; text-align: center; }
.eyebrow, .chapter-label { margin: 0; font: 600 9px/1.5 var(--sans); letter-spacing: .28em; }
.eyebrow { position: absolute; top: 9.5%; left: 0; right: 0; color: rgba(250,246,238,.64); }
.monogram { position: absolute; top: 16.5%; left: 50%; height: 29%; transform: translateX(-50%); }
.monogram.is-visible { transform: translateX(-50%); }
.monogram__image { width: auto; height: 100%; display: block; object-fit: contain; filter: drop-shadow(0 14px 28px rgba(15,24,19,.16)); }
.dusk-hero h2 { position: absolute; top: 48.5%; left: 0; right: 0; margin: 0; display: flex; flex-direction: column; color: #fffaf0; font-size: clamp(32px, 10vw, 43px); font-weight: 400; line-height: 1.34; letter-spacing: .14em; text-shadow: 0 12px 30px rgba(0,0,0,.22); }
.dusk-hero h2 i { margin: -1px 0 -2px; color: var(--gold-light); font-size: 13px; font-style: normal; }
.dusk-hero__invitation { position: absolute; top: 68%; left: 10%; width: 80%; margin: 0; color: rgba(255,250,240,.72); font-size: 13px; line-height: 2; letter-spacing: .09em; }
.date-stamp { position: absolute; z-index: 3; right: 6.5%; bottom: 6%; width: 53px; padding: 8px 0; display: grid; gap: 4px; text-align: center; border-block: 1px solid rgba(220,199,159,.52); }
.date-stamp small { color: rgba(255,248,235,.6); font: 600 7px/1 var(--sans); letter-spacing: .19em; }
.date-stamp strong { color: var(--gold-light); font: 400 29px/.9 Georgia, serif; }
.scroll-note { position: absolute; z-index: 2; left: 6.5%; bottom: 6.3%; display: flex; align-items: center; gap: 10px; color: rgba(250,244,232,.44); font: 600 7px/1 var(--sans); letter-spacing: .2em; }
.scroll-note i { width: 44px; height: 1px; overflow: hidden; background: rgba(250,244,232,.2); }
.scroll-note i::after { content: ""; display: block; width: 55%; height: 1px; background: var(--gold-light); animation: line-travel 2.7s ease-in-out infinite; }

.paper-section { background: var(--paper); }
.paper-grain { position: absolute; inset: 0; pointer-events: none; opacity: .42; background-image: radial-gradient(rgba(91,70,51,.13) .5px, transparent .7px); background-size: 5px 5px; }
.prologue { min-height: 790px; padding: 102px 31px 88px; }
.chapter-label { position: relative; z-index: 2; color: var(--gold); }
.chapter-label--light { color: var(--gold-light); }
.section-number { position: absolute; top: 93px; right: 28px; color: rgba(104,84,66,.17); font: italic 400 47px/1 Georgia, serif; }
.quote-mark { position: relative; margin-top: 64px; color: var(--wine); font: italic 400 66px/.7 Georgia, serif; }
.prologue h2 { position: relative; margin: 15px 0 32px; color: #3f342c; font-size: clamp(28px, 8vw, 35px); font-weight: 500; line-height: 1.65; letter-spacing: .07em; }
.prologue__copy { position: relative; margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 2.15; letter-spacing: .075em; }
.signature { position: relative; margin-top: 55px; padding-left: 34px; display: grid; gap: 9px; border-left: 1px solid var(--gold); }
.signature em { color: var(--wine); font: italic 400 17px/1.2 Georgia, serif; }
.signature strong { color: var(--ink); font-size: 12px; font-weight: 500; letter-spacing: .13em; }
.botanical { position: absolute; fill: none; stroke: rgba(101,83,67,.18); stroke-width: 1.1; }
.botanical--right { right: -51px; bottom: 18px; width: 190px; }

.days-section { min-height: 760px; padding: 105px 28px 80px; color: var(--paper-light); text-align: center; background: linear-gradient(160deg, #243229, #3c4a3e 48%, #1c2922); }
.days-section__rings { position: absolute; left: 50%; top: 48%; width: 318px; height: 318px; transform: translate(-50%, -50%); border: 1px solid rgba(220,201,163,.24); border-radius: 50%; box-shadow: 0 0 0 23px rgba(220,201,163,.025), 0 0 0 47px rgba(220,201,163,.014); }
.days-section__rings i { position: absolute; inset: 24px; border: 1px dashed rgba(220,201,163,.17); border-radius: 50%; animation: slow-spin 40s linear infinite; }
.days-section__rings i:last-child { inset: 64px; border-style: solid; opacity: .55; }
.days-number { position: relative; margin-top: 131px; color: var(--gold-light); font: 300 clamp(87px, 26vw, 112px)/.9 Georgia, serif; letter-spacing: -.06em; text-shadow: 0 18px 45px rgba(0,0,0,.22); }
.days-unit { position: relative; margin: 17px 0 0; color: rgba(249,243,232,.55); font: 600 9px/1 var(--sans); letter-spacing: .45em; }
.days-copy { position: relative; width: 86%; margin: 142px auto 0; color: rgba(249,243,232,.77); font-size: 14px; line-height: 2.1; letter-spacing: .08em; }
.coordinate-line { position: absolute; left: 27px; right: 27px; bottom: 27px; display: flex; align-items: center; gap: 13px; color: rgba(249,243,232,.39); font: 500 7px/1 var(--sans); letter-spacing: .18em; }
.coordinate-line i { flex: 1; height: 1px; background: rgba(249,243,232,.16); }

figure { margin: 0; }
img { max-width: 100%; }
.story-section { position: relative; overflow: hidden; }
.story-section h2 { position: relative; margin: 31px 0 25px; color: var(--ink); font-size: clamp(28px, 8vw, 35px); font-weight: 500; line-height: 1.65; letter-spacing: .055em; }
.story-copy { position: relative; margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 2.05; letter-spacing: .055em; }
.story-copy--light { color: rgba(249,243,232,.72); }
.story-roman { position: absolute; z-index: 1; top: 86px; right: 27px; color: rgba(105,84,66,.18); font: italic 400 54px/1 Georgia, serif; }
.story-roman--light { color: rgba(221,202,166,.2); }

.story-joy { min-height: auto; padding: 105px 24px 110px; }
.joy-gallery { position: relative; margin-top: 52px; }
.joy-gallery figure { position: relative; overflow: hidden; background: #d7ccbc; }
.joy-gallery img { width: 100%; height: 100%; display: block; object-fit: cover; }
.joy-gallery__wide { height: 244px; padding: 8px 8px 35px; border: 1px solid rgba(79,62,48,.14); background: #f8f3e9 !important; box-shadow: 0 22px 48px rgba(60,46,36,.12); transform: rotate(-1deg); }
.joy-gallery__wide img { object-position: center 42%; }
.joy-gallery__wide figcaption { position: absolute; left: 15px; bottom: 12px; color: var(--wine); font: 600 8px/1 var(--sans); letter-spacing: .22em; }
.joy-gallery__pair { margin: 22px 3px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: start; }
.joy-gallery__pair figure { height: 310px; border: 7px solid var(--paper-light); box-shadow: 0 15px 32px rgba(64,48,37,.1); }
.joy-gallery__pair figure:first-child { transform: translateY(12px) rotate(1.4deg); }
.joy-gallery__pair figure:last-child { transform: rotate(-1.2deg); }

.story-shadow { min-height: auto; padding: 108px 25px 112px; color: var(--paper-light); background: linear-gradient(160deg, #1e2b24, #344238 52%, #253029); }
.story-shadow__halo { position: absolute; top: 180px; left: 50%; width: 420px; height: 620px; transform: translateX(-50%); border: 1px solid rgba(219,201,166,.13); border-radius: 50%; box-shadow: 0 0 0 28px rgba(219,201,166,.015); }
.story-shadow h2 { color: var(--paper-light); }
.quiet-gallery { position: relative; height: 610px; margin: 55px -4px 15px; }
.quiet-gallery figure { position: absolute; overflow: hidden; border: 1px solid rgba(232,216,188,.24); box-shadow: 0 28px 50px rgba(0,0,0,.25); }
.quiet-gallery img { width: 100%; height: 100%; display: block; object-fit: cover; filter: saturate(.72) contrast(.98); }
.quiet-gallery__back { width: 65%; height: 410px; top: 0; right: 0; transform: rotate(1.2deg); }
.quiet-gallery__back img { object-position: center 24%; }
.quiet-gallery__front { width: 91%; height: auto; aspect-ratio: 3 / 2; left: 0; top: 320px; transform: rotate(-1.2deg); }
.quiet-gallery__front img { object-position: center; }
.quiet-gallery > span { position: absolute; left: 0; bottom: 7px; width: 100%; color: rgba(237,221,192,.48); font: 600 8px/1.8 var(--sans); letter-spacing: .13em; text-align: right; }
.story-shadow blockquote { position: relative; margin: 49px 0 0; padding: 27px 0 0 22px; border-top: 1px solid rgba(221,201,165,.24); color: var(--gold-light); font-size: 17px; line-height: 2; letter-spacing: .08em; }

.direction { min-height: auto; padding: 106px 0 0; }
.direction > .chapter-label, .direction > h2, .direction > .story-copy { margin-left: 27px; margin-right: 27px; }
.direction > .story-roman { top: 87px; }
.direction-scene { position: relative; height: 590px; margin: 54px 20px 0; overflow: hidden; background: #7d887e; box-shadow: 0 24px 54px rgba(58,44,34,.14); }
.direction-scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 42%, rgba(24,36,29,.7) 100%); }
.direction-scene__image { --parallax-y: 0px; width: 100%; height: calc(100% + 42px); display: block; object-fit: cover; object-position: center 40%; transform: translate3d(0, calc(var(--parallax-y) - 21px), 0) scale(1.025); will-change: transform; }
.direction-scene figcaption { position: absolute; z-index: 2; left: 23px; right: 23px; bottom: 25px; display: grid; gap: 9px; color: var(--paper-light); }
.direction-scene figcaption span { font: 600 8px/1 var(--sans); letter-spacing: .25em; color: var(--gold-light); }
.direction-scene figcaption strong { font-size: 18px; font-weight: 500; letter-spacing: .08em; }
.direction-pair { position: relative; margin: 25px 20px 110px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.direction-pair figure { height: auto; aspect-ratio: 2 / 3; overflow: hidden; }
.direction-pair figure:first-child { margin-top: 33px; }
.direction-pair img { width: 100%; height: 100%; display: block; object-fit: cover; }
.direction-pair figure:first-child img { object-position: center 25%; }
.direction-pair figure:last-child img { object-position: center 32%; }

.promise { min-height: auto; padding: 108px 24px 105px; color: var(--paper-light); background: linear-gradient(155deg, #74433f, #5c3533 58%, #3c2928); }
.promise__rings { position: absolute; top: 110px; left: 50%; width: 460px; height: 650px; transform: translateX(-50%); fill: none; stroke: rgba(223,201,163,.18); stroke-width: 1; }
.promise h2 { color: var(--paper-light); }
.promise h2 em { color: var(--gold-light); font-style: normal; }
.promise-gallery { position: relative; margin: 56px 1px 50px; display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.promise-gallery figure { overflow: hidden; border: 5px solid rgba(248,242,231,.82); background: #d9cdbd; box-shadow: 0 22px 44px rgba(32,17,17,.22); }
.promise-gallery img { width: 100%; height: 100%; display: block; object-fit: cover; filter: saturate(.9); }
.promise-gallery__one { grid-column: 1 / -1; height: 385px; transform: rotate(-.8deg); }
.promise-gallery__one img { object-position: center 24%; }
.promise-gallery__two, .promise-gallery__three { height: 310px; }
.promise-gallery__two { transform: translateY(10px) rotate(1.2deg); }
.promise-gallery__two img { object-position: center 30%; }
.promise-gallery__three { transform: rotate(-1deg); }
.promise-gallery__three img { object-position: center 40%; }
.promise__seal { width: 56px; height: 56px; margin: 14px 0 35px 5px; display: grid; place-items: center; border: 1px solid rgba(225,203,164,.58); border-radius: 50%; color: var(--gold-light); font-size: 27px; }
.promise__closing { margin: 0; color: rgba(249,243,232,.79); font-size: 16px; line-height: 2.1; letter-spacing: .09em; }

.details { min-height: auto; padding: 106px 25px 108px; }
.details h2 { margin-bottom: 40px; }
.date-card { position: relative; padding: 22px 20px 26px; border: 1px solid rgba(77,59,46,.2); text-align: center; background: rgba(255,255,255,.2); }
.date-card::before, .date-card::after { content: ""; position: absolute; width: 29px; height: 29px; border-color: var(--gold); opacity: .68; }
.date-card::before { left: -1px; top: -1px; border-left: 2px solid; border-top: 2px solid; }
.date-card::after { right: -1px; bottom: -1px; border-right: 2px solid; border-bottom: 2px solid; }
.date-card__top { display: flex; justify-content: space-between; color: var(--ink-soft); font: 600 8px/1 var(--sans); letter-spacing: .26em; }
.date-card__main { margin: 15px 0 12px; display: grid; grid-template-columns: 1fr 1.3fr 1fr; align-items: center; }
.date-card__main span { padding-top: 7px; border-top: 1px solid rgba(80,62,48,.22); font: 400 18px/1 Georgia, serif; }
.date-card__main strong { color: var(--wine); font: 400 84px/.9 Georgia, serif; }
.date-card > p { margin: 0; color: var(--ink); font-size: 11px; letter-spacing: .18em; }
.countdown { margin: 20px 0 52px; display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; border: 1px solid rgba(79,61,48,.15); background: rgba(79,61,48,.15); }
.countdown div { min-width: 0; padding: 15px 2px 13px; text-align: center; background: var(--paper); }
.countdown strong { display: block; color: var(--ink); font: 400 26px/1.1 Georgia, serif; }
.countdown span { display: block; margin-top: 7px; color: var(--ink-soft); font: 500 9px/1 var(--sans); letter-spacing: .13em; }
.timeline { position: relative; padding: 4px 0; }
.timeline__line { position: absolute; left: 59px; top: 9px; bottom: 10px; width: 1px; background: linear-gradient(var(--wine), rgba(116,67,63,.12)); }
.timeline article { position: relative; display: grid; grid-template-columns: 59px 1fr; gap: 24px; padding: 8px 2px 46px; }
.timeline article:last-child { padding-bottom: 3px; }
.timeline article::before { content: ""; position: absolute; left: 54px; top: 15px; width: 9px; height: 9px; border: 1px solid var(--wine); border-radius: 50%; background: var(--paper); }
.timeline time { color: var(--wine); font: 400 19px/1.3 Georgia, serif; }
.timeline article span { color: var(--gold); font: 600 8px/1 var(--sans); letter-spacing: .22em; }
.timeline h3 { margin: 9px 0 8px; color: var(--ink); font-size: 22px; font-weight: 500; letter-spacing: .06em; }
.timeline p { margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.9; letter-spacing: .035em; }

.location { min-height: auto; color: var(--paper-light); background: var(--forest); }
.location__map { position: relative; height: 470px; overflow: hidden; background: #d8dfdd; }
.location__map::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 56%, rgba(36,50,41,.82) 100%); }
.location__map > img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; filter: saturate(.72) sepia(.06); }
.location__pin { position: absolute; z-index: 2; left: 51%; top: 46%; transform: translate(-50%,-50%); display: flex; flex-direction: column; align-items: center; }
.location__pin i { position: relative; width: 27px; height: 27px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--wine); box-shadow: 0 9px 22px rgba(0,0,0,.2); }
.location__pin i::after { content: ""; position: absolute; left: 9px; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--paper-light); }
.location__pin small { margin-top: 12px; padding: 6px 9px; color: var(--paper-light); background: rgba(31,45,36,.78); font: 500 9px/1 var(--sans); letter-spacing: .12em; white-space: nowrap; }
.location__content { padding: 56px 28px 76px; }
.location__content h2 { margin-bottom: 13px; color: var(--paper-light); font-size: 36px; }
.location__content > p:not(.chapter-label) { width: 92%; margin: 0; color: rgba(249,243,232,.68); font-size: 14px; line-height: 2; letter-spacing: .05em; }
.location__actions { margin-top: 34px; display: flex; align-items: center; gap: 19px; }
.primary-action { min-height: 50px; padding: 0 18px 0 20px; display: inline-flex; align-items: center; gap: 12px; border: 1px solid rgba(218,199,163,.46); border-radius: 999px; color: var(--paper-light); font: 500 12px/1 var(--sans); letter-spacing: .1em; text-decoration: none; }
.primary-action svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.45; }
.text-action { min-height: 44px; padding: 0; border: 0; border-bottom: 1px solid rgba(249,243,232,.42); color: rgba(249,243,232,.7); background: transparent; font: 500 12px/1 var(--sans); letter-spacing: .08em; cursor: pointer; }

.rsvp { min-height: auto; padding: 106px 28px 112px; }
.rsvp h2 { margin-bottom: 22px; }
.rsvp__intro { margin: 0 0 39px; color: var(--ink-soft); font-size: 13px; line-height: 1.95; letter-spacing: .035em; }
.rsvp-form { position: relative; display: grid; gap: 23px; }
.rsvp-form label > span { display: block; margin-bottom: 9px; color: var(--ink-soft); font: 500 12px/1 var(--sans); letter-spacing: .11em; }
.rsvp-form input, .rsvp-form select, .rsvp-form textarea { width: 100%; min-height: 50px; padding: 11px 0; border: 0; border-bottom: 1px solid rgba(76,59,46,.29); border-radius: 0; outline: none; color: var(--ink); background: transparent; font-family: var(--serif); font-size: 16px; line-height: 1.55; appearance: none; }
.rsvp-form textarea { min-height: 90px; resize: vertical; }
.rsvp-form input:focus, .rsvp-form select:focus, .rsvp-form textarea:focus { border-bottom-color: var(--wine); box-shadow: 0 1px 0 var(--wine); }
.submit-action { min-height: 53px; margin-top: 8px; border: 0; border-radius: 999px; color: var(--paper-light); background: var(--wine); box-shadow: 0 13px 28px rgba(116,67,63,.22); font: 500 12px/1 var(--sans); letter-spacing: .17em; cursor: pointer; }
.rsvp-success { position: relative; padding: 45px 25px; border: 1px solid rgba(76,59,46,.18); text-align: center; background: rgba(255,255,255,.2); }
.rsvp-success > span { width: 45px; height: 45px; margin: 0 auto 18px; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--wine); font: 400 20px/1 Georgia, serif; }
.rsvp-success h3 { margin: 0 0 13px; font-size: 23px; font-weight: 500; letter-spacing: .08em; }
.rsvp-success p { margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.9; }
.rsvp-success button { min-height: 44px; margin-top: 21px; padding: 0; border: 0; border-bottom: 1px solid var(--wine); color: var(--wine); background: transparent; font: 500 12px/1 var(--sans); cursor: pointer; }

.ending { height: 100svh; min-height: 568px; color: var(--paper-light); background: radial-gradient(circle at 50% 40%, #2d3d32 0%, #18261e 70%); }
.ending__canvas { background: #1b2821; box-shadow: 0 0 70px rgba(0,0,0,.22); }
.ending__canvas::before { content: "09 / 05"; position: absolute; z-index: 2; right: 3.4%; top: 11.5%; color: rgba(246,235,214,.54); font: 600 7px/1 var(--sans); letter-spacing: .24em; writing-mode: vertical-rl; }
.ending__canvas::after { content: ""; position: absolute; z-index: 2; left: 7.2%; top: 7.8%; width: 16%; height: 1px; background: var(--gold-light); opacity: .72; }
.ending__portrait { position: absolute; top: 9.6%; left: 7.2%; width: 85.6%; height: 56%; display: block; object-fit: cover; object-position: center 35%; filter: saturate(.76) contrast(.96); box-shadow: 0 28px 58px rgba(0,0,0,.3); }
.ending__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,31,25,.06) 0%, rgba(20,31,25,.08) 40%, rgba(20,31,25,.68) 57%, #142019 73%, #142019 100%); }
.ending__content { position: absolute; z-index: 3; inset: 0; text-align: center; }
.ending__content .chapter-label { position: absolute; top: 5.4%; left: 0; right: 0; }
.ending__quote { position: absolute; top: 54%; left: 0; right: 0; margin: 0; color: rgba(255,249,238,.9); font-size: clamp(15px, 4.6vw, 18px); line-height: 1.92; letter-spacing: .1em; text-shadow: 0 4px 18px rgba(0,0,0,.3); }
.ending__names { position: absolute; top: 75.2%; left: 0; right: 0; display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--paper-light); font-size: clamp(21px, 6.4vw, 25px); letter-spacing: .11em; }
.ending__names i { color: var(--gold-light); font: italic 400 16px/1 Georgia, serif; }
.ending__date { position: absolute; top: 81.5%; left: 0; right: 0; margin: 0; color: var(--gold-light); font: 500 10px/1 var(--sans); letter-spacing: .22em; }
.share-action { position: absolute; top: 85.3%; left: 50%; min-height: 46px; padding: 0 22px; border: 1px solid rgba(223,203,166,.45); border-radius: 999px; color: var(--paper-light); background: rgba(22,34,27,.28); backdrop-filter: blur(5px); font: 500 11px/1 var(--sans); letter-spacing: .15em; transform: translateX(-50%); cursor: pointer; }
.ending__thanks { position: absolute; left: 0; right: 0; bottom: 2.8%; margin: 0; color: rgba(249,243,232,.42); font: 600 8px/1 var(--sans); letter-spacing: .22em; }

.music-control { position: fixed; z-index: 70; top: max(15px, env(safe-area-inset-top)); right: max(14px, calc((100vw - 430px) / 2 + 14px)); width: 54px; min-height: 57px; padding: 4px 3px 2px; display: grid; justify-items: center; gap: 3px; border: 0; border-radius: 28px; color: var(--paper-light); background: rgba(27,40,32,.76); box-shadow: 0 9px 27px rgba(0,0,0,.2); backdrop-filter: blur(9px); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-7px); transition: opacity .4s ease, transform .4s ease, visibility .4s ease; cursor: pointer; }
.music-control.is-shown { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
.music-control__disc { position: relative; width: 35px; height: 35px; display: grid; place-items: center; border: 1px solid rgba(222,201,164,.55); border-radius: 50%; }
.music-control__disc::before { content: "♪"; color: var(--gold-light); font: 400 13px/1 Georgia, serif; }
.music-control__disc i { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--gold-light); }
.music-control small { font: 600 6px/1 var(--sans); letter-spacing: .15em; opacity: .7; }
.music-control.is-playing .music-control__disc { animation: slow-spin 4s linear infinite; }
.toast { position: fixed; z-index: 130; left: 50%; bottom: max(28px, env(safe-area-inset-bottom)); width: max-content; max-width: min(80vw, 320px); padding: 11px 16px; border-radius: 999px; color: var(--paper-light); background: rgba(25,37,30,.92); box-shadow: 0 12px 30px rgba(0,0,0,.18); font: 500 12px/1.5 var(--sans); letter-spacing: .05em; text-align: center; opacity: 0; visibility: hidden; transform: translate(-50%, 20px); transition: .32s ease; }
.toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }

[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.68,.24,1); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
.monogram[data-reveal] { transform: translate(-50%, 22px); }
.monogram[data-reveal].is-visible { transform: translate(-50%, 0); }
.share-action[data-reveal] { transform: translate(-50%, 22px); }
.share-action[data-reveal].is-visible { transform: translate(-50%, 0); }
.petal-field { position: fixed; z-index: 55; inset: 0; width: min(100%, 430px); margin: auto; overflow: hidden; pointer-events: none; opacity: 0; transition: opacity .8s ease; }
body.invitation-open .petal-field { opacity: 1; }
.petal-field i { position: absolute; left: var(--petal-left); top: -20px; width: 7px; height: 11px; border-radius: 70% 30% 70% 30%; background: rgba(230,197,181,.37); animation: petal-fall var(--petal-duration) linear var(--petal-delay) infinite; }

@keyframes line-travel { 0% { transform: translateX(-110%); } 58%, 100% { transform: translateX(220%); } }
@keyframes slow-spin { to { transform: rotate(360deg); } }
@keyframes petal-fall { 0% { transform: translate3d(0,-15px,0) rotate(0); } 52% { transform: translate3d(var(--petal-sway),52vh,0) rotate(180deg); } 100% { transform: translate3d(calc(var(--petal-sway) * -.65),105vh,0) rotate(360deg); } }

@media (min-width: 431px) {
  .opening, .petal-field { left: 50%; right: auto; transform: translateX(-50%); }
  .opening.is-open { transform: translate(-50%, -18px) scale(1.015); }
}

@media (max-width: 350px) {
  .opening__names { font-size: 25px; }
  .prologue, .first-slice-ending { padding-inline: 24px; }
  .dusk-hero h2 { font-size: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .petal-field { display: none; }
}
