/* Figma 2:2: 1920px canvas; proportional mobile layout. */
@font-face{font-family:'Gowun Batang';font-style:normal;font-weight:400;font-display:swap;src:url('assets/fonts/gowun-batang-0.woff2?v=20261003-qa21') format('woff2')}
@font-face{font-family:'Gowun Batang';font-style:normal;font-weight:700;font-display:swap;src:url('assets/fonts/gowun-batang-1.woff2?v=20261003-qa21') format('woff2')}
@font-face{font-family:'Gowun Dodum';font-style:normal;font-weight:400;font-display:swap;src:url('assets/fonts/gowun-dodum-0.woff2?v=20261003-qa21') format('woff2')}
@font-face{font-family:'Allura';font-style:normal;font-weight:400;font-display:swap;src:url('assets/fonts/allura-0.woff2?v=20261003-qa21') format('woff2')}
@font-face{font-family:'Cinzel';font-style:normal;font-weight:400;font-display:swap;src:url('assets/fonts/cinzel-0.woff2?v=20261003-qa21') format('woff2')}
@font-face{font-family:'Instrument Serif';font-style:normal;font-weight:400;font-display:swap;src:url('assets/fonts/instrument-serif-0.woff2?v=20261003-qa21') format('woff2')}
:root{--ink:#222;--muted:#777;--pink:#f38da9;--paper:#f6f5f0}
*{box-sizing:border-box}body{margin:0;background:#fff;color:var(--ink);font-family:'Gowun Dodum',sans-serif;line-height:1.55}main{max-width:480px;margin:auto;container-type:inline-size;overflow:hidden}p,h1,h2,h3,h4{margin:0}img{display:block;width:100%;object-fit:cover}button{font:inherit;color:inherit;cursor:pointer}button,a,summary{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid var(--pink);outline-offset:4px}
.hero{height:144.948cqw;position:relative;padding:11.458cqw 11.458cqw 0}.hero-date{text-align:right;font-family:'Gowun Batang',serif;font-size:2.292cqw;white-space:nowrap;line-height:3.333cqw;margin-bottom:1.5625cqw}.hero-frame{position:relative;width:100%;aspect-ratio:1480/1898.652}.hero-frame>img{position:absolute;width:105.79%;height:123.69%;left:-.43%;top:-18.29%;object-fit:fill;transform:scaleX(-1)}.hero-frame{clip-path:inset(0)}.hero-frame:after{content:'';position:absolute;inset:0;background:#fff3;pointer-events:none}.vertical-names{position:absolute;left:calc(100% + 4.115cqw);top:32.865%;font-family:'Gowun Batang',serif;font-size:3.333cqw;line-height:4.844cqw;text-align:center;white-space:nowrap}.hero-frame .vertical-names{display:none}.hero .vertical-names-outside{position:absolute;left:92.656cqw;top:48.854cqw;font-family:'Gowun Batang',serif;font-size:3.333cqw;line-height:4.844cqw;text-align:center}.script-title{position:absolute;top:98.438cqw;left:4.219cqw;right:10.26cqw;font-family:'Allura',cursive;font-size:18.229cqw;font-weight:400;line-height:22.8125cqw;color:#000;pointer-events:none;white-space:nowrap}.script-title span{display:block;text-align:right}.script-title span+span{margin-top:-8.229cqw}
.sparkle{position:absolute;color:#ea87a0;pointer-events:none;font-size:4cqw;animation:twinkle 2.8s ease-in-out infinite}.s1{top:12%;left:0}.s2{bottom:10%;right:0;animation-delay:1.4s}@keyframes twinkle{0%,100%{opacity:.1;transform:scale(.7) rotate(-10deg)}50%{opacity:1;transform:scale(1.15) rotate(15deg)}}
.section{padding:10.4167cqw 8.333cqw;text-align:center}.section-title{display:flex;justify-content:center;align-items:center;gap:1.823cqw;font-family:'Cinzel',serif;color:var(--muted);font-size:3.333cqw;font-weight:400;line-height:4.479cqw;margin-bottom:10.4167cqw;letter-spacing:0}.section-title img{width:2.083cqw;height:2.083cqw;object-fit:contain}.invitation p{font-size:4.167cqw;line-height:6.458cqw}.invitation p+p{margin-top:6.458cqw}.wide-photo{aspect-ratio:1600/981;margin-top:10.4167cqw;object-position:center 38%;transform:scaleX(-1)}
.family-section{padding:15.625cqw 7.1875cqw;background:#fff}.family{position:relative;text-align:center}.family h2{font-size:3.75cqw;line-height:5.417cqw;letter-spacing:-.075cqw;font-weight:400;margin-bottom:5.208cqw}.family h2 strong{font-family:'Gowun Batang',serif;font-weight:700}.collage{position:relative}.collage>img{object-fit:contain}.groom-family .collage{width:100%;aspect-ratio:1660/899}.groom-family .letter-art{width:80.091cqw;aspect-ratio:1538/868;margin:-3.385cqw auto 0}.bride-family{margin-top:7.8125cqw}.bride-family .collage{width:81.004cqw;margin: -6.0417cqw auto 0;aspect-ratio:1556/1174}.bride-family .letter-art{width:69.01cqw;aspect-ratio:1325/507;margin:-8.333cqw 0 0 auto;right:7.91cqw}.letter-art{position:relative;isolation:isolate}.letter-art img{width:100%;height:100%;object-fit:fill}.letter-art .handwriting{position:absolute;inset:0;mix-blend-mode:multiply}.letter-art .highlight{position:absolute;top:1.268%;left:.065%;width:97.39%;height:96.05%;clip-path:inset(0 0 100% 0);transition:clip-path 2s steps(7)}.bride-family .highlight{top:1.07%;left:.585%;width:100.6%;height:101.37%;transition-timing-function:steps(6)}.is-visible .highlight{clip-path:inset(0)}
.wedding-date{font-size:4.167cqw;line-height:5.729cqw;margin-bottom:10.4167cqw;letter-spacing:-.0833cqw}.calendar{padding:4.6875cqw 3.906cqw;background:#f6f5f0de;border-radius:2.76cqw;box-shadow:1px 1px 7px #0000001c;font-family:'Instrument Serif',serif}.weekdays,.calendar-days{display:grid;grid-template-columns:repeat(7,1fr);column-gap:2.083cqw}.weekdays{font-size:3.333cqw;line-height:4.323cqw;padding-bottom:1.042cqw;margin-bottom:3.906cqw}.calendar-days{font-size:5cqw;line-height:6.51cqw;row-gap:3.906cqw}.calendar-days span{position:relative;min-height:6.51cqw;display:grid;place-items:center}.weekdays span:first-child,.calendar-days .sunday{color:#d66f87}.weekdays span:last-child,.calendar-days .saturday{color:#1935ea}.wedding-day:before{content:'';position:absolute;background:url('assets/figma/heart.svg') center/contain no-repeat;inset:-.4cqw;z-index:-1}.wedding-day{isolation:isolate}
.countdown{display:flex;justify-content:center;align-items:flex-start;gap:3.1cqw;margin:10.4167cqw 0}.countdown b{display:block;font-family:'Gowun Batang',serif;font-size:5.833cqw;font-weight:700;line-height:8.4375cqw}.countdown small{display:block;font-family:'Gowun Dodum',sans-serif;font-size:3.125cqw;color:var(--muted);margin-top:1.302cqw;line-height:4.531cqw}.countdown i{font-style:normal;font-size:3.75cqw;color:var(--muted);line-height:8.4375cqw}.remaining{font-size:3.75cqw;line-height:7.24cqw;letter-spacing:-.075cqw;white-space:nowrap}.remaining strong{font-family:'Gowun Batang',serif;font-weight:700;color:var(--pink);font-size:5cqw}
.location h3,.accounts h3{font-family:'Gowun Batang',serif;font-weight:700;font-size:4.583cqw;line-height:4.583cqw;letter-spacing:-.0916cqw;margin-bottom:5.208cqw}.location>p{font-size:3.333cqw;line-height:4.427cqw;margin-bottom:10.4167cqw;letter-spacing:-.0667cqw}.map{aspect-ratio:1600/1617;border:1px solid #d0d0d0;background:var(--paper);position:relative}.map iframe{width:100%;height:100%;border:0}.map-links{display:flex;gap:1.5625cqw;margin-top:2.604cqw}.map-links a{display:flex;align-items:center;justify-content:center;gap:2.083cqw;flex:1;min-width:0;min-height:44px;border:1px solid #e4e4e4;border-radius:1.042cqw;background:#f0f0f047;color:#767676;text-decoration:none;font-size:2.5cqw;box-shadow:1px 1px 2px #c4c4c433}.map-links img{width:4.167cqw;height:4.167cqw;object-fit:contain}.transport{margin-top:10.4167cqw;text-align:left}.transport h4{font-family:'Gowun Batang',serif;font-weight:700;font-size:3.333cqw;line-height:4.844cqw;margin-bottom:1.5625cqw}.transport p{font-family:'Gowun Batang',serif;font-size:3.333cqw;line-height:5.469cqw;letter-spacing:-.0333cqw}.transport h4:not(:first-child){margin-top:5.208cqw}
.gallery-main{width:100%;border:0;padding:0;background:#f6f6f6;display:block;overflow:hidden;box-shadow:1px 1px 3px #0002}.gallery-main img{aspect-ratio:1600/2080;transform:scaleX(-1);transition:opacity .25s,filter .3s}.gallery-main img.switching{opacity:.2;filter:blur(3px)}.thumbnails{display:flex;gap:3.229cqw;overflow-x:auto;padding:7.8125cqw 0 0;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:#ddd transparent}.thumbnails button{padding:0;background:none;border:0;flex:0 0 13.021cqw;scroll-snap-align:center;opacity:.45;transition:opacity .3s;min-height:44px}.thumbnails img{aspect-ratio:1;filter:blur(1px);transition:filter .3s}.thumbnails button:hover,.thumbnails button:focus-visible,.thumbnails button[aria-pressed=true]{opacity:1}.thumbnails button:hover img,.thumbnails button:focus-visible img,.thumbnails button[aria-pressed=true] img{filter:none}
.accounts h3{font-size:4.167cqw}.accounts>p{font-size:3.333cqw;line-height:4.427cqw;letter-spacing:-.0667cqw}.accounts>p+p{margin-top:4.427cqw}.accounts details{text-align:left;margin-top:5.208cqw}.accounts details:first-child{margin-top:10.4167cqw}.accounts summary{display:flex;gap:1.042cqw;align-items:center;min-height:44px;padding:2.604cqw 3.125cqw;list-style:none;cursor:pointer;border:1px solid #e4e4e4;background:#f0f0f047;border-radius:.9375cqw;box-shadow:1px 1px 2px #c4c4c433;font-family:'Gowun Batang',serif;font-size:3.333cqw;font-weight:700;line-height:4.844cqw}.accounts summary img{width:3.594cqw;height:3.594cqw;object-fit:contain}.accounts summary::-webkit-details-marker{display:none}.accounts summary:after{content:'⌄';color:#829783;margin-left:auto}.accounts details[open] summary:after{content:'⌃'}.account-row{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:2.4cqw 3.125cqw;border-bottom:1px solid #b4b4b4}.account-row p{font-size:3.333cqw;line-height:5cqw;letter-spacing:-.0333cqw}.account-row small{font-size:2.5cqw;color:#999}.account-row button{font-family:'Gowun Batang',serif;font-weight:700;font-size:2.5cqw;border:1px solid #e4e4e4;border-radius:.9375cqw;background:#f0f0f047;min-height:44px;min-width:44px;padding:1.3cqw 3cqw;white-space:nowrap}
footer{position:relative;aspect-ratio:1920/1014;overflow:hidden}footer img{position:absolute;width:100%;height:100%;object-fit:cover;object-position:center 34%;transform:scaleX(-1);filter:brightness(.65)}footer p{position:absolute;bottom:9.58cqw;left:16.146cqw;width:67.708cqw;font-family:'Gowun Batang',serif;font-weight:700;text-align:center;font-size:2.917cqw;line-height:4.219cqw;color:#faf9f5;letter-spacing:-.0583cqw}
.js .reveal{opacity:0;translate:0 25px;transition:opacity 1s ease,translate 1s cubic-bezier(.22,1,.36,1)}.js .reveal.is-visible{opacity:1;translate:0 0}dialog{border:0;padding:0;width:min(900px,100vw);max-width:100vw;height:100dvh;max-height:100dvh;background:transparent;color:#fff;overflow:hidden}dialog[open]{display:flex;align-items:center;justify-content:center}dialog::backdrop{background:#000e}dialog img{max-height:80dvh;object-fit:contain}dialog button{position:absolute;background:#0005;color:#fff;border:0;border-radius:50%;width:44px;height:44px;font-size:30px}.close-dialog{top:20px;right:15px}#prev-photo{left:8px}#next-photo{right:8px}#photo-number{position:absolute;bottom:24px;font:14px Arial,sans-serif}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);background:#222e;color:#fff;border-radius:8px;padding:10px 18px;font:14px Arial,sans-serif;opacity:0;pointer-events:none;transition:opacity .2s;z-index:5;max-width:90vw;width:max-content}#toast.visible{opacity:1}
@media(prefers-reduced-motion:reduce){*,*:before{animation:none!important;transition:none!important}.js .reveal{opacity:1;transform:none}.highlight{clip-path:inset(0)!important}}

/* Exact crop proportions from Figma layers 2:16 and 2:564. */
.wide-photo{object-position:center 34.59%}.gallery-main img{object-position:center bottom}.wedding-day:before{opacity:.15}

.map-placeholder{height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:16px;padding:24px;text-align:center}.map-placeholder strong{font-family:'Gowun Batang',serif;font-size:18px}.map-placeholder p{font-size:13px;line-height:1.8}.map-placeholder a{display:inline-flex;align-items:center;min-height:44px;padding:8px 16px;border:1px solid #ddd;border-radius:6px;color:#666;text-decoration:none;font-size:13px;background:#fff}

/* 2026-10-01 QA: current Figma geometry with requested motion overrides. */
.script-title{left:0;right:1cqw;font-size:19.8cqw;line-height:24.78cqw}
.script-title span+span{margin-top:-5cqw;translate:0 0}
.script-title svg{display:block;width:100%;height:auto;overflow:visible}
.script-title .write-stroke{stroke-dasharray:1;stroke-dashoffset:0}
.js .script-title .write-stroke{stroke-dashoffset:1}
.script-title.is-writing .write-stroke{animation:write-ink var(--duration) linear var(--delay) forwards}
.script-title.is-writing .write-finish{animation:finish-ink .01s linear var(--finish) forwards}
.write-finish{opacity:1}.js .write-finish{opacity:0}
@keyframes write-ink{to{stroke-dashoffset:0}}
@keyframes finish-ink{to{opacity:1}}
.hero-frame .sparkle{z-index:2;color:#fff;text-shadow:0 1px 2px #0009;-webkit-text-stroke:.35px #222;font-size:4.3cqw;animation-duration:3.8s}
.letter-art{background:transparent}
.letter-art .handwriting{filter:brightness(1.04);mix-blend-mode:multiply}
.bride-family .letter-art{width:69.823cqw;aspect-ratio:1340.604/519.406;margin:-8.333cqw auto 0;right:auto}
.bride-family .handwriting{width:98.836%;height:97.611%}
.bride-family .highlight{left:.578%;top:1.045%;width:99.422%;height:98.955%}
.letter-art .highlight{clip-path:inset(var(--top) 100% var(--bottom) 0);transition:clip-path 1.3s cubic-bezier(.25,.1,.25,1);transition-delay:var(--delay)}
.letter-art.is-visible .highlight{clip-path:inset(var(--top) 0 var(--bottom) 0)}
.wedding-day:before{width:8.854cqw;height:7.760cqw;inset:auto;left:50%;top:50%;transform:translate(calc(-50% - .0967cqw),calc(-50% + .229cqw));opacity:.15}
.remaining{display:flex;justify-content:center;align-items:center;gap:2.34375cqw}
.remaining>span:first-child{white-space:nowrap}
.transport h4:not(:first-child){margin-top:5.2083cqw}
.thumbnails{scrollbar-width:none;-ms-overflow-style:none}.thumbnails::-webkit-scrollbar{display:none}
.accounts details[open] summary:after{content:'⌄'}
.accounts summary:after{transition:rotate .38s ease}.accounts summary[aria-expanded=true]:after{rotate:180deg}
.account-panel{height:0;overflow:hidden}
.account-list{display:flex;flex-direction:column;padding:3.6458cqw 0;border-bottom:1px solid #b4b4b4}
.account-row{padding:0 3.125cqw;gap:1cqw;border:0}
.account-row+.account-row{border-top:1px solid #b4b4b4;padding-top:2.34375cqw;margin-top:4.6875cqw}
.account-row p{font-size:3.333cqw;line-height:3.90625cqw;min-width:0;letter-spacing:-.0333cqw}
.account-row p span{display:block;white-space:nowrap}.account-row p span+span{margin-top:1.09375cqw}
.account-row button{font-size:2.5cqw;line-height:3.646cqw;padding:1.302cqw 3.594cqw;min-height:0;min-width:0;flex-shrink:0;position:relative;box-shadow:1px 1px 2px #c4c4c433}
.account-row button:before{content:'';position:absolute;inset:calc(min(0px,(100% - 44px)/2)) 0}
footer p{bottom:9.5833cqw;font-weight:400}
.js .reveal-down{translate:0 -25px}
#naver-map-canvas{width:100%;height:100%}.venue-marker-label{padding:8px 12px;white-space:nowrap;font-family:'Gowun Dodum',sans-serif;font-size:12px;color:#222}
@media(prefers-reduced-motion:reduce){.js .reveal{opacity:1;translate:none}.js .script-title .write-stroke{stroke-dashoffset:0}.js .script-title .write-finish{opacity:1}.letter-art .highlight{clip-path:inset(var(--top) 0 var(--bottom) 0)!important}}


/* Additional QA: original Figma arrow and explicit footer text box. */
.accounts summary:after{content:none!important}
.accounts summary .account-arrow{margin-left:auto;flex:none;width:1.979167cqw;height:1.145833cqw;object-fit:contain;transition:rotate .38s ease}
.accounts summary[aria-expanded=true] .account-arrow{rotate:180deg}
footer p{top:39.010417cqw;bottom:auto;height:4.21875cqw;line-height:4.21875cqw;white-space:nowrap}
.thumbnails{overflow-x:auto;touch-action:pan-x pan-y;cursor:grab;user-select:none}
.thumbnails.dragging{cursor:grabbing;scroll-snap-type:none}
.thumbnails img{-webkit-user-drag:none;pointer-events:none}
.map-install{display:block;margin-top:12px;color:#666;font-size:13px}.map-install[hidden]{display:none}
.letter-art .highlight{filter:brightness(1.04);mix-blend-mode:multiply}
.js .invitation .section-title.is-visible{animation:invitation-rise 1.2s cubic-bezier(.22,1,.36,1) both}
.invitation>p.reveal{transition-delay:.18s}.invitation>p+p.reveal{transition-delay:.3s}
@keyframes invitation-rise{from{opacity:0;translate:0 25px}to{opacity:1;translate:0 0}}
@media(prefers-reduced-motion:reduce){.js .invitation .section-title.is-visible{animation:none}}

/* QA 2026-10-02: latest Figma 2:17, letter paper transparency, repeatable ink. */
.image-filters{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none}
.script-title{left:0;right:0;font-size:18.229167cqw;line-height:22.8125cqw}
.script-title span:first-child{padding-right:7.04cqw}
.script-title span+span{margin-top:-5.8828cqw;padding-right:5.8421cqw}
.script-title .write-stroke{stroke-dasharray:var(--length) var(--length);stroke-dashoffset:0}
.js .script-title .write-stroke{stroke-dashoffset:var(--length);opacity:0}
.js .script-title .write-glyph{opacity:0}
.script-title.is-writing .write-glyph{animation:show-glyph .001s linear var(--start) forwards}
@keyframes write-ink{from{stroke-dashoffset:var(--length);opacity:1}to{stroke-dashoffset:0;opacity:1}}
@keyframes show-glyph{to{opacity:1}}
.family-section{position:relative;height:233.5128cqw;padding:15.625cqw 4.5426cqw;background:linear-gradient(#fff,#f6f6f6 10.4167cqw,#f6f6f6 calc(100% - 10.4167cqw),#fff)}
.family h2{margin:0}
.groom-family{height:105.8132cqw}
.groom-family .collage{position:absolute;top:17.34375cqw;left:5.0385cqw;width:80.8378cqw;aspect-ratio:1552.086/818.706}
.groom-family .letter-art{position:absolute;top:56.5993cqw;left:0;width:90.9148cqw;height:49.21396cqw;aspect-ratio:auto;margin:0}
.groom-family .handwriting{left:.5813%;top:1.0486%;width:94.919%;height:98.9514%;inset:auto}
.groom-family .highlight{top:0;left:0;width:100%;height:98.0325%}
.bride-family{position:absolute;left:11.1392cqw;top:129.3028cqw;width:77.7215cqw;height:88.585cqw;margin:0}
.bride-family .collage{position:absolute;top:9.21875cqw;left:.38479cqw;width:76.952cqw;aspect-ratio:1477.478/1108;margin:0}
.bride-family .letter-art{position:absolute;top:58.59374cqw;left:0;width:77.7215cqw;height:29.9913cqw;aspect-ratio:auto;margin:0;right:auto}
.bride-family .handwriting{left:1.658%;top:0;width:97.8386%;height:96.904%;inset:auto}
.bride-family .highlight{left:0;top:.0675%;width:100%;height:99.9325%}
.collage .sparkle{display:none}
.letter-art .handwriting{filter:url(#letter-paper-alpha);mix-blend-mode:normal}
.letter-art .highlight{filter:none;mix-blend-mode:normal;transition:none}
.letter-art.is-visible .highlight{transition:clip-path 1.3s cubic-bezier(.25,.1,.25,1) var(--delay)}
.location h3{font-size:5cqw;line-height:4.5833cqw;letter-spacing:-.1cqw}
.location>p,.accounts>p{font-size:4.166667cqw;line-height:6.458333cqw;letter-spacing:-.083333cqw}
.accounts>p+p{margin-top:6.458333cqw}
.transport h4{font-size:4.166667cqw;line-height:6.041667cqw;letter-spacing:-.041667cqw}
.transport p{font-size:4.0625cqw;line-height:5.885417cqw;letter-spacing:-.040625cqw}
.accounts h3{font-size:4.583333cqw;line-height:4.583333cqw}
@media(prefers-reduced-motion:reduce){.js .script-title .write-stroke,.js .script-title .write-glyph{opacity:1;stroke-dashoffset:0}}

.groom-family .highlight{filter:url(#groom-marker-alpha)}
.bride-family .highlight{filter:url(#bride-marker-alpha)}
.groom-family .collage>img{position:absolute;top:-3.1757%;left:0;width:100.5743%;height:107.3648%;object-fit:fill}

/* QA4: vector stars, independent marker lines and balanced account rows. */
.hero-frame .sparkle{width:4.5cqw;height:4.5cqw;text-shadow:none;-webkit-text-stroke:0}
.hero-frame .sparkle img{width:100%;height:100%;object-fit:contain}
.letter-art .highlight-line{position:absolute;display:block;transform-origin:0 0;clip-path:inset(0);pointer-events:none}
.letter-art .highlight-line img{width:100%;height:100%;object-fit:fill}
.groom-family .highlight-line{transform:rotate(-.528275deg)}
.bride-family .highlight-line{transform:rotate(.752521deg) skewX(-.02202deg)}
.js .letter-art .highlight-line{clip-path:inset(0 100% 0 0);transition:none}
.js .letter-art.is-visible .highlight-line{clip-path:inset(0);transition:clip-path 1.3s linear var(--delay)}
.account-list{padding:0;border-bottom:0}
.account-row,.account-row+.account-row{margin:0;padding:3.645833cqw 3.125cqw;border-top:0;border-bottom:1px solid #b4b4b4;min-height:0}
.account-row p{line-height:4.375cqw}
@media(prefers-reduced-motion:reduce){.js .letter-art .highlight-line{clip-path:inset(0)!important;transition:none!important}}
.script-title svg.write-punctuation{width:75px;height:125px;margin:0;overflow:visible}
.js .write-punctuation{opacity:0;clip-path:inset(0 0 100% 0) fill-box}
.script-title.is-writing .write-punctuation{animation:punctuation-ink var(--duration) linear var(--delay) forwards}
@keyframes punctuation-ink{from{opacity:1;clip-path:inset(0 0 100% 0) fill-box}99.9%{opacity:1;clip-path:inset(0) fill-box}to{opacity:1;clip-path:none}}
@media(prefers-reduced-motion:reduce){.js .write-punctuation{opacity:1;clip-path:none}}

/* QA5: 350px section breathing room and complete original glyphs after writing. */
.section{padding-block:18.229167cqw}
.family-section{padding-block:18.229167cqw;height:238.721134cqw}
.bride-family{top:131.906967cqw}
.script-title.is-writing .write-glyph[mask]{animation:show-glyph .001s linear var(--start) forwards,release-glyph .001s linear var(--finish) forwards}
@keyframes release-glyph{to{mask:none}}
@media(prefers-reduced-motion:reduce){.script-title .write-glyph[mask]{mask:none}}

/* QA6: a consistent light palette, 450px section spacing and centered farewell. */
:root{color-scheme:only light;background:#fff;color:var(--ink)}
body,main{background:#fff}body{-webkit-touch-callout:none}
.section{padding-block:23.4375cqw}
.family-section{padding-block:23.4375cqw;height:249.137801cqw}
.bride-family{top:137.1153cqw}
footer p{top:calc(50% - 2.106771cqw)}

/* QA7: latest photos, DM Serif Display typewriter, reference sparkles and account cards. */
@font-face{font-family:'DM Serif Display';font-style:normal;font-weight:400;font-display:swap;src:url('assets/fonts/dm-serif-display.woff2?v=20261003-qa21') format('woff2')}
:root{--title-rose:#9e4d61}
.hero-frame>img{left:0;top:0;width:100%;height:100%;transform:none;object-fit:fill}
.hero-frame:after{background:transparent}
.script-title{inset:0;font-family:'DM Serif Display',serif;font-weight:400;color:var(--title-rose);line-height:normal;letter-spacing:0;font-size:13.020833cqw}
.script-title>.title-line{position:absolute;display:block;margin:0;padding:0!important;text-align:right;white-space:pre;overflow:visible}
.script-title .title-first{top:97.395833cqw;right:14.114583cqw;font-size:13.020833cqw}
.script-title .title-second{top:108.645833cqw;right:4.114583cqw;font-size:14.583333cqw}
.script-title .title-line>.type-character{display:inline;padding:0!important;margin:0;text-align:inherit;visibility:visible}
.js .script-title .type-character{visibility:hidden}
.js .script-title.is-typing .type-character.is-typed{visibility:visible}
.hero-frame .sparkle{animation:sparkle-light 4.8s ease-in-out infinite;z-index:2;width:10cqw;height:10cqw;mix-blend-mode:multiply}
.hero-frame .sparkle img{filter:url(#sparkle-ink)}

.wide-photo{position:relative;overflow:hidden;transform:none;aspect-ratio:1600/981}
.wide-photo>img{position:absolute;max-width:none;object-fit:fill;transform:none}
.invitation-photo-first>img{left:-2.3125%;top:-44.240571%;width:104.6875%;height:256.06524%}
.invitation-photo-second{margin-top:0}
.invitation-photo-second>img{left:-4.6875%;top:-55.147808%;width:109.4375%;height:267.685015%}
.gallery-main img{transform:none;object-position:center 49.7%}
.thumbnails img{filter:none}.thumbnails button{opacity:.72}
.accounts details{background:#f6f6f6;border-radius:.989583cqw;box-shadow:0 .208333cqw .716146cqw #00000026;overflow:hidden}
.accounts summary{background:#f6f6f6;border:.15625cqw solid #e4e4e4;border-radius:.9375cqw;box-shadow:.208333cqw .208333cqw .364583cqw #c4c4c433;padding:2.604167cqw 3.125cqw;font-size:3.333333cqw;line-height:4.84375cqw;letter-spacing:-.033333cqw;gap:1.041667cqw}
.groom-accounts{--account-color:#4b5ccd;--summary-color:#4052c7}.bride-accounts{--account-color:#d66f87;--summary-color:#d66f87}
.account-label{color:var(--summary-color)}
.account-list{padding:3.645833cqw 0;gap:2.34375cqw;border:0}
.account-row,.account-row+.account-row{padding:0 3.125cqw;margin:0;border:0;min-height:8.90625cqw}
.account-row p{font-size:3.333333cqw;line-height:3.90625cqw;letter-spacing:-.033333cqw;color:#000}
.account-row p>.account-owner{color:#262626}.account-row p .account-role{display:inline;margin:0;color:var(--account-color)}
.account-row p>span+span{margin-top:1.09375cqw}
.account-row button{background:#e2e2e259;border:.15625cqw solid #e4e4e4;border-radius:.9375cqw;box-shadow:.208333cqw .208333cqw .364583cqw #c4c4c433;font-size:2.5cqw;line-height:3.645833cqw;padding:1.302083cqw 3.59375cqw;color:#000}
.account-divider{height:.104167cqw;margin:0 3.177083cqw;background:#d0d0d0;flex:none}
footer>img{left:-29.84375cqw;top:-16.898177cqw;width:159.635417cqw;height:106.40625cqw;transform:none;filter:none;object-fit:fill}
footer:after{content:'';position:absolute;inset:0;background:linear-gradient(#00000010,#0000003b);pointer-events:none}
footer p{top:calc(50% + 7.789063cqw);z-index:1;color:#fff}
@media(prefers-reduced-motion:reduce){.js .script-title .type-character{visibility:visible!important}}

/* QA8: 350px outer spacing, brighter pink, updated date and lightbox navigation. */
.section{padding-block:18.229167cqw}
.family-section{padding-block:18.229167cqw;height:238.721134cqw}
.bride-family{top:131.906967cqw}
:root{--title-rose:#d66f87}
.hero-date{position:absolute;left:11.458333cqw;right:11.458333cqw;top:10.885417cqw;font-size:2.708333cqw;line-height:normal;margin:0;color:#000}
.hero-frame{position:absolute;left:11.458333cqw;top:16.354167cqw;width:77.083333cqw;aspect-ratio:1480/1899}
.account-list{padding-block:4.166667cqw;gap:2.864583cqw}
dialog:focus{outline:none}
.lightbox-stage{position:relative;width:100%;height:80dvh;overflow:hidden;isolation:isolate}
dialog .lightbox-stage img{position:absolute;inset:0;width:100%;height:100%;max-height:none;object-fit:contain;pointer-events:none}
dialog button{display:flex;align-items:center;justify-content:center;padding:0;line-height:1;z-index:2}
dialog button svg{display:block;width:24px;height:24px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
dialog button:focus-visible{outline:2px solid #fff;outline-offset:3px}
#prev-photo,#next-photo{top:50%;transform:translateY(-50%)}
.close-dialog{top:max(20px,env(safe-area-inset-top));right:15px}

/* Static Map: native page scrolling passes over the non-interactive image. */
.map .static-map{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;pointer-events:none;user-select:none;-webkit-user-drag:none}
.map .static-map[hidden]{display:none}
.static-map-label{position:absolute;left:50%;top:calc(50% - 9.5cqw);transform:translate(-50%,-100%);padding:7px 10px;border:1px solid #ddd;border-radius:4px;box-shadow:0 1px 4px #0002;background:#fff;color:#222;font-family:'Gowun Dodum',sans-serif;font-size:12px;line-height:1.4;white-space:nowrap;pointer-events:none}

/* QA10: requested title pink and visibly roomier account cards at phone sizes. */
:root{--title-rose:#ff5a88}
.accounts details+details{margin-top:calc(5.208333cqw + 16px)}
.accounts summary{padding-block:calc(2.604167cqw + 8px)}
.account-list{padding-block:calc(4.166667cqw + 8px);gap:calc(2.864583cqw + 8px)}
.account-row button{padding-block:calc(1.302083cqw + 4px);min-height:36px}

/* QA11: complete bride heading, faster marker strokes and swipeable main photo. */
.bride-family h2{position:relative;z-index:2}
.js .letter-art.is-visible .highlight-line{transition-duration:1s}
.gallery-main{position:relative;touch-action:pan-y;user-select:none}
.gallery-main img{transition:none;-webkit-user-drag:none;pointer-events:none}
.gallery-main .outgoing-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none}

/* QA13: safe randomized sparkles and Figma footer actions. */
.hero-frame .sparkle{animation:none;opacity:0;right:auto;bottom:auto;height:auto;aspect-ratio:1;will-change:opacity,transform}
.footer-actions{background:#555;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 8.333333cqw;min-height:max(12.65625cqw,60px)}
.footer-actions :is(button,a){display:flex;align-items:center;justify-content:center;gap:1.5625cqw;align-self:stretch;min-height:44px;padding:0;border:0;background:transparent;color:inherit;font-family:'Gowun Batang',serif;font-weight:400;font-size:3.333333cqw;letter-spacing:-.033333cqw;white-space:nowrap}
.footer-actions :is(button,a) img{width:2.8125cqw;height:2.8125cqw;flex:none}
.footer-actions .action-divider{width:max(.104167cqw,1px);height:4.84375cqw;background:#fff;opacity:.8}
.footer-actions :is(button,a):focus-visible{outline:2px solid #fff;outline-offset:2px}

/* QA14: complete labels, direct calendar links and a quiet wedding-heart pulse. */
.footer-actions :is(button,a){text-decoration:none;line-height:1.8;font-synthesis:none;overflow:visible}
.footer-actions :is(button,a)>span{display:block;padding-block:3px;flex:none;overflow:visible}
.wedding-day:before{animation:wedding-heart-pulse 1.8s ease-in-out infinite;animation-play-state:paused;transform-origin:50% 50%;scale:none;transform:translate(-50%,-50%)}
.calendar.is-visible .wedding-day:before{animation-play-state:running}
@keyframes wedding-heart-pulse{0%,100%{transform:translate(-50%,-50%) scale(1)}50%{transform:translate(-50%,-50%) scale(1.18)}}
@media(prefers-reduced-motion:reduce){.wedding-day:before{animation:none}}

/* QA17: preserve page zoom for reading; only gallery gestures exclude pinch. */
.gallery,#lightbox,.lightbox-stage{touch-action:pan-x pan-y}


/* QA22: Figma 261006 bride father's letter (28:255 / 28:871). */
.family-section{height:calc(251.21054822cqw - 50px)}
.bride-family{left:11.52401606cqw;width:76.95196788cqw;height:101.07444127cqw}
.bride-family .collage{left:0}
.bride-family .letter-art{top:55.62499364cqw;left:5.89785894cqw;width:65.15625000cqw;height:45.44944763cqw}
.bride-family .handwriting{left:0;top:0;width:100%;height:100%}

/* QA24 Figma copy: 1.0 design-pixel stroke expansion, unchanged marker coordinates. */
.bride-family .handwriting{left:-.05208333cqw;top:-.05208333cqw;width:65.26041667cqw;height:45.55361430cqw}

/* QA26 exact approved transparent handwriting, native Figma mask keeps one tilde. */
.bride-family .handwriting{filter:none;object-fit:contain;mask-image:url(assets/figma/bride-letter-mask-qa26.svg);mask-size:100% 100%;mask-repeat:no-repeat;-webkit-mask-image:url(assets/figma/bride-letter-mask-qa26.svg);-webkit-mask-size:100% 100%;-webkit-mask-repeat:no-repeat}

/* Pre-applied alpha mask avoids forced-dark SVG mask painting failures. */
.bride-family .handwriting{mask-image:none;-webkit-mask-image:none;mix-blend-mode:normal}

/* Own the palette in both system modes; prohibit browser auto-dark where supported. */
:root,html,body,main{color-scheme:only light!important}
html,body,main{background-color:#fff!important}
@media(prefers-color-scheme:dark){:root,html,body,main{color-scheme:only light!important}html,body,main{background-color:#fff!important}}

/* Full visible viewport; opaque backdrop prevents the invitation showing through. */
#lightbox{position:fixed;inset:auto;top:var(--lightbox-top,0px);left:var(--lightbox-left,0px);right:0;margin:0 auto;padding:0;border:0;width:min(900px,var(--lightbox-width,100vw));height:var(--lightbox-height,100dvh);max-width:none;max-height:none;background:#111;box-sizing:border-box}
#lightbox::backdrop{background:#111}
#lightbox .lightbox-stage{position:absolute;inset:0;width:100%;height:100%;max-height:none}
#lightbox .close-dialog{top:max(16px,env(safe-area-inset-top));right:max(15px,env(safe-area-inset-right))}
#lightbox #photo-number{bottom:max(16px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);z-index:3;margin:0;padding:4px 10px;border-radius:12px;background:#111b;white-space:nowrap}
