:root {
  --plum-950: #2d1029;
  --plum-900: #3f1739;
  --plum-800: #57224e;
  --orange: #e9632b;
  --gold: #f2ad3c;
  --cream: #fff8eb;
  --paper: #f7ebd8;
  --ink: #261620;
  --muted: #755f69;
  --line: rgba(63, 23, 57, 0.18);
  --display: "Fraunces", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  background: white;
  color: var(--plum-950);
  padding: 0.75rem 1rem;
  border-radius: 0.4rem;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 3rem, 1180px);
  margin: 0 auto;
  padding: 1.4rem 0;
  color: white;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 4rem;
  height: 4rem;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

nav {
  display: flex;
  align-items: center;
  gap: 1.7rem;
}

nav a {
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

nav a:not(.nav-cta):hover {
  text-decoration: underline;
  text-underline-offset: 0.35rem;
}

.nav-cta {
  padding: 0.55rem 1.05rem;
  color: var(--plum-950);
  background: var(--cream);
  border-radius: 99px;
}

.hero {
  position: relative;
  min-height: min(860px, 100svh);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: white;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  background: url("./assets/harvest-picnic-tables.png") center center / cover no-repeat;
  transform: scale(1.015);
  animation: settle 1.4s ease-out both;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(34, 10, 29, 0.9) 0%, rgba(34, 10, 29, 0.7) 36%, rgba(34, 10, 29, 0.12) 72%),
    linear-gradient(0deg, rgba(34, 10, 29, 0.58) 0%, transparent 42%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100% - 3rem, 1180px);
  margin: 4.5rem auto 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 1.1rem;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow {
  color: #ffc574;
}

h1,
h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

h1 {
  max-width: 780px;
  font-size: clamp(3.4rem, 8vw, 7.8rem);
}

h1 span {
  color: #ffb140;
  font-style: italic;
}

h2 {
  font-size: clamp(2.8rem, 5.5vw, 5.7rem);
}

.event-date {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 2rem;
  font-size: 0.93rem;
  line-height: 1.25;
}

.event-date strong {
  display: block;
  font-size: 1.15rem;
}

.date-number {
  padding-right: 0.85rem;
  font-family: var(--display);
  font-size: 3.2rem;
  line-height: 1;
  border-right: 1px solid rgba(255, 255, 255, 0.42);
}

.hero-actions,
.support-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 2.1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.85rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 99px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.button-primary {
  color: var(--plum-950);
  background: var(--gold);
}

.button-primary:hover {
  background: #ffc563;
}

.button-ghost {
  color: white;
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(8px);
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
}

.hero-note {
  position: absolute;
  z-index: 2;
  right: max(1.5rem, calc((100% - 1180px) / 2));
  bottom: 2rem;
  margin: 0;
  padding: 0.65rem 1rem;
  color: var(--plum-950);
  background: var(--cream);
  border-radius: 99px;
  font-size: 0.88rem;
  font-weight: 700;
}

.intro,
.details {
  width: min(100% - 3rem, 1120px);
  margin: 0 auto;
}

.intro {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 7rem;
  align-items: end;
  padding: 8rem 0;
}

.intro-copy {
  max-width: 34rem;
  padding-bottom: 0.3rem;
}

.intro-copy > p:first-child,
.details-copy > p,
.fundraiser-copy > p,
.support > p {
  margin: 0;
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  line-height: 1.65;
}

.details {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 7rem;
  align-items: center;
  padding: 0 0 8rem;
}

.date-card {
  position: relative;
  margin: 0;
  padding: 3rem;
  overflow: hidden;
  color: white;
  text-align: center;
  background: var(--orange);
  border-radius: 50% 50% 1.5rem 1.5rem;
  box-shadow: 0 28px 65px rgba(92, 45, 25, 0.16);
}

.date-card-label,
.date-card-month,
.date-card-day,
.date-card-year {
  margin: 0;
  line-height: 1;
}

.date-card-label {
  margin-bottom: 2.3rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.date-card-month {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.25em;
}

.date-card-day {
  font-family: var(--display);
  font-size: clamp(7rem, 14vw, 10.5rem);
  font-weight: 600;
  letter-spacing: -0.09em;
}

.date-card-year {
  font-weight: 700;
}

.details-copy h2 {
  margin-bottom: 2rem;
}

.details-copy > p {
  max-width: 34rem;
  color: var(--muted);
}

.deadline {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.deadline span {
  color: var(--orange);
  font-size: 1.3rem;
}

.deadline p {
  margin: 0;
}

.button-rsvp {
  margin-top: 2rem;
  color: white;
  background: var(--orange);
}

.button-rsvp:hover {
  background: #cf4d1c;
}

.fundraiser {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.75fr;
  gap: 8rem;
  min-height: 640px;
  padding: 8rem max(1.5rem, calc((100% - 1120px) / 2));
  overflow: hidden;
  color: white;
  background: var(--plum-900);
}

.fundraiser::before {
  content: "";
  position: absolute;
  left: 44%;
  top: -8rem;
  width: 28rem;
  height: 28rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.fundraiser-heading,
.fundraiser-copy {
  position: relative;
  z-index: 2;
}

.section-kicker.light {
  color: #ffc56b;
}

.fundraiser-copy {
  align-self: center;
}

.fundraiser-copy > p {
  color: rgba(255, 255, 255, 0.8);
}

.text-link {
  display: inline-flex;
  gap: 0.7rem;
  margin-top: 1.8rem;
  color: #ffc56b;
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover span {
  transform: translateX(0.25rem);
}

.text-link span {
  transition: transform 180ms ease;
}

.track {
  position: absolute;
  right: -7%;
  bottom: -12rem;
  width: 45rem;
  height: 28rem;
  border: 2px dashed rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  transform: rotate(-10deg);
}

.track-heart {
  position: absolute;
}

.track-heart {
  left: 48%;
  top: -1.5rem;
  color: var(--orange);
  font-size: 3rem;
}

.support {
  padding: 8rem 1.5rem 7rem;
  text-align: center;
  background: var(--gold);
}

.support .section-kicker {
  color: var(--plum-800);
}

.support h2 {
  max-width: 900px;
  margin: 0 auto;
}

.support > p {
  max-width: 650px;
  margin: 2rem auto 0;
}

.support-actions {
  justify-content: center;
  flex-wrap: wrap;
}

.button-dark {
  color: white;
  background: var(--plum-900);
}

.button-dark:hover {
  background: var(--plum-950);
}

.support-actions span {
  font-size: 0.9rem;
  font-weight: 600;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem max(1.5rem, calc((100% - 1120px) / 2));
  color: rgba(255, 255, 255, 0.72);
  background: var(--plum-950);
  font-size: 0.85rem;
}

footer p {
  margin: 0;
}

footer a {
  color: white;
  font-weight: 700;
  text-decoration: none;
}

@keyframes settle {
  from { transform: scale(1.055); }
  to { transform: scale(1.015); }
}

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

@media (max-width: 760px) {
  .site-header {
    width: min(100% - 2rem, 1180px);
  }

  nav a:not(.nav-cta) {
    display: none;
  }

  .brand-logo {
    width: 3.5rem;
    height: 3.5rem;
  }

  .hero {
    min-height: 780px;
    align-items: end;
    padding-bottom: 7rem;
  }

  .hero-image {
    background-position: 60% center;
  }

  .hero-shade {
    background: linear-gradient(0deg, rgba(34, 10, 29, 0.96) 0%, rgba(34, 10, 29, 0.55) 70%, rgba(34, 10, 29, 0.26) 100%);
  }

  .hero-content {
    width: min(100% - 2rem, 1180px);
    margin-top: 8rem;
  }

  h1 {
    font-size: clamp(3.15rem, 15vw, 5.2rem);
  }

  .hero-note {
    left: 1rem;
    right: auto;
    bottom: 1.4rem;
  }

  .intro,
  .details,
  .fundraiser {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .intro,
  .details {
    width: min(100% - 2rem, 1120px);
  }

  .intro {
    padding: 5rem 0;
  }

  .details {
    padding-bottom: 5rem;
  }

  .date-card {
    width: min(100%, 28rem);
    margin: 0 auto;
    padding: 2.5rem;
  }

  .fundraiser {
    min-height: 700px;
    padding-top: 5rem;
    padding-bottom: 10rem;
  }

  .support {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .support-actions {
    flex-direction: column;
  }

  footer {
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .event-date {
    margin-top: 1.5rem;
  }
}
