@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css");
:root{--paper:#f6f1e8;--paper2:#fffdf9;--ink:#302b27;--muted:#857a71;--accent:#b6765d;--line:#ded2c5;--title-font:"Noto Serif KR","Nanum Myeongjo","Batang",serif;--body-font:"Pretendard","Apple SD Gothic Neo","Noto Sans KR","Malgun Gothic",sans-serif;--max:520px}
*{box-sizing:border-box}html{scroll-behavior:smooth;background:#e7e1d8}body{margin:0;background:#e7e1d8;color:var(--ink);font-family:var(--body-font);word-break:keep-all}button,a{font:inherit;-webkit-tap-highlight-color:transparent}img{max-width:100%}[hidden]{display:none!important}.app{width:min(100%,var(--max));margin:0 auto;background:var(--paper2);min-height:100vh;overflow:hidden;position:relative;box-shadow:0 0 50px rgba(0,0,0,.08)}
.scroll-progress{position:fixed;z-index:9990;top:0;left:0;height:2px;width:0;background:linear-gradient(90deg,var(--accent),#d8b198)}
.intro{position:fixed;inset:0;z-index:9999;background:#181512;color:#fff;display:grid;place-items:center;overflow:hidden}.intro-bg{position:absolute;inset:-5%;background:center/cover no-repeat;filter:brightness(.52);transform:scale(1.03)}.intro:before,.intro:after{content:"";position:absolute;top:0;bottom:0;width:50%;background:#1d1916;z-index:2;transition:transform 1.05s cubic-bezier(.76,0,.24,1)}.intro:before{left:0}.intro:after{right:0}.intro.open:before{transform:translateX(-100%)}.intro.open:after{transform:translateX(100%)}.intro-inner{position:relative;z-index:3;text-align:center;padding:24px;transition:opacity .45s}.intro.open .intro-inner{opacity:0}.intro-kicker{font-family:var(--title-font);font-size:10px;letter-spacing:.28em;margin-bottom:14px}.intro-names{font-family:var(--title-font);font-size:28px;font-weight:400;letter-spacing:.08em;margin:0 0 10px}.intro-date{font-size:9px;letter-spacing:.15em;opacity:.9}.intro-btn{margin-top:26px;border:1px solid rgba(255,255,255,.6);background:rgba(255,255,255,.08);color:#fff;border-radius:999px;padding:12px 20px;font-family:var(--title-font);font-size:10px;cursor:pointer;backdrop-filter:blur(6px)}.intro.done{visibility:hidden;pointer-events:none;transition:visibility 0s 1.1s}
.orb{position:absolute;border-radius:50%;filter:blur(18px);opacity:.22;pointer-events:none}.orb.a{width:180px;height:180px;background:#e5c4aa;right:-80px;top:20%}.orb.b{width:130px;height:130px;background:#c5d2bf;left:-70px;top:55%}.orb.c{width:110px;height:110px;background:#d9b0ab;right:-50px;top:75%}
.hero{position:relative;height:95svh;min-height:650px;overflow:hidden;background:#151311}.hero-media{position:absolute;inset:-3%;will-change:transform}.hero-media img{width:100%;height:100%;object-fit:cover;object-position:center 48%;display:block;transform:scale(1.025);transition:transform .1s linear}.hero:after{content:"";position:absolute;inset:0;background:linear-gradient(to bottom,rgba(0,0,0,.04) 20%,rgba(0,0,0,.08) 58%,rgba(0,0,0,.53) 100%)}.hero-copy{position:absolute;z-index:2;left:0;right:0;bottom:8vh;color:#fff;text-align:center;padding:0 28px}.hero-kicker{font-family:var(--title-font);font-size:11px;letter-spacing:.28em;margin-bottom:14px}.hero-title{font-family:var(--title-font);font-size:30px;font-weight:400;letter-spacing:.06em;margin:0}.hero-names{font-family:var(--title-font);font-size:18px;letter-spacing:.11em;margin:13px 0 8px}.hero-date{font-size:9px;letter-spacing:.14em;opacity:.92}.hero-scroll{margin-top:26px;font-size:7px;letter-spacing:.24em;opacity:.72}.hero-scroll:after{content:"";display:block;width:1px;height:38px;background:rgba(255,255,255,.6);margin:10px auto 0;animation:scrollLine 1.8s ease-in-out infinite}@keyframes scrollLine{0%,100%{transform:scaleY(.35);transform-origin:top;opacity:.35}50%{transform:scaleY(1);opacity:1}}
.section{padding:82px 28px;text-align:center;position:relative}.section.paper{background:var(--paper)}.kicker{margin:0 0 12px;font-size:8px;letter-spacing:.25em;color:var(--accent)}.title{font-family:var(--title-font);font-size:23px;font-weight:400;letter-spacing:.03em;margin:0 0 34px}.copy{font-family:var(--title-font);font-size:13px;line-height:2.06;white-space:pre-line}.author{font-family:var(--title-font);font-size:10px;color:var(--muted);margin-top:22px}.divider{width:22px;height:1px;background:var(--line);margin:34px auto}.family{font-family:var(--title-font);font-size:12px;line-height:2.1}.family strong{font-weight:600}
.reveal,.reveal-left,.reveal-right,.zoom-in{opacity:0;transition:opacity .85s ease,transform .85s cubic-bezier(.2,.7,.2,1)}.reveal{transform:translateY(24px)}.reveal-left{transform:translateX(-26px)}.reveal-right{transform:translateX(26px)}.zoom-in{transform:scale(.965)}.show{opacity:1!important;transform:none!important}.stagger>*{opacity:0;transform:translateY(14px)}.stagger.show>*{animation:staggerUp .62s forwards}.stagger.show>*:nth-child(2){animation-delay:.08s}.stagger.show>*:nth-child(3){animation-delay:.16s}.stagger.show>*:nth-child(4){animation-delay:.24s}.stagger.show>*:nth-child(5){animation-delay:.32s}@keyframes staggerUp{to{opacity:1;transform:none}}
.big-date{font-family:var(--title-font);font-size:30px;letter-spacing:.05em}.date-meta{font-size:9px;letter-spacing:.12em;color:var(--muted);margin-top:9px}.dday{display:inline-flex;margin:22px auto 30px;padding:8px 14px;border:1px solid var(--line);border-radius:999px;font-size:8px;letter-spacing:.12em}.calendar{max-width:350px;margin:0 auto;border-top:1px solid var(--line);padding-top:20px}.cal-head,.cal-grid{display:grid;grid-template-columns:repeat(7,1fr)}.cal-head{font-size:8px;color:var(--muted);margin-bottom:8px}.cal-grid{gap:4px 0;font-size:10px}.day{height:34px;display:grid;place-items:center;position:relative}.day.wedding{color:#fff}.day.wedding:before{content:"";position:absolute;width:30px;height:30px;border-radius:50%;background:var(--accent);animation:pulse 2.2s ease-in-out infinite}.day span{position:relative;z-index:1}@keyframes pulse{0%,100%{box-shadow:0 0 0 0 rgba(182,118,93,.24)}50%{box-shadow:0 0 0 9px rgba(182,118,93,0)}}
.marquee{overflow:hidden;background:#2e2925;color:#fff}.marquee-track{display:flex;width:max-content;gap:32px;padding:11px 0;animation:marquee 20s linear infinite}.marquee-track span{font-family:var(--title-font);font-size:9px;letter-spacing:.24em;white-space:nowrap;opacity:.9}@keyframes marquee{to{transform:translateX(-50%)}}
.gallery-section{padding:78px 0 40px;background:#f3eee6;overflow:hidden}
.gallery-head{text-align:center;padding:0 24px 30px}
.gallery-hint{margin:0;color:var(--muted);font-family:var(--title-font);font-size:9px;letter-spacing:.04em}
.gallery-carousel{width:100%;position:relative}
.gallery-stage{position:relative;width:calc(100% - 32px);margin:0 auto;aspect-ratio:3/4;overflow:hidden;background:#ddd4ca;box-shadow:0 20px 50px rgba(55,45,39,.09)}
.gallery-stage::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,rgba(0,0,0,.02),transparent 60%,rgba(0,0,0,.12))}
.gallery-stage img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;transition:opacity .32s ease,transform .65s cubic-bezier(.2,.7,.2,1);will-change:transform,opacity}
.gallery-stage.changing img{opacity:.16;transform:scale(1.025)}
.gallery-nav{position:absolute;z-index:3;top:50%;transform:translateY(-50%);width:42px;height:42px;border:1px solid rgba(255,255,255,.55);border-radius:50%;background:rgba(25,22,20,.28);backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px);color:#fff;font-family:Arial,sans-serif;font-size:29px;line-height:1;display:grid;place-items:center;cursor:pointer;transition:background .2s ease,transform .2s ease}
.gallery-nav:hover{background:rgba(25,22,20,.48)}
.gallery-nav:active{transform:translateY(-50%) scale(.92)}
.gallery-nav.prev{left:13px}
.gallery-nav.next{right:13px}
.gallery-expand{position:absolute;z-index:3;right:13px;top:13px;width:34px;height:34px;border:1px solid rgba(255,255,255,.48);border-radius:50%;background:rgba(25,22,20,.25);backdrop-filter:blur(8px);color:#fff;font-size:15px;cursor:pointer}
.gallery-counter{position:absolute;z-index:3;left:16px;bottom:14px;color:#fff;font-size:9px;letter-spacing:.12em;text-shadow:0 1px 10px rgba(0,0,0,.4)}
.gallery-counter #galleryCurrent{font-family:var(--title-font);font-size:14px}
.gallery-counter .slash{margin:0 6px;opacity:.6}
.gallery-dots{display:flex;gap:5px;justify-content:center;align-items:center;flex-wrap:wrap;max-width:380px;margin:18px auto 0;padding:0 18px}
.gallery-dot{width:5px;height:5px;border:0;border-radius:999px;padding:0;background:#c9bfb5;cursor:pointer;transition:width .25s ease,background .25s ease,transform .25s ease}
.gallery-dot.active{width:21px;background:var(--accent)}
.gallery-swipe-line{display:flex;justify-content:center;margin-top:18px}
.gallery-swipe-line span{display:block;width:44px;height:1px;background:var(--line);position:relative;overflow:hidden}
.gallery-swipe-line span::after{content:"";position:absolute;inset:0;background:var(--accent);transform:translateX(-100%);animation:gallerySwipeHint 2.4s ease-in-out infinite}
@keyframes gallerySwipeHint{0%{transform:translateX(-100%)}50%{transform:translateX(100%)}100%{transform:translateX(100%)}}
@media(max-width:420px){.gallery-stage{width:calc(100% - 24px)}.gallery-nav{width:38px;height:38px}.gallery-dots{gap:4px}.gallery-dot{width:4px;height:4px}}
.location-box{max-width:390px;margin:0 auto}.venue{font-family:var(--title-font);font-size:18px;margin-bottom:7px}.address{font-size:10px;color:var(--muted)}.map-frame{margin:28px 0 16px;overflow:hidden;border:1px solid var(--line);background:#fff}.map-frame img{display:block;width:100%;transition:transform .7s ease}.map-frame:hover img{transform:scale(1.015)}.map-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.map-actions a{text-decoration:none;color:var(--ink);border:1px solid var(--line);background:#fff;padding:13px 8px;font-size:10px}.route-cards{display:grid;gap:12px;margin-top:22px;text-align:left}.route-card{display:grid;grid-template-columns:48px 1fr;gap:12px;padding:15px 14px;border:1px solid var(--line);border-radius:18px;background:linear-gradient(180deg,#fffdf9 0%,#f7f1ea 100%);box-shadow:0 10px 24px rgba(56,47,41,.045)}.route-card.car .route-icon{background:#f3e6de;color:#b6765d}.route-card.subway .route-icon{background:#e4eee7;color:#5b8d6c}.route-card.bus .route-icon{background:#e7edf7;color:#627ca5}.route-icon{width:48px;height:48px;border-radius:15px;display:grid;place-items:center;align-self:start}.route-icon svg{width:22px;height:22px;display:block}.route-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:7px}.route-title{font-family:var(--title-font);font-size:14px;color:var(--ink)}.route-chip{display:inline-flex;align-items:center;justify-content:center;padding:4px 8px;border-radius:999px;background:#fff;border:1px solid var(--line);font-size:8px;letter-spacing:.08em;color:var(--muted)}.route-lines{display:grid;gap:6px}.route-line{font-size:10px;line-height:1.7;color:#5d544d}@media(max-width:420px){.route-card{grid-template-columns:44px 1fr;padding:14px 13px}.route-icon{width:44px;height:44px}.route-title{font-size:13px}}
.account-wrap{max-width:390px;margin:0 auto}.placeholder{font-family:var(--title-font);font-size:11px;color:var(--muted);line-height:1.9}.account-group{border:1px solid var(--line);background:#fff;margin:9px 0;overflow:hidden}.account-toggle{width:100%;border:0;background:none;padding:16px;display:flex;justify-content:space-between;cursor:pointer;font-family:var(--title-font);font-size:12px}.account-toggle .chev{transition:transform .3s}.account-group.open .chev{transform:rotate(180deg)}.account-panel{max-height:0;overflow:hidden;transition:max-height .35s ease}.account-group.open .account-panel{max-height:700px}.account-row{padding:14px 16px;border-top:1px solid var(--line);text-align:left}.account-name{font-family:var(--title-font);font-size:11px;margin-bottom:6px}.account-numline{display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:10px;color:var(--muted)}.copy-btn{border:1px solid var(--line);background:#fff;padding:6px 9px;font-size:9px;cursor:pointer}

.closing{position:relative;height:72svh;min-height:520px;background:center 48%/cover no-repeat;overflow:hidden}.closing:after{content:"";position:absolute;inset:0;background:rgba(0,0,0,.27)}.closing-copy{position:absolute;z-index:2;inset:0;display:grid;place-items:center;text-align:center;color:#fff;padding:30px;font-family:var(--title-font);font-size:15px;line-height:2}
.music-control{position:fixed;z-index:9000;right:max(14px,calc((100vw - var(--max))/2 + 14px));bottom:max(18px,calc(env(safe-area-inset-bottom) + 12px));width:50px;height:50px;border-radius:50%;border:1px solid rgba(255,255,255,.7);background:rgba(49,43,39,.86);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:0 8px 24px rgba(0,0,0,.2);backdrop-filter:blur(8px);cursor:pointer}.music-control.playing{animation:float 2.5s ease-in-out infinite}.music-icon{font-size:16px}.music-label{font-size:6px;letter-spacing:.08em}@keyframes float{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}
.toast{position:fixed;z-index:99999;left:50%;bottom:82px;transform:translate(-50%,10px);padding:9px 13px;border-radius:999px;background:rgba(35,31,29,.9);color:#fff;font-size:9px;opacity:0;pointer-events:none;transition:.25s}.toast.show{opacity:1;transform:translate(-50%,0)}.lightbox{position:fixed;z-index:9500;inset:0;background:rgba(0,0,0,.94);display:none;align-items:center;justify-content:center}.lightbox.open{display:flex}.lightbox img{max-width:100%;max-height:92vh;object-fit:contain;user-select:none}.lightbox-close{position:absolute;right:14px;top:max(14px,env(safe-area-inset-top));width:44px;height:44px;border:0;border-radius:50%;background:rgba(255,255,255,.12);color:#fff;font-size:24px;cursor:pointer}
@media(max-width:520px){.music-control{right:14px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}


/* ===== V11 Modern Typography ===== */
body{font-family:var(--body-font);font-weight:400;letter-spacing:-.012em}
.title,.hero-title,.hero-names,.intro-names,.copy,.author,.family,.venue,.route-title,.account-name,.big-date{font-family:var(--body-font)!important}
.title{font-size:22px;font-weight:600;letter-spacing:-.025em}
.copy{font-size:13px;font-weight:400;line-height:2;letter-spacing:-.018em}
.author{font-size:10px;font-weight:400}
.family{font-size:12px;font-weight:400;letter-spacing:-.015em}
.hero-title{font-size:31px;font-weight:500;letter-spacing:-.03em}
.hero-names{font-size:17px;font-weight:500;letter-spacing:.02em}
.intro-names{font-size:28px;font-weight:500;letter-spacing:-.03em}
.kicker{font-weight:600;letter-spacing:.2em}
.venue{font-size:19px;font-weight:600;letter-spacing:-.025em}
.address{font-size:11px;letter-spacing:-.01em}

/* ===== V11 Modern Location / Transportation ===== */
.location-box{max-width:408px}
.map-frame{margin:26px 0 12px;border:0;border-radius:24px;box-shadow:0 18px 45px rgba(28,26,23,.08);background:#fff}
.map-frame img{border-radius:24px}
.map-actions{gap:9px;margin-bottom:30px}
.map-actions a{border:0;border-radius:14px;background:#f0eeea;color:#2f2d2a;padding:14px 10px;font-size:11px;font-weight:600;transition:transform .2s ease,background .2s ease}
.map-actions a:hover{transform:translateY(-1px);background:#eae7e1}
.transport-head{text-align:left;margin:2px 0 15px}
.transport-head>span{display:block;font-size:8px;font-weight:700;letter-spacing:.18em;color:var(--accent);margin-bottom:6px}
.transport-head p{margin:0;color:var(--muted);font-size:10px;line-height:1.6}
.route-cards.modern{display:block;margin-top:0;border-top:1px solid var(--line)}
.route-card{display:grid;grid-template-columns:44px 1fr;gap:13px;padding:19px 0;border:0!important;border-bottom:1px solid var(--line)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
.route-icon{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:#f0eeea!important;color:#34322f!important}
.route-icon svg{width:21px;height:21px}
.route-head{display:flex;justify-content:flex-start;align-items:center;gap:8px;margin:1px 0 10px}
.route-title{font-size:14px;font-weight:650;letter-spacing:-.02em}
.route-chip{padding:3px 7px;border:0;background:#eeebe6;color:#8a8279;font-size:7px;font-weight:700;letter-spacing:.08em}
.route-lines{display:grid;gap:9px}
.route-line{font-size:10.5px;line-height:1.62;color:#5d5954;letter-spacing:-.015em}
.route-line strong{font-weight:650;color:#242424}
.route-card.subway .route-lines{gap:10px}
.route-line .line-badges{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:4px}
.line-badge{display:inline-flex;align-items:center;justify-content:center;min-width:23px;height:22px;padding:0 7px;border-radius:999px;color:#fff;font-size:8px;font-weight:750;letter-spacing:-.02em}
.line5{background:#8b50a4}.line6{background:#b96b28}.airport{background:#1f88c9}.gyeongui{background:#69b998}
.bus-row{display:grid;grid-template-columns:55px 1fr;gap:9px;align-items:start}
.bus-type{font-size:9px;font-weight:700;color:#55504b;padding-top:2px}
.bus-chips{display:flex;flex-wrap:wrap;gap:5px}
.bus-chip{display:inline-flex;align-items:center;min-height:23px;padding:0 8px;border-radius:999px;background:#f0eeea;color:#4a4743;font-size:8.5px;font-weight:600}
.car-address{margin-top:7px;padding:10px 11px;border-radius:12px;background:#f1efeb;color:#68635d;font-size:9.5px;line-height:1.55}
@media(max-width:420px){.route-card{grid-template-columns:42px 1fr;gap:12px;padding:18px 0}.route-icon{width:42px;height:42px}.bus-row{grid-template-columns:51px 1fr}}


/* ===== V12 Refined Intro: photo-first opening ===== */
.intro{display:flex;align-items:flex-end;justify-content:center;background:#161513;opacity:1;transform:scale(1);transition:opacity .75s ease,transform .9s cubic-bezier(.2,.7,.2,1),visibility 0s .8s}
.intro-bg{inset:0;filter:brightness(.78) saturate(.92);transform:scale(1.035);animation:introPhotoDrift 12s ease-out both}
.intro:before{content:"";position:absolute;inset:0;width:auto;z-index:1;background:linear-gradient(180deg,rgba(12,10,9,.04) 20%,rgba(12,10,9,.12) 54%,rgba(12,10,9,.75) 100%);transform:none!important}
.intro:after{display:none}
.intro-inner{width:100%;z-index:2;text-align:left;padding:0 28px max(9vh,58px);transition:opacity .45s ease,transform .6s ease}
.intro-kicker{font-family:var(--body-font);font-size:9px;font-weight:600;letter-spacing:.22em;margin-bottom:12px;opacity:.9}
.intro-names{font-family:var(--body-font)!important;font-size:30px;font-weight:550;letter-spacing:-.035em;margin:0 0 9px}
.intro-date{font-size:10px;letter-spacing:.02em;opacity:.86}
.intro-btn{margin-top:24px;width:100%;min-height:52px;border:0;background:rgba(255,255,255,.94);color:#222;border-radius:14px;padding:0 17px;display:flex;align-items:center;justify-content:space-between;gap:12px;font-family:var(--body-font);font-size:12px;font-weight:600;box-shadow:0 10px 30px rgba(0,0,0,.16);backdrop-filter:blur(10px)}
.intro-btn small{font-size:9px;font-weight:500;color:#777;letter-spacing:-.015em}
.intro.open{opacity:0;transform:scale(1.018);pointer-events:none}
.intro.open:before{transform:none!important}
.intro.open .intro-inner{opacity:0;transform:translateY(12px)}
.intro.done{visibility:hidden}
@keyframes introPhotoDrift{from{transform:scale(1.035)}to{transform:scale(1.085)}}

/* ===== V12 Gallery: landscape photos shown without aggressive crop ===== */
.gallery-stage{isolation:isolate}
.gallery-stage:before{display:none}
.gallery-stage.landscape{background-size:cover;background-position:center}
.gallery-stage.landscape:before{content:"";display:block;position:absolute;z-index:0;inset:-22px;background:inherit;filter:blur(20px) brightness(.72);transform:scale(1.1)}
.gallery-stage.landscape img{position:relative;z-index:1;object-fit:contain;background:rgba(20,18,17,.16)}
.gallery-stage:after{z-index:2}

/* ===== V12 Address copy ===== */
.address-row{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap}
.copy-address-btn{height:30px;padding:0 10px;border:1px solid var(--line);border-radius:999px;background:#fff;color:#64615d;display:inline-flex;align-items:center;gap:5px;font-size:9px;font-weight:550;cursor:pointer;transition:background .2s ease,transform .2s ease}
.copy-address-btn:hover{background:#f2efea}
.copy-address-btn:active{transform:scale(.96)}
.copy-address-btn svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}

/* ===== V12 BGM control: explicit state pill ===== */
.music-control{width:auto;min-width:96px;height:44px;padding:0 13px;border-radius:999px;flex-direction:row;gap:7px;border:1px solid rgba(255,255,255,.72);background:rgba(35,33,31,.88);box-shadow:0 8px 28px rgba(0,0,0,.18);animation:none!important}
.music-speaker{width:18px;height:18px;display:grid;place-items:center}
.music-speaker svg{width:18px;height:18px;fill:currentColor;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.music-speaker .sound-wave{fill:none;display:none}
.music-speaker .mute-x{fill:none;display:block}
.music-control.playing .music-speaker .sound-wave{display:block}
.music-control.playing .music-speaker .mute-x{display:none}
.music-label{font-size:9px;font-weight:600;letter-spacing:-.015em;white-space:nowrap}
.music-control.playing{background:rgba(35,33,31,.9)}
@media(max-width:380px){.music-control{min-width:88px;padding:0 11px}.music-label{font-size:8px}}


/* ===== V15 Motion: stronger, clearly visible but still elegant ===== */
:root{--motion-ease:cubic-bezier(.16,.84,.24,1);--motion-fast:.72s;--motion-main:1.05s}

/* stronger section entrances */
.reveal,.reveal-left,.reveal-right,.zoom-in{
  opacity:0;
  filter:blur(10px);
  transition:opacity var(--motion-main) ease,transform var(--motion-main) var(--motion-ease),filter .9s ease;
  will-change:transform,opacity,filter
}
.reveal{transform:translateY(62px) scale(.975)}
.reveal-left{transform:translateX(-58px) rotate(-1.6deg) scale(.985)}
.reveal-right{transform:translateX(58px) rotate(1.6deg) scale(.985)}
.zoom-in{transform:scale(.90) translateY(28px)}
.show{opacity:1!important;transform:none!important;filter:blur(0)!important}

/* animate the internal content after section enters */
.motion-children>.kicker,.motion-children>.title,.motion-children>.copy,.motion-children>.author,
.motion-children>.divider,.motion-children>.family,.motion-children>.big-date,.motion-children>.date-meta,
.motion-children>.dday,.motion-children>.calendar,.motion-children>.location-box,.motion-children>.account-wrap{
  opacity:0;transform:translateY(26px);filter:blur(5px)
}
.motion-children.show>.kicker{animation:luxeUp .72s var(--motion-ease) .08s forwards}
.motion-children.show>.title{animation:luxeUp .82s var(--motion-ease) .17s forwards}
.motion-children.show>.copy,.motion-children.show>.big-date,.motion-children.show>.location-box,.motion-children.show>.account-wrap{animation:luxeUp .9s var(--motion-ease) .29s forwards}
.motion-children.show>.author,.motion-children.show>.date-meta,.motion-children.show>.divider{animation:luxeUp .82s var(--motion-ease) .41s forwards}
.motion-children.show>.family,.motion-children.show>.dday{animation:luxeUp .82s var(--motion-ease) .49s forwards}
.motion-children.show>.calendar{animation:luxeUp .95s var(--motion-ease) .58s forwards}
@keyframes luxeUp{0%{opacity:0;transform:translateY(30px) scale(.985);filter:blur(6px)}100%{opacity:1;transform:none;filter:blur(0)}}

/* title accent draw */
.section .title,.gallery-head .title{position:relative;display:inline-block}
.section .title:after,.gallery-head .title:after{content:"";position:absolute;left:50%;bottom:-14px;width:34px;height:1px;background:var(--accent);transform:translateX(-50%) scaleX(0);transform-origin:center;opacity:.75}
.section.show .title:after,.gallery-section.show .title:after{animation:titleLine .8s var(--motion-ease) .62s forwards}
@keyframes titleLine{to{transform:translateX(-50%) scaleX(1)}}

/* hero feels more cinematic after intro opens */
.hero-copy.stagger>*{opacity:0;transform:translateY(32px);filter:blur(6px)}
.hero-copy.stagger.show>*{animation:heroRise .9s var(--motion-ease) forwards}
.hero-copy.stagger.show>*:nth-child(2){animation-delay:.10s}.hero-copy.stagger.show>*:nth-child(3){animation-delay:.20s}.hero-copy.stagger.show>*:nth-child(4){animation-delay:.30s}.hero-copy.stagger.show>*:nth-child(5){animation-delay:.40s}
@keyframes heroRise{to{opacity:1;transform:none;filter:blur(0)}}
.hero-scroll{animation:heroScrollFloat 2.2s ease-in-out infinite!important}
@keyframes heroScrollFloat{0%,100%{transform:translateY(0);opacity:.56}50%{transform:translateY(5px);opacity:1}}

/* opening screen: visible movement + button sheen */
.intro-bg{animation:introPhotoDrift 10s var(--motion-ease) both!important}
.intro-kicker,.intro-names,.intro-date,.intro-btn{opacity:0;transform:translateY(22px);animation:introTextIn .85s var(--motion-ease) forwards}
.intro-kicker{animation-delay:.10s}.intro-names{animation-delay:.23s}.intro-date{animation-delay:.36s}.intro-btn{animation-delay:.52s}
@keyframes introTextIn{to{opacity:1;transform:none}}
.intro-btn{position:relative;overflow:hidden}
.intro-btn:after{content:"";position:absolute;top:-30%;bottom:-30%;width:42%;left:-55%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.72),transparent);transform:skewX(-18deg);animation:introSheen 3.4s ease-in-out 1.4s infinite}
@keyframes introSheen{0%,62%{left:-55%}82%,100%{left:125%}}
.intro.open{animation:introExit .82s var(--motion-ease) forwards!important}
@keyframes introExit{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1.07);filter:blur(6px)}}

/* calendar days cascade */
.motion-children.show .cal-grid .day{opacity:0;animation:dayPop .52s var(--motion-ease) forwards}
.motion-children.show .cal-grid .day:nth-child(7n+1){animation-delay:.62s}.motion-children.show .cal-grid .day:nth-child(7n+2){animation-delay:.66s}.motion-children.show .cal-grid .day:nth-child(7n+3){animation-delay:.70s}.motion-children.show .cal-grid .day:nth-child(7n+4){animation-delay:.74s}.motion-children.show .cal-grid .day:nth-child(7n+5){animation-delay:.78s}.motion-children.show .cal-grid .day:nth-child(7n+6){animation-delay:.82s}.motion-children.show .cal-grid .day:nth-child(7n){animation-delay:.86s}
@keyframes dayPop{0%{opacity:0;transform:translateY(11px) scale(.84)}100%{opacity:1;transform:none}}

/* gallery has a stronger entrance */
.gallery-head{opacity:0;transform:translateY(32px);filter:blur(6px)}
.gallery-stage{opacity:0;transform:translateY(60px) rotate(-1.8deg) scale(.94);filter:blur(8px)}
.gallery-dots,.gallery-swipe-line{opacity:0;transform:translateY(18px)}
.gallery-section.show .gallery-head{animation:luxeUp .82s var(--motion-ease) .12s forwards}
.gallery-section.show .gallery-stage{animation:galleryReveal 1.05s var(--motion-ease) .28s forwards}
.gallery-section.show .gallery-dots{animation:luxeUp .72s var(--motion-ease) .78s forwards}
.gallery-section.show .gallery-swipe-line{animation:luxeUp .72s var(--motion-ease) .9s forwards}
@keyframes galleryReveal{0%{opacity:0;transform:translateY(60px) rotate(-1.8deg) scale(.94);filter:blur(8px)}100%{opacity:1;transform:none;filter:blur(0)}}
.gallery-stage.slide-next img{animation:photoNext .56s var(--motion-ease)}
.gallery-stage.slide-prev img{animation:photoPrev .56s var(--motion-ease)}
@keyframes photoNext{0%{opacity:0;transform:translateX(12%) scale(1.035)}100%{opacity:1;transform:none}}
@keyframes photoPrev{0%{opacity:0;transform:translateX(-12%) scale(1.035)}100%{opacity:1;transform:none}}

/* route/account rows cascade inside their sections */
.section.show .route-card{opacity:0;animation:cardSweep .8s var(--motion-ease) forwards}
.section.show .route-card:nth-child(1){animation-delay:.48s}.section.show .route-card:nth-child(2){animation-delay:.60s}.section.show .route-card:nth-child(3){animation-delay:.72s}
.section.show .account-group{opacity:0;animation:cardSweep .78s var(--motion-ease) forwards}
.section.show .account-group:nth-child(1){animation-delay:.46s}.section.show .account-group:nth-child(2){animation-delay:.60s}
@keyframes cardSweep{0%{opacity:0;transform:translateX(28px)}100%{opacity:1;transform:none}}

/* animated floating background orbs */
.orb.a{animation:orbA 9s ease-in-out infinite}.orb.b{animation:orbB 11s ease-in-out infinite}.orb.c{animation:orbC 10s ease-in-out infinite}
@keyframes orbA{0%,100%{transform:translate(0,0) scale(1)}50%{transform:translate(-30px,36px) scale(1.15)}}
@keyframes orbB{0%,100%{transform:translate(0,0) scale(1)}50%{transform:translate(34px,-28px) scale(.9)}}
@keyframes orbC{0%,100%{transform:translate(0,0) scale(1)}50%{transform:translate(-20px,-42px) scale(1.2)}}

/* closing section: slow zoom and text rise */
.closing{background-size:auto 112%;transition:background-size 5.5s ease-out}
.closing.closing-visible{background-size:auto 102%}
.closing-copy{opacity:0;transform:translateY(30px);filter:blur(6px)}
.closing.closing-visible .closing-copy{animation:closingCopyIn 1.15s var(--motion-ease) .35s forwards}
@keyframes closingCopyIn{to{opacity:1;transform:none;filter:blur(0)}}

/* progress bar is more visible */
.scroll-progress{height:3px;box-shadow:0 0 10px rgba(138,114,95,.25)}

@media(prefers-reduced-motion:reduce){
  .motion-children>*{opacity:1!important;transform:none!important;filter:none!important}
  .gallery-head,.gallery-stage,.gallery-dots,.gallery-swipe-line,.closing-copy{opacity:1!important;transform:none!important;filter:none!important}
}

/* ===== V16 Polished Hero Text Motion ===== */
.hero-title,.hero-names{display:block}
.hero-char{display:inline-block;opacity:0;transform:translateY(30px) rotate(4deg);filter:blur(7px);will-change:transform,opacity,filter}
.hero-char.space{width:.34em}
.hero-copy.hero-play .hero-kicker{animation:heroKickerFade .7s var(--motion-ease) .14s both}
.hero-copy.hero-play .hero-title .hero-char{animation:heroCharIn .78s var(--motion-ease) forwards;animation-delay:calc(.34s + (var(--char-index) * .028s))}
.hero-copy.hero-play .hero-names .hero-char{animation:heroCharIn .78s var(--motion-ease) forwards;animation-delay:calc(.68s + (var(--char-index) * .024s))}
.hero-copy.hero-play .hero-date{animation:heroDateFade .85s var(--motion-ease) .98s both}
.hero-copy.hero-play .hero-scroll{animation:heroScrollFloat 2.2s ease-in-out 1.12s infinite!important;opacity:0;animation-fill-mode:both!important}
@keyframes heroCharIn{0%{opacity:0;transform:translateY(32px) rotate(5deg);filter:blur(8px)}70%{opacity:1}100%{opacity:1;transform:none;filter:blur(0)}}
@keyframes heroKickerFade{from{opacity:0;transform:translateY(16px);filter:blur(4px)}to{opacity:1;transform:none;filter:blur(0)}}
@keyframes heroDateFade{from{opacity:0;transform:translateY(18px);filter:blur(4px)}to{opacity:.92;transform:none;filter:blur(0)}}
.hero-copy.hero-play .hero-title,.hero-copy.hero-play .hero-names{position:relative}
.hero-copy.hero-play .hero-title:after{content:"";position:absolute;left:50%;bottom:-14px;width:44px;height:1px;background:rgba(255,255,255,.78);transform:translateX(-50%) scaleX(0);transform-origin:center;animation:heroLineDraw .72s var(--motion-ease) .94s forwards}
@keyframes heroLineDraw{to{transform:translateX(-50%) scaleX(1)}}

/* ===== V16 Polished Account Cards ===== */
.account-wrap{max-width:408px;display:grid;gap:14px}
.account-group{border:1px solid rgba(208,197,186,.7);background:linear-gradient(180deg,#fff 0%,#fbf8f4 100%);margin:0;border-radius:24px;overflow:hidden;box-shadow:0 18px 42px rgba(40,34,30,.06);transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease}
.account-group.open{transform:translateY(-1px);box-shadow:0 24px 48px rgba(40,34,30,.10);border-color:rgba(182,118,93,.34)}
.account-toggle{width:100%;border:0;background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(248,243,237,.92));padding:18px;display:flex;justify-content:space-between;align-items:center;cursor:pointer;font-family:var(--body-font)!important}
.account-toggle-main{display:flex;align-items:center;gap:13px;min-width:0;text-align:left}
.account-badge{display:inline-flex;align-items:center;justify-content:center;min-width:62px;height:32px;padding:0 12px;border-radius:999px;background:linear-gradient(135deg,rgba(182,118,93,.18),rgba(215,183,162,.20));color:var(--accent);font-size:10px;font-weight:750;letter-spacing:.08em}
.account-toggle-text{display:grid;gap:3px;min-width:0}
.account-toggle-title{display:block;font-size:14px;font-weight:650;color:#23201d;letter-spacing:-.022em}
.account-toggle-sub{display:block;font-size:10px;font-weight:500;color:#8d847c;letter-spacing:-.015em}
.account-toggle .chev{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#f1ece5;color:#7c746d;font-size:14px;transition:transform .3s ease,background .3s ease,color .3s ease}
.account-group.open .account-toggle .chev{transform:rotate(180deg);background:#ede4db;color:var(--accent)}
.account-panel{max-height:0;overflow:hidden;transition:max-height .42s ease;padding:0 18px}
.account-group.open .account-panel{max-height:880px;padding-bottom:18px}
.account-row{padding:14px 14px 13px;border:1px solid #eee4d8;border-radius:18px;background:#f7f3ee;text-align:left;margin-top:10px}
.account-meta{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-bottom:10px}
.account-owner{font-size:12px;font-weight:650;color:#22201d;letter-spacing:-.018em}
.account-bank{display:inline-flex;align-items:center;min-height:22px;padding:0 8px;border-radius:999px;background:rgba(182,118,93,.10);color:var(--accent);font-size:9px;font-weight:750;letter-spacing:.06em}
.account-number-wrap{display:flex;justify-content:space-between;align-items:center;gap:10px}
.account-number{font-family:"SFMono-Regular",Consolas,"Liberation Mono",Menlo,monospace;font-size:13px;font-weight:700;letter-spacing:.03em;color:#5a524b;white-space:nowrap}
.copy-btn{border:0;background:#24211e;color:#fff;height:34px;padding:0 12px;border-radius:12px;font-size:10px;font-weight:650;display:inline-flex;align-items:center;gap:6px;cursor:pointer;box-shadow:0 10px 22px rgba(26,23,20,.12);transition:transform .2s ease,opacity .2s ease,background .2s ease}
.copy-btn svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.copy-btn:hover{transform:translateY(-1px);background:#1d1a18}
.copy-btn:active{transform:scale(.97)}
.placeholder{padding:26px 22px;border-radius:22px;background:#fff;border:1px solid rgba(208,197,186,.7);box-shadow:0 16px 38px rgba(40,34,30,.05)}
@media(max-width:420px){
  .account-toggle{padding:16px}
  .account-badge{min-width:58px;height:30px;font-size:9px}
  .account-toggle-title{font-size:13px}
  .account-toggle-sub{font-size:9px}
  .account-panel{padding:0 16px}
  .account-group.open .account-panel{padding-bottom:16px}
  .account-row{padding:13px 13px 12px}
  .account-number-wrap{align-items:flex-start;flex-direction:column}
  .account-number{font-size:12px;white-space:normal;word-break:break-all}
  .copy-btn{height:32px;padding:0 11px}
}

/* ===== V21 Gallery header fix ===== */
/* Remove the title accent line only from Gallery; it overlapped the hint text. */
.gallery-head .title::after{
  display:none !important;
  content:none !important;
}


/* ===== V22 Faster / smoother gallery ===== */
.gallery-stage img{
  transition:none !important;
}
.gallery-stage.changing img{
  opacity:1 !important;
  transform:none !important;
}
.gallery-stage.slide-next img{
  animation:galleryGlideNext .32s cubic-bezier(.22,.72,.25,1) both !important;
}
.gallery-stage.slide-prev img{
  animation:galleryGlidePrev .32s cubic-bezier(.22,.72,.25,1) both !important;
}
@keyframes galleryGlideNext{
  0%{opacity:.70;transform:translateX(4.5%) scale(1.012)}
  100%{opacity:1;transform:translateX(0) scale(1)}
}
@keyframes galleryGlidePrev{
  0%{opacity:.70;transform:translateX(-4.5%) scale(1.012)}
  100%{opacity:1;transform:translateX(0) scale(1)}
}

/* ===== V22 Clear venue address copy action ===== */
.map-actions.map-actions-three{
  grid-template-columns:repeat(3,1fr);
  gap:8px;
}
.map-actions.map-actions-three a,
.map-action-copy{
  min-width:0;
  min-height:44px;
  border:0;
  border-radius:14px;
  background:#f0eeea;
  color:#2f2d2a;
  padding:0 8px;
  font-size:10px;
  font-weight:650;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  text-decoration:none;
  cursor:pointer;
  transition:transform .18s ease,background .18s ease;
}
.map-actions.map-actions-three a:hover,
.map-action-copy:hover{
  transform:translateY(-1px);
  background:#eae7e1;
}
.map-action-copy:active{transform:scale(.97)}
.map-action-copy svg{
  width:13px;
  height:13px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
@media(max-width:380px){
  .map-actions.map-actions-three{gap:6px}
  .map-actions.map-actions-three a,
  .map-action-copy{font-size:9px;padding:0 5px}
}


/* v25: anti-zoom friction */
html, body {
  touch-action: pan-y;
  overscroll-behavior-x: none;
}
img {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-touch-callout: none;
}
.gallery-expand,
.lightbox {
  display: none !important;
}
.gallery-stage,
.gallery-stage img,
.hero-media img,
.closing {
  -webkit-user-select: none;
  user-select: none;
}
.gallery-stage img {
  pointer-events: none;
}

/* V28 legacy visual fallbacks */
.intro{top:0;right:0;bottom:0;left:0}
.intro-bg{top:0;right:0;bottom:0;left:0}
.hero{height:95vh;height:95svh}
.closing{height:72vh;height:72svh}
@supports not (aspect-ratio:3/4){.gallery-stage{height:520px}@media(max-width:420px){.gallery-stage{height:450px}}}


/* ===== V30 Intro fail-safe for reduced/disabled animations ===== */
@media (prefers-reduced-motion: reduce) {
  .intro-bg {
    animation: none !important;
  }
  .intro-kicker,
  .intro-names,
  .intro-date,
  .intro-btn {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    filter: none !important;
  }
  .intro-btn::after {
    display: none !important;
    animation: none !important;
  }
}

/* JS adds this if an old/odd browser fails to run the intro animation. */
.intro.intro-failsafe .intro-kicker,
.intro.intro-failsafe .intro-names,
.intro.intro-failsafe .intro-date,
.intro.intro-failsafe .intro-btn {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
  filter: none !important;
}
.intro.intro-failsafe .intro-btn::after {
  display: none !important;
}


/* ===== V31 readability feedback ===== */
.wedding-month{display:none !important}
.big-date{
  font-family:var(--body-font)!important;
  font-size:34px;
  font-weight:500;
  letter-spacing:.035em;
  line-height:1.2;
  color:var(--ink);
  white-space:nowrap;
}
.date-meta{
  margin-top:13px;
  font-family:var(--body-font)!important;
  font-size:12px;
  font-weight:600;
  letter-spacing:.025em;
  color:#4f4b47;
}
.dday{
  margin-top:20px;
  font-size:9px;
}
.family strong{
  display:inline-block;
  margin-left:3px;
  font-size:15px;
  font-weight:700;
  letter-spacing:-.025em;
  color:var(--ink);
}
@media(max-width:360px){
  .big-date{font-size:31px}
  .date-meta{font-size:11.5px}
  .family strong{font-size:14.5px}
}


/* ===== V32 date layout feedback ===== */
/* Top line replaces the old "2026년 12월" title position. */
.wedding-month{
  display:block !important;
  margin:0 0 16px !important;
  font-family:var(--body-font)!important;
  font-size:23px !important;
  font-weight:400 !important;
  letter-spacing:.055em !important;
  line-height:1.25 !important;
  color:var(--ink) !important;
}

/* Main line replaces the old large "12 · 13", but is sized to keep the full date readable. */
.big-date{
  font-family:var(--body-font)!important;
  font-size:clamp(16px,4.8vw,21px) !important;
  font-weight:500 !important;
  letter-spacing:-.018em !important;
  line-height:1.45 !important;
  color:var(--ink) !important;
  white-space:nowrap !important;
}

/* The duplicate small date line is intentionally removed from the markup. */
.date-meta{display:none !important}

.dday{
  margin:20px auto 30px !important;
  font-size:9px !important;
}
@media(max-width:340px){
  .wedding-month{font-size:21px !important}
  .big-date{font-size:14.5px !important}
}


/* ===== V33 simplified date layout ===== */
.wedding-month{
  font-size:23px !important;
  font-weight:400 !important;
  letter-spacing:.055em !important;
  margin:0 0 14px !important;
}
.big-date{
  font-family:var(--body-font)!important;
  font-size:22px !important;
  font-weight:500 !important;
  letter-spacing:-.012em !important;
  line-height:1.35 !important;
  white-space:nowrap !important;
}
.dday{
  margin:18px auto 30px !important;
}
@media(max-width:340px){
  .wedding-month{font-size:21px !important;}
  .big-date{font-size:19px !important;}
}


/* ===== V34 date divider position adjusted ===== */
/* Hide the default title accent under the top date line. */
.section.paper .wedding-month::after{
  display:none !important;
}
/* Reposition the accent divider under the second line, above D-day. */
.section.paper .big-date{
  position:relative;
  display:inline-block;
  padding-bottom:18px;
  margin-bottom:2px;
}
.section.paper .big-date::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:2px;
  width:34px;
  height:1px;
  background:var(--accent);
  opacity:.78;
  transform:translateX(-50%);
}
.section.paper .dday{
  margin-top:16px !important;
}


/* ===== V35 three-line wedding date layout ===== */
/* 1) 2026년 12월 13일 */
.wedding-month{
  display:block !important;
  margin:0 0 10px !important;
  font-family:var(--body-font)!important;
  font-size:18px !important;
  font-weight:450 !important;
  letter-spacing:.015em !important;
  line-height:1.35 !important;
  color:var(--ink)!important;
}
.section.paper .wedding-month::after{
  display:none !important;
}

/* 2) 일요일 · 오후 2시 */
.section.paper .big-date{
  position:relative;
  display:inline-block;
  margin:0 !important;
  padding:0 0 18px !important;
  font-family:var(--body-font)!important;
  font-size:22px !important;
  font-weight:600 !important;
  letter-spacing:-.012em !important;
  line-height:1.35 !important;
  color:var(--ink)!important;
  white-space:nowrap !important;
}
/* Brown accent sits between the Korean main line and the English subline. */
.section.paper .big-date::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:3px;
  width:34px;
  height:1px;
  background:var(--accent);
  opacity:.78;
  transform:translateX(-50%);
}

/* 3) 2026-12-13 SUN 14:00 */
.date-subline{
  margin-top:10px;
  font-family:var(--body-font)!important;
  font-size:9px;
  font-weight:500;
  letter-spacing:.13em;
  color:var(--muted);
  line-height:1.4;
}
.section.paper .dday{
  margin:18px auto 30px !important;
}

/* Keep the new subline in the same reveal rhythm. */
.motion-children>.date-subline{
  opacity:0;
  transform:translateY(22px);
  filter:blur(5px);
}
.motion-children.show>.date-subline{
  animation:luxeUp .82s var(--motion-ease) .45s forwards;
}

@media(max-width:340px){
  .wedding-month{font-size:17px !important;}
  .section.paper .big-date{font-size:20px !important;}
  .date-subline{font-size:8.5px;letter-spacing:.10em;}
}


/* ===== V36 gallery usability + charter bus ===== */

/* Bigger, easier gallery controls. Visual motion is transform/opacity only for old phones. */
.gallery-nav{
  z-index:9 !important;
  width:58px !important;
  height:58px !important;
  border:1px solid rgba(255,255,255,.72) !important;
  background:rgba(29,25,22,.48) !important;
  box-shadow:0 6px 22px rgba(0,0,0,.18) !important;
  font-size:36px !important;
  line-height:1 !important;
  touch-action:manipulation;
  -webkit-tap-highlight-color:transparent;
  transition:transform .16s ease,background .16s ease,box-shadow .16s ease !important;
}
.gallery-nav.prev{left:7px !important}
.gallery-nav.next{right:7px !important}
.gallery-nav.is-pressed{
  transform:translateY(-50%) scale(.84) !important;
  background:rgba(29,25,22,.72) !important;
  box-shadow:0 3px 12px rgba(0,0,0,.2) !important;
}
.gallery-stage.tap-next img{animation:galleryTapNext .18s ease-out both !important}
.gallery-stage.tap-prev img{animation:galleryTapPrev .18s ease-out both !important}
@keyframes galleryTapNext{
  0%{transform:translateX(0)}
  100%{transform:translateX(-10px) scale(.996)}
}
@keyframes galleryTapPrev{
  0%{transform:translateX(0)}
  100%{transform:translateX(10px) scale(.996)}
}
.gallery-stage.slide-next img{
  animation:galleryGlideNextV36 .42s cubic-bezier(.22,.72,.25,1) both !important;
}
.gallery-stage.slide-prev img{
  animation:galleryGlidePrevV36 .42s cubic-bezier(.22,.72,.25,1) both !important;
}
@keyframes galleryGlideNextV36{
  0%{opacity:.52;transform:translateX(11%) scale(.992)}
  100%{opacity:1;transform:translateX(0) scale(1)}
}
@keyframes galleryGlidePrevV36{
  0%{opacity:.52;transform:translateX(-11%) scale(.992)}
  100%{opacity:1;transform:translateX(0) scale(1)}
}

/* One-time swipe hint shown when gallery enters the viewport. */
.swipe-hint{
  position:absolute;
  z-index:8;
  left:50%;
  bottom:68px;
  width:150px;
  padding:10px 12px 9px;
  border-radius:18px;
  background:rgba(25,22,20,.64);
  border:1px solid rgba(255,255,255,.34);
  color:#fff;
  text-align:center;
  pointer-events:none;
  opacity:0;
  transform:translate(-50%,8px);
  -webkit-backdrop-filter:blur(7px);
  backdrop-filter:blur(7px);
}
.swipe-hint strong{
  display:block;
  margin-top:5px;
  font-size:10px;
  font-weight:650;
  letter-spacing:.01em;
}
.swipe-hint-track{
  display:block;
  position:relative;
  width:76px;
  height:18px;
  margin:0 auto;
}
.swipe-hint-track:before,
.swipe-hint-track:after{
  position:absolute;
  top:-3px;
  font:22px/18px Arial,sans-serif;
  opacity:.85;
}
.swipe-hint-track:before{content:"‹";left:0}
.swipe-hint-track:after{content:"›";right:0}
.swipe-hint-track i{
  position:absolute;
  top:5px;
  left:50%;
  width:8px;
  height:8px;
  margin-left:-4px;
  border-radius:50%;
  background:#fff;
  box-shadow:0 0 0 5px rgba(255,255,255,.14);
}
.swipe-hint.show{
  animation:swipeHintLife 4.1s ease both;
}
.swipe-hint.show .swipe-hint-track i{
  animation:swipeHintDot 1.18s ease-in-out .28s 3;
}
.swipe-hint.hide{
  opacity:0 !important;
  transition:opacity .2s ease;
}
@keyframes swipeHintLife{
  0%{opacity:0;transform:translate(-50%,8px)}
  12%,82%{opacity:1;transform:translate(-50%,0)}
  100%{opacity:0;transform:translate(-50%,-3px)}
}
@keyframes swipeHintDot{
  0%{transform:translateX(-23px)}
  50%{transform:translateX(23px)}
  100%{transform:translateX(-23px)}
}
@media(max-width:420px){
  .gallery-nav{width:56px !important;height:56px !important;font-size:34px !important}
}

/* Charter bus section */
.charter-section{
  background:#fbf8f3;
}
.charter-card{
  max-width:390px;
  margin:0 auto;
  padding:20px;
  border:1px solid #e5ddd4;
  border-radius:26px;
  background:#fff;
  text-align:left;
  box-shadow:0 16px 44px rgba(47,39,34,.055);
}
.charter-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  padding-bottom:18px;
  border-bottom:1px solid #eee7df;
}
.charter-route-badge{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:0 11px;
  border-radius:999px;
  background:#efe7df;
  color:var(--accent);
  font-size:9px;
  font-weight:750;
  letter-spacing:.08em;
}
.charter-time-block{
  text-align:right;
}
.charter-time-block strong{
  display:block;
  font-size:28px;
  line-height:1;
  letter-spacing:-.03em;
  color:var(--ink);
}
.charter-time-block span{
  display:block;
  margin-top:6px;
  font-size:9px;
  color:var(--muted);
}
.charter-place{
  padding:20px 2px 16px;
}
.charter-place .charter-label{
  display:block;
  margin-bottom:7px;
  font-size:9px;
  font-weight:700;
  letter-spacing:.08em;
  color:var(--accent);
}
.charter-place strong{
  display:block;
  font-size:18px;
  font-weight:700;
  letter-spacing:-.025em;
  color:var(--ink);
}
.charter-place>span:last-child{
  display:block;
  margin-top:7px;
  font-size:11px;
  line-height:1.55;
  color:var(--muted);
}
.charter-map-frame{
  position:relative;
  overflow:hidden;
  border:1px solid #e6ded6;
  border-radius:20px;
  background:#f1eee9;
}
.charter-map-frame iframe{
  display:block;
  width:100%;
  height:250px;
  border:0;
  background:#f1eee9;
}
.charter-map-caption{
  display:flex;
  align-items:center;
  gap:8px;
  padding:11px 12px;
  background:#fff;
  border-top:1px solid #ebe4dd;
  color:#3d3834;
  font-size:10px;
}
.charter-pin-dot{
  flex:0 0 auto;
  width:9px;
  height:9px;
  border-radius:50%;
  background:var(--accent);
  box-shadow:0 0 0 5px rgba(138,114,95,.13);
}
.charter-actions{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:7px;
  margin-top:10px;
}
.charter-action{
  min-width:0;
  min-height:46px;
  border:0;
  border-radius:14px;
  background:#eeeae5;
  color:#302d2a;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0 6px;
  text-decoration:none;
  font-family:var(--body-font);
  font-size:10px;
  font-weight:650;
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
}
.charter-action.copy{
  appearance:none;
  -webkit-appearance:none;
}
.charter-action:active{
  transform:scale(.97);
}
.charter-notice{
  margin:15px 1px 0;
  padding:13px 14px;
  border-radius:15px;
  background:#f8f4ef;
  color:#5c554f;
  font-size:11px;
  line-height:1.65;
}
.charter-notice span{
  display:inline-flex;
  margin-right:6px;
  color:var(--accent);
  font-weight:750;
}
@media(max-width:360px){
  .charter-card{padding:17px}
  .charter-time-block strong{font-size:25px}
  .charter-place strong{font-size:16px}
  .charter-map-frame iframe{height:220px}
  .charter-actions{gap:5px}
  .charter-action{font-size:9px}
}


/* ===== V37 visual tuning ===== */
.hero-copy{bottom:7.2vh}
.hero-scroll{
  display:inline-flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;
  margin-top:24px;
  padding:10px 16px 12px;
  border-radius:999px;
  background:rgba(20,18,16,.20);
  border:1px solid rgba(255,255,255,.34);
  color:#fff;
  font-size:10px;
  font-weight:600;
  letter-spacing:.24em;
  opacity:1;
  text-shadow:0 1px 8px rgba(0,0,0,.35);
  -webkit-backdrop-filter:blur(8px);
  backdrop-filter:blur(8px);
  box-shadow:0 10px 24px rgba(0,0,0,.12);
}
.hero-scroll:after{
  width:1px;
  height:26px;
  margin:0;
  background:linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.18));
}
@media (max-width:420px){
  .hero-scroll{font-size:9px;padding:9px 14px 10px}
}

/* Redesign gallery arrows so the icon is truly centered */
.gallery-stage{overflow:hidden;border-radius:28px}
.gallery-nav{
  z-index:9 !important;
  top:50% !important;
  width:54px !important;
  height:54px !important;
  transform:translateY(-50%) !important;
  border:none !important;
  border-radius:18px !important;
  background:rgba(255,255,255,.74) !important;
  box-shadow:0 10px 26px rgba(0,0,0,.12), inset 0 0 0 1px rgba(255,255,255,.58) !important;
  -webkit-backdrop-filter:blur(12px);
  backdrop-filter:blur(12px);
  color:transparent !important;
  font-size:0 !important;
  line-height:0 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:0 !important;
}
.gallery-nav span{
  position:absolute;
  width:1px;
  height:1px;
  margin:-1px;
  padding:0;
  overflow:hidden;
  clip:rect(0 0 0 0);
  clip-path:inset(50%);
  white-space:nowrap;
  border:0;
}
.gallery-nav::before{
  content:"";
  display:block;
  width:12px;
  height:12px;
  border-right:2.4px solid #473f38;
  border-bottom:2.4px solid #473f38;
}
.gallery-nav.prev{left:12px !important}
.gallery-nav.next{right:12px !important}
.gallery-nav.prev::before{transform:rotate(135deg) translate(-1px,1px)}
.gallery-nav.next::before{transform:rotate(-45deg) translate(-1px,1px)}
.gallery-nav:hover{background:rgba(255,255,255,.86) !important}
.gallery-nav:active,.gallery-nav.is-pressed{
  transform:translateY(-50%) scale(.92) !important;
  background:rgba(255,255,255,.94) !important;
  box-shadow:0 6px 16px rgba(0,0,0,.15), inset 0 0 0 1px rgba(255,255,255,.7) !important;
}
@media(max-width:420px){
  .gallery-nav{width:50px !important;height:50px !important;border-radius:16px !important}
  .gallery-nav.prev{left:10px !important}
  .gallery-nav.next{right:10px !important}
}

/* Slightly tune swipe hint position under the arrows */
.swipe-hint{bottom:72px}

/* Shuttle caption note styling */
.charter-map-caption b{font-weight:700}


/* ===== V38 bride-side parent contact reveal ===== */
.charter-contact{
  margin-top:10px;
}
.charter-contact-toggle{
  width:100%;
  min-height:50px;
  border:1px solid #e5ddd4;
  border-radius:16px;
  background:#fff;
  color:#38332f;
  padding:0 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  font-family:var(--body-font);
  font-size:11px;
  font-weight:700;
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
}
.charter-contact-toggle i{
  position:relative;
  width:18px;
  height:18px;
  flex:0 0 18px;
}
.charter-contact-toggle i::before,
.charter-contact-toggle i::after{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  width:9px;
  height:1.5px;
  border-radius:2px;
  background:#756b63;
  transition:transform .24s ease;
}
.charter-contact-toggle i::before{
  transform:translate(-72%,-50%) rotate(45deg);
}
.charter-contact-toggle i::after{
  transform:translate(-28%,-50%) rotate(-45deg);
}
.charter-contact-toggle[aria-expanded="true"] i::before{
  transform:translate(-72%,-50%) rotate(-45deg);
}
.charter-contact-toggle[aria-expanded="true"] i::after{
  transform:translate(-28%,-50%) rotate(45deg);
}
.charter-contact-panel{
  max-height:0;
  overflow:hidden;
  opacity:0;
  transform:translateY(-5px);
  transition:max-height .32s ease,opacity .24s ease,transform .24s ease,padding .32s ease;
  padding:0 4px;
}
.charter-contact-panel.open{
  max-height:160px;
  opacity:1;
  transform:none;
  padding:10px 4px 2px;
}
.charter-contact-person{
  display:flex;
  align-items:baseline;
  gap:8px;
  padding:2px 4px 8px;
}
.charter-contact-role{
  font-size:9px;
  color:var(--muted);
  letter-spacing:.03em;
}
.charter-contact-person strong{
  font-size:13px;
  font-weight:750;
  color:var(--ink);
}
.charter-contact-call{
  min-height:52px;
  border-radius:15px;
  background:#2f2a26;
  color:#fff;
  text-decoration:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:0 15px;
  box-shadow:0 10px 24px rgba(33,28,24,.10);
}
.charter-contact-call span{
  font-size:15px;
  font-weight:650;
  letter-spacing:.02em;
}
.charter-contact-call b{
  font-size:10px;
  font-weight:700;
  opacity:.82;
}
.charter-contact-call:active{
  transform:scale(.985);
}
@media(max-width:360px){
  .charter-contact-toggle{font-size:10px}
  .charter-contact-call span{font-size:14px}
}


/* ===== V39 SCROLL TO DISCOVER visibility fix =====
   Older hero motion rules had higher specificity and could keep this text at opacity:0.
   Keep the label itself permanently visible; animate only the line below it. */
.hero-copy .hero-scroll,
.hero-copy.stagger .hero-scroll,
.hero-copy.stagger.show .hero-scroll,
.hero-copy.hero-play .hero-scroll{
  display:inline-flex !important;
  opacity:1 !important;
  visibility:visible !important;
  color:#fff !important;
  transform:none !important;
  filter:none !important;
  animation:none !important;
}

.hero-copy .hero-scroll::after{
  display:block !important;
  opacity:1 !important;
  animation:scrollDiscoverLine 1.8s ease-in-out infinite !important;
}

@keyframes scrollDiscoverLine{
  0%,100%{
    transform:scaleY(.38);
    transform-origin:top;
    opacity:.35;
  }
  50%{
    transform:scaleY(1);
    transform-origin:top;
    opacity:1;
  }
}

/* Reduced-motion / old-browser fallback: text always remains visible. */
@media (prefers-reduced-motion: reduce){
  .hero-copy .hero-scroll,
  .hero-copy.stagger .hero-scroll,
  .hero-copy.hero-play .hero-scroll{
    opacity:1 !important;
    visibility:visible !important;
    animation:none !important;
  }
  .hero-copy .hero-scroll::after{
    animation:none !important;
    transform:none !important;
    opacity:.75 !important;
  }
}
