:root {
  --bg: #220910;
  --maroon: #5b0d1d;
  --gold: #d6b266;
  --cream: #fff8ea;
  --text: #281214;
  --panel: rgba(255, 248, 231, 0.94);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Serif Sinhala", serif;
  color: var(--text);
  background: linear-gradient(180deg, #3d0a17 0%, #220910 60%, #18060b 100%);
  overflow-x: hidden;
}

.texture {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 10%, rgba(214, 178, 102, 0.1), transparent 40%),
    radial-gradient(circle at 80% 90%, rgba(214, 178, 102, 0.08), transparent 35%);
  pointer-events: none;
  z-index: 0;
}

.aurora {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.aurora span {
  position: absolute;
  width: 45vmax;
  height: 45vmax;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.22;
  animation: drift 16s ease-in-out infinite alternate;
}

.aurora span:nth-child(1) {
  background: #e28fb3;
  top: -10vmax;
  left: -10vmax;
}

.aurora span:nth-child(2) {
  background: #d6b266;
  right: -12vmax;
  top: 20vmax;
  animation-duration: 19s;
}

.aurora span:nth-child(3) {
  background: #7f1f3f;
  left: 30vmax;
  bottom: -20vmax;
  animation-duration: 22s;
}

.open-screen {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(23, 6, 10, 0.96), rgba(40, 9, 16, 0.96));
  padding: 1rem;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.open-screen.closed {
  opacity: 0;
  visibility: hidden;
}

.open-card {
  width: min(540px, 100%);
  text-align: center;
  color: #fff3d8;
  border-radius: 16px;
  padding: 1rem;
  transform-style: preserve-3d;
  perspective: 1200px;
}

.envelope {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(214, 178, 102, 0.55);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.04));
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.envelope-body {
  padding: 2.4rem 1.1rem 2rem;
}

.envelope-flap {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 38%;
  background: linear-gradient(180deg, rgba(214, 178, 102, 0.2), rgba(214, 178, 102, 0.03));
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform-origin: top;
  transition: transform 0.8s ease;
}

.open-screen.opening .envelope-flap {
  transform: rotateX(170deg);
}

.open-card h1 {
  margin: 0.5rem 0;
  font-family: "Cinzel", serif;
  font-size: clamp(1.9rem, 6vw, 3rem);
}

.open-card h1 span {
  color: var(--gold);
}

.small {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
  margin: 0;
  opacity: 0.9;
}

.date {
  margin: 0.5rem 0 1.2rem;
}

.seal-btn {
  margin-bottom: 1rem;
  border: 0;
  background: transparent;
  color: #ffeac5;
  cursor: pointer;
  display: inline-grid;
  gap: 0.45rem;
  justify-items: center;
}

.seal-core {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: "Cinzel", serif;
  font-size: 1.2rem;
  background: radial-gradient(circle at 30% 30%, #d13f65, #79142d 70%);
  color: #ffe3bc;
  border: 2px solid rgba(255, 218, 168, 0.45);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.35), inset 0 0 14px rgba(255, 216, 167, 0.2);
  animation: sealGlow 2.5s ease-in-out infinite;
}

.seal-text {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.invitation {
  position: relative;
  z-index: 2;
  width: min(860px, 92%);
  margin: 2rem auto 3rem;
  display: grid;
  gap: 1rem;
}

.script {
  font-family: "Great Vibes", cursive;
  font-size: clamp(1.4rem, 5vw, 2rem);
  margin: 0;
  color: #7b2a3c;
}

.hidden {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}

.invitation.visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
  pointer-events: auto;
}

.invite-card {
  background:
    linear-gradient(145deg, rgba(255, 251, 240, 0.97), rgba(251, 240, 215, 0.9));
  border: 1px solid rgba(214, 178, 102, 0.55);
  border-radius: 16px;
  padding: 2rem 1.2rem;
  text-align: center;
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.invite-card::before,
.invite-card::after {
  content: "";
  position: absolute;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(214, 178, 102, 0.55);
}

.invite-card::before {
  box-shadow: 0 0 16px rgba(214, 178, 102, 0.15);
}

.invite-card::before {
  top: 8px;
  left: 8px;
  border-right: 0;
  border-bottom: 0;
}

.invite-card::after {
  right: 8px;
  bottom: 8px;
  border-left: 0;
  border-top: 0;
}

.invite-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
}

.luxury-note {
  background:
    radial-gradient(circle at 20% 10%, rgba(214, 178, 102, 0.25), transparent 42%),
    linear-gradient(145deg, rgba(255, 250, 237, 0.96), rgba(245, 227, 188, 0.92));
}

.luxury-note p {
  max-width: 680px;
  margin: 0.4rem auto 0;
}

.save-date-video {
  min-height: 560px;
  padding: 0;
  overflow: hidden;
}

.save-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.65) saturate(1.05);
}

.save-overlay {
  position: relative;
  z-index: 2;
  min-height: 560px;
  padding: 2.4rem 1rem;
  display: grid;
  align-content: center;
  justify-items: center;
  color: #fff;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(16, 4, 7, 0.65));
}

.save-script {
  margin: 0;
  font-family: "Great Vibes", cursive;
  font-size: clamp(3.1rem, 10vw, 6rem);
  line-height: 0.88;
}

.save-middle {
  margin: 0.2rem 0;
  font-family: "Cinzel", serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.save-couple {
  margin-top: 2rem;
  font-family: "Cinzel", serif;
  font-size: clamp(1.2rem, 5vw, 2rem);
}

.invite-card::selection {
  background: rgba(214, 178, 102, 0.22);
}

h2,
h3 {
  margin: 0 0 0.75rem;
  font-family: "Cinzel", serif;
  color: var(--maroon);
}

h4 {
  margin: 0 0 0.35rem;
  font-family: "Cinzel", serif;
  color: var(--maroon);
}

.section-badge {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7f5f1f;
  background: rgba(255, 244, 216, 0.9);
  border: 1px solid rgba(214, 178, 102, 0.55);
  border-radius: 999px;
  padding: 0.28rem 0.6rem;
  animation: floatBadge 4s ease-in-out infinite;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 0.4rem;
}

.details-grid article {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(214, 178, 102, 0.35);
  border-radius: 10px;
  padding: 0.75rem;
}

.details-grid p {
  margin: 0;
}

.love-story {
  background:
    radial-gradient(circle at 80% 10%, rgba(214, 178, 102, 0.22), transparent 34%),
    linear-gradient(145deg, rgba(255, 251, 240, 0.97), rgba(248, 235, 205, 0.9));
}

.story-chapters {
  margin-top: 0.7rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.story-chapter {
  text-align: left;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(214, 178, 102, 0.4);
  border-radius: 12px;
  padding: 0.85rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.story-chapter:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.14);
}

.chapter-number {
  margin: 0 0 0.2rem;
  font-family: "Cinzel", serif;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7e5d1f;
}

.story-chapter h4 {
  margin: 0.2rem 0 0.35rem;
}

.story-chapter p {
  margin: 0;
  line-height: 1.5;
}

.couple {
  font-family: "Cinzel", serif;
  font-size: clamp(2rem, 7vw, 3.4rem);
  margin: 0.55rem 0;
}

.couple span {
  color: var(--gold);
}

.event-date {
  margin: 0.4rem 0;
  font-weight: 700;
}

.event-time,
.venue {
  margin: 0.2rem 0;
}

.crest {
  margin: 1rem auto 0;
  width: 80px;
  height: 80px;
  border: 1px solid rgba(214, 178, 102, 0.75);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: "Cinzel", serif;
  color: var(--maroon);
  position: relative;
  z-index: 2;
}

.pulse-ring {
  position: absolute;
  left: 50%;
  bottom: 18px;
  width: 90px;
  height: 90px;
  transform: translateX(-50%);
  border-radius: 50%;
  border: 1px solid rgba(214, 178, 102, 0.5);
  animation: pulseRing 2.4s ease-out infinite;
}

.section-note {
  margin-top: 0;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(80px, 1fr));
  gap: 0.6rem;
}

.count-box {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  border: 1px solid rgba(91, 13, 29, 0.14);
  padding: 0.85rem 0.4rem;
  animation: riseIn 0.8s ease both;
}

.count-box strong {
  display: block;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  color: var(--maroon);
}

.count-box span {
  font-size: 0.82rem;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.event-grid article {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(91, 13, 29, 0.14);
  border-radius: 10px;
  padding: 0.8rem;
}

.event-grid h3 {
  margin: 0.2rem 0;
  color: var(--maroon);
}

.gallery-grid {
  margin-top: 0.8rem;
}

.gallery-hero {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(140px, 1fr);
  gap: 0.7rem;
  align-items: stretch;
}

.gallery-feature {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  min-height: 360px;
  border: 1px solid rgba(214, 178, 102, 0.45);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.24);
}

.gallery-feature img {
  display: block;
  width: 100%;
  height: 360px;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.6s ease;
}

.gallery-feature:hover img {
  transform: scale(1.03);
  filter: saturate(1.06);
}

.gallery-feature-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(34, 9, 16, 0.78));
}

.gallery-feature-overlay p {
  margin: 0;
  font-family: "Cinzel", serif;
}

.gallery-side-notes {
  display: grid;
  gap: 0.6rem;
}

.mini-note {
  border-radius: 10px;
  border: 1px solid rgba(214, 178, 102, 0.4);
  background: rgba(255, 251, 239, 0.72);
  display: grid;
  place-items: center;
  font-family: "Cinzel", serif;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: #6c1e33;
  min-height: 112px;
}

.luxury-gallery .gallery-item {
  border: 1px solid rgba(214, 178, 102, 0.38);
  position: relative;
}

.luxury-gallery .gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(15, 5, 10, 0.35));
  opacity: 0;
  transition: opacity 0.35s ease;
}

.luxury-gallery .gallery-item:hover::after,
.luxury-gallery .gallery-item.active::after {
  opacity: 1;
}

.luxury-gallery {
  column-count: 3;
  column-gap: 0.7rem;
}

.luxury-gallery .gallery-item {
  display: block;
  width: 100%;
  margin: 0 0 0.7rem;
  break-inside: avoid;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  background: transparent;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.12);
}

.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
}

.luxury-gallery .gallery-item:nth-child(3n) img {
  aspect-ratio: 16 / 10;
}

.gallery-item:hover img {
  transform: scale(1.08);
  filter: contrast(1.08) saturate(1.15);
}

.filmstrip-wrap {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.55rem;
  align-items: center;
}

.filmstrip-viewport {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(214, 178, 102, 0.45);
  background: #2a0c14;
  mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
}

.filmstrip-track {
  display: flex;
  transition: transform 0.5s ease;
}

.filmstrip-track img {
  width: 180px;
  height: 110px;
  object-fit: cover;
  flex: 0 0 auto;
  border-right: 2px solid rgba(255, 255, 255, 0.08);
  filter: saturate(1.05);
}

.film-nav {
  border: 1px solid rgba(214, 178, 102, 0.45);
  background: rgba(255, 251, 240, 0.84);
  color: var(--maroon);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}

.auto-note {
  margin: 0.65rem 0 0;
  font-size: 0.82rem;
  color: #6d4a1f;
}

.map-panel iframe {
  margin-top: 0.6rem;
  width: 100%;
  height: 380px;
  border: 1px solid rgba(214, 178, 102, 0.55);
  border-radius: 14px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
}

.wish-form {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 0.9rem;
  text-align: left;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.62), rgba(255, 246, 224, 0.82));
  border: 1px solid rgba(214, 178, 102, 0.38);
  border-radius: 14px;
  padding: 1rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.wish-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #4a1c28;
}

.wish-form input,
.wish-form textarea {
  width: 100%;
  border: 1px solid rgba(109, 32, 52, 0.22);
  border-radius: 10px;
  padding: 0.72rem 0.78rem;
  font: inherit;
  background: rgba(255, 255, 255, 0.88);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.wish-form input:focus,
.wish-form textarea:focus {
  outline: none;
  border-color: rgba(143, 27, 52, 0.55);
  box-shadow: 0 0 0 3px rgba(143, 27, 52, 0.14);
}

.wish-form .btn-primary {
  width: 100%;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.72rem 1.2rem;
  border-radius: 12px;
}

.wish-list {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.6rem;
}

.wish-item {
  text-align: left;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(255, 246, 223, 0.9));
  border: 1px solid rgba(214, 178, 102, 0.42);
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.wish-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: #6d4a1f;
  margin-bottom: 0.35rem;
}

.wish-item p {
  margin: 0;
  line-height: 1.5;
}

#wishes h3,
.map-panel h3 {
  font-size: clamp(1.35rem, 4vw, 1.9rem);
}

.rsvp-form {
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
  display: grid;
  gap: 0.75rem;
}

.rsvp-steps {
  position: relative;
  min-height: 285px;
}

.rsvp-step {
  position: absolute;
  inset: 0;
  display: grid;
  gap: 0.75rem;
  opacity: 0;
  transform: translateX(24px);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.rsvp-step.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.rsvp-actions {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
}

.rsvp-form label {
  display: grid;
  gap: 0.25rem;
  font-size: 0.95rem;
}

.rsvp-form input,
.rsvp-form select,
.rsvp-form textarea {
  width: 100%;
  border: 1px solid rgba(91, 13, 29, 0.25);
  border-radius: 9px;
  padding: 0.66rem;
  font: inherit;
  background: #fffcf4;
}

.btn {
  display: inline-block;
  border: 1px solid rgba(91, 13, 29, 0.2);
  border-radius: 999px;
  padding: 0.65rem 1.1rem;
  text-decoration: none;
  color: var(--maroon);
  background: rgba(255, 255, 255, 0.65);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.btn-primary {
  background: linear-gradient(90deg, #611225, #8f1b34);
  color: #fff;
  border-color: transparent;
}

.form-message {
  min-height: 1.5rem;
  margin: 0;
  font-weight: 600;
}

.form-message.success {
  color: #15681f;
}

.form-message.error {
  color: #941729;
}

.cta-row {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.music-toggle {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  border: 1px solid rgba(214, 178, 102, 0.55);
  background: rgba(22, 8, 11, 0.82);
  color: var(--gold);
  padding: 0.58rem 0.9rem;
  border-radius: 999px;
  font-family: "Cinzel", serif;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.84);
  display: none;
  place-items: center;
  z-index: 50;
  padding: 1rem;
}

.lightbox img {
  max-width: min(1000px, 100%);
  max-height: 86vh;
  border-radius: 10px;
}

.lightbox.show {
  display: grid;
}

.lightbox-close {
  position: absolute;
  top: 0.8rem;
  right: 1rem;
  border: 0;
  font-size: 2rem;
  color: #fff;
  background: transparent;
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(34px) scale(0.98);
  transition: opacity 0.85s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.85s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.petals span {
  position: fixed;
  top: -20px;
  width: 12px;
  height: 18px;
  background: rgba(255, 224, 177, 0.4);
  border-radius: 12px 12px 12px 2px;
  transform: rotate(20deg);
  animation: fall linear infinite;
  pointer-events: none;
}

.petals span:nth-child(1) { left: 5%; animation-duration: 10s; animation-delay: 0s; }
.petals span:nth-child(2) { left: 16%; animation-duration: 13s; animation-delay: 1s; }
.petals span:nth-child(3) { left: 27%; animation-duration: 11s; animation-delay: 2s; }
.petals span:nth-child(4) { left: 40%; animation-duration: 12s; animation-delay: 0.5s; }
.petals span:nth-child(5) { left: 53%; animation-duration: 10.8s; animation-delay: 1.6s; }
.petals span:nth-child(6) { left: 64%; animation-duration: 12.3s; animation-delay: 0.2s; }
.petals span:nth-child(7) { left: 72%; animation-duration: 9.7s; animation-delay: 2.4s; }
.petals span:nth-child(8) { left: 82%; animation-duration: 12.8s; animation-delay: 1.2s; }
.petals span:nth-child(9) { left: 90%; animation-duration: 10.5s; animation-delay: 2.8s; }
.petals span:nth-child(10) { left: 96%; animation-duration: 11.3s; animation-delay: 0.8s; }

@keyframes fall {
  to {
    transform: translateY(110vh) rotate(340deg);
  }
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(6vmax, -3vmax, 0); }
}

@keyframes sealGlow {
  0%, 100% { transform: scale(1); box-shadow: 0 10px 18px rgba(0, 0, 0, 0.35), inset 0 0 14px rgba(255, 216, 167, 0.2); }
  50% { transform: scale(1.06); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.42), inset 0 0 20px rgba(255, 216, 167, 0.3); }
}

@keyframes pulseRing {
  from { transform: translateX(-50%) scale(0.9); opacity: 0.7; }
  to { transform: translateX(-50%) scale(1.24); opacity: 0; }
}

@keyframes riseIn {
  from { transform: translateY(8px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.timeline {
  max-width: 540px;
  margin: 0 auto;
  display: grid;
  gap: 0.5rem;
}

.timeline p {
  margin: 0;
  padding: 0.6rem;
  border-radius: 8px;
  border: 1px solid rgba(91, 13, 29, 0.14);
  background: rgba(255, 255, 255, 0.65);
}

.timeline span {
  font-weight: 700;
  color: var(--maroon);
  margin-right: 0.2rem;
}

@media (max-width: 860px) {
  .countdown {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-hero {
    grid-template-columns: 1fr;
  }

  .gallery-side-notes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .luxury-gallery {
    column-count: 2;
  }

  .story-chapters {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .countdown {
    grid-template-columns: 1fr;
  }

  .gallery-feature img,
  .gallery-feature {
    height: 300px;
    min-height: 300px;
  }

  .save-date-video,
  .save-overlay {
    min-height: 500px;
  }

  .gallery-feature-overlay {
    flex-direction: column;
    align-items: flex-start;
  }

  .seal-core {
    width: 74px;
    height: 74px;
  }

  .filmstrip-track img {
    width: 150px;
    height: 95px;
  }

  .section-badge {
    position: static;
    display: inline-block;
    margin-bottom: 0.5rem;
  }

  .details-grid {
    grid-template-columns: 1fr;
  }

  .luxury-gallery {
    column-count: 1;
  }

  .gallery-side-notes {
    grid-template-columns: 1fr;
  }
}
