/* ============================================================
   DARK LUXURY NOIR — Wedding Invitation Template
   style.css — All styling, zero hardcoded colors
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,600&family=Jost:wght@200;300;400;500;600&display=swap');

/* ================================================================
   1. CSS CUSTOM PROPERTIES (Theme Engine)
   ================================================================ */
:root {
  /* — Colors — */
  --color-bg:            #0D0D0F;
  --color-surface:       #151518;
  --color-surface-2:     #1E1E23;
  --color-surface-3:     #252530;
  --color-gold:          #C9A96E;
  --color-gold-light:    #E8D5A3;
  --color-gold-dark:     #8B6914;
  --color-pearl:         #F5F0E8;
  --color-pearl-dim:     #9A9080;
  --color-text:          #F5F0E8;
  --color-text-muted:    #6A6A7A;
  --color-border:        rgba(201,169,110,.18);
  --color-border-strong: rgba(201,169,110,.55);
  --color-overlay:       rgba(13,13,15,.88);
  --color-error:         #E05A5A;
  --color-success:       #5ABA8A;

  /* — Typography — */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', system-ui, sans-serif;

  /* — Spacing — */
  --space-xs:    8px;
  --space-sm:    16px;
  --space-md:    24px;
  --space-lg:    40px;
  --space-xl:    64px;
  --space-2xl:   96px;
  --space-3xl:   128px;
  --container:   1180px;
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   16px;
  --radius-full: 9999px;

  /* — Transitions — */
  --transition-fast:   0.2s cubic-bezier(.4,0,.2,1);
  --transition-base:   0.4s cubic-bezier(.4,0,.2,1);
  --transition-slow:   0.7s cubic-bezier(.4,0,.2,1);
  --transition-spring: 0.6s cubic-bezier(.34,1.56,.64,1);

  /* — Shadows — */
  --shadow-sm:  0 2px 12px rgba(0,0,0,.4);
  --shadow-md:  0 8px 32px rgba(0,0,0,.5);
  --shadow-lg:  0 20px 64px rgba(0,0,0,.6);
  --shadow-gold: 0 0 24px rgba(201,169,110,.15);
}

/* ================================================================
   2. RESET & BASE
   ================================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.8;
  overflow-x: hidden;
}

body.locked { overflow: hidden; }

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }
input, textarea, select { font-family: inherit; }

/* ================================================================
   3. UTILITIES
   ================================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-md);
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.text-center { text-align: center; }
.text-gold    { color: var(--color-gold); }

/* — Reveal animations — */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
  transition-delay: calc(var(--delay, 0) * 120ms);
}
[data-reveal="left"]  { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="scale"] { transform: scale(.92); }
[data-reveal="mask"]  { transform: none; clip-path: inset(0 100% 0 0); }

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0% 0 0);
}

/* — Gold divider — */
.gold-line {
  display: block;
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  margin-inline: auto;
}

.section-label {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-sm);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-pearl);
}

.section-subtitle {
  font-size: .95rem;
  color: var(--color-pearl-dim);
  max-width: 540px;
  margin-inline: auto;
  margin-top: var(--space-sm);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}
.section-header .gold-line { margin-bottom: var(--space-md); }

/* ================================================================
   4. BUTTONS
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.06);
  opacity: 0;
  transition: opacity var(--transition-fast);
}
.btn:hover::before { opacity: 1; }

.btn-primary {
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-light) 100%);
  color: var(--color-bg);
}
.btn-primary:hover {
  box-shadow: 0 8px 24px rgba(201,169,110,.35);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid var(--color-border-strong);
  color: var(--color-gold);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--color-gold);
  background: rgba(201,169,110,.08);
  transform: translateY(-2px);
}

/* ================================================================
   5. LOADING SCREEN
   ================================================================ */
#loading-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  transition: opacity .7s ease, visibility .7s ease;
}

#loading-screen.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading-monogram {
  position: relative;
  width: 120px;
  height: 120px;
}

.loading-monogram svg {
  width: 100%;
  height: 100%;
}

.loading-monogram .ring-path {
  stroke: var(--color-gold);
  stroke-width: 1;
  fill: none;
  stroke-dasharray: 360;
  stroke-dashoffset: 360;
  animation: drawRing 1.8s cubic-bezier(.4,0,.2,1) forwards;
}

@keyframes drawRing {
  to { stroke-dashoffset: 0; }
}

.loading-initials {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  font-style: italic;
  color: var(--color-gold);
  opacity: 0;
  animation: fadeInEl .5s ease .8s forwards;
}

@keyframes fadeInEl {
  to { opacity: 1; }
}

.loading-text {
  font-size: .7rem;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--color-gold);
  opacity: 0;
  animation: fadeInEl .5s ease 1.2s forwards;
}

.loading-bar-wrap {
  width: 160px;
  height: 1px;
  background: var(--color-surface-3, #252530);
  position: relative;
  overflow: hidden;
}

.loading-bar {
  position: absolute;
  left: 0; top: 0; height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--color-gold-dark), var(--color-gold-light));
  animation: loadBar 1.8s ease .4s forwards;
}

@keyframes loadBar {
  to { width: 100%; }
}

/* ================================================================
   6. NAVIGATION (Dot + Hamburger)
   ================================================================ */
.side-nav {
  position: fixed;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.side-nav-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-text-muted);
  transition: var(--transition-base);
  cursor: pointer;
  position: relative;
}

.side-nav-dot::before {
  content: attr(data-label);
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: .65rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--color-gold);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

.side-nav-dot:hover::before,
.side-nav-dot.active::before { opacity: 1; }

.side-nav-dot.active,
.side-nav-dot:hover {
  background: var(--color-gold);
  box-shadow: 0 0 10px rgba(201,169,110,.5);
  transform: scale(1.6);
}

/* Top bar / mobile nav */
.top-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: var(--space-sm) var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition-base), backdrop-filter var(--transition-base);
}

.top-bar.scrolled {
  background: rgba(13,13,15,.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
}

.top-bar-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--color-gold);
  letter-spacing: .05em;
}

.hamburger {
  width: 36px;
  height: 28px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  padding: 2px 0;
  z-index: 201;
}

.hamburger span {
  display: block;
  height: 1px;
  background: var(--color-gold);
  transition: var(--transition-base);
  transform-origin: left center;
}

.hamburger.open span:nth-child(1) { transform: rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 199;
  background: rgba(13,13,15,.97);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-base);
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 2rem;
  font-style: italic;
  color: var(--color-pearl);
  transition: color var(--transition-fast);
}
.mobile-menu a:hover { color: var(--color-gold); }

/* ================================================================
   7. COVER / HERO — Split Screen
   ================================================================ */
#cover {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}

.cover-left {
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px var(--space-xl) var(--space-xl) var(--space-xl);
  position: relative;
  z-index: 1;
}

.cover-label {
  font-size: .7rem;
  letter-spacing: .45em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-lg);
  opacity: 0;
  animation: fadeInEl .6s ease 2s forwards;
}

.cover-names {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.5vw, 6rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--color-pearl);
  margin-bottom: var(--space-md);
  opacity: 0;
  animation: revealNames .9s cubic-bezier(.4,0,.2,1) 2.1s forwards;
}

@keyframes revealNames {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

.cover-names em {
  font-style: italic;
  color: var(--color-gold);
  display: block;
}

.cover-ampersand {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.5rem);
  font-style: italic;
  color: var(--color-gold);
  margin: var(--space-xs) 0;
}

.cover-date {
  font-size: .8rem;
  letter-spacing: .3em;
  color: var(--color-pearl-dim);
  margin-bottom: var(--space-xl);
  opacity: 0;
  animation: fadeInEl .6s ease 2.5s forwards;
}

.cover-cta {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInEl .6s ease 2.8s forwards;
}

.cover-ornament {
  position: absolute;
  top: var(--space-xl);
  left: var(--space-xl);
  width: 80px;
  opacity: .12;
}

/* Vertical gold line separator */
.cover-separator {
  position: absolute;
  left: 50%;
  top: 10%;
  bottom: 10%;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--color-gold-dark) 30%, var(--color-gold) 50%, var(--color-gold-dark) 70%, transparent);
  z-index: 2;
  opacity: .5;
}

.cover-right {
  position: relative;
  overflow: hidden;
}

.cover-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: brightness(.75) saturate(.8);
  transform: scale(1.05);
  animation: zoomOut 6s ease forwards 1.5s;
}

@keyframes zoomOut {
  to { transform: scale(1); }
}

.cover-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--color-bg) 0%, transparent 30%, transparent 70%, rgba(0,0,0,.4) 100%);
}

.cover-scroll-hint {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: .65rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  z-index: 5;
  animation: bounceY 2.5s ease-in-out infinite 3.5s;
  opacity: 0;
  animation: fadeInEl .6s ease 3.2s forwards, bounceY 2.5s ease 3.8s infinite;
}

.cover-scroll-hint::after {
  content: '';
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--color-gold), transparent);
  display: block;
}

@keyframes bounceY {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ================================================================
   8. OPENING / BISMILLAH
   ================================================================ */
#opening {
  padding: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
}

.opening-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(201,169,110,.04) 0%, transparent 50%),
                    radial-gradient(circle at 80% 50%, rgba(201,169,110,.04) 0%, transparent 50%);
  pointer-events: none;
}

.opening-card {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
  padding: var(--space-xl) var(--space-lg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-surface-2) 100%);
  position: relative;
}

.opening-card::before,
.opening-card::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 60px;
  border-color: var(--color-gold-dark);
  border-style: solid;
  opacity: .5;
}
.opening-card::before {
  top: -1px; left: -1px;
  border-width: 1px 0 0 1px;
  border-radius: var(--radius-sm) 0 0 0;
}
.opening-card::after {
  bottom: -1px; right: -1px;
  border-width: 0 1px 1px 0;
  border-radius: 0 0 var(--radius-sm) 0;
}

.opening-arabic {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-style: italic;
  color: var(--color-gold-light);
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

.opening-quote {
  font-size: .95rem;
  font-weight: 300;
  color: var(--color-pearl-dim);
  line-height: 1.9;
  margin-bottom: var(--space-md);
}

.opening-source {
  font-size: .7rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--color-gold);
}

/* ================================================================
   9. COUPLE
   ================================================================ */
#couple {
  padding: var(--space-3xl) 0;
}

.couple-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.couple-card {
  text-align: center;
}

.couple-photo-wrap {
  width: 200px;
  height: 260px;
  margin: 0 auto var(--space-md);
  position: relative;
}

.couple-photo-wrap::before {
  content: '';
  position: absolute;
  inset: -8px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  z-index: 0;
}

.couple-photo-wrap::after {
  content: '';
  position: absolute;
  inset: -4px;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-md);
  opacity: .4;
  z-index: 0;
}

.couple-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
  position: relative;
  z-index: 1;
  filter: brightness(.85) saturate(.9);
  transition: filter var(--transition-base);
}

.couple-photo-wrap:hover .couple-photo {
  filter: brightness(1) saturate(1);
}

.couple-name {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 400;
  font-style: italic;
  color: var(--color-pearl);
  margin-bottom: 4px;
}

.couple-fullname {
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-xs);
}

.couple-parents {
  font-size: .85rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.couple-parents small {
  display: block;
  font-size: .7rem;
  letter-spacing: .1em;
  color: var(--color-text-muted);
  margin-bottom: 4px;
  text-transform: uppercase;
}

.couple-instagram {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .75rem;
  color: var(--color-gold);
  margin-top: var(--space-sm);
  transition: opacity var(--transition-fast);
}
.couple-instagram:hover { opacity: .7; }

.couple-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.couple-divider-ampersand {
  font-family: var(--font-display);
  font-size: 4rem;
  font-style: italic;
  color: var(--color-gold);
  line-height: 1;
}

.couple-divider-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, transparent, var(--color-gold), transparent);
}

/* ================================================================
   10. COUNTDOWN
   ================================================================ */
#countdown {
  padding: var(--space-3xl) 0;
  background: linear-gradient(180deg, transparent 0%, var(--color-surface) 50%, transparent 100%);
  position: relative;
  overflow: hidden;
}

.countdown-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(201,169,110,.05) 0%, transparent 70%);
  pointer-events: none;
}

.countdown-grid {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.countdown-block {
  text-align: center;
  min-width: 100px;
}

.countdown-digits {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 300;
  color: var(--color-pearl);
  line-height: 1;
  margin-bottom: 6px;
  /* digit glow */
  text-shadow: 0 0 40px rgba(201,169,110,.2);
  position: relative;
  display: block;
  transition: transform .15s;
}

.countdown-digits.flip { animation: digitFlip .2s ease; }
@keyframes digitFlip {
  0% { transform: scaleY(1); }
  50%{ transform: scaleY(.7); opacity:.5; }
  100%{ transform: scaleY(1); opacity:1; }
}

.countdown-label {
  font-size: .65rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.countdown-separator {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4rem);
  color: var(--color-gold);
  align-self: center;
  line-height: 1;
  opacity: .5;
  animation: blink 1.5s ease infinite;
}
@keyframes blink { 50% { opacity: .1; } }

/* ================================================================
   11. EVENT
   ================================================================ */
#event {
  padding: var(--space-3xl) 0;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-md);
}

.event-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  position: relative;
  overflow: hidden;
  transition: var(--transition-base);
}

.event-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.event-card:hover {
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-gold);
  transform: translateY(-4px);
}

.event-card:hover::before { opacity: 1; }

.event-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  color: var(--color-gold);
}

.event-card-icon svg { width: 22px; height: 22px; }

.event-card-name {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-style: italic;
  color: var(--color-pearl);
  margin-bottom: var(--space-xs);
}

.event-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: var(--space-md);
}

.event-meta-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: .85rem;
  color: var(--color-pearl-dim);
}

.event-meta-row svg {
  width: 16px;
  height: 16px;
  color: var(--color-gold);
  flex-shrink: 0;
  margin-top: 3px;
}

.event-meta-row strong {
  color: var(--color-pearl);
  font-weight: 400;
  display: block;
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.event-dresscode {
  margin-top: var(--space-md);
  padding: 10px 14px;
  background: rgba(201,169,110,.06);
  border-radius: var(--radius-sm);
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-gold);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ================================================================
   12. MAPS
   ================================================================ */
#maps {
  padding: var(--space-3xl) 0;
}

.maps-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-lg);
  align-items: center;
}

.maps-info {}

.maps-info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--color-border);
}

.maps-info-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
}

.maps-info-icon svg { width: 20px; height: 20px; }

.maps-info-label {
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 4px;
}

.maps-info-value {
  font-size: .9rem;
  color: var(--color-pearl-dim);
  line-height: 1.6;
}

.maps-actions {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
  flex-wrap: wrap;
}

.maps-embed-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid var(--color-border);
}

.maps-embed-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(1) invert(1) brightness(.8);
}

/* ================================================================
   13. STORY / TIMELINE
   ================================================================ */
#story {
  padding: var(--space-3xl) 0;
  overflow: hidden;
}

.story-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.story-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--color-border-strong) 10%, var(--color-border-strong) 90%, transparent);
  transform: translateX(-50%);
}

.story-item {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--space-md);
  align-items: center;
}

.story-item:nth-child(even) .story-content { order: 3; text-align: left; }
.story-item:nth-child(even) .story-photo-col { order: 1; }
.story-item:nth-child(odd) .story-content { text-align: right; }

.story-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 1;
}

.story-node-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--color-gold);
  background: var(--color-bg);
  box-shadow: 0 0 12px rgba(201,169,110,.4);
}

.story-node-year {
  font-size: .65rem;
  letter-spacing: .2em;
  color: var(--color-gold);
  text-transform: uppercase;
  white-space: nowrap;
}

.story-content {}

.story-month {
  display: block;
  font-size: .65rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 6px;
}

.story-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--color-pearl);
  margin-bottom: var(--space-xs);
}

.story-text {
  font-size: .875rem;
  color: var(--color-pearl-dim);
  line-height: 1.8;
  max-width: 280px;
}

.story-item:nth-child(odd) .story-text { margin-left: auto; }

.story-photo-col {}

.story-photo {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  filter: brightness(.8) saturate(.85);
  transition: var(--transition-base);
}

.story-item:nth-child(even) .story-photo { margin-left: auto; }

.story-photo:hover {
  filter: brightness(.95) saturate(1);
  border-color: var(--color-border-strong);
}

/* ================================================================
   14. GALLERY — Masonry
   ================================================================ */
#gallery {
  padding: var(--space-3xl) 0;
}

.gallery-grid {
  columns: 3 240px;
  column-gap: var(--space-sm);
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: var(--space-sm);
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: transform var(--transition-slow), filter var(--transition-base);
  filter: brightness(.85) saturate(.85);
}

.gallery-item:hover img {
  transform: scale(1.05);
  filter: brightness(1) saturate(1.1);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(13,13,15,.85) 100%);
  opacity: 0;
  transition: opacity var(--transition-base);
  display: flex;
  align-items: flex-end;
  padding: var(--space-md);
}

.gallery-item:hover .gallery-item-overlay { opacity: 1; }

.gallery-item-caption {
  font-size: .75rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--color-gold-light);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-base);
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-img-wrap {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-img-wrap img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.lightbox-caption {
  text-align: center;
  margin-top: var(--space-sm);
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.lightbox-close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  color: var(--color-pearl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: var(--transition-fast);
  z-index: 5;
}

.lightbox-close:hover {
  background: var(--color-surface-3);
  color: var(--color-gold);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(21,21,24,.8);
  border: 1px solid var(--color-border);
  color: var(--color-pearl);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  z-index: 5;
}

.lightbox-nav:hover {
  background: var(--color-surface-3);
  color: var(--color-gold);
}

.lightbox-prev { left: var(--space-md); }
.lightbox-next { right: var(--space-md); }
.lightbox-prev svg, .lightbox-next svg { width: 20px; height: 20px; }

/* ================================================================
   15. GIFT / AMPLOP DIGITAL
   ================================================================ */
#gift {
  padding: var(--space-3xl) 0;
  background: linear-gradient(180deg, transparent, var(--color-surface) 30%, var(--color-surface) 70%, transparent);
}

.gift-cards {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-lg);
}

.gift-bank-card {
  width: 340px;
  height: 200px;
  perspective: 1000px;
  cursor: pointer;
}

.gift-bank-card-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform .7s cubic-bezier(.4,0,.2,1);
}

.gift-bank-card:hover .gift-bank-card-inner,
.gift-bank-card.flipped .gift-bank-card-inner {
  transform: rotateY(180deg);
}

.gift-card-face,
.gift-card-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  border: 1px solid var(--color-border-strong);
  display: flex;
  flex-direction: column;
}

.gift-card-face {
  background: linear-gradient(135deg, #1a1a22 0%, #2a2730 50%, #1e1c28 100%);
  justify-content: space-between;
}

.gift-card-back {
  background: linear-gradient(135deg, #222030 0%, #2a2530 100%);
  transform: rotateY(180deg);
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: var(--space-sm);
}

.gift-card-chip {
  width: 36px;
  height: 28px;
  background: linear-gradient(135deg, var(--color-gold-dark), var(--color-gold));
  border-radius: 4px;
  position: relative;
}

.gift-card-chip::after {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid var(--color-gold-dark);
  border-radius: 2px;
}

.gift-card-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--color-gold-light);
  text-align: right;
  letter-spacing: .05em;
}

.gift-card-number {
  font-size: 1.1rem;
  letter-spacing: .15em;
  color: var(--color-pearl);
  font-weight: 300;
}

.gift-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.gift-card-label {
  font-size: .55rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--color-pearl-dim);
  margin-bottom: 2px;
}

.gift-card-name {
  font-size: .85rem;
  color: var(--color-pearl);
  font-weight: 400;
}

.gift-card-back-label {
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.gift-card-back-number {
  font-size: 1.2rem;
  letter-spacing: .2em;
  color: var(--color-pearl);
  font-weight: 300;
}

.gift-card-copy-btn {
  padding: 8px 20px;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--color-gold);
  transition: var(--transition-fast);
}
.gift-card-copy-btn:hover { background: rgba(201,169,110,.1); }

.gift-address {
  max-width: 480px;
  margin: var(--space-md) auto 0;
  padding: var(--space-md);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  text-align: center;
}

.gift-address-label {
  font-size: .65rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-xs);
}

.gift-address-text {
  font-size: .875rem;
  color: var(--color-pearl-dim);
}

/* ================================================================
   16. RSVP
   ================================================================ */
#rsvp {
  padding: var(--space-3xl) 0;
}

.rsvp-wrap {
  max-width: 600px;
  margin-inline: auto;
  padding: var(--space-xl);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  position: relative;
}

.rsvp-wrap::before {
  content: '';
  position: absolute;
  top: -1px; left: 20%; right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

/* Float label inputs */
.form-group {
  position: relative;
  margin-bottom: var(--space-md);
}

.form-label {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  pointer-events: none;
  transition: var(--transition-fast);
  background: var(--color-surface);
  padding: 0 4px;
}

.form-input {
  width: 100%;
  padding: 16px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-size: .9rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(201,169,110,.1);
}

.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
  top: -8px;
  font-size: .6rem;
  color: var(--color-gold);
}

.form-input::placeholder { color: transparent; }

select.form-input {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23C9A96E' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-color: rgba(255,255,255,.03);
}

select.form-input option {
  background: var(--color-surface-2);
  color: var(--color-text);
}

textarea.form-input {
  min-height: 100px;
  resize: vertical;
}

/* Radio buttons for attendance */
.radio-group {
  display: flex;
  gap: var(--space-xs);
  flex-wrap: wrap;
  margin-top: 4px;
}

.radio-option {
  flex: 1;
  min-width: 100px;
}

.radio-option input { display: none; }

.radio-label {
  display: block;
  padding: 10px var(--space-sm);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
}

.radio-option input:checked + .radio-label {
  border-color: var(--color-gold);
  color: var(--color-gold);
  background: rgba(201,169,110,.08);
}

.radio-label:hover {
  border-color: var(--color-border-strong);
  color: var(--color-pearl);
}

.rsvp-group-label {
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 8px;
  display: block;
}

/* ================================================================
   17. WISHES
   ================================================================ */
#wishes {
  padding: var(--space-3xl) 0;
}

.wishes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.wish-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  position: relative;
  transition: var(--transition-base);
}

.wish-card:hover {
  border-color: var(--color-border-strong);
  transform: translateY(-3px);
}

.wish-quote-mark {
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: .5;
  color: var(--color-gold);
  opacity: .3;
  margin-bottom: var(--space-xs);
  font-style: italic;
}

.wish-message {
  font-size: .875rem;
  color: var(--color-pearl-dim);
  line-height: 1.8;
  margin-bottom: var(--space-md);
  font-style: italic;
}

.wish-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wish-name {
  font-size: .8rem;
  font-weight: 500;
  color: var(--color-pearl);
}

.wish-date {
  font-size: .65rem;
  letter-spacing: .1em;
  color: var(--color-text-muted);
}

/* Wish input form */
.wish-form {
  max-width: 560px;
  margin-inline: auto;
  padding: var(--space-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

/* ================================================================
   18. MUSIC PLAYER
   ================================================================ */
.music-player {
  position: fixed;
  bottom: var(--space-md);
  left: var(--space-md);
  z-index: 300;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(21,21,24,.92);
  backdrop-filter: blur(16px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 8px 16px 8px 8px;
  transition: var(--transition-base);
  box-shadow: var(--shadow-md);
  max-width: 320px;
}

.music-player.collapsed {
  max-width: 56px;
  padding: 8px;
}

.music-cover {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--color-border-strong);
  flex-shrink: 0;
  animation: spin 8s linear infinite paused;
}

.music-player.playing .music-cover { animation-play-state: running; }

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

.music-info {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  transition: var(--transition-base);
}

.music-player.collapsed .music-info { display: none; }

.music-title {
  font-size: .75rem;
  font-weight: 500;
  color: var(--color-pearl);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.music-artist {
  font-size: .65rem;
  color: var(--color-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.music-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  transition: var(--transition-base);
}

.music-player.collapsed .music-controls .music-btn-prev,
.music-player.collapsed .music-controls .music-btn-next { display: none; }

.music-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-pearl-dim);
  transition: var(--transition-fast);
}

.music-btn:hover { color: var(--color-gold); }

.music-btn-play {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--color-gold-dark), var(--color-gold));
  color: var(--color-bg) !important;
  border-radius: 50%;
}

.music-btn svg { width: 16px; height: 16px; }
.music-btn-play svg { width: 18px; height: 18px; }

/* Waveform animation */
.music-wave {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 16px;
}

.music-player.collapsed .music-wave { display: none; }

.wave-bar {
  width: 2px;
  background: var(--color-gold);
  border-radius: 1px;
  animation: waveAnim 1s ease infinite;
  opacity: 0;
}

.music-player.playing .wave-bar { opacity: 1; }

.wave-bar:nth-child(1) { height: 6px;  animation-delay: 0s; }
.wave-bar:nth-child(2) { height: 12px; animation-delay: .1s; }
.wave-bar:nth-child(3) { height: 8px;  animation-delay: .2s; }
.wave-bar:nth-child(4) { height: 14px; animation-delay: .05s; }
.wave-bar:nth-child(5) { height: 6px;  animation-delay: .15s; }

@keyframes waveAnim {
  0%, 100% { transform: scaleY(1); }
  50%       { transform: scaleY(.4); }
}

/* ================================================================
   19. SCROLL TO TOP
   ================================================================ */
.scroll-top {
  position: fixed;
  bottom: var(--space-md);
  right: var(--space-md);
  z-index: 300;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border-strong);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--color-surface-3);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

.scroll-top svg { width: 18px; height: 18px; }

/* ================================================================
   20. FOOTER
   ================================================================ */
#footer {
  padding: var(--space-xl) 0 var(--space-lg);
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.footer-names {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4rem);
  font-style: italic;
  color: var(--color-gold);
  margin-bottom: var(--space-md);
}

.footer-hashtag {
  font-size: .75rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--color-pearl-dim);
  margin-bottom: var(--space-xl);
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.footer-social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-pearl-dim);
  transition: var(--transition-fast);
}

.footer-social-link:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.footer-social-link svg { width: 18px; height: 18px; }

.footer-copy {
  font-size: .7rem;
  letter-spacing: .1em;
  color: var(--color-text-muted);
}

/* ================================================================
   21. TOAST NOTIFICATION
   ================================================================ */
.toast {
  position: fixed;
  bottom: calc(var(--space-md) + 72px);
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--color-surface-3);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-full);
  padding: 10px 24px;
  font-size: .8rem;
  letter-spacing: .1em;
  color: var(--color-gold);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-base);
  white-space: nowrap;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ================================================================
   22. RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
  .couple-grid { grid-template-columns: 1fr 1fr; }
  .couple-divider { display: none; }
  .maps-inner { grid-template-columns: 1fr; }
  .story-timeline::before { left: 20px; }
  .story-item { grid-template-columns: 1fr; }
  .story-item:nth-child(even) .story-content { order: unset; text-align: left; }
  .story-item:nth-child(even) .story-photo-col { order: unset; }
  .story-item:nth-child(odd) .story-content { text-align: left; }
  .story-item:nth-child(odd) .story-text { margin-left: 0; }
  .story-node { flex-direction: row; }
  .story-photo { max-width: 100%; }
  .side-nav { display: none; }
  .hamburger { display: flex; }
}

@media (max-width: 768px) {
  #cover {
    grid-template-columns: 1fr;
    min-height: 100svh;
  }
  .cover-left {
    padding: 100px var(--space-md) var(--space-xl);
    min-height: 65svh;
    justify-content: flex-end;
  }
  .cover-right {
    height: 40svh;
    position: absolute;
    inset: 0;
    z-index: -1;
  }
  .cover-photo-overlay {
    background: linear-gradient(180deg, rgba(13,13,15,.2) 0%, rgba(13,13,15,.9) 60%, var(--color-bg) 100%);
  }
  .cover-separator { display: none; }
  .couple-grid { grid-template-columns: 1fr; gap: var(--space-lg); }
  .couple-divider { display: flex; flex-direction: row; }
  .couple-divider-line { width: 60px; height: 1px; }
  .countdown-grid { gap: var(--space-md); }
  .countdown-block { min-width: 70px; }
  .gallery-grid { columns: 2 160px; }
  .gift-bank-card { width: 100%; max-width: 340px; }
  .rsvp-wrap { padding: var(--space-md); }
  .event-grid { grid-template-columns: 1fr; }
  .wish-form { padding: var(--space-md); }
}

@media (max-width: 480px) {
  .cover-names { font-size: 2.8rem; }
  .gallery-grid { columns: 1; }
  .countdown-grid { gap: var(--space-sm); }
  .countdown-block { min-width: 60px; }
  .music-player { max-width: 260px; }
  .radio-group { flex-direction: column; }
  .radio-option { flex: unset; }
}

/* ================================================================
   23. DECORATIVE — Gold Corners & Ornaments
   ================================================================ */
.corner-decor {
  position: absolute;
  pointer-events: none;
}

.corner-decor-tl { top: var(--space-md); left: var(--space-md); }
.corner-decor-tr { top: var(--space-md); right: var(--space-md); transform: scaleX(-1); }
.corner-decor-bl { bottom: var(--space-md); left: var(--space-md); transform: scaleY(-1); }
.corner-decor-br { bottom: var(--space-md); right: var(--space-md); transform: scale(-1); }

/* Particle floating */
.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--color-gold);
  border-radius: 50%;
  opacity: 0;
  animation: floatParticle var(--duration, 6s) ease-in-out var(--delay, 0s) infinite;
}

@keyframes floatParticle {
  0%   { opacity: 0; transform: translate(0, 0); }
  20%  { opacity: .6; }
  80%  { opacity: .4; }
  100% { opacity: 0; transform: translate(var(--tx, 30px), var(--ty, -80px)); }
}

/* ================================================================
   24. SECTION SPACING
   ================================================================ */
.section-wrap {
  padding: var(--space-3xl) 0;
}

/* Hidden section */
[data-section-disabled] {
  display: none !important;
}

/* ================================================================
   25. NOISE TEXTURE OVERLAY (premium feel)
   ================================================================ */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .018;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* sections need stacking context but fixed elements must stay fixed */
#cover, #opening, #couple, #countdown, #event,
#maps, #story, #gallery, #gift, #rsvp, #wishes, #footer {
  position: relative;
  z-index: 1;
}

/* ================================================================
   26. SECTION GRADIENT DIVIDERS
   ================================================================ */
#couple::before,
#story::before,
#rsvp::before {
  content: '';
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border-strong), transparent);
  margin-bottom: var(--space-3xl);
}

/* ================================================================
   27. FOCUS STYLES (accessibility)
   ================================================================ */
:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ================================================================
   28. SELECTION COLOR
   ================================================================ */
::selection {
  background: rgba(201,169,110,.25);
  color: var(--color-pearl);
}

/* ================================================================
   29. SCROLLBAR
   ================================================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb {
  background: var(--color-surface-3);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover { background: var(--color-gold-dark); }

/* ================================================================
   30. PRINT
   ================================================================ */
@media print {
  #loading-screen, .music-player, .scroll-top, .side-nav,
  .top-bar, .hamburger, .mobile-menu { display: none !important; }
  body { background: white; color: black; }
  .section-title { color: #1a1a1a; }
}

/* ================================================================
   31. REDUCED MOTION
   ================================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }
}
