:root {
  --red: #ff432f;
  --blue: #2ba5ff;
  --blue-deep: #0090ff;
  --ink: #101828;
  --grey: #525252;
  --grey-soft: #f5f5f4;
  --border: #e5e5e3;
  --bg: #ffffff;
  --radius: 10px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto,
    sans-serif;
  --font-accent: "Cedarville Cursive", cursive;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  line-height: 1.5;
  font-size: 18px;
}

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

a {
  color: var(--blue-deep);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

section {
  padding: 96px 0;
}

h1,
h2,
h3 {
  font-family: var(--font-sans);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: var(--ink);
}

h1 {
  font-size: clamp(36px, 6.2vw, 60px);
  line-height: 1.05;
}

h2 {
  font-size: clamp(30px, 4.8vw, 44px);
  line-height: 1.1;
}

h3 {
  font-size: 22px;
  line-height: 1.25;
}

p {
  margin: 0 0 16px;
  color: var(--ink);
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  background: var(--ink);
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

/* --------------------------------------- Hero banner (illustration + title) */

.hero-banner {
  position: relative;
  display: block;
  background: var(--blue);
  overflow: hidden;
  line-height: 0;
}

.hero-banner .hero-art {
  display: block;
  line-height: 0;
}
.hero-banner .hero-art img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-banner .hero-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50%;
  max-width: 640px;
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 2px 6px rgba(16, 24, 40, 0.15));
}

@media (max-width: 720px) {
  .hero-banner .hero-title {
    width: 72%;
    max-width: 440px;
  }
}

/* ---------------------------------------------- Hero text section */

.hero {
  background: #fff;
  color: var(--ink);
  padding-top: 64px;
  padding-bottom: 80px;
  text-align: center;
  position: relative;
}

.hero-inner {
  text-align: center;
}

.hero-tagline {
  color: var(--ink);
  max-width: 820px;
  margin: 56px auto 16px;
}

.hero .lede {
  font-size: clamp(18px, 2.2vw, 22px);
  color: var(--grey);
  max-width: 640px;
  margin: 0 auto 8px;
}

/* ---------------------------------------------------- Countdown */

.countdown {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 3vw, 28px);
  margin: 32px auto;
  font-variant-numeric: tabular-nums;
  flex-wrap: wrap;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 72px;
  background: #fff;
  border: 1px solid var(--border);
  padding: 14px 16px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.countdown-number {
  font-size: clamp(32px, 6vw, 48px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.countdown-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--grey);
  margin-top: 6px;
}

.countdown-message {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--red);
}

/* ------------------------------------------------------ Buttons */

.cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.08s ease, background 0.15s ease, color 0.15s ease,
    border-color 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
}
.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 6px 16px rgba(255, 67, 47, 0.28);
}
.btn-primary:hover {
  background: #e83a27;
  color: #fff;
}

.btn-secondary {
  background: #fff;
  color: var(--ink);
  border-color: transparent;
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
  border-color: var(--ink);
  color: var(--ink);
  box-shadow: var(--shadow-md);
}

/* ------------------------------------------------- RSVP form */

.rsvp-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 8px;
  max-width: 640px;
  margin: 8px auto 0;
  align-items: stretch;
}
.rsvp-form input {
  font: inherit;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  outline: none;
  background: #fff;
  color: var(--ink);
  min-width: 0;
}
.rsvp-form input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(255, 67, 47, 0.15);
}
.rsvp-form .btn {
  white-space: nowrap;
}

.form-status {
  grid-column: 1 / -1;
  margin: 8px 4px 0;
  font-size: 14px;
  color: var(--grey);
  min-height: 20px;
  text-align: left;
}
.form-status.is-error {
  color: var(--red);
}
.form-status.is-success {
  color: #18794e;
}

@media (max-width: 640px) {
  .rsvp-form {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------------------------- Features */

.features {
  background: var(--grey-soft);
}
.features h2,
.features .section-lede {
  text-align: center;
}
.section-lede {
  max-width: 680px;
  margin: 0 auto 56px;
  color: var(--grey);
  font-size: clamp(17px, 2vw, 19px);
}

.feature-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.feature-art {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}

.feature-body {
  padding: 24px 24px 28px;
}
.feature-body h3 {
  margin-bottom: 8px;
}
.feature-body p {
  color: var(--grey);
  margin: 0;
}

@media (max-width: 820px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------------------------- Mission */

.mission {
  text-align: center;
}
.mission p {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(17px, 2vw, 20px);
  color: var(--grey);
}
.mission p.accent {
  font-family: var(--font-accent);
  font-size: clamp(30px, 4.4vw, 44px);
  color: var(--ink);
  line-height: 1.3;
  margin-top: 40px;
}
.mission p.accent em {
  color: var(--red);
  font-style: italic;
}

/* ------------------------------------------------- Testimonial */

.testimonial {
  background: var(--ink);
  color: #fff;
  text-align: center;
}
.testimonial-portrait {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 24px;
  border: 3px solid rgba(255, 255, 255, 0.08);
  background: #fff;
}
.testimonial blockquote {
  margin: 0 auto 20px;
  max-width: 720px;
  font-size: clamp(20px, 2.6vw, 28px);
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.testimonial cite {
  font-style: normal;
  font-size: 14px;
  color: #c9c9c7;
  letter-spacing: 0.04em;
}

/* ----------------------------------------------------- Closing */

.closing {
  text-align: center;
  background: linear-gradient(180deg, #fff 0%, #fff7f5 100%);
}
.closing h2 {
  margin-bottom: 8px;
}

/* ------------------------------------------------------ Footer */

.sponsor {
  padding: 32px 0 44px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.sponsor p {
  margin: 0;
  font-size: 14px;
  color: var(--grey);
}
.sponsor a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--border);
  text-underline-offset: 3px;
}
.sponsor a:hover {
  text-decoration-color: var(--red);
}
