:root {
  --bg: #f8f2e7;
  --paper: rgba(255, 249, 240, 0.78);
  --paper-strong: #fffaf2;
  --ink: #1d1a16;
  --muted: #645747;
  --line: rgba(29, 26, 22, 0.1);
  --accent-saffron: #df7a1c;
  --accent-marigold: #f2b134;
  --accent-terracotta: #c94d34;
  --accent-indigo: #214d78;
  --accent-leaf: #577c47;
  --shadow: 0 22px 60px rgba(54, 33, 11, 0.12);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(242, 177, 52, 0.24), transparent 28%),
    radial-gradient(circle at top right, rgba(87, 124, 71, 0.18), transparent 26%),
    linear-gradient(180deg, #f3eadc 0%, #f8f2e7 26%, #f5efe4 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.3;
  pointer-events: none;
}

.page-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding-bottom: 48px;
  position: relative;
}

.hero {
  padding: 24px 0 32px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 12px 0 28px;
}

.brand,
.nav-links a,
.button,
.footer-links a,
.email-link {
  text-decoration: none;
}

.brand {
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.story,
.event-card,
.highlight-card,
.highlight-list,
.footer {
  position: relative;
}

.hero-copy {
  padding: 24px 0 12px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--accent-terracotta);
  margin: 0 0 14px;
}

h1,
h2,
h3 {
  margin: 0;
}

h1,
h2 {
  font-family: "Cormorant Garamond", serif;
  line-height: 0.98;
}

h1 {
  font-size: clamp(3.2rem, 8vw, 5.9rem);
  max-width: 11ch;
}

.lead,
.story-grid p,
.event-copy p,
.panel-card p,
.highlight-card p,
.section-copy,
.footer span {
  color: var(--muted);
  line-height: 1.7;
}

.lead {
  max-width: 58ch;
  font-size: 1.05rem;
  margin: 22px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible,
.nav-links a:hover,
.footer-links a:hover,
.email-link:hover {
  transform: translateY(-1px);
}

.primary {
  background: linear-gradient(135deg, var(--accent-terracotta), var(--accent-saffron));
  color: #fff8f2;
  box-shadow: 0 14px 30px rgba(201, 77, 52, 0.22);
}

.secondary {
  color: var(--ink);
  background: rgba(255, 250, 242, 0.76);
  border: 1px solid var(--line);
}

.hero-panel {
  min-height: 100%;
}

.panel-card,
.story,
.event-card,
.highlight-card,
.highlight-list,
.footer {
  background: var(--paper);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: var(--shadow);
}

.panel-card {
  height: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(33, 77, 120, 0.08), rgba(201, 77, 52, 0.14)),
    radial-gradient(circle at top right, rgba(242, 177, 52, 0.42), transparent 34%),
    radial-gradient(circle at bottom left, rgba(87, 124, 71, 0.24), transparent 30%),
    linear-gradient(160deg, #fff8ef 0%, #f7ecdb 100%);
}

.panel-card::before,
.panel-card::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
}

.panel-card::before {
  width: 180px;
  height: 180px;
  right: -30px;
  top: -30px;
  background: rgba(223, 122, 28, 0.16);
}

.panel-card::after {
  width: 220px;
  height: 220px;
  left: -80px;
  bottom: -90px;
  background: rgba(33, 77, 120, 0.08);
}

.panel-kicker {
  color: var(--accent-indigo);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  margin-bottom: 10px;
}

.panel-card h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  max-width: 10ch;
  margin-bottom: 12px;
}

.panel-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.panel-stats div {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(29, 26, 22, 0.08);
  padding: 14px;
  border-radius: var(--radius-md);
}

.panel-stats strong,
.event-copy h3 {
  display: block;
  margin-bottom: 6px;
}

main {
  display: grid;
  gap: 26px;
}

.story,
.footer {
  border-radius: var(--radius-xl);
  padding: 32px;
}

.section-heading {
  max-width: 60ch;
}

.section-heading h2,
.highlight-card h2,
.footer h2 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  margin-bottom: 10px;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 18px;
}

.events {
  padding: 18px 0 6px;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 22px;
}

.event-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.event-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  background: linear-gradient(120deg, #fbf2de, #fffaf2);
}

.event-copy {
  padding: 22px;
}

.event-copy h3 {
  font-size: 1.25rem;
}

.highlights {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
}

.highlight-card,
.highlight-list {
  border-radius: var(--radius-xl);
  padding: 28px;
}

.highlight-list {
  display: grid;
  gap: 14px;
  align-content: center;
}

.pill {
  padding: 16px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(29, 26, 22, 0.08);
  font-weight: 700;
}

.footer {
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
}

.email-link {
  display: inline-block;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 800;
  color: var(--accent-indigo);
  margin-top: 12px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

.footer-links a {
  color: var(--accent-terracotta);
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@media (max-width: 960px) {
  .hero-grid,
  .highlights,
  .story-grid,
  .event-grid,
  .footer {
    grid-template-columns: 1fr;
  }

  .footer {
    align-items: start;
  }

  .footer-links {
    align-items: start;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--max-width));
  }

  .topbar {
    flex-direction: column;
    align-items: start;
  }

  h1 {
    font-size: clamp(2.7rem, 13vw, 4.1rem);
  }

  .story,
  .footer,
  .panel-card,
  .highlight-card,
  .highlight-list {
    padding: 24px;
  }

  .panel-stats {
    grid-template-columns: 1fr;
  }

  .event-copy {
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .button,
  .nav-links a,
  .footer-links a,
  .email-link {
    transition: none;
  }
}
