@font-face {
  font-family: "Zalando Sans Expanded";
  src: url("https://cdn.jsdelivr.net/fontsource/fonts/zalando-sans-expanded:vf@5.3.0/latin-wght-normal.woff2")
    format("woff2-variations");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Jayeon Sans";
  src: url("./fonts/JayeonSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Jayeon Sans";
  src: url("./fonts/JayeonSans-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --figma-black: #232325;
  --figma-gray-900: #38383c;
  --figma-gray-800: #434347;
  --figma-gray-700: #5f5f64;
  --figma-grey-600: #74747b;
  --figma-grey-500: #868690;
  --figma-green-700: #7fb83a;
  --figma-green-100: #f1ffdf;
  --figma-pink-200: #f9d8f0;
  --figma-pink-300: #efa3dd;
  --figma-violet: #cf60b4;
  --figma-white: #ffffff;
  --figma-grey-100: #edf0f6;
  --figma-account-bg: #f8e1f3;
  --page-bg: #f3ede6;
  --card-bg: rgba(255, 252, 247, 0.86);
  --paper-bg: rgba(252, 246, 238, 0.92);
  --accent: var(--figma-violet);
  --accent-strong: var(--figma-black);
  --green-soft: var(--figma-green-700);
  --pink-soft: var(--figma-violet);
  --green-title: #89b64e;
  --violet-deep: #c07db0;
  --text-main: var(--figma-gray-900);
  --text-black: var(--figma-black);
  --text-body: var(--figma-gray-800);
  --text-muted: var(--figma-gray-700);
  --text-soft: var(--figma-grey-600);
  --text-faint: var(--figma-grey-500);
  --line: rgba(94, 78, 65, 0.16);
  --shadow: 0 22px 60px rgba(68, 44, 24, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --content-width: 390px;
  --font-body: "Jayeon Sans", "Noto Serif KR", serif;
  --font-title-kr: "Hahmlet", "Jayeon Sans", serif;
  --font-title-en: "Cormorant", serif;
  --font-accent-en: "Courier Prime", monospace;
  --font-number-display: "Special Gothic Expanded One", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  font-family: var(--font-body);
  color: var(--text-main);
  background: var(--figma-green-100);
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.invitation-app {
  width: min(100%, var(--content-width));
  margin: 0 auto;
  padding: 0 0 56px;
}

.hero-section {
  position: relative;
  display: flex;
  width: 100%;
  height: 740px;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  overflow: visible;
  padding: 70px 0 40px;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  border-radius: 0;
  background: #f8e1f3;
  opacity: 1;
}

.hero-backdrop::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08)),
    url("./asset/account_section_texture.svg") 50% 50% / cover no-repeat;
  mix-blend-mode: overlay;
  opacity: 0.9;
  filter: contrast(1.05) brightness(1.1);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.eyebrow,
.section-label {
  margin: 0;
  font-family: var(--font-accent-en);
  letter-spacing: -0.075rem;
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 700;
  line-height: normal;
  color: var(--figma-violet);
  text-align: center;
}

.hero-copy h1 {
  margin: 4px 0 0;
  font-family: var(--font-title-en);
  font-size: 4.375rem;
  font-style: italic;
  font-weight: 700;
  line-height: 4.25rem;
  letter-spacing: -0.2625rem;
  text-align: center;
  color: var(--figma-white);
}

.hero-date,
.hero-place,
.hero-closing-copy {
  margin: 0;
  font-family: var(--font-accent-en);
  font-size: 0.875rem;
  color: var(--figma-violet);
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: -0.0525rem;
}

.hero-date,
.hero-place,
.eyebrow {
  color: var(--pink-soft);
}

.hero-description {
  position: absolute;
  left: 24px;
  top: 524px;
  bottom: 60px;
  z-index: 2;
  width: 142px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
}

.hero-place {
  white-space: normal;
}

.hero-closing-copy {
  white-space: normal;
}

.hero-date-badge {
  position: absolute;
  left: 4px;
  top: 358px;
  z-index: 4;
  width: 148px;
}

.hero-date-badge-image {
  display: block;
  width: 100%;
  height: auto;
}

.hero-sticker {
  position: absolute;
  display: block;
  z-index: 2;
  pointer-events: none;
}

.hero-sticker--purple {
  left: 32px;
  top: 218px;
  width: 28px;
  height: 28px;
}

.hero-sticker--pearl-14 {
  left: 244px;
  top: 255px;
  width: 14px;
  height: 14px;
}

.hero-sticker--star {
  left: 336px;
  top: 254px;
  width: 28px;
  height: 28px;
}

.hero-sticker--pearl-16 {
  left: 101px;
  top: 294px;
  width: 16px;
  height: 16px;
}

.hero-sticker--heart {
  left: 258px;
  top: 291px;
  width: 20px;
  height: 21px;
}

.hero-sticker--green {
  left: 58px;
  top: 322px;
  width: 34px;
  height: 34px;
}

.hero-sticker--pink {
  left: 60px;
  top: 492px;
  width: 30px;
  height: 27px;
}

.hero-image-wrap {
  position: absolute;
  left: 24px;
  top: 222px;
  z-index: 3;
  width: 100%;
  height: 551px;
  overflow: visible;
}

.hero-image-frame {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
  z-index: 2;
}

.hero-image-frame::before {
  content: none;
}

.hero-image {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 531px;
  object-fit: contain;
  object-position: center top;
}

.section-card {
  margin: 0 16px 24px;
  padding: 34px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.opening-section {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
  margin: 0;
  padding: 90px 24px 60px;
  border: 0;
  border-radius: 0;
  background: var(--figma-green-100);
  box-shadow: none;
  backdrop-filter: none;
}

.opening-section h2 {
  color: var(--text-main);
  margin: 0;
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: -0.06em;
  text-align: center;
}

.opening-section .section-label,
.date-section .section-label,
.gallery-section .section-label {
  display: none;
}

.section-card h2 {
  margin: 14px 0 0;
  font-family: var(--font-title-kr);
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--text-main);
}

.section-body {
  margin: 22px 0 0;
  color: var(--text-main);
  font-size: 0.98rem;
  line-height: 1.95;
}

.opening-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  max-width: 342px;
}

.opening-section .section-body {
  margin: 0;
  color: var(--text-main);
  text-align: center;
  font-family: var(--font-body);
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.02rem;
}

.opening-title-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.opening-markers {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
}

.opening-marker {
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.opening-section .section-label,
.opening-section h2,
.opening-section .section-body,
.opening-section .family-grid,
.location-section > .section-label,
.location-section > h2,
.location-copy,
.location-section .button-row,
.location-section .traffic-list {
  width: 100%;
  max-width: 342px;
  margin-left: auto;
  margin-right: auto;
}

.family-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 0;
}

.account-item {
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid rgba(94, 78, 65, 0.1);
}

.family-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 0;
  text-align: center;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.family-photo-card {
  position: relative;
  height: 200px;
  overflow: hidden;
  border-radius: 2px;
  background: var(--figma-white);
  box-shadow: 0 2px 10px rgba(178, 207, 141, 1);
}

.family-photo {
  position: absolute;
  left: 50%;
  top: 12px;
  width: 131px;
  height: 150px;
  transform: translateX(-50%);
  background-size: cover;
  background-position: center;
}

.family-photo--groom {
  background-image: url("./asset/groom.svg");
  background-position: center top;
}

.family-photo--bride {
  background-image: url("./asset/bride-profile.jpg");
  background-size: 390% auto;
  background-position: 74.5% 18.5%;
  background-repeat: no-repeat;
  filter: grayscale(0);
}

.family-role,
.venue-name {
  margin: 0;
  font-size: 1rem;
  color: var(--text-main);
}

.family-english,
.traffic-title,
.account-group-title {
  margin: 0 0 10px;
  font-family: var(--font-body);
  font-size: 0.84rem;
  color: var(--text-main);
}

.family-grid .family-english {
  position: absolute;
  left: 115px;
  top: 170px;
  margin: 0;
  transform: translateX(-50%);
  font-family: var(--font-accent-en);
  font-size: 1.125rem;
  font-style: italic;
  font-weight: 400;
  line-height: normal;
  letter-spacing: -0.0675rem;
  color: var(--text-main);
  white-space: nowrap;
}

.family-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  background: transparent;
  border: 0;
}

.family-name-row {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: transparent;
  border: 0;
}

.family-role {
  font-weight: 500;
  letter-spacing: -0.02rem;
  line-height: normal;
}

.family-name {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text-black);
}

.family-parent {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--text-muted);
}

.family-parent-main {
  color: var(--text-muted);
}

.family-parent-sub {
  color: var(--text-faint);
}

.family-card:first-child .family-role {
  color: var(--green-soft);
}

.family-card:last-child .family-role {
  color: var(--pink-soft);
}

.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  min-height: 45px;
  width: 100%;
  padding: 14px;
  border: 0;
  border-radius: 10px;
  background: var(--figma-white);
  color: var(--text-soft);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.06em;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.opening-section .contact-button:hover,
.opening-section .contact-button:active {
  background: #f8fbf2;
  color: var(--text-main);
  box-shadow: 0 4px 10px rgba(178, 207, 141, 0.22);
  transform: translateY(1px);
}

.person-actions {
  display: block;
  margin-top: 0;
  background: transparent;
  border: 0;
}

.person-actions .contact-button {
  margin-top: 0;
}

.call-icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  min-width: 18px;
  height: 18px;
  padding: 0;
  border-radius: 0;
  border: 0;
  background: transparent;
  color: var(--text-black);
  transition: transform 180ms ease, background-color 180ms ease;
}

.call-icon-button img {
  display: block;
  width: 18px;
  height: 18px;
  transition: filter 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.call-icon-button:hover,
.call-icon-button:active {
  transform: scale(0.97);
  background: transparent;
}

.opening-section .call-icon-button:hover img,
.opening-section .call-icon-button:active img {
  opacity: 0.95;
  transform: scale(0.96);
  filter: brightness(0) saturate(100%) invert(49%) sepia(65%) saturate(493%) hue-rotate(45deg) brightness(97%) contrast(90%);
}

.date-section {
  position: relative;
  padding: 0;
}

.date-section h2 {
  color: var(--pink-soft);
  margin: 0;
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: -0.06em;
  text-align: center;
}

.date-section .section-body {
  color: var(--text-black);
  margin: 0;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.02em;
  text-align: center;
}

.date-section .section-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 34px;
  margin: 0;
  padding: 60px 24px;
  border: 0;
  border-radius: 0;
  background: #f2c9e7;
  box-shadow: none;
  overflow: hidden;
}

.date-section .section-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("./asset/date_section_texture.svg") lightgray 50% 50% / 153.162% 107.822% no-repeat;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 1;
}

.date-section .section-label,
.date-section h2,
.date-section .section-body,
.date-section .date-content-stack,
.date-section .calendar-card,
.date-section .calendar-sheet {
  width: 100%;
  max-width: 342px;
  margin-left: auto;
  margin-right: auto;
}

.date-section h2,
.date-section .section-body,
.date-section .date-content-stack,
.date-section .calendar-card,
.date-section .calendar-sheet {
  position: relative;
  z-index: 2;
}

.date-content-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.section-card--tinted,
.section-card--paper {
  background:
    linear-gradient(180deg, rgba(248, 243, 236, 0.92), rgba(255, 255, 255, 0.78));
}

.calendar-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 0;
  padding: 20px 0;
  background: var(--figma-white);
  border: 0;
  backdrop-filter: none;
}

.calendar-tape {
  position: absolute;
  top: -11px;
  left: 50%;
  width: 70px;
  height: 22px;
  transform: translateX(-50%);
  opacity: 0.7;
  display: block;
  object-fit: contain;
}

.calendar-month {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.06em;
  color: #363636;
  width: 100%;
  text-align: center;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  padding: 0 14px;
  margin-top: 0;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 81px;
  gap: 6px;
  padding: 14px 10px;
  border-radius: 10px;
  background: var(--figma-pink-200);
  border: 0;
  text-align: center;
}

.countdown-value,
.calendar-day {
  margin: 0;
  font-family: var(--font-number-display);
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: 0.02em;
  width: 100%;
  text-align: center;
}

.countdown-label {
  margin: 0;
  line-height: 1;
  font-family: var(--font-accent-en);
  font-size: 0.875rem;
  color: var(--text-faint);
  letter-spacing: -0.06em;
  width: 100%;
  text-align: center;
}

.calendar-sheet {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px 0;
  background: var(--figma-white);
}

.calendar-studs {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0 20px;
}

.calendar-stud {
  position: relative;
  width: 10px;
  height: 16px;
  border-radius: 6px;
  background: #c9e4a7;
}

.calendar-stud::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 2px;
  width: 4px;
  height: 2px;
  border-radius: 20px;
  background: var(--figma-white);
}

.calendar-stud::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 10px;
  height: 6px;
  border-radius: 0 0 6px 6px;
  background: #b2cf8d;
}

.calendar-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 10px 20px 20px;
}

.calendar-title {
  margin: 0;
  font-family: "Zalando Sans Expanded", sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  text-align: center;
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.calendar-weekdays {
  gap: 16px;
}

.calendar-grid {
  row-gap: 24px;
  column-gap: 16px;
}

.calendar-weekday,
.calendar-day {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin: 0 auto;
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1;
  letter-spacing: -0.06em;
  color: var(--text-main);
}

.calendar-weekday.is-sunday,
.calendar-day.is-sunday {
  color: #ff7171;
}

.calendar-day.is-outside {
  color: #a1a1a1;
}

.calendar-day.is-wedding {
  border-radius: 999px;
  background: var(--figma-pink-200);
  color: #363636;
  font-weight: 500;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: 100%;
  margin-top: 34px;
}

.gallery-section h2 {
  color: var(--green-title);
  width: 100%;
  max-width: 342px;
  text-align: center;
  margin: 0;
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: -0.06em;
}

.gallery-section .section-note {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text-soft);
  text-align: center;
  margin-top: 24px;
  font-size: 1rem;
  cursor: pointer;
}

.gallery-section .section-note-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  transition: transform 180ms ease;
}

.gallery-section .section-note-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.gallery-section .section-note[aria-expanded="true"] .section-note-icon {
  transform: rotate(180deg);
}

.gallery-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  padding: 60px 24px;
  border: 0;
  border-radius: 0;
  background: var(--figma-white);
  box-shadow: none;
}

.gallery-section .gallery-grid,
.gallery-section .section-note {
  width: 100%;
  max-width: 342px;
  margin-left: auto;
  margin-right: auto;
}

.gallery-item {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  touch-action: manipulation;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 107 / 160;
  object-fit: cover;
  border-radius: 0;
}

.gallery-item img {
  transition: transform 180ms ease, filter 180ms ease;
}

.gallery-item:active img,
.gallery-item:hover img {
  transform: scale(0.98);
  filter: brightness(0.96);
}

.map-placeholder {
  position: relative;
  display: block;
  width: 100%;
  height: 260px;
  margin-top: 34px;
  overflow: hidden;
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(127, 106, 88, 0.08), rgba(127, 106, 88, 0.2)),
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.18),
      rgba(255, 255, 255, 0.18) 10px,
      rgba(255, 255, 255, 0.06) 10px,
      rgba(255, 255, 255, 0.06) 20px
    );
  border: 1px solid var(--line);
}

#map img {
  width: auto;
  max-width: none;
}

.map-placeholder span {
  font-family: var(--font-title-en);
  font-size: 2rem;
  letter-spacing: 0.16em;
  color: var(--accent-strong);
  font-style: italic;
}

.location-copy {
  margin-top: 0;
  color: var(--text-black);
  line-height: 1.5;
}

.location-copy p {
  margin: 0;
}

.location-copy p + p {
  margin-top: 6px;
}

.location-section h2 {
  color: var(--green-soft);
  text-align: center;
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.06em;
}

.location-section .action-button,
.location-section .action-button--ghost {
  justify-content: center;
  align-items: center;
  align-self: stretch;
  padding: 10px 8px;
  opacity: 0.7;
  background: var(--figma-white);
  color: var(--text-black);
  border-color: var(--figma-green-100);
  box-shadow: 0 0 7px 0 #b2cf8d;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease,
    opacity 180ms ease;
}

.location-section .action-button {
  gap: 4px;
}

.location-section .action-button[data-map-provider="naver"],
.location-section .action-button[data-map-provider="tmap"] {
  gap: 2px;
}

.map-link-icon {
  display: block;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  transition: transform 180ms ease, filter 180ms ease, opacity 180ms ease;
}

.location-section .action-button:hover,
.location-section .action-button:active,
.location-section .action-button--ghost:hover,
.location-section .action-button--ghost:active {
  background: #e4f6c9;
  color: var(--green-soft);
  border-color: #d7efb1;
  box-shadow: 0 4px 12px rgba(178, 207, 141, 0.45);
  opacity: 1;
  transform: translateY(1px);
}

.location-section .action-button:hover .map-link-icon,
.location-section .action-button:active .map-link-icon,
.location-section .action-button--ghost:hover .map-link-icon,
.location-section .action-button--ghost:active .map-link-icon {
  transform: scale(0.96);
  filter: brightness(0.96) saturate(1.05);
}

.location-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  padding: 60px 24px;
  border: 0;
  border-radius: 0;
  background: var(--figma-green-100);
  box-shadow: none;
}

.location-section .section-label {
  display: none;
}

.button-row {
  display: flex;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: nowrap;
  width: 100%;
}

.action-button,
.copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--accent-strong);
  color: #fffaf4;
  cursor: pointer;
}

.action-button {
  flex: 1;
  min-height: 44px;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: -0.06em;
}

.action-button--ghost {
  background: transparent;
  color: var(--accent-strong);
  border-color: rgba(95, 77, 63, 0.24);
}

.account-section {
  position: relative;
  padding: 0;
}

.account-section .section-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 60px 24px;
  border: 0;
  border-radius: 0;
  background: var(--figma-account-bg);
  box-shadow: none;
}

.account-section .section-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08)),
    url("./asset/account_section_texture.svg") 50% 50% / cover no-repeat;
  mix-blend-mode: overlay;
  opacity: 0.85;
  filter: contrast(1.05) brightness(1.1);
  pointer-events: none;
  z-index: 1;
}

.account-section .section-label,
.account-section .section-note,
.account-section .account-list {
  width: 100%;
  max-width: 342px;
  margin-left: auto;
  margin-right: auto;
}

.account-section .section-label,
.account-section .section-note {
  display: none;
}

.account-section h2,
.account-section .account-list {
  position: relative;
  z-index: 2;
}

.account-section h2 {
  width: 100%;
  max-width: 342px;
  margin: 0 auto;
  font-family: var(--font-title-kr);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.06em;
  text-align: center;
  color: var(--violet-deep);
}

.section-note {
  margin: 18px 0 0;
  font-family: var(--font-body);
  color: var(--text-soft);
  font-size: 0.88rem;
  line-height: 1.7;
}

.account-list {
  display: grid;
  gap: 40px;
  margin-top: 0;
}

.traffic-list,
.account-group-list {
  display: grid;
  gap: 12px;
}

.traffic-list {
  margin-top: 34px;
  gap: 20px;
  width: 100%;
}

.traffic-item,
.account-group {
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
}

.traffic-item {
  width: 350px;
  max-width: 100%;
}

.traffic-item p,
.account-group-title {
  line-height: 1.7;
}

.traffic-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-main);
  line-height: 1.5;
  letter-spacing: -0.04em;
}

.traffic-item p {
  margin: 6px 0 0;
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: -0.04em;
  color: var(--text-body);
}

.traffic-bullets {
  margin: 0;
  padding-left: 21px;
  color: var(--text-main);
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: -0.04em;
}

.traffic-bullets li + li {
  margin-top: 2px;
}

.traffic-intro {
  min-height: 48px;
}

.traffic-detail-row {
  display: flex;
  gap: 14px;
  align-items: stretch;
  margin-top: 10px;
  width: 100%;
}

.traffic-detail-line {
  width: 4px;
  min-width: 4px;
  border-radius: 999px;
  background: var(--green-soft);
}

.traffic-detail-copy {
  flex: 1;
}

.traffic-item .traffic-subtitle {
  margin-top: 0;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.06em;
  color: var(--green-soft);
}

.traffic-bullets--detail {
  color: var(--text-body);
  font-size: 0.875rem;
  letter-spacing: -0.04em;
}

.traffic-detail-note {
  margin: 2px 0 0;
  padding-left: 21px;
  color: var(--text-body);
  font-size: 0.875rem;
  line-height: 1.5;
  letter-spacing: -0.04em;
}

.location-copy {
  display: grid;
  gap: 6px;
  margin-top: 14px;
  text-align: center;
  width: 100%;
}

.location-copy p {
  margin: 0;
}

.venue-name {
  display: none;
}

#venue-address {
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: var(--text-black);
}

.location-section .map-placeholder,
.location-section .button-row,
.location-section .traffic-list {
  max-width: 350px;
}

.location-section .location-copy,
.location-section h2 {
  max-width: 342px;
}

.account-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  padding: 14px;
  border-radius: 10px;
  background: var(--figma-white);
  border: 0;
  box-shadow: none;
}

.photo-section {
  position: relative;
  width: 100%;
  height: 502px;
  overflow: hidden;
}

.photo-section-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  filter: grayscale(1);
}

.copy-button {
  width: 78px;
  min-width: 78px;
  min-height: 36px;
  padding: 10px 16px;
  border-radius: 6px;
  background: var(--figma-grey-100);
  color: var(--text-soft);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: -0.04em;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.copy-button:hover,
.copy-button:active {
  background: #e3e8f2;
  color: #62626a;
  transform: translateY(1px);
}

.account-group {
  padding: 0;
  background: transparent;
  border: 0;
}

.account-group-list {
  gap: 14px;
}

.account-group-title {
  margin: 0 0 14px;
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--text-main);
  text-align: center;
}

.account-owner {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
}

.account-number,
.account-bank {
  margin: 8px 0 0;
  color: var(--text-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.04em;
}

.account-bank {
  margin-top: 6px;
}

.account-group:first-child .account-owner {
  color: var(--green-soft);
}

.account-group:last-child .account-owner {
  color: var(--pink-soft);
}

.image-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(27, 18, 11, 0.82);
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
  z-index: 1100;
}

.image-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.image-modal-content {
  max-width: min(92vw, 720px);
  max-height: 82vh;
  width: auto;
  border-radius: 26px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  user-select: none;
  -webkit-user-drag: none;
}

.image-modal-nav,
.image-modal-close {
  position: absolute;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
}

.image-modal-close {
  top: 22px;
  right: 22px;
}

.image-modal-nav {
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
}

.image-modal-nav--prev {
  left: 18px;
}

.image-modal-nav--next {
  right: 18px;
}

.contact-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(27, 18, 11, 0.56);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
  z-index: 1100;
}

.contact-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.contact-modal-card {
  position: relative;
  width: min(100%, 332px);
  border-radius: 20px;
  background: var(--figma-white);
  border: 0;
  box-shadow: 0 24px 60px rgba(42, 28, 18, 0.18);
  overflow: hidden;
}

.contact-modal-close {
  position: absolute;
  top: 14px;
  right: 20px;
  width: 24px;
  height: 24px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  z-index: 2;
}

.contact-modal-close-icon {
  display: block;
  width: 24px;
  height: 24px;
}

.contact-modal-label {
  margin: 0;
  font-family: var(--font-accent-en);
  font-size: 1rem;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: -0.04rem;
  color: var(--figma-gray-700);
  padding: 14px 20px;
}

.contact-modal-title {
  margin: 0;
  font-family: var(--font-title-kr);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.0675rem;
  padding: 14px 20px 0;
}

.contact-modal-list {
  display: grid;
  gap: 20px;
  padding: 14px 20px 30px;
}

.contact-modal-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  padding: 14px;
  border-radius: 10px;
  background: var(--figma-white);
  border: 1px solid #cbd0d9;
}

.contact-modal-role {
  margin: 0;
  width: 100%;
  color: var(--figma-green-700);
  font-family: var(--font-body);
  font-size: 1rem;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.04rem;
}

.contact-modal.is-bride .contact-modal-role {
  color: var(--figma-violet);
}

.contact-modal-name {
  margin: 6px 0 0;
  width: 100%;
  color: var(--figma-gray-800);
  font-family: var(--font-body);
  font-size: 1rem;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.04rem;
}

.contact-modal-call {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  min-width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #edf0f6;
  color: var(--figma-gray-800);
  overflow: hidden;
  transition:
    transform 180ms ease,
    background-color 180ms ease;
}

.contact-modal-call img {
  display: block;
  width: 18px;
  height: 18px;
  transition: filter 180ms ease;
}

.contact-modal-call:hover,
.contact-modal-call:active {
  background: #c9e4a7;
  transform: translateY(-1px);
}

.contact-modal-call:hover img,
.contact-modal-call:active img {
  filter: brightness(0) invert(1);
}

.closing-section {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  min-height: 118px;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 30px 20px;
  text-align: center;
  background: var(--figma-green-100);
}

.closing-title {
  margin: 0;
  font-family: var(--font-title-en);
  font-size: 1.875rem;
  font-style: italic;
  font-weight: 700;
  line-height: normal;
  letter-spacing: -0.1125rem;
  color: var(--text-black);
}

.closing-copy {
  width: 100%;
  margin: 0;
  font-family: var(--font-accent-en);
  font-size: 0.875rem;
  font-style: italic;
  font-weight: 400;
  line-height: normal;
  letter-spacing: -0.0525rem;
  color: var(--text-black);
}

.share-actions {
  display: flex;
  gap: 10px;
  width: 100%;
  max-width: 100%;
  margin-top: 18px;
  padding: 0 28px;
}

@media (min-width: 391px) and (max-width: 480px) {
  :root {
    --content-width: 420px;
  }

  .hero-image-wrap {
    left: 24px;
  }

  .section-card {
    margin: 0 8px 24px;
  }

  .gallery-section {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: max(24px, calc((100vw - var(--content-width)) / 2 + 24px));
    padding-right: max(24px, calc((100vw - var(--content-width)) / 2 + 24px));
  }

  .opening-section,
  .date-section .section-card,
  .location-section .section-card,
  .account-section .section-card {
    padding-left: 16px;
    padding-right: 16px;
  }

  .share-actions {
    padding: 0 28px;
  }
}

@media (min-width: 481px) {
  .hero-image-wrap {
    left: 36px;
  }

  body::after {
    content: "";
    position: fixed;
    top: 0;
    right: 0;
    width: max(0px, calc((100vw - var(--content-width)) / 2));
    height: 100vh;
    background: var(--figma-green-100);
    pointer-events: none;
    z-index: 999;
  }
}

@media (max-width: 430px) {
  .hero-image-wrap {
    overflow: visible;
  }

  .hero-image {
    left: auto;
    right: 0;
    width: calc(100% - 16px);
    transform: none;
  }
}

.footer-share-button {
  display: inline-flex;
  flex: 1;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  opacity: 0.7;
  color: var(--figma-gray-900);
  font-family: var(--font-body);
  font-size: 1rem;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.0525rem;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    opacity 180ms ease;
}

#copy-link-button {
  flex: 0.85;
}

#share-button {
  flex: 1.15;
}

.footer-share-button-label {
  white-space: nowrap;
}

.footer-share-button-icon {
  display: block;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.footer-share-button:hover,
.footer-share-button:active {
  opacity: 1;
  background: rgba(127, 184, 58, 0.14);
}

.reveal-on-scroll {
  --reveal-delay: 0ms;
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
  transition-delay: var(--reveal-delay);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-copy.reveal-on-scroll,
.hero-description.reveal-on-scroll,
.hero-date-badge.reveal-on-scroll,
.hero-image-wrap.reveal-on-scroll {
  transform: translateY(18px);
}

.gallery-item.reveal-on-scroll,
.countdown-item.reveal-on-scroll,
.family-grid > div.reveal-on-scroll,
.traffic-item.reveal-on-scroll,
.account-group.reveal-on-scroll {
  transform: translateY(20px) scale(0.98);
}

.gallery-item.reveal-on-scroll.is-visible,
.countdown-item.reveal-on-scroll.is-visible,
.family-grid > div.reveal-on-scroll.is-visible,
.traffic-item.reveal-on-scroll.is-visible,
.account-group.reveal-on-scroll.is-visible {
  transform: translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .gallery-item img,
  .reveal-on-scroll {
    transition: none;
  }

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 389px) {
  .hero-section {
    min-height: 700px;
  }

  .hero-image-wrap {
    left: 36px;
    top: 260px;
    width: 344px;
    height: 465px;
  }

  .hero-image {
    width: 329px;
    height: 448px;
  }

  .hero-copy {
    padding-top: 74px;
  }

  .hero-copy h1 {
    font-size: 3.9rem;
  }

  .hero-description {
    left: 18px;
    top: 512px;
  }

  .hero-date-badge {
    left: 2px;
    top: 410px;
  }

  .section-card {
    margin-left: 12px;
    margin-right: 12px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .button-row,
  .account-item,
  .share-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .countdown-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
