:root {
  color-scheme: dark;
  --ink: #fff9ef;
  --muted: rgba(255, 249, 239, 0.72);
  --gold: #ffd276;
  --amber: #ff9f3f;
  --rose: #ff776e;
  --teal: #75f4e4;
  --shadow: rgba(0, 0, 0, 0.44);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 210, 118, 0.18), transparent 24rem),
    radial-gradient(circle at 88% 30%, rgba(117, 244, 228, 0.13), transparent 22rem),
    linear-gradient(135deg, #160e0a 0%, #22120c 42%, #0d1114 100%);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

button {
  font: inherit;
}

#sparkles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 28px;
}

.hero {
  min-height: calc(100svh - 62px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 1fr);
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
}

.photo-stage {
  position: relative;
  min-width: 0;
  min-height: min(70svh, 690px);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 34px 90px var(--shadow);
  isolation: isolate;
  transform: rotate(-1.4deg);
}

.photo-stage::before,
.photo-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.photo-stage::before {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.18), transparent 36%, rgba(0, 0, 0, 0.3)),
    linear-gradient(0deg, rgba(9, 5, 3, 0.32), transparent 48%);
}

.photo-stage::after {
  border: 1px solid rgba(255, 249, 239, 0.18);
  border-radius: inherit;
}

.photo-stage img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.08) contrast(1.03);
  transform: scale(1.015);
}

.photo-glow {
  position: absolute;
  left: 16%;
  bottom: 16%;
  width: 45%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(255, 171, 64, 0.38), transparent 64%);
  mix-blend-mode: screen;
  z-index: 3;
  pointer-events: none;
  animation: pulse 4.8s ease-in-out infinite;
}

.content {
  min-width: 0;
  padding: 16px 0;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(3rem, 4.2vw, 4.35rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

h1 span {
  display: block;
  margin-top: 10px;
  color: transparent;
  background: linear-gradient(90deg, var(--gold), var(--rose), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
}

.lead {
  width: min(100%, 38ch);
  max-width: 590px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  line-height: 1.7;
}

.toast-card {
  width: min(100%, 550px);
  margin-top: 34px;
  padding: 10px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(255, 249, 239, 0.17);
  border-radius: 18px;
  background: rgba(255, 249, 239, 0.08);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(16px);
}

.toast-card button {
  min-height: 52px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 12px;
  color: #241309;
  background: linear-gradient(135deg, var(--gold), var(--amber));
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(255, 159, 63, 0.28);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.toast-card button:hover,
.toast-card button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(255, 159, 63, 0.36);
}

.glass {
  width: 18px;
  height: 24px;
  display: inline-block;
  border: 2px solid currentColor;
  border-top-width: 4px;
  border-radius: 4px 4px 10px 10px;
  transform: rotate(-8deg);
}

.toast-card p {
  margin: 0;
  color: rgba(255, 249, 239, 0.82);
  line-height: 1.45;
}

.moments {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 12px;
}

.moments article {
  min-height: 164px;
  padding: 22px;
  border: 1px solid rgba(255, 249, 239, 0.13);
  border-radius: 18px;
  background: rgba(255, 249, 239, 0.07);
  backdrop-filter: blur(14px);
}

.moments span {
  color: var(--gold);
  font-weight: 900;
  font-size: 0.8rem;
}

.moments h2 {
  margin: 14px 0 8px;
  font-size: 1.12rem;
  letter-spacing: 0;
}

.moments p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.toast-burst {
  animation: lift 480ms ease;
}

@keyframes pulse {
  50% {
    transform: scale(1.12);
    opacity: 0.76;
  }
}

@keyframes lift {
  50% {
    transform: translateY(-5px);
  }
}

@media (max-width: 900px) {
  .page-shell {
    width: min(100% - 24px, 660px);
    padding-top: 18px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .photo-stage {
    min-height: 55svh;
    border-radius: 22px;
    transform: none;
  }

  .content,
  h1,
  .lead,
  .toast-card {
    max-width: calc(100vw - 24px);
  }

  h1 {
    font-size: clamp(2.3rem, 10vw, 2.75rem);
    line-height: 1.05;
    overflow-wrap: anywhere;
  }

  .lead {
    max-width: calc(100vw - 48px);
    font-size: 1rem;
    overflow-wrap: break-word;
  }

  .toast-card {
    grid-template-columns: 1fr;
  }

  .toast-card button {
    width: 100%;
  }

  .moments {
    grid-template-columns: 1fr;
    margin-top: 24px;
  }
}

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