:root {
  color-scheme: light;
  --paper: #f4f0e8;
  --paper-deep: #e8e1d7;
  --white: #fffdf9;
  --ink: #292925;
  --muted: #7b776f;
  --line: rgba(41, 41, 37, .16);
  --accent: #6f675c;
  --sage: #5e6a61;
  --wine: #694f4b;
  --serif-display: "Cormorant Garamond", "Iowan Old Style", "Times New Roman", serif;
  --serif: "Noto Serif KR", "AppleMyungjo", "Batang", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif;
  font-family: var(--serif);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  background: #d9d6d0;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body { margin: 0; background: #d9d6d0; color: var(--ink); line-height: 1.7; word-break: keep-all; }
body:has(dialog[open]) { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

.page-frame {
  width: min(100%, 520px);
  margin: 0 auto;
  overflow: clip;
  background: var(--paper);
  box-shadow: 0 0 70px rgba(37, 35, 31, .18);
}

.cover { position: relative; min-height: 100svh; height: 820px; overflow: hidden; color: #fff; background: #7d7d78; }
.cover__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 35% 20%; filter: saturate(.82) contrast(.98); transform: scale(var(--photo-zoom, 1)); }
html[data-entry-experience="tooltip"] .cover__image { animation: cover-photo-arrival .78s cubic-bezier(.2,.78,.24,1) backwards; }
.cover__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(22,22,20,.16), transparent 35%, rgba(20,19,17,.12) 55%, rgba(20,19,17,.72)); }
.cover__tools { position: absolute; z-index: 3; top: 22px; left: 20px; right: 20px; display: flex; justify-content: space-between; }
.round-button { min-width: 64px; min-height: 42px; padding: 7px 12px; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; background: rgba(36,35,31,.18); color: #fff; font-size: 11px; letter-spacing: .1em; backdrop-filter: blur(10px); cursor: pointer; }
.bgm-tooltip { position: absolute; top: 54px; left: 0; width: max-content; max-width: 220px; margin: 0; border-radius: 11px; padding: 11px 14px 12px; background: rgba(255,253,249,.96); color: var(--ink); box-shadow: 0 10px 30px rgba(20,19,17,.22); font-family: var(--sans); font-size: 12px; line-height: 1.55; letter-spacing: -.025em; pointer-events: none; transition: opacity .18s ease, transform .18s ease; animation: bgm-tooltip-arrival .5s cubic-bezier(.2,.82,.25,1) .42s backwards; }
.bgm-tooltip::before { content: ""; position: absolute; top: -5px; left: 27px; width: 10px; height: 10px; background: inherit; transform: rotate(45deg); }
.bgm-tooltip span { display: block; margin-bottom: 2px; color: var(--accent); font-size: 9px; font-weight: 650; letter-spacing: .12em; }
.bgm-tooltip.is-hiding { opacity: 0; transform: translateY(-4px) scale(.98); }
html[data-entry-experience="welcome-dialog"] .bgm-tooltip { display: none; }
.cover__content { position: absolute; z-index: 1; left: 28px; right: 28px; bottom: 78px; text-align: center; }
.cover h1 { position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: stretch; width: min(75vw, 390px); gap: 15px; margin: 11px auto 0; font-family: var(--serif-display); font-size: clamp(50px, 15vw, 74px); font-weight: 500; line-height: 1; letter-spacing: -.035em; }
.cover h1 span { position: relative; z-index: 2; display: block; width: max-content; line-height: .88; text-shadow: 0 3px 24px rgba(20,20,18,.34); }
.cover h1 span:first-child { align-self: flex-start; transform: none; }
.cover h1 span:last-child { align-self: flex-end; transform: none; }
.cover h1 i { position: absolute; z-index: 1; top: 49%; left: 50%; margin: 0; color: rgba(255,255,255,.46); font-size: clamp(132px, 40vw, 188px); font-style: italic; font-weight: 400; line-height: .62; text-shadow: 0 6px 30px rgba(20,20,18,.28); transform: translate(-50%, -50%) rotate(-9deg); pointer-events: none; }
.cover__korean { margin: 24px 0 0; font-size: 15px; letter-spacing: .14em; }
.cover__rule { width: 28px; height: 1px; margin: 20px auto; background: rgba(255,255,255,.65); }
.cover__date, .cover__venue { margin: 0; font-size: 12px; letter-spacing: .11em; }
.cover__venue { margin-top: 5px; color: rgba(255,255,255,.72); font-size: 10px; }
.scroll-hint { position: absolute; z-index: 2; bottom: 18px; left: 50%; display: grid; justify-items: center; gap: 5px; transform: translateX(-50%); color: rgba(255,255,255,.72); font-size: 9px; letter-spacing: .2em; }
.scroll-hint span { width: 1px; height: 22px; background: rgba(255,255,255,.6); animation: scroll-line 1.8s ease-in-out infinite; transform-origin: top; }

.section { padding: 88px 26px; text-align: center; }
.section--compact { padding-top: 78px; padding-bottom: 38px; }
.overline { margin: 0 0 14px; color: var(--accent); font-family: var(--serif-display); font-size: 14px; font-style: italic; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }
.overline--light { color: rgba(255,255,255,.82); }
h2 { margin: 0; font-family: var(--serif); font-size: clamp(32px, 9vw, 43px); font-weight: 500; line-height: 1.42; letter-spacing: -.045em; }
.copy-emphasis { font-weight: 600; }
.body-copy { margin: 26px auto 0; color: var(--muted); font-size: 14px; font-weight: 300; line-height: 2.08; }
.caption, .mock-caption { margin: 12px 0 0; color: var(--muted); font-size: 12px; }

.intro { background: var(--white); }
.scripture-quote { font-size: clamp(19px, 6vw, 28px); line-height: 1.62; letter-spacing: -.06em; }
.scripture-quote span { white-space: nowrap; }
.scripture-source { margin: 13px 0 0; color: var(--accent); font-family: var(--serif); font-size: 11px; letter-spacing: .12em; }
.scripture-source + .body-copy { margin-top: 54px; }
.family-list { margin: 38px auto 28px; padding: 24px 0; border-block: 1px solid var(--line); }
.family-list p { margin: 7px 0; font-size: 14px; }
.family-list span { color: var(--muted); }
.family-list strong { margin-left: 5px; font-size: 16px; }
.text-button { border: 0; border-bottom: 1px solid currentColor; padding: 7px 0; background: none; font-size: 13px; cursor: pointer; }
.text-button span { margin-left: 8px; }

.gallery-section { padding-bottom: 34px; background: var(--paper); }
.photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; padding: 0 10px; align-items: start; }
.photo-grid--single { grid-template-columns: 1fr; }
.photo-grid__column { display: grid; gap: 7px; min-width: 0; }
.photo-card { position: relative; width: 100%; border: 0; padding: 0; overflow: hidden; background: #d8d3ca; cursor: zoom-in; }
.photo-card::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(110deg, #d4cfc6 24%, #e7e2da 43%, #d4cfc6 62%); background-size: 220% 100%; opacity: 0; pointer-events: none; transition: opacity .38s ease; }
.photo-card.is-loading::before { opacity: 1; animation: photo-shimmer 1.35s ease-in-out infinite; }
.photo-card.is-error::before { opacity: 1; background: #d8d3ca; }
.photo-card::after { content: "VIEW"; position: absolute; z-index: 2; right: 9px; bottom: 8px; color: rgba(255,255,255,.8); font-size: 8px; letter-spacing: .16em; opacity: 0; transition: opacity .2s ease; }
.photo-card:focus-visible::after, .photo-card:hover::after { opacity: 1; }
.photo-card img { width: 100%; height: 100%; object-fit: cover; opacity: 1; filter: none; transform: scale(var(--photo-zoom, 1)); transition: opacity .65s ease var(--load-delay, 0ms), filter .7s ease var(--load-delay, 0ms), transform .85s ease var(--load-delay, 0ms); }
.photo-card.is-loading img { opacity: 0; filter: blur(6px); transform: scale(calc(var(--photo-zoom, 1) + .035)); }
.photo-card:hover img { transform: scale(calc(var(--photo-zoom, 1) + .018)); }
.photo-card--portrait { aspect-ratio: 4 / 5; }
.photo-card--tall { aspect-ratio: 2 / 3; }
.photo-card--square { aspect-ratio: 1; }
.photo-card--wide { aspect-ratio: 3 / 2; }
.photo-card--formal img { object-position: 50% 42%; }
.photo-card--bride img { object-position: 50% 34%; }
.photo-card--detail img { object-position: 50% 28%; }
.photo-card--hands img { object-position: 50% 24%; }
.photo-card--laugh img { object-position: 50% 32%; }
.photo-card--embrace img { object-position: 50% 35%; }
.photo-card--playful img { object-position: 50% 18%; }
.photo-card--veil img { object-position: 50% 38%; }

.story-banner { position: relative; height: 560px; margin: 0; overflow: hidden; color: #fff; background: #555; }
.story-banner img { width: 100%; height: 100%; object-fit: cover; object-position: 42% 22%; filter: saturate(.76); transform: scale(var(--photo-zoom, 1)); }
.story-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,20,18,.04), rgba(20,20,18,.58)); }
.story-banner figcaption { position: absolute; z-index: 1; left: 28px; right: 28px; bottom: 38px; }
.story-banner span { display: block; margin-bottom: 8px; font-family: var(--serif-display); font-size: 15px; font-style: italic; letter-spacing: .12em; }
.story-banner strong { white-space: pre-line; font-family: var(--serif); font-size: 32px; font-weight: 400; line-height: 1.35; }

.schedule { background: var(--white); }
.date-card { margin: 36px auto 26px; padding: 22px 18px 20px; border: 1px solid var(--line); background: #fbfaf7; }
.date-card header { display: flex; align-items: center; justify-content: space-between; padding: 0 5px 15px; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 14px; letter-spacing: .1em; }
.date-card header strong { font-weight: 400; }
.date-card__week, .date-card__days { display: grid; grid-template-columns: repeat(7, 1fr); }
.date-card__week { margin: 15px 0 7px; color: var(--muted); font-size: 9px; }
.date-card__days { row-gap: 8px; font-family: var(--serif); font-size: 13px; }
.date-card__days span, .date-card__days strong { display: grid; place-items: center; width: 26px; height: 26px; margin: auto; font-weight: 400; }
.date-card__days strong { border-radius: 50%; background: var(--wine); color: #fff; }
.schedule__text { font-size: 14px; line-height: 1.9; }
.countdown { margin: 20px 0 24px; color: var(--muted); font-size: 12px; }
.countdown strong { color: var(--wine); font-weight: 600; }
.outline-button, .solid-button { min-height: 46px; border: 1px solid var(--ink); padding: 11px 22px; background: transparent; font-size: 13px; cursor: pointer; }
.calendar-trigger { display: inline-grid; place-items: center; text-decoration: none; }
.solid-button { background: var(--ink); color: #fff; }
.outline-button--light { border-color: rgba(255,255,255,.7); color: #fff; }
.solid-button--light { border-color: var(--white); background: var(--white); color: var(--ink); }

.venue { padding-bottom: 78px; background: var(--paper); }
.map-panel { position: relative; height: 320px; margin: 0 16px; overflow: hidden; border: 1px solid var(--line); background: #e4e0d8; }
.venue-map { position: relative; width: 100%; height: 100%; overflow: hidden; outline: 0; }
.venue-map:focus-visible { outline: 2px solid var(--accent); outline-offset: -3px; }
.venue-map__canvas { position: absolute; inset: 0; width: 100%; height: 100%; filter: grayscale(.24) saturate(.72) contrast(.96); }
.venue-map__info-window { min-width: 106px; border: 1px solid rgba(97,90,80,.2); padding: 7px 10px 8px; background: rgba(255,253,249,.96); box-shadow: 0 5px 18px rgba(30,29,26,.16); color: var(--ink); font-family: var(--sans); font-size: 11px; font-weight: 650; line-height: 1.2; letter-spacing: -.025em; text-align: center; white-space: nowrap; }
.venue-map__fallback { position: absolute; inset: 0; display: grid; place-content: center; gap: 10px; padding: 24px; background: linear-gradient(135deg, #d8d5ce, #ece8df); color: var(--muted); text-align: center; }
.venue-map__fallback p { margin: 0; font-size: 12px; }
.venue-map__fallback a { color: var(--ink); font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
.venue-map__fallback[hidden] { display: none; }
.map-panel__label { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 13px; border: 1px solid rgba(255,255,255,.5); background: rgba(255,253,249,.9); box-shadow: 0 8px 26px rgba(30,29,26,.12); backdrop-filter: blur(10px); pointer-events: none; }
.map-panel__label strong { font-size: 13px; font-weight: 500; }
.map-panel__label span { color: var(--muted); font-family: var(--serif-display); font-size: 10px; letter-spacing: .12em; }
.map-panel__floor { line-height: 1; font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }
.map-actions { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 16px; border: 1px solid var(--line); border-top: 0; }
.map-actions.is-tmap-hidden { grid-template-columns: repeat(3, 1fr); }
.map-actions [hidden] { display: none; }
.map-actions a, .map-actions button { min-height: 46px; display: grid; place-items: center; border: 0; border-right: 1px solid var(--line); background: var(--white); font-size: 11px; cursor: pointer; }
.map-actions > :last-child { border-right: 0; }
.map-actions__note { margin: 9px 20px 0; color: var(--muted); font-size: 10px; line-height: 1.6; text-align: right; }
.accordion-list, .account-list { margin: 28px 22px 0; border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
.accordion-list summary { display: flex; align-items: center; gap: 16px; padding: 18px 4px; font-size: 13px; }
.accordion-list summary::after { content: "+"; margin-left: auto; color: var(--muted); }
.accordion-list details[open] summary::after { content: "−"; }
.accordion-list summary > span:first-child { width: 52px; flex: 0 0 52px; color: var(--muted); font-size: 9px; letter-spacing: .13em; }
.accordion-list p { margin: -2px 0 18px 72px; color: var(--muted); font-size: 12px; line-height: 1.85; }
.accordion-list .traffic-guidance { margin-top: -6px; }
.transit-summary { min-width: 0; display: inline-flex; align-items: center; gap: 9px; }
.transit-summary__label { white-space: nowrap; }
.transit-markers { display: inline-flex; flex: 0 0 auto; gap: 5px; }
.transit-marker { width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; color: #fff; font-family: var(--sans); font-size: 9px; font-style: normal; line-height: 1; }
.transit-marker--3 { background: #ef7c1c; }
.transit-marker--shinbundang { background: #d4003b; }

.notice { background: #33342f; color: #fff; }
.notice__intro { position: relative; height: 470px; margin: 0; overflow: hidden; }
.notice__intro img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 24%; filter: brightness(.66) saturate(.6); transform: scale(var(--photo-zoom, 1)); }
.notice__intro::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,20,18,.08), rgba(20,20,18,.7)); }
.notice__intro figcaption { position: absolute; z-index: 1; left: 26px; right: 26px; bottom: 34px; text-align: center; }
.notice__intro h2 { font-size: 39px; }
.notice__intro figcaption > p:not(.overline) { margin: 12px 0 0; color: rgba(255,255,255,.76); font-size: 13px; font-weight: 300; line-height: 1.9; }
.notice-list { padding: 12px 26px 70px; }
.notice-list article { display: grid; grid-template-columns: 62px 1fr; align-items: start; gap: 16px; padding: 28px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.notice-list article:last-child { border-bottom: 0; }
.notice-list article > span { color: rgba(255,255,255,.4); font-family: var(--serif-display); font-size: 44px; line-height: .8; letter-spacing: -.04em; }
.notice-list article > div { padding-top: 1px; }
.notice-list h3 { margin: 0 0 9px; font-size: 18px; font-weight: 500; line-height: 1.35; }
.notice-list p { margin: 0; color: rgba(255,255,255,.66); font-size: 12px; font-weight: 300; line-height: 1.9; }
.notice-list .notice-list__priority { margin-top: 14px; border: 0; background: transparent; }
.notice-list .notice-list__priority:not(:last-child) { border-bottom: 1px solid rgba(255,255,255,.14); }
.notice-ticket-action { font-weight: 600; text-decoration-line: underline; text-decoration-color: #ebc987; text-decoration-thickness: 1px; text-underline-offset: 5px; text-decoration-skip-ink: auto; }
.notice-ticket-action strong { font-weight: 700; }
.notice-alert { margin-top: 13px !important; border-left: 2px solid #d9b068; padding: 8px 0 8px 11px; background: rgba(217,176,104,.08); color: rgba(255,255,255,.92) !important; font-weight: 400 !important; }
.notice-alert__label { margin-right: 5px; color: #ebc987; font-size: 10px; letter-spacing: .08em; }

.response { position: relative; overflow: hidden; background: #dad5cc; }
.response .solid-button { margin-top: 28px; }
.memory-drop { position: relative; height: 610px; overflow: hidden; color: #fff; background: #6e716f; }
.memory-drop > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; filter: brightness(.7) saturate(.55); transform: scale(var(--photo-zoom, 1)); }
.memory-drop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,20,18,.16), rgba(20,20,18,.7)); }
.memory-drop__content { position: absolute; z-index: 1; left: 28px; right: 28px; bottom: 45px; text-align: center; }
.memory-drop h2 { font-size: 36px; }
.memory-drop p:not(.overline) { margin: 18px 0 25px; color: rgba(255,255,255,.78); font-size: 13px; }

.shared { background: var(--white); }
.shared-grid { display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: 10px; margin: 30px -26px 30px; padding: 0 26px 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; text-align: left; }
.shared-grid::-webkit-scrollbar { display: none; }
.shared-grid :is(article, .shared-card) { position: relative; height: 330px; overflow: hidden; scroll-snap-align: center; background: #ddd; }
.shared-card { width: 100%; border: 0; padding: 0; color: inherit; text-align: left; cursor: zoom-in; }
.shared-card:focus-visible { outline: 2px solid var(--ink); outline-offset: -3px; }
.shared-grid :is(img, video) { width: 100%; height: 100%; object-fit: cover; }
.shared-grid video { background: #1b1b19; pointer-events: none; }
.shared-card__label { position: absolute; right: 9px; bottom: 8px; max-width: calc(100% - 18px); overflow: hidden; padding: 4px 7px; background: rgba(30,30,28,.56); color: #fff; font-size: 8px; letter-spacing: .06em; text-overflow: ellipsis; white-space: nowrap; backdrop-filter: blur(8px); }
.shared-card__play { position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; border: 1px solid rgba(255,255,255,.72); border-radius: 50%; background: rgba(30,30,28,.38); transform: translate(-50%, -50%); backdrop-filter: blur(6px); }
.shared-card__play::after { content: ""; position: absolute; top: 50%; left: 52%; border-block: 8px solid transparent; border-left: 12px solid #fff; transform: translate(-40%, -50%); }
.shared-grid .shared-grid__empty { width: calc(100vw - 52px); max-width: 468px; margin: 0; padding: 44px 18px; border: 1px solid var(--line); color: var(--muted); font-size: 12px; text-align: center; }

.gift { padding: 4px 0 82px; background: var(--paper-deep); }
.account-list { margin-top: 0; }
.account-list summary { display: flex; align-items: center; justify-content: space-between; padding: 21px 4px; font-family: var(--serif); font-size: 17px; }
.account-list details[open] summary span { transform: rotate(45deg); }
.account-row { display: grid; gap: 12px; padding: 17px 4px; border-top: 1px solid rgba(41,41,37,.08); }
.account-row p { display: grid; gap: 3px; margin: 0; }
.account-row small { color: var(--muted); font-size: 10px; }
.account-row strong { font-size: 13px; font-weight: 500; }
.account-row__holder { color: var(--muted); font-size: 10px; }
.account-row div { display: flex; gap: 6px; }
.account-row :is(button, a) { min-height: 36px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); padding: 6px 12px; background: rgba(255,255,255,.5); color: var(--ink); font-size: 11px; text-decoration: none; cursor: pointer; }
.account-row a { border-color: rgba(243, 196, 45, .42); background: rgba(255, 229, 0, .14); }

.guestbook { background: var(--white); }
.message-list { display: grid; gap: 9px; margin: 30px 0 26px; text-align: left; }
.message-list blockquote { margin: 0; padding: 18px; border: 1px solid var(--line); background: #fbfaf7; }
.message-list p { margin: 0 0 7px; font-family: var(--serif); font-size: 16px; }
.message-list cite { color: var(--muted); font-size: 10px; font-style: normal; }
.message-list .message-list__empty { margin: 0; padding: 22px 16px; border: 1px solid var(--line); color: var(--muted); font-family: var(--sans); font-size: 12px; text-align: center; }

.ending { position: relative; height: 720px; overflow: hidden; color: #fff; background: #777; }
.ending img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 14%; filter: brightness(.72) saturate(.78); transform: scale(var(--photo-zoom, 1)); }
.ending::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,20,18,.02), rgba(20,20,18,.65)); }
.ending__content { position: absolute; z-index: 1; left: 24px; right: 24px; bottom: 105px; text-align: center; }
.ending h2 { font-size: 30px; }
.ending__content > p:not(.overline) { margin: 18px 0 25px; font-size: 12px; }

.cloudflare-credit { padding: 25px 20px calc(86px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255,255,255,.08); background: #191a18; color: rgba(255,255,255,.82); text-align: center; }
.cloudflare-credit__button { width: 100%; min-height: 122px; display: grid; justify-items: center; align-content: center; gap: 9px; border: 0; padding: 12px; background: transparent; color: inherit; cursor: pointer; }
.cloudflare-credit__button img { width: 148px; height: auto; }
.cloudflare-credit__button > span { font-size: 10px; line-height: 1.8; letter-spacing: -.01em; }
.cloudflare-credit__button small { color: rgba(255,255,255,.52); font-size: 8px; letter-spacing: .08em; }
.cloudflare-credit__button:focus-visible { outline: 1px solid #f6821f; outline-offset: 3px; }

.quick-nav { position: fixed; z-index: 50; left: 50%; bottom: 0; width: min(100%, 520px); display: grid; grid-template-columns: repeat(3, 1fr); padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid rgba(41,41,37,.12); background: rgba(255,253,249,.92); transform: translateX(-50%); backdrop-filter: blur(18px); }
.quick-nav.is-contact-hidden { grid-template-columns: repeat(2, 1fr); }
.quick-nav a, .quick-nav button { min-height: 58px; display: grid; place-items: center; align-content: center; gap: 1px; border: 0; border-right: 1px solid rgba(41,41,37,.09); background: transparent; font-size: 12px; cursor: pointer; }
.quick-nav > :last-child { border-right: 0; }
.quick-nav span { color: var(--muted); font-family: var(--serif); font-size: 8px; letter-spacing: .14em; }

.modal, .lightbox { width: min(440px, calc(100% - 28px)); max-height: calc(100svh - 36px); margin: auto; border: 0; padding: 34px 24px 26px; overflow: auto; background: var(--white); color: var(--ink); box-shadow: 0 24px 90px rgba(20,19,17,.34); }
.modal::backdrop, .lightbox::backdrop { background: rgba(29,28,25,.66); backdrop-filter: blur(5px); }
.modal h2 { padding-right: 22px; font-size: 30px; }
.modal__close, .lightbox__close { position: relative; width: 44px; height: 44px; display: inline-grid; flex: 0 0 44px; place-items: center; margin: 0; padding: 0; overflow: visible; font-size: 0; line-height: 0; appearance: none; -webkit-appearance: none; touch-action: manipulation; user-select: none; }
.modal__close::before, .modal__close::after, .lightbox__close::before, .lightbox__close::after { content: ""; position: absolute; top: 50%; left: 50%; width: 17px; height: 1.5px; border-radius: 999px; background: currentColor; transform-origin: 50% 50%; }
.modal__close::before, .lightbox__close::before { transform: translate(-50%, -50%) rotate(45deg); }
.modal__close::after, .lightbox__close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.modal__close { position: absolute; top: 8px; right: 8px; border: 0; border-radius: 0; background: transparent; color: var(--ink); cursor: pointer; }
.modal__close:focus-visible { outline: 0; background: transparent; box-shadow: none; color: var(--accent); }
.modal__copy { color: var(--muted); font-size: 12px; }
.cloudflare-architecture { width: min(480px, calc(100% - 20px)); padding: 35px 22px calc(26px + env(safe-area-inset-bottom)); }
.cloudflare-architecture h2 { font-size: 27px; line-height: 1.28; }
.cloudflare-architecture .modal__copy { max-width: 390px; margin: 12px 0 0; line-height: 1.8; }
.cloudflare-diagram { display: grid; justify-items: center; gap: 8px; margin-top: 23px; border: 1px solid #ddd8ce; padding: 16px 12px; background: #f7f4ee; text-align: center; }
.cloudflare-diagram__node { min-width: 112px; display: grid; gap: 3px; border: 1px solid #d8d1c5; padding: 9px 10px; background: #fff; }
.cloudflare-diagram__node strong { font-size: 10px; font-weight: 650; }
.cloudflare-diagram__node span { color: var(--muted); font-size: 8px; line-height: 1.45; }
.cloudflare-diagram__node--user { background: #eeeae2; }
.cloudflare-diagram__node--worker { border-color: rgba(246,130,31,.66); box-shadow: inset 3px 0 #f6821f; }
.cloudflare-diagram__arrow { width: 1px; height: 13px; background: #bdb6aa; }
.cloudflare-diagram__branch, .cloudflare-diagram__delivery { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.cloudflare-diagram__branch .cloudflare-diagram__node { min-width: 0; padding-inline: 5px; }
.cloudflare-diagram__delivery span { min-height: 42px; display: grid; place-items: center; border: 1px dashed #cbc4b8; padding: 6px 4px; background: rgba(255,255,255,.58); color: #55524c; font-size: 8px; line-height: 1.4; }
.cloudflare-diagram > p { max-width: 350px; margin: 5px 0 0; color: var(--muted); font-size: 8px; line-height: 1.65; }
.cloudflare-products { display: grid; gap: 0; margin-top: 22px; border-top: 1px solid var(--line); }
.cloudflare-product { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 5px 12px; padding: 15px 2px; border-bottom: 1px solid var(--line); }
.cloudflare-product > strong { font-family: var(--sans); font-size: 11px; font-weight: 650; }
.cloudflare-product p { grid-column: 1; margin: 0; color: var(--muted); font-size: 9px; line-height: 1.6; }
.cloudflare-product > a, .cloudflare-product__links { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.cloudflare-product a { min-height: 36px; display: inline-flex; align-items: center; color: #b45000; font-size: 8px; font-weight: 600; text-decoration: none; }
.cloudflare-product__links { display: flex; gap: 10px; }
.cloudflare-architecture__note { margin: 18px 0 0; color: var(--muted); font-size: 8px; line-height: 1.7; text-align: center; }
.cloudflare-architecture__home { min-height: 44px; display: flex; align-items: center; justify-content: center; margin-top: 11px; border: 1px solid var(--ink); color: var(--ink); font-size: 10px; font-weight: 600; text-decoration: none; }
.bgm-welcome { position: fixed; top: auto; right: max(10px, env(safe-area-inset-right)); bottom: max(10px, env(safe-area-inset-bottom)); left: max(10px, env(safe-area-inset-left)); width: min(400px, calc(100% - 20px)); max-height: none; margin: 0 auto; border-radius: 16px; overflow: hidden; padding: 20px 18px 14px; text-align: left; }
.bgm-welcome .overline { margin-bottom: 5px; font-size: 8px; }
.bgm-welcome h2 { padding-right: 0; font-size: 22px; line-height: 1.35; }
.bgm-welcome .modal__copy { max-width: none; margin: 6px 0 0; font-size: 10px; line-height: 1.65; }
.bgm-welcome__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 15px; }
.bgm-welcome__actions :is(button) { width: 100%; min-height: 44px; padding-inline: 7px; font-size: 10px; }
.bgm-welcome__status { min-height: 15px; margin: 8px 0 0; color: var(--accent); font-size: 9px; line-height: 1.5; text-align: center; }
.bgm-welcome__status:empty { display: none; }
.calendar-options { display: grid; gap: 9px; margin-top: 24px; }
.calendar-option { min-height: 48px; display: grid; place-items: center; border: 1px solid var(--ink); padding: 11px 18px; color: var(--ink); font-size: 12px; text-align: center; text-decoration: none; }
.calendar-option--primary { background: var(--ink); color: var(--white); }
.calendar-note { margin: 14px 0 0; color: var(--muted); font-size: 10px; line-height: 1.7; text-align: center; }
.share-options { display: grid; gap: 9px; margin-top: 24px; }
.share-option { width: 100%; min-height: 62px; display: grid; align-content: center; gap: 3px; border: 1px solid var(--line); border-radius: 0; padding: 11px 15px; background: var(--paper); color: var(--ink); text-align: left; text-decoration: none; cursor: pointer; }
.share-option[hidden] { display: none; }
.share-option strong { font-family: var(--sans); font-size: 12px; font-weight: 600; }
.share-option span { color: var(--muted); font-size: 9px; line-height: 1.55; }
.share-option--kakao { border-color: #fee500; background: #fee500; color: #191919; }
.share-option--kakao span { color: rgba(25, 25, 25, .68); }
.share-status { min-height: 17px; margin: 12px 0 0; color: var(--muted); font-size: 10px; line-height: 1.6; text-align: center; }
.contact-list { display: grid; gap: 10px; margin-top: 24px; }
.contact-group { display: grid; gap: 8px; }
.contact-group + .contact-group { margin-top: 12px; }
.contact-group h3 { display: flex; align-items: baseline; gap: 8px; margin: 0 0 3px; font-family: var(--serif); font-size: 15px; font-weight: 500; }
.contact-group h3 span { color: var(--accent); font-family: var(--serif-display); font-size: 10px; font-style: italic; letter-spacing: .1em; }
.contact-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 15px; border: 1px solid var(--line); }
.contact-row__actions { display: flex; flex: 0 0 auto; gap: 6px; }
.contact-list p { display: grid; min-width: 0; margin: 0; }
.contact-list small { color: var(--muted); font-size: 9px; letter-spacing: .12em; }
.contact-list strong { font-family: var(--serif); font-size: 17px; font-weight: 400; }
.contact-list span { color: var(--muted); font-size: 11px; }
.contact-row__actions a { min-width: 42px; min-height: 36px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); padding: 7px 9px; background: var(--paper); font-size: 10px; }
.saved-rsvps { margin-top: 18px; border-block: 1px solid var(--line); padding: 13px 0; text-align: left; }
.saved-rsvps__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.saved-rsvps__head h3 { margin: 0; font-size: 12px; font-weight: 500; }
.saved-rsvps__head .text-button { padding-block: 2px; font-size: 10px; }
.saved-rsvps__list { display: grid; gap: 6px; margin-top: 9px; }
.saved-rsvp { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid var(--line); padding: 9px 10px; background: transparent; text-align: left; cursor: pointer; }
.saved-rsvp strong { font-size: 12px; font-weight: 600; }
.saved-rsvp span { color: var(--muted); font-size: 9px; }
.saved-rsvp[aria-pressed="true"] { border-color: var(--accent); background: var(--paper); }
.mock-form { display: grid; gap: 16px; margin-top: 24px; }
.mock-form label { display: grid; gap: 7px; font-size: 12px; }
.mock-form input:not([type="radio"]):not([type="checkbox"]), .mock-form select, .mock-form textarea { width: 100%; min-height: 46px; border: 1px solid var(--line); border-radius: 0; padding: 10px 11px; background: #faf8f3; color: var(--ink); outline: 0; }
.mock-form input:focus, .mock-form select:focus, .mock-form textarea:focus { border-color: var(--ink); }
.mock-form fieldset { display: flex; flex-wrap: wrap; gap: 12px; border: 0; padding: 0; margin: 0; }
.mock-form legend { width: 100%; margin-bottom: 6px; font-size: 12px; }
.mock-form fieldset label { display: flex; align-items: center; gap: 5px; }
.mock-form .consent-field { grid-template-columns: auto 1fr; align-items: start; gap: 8px; color: var(--muted); font-size: 10px; line-height: 1.65; }
.consent-field input { width: 16px; height: 16px; margin: 1px 0 0; accent-color: var(--accent); }
.form-status { min-height: 18px; margin: -4px 0 0; color: var(--accent); font-size: 11px; line-height: 1.6; }
.file-drop { place-items: center; min-height: 130px; padding: 20px; border: 1px dashed var(--accent); background: var(--paper); text-align: center; cursor: pointer; }
.file-drop input { max-width: 220px; min-height: 0 !important; border: 0 !important; padding: 0 !important; background: transparent !important; font-size: 11px; }
.file-drop span { color: var(--muted); font-size: 10px; }
.upload-preview { position: relative; height: 190px; overflow: hidden; background: #ddd; }
.upload-preview :is(img, video) { width: 100%; height: 100%; object-fit: contain; }
.upload-preview video { background: #1b1b19; }
.upload-preview span { position: absolute; right: 8px; bottom: 8px; padding: 4px 7px; background: rgba(30,30,28,.58); color: #fff; font-size: 9px; }
.lightbox { width: min(94vw, 760px); height: min(calc(100svh - 36px), 900px); padding: 0; overflow: hidden; background: transparent; color: #fff; box-shadow: none; }
.lightbox::backdrop { background: rgba(58,59,56,.96); backdrop-filter: blur(3px); }
.lightbox__stage { position: relative; width: 100%; height: 100%; min-width: 0; min-height: 0; overflow: hidden; touch-action: pan-y pinch-zoom; }
.lightbox__stage :is(img, video, iframe) { position: absolute; inset: 0; width: 100%; height: 100%; max-width: 100%; max-height: 100%; border: 0; object-fit: contain; }
.lightbox img { user-select: none; -webkit-user-drag: none; }
.lightbox video { background: #20211f; }
.lightbox__close { position: fixed; z-index: 3; top: max(16px, env(safe-area-inset-top)); right: max(16px, env(safe-area-inset-right)); border: 1px solid rgba(255,255,255,.42); border-radius: 50%; background: rgba(58,59,56,.58); color: #fff; cursor: pointer; backdrop-filter: blur(6px); }
.lightbox__nav { position: fixed; z-index: 3; top: 50%; width: 44px; height: 64px; display: grid; place-items: center; border: 0; padding: 0; background: transparent; color: #fff; opacity: .28; transform: translateY(-50%); cursor: pointer; transition: opacity .18s ease; }
.lightbox__nav::before { content: ""; width: 11px; height: 11px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; }
.lightbox__nav--prev { left: max(5px, env(safe-area-inset-left)); }
.lightbox__nav--prev::before { transform: rotate(135deg); }
.lightbox__nav--next { right: max(5px, env(safe-area-inset-right)); }
.lightbox__nav--next::before { transform: rotate(-45deg); }
.lightbox__nav:focus-visible, .lightbox__nav:active { opacity: .84; }
.lightbox__close:focus-visible { outline: 0; box-shadow: 0 0 0 2px #fff; }
.lightbox__nav:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.toast { position: fixed; z-index: 200; left: 50%; bottom: calc(78px + env(safe-area-inset-bottom)); width: min(390px, calc(100% - 40px)); padding: 12px 15px; background: rgba(35,34,31,.92); color: #fff; font-size: 12px; text-align: center; transform: translateX(-50%); box-shadow: 0 12px 34px rgba(0,0,0,.22); }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes cover-photo-arrival { from { opacity: 0; transform: scale(calc(var(--photo-zoom, 1) + .055)); } 58% { opacity: 1; } to { opacity: 1; transform: scale(var(--photo-zoom, 1)); } }
@keyframes bgm-tooltip-arrival { from { opacity: 0; transform: translateY(-6px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes scroll-line { 0%,100% { transform: scaleY(.35); opacity: .45; } 50% { transform: scaleY(1); opacity: 1; } }
@keyframes photo-shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }

@media (max-width: 370px) {
  .section { padding-inline: 20px; }
  .cover__content { left: 20px; right: 20px; }
  .photo-grid { padding-inline: 6px; }
  .map-panel, .map-actions { margin-inline: 10px; }
  .accordion-list, .account-list { margin-inline: 18px; }
  .cloudflare-architecture { width: calc(100% - 12px); padding-inline: 17px; }
  .cloudflare-diagram { padding-inline: 8px; }
  .cloudflare-diagram__node strong { font-size: 9px; }
  .cloudflare-product { grid-template-columns: 1fr; }
  .cloudflare-product > a, .cloudflare-product__links { grid-column: 1; grid-row: auto; min-height: 32px; }
}

@media (max-width: 430px) {
  .cloudflare-architecture { position: fixed; top: auto; right: 6px; bottom: 0; left: 6px; width: auto; max-height: 88svh; margin: 0; border-radius: 18px 18px 0 0; }
}

@media (hover: hover) {
  .lightbox__nav:hover { opacity: .84; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
