﻿:root {
  --bg: #fff8f4;
  --bg-deep: #f8eee7;
  --card: rgba(255, 251, 247, 0.9);
  --card-strong: rgba(255, 252, 249, 0.96);
  --ink: #47302a;
  --muted: #75615b;
  --line: rgba(161, 122, 101, 0.14);
  --accent: #d2a285;
  --accent-deep: #ab785c;
  --rose: rgba(247, 221, 226, 0.92);
  --mint: rgba(223, 240, 232, 0.84);
  --lavender: rgba(236, 229, 251, 0.74);
  --shadow: 0 24px 80px rgba(93, 64, 55, 0.12);
  --shadow-strong: 0 28px 100px rgba(93, 64, 55, 0.14);
  --radius-xl: 34px;
  --radius-lg: 28px;
  --radius-md: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Sora", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(247, 221, 226, 0.9), transparent 31%),
    radial-gradient(circle at top right, rgba(223, 240, 232, 0.76), transparent 26%),
    radial-gradient(circle at 20% 92%, rgba(236, 229, 251, 0.7), transparent 23%),
    linear-gradient(180deg, #fffaf7 0%, var(--bg) 48%, var(--bg-deep) 100%);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.88) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.88) 1px, transparent 1px);
  background-size: 78px 78px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.34), transparent 88%);
}

img {
  display: block;
  width: 100%;
  height: auto;
}

.page-glow {
  position: fixed;
  width: 24rem;
  height: 24rem;
  border-radius: 999px;
  filter: blur(74px);
  opacity: 0.42;
  pointer-events: none;
  z-index: 0;
  animation: glowDrift 14s ease-in-out infinite;
}

.page-glow-left {
  top: -8rem;
  left: -11rem;
  background: var(--rose);
}

.page-glow-right {
  top: 9rem;
  right: -10rem;
  background: var(--mint);
  animation-delay: -6s;
}

.page-grid {
  display: none;
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 18px), 460px);
  margin: 0 auto;
  padding: 12px 0 46px;
}

.card {
  position: relative;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.82), transparent 27%),
    radial-gradient(circle at bottom left, rgba(247, 221, 226, 0.18), transparent 30%);
}

.hero,
.detail-card,
.closing {
  position: relative;
}

.hero {
  display: grid;
  gap: 24px;
  padding: 24px;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 -90px;
  height: 180px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.56), transparent 68%);
  opacity: 0.8;
  pointer-events: none;
}

.hero-copy,
.hero-stage,
.detail-card,
.closing {
  position: relative;
  z-index: 1;
}

.hero-copy > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

body.is-ready .hero-copy > * {
  opacity: 1;
  transform: translateY(0);
}

.hero-copy > :nth-child(1) {
  transition-delay: 0.05s;
}

.hero-copy > :nth-child(2) {
  transition-delay: 0.12s;
}

.hero-copy > :nth-child(3) {
  transition-delay: 0.2s;
}

.hero-copy > :nth-child(4) {
  transition-delay: 0.3s;
}

.eyebrow {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.hero-kicker {
  margin: 10px 0 0;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--accent);
}

.hero-title,
.section-heading h2,
.detail-card h3,
.closing h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
}

.hero-title {
  margin-top: 8px;
  font-size: clamp(3.2rem, 13vw, 5rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.hero-title span {
  display: inline-block;
  background: linear-gradient(135deg, #d7aa8b 0%, #f0d1b9 48%, #bb8767 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 6px 16px rgba(210, 162, 133, 0.25));
  animation: ampGlow 4.2s ease-in-out infinite;
}

.hero-lead {
  margin: 18px 0 0;
  font-size: 0.95rem;
  line-height: 1.84;
  color: var(--muted);
}

.hero-lead strong,
.closing strong {
  color: var(--ink);
}

.hero-facts {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.fact-pill {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(161, 122, 101, 0.1);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.72s ease, transform 0.72s ease;
}

body.is-ready .fact-pill {
  opacity: 1;
  transform: translateY(0);
}

body.is-ready .fact-pill:nth-child(1) {
  transition-delay: 0.36s;
}

body.is-ready .fact-pill:nth-child(2) {
  transition-delay: 0.44s;
}

body.is-ready .fact-pill:nth-child(3) {
  transition-delay: 0.52s;
}

.fact-label,
.stage-note-label,
.detail-number {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.fact-value {
  font-size: 0.91rem;
  color: var(--ink);
}

.hero-stage {
  --parallax-shift: 0px;
  position: relative;
  min-height: 392px;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(161, 122, 101, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 249, 244, 0.92)),
    linear-gradient(135deg, rgba(247, 221, 226, 0.28), rgba(223, 240, 232, 0.22));
  box-shadow: var(--shadow-strong);
  transform: translateY(var(--parallax-shift));
  transition: transform 0.18s ease-out;
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: -10% -30%;
  background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, 0.26) 48%, transparent 60%);
  animation: shimmerSweep 10s linear infinite;
  pointer-events: none;
}

.hero-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.34), transparent 24%);
}

.stage-aura {
  position: absolute;
  border-radius: 999px;
  filter: blur(34px);
  opacity: 0.82;
}

.stage-aura-one {
  width: 10rem;
  height: 10rem;
  top: -3rem;
  right: -2rem;
  background: var(--lavender);
}

.stage-aura-two {
  width: 8.2rem;
  height: 8.2rem;
  left: -2rem;
  bottom: 0;
  background: rgba(223, 240, 232, 0.86);
}

.stage-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 114%;
  aspect-ratio: 1;
  border-radius: 999px;
  border: 1px solid rgba(210, 162, 133, 0.14);
  transform: translate(-50%, -50%) rotate(0deg);
  opacity: 0.7;
  animation: orbitSpin 26s linear infinite;
}

.stage-sparkle {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: radial-gradient(circle, #fffdf8 0%, #f4dfc9 45%, rgba(244, 223, 201, 0) 72%);
  box-shadow: 0 0 18px rgba(244, 223, 201, 0.62);
  animation: sparklePulse 3.6s ease-in-out infinite;
}

.stage-sparkle-a {
  top: 18%;
  left: 12%;
}

.stage-sparkle-b {
  top: 22%;
  right: 18%;
  animation-delay: -1.3s;
}

.stage-sparkle-c {
  right: 14%;
  bottom: 18%;
  animation-delay: -2.2s;
}

.stage-card {
  position: absolute;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(161, 122, 101, 0.12);
  background: var(--card-strong);
  box-shadow: 0 22px 64px rgba(93, 64, 55, 0.14);
}

.stage-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stage-card-main {
  inset: 18px 78px 92px 16px;
  transform-origin: center;
  animation: floatMain 8.8s ease-in-out infinite;
}

.stage-card-secondary {
  width: 42%;
  height: 38%;
  right: 16px;
  bottom: 18px;
  transform-origin: center;
  animation: floatSecondary 9.6s ease-in-out infinite;
}

.stage-note {
  position: absolute;
  min-width: 148px;
  padding: 12px 14px;
  border-radius: 20px;
  border: 1px solid rgba(161, 122, 101, 0.12);
  background: rgba(255, 252, 248, 0.92);
  box-shadow: 0 16px 40px rgba(93, 64, 55, 0.12);
  backdrop-filter: blur(12px);
  animation: floatNote 7.4s ease-in-out infinite;
}

.stage-note strong {
  display: block;
  margin-top: 7px;
  font-size: 0.9rem;
  line-height: 1.4;
}

.stage-note-time {
  top: 14px;
  right: 12px;
}

.stage-note-place {
  left: 12px;
  bottom: 18px;
  animation-delay: -2.4s;
}

.details {
  margin-top: 18px;
}

.section-heading {
  padding: 0 6px;
  margin-bottom: 14px;
}

.section-heading h2,
.closing h2 {
  margin-top: 8px;
  font-size: clamp(2.2rem, 10vw, 3.5rem);
  line-height: 0.98;
}

.detail-grid {
  display: grid;
  gap: 12px;
}

.detail-card {
  padding: 22px;
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  transition: opacity 0.72s ease, transform 0.72s ease;
}

.details.is-visible .detail-card {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.details.is-visible .detail-card:nth-child(1) {
  transition-delay: 0.05s;
}

.details.is-visible .detail-card:nth-child(2) {
  transition-delay: 0.14s;
}

.details.is-visible .detail-card:nth-child(3) {
  transition-delay: 0.23s;
}

.detail-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 22px;
  width: 56px;
  height: 1px;
  background: linear-gradient(90deg, rgba(210, 162, 133, 0.72), transparent);
}

.detail-card h3 {
  margin-top: 16px;
  font-size: 1.82rem;
  line-height: 1;
}

.detail-main {
  margin: 14px 0 0;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.58;
}

.detail-note {
  margin: 10px 0 0;
  font-size: 0.9rem;
  line-height: 1.72;
  color: var(--muted);
}

.detail-card-highlight {
  background: linear-gradient(180deg, rgba(255, 251, 247, 0.96), rgba(247, 235, 227, 0.96));
}

.ghost-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid rgba(168, 117, 88, 0.26);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(252, 245, 239, 0.88));
  color: var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(93, 64, 55, 0.08);
  transition: transform 0.26s ease, border-color 0.26s ease, box-shadow 0.26s ease;
}

.ghost-button::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -140%;
  width: 62%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.82), transparent);
  transform: skewX(-18deg);
  animation: buttonShimmer 5.6s linear infinite;
}

.ghost-button:hover {
  transform: translateY(-2px);
  border-color: rgba(168, 117, 88, 0.52);
  box-shadow: 0 16px 34px rgba(93, 64, 55, 0.12);
}

.closing {
  margin-top: 18px;
  padding: 30px 24px;
  text-align: center;
}

.closing::after {
  content: "";
  position: absolute;
  inset: auto 15% 12px;
  height: 22px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(247, 221, 226, 0.34), transparent 70%);
  filter: blur(12px);
}

.closing p:not(.eyebrow) {
  max-width: 34rem;
  margin: 16px auto 0;
  font-size: 0.95rem;
  line-height: 1.82;
  color: var(--muted);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.78s ease, transform 0.78s ease;
}

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

@keyframes glowDrift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(12px, 16px, 0) scale(1.06);
  }
}

@keyframes ampGlow {
  0%,
  100% {
    filter: drop-shadow(0 6px 16px rgba(210, 162, 133, 0.22));
  }
  50% {
    filter: drop-shadow(0 8px 22px rgba(210, 162, 133, 0.34));
  }
}

@keyframes shimmerSweep {
  0% {
    transform: translateX(-22%) rotate(0.001deg);
  }
  100% {
    transform: translateX(22%) rotate(0.001deg);
  }
}

@keyframes orbitSpin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes sparklePulse {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(0.9);
  }
  50% {
    opacity: 1;
    transform: scale(1.16);
  }
}

@keyframes floatMain {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-2deg) scale(1);
  }
  50% {
    transform: translate3d(0, -9px, 0) rotate(-1deg) scale(1.012);
  }
}

@keyframes floatSecondary {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(2deg) scale(1);
  }
  50% {
    transform: translate3d(0, 10px, 0) rotate(1deg) scale(1.018);
  }
}

@keyframes floatNote {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -6px, 0);
  }
}

@keyframes buttonShimmer {
  0% {
    transform: translateX(0) skewX(-18deg);
  }
  100% {
    transform: translateX(420%) skewX(-18deg);
  }
}

@media (min-width: 720px) {
  .page-shell {
    width: min(calc(100% - 28px), 860px);
    padding-top: 22px;
    padding-bottom: 54px;
  }

  .hero {
    padding: 30px;
  }

  .hero-stage {
    min-height: 450px;
  }

  .stage-card-main {
    inset: 20px 110px 92px 20px;
  }

  .stage-card-secondary {
    width: 36%;
    height: 42%;
    right: 20px;
    bottom: 20px;
  }

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

  .detail-card:last-child {
    grid-column: 1 / -1;
  }

  .ghost-button {
    width: auto;
    min-width: 220px;
  }
}

@media (min-width: 1040px) {
  .page-shell {
    width: min(calc(100% - 40px), 1120px);
    padding: 32px 0 72px;
  }

  .hero {
    grid-template-columns: 1.04fr 0.96fr;
    gap: 42px;
    align-items: center;
    padding: 42px;
  }

  .hero-title {
    font-size: clamp(4.7rem, 7vw, 6.5rem);
  }

  .hero-lead {
    max-width: 34rem;
    font-size: 1rem;
  }

  .hero-stage {
    min-height: 560px;
  }

  .stage-card-main {
    inset: 22px 104px 110px 18px;
  }

  .stage-card-secondary {
    width: 43%;
    height: 42%;
    right: 18px;
    bottom: 18px;
  }

  .stage-note {
    min-width: 176px;
    padding: 14px 16px;
  }

  .details {
    margin-top: 28px;
  }

  .section-heading {
    margin-bottom: 18px;
  }

  .detail-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .detail-card:last-child {
    grid-column: auto;
  }

  .detail-card {
    padding: 28px;
  }

  .closing {
    margin-top: 28px;
    padding: 40px 32px;
  }
}

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

  .hero-stage,
  .hero-copy > *,
  .fact-pill,
  .detail-card {
    transform: none !important;
    opacity: 1 !important;
  }
}
