:root {
  color-scheme: light;
  --paper: #f8f4ed;
  --paper-deep: #eee5d9;
  --ink: #2d2625;
  --muted: #706762;
  --wine: #652b3f;
  --wine-dark: #492031;
  --gold: #b49461;
  --gold-light: #e6d1a6;
  --blush: #ead6d5;
  --marigold: #c89335;
  --line: #d9cdbd;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --page: min(1240px, calc(100% - 72px));
  --shadow: 0 20px 52px #35231d14;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 82px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.65; overflow-x: clip; }
body.intro-locked { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 2px solid var(--wine); outline-offset: 4px; }
button:disabled { cursor: not-allowed; opacity: .5; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
em { color: var(--wine); font-weight: 400; }
.scroll-progress { position: fixed; inset: 0 auto auto 0; z-index: 80; width: 100%; height: 3px; transform: scaleX(var(--scroll-progress, 0)); transform-origin: left center; background: linear-gradient(90deg, var(--wine), var(--gold), var(--gold-light)); pointer-events: none; }
.venue-quicklink { position: fixed; z-index: 79; top: 50%; right: max(12px, env(safe-area-inset-right)); display: grid; width: 48px; height: 48px; place-items: center; transform: translateY(-50%); border: 1px solid #d9bd80a8; border-radius: 50%; background: #512438bd; color: var(--paper); box-shadow: 0 5px 20px #24101936; opacity: .78; text-decoration: none; backdrop-filter: blur(8px); transition: opacity .2s ease, background .2s ease, transform .2s ease; }
.venue-quicklink svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.venue-quicklink:hover, .venue-quicklink:focus-visible { transform: translateY(-50%) scale(1.06); background: #512438eb; opacity: 1; }
.venue-quicklink:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }
.section-wrap { width: var(--page); margin: 0 auto; }
.section { padding: clamp(76px, 9.5vw, 132px) 0; }
.eyebrow { display: flex; align-items: center; gap: 11px; margin: 0 0 17px; color: var(--wine); font-size: 10px; font-weight: 600; letter-spacing: .2em; line-height: 1.55; text-transform: uppercase; }
.eyebrow-line { display: inline-block; width: 32px; height: 1px; background: var(--gold); }
.eyebrow-light { color: var(--gold-light); }
.section-heading { max-width: 740px; margin: 0 auto 54px; text-align: center; }
.section-heading .eyebrow { justify-content: center; }
.section-heading h2 { margin: 0; color: var(--ink); font-size: clamp(48px, 6.5vw, 80px); line-height: .95; letter-spacing: -.035em; }
.section-heading > p:not(.eyebrow) { max-width: 540px; margin: 20px auto 0; color: var(--muted); font-size: 14px; }
.text-link { display: inline-flex; align-items: center; gap: 15px; color: var(--wine); font-size: 10px; font-weight: 600; letter-spacing: .14em; text-decoration: none; text-transform: uppercase; }
.text-link span { color: var(--gold); font-size: 19px; transition: transform .2s ease; }
.text-link:hover span { transform: translateY(3px); }
.photo-mat { padding: 10px; border: 1px solid var(--gold); background: #fffdf8; box-shadow: var(--shadow); }
.photo-mat figcaption { padding: 10px 3px 0; color: var(--muted); font-family: var(--serif); font-size: 17px; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.65,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }

/* Opening envelope */
.intro-layer { display: none; position: fixed; inset: 0; z-index: 50; place-items: center; padding: 28px; background: var(--wine-dark); color: var(--paper); isolation: isolate; }
.intro-layer::before, .intro-layer::after { position: absolute; z-index: -1; content: ""; inset: 18px; border: 1px solid #c6a77770; pointer-events: none; }
.intro-layer::after { inset: 26px; border-color: #c6a77733; }
.intro-layer.is-active { display: grid; animation: intro-appear .45s ease both; }
.intro-center { display: flex; flex-direction: column; align-items: center; width: min(100%, 600px); text-align: center; }
.intro-kicker { margin: 0 0 8px; color: var(--gold-light); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; }
.intro-title { margin: 0 0 24px; color: var(--paper); font-size: clamp(42px, 6vw, 66px); line-height: 1; }
.intro-title span { color: inherit; }
.intro-skip { position: absolute; top: max(34px, env(safe-area-inset-top)); right: max(38px, env(safe-area-inset-right)); z-index: 2; min-height: 44px; padding: 8px 14px; border: 1px solid #e8d6b366; background: transparent; color: var(--paper); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.intro-skip:hover { background: #ffffff12; }
.envelope { position: relative; width: min(68vw, 370px); height: 238px; padding: 0; border: 0; background: transparent; cursor: pointer; perspective: 900px; }
.envelope-back { position: absolute; inset: 15px 0 0; background: #eadfce; box-shadow: 0 24px 44px #1f0c191c; }
.envelope-card { position: absolute; top: 22px; left: 13%; width: 74%; height: 190px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid #c5a66c; background: #fffaf0; color: var(--wine); transition: transform .9s cubic-bezier(.22,.8,.25,1), box-shadow .7s ease; }
.card-monogram { font-family: var(--serif); font-size: 33px; letter-spacing: .05em; }
.card-monogram i { color: var(--gold); font-size: 15px; font-style: normal; }
.card-caption { margin-top: 6px; color: var(--muted); font-size: 8px; letter-spacing: .19em; text-transform: uppercase; }
.envelope-left, .envelope-right, .envelope-front, .envelope-flap { position: absolute; display: block; }
.envelope-left { inset: 15px 50% 0 0; background: #e4d3bd; clip-path: polygon(0 0, 100% 52%, 0 100%); }
.envelope-right { inset: 15px 0 0 50%; background: #dfcdb6; clip-path: polygon(100% 0, 0 52%, 100% 100%); }
.envelope-front { inset: 50% 0 0; background: #f1e6d5; clip-path: polygon(0 100%, 50% 24%, 100% 100%); }
.envelope-flap { top: 15px; left: 0; width: 100%; height: 53%; background: #f7eee2; clip-path: polygon(0 0, 100% 0, 50% 100%); transform-origin: top center; transition: transform .75s cubic-bezier(.25,.6,.15,1); }
.wax-seal { position: absolute; top: 48%; left: 50%; z-index: 1; display: grid; width: 48px; height: 48px; place-items: center; transform: translate(-50%,-50%); border: 1px solid #e8cfa1; border-radius: 50%; background: var(--wine); color: var(--gold-light); font-family: var(--serif); font-size: 22px; box-shadow: 0 3px 8px #4520304a; transition: opacity .2s ease, transform .3s ease; }
.envelope:hover .wax-seal { transform: translate(-50%,-50%) scale(1.08); }
.intro-hint { margin: 16px 0 4px; color: #f4ece1b0; font-size: 10px; letter-spacing: .12em; }
.intro-open-link { min-height: 40px; padding: 7px 4px; border: 0; background: transparent; color: var(--gold-light); font-size: 10px; letter-spacing: .15em; text-transform: uppercase; cursor: pointer; }
.intro-open-link span { padding-left: 6px; font-size: 16px; }
.intro-ornament { position: absolute; bottom: 4vh; color: #d9c39848; font-family: var(--serif); font-size: clamp(100px, 19vw, 230px); line-height: 1; pointer-events: none; }
.intro-ornament-left { left: 4vw; transform: rotate(-30deg); }
.intro-ornament-right { right: 4vw; transform: rotate(150deg); }
.intro-layer.is-active .intro-kicker { animation: rise-in .65s .06s both; }
.intro-layer.is-active .intro-title { animation: rise-in .7s .14s both; }
.intro-layer.is-active .envelope { animation: rise-in .8s .23s both, envelope-float 4.2s 1.1s ease-in-out infinite; }
.intro-layer.is-active .intro-hint, .intro-layer.is-active .intro-open-link { animation: rise-in .65s .38s both; }
.intro-layer.is-active .intro-ornament-left { animation: ornament-drift 8s ease-in-out infinite; }
.intro-layer.is-active .intro-ornament-right { animation: ornament-drift 9s -2s ease-in-out infinite reverse; }
.intro-layer.is-active .wax-seal { animation: seal-breathe 2.8s ease-in-out infinite; }
body.invite-opening .envelope-card { z-index: 2; box-shadow: 0 18px 32px #29151d3d; transform: translateY(-128px) scale(1.04); }
body.invite-opening .envelope-flap { transform: rotateX(180deg); }
body.invite-opening .wax-seal { opacity: 0; transform: translate(-50%,-70%) scale(.75); }
.intro-layer.is-leaving { animation: intro-leave .65s ease forwards; }
@keyframes intro-appear { from { opacity: 0; } to { opacity: 1; } }
@keyframes intro-leave { to { opacity: 0; visibility: hidden; } }
@keyframes rise-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes envelope-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
@keyframes ornament-drift { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@keyframes seal-breathe { 0%, 100% { box-shadow: 0 3px 8px #4520304a; } 50% { box-shadow: 0 0 0 8px #e8cfa118, 0 5px 16px #45203066; } }

/* Navigation and hero */
.site-header { position: relative; z-index: 5; display: flex; width: var(--page); min-height: 82px; align-items: center; justify-content: space-between; margin: 0 auto; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: center; gap: 8px; color: var(--wine); font-family: var(--serif); font-size: 24px; text-decoration: none; }
.wordmark i { color: var(--gold); font-size: 12px; font-style: normal; }
.desktop-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 42px); }
.desktop-nav a, .mobile-menu a { position: relative; color: var(--muted); font-size: 9px; letter-spacing: .13em; text-decoration: none; text-transform: uppercase; transition: color .2s ease; }
.desktop-nav a::after, .mobile-menu a::after { position: absolute; right: 0; bottom: -6px; left: 0; height: 1px; content: ""; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .28s ease; }
.desktop-nav a:hover, .mobile-menu a:hover { color: var(--wine); }
.desktop-nav a:hover::after, .mobile-menu a:hover::after { transform: scaleX(1); transform-origin: left; }
.header-contact { min-height: 40px; display: inline-flex; align-items: center; gap: 12px; padding: 0 14px; border: 1px solid var(--wine); color: var(--wine); font-size: 9px; font-weight: 600; letter-spacing: .14em; text-decoration: none; text-transform: uppercase; transition: background .2s ease, color .2s ease; }
.header-contact:hover { background: var(--wine); color: var(--paper); }
.header-contact span { font-size: 15px; }
.mobile-nav { display: none; position: relative; }
.mobile-nav summary { list-style: none; cursor: pointer; color: var(--wine); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary span { margin-left: 5px; }
.mobile-menu { position: absolute; top: 35px; right: 0; z-index: 8; min-width: 200px; display: grid; gap: 15px; padding: 18px; border: 1px solid var(--line); background: #fffcf7; box-shadow: var(--shadow); }
.hero { position: relative; display: grid; width: var(--page); min-height: min(780px, calc(100svh - 82px)); grid-template-columns: .8fr 1.2fr; align-items: center; gap: clamp(35px, 7vw, 104px); margin: 0 auto; padding: 46px 0 74px; }
.hero-copy { padding: 30px 0 35px; }
.hero-copy .eyebrow { margin-bottom: 20px; }
.hero h1 { display: flex; flex-direction: column; margin: 0; color: var(--ink); font-size: clamp(74px, 10vw, 136px); line-height: .73; letter-spacing: -.07em; }
.hero h1 em { display: block; margin: 12px 0 10px 9%; color: var(--wine); font-size: .57em; font-style: italic; line-height: .8; }
.hero-date { margin: 27px 0 3px; color: var(--wine); font-family: var(--serif); font-size: clamp(24px, 3vw, 32px); }
.hero-quote { margin: 0 0 28px; color: var(--muted); font-family: var(--serif); font-size: 20px; font-style: italic; }
.hero-visual { min-width: 0; }
.hero-frame { position: relative; display: flex; align-items: center; justify-content: center; padding: 12px; border: 1px solid var(--gold); background: var(--paper-deep); box-shadow: 16px 16px 0 #b494611b; }
.hero-frame img { width: 100%; height: auto; max-height: min(75svh, 748px); object-fit: contain; }
.hero-frame { transition: box-shadow .45s ease, transform .45s cubic-bezier(.2,.7,.3,1); }
.hero-frame:hover { transform: translateY(-4px); box-shadow: 20px 24px 0 #b4946122; }
body.invitation-visible .hero-copy > * { animation: rise-in .72s cubic-bezier(.2,.7,.3,1) both; }
body.invitation-visible .hero-copy > :nth-child(1) { animation-delay: .03s; }
body.invitation-visible .hero-copy > :nth-child(2) { animation-delay: .12s; }
body.invitation-visible .hero-copy > :nth-child(3) { animation-delay: .23s; }
body.invitation-visible .hero-copy > :nth-child(4) { animation-delay: .32s; }
body.invitation-visible .hero-copy > :nth-child(5) { animation-delay: .42s; }
body.invitation-visible .hero-visual { animation: hero-photo-in .95s .2s cubic-bezier(.2,.7,.3,1) both; }
@keyframes hero-photo-in { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: none; } }
.frame-index { position: absolute; right: -30px; top: 30px; color: var(--muted); font-size: 9px; letter-spacing: .17em; writing-mode: vertical-rl; }
.hero-caption { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 17px 0 0; color: var(--muted); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
.caption-star { color: var(--gold); font-size: 12px; }
.scroll-cue { position: absolute; bottom: 20px; left: 0; display: flex; align-items: center; gap: 13px; color: var(--muted); font-size: 8px; letter-spacing: .16em; text-decoration: none; text-transform: uppercase; }
.scroll-line { display: block; width: 38px; height: 1px; background: var(--gold); }

/* Countdown */
.countdown-section { position: relative; padding: 76px 0 82px; background: var(--wine-dark); color: var(--paper); text-align: center; }
.countdown-section::before, .countdown-section::after { position: absolute; top: 18px; bottom: 18px; width: 1px; content: ""; background: linear-gradient(transparent, #d8bd8e80, transparent); }
.countdown-section::before { left: max(26px, calc((100% - 1240px) / 2)); }
.countdown-section::after { right: max(26px, calc((100% - 1240px) / 2)); }
.countdown-wrap .eyebrow { justify-content: center; }
.countdown-wrap h2 { margin: 0 0 29px; color: var(--paper); font-size: clamp(43px, 6vw, 66px); line-height: 1; }
.countdown-wrap h2 em { color: var(--gold-light); }
.countdown { display: flex; justify-content: center; align-items: start; gap: clamp(12px, 4vw, 48px); }
.countdown > div { display: grid; min-width: clamp(55px, 8vw, 105px); }
.count-number { color: var(--paper); font-family: var(--serif); font-size: clamp(37px, 6vw, 70px); line-height: .95; font-variant-numeric: tabular-nums; }
.count-label { margin-top: 10px; color: var(--gold-light); font-size: 8px; letter-spacing: .17em; text-transform: uppercase; }
.count-divider { padding-top: 4px; color: var(--gold); font-family: var(--serif); font-size: clamp(28px, 5vw, 56px); }
.countdown-timezone { margin: 24px 0 0; color: #eadfceaa; font-size: 9px; letter-spacing: .08em; }
.countdown-ended { margin: 16px 0 0; color: var(--gold-light); font-family: var(--serif); font-size: 27px; }

/* Couple and story */
.couple-section { background: #f1eade; }
.portrait-grid { display: grid; max-width: 1040px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 6vw, 84px); align-items: start; margin: 0 auto; }
.portrait-card { text-align: center; }
.portrait-frame { display: flex; max-width: 430px; align-items: center; justify-content: center; margin: 0 auto 24px; padding: 10px; border: 1px solid var(--gold); background: #fffdf8; box-shadow: var(--shadow); }
.portrait-frame img { width: 100%; height: auto; }
.portrait-role { margin: 0 0 3px; color: var(--gold); font-size: 9px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.portrait-card h3 { margin: 0; color: var(--wine); font-size: clamp(34px, 4vw, 45px); line-height: 1; }
.qualification { margin: 9px 0 0; color: var(--muted); font-size: 12px; }
.parent-line { margin: 16px 0 0; color: var(--muted); font-family: var(--serif); font-size: 18px; line-height: 1.25; }
.parent-line span:first-child { color: var(--gold); font-family: var(--sans); font-size: 8px; letter-spacing: .14em; text-transform: uppercase; }
.story-section { position: relative; }
.story-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(35px, 8vw, 115px); align-items: center; }
.story-copy { max-width: 420px; }
.story-copy h2 { margin: 0 0 22px; color: var(--ink); font-size: clamp(58px, 8vw, 94px); line-height: .82; letter-spacing: -.04em; }
.story-copy h2 em { display: block; margin-top: 7px; }
.story-copy p:not(.eyebrow) { max-width: 365px; color: var(--muted); font-size: 14px; }
.story-copy .story-quote { margin-bottom: 13px; color: var(--wine); font-family: var(--serif); font-size: 28px; line-height: 1.13; }
.story-copy .text-link { margin-top: 12px; }
.story-photo { max-width: 760px; justify-self: end; }
.story-photo img { width: 100%; height: auto; }
.story-side-note { position: absolute; right: max(24px, calc((100% - 1350px) / 2)); bottom: 32px; color: var(--gold); font-size: 8px; letter-spacing: .22em; text-transform: uppercase; writing-mode: vertical-rl; }

/* Timeline and ceremonies */
.timeline-section { background: #f2ece3; }
.event-timeline { position: relative; max-width: 900px; margin: 0 auto; padding: 10px 0; }
.event-timeline::before { position: absolute; top: 10px; bottom: 10px; left: 35%; width: 1px; content: ""; background: var(--line); }
.event-timeline::after { position: absolute; top: 10px; left: 35%; width: 1px; height: 0; content: ""; background: var(--gold); transition: height 1.2s ease; }
.event-timeline.is-visible::after { height: calc(100% - 20px); }
.timeline-event { position: relative; display: grid; grid-template-columns: 35% 1px 1fr; gap: 36px; align-items: start; padding: 30px 0 48px; }
.timeline-event:last-child { padding-bottom: 20px; }
.timeline-date { display: flex; flex-direction: column; align-items: end; padding-top: 7px; color: var(--muted); font-size: 9px; letter-spacing: .13em; text-align: right; text-transform: uppercase; }
.timeline-date strong { margin-top: 5px; color: var(--wine); font-family: var(--serif); font-size: 25px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.timeline-dot { position: relative; z-index: 1; width: 11px; height: 11px; margin: 11px 0 0 -5px; border: 2px solid var(--paper); border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.timeline-detail { padding-left: 0; }
.event-overline { margin: 0 0 5px; color: var(--gold); font-size: 8px; letter-spacing: .17em; text-transform: uppercase; }
.timeline-detail h3 { margin: 0; color: var(--wine); font-size: 38px; line-height: 1; }
.event-time { margin: 10px 0 0; color: var(--ink); font-family: var(--serif); font-size: 22px; }
.time-note { color: var(--muted); font-size: .78em; }
.event-description { max-width: 440px; margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.venue-repeat { margin: 42px 0 0; color: var(--muted); text-align: center; font-size: 11px; letter-spacing: .05em; }
.venue-repeat span { margin-right: 8px; color: var(--gold); }
.venue-repeat strong { color: var(--wine); font-weight: 600; }
.ceremony-panels { display: grid; grid-template-columns: 1fr 1fr; }
.ceremony-panel { position: relative; min-height: 430px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 64px clamp(24px, 6vw, 90px); text-align: center; }
.haldi-panel { background: #f3e7cb; color: var(--ink); }
.wedding-panel { background: var(--wine); color: #fbf4e9; }
.ceremony-panel .eyebrow { justify-content: center; margin-bottom: 16px; }
.haldi-panel .eyebrow { color: #996d27; }
.wedding-panel .eyebrow { color: var(--gold-light); }
.ceremony-panel h2 { margin: 0; color: var(--wine); font-size: clamp(44px, 5vw, 67px); line-height: .95; }
.wedding-panel h2 { color: var(--paper); }
.panel-date { margin: 18px 0 0; color: var(--muted); font-family: var(--serif); font-size: 22px; }
.wedding-panel .panel-date { color: #f4e8dc; }
.panel-time { margin: 1px 0 7px; color: var(--wine); font-family: var(--serif); font-size: 25px; }
.wedding-panel .panel-time { color: var(--gold-light); }
.ceremony-panel > p:not(.eyebrow):not(.panel-date):not(.panel-time) { max-width: 360px; margin: 4px 0 17px; color: var(--muted); font-size: 12px; }
.wedding-panel > p:not(.eyebrow):not(.panel-date):not(.panel-time) { color: #f1e4d7; }
.panel-link { color: var(--wine); font-size: 8px; font-weight: 600; letter-spacing: .15em; text-decoration: none; text-transform: uppercase; }
.wedding-panel .panel-link { color: var(--gold-light); }
.panel-link span { padding-left: 5px; font-size: 14px; }
.panel-ornament { position: absolute; top: 23px; display: flex; align-items: center; gap: 10px; color: #b3925e91; }
.panel-ornament span { font-family: var(--serif); font-size: 21px; }
.panel-ornament i { display: inline-block; width: 38px; height: 1px; background: currentColor; }
.panel-ornament b { font-size: 11px; font-weight: 400; }
.wedding-panel .panel-ornament { color: #e1c9978a; }

/* Meals, family invitation, venue */
.dining-section { background: #f9f6f0; }
.dining-grid { display: grid; max-width: 980px; grid-template-columns: 1fr 1fr; gap: 26px; margin: 0 auto; }
.dining-item { position: relative; display: grid; grid-template-columns: 52px 1fr 22px; gap: 19px; align-items: start; padding: 28px 24px; border-top: 1px solid var(--gold); border-bottom: 1px solid var(--line); }
.dining-index { padding-top: 5px; color: var(--gold); font-family: var(--serif); font-size: 20px; }
.dining-item h3 { margin: 0; color: var(--wine); font-size: 38px; line-height: 1; }
.dining-item p { margin: 6px 0 0; color: var(--muted); font-size: 12px; }
.dining-item .dining-time { color: var(--ink); font-weight: 600; }
.dining-flower { color: var(--gold); font-size: 17px; }
.family-section { background: var(--wine-dark); color: var(--paper); }
.family-layout { display: grid; grid-template-columns: 1fr 1.02fr; gap: clamp(35px, 7vw, 94px); align-items: center; }
.family-photo { max-width: 570px; }
.family-photo img { width: 100%; height: auto; }
.family-photo figcaption { color: var(--muted); }
.family-copy h2 { margin: 0 0 20px; color: var(--paper); font-size: clamp(50px, 6vw, 78px); line-height: .9; letter-spacing: -.035em; }
.family-copy h2 em { color: var(--gold-light); }
.family-invitation { max-width: 585px; margin: 0; color: #f1e9df; font-family: var(--serif); font-size: clamp(20px, 2.3vw, 25px); line-height: 1.32; }
.family-signatures { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 27px; padding-top: 20px; border-top: 1px solid #ffffff36; }
.family-signatures p { margin: 0; }
.family-signatures span { display: block; margin-bottom: 7px; color: var(--gold-light); font-size: 8px; letter-spacing: .16em; text-transform: uppercase; }
.family-signatures strong { color: var(--paper); font-family: var(--serif); font-size: 18px; font-weight: 400; line-height: 1.18; }
.family-closing { margin: 22px 0 0; color: var(--gold-light); font-size: 9px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }
.venue-section { background: #f1e9dc; }
.venue-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(38px, 8vw, 105px); align-items: center; }
.venue-copy h2 { margin: 0 0 22px; color: var(--ink); font-size: clamp(52px, 6.6vw, 78px); line-height: .9; letter-spacing: -.035em; }
.venue-copy h2 em { display: block; }
.venue-copy h3 { margin: 0 0 3px; color: var(--wine); font-size: 30px; }
.venue-address { margin: 0; color: var(--muted); font-size: 13px; }
.venue-note { margin: 14px 0 23px; color: var(--wine); font-family: var(--serif); font-size: 21px; font-style: italic; }
.venue-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 0 14px; border: 1px solid transparent; background: transparent; font-size: 8px; font-weight: 600; letter-spacing: .11em; text-decoration: none; text-transform: uppercase; cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.button { transition: background .2s ease, color .2s ease, border-color .2s ease, transform .25s ease, box-shadow .25s ease; }
.button:not(:disabled):hover { transform: translateY(-2px); box-shadow: 0 6px 14px #35231d12; }
.button span { font-size: 14px; }
.button-dark { background: var(--wine); color: var(--paper); }
.button-dark:hover { background: var(--wine-dark); }
.button-outline { border-color: var(--wine); color: var(--wine); }
.button-outline:hover { background: #652b3f0d; }
.is-disabled { border-color: #8b8178; color: #756c66; cursor: not-allowed; text-decoration: none; }
.is-disabled:hover { background: transparent; }
.copy-status { min-height: 20px; margin: 8px 0 0; color: var(--green); font-size: 11px; }
.map-confirmation { margin: 4px 0 0; color: var(--muted); font-size: 10px; }
.map-panel { position: relative; min-height: 400px; display: grid; overflow: hidden; place-items: center; border: 1px solid var(--gold); background: #e9e0d2; box-shadow: var(--shadow); }
.map-placeholder { width: 100%; height: 100%; min-height: 400px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 25px; background: repeating-linear-gradient(0deg, transparent 0 49px, #b3925e20 50px), repeating-linear-gradient(90deg, transparent 0 49px, #b3925e20 50px), #f3ede3; text-align: center; }
.map-pin { display: grid; width: 56px; height: 56px; place-items: center; margin-bottom: 17px; border: 1px solid var(--gold); border-radius: 50%; color: var(--wine); font-size: 22px; }
.map-city { margin: 0; color: var(--wine); font-family: var(--serif); font-size: 43px; line-height: 1; }
.map-placeholder > p:not(.map-city) { margin: 9px 0 20px; color: var(--muted); font-size: 12px; }
.map-small { color: var(--muted); font-size: 7px; letter-spacing: .16em; }
.map-edge-note { position: absolute; right: 14px; bottom: 13px; color: var(--muted); font-size: 7px; letter-spacing: .16em; }
.map-panel iframe { width: 100%; height: 100%; min-height: 400px; border: 0; }

/* Gallery and lightbox */
.gallery-section { background: #faf7f1; }
.gallery-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 28px 22px; align-items: start; }
.gallery-item { min-width: 0; margin: 0; }
.gallery-item { transition: transform .35s cubic-bezier(.2,.7,.3,1); }
.gallery-item:hover { transform: translateY(-6px); }
.gallery-item img { width: 100%; height: auto; }
.gallery-open { width: 100%; display: block; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.gallery-open:hover img { outline: 1px solid var(--gold); outline-offset: 4px; }
.gallery-one { grid-column: span 7; }
.gallery-two { grid-column: span 5; margin-top: 90px; }
.gallery-three { grid-column: span 5; }
.gallery-four { grid-column: span 7; margin-top: 75px; }
.gallery-five { grid-column: 3 / span 8; max-width: 760px; justify-self: center; }
.lightbox { position: fixed; width: min(96vw, 1480px); max-width: 1480px; max-height: 96vh; padding: 50px 60px 42px; border: 1px solid #d7c6a9; background: #271a21; color: var(--paper); }
.lightbox::backdrop { background: #170e13ed; }
.lightbox-figure { display: grid; min-height: 0; place-items: center; }
.lightbox-figure img { max-width: min(84vw, 1240px); max-height: 78vh; width: auto; height: auto; object-fit: contain; }
.lightbox-figure figcaption { padding-top: 14px; color: #eee2d2; font-family: var(--serif); font-size: 20px; text-align: center; }
.lightbox-close, .lightbox-arrow { position: absolute; display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid #e3d4ba70; background: transparent; color: var(--paper); font-size: 24px; cursor: pointer; }
.lightbox-close { top: 12px; right: 12px; }
.lightbox-arrow { top: 50%; transform: translateY(-50%); }
.lightbox-prev { left: 10px; }
.lightbox-next { right: 10px; }
.lightbox-count { position: absolute; bottom: 8px; left: 0; width: 100%; margin: 0; color: #e9d8bd9c; font-size: 9px; letter-spacing: .15em; text-align: center; }
.closing-photo-section { padding: 10px 0 0; }
.closing-photo { width: min(900px, calc(100% - 48px)); margin: 0 auto; }
.closing-photo img { width: 100%; height: auto; }

/* Family contacts, optional music and footer */
.contact-section { background: var(--paper); }
.contact-grid { display: grid; max-width: 850px; grid-template-columns: 1fr 1fr; gap: 24px; margin: 0 auto; }
.contact-card { position: relative; padding: 28px 25px; border-top: 1px solid var(--gold); border-bottom: 1px solid var(--line); text-align: center; }
.contact-overline { margin: 0 0 5px; color: var(--gold); font-size: 8px; letter-spacing: .17em; text-transform: uppercase; }
.contact-card h3 { margin: 0 0 5px; color: var(--wine); font-size: 32px; }
.contact-number { display: inline-block; color: var(--ink); font-family: var(--serif); font-size: 25px; text-decoration: none; }
.contact-number:hover { color: var(--wine); }
.whatsapp-link { display: block; width: fit-content; margin: 10px auto 0; color: var(--wine); font-size: 8px; font-weight: 600; letter-spacing: .13em; text-decoration: none; text-transform: uppercase; }
.whatsapp-link span { padding-left: 4px; font-size: 13px; }
.music-section { padding: 19px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #f0e9dd; }
.music-wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.music-label { margin: 0; color: var(--wine); font-family: var(--serif); font-size: 22px; }
.music-note { margin: 2px 0 0; color: var(--muted); font-size: 9px; }
.music-credit { margin: 4px 0 0; color: var(--muted); font-size: 8px; }
.music-credit a { text-decoration-color: #b4946170; text-underline-offset: 3px; }
.music-controls { display: flex; align-items: center; gap: 7px; }
.music-controls button { min-width: 57px; min-height: 34px; padding: 4px 9px; border: 1px solid var(--line); background: transparent; color: var(--wine); font-size: 8px; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.music-controls button:not(:disabled):hover { border-color: var(--wine); background: #652b3f0a; }
.music-visualizer { display: inline-flex; height: 30px; align-items: center; gap: 3px; padding: 0 5px; opacity: .42; }
.music-visualizer i { display: block; width: 2px; height: 5px; border-radius: 2px; background: var(--gold); }
body.music-playing .music-visualizer { opacity: 1; }
body.music-playing .music-visualizer i { animation: music-wave .7s ease-in-out infinite alternate; }
body.music-playing .music-visualizer i:nth-child(2) { animation-delay: -.25s; }
body.music-playing .music-visualizer i:nth-child(3) { animation-delay: -.48s; }
body.music-playing .music-visualizer i:nth-child(4) { animation-delay: -.17s; }
body.music-playing .music-visualizer i:nth-child(5) { animation-delay: -.36s; }
@keyframes music-wave { from { height: 5px; } to { height: 24px; } }
.site-footer { position: relative; padding: 58px 22px 32px; background: var(--paper); color: var(--muted); text-align: center; }
.footer-monogram { color: var(--wine); font-family: var(--serif); font-size: 30px; letter-spacing: .05em; }
.footer-monogram span { color: var(--gold); font-size: 13px; }
.footer-names { margin: 10px 0 0; color: var(--wine); font-family: var(--serif); font-size: 32px; }
.footer-date { margin: 0; color: var(--gold); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; }
.footer-line { margin: 17px 0 5px; font-family: var(--serif); font-size: 18px; }
.footer-family { margin: 0; color: var(--wine); font-size: 8px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.developer-credit { margin: 20px 0 0; color: var(--muted); font-size: 8px; letter-spacing: .08em; }
.developer-credit a { margin-left: 2px; color: var(--wine); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; transition: color .2s, text-decoration-color .2s; }
.developer-credit a strong { font-weight: 700; }
.developer-credit a:hover, .developer-credit a:focus-visible { color: var(--gold); text-decoration-color: var(--wine); }
.back-to-top { position: absolute; top: 20px; right: max(28px, calc((100% - 1240px) / 2)); color: var(--muted); font-size: 8px; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }
.back-to-top:hover { color: var(--wine); }

/* A cinematic chapter with the wedding palette carried into a dark, immersive frame. */
.cinema-section { position: relative; overflow: hidden; padding: clamp(34px, 4vh, 46px) 0 22px; color: var(--paper); background: radial-gradient(ellipse at 50% 36%, #76334b 0, #542439 38%, #351824 100%); isolation: isolate; }
.cinema-section::before, .cinema-section::after { position: absolute; z-index: -1; left: 50%; width: min(1120px, 120vw); height: 1px; content: ""; background: linear-gradient(90deg, transparent, #d9bd8060, transparent); transform: translateX(-50%); }
.cinema-section::before { top: 29px; }
.cinema-section::after { bottom: 26px; }
.cinema-wrap { position: relative; z-index: 1; width: var(--page); max-width: 1380px; margin: 0 auto; }
.cinema-heading { margin-bottom: 18px; text-align: center; }
.cinema-overline { display: flex; align-items: center; justify-content: center; gap: 13px; margin: 0 0 14px; color: #e0c994; font-size: 9px; letter-spacing: .21em; text-transform: uppercase; }
.cinema-overline span { font-size: 11px; }
.cinema-heading h2 { margin: 0; color: var(--paper); font-family: var(--serif); font-size: clamp(50px, 5.7vw, 84px); font-weight: 400; line-height: .8; letter-spacing: -.065em; }
.cinema-heading h2 em { color: #e1c58f; font-weight: 400; }
.cinema-intro { margin: 15px 0 0; color: #f4e8d5b8; font-family: var(--serif); font-size: 16px; }
.film-orbit { position: absolute; z-index: -1; width: 470px; height: 470px; border: 1px solid #d5b97d12; border-radius: 50%; pointer-events: none; }
.film-orbit-one { top: 19%; left: -280px; box-shadow: 0 0 0 38px #d5b97d08, 0 0 0 78px #d5b97d06; animation: orbit-float 13s ease-in-out infinite alternate; }
.film-orbit-two { right: -330px; bottom: 4%; width: 580px; height: 580px; box-shadow: 0 0 0 42px #d5b97d08, 0 0 0 84px #d5b97d06; animation: orbit-float 17s ease-in-out infinite alternate-reverse; }
.film-reel { display: grid; width: min(100%, 1060px); grid-template-columns: repeat(3, minmax(0, 305px)); justify-content: center; justify-items: center; align-items: center; gap: clamp(12px, 2vw, 26px); margin-inline: auto; perspective: 1300px; }
.film-frame { width: 100%; max-width: 305px; min-width: 0; margin: 0; padding: 7px; border: 1px solid #e0c99445; background: linear-gradient(145deg, #ffffff0a, #ffffff03); box-shadow: 0 22px 70px #16091165; transform-origin: center center; transition: transform .9s cubic-bezier(.2,.75,.2,1), border-color .5s, box-shadow .5s; }
.cinema-section .film-frame.reveal { opacity: 0; transform: translateY(25px); transition: opacity .75s ease, transform .9s cubic-bezier(.2,.75,.2,1), border-color .5s, box-shadow .5s; }
.cinema-section .film-frame-walk.reveal.is-visible { opacity: 1; transform: rotateY(8deg) rotateZ(-2deg) translateY(12px); transition-delay: .05s; }
.cinema-section .film-frame-promise.reveal.is-visible { opacity: 1; transform: translateY(-8px) scale(1.035); transition-delay: .16s; }
.cinema-section .film-frame-celebrate.reveal.is-visible { opacity: 1; transform: rotateY(-8deg) rotateZ(2deg) translateY(12px); transition-delay: .27s; }
.film-frame-walk { transform: rotateY(8deg) rotateZ(-2deg) translateY(12px); }
.film-frame-promise { z-index: 2; transform: translateY(-8px) scale(1.035); }
.film-frame-celebrate { transform: rotateY(-8deg) rotateZ(2deg) translateY(12px); }
.film-frame:hover, .cinema-section .film-frame.reveal:hover { z-index: 4; border-color: #e1c58fbb; box-shadow: 0 28px 88px #160911a0; transform: translateY(-10px) rotateY(0) rotateZ(0) scale(1.025); }
.film-screen { position: relative; overflow: hidden; aspect-ratio: 9 / 16; background: #20151a; }
.film-video { display: block; width: 100%; height: 100%; object-fit: contain; background: #20151a; }
.film-live { position: absolute; top: 11px; left: 11px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px; border: 1px solid #f2e3c52b; background: #28161db5; color: #f4e8d5; font-size: 7px; letter-spacing: .16em; pointer-events: none; }
.film-live i { display: block; width: 5px; height: 5px; border-radius: 50%; background: #dfbc79; box-shadow: 0 0 9px #dfbc79; animation: film-light 1.8s ease-in-out infinite; }
.film-frame figcaption { display: flex; align-items: center; gap: 10px; min-height: 57px; padding: 8px 4px 2px; }
.film-number { color: #d5b97d; font-family: var(--serif); font-size: 19px; }
.film-frame figcaption strong, .film-frame figcaption small { display: block; }
.film-frame figcaption strong { color: var(--paper); font-family: var(--serif); font-size: clamp(15px, 1.5vw, 19px); font-weight: 500; }
.film-frame figcaption small { margin-top: 2px; color: #f4e8d58a; font-size: 7px; letter-spacing: .07em; }
.film-foot { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; margin-top: 12px; }
.film-foot-line { height: 1px; background: linear-gradient(90deg, transparent, #d5b97d70); }
.film-foot p { margin: 0; color: #f4e8d5a8; font-family: var(--serif); font-size: 17px; white-space: nowrap; }
.film-foot p i { padding: 0 5px; color: #d5b97d; font-size: 10px; font-style: normal; }
.film-foot p b { padding: 0 4px; color: #d5b97d; font-weight: 400; }
.film-toggle { justify-self: end; min-height: 38px; padding: 0 13px; border: 1px solid #e0c99455; background: #ffffff08; color: #f4e8d5; font-size: 8px; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; transition: background .25s, border-color .25s; }
.film-toggle:hover { border-color: #e0c994; background: #ffffff14; }
@keyframes orbit-float { from { transform: translate3d(0, -10px, 0) rotate(0deg); } to { transform: translate3d(14px, 18px, 0) rotate(9deg); } }
@keyframes film-light { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }

@media (min-width: 1600px) {
  :root { --page: min(1380px, calc(100% - 144px)); }
  .hero { min-height: min(880px, calc(100svh - 82px)); }
  .hero-frame img { max-height: min(78svh, 860px); }
}
@media (max-width: 980px) {
  :root { --page: min(100% - 48px, 820px); }
  .desktop-nav { gap: 15px; }
  .desktop-nav a { font-size: 8px; }
  .hero { grid-template-columns: .82fr 1.18fr; gap: 32px; }
  .hero h1 { font-size: clamp(70px, 10vw, 104px); }
  .hero-frame img { max-height: min(65svh, 650px); }
  .family-layout, .venue-layout { gap: 34px; }
  .family-signatures { grid-template-columns: 1fr; }
  .venue-actions .button { min-height: 42px; }
  .map-panel, .map-placeholder, .map-panel iframe { min-height: 350px; }
  .film-reel { gap: 15px; }
  .film-frame { padding: 6px; }
  .film-frame figcaption { gap: 8px; min-height: 58px; }
  .film-number { font-size: 18px; }
  .film-frame figcaption small { font-size: 7px; }
}
@media (max-width: 720px) {
  :root { --page: min(100% - 38px, 560px); }
  html { scroll-padding-top: 72px; }
  .section { padding: 76px 0; }
  .site-header { min-height: 70px; }
  .desktop-nav, .header-contact { display: none; }
  .mobile-nav { display: block; }
  .hero { min-height: 0; grid-template-columns: 1fr; gap: 27px; padding: 45px 0 69px; }
  .hero-copy { padding: 8px 0 0; text-align: center; }
  .hero-copy .eyebrow { justify-content: center; }
  .hero h1 { align-items: center; font-size: clamp(72px, 17vw, 112px); }
  .hero h1 em { margin: 11px 0; }
  .hero-date { margin-top: 21px; }
  .hero-visual { width: min(100%, 480px); margin: 0 auto; }
  .hero-frame { padding: 8px; }
  .hero-frame img { max-height: none; }
  .cinema-section { padding: 84px 0 57px; }
  .cinema-heading { margin-bottom: 35px; }
  .cinema-heading h2 { font-size: clamp(65px, 14vw, 96px); }
  .cinema-intro { font-size: 17px; }
  .film-story-layout { width: min(100%, 390px); margin: 0 auto; }
  .film-reel { display: grid; width: 100%; max-width: 100%; grid-template-columns: minmax(0, 1fr); justify-items: stretch; align-items: start; gap: 19px; overflow: visible; margin: 0; padding: 0; perspective: none; touch-action: pan-y; }
  .film-frame, .film-frame-walk, .film-frame-promise, .film-frame-celebrate { width: 100%; max-width: none; min-width: 0; margin: 0; transform: none; }
  .cinema-section .film-frame.reveal, .cinema-section .film-frame.reveal.is-visible { opacity: 1; transform: none; }
  .cinema-section .film-frame-walk.reveal.is-visible, .cinema-section .film-frame-celebrate.reveal.is-visible { transform: none; }
  .film-frame-promise { transform: none; }
  .cinema-section .film-frame-promise.reveal.is-visible { transform: none; }
  .film-frame:hover, .cinema-section .film-frame.reveal:hover { transform: none; }
  .film-screen { aspect-ratio: 9 / 16; }
  .film-frame figcaption { min-height: 61px; }
  .film-frame figcaption strong { font-size: 20px; }
  .film-foot { grid-template-columns: 1fr auto; row-gap: 18px; }
  .film-foot-line { grid-column: 1 / -1; }
  .film-foot p { font-size: 15px; }
  .film-toggle { grid-column: 2; grid-row: 2; }
  .frame-index { right: -18px; top: 15px; font-size: 7px; }
  .scroll-cue { bottom: 17px; }
  .countdown-section { padding: 64px 0 66px; }
  .countdown-section::before { left: 12px; }
  .countdown-section::after { right: 12px; }
  .countdown { gap: clamp(6px, 2.4vw, 20px); }
  .countdown > div { min-width: 51px; }
  .count-number { font-size: clamp(34px, 9vw, 52px); }
  .count-label { font-size: 7px; }
  .portrait-grid { gap: 22px; }
  .portrait-frame { padding: 7px; margin-bottom: 16px; }
  .portrait-card h3 { font-size: clamp(27px, 6vw, 36px); }
  .portrait-role { font-size: 8px; }
  .qualification { font-size: 10px; }
  .parent-line { font-size: 15px; }
  .story-layout, .family-layout, .venue-layout { grid-template-columns: 1fr; gap: 31px; }
  .story-copy { max-width: 530px; }
  .story-photo { justify-self: stretch; }
  .story-side-note { display: none; }
  .event-timeline { max-width: 560px; }
  .event-timeline::before, .event-timeline::after { left: 112px; }
  .timeline-event { grid-template-columns: 98px 1px 1fr; gap: 26px; padding: 25px 0 39px; }
  .timeline-date strong { font-size: 19px; }
  .timeline-date { font-size: 7px; }
  .timeline-detail h3 { font-size: 32px; }
  .event-time { font-size: 19px; }
  .event-description { font-size: 11px; }
  .ceremony-panels { grid-template-columns: 1fr; }
  .ceremony-panel { min-height: 370px; padding: 62px 24px; }
  .dining-grid { grid-template-columns: 1fr; gap: 9px; }
  .dining-item { padding: 22px 7px; }
  .family-photo { grid-row: 2; max-width: 560px; }
  .family-signatures { grid-template-columns: 1fr 1fr; }
  .map-panel, .map-placeholder, .map-panel iframe { min-height: 310px; }
  .gallery-grid { gap: 19px 12px; }
  .gallery-one { grid-column: span 7; }
  .gallery-two { grid-column: span 5; margin-top: 45px; }
  .gallery-three { grid-column: span 5; }
  .gallery-four { grid-column: span 7; margin-top: 40px; }
  .gallery-five { grid-column: 2 / span 10; }
  .photo-mat { padding: 7px; }
  .photo-mat figcaption { padding-top: 7px; font-size: 14px; }
  .lightbox { width: 100vw; max-width: none; max-height: 100dvh; padding: 54px 36px 44px; border: 0; }
  .lightbox-figure img { max-width: 100%; max-height: 78dvh; }
  .lightbox-arrow { width: 34px; height: 40px; }
  .lightbox-prev { left: 1px; }
  .lightbox-next { right: 1px; }
  .closing-photo { width: var(--page); }
  .contact-grid { gap: 12px; }
  .contact-card { padding: 23px 10px; }
  .contact-card h3 { font-size: 24px; }
  .contact-number { font-size: 19px; }
  .music-wrap { align-items: flex-start; }
}
@media (min-width: 721px) {
  .cinema-section { display: flex; min-height: 100vh; min-height: 100svh; align-items: center; justify-content: center; }
}
@media (min-width: 721px) and (max-height: 800px) {
  .cinema-section { padding: 26px 0 20px; }
  .cinema-heading { margin-bottom: 16px; }
  .cinema-overline { margin-bottom: 8px; }
  .cinema-heading h2 { font-size: clamp(48px, 7vh, 62px); }
  .cinema-intro { margin-top: 8px; font-size: 13px; }
  .film-reel { max-width: 850px; gap: 16px; }
  .film-frame { max-width: 200px; padding: 5px; }
  .film-frame figcaption { min-height: 49px; gap: 7px; padding: 6px 2px 0; }
  .film-frame figcaption strong { font-size: 16px; }
  .film-number { font-size: 17px; }
  .film-foot { gap: 12px; margin-top: 10px; }
  .film-toggle { min-height: 34px; }
}
@media (max-width: 430px) {
  :root { --page: calc(100% - 30px); }
  .intro-layer { padding: 18px; }
  .intro-layer::before { inset: 10px; }
  .intro-layer::after { inset: 17px; }
  .intro-skip { top: max(24px, env(safe-area-inset-top)); right: max(22px, env(safe-area-inset-right)); }
  .envelope { width: min(78vw, 330px); height: 214px; }
  .envelope-card { height: 172px; }
  .intro-ornament { bottom: 9vh; font-size: 94px; }
  .hero h1 { font-size: clamp(65px, 18vw, 82px); }
  .hero-caption { font-size: 7px; }
  .countdown > div { min-width: 44px; }
  .count-number { font-size: 31px; }
  .count-divider { font-size: 25px; }
  .count-label { letter-spacing: .1em; }
  .portrait-grid, .contact-grid { grid-template-columns: 1fr; max-width: 330px; margin-inline: auto; }
  .portrait-card { max-width: 330px; }
  .portrait-frame { max-width: 280px; }
  .timeline-event { grid-template-columns: 76px 1px 1fr; gap: 17px; }
  .event-timeline::before, .event-timeline::after { left: 89px; }
  .timeline-date strong { font-size: 16px; }
  .timeline-detail h3 { font-size: 27px; }
  .event-time { font-size: 17px; }
  .family-signatures { grid-template-columns: 1fr; gap: 13px; }
  .venue-actions { align-items: stretch; }
  .venue-actions .button { flex: 1 1 calc(50% - 9px); padding-inline: 7px; font-size: 7px; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-one, .gallery-four { grid-column: 1 / -1; margin-top: 0; }
  .gallery-two, .gallery-three { grid-column: span 1; margin-top: 0; }
  .gallery-five { grid-column: 1 / -1; }
  .music-wrap { flex-direction: column; }
  .back-to-top { top: 12px; right: 15px; }
}
@media (min-width: 2100px) {
  body { font-size: 18px; }
  .section-wrap { max-width: 1450px; }
  .hero { max-width: 1450px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .cinema-section .film-frame.reveal, .cinema-section .film-frame.reveal.is-visible { opacity: 1; transform: none; }
  .film-orbit, .film-live i { animation: none; }
}
