/* LANART STUDIO — ELEGANT WHITE BASIC
   CSS ditata ulang tanpa mengubah urutan cascade, selector, atau media queries.
   Urutan blok mengikuti prioritas stylesheet asli untuk menjaga tampilan final.
*/

/* ===== GLOBAL / SHARED ===== */
:root {
  --white: #ffffff;
  --ivory: #f8f6f1;
  --ivory-2: #f1eee7;
  --text: #25231f;
  --muted: #77736a;
  --gold: #aa8b5b;
  --gold-dark: #80673f;
  --line: #ded8ce;
  --shadow: 0 16px 45px rgba(31, 28, 23, 0.08);
  --font-display: "Cormorant Garamond", serif;
  --font-body: "Montserrat", sans-serif;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--text);
  line-height: 1.75;
  overflow-x: hidden;
}
body.locked {
  overflow: hidden;
}
img {
  display: block;
  width: 100%;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}
.container.narrow {
  width: min(760px, calc(100% - 40px));
}
.section {
  padding: 100px 0;
}
.soft-section {
  background: var(--ivory);
}
.text-center {
  text-align: center;
}
.eyebrow {
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.eyebrow.light {
  color: rgba(255, 255, 255, 0.82);
}
h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
}
h2 {
  font-size: clamp(2.5rem, 6vw, 4.6rem);
  line-height: 1;
}
p {
  color: var(--muted);
}
.section-heading {
  max-width: 720px;
  margin: 0 auto 55px;
}
.section-heading > p:last-child {
  margin-top: 20px;
}
.lead {
  max-width: 670px;
  margin: 22px auto 0;
  font-size: 0.95rem;
}
.ornament {
  margin: 20px 0;
  color: var(--gold);
  font-size: 1.2rem;
}
.ornament.light {
  color: var(--white);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 47px;
  padding: 11px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: 0.3s ease;
}
.btn-primary {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--white);
}
.btn-primary:hover {
  border-color: var(--gold-dark);
  background: var(--gold-dark);
  transform: translateY(-2px);
}
.btn-outline {
  border-color: var(--gold);
  background: transparent;
  color: var(--gold-dark);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--white);
}
.btn.full {
  width: 100%;
}

/* ===== COVER ===== */
.cover {
  position: fixed;
  z-index: 9999;
  inset: 0;
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: 28px 20px;
  background: linear-gradient(rgba(19, 17, 13, 0.27), rgba(19, 17, 13, 0.38)),
    url("assets/images/cover.jpg") center / cover no-repeat;
  color: var(--white);
  text-align: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
.cover.hidden-cover {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}
.cover-overlay {
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  pointer-events: none;
}
.cover-content {
  position: relative;
  z-index: 2;
  width: min(560px, 100%);
}
.cover .eyebrow {
  color: rgba(255, 255, 255, 0.86);
}

/* ===== COUPLE ===== */
.couple-name {
  margin: 14px 0;
  font-size: clamp(3.7rem, 12vw, 7rem);
  font-weight: 400;
  line-height: 0.85;
}
.couple-name span,
.display-name span,
.closing h2 span {
  font-style: italic;
  color: #e2cfaa;
}

/* ===== GLOBAL / SHARED ===== */
.wedding-date {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ===== GUEST-RESPONSE ===== */
.guest-box {
  width: min(380px, 100%);
  margin: 32px auto 24px;
  padding: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
}
.guest-box p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.75rem;
}
.guest-box h3 {
  margin: 3px 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
}

/* ===== MUSIC ===== */
.music-toggle {
  position: fixed;
  z-index: 9000;
  right: 18px;
  bottom: 18px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  color: var(--gold-dark);
  cursor: pointer;
  backdrop-filter: blur(8px);
}
.music-toggle.playing {
  animation: spin 10s linear infinite !important;
}
.music-toggle.hidden {
  display: none;
}

/* ===== ANIMATION / @keyframes spin ===== */
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ===== HOME ===== */
.hero {
  display: grid;
  place-items: center;
  min-height: 82vh;
  background: radial-gradient(circle at center, rgba(170, 139, 91, 0.07), transparent 45%),
    var(--white);
}

/* ===== GLOBAL / SHARED ===== */
.display-name {
  font-size: clamp(4rem, 11vw, 8rem);
  font-weight: 400;
  line-height: 0.82;
}

/* ===== COUNTDOWN ===== */
.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 720px;
  margin: 42px auto 34px;
}
.countdown-card {
  padding: 28px 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.62);
}
.countdown-card span {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  line-height: 1;
}
.countdown-card small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ===== COUPLE ===== */
.couple-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 40px;
  max-width: 930px;
  margin: 0 auto;
}
.person-card {
  text-align: center;
}
.person-photo {
  width: min(320px, 100%);
  aspect-ratio: 4 / 5;
  margin: 0 auto 30px;
  padding: 10px;
  border: 1px solid var(--line);
  overflow: hidden;
}
.person-photo img {
  height: 100%;
  object-fit: cover;
}

.person-card h3 {
  margin-bottom: 8px;
  font-size: 2.3rem;
}
.person-card p,
.person-card strong {
  font-size: 0.8rem;
}
.person-card strong {
  display: block;
  margin-bottom: 14px;
  font-weight: 500;
}

/* ===== GLOBAL / SHARED ===== */
/* Nama lengkap pada section Couple (tanpa tautan Instagram). */
.person-card .person-full-name {
  margin: 0 auto 15px;
  max-width: 320px;
  color: var(--gold-dark);
  font-family: var(--font-body);
  font-size: clamp(0.83rem, 1.55vw, 0.97rem);
  font-weight: 500;
  letter-spacing: 0.025em;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.person-card .person-short-name {
  margin-bottom: 4px;
}

/* ===== COUPLE ===== */
.couple-divider {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-style: italic;
}

/* ===== EVENT ===== */
.event-card h3 {
  margin-bottom: 16px;
  font-size: 2.2rem;
}
.event-card p {
  font-size: 0.8rem;
}

/* ===== LOCATION ===== */
.location-card {
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.map-frame {
  min-height: 410px;
}
.map-frame iframe {
  display: block;
  width: 100%;
  height: 410px;
  border: 0;
  filter: grayscale(1) contrast(0.92);
}
.location-info {
  padding: 34px 28px 38px;
  text-align: center;
}
.location-info h3 {
  font-size: 2rem;
}
.location-info p {
  margin: 4px 0 20px;
}

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  gap: 12px;
}
.gallery-item {
  overflow: hidden;
  border: 0;
  background: #ddd;
  cursor: zoom-in;
}
.gallery-item img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}
.gallery-item:hover img {
  transform: scale(1.06);
}
.gallery-item.tall {
  grid-row: span 2;
}
.gallery-item.wide {
  grid-column: span 2;
}
.lightbox {
  position: fixed;
  z-index: 10000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 30px;
  background: rgba(15, 14, 12, 0.94);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
}
.lightbox.active {
  opacity: 1;
  visibility: visible;
}
.lightbox img {
  max-width: 1000px;
  max-height: 86vh;
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  border: 0;
  background: none;
  color: var(--white);
  font-size: 2.2rem;
  cursor: pointer;
}
/* ===== LIGHTBOX NAVIGATION ===== */

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 42px;
  height: 42px;

  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;

  font-size: 32px;
  line-height: 1;

  cursor: pointer;
  transition: background 0.3s ease;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lightbox-prev {
  left: 12px;
}

.lightbox-next {
  right: 12px;
}

.lightbox img {
  max-width: calc(100% - 100px);
  max-height: 86vh;
  object-fit: contain;
}

/* ===== STORY ===== */
.timeline {
  position: relative;
  margin-top: 50px;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 65px;
  width: 1px;
  background: var(--line);
}
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 30px;
  padding: 0 0 50px;
}
.timeline-item:last-child {
  padding-bottom: 0;
}
.timeline-year {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  align-self: start;
  width: 74px;
  height: 74px;
  margin-left: 28px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--white);
  color: var(--gold-dark);
  font-family: var(--font-display);
  font-size: 1.35rem;
}
.timeline-item h3 {
  font-size: 2rem;
}
.timeline-item p {
  margin-top: 8px;
  font-size: 0.84rem;
}

/* ===== GUEST-RESPONSE ===== */
.form-card {
  padding: 34px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 15px 40px rgba(31, 28, 23, 0.04);
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 7px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  outline: none;
  background: transparent;
  color: var(--text);
  padding: 12px 0;
  transition: border-color 0.3s ease;
}
.form-group textarea {
  resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}
.form-message {
  min-height: 24px;
  margin-top: 14px;
  text-align: center;
  font-size: 0.75rem;
}
.wish-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}
.wish-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
}
.wish-avatar {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ivory);
  color: var(--gold-dark);
  font-family: var(--font-display);
  font-size: 1.5rem;
}
.wish-card h4 {
  margin-bottom: 3px;
  font-size: 0.82rem;
}
.wish-card p {
  font-size: 0.78rem;
}
.wish-card small {
  color: #aaa49a;
  font-size: 0.65rem;
}

/* ===== GIFT ===== */
.gift-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.gift-card {
  padding: 35px 28px;
  border: 1px solid var(--line);
  background: var(--white);
  text-align: center;
}
.gift-card h3 {
  margin: 15px 0 3px;
  font-family: var(--font-body);
  font-size: 1.5rem;
  letter-spacing: 0.08em;
}
.gift-card p {
  margin-bottom: 20px;
  font-size: 0.75rem;
}
.address-gift {
  margin-top: 20px;
  padding: 28px;
  border: 1px solid var(--line);
  text-align: center;
}
.address-gift h3 {
  margin-bottom: 6px;
  font-size: 1.8rem;
}
.address-gift p {
  font-size: 0.78rem;
}

/* ===== CLOSING ===== */
.closing {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 90vh;
  padding: 100px 0;
  background: linear-gradient(rgba(17, 15, 12, 0.46), rgba(17, 15, 12, 0.62)),
    url("assets/images/closing.jpg") center / cover no-repeat;
  color: var(--white);
}
.closing-content {
  position: relative;
  z-index: 2;
}
.closing h2 {
  margin: 12px 0 25px;
  font-size: clamp(4rem, 12vw, 7rem);
  line-height: 0.85;
}
.closing p {
  color: rgba(255, 255, 255, 0.82);
}

/* ===== GLOBAL / SHARED ===== */
.toast {
  position: fixed;
  z-index: 12000;
  left: 50%;
  bottom: 30px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--text);
  color: var(--white);
  font-size: 0.72rem;
  opacity: 0;
  transform: translate(-50%, 30px);
  pointer-events: none;
  transition: 0.3s ease;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.reveal-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 1.1s ease,
    transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-down {
  opacity: 0;
  transform: translateY(-22px);
  transition: opacity 1.1s ease,
    transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-down.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE / @media (max-width: 820px) ===== */
@media (max-width: 820px) {
  .section {
    padding: 80px 0;
  }
  .couple-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .couple-divider {
    transform: rotate(0deg);
  }
  .event-grid,
  .gift-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 220px;
  }
  .gallery-item.tall {
    grid-row: span 1;
  }
  .gallery-item.wide {
    grid-column: span 2;
  }
}

/* ===== RESPONSIVE / @media (max-width: 560px) ===== */
@media (max-width: 560px) {
  .container,
  .container.narrow {
    width: min(100% - 28px, 1120px);
  }
  .cover {
    padding-inline: 22px;
  }
  .cover-overlay {
    inset: 9px;
  }
  .couple-name {
    font-size: clamp(3.3rem, 18vw, 5.4rem);
  }
  .countdown-grid {
    gap: 7px;
  }
  .countdown-card {
    padding: 20px 4px;
  }
  .countdown-card span {
    font-size: 2.2rem;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 170px;
  }
  .timeline::before {
    left: 31px;
  }
  .timeline-item {
    grid-template-columns: 63px 1fr;
    gap: 20px;
  }
  .timeline-year {
    width: 62px;
    height: 62px;
    margin-left: 0;
    font-size: 1rem;
  }
  .form-card {
    padding: 26px 20px;
  }
  .person-card h3 {
    font-size: 2rem;
  }
}

/* ===== GLOBAL / SHARED ===== */
.reveal:not(.visible), .reveal-up:not(.visible), .reveal-down:not(.visible) {
  opacity: 0;
  transform: translateY(20px);
}
.reveal, .reveal-up, .reveal-down {
  transition: opacity .8s ease, transform .8s cubic-bezier(.22,1,.36,1);
}
.reveal.visible, .reveal-up.visible, .reveal-down.visible {
  opacity: 1;
  transform: none;
}

/* ===== GALLERY ===== */
body.lightbox-open {
  overflow: hidden;
}

/* ===== GLOBAL / SHARED ===== */
:focus-visible {
  outline: 3px solid var(--gold-dark);
  outline-offset: 4px;
}

/* ===== COUPLE ===== */
.person-card strong, .event-card p, .gift-card h3 {
  overflow-wrap: anywhere;
}

/* ===== RESPONSIVE / @media (max-width: 560px) ===== */
@media (max-width: 560px) {
  .section {
    padding: 65px 0;
  }
  .section-heading {
    margin-bottom: 36px;
  }
  .map-frame, .map-frame iframe {
    min-height: 290px;
    height: 290px;
  }
  .gallery-grid {
    gap: 7px;
  }
  .countdown-card span {
    font-size: clamp(1.45rem, 6vw, 2.2rem);
  }
  .countdown-card small {
    font-size: .56rem;
    letter-spacing: .05em;
  }
  .couple-name {
    overflow-wrap: anywhere;
  }
}

/* ===== RESPONSIVE / @media (prefers-reduced-motion: reduce) ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .reveal-up, .reveal-down {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ===== GLOBAL / SHARED ===== */
:root {
  --invite-width: 480px;
}
html {
  background: #eae5dc;
}
body {
  width: 100%;
  max-width: var(--invite-width);
  min-height: 100svh;
  margin-inline: auto;
  background: var(--white);
}
#mainContent {
  width: 100%;
  overflow: clip;
}
.container, .container.narrow {
  width: calc(100% - 40px);
  max-width: 420px;
}
.section {
  padding: 72px 0;
}
.section-heading {
  margin-bottom: 32px;
}
.section-heading h2 {
  font-size: clamp(2.5rem, 11vw, 3.75rem);
}
.eyebrow {
  font-size: .66rem;
  letter-spacing: .22em;
}
.lead {
  font-size: .86rem;
  line-height: 1.85;
}

/* ===== COVER ===== */
.cover {
  width: min(100%, var(--invite-width));
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  min-height: 100svh;
}
.cover-content {
  padding-inline: 5px;
}

/* ===== COUPLE ===== */
.couple-name {
  font-size: clamp(3.5rem, 16vw, 5.4rem);
  line-height: .95;
  overflow-wrap: anywhere;
}

/* ===== GUEST-RESPONSE ===== */
.guest-box {
  margin-top: 28px;
}

/* ===== HOME ===== */
.hero {
  min-height: 78svh;
  padding-block: 100px;
}

/* ===== GLOBAL / SHARED ===== */
.display-name {
  font-size: clamp(3.8rem, 16vw, 6rem);
  line-height: .92;
}

/* ===== COUNTDOWN ===== */
.countdown-grid {
  gap: 7px;
  margin-block: 30px 28px;
}
.countdown-card {
  padding: 20px 3px;
}
.countdown-card span {
  font-size: clamp(1.55rem, 7vw, 2.45rem);
}
.countdown-card small {
  font-size: .58rem;
  letter-spacing: .04em;
}

/* ===== COUPLE ===== */
.couple-grid {
  grid-template-columns: 1fr;
  gap: 28px;
}
.person-photo {
  width: min(290px, 100%);
  margin-bottom: 20px;
}
.person-card h3 {
  font-size: clamp(2rem, 9vw, 2.7rem);
}
.couple-divider {
  font-size: 3rem;
  line-height: 1;
}

/* ===== EVENT ===== */
.event-grid, .gift-grid {
  grid-template-columns: 1fr;
  gap: 18px;
}

/* ===== LOCATION ===== */
.location-card {
  box-shadow: 0 8px 28px rgba(31,28,23,.06);
}
.map-frame, .map-frame iframe {
  height: 300px;
  min-height: 300px;
}
.location-info {
  padding: 26px 18px 30px;
}

/* ===== GALLERY ===== */
.gallery-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: clamp(135px, 40vw, 190px);
  gap: 8px;
}
.gallery-item.tall {
  grid-row: span 2;
}
.gallery-item.wide {
  grid-column: span 2;
}

/* ===== STORY ===== */
.timeline {
  margin-top: 34px;
}
.timeline::before {
  left: 30px;
}
.timeline-item {
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 17px;
  padding-bottom: 34px;
}
.timeline-year {
  margin-left: 0;
  width: 60px;
  height: 60px;
  font-size: 1.02rem;
}
.timeline-item h3 {
  font-size: 1.8rem;
  line-height: 1.1;
}

/* ===== GUEST-RESPONSE ===== */
.form-card {
  padding: 27px 20px;
}
.wish-card {
  grid-template-columns: 42px minmax(0,1fr);
  gap: 12px;
  padding: 17px 13px;
}
.wish-avatar {
  width: 42px;
  height: 42px;
}

/* ===== GIFT ===== */
.gift-card {
  padding: 30px 18px;
}
.gift-card h3 {
  font-size: 1.15rem;
  letter-spacing: .04em;
}

/* ===== CLOSING ===== */
.closing {
  min-height: 82svh;
  padding-block: 110px;
}
.closing h2 {
  font-size: clamp(3.8rem, 16vw, 6rem);
}

/* ===== MUSIC ===== */
.music-toggle {
  right: max(16px, calc((100vw - var(--invite-width)) / 2 + 16px));
  bottom: 18px;
}

/* ===== GALLERY ===== */
.lightbox {
  width: min(100%, var(--invite-width));
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  padding: 20px;
}

/* ===== GLOBAL / SHARED ===== */
.toast {
  max-width: calc(100vw - 32px);
  text-align: center;
}

/* ===== RESPONSIVE / @media (min-width: 481px) ===== */
@media (min-width: 481px) {
  body {
    box-shadow: 0 0 75px rgba(44, 35, 21, .12);
  }
  .cover {
    box-shadow: 0 0 75px rgba(44, 35, 21, .12);
  }
  .container, .container.narrow {
    width: calc(100% - 50px);
  }
  .gallery-grid {
    grid-auto-rows: 190px;
  }
}

/* ===== RESPONSIVE / @media (max-width: 350px) ===== */
@media (max-width: 350px) {
  .container, .container.narrow {
    width: calc(100% - 28px);
  }
  .section {
    padding-block: 60px;
  }
  .countdown-card {
    padding: 17px 1px;
  }
  .countdown-card span {
    font-size: 1.45rem;
  }
  .countdown-card small {
    font-size: .52rem;
  }
  .couple-name {
    font-size: 3.2rem;
  }
}

/* ===== COVER ===== */
.cover-content {
  width: 100%;
  height: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  padding: 40px 22px 110px;
}
.cover .eyebrow {
  margin-bottom: 8px;
  font-size: 0.68rem;
  letter-spacing: 0.24em;
}
.cover .couple-name {
  margin: 0;
  font-size: clamp(3.1rem, 11vw, 4.7rem);
  line-height: 0.92;
  text-align: center;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.18);
}
.cover .wedding-date {
  margin-top: 14px;
  margin-bottom: 24px;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
}
.cover .guest-box {
  width: 100%;
  max-width: 340px;
  margin: 0 0 20px;
  padding: 14px 12px;
}
.cover #openInvitation {
  min-height: 48px;
  padding: 12px 26px;
}

/* ===== RESPONSIVE / @media (max-width: 380px) ===== */
@media (max-width: 380px) {
  .cover-content {
    padding: 30px 16px 85px;
  }
  .cover .couple-name {
    font-size: 2.8rem;
  }
  .cover .wedding-date {
    margin-bottom: 18px;
    font-size: 0.66rem;
  }
  .cover .guest-box {
    margin-bottom: 16px;
    padding: 12px 10px;
  }
}

/* ===== COVER ===== */
.cover {
  position: fixed;
  inset: auto;
  top: 0;
  left: 50%;
  width: min(100%, 480px);
  height: 100svh;
  min-height: 0;
  transform: translate3d(-50%, 0, 0);
  opacity: 1;
  visibility: visible;
  transition: none;
  overflow: hidden;
  z-index: 9999;
}

/* ===== GLOBAL / SHARED ===== */
:root {
  --font-script: "Tangerine", cursive;
}

/* ===== COVER ===== */
.cover .couple-name {
  font-family: var(--font-script);
  font-size: clamp(4.5rem, 19vw, 6.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  overflow-wrap: normal;
}
.cover .couple-name span {
  font-family: var(--font-script);
  font-size: 0.8em;
  font-weight: 400;
}

/* ===== HOME ===== */
.hero .display-name {
  font-family: var(--font-script);
  font-size: clamp(5rem, 20vw, 7rem);
  font-weight: 700;
  line-height: 1.1;
}

/* ===== COUNTDOWN ===== */
.section-heading h2,
#countdown h2 {
  font-family: var(--font-script);
  font-size: clamp(4rem, 16vw, 5.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0;
}

/* ===== CLOSING ===== */
.closing h2 {
  font-family: var(--font-script);
  font-size: clamp(5rem, 20vw, 7rem);
  font-weight: 700;
  line-height: 1.1;
}

/* ===== RESPONSIVE / @media (max-width: 380px) ===== */
@media (max-width: 380px) {
  .cover .couple-name {
    font-size: 4.3rem;
  }
  .hero .display-name,
  .closing h2 {
    font-size: 4.8rem;
  }
  .section-heading h2,
  #countdown h2 {
    font-size: 3.8rem;
  }
}

/* ===== COVER ===== */
.cover .couple-name {
  font-family: "Tangerine", cursive;
  font-size: clamp(3.2rem, 12vw, 4.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0;
  margin: 0;
  text-align: center;
}
.cover .couple-name span {
  font-size: 0.8em;
  font-weight: 400;
}

/* ===== RESPONSIVE / @media (max-width: 380px) ===== */
@media (max-width: 380px) {
  .cover .couple-name {
    font-size: 3.1rem;
  }
}

/* ===== COVER ===== */
.cover .cover-content {
  width: 100%;
  height: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 20px 18px 38px;
  text-align: center;
}
.cover .couple-name {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(250px, 100%);
  margin: 0 auto;
  font-family: "Tangerine", cursive;
  font-size: clamp(3.2rem, 12vw, 4.2rem);
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: 0;
}
.cover .couple-name .name-first {
  display: block;
  align-self: flex-start;
  font-family: inherit;
  font-size: 1em;
  font-weight: 700;
  font-style: normal;
  color: #ffffff;
  margin-left: 10px;
}
.cover .couple-name .name-ampersand {
  display: block;
  align-self: center;
  font-family: inherit;
  font-size: 0.65em;
  font-weight: 400;
  color: #e2cfaa;
  margin: -2px 0;
}
.cover .couple-name .name-second {
  display: block;
  align-self: flex-end;
  font-family: inherit;
  font-size: 1em;
  font-weight: 700;
  font-style: normal;
  color: #ffffff;
  margin-right: 10px;
}
.cover .wedding-date {
  margin-top: 12px;
  margin-bottom: 14px;
}
.cover .guest-box {
  width: 100%;
  max-width: 340px;
  margin: 0 0 14px;
  padding: 10px 12px;
}
.cover #openInvitation {
  flex-shrink: 0;
  min-height: 46px;
}

/* ===== RESPONSIVE / @media (max-height: 680px) ===== */
@media (max-height: 680px) {
  .cover .cover-content {
    padding-bottom: 18px;
  }
  .cover .couple-name {
    font-size: 3.1rem;
  }
  .cover .guest-box {
    padding: 7px 10px;
    margin-bottom: 10px;
  }
}

/* ===== COUNTDOWN ===== */
.section-heading h2,
#countdown h2 {
  font-family: "Tangerine", cursive;
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0;
  text-align: center;
  overflow-wrap: break-word;
}
#countdown h2 {
  font-size: 3.4rem;
}

/* ===== COUPLE ===== */
#couple .section-heading h2 {
  font-size: 3.5rem;
}

/* ===== EVENT ===== */
#event .section-heading h2 {
  font-size: 3.3rem;
}

/* ===== LOCATION ===== */
#location .section-heading h2 {
  font-size: 3.4rem;
}

/* ===== GALLERY ===== */
#gallery .section-heading h2 {
  font-size: 3.4rem;
}

/* ===== STORY ===== */
#story .section-heading h2 {
  font-size: 3.5rem;
}

/* ===== GLOBAL / SHARED ===== */
#rsvp .section-heading h2 {
  font-size: 3rem;
}
#wishes .section-heading h2 {
  font-size: 3.4rem;
}

/* ===== GIFT ===== */
#gift .section-heading h2 {
  font-size: 3.4rem;
}

/* ===== RESPONSIVE / @media (max-width: 360px) ===== */
@media (max-width: 360px) {
  .section-heading h2,
  #countdown h2 {
    font-size: 3rem;
  }
  #couple .section-heading h2,
  #story .section-heading h2 {
    font-size: 3.1rem;
  }
  #rsvp .section-heading h2 {
    font-size: 2.7rem;
  }
}

/* ===== HOME ===== */
.hero {
  position: relative;
  width: 100%;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
      rgba(0, 0, 0, 0.30),
      rgba(0, 0, 0, 0.45)
    ),
    url("assets/images/hero.jpg")
    center center / cover no-repeat;
  text-align: center;
  overflow: hidden;
}
.hero .container {
  position: relative;
  z-index: 2;
}
.hero .eyebrow {
  color: #ffffff;
}
.hero .display-name {
  color: #ffffff;
  text-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
}
.hero .display-name span {
  color: #e2cfaa;
}
.hero .ornament {
  color: #e2cfaa;
}
.hero .lead {
  color: rgba(255, 255, 255, 0.95);
  max-width: 350px;
  margin: 22px auto 0;
  line-height: 1.9;
}

/* ===== RESPONSIVE / @media (max-width: 380px) ===== */
@media (max-width: 380px) {
  .hero {
    min-height: 100svh;
    padding: 70px 0;
    background-position: center center;
  }
  .hero .lead {
    font-size: 0.8rem;
  }
}

/* ===== COUPLE ===== */
.person-photo {
  position: relative;
  width: min(290px, 100%);
  aspect-ratio: 4 / 5;
  margin: 0 auto 26px;
  padding: 10px;
  background: #fffdf9;
  border: 1px solid #bba077;
  border-radius: 0;
  box-shadow: 0 12px 32px rgba(50, 40, 25, 0.10),
    0 3px 8px rgba(50, 40, 25, 0.05);
  overflow: hidden;
  transition: transform 0.4s ease,
    box-shadow 0.4s ease;
}
.person-photo::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(170, 139, 91, 0.55);
  border-radius: 0;
  pointer-events: none;
  z-index: 2;
}
.person-photo::after {
  content: none;
}
.person-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  transition: transform 0.6s ease;
}

/* ===== RESPONSIVE / @media (hover: hover) ===== */
@media (hover: hover) {
  .person-card:hover .person-photo {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(50, 40, 25, 0.14);
  }
}

/* ===== RESPONSIVE / @media (max-width: 380px) ===== */
@media (max-width: 380px) {
  .person-photo {
    width: min(265px, 100%);
    padding: 8px;
  }
  .person-photo::before {
    inset: 4px;
  }
}

/* ===== RESPONSIVE / @media (prefers-reduced-motion: reduce) ===== */
@media (prefers-reduced-motion: reduce) {
  .person-photo,
  .person-photo img {
    transition: none;
  }
}

/* ===== COUPLE ===== */
#couple {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: radial-gradient(
      ellipse at 10% 12%,
      rgba(212, 189, 151, 0.22),
      transparent 45%
    ),
    radial-gradient(
      ellipse at 90% 85%,
      rgba(202, 177, 136, 0.20),
      transparent 45%
    ),
    linear-gradient(
      180deg,
      #fffdf9 0%,
      #f7f1e8 52%,
      #fffdf9 100%
    );
}
#couple::before,
#couple::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(195, 163, 112, 0.16),
    transparent 70%
  );
}
#couple::before {
  top: -85px;
  right: -95px;
}
#couple::after {
  bottom: -95px;
  left: -90px;
}
#couple > .container {
  position: relative;
  z-index: 1;
}
#couple {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: radial-gradient(
      ellipse at 12% 15%,
      rgba(212, 189, 151, 0.14),
      transparent 40%
    ),
    radial-gradient(
      ellipse at 88% 82%,
      rgba(202, 177, 136, 0.12),
      transparent 40%
    ),
    linear-gradient(
      180deg,
      #fffdf9 0%,
      #f8f3ec 52%,
      #fffdf9 100%
    );
}
#couple > .container {
  position: relative;
  z-index: 2;
}
#couple::before,
#couple::after {
  content: "";
  position: absolute;
  z-index: 1;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  opacity: 0.34;
}
#couple::before {
  top: -8px;
  right: -10px;
  width: 180px;
  height: 220px;
  background-image: url("assets/images/ornament-couple-top-right.png");
}
#couple::after {
  bottom: -10px;
  left: -10px;
  width: 185px;
  height: 215px;
  background-image: url("assets/images/ornament-couple-bottom-left.png");
}
#couple .section-heading,
#couple .couple-grid {
  position: relative;
  z-index: 2;
}

/* ===== RESPONSIVE / @media (max-width: 380px) ===== */
@media (max-width: 380px) {
  #couple::before {
    width: 130px;
    height: 165px;
    top: -5px;
    right: -8px;
    opacity: 0.28;
  }
  #couple::after {
    width: 135px;
    height: 160px;
    bottom: -8px;
    left: -8px;
    opacity: 0.28;
  }
}

/* ===== COUPLE ===== */
#couple::before {
  width: 430px;
  height: 540px;
  top: -45px;
  right: -75px;
  background-size: contain;
  background-position: top right;
  opacity: 0.65;
}
#couple::after {
  width: 430px;
  height: 540px;
  bottom: -45px;
  left: -75px;
  background-size: contain;
  background-position: bottom left;
  opacity: 0.65;
}

/* ===== RESPONSIVE / @media (max-width: 380px) ===== */
@media (max-width: 380px) {
  #couple::before,
  #couple::after {
    width: 330px;
    height: 420px;
    opacity: 0.55;
  }
}

/* ===== COUPLE ===== */
#couple::before,
#couple::after {
  opacity: 0.30;
}

/* ===== RESPONSIVE / @media (max-width: 380px) ===== */
@media (max-width: 380px) {
  #couple::before,
  #couple::after {
    opacity: 0.25;
  }
}

/* ===== COUNTDOWN ===== */
#countdown {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: radial-gradient(
      ellipse at 50% 0%,
      rgba(255, 255, 255, 0.85),
      transparent 65%
    ),
    linear-gradient(
      180deg,
      #fffdf9 0%,
      #f7f1e8 45%,
      #f5eee3 75%,
      #fffdf9 100%
    );
  border-top: 1px solid rgba(170, 139, 91, 0.10);
  border-bottom: 1px solid rgba(170, 139, 91, 0.10);
}
#countdown .container {
  position: relative;
  z-index: 1;
}
#countdown .countdown-card {
  background: rgba(255, 253, 249, 0.88);
  border: 1px solid rgba(170, 139, 91, 0.28);
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(86, 65, 37, 0.045);
  backdrop-filter: blur(4px);
}
#countdown .countdown-card span {
  color: #80673f;
}
#countdown .countdown-card small {
  color: #92806a;
}
#countdown h2 {
  color: #40382e;
}
#countdown .btn-outline {
  background: rgba(255, 253, 249, 0.60);
  border-color: #aa8b5b;
  color: #80673f;
}
#countdown .btn-outline:hover {
  background: #aa8b5b;
  color: #ffffff;
}
#countdown {
  border-bottom: none;
  background: radial-gradient(
      ellipse at 50% 15%,
      rgba(255, 255, 255, 0.8),
      transparent 65%
    ),
    linear-gradient(
      180deg,
      #fffdf9 0%,
      #f7f1e8 45%,
      #f9f5ee 75%,
      #fffdf9 100%
    );
}

/* ===== COUPLE ===== */
#couple {
  border-top: none;
  background: radial-gradient(
      ellipse at 12% 18%,
      rgba(212, 189, 151, 0.12),
      transparent 45%
    ),
    radial-gradient(
      ellipse at 88% 82%,
      rgba(202, 177, 136, 0.12),
      transparent 45%
    ),
    linear-gradient(
      180deg,
      #fffdf9 0%,
      #f8f3ec 50%,
      #fffdf9 100%
    );
}
#couple::before {
  top: -55px;
  right: -110px;
  opacity: 0.30;
}
#couple::after {
  bottom: -45px;
  left: -90px;
  opacity: 0.30;
}

/* ===== RESPONSIVE / @media (max-width: 380px) ===== */
@media (max-width: 380px) {
  #couple::before {
    right: -90px;
    opacity: 0.25;
  }
  #couple::after {
    left: -70px;
    opacity: 0.25;
  }
}

/* ===== COUNTDOWN ===== */
#countdown h2 {
  font-family: "Tangerine", cursive;
  font-size: clamp(2.8rem, 10vw, 3.2rem);
  line-height: 1.2;
  max-width: 100%;
  margin-inline: auto;
  text-align: center;
  overflow-wrap: normal;
}

/* ===== COUPLE ===== */
#couple .couple-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 12px auto;
  text-align: center;
  font-family: "Tangerine", cursive;
  font-size: 4.5rem;
  font-weight: 400;
  line-height: 1;
  color: #aa8b5b;
  transform: none;
}

/* ===== RESPONSIVE / @media (max-width: 380px) ===== */
@media (max-width: 380px) {
  #couple .couple-divider {
    font-size: 4rem;
    margin: 8px auto;
  }
}

/* ===== EVENT ===== */
#event {
  background: linear-gradient(
    180deg,
    #fffdf9 0%,
    #f7f1e8 50%,
    #fffdf9 100%
  );
}
#event .event-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}
#event .event-card {
  position: relative;
  width: 100%;
  padding: 48px 24px;
  background: rgba(255, 253, 249, 0.85);
  border: 1px solid #c7b18c;
  border-radius: 0;
  box-shadow: 0 12px 35px rgba(80, 60, 35, 0.06);
  text-align: center;
}
#event .event-card::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(170, 139, 91, 0.35);
  pointer-events: none;
}
#event .event-card h3 {
  font-family: "Tangerine", cursive;
  font-size: 3.7rem;
  font-weight: 700;
  line-height: 1.1;
  color: #6e5840;
  margin: 12px 0 28px;
}
#event .event-main-date {
  font-size: 0.86rem;
  font-weight: 600;
  color: #80673f;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
#event .event-divider-line {
  width: 70%;
  height: 1px;
  background: #d8c7ac;
  margin: 25px auto;
}
#event .event-info {
  font-size: 0.88rem;
  color: #6e6253;
  margin-bottom: 18px;
}
#event .event-place {
  font-size: 0.82rem;
  line-height: 1.9;
  color: #77736a;
  margin-bottom: 28px;
}
#event .event-place strong {
  color: #80673f;
  font-weight: 600;
}
#event .event-location-btn {
  position: relative;
  z-index: 1;
  min-width: 160px;
  font-size: 0.7rem;
}

/* ===== RESPONSIVE / @media (max-width: 380px) ===== */
@media (max-width: 380px) {
  #event .event-card {
    padding: 38px 18px;
  }
  #event .event-card h3 {
    font-size: 3.2rem;
  }
}

/* ===== EVENT ===== */
#event .event-oval-frame {
  padding: 0 24px 85px;
  overflow: hidden;
  border-radius: 48% 48% 16px 16px / 13% 13% 2% 2%;
}
#event .event-oval-frame::before {
  inset: 8px;
  border-radius: inherit;
  z-index: 3;
}
#event .event-photo {
  position: relative;
  width: calc(100% + 48px);
  height: 390px;
  margin: 0 -24px 32px;
  overflow: hidden;
  border-radius: 48% 48% 0 0 / 28% 28% 0 0;
}
#event .event-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
#event .event-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 55%,
    rgba(250, 245, 237, 0.25) 75%,
    #faf5ed 100%
  );
  pointer-events: none;
}
#event .event-photo + .event-oval-content {
  padding-top: 12px;
}

/* ===== RESPONSIVE / @media (max-width: 380px) ===== */
@media (max-width: 380px) {
  #event .event-oval-frame {
    padding: 0 20px 75px;
  }
  #event .event-photo {
    width: calc(100% + 40px);
    height: 330px;
    margin: 0 -20px 28px;
  }
}

/* ===== EVENT ===== */
#event {
  background: linear-gradient(
    180deg,
    #fffdf9 0%,
    #f6f0e7 50%,
    #fffdf9 100%
  );
}
#event .event-oval-frame {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  padding: 14px 14px 26px;
  background: #8e7a66;
  border-radius: 220px 220px 26px 26px;
  box-shadow: 0 18px 38px rgba(70, 50, 30, 0.10);
}
#event .event-oval-frame::before {
  content: "";
  position: absolute;
  inset: 14px;
  z-index: 0;
  background: #fffaf3;
  border-radius: 205px 205px 18px 18px;
}
#event .event-oval-frame > * {
  position: relative;
  z-index: 1;
}
#event .event-photo {
  width: 100%;
  height: 395px;
  margin: 0 0 30px;
  overflow: hidden;
  border-radius: 190px 190px 0 0;
  background: #e9dfd2;
}
#event .event-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
#event .event-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    transparent 58%,
    rgba(255, 250, 243, 0.28) 78%,
    #fffaf3 100%
  );
}
#event .event-oval-content {
  padding: 0 18px;
  text-align: center;
}
#event .event-oval-content .eyebrow {
  color: #b09163;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  margin-bottom: 10px;
}
#event .event-oval-content h3 {
  margin: 0 0 14px;
  font-family: "Tangerine", cursive;
  font-size: 3.3rem;
  font-weight: 700;
  line-height: 1;
  color: #5f4d3b;
}
#event .event-main-date {
  margin-bottom: 18px;
  font-size: 0.90rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8a6f4b;
}
#event .event-divider-line {
  width: 72%;
  height: 1px;
  margin: 0 auto 18px;
  background: rgba(176, 145, 99, 0.28);
}
#event .event-info {
  margin-bottom: 14px;
  font-size: 0.92rem;
  color: #746859;
  line-height: 1.8;
}
#event .event-place {
  margin-bottom: 20px;
  font-size: 0.88rem;
  color: #746859;
  line-height: 1.85;
}
#event .event-place strong {
  color: #8a6f4b;
  font-weight: 600;
}
#event .event-oval-separator {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 28px 18px;
  color: #b09163;
}
#event .event-oval-separator::before,
#event .event-oval-separator::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(176, 145, 99, 0.28);
}
#event .event-location-btn {
  margin-top: 8px;
  min-width: 150px;
  background: rgba(255, 250, 243, 0.85);
  border-color: rgba(176, 145, 99, 0.55);
  color: #7c6340;
}
#event .event-location-btn:hover {
  background: #aa8b5b;
  color: #ffffff;
}

/* ===== RESPONSIVE / @media (max-width: 380px) ===== */
@media (max-width: 380px) {
  #event .event-oval-frame {
    padding: 12px 12px 22px;
    border-radius: 190px 190px 22px 22px;
  }
  #event .event-oval-frame::before {
    inset: 12px;
    border-radius: 176px 176px 15px 15px;
  }
  #event .event-photo {
    height: 340px;
    border-radius: 165px 165px 0 0;
  }
  #event .event-oval-content {
    padding: 0 12px;
  }
  #event .event-oval-content h3 {
    font-size: 2.9rem;
  }
}

/* ===== EVENT ===== */
#event {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    #665548 0%,
    #514338 35%,
    #493b31 70%,
    #665548 100%
  );
}
#event > .container > .section-heading .eyebrow {
  color: #d8bd95;
}
#event > .container > .section-heading h2 {
  color: #fff4e5;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.12);
}
#event .event-oval-frame {
  background: #9a8067;
  box-shadow: 0 18px 45px rgba(18, 12, 8, 0.22);
}
#event .event-oval-frame::before {
  background: #fffaf3;
}
#event {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
#event::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 100%;
  max-width: 480px;
  height: 400px;
  background-image: url("assets/images/ornament-event.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center bottom;
  transform: translateX(-50%);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}
#event > .container {
  position: relative;
  z-index: 1;
}

/* ===== RESPONSIVE / @media (max-width: 380px) ===== */
@media (max-width: 380px) {
  #event::after {
    height: 300px;
    opacity: 0.28;
  }
}

/* ===== EVENT ===== */
#event::after {
  bottom: -60px;
  left: 50%;
  width: 150%;
  max-width: none;
  height: 650px;
  background-size: contain;
  background-position: center bottom;
  transform: translateX(-50%);
  opacity: 0.40;
}

/* ===== RESPONSIVE / @media (max-width: 380px) ===== */
@media (max-width: 380px) {
  #event::after {
    bottom: -40px;
    width: 160%;
    height: 520px;
    opacity: 0.35;
  }
}

/* ===== EVENT ===== */
#event::after {
  bottom: -60px;
  left: 50%;
  width: 150%;
  max-width: none;
  height: 650px;
  background-size: contain;
  background-position: center bottom;
  background-repeat: no-repeat;
  transform: translateX(-50%);
  opacity: 0.55;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.15) 20%,
    rgba(0, 0, 0, 0.45) 45%,
    rgba(0, 0, 0, 0.8) 70%,
    black 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.15) 20%,
    rgba(0, 0, 0, 0.45) 45%,
    rgba(0, 0, 0, 0.8) 70%,
    black 100%
  );
  pointer-events: none;
}

/* ===== RESPONSIVE / @media (max-width: 380px) ===== */
@media (max-width: 380px) {
  #event::after {
    bottom: -40px;
    width: 160%;
    height: 520px;
    opacity: 0.50;
  }
}

/* ===== EVENT ===== */
#event {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(
    to bottom,
    #a99a89 0%,
    #857363 3%,
    #665548 7%,
    #514338 13%,
    #493b31 75%,
    #514338 100%
  );
}

/* ===== LOCATION ===== */
#location {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: radial-gradient(
      ellipse at 15% 75%,
      rgba(204, 179, 143, 0.12),
      transparent 50%
    ),
    linear-gradient(
      180deg,
      #514338 0%,
      #927d6a 3%,
      #d8c9b7 7%,
      #f8f3eb 13%,
      #fffdf9 55%,
      #f8f3eb 100%
    );
}
#location > .container {
  position: relative;
  z-index: 1;
}
#location .section-heading .eyebrow {
  color: #aa8b5b;
}
#location .section-heading h2 {
  color: #514338;
}
#location .location-card {
  overflow: hidden;
  background: #fffdf9;
  border: 1px solid rgba(170, 139, 91, 0.45);
  border-radius: 6px;
  box-shadow: 0 14px 35px rgba(73, 59, 49, 0.08);
}
#location .map-frame {
  overflow: hidden;
  background: #eee8df;
  border-bottom: 1px solid
    rgba(170, 139, 91, 0.25);
}
#location .map-frame iframe {
  filter: grayscale(0.35) saturate(0.75);
}
#location .location-info {
  padding: 32px 22px 36px;
  background: linear-gradient(
    180deg,
    #fffdf9 0%,
    #faf5ed 100%
  );
  text-align: center;
}
#location .location-info h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.2;
  color: #514338;
}
#location .location-info p {
  color: #817466;
  font-size: 0.8rem;
  line-height: 1.8;
  margin: 12px 0 24px;
}
#location .location-info .btn {
  background: #aa8b5b;
  border: 1px solid #aa8b5b;
  color: #ffffff;
  min-height: 46px;
  padding: 12px 22px;
  border-radius: 999px;
}
#location .location-info .btn:hover {
  background: #80673f;
  border-color: #80673f;
}

/* ===== RESPONSIVE / @media (max-width: 380px) ===== */
@media (max-width: 380px) {
  #location .location-info {
    padding: 26px 16px 30px;
  }
  #location .location-info h3 {
    font-size: 1.75rem;
  }
  #location .location-info p {
    font-size: 0.75rem;
  }
}

/* ===== GALLERY ===== */
#gallery .gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: auto;
  gap: 10px;
}
#gallery .gallery-item,
#gallery .gallery-item.tall,
#gallery .gallery-item.wide,
#gallery .gallery-item:nth-child(n) {
  grid-column: auto;
  grid-row: auto;
  aspect-ratio: 4 / 5;
}
#gallery .gallery-item:nth-child(3),
#gallery .gallery-item:nth-child(6) {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
}
#gallery .gallery-item {
  padding: 5px;
  background: #fffdf9;
  border: 1px solid rgba(170,139,91,0.35);
  border-radius: 3px;
  overflow: hidden;
}
#gallery .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
#gallery .gallery-video {
  margin-top: 55px;
  text-align: center;
}
#gallery .gallery-video h3 {
  font-family: "Tangerine", cursive;
  font-size: 3.3rem;
  font-weight: 700;
  line-height: 1.15;
  color: #514338;
  margin: 8px 0 24px;
}
#gallery .video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 6px;
  background: #fffdf9;
  border: 1px solid rgba(170,139,91,0.5);
  border-radius: 4px;
  box-shadow: 0 12px 30px rgba(73,59,49,0.09);
}
#gallery .video-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
#gallery .video-caption {
  margin: 18px auto 0;
  max-width: 320px;
  color: #817466;
  font-size: 0.75rem;
  font-style: italic;
  line-height: 1.8;
}

/* ===== RESPONSIVE / @media (max-width: 380px) ===== */
@media (max-width: 380px) {
  #gallery .gallery-grid {
    gap: 7px;
  }
  #gallery .gallery-video {
    margin-top: 42px;
  }
  #gallery .gallery-video h3 {
    font-size: 2.8rem;
  }
}

/* ===== GALLERY ===== */
#gallery {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: radial-gradient(
      ellipse at 90% 20%,
      rgba(195, 167, 127, 0.08),
      transparent 55%
    ),

    
    radial-gradient(
      ellipse at 10% 75%,
      rgba(198, 172, 139, 0.07),
      transparent 50%
    ),

    
    linear-gradient(
      180deg,
      #fffdf9 0%,
      #faf6f0 25%,
      #f5ede3 52%,
      #faf6f0 78%,
      #fffdf9 100%
    );
}
#gallery .gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  grid-auto-rows: auto;
}
#gallery .gallery-item,
#gallery .gallery-item:nth-child(n),
#gallery .gallery-item.tall,
#gallery .gallery-item.wide {
  grid-column: auto;
  grid-row: auto;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  padding: 5px;
  overflow: hidden;
  background: #fffdf9;
  border: 1px solid rgba(170, 139, 91, 0.3);
  border-radius: 3px;
}
#gallery .gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
#gallery .video-frame {
  aspect-ratio: 16 / 9;
}

/* ===== RESPONSIVE / @media (max-width: 380px) ===== */
@media (max-width: 380px) {
  #gallery .gallery-grid {
    gap: 8px;
  }
}

/* ===== GALLERY ===== */
#gallery .gallery-item {
  border-radius: 12px;
  overflow: hidden;
}
#gallery .gallery-item img {
  border-radius: 8px;
}
#gallery .video-frame {
  border-radius: 12px;
  overflow: hidden;
}
#gallery .video-frame iframe {
  border-radius: 8px;
}
#gallery .gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  grid-auto-rows: auto;
}
#gallery .gallery-item,
#gallery .gallery-item:nth-child(n),
#gallery .gallery-item.tall,
#gallery .gallery-item.wide {
  grid-column: auto;
  grid-row: auto;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  padding: 5px;
  overflow: hidden;
  background: #fffdf9;
  border: 1px solid rgba(170, 139, 91, 0.3);
  border-radius: 3px;
}
#gallery .gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
#gallery .video-frame {
  aspect-ratio: 16 / 9;
}

/* ===== RESPONSIVE / @media (max-width: 380px) ===== */
@media (max-width: 380px) {
  #gallery .gallery-grid {
    gap: 8px;
  }
}

/* ===== GALLERY ===== */
#gallery .gallery-item {
  border-radius: 12px;
  overflow: hidden;
}
#gallery .gallery-item img {
  border-radius: 8px;
}
#gallery .video-frame {
  border-radius: 12px;
  overflow: hidden;
}
#gallery .video-frame iframe {
  border-radius: 8px;
}
#gallery .gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: auto;
  gap: 10px;
}
#gallery .gallery-grid > .gallery-item {
  grid-column: auto;
  grid-row: auto;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  min-width: 0;
  padding: 5px;
  overflow: hidden;
  background: #fffdf9;
  border: 1px solid rgba(170, 139, 91, 0.3);
  border-radius: 12px;
}
#gallery .gallery-grid > .gallery-item:nth-child(7) {
  grid-column: 1 / -1;
  grid-row: auto;
  aspect-ratio: 16 / 9;
}
#gallery .gallery-grid > .gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
}
#gallery .gallery-video {
  margin-top: 45px;
}

/* ===== GUEST-RESPONSE ===== */
#guest-response {
  position: relative;
  overflow: hidden;
  background: radial-gradient(
      ellipse at 85% 20%,
      rgba(196, 168, 126, 0.10),
      transparent 50%
    ),
    linear-gradient(
      180deg,
      #fffdf9 0%,
      #f8f3ec 50%,
      #fffdf9 100%
    );
}
#guest-response .section-heading h2 {
  color: #514338;
}
#guest-response .section-heading p {
  color: #817466;
  line-height: 1.8;
}
#guest-response .form-card {
  padding: 28px 22px;
  background: #fffdf9;
  border: 1px solid rgba(170,139,91,0.35);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(73,59,49,0.06);
}
#guest-response .form-group {
  margin-bottom: 22px;
}
#guest-response .form-group label {
  color: #514338;
}
#guest-response input,
#guest-response select,
#guest-response textarea {
  color: #514338;
  background: transparent;
}
#guest-response .btn-primary {
  width: 100%;
  margin-top: 12px;
  background: #aa8b5b;
  color: #fff;
  border-radius: 999px;
}
#guest-response .guest-wishes {
  margin-top: 65px;
}
#guest-response .wish-card {
  background: rgba(255,253,249,0.92);
  border: 1px solid rgba(170,139,91,0.25);
  border-radius: 12px;
}

/* ===== RESPONSIVE / @media (max-width: 380px) ===== */
@media (max-width: 380px) {
  #guest-response .form-card {
    padding: 24px 17px;
  }
  #guest-response .guest-wishes {
    margin-top: 50px;
  }
}

/* ===== GUEST-RESPONSE ===== */
#guest-response .wish-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 540px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 4px 8px 4px 2px;
  scroll-behavior: smooth;
  overscroll-behavior-y: contain;
  scrollbar-width: thin;
  scrollbar-color: #c5aa84 transparent;
}
#guest-response .wish-list::-webkit-scrollbar {
  width: 4px;
}
#guest-response .wish-list::-webkit-scrollbar-thumb {
  background: #c5aa84;
  border-radius: 10px;
}
#guest-response .wish-card {
  flex-shrink: 0;
  background: #fffdf9;
  border: 1px solid rgba(170, 139, 91, 0.28);
  border-radius: 12px;
  padding: 16px;
}

/* ===== RESPONSIVE / @media (max-width: 380px) ===== */
@media (max-width: 380px) {
  #guest-response .wish-list {
    max-height: 480px;
    gap: 10px;
  }
  #guest-response .wish-card {
    padding: 13px;
  }
}

/* ===== GUEST-RESPONSE ===== */
#guest-response .wish-list {
  max-height: 540px;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
}
#guest-response .wish-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
}
#guest-response .wish-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #f0e6d7;
}
#guest-response .wish-card h4 {
  color: #514338;
  font-size: 0.83rem;
  margin-bottom: 2px;
}
#guest-response .wish-card small {
  display: block;
  color: #aa8b5b;
  font-size: 0.66rem;
  margin-bottom: 8px;
}
#guest-response .wish-card p {
  font-size: 0.77rem;
  color: #817466;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
#guest-response .wish-empty {
  text-align: center;
  color: #928575;
  font-size: 0.78rem;
  padding: 26px 10px;
}
#guest-response #guestCount:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
#guest-response .form-message {
  text-align: center;
  margin-top: 16px;
  font-size: 0.75rem;
  line-height: 1.7;
}
#guest-response .form-group {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  margin-bottom: 22px;
}
#guest-response .form-group label {
  display: block;
  width: 100%;
  margin: 0 0 8px;
  padding: 0;
  color: #514338;
  font-family: "Montserrat", sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: left;
}
#guest-response .form-group input,
#guest-response .form-group select,
#guest-response .form-group textarea {
  display: block;
  width: 100%;
  min-width: 0;
  height: auto;
  padding: 12px 4px;
  background: transparent;
  border: none;
  border-bottom: 1px solid #ded8ce;
  border-radius: 0;
  outline: none;
  color: #514338;
  font-family: "Montserrat", sans-serif;
  font-size: 0.82rem;
  line-height: 1.6;
  box-shadow: none;
}
#guest-response .form-group input:focus,
#guest-response .form-group select:focus,
#guest-response .form-group textarea:focus {
  border-bottom-color: #aa8b5b;
  outline: none;
  box-shadow: none;
}
#guest-response .form-group input::placeholder,
#guest-response .form-group textarea::placeholder {
  color: #a69a8d;
  opacity: 1;
}
#guest-response .form-card {
  position: relative;
  z-index: 2;
}

/* ===== STORY ===== */
#story {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: radial-gradient(
      ellipse at 90% 18%,
      rgba(197, 168, 125, 0.12),
      transparent 50%
    ),

    
    radial-gradient(
      ellipse at 8% 80%,
      rgba(195, 162, 118, 0.10),
      transparent 48%
    ),

    
    linear-gradient(
      180deg,
      #fffdf9 0%,
      #faf6f0 20%,
      #f3eadf 52%,
      #f7f0e7 78%,
      #fffaf4 100%
    );
}
#story > .container {
  position: relative;
  z-index: 1;
}
#story .section-heading .eyebrow {
  color: #aa8b5b;
}
#story .section-heading h2 {
  color: #514338;
}
#story .timeline-year {
  background: #fffaf3;
  border: 1px solid #c4a87c;
  color: #80673f;
  box-shadow: 0 5px 18px rgba(91, 70, 45, 0.06);
}
#story .timeline::before {
  background: linear-gradient(
    to bottom,
    transparent,
    #c8af88 12%,
    #c8af88 88%,
    transparent
  );
}
#story .timeline-item h3 {
  color: #514338;
}
#story .timeline-item p {
  color: #817466;
  line-height: 1.85;
}
#story {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: radial-gradient(
      ellipse at 15% 18%,
      rgba(184, 154, 114, 0.12),
      transparent 42%
    ),
    radial-gradient(
      ellipse at 88% 85%,
      rgba(201, 170, 128, 0.10),
      transparent 40%
    ),
    linear-gradient(
      180deg,
      #6c5a4b 0%,
      #5a4a3e 12%,
      #4e4036 28%,
      #43362f 52%,
      #3a2f29 76%,
      #4b3d34 100%
    );
}
#story > .container {
  position: relative;
  z-index: 1;
}
#story .section-heading .eyebrow {
  color: #d7bb93;
}
#story .section-heading h2 {
  color: #fff4e4;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.14);
}
#story .section-heading p {
  color: #e6d8c6;
}
#story .timeline::before {
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(215, 187, 147, 0.75) 12%,
    rgba(215, 187, 147, 0.75) 88%,
    transparent 100%
  );
}
#story .timeline-year {
  background: #fffaf2;
  border: 1px solid rgba(215, 187, 147, 0.70);
  color: #7a6040;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.10);
}
#story .timeline-item {
  background: rgba(255, 250, 242, 0.95);
  border: 1px solid rgba(215, 187, 147, 0.30);
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.10);
}
#story .timeline-item h3 {
  color: #4f4034;
}
#story .timeline-item p {
  color: #7d7063;
  line-height: 1.85;
}
#story .timeline-item small,
#story .timeline-item .story-date {
  color: #b09065;
}

/* ===== RESPONSIVE / @media (max-width: 380px) ===== */
@media (max-width: 380px) {
  #story .timeline-item {
    border-radius: 12px;
  }
}

/* ===== STORY ===== */
#story .timeline {
  position: relative;
  margin-top: 45px;
  padding-left: 28px;
}
#story .timeline::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 12px;
  left: 8px;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent,
    #c8a879 12%,
    #c8a879 88%,
    transparent
  );
}
#story .timeline-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 0 44px;
  margin: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}
#story .timeline-item:last-child {
  padding-bottom: 0;
}
#story .timeline-year {
  display: block;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  color: #d7bb93;
  font-family: "Montserrat", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
}
#story .timeline-item::before {
  content: "";
  position: absolute;
  top: 7px;
  left: -25px;
  width: 9px;
  height: 9px;
  background: #d7bb93;
  border: 2px solid #43362f;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(215,187,147,0.2);
}
#story .timeline-item h3 {
  margin: 0;
  color: #fff4e4;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.15;
}
#story .timeline-item p {
  margin-top: 10px;
  color: #dfd0c0;
  font-size: 0.78rem;
  line-height: 1.9;
}

/* ===== RESPONSIVE / @media (max-width: 380px) ===== */
@media (max-width: 380px) {
  #story .timeline {
    padding-left: 25px;
  }
  #story .timeline-item h3 {
    font-size: 1.8rem;
  }
  #story .timeline-item p {
    font-size: 0.75rem;
  }
  #story .timeline-item::before {
    left: -22px;
  }
}

/* ===== GIFT ===== */
#gift {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: radial-gradient(
      ellipse at 85% 18%,
      rgba(192, 162, 121, 0.10),
      transparent 50%
    ),
    linear-gradient(
      180deg,
      #f9f5ee 0%,
      #fffdf9 30%,
      #f5eee5 72%,
      #fffdf9 100%
    );
}
#gift > .container {
  position: relative;
  z-index: 1;
}
#gift .section-heading .eyebrow {
  color: #aa8b5b;
}
#gift .section-heading h2 {
  color: #514338;
}
#gift .section-heading p {
  color: #817466;
  line-height: 1.8;
}
#gift .gift-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
#gift .gift-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
#gift .atm-card {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  padding: 22px 20px 20px;
  border-radius: 22px;
  background: linear-gradient(
      135deg,
      #6a5849 0%,
      #4f4035 35%,
      #3f332b 70%,
      #8a7358 100%
    );
  box-shadow: 0 14px 30px rgba(59, 45, 34, 0.16);
  color: #fff7eb;
}
#gift .atm-card-secondary {
  background: linear-gradient(
      135deg,
      #b99a72 0%,
      #9a7d57 30%,
      #7d6245 68%,
      #d3b388 100%
    );
  color: #fffaf2;
}
#gift .atm-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0.20) 0%,
    rgba(255,255,255,0.08) 18%,
    rgba(255,255,255,0.02) 38%,
    transparent 55%
  );
}
#gift .atm-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 22px;
}
#gift .bank-name {
  color: #fff5e7;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
}
#gift .atm-type {
  color: rgba(255, 245, 231, 0.82);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
#gift .atm-chip {
  width: 42px;
  height: 32px;
  border-radius: 8px;
  margin-bottom: 26px;
  background: linear-gradient(
    135deg,
    #f5ddb0 0%,
    #d6b474 45%,
    #b88f4f 100%
  );
  box-shadow: inset 0 0 0 1px rgba(90, 60, 20, 0.18);
}
#gift .atm-number {
  margin-bottom: 24px;
  color: #fffaf2;
  font-size: 1.28rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.4;
  word-break: break-word;
}
#gift .atm-bottom {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
}
#gift .atm-bottom small {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 245, 231, 0.75);
  font-size: 0.63rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
#gift .atm-bottom strong {
  color: #fffaf2;
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.4;
}
#gift .copy-btn {
  width: 100%;
  min-height: 46px;
  background: #aa8b5b;
  border: 1px solid #aa8b5b;
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.72rem;
  transition: 0.25s ease;
}
#gift .copy-btn:hover {
  background: #80673f;
  border-color: #80673f;
  color: #ffffff;
}
#gift .address-gift {
  margin-top: 26px;
  padding: 28px 20px;
  background: #fffdf9;
  border: 1px solid rgba(170, 139, 91, 0.35);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(73, 59, 49, 0.05);
  text-align: center;
}
#gift .address-gift .eyebrow {
  color: #aa8b5b;
}
#gift .address-gift h3 {
  color: #514338;
  margin: 8px 0 14px;
}
#gift .address-gift p {
  color: #817466;
  line-height: 1.85;
}

/* ===== RESPONSIVE / @media (max-width: 380px) ===== */
@media (max-width: 380px) {
  #gift .atm-card {
    min-height: 195px;
    padding: 20px 16px 18px;
    border-radius: 18px;
  }
  #gift .atm-number {
    font-size: 1.08rem;
    letter-spacing: 0.12em;
  }
  #gift .bank-name {
    font-size: 0.72rem;
  }
  #gift .atm-bottom strong {
    font-size: 0.8rem;
  }
  #gift .address-gift {
    padding: 24px 16px;
  }
}

/* ===== CLOSING ===== */
#closing {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  min-height: 100svh;
  padding: 100px 0 65px;
  overflow: hidden;
  background-image: linear-gradient(
    180deg,
    rgba(23, 18, 15, 0.18) 0%,
    rgba(23, 18, 15, 0.28) 30%,
    rgba(23, 18, 15, 0.55) 62%,
    rgba(23, 18, 15, 0.84) 100%
  ),
  url("assets/images/closing.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: #fffaf3;
  text-align: center;
}
#closing .closing-content {
  position: relative;
  z-index: 2;
}
#closing .eyebrow {
  color: #e4cda8;
  font-size: 0.72rem;
  letter-spacing: 0.26em;
}
#closing h2 {
  color: #fffaf3;
  font-family: "Tangerine", cursive;
  font-size: clamp(4.5rem, 18vw, 6.5rem);
  font-weight: 700;
  line-height: 1.1;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.28);
}
#closing h2 span {
  color: #e4cda8;
}
#closing .closing-content p {
  color: rgba(255, 250, 243, 0.92);
  font-size: 0.8rem;
  line-height: 1.9;
  max-width: 350px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.20);
}
#closing .ornament {
  color: #e4cda8;
  margin: 18px 0;
}
#closing .brand-footer {
  margin-top: 36px;
  color: rgba(255, 250, 243, 0.75);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
}

/* ===== RESPONSIVE / @media (max-width: 380px) ===== */
@media (max-width: 380px) {
  #closing {
    padding: 90px 0 50px;
    background-position: center;
  }
  #closing h2 {
    font-size: 4.4rem;
  }
  #closing .closing-content p {
    font-size: 0.75rem;
  }
}

/* ===== CREATOR ===== */
#creator {
  position: relative;
  width: 100%;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 75px 24px 85px;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    #fffdf9 0%,
    #f8f4ee 50%,
    #f3ede5 100%
  );
}
#creator .creator-section-inner {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
#creator .creator-line {
  width: 80px;
  height: 1px;
  margin-bottom: 38px;
  background: rgba(170, 139, 91, 0.55);
}
#creator .creator-symbol {
  display: block;
  width: 105px;
  height: 105px;
  object-fit: contain;
  margin-bottom: 25px;
}
#creator .creator-label {
  margin: 0 0 14px;
  color: #a48a68;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  line-height: 1.4;
}
#creator .creator-brand-logo {
  display: block;
  width: 155px;
  max-width: 75%;
  height: auto;
  object-fit: contain;
}
#creator .creator-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
}
#creator .creator-social-link {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: transform 0.3s ease;
}
#creator .creator-social-icon {
  display: block;
  width: 38px;
  height: 38px;
  object-fit: contain;
  opacity: 0.9;
  transition: opacity 0.3s ease,
    transform 0.3s ease;
}

/* ===== RESPONSIVE / @media (hover: hover) ===== */
@media (hover: hover) {
  #creator .creator-social-link:hover {
    transform: translateY(-3px);
  }
  #creator .creator-social-link:hover
  .creator-social-icon {
    opacity: 1;
    transform: scale(1.06);
  }
}

/* ===== RESPONSIVE / @media (max-width: 380px) ===== */
@media (max-width: 380px) {
  #creator {
    min-height: 380px;
    padding: 60px 18px 70px;
  }
  #creator .creator-symbol {
    width: 90px;
    height: 90px;
  }
  #creator .creator-brand-logo {
    width: 140px;
  }
  #creator .creator-social-icon {
    width: 35px;
    height: 35px;
  }
}

/* =========================================
   COUPLE - LUXURY SCROLL ENTER & EXIT
========================================= */

/* Kondisi awal */
#couple .person-card .person-photo {
  opacity: 0;

  transition:
    opacity 1.4s ease-in-out,
    transform 1.8s cubic-bezier(.22, .75, .25, 1);

  will-change: opacity, transform;
}

/* Alya masuk dari kiri */
#couple .person-card:first-child .person-photo {
  transform: translateX(-110%);
}

/* Rama masuk dari kanan */
#couple .person-card:last-child .person-photo {
  transform: translateX(110%);
}

/* Foto sudah masuk */
#couple .person-card .person-photo.couple-in-view {
  opacity: 1;
  transform: translateX(0);
}

/* Jeda kecil agar tidak muncul bersamaan */
#couple .person-card:last-child .person-photo {
  transition-delay: 0.15s;
}

/* Pilihan khusus Lanart: animasi Couple tetap berjalan meski sistem
   meminta reduced motion. Dibatasi hanya pada bingkai Couple. */
@media (prefers-reduced-motion: reduce) {
  #couple .person-card .person-photo {
    transition-duration: 1.4s, 1.8s !important;
  }
}
