  @font-face {
    font-family: 'Dulcinea';
    src: url('/static/fonts/Dulcinea.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
  }

  :root {
    --paper: #f4f4f4;
    --white: #fff;
    --ink: #333;
    --muted: #777;
    --line: #e4e4e4;
    --button: #444;
    --button-soft: #777;
    --leading-copy: 1.72;
    --leading-ui: 1.45;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }

  html { scroll-behavior: auto; }

  body {
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    background: #d7d7d7;
    color: var(--ink);
    font-family: 'Noto Sans KR', sans-serif;
    display: flex;
    justify-content: center;
  }

  body.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
  }

  #wrap {
    width: 100%;
    max-width: 800px;
    min-height: 100vh;
    min-height: 100svh;
    background: var(--white);
  }

  main {
    width: 100%;
    scroll-behavior: auto;
  }

  section {
    scroll-snap-align: none;
  }

  body.reveal-ready main > section:not(.cover-page) {
    opacity: 0;
    transform: translateY(34px) scale(.985);
    filter: blur(8px);
    transition:
      opacity .78s cubic-bezier(.22, 1, .36, 1),
      transform .88s cubic-bezier(.22, 1, .36, 1),
      filter .78s cubic-bezier(.22, 1, .36, 1);
    will-change: opacity, transform, filter;
  }

  body.reveal-ready main > section.section-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }

  body.reveal-ready main > section:not(.cover-page) .title-band,
  body.reveal-ready main > section:not(.cover-page) .greeting-body,
  body.reveal-ready main > section:not(.cover-page) .couple-card,
  body.reveal-ready main > section:not(.cover-page) .calendar-card,
  body.reveal-ready main > section:not(.cover-page) .history-item,
  body.reveal-ready main > section:not(.cover-page) .count-bottom,
  body.reveal-ready main > section:not(.cover-page) .gallery-viewer,
  body.reveal-ready main > section:not(.cover-page) .location-box,
  body.reveal-ready main > section:not(.cover-page) .button-row,
  body.reveal-ready main > section:not(.cover-page) .gift-message,
  body.reveal-ready main > section:not(.cover-page) .account-list,
  body.reveal-ready main > section:not(.cover-page) .time-circle {
    opacity: 0;
    transform: translateY(20px);
    transition:
      opacity .72s cubic-bezier(.22, 1, .36, 1),
      transform .82s cubic-bezier(.22, 1, .36, 1);
    transition-delay: var(--reveal-delay, 80ms);
  }

  body.reveal-ready main > section.section-visible .title-band,
  body.reveal-ready main > section.section-visible .greeting-body,
  body.reveal-ready main > section.section-visible .couple-card,
  body.reveal-ready main > section.section-visible .calendar-card,
  body.reveal-ready main > section.section-visible .history-item,
  body.reveal-ready main > section.section-visible .count-bottom,
  body.reveal-ready main > section.section-visible .gallery-viewer,
  body.reveal-ready main > section.section-visible .location-box,
  body.reveal-ready main > section.section-visible .button-row,
  body.reveal-ready main > section.section-visible .gift-message,
  body.reveal-ready main > section.section-visible .account-list,
  body.reveal-ready main > section.section-visible .time-circle {
    opacity: 1;
    transform: translateY(0);
  }

  body.reveal-ready .couple-card:nth-child(2),
  body.reveal-ready .history-item:nth-child(3),
  body.reveal-ready .button-row {
    --reveal-delay: 160ms;
  }

  body.reveal-ready .history-item:nth-child(4),
  body.reveal-ready .count-bottom {
    --reveal-delay: 240ms;
  }

  @media (prefers-reduced-motion: reduce) {
    body.reveal-ready main > section:not(.cover-page),
    body.reveal-ready main > section:not(.cover-page) .title-band,
    body.reveal-ready main > section:not(.cover-page) .greeting-body,
    body.reveal-ready main > section:not(.cover-page) .couple-card,
    body.reveal-ready main > section:not(.cover-page) .calendar-card,
    body.reveal-ready main > section:not(.cover-page) .history-item,
    body.reveal-ready main > section:not(.cover-page) .count-bottom,
    body.reveal-ready main > section:not(.cover-page) .gallery-viewer,
    body.reveal-ready main > section:not(.cover-page) .location-box,
    body.reveal-ready main > section:not(.cover-page) .button-row,
    body.reveal-ready main > section:not(.cover-page) .gift-message,
    body.reveal-ready main > section:not(.cover-page) .account-list,
    body.reveal-ready main > section:not(.cover-page) .time-circle {
      opacity: 1;
      transform: none;
      filter: none;
      transition: none;
    }
  }

  .cover-page {
    height: auto;
    display: block;
    overflow: hidden;
    overscroll-behavior: auto;
  }

  .cover-page {
    display: flex;
    flex-direction: column;
    background: var(--white);
    overflow: hidden;
  }

  .cover {
    position: relative;
    width: 100%;
    flex: 0 0 auto;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #fff;
  }

  .floating-actions {
    position: fixed;
    z-index: 12;
    right: max(14px, calc((100vw - 800px) / 2 + 18px));
    bottom: 18px;
    display: grid;
    justify-items: end;
    gap: 9px;
  }

  .bgm-toggle {
    position: fixed;
    z-index: 13;
    top: max(14px, env(safe-area-inset-top));
    right: max(14px, calc((100vw - 800px) / 2 + 18px));
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(255,255,255,.5);
    border-radius: 50%;
    background: rgba(42,42,42,.58);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(0,0,0,.16);
    backdrop-filter: blur(12px);
    transition: transform .18s ease, background .18s ease, border-color .18s ease;
  }

  .bgm-toggle:hover,
  .bgm-toggle:focus-visible {
    background: rgba(42,42,42,.82);
    border-color: rgba(255,255,255,.72);
    transform: translateY(-1px);
    outline: none;
  }

  .bgm-icon {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .bgm-icon-paused,
  .bgm-toggle.is-paused .bgm-icon-playing {
    display: none;
  }

  .bgm-toggle.is-paused .bgm-icon-paused {
    display: block;
  }

  .rsvp-open,
  .share-open,
  .scroll-top {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    height: 44px;
    padding: 0 16px;
    border: 1px solid rgba(255,255,255,.46);
    border-radius: 999px;
    background: rgba(42,42,42,.72);
    color: #fff;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 13px;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(0,0,0,.18);
    backdrop-filter: blur(12px);
    transition: opacity .22s ease, transform .22s ease, border-color .18s ease, background .18s ease;
  }

  .share-open,
  .scroll-top {
    width: 44px;
    padding: 0;
  }

  .share-open .icon,
  .scroll-top .icon {
    width: 20px;
    height: 20px;
  }

  .rsvp-open.hidden,
  .share-open.hidden,
  .scroll-top.hidden {
    opacity: 0;
    transform: translateY(8px) scale(.98);
    pointer-events: none;
  }

  .rsvp-open:hover,
  .rsvp-open:focus-visible,
  .share-open:hover,
  .share-open:focus-visible,
  .scroll-top:hover,
  .scroll-top:focus-visible {
    background: rgba(42,42,42,.9);
    border-color: rgba(255,255,255,.66);
    transform: translateY(-1px);
    outline: none;
  }

  .cover img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(.88) contrast(.96);
    transform: scale(1.1) translateX(-3%);
  }

  .cover::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 1;
    background:
      linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 78%, rgba(255,255,255,.62) 93%, rgba(255,255,255,.96) 100%);
  }

  .cover::before {
    content: none;
  }

  .cover-script {
    position: absolute;
    z-index: 2;
    left: 0;
    right: auto;
    top: 7.2%;
    width: 100%;
    color: #fff;
    font-family: 'Dulcinea', 'Nanum Brush Script', cursive;
    font-size: clamp(36px, calc(9vw + 2px), 72px);
    line-height: 1.45;
    letter-spacing: .018em;
    text-align: center;
    text-shadow:
      0 2px 3px rgba(0,0,0,.62),
      0 4px 14px rgba(0,0,0,.48),
      0 0 1px rgba(0,0,0,.52);
    transform: rotate(-1deg);
  }

  .cover-script .line-1 {
    display: block;
    padding: .22em 2% .36em;
    white-space: nowrap;
  }

  .cover-script .ch {
    display: inline-block;
    opacity: 0;
    transform: translateY(.12em) scale(.92);
    animation: writeChar .34s ease forwards;
    animation-delay: calc(.26s + var(--i) * .105s);
  }

  .cover-script .gap {
    display: inline-block;
    width: .22em;
  }

  @keyframes writeChar {
    0% {
      opacity: 0;
      filter: blur(2px);
      clip-path: inset(0 100% 0 0);
      transform: translateY(.12em) scale(.92);
    }
    100% {
      opacity: 1;
      filter: blur(0);
      clip-path: inset(0 0 0 0);
      transform: translateY(0) scale(1);
    }
  }

  .cover-copy {
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    top: auto;
    bottom: clamp(18px, 4.6vw, 36px);
    color: #2f2f2f;
    text-align: center;
    font-family: 'Nanum Myeongjo', serif;
    text-shadow: 0 1px 10px rgba(255,255,255,.62);
    padding-top: 0;
  }

  .cover-names {
    display: grid;
    grid-template-columns: 1fr 90px 1fr;
    align-items: center;
    width: 100%;
    padding: 0;
    margin-bottom: 0;
    font-size: clamp(24px, 6.25vw, 50px);
    letter-spacing: .14em;
    line-height: 1.4;
    font-weight: 700;
  }

  .cover-name {
    min-width: 0;
    white-space: nowrap;
  }

  .cover-name:first-child { text-align: right; }
  .cover-name:last-child { text-align: left; }

  .cover-mark {
    font-family: 'Cinzel', serif;
    font-size: .55em;
    letter-spacing: 0;
    opacity: .9;
    text-align: center;
  }

  .cover-date,
  .cover-place {
    font-size: clamp(15px, 3.75vw, 30px);
    letter-spacing: .03em;
    line-height: 1.56;
    font-weight: 700;
  }

  .cover-place { margin-top: .28em; }

  .cover-detail {
    background: var(--white);
    padding: clamp(4px, 1.2svh, 10px) 6%;
    color: #333;
    text-align: center;
    font-family: 'Nanum Myeongjo', serif;
  }

  .cover-detail .cover-date,
  .cover-detail .cover-place {
    font-size: clamp(16px, 4vw, 32px);
    letter-spacing: .04em;
  }

  section {
    position: relative;
    padding: 0;
    background: var(--paper);
    text-align: center;
    font-family: 'Nanum Myeongjo', serif;
  }

  .title-band {
    padding: clamp(28px, 7vw, 56px) 0 clamp(4px, 1vw, 7px);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: clamp(7px, 1.8vw, 10px);
  }

  .title-band::before {
    content: '♥  ♥';
    width: auto;
    height: auto;
    background: none;
    color: #ebb1bf;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: clamp(18px, 4.7vw, 38px);
    letter-spacing: .1em;
    line-height: 1;
    transform: rotate(-16deg);
  }

  .title-band::after {
    content: '';
    width: min(42vw, 210px);
    height: 1px;
    background: linear-gradient(90deg, transparent, #cfcfcf, transparent);
  }

  .title-en {
    font-family: 'Cinzel', serif;
    color: #555;
    font-size: clamp(18px, 4.5vw, 36px);
    letter-spacing: .11em;
    font-weight: 400;
    line-height: 1;
  }

  .title-kr {
    color: #8b8b8b;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: clamp(11px, 2.55vw, 20px);
    font-weight: 300;
    letter-spacing: .42em;
    text-indent: .42em;
  }

  .greeting {
    position: relative;
    height: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    background: #fbfaf7;
    padding: clamp(46px, 9svh, 76px) 0;
    overflow: visible;
  }

  .greeting::before,
  .greeting::after,
  .count::before,
  .count::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 22px;
    pointer-events: none;
    z-index: 0;
  }

  .greeting::before,
  .count::before {
    top: 0;
    background: linear-gradient(180deg, #fff 0%, rgba(251,250,247,0) 100%);
  }

  .greeting::after,
  .count::after {
    bottom: 0;
    background: linear-gradient(180deg, rgba(251,250,247,0) 0%, #fff 100%);
  }

  .greeting-body {
    position: relative;
    z-index: 1;
    padding: 0 7.5%;
    color: #333;
    font-size: clamp(14px, 3.7vw, 29px);
    line-height: var(--leading-copy);
    letter-spacing: .01em;
    font-weight: 400;
    flex: 0 0 auto;
  }

  .poem-credit {
    display: block;
    margin-top: 0.5em;
    line-height: var(--leading-copy);
  }

  .poem-gap {
    display: block;
    height: 1.5em;
  }

  .host-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(7px, 1.8vw, 13px);
  }

  .host-action {
    width: clamp(31px, 8.15vw, 53px);
    height: clamp(31px, 8.15vw, 53px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(80,74,68,.13);
    border-radius: 999px;
    background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(244,241,237,.72));
    color: #716861;
    text-decoration: none;
    box-shadow:
      0 7px 16px rgba(63,55,48,.055),
      inset 0 1px 0 rgba(255,255,255,.95);
    transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
  }

  .host-action:hover,
  .host-action:focus-visible {
    background: rgba(255,255,255,.9);
    border-color: rgba(80,74,68,.34);
    box-shadow: 0 12px 24px rgba(0,0,0,.08);
    transform: translateY(-1px);
    outline: none;
  }

  .host-action .icon {
    width: clamp(15px, 4vw, 26px);
    height: clamp(15px, 4vw, 26px);
    color: currentColor;
    stroke-width: 1.7;
  }

  .parent-open {
    align-self: center;
    margin-top: clamp(16px, 3svh, 26px);
    min-height: 48px;
    padding: 0 24px;
    border: 1px solid rgba(80,74,68,.24);
    border-radius: 999px;
    background: rgba(255,255,255,.62);
    color: #444;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: clamp(12px, 3vw, 20px);
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(0,0,0,.065);
    backdrop-filter: blur(10px);
    transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
  }

  .parent-open:hover,
  .parent-open:focus-visible {
    background: rgba(255,255,255,.92);
    border-color: rgba(80,74,68,.42);
    box-shadow: 0 16px 34px rgba(0,0,0,.09);
    transform: translateY(-1px);
    outline: none;
  }

  .couple-intro,
  .calendar-section,
  .together-time {
    height: auto;
    min-height: 0;
    overflow: visible;
    background: var(--white);
    display: flex;
    flex-direction: column;
    padding-bottom: clamp(36px, 8svh, 68px);
  }

  .couple-grid {
    width: min(88%, 620px);
    margin: clamp(36px, 7svh, 64px) auto 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(15px, 3vw, 24px);
  }

  .couple-card {
    min-width: 0;
    text-align: center;
  }

  .couple-family-line {
    display: grid;
    grid-template-columns: 7.75em .8em 2.2em 4.55em;
    justify-content: center;
    align-items: baseline;
    column-gap: .08em;
    color: #333;
    font-family: 'Nanum Myeongjo', serif;
    font-size: clamp(14px, 3.65vw, 25px);
    line-height: 1.7;
    letter-spacing: .025em;
    word-break: keep-all;
  }

  .couple-parents i {
    padding: 0 .18em;
    color: #aaa;
    font-style: normal;
  }

  .couple-of,
  .couple-child {
    color: #777;
    font-size: .9em;
  }

  .couple-parents {
    text-align: left;
  }

  .couple-of,
  .couple-child {
    text-align: center;
  }

  .couple-family-line strong {
    padding-left: .55em;
    font-size: 1.18em;
    font-weight: 700;
    letter-spacing: .1em;
    text-align: left;
    white-space: nowrap;
  }

  .calendar-card {
    width: 100%;
    margin: clamp(18px, 4svh, 34px) auto 0;
    padding: clamp(22px, 5vw, 38px) 0;
    border: 1px solid #e5dfd8;
    border-left: 0;
    border-right: 0;
    background: #fbfaf7;
  }

  .calendar-month {
    width: calc(86% - clamp(44px, 10vw, 76px));
    margin-left: auto;
    margin-right: auto;
    font-family: 'Cinzel', serif;
    font-size: clamp(24px, 6vw, 46px);
    letter-spacing: .08em;
    margin-bottom: clamp(22px, 5vw, 36px);
  }

  .calendar-week,
  .calendar-days {
    width: calc(86% - clamp(44px, 10vw, 76px));
    margin-left: auto;
    margin-right: auto;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    align-items: center;
  }

  .calendar-week {
    color: #aaa;
    font-family: 'Cinzel', serif;
    font-size: clamp(9px, 2.2vw, 16px);
    letter-spacing: .05em;
    padding-bottom: 12px;
    border-bottom: 1px solid #e6e0da;
  }

  .calendar-days {
    row-gap: clamp(9px, 2.3vw, 18px);
    padding-top: clamp(16px, 3.8vw, 28px);
    font-family: 'Cinzel', serif;
    font-size: clamp(15px, 3.8vw, 28px);
  }

  .calendar-days span,
  .calendar-days strong,
  .calendar-days i {
    display: grid;
    place-items: center;
    aspect-ratio: 1;
    font-style: normal;
    font-weight: 400;
  }

  .calendar-days strong {
    border-radius: 50%;
    background: #dd8b61;
    color: #fff;
  }

  .call {
    min-height: 100vh;
    background: var(--white);
    padding: clamp(24px, 7vw, 56px) 7.5%;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    display: flex;
    flex-direction: column;
  }

  .call-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .call-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid var(--line);
    padding: 18px 10px;
    color: #555;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: clamp(13px, 3.25vw, 24px);
    text-decoration: none;
    background: #fafafa;
  }

  .icon {
    display: inline-block;
    width: 22px;
    height: 22px;
    stroke: currentColor;
    stroke-width: 1.55;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    flex: 0 0 auto;
  }

  .call-card .icon {
    color: #999;
    width: 25px;
    height: 25px;
    margin-bottom: 2px;
  }

  .call-card strong {
    display: block;
    color: #333;
    font-family: 'Nanum Myeongjo', serif;
    font-size: 1.18em;
    font-weight: 400;
    letter-spacing: .18em;
    text-indent: .18em;
  }

  .count {
    position: relative;
    height: auto;
    min-height: 0;
    overflow: visible;
    padding: 0 5.5% clamp(28px, 6svh, 48px);
    background: #fbfaf7;
    color: #333;
    display: flex;
    flex-direction: column;
  }

  .count .title-band {
    margin: 0 -5.5%;
    flex: 0 0 auto;
    background: transparent;
    position: relative;
    z-index: 1;
  }

  .history {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    min-height: auto;
    display: grid;
    grid-auto-rows: max-content;
    align-content: start;
    row-gap: clamp(8px, 1.8svh, 16px);
    padding-top: clamp(3px, .5svh, 5px);
    padding-bottom: clamp(16px, 3.5svh, 32px);
  }

  .history-line {
    position: absolute;
    top: clamp(38px, 7svh, 58px);
    bottom: clamp(8px, 1.6svh, 16px);
    left: 50%;
    width: 1px;
    background: #ddd8d4;
    transform: translateX(-50%);
  }

  .history-item {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 22px minmax(0, 1fr);
    align-items: center;
    column-gap: clamp(8px, 2vw, 18px);
  }

  .history-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    justify-self: center;
    align-self: start;
    margin-top: calc((min(38vw, 200px) - 8px) / 2);
    background: #dd8b61;
  }

  .history-media {
    display: grid;
    justify-items: center;
    gap: clamp(4px, .8svh, 8px);
  }

  .history-photo {
    width: min(38vw, 200px);
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: clamp(12px, 3vw, 22px);
    background: #eee;
    justify-self: center;
  }

  .history-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(.88) contrast(.95);
  }

  .history-img-5th {
    object-position: center 20%;
  }

  .history-img-wedding {
    object-position: center 20%;
  }

  .history-text {
    display: grid;
    gap: clamp(4px, .8svh, 8px);
    align-self: start;
    margin-top: calc(min(38vw, 200px) / 2);
    transform: translateY(-50%);
    text-align: center;
    font-family: 'Noto Sans KR', sans-serif;
  }

  .history-title {
    color: #333;
    font-family: 'Cinzel', 'Noto Sans KR', serif;
    font-size: clamp(13px, 3.3vw, 24px);
    font-weight: 400;
    line-height: 1.25;
  }

  .history-year {
    color: #aaa;
    font-family: 'Nanum Myeongjo', serif;
    font-size: clamp(13px, 3.35vw, 24px);
    line-height: 1;
  }

  .image-left .history-media { grid-column: 1; }
  .image-left .history-dot { grid-column: 2; }
  .image-left .history-text { grid-column: 3; }
  .image-right .history-text { grid-column: 1; }
  .image-right .history-dot { grid-column: 2; }
  .image-right .history-media { grid-column: 3; }

  .count-bottom {
    flex: 0 0 auto;
    margin-top: 0;
    padding-top: clamp(10px, 2svh, 18px);
  }

  .count-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(13px, 3.3vw, 24px);
    letter-spacing: .12em;
    margin-bottom: clamp(5px, .9svh, 10px);
  }

  .count-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: transparent;
    border: 0;
  }

  .count-cell {
    background: #fbfaf7;
    padding: clamp(4px, 1svh, 10px) 4px;
  }

  .count-num {
    font-family: 'Cinzel', serif;
    font-size: clamp(16px, 4.2vw, 30px);
    line-height: 1;
  }

  .count-unit {
    margin-top: 5px;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: clamp(9px, 2.2vw, 16px);
    color: #999;
  }

  .gallery {
    background: var(--white);
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
    overflow: visible;
    padding-bottom: clamp(28px, 6svh, 48px);
  }

  .gallery-viewer {
    width: 100%;
    margin-top: clamp(6px, 1.2svh, 10px);
    padding: 0 clamp(10px, 3vw, 24px);
  }

  .gallery-preview {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    padding: 0;
    border: 0;
    border-radius: clamp(18px, 4vw, 28px);
    background: #f1f0ee;
    cursor: grab;
    box-shadow: 0 18px 46px rgba(0,0,0,.1);
    touch-action: pan-y;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
  }

  .gallery-preview.is-dragging {
    cursor: grabbing;
  }

  .gallery-preview img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
    transition: opacity .2s ease;
  }

  .gallery-preview-count {
    position: absolute;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(30,30,30,.62);
    color: #fff;
    font-size: clamp(11px, 2.6vw, 14px);
    line-height: 1;
    backdrop-filter: blur(8px);
  }

  .gallery-strip-wrap {
    position: relative;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    align-items: center;
    gap: clamp(5px, 1.4vw, 10px);
    margin-top: clamp(10px, 2vw, 16px);
  }

  .gallery-strip {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 16px) / 5);
    gap: 4px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    padding: 3px 1px;
  }

  .gallery-strip::-webkit-scrollbar {
    display: none;
  }

  .gallery-item {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    scroll-snap-align: center;
    border-radius: clamp(8px, 1.8vw, 13px);
    background: #f7f7f7;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
    padding: 0;
    display: block;
    text-align: inherit;
    -webkit-tap-highlight-color: transparent;
  }

  .gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at var(--tap-x, 50%) var(--tap-y, 50%), rgba(255,255,255,.62) 0%, rgba(255,255,255,.24) 22%, rgba(0,0,0,.18) 62%, rgba(0,0,0,0) 100%);
    opacity: 0;
    transform: scale(.82);
    transition: opacity .18s ease, transform .22s ease;
    pointer-events: none;
  }

  .gallery-item:hover,
  .gallery-item:focus-visible {
    border-color: rgba(80,74,68,.42);
    outline: none;
  }

  .gallery-item.is-active {
    border-color: #57514c;
    box-shadow: 0 5px 14px rgba(0,0,0,.16);
  }

  .gallery-item.is-pressing {
    transform: scale(.965);
    border-color: rgba(0,0,0,.2);
    box-shadow: 0 10px 24px rgba(0,0,0,.12);
  }

  .gallery-item.is-pressing::after {
    opacity: 1;
    transform: scale(1.18);
  }

  .gallery-item.is-pressing img {
    filter: saturate(.86) contrast(.9) brightness(.9);
  }

  .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(.92) contrast(.96);
    display: block;
    transition: filter .18s ease, transform .22s ease;
  }

  .gallery-strip-nav {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(255,255,255,.9);
    border-radius: 50%;
    background:
      linear-gradient(145deg, rgba(255,255,255,.98), rgba(235,232,228,.88));
    color: #58514b;
    cursor: pointer;
    box-shadow:
      0 8px 20px rgba(73,64,55,.13),
      inset 0 1px 0 rgba(255,255,255,.95);
    backdrop-filter: blur(10px);
    transition: color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
  }

  .gallery-strip-nav:hover,
  .gallery-strip-nav:focus-visible {
    color: #2f2a26;
    border-color: rgba(116,103,91,.24);
    transform: translateY(-1px) scale(1.04);
    box-shadow:
      0 11px 24px rgba(73,64,55,.18),
      inset 0 1px 0 #fff;
    outline: none;
  }

  .gallery-strip-nav:active {
    transform: translateY(1px) scale(.96);
    box-shadow:
      0 4px 12px rgba(73,64,55,.13),
      inset 0 1px 2px rgba(73,64,55,.08);
  }

  .gallery-strip-nav svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .gallery-item .gallery-caption {
    position: absolute;
    inset: auto 0 8px;
    padding: 6px 10px;
    color: #fff;
    font-size: 12px;
    letter-spacing: .04em;
    text-align: center;
    text-shadow: 0 2px 10px rgba(0,0,0,.35);
  }

  .image-modal {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px 18px 78px;
    background: rgba(255,255,255,.88);
    backdrop-filter: blur(10px);
    overscroll-behavior: contain;
    touch-action: none;
  }

  .image-modal.show {
    display: flex;
  }

  .image-modal-content {
    position: relative;
    width: min(95vw, 860px);
    max-width: 95vw;
    max-height: calc(100vh - 110px);
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: none;
  }

  .image-modal img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    border-radius: 0;
    box-shadow: 0 28px 60px rgba(0,0,0,.35);
    touch-action: none;
  }

  .image-modal-info {
    position: fixed;
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    left: 50%;
    transform: translateX(-50%);
    z-index: 42;
    padding: 9px 16px;
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(0,0,0,.12);
    color: #fff;
    border-radius: 999px;
    font-size: 13px;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-family: 'Noto Sans KR', sans-serif;
    color: #222;
    box-shadow: 0 8px 24px rgba(0,0,0,.2);
  }

  .image-modal-controls {
    display: contents;
  }

  .image-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 58%;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: none;
    transition: opacity .18s ease, transform .18s ease;
    z-index: 43;
  }

  .image-modal-nav:hover {
    transform: translateY(-50%) scale(1.03);
  }

  .image-modal-nav.prev {
    left: 0;
  }

  .image-modal-nav.next {
    right: 0;
  }

  .image-modal-nav svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
  }

  .movie {
    background: var(--white);
    padding-bottom: clamp(52px, 13vw, 104px);
  }

  .movie-wrap {
    width: 100%;
    background: #111;
  }

  .movie-wrap video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }

  .location {
    background: var(--white);
    padding-bottom: clamp(30px, 7svh, 56px);
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .location-box {
    margin: 0 auto;
    width: 85%;
    background: var(--white);
    padding: clamp(2px, .5vw, 4px) 0 0;
    text-align: center;
  }

  .loc-name {
    font-size: clamp(20px, 4.8vw, 38px);
    font-weight: 400;
    color: #333;
    margin-bottom: 10px;
    text-align: center;
    letter-spacing: .04em;
  }

  .loc-line {
    color: #555;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: clamp(13px, 3.25vw, 24px);
    line-height: var(--leading-copy);
    margin-top: 0;
  }

  .naver-map {
    width: 100%;
    aspect-ratio: 16 / 9.5;
    margin-top: clamp(18px, 4.8vw, 32px);
    border: 1px solid #ddd8d4;
    background: #f6f4ef;
    overflow: hidden;
  }

  .naver-map-fallback {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: clamp(13px, 3.2vw, 20px);
  }

  .button-row {
    margin: 12px auto 0;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
  }

  .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 46px;
    padding: 12px 6px;
    background: rgba(255,255,255,.62);
    border: 1px solid rgba(80,74,68,.22);
    border-radius: 999px;
    color: #444;
    text-decoration: none;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: clamp(12px, 3vw, 20px);
    font-weight: 400;
    line-height: var(--leading-ui);
    text-align: center;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(0,0,0,.045);
    backdrop-filter: blur(10px);
    transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
  }

  .btn .icon {
    width: clamp(17px, 4.2vw, 24px);
    height: clamp(17px, 4.2vw, 24px);
    color: #958b84;
    stroke-width: 1.7;
  }

  .btn .brand-icon {
    width: clamp(18px, 4.4vw, 25px);
    height: clamp(18px, 4.4vw, 25px);
    flex: 0 0 auto;
    display: block;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,.08);
  }

  .btn:hover,
  .btn:focus-visible {
    border-color: rgba(80,74,68,.42);
    background: rgba(255,255,255,.94);
    color: #222;
    box-shadow: 0 14px 28px rgba(0,0,0,.08);
    transform: translateY(-1px);
    outline: none;
  }

  .btn.soft { background: rgba(251,250,247,.72); }

  .parking-info,
  .directions-info {
    margin-top: clamp(14px, 3vw, 24px);
    padding: clamp(14px, 3.5vw, 22px);
    border: 1px solid rgba(80,74,68,.14);
    background: rgba(251,250,247,.74);
    text-align: left;
    font-family: 'Noto Sans KR', sans-serif;
  }

  .directions-info + .parking-info {
    margin-top: 10px;
  }

  .parking-info h2,
  .directions-info h2 {
    color: #333;
    font-size: clamp(14px, 3.4vw, 22px);
    font-weight: 500;
    letter-spacing: .04em;
  }

  .parking-info p,
  .directions-info p {
    margin-top: 7px;
    color: #666;
    font-size: clamp(12px, 3vw, 19px);
    line-height: var(--leading-copy);
    word-break: keep-all;
  }

  .direction-row {
    padding: 13px 0;
    border-bottom: 1px solid rgba(80,74,68,.1);
  }

  .direction-row:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .direction-row strong {
    display: block;
    color: #4b443f;
    font-size: clamp(12px, 3vw, 19px);
    font-weight: 500;
    line-height: var(--leading-ui);
  }

  .direction-row p b {
    color: #4b443f;
    font-weight: 500;
  }

  .gift {
    background: var(--white);
    padding-bottom: clamp(38px, 8svh, 68px);
    display: flex;
    flex-direction: column;
  }

  .gift .title-band .title-kr {
    letter-spacing: .22em;
    text-indent: .22em;
  }

  .gift-message {
    padding: clamp(3px, .7svh, 5px) 9.5% clamp(18px, 4svh, 32px);
    color: #666;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: clamp(13px, 3.25vw, 22px);
    line-height: var(--leading-copy);
    text-align: center;
    word-break: keep-all;
  }

  .account-list {
    width: 85%;
    margin: 0 auto;
    display: grid;
    gap: 10px;
  }

  .account {
    width: 100%;
    margin: 0;
    border: 1px solid rgba(80,74,68,.14);
    background: rgba(251,250,247,.72);
    text-align: left;
    font-family: 'Noto Sans KR', sans-serif;
    overflow: hidden;
  }

  .account-head {
    list-style: none;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: clamp(13px, 3.3vw, 24px);
    color: #333;
    cursor: pointer;
    transition: background .18s ease;
  }

  .account-head::-webkit-details-marker {
    display: none;
  }

  .account-head .icon {
    width: 18px;
    height: 18px;
    color: #958b84;
    transition: transform .18s ease;
  }

  .account[open] .account-head {
    border-bottom: 1px solid rgba(80,74,68,.12);
    background: rgba(255,255,255,.48);
  }

  .account[open] .account-head .icon {
    transform: rotate(180deg);
  }

  .account-head:hover,
  .account-head:focus-visible {
    background: rgba(255,255,255,.72);
    outline: none;
  }

  .account-body {
    padding: 8px 18px 14px;
    color: #555;
    font-size: clamp(13px, 3.25vw, 22px);
    line-height: var(--leading-copy);
  }

  .account-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 42px;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
  }

  .account-row + .account-row {
    border-top: 1px solid rgba(80,74,68,.1);
  }

  .account-person,
  .account-bank,
  .account-number {
    display: block;
  }

  .account-person {
    color: #333;
    font-size: clamp(13px, 3.2vw, 20px);
    line-height: var(--leading-ui);
  }

  .account-bank,
  .account-number {
    color: #777;
    font-size: clamp(12px, 2.95vw, 18px);
    line-height: var(--leading-ui);
  }

  .account-number {
    color: #555;
    letter-spacing: .03em;
  }

  .account-row.is-pending {
    opacity: .58;
  }

  .copy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    height: 42px;
    border: 1px solid rgba(80,74,68,.18);
    border-radius: 999px;
    background: rgba(255,255,255,.66);
    color: #444;
    font-family: 'Noto Sans KR', sans-serif;
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
  }

  .copy.icon-only {
    width: 42px;
    padding: 0;
  }

  .copy:disabled {
    cursor: default;
    opacity: .48;
  }

  .copy:hover,
  .copy:focus-visible {
    background: rgba(255,255,255,.94);
    border-color: rgba(80,74,68,.36);
    transform: translateY(-1px);
    outline: none;
  }

  .copy:disabled:hover {
    background: rgba(255,255,255,.66);
    border-color: rgba(80,74,68,.18);
    transform: none;
  }

  .time-circle {
    width: min(72vw, 360px);
    aspect-ratio: 1;
    margin: clamp(28px, 6svh, 54px) auto 0;
    border: 1px solid #ded8d1;
    border-radius: 50%;
    background: radial-gradient(circle, #fff 0 58%, #fbfaf7 59% 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    color: #333;
  }

  .time-circle span {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: clamp(64px, 16vw, 120px);
    line-height: .9;
  }

  .time-circle strong {
    color: #999;
    font-family: 'Cinzel', serif;
    font-size: clamp(13px, 3.2vw, 22px);
    letter-spacing: .18em;
    text-transform: uppercase;
  }

  .time-circle p,
  .time-circle small {
    color: #666;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: clamp(12px, 3vw, 18px);
  }

  .rsvp-modal {
    position: fixed;
    inset: 0;
    z-index: 30;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(28,25,23,.38);
    backdrop-filter: blur(9px);
  }

  .rsvp-modal.show { display: flex; }

  .contact-modal {
    position: fixed;
    inset: 0;
    z-index: 31;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0,0,0,.42);
  }

  .contact-modal.show { display: flex; }

  .contact-panel {
    width: min(100%, 430px);
    max-height: calc(100vh - 40px);
    max-height: calc(100svh - 40px);
    overflow-y: auto;
    background: #fff;
    color: #333;
    font-family: 'Noto Sans KR', sans-serif;
    box-shadow: 0 20px 60px rgba(0,0,0,.24);
  }

  .contact-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 22px 17px;
    border-bottom: 1px solid var(--line);
    font-family: 'Nanum Myeongjo', serif;
    font-size: 20px;
    letter-spacing: .08em;
  }

  .modal-close {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(80,74,68,.18);
    border-radius: 999px;
    background: rgba(255,255,255,.6);
    color: #666;
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
  }

  .modal-close:hover,
  .modal-close:focus-visible {
    background: rgba(255,255,255,.95);
    border-color: rgba(80,74,68,.36);
    transform: translateY(-1px);
    outline: none;
  }

  .contact-list {
    display: grid;
    gap: 20px;
    padding: 20px 22px 25px;
  }

  .contact-side-title {
    margin-bottom: 12px;
    color: #999;
    font-size: 13px;
    letter-spacing: .12em;
  }

  .contact-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 0;
    border-top: 1px solid #f0ece8;
  }

  .contact-row span {
    margin-right: 8px;
    color: #999;
    font-size: 13px;
    line-height: var(--leading-ui);
  }

  .contact-row strong {
    color: #333;
    font-size: 17px;
    font-weight: 400;
    line-height: var(--leading-ui);
  }

  .rsvp-panel {
    width: min(100%, 420px);
    max-height: calc(100vh - 40px);
    max-height: calc(100svh - 40px);
    overflow-y: auto;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.78);
    border-radius: 26px;
    background: linear-gradient(155deg, rgba(255,255,255,.98), rgba(249,247,244,.97));
    color: #333;
    font-family: 'Noto Sans KR', sans-serif;
    box-shadow:
      0 28px 70px rgba(36,31,27,.24),
      inset 0 1px 0 rgba(255,255,255,.95);
  }

  .rsvp-head {
    padding: 28px 24px 23px;
    text-align: center;
    font-family: 'Nanum Myeongjo', serif;
    font-size: 23px;
    letter-spacing: .12em;
    text-indent: .12em;
  }

  .rsvp-body {
    padding: 17px 24px 27px;
  }

  .rsvp-field {
    display: block;
    margin-bottom: 23px;
    text-align: left;
  }

  .rsvp-label {
    display: block;
    margin-bottom: 11px;
    color: #666;
    font-size: 13px;
    line-height: var(--leading-ui);
  }

  .rsvp-segment {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .rsvp-segment input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }

  .rsvp-segment span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border: 1px solid rgba(80,74,68,.13);
    border-radius: 13px;
    background: rgba(255,255,255,.72);
    color: #555;
    cursor: pointer;
    line-height: var(--leading-ui);
    box-shadow: 0 5px 14px rgba(62,54,47,.035);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .rsvp-segment input:checked + span {
    background: #333;
    border-color: #333;
    color: #fff;
  }

  .rsvp-input {
    width: 100%;
    height: 48px;
    border: 1px solid rgba(80,74,68,.14);
    border-radius: 13px;
    padding: 0 12px;
    background: rgba(255,255,255,.78);
    color: #333;
    font: inherit;
    line-height: var(--leading-ui);
    outline: none;
    box-shadow: inset 0 1px 2px rgba(62,54,47,.025);
  }

  .rsvp-input:focus {
    border-color: rgba(80,74,68,.48);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(80,74,68,.07);
  }

  .rsvp-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(24px, 8vw, 38px);
    min-height: 60px;
    padding: 3px 0;
  }

  .rsvp-count-btn {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(80,74,68,.16);
    border-radius: 50%;
    background: linear-gradient(145deg, #fff, #f0ede9);
    color: #4b4540;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 24px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    box-shadow:
      0 8px 18px rgba(62,54,47,.1),
      inset 0 1px 0 #fff;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
    transition: background .16s ease, color .16s ease, border-color .16s ease, box-shadow .16s ease;
  }

  .rsvp-count-btn:hover,
  .rsvp-count-btn:focus-visible {
    background: #fff;
    color: #111;
    border-color: rgba(80,74,68,.32);
    box-shadow:
      0 10px 22px rgba(62,54,47,.14),
      inset 0 1px 0 #fff;
    outline: none;
  }

  .rsvp-count-btn:active {
    background: #ebe7e2;
    box-shadow: inset 0 2px 5px rgba(62,54,47,.1);
  }

  .rsvp-count-btn:disabled {
    border-color: rgba(80,74,68,.08);
    background: #f4f2ef;
    color: #c7c1bb;
    cursor: default;
    box-shadow: none;
  }

  .rsvp-count-value {
    min-width: 42px;
    color: #222;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    text-align: center;
  }

  .rsvp-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 10px;
  }

  .rsvp-btn {
    height: 46px;
    border: 1px solid rgba(80,74,68,.28);
    border-radius: 999px;
    background: rgba(51,51,51,.82);
    color: rgba(255,255,255,.96);
    font: inherit;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(0,0,0,.08);
    transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
  }

  .rsvp-btn.secondary {
    background: rgba(255,255,255,.64);
    color: #444;
  }

  .rsvp-btn:hover,
  .rsvp-btn:focus-visible {
    border-color: rgba(80,74,68,.44);
    background: rgba(51,51,51,.94);
    box-shadow: 0 14px 28px rgba(0,0,0,.11);
    transform: translateY(-1px);
    outline: none;
  }

  .rsvp-btn.secondary:hover,
  .rsvp-btn.secondary:focus-visible {
    background: rgba(255,255,255,.94);
  }

  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  footer {
    display: none;
    padding: clamp(44px, 11vw, 88px) 8%;
    background: #333;
    color: rgba(255,255,255,.82);
    text-align: center;
    font-family: 'Nanum Myeongjo', serif;
  }

  .footer-names {
    font-size: clamp(20px, 5vw, 40px);
    letter-spacing: .18em;
    text-indent: .18em;
    margin-bottom: 16px;
  }

  .footer-date {
    font-family: 'Cinzel', serif;
    font-size: clamp(12px, 3vw, 22px);
    letter-spacing: .16em;
    color: rgba(255,255,255,.55);
  }

  #toast {
    position: fixed;
    z-index: 20;
    left: 50%;
    bottom: 28px;
    transform: translate(-50%, 16px);
    opacity: 0;
    pointer-events: none;
    background: rgba(0,0,0,.74);
    color: #fff;
    padding: 10px 18px;
    border-radius: 999px;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 13px;
    transition: .25s ease;
    white-space: nowrap;
  }

  #toast.show {
    opacity: 1;
    transform: translate(-50%, 0);
  }

  @media (max-width: 430px) {
    body { background: var(--white); }
    .cover-names { grid-template-columns: 1fr 54px 1fr; }
    .call-list, .button-row { grid-template-columns: 1fr; }
    .location .button-row { grid-template-columns: repeat(3, 1fr); }
    .image-modal {
      padding-bottom: 92px;
    }
    .image-modal-controls {
      position: fixed;
      left: 50%;
      bottom: calc(16px + env(safe-area-inset-bottom, 0px));
      z-index: 43;
      display: grid;
      grid-template-columns: 34px 66px 34px;
      align-items: center;
      justify-items: center;
      gap: 9px;
      transform: translateX(-50%);
      padding: 6px 8px;
      border-radius: 999px;
      background: rgba(255,255,255,.88);
      border: 1px solid rgba(0,0,0,.08);
      box-shadow: 0 8px 28px rgba(0,0,0,.14);
      backdrop-filter: blur(10px);
    }
    .image-modal-info {
      position: static;
      transform: none;
      min-width: 58px;
      padding: 0;
      background: transparent;
      border: 0;
      box-shadow: none;
      font-size: 12px;
      letter-spacing: .08em;
      text-align: center;
      font-variant-numeric: tabular-nums;
    }
    .image-modal-nav {
      position: static;
      transform: none;
      width: 34px;
      height: 34px;
      color: #111;
      background: transparent;
      text-shadow: none;
      font-size: 0;
      padding: 0;
    }
    .image-modal-nav svg {
      display: block;
      width: 19px;
      height: 19px;
    }
    .image-modal-nav:hover {
      transform: none;
    }
  }
