@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800;900&family=DM+Sans:wght@400;500;600;700&display=swap");

:root {
  --red: #a90836;
  --red-dark: #770b2d;
  --pink: #ed2c70;
  --orange: #f2a20b;
  --cream: #fffaf2;
  --ink: #29221f;
  --muted: #665d58;
  --display-font: "Barlow Condensed", Impact, sans-serif;
  --body-font: "DM Sans", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--body-font);
  line-height: 1.55;
}

img {
  display: block;
  max-width: 100%;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: 690px;
  padding: 3rem max(1.25rem, calc((100vw - 1160px) / 2));
  overflow: hidden;
  color: white;
  background: var(--red);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 560px;
}

.eyebrow {
  margin: 0 0 0.65rem;
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-family: var(--display-font);
  font-size: clamp(4.4rem, 13vw, 8.6rem);
  font-weight: 900;
  line-height: 0.78;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.hero__intro {
  max-width: 390px;
  margin: 1.6rem 0 1.4rem;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.button {
  display: inline-block;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  color: var(--red-dark);
  background: var(--orange);
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-3px);
  background: #ffc342;
}

.button:focus-visible {
  outline: 3px solid white;
  outline-offset: 4px;
}

.hero__date {
  display: grid;
  place-content: center;
  width: 136px;
  height: 136px;
  margin-top: 2rem;
  border-radius: 50%;
  color: white;
  background: var(--orange);
  line-height: 1.05;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(-7deg);
}

.hero__date-day,
.hero__date-time {
  font-size: 0.78rem;
  font-weight: 700;
}

.hero__date-number {
  margin-top: 0.2rem;
  font-family: var(--display-font);
  font-size: 2rem;
  font-weight: 800;
}

.hero__date-year {
  font-size: 0.8rem;
  font-weight: 700;
}

.hero__art {
  position: absolute;
  inset: 0 0 0 42%;
  overflow: hidden;
}

.photo {
  position: absolute;
  z-index: 1;
  width: min(34vw, 430px);
  margin: 0;
  padding: 0.55rem;
  background: white;
  box-shadow: 0 18px 45px rgb(40 0 15 / 25%);
}

.photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.photo--top {
  top: 12%;
  right: 10%;
  transform: rotate(8deg);
}

.photo--bottom {
  right: 31%;
  bottom: 8%;
  transform: rotate(-5deg);
}

.photo--portrait {
  top: 34%;
  right: 3%;
  width: min(21vw, 250px);
  transform: rotate(-7deg);
}

.photo--portrait img {
  aspect-ratio: 3 / 4;
}

.hero__shape {
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.hero__shape--pink {
  top: -17%;
  right: 16%;
  width: 32%;
  height: 75%;
  background: var(--pink);
  clip-path: polygon(45% 0, 100% 0, 70% 100%, 0 76%);
  transform: rotate(10deg);
}

.hero__shape--orange {
  top: -15%;
  right: -10%;
  width: 35%;
  height: 50%;
  background: var(--orange);
  clip-path: polygon(0 0, 100% 0, 100% 70%, 28% 100%);
}

.star {
  position: absolute;
  z-index: 2;
  color: var(--orange);
  font-size: 2.2rem;
}

.star--one {
  top: 25%;
  left: 12%;
}

.star--two {
  right: 13%;
  bottom: 13%;
  color: white;
}

.event,
.wishlist,
.impact,
.footer {
  width: min(1160px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.event {
  padding-block: 5.5rem;
}

.event__heading {
  max-width: 640px;
  margin-bottom: 2.5rem;
}

.event h2,
.impact h2,
.wishlist__heading h2 {
  margin: 0 0 1rem;
  color: var(--red);
  font-family: var(--display-font);
  font-size: clamp(2.7rem, 6vw, 4.4rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.event__heading > p:last-child,
.impact__copy > p,
.wishlist__heading > p:last-child {
  max-width: 580px;
  color: var(--muted);
}

.event__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.info-card {
  padding: 1.5rem;
  border: 1px solid #f0e5d7;
  border-radius: 18px;
  background: white;
}

.info-card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
  border-radius: 50%;
  color: var(--red);
  background: #fff0e4;
  font-size: 1.5rem;
}

.info-card h3,
.get-involved h3 {
  margin: 0 0 0.4rem;
  color: var(--red);
}

.info-card p {
  margin: 0;
  color: var(--muted);
}

.wishlist {
  margin-bottom: 5rem;
}

.wishlist__heading {
  max-width: 640px;
  margin-bottom: 2rem;
}

.wishlist__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.wishlist__item {
  display: block;
  overflow: hidden;
  border-radius: 12px;
  background: white;
  box-shadow: 0 8px 22px rgb(40 0 15 / 10%);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.wishlist__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgb(40 0 15 / 16%);
}

.wishlist__item:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 4px;
}

.wishlist__item img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.impact {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
  padding: clamp(1.5rem, 5vw, 3.5rem);
  border-radius: 24px;
  background: #fff0e4;
}

.impact__note {
  padding-left: 1rem;
  border-left: 4px solid var(--orange);
  font-weight: 700;
}

.gallery {
  width: min(780px, calc(100% - 2.5rem));
  margin: 0 auto 4rem;
}

.gallery__main {
  margin: 0;
  padding: 0.6rem 0.6rem 1rem;
  background: white;
  box-shadow: 0 12px 35px rgb(40 0 15 / 12%);
  transform: rotate(-1deg);
}

.gallery__main img {
  width: 100%;
  max-height: 460px;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.gallery__main figcaption {
  padding-top: 0.5rem;
  font-family: Georgia, serif;
  font-size: 1.2rem;
  font-style: italic;
  text-align: center;
}

.gallery__extra {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.gallery__extra img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  padding: 0.45rem;
  background: white;
  box-shadow: 0 8px 24px rgb(40 0 15 / 10%);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
  padding-block: 1.5rem 2rem;
  border-top: 1px solid #eadccd;
}

.footer__message {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.footer__logos {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.footer__logos img {
  width: 110px;
  max-height: 55px;
  object-fit: contain;
}

.signup {
    background: #fff7fa;
    border-radius: 1.5rem;
    padding: 2.5rem 2rem;
    margin: 3rem auto;
    max-width: 540px;
    box-shadow: 0 2px 16px rgba(169,8,54,0.07);
}

.signup__heading {
    text-align: center;
    margin-bottom: 2rem;
}

.signup__form .form-label {
    font-weight: 500;
}

@media (min-width: 1400px) {
  .hero {
    min-height: 760px;
  }
}

@media (max-width: 760px) {
  .hero {
    display: block;
    min-height: auto;
    padding: 3rem 1.25rem 2rem;
  }

  .hero__content {
    max-width: none;
  }

  .hero h1 {
    font-size: clamp(4.4rem, 19vw, 7.2rem);
  }

  .hero__intro {
    max-width: 330px;
  }

  .hero__date {
    position: absolute;
    top: 1rem;
    right: 1.3rem;
    width: 102px;
    height: 102px;
    margin: 0;
  }

  .hero__date-number {
    font-size: 1.5rem;
  }

  .hero__date-day,
  .hero__date-time {
    font-size: 0.65rem;
  }

  .hero__art {
    position: relative;
    inset: auto;
    height: 340px;
    margin: 2.3rem -1.25rem -2rem;
    background: linear-gradient(135deg, transparent 35%, rgb(119 11 45 / 35%));
  }

  .photo--top {
    top: 5%;
    right: 44%;
    width: 48%;
  }

  .photo--bottom {
    right: 36%;
    bottom: 3%;
    width: 52%;
  }

  .photo--portrait {
    top: 6%;
    right: 4%;
    width: 37%;
  }

  .star--one {
    top: 20%;
    left: 7%;
  }

  .event {
    padding-block: 4rem;
  }

  .event__cards {
    grid-template-columns: 1fr;
  }

  .wishlist__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
  }

  .impact {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
  }

  .gallery__extra {
    gap: 0.8rem;
  }

  .footer {
    align-items: start;
    flex-direction: column;
  }

  .footer__logos {
    align-self: flex-end;
  }
}

@media (max-width: 420px) {
  .hero__date {
    top: 1.2rem;
    right: 1rem;
    width: 86px;
    height: 86px;
  }

  .hero__date-number {
    font-size: 1.3rem;
  }

  .hero__date-day,
  .hero__date-time,
  .hero__date-year {
    font-size: 0.58rem;
  }

  .hero h1 {
    font-size: 4.2rem;
  }

  .gallery__extra {
    gap: 0.65rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
