/* Cinematic invitation. Component overrides keep the existing utility flows intact. */
:root {
  --paper: #f4efe6;
  --paper-deep: #e9e1d5;
  --ink: #39282a;
  --ink-light: #685859;
  --muted: #796b65;
  --gold-dark: #805d3b;
  --wine: #50272e;
  --night: #291619;
  --radius-sm: 3px;
  --radius-md: 5px;
  --radius-lg: 6px;
  --english: 'Bodoni 72', Didot, 'Times New Roman', serif;
  --ease-out: cubic-bezier(.2,.7,.2,1);
}
::selection { background: #75424b; color: #fff6e5; }
.reading-progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 120; pointer-events: none; }
.reading-progress span { display: block; height: 100%; background: #d6b581; transform: scaleX(0); transform-origin: left; }
.hero #ambientCanvas { position: absolute; z-index: 1; opacity: .35; }
.top-bar { top: 0; padding: 22px 4vw; transition: background .3s; }
.top-bar.is-scrolled:not(.is-on-paper) { background: #291619ed; backdrop-filter: blur(12px); }
.brand-mark { font-size: 23px; letter-spacing: .1em; }
.brand-mark i { font: italic 18px var(--english); color: #cbaa77; }
.brand-mark > span { display: inline-block; margin-left: 19px; padding-left: 19px; border-left: 1px solid #d2bb964d; font: 9px var(--sans); letter-spacing: .24em; vertical-align: middle; }
.nav-pill { border-radius: 3px; padding: 4px 8px; background: #29161938; }
.nav-pill a { min-height: 36px; display: flex; align-items: center; padding: 4px 18px; border-radius: 2px; }
.sound-toggle { min-height: 42px; border-radius: 3px; background: #29161950; }
.top-bar.is-on-paper { background: #f4efe6ed; backdrop-filter: blur(12px); }
.top-bar.is-on-paper .nav-pill, .top-bar.is-on-paper .sound-toggle { background: var(--wine); }
.hero { display: grid; grid-template-columns: 48% 52%; grid-template-rows: auto 1fr; min-height: max(880px, 100svh); background: #291619; padding: 134px 0 58px; overflow: hidden; }
.hero::after { content: ''; position: absolute; inset: 24px; border: 1px solid #ddc39b26; z-index: 1; pointer-events: none; }
.hero__backdrop { left: 45%; z-index: -3; background-image: linear-gradient(90deg,#291619 0%,#29161945 17%,transparent 45%), linear-gradient(0deg,#2916198c,transparent 24%,transparent 80%,#29161925), url('./assets/images/hero-ceremony.webp'); background-position: center, center, 50% 72%; animation: none; transform: translate3d(0,var(--hero-drift,0px),0) scale(1.035); }
.hero .grain { z-index: 0; opacity: .14; }
.hero__sky, .hero__shore { grid-column: 1; width: auto; margin: 0; padding: 0 0 0 8vw; text-align: left; z-index: 3; }
.hero__sky { align-self: end; }
.hero-kicker { display: flex; align-items: center; gap: 10px; color: #e4cfb3; font-size: 10px; letter-spacing: .22em; margin-bottom: 34px; text-shadow: none; }
.hero-kicker > span { width: 22px; height: 1px; background: #d5b484; }
.hero-editorial { position: relative; font: 400 clamp(76px,7.9vw,132px)/.92 var(--english); letter-spacing: -.055em; padding-bottom: 36px; width: max-content; }
.hero-editorial > span, .hero-editorial > em { display: block; }
.hero-editorial > em { padding-left: .42em; color: #dfbf90; font-weight: 400; }
.hero-editorial > i { position: absolute; right: -.32em; top: 0; font: 34px/1 var(--english); color: #dfbf90; }
.hero-names { font-size: clamp(29px,2.8vw,44px); letter-spacing: .12em; margin-bottom: 14px; text-shadow: none; }
.hero-romance-name { font: 10px/1.6 var(--sans); letter-spacing: .34em; color: #d2bcae; }
.hero__shore { align-self: end; padding-top: 30px; padding-right: 4vw; }
.hero__subtitle { font-size: 16px; color: #dfcab5; letter-spacing: .07em; margin-bottom: 22px; }
.hero-facts { width: 100%; margin: 0 0 20px; padding: 16px 0; border: 0; border-top: 1px solid #d2bb9640; border-bottom: 1px solid #d2bb9640; border-radius: 0; background: none; backdrop-filter: none; }
.hero-facts p { grid-template-columns: 38px minmax(0,1fr); gap: 12px; margin: 7px 0; line-height: 1.5; }
.hero-facts p > span { font-size: 12px; color: #d5ba96; }
.hero-facts strong { font-size: 15px; font-weight: 400; }
.hero-facts .weekday { font-size: 12px; margin-left: 8px; }
.hero-facts br { display: block; }
.hero-facts p:nth-child(3) strong { max-width: 330px; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 17px 24px; }
.btn-primary { display: inline-flex; justify-content: space-between; align-items: center; gap: 30px; padding: 14px 23px; min-height: 48px; background: #e8d7ba; color: #392629; border: 1px solid #e8d7ba; border-radius: 2px; font: 14px var(--sans); letter-spacing: .1em; box-shadow: none; }
.btn-primary:hover { background: #fff1d9; transform: translateY(-2px); box-shadow: 0 8px 24px #0002; }
.btn-primary > span { font-size: 20px; }
.hero-film-link { display: flex; align-items: center; gap: 10px; font: 13px var(--sans); color: #f1ddc8; min-height: 46px; }
.hero-film-link > span { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid #d4b79266; border-radius: 50%; font-size: 19px; }
.hero-poster-links { display: flex; width: 100%; gap: 18px; align-items: center; font: 12px/1.6 var(--sans); color: #d8c6b8; }
.hero-poster-links > span { color: #bca493; font-size: 11px; }
.hero-poster-links a { padding: 8px 0; border-bottom: 1px solid #d4b79233; }
.hero .countdown-card { position: absolute; z-index: 3; right: 8vw; top: 125px; bottom: auto; margin: 0; border: 1px solid #eddec05c; background: #29161950; border-radius: 3px; backdrop-filter: blur(8px); gap: 12px; padding: 15px 24px; }
.countdown-num { font: 30px/1 var(--english); font-variant-numeric: tabular-nums; }
.countdown-unit { color: #f0d8b7; font-size: 10px; }
.hero-photo-note { position: absolute; top: 118px; right: 5vw; display: flex; gap: 20px; color: #fff8e7; font: 9px var(--sans); letter-spacing: .16em; writing-mode: vertical-rl; z-index: 2; text-shadow: 0 1px 10px #0009; }
.hero-orbit { position: absolute; width: 760px; height: 760px; left: -305px; top: 15%; transform: rotate(-30deg); pointer-events: none; opacity: .5; }
.hero-orbit span { position: absolute; inset: 0; border: 1px solid #c49e6c24; border-radius: 50%; }
.hero-orbit span + span { inset: 38px 120px; }
.scroll-indicator { left: calc(48% - 26px); bottom: 62px; width: 1px; height: 92px; transform: none; }
.scroll-indicator span { width: 1px; height: 40px; background: #dec29c77; animation: none; }
.scroll-indicator small { position: absolute; top: 48px; left: -4px; writing-mode: vertical-rl; font: 8px var(--sans); letter-spacing: .2em; white-space: nowrap; color: #e7d6bd; }
.chapter-ribbon { display: flex; justify-content: center; align-items: center; gap: 20px; padding: 30px 7vw; background: #50272e; color: #eed8b8; border-top: 1px solid #d1aa772e; font: 11px var(--sans); letter-spacing: .2em; }
.chapter-ribbon i { font: 13px var(--serif); letter-spacing: .1em; }
.ribbon-line { height: 1px; width: min(15vw,180px); background: #d6b88960; position: relative; }
.ribbon-line::after { content: '✧'; position: absolute; top: -7px; left: 48%; background: #50272e; padding: 0 9px; }
.ribbon-date { margin-left: auto; font-size: 10px; }
.chapter { padding: 112px 7vw; scroll-margin-top: 80px; }
.chapter-container { max-width: 1240px; }
.chapter-badge { font: 10px/1.5 var(--sans); letter-spacing: .2em; color: #896440; margin-bottom: 23px; }
.chapter-badge::before { width: 24px; }
.section-title { font-size: clamp(30px,3.5vw,48px); line-height: 1.5; letter-spacing: .04em; }
.section-title em { font-style: normal; color: #8f665b; }
.section-desc { color: #71625a; font-size: 15px; line-height: 1.9; }
.essentials-heading { margin-bottom: 45px; }
.essentials-layout { gap: 48px; grid-template-columns: 1.2fr 1fr; }
.essentials-card { border: 0; border-top: 1px solid #b8a18b; border-bottom: 1px solid #b8a18b; box-shadow: none; background: none; padding: 24px 0 28px; }
.invitation-date { display: flex; align-items: center; gap: 22px; padding-bottom: 28px; }
.invitation-date > span { font: 84px/.9 var(--english); letter-spacing: -.04em; color: var(--wine); }
.invitation-date em { font-weight: 400; font-size: 64px; color: #b59c7c; margin: 0 8px; }
.invitation-date > div { font: 11px/1.9 var(--sans); letter-spacing: .15em; color: #7f6658; }
.invitation-date > i { display: grid; place-items: center; height: 58px; width: 58px; margin-left: auto; margin-right: 8px; border: 1px solid #844b5270; border-radius: 50%; outline: 1px solid #844b5230; outline-offset: 5px; font: 18px var(--serif); color: #844b52; transform: rotate(-14deg); }
.essentials-row { grid-template-columns: 46px minmax(0,1fr); padding: 13px 0; border-color: #ab917b2b; }
.essentials-row strong { font-size: clamp(18px,1.55vw,22px); }
.essentials-label { font-size: 14px; }
.essentials-actions a, .essentials-actions button { border-radius: 2px; min-height: 48px; font-size: 14px; }
.essentials-actions a { background: var(--wine); border-color: var(--wine); }
.essentials-actions button { color: var(--wine); border-color: #ac9290; }
.essentials-side { border-radius: 140px 140px 3px 3px; background: #e8dfd1; box-shadow: none; padding: 10px; border: 1px solid #c8b7a2; }
.essentials-side img { height: 365px; border-radius: 130px 130px 0 0; object-position: 50% 55%; }
.essentials-side p { font-size: 12px; }
.essentials-side a { font-size: 14px; padding-bottom: 12px; }
.chapter--story { padding-top: 20px; background: var(--paper); }
.story-intro { position: relative; border-top: 1px solid #cbbca9; padding: 58px 0 62px; }
.story-intro > p { font-size: clamp(38px,5vw,68px); line-height: 1.6; letter-spacing: .08em; }
.story-intro em { font-style: normal; color: #9b796c; padding-left: 1.5em; }
.story-intro-note { position: absolute; right: 0; bottom: 82px; font: 10px var(--sans); letter-spacing: .22em; color: #8e7465; }
.story-grid { gap: 64px; grid-template-columns: 1.1fr 1fr; align-items: start; }
.letter-card { padding: 0; background: none; border: 0; box-shadow: none; }
.letter-card::after { display: none; }
.letter-salutation { font-size: 22px; line-height: 1.7; }
.letter-body p { font-size: 15px; line-height: 2.2; color: #635349; }
.letter-quote-box { background: #e8dfd2; border-left: 2px solid #9f7956; border-radius: 0; margin: 28px 0; padding: 22px 24px; }
.letter-sign { border-top-color: #c7b19a66; }
.letter-sign-names strong { font-size: 20px; }
.polaroid-card { padding: 12px 12px 8px; background: #fffbf3; box-shadow: 0 18px 45px #48322620; border-radius: 2px; transform: rotate(3deg); }
.polaroid-img { border-radius: 0; }
.polaroid-caption { padding: 20px 6px 12px; }
.timeline-strip { border-left: 1px solid #cbb899; padding-left: 22px; margin-top: 46px; }
.timeline-item { grid-template-columns: 72px 1fr; gap: 18px; }
.timeline-year { font: 12px/1.8 var(--sans); color: #946a49; }
.timeline-text h4 { font-size: 17px; }
.timeline-text p { color: #746257; }
.chapter--gallery { background: #29191c; color: #f5eadb; padding-top: 110px; }
.gallery-header { display: block; margin-bottom: 55px; }
.gallery-display { font: clamp(76px,10vw,140px)/1.1 var(--english); letter-spacing: -.05em; margin: 0 0 20px; }
.gallery-display em { color: #d7b280; }
.gallery-header .chapter-badge { color: #c8a67b; }
.gallery-header .section-title { font-size: 25px; margin-bottom: 14px; }
.gallery-header .section-desc { color: #c7b2a5; max-width: 600px; }
.gallery-filters { margin-top: 32px; gap: 5px 28px; padding-bottom: 18px; border-bottom: 1px solid #f2dfc62a; }
.filter-btn { min-height: 44px; padding: 10px 0; color: #c4afa3; border: 0; border-bottom: 1px solid transparent; border-radius: 0; background: none; font-size: 13px; }
.filter-btn:hover { color: #fff4e2; background: none; }
.filter-btn.is-active { color: #f1d4a9; background: none; border-color: #c6a170; }
.gallery-grid { grid-template-columns: repeat(12,minmax(0,1fr)); column-gap: 60px; row-gap: 68px; align-items: start; }
.photo-card { border-radius: 2px; overflow: visible; box-shadow: none; background: none; aspect-ratio: auto; transition: transform .65s var(--ease-out); }
.photo-card:nth-child(odd) { grid-column: span 7; padding-right: 60px; }
.photo-card:nth-child(even) { grid-column: span 5; margin-top: 120px; }
.photo-card:nth-child(3), .photo-card:nth-child(7) { padding: 0 100px 0 0; }
.photo-card:nth-child(4) { margin-top: 70px; }
.photo-card img { height: auto; aspect-ratio: 2/3; object-fit: cover; border-radius: 2px; }
.photo-card:last-child img { aspect-ratio: 1800/1271; }
.photo-card:hover { box-shadow: none; transform: translateY(-5px); }
.photo-card:hover img { transform: none; }
.photo-overlay { position: relative; padding: 19px 42px 0 0; background: none; color: #f4e4cf; }
.photo-overlay::after { content: '↗'; position: absolute; right: 0; top: 18px; color: #c5a578; font: 22px var(--sans); }
.photo-title { font-size: 18px; letter-spacing: .08em; }
.photo-quote { color: #c4afa1; font-size: 12px; }
.photo-number { display: block; position: absolute; top: 16px; left: 16px; color: #fff2dc; font: 11px var(--sans); letter-spacing: .15em; z-index: 1; padding: 6px 9px; background: #24181a66; backdrop-filter: blur(5px); border: 1px solid #f5e6cb44; pointer-events: none; }
.gallery-grid.is-filtered .photo-card { grid-column: span 6; margin-top: 0; padding: 0; }
[data-foil] { position: relative; }
[data-foil]::before { content: ''; position: absolute; z-index: 2; inset: 0; pointer-events: none; background: linear-gradient(115deg,transparent 15%,#ffeed524 42%,#fff8e342 48%,transparent 65%); opacity: var(--foil-opacity,0); transform: translateX(var(--foil-x,0%)); transition: opacity .5s; mix-blend-mode: screen; }
.chapter--film { background: #1e1416; border-top: 1px solid #e8cda92b; padding-top: 100px; }
.film__backdrop { opacity: .15; }
.film-header { max-width: none; text-align: left; }
.film-header .chapter-badge { color: #d8b88a; }
.film-display { font: clamp(68px,8vw,112px)/1.1 var(--english); letter-spacing: -.045em; margin-bottom: 20px; }
.film-display em { color: #d7b280; }
.film-header .section-title { font-size: 24px; margin-bottom: 10px; }
.film-header .section-desc { margin: 0; color: #c1ac9e; }
.video-wrapper { border-radius: 3px; box-shadow: 0 30px 80px #0005; border: 1px solid #c9ac8450; }
.video-quality-tag { border-radius: 2px; font-size: 10px; background: #20131590; }
.video-overlay-play { background: #130b0c20; }
.play-ring { width: 88px; height: 88px; background: #e8d4b515; border: 1px solid #e9d2ac; backdrop-filter: blur(8px); box-shadow: none; }
.video-overlay-play:hover .play-ring { transform: scale(1.08); background: #ead6b7; }
.play-text { font: 11px var(--sans); letter-spacing: .3em; }
.film-quality { border-radius: 2px; }
.quality-btn { min-height: 40px; border-radius: 2px; }
.film-footer-meta { color: #cbb39e; }
.details-intro { text-align: left; }
.details-intro .section-desc { margin: 0; }
.details-tabs-nav { background: none; border: 0; border-bottom: 1px solid #cdbda9; border-radius: 0; justify-content: flex-start; gap: 16px; padding: 0 0 12px; }
.tab-btn { border-radius: 2px; min-height: 48px; font-size: 14px; }
.tab-btn.is-active { background: var(--wine); color: #fff2de; box-shadow: none; }
.schedule-flow { max-width: none; }
.schedule-step { background: none; border: 0; border-bottom: 1px solid #d9ccbc; box-shadow: none; padding: 20px 24px 28px; border-radius: 0; }
.schedule-step:hover { box-shadow: none; background: #e8dfd344; transform: none; }
.schedule-step--highlight { background: #e8dfd3; }
.schedule-title { font-size: 22px; }
.schedule-desc { color: #706056; }
.venue-info-box, .venue-visual-card, .dress-card, .concierge-card { border-radius: 3px; box-shadow: none; }
.venue-action-btn { border-radius: 2px; }
.celebration { position: relative; background: #442029; color: #f3dfc1; min-height: 620px; overflow: hidden; isolation: isolate; display: grid; place-items: center; padding: 120px 24px; text-align: center; }
#celebrationCanvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
.celebration-content { position: relative; z-index: 3; }
.celebration .chapter-badge { color: #d0af82; }
.celebration .chapter-badge::before { display: none; }
.celebration-script { font: italic clamp(56px,8vw,116px)/1.3 var(--english); letter-spacing: -.045em; }
.celebration h2 { font-size: clamp(23px,3vw,32px); margin-top: 16px; letter-spacing: .15em; }
#celebrateBtn { margin-top: 35px; padding: 15px 24px; min-height: 52px; display: inline-flex; align-items: center; gap: 22px; border: 1px solid #d9b48480; border-radius: 2px; font: 14px var(--sans); color: #f3dfc1; transition: background .3s, box-shadow .3s; }
#celebrateBtn:hover { background: #c8a2781a; box-shadow: 0 0 40px #dbb98812; }
#celebrateBtn > span { font-size: 24px; }
#celebrationStatus { margin-top: 16px; min-height: 24px; font-size: 12px; color: #d5b89e; }
.celebration-orbits { position: absolute; inset: 50% auto auto 50%; width: min(900px,110vw); height: min(900px,110vw); transform: translate(-50%,-50%); z-index: -1; pointer-events: none; }
.celebration-orbits span { position: absolute; inset: 0; border: 1px solid #d4ae7c25; border-radius: 50%; transform: rotate(-28deg) scaleY(.53); }
.celebration-orbits span + span { transform: rotate(28deg) scaleY(.53); }
.celebration-orbits i { position: absolute; top: 25%; right: 15%; font: 32px var(--english); color: #d4ae7c; }
.footer { background: #25171a; padding: 55px 7vw; border-top: 1px solid #e2c09122; }
.footer-monogram { font-size: 38px; color: #cdae83; }
.footer-quote { font-size: 14px; color: #c7b09e; }
.footer-actions { margin-top: 25px; }
.footer-copy-link, .footer-back-top { border-radius: 2px; min-height: 44px; }
.footer-credits { color: #b39784; font-size: 10px; }
.lightbox { background: #160e10f7; }
.lightbox img { border-radius: 2px; }
.toast-msg { border-radius: 3px; }
/* Motion only enhances visible content; there is no scroll lock or hidden-content gate. */
@media (prefers-reduced-motion: no-preference) {
  .hero-editorial > span { animation: title-enter 1.3s var(--ease-out) both; }
  .hero-editorial > em { animation: title-enter 1.5s .12s var(--ease-out) both; }
  .reveal-arriving { animation: section-enter .85s var(--ease-out) both; }
}
@keyframes title-enter { from { opacity: .15; transform: translateY(28px); clip-path: inset(0 0 100% 0); } to { opacity: 1; transform: none; clip-path: inset(-15% -20% -25% -15%); } }
@keyframes section-enter { from { opacity: .35; translate: 0 28px; } to { opacity: 1; translate: 0 0; } }
@media (min-width: 1600px) {
  .hero { padding-top: 170px; }
  .hero__shore { padding-top: 50px; }
}
@media (max-width: 1100px) and (min-width: 701px) {
  .hero { grid-template-columns: 53% 47%; }
  .hero__sky, .hero__shore { padding-left: 6vw; }
  .hero__backdrop { left: 44%; }
  .hero-editorial { font-size: 90px; }
  .hero__subtitle { font-size: 14px; }
  .hero-facts strong { font-size: 14px; }
  .hero-film-link { font-size: 12px; }
  .hero__actions { gap: 14px; }
  .hero-photo-note { right: 4vw; }
  .scroll-indicator { display: none; }
  .essentials-layout { gap: 30px; grid-template-columns: 1.15fr 1fr; }
  .story-grid { gap: 40px; grid-template-columns: 1fr 1fr; }
  .gallery-grid { gap: 40px; }
  .photo-card:nth-child(odd) { padding-right: 10px; }
  .photo-card:nth-child(3), .photo-card:nth-child(7) { padding-right: 35px; }
}
@media (max-width: 700px) {
  .top-bar { padding: 13px 22px; }
  .brand-mark { font-size: 21px; }
  .brand-mark > span { margin-left: 12px; padding-left: 12px; font-size: 8px; }
  .sound-toggle { min-height: 40px; padding: 8px 11px; }
  .nav-pill { display: none; }
  .hero { display: flex; min-height: 0; padding: 0 0 37px; }
  .hero::after { inset: 74px 14px auto; height: 475px; }
  .hero__backdrop { top: 0; left: 0; right: 0; bottom: auto; height: 635px; background-image: linear-gradient(0deg,#291619 0%,#291619dc 12%,#29161900 34%,#29161905 58%,#29161944 100%),url('./assets/images/hero-ceremony.webp'); background-position: center,50% min(0px,calc(312px - 60vw)); background-size: cover,max(100%,520px) auto; background-repeat: no-repeat; transform: translate3d(0,var(--hero-drift,0px),0) scale(1.015); }
  .hero-orbit { display: none; }
  .hero__sky { width: 100%; height: 524px; padding: 84px 30px 0; text-align: left; }
  .hero-kicker { font-size: 9px; letter-spacing: .15em; margin-bottom: 18px; color: #40262a; }
  .hero-kicker > span { background: #50272e; }
  .hero-editorial { font-size: 56px; padding-bottom: 14px; color: #44242b; text-shadow: 0 1px 20px #ffeac529; }
  .hero-editorial > em { color: #623439; padding-left: .4em; }
  .hero-editorial > i { font-size: 24px; color: #623439; right: -.5em; }
  .hero-names { font-size: 26px; letter-spacing: .12em; margin-bottom: 8px; text-shadow: none; color: #44242b; }
  .hero-names i { color: #70433c; }
  .hero-romance-name { font-size: 9px; letter-spacing: .25em; color: #4c2b2e; }
  .hero-photo-note { top: 345px; right: 28px; font-size: 8px; gap: 13px; }
  .hero__shore { padding: 12px 27px 0; width: 100%; }
  .hero__subtitle { text-align: center; font-size: 14px; margin-bottom: 18px; }
  .hero-facts { padding: 15px 0; margin-bottom: 20px; }
  .hero-facts p { grid-template-columns: 35px minmax(0,1fr); gap: 9px; margin: 8px 0; line-height: 1.6; }
  .hero-facts strong { font-size: 15px; }
  .hero-facts p > span { font-size: 12px; }
  .hero-facts .weekday { font-size: 12px; margin-left: 5px; }
  .hero-facts br { display: block; }
  .hero__actions { gap: 17px 24px; }
  .hero__actions .btn-primary { padding: 14px 20px; gap: 24px; }
  .hero-film-link { font-size: 12px; gap: 8px; }
  .hero-poster-links { font-size: 12px; justify-content: center; }
  .hero .countdown-card { display: none; }
  .scroll-indicator { display: none; }
  .chapter-ribbon { flex-wrap: wrap; gap: 13px; padding: 24px; font-size: 10px; }
  .chapter-ribbon i { font-size: 12px; }
  .ribbon-line { width: 35px; }
  .ribbon-line::after { content: ''; }
  .ribbon-date { margin: 0; width: 100%; text-align: center; font-size: 8px; letter-spacing: .25em; padding-top: 4px; }
  .chapter { padding: 72px 26px; scroll-margin-top: 74px; }
  .chapter-badge { font-size: 9px; margin-bottom: 18px; letter-spacing: .16em; }
  .section-title { font-size: 29px; }
  .section-title em { display: block; }
  .section-desc { font-size: 14px; }
  .essentials-layout { grid-template-columns: 1fr; gap: 32px; }
  .essentials-heading { margin-bottom: 32px; }
  .invitation-date > span { font-size: 74px; }
  .invitation-date em { font-size: 52px; }
  .invitation-date { gap: 15px; }
  .invitation-date > i { height: 43px; width: 43px; font-size: 16px; }
  .invitation-date > div { font-size: 9px; }
  .essentials-row strong { font-size: 19px; }
  .essentials-row small { font-size: 14px; }
  .essentials-row { grid-template-columns: 40px minmax(0,1fr); }
  .essentials-side { border-radius: 110px 110px 3px 3px; }
  .essentials-side img { height: 340px; border-radius: 100px 100px 0 0; }
  .story-grid { grid-template-columns: 1fr; gap: 45px; }
  .chapter--story { padding-top: 0; }
  .story-intro { padding: 42px 0 36px; }
  .story-intro > p { font-size: 35px; }
  .story-intro em { padding-left: .8em; }
  .story-intro-note { position: static; display: block; margin-top: 20px; font-size: 9px; }
  .letter-salutation { font-size: 20px; }
  .letter-body p { font-size: 15px; }
  .letter-quote-box { padding: 18px; }
  .letter-sign { gap: 12px; }
  .letter-sign-date { font-size: 11px; }
  .letter-sign-names strong { font-size: 18px; }
  .polaroid-card { margin: 0 5px; }
  .gallery-header { margin-bottom: 28px; }
  .gallery-display { font-size: clamp(66px,16vw,98px); margin-bottom: 20px; }
  .gallery-header .section-title { font-size: 23px; line-height: 1.6; }
  .gallery-filters { gap: 4px 22px; margin-top: 24px; }
  .filter-btn { font-size: 12px; }
  .gallery-grid { display: grid; grid-template-columns: 1fr; gap: 36px; }
  .gallery-grid .photo-card, .gallery-grid .photo-card:nth-child(n), .gallery-grid.is-filtered .photo-card { grid-column: 1; margin: 0; padding: 0; aspect-ratio: auto; }
  .gallery-grid .photo-card:nth-child(even) { margin-left: 28px; }
  .gallery-grid .photo-card:nth-child(odd) { margin-right: 16px; }
  .gallery-grid.is-filtered .photo-card:nth-child(n) { margin: 0; }
  .photo-title { font-size: 17px; }
  .photo-overlay { padding-top: 15px; }
  .photo-quote { font-size: 12px; }
  .film-display { font-size: 64px; }
  .film-header .section-title { font-size: 22px; }
  .film-header { margin-bottom: 28px; }
  .play-ring { width: 60px; height: 60px; }
  .play-text { font-size: 10px; }
  .film-controls { gap: 14px; align-items: flex-start; }
  .quality-btn { padding: 7px 11px; font-size: 11px; }
  .film-footer-meta { font-size: 10px; }
  .details-tabs-nav { gap: 8px; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .tab-btn { font-size: 13px; padding: 11px 10px; }
  .schedule-flow { padding-left: 20px; }
  .schedule-step { padding: 16px 14px 24px; }
  .schedule-title { font-size: 19px; }
  .schedule-desc { font-size: 14px; }
  .schedule-step::before { left: -16px; }
  .venue-info-box { padding: 22px 18px; }
  .venue-name-cn { font-size: 24px; }
  .venue-name-en { overflow-wrap: anywhere; }
  .venue-badge-row { gap: 8px; }
  .venue-tag-hall { padding: 5px 9px; }
  .celebration { min-height: 510px; padding: 80px 24px; }
  .celebration-script { font-size: 56px; }
  .celebration h2 { font-size: 23px; letter-spacing: .06em; }
  .celebration .chapter-badge { font-size: 8px; }
  .celebration-orbits { width: 650px; height: 650px; }
  .footer { padding: 45px 28px 114px; }
  .footer-quote { font-size: 13px; }
  .dock { display: flex; position: fixed; z-index: 80; bottom: max(12px,env(safe-area-inset-bottom)); justify-content: space-between; align-items: center; left: 22px; right: 22px; padding: 5px 8px; border-radius: 4px; background: #291619ed; box-shadow: 0 6px 30px #180c0f22; border: 1px solid #ffffff1a; backdrop-filter: blur(20px); }
  .dock a { flex: 1; padding: 8px 0; font-family: var(--sans); min-height: 42px; display: grid; place-items: center; font-size: 12px; border-radius: 2px; color: #e1cbb9; }
  .dock a.is-active { background: #e5c79a20; color: #ffe9c9; }
  .lightbox-caption p { max-width: 280px; margin-left: auto; margin-right: auto; }
  .toast-msg { bottom: 90px; }
}
@media (max-width: 360px) {
  .hero__sky { padding-left: 24px; }
  .hero__shore { padding-left: 22px; padding-right: 22px; }
  .hero__actions { gap: 15px; }
  .hero__actions .btn-primary { gap: 14px; padding: 14px 15px; }
  .hero-film-link { font-size: 11px; }
  .brand-mark > span { display: none; }
  .chapter { padding-left: 22px; padding-right: 22px; }
  .gallery-filters { gap: 5px 17px; }
  .invitation-date > span { font-size: 60px; }
  .celebration-script { font-size: 48px; }
}
@media (max-width: 700px) and (max-height: 740px) {
  .hero__sky { height: 350px; padding-top: 82px; }
  .hero__backdrop { height: 455px; background-size: cover,max(100%,453.333px) auto; background-position: center,50% min(0px,calc(272px - 60vw)); }
  .hero::after { height: 340px; }
  .hero-kicker { margin-bottom: 14px; }
  .hero-editorial { font-size: 46px; padding-bottom: 12px; }
  .hero-names { font-size: 25px; margin-bottom: 6px; }
  .hero-photo-note { top: 268px; font-size: 7px; }
  .hero__subtitle { margin-bottom: 11px; font-size: 13px; }
  .hero-facts { padding: 10px 0; }
  .hero-facts p { margin: 6px 0; line-height: 1.5; }
  .hero-facts strong { font-size: 14px; }
}
@media (max-width: 700px) and (max-height: 620px) {
  .hero__sky { height: 285px; padding-top: 76px; }
  .hero__backdrop { height: 390px; background-size: cover,max(100%,373.333px) auto; background-position: center,50% min(0px,calc(224px - 60vw)); }
  .hero::after { height: 285px; }
  .hero-kicker { margin-bottom: 10px; font-size: 8px; }
  .hero-editorial { font-size: 36px; padding-bottom: 10px; }
  .hero-names { font-size: 22px; }
  .hero-romance-name { font-size: 8px; }
  .hero-photo-note { top: 207px; }
  .hero__subtitle { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__backdrop { transform: none; }
  .hero-editorial > span, .hero-editorial > em, .reveal-arriving { animation: none; opacity: 1; translate: none; }
  [data-foil]::before { display: none; }
}

/* The illustrated interlude joins the letter to the photographic album. */
.chapter--fairytale { padding-top: 82px; padding-bottom: 100px; background: #eae1d4; border-top: 1px solid #c6b19566; overflow: hidden; }
.fairytale-layout { display: grid; grid-template-columns: minmax(230px,.8fr) minmax(0,1.6fr); align-items: center; gap: 64px; }
.fairytale-display { font: clamp(48px,4.6vw,68px)/1.04 var(--english); letter-spacing: -.045em; color: var(--wine); margin: 0 0 26px; }
.fairytale-display em { color: #996e4e; }
.fairytale-intro h2 { font-size: clamp(24px,2.2vw,32px); line-height: 1.7; letter-spacing: .08em; margin-bottom: 18px; }
.fairytale-intro .section-desc { font-size: 14px; line-height: 2; }
.fairytale-note { margin-top: 26px; font: 11px/1.8 var(--sans); color: #776052; }
.fairytale-note > span { color: #9b6c40; font-size: 20px; margin-right: 8px; vertical-align: middle; }
.fairytale-cinema { position: relative; min-width: 0; padding: 14px 14px 0; background: #f8f2e8; border: 1px solid #b49a764d; box-shadow: 0 20px 55px #452d2417; }
.fairytale-cinema::before { content: ''; position: absolute; inset: -9px 7px 7px -9px; border: 1px solid #b697683d; z-index: 0; pointer-events: none; }
.fairytale-player { position: relative; aspect-ratio: 16/9; background: #25171a; overflow: hidden; }
.fairytale-player video { display: block; width: 100%; height: 100%; aspect-ratio: 16/9; object-fit: contain; }
.fairytale-play { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; color: #fff3de; }
.fairytale-play img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.fairytale-play::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg,#29161933,transparent 30%,transparent 50%,#291619a6); pointer-events: none; }
.fairytale-duration { position: absolute; z-index: 1; left: 20px; top: 18px; font: 9px var(--sans); letter-spacing: .17em; text-shadow: 0 1px 8px #000a; }
.fairytale-start { position: absolute; z-index: 1; left: 22px; right: 22px; bottom: 24px; display: flex; align-items: center; gap: 15px; font: 13px var(--sans); letter-spacing: .15em; text-shadow: 0 1px 10px #0006; }
.fairytale-play-icon { display: grid; place-items: center; width: 51px; height: 51px; border: 1px solid #e9d2accc; border-radius: 50%; background: #4d293b40; backdrop-filter: blur(8px); font-size: 29px; padding-left: 3px; transition: background .3s; }
.fairytale-play:hover .fairytale-play-icon { background: #442029cc; }
.fairytale-controls { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 16px; }
.fairytale-quality { display: flex; gap: 4px; }
.fairytale-quality button { border: 1px solid transparent; border-radius: 2px; padding: 10px 14px; min-height: 44px; color: #6c4b44; font: 12px var(--sans); }
.fairytale-quality button[aria-pressed=true] { background: var(--wine); color: #f7e4c6; }
.fairytale-quality button:hover { border-color: #8c695a; }
.fairytale-standalone { min-height: 44px; display: flex; align-items: center; gap: 8px; padding: 6px 3px; color: #6c4b44; font: 12px var(--sans); }
.fairytale-status { margin: 8px 0 16px; min-height: 22px; color: #796759; font: 11px/1.7 var(--sans); }
.fairytale-caption { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 17px 0; border-top: 1px solid #c4ad924d; color: #78533d; font-size: 14px; }
.fairytale-caption > span:last-child { font: 8px var(--sans); letter-spacing: .16em; }
@media (hover:hover) and (prefers-reduced-motion:no-preference) { .fairytale-play:hover img { transform: scale(1.035); } }
@media (max-width: 1000px) { .fairytale-layout { gap: 36px; } }
@media (max-width: 900px) {
  .fairytale-layout { grid-template-columns: 1fr; gap: 34px; }
  .fairytale-intro .section-desc br { display: none; }
  .fairytale-display { font-size: 64px; }
  .fairytale-display br { display: none; }
  .fairytale-intro h2 br { display: none; }
  .fairytale-note { margin-top: 14px; }
}
@media (max-width: 700px) {
  .chapter--fairytale { padding: 62px 26px 72px; }
  .fairytale-display { font-size: clamp(43px,11.5vw,68px); margin-bottom: 22px; }
  .fairytale-display br { display: block; }
  .fairytale-intro h2 { font-size: 23px; letter-spacing: .02em; }
  .fairytale-note { font-size: 10px; }
  .fairytale-cinema { margin: 0 -8px; padding: 8px 8px 0; }
  .fairytale-duration { font-size: 7px; left: 13px; top: 12px; letter-spacing: .1em; }
  .fairytale-start { left: 13px; bottom: 14px; gap: 10px; font-size: 11px; }
  .fairytale-play-icon { height: 39px; width: 39px; font-size: 23px; }
  .fairytale-controls { gap: 4px; margin-top: 10px; }
  .fairytale-quality button { font-size: 11px; padding: 10px 12px; }
  .fairytale-standalone { font-size: 11px; }
  .fairytale-status { font-size: 10px; margin-bottom: 10px; }
  .fairytale-caption { font-size: 12px; padding: 13px 0; }
  .fairytale-caption > span:last-child { font-size: 7px; letter-spacing: .1em; }
}


/* Keep the full 2:3 photograph intact, including the outer edge of the bridal train. */
.hero__backdrop {
  position: relative; inset: auto; grid-column: 2; grid-row: 1 / span 2;
  align-self: start; justify-self: center; width: calc(100% - 64px); max-width: 660px;
  margin-top: 82px; z-index: 2; background: none; transform: none; animation: none;
}
.hero-full-photo {
  display: block; width: 100%; height: auto;
  max-height: calc(max(880px, 100svh) - 276px); object-fit: contain;
}
@media (max-width: 1100px) and (min-width: 701px) {
  .hero__backdrop { inset: auto; width: calc(100% - 36px); }
}
@media (max-width: 700px) {
  .hero { padding-top: 74px; }
  .hero::after { display: none; }
  .hero__backdrop {
    position: relative; inset: auto; width: calc(100% - 28px); max-width: none;
    height: auto; margin: 0 14px; order: 0; background: none; transform: none;
  }
  .hero-full-photo { width: 100%; max-height: none; height: auto; object-fit: contain; }
  .hero__sky { position: absolute; top: 105px; left: 0; height: auto; padding: 0 30px; }
  .hero-kicker { margin-bottom: 14px; font-size: 8px; }
  .hero-editorial { font-size: clamp(30px,9vw,46px); padding-bottom: 10px; }
  .hero-editorial > i { font-size: 18px; }
  .hero-names { font-size: 22px; margin-bottom: 6px; }
  .hero-romance-name { font-size: 8px; }
  .hero-photo-note { display: none; }
  .hero__shore { order: 1; padding-top: 24px; }
}
