/* =========================================================================
   PROPOSAL WEBSITE - STYLESHEET
   Design system: Luxury minimalism / near-black + antique gold / glass
   Fonts: Cormorant Garamond (display) + Poppins (body & utility)
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. DESIGN TOKENS
   ------------------------------------------------------------------------- */
:root {
  /* Colour palette */
  --color-bg: #0a0a0c;              /* near-black base */
  --color-bg-elevated: #151318;     /* glass panel base */
  --color-gold: #c9a86a;            /* muted antique gold - primary accent */
  --color-gold-bright: #e8c992;     /* highlight glow gold */
  --color-gold-dim: #7d6a4f;        /* secondary / muted text on dark */
  --color-ivory: #f5f0e6;           /* warm primary text */
  --color-ivory-dim: rgba(245, 240, 230, 0.6);
  --color-danger: #c97a6a;          /* soft rose-red for "no" interactions */
  --color-success: #7fbf8f;         /* soft green glow for "yes" */

  /* Glass surfaces */
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(201, 168, 106, 0.18);
  --glass-blur: 18px;

  /* Typography */
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Poppins", -apple-system, BlinkMacSystemFont, sans-serif;

  --fs-hero: clamp(2.75rem, 8vw, 6rem);
  --fs-h1: clamp(2.25rem, 6vw, 4rem);
  --fs-h2: clamp(1.75rem, 4.5vw, 2.75rem);
  --fs-h3: clamp(1.25rem, 2.6vw, 1.5rem);
  --fs-body: clamp(1rem, 1.4vw, 1.125rem);
  --fs-small: 0.8125rem;

  /* Spacing scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 7rem;

  /* Motion */
  --ease-out-soft: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out-soft: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 0.3s;
  --dur-med: 0.7s;
  --dur-slow: 1.4s;

  /* Layout */
  --max-width: 1180px;
  --radius-md: 14px;
  --radius-lg: 24px;
}

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

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

body {
  background: var(--color-bg);
  color: var(--color-ivory);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

a {
  color: inherit;
}

/* The [hidden] attribute must always win over any component's own `display`
   value (e.g. .section, .lightbox both set display:flex). Without this,
   elements toggled via JS's hidden/removeAttribute('hidden') would keep
   rendering even while "hidden". */
[hidden] {
  display: none !important;
}

/* Respect reduced-motion preferences globally */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* -------------------------------------------------------------------------
   3. ACCESSIBILITY UTILITIES
   ------------------------------------------------------------------------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 1rem;
  background: var(--color-gold);
  color: var(--color-bg);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  font-weight: 500;
  z-index: 1000;
  transition: top var(--dur-fast) var(--ease-out-soft);
}

.skip-link:focus {
  top: 1rem;
}

:focus-visible {
  outline: 2px solid var(--color-gold-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

/* -------------------------------------------------------------------------
   4. AMBIENT BACKGROUND (stars / aurora / blobs / particles)
   ------------------------------------------------------------------------- */
.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 20% 30%, rgba(245, 240, 230, 0.5), transparent),
    radial-gradient(1px 1px at 60% 70%, rgba(245, 240, 230, 0.35), transparent),
    radial-gradient(1.5px 1.5px at 80% 20%, rgba(245, 240, 230, 0.4), transparent),
    radial-gradient(1px 1px at 35% 85%, rgba(245, 240, 230, 0.3), transparent),
    radial-gradient(1px 1px at 90% 55%, rgba(245, 240, 230, 0.35), transparent),
    radial-gradient(1.5px 1.5px at 10% 65%, rgba(245, 240, 230, 0.3), transparent);
  background-repeat: repeat;
  background-size: 340px 340px;
  opacity: 0.7;
  animation: twinkle 6s ease-in-out infinite alternate;
}

@keyframes twinkle {
  from { opacity: 0.45; }
  to   { opacity: 0.8; }
}

.aurora {
  position: absolute;
  top: -20%;
  left: -10%;
  width: 120%;
  height: 60%;
  background: linear-gradient(
    120deg,
    rgba(201, 168, 106, 0.08),
    rgba(125, 106, 79, 0.05) 40%,
    rgba(10, 10, 12, 0) 70%
  );
  filter: blur(60px);
  animation: aurora-drift 22s ease-in-out infinite alternate;
}

@keyframes aurora-drift {
  from { transform: translate(0, 0) rotate(0deg); }
  to   { transform: translate(4%, 6%) rotate(4deg); }
}

.light-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.18;
}

.light-blob--one {
  width: 40vw;
  height: 40vw;
  top: 10%;
  right: -10%;
  background: var(--color-gold);
  animation: blob-float 18s ease-in-out infinite;
}

.light-blob--two {
  width: 35vw;
  height: 35vw;
  bottom: 5%;
  left: -8%;
  background: var(--color-gold-dim);
  animation: blob-float 24s ease-in-out infinite reverse;
}

@keyframes blob-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-3%, 5%) scale(1.08); }
}

#particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.mouse-glow {
  position: fixed;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 168, 106, 0.08), transparent 70%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  transition: opacity var(--dur-fast) ease;
  will-change: transform;
}

@media (hover: none) {
  .mouse-glow {
    display: none;
  }
}

/* Signature element: the constellation thread that draws itself on scroll */
.constellation-thread {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.constellation-thread path {
  fill: none;
  stroke: var(--color-gold);
  stroke-width: 1.5;
  stroke-linecap: round;
  opacity: 0.55;
  filter: drop-shadow(0 0 4px rgba(201, 168, 106, 0.5));
}

/* -------------------------------------------------------------------------
   5. LAYOUT PRIMITIVES
   ------------------------------------------------------------------------- */
main {
  position: relative;
  z-index: 2;
}

.section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: var(--space-xl) var(--space-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-lg);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--fs-small);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-sm);
}

.section__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-h1);
  color: var(--color-ivory);
  letter-spacing: 0.01em;
}

.section__title--large {
  font-size: clamp(3rem, 9vw, 5.5rem);
  font-style: italic;
  font-weight: 400;
}

/* -------------------------------------------------------------------------
   6. SCROLL-REVEAL ANIMATION SYSTEM
   ------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(6px);
  transition:
    opacity var(--dur-med) var(--ease-out-soft),
    transform var(--dur-med) var(--ease-out-soft),
    filter var(--dur-med) var(--ease-out-soft);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

/* -------------------------------------------------------------------------
   7. BUTTONS
   ------------------------------------------------------------------------- */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  font-size: var(--fs-body);
  font-weight: 500;
  letter-spacing: 0.03em;
  border-radius: 999px;
  transition:
    transform var(--dur-fast) var(--ease-out-soft),
    box-shadow var(--dur-fast) var(--ease-out-soft),
    background var(--dur-fast) var(--ease-out-soft),
    border-color var(--dur-fast) var(--ease-out-soft);
}

.btn:active {
  transform: scale(0.97);
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dim));
  color: #14110c;
  box-shadow: 0 8px 30px rgba(201, 168, 106, 0.25);
  border: 1px solid transparent;
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(201, 168, 106, 0.4);
}

.btn--yes {
  background: transparent;
  border: 1.5px solid var(--color-success);
  color: var(--color-success);
}

.btn--yes:hover {
  background: rgba(127, 191, 143, 0.12);
  box-shadow: 0 0 30px rgba(127, 191, 143, 0.45);
  transform: translateY(-2px) scale(1.03);
}

.btn--no {
  background: transparent;
  border: 1.5px solid var(--color-gold-dim);
  color: var(--color-ivory-dim);
  transition: transform var(--dur-fast) var(--ease-out-soft),
              border-color var(--dur-fast) ease,
              color var(--dur-fast) ease;
}

.btn--no:hover {
  border-color: var(--color-danger);
  color: var(--color-danger);
}

.btn__ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: scale(0);
  pointer-events: none;
  animation: none;
}

.btn__ripple.is-animating {
  animation: ripple 0.6s var(--ease-out-soft);
}

@keyframes ripple {
  to {
    transform: scale(3.5);
    opacity: 0;
  }
}

/* -------------------------------------------------------------------------
   8. PAGE 1 - HERO
   ------------------------------------------------------------------------- */
.hero {
  text-align: center;
}

.hero__content {
  max-width: 720px;
}

.hero__headline {
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  font-weight: 500;
  line-height: 1.08;
  color: var(--color-ivory);
  margin-bottom: var(--space-sm);
}

.hero__subtext {
  font-size: var(--fs-body);
  color: var(--color-ivory-dim);
  margin-bottom: var(--space-md);
  font-weight: 300;
}

.hero__open-btn {
  margin-top: var(--space-sm);
}

.scroll-hint {
  position: absolute;
  bottom: var(--space-md);
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 1.5px solid var(--color-gold-dim);
  border-radius: 999px;
}

.scroll-hint span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  background: var(--color-gold);
  border-radius: 999px;
  transform: translateX(-50%);
  animation: scroll-hint-move 2s ease-in-out infinite;
}

@keyframes scroll-hint-move {
  0%   { top: 8px; opacity: 1; }
  70%  { top: 22px; opacity: 0; }
  100% { top: 22px; opacity: 0; }
}

/* -------------------------------------------------------------------------
   9. PAGE 2 - LOADING MEMORIES
   ------------------------------------------------------------------------- */
.loading-page {
  text-align: center;
}

.loading-page__content {
  max-width: 420px;
  width: 100%;
}

.loading-page__status {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-style: italic;
  color: var(--color-gold-bright);
  margin-bottom: var(--space-md);
  min-height: 1.6em;
}

.loading-bar {
  width: 100%;
  height: 3px;
  background: rgba(245, 240, 230, 0.1);
  border-radius: 999px;
  overflow: hidden;
}

.loading-bar__fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-gold-dim), var(--color-gold-bright));
  transition: width 0.2s linear;
}

.loading-page__percentage {
  margin-top: var(--space-sm);
  font-size: var(--fs-small);
  letter-spacing: 0.1em;
  color: var(--color-ivory-dim);
}

/* -------------------------------------------------------------------------
   10. PAGE 3 - STORY TIMELINE
   ------------------------------------------------------------------------- */
.timeline-section {
  min-height: auto;
  padding-bottom: var(--space-xl);
}

.timeline {
  position: relative;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 28px;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--color-gold-dim) 8%,
    var(--color-gold-dim) 92%,
    transparent
  );
}

.timeline__item {
  position: relative;
  padding-left: 72px;
  margin-bottom: var(--space-lg);
}

.timeline__item:last-child {
  margin-bottom: 0;
}

.timeline__marker {
  position: absolute;
  left: 22px;
  top: 8px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--color-bg);
  border: 1.5px solid var(--color-gold);
  box-shadow: 0 0 12px rgba(201, 168, 106, 0.5);
}

.timeline__card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  transition: transform var(--dur-fast) var(--ease-out-soft), border-color var(--dur-fast);
}

.timeline__card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 168, 106, 0.4);
}

.timeline__image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
}

.timeline__date {
  font-size: var(--fs-small);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.35rem;
}

.timeline__title {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.timeline__text {
  color: var(--color-ivory-dim);
  font-size: 0.95rem;
}

/* -------------------------------------------------------------------------
   11. PAGE 4 - REASONS
   ------------------------------------------------------------------------- */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-md);
  width: 100%;
  max-width: var(--max-width);
}

@media (min-width: 1025px) {
  .reasons-grid {
    grid-template-columns: repeat(3, minmax(0, 320px));
    justify-content: center;
  }
}

.reason-card {
  position: relative;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  overflow: hidden;
  transition: transform var(--dur-fast) var(--ease-out-soft), border-color var(--dur-fast);
}

.reason-card:hover,
.reason-card:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(201, 168, 106, 0.5);
}

.reason-card__glow {
  position: absolute;
  top: -40%;
  left: -40%;
  width: 180%;
  height: 180%;
  background: radial-gradient(circle, rgba(201, 168, 106, 0.12), transparent 60%);
  opacity: 0;
  transition: opacity var(--dur-med) ease;
  pointer-events: none;
}

.reason-card:hover .reason-card__glow,
.reason-card:focus-visible .reason-card__glow {
  opacity: 1;
}

.reason-card__title {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 500;
  color: var(--color-gold-bright);
  margin-bottom: 0.6rem;
  position: relative;
}

.reason-card__text {
  color: var(--color-ivory-dim);
  font-size: 0.95rem;
  position: relative;
}

/* -------------------------------------------------------------------------
   12. PAGE 5 - GALLERY + LIGHTBOX
   ------------------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-sm);
  width: 100%;
  max-width: var(--max-width);
}

@media (min-width: 1025px) {
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 280px));
    justify-content: center;
  }
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--glass-border);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-med) var(--ease-out-soft);
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.08);
}

.gallery-item__caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: var(--space-sm);
  font-size: 0.85rem;
  color: var(--color-ivory);
  text-align: left;
  background: linear-gradient(to top, rgba(10, 10, 12, 0.85), transparent);
  transform: translateY(100%);
  transition: transform var(--dur-fast) var(--ease-out-soft);
}

.gallery-item:hover .gallery-item__caption,
.gallery-item:focus-visible .gallery-item__caption {
  transform: translateY(0);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(10, 10, 12, 0.92);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  opacity: 0;
  animation: lightbox-in var(--dur-fast) var(--ease-out-soft) forwards;
}

@keyframes lightbox-in {
  to { opacity: 1; }
}

.lightbox__figure {
  max-width: min(90vw, 800px);
  text-align: center;
}

.lightbox__image {
  max-width: 100%;
  max-height: 75vh;
  border-radius: var(--radius-md);
  object-fit: contain;
  margin: 0 auto;
}

.lightbox__caption {
  margin-top: var(--space-sm);
  color: var(--color-ivory-dim);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
}

.lightbox__close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  font-size: 2rem;
  color: var(--color-ivory);
  line-height: 1;
  padding: 0.5rem;
  transition: color var(--dur-fast) ease, transform var(--dur-fast) ease;
}

.lightbox__close:hover {
  color: var(--color-gold);
  transform: rotate(90deg);
}

/* -------------------------------------------------------------------------
   13. PAGE 6 - THE LETTER
   ------------------------------------------------------------------------- */
.letter-section {
  text-align: center;
}

.letter-paper {
  max-width: 640px;
  width: 100%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-md);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  text-align: left;
}

.letter-paper__text {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  font-style: italic;
  line-height: 1.85;
  color: var(--color-ivory);
  white-space: pre-wrap;
  min-height: 240px;
}

.letter-paper__text::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--color-gold);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: caret-blink 0.9s steps(1) infinite;
}

.letter-paper__text.is-done::after {
  display: none;
}

@keyframes caret-blink {
  50% { opacity: 0; }
}

.mute-btn {
  margin-top: var(--space-md);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-small);
  letter-spacing: 0.05em;
  color: var(--color-ivory-dim);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  padding: 0.6rem 1.2rem;
  transition: border-color var(--dur-fast) ease, color var(--dur-fast) ease;
}

.mute-btn:hover {
  border-color: var(--color-gold);
  color: var(--color-gold-bright);
}

/* -------------------------------------------------------------------------
   14. PAGE 7 - FINAL PROPOSAL
   ------------------------------------------------------------------------- */
.proposal-section {
  text-align: center;
}

.proposal-content {
  max-width: 620px;
}

.proposal-heart {
  width: 90px;
  margin: 0 auto var(--space-md);
  animation: heart-beat 1.8s ease-in-out infinite;
}

.proposal-heart__svg path {
  fill: none;
  stroke: var(--color-gold);
  stroke-width: 2.5;
  filter: drop-shadow(0 0 12px rgba(201, 168, 106, 0.6));
}

@keyframes heart-beat {
  0%, 100% { transform: scale(1); }
  15%      { transform: scale(1.12); }
  30%      { transform: scale(1); }
  45%      { transform: scale(1.08); }
}

.proposal-question {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 6.5vw, 4rem);
  font-weight: 500;
  margin-bottom: var(--space-lg);
  transition: transform var(--dur-fast) var(--ease-out-soft);
}

.proposal-buttons {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

.proposal-note {
  margin-top: var(--space-md);
  color: var(--color-gold-bright);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  min-height: 1.6em;
}

/* -------------------------------------------------------------------------
   15. YES PAGE
   ------------------------------------------------------------------------- */
.yes-page {
  text-align: center;
  overflow: hidden;
}

#confettiCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.yes-page__content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.yes-page__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 500;
  margin-bottom: var(--space-lg);
  color: var(--color-gold-bright);
}

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

.countdown__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 80px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: var(--space-sm);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
}

.countdown__value {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--color-gold-bright);
  font-weight: 500;
}

.countdown__label {
  font-size: var(--fs-small);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-ivory-dim);
  margin-top: 0.25rem;
}

/* -------------------------------------------------------------------------
   16. EASTER EGG: floating hearts / sparkles (JS-injected elements)
   ------------------------------------------------------------------------- */
.floating-heart {
  position: fixed;
  bottom: -10%;
  z-index: 50;
  color: var(--color-gold);
  opacity: 0.85;
  pointer-events: none;
  animation: float-up linear forwards;
}

@keyframes float-up {
  to {
    transform: translateY(-110vh) rotate(20deg);
    opacity: 0;
  }
}

.sparkle-cursor {
  position: fixed;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-gold-bright);
  box-shadow: 0 0 8px 2px rgba(232, 201, 146, 0.8);
  pointer-events: none;
  z-index: 60;
  animation: sparkle-fade 0.8s ease-out forwards;
}

@keyframes sparkle-fade {
  to {
    transform: scale(0);
    opacity: 0;
  }
}

.quote-toast {
  position: fixed;
  bottom: var(--space-md);
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--color-gold-bright);
  z-index: 200;
  opacity: 0;
  transition: opacity var(--dur-fast) ease, transform var(--dur-fast) ease;
}

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

/* -------------------------------------------------------------------------
   17. RESPONSIVE BREAKPOINTS
   ------------------------------------------------------------------------- */

/* Tablet and below */
@media (max-width: 1024px) {
  .reasons-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile landscape / small tablet */
@media (max-width: 768px) {
  .section {
    padding: var(--space-lg) var(--space-sm);
  }

  .timeline__item {
    padding-left: 56px;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline__marker {
    left: 14px;
  }

  .countdown {
    gap: var(--space-sm);
  }
}

/* Mobile portrait */
@media (max-width: 425px) {
  .reasons-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .proposal-buttons {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }

  .countdown {
    flex-wrap: wrap;
  }

  .countdown__unit {
    min-width: 70px;
  }

  .light-blob--one,
  .light-blob--two {
    width: 70vw;
    height: 70vw;
  }
}

/* Very small devices */
@media (max-width: 320px) {
  .hero__headline {
    font-size: 2.25rem;
  }

  .letter-paper {
    padding: var(--space-md) var(--space-sm);
  }
}

/* High-resolution / large desktop */
@media (min-width: 1920px) {
  :root {
    --max-width: 1400px;
  }
}
