:root {
  --ink: #191615;
  --paper: #f4eee4;
  --coral: #ed735f;
  --peach: #f4b194;
  --yellow: #f7d37c;
  --muted: #80746e;
  --line: rgba(25, 22, 21, 0.2);
  --display: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--ink); font-family: var(--sans); }
a { color: inherit; }

.invitation-shell { overflow: hidden; }
.hero-panel { min-height: 100svh; position: relative; background: var(--ink); color: var(--paper); display: flex; flex-direction: column; isolation: isolate; }
.hero-image { position: absolute; inset: 0 0 0 37%; background: url("https://images.unsplash.com/photo-1513151233558-d860c5398176?auto=format&fit=crop&w=1800&q=85") center / cover; opacity: .84; z-index: -3; }
.hero-wash { position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 0%, rgba(25,22,21,.94) 25%, rgba(25,22,21,.2) 72%, rgba(25,22,21,.18) 100%); z-index: -2; }
.hero-wash::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(25,22,21,.55), transparent 32%, rgba(25,22,21,.65)); }
.topbar { display: flex; align-items: center; justify-content: space-between; padding: 2.25rem 4.5rem; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; animation: rise .8s ease both; }
.monogram { text-decoration: none; font: 600 1.3rem var(--display); letter-spacing: -.07em; }
.monogram span { color: var(--coral); font: 700 .62rem var(--sans); letter-spacing: 0; margin-left: .3rem; vertical-align: top; }
.topbar-note { color: rgba(244,238,228,.6); }
.hero-copy { margin: auto 4.5rem 7.5rem; max-width: 730px; animation: rise .9s .12s ease both; }
.eyebrow, .section-kicker { align-items: center; display: flex; gap: .8rem; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--peach); margin: 0 0 1.5rem; }
.eyebrow-line { display: block; width: 48px; height: 1px; background: var(--coral); }
h1, h2 { font: 500 clamp(4rem, 8.8vw, 8.5rem)/.87 var(--display); letter-spacing: -.075em; margin: 0; }
h1 em, h2 em { color: var(--coral); font-weight: 500; }
.hero-intro { color: rgba(244,238,228,.72); font-size: .9rem; line-height: 1.6; max-width: 280px; margin: 2.2rem 0 0 5.5rem; }
.hero-stamp { position: absolute; right: 5rem; bottom: 5rem; width: 142px; height: 142px; border: 1px solid rgba(244,238,228,.52); border-radius: 50%; display: flex; flex-direction: column; justify-content: center; align-items: center; transform: rotate(11deg); color: var(--paper); animation: drift 5s ease-in-out infinite; }
.hero-stamp strong { color: var(--yellow); font: 500 3.8rem/.8 var(--display); letter-spacing: -.08em; }
.hero-stamp span { font-size: .55rem; letter-spacing: .12em; text-transform: uppercase; }
.scroll-cue { position: absolute; left: 4.5rem; bottom: 2.2rem; color: rgba(244,238,228,.5); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; display: flex; align-items: center; gap: .7rem; }
.scroll-cue span { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }

.details-panel { background: var(--paper); display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; padding: 9rem 12vw 10rem; position: relative; }
.details-panel::before { content: ""; width: 180px; height: 180px; border-radius: 50%; background: var(--yellow); position: absolute; top: -90px; right: 14vw; z-index: 0; }
.details-heading, .details-content { position: relative; z-index: 1; }
.details-heading .section-kicker, .countdown-panel .section-kicker { color: var(--coral); }
h2 { font-size: clamp(3rem, 6vw, 6.2rem); }
.invitation-message { font: 500 1.3rem/1.42 var(--display); max-width: 500px; margin: 0 0 3rem; }
.invitation-message strong { color: var(--coral); font-style: italic; }
.event-meta { border-top: 1px solid var(--line); display: grid; grid-template-columns: 1.25fr 1fr; gap: 2rem; padding: 1.35rem 0 2.5rem; }
.meta-item { display: flex; flex-direction: column; gap: .35rem; font-size: .78rem; line-height: 1.4; }
.meta-label { color: var(--coral); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: .25rem; }
.rsvp-button { align-items: center; background: var(--ink); color: var(--paper); display: flex; justify-content: space-between; padding: 1.1rem 1.25rem; text-decoration: none; text-transform: uppercase; font-size: .68rem; letter-spacing: .15em; max-width: 350px; transition: background .25s ease, transform .25s ease; }
.rsvp-button:hover, .rsvp-button:focus-visible { background: var(--coral); transform: translateY(-3px); }
.button-arrow { color: var(--yellow); font-size: 1.2rem; line-height: 0; }
.rsvp-caption { color: var(--muted); font-size: .68rem; margin-top: .8rem; }

.countdown-panel { background: var(--coral); color: var(--ink); padding: 7rem 12vw 2rem; position: relative; }
.countdown-panel::after { content: ""; position: absolute; width: 16px; height: 16px; background: var(--yellow); right: 13%; top: 22%; transform: rotate(45deg); }
.countdown-copy { display: flex; align-items: flex-end; justify-content: space-between; border-bottom: 1px solid rgba(25,22,21,.3); padding-bottom: 3rem; }
.countdown-copy h2 { font-size: clamp(3rem, 7vw, 7rem); }
.countdown-copy .section-kicker { margin-bottom: .8rem; }
.countdown { display: flex; align-items: center; justify-content: space-between; max-width: 940px; padding: 3.6rem 0 5rem; }
.countdown-unit { display: flex; flex-direction: column; gap: .6rem; }
.countdown-unit strong { font: 500 clamp(3rem, 7vw, 6.5rem)/.8 var(--display); letter-spacing: -.08em; }
.countdown-unit span { font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; }
.countdown-divider { font: 500 3rem var(--display); opacity: .45; margin-bottom: 1.5rem; }
.footer-row { border-top: 1px solid rgba(25,22,21,.3); display: flex; justify-content: space-between; padding: 1.3rem 0; font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; }

@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes drift { 0%, 100% { transform: rotate(11deg) translateY(0); } 50% { transform: rotate(7deg) translateY(-10px); } }
@media (max-width: 760px) {
  .hero-panel { min-height: 780px; }
  .hero-image { inset: 35% 0 0; }
  .hero-wash { background: linear-gradient(180deg, var(--ink) 0%, rgba(25,22,21,.88) 35%, rgba(25,22,21,.25) 100%); }
  .topbar { padding: 1.6rem 1.5rem; }
  .topbar-note { font-size: .55rem; }
  .hero-copy { margin: auto 1.5rem 8rem; }
  h1 { font-size: clamp(4.4rem, 21vw, 7rem); }
  .hero-intro { margin-left: 1rem; }
  .hero-stamp { right: 1.5rem; bottom: 3.5rem; width: 108px; height: 108px; }
  .hero-stamp strong { font-size: 3rem; }
  .scroll-cue { left: 1.5rem; bottom: 1.3rem; }
  .details-panel { display: block; padding: 6rem 1.5rem 7rem; }
  .details-panel::before { width: 105px; height: 105px; top: -52px; right: 12%; }
  .details-content { margin-top: 4rem; }
  .invitation-message { font-size: 1.2rem; }
  .event-meta { grid-template-columns: 1fr; gap: 1.25rem; }
  .countdown-panel { padding: 5rem 1.5rem 1rem; }
  .countdown-copy { display: block; padding-bottom: 2.5rem; }
  .countdown-copy .section-kicker { margin-bottom: 1.6rem; }
  .countdown { padding: 3rem 0 4rem; gap: .3rem; }
  .countdown-unit strong { font-size: clamp(2.3rem, 12vw, 4rem); }
  .countdown-unit span { font-size: .5rem; }
  .countdown-divider { font-size: 1.5rem; margin-bottom: 1rem; }
  .footer-row { gap: .7rem; flex-wrap: wrap; font-size: .52rem; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; } }
