:root {
  --cream: #F7F4ED;
  --cream-soft: #FBF9F4;
  --ink: #1A1A1A;
  --ink-soft: #4A4440;
  --muted: #6E6A62;
  --gold: #C9A24B;
  --gold-light: #F6E2A4;
  --gold-deep: #B88B2F;
  --gold-text: #8A6423;
  --mauve: #C7929F;
  --mauve-light: #E4C1C8;
  --mauve-deep: #9C6570;
  --line: #E4DDD0;
  --shadow: 0 20px 50px -25px rgba(26, 20, 15, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  margin: 0;
  background:
    radial-gradient(ellipse 1000px 620px at 50% -10%, rgba(201, 162, 75, 0.22) 0%, rgba(201, 162, 75, 0.09) 42%, transparent 72%),
    radial-gradient(ellipse 720px 540px at 96% 16%, rgba(199, 146, 159, 0.18) 0%, rgba(199, 146, 159, 0.06) 45%, transparent 72%),
    radial-gradient(ellipse 780px 580px at 2% 84%, rgba(201, 162, 75, 0.16) 0%, rgba(201, 162, 75, 0.05) 45%, transparent 72%),
    radial-gradient(ellipse 640px 480px at 80% 90%, rgba(199, 146, 159, 0.10) 0%, transparent 68%),
    linear-gradient(180deg, #FBF8F1 0%, #F7F4ED 45%, #F4EFE3 100%);
  color: var(--ink);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 19px;
  line-height: 1.6;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

body > * {
  position: relative;
  z-index: 1;
}

h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  text-wrap: balance;
  margin: 0;
}

p {
  margin: 0;
}

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

.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-text);
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px 64px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-deep));
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--ink);
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  overflow: hidden;
  box-shadow:
    0 18px 40px -14px rgba(184, 139, 47, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  animation: btnGlow 7s ease-in-out infinite;
}

@keyframes btnGlow {
  0%, 82%, 100% {
    box-shadow:
      0 18px 40px -14px rgba(184, 139, 47, 0.55),
      inset 0 1px 0 rgba(255, 255, 255, 0.55);
  }
  91% {
    box-shadow:
      0 22px 50px -12px rgba(184, 139, 47, 0.8),
      inset 0 1px 0 rgba(255, 255, 255, 0.6);
  }
}

.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}

.btn:hover::after {
  left: 130%;
}

.btn:hover,
.btn:focus-visible {
  animation-play-state: paused;
  transform: translateY(-3px);
  box-shadow:
    0 24px 48px -14px rgba(184, 139, 47, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.btn:focus-visible {
  outline: 3px solid var(--mauve-deep);
  outline-offset: 3px;
}

.btn-secondary {
  background: transparent;
  border: 1.5px solid var(--gold);
  box-shadow: none;
}

/* Hero */
.hero {
  padding: 72px 0 88px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -20% auto -20%;
  height: 480px;
  background: radial-gradient(ellipse at center, rgba(201, 162, 75, 0.16), transparent 65%);
  pointer-events: none;
}

.hero .container {
  max-width: 1100px;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero .reveal.is-visible {
  animation: heroFadeUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-icon.reveal.is-visible { animation-delay: 0.05s; }
.hero .eyebrow.reveal.is-visible { animation-delay: 0.2s; }
.hero-promise.reveal.is-visible { animation-delay: 0.35s; }
.hero-sub.reveal.is-visible { animation-delay: 0.55s; }
.hero-note.reveal.is-visible { animation-delay: 0.72s; }
.hero .btn.reveal.is-visible { animation-delay: 0.88s; }

.hero-icon {
  width: clamp(116px, 9vw, 156px);
  height: clamp(116px, 9vw, 156px);
  margin: 0 auto 32px;
  filter: drop-shadow(0 14px 30px rgba(184, 139, 47, 0.28));
}

.hero .eyebrow {
  display: block;
  margin-bottom: 20px;
}

.hero-promise {
  font-size: clamp(26px, 3.7vw, 47px);
  line-height: 1.32;
  max-width: 46ch;
  margin: 0 auto;
  background: linear-gradient(135deg, #3A2E24 0%, #1E1712 55%, #120D0A 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .accent {
  display: inline-block;
  line-height: 1.15;
  padding-top: 0.12em;
  background: linear-gradient(100deg, #6E3F49 10%, var(--mauve-deep) 25%, var(--mauve-light) 40%, #FFF5F7 48%, var(--mauve-light) 56%, var(--mauve-deep) 72%, #6E3F49 90%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
  filter: drop-shadow(0 2px 10px rgba(156, 101, 112, 0.35));
  animation: shimmerSweep 9s ease-in-out infinite;
}

.hero .highlight {
  display: inline-block;
  line-height: 1.15;
  padding-top: 0.12em;
  background: linear-gradient(100deg, #7A5A1E 10%, var(--gold-deep) 25%, var(--gold-light) 40%, #FFFBEF 48%, var(--gold-light) 56%, var(--gold-deep) 72%, #7A5A1E 90%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
  white-space: nowrap;
  filter: drop-shadow(0 2px 10px rgba(184, 139, 47, 0.35));
  animation: shimmerSweep 9s ease-in-out infinite;
  animation-delay: 0.4s;
}

@keyframes shimmerSweep {
  0%, 75%, 100% {
    background-position: -80% 0;
  }
  88% {
    background-position: 180% 0;
  }
}

.hero-sub {
  max-width: 50ch;
  margin: 30px auto 0;
  font-size: clamp(18px, 1.3vw, 22px);
  font-weight: 500;
  line-height: 1.55;
  color: var(--ink-soft);
}

.hero-note {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  margin: 26px auto 38px;
  padding: 0 28px;
  font-size: 16px;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}

.hero-note::before,
.hero-note::after {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  vertical-align: middle;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.hero-note::after {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.hero-note strong {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-style: italic;
  font-size: 18px;
  color: var(--gold-deep);
}

.hero-note .note-dot {
  display: inline-block;
  color: var(--gold);
  font-size: 11px;
  animation: twinkle 5s ease-in-out infinite;
}

@keyframes twinkle {
  0%, 80%, 100% { opacity: 0.55; transform: scale(0.85); }
  90% { opacity: 1; transform: scale(1.2); }
}

.hero-note .spots-count {
  display: inline-block;
  vertical-align: baseline;
  position: relative;
  top: -5px;
  margin: 0 1px;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-style: italic;
  font-size: 21px;
  line-height: 1;
  background: linear-gradient(135deg, var(--mauve-light) 0%, var(--mauve-deep) 60%, #6E3F49 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 8px rgba(156, 101, 112, 0.4));
  animation: pulseSoft 5s ease-in-out infinite;
}

.hero-note strong,
.hero-note .note-dot,
.hero-note > span:not(.spots-count) {
  vertical-align: middle;
}

@keyframes pulseSoft {
  0%, 80%, 100% {
    transform: scale(1);
  }
  90% {
    transform: scale(1.12);
  }
}

/* Footer */
footer {
  padding: 48px 24px 56px;
  text-align: center;
  border-top: 1px solid var(--line);
}

.footer-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
}

footer .tagline {
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-text);
}

footer .credit {
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 480px) {
  .btn {
    padding: 18px 26px;
    font-size: 15px;
    letter-spacing: 0.03em;
    width: 100%;
    max-width: 340px;
  }

  .hero-promise {
    font-size: 21px;
    line-height: 1.26;
    max-width: 30ch;
  }

  .hero-sub {
    max-width: 32ch;
  }

  .hero-note {
    display: block;
    width: 100%;
    padding: 0;
    font-size: 13px;
    text-align: center;
  }

  .hero-note strong,
  .hero-note .spots-count {
    font-size: 15px;
  }

  .hero-note .spots-count {
    top: -3px;
  }

  .hero-note .note-dot {
    font-size: 9px;
  }

  .hero-note::before,
  .hero-note::after {
    width: 10px;
    margin: 0 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero .reveal.is-visible,
  .spots-count,
  .hero .accent,
  .hero .highlight,
  .note-dot,
  .btn {
    animation: none;
  }
  .btn {
    transition: none;
  }
  .btn::after {
    display: none;
  }
}
