:root {
  --wine: #32151f;
  --wine-deep: #250e17;
  --wine-light: #4c2730;
  --ivory: #f3eee7;
  --ivory-deep: #e9e0d5;
  --ink: #2d2224;
  --muted: #6d5e5c;
  --gold: #c9a56a;
  --gold-light: #e3cf9e;
  --serif: "Bodoni 72", Didot, "Baskerville", Georgia, serif;
  --sans: Satoshi, "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
.has-js body.cover-active { overflow: hidden; background: var(--wine); }
.has-js body.cover-active main { visibility: hidden; }
.has-js body.cover-active main.is-opening-reveal { visibility: visible; }
html[data-invitation-side="bride"] .has-js body.cover-active main { visibility: visible; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
a { color: inherit; }
img { display: block; max-width: 100%; }
::selection { background: var(--gold); color: var(--wine-deep); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }

.has-js #cover-frame { display: block; position: fixed; inset: 0; z-index: 100; width: 100%; height: 100%; border: 0; background: transparent; }
#cover-frame[hidden] { display: none !important; }
html[data-invitation-side="bride"] #cover-frame,
html[data-invitation-side="groom"] .cover { display: none !important; }

.cover { display: none; }
.has-js .cover { display: block; position: fixed; inset: 0; z-index: 100; overflow: hidden; color: var(--ivory); }
.cover[hidden] { display: none !important; }
.cover:focus { outline: none; }
.cover__panel { position: absolute; top: 0; bottom: 0; width: 50.2%; background: radial-gradient(ellipse at center, #3b1b26 0%, var(--wine) 74%); transform: translate3d(0,0,0); backface-visibility: hidden; will-change: transform; transition: transform .82s cubic-bezier(.66,0,.19,1) .08s; }
.cover__panel--left { left: 0; }
.cover__panel--right { right: 0; }
.cover__panel::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 8px, rgba(255,255,255,.025) 8px 9px); opacity: .24; pointer-events: none; }
.cover__ganesh { position: absolute; z-index: 5; top: clamp(1.2rem, 3vw, 2.3rem); left: clamp(1.2rem, 3vw, 2.3rem); width: clamp(48px, 5vw, 64px); height: auto; opacity: .96; transition: opacity .3s ease; }
.cover__thread { position: absolute; z-index: 4; top: 0; left: 50%; width: 100px; height: 100%; transform: translateX(-50%); overflow: visible; pointer-events: auto; touch-action: none; transition: transform .7s cubic-bezier(.65,0,.25,1), opacity .35s ease .55s; }
.cover__thread path { fill: none; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.cover__thread-shadow { stroke: #12090d; stroke-width: 4; opacity: .48; }
.cover__thread-line { stroke: #d6aa62; stroke-width: 1.8; filter: drop-shadow(0 0 2px rgba(247,208,133,.25)); }
.cover__thread-shadow, .cover__thread-line { pointer-events: none; }
.cover__thread-hit { stroke: transparent; stroke-width: 30px; pointer-events: stroke; }
.cover__content { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100svh; padding: 5rem 1rem 4rem; text-align: center; transition: opacity .32s ease, transform .42s cubic-bezier(.22,1,.36,1); }
.cover__names { width: 100%; margin: 0; color: var(--ivory); font-family: var(--serif); font-size: clamp(4.2rem, 11vw, 7.4rem); font-weight: 400; letter-spacing: -.065em; line-height: .86; }
.cover__names span { display: block; margin: .04em 0; color: var(--gold-light); font-size: .8em; font-style: italic; }
.cover__poem { margin: 1.7rem 0 0; color: #eee1d7; font-family: var(--serif); font-size: 1.1rem; font-style: italic; }
.cover__open { position: relative; z-index: 5; display: grid; place-items: center; width: 40px; height: 40px; margin: 1rem 0 .45rem; padding: 0; border: 1px solid #d6aa62; border-radius: 50%; background: #391b26; box-shadow: 0 0 0 6px rgba(214,170,98,.09); color: var(--gold-light); touch-action: none; user-select: none; transform: translate3d(0,var(--pull-distance, 0px),0); transition: transform .42s cubic-bezier(.22,1,.36,1), box-shadow .3s ease; }
.cover__open span { font-size: 1.05rem; line-height: 1; }
.cover__open:hover { box-shadow: 0 0 0 8px rgba(214,170,98,.17); }
.cover.is-pulling .cover__open { transition: none; }
.cover__hint { margin: .2rem 0 0; color: var(--ivory); font-size: .86rem; letter-spacing: .04em; }
.cover__hint span { display: inline-block; margin-left: .2rem; color: var(--gold-light); animation: thread-nudge 2.2s ease-in-out infinite; }
.cover__poem, .cover__hint { opacity: var(--copy-opacity, 1); transition: opacity .25s ease; }
.cover.is-pulling .cover__poem, .cover.is-pulling .cover__hint { transition: none; }
.cover.is-opening .cover__thread { transform: translate3d(-50%, -108%, 0); opacity: 0; }
.cover.is-opening .cover__content { opacity: 0; transform: translateY(14px); pointer-events: none; }
.cover.is-opening .cover__ganesh { opacity: 0; }
.cover.is-opening .cover__panel--left { transform: translate3d(-102%,0,0); }
.cover.is-opening .cover__panel--right { transform: translate3d(102%,0,0); }
@keyframes thread-nudge { 0%, 63%, 100% { transform: translateY(0); } 75% { transform: translateY(5px); } 86% { transform: translateY(0); } }

@keyframes hero-image-bloom { 0% { opacity: 0; transform: scale(1.08); } 40% { opacity: .52; } 100% { opacity: 1; transform: scale(1); } }
@keyframes hero-copy-arrive { from { opacity: 0; transform: translate3d(0,20px,0); } to { opacity: 1; transform: translate3d(0,0,0); } }
.is-opening-reveal .hero__image { animation: hero-image-bloom 1.7s cubic-bezier(.2,.72,.24,1) both; }
.is-opening-reveal .hero__text { animation: hero-copy-arrive .9s cubic-bezier(.2,.8,.22,1) .45s both; }
.is-opening-reveal .site-header { animation: hero-header-arrive .65s cubic-bezier(.2,.8,.22,1) .72s both; }
@keyframes hero-header-arrive { from { opacity: 0; transform: translate3d(0,-8px,0); } to { opacity: 1; transform: translate3d(0,0,0); } }

.music-toggle { position: fixed; z-index: 20; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem); display: inline-flex; align-items: center; gap: .55rem; min-height: 42px; padding: .55rem .8rem; border: 1px solid rgba(227,207,158,.7); border-radius: 2px; background: rgba(50,21,31,.94); color: var(--ivory); font-size: .72rem; letter-spacing: .04em; box-shadow: 0 8px 20px rgba(19,5,10,.18); }
.music-toggle__icon { color: var(--gold-light); font-family: var(--serif); font-size: 1.3rem; line-height: 1; }
.music-toggle:hover { background: var(--wine-light); }

.hero { position: relative; display: grid; grid-template-columns: 47% 53%; min-height: max(720px, 100svh); background: var(--wine); color: var(--ivory); overflow: hidden; }
.site-header { position: absolute; z-index: 4; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: 2.1rem clamp(1.4rem,4.3vw,5rem); }
.site-mark { display: inline-flex; align-items: baseline; gap: .08em; text-decoration: none; font-family: var(--serif); font-size: 1.6rem; letter-spacing: -.07em; line-height: 1; }
.site-mark__amp { color: var(--gold); font-style: italic; font-size: .8em; }
.hero__text { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 11rem clamp(1.4rem,5.2vw,6rem) 5rem; }
.hero__kicker { margin: 0 0 2.2rem; color: var(--gold-light); font-size: .91rem; letter-spacing: .07em; }
.hero h1 { margin: 0 0 2rem; width: 100%; max-width: 750px; font-family: var(--serif); font-size: clamp(5.25rem, 7.25vw, 9.5rem); font-weight: 400; letter-spacing: -.078em; line-height: .83; }
.hero h1 span { display: block; white-space: nowrap; }
.hero h1:focus { outline: none; }
.hero__message { max-width: 20rem; margin: .65rem 0 0; color: #ecdfd7; font-size: clamp(1rem,1.25vw,1.18rem); line-height: 1.6; }
.section-scroll { display: inline-flex; width: max-content; align-items: center; gap: .8rem; color: var(--wine); font-size: .72rem; letter-spacing: .055em; text-decoration: none; }
.section-scroll__line { position: relative; display: block; flex: 0 0 1px; width: 1px; height: 32px; background: linear-gradient(to bottom, transparent, var(--gold)); transition: height .3s ease; }
.section-scroll__line::after { position: absolute; bottom: 1px; left: 50%; width: 7px; height: 7px; border-right: 1px solid var(--gold); border-bottom: 1px solid var(--gold); content: ""; animation: scroll-cue 1.7s cubic-bezier(.35,.05,.25,1) infinite; }
.section-scroll:hover .section-scroll__line { height: 40px; }
.hero__scroll { margin-top: auto; padding-top: 4rem; color: var(--ivory); font-size: .84rem; opacity: 0; transform: translateY(8px); }
#top.is-revealed .hero__scroll { animation: scroll-prompt-arrive .8s cubic-bezier(.22,1,.36,1) .38s both; }
@keyframes scroll-prompt-arrive { to { opacity: 1; transform: translateY(0); } }
@keyframes scroll-cue { 0% { opacity: 0; transform: translate(-50%, -8px) rotate(45deg); } 28% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 8px) rotate(45deg); } }
@media (prefers-reduced-motion: reduce) { .section-scroll__line::after { animation: none; opacity: 1; transform: translate(-50%, 0) rotate(45deg); } #top.is-revealed .hero__scroll { opacity: 1; transform: none; animation: none; } }
.hero__image-wrap { grid-column: 2; grid-row: 1; overflow: hidden; min-height: inherit; }
.hero__image { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero__edge { position: absolute; z-index: 2; top: 0; bottom: 0; left: 47%; width: 1px; background: rgba(255,231,185,.45); opacity: .6; }

.section-intro { margin: 0 0 1.4rem; color: var(--muted); font-size: .83rem; letter-spacing: .055em; }
.date-section { padding: clamp(7rem,13vw,13rem) 1.25rem clamp(7rem,12vw,12rem); text-align: center; background: var(--ivory); }
.date-section__intro h2, .journey__intro h2, .location h2 { margin: 0; font-family: var(--serif); font-size: clamp(3.7rem,6.4vw,7.7rem); font-weight: 400; letter-spacing: -.067em; line-height: .95; }
.date-section__intro h2 em, .journey__intro h2 em, .location h2 em { font-weight: 400; }
.scratch { width: min(100%, 750px); margin: clamp(4.25rem,7vw,7rem) auto 0; }
.scratch__frame { position: relative; height: clamp(275px,37vw,410px); background: #efe5d9; overflow: hidden; }
.scratch__frame::before, .scratch__frame::after { content: ""; position: absolute; z-index: 3; left: 50%; transform: translateX(-50%); width: 68px; height: 1px; background: #bda88a; pointer-events: none; }
.scratch__frame::before { top: 27px; }
.scratch__frame::after { bottom: 27px; }
.scratch__answer { position: absolute; isolation: isolate; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; color: var(--wine); text-align: center; }
.scratch__glow { position: absolute; z-index: 0; top: 50%; left: 50%; width: min(58%, 260px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle,rgba(234,199,133,.46) 0%,rgba(234,199,133,.2) 40%,transparent 73%); opacity: 0; transform: translate(-50%,-50%) scale(.25); pointer-events: none; }
.scratch.is-revealed .scratch__glow { animation: scratch-glow-bloom 1.08s ease-out .02s both; }
.scratch__rosette { position: absolute; z-index: 0; top: 50%; left: 50%; width: min(58%, 260px); aspect-ratio: 1; overflow: visible; transform: translate(-50%,-50%) scale(.48) rotate(-18deg); opacity: 0; }
.scratch__rosette path, .scratch__rosette circle { fill: rgba(197,156,95,.2); stroke: #9e6b36; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; }
.scratch__rosette-inner path { fill: none; stroke-width: 1; }
.scratch__rosette-ring { stroke: rgba(155,111,58,.55) !important; stroke-width: .8 !important; }
.scratch__rosette-ring--inner { stroke: rgba(155,111,58,.72) !important; }
.scratch__rosette-center { fill: rgba(188,143,79,.12) !important; stroke: #a87843 !important; }
.scratch__days, .scratch__month, .scratch__city { position: relative; z-index: 1; }
.scratch__spark { position: absolute; z-index: 2; top: 50%; left: 50%; width: 5px; height: 5px; border-radius: 50%; background: #e0b76f; box-shadow: 0 0 12px rgba(183,132,62,.9); opacity: 0; pointer-events: none; }
.scratch__spark::before, .scratch__spark::after { position: absolute; top: 50%; left: 50%; border-radius: 2px; background: #f4d89d; content: ""; transform: translate(-50%,-50%); }
.scratch__spark::before { width: 1.5px; height: 14px; }
.scratch__spark::after { width: 14px; height: 1.5px; }
.scratch__spark--one { --spark-x: -83px; --spark-y: -74px; --spark-delay: .04s; }
.scratch__spark--two { --spark-x: -32px; --spark-y: -102px; --spark-delay: .1s; }
.scratch__spark--three { --spark-x: 66px; --spark-y: -83px; --spark-delay: .14s; }
.scratch__spark--four { --spark-x: 96px; --spark-y: -22px; --spark-delay: .2s; }
.scratch__spark--five { --spark-x: 68px; --spark-y: 74px; --spark-delay: .26s; }
.scratch__spark--six { --spark-x: -18px; --spark-y: 105px; --spark-delay: .32s; }
.scratch__spark--seven { --spark-x: -92px; --spark-y: 46px; --spark-delay: .38s; }
.scratch__spark--eight { --spark-x: -102px; --spark-y: -28px; --spark-delay: .44s; }
.scratch.is-revealed .scratch__rosette { animation: scratch-rosette-bloom 1.18s cubic-bezier(.16,1,.3,1) .08s both; }
.scratch.is-revealed .scratch__rosette path, .scratch.is-revealed .scratch__rosette circle { animation: rosette-thread-draw .88s ease-out .2s both; }
.scratch.is-revealed .scratch__spark { animation: scratch-spark .72s cubic-bezier(.16,1,.3,1) var(--spark-delay) both; }
.scratch.is-revealed .scratch__days { animation: date-reveal .64s cubic-bezier(.18,.8,.24,1) .08s both; }
.scratch.is-revealed .scratch__month { animation: date-reveal .58s cubic-bezier(.18,.8,.24,1) .18s both; }
.scratch.is-revealed .scratch__city { animation: date-reveal .52s cubic-bezier(.18,.8,.24,1) .26s both; }
@keyframes scratch-rosette-bloom { 0% { opacity: 0; transform: translate(-50%,-50%) scale(.48) rotate(-18deg); } 62% { opacity: .55; transform: translate(-50%,-50%) scale(1.09) rotate(5deg); } 82% { opacity: .45; transform: translate(-50%,-50%) scale(.98) rotate(-2deg); } 100% { opacity: .5; transform: translate(-50%,-50%) scale(1) rotate(0); } }
@keyframes scratch-glow-bloom { 0% { opacity: 0; transform: translate(-50%,-50%) scale(.25); } 28% { opacity: .82; transform: translate(-50%,-50%) scale(1.18); } 100% { opacity: 0; transform: translate(-50%,-50%) scale(1.58); } }
@keyframes rosette-thread-draw { to { stroke-dashoffset: 0; } }
@keyframes scratch-spark { 0% { opacity: 0; transform: translate(-50%,-50%) scale(.25); } 18% { opacity: .9; transform: translate(-50%,-50%) scale(1); } 100% { opacity: 0; transform: translate(calc(-50% + var(--spark-x)),calc(-50% + var(--spark-y))) scale(0); } }
@keyframes date-reveal { from { opacity: .5; filter: blur(4px); transform: translateY(10px) scale(.96); } to { opacity: 1; filter: blur(0); transform: translateY(0) scale(1); } }
.scratch__days { font-family: var(--serif); font-size: clamp(5rem,11.4vw,10.5rem); line-height: .79; letter-spacing: -.075em; white-space: nowrap; }
.scratch__days span { color: #ab8050; font-size: .62em; font-style: italic; }
.scratch__month { margin-top: 1.3rem; font-family: var(--serif); font-size: clamp(1.9rem,3.6vw,3.35rem); letter-spacing: -.035em; }
.scratch__city { margin-top: 1.15rem; font-size: .81rem; letter-spacing: .065em; }
.scratch__canvas { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: grab; }
.scratch__canvas:active { cursor: grabbing; }
.scratch__canvas:focus-visible { outline: 2px solid var(--gold); outline-offset: -5px; }
.scratch__foil-copy { position: absolute; z-index: 3; top: 50%; left: 50%; transform: translate(-50%,-50%); color: #37211e; font-family: var(--serif); font-size: clamp(1.4rem,3vw,2.1rem); white-space: nowrap; pointer-events: none; transition: opacity .25s ease; }
.scratch.is-scratching .scratch__foil-copy, .scratch.is-revealed .scratch__foil-copy { opacity: 0; }
.scratch.is-revealed .scratch__canvas { opacity: 0; pointer-events: none; transition: opacity .75s ease; }
.scratch__controls { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.25rem; color: var(--muted); font-size: .86rem; text-align: center; }
.scratch__controls p { margin: 0; }
.scratch.is-revealed .scratch__controls { justify-content: center; }
.scratch.is-revealed .scratch__controls p { color: var(--wine); }
html.scratch-gesture-active,
html.scratch-gesture-active body { overflow: hidden; overscroll-behavior: none; }
.date-section__after { margin: clamp(5rem,9vw,8.5rem) auto 0; color: var(--wine); font-family: var(--serif); font-size: clamp(1.65rem,2.4vw,2.6rem); letter-spacing: -.03em; }
.countdown { position: relative; width: min(100%, 750px); margin: clamp(2.25rem,5vh,3.5rem) auto 0; padding-top: 1.05rem; color: var(--wine); text-align: center; }
.countdown::before { position: absolute; top: 0; left: 50%; width: 62px; height: 1px; background: var(--gold); content: ""; transform: translateX(-50%); }
.countdown[hidden], .countdown__ended[hidden] { display: none !important; }
.countdown:not([hidden]) { animation: countdown-enter .55s cubic-bezier(.22,1,.36,1) both; }
.countdown__eyebrow { margin: 0 0 1.15rem; color: var(--muted); font-size: .68rem; letter-spacing: .15em; text-transform: uppercase; }
.countdown__units { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.countdown__unit { position: relative; display: flex; min-height: 72px; flex-direction: column; align-items: center; justify-content: center; gap: .36rem; }
.countdown__unit:not(:last-child)::after { position: absolute; top: 15%; right: 0; width: 1px; height: 70%; background: rgba(155,117,72,.4); content: ""; }
.countdown__unit strong { font-family: var(--serif); font-size: clamp(2.1rem,4.7vw,3.4rem); font-weight: 400; font-variant-numeric: tabular-nums; letter-spacing: -.035em; line-height: 1; }
.countdown__unit small { color: var(--muted); font-size: .59rem; letter-spacing: .12em; text-transform: uppercase; }
.countdown__ended { margin: 0; padding: 1.1rem; border: 1px solid rgba(155,117,72,.42); font-family: var(--serif); font-size: clamp(1.5rem,3vw,2.2rem); }

.journey { overflow: clip; background: var(--ivory); }
.journey__intro { max-width: 1100px; margin: 0 auto; padding: clamp(5rem,10vw,10rem) clamp(1.4rem,5vw,5rem) clamp(6rem,10vw,11rem); text-align: center; }
.journey__intro h2 { white-space: nowrap; }
.journey__intro > p:last-child { max-width: 25rem; margin: 1.5rem auto 0; color: var(--muted); font-size: 1rem; line-height: 1.6; }
.chapter__count { margin: 0 0 1.6rem; font-size: .84rem; letter-spacing: .055em; }
.chapter h3 { margin: 0 0 1.85rem; font-family: var(--serif); font-size: clamp(3.7rem,6vw,7.25rem); font-weight: 400; line-height: .91; letter-spacing: -.075em; }
.chapter h3 em { font-weight: 400; }
.chapter__copy > p:last-of-type, .chapter__years-content > p:last-child, .chapter__proposal-heading > p:last-child { max-width: 26rem; margin: 0; font-size: 1.06rem; line-height: 1.72; }
.chapter--first { position: relative; display: grid; grid-template-columns: minmax(0,1fr) minmax(250px,.7fr); align-items: center; min-height: 780px; gap: 5vw; padding: 7rem clamp(1.4rem,9vw,11rem); background: var(--wine); color: var(--ivory); }
.chapter--first .chapter__copy { max-width: 620px; }
.chapter--first .chapter__count { color: var(--gold-light); }
.chapter__image--archive { justify-self: center; width: min(100%, 280px); margin: 0; transform: rotate(2deg); }
.chapter__image--archive img { width: 100%; height: auto; image-rendering: auto; box-shadow: 18px 24px 0 rgba(11,2,6,.2); }
.chapter__image--archive figcaption { margin-top: 1.4rem; color: #d5c2b6; font-family: var(--serif); font-size: 1.24rem; font-style: italic; text-align: center; }
.chapter__ornament { position: absolute; left: 50%; bottom: 0; width: 1px; height: 75px; background: var(--gold); }
.chapter--years { display: grid; grid-template-columns: 49% 51%; min-height: 900px; background: var(--ivory-deep); }
.chapter__years-image { min-height: 100%; overflow: hidden; }
.chapter__years-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 10%; }
.chapter__years-copy { position: relative; display: flex; align-items: center; padding: clamp(4rem,7vw,8rem); overflow: hidden; }
.chapter__big-number { position: absolute; top: -1.6rem; right: -.15em; color: rgba(50,21,31,.055); font-family: var(--serif); font-size: clamp(22rem,45vw,46rem); line-height: 1; pointer-events: none; }
.chapter__years-content { position: relative; z-index: 1; }
.chapter__years-content .chapter__count { color: var(--muted); }
.chapter__years-content > p:last-child { color: #55484a; }
.chapter--proposal { padding: clamp(8rem,13vw,14rem) 0 0; background: #e5d6c9; }
.chapter__proposal-heading { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(220px,.65fr); column-gap: 5vw; align-items: end; max-width: 1480px; margin: 0 auto; padding: 0 clamp(1.4rem,6vw,6rem) clamp(5rem,8vw,8rem); }
.chapter__proposal-heading .chapter__count { grid-column: 1 / -1; color: #705d5a; }
.chapter__proposal-heading h3 { margin: 0; }
.chapter__proposal-heading > p:last-child { padding-bottom: .55rem; }
.chapter__proposal-image { width: 100%; max-height: 900px; overflow: hidden; }
.chapter__proposal-image img { width: 100%; height: min(64vw,900px); min-height: 460px; object-fit: cover; object-position: center 55%; }

.location { padding: clamp(7rem,13vw,14rem) clamp(1.4rem,6vw,6rem) clamp(8rem,13vw,13rem); background: var(--ivory); }
.location__heading { max-width: 1280px; margin: 0 auto clamp(4.5rem,8vw,8rem); }
.location__content { width: 100%; max-width: 1280px; margin: 0 auto; }
.location__venue { margin: 0 0 1.15rem; font-family: var(--serif); font-size: clamp(2.5rem,3.5vw,4.25rem); letter-spacing: -.055em; line-height: .98; }
.location__details > p:nth-child(2) { margin: 0 0 2.4rem; color: var(--muted); }
.location__airport { display: flex; align-items: flex-start; gap: .8rem; max-width: 27rem; margin: -1.2rem 0 2rem; color: var(--ink); font-size: .92rem; line-height: 1.5; }
.location__airport svg { flex: 0 0 28px; width: 28px; margin-top: .1rem; fill: none; stroke: #9b7548; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.35; }
.location__airport strong { font-weight: 500; }
.location__airport small { display: block; margin-top: .18rem; color: var(--muted); font-size: .76rem; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 2rem; min-width: 208px; min-height: 56px; padding: .95rem 1.1rem; font-size: .88rem; line-height: 1; text-decoration: none; transition: background .25s ease, color .25s ease, transform .25s ease; }
.button:hover { transform: translateY(-3px); }
.button span { font-size: 1.2rem; }
.button--wine { background: var(--wine); color: #fff; }
.button--wine:hover { background: var(--wine-light); }

.closing { position: relative; min-height: 740px; padding: clamp(8rem,12vw,13rem) 1.5rem 2rem; overflow: hidden; background: var(--wine); color: var(--ivory); text-align: center; }
.closing__thread { width: 1px; height: 70px; margin: 0 auto 4.5rem; background: var(--gold); }
.closing__lead { margin: 0 0 2rem; color: var(--gold-light); font-size: .92rem; }
.closing h2 { margin: 0 auto 1.8rem; font-family: var(--serif); font-size: clamp(4.4rem,9vw,10rem); font-weight: 400; letter-spacing: -.08em; line-height: .87; }
.closing h2 span { white-space: nowrap; }
.closing__date { margin: 0 0 .45rem; font-family: var(--serif); font-size: clamp(1.8rem,3vw,3rem); letter-spacing: -.04em; }
.closing__place { margin: 0; color: #e4d2c7; font-size: .9rem; }
.closing__note { margin: 3rem auto 2rem; max-width: 23rem; color: #e4d2c7; font-size: .95rem; line-height: 1.6; }
.button--outline { border: 1px solid var(--gold); color: var(--ivory); }
.button--outline:hover { background: var(--gold); color: var(--wine); }
.closing__bottom { display: flex; justify-content: space-between; gap: 1rem; max-width: 1350px; margin: clamp(6rem,12vw,12rem) auto 0; padding-top: 1.2rem; border-top: 1px solid rgba(241,223,200,.22); color: #dcc9bd; font-size: .78rem; text-align: left; }
.closing__bottom a { text-decoration: none; }
.closing__bottom a:hover { color: var(--gold-light); }
.family-note { position: relative; display: flex; min-height: 100svh; flex-direction: column; align-items: center; justify-content: center; padding: clamp(4rem,9vw,8rem) 1.5rem; overflow: hidden; background: var(--ivory-deep); color: var(--wine); text-align: center; }
.family-note::before { position: absolute; inset: clamp(1rem,3vw,2.5rem); border: 1px solid rgba(155,117,72,.24); content: ""; pointer-events: none; }
.family-note__ornament { display: flex; width: 148px; align-items: center; justify-content: center; gap: .55rem; margin: 0 auto 2rem; color: var(--gold); }
.family-note__ornament::before, .family-note__ornament::after { height: 1px; flex: 1; background: currentColor; content: ""; }
.family-note__ornament span { width: 7px; height: 7px; border: 1px solid currentColor; transform: rotate(45deg); }
.family-note__eyebrow { margin: 0 0 1.7rem; color: var(--muted); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; }
.family-note h2 { margin: 0; font-family: var(--serif); font-size: clamp(3.5rem,7.4vw,7rem); font-weight: 400; letter-spacing: -.065em; line-height: .94; }
.family-note h2 em { font-weight: 400; }
.family-note__message { max-width: 34rem; margin: 1.8rem auto 0; color: #57484a; font-size: clamp(.95rem,1.4vw,1.1rem); line-height: 1.75; }
.family-note__signature { display: flex; flex-direction: column; gap: .2rem; margin: 2.2rem 0 0; color: var(--muted); font-size: .82rem; }
.family-note__signature span { color: var(--wine); font-family: var(--serif); font-size: clamp(1.7rem,3vw,2.5rem); font-style: italic; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .85s ease, transform .85s cubic-bezier(.22,1,.36,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .hero { grid-template-columns: 45% 55%; }
  .hero__edge { left: 45%; }
  .hero h1 { font-size: clamp(4.5rem,7.5vw,6rem); }
  .chapter--first { min-height: 680px; }
  .chapter--years { min-height: 750px; }
  .chapter__years-copy { padding: 4rem; }
  .chapter__proposal-heading { grid-template-columns: 1fr; }
  .chapter__proposal-heading > p:last-child { margin-top: 1.8rem; }
}

@media (max-width: 760px) {
  .cover__panel { transition-duration: .72s; transition-delay: .04s; }
  .cover__content { padding-top: 4rem; padding-bottom: 3rem; }
  .cover__names { font-size: clamp(4.1rem, 17vw, 5.2rem); }
  .cover__poem { margin-top: 1.4rem; font-size: 1rem; }
  .hero { display: block; min-height: 100svh; }
  .site-header { padding: 1.4rem 1.35rem; }
  .hero__image-wrap { position: absolute; inset: 0; min-height: 0; }
  .hero__image { width: 100%; height: 100%; object-fit: cover; object-position: 61% top; transform: scale(1.18); transform-origin: 61% top; }
  .is-opening-reveal .hero__image { animation-name: hero-image-bloom-mobile; }
  @keyframes hero-image-bloom-mobile { 0% { opacity: 0; transform: scale(1.25); } 40% { opacity: .52; } 100% { opacity: 1; transform: scale(1.18); } }
  .hero__image-wrap::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,7,14,.72) 0%, rgba(27,7,14,.34) 34%, rgba(27,7,14,0) 70%, rgba(27,7,14,.34) 100%); }
  .hero__text { position: relative; z-index: 2; min-height: 100svh; padding: clamp(7.3rem,18vh,11rem) 1.4rem 2.4rem; justify-content: flex-start; }
  .hero__kicker { margin-bottom: 1.2rem; font-size: .81rem; }
  .hero h1 { max-width: 100%; margin-bottom: .9rem; font-size: clamp(4.7rem,17vw,7.2rem); line-height: .85; }
  .hero__message { max-width: 15rem; margin: .55rem 0 0; font-size: .93rem; line-height: 1.48; }
  .hero__scroll { padding-top: 0; margin-top: auto; }
  .hero__edge { display: none; }
  .date-section { padding: 7.5rem 1.2rem 8rem; }
  .date-section__intro h2 { font-size: clamp(3.4rem,10.5vw,5.2rem); }
  .scratch { margin-top: 4.3rem; }
  .scratch__frame { height: 330px; }
  .scratch__days { font-size: clamp(5.4rem,19vw,7.8rem); }
  .scratch__month { font-size: 2.35rem; }
  .scratch__controls { align-items: center; font-size: .79rem; }
  .scratch__controls p { max-width: 100%; line-height: 1.5; }
  .date-section__after { margin-top: 6rem; }
  .journey__intro { padding: 5rem 1.3rem 6rem; }
  .journey__intro h2 { font-size: clamp(3.5rem,11vw,5.5rem); }
  .chapter--first { display: flex; flex-direction: column; align-items: flex-start; min-height: 0; gap: 3.5rem; padding: 7rem 1.5rem 8rem; }
  .chapter--first .chapter__copy { max-width: 34rem; }
  .chapter h3 { font-size: clamp(3.7rem,11vw,5.8rem); }
  .chapter__image--archive { align-self: center; width: min(66%,260px); }
  .chapter__ornament { left: auto; right: 1.5rem; height: 60px; }
  .chapter--years { display: flex; flex-direction: column; }
  .chapter__years-image { width: 100%; height: 570px; min-height: 0; }
  .chapter__years-image img { object-position: center 15%; transform: scale(1.12); transform-origin: center top; }
  .chapter__years-copy { min-height: 570px; padding: 6rem 1.5rem 6.5rem; }
  .chapter__big-number { top: -1rem; right: -.08em; font-size: 33rem; }
  .chapter__proposal-heading { padding: 0 1.5rem 4rem; }
  .chapter__proposal-image img { height: 480px; min-height: 0; object-position: 58% center; }
  .location { padding: 8rem 1.5rem 8rem; }
  .location__heading { margin-bottom: 4rem; }
  .location h2 { font-size: clamp(3.8rem,12vw,6rem); }
  .location__content { display: block; }
  .location__airport { gap: .65rem; margin: -.5rem 0 1.45rem; font-size: .82rem; }
  .location__airport svg { flex-basis: 24px; width: 24px; }
  .closing { min-height: 0; padding-top: 7rem; }
  .closing__thread { margin-bottom: 3.3rem; }
  .closing h2 { max-width: 90vw; font-size: clamp(4.3rem,14vw,7rem); line-height: .9; }
  .closing h2 span { display: block; }
  .closing__bottom { margin-top: 7rem; }
}

@media (orientation: landscape) and (max-height: 560px) {
  .cover__folio { width: 100vw; }
  .cover__ganesh { width: 40px; }
  .cover__names { top: 17%; font-size: clamp(2.5rem, 8vw, 4rem); }
  .cover__pull { top: 31%; height: 54svh; }
  .cover__medallion { width: clamp(76px, 18svh, 112px); }
  .cover__tassel { top: calc(clamp(76px, 18svh, 112px) - 4px); width: clamp(76px, 18svh, 112px); }
  .cover__hint { top: auto; bottom: 4%; }
}

@media (max-width: 390px) {
  .hero h1 { font-size: 17vw; }
  .scratch__frame { height: 300px; }
  .scratch__days { font-size: 19vw; }
  .scratch__month { font-size: 2rem; }
  .scratch__foil-copy { font-size: 1.3rem; }
  .chapter__years-image { height: 490px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  *, *::before, *::after { animation-delay: 0s !important; }
  .reveal { opacity: 1; transform: none; }
}
