/* opener base (EasyBiz signature) */
.sgo{position:fixed;inset:0;max-width:480px;margin:0 auto;z-index:45;overflow:hidden;touch-action:none;user-select:none;-webkit-user-select:none;background:var(--bg);--ink:#fff;transition:opacity .9s ease;cursor:pointer;text-align:center}
.sgo.bye{opacity:0;pointer-events:none}
.sgo .sgo-st,.sgo .bgp,.sgo .gl,.sgo .wash{position:absolute;inset:0;width:100%;height:100%}.sgo .bgp{background-size:cover;background-position:center}
.sgo .sgo-tx{position:absolute;left:0;right:0;z-index:3;pointer-events:none;color:var(--ink);transition:opacity .7s,transform .9s,filter .7s}
.sgo.go .sgo-tx{opacity:0;transform:translateY(-26px);filter:blur(6px)}
.sgo .sgo-en{margin:0;font:400 12px/1.4 "Cormorant Garamond",serif;letter-spacing:.38em;text-indent:.38em;text-transform:uppercase}
.sgo h2{margin:0}.sgo .sgo-l{margin:0}
.sgo .sgo-hint{position:absolute;left:0;right:0;bottom:92px;z-index:8;margin:0;font-size:14px;color:var(--ink);pointer-events:none;transition:opacity .4s}
.sgo .sgo-hint span{display:inline-block;animation:sghint 2.6s ease-in-out infinite}
@keyframes sghint{0%,100%{opacity:.6;transform:none}50%{opacity:1;transform:translateY(-4px)}}
.sgo .sgo-b{position:absolute;left:0;right:0;bottom:34px;z-index:8;display:flex;justify-content:center;gap:8px;transition:opacity .4s}
.sgo .sgo-b button{appearance:none;border:1px solid color-mix(in srgb,var(--ink) 36%,transparent);background:color-mix(in srgb,var(--ink) 4%,transparent);color:var(--ink);font:inherit;font-size:13px;line-height:1;padding:12px 16px;border-radius:99px;cursor:pointer;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.sgo .sgo-b .sgo-skip{border-color:transparent;background:none;backdrop-filter:none;-webkit-backdrop-filter:none}
.sgo .sgo-b .sgo-mus[aria-pressed=true]{background:var(--ink);color:var(--bg)}.sgo .sgo-mus[aria-pressed=true]::before{content:"✓ "}
.sgo .sgo-b button:focus-visible,.sgo .e-seal:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
.sgo.go .sgo-hint,.sgo.go .sgo-b{opacity:0;pointer-events:none}
.sgo.calm .bgp{filter:brightness(.6)}.sgo.calm .sgo-tx{top:34%}.sgo.calm h2{font:300 34px/1.5 "Noto Serif KR",serif}.sgo.calm{--ink:#fff!important}.sgo.calm h2 i{margin:0 12px;font:italic 300 24px/1 "Cormorant Garamond",serif}
.sgo{overflow:clip}
/* ---------- Vintage Gold collection (add-on) ---------- */

/* builder: label, hidden colour cards, colour chips */
.tpl-cards .vg-label { grid-column: 1 / -1; margin: 10px 0 -2px; font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); display: flex; align-items: center; gap: 8px; }
.tpl-cards .vg-label span { background: #8a6a2c; color: #fff8e6; padding: 3px 7px; border-radius: 999px; letter-spacing: .18em; font-size: 8.5px; }
.tpl-card[data-tpl^="vg-"][data-tpl$="-2"], .tpl-card[data-tpl^="vg-"][data-tpl$="-3"] { display: none; }
.tpl-card.vg-on { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.tpl-card[data-tpl^="vg-"] .tpl-card__swatch span { font-family: "Pinyon Script", var(--serif); font-size: 30px; }
.vg-colours { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -16px 0 30px; }
.vg-colours[hidden] { display: none; }
.vg-colours__t { font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); margin-right: 4px; }
.vg-chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 6px; border: 1px solid var(--line); background: #fff; border-radius: 999px; font: 500 10px/1 var(--sans); letter-spacing: .06em; color: var(--ink-2); cursor: pointer; }
.vg-chip i { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.vg-chip.is-on { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.vg-chip:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* the card */
.inv--vg { position: relative; overflow: hidden; overflow: clip; max-width: 100%; background: var(--bg); color: var(--fg); background-image: radial-gradient(120% 60% at 50% 0%, var(--soft), transparent 70%); }
/* nothing may widen the page sideways (the glow and the roses reach past the frame on purpose) */
html:has(.inv--vg), html:has(.inv--vg) body, html:has(.lm-gate--vg), html:has(.lm-gate--vg) body { overflow-x: hidden; overflow-x: clip; }
.inv--vg .vg-hero { position: relative; display: flex; flex-direction: column; align-items: center; padding: 46px 22px 8px; text-align: center; }
.inv--vg .vh-en { font-size: 14px; line-height: 1.3; margin-bottom: 20px; max-width: 26ch; }
.inv--vg .vh .vf { width: min(64%, 250px); }
.inv--vg .vg-ph { position: absolute; left: 0; right: 0; top: -6%; bottom: -6%; background: radial-gradient(circle at 50% 45%, var(--soft), var(--bg)); background-size: cover; background-position: center; filter: sepia(.16) saturate(1.06) contrast(1.04); display: grid; place-items: center; }
.inv--vg .vg-mono { font: italic 300 64px/1 "Cormorant Garamond", serif; color: var(--gd); letter-spacing: .04em; }
.inv--vg .inv__body { position: relative; padding: 46px 24px 30px; text-align: center; }
.inv--vg .inv__names { display: flex; flex-direction: column; align-items: center; font: 400 32px/1.12 "Cormorant Garamond", serif; letter-spacing: .02em; color: var(--fg); margin: 0; }
.inv--vg .inv__names i { font: 400 42px/1 "Pinyon Script", cursive; color: var(--gd); margin: 2px 0 0; font-style: normal; }
.inv--vg .inv__rule { position: relative; width: 120px; height: 1px; margin: 20px auto; background: linear-gradient(90deg, transparent, var(--gd), transparent); }
.inv--vg .inv__rule i { position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; margin: -3.5px; transform: rotate(45deg); background: var(--gd); }
.inv--vg .inv__date { font: 500 15px/1.5 "Cormorant Garamond", serif; letter-spacing: .14em; text-transform: uppercase; color: var(--fg); }
.inv--vg .inv__venue { font-size: 11.5px; line-height: 1.7; letter-spacing: .05em; margin-top: 10px; color: var(--fg); opacity: .74; }
.inv--vg .inv__msg { font: italic 400 15.5px/1.7 "Cormorant Garamond", serif; margin: 22px auto 0; max-width: 30ch; color: var(--fg); opacity: .86; }
.inv--vg .inv__rsvp { margin: 0; border: 0; }
.inv--vg .inv__cta { border-color: var(--gd); color: var(--fg); background: transparent; }
.inv--vg .inv__cta:hover { background: var(--gd); color: var(--bg); }
.inv--vg .inv__meta { color: var(--fg); opacity: .62; }
.inv--vg .vg-sign { margin: 26px 0 0; font: 400 24px/1 "Pinyon Script", cursive; color: var(--gd); }
.inv--vg.vg-dk .vh-glow { opacity: .55; }
.inv-shell .inv--vg .vg-hero { padding-top: 60px; }

/* the intro: our scene inside Lumière's gate */
.lm-gate--vg { background: #0b0807; cursor: grab; overflow: hidden; touch-action: none; overscroll-behavior: contain; }
.lm-gate--vg.lm-gate--fixed { position: fixed; inset: 0; width: auto; max-width: none; }
.lm-gate--vg .sgo { position: absolute; inset: 0; max-width: none; margin: 0; z-index: 1; }
.lm-gate--vg.lm-gate--fixed .sgo { max-width: 520px; margin: 0 auto; box-shadow: 0 0 120px rgba(0, 0, 0, .6); }
.lm-gate--vg .sgo .sgo-hint { bottom: 64px; font-family: "Cormorant Garamond", serif; font-size: 16px; letter-spacing: .08em; }
.lm-gate--vg .sgo .sgo-tx h2, .lm-gate--vg .sgo .sgo-tx h3 { font-family: "Cormorant Garamond", serif; }
.lm-gate--vg .sgo.calm h2.vg-calm { font: 300 34px/1.3 "Cormorant Garamond", serif; display: flex; flex-direction: column; }
.lm-gate--vg .sgo.calm h2.vg-calm i { font: 400 40px/1 "Pinyon Script", cursive; }
.lm-gate--vg .lm-gate__skip { z-index: 30; }
.vg-paynote { font-size: 12px; line-height: 1.6; color: var(--ink-soft); margin: 12px 0 0; }
.vg-paynote b { color: var(--ink); font-weight: 600; }

/* ---------- the card's extra pages ---------- */
.inv--vg .vgs { position: relative; padding: 30px 26px; text-align: center; }
.inv--vg .vgs-en { margin: 0 0 6px; font: 500 10px/1.4 var(--sans, system-ui), sans-serif; letter-spacing: .32em; text-transform: uppercase; color: var(--gd); }
.inv--vg .vgs-t { margin: 0 0 16px; font: 400 30px/1.15 "Pinyon Script", cursive; color: var(--fg); text-wrap: balance; }
.inv--vg .vgs-p { margin: 0 auto; max-width: 31ch; font: 400 15.5px/1.75 "Cormorant Garamond", serif; color: var(--fg); opacity: .88; }
.inv--vg .vgs-lead { font-style: italic; font-size: 17px; }
.inv--vg .vgs-by { margin: 14px 0 0; font: italic 400 14px/1 "Cormorant Garamond", serif; color: var(--gd); }
.inv--vg .vgs-addr { margin-bottom: 4px; opacity: .74; font-size: 14px; }
.inv--vg .vgs-orn { position: relative; height: 1px; width: 64%; margin: 0 auto; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--gd) 55%, transparent), transparent); }
.inv--vg .vgs-orn i { position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; margin: -2.5px; transform: rotate(45deg); background: var(--gd); }
/* gallery */
.inv--vg .vg-gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.inv--vg .vg-gal button { padding: 0; border: 0; background: var(--soft); aspect-ratio: 1; overflow: hidden; cursor: zoom-in; border-radius: 2px; min-width: 0; }
.inv--vg .vg-gal button:first-child { grid-column: span 2; grid-row: span 2; }
.inv--vg .vg-gal--1 { grid-template-columns: 1fr; }
.inv--vg .vg-gal--1 button:first-child { grid-column: auto; grid-row: auto; aspect-ratio: 4/5; }
.inv--vg .vg-gal--2 { grid-template-columns: 1fr 1fr; }
.inv--vg .vg-gal--2 button:first-child { grid-column: auto; grid-row: auto; }
.inv--vg .vg-gal--4 button:first-child, .inv--vg .vg-gal--5 button:first-child { grid-column: span 3; grid-row: auto; aspect-ratio: 3/2; }
.inv--vg .vg-gal img { width: 100%; height: 100%; object-fit: cover; display: block; filter: sepia(.12) saturate(1.04); transition: transform .5s ease; }
.inv--vg .vg-gal button:hover img { transform: scale(1.04); }
/* calendar + countdown */
.inv--vg .vg-cal { max-width: 270px; margin: 0 auto; }
.inv--vg .vg-cal__m { margin: 0 0 10px; font: 500 13px/1 "Cormorant Garamond", serif; letter-spacing: .24em; text-transform: uppercase; color: var(--fg); opacity: .8; }
.inv--vg .vg-cal__g { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px 0; font: 400 14px/30px "Cormorant Garamond", serif; color: var(--fg); isolation: isolate; }
.inv--vg .vg-cal__g b { font: 500 9.5px/24px var(--sans, system-ui), sans-serif; letter-spacing: .1em; color: var(--gd); }
.inv--vg .vg-cal__g span.on { position: relative; color: var(--bg); font-weight: 600; }
.inv--vg .vg-cal__g span.on::before { content: ""; position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px; border-radius: 50%; background: var(--gd); z-index: -1; }
.inv--vg .vg-cd { display: flex; justify-content: center; gap: 8px; margin: 22px 0 6px; }
.inv--vg .vg-cd[hidden] { display: none; }
.inv--vg .vg-cd div { min-width: 0; flex: 0 1 60px; padding: 9px 4px 7px; border: 1px solid color-mix(in srgb, var(--gd) 45%, transparent); border-radius: 3px; }
.inv--vg .vg-cd b { display: block; font: 400 25px/1 "Cormorant Garamond", serif; color: var(--fg); font-variant-numeric: tabular-nums; }
.inv--vg .vg-cd small { display: block; margin-top: 5px; font: 500 8px/1 var(--sans, system-ui), sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--gd); }
.inv--vg .vg-cd__note { margin: 6px 0 0; font: italic 400 14px/1.4 "Cormorant Garamond", serif; color: var(--fg); opacity: .75; }
/* buttons */
.inv--vg .vg-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.inv--vg .vg-btn { flex: 1 1 0; min-width: 0; max-width: 150px; padding: 11px 6px; border: 1px solid color-mix(in srgb, var(--gd) 60%, transparent); border-radius: 999px; background: transparent; color: var(--fg); font: 500 9.5px/1.2 var(--sans, system-ui), sans-serif; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.inv--vg .vg-btn:hover { background: var(--gd); color: var(--bg); }
/* order of the day */
.inv--vg .vg-tl { list-style: none; margin: 0 auto; padding: 0; max-width: 300px; text-align: left; }
.inv--vg .vg-tl li { display: grid; grid-template-columns: 72px 12px minmax(0, 1fr); align-items: center; gap: 10px; padding: 9px 0; position: relative; }
.inv--vg .vg-tl li + li::before { content: ""; position: absolute; left: 87.5px; top: -9px; height: 20px; width: 1px; background: color-mix(in srgb, var(--gd) 45%, transparent); }
.inv--vg .vg-tl__t { font: 500 10.5px/1.3 var(--sans, system-ui), sans-serif; letter-spacing: .06em; text-transform: uppercase; color: var(--gd); text-align: right; }
.inv--vg .vg-tl i { width: 7px; height: 7px; transform: rotate(45deg); background: var(--gd); justify-self: center; }
.inv--vg .vg-tl__w { font: 400 16px/1.35 "Cormorant Garamond", serif; color: var(--fg); }
.inv--vg .vg-info { margin: 18px auto 0; max-width: 32ch; padding: 14px 16px; border: 1px solid color-mix(in srgb, var(--gd) 35%, transparent); border-radius: 3px; text-align: left; }
.inv--vg .vg-info b { display: block; margin-bottom: 4px; font: 500 10px/1.3 var(--sans, system-ui), sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--gd); }
.inv--vg .vg-info p { margin: 0; font: 400 14.5px/1.6 "Cormorant Garamond", serif; color: var(--fg); opacity: .86; }
/* rsvp + guestbook */
.inv--vg .vgs-rsvp .inv__meta { margin-top: 10px; }
.inv--vg .vg-wish__l { list-style: none; margin: 0 auto 14px; padding: 0; max-width: 320px; max-height: 300px; overflow-y: auto; text-align: left; }
.inv--vg .vg-wish__l li { padding: 11px 2px; border-bottom: 1px solid color-mix(in srgb, var(--gd) 25%, transparent); }
.inv--vg .vg-wish__l li.empty { text-align: center; border: 0; font: italic 14px/1.4 "Cormorant Garamond", serif; opacity: .7; }
.inv--vg .vg-wish__l b { display: block; font: 500 10px/1.3 var(--sans, system-ui), sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--gd); }
.inv--vg .vg-wish__l p { margin: 3px 0 0; font: 400 15px/1.5 "Cormorant Garamond", serif; color: var(--fg); overflow-wrap: anywhere; }
.inv--vg .vg-wish__f { display: grid; gap: 8px; max-width: 320px; margin: 0 auto; }
.inv--vg .vg-wish__f input, .inv--vg .vg-wish__f textarea { width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid color-mix(in srgb, var(--gd) 40%, transparent); border-radius: 3px; background: color-mix(in srgb, var(--bg) 88%, var(--fg)); color: var(--fg); font: 400 16px/1.4 "Cormorant Garamond", serif; resize: vertical; }
.inv--vg .vg-wish__f input::placeholder, .inv--vg .vg-wish__f textarea::placeholder { color: var(--fg); opacity: .5; }
.inv--vg .vg-wish__f [disabled] { opacity: .55; cursor: not-allowed; }
.inv--vg .vg-wish__s { margin: 2px 0 0; min-height: 1em; font: italic 13px/1.4 "Cormorant Garamond", serif; color: var(--fg); opacity: .7; }
/* closing */
.inv--vg .vgs-end { position: relative; margin-top: 8px; }
.inv--vg .vgs-end img { display: block; width: 100%; aspect-ratio: 4/5; object-fit: cover; filter: sepia(.14) saturate(1.04); }
.inv--vg .vgs-end div { position: absolute; left: 0; right: 0; bottom: 0; padding: 80px 20px 34px; text-align: center; background: linear-gradient(transparent, color-mix(in srgb, var(--bg) 92%, transparent) 62%); }
.inv--vg .vgs-end p { margin: 0; font: 400 34px/1.1 "Pinyon Script", cursive; color: var(--fg); }
.inv--vg .vgs-end small { display: block; margin-top: 8px; font: italic 400 14px/1 "Cormorant Garamond", serif; color: var(--gd); }
.inv--vg .vgs-end:not(:has(img)) div { position: static; background: none; padding: 30px 20px 40px; }
/* lightbox + toast (outside the card) */
.vg-lb { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; background: rgba(8, 6, 5, .94); }
.vg-lb img { max-width: 94vw; max-height: 86vh; object-fit: contain; }
.vg-lb button { position: absolute; border: 0; background: none; color: #f4ead4; font: 300 40px/1 Georgia, serif; cursor: pointer; padding: 12px 16px; }
.vg-lb .p { left: 4px; top: 50%; transform: translateY(-50%); }
.vg-lb .n { right: 4px; top: 50%; transform: translateY(-50%); }
.vg-lb .x { right: 8px; top: 8px; font-size: 34px; }
.vg-toast { position: fixed; left: 50%; bottom: 40px; transform: translateX(-50%); z-index: 10000; padding: 10px 18px; border-radius: 999px; background: #241c14; color: #f4ead4; font: 500 12px/1 system-ui, sans-serif; letter-spacing: .06em; transition: opacity .4s; }
.vg-toast.out { opacity: 0; }
/* builder: extra pages */
.vg-extras { margin: 6px 0 22px; padding: 18px 16px 6px; border: 1px solid var(--line, #e4dccd); border-radius: 6px; background: rgba(201, 164, 92, .06); }
.vg-extras[hidden] { display: none; }
.vg-extras__t { margin: 0 0 14px; font-size: 11px; letter-spacing: .06em; color: var(--ink-soft, #7a6e60); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.vg-extras__t span { background: #8a6a2c; color: #fff8e6; padding: 3px 8px; border-radius: 999px; font-size: 8.5px; letter-spacing: .18em; text-transform: uppercase; }
.vg-gin { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.vg-gth { display: contents; }
.vg-gth span { position: relative; width: 58px; height: 58px; border-radius: 4px; overflow: hidden; }
.vg-gth img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vg-gth button { position: absolute; right: 2px; top: 2px; width: 20px; height: 20px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .6); color: #fff; font: 14px/20px system-ui; padding: 0; cursor: pointer; }
.vg-gadd { position: relative; display: inline-grid; place-items: center; width: 58px; height: 58px; border: 1px dashed var(--line, #cfc4b2); border-radius: 4px; font-size: 10px; line-height: 1.2; text-align: center; color: var(--ink-soft, #7a6e60); cursor: pointer; }
.vg-gadd[hidden] { display: none; }
.vg-gadd input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.vg-check { display: flex; gap: 8px; align-items: center; margin: 4px 0 14px; font-size: 12.5px; color: var(--ink-2, #4a4036); }
