:root {
  --ink: #130d09;
  --espresso: #21150e;
  --ivory: #fff8e9;
  --paper: #f3ead8;
  --paper-deep: #e8dbc2;
  --gold: #c9a15c;
  --gold-light: #e9ce98;
  --red: #7e1717;
  --muted: #7f715f;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { margin: 0; scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; min-width: 320px; min-height: 100%; background: var(--ink); color: var(--ivory); font-family: "Songti SC", "STSong", "Noto Serif SC", serif; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }

.grain { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: .16; mix-blend-mode: soft-light; background-image: radial-gradient(circle at 20% 20%, rgba(255,255,255,.28) 0 .45px, transparent .7px), radial-gradient(circle at 75% 55%, rgba(255,255,255,.2) 0 .4px, transparent .7px); background-size: 5px 5px, 7px 7px; }
.overline { margin: 0; color: var(--gold-light); font: 500 10px/1.4 ui-sans-serif, -apple-system, BlinkMacSystemFont, sans-serif; letter-spacing: .42em; }
.gold-rule { width: 92px; height: 18px; margin: 26px auto 18px; position: relative; display: grid; place-items: center; }
.gold-rule::before, .gold-rule::after { content: ""; position: absolute; top: 50%; width: 38px; height: 1px; background: linear-gradient(90deg, transparent, rgba(232,202,145,.88)); }
.gold-rule::before { left: 0; }
.gold-rule::after { right: 0; transform: rotate(180deg); }
.gold-rule b { width: 5px; height: 5px; border: 1px solid var(--gold-light); transform: rotate(45deg); }

/* Opening cover */
.cover-screen { position: fixed; inset: 0; z-index: 50; min-height: 100svh; overflow: hidden; display: grid; place-items: center; isolation: isolate; background: #080503; }
.cover-image { position: absolute; inset: -4%; z-index: -3; width: 108%; height: 108%; max-width: none; object-fit: cover; object-position: center 44%; animation: cover-drift 22s ease-in-out infinite alternate; }
.cinema-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, rgba(5,3,2,.2), rgba(10,6,4,.34) 44%, rgba(7,4,3,.91)), radial-gradient(ellipse at 50% 40%, transparent 0 18%, rgba(4,2,1,.5) 86%); }
.cover-content { position: relative; z-index: 3; width: min(90vw, 560px); padding: 8svh 24px 3svh; text-align: center; text-shadow: 0 3px 26px rgba(0,0,0,.48); animation: soft-appear 1.5s ease both; }
.cover-content h1 { margin: 18px 0 0; display: flex; align-items: center; justify-content: center; gap: clamp(12px, 4vw, 22px); font-size: clamp(38px, 11vw, 72px); font-weight: 400; line-height: 1.15; letter-spacing: .08em; white-space: nowrap; }
.cover-content h1 i { color: var(--gold); font: italic 300 .7em/1.1 Georgia, serif; letter-spacing: 0; }
.cover-date { margin: 0; font: 400 clamp(16px, 4vw, 21px)/1.4 Georgia, serif; letter-spacing: .28em; }
.cover-place { margin: 8px 0 0; color: rgba(255,248,233,.72); font-size: 11px; letter-spacing: .24em; }
.cover-actions { margin-top: 38px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.primary-pill { min-width: 244px; min-height: 50px; padding: 13px 20px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 1px solid rgba(233,206,152,.72); border-radius: 999px; color: var(--ivory); background: rgba(22,13,8,.34); box-shadow: inset 0 0 30px rgba(255,255,255,.025), 0 16px 42px rgba(0,0,0,.2); backdrop-filter: blur(12px); letter-spacing: .15em; }
.primary-pill small { color: var(--gold-light); font: 500 9px/1 ui-sans-serif, -apple-system, sans-serif; letter-spacing: .05em; }
.quiet-link { padding: 4px 10px; border: 0; color: rgba(255,248,233,.64); background: transparent; font-size: 11px; letter-spacing: .14em; text-decoration: underline; text-decoration-color: rgba(233,206,152,.35); text-underline-offset: 6px; }
.cover-hint { position: absolute; z-index: 3; bottom: max(20px, env(safe-area-inset-bottom)); left: 50%; margin: 0; transform: translateX(-50%); display: flex; align-items: center; gap: 9px; color: rgba(255,248,233,.46); font: 500 9px/1.2 ui-sans-serif, -apple-system, sans-serif; letter-spacing: .12em; white-space: nowrap; }
.cover-hint span { width: 18px; height: 1px; background: var(--gold); }

.sound-bars { width: 17px; height: 15px; display: inline-flex; align-items: center; justify-content: space-between; }
.sound-bars i { width: 2px; height: 22%; display: block; border-radius: 9px; background: currentColor; }
.sound-bars.is-playing i { animation: sound-wave .8s ease-in-out infinite alternate; }
.sound-bars.is-playing i:nth-child(2) { animation-delay: -.32s; }
.sound-bars.is-playing i:nth-child(3) { animation-delay: -.58s; }
.sound-bars.is-playing i:nth-child(4) { animation-delay: -.18s; }

/* Music-synchronised film */
.film { position: fixed; inset: 0; z-index: 60; overflow: hidden; isolation: isolate; background: #050403; }
.film-scenes, .film-scene { position: absolute; inset: 0; margin: 0; }
.film-scene { opacity: 0; transform: scale(1.02); transition: opacity 2.4s ease; }
.film-scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.18), transparent 38%, rgba(0,0,0,.62)); }
.film-scene img { width: 100%; height: 100%; max-width: none; object-fit: cover; transform: scale(1.045); filter: saturate(.88) contrast(1.03); }
.film-scene.is-active { opacity: 1; z-index: 1; }
.film-scene.is-active img { animation: film-drift 18s linear both; }
.film-wash { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: radial-gradient(ellipse at center, transparent 26%, rgba(4,2,1,.38) 100%), linear-gradient(90deg, rgba(0,0,0,.2), transparent 28%, transparent 72%, rgba(0,0,0,.22)); }
.film-letterbox { position: absolute; left: 0; right: 0; z-index: 5; height: max(4.2vh, 26px); background: #050403; }
.film-letterbox-top { top: 0; }
.film-letterbox-bottom { bottom: 0; }
.film-header { position: absolute; z-index: 8; top: max(5.7vh, 36px); left: max(22px, 5vw); right: max(22px, 5vw); display: flex; align-items: center; justify-content: space-between; }
.film-header > div { display: flex; align-items: center; gap: 12px; }
.film-monogram { color: var(--gold-light); font: 400 12px/1 Georgia, serif; letter-spacing: .16em; }
.film-header small { padding-left: 12px; border-left: 1px solid rgba(233,206,152,.3); color: rgba(255,248,233,.52); font: 500 8px/1.2 ui-sans-serif, -apple-system, sans-serif; letter-spacing: .2em; }
.icon-button { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; display: grid; place-items: center; color: var(--gold-light); background: rgba(8,5,3,.18); backdrop-filter: blur(8px); }
.scene-copy { position: absolute; z-index: 7; left: 50%; bottom: clamp(145px, 20vh, 210px); width: min(86vw, 760px); transform: translateX(-50%); text-align: center; text-shadow: 0 4px 30px rgba(0,0,0,.6); animation: scene-copy-in 1.6s cubic-bezier(.22,.8,.2,1) both; }
.scene-copy p { margin: 0 0 16px; color: var(--gold-light); font: 600 9px/1.4 ui-sans-serif, -apple-system, sans-serif; letter-spacing: .36em; }
.scene-copy h2 { margin: 0; font-size: clamp(28px, 7vw, 62px); font-weight: 400; line-height: 1.34; letter-spacing: .1em; }
.scene-copy h2 span { display: block; }
.scene-copy small { margin-top: 17px; display: block; color: rgba(255,248,233,.62); font: 500 9px/1.3 ui-sans-serif, -apple-system, sans-serif; letter-spacing: .34em; }
.film-controls { position: absolute; z-index: 9; left: 50%; bottom: max(6.5vh, 46px); width: min(88vw, 760px); transform: translateX(-50%); }
.film-time { margin-bottom: 8px; display: flex; justify-content: space-between; color: rgba(255,248,233,.56); font: 500 9px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.film-controls input { --progress: 0%; width: 100%; height: 16px; margin: 0; display: block; border: 0; appearance: none; background: transparent; }
.film-controls input::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(90deg, var(--gold-light) var(--progress), rgba(255,255,255,.25) var(--progress)); }
.film-controls input::-webkit-slider-thumb { width: 11px; height: 11px; margin-top: -4.5px; border: 1px solid var(--gold-light); border-radius: 50%; appearance: none; background: #fff6df; box-shadow: 0 0 0 4px rgba(232,203,148,.13); }
.film-actions { margin-top: 9px; display: flex; justify-content: space-between; }
.film-actions button { padding: 6px 0; border: 0; color: rgba(255,248,233,.7); background: transparent; font-size: 10px; letter-spacing: .13em; }
.film-actions button:last-child { color: var(--gold-light); }

/* Full invitation */
.invitation { overflow: clip; background: var(--paper); color: var(--ink); }
.floating-music { position: fixed; z-index: 30; top: max(18px, env(safe-area-inset-top)); right: 18px; min-width: 74px; height: 36px; padding: 0 13px; border: 1px solid rgba(229,202,151,.45); border-radius: 99px; display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--gold-light); background: rgba(18,11,7,.76); box-shadow: 0 8px 24px rgba(24,14,8,.17); backdrop-filter: blur(12px); }
.floating-music span:last-child { font: 600 8px/1 ui-sans-serif, -apple-system, sans-serif; letter-spacing: .14em; }
.invitation-hero { position: relative; min-height: 100svh; overflow: hidden; display: grid; place-items: end center; isolation: isolate; }
.invitation-hero > img { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; object-position: center 44%; }
.invitation-hero-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, rgba(7,4,2,.12), rgba(9,5,3,.18) 48%, rgba(8,5,3,.88)); }
.invitation-hero-copy { position: relative; z-index: 4; width: min(90vw, 720px); padding: 0 20px 12svh; color: var(--ivory); text-align: center; text-shadow: 0 3px 28px rgba(0,0,0,.42); }
.invitation-hero-copy > p { margin: 0 0 18px; color: var(--gold-light); font: 600 9px/1.2 ui-sans-serif, -apple-system, sans-serif; letter-spacing: .4em; }
.invitation-hero-copy h1 { margin: 0; font-size: clamp(34px, 9vw, 70px); font-weight: 400; line-height: 1.2; letter-spacing: .08em; }
.invitation-hero-copy h1 i { margin: 0 .16em; color: var(--gold); font: italic 300 .72em/1 Georgia, serif; }
.invitation-hero-copy > span { margin-top: 17px; display: block; color: rgba(255,248,233,.74); font-size: 12px; letter-spacing: .18em; }
.invitation-hero-copy > strong { margin-top: 28px; display: block; font: 400 clamp(21px, 5vw, 30px)/1 Georgia, serif; letter-spacing: .24em; }
.scroll-cue { position: absolute; z-index: 5; bottom: 3.5svh; left: 50%; width: 25px; height: 44px; transform: translateX(-50%); display: grid; place-items: start center; }
.scroll-cue i { width: 1px; height: 30px; background: linear-gradient(180deg, var(--gold-light), transparent); animation: scroll-line 1.7s ease-in-out infinite; }

.story-section { position: relative; padding: clamp(96px, 14vw, 160px) max(20px, 5vw) clamp(110px, 16vw, 180px); background: var(--paper); }
.section-heading { width: min(100%, 660px); margin: 0 auto; text-align: center; }
.section-heading > p { margin: 0 0 21px; color: #9a742f; font: 700 9px/1.4 ui-sans-serif, -apple-system, sans-serif; letter-spacing: .38em; }
.section-heading h2 { margin: 0; font-size: clamp(30px, 7vw, 55px); font-weight: 400; line-height: 1.55; letter-spacing: .08em; }
.section-heading > span { margin-top: 25px; display: block; color: var(--muted); font-size: 13px; line-height: 2.1; letter-spacing: .06em; }
.story-collage { position: relative; width: min(100%, 980px); height: clamp(570px, 95vw, 780px); margin: clamp(70px, 10vw, 120px) auto 0; }
.story-collage figure { position: absolute; margin: 0; overflow: hidden; background: #d8cbb4; box-shadow: 0 24px 60px rgba(75,50,31,.16); }
.story-collage img { width: 100%; height: 100%; object-fit: cover; }
.story-large { top: 0; right: 0; width: min(72%, 610px); height: 78%; }
.story-small { left: 0; bottom: 0; width: min(54%, 440px); height: 56%; border: 10px solid var(--paper); }
.story-large img { object-position: center top; }
.story-small img { object-position: 66% top; }
.story-seal { position: absolute; right: 4%; bottom: 5%; width: 98px; height: 126px; display: flex; align-items: center; justify-content: center; gap: 7px; color: #f5dfba; background: var(--red); box-shadow: 0 20px 45px rgba(91,21,19,.22); }
.story-seal span { font-size: 45px; line-height: 1; }
.story-seal small { padding-left: 7px; border-left: 1px solid rgba(245,223,186,.35); font-size: 9px; line-height: 1.8; letter-spacing: .1em; }

.details-section { position: relative; padding: clamp(100px, 15vw, 170px) 20px; overflow: hidden; color: var(--ivory); background: #17100b; }
.details-section::before { content: "囍"; position: absolute; top: 2%; left: 50%; transform: translateX(-50%); color: rgba(212,174,105,.035); font-size: min(70vw, 620px); line-height: 1; }
.details-glow { position: absolute; top: -20%; left: 50%; width: 700px; height: 700px; transform: translateX(-50%); background: radial-gradient(circle, rgba(180,116,52,.19), transparent 66%); pointer-events: none; }
.section-heading.light { position: relative; z-index: 1; }
.section-heading.light > p { color: var(--gold-light); }
.date-card { position: relative; z-index: 1; width: min(100%, 520px); margin: 65px auto 0; border: 1px solid rgba(220,184,116,.36); background: linear-gradient(145deg, rgba(255,255,255,.04), rgba(255,255,255,.008)); box-shadow: 0 30px 80px rgba(0,0,0,.26); }
.date-month { padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(220,184,116,.2); color: var(--gold-light); }
.date-month span, .date-month strong { font: 600 9px/1 ui-sans-serif, -apple-system, sans-serif; letter-spacing: .24em; }
.date-main { min-height: 190px; padding: 26px; display: grid; grid-template-columns: 1fr 1.5fr 1fr; align-items: center; text-align: center; }
.date-main strong { border-right: 1px solid rgba(220,184,116,.2); border-left: 1px solid rgba(220,184,116,.2); color: #f5dfb5; font: 400 clamp(78px, 20vw, 120px)/.9 Georgia, serif; }
.date-main span { color: rgba(255,248,233,.66); font: 600 11px/1.5 ui-sans-serif, -apple-system, sans-serif; letter-spacing: .13em; }
.date-lunar { padding: 17px 20px; border-top: 1px solid rgba(220,184,116,.2); color: rgba(255,248,233,.64); text-align: center; font-size: 11px; letter-spacing: .16em; }
.venue-card { position: relative; z-index: 1; width: min(100%, 520px); margin: 28px auto 0; padding: 42px 24px; border: 1px solid rgba(220,184,116,.22); text-align: center; }
.venue-card p { margin: 0 0 24px; color: var(--gold-light); font: 600 9px/1.3 ui-sans-serif, -apple-system, sans-serif; letter-spacing: .3em; }
.venue-card h3 { margin: 0; font-size: clamp(20px, 5vw, 29px); font-weight: 400; letter-spacing: .08em; }
.venue-card > strong { margin-top: 13px; display: block; color: var(--gold-light); font-size: 17px; font-weight: 400; letter-spacing: .28em; }
.venue-card > span { margin-top: 17px; display: block; color: rgba(255,248,233,.5); font-size: 10px; letter-spacing: .18em; }
.venue-card button { margin-top: 28px; padding: 8px 2px; border: 0; border-bottom: 1px solid rgba(220,184,116,.4); color: rgba(255,248,233,.74); background: transparent; font-size: 10px; letter-spacing: .15em; }
.calendar-button { position: relative; z-index: 1; width: fit-content; margin: 32px auto 0; padding: 12px 18px; display: flex; align-items: center; gap: 10px; border: 1px solid rgba(220,184,116,.3); border-radius: 99px; color: var(--gold-light); font-size: 11px; letter-spacing: .14em; text-decoration: none; }
.calendar-button span { font: 300 20px/1 ui-sans-serif, sans-serif; }

.countdown-section { padding: clamp(90px, 13vw, 140px) 20px; color: var(--ink); background: linear-gradient(180deg, var(--paper), #eee0c8); text-align: center; }
.countdown-section > p { margin: 0 0 17px; color: #9a742f; font: 700 9px/1.4 ui-sans-serif, -apple-system, sans-serif; letter-spacing: .36em; }
.countdown-section h2 { margin: 0; font-size: clamp(32px, 7vw, 54px); font-weight: 400; letter-spacing: .14em; }
.countdown { width: min(100%, 700px); margin: 55px auto 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.countdown-cell { min-width: 0; padding: 4px 10px; border-right: 1px solid rgba(89,64,36,.16); }
.countdown-cell:last-child { border-right: 0; }
.countdown-cell strong { display: block; color: #402a1d; font: 400 clamp(28px, 8vw, 55px)/1 Georgia, serif; letter-spacing: .03em; }
.countdown-cell span { margin-top: 12px; display: block; color: #8d7960; font: 600 8px/1 ui-sans-serif, -apple-system, sans-serif; letter-spacing: .14em; }

.gallery-section { padding: clamp(95px, 14vw, 160px) max(18px, 4.5vw); background: #f7efe0; color: var(--ink); }
.gallery-title { margin-bottom: clamp(70px, 11vw, 120px); text-align: center; }
.gallery-title span { color: #9a742f; font: 700 9px/1.3 ui-sans-serif, -apple-system, sans-serif; letter-spacing: .34em; }
.gallery-title h2 { margin: 18px 0 0; font-size: clamp(34px, 8vw, 60px); font-weight: 400; letter-spacing: .16em; }
.gallery-chapter { width: min(100%, 1080px); margin: 0 auto clamp(110px, 16vw, 180px); }
.gallery-chapter:last-child { margin-bottom: 0; }
.gallery-chapter header { margin-bottom: 34px; display: flex; align-items: center; gap: 20px; }
.gallery-chapter header > span { color: #b9914e; font: italic 400 43px/1 Georgia, serif; }
.gallery-chapter header > div { padding-left: 20px; border-left: 1px solid rgba(95,68,38,.2); }
.gallery-chapter header p { margin: 0 0 6px; color: #9a742f; font-size: 11px; letter-spacing: .2em; }
.gallery-chapter header h3 { margin: 0; font-size: clamp(19px, 4vw, 27px); font-weight: 400; letter-spacing: .08em; }
.gallery-grid { display: grid; gap: 10px; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease, filter .7s ease; }
.gallery-grid img:hover { transform: scale(1.012); filter: saturate(1.04); }
.gallery-grid-red { grid-template-columns: 1.05fr .95fr; grid-template-rows: repeat(2, minmax(240px, 42vw)); }
.gallery-grid-red > :first-child { grid-row: 1 / 3; object-position: 62% center; }
.red-focus-pair { margin: 0; overflow: hidden; }
.red-focus-pair img { object-position: center 34%; transform: scale(1.08) translateX(-6%); }
.gallery-grid-garden { grid-template-columns: 1fr 1.1fr 1fr; min-height: min(72vw, 680px); }
.gallery-grid-garden img:nth-child(2) { align-self: center; height: 80%; }
.gallery-grid-night { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(2, minmax(230px, 42vw)); }
.gallery-grid-night img:nth-child(2) { grid-row: 1 / 3; grid-column: 2; }
.garden-duet { display: grid; grid-template-columns: repeat(2, 1fr); align-items: stretch; gap: 12px; }
.garden-duet img { width: 100%; height: clamp(540px, 64vw, 700px); object-fit: cover; }
.garden-duet img:first-child { object-position: 60% 48%; }
.garden-duet img:last-child { object-position: 53% 46%; }
.classic-spread { display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: repeat(2, minmax(270px, 34vw)); gap: 10px; }
.classic-spread > img, .classic-spread figure img { width: 100%; height: 100%; object-fit: cover; }
.classic-spread > :nth-child(1) { grid-column: 1 / 6; grid-row: 1 / 2; object-position: center 31%; }
.classic-spread > :nth-child(2) { grid-column: 6 / 13; grid-row: 1 / 2; object-position: center 30%; }
.classic-spread > :nth-child(3) { grid-column: 1 / 9; grid-row: 2 / 3; }
.classic-focus-final { margin: 0; overflow: hidden; }
.classic-focus-final img { object-position: center 21%; transform: scale(1.18); transform-origin: left top; }
.classic-quote { grid-column: 9 / 13; grid-row: 2 / 3; min-width: 0; padding: 24px 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #f1d7a5; background: #24150f; text-align: center; }
.classic-quote span { font: 700 8px/1.2 ui-sans-serif, -apple-system, sans-serif; letter-spacing: .3em; }
.classic-quote strong { margin: 15px 0; font: italic 400 clamp(28px, 4vw, 52px)/1.05 Georgia, serif; }
.classic-quote small { font-size: 10px; letter-spacing: .18em; }
.night-cinema { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(210px, 26vw); gap: 10px; padding: 10px; background: #100a07; }
.night-cinema > img, .night-cinema figure img { width: 100%; height: 100%; object-fit: cover; }
.night-cinema > :nth-child(1) { grid-column: 1 / 2; grid-row: 1 / 2; }
.night-cinema > :nth-child(2) { grid-column: 2 / 3; grid-row: 1 / 2; object-position: center 25%; }
.night-cinema > :nth-child(3) { grid-column: 3 / 5; grid-row: 1 / 3; object-position: center 52%; }
.night-cinema > :nth-child(4) { grid-column: 1 / 3; grid-row: 2 / 3; object-position: center 66%; }
.night-cinema > :nth-child(5) { grid-column: 1 / 3; grid-row: 3 / 4; }
.night-cinema > :nth-child(6) { grid-column: 3 / 5; grid-row: 3 / 4; object-position: center 45%; }
.night-focus-pair { margin: 0; overflow: hidden; }
.night-focus-pair img { object-position: center 68%; background: #100a07; }

.closing-section { position: relative; min-height: 100svh; overflow: hidden; display: grid; place-items: center; isolation: isolate; }
.closing-section > img { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.closing-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, rgba(9,4,3,.34), rgba(16,5,4,.64)), radial-gradient(circle, transparent 5%, rgba(12,4,3,.55) 92%); }
.closing-copy { width: min(90%, 650px); padding: 90px 20px; color: var(--ivory); text-align: center; text-shadow: 0 4px 26px rgba(0,0,0,.5); }
.closing-copy > p { margin: 0 0 24px; color: #eccf99; font: 700 9px/1.3 ui-sans-serif, -apple-system, sans-serif; letter-spacing: .35em; }
.closing-copy h2 { margin: 0; font-size: clamp(42px, 11vw, 80px); font-weight: 400; line-height: 1.45; letter-spacing: .16em; }
.closing-names { margin: 35px 0 22px; display: flex; align-items: center; justify-content: center; gap: 16px; font-size: clamp(24px, 6vw, 38px); letter-spacing: .11em; }
.closing-names i { color: var(--gold); font: italic 300 .8em/1 Georgia, serif; }
.closing-copy > strong { display: block; color: #f0d8aa; font: 400 15px/1.5 Georgia, serif; letter-spacing: .2em; }
.closing-copy > small { margin-top: 12px; display: block; color: rgba(255,248,233,.68); font-size: 10px; letter-spacing: .1em; }
.closing-copy button { margin-top: 40px; padding: 12px 18px; border: 1px solid rgba(236,207,153,.45); border-radius: 99px; color: #f3d8a6; background: rgba(22,7,5,.26); backdrop-filter: blur(8px); font-size: 10px; letter-spacing: .13em; }
.site-footer { padding: 42px 20px max(42px, env(safe-area-inset-bottom)); color: rgba(255,248,233,.45); background: #100a07; text-align: center; }
.site-footer span { font: 600 8px/1.2 ui-sans-serif, -apple-system, sans-serif; letter-spacing: .3em; }
.site-footer p { margin: 13px 0 0; font-size: 10px; letter-spacing: .12em; }

@keyframes cover-drift { from { transform: scale(1.01) translate3d(0,0,0); } to { transform: scale(1.1) translate3d(-1.1%, -.8%, 0); } }
@keyframes soft-appear { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes sound-wave { from { height: 20%; } to { height: 100%; } }
@keyframes film-drift { from { transform: scale(1.045) translate3d(0,0,0); } to { transform: scale(1.13) translate3d(-.7%, -.6%, 0); } }
@keyframes film-drift-center-subject { from { transform: scale(1.12) translate3d(5.2%,0,0); } to { transform: scale(1.18) translate3d(7.4%,-.4%,0); } }
@keyframes scene-copy-in { 0% { opacity: 0; transform: translate(-50%, 20px); filter: blur(6px); } 100% { opacity: 1; transform: translate(-50%, 0); filter: blur(0); } }
@keyframes scroll-line { 0% { transform: scaleY(.2); transform-origin: top; opacity: 0; } 35% { opacity: 1; } 100% { transform: scaleY(1); transform-origin: top; opacity: 0; } }

@media (max-width: 700px) {
  .cover-image, .invitation-hero > img { object-position: 51% center; }
  .film-scene img { object-position: center center; }
  .scene-copy { bottom: 150px; }
  .film-header { top: max(5.8vh, 40px); }
  .film-header small { display: none; }
  .story-collage { height: 610px; }
  .story-large { width: 76%; height: 72%; }
  .story-small { width: 60%; height: 51%; border-width: 7px; }
  .story-seal { right: 1%; width: 88px; height: 112px; }
  .date-main { min-height: 164px; padding: 22px 14px; }
  .gallery-grid-red { grid-template-rows: repeat(2, 260px); }
  .gallery-grid-garden { grid-template-columns: 1fr 1fr; grid-template-rows: 330px 260px; }
  .gallery-grid-garden img:nth-child(2) { height: 100%; }
  .gallery-grid-garden img:nth-child(3) { grid-column: 1 / 3; }
  .gallery-grid-night { grid-template-rows: repeat(2, 260px); }
  .garden-duet { grid-template-columns: 1fr 1fr; gap: 7px; }
  .garden-duet img { height: 360px; }
  .garden-duet img:first-child { object-position: 60% 48%; }
  .classic-spread { grid-template-columns: 1fr 1fr; grid-template-rows: 235px 300px 230px; gap: 7px; }
  .classic-spread > :nth-child(1) { grid-column: 1; grid-row: 1; }
  .classic-spread > :nth-child(2) { grid-column: 2; grid-row: 1; }
  .classic-spread > :nth-child(3) { grid-column: 1 / 3; grid-row: 2; }
  .classic-quote { grid-column: 1 / 3; grid-row: 3; }
  .night-cinema { grid-template-columns: 1fr 1fr; grid-auto-rows: 235px; gap: 7px; padding: 7px; }
  .night-cinema > :nth-child(1) { grid-column: 1; grid-row: 1; }
  .night-cinema > :nth-child(2) { grid-column: 2; grid-row: 1; }
  .night-cinema > :nth-child(3) { grid-column: 1 / 3; grid-row: 4; }
  .night-cinema > :nth-child(4) { grid-column: 1 / 3; grid-row: 3; }
  .night-cinema > :nth-child(5) { grid-column: 1; grid-row: 2; }
  .night-cinema > :nth-child(6) { grid-column: 2; grid-row: 2; }
  .night-focus-pair img { transform: none; }
  .closing-section > img { object-position: 35% center; }
}

@media (max-width: 420px) {
  .cover-content h1 { gap: 11px; font-size: clamp(35px, 10.5vw, 46px); }
  .primary-pill { min-width: 228px; }
  .scene-copy h2 { font-size: 27px; }
  .scene-copy p { letter-spacing: .28em; }
  .countdown-cell { padding-inline: 5px; }
  .countdown-cell strong { font-size: 29px; }
  .gallery-grid-red { grid-template-rows: repeat(2, 220px); }
  .gallery-grid-garden { grid-template-rows: 270px 220px; }
  .gallery-grid-night { grid-template-rows: repeat(2, 220px); }
  .garden-duet img { height: 320px; }
  .classic-spread { grid-template-rows: 210px 270px 220px; }
  .night-cinema { grid-auto-rows: 210px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
