/* One occasion rises over the previous one, with colours from the supplied wedding artwork. */
.celebrations-section{padding-bottom:40px;background:linear-gradient(145deg,#f5dfcf,#f9edd7 48%,#f2ded0)}
.event-grid{display:block;position:relative;isolation:isolate;padding-bottom:10svh}
.event-anchor{position:relative;height:0;scroll-margin-top:calc(12px + var(--card-index)*10px)}
.event-card{--event-accent:#8d394e;--event-ink:#683746;--event-muted:#78504e;--event-line:#bd8e7766;--event-bg:#f7e1d8;--event-border:#c7927c;--event-soft:#e5b2b1;position:relative;top:auto;z-index:calc(1 + var(--card-index));max-width:1080px;width:100%;margin:0 auto 10svh;border:1px solid var(--event-border);border-radius:26px;color:var(--event-ink);background:radial-gradient(ellipse at 5% 8%,#e8b6bd99,transparent 65%),var(--event-bg);box-shadow:0 -12px 35px -24px #53231d55,0 20px 45px -26px #53231d44;transform-origin:50% 0;transition:none;overflow:hidden}
.event-grid.stack-enabled .event-card{position:sticky;top:calc(12px + var(--card-index)*10px);min-height:calc(100svh - 110px - var(--card-index)*10px);transform:scale(var(--stack-scale,1));filter:brightness(var(--stack-brightness,1));will-change:transform}
.event-card:last-child{margin-bottom:0}
.event-card:hover,.event-card.reveal.visible:hover{transform:none;box-shadow:0 -12px 35px -24px #53231d55,0 20px 45px -26px #53231d44}
.event-card::after{inset:8px;border:1px solid var(--event-border);opacity:.65;border-radius:19px}
.event-card::before{content:'';inset:-20px -140px auto auto;width:440px;height:500px;background:url('assets/botanical.svg') center/contain no-repeat;opacity:.17;transform:rotate(15deg);pointer-events:none}
.event-card[data-theme=gold]{--event-accent:#895218;--event-ink:#70451d;--event-muted:#7a592d;--event-line:#aa782b55;--event-bg:#f9e5b1;--event-border:#bf913e;--event-soft:#e4bc5a;background:radial-gradient(ellipse at 8% 5%,#f0c75a88,transparent 65%),var(--event-bg)}
.event-card[data-theme=crimson]{--event-accent:#f1cb92;--event-ink:#fff3df;--event-muted:#f0d6c8;--event-line:#d3ae6f66;--event-bg:#7b1c35;--event-border:#c6a269;--event-soft:#af5266;background:radial-gradient(ellipse at 5% 10%,#a94759,transparent 70%),var(--event-bg)}
.event-card[data-theme=sage]{--event-accent:#4e633d;--event-ink:#3e5133;--event-muted:#5b6747;--event-line:#8d986866;--event-bg:#e4ead6;--event-border:#9b9d6b;--event-soft:#b7c49b;background:radial-gradient(ellipse at 10% 10%,#c9d3ac,transparent 70%),var(--event-bg)}
.event-card-top{position:relative;z-index:1;padding:24px 36px 0;color:var(--event-accent)}
.event-tag,.event-number{color:var(--event-accent)}
.event-stage{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);align-items:center;gap:40px;padding:25px 50px 42px;min-height:490px}
.event-grid.stack-enabled .event-stage{min-height:calc(100svh - 174px - var(--card-index)*10px)}
.event-visual{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px 20px;border:1px solid var(--event-border);border-radius:160px 160px 8px 8px;min-height:330px;background:linear-gradient(145deg,#ffffff22,transparent);position:relative;color:var(--event-accent)}
.event-visual::before{content:'';position:absolute;inset:9px;border:1px solid var(--event-border);border-radius:150px 150px 4px 4px;opacity:.5;pointer-events:none}
.event-illustration{height:160px;width:100%;color:var(--event-accent)}
.event-illustration::before{width:145px;height:145px;left:calc(50% - 72.5px);top:7px;background:var(--event-soft)!important;opacity:.45}
.event-illustration svg{width:145px;height:145px;color:var(--event-accent)}
.event-monogram{font:italic 28px/1.3 var(--serif);margin-top:10px;text-align:center}
.event-dateline{font-size:10px;letter-spacing:3px;margin-top:18px}
.event-body{padding:0;text-align:left;min-width:0}
.event-body>.eyebrow{font-size:9px;color:var(--event-accent);letter-spacing:1.4px}
.event-body h3{font-size:clamp(42px,4.6vw,64px);margin-top:15px;color:var(--event-ink)}
.event-description{font-size:23px;line-height:1.4;min-height:0;margin-top:13px;color:var(--event-muted)}
.event-details{border-color:var(--event-line);padding-block:17px;margin-top:25px;gap:12px}
.event-details small{color:var(--event-accent);font-size:9px}
.event-details strong{font-size:25px;color:var(--event-ink);line-height:1.35}
.event-location{color:var(--event-muted);font-size:12px;min-height:0;max-width:none;justify-content:flex-start;align-items:flex-start;margin-top:20px;line-height:1.7}
.event-location svg{margin-top:3px}
.event-actions{display:flex;flex-wrap:wrap;justify-content:flex-start;border-color:var(--event-line);gap:8px;margin-top:22px;padding-top:20px}
.event-actions .text-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;border:1px solid var(--event-border);border-radius:999px;padding:9px 13px;font-size:10px;letter-spacing:0;color:var(--event-ink);background:#ffffff16;white-space:nowrap}
.event-actions .text-button:hover{background:#ffffff38}
.event-actions .text-button span{margin-left:6px;font-size:14px}
.schedule-note{margin-top:0}
/* The same palettes continue inside each occasion's invitation dialog. */
.invitation-modal[data-theme=rose]{background:#fae7df;color:#683746}
.invitation-modal[data-theme=gold]{background:#fff0c4;color:#70451d}
.invitation-modal[data-theme=sage]{background:#e8eedb;color:#3e5133}
.invitation-modal[data-theme=crimson]{background:#7b1c35;color:#fff3df}
.invitation-modal[data-theme=crimson] .modal-inner>p,.invitation-modal[data-theme=crimson] .modal-inner h3{color:#f4dcc0}
.invitation-modal[data-theme=crimson] .modal-inner,.invitation-modal[data-theme=crimson] .modal-close{border-color:#be995f}
.invitation-modal[data-theme=crimson] .modal-close{color:#fff3df;background:#7b1c35}
.invitation-modal[data-theme=crimson] .button{background:#efd3a3;color:#642039}
.invitation-modal .event-illustration{height:100px}
.invitation-modal .event-illustration svg{width:92px;height:92px}
.invitation-modal .event-illustration::before{width:92px;height:92px;left:calc(50% - 46px);top:4px}
@media(min-width:701px) and (max-width:1050px){.event-card:last-child{width:100%;grid-column:auto;justify-self:auto}.event-stage{gap:28px;padding:25px 30px 34px;grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr)}.event-visual{min-height:300px;padding-inline:10px}.event-monogram{font-size:24px}.event-body h3{font-size:44px}.event-description{font-size:21px}.event-details strong{font-size:23px}}
@media(max-width:700px){
 .event-grid{padding-bottom:9svh}.celebrations-section>.section-wrap{width:calc(100% - 24px)}
 .event-card{max-width:100%;margin-bottom:9svh;border-radius:22px}
 .event-card::after{inset:6px;border-radius:16px}.event-card::before{right:-150px;top:-100px;width:340px;height:400px;opacity:.13}
 .event-card-top{padding:19px 23px 0}.event-tag{font-size:7px;letter-spacing:.8px}
 .event-stage,.event-grid.stack-enabled .event-stage{display:block;min-height:0;padding:12px 24px 24px}
 .event-visual{min-height:0;padding:0;border:0;background:none}.event-visual::before{display:none}
 .event-illustration{height:95px}.event-illustration::before{width:86px;height:86px;left:calc(50% - 43px);top:4px}.event-illustration svg{width:86px;height:86px}
 .event-monogram{font-size:20px;line-height:1.2;margin-top:3px}.event-dateline{display:none}
 .event-body{text-align:center;padding:17px 0 0}.event-body>.eyebrow{font-size:7px;letter-spacing:1.1px}.event-body h3{font-size:42px;margin-top:11px}
 .event-description{font-size:19px;line-height:1.4;max-width:310px;margin:10px auto 0;min-height:0}
 .event-details{margin-top:19px;padding-block:12px;gap:8px}.event-details small{font-size:7px}.event-details strong{font-size:23px;line-height:1.3}
 .event-location{justify-content:center;align-items:center;font-size:11px;margin:15px auto 0;max-width:310px;line-height:1.65}.event-location svg{margin-top:0}
 .event-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:16px;padding-top:14px}.event-actions .text-button{font-size:9px;min-height:42px;padding:7px 5px;flex-wrap:nowrap}.event-actions .text-button span{font-size:12px;margin-left:3px}
 /* Equal columns keep the active first/last tab and circular sound control inside the pill. */
 .mobile-nav{position:fixed;left:50%;right:auto;bottom:max(12px,env(safe-area-inset-bottom));transform:translateX(-50%);width:calc(100% - 24px);max-width:420px;margin:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) 42px;align-items:center;gap:2px;padding:5px;border:1px solid #d5b27a;border-radius:999px;background:#fff8eef5;box-shadow:0 10px 35px -12px #54211b55;overflow:hidden;z-index:50}
 .mobile-nav a{display:flex;align-items:center;justify-content:center;min-width:0;min-height:44px;width:100%;padding:8px 2px;border-radius:999px;line-height:1;white-space:nowrap;font-size:clamp(8px,2.05vw,9px);letter-spacing:0;color:#754b35;transition:background .25s,color .25s}
 .mobile-nav a[aria-current=true]{background:#8d394e;color:#fff7ea;box-shadow:none}.mobile-nav a[aria-current=true]::after{display:none}
 .mobile-nav[data-theme=gold] a[aria-current=true]{background:#895218;color:#fff6df}.mobile-nav[data-theme=crimson] a[aria-current=true]{background:#85243e;color:#fff0d8}.mobile-nav[data-theme=sage] a[aria-current=true]{background:#4e633d;color:#fff8ea}
 .mobile-nav .music-toggle,.mobile-nav .music-toggle[aria-pressed=true]{position:static;display:flex;align-items:center;justify-content:center;width:40px;height:40px;min-width:40px;min-height:40px;margin:0;padding:10px;justify-self:center;flex:none;border:1px solid #d6b47e;border-radius:50%;box-shadow:none;transform:none;background:#fff0df;color:#8b283e;overflow:hidden}
 .mobile-nav .music-toggle[aria-pressed=true]{background:#8b283e;border-color:#8b283e;color:#fff3df}.mobile-nav .music-toggle>svg{width:18px;height:18px;flex-shrink:0}
 .site-footer{padding-bottom:calc(110px + env(safe-area-inset-bottom))}.toast{bottom:calc(88px + env(safe-area-inset-bottom))}
 .gate-footnote{max-width:250px;line-height:1.8}
}
@media(max-width:359px){.event-stage{padding-inline:18px}.event-card-top{padding-inline:19px}.event-body h3{font-size:38px}.event-description{font-size:18px}.event-details strong{font-size:21px}.event-actions .text-button{font-size:8px;padding-inline:3px}.event-actions .text-button span{font-size:11px;margin-left:2px}.event-tag{font-size:6.5px}.event-body>.eyebrow{font-size:6.5px}.mobile-nav{width:calc(100% - 16px);grid-template-columns:repeat(4,minmax(0,1fr)) 40px;gap:1px;padding:4px}.mobile-nav a{font-size:7.5px}.mobile-nav .music-toggle{width:38px;height:38px;min-width:38px;min-height:38px}}
@media(max-width:700px) and (max-height:740px){.event-stage{padding-top:7px;padding-bottom:20px}.event-card-top{padding-top:16px}.event-illustration{height:78px}.event-illustration::before{width:72px;height:72px;left:calc(50% - 36px);top:3px}.event-illustration svg{width:72px;height:72px}.event-monogram{font-size:18px}.event-body{padding-top:12px}.event-body h3{font-size:36px;margin-top:9px}.event-description{font-size:17px;line-height:1.35;margin-top:8px}.event-details{padding-block:10px;margin-top:15px}.event-details strong{font-size:21px}.event-location{font-size:10px;margin-top:12px}.event-actions{margin-top:13px;padding-top:12px}}
@media(max-height:620px){.event-grid.stack-enabled .event-card{position:relative;top:0;min-height:0;transform:none;filter:none;will-change:auto}.event-grid.stack-enabled .event-stage{min-height:0}}
@media(prefers-reduced-motion:reduce){.event-grid .event-card{position:relative;top:0;min-height:0;transform:none!important;filter:none!important;will-change:auto}.event-grid .event-stage{min-height:0}.mobile-nav a{transition:none}}
@media print{.event-grid{padding:0;display:block}.event-card,.event-grid.stack-enabled .event-card{position:relative;top:auto;transform:none;filter:none;min-height:0;margin-bottom:25px;break-inside:avoid}.event-stage,.event-grid.stack-enabled .event-stage{min-height:0}.event-anchor{display:none}.event-visual{min-height:200px}}
