
:root {
  --ivory: #f8f5ef;
  --cream: #eee8dc;
  --gold: #b69a6a;
  --gold-dark: #92764b;
  --ink: #39352f;
  --muted: #81786b;
  --white: #fffefa;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 25px;
}

body {
  background: var(--ivory);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  overflow-x: hidden;
}

body.lightbox-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

button, input, select, textarea {
  font: inherit;
}

button, a {
  -webkit-tap-highlight-color: transparent;
}

.hidden {
  display: none !important;
}

.section {
  position: relative;
  padding: 90px 22px;
  text-align: center;
  overflow: hidden;
}

.eyebrow {
  font-size: 10px;
  letter-spacing: 4px;
  color: var(--gold-dark);
  font-weight: 600;
}

.section-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(42px, 10vw, 65px);
  font-weight: 500;
  line-height: 1.05;
  margin: 18px 0 30px;
}

.section-title i {
  color: var(--gold);
  font-weight: 400;
}

.gold-line {
  width: 55px;
  height: 1px;
  background: var(--gold);
  margin: 22px auto;
}

.intro-text {
  max-width: 390px;
  margin: 25px auto;
  color: var(--muted);
  font-size: 13px;
  line-height: 2;
}

/* COVER */

.cover {
  min-height: 100vh;
  min-height: 100svh;
  position: relative;
  z-index: 500;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  overflow: hidden;
  transition: opacity 1.1s ease, transform 1.5s cubic-bezier(.65, 0, .35, 1), filter 1.1s ease;
}

.cover-image {
  position: absolute;
  inset: 0;
  background: url("assets/cover-1.jpg") center 40% / cover no-repeat, #777064;
  transform: scale(1.04);
  animation: coverZoom 10s ease-in-out infinite alternate;
}


/* COVER OVERLAY - IMPROVED READABILITY */

.cover-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;

  background:
    linear-gradient(
      180deg,
      rgba(12, 11, 10, .62) 0%,
      rgba(12, 11, 10, .43) 35%,
      rgba(12, 11, 10, .55) 65%,
      rgba(12, 11, 10, .78) 100%
    );

  backdrop-filter: brightness(.85);
}


.cover-content {
  position: relative;
  z-index: 2;
  padding: 35px 20px;
  width: 100%;
  max-width: 500px;
  transition: opacity .7s ease, transform 1s cubic-bezier(.2,.8,.2,1);
}

.cover-content .eyebrow {
  color: #ead8b7;
}

.cover-names {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(48px, 12vw, 75px);
  font-weight: 400;
  line-height: .95;
  margin: 30px 0;
}

.cover-names span {
  display: block;
  font-size: 35px;
  font-style: italic;
  color: #e4c99c;
  margin: 10px;
}

.cover-date {
  font-size: 10px;
  letter-spacing: 4px;
  color: #ead8b7;
}

.guest-box {
  margin: 55px auto 25px;
  padding: 17px;
  max-width: 280px;
  border-top: 1px solid rgba(255,255,255,.5);
  border-bottom: 1px solid rgba(255,255,255,.5);
}

.guest-box small,
.guest-box p {
  font-size: 11px;
  color: #e8dfd1;
}

.guest-box h3 {
  font-family: "Playfair Display", serif;
  font-size: 19px;
  font-weight: 400;
  margin: 7px;
}

.open-button {
  position: relative;
  overflow: hidden;
  border: 1px solid #e0c79e;
  background: rgba(248,245,239,.12);
  color: white;
  padding: 15px 27px;
  letter-spacing: 2px;
  font-size: 10px;
  cursor: pointer;
  transition: background .3s ease, transform .3s ease;
  backdrop-filter: blur(8px);
}

.open-button:hover {
  background: var(--gold);
  transform: translateY(-2px);
}

.open-button:disabled {
  opacity: .7;
  cursor: wait;
}

.cover-footer {
  margin-top: 45px;
  font-size: 9px;
  letter-spacing: 3px;
  color: #e9dcc6;
}

.cover.opening {
  opacity: 0;
  transform: scale(1.12);
  filter: blur(12px);
  pointer-events: none;
}

.cover.opening .cover-content {
  opacity: 0;
  transform: translateY(-35px) scale(.96);
}

/* CINEMATIC TRANSITION */

.cinematic-transition {
  position: fixed;
  inset: 0;
  z-index: 450;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ivory);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overflow: hidden;
}

.cinematic-transition.active {
  visibility: visible;
  animation: ivoryReveal 2.2s ease forwards;
}

.cinematic-inner {
  text-align: center;
  padding: 20px;
  opacity: 0;
  transform: translateY(30px);
}

.cinematic-transition.active .cinematic-inner {
  animation: elegantText 1.5s ease .35s forwards;
}

.cinematic-symbol {
  color: var(--gold);
  font-size: 50px;
  margin-bottom: 20px;
}

.cinematic-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(38px, 10vw, 65px);
  font-weight: 400;
  color: var(--ink);
}

.cinematic-subtitle {
  color: var(--gold-dark);
  font-size: 9px;
  letter-spacing: 5px;
  margin-top: 20px;
}

.cinematic-line {
  height: 1px;
  width: 0;
  background: var(--gold);
  margin: 20px auto;
}

.cinematic-transition.active .cinematic-line {
  animation: lineReveal 1s ease .8s forwards;
}

/* HERO */

.hero {
  padding-top: 110px;
}

.hero-decoration,
.quote-ornament,
.closing-flower {
  font-family: serif;
  color: var(--gold);
  font-size: 48px;
  margin-bottom: 20px;
}

.couple-photo {
  max-width: 310px;
  margin: 35px auto;
  height: 420px;
  border: 8px solid var(--white);
  box-shadow: 0 15px 45px rgba(65,50,30,.12);
  overflow: hidden;
}

.couple-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.couple-names {
  font-family: "Cormorant Garamond", serif;
  font-size: 35px;
  font-weight: 500;
}

.couple-names span {
  color: var(--gold);
}

/* DATE AND COUNTDOWN */

.date-card {
  max-width: 320px;
  margin: 35px auto;
  padding: 25px 15px;
  background: var(--white);
  border: 1px solid #e6dccb;
}

.date-card span {
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--gold-dark);
}

.date-card h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 29px;
  margin: 10px;
}

.date-card p {
  font-size: 10px;
  letter-spacing: 2px;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 12px;
  max-width: 350px;
  margin: 30px auto;
}

.countdown div {
  flex: 1;
  background: var(--white);
  padding: 15px 5px;
  border: 1px solid #e6dccb;
}

.countdown strong {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 30px;
  font-weight: 500;
}

.countdown small {
  font-size: 9px;
  color: var(--muted);
}

/* QUOTE */

.quote-section {
  background: #eee9df;
  padding: 85px 30px;
}

.quote-section blockquote {
  font-family: "Cormorant Garamond", serif;
  font-size: 27px;
  line-height: 1.5;
  font-style: italic;
  max-width: 520px;
  margin: 25px auto;
}

.quote-source {
  color: var(--gold-dark);
  font-size: 11px;
  letter-spacing: 2px;
}

/* COUPLE */

.couple-section {
  background: var(--white);
}

.person-card {
  max-width: 350px;
  margin: 35px auto;
}

.person-photo {
  width: min(75vw, 270px);
  height: 330px;
  margin: auto;
  overflow: hidden;
  border: 7px solid var(--ivory);
}

.person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.person-card h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 30px;
  font-weight: 500;
  margin: 20px 0 10px;
}

.person-card p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.ampersand {
  font-family: "Cormorant Garamond", serif;
  font-size: 45px;
  color: var(--gold);
}

/* STORY */

.story-section {
  background: #f1ede5;
}

.story-timeline {
  max-width: 480px;
  margin: 40px auto 0;
  text-align: left;
  border-left: 1px solid var(--gold);
  padding-left: 27px;
}

.story-item {
  position: relative;
  padding: 0 0 45px;
}

.story-number {
  position: absolute;
  left: -44px;
  top: 0;
  width: 32px;
  height: 32px;
  background: var(--ivory);
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: serif;
  font-size: 12px;
}

.story-item h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 27px;
  font-weight: 500;
}

.story-item small {
  display: block;
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--gold-dark);
  margin: 10px 0;
}

.story-item p {
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
}

/* EVENT */

.event-card {
  max-width: 410px;
  margin: 25px auto;
  background: var(--white);
  padding: 38px 20px;
  border: 1px solid #e7ddcd;
  box-shadow: 0 12px 30px rgba(50,40,25,.04);
}

.event-icon {
  color: var(--gold);
  font-size: 35px;
}

.event-card h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 34px;
  font-weight: 500;
  margin: 10px;
}

.event-card p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.8;
}

.event-card h3 {
  font-size: 14px;
  font-weight: 500;
  margin: 12px 0;
}

.event-divider {
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin: 25px auto;
}

.outline-button {
  display: inline-block;
  padding: 12px 23px;
  border: 1px solid var(--gold);
  color: var(--gold-dark);
  text-decoration: none;
  font-size: 9px;
  letter-spacing: 2px;
  margin-top: 25px;
  transition: .3s ease;
}

.outline-button:hover {
  color: white;
  background: var(--gold);
}

/* GALLERY */

.gallery-section {
  background: #eee9df;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 600px;
  margin: 35px auto;
}

.gallery-image {
  width: 100%;
  height: 210px;
  object-fit: cover;
  cursor: pointer;
  transition: transform .5s ease;
}

.gallery-image:first-child {
  grid-column: span 2;
  height: 300px;
}

.gallery-image:hover {
  transform: scale(.98);
}

/* RSVP */

.rsvp-section {
  background: var(--white);
}

.rsvp-form {
  max-width: 420px;
  margin: 35px auto;
  display: grid;
  gap: 13px;
}

.rsvp-form input,
.rsvp-form select,
.rsvp-form textarea {
  width: 100%;
  padding: 15px;
  background: var(--ivory);
  border: 1px solid #e5dccd;
  outline: none;
  color: var(--ink);
  border-radius: 0;
  font-size: 13px;
}

.rsvp-form textarea {
  min-height: 110px;
  resize: vertical;
}

.rsvp-form input:focus,
.rsvp-form select:focus,
.rsvp-form textarea:focus {
  border-color: var(--gold);
}

.gold-button {
  background: var(--gold);
  color: white;
  padding: 16px;
  border: none;
  cursor: pointer;
  letter-spacing: 2px;
  font-size: 10px;
  transition: background .3s ease;
}

.gold-button:hover {
  background: var(--gold-dark);
}

/* CLOSING */

.closing-section {
  background: #eee9df;
  padding-bottom: 130px;
}

.closing-names {
  font-family: "Cormorant Garamond", serif;
  font-size: 29px;
  margin-top: 40px;
  font-weight: 500;
}

.brand {
  margin-top: 35px;
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--gold-dark);
}


/* ==========================================
   PREMIUM FLOATING BOTTOM NAVIGATION
   NEOLENS PHOTO - IVORY ELEGANCE
========================================== */

.bottom-nav {
  position: fixed;
  z-index: 100;
  bottom: calc(16px + env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);

  width: max-content;
  max-width: calc(100% - 20px);

  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
}

body.invitation-open .bottom-nav {
  display: flex;
}

/* Setiap tombol berdiri sendiri */
.bottom-nav a {
  width: 62px;
  height: 62px;
  flex: 0 0 62px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;

  text-decoration: none;
  color: var(--muted);

  background: rgba(255, 254, 250, .96);
  border: 1px solid rgba(182, 154, 106, .30);
  border-radius: 15px;

  box-shadow:
    0 5px 18px rgba(55, 43, 25, .08),
    0 1px 3px rgba(55, 43, 25, .04);

  transition:
    transform .3s ease,
    color .3s ease,
    background .3s ease,
    border-color .3s ease,
    box-shadow .3s ease;
}

.bottom-nav a span {
  font-size: 20px;
  line-height: 1;
}

.bottom-nav a small {
  font-size: 9px;
  letter-spacing: .3px;
  font-weight: 500;
}

/* Tombol aktif */
.bottom-nav a.active {
  color: var(--gold-dark);
  background: #fffaf0;
  border-color: var(--gold);
  box-shadow:
    0 6px 20px rgba(146, 118, 75, .15),
    inset 0 0 0 1px rgba(182, 154, 106, .10);
  transform: translateY(-5px);
}

/* Efek hover desktop */
@media (hover: hover) {
  .bottom-nav a:hover {
    color: var(--gold-dark);
    border-color: var(--gold);
    transform: translateY(-4px);
  }
}

/* Ukuran HP kecil */
@media (max-width: 380px) {
  .bottom-nav {
    gap: 6px;
    bottom: calc(12px + env(safe-area-inset-bottom));
  }

  .bottom-nav a {
    width: 56px;
    height: 58px;
    flex-basis: 56px;
    border-radius: 13px;
  }

  .bottom-nav a span {
    font-size: 18px;
  }

  .bottom-nav a small {
    font-size: 8px;
  }
}


/* MUSIC */

.music-button {
  position: fixed;
  z-index: 110;
  right: 17px;
  bottom: calc(85px + env(safe-area-inset-bottom));
  width: 43px;
  height: 43px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: var(--white);
  color: var(--gold-dark);
  font-size: 20px;
  cursor: pointer;
  display: none;
}

body.invitation-open .music-button {
  display: grid;
  place-items: center;
}

.music-button.playing {
  animation: spin 5s linear infinite;
}

/* LIGHTBOX */

.lightbox {
  position: fixed;
  z-index: 300;
  inset: 0;
  background: rgba(0,0,0,.95);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 50px 15px;
}

.lightbox.show {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 80vh;
  object-fit: contain;
}

.lightbox button {
  position: absolute;
  background: transparent;
  border: none;
  color: white;
  font-size: 40px;
  cursor: pointer;
  padding: 15px;
}

.lightbox-close {
  top: 10px;
  right: 15px;
}

.lightbox-prev {
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

/* SCROLL REVEAL */

.reveal {
  opacity: 0;
  transform: translateY(45px);
  filter: blur(3px);
  transition: opacity 1s ease, transform 1s cubic-bezier(.2,.7,.2,1), filter 1s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

#mainContent.home-entering {
  animation: homeReveal 1.4s cubic-bezier(.2,.7,.2,1) both;
}

/* KEYFRAMES */

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes coverZoom {
  from { transform: scale(1.04); }
  to { transform: scale(1.12); }
}

@keyframes ivoryReveal {
  0% { opacity: 0; background: #29251f; }
  35% { opacity: 1; background: #e8dfce; }
  100% { opacity: 1; background: var(--ivory); }
}

@keyframes elegantText {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes lineReveal {
  to { width: 65px; }
}

@keyframes homeReveal {
  0% {
    opacity: 0;
    transform: translateY(35px);
    filter: blur(5px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* TABLET AND DESKTOP */

@media (min-width: 768px) {
  .section {
    padding: 110px 30px;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gallery-image:first-child {
    grid-column: span 2;
    height: 350px;
  }

  .gallery-image {
    height: 250px;
  }

  .cover-names {
    font-size: 82px;
  }
}

/* SMALL MOBILE */

@media (max-width: 380px) {
  .section {
    padding-left: 17px;
    padding-right: 17px;
  }

  .cover-names {
    font-size: 48px;
  }

  .section-title {
    font-size: 43px;
  }

  .gallery-image {
    height: 170px;
  }

  .gallery-image:first-child {
    height: 230px;
  }

  .bottom-nav a small {
    font-size: 8px;
  }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

/* ==========================================
   CINEMATIC PHOTO TRANSITIONS
   NEOLENS PHOTO
========================================== */

/* Foto utama */
.couple-photo {
  overflow: hidden;
  opacity: 0;
  transform: translateY(35px) scale(.96);
  transition:
    opacity 1.2s ease,
    transform 1.3s cubic-bezier(.2,.7,.2,1);
}

.couple-photo.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.couple-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
  transition: transform 2.2s cubic-bezier(.2,.7,.2,1);
}

.couple-photo.visible img {
  transform: scale(1);
}

/* Foto mempelai */
.person-photo {
  overflow: hidden;
  opacity: 0;
  transform: translateY(35px);
  transition:
    opacity 1s ease,
    transform 1.2s cubic-bezier(.2,.7,.2,1);
}

.person-photo.visible {
  opacity: 1;
  transform: translateY(0);
}

.person-photo img {
  transform: scale(1.12);
  transition: transform 1.8s cubic-bezier(.2,.7,.2,1);
}

.person-photo.visible img {
  transform: scale(1);
}

/* Galeri foto */
.gallery-image {
  opacity: 0;
  transform: translateY(35px) scale(.96);
  filter: blur(5px);
  transition:
    opacity 1s ease,
    transform 1.1s cubic-bezier(.2,.7,.2,1),
    filter 1s ease;
}

.gallery-image.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* Hover / sentuhan pada galeri */
@media (hover: hover) {
  .gallery-image.visible:hover {
    transform: scale(1.035);
    filter: brightness(1.04);
  }
}

/* Efek foto saat disentuh di HP */
.gallery-image:active {
  transform: scale(.97);
}

/* Animasi halus untuk seluruh gambar */
.couple-photo img,
.person-photo img,
.gallery-image {
  will-change: transform, opacity;
}

/* Efek transisi gambar pada halaman */
@keyframes photoEntrance {
  from {
    opacity: 0;
    transform: translateY(40px) scale(.94);
    filter: blur(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* Aksesibilitas */
@media (prefers-reduced-motion: reduce) {
  .couple-photo,
  .person-photo,
  .gallery-image,
  .couple-photo img,
  .person-photo img {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
    animation: none;
  }
}


/* ==========================================
   WEDDING GIFT - IVORY ELEGANCE
========================================== */

.gift-section {
  background: #f1ede5;
  padding-bottom: 120px;
}

.gift-ornament {
  font-size: 35px;
  color: var(--gold);
  margin-bottom: 18px;
}

.gift-card {
  max-width: 360px;
  margin: 35px auto;
  padding: 35px 22px;

  background: #fffefa;
  border: 1px solid #dfcfb3;

  box-shadow: 0 15px 40px rgba(65, 50, 30, .07);
  position: relative;
}

.gift-card::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(182, 154, 106, .25);
  pointer-events: none;
}

.gift-icon {
  color: var(--gold);
  font-size: 35px;
  margin-bottom: 15px;
}

.gift-label {
  font-size: 9px;
  letter-spacing: 4px;
  color: var(--gold-dark);
}

.gift-card h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 32px;
  font-weight: 400;
  margin: 8px 0 15px;
}

.gift-divider {
  width: 45px;
  height: 1px;
  background: var(--gold);
  margin: 20px auto;
}

.bank-name {
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--gold-dark);
}

.account-number {
  font-family: "Cormorant Garamond", serif;
  font-size: 31px;
  font-weight: 500;
  letter-spacing: 2px;
  margin: 10px 0;
}

.account-owner {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 23px;
}

.copy-gift-button {
  position: relative;
  z-index: 1;
  width: 100%;
  cursor: pointer;
}

.copy-gift-button span {
  margin-right: 5px;
}

.gift-thankyou {
  max-width: 350px;
  margin: 25px auto;
  color: var(--muted);
  font-family: "Cormorant Garamond", serif;
  font-size: 19px;
  font-style: italic;
  line-height: 1.6;
}

/* ==========================================
   SEVEN INDIVIDUAL BOTTOM BUTTONS
========================================== */

.bottom-nav {
  gap: 5px;
  max-width: calc(100% - 16px);
}

.bottom-nav a {
  width: clamp(40px, calc((100vw - 52px) / 7), 58px);
  flex: 0 1 clamp(40px, calc((100vw - 52px) / 7), 58px);
  height: 58px;
  border-radius: 13px;
  gap: 4px;
}

.bottom-nav a span {
  font-size: 18px;
}

.bottom-nav a small {
  font-size: 7px;
  letter-spacing: 0;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .bottom-nav a {
    width: 58px;
    flex-basis: 58px;
    height: 60px;
  }

  .bottom-nav a small {
    font-size: 8px;
  }
}



/* =========================================================
   LUXURY NAVY COVER — Selvi Yani & Supriyadi
   Photo treatment: preserve natural skin tones; blend the
   original studio-blue portrait into a deep navy palette.
   ========================================================= */
.cover {
  isolation: isolate;
  background: #071432;
  min-height: 100vh;
  min-height: 100svh;
}

.cover-image {
  background-position: center 34%;
  filter: saturate(.82) contrast(1.035) brightness(.91);
  transform: scale(1.035);
}

.cover-overlay {
  background:
    linear-gradient(180deg,
      rgba(4, 13, 43, .48) 0%,
      rgba(5, 17, 51, .28) 26%,
      rgba(7, 20, 53, .48) 52%,
      rgba(6, 17, 43, .82) 78%,
      rgba(4, 12, 31, .96) 100%),
    linear-gradient(90deg,
      rgba(5, 17, 47, .18) 0%,
      rgba(5, 17, 47, .02) 48%,
      rgba(5, 17, 47, .18) 100%);
  backdrop-filter: none;
}

.cover-content {
  max-width: 520px;
  padding: clamp(26px, 5vh, 48px) 22px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .18);
}

.cover-content .eyebrow {
  color: #ead9b5;
  letter-spacing: 4px;
  font-size: 10px;
  font-weight: 600;
}

.cover-names {
  margin: clamp(18px, 3vh, 30px) 0 20px;
  line-height: .98;
}

.cover-names span {
  color: #ead1a0;
  font-size: clamp(34px, 8vw, 43px);
  margin: 7px 0;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .28);
}

.cover-names .name-ampersand {
  font-size: clamp(28px, 6vw, 34px);
  margin: 3px 0;
}

.gold-line {
  width: 76px;
  height: 1px;
  margin: 20px auto 18px;
  background: linear-gradient(90deg, transparent, #d9bd88, transparent);
}

.cover-date-wrapper {
  color: #fff;
}

.cover-date-label {
  color: #f4eee3;
  font-size: 12px;
  letter-spacing: 1.6px;
  margin: 0 0 5px;
}

.cover-date-main {
  color: #fffaf0;
  font-family: "DM Sans", sans-serif;
  font-size: clamp(25px, 6vw, 31px);
  font-weight: 600;
  letter-spacing: .5px;
  line-height: 1.2;
  margin: 0;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .25);
}

.date-decoration {
  color: #e8d2a6;
  margin: 8px auto 7px;
}

.cover-date-detail {
  color: rgba(255, 250, 241, .94);
  font-size: 12px;
  letter-spacing: .6px;
  margin: 0;
}

.guest-box {
  margin: clamp(28px, 5vh, 48px) auto 22px;
  border-color: rgba(231, 211, 174, .55);
}

.open-button {
  border-color: #dfc79b;
  background: rgba(224, 207, 173, .13);
  color: #fffaf0;
  padding: 16px 29px;
  font-size: 10px;
  letter-spacing: 2.5px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .12);
}

.open-button:hover {
  background: rgba(221, 198, 151, .28);
  border-color: #f0ddb5;
}

.cover-footer {
  margin-top: clamp(26px, 5vh, 42px);
  color: #e8d7b7;
  font-size: 9px;
  letter-spacing: 3px;
}

@media (max-width: 600px) {
  .cover-image {
    background-position: center 32%;
  }

  .cover-content {
    padding: 24px 18px 28px;
  }

  .cover-names {
    margin: 17px 0 15px;
  }

  .cover-names span {
    font-size: clamp(32px, 9vw, 40px);
  }

  .gold-line {
    margin: 15px auto 14px;
  }

  .guest-box {
    margin: 24px auto 18px;
    padding: 13px;
  }

  .cover-footer {
    margin-top: 25px;
  }
}

@media (max-height: 720px) and (max-width: 600px) {
  .cover-content { padding-top: 16px; padding-bottom: 16px; }
  .cover-names { margin: 12px 0; }
  .cover-names span { font-size: 31px; margin: 4px 0; }
  .gold-line { margin: 11px auto; }
  .guest-box { margin: 16px auto 12px; padding: 9px; }
  .cover-footer { margin-top: 17px; }
}


/* NAVY & CHAMPAGNE GOLD ORNAMENTAL COVER FRAME */
.cover-frame {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image: url("assets/navy-gold-frame.svg");
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  opacity: .96;
}

.cover-content {
  z-index: 3;
  max-width: 560px;
  padding-left: clamp(30px, 7vw, 54px);
  padding-right: clamp(30px, 7vw, 54px);
}

.cover-image {
  filter: saturate(.78) contrast(1.04) brightness(.92);
}

.cover-overlay {
  background:
    linear-gradient(180deg,
      rgba(4, 13, 39, .26) 0%,
      rgba(5, 17, 48, .12) 31%,
      rgba(7, 20, 53, .42) 52%,
      rgba(6, 17, 43, .78) 74%,
      rgba(4, 12, 31, .96) 100%),
    linear-gradient(90deg, rgba(5, 17, 47, .10), transparent 48%, rgba(5, 17, 47, .10));
}

@media (max-width: 600px) {
  .cover-frame { background-size: 100% 100%; opacity: .9; }
  .cover-content { padding: 30px 34px 34px; }
  .cover-names span { font-size: clamp(31px, 8.7vw, 39px); }
  .cover-date-detail { font-size: 10px; letter-spacing: .45px; }
  .open-button { padding: 14px 22px; letter-spacing: 2px; }
}

@media (max-height: 720px) and (max-width: 600px) {
  .cover-content { padding-top: 22px; padding-bottom: 22px; }
  .cover-footer { margin-top: 17px; }
}
