@font-face {
  font-family: "Moon Flower";
  src: url("fonts/moon-flower.woff2") format("woff2");
  font-display: swap;
}

:root {
  --ink: #2f2e2e;
  --brown: #4a3515;
  --cream: #f2eada;
  --paper: #fffdf7;
  --lavender: #a7addd;
  --lavender-deep: #7e85bc;
  --gold: #c9b691;
  --line: rgba(47, 46, 46, 0.22);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 94px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  transform: translateY(-160%);
  background: var(--ink);
  color: white;
  padding: 10px 16px;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 247, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-inner {
  width: min(1240px, calc(100% - 48px));
  min-height: 88px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: "Moon Flower", Georgia, serif;
  font-size: clamp(28px, 3vw, 39px);
  line-height: 1;
  letter-spacing: 0.02em;
}

.brand-mark { width: 58px; height: 58px; object-fit: contain; }

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.desktop-nav a, .footer-main nav a, .social-link { position: relative; }
.desktop-nav a::after, .footer-main nav a::after, .social-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after,
.footer-main nav a:hover::after, .social-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.desktop-nav .nav-donate {
  padding: 10px 16px;
  background: var(--ink);
  color: white;
  transition: background 160ms ease, transform 160ms ease;
}
.desktop-nav .nav-donate::after { display: none; }
.desktop-nav .nav-donate:hover,
.desktop-nav .nav-donate:focus-visible {
  background: var(--lavender-deep);
  transform: translateY(-2px);
}

.mobile-nav { display: none; position: relative; }
.mobile-nav summary {
  cursor: pointer;
  list-style: none;
  border: 1px solid var(--ink);
  padding: 8px 14px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.mobile-nav nav {
  position: absolute;
  top: 46px;
  right: 0;
  width: 220px;
  display: grid;
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--ink);
  box-shadow: 8px 8px 0 var(--lavender);
}
.mobile-nav nav a { padding: 10px 4px; border-bottom: 1px solid var(--line); }
.mobile-nav nav .nav-donate {
  margin-top: 10px;
  border-bottom: 0;
  background: var(--ink);
  color: white;
  text-align: center;
}

.hero {
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(520px, 1.2fr);
  background: var(--lavender);
}
.hero-photo {
  min-height: 720px;
  background: url("images/event.jpg") center / cover no-repeat;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 90px clamp(56px, 8vw, 140px);
}
.eyebrow {
  margin: 0 0 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.eyebrow.light { color: white; }

h1, h2, blockquote {
  font-family: "Moon Flower", Georgia, serif;
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: 0.02em;
}
h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(72px, 9vw, 132px);
}
.hero-deck {
  max-width: 610px;
  margin: 34px 0 0;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.55;
}
.hero-actions {
  margin-top: 42px;
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 14px 25px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.button:hover, .button:focus-visible {
  transform: translate(-3px, -3px);
  box-shadow: 6px 6px 0 var(--gold);
}
.button-dark { background: var(--ink); color: white; }
.button-outline { border-color: currentColor; }

.text-link {
  width: fit-content;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.text-link span { transition: transform 160ms ease; }
.text-link:hover span { transform: translateX(5px); }

.story-film {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(520px, 1.22fr);
  align-items: center;
  overflow: hidden;
  background: var(--brown);
  color: white;
}
.film-overlay {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(40px, 7vw, 110px);
}
.film-overlay h2 { max-width: 580px; margin: 0; font-size: clamp(56px, 6vw, 92px); }
.story-video {
  min-width: 0;
  padding: clamp(40px, 6vw, 96px) clamp(40px, 6vw, 96px) clamp(40px, 6vw, 96px) 0;
}
.story-video iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border: 0;
  background: #111;
  box-shadow: 18px 18px 0 var(--lavender-deep);
}

.section {
  width: min(1240px, calc(100% - 64px));
  margin: 0 auto;
  padding: 130px 0;
}
.section-intro {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  margin-bottom: 76px;
}
.section-intro .eyebrow { padding-top: 12px; }
.section h2, .event h2, .contact h2, .plant-card h2 {
  margin: 0;
  font-size: clamp(58px, 7.4vw, 102px);
}

.vision-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.9fr;
  gap: 44px;
  align-items: start;
}
.image-card { margin: 0; overflow: hidden; }
.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(.2,.75,.25,1);
}
.image-card:hover img { transform: scale(1.025); }
.soup-image { aspect-ratio: 1 / 1; }
.vision-copy { padding: 20px 4vw 20px 16px; }
.lead { font-size: clamp(20px, 2.2vw, 28px); line-height: 1.45; }
.vision-stat {
  margin-top: 42px;
  padding-top: 28px;
  border-top: 1px solid var(--ink);
  display: grid;
  gap: 5px;
}
.vision-stat strong {
  font-family: "Moon Flower", Georgia, serif;
  font-size: 40px;
  line-height: 1;
}
.mosaic-image {
  grid-column: 1 / -1;
  height: min(38vw, 480px);
  margin-top: 12px;
}

.event {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  background: var(--lavender);
}
.event-image img { width: 100%; height: 100%; min-height: 620px; object-fit: cover; }
.event-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(56px, 7vw, 110px);
}
.event-copy > p:not(.eyebrow) { max-width: 600px; font-size: 19px; }
.event-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 640px;
  margin-top: 16px;
  padding: 22px 0;
  border-top: 1px solid rgba(47, 46, 46, 0.35);
  border-bottom: 1px solid rgba(47, 46, 46, 0.35);
}
.event-details p { margin: 0; line-height: 1.6; }
.event-details .event-date { grid-column: 1 / -1; font-size: 19px; }
.event-details strong {
  font-size: 12px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.event-note {
  padding-top: 20px;
  font-size: 14px !important;
  letter-spacing: 0.05em;
}
.event-auction {
  margin-bottom: 0;
  padding-top: 20px;
}
.event-auction a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.event-copy .button { width: fit-content; margin-top: 22px; }

.volunteer {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(50px, 8vw, 120px);
  align-items: center;
}
.volunteer-photo { height: 760px; }
.volunteer-copy .lead { margin-top: 40px; }
.ways-list {
  margin: 44px 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.ways-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.ways-list span { color: var(--lavender-deep); font-size: 12px; font-weight: 700; }
.volunteer-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}
.volunteer-actions .button { white-space: normal; text-align: center; }

.gallery { border-top: 1px solid var(--line); }
.gallery-heading {
  margin-bottom: 64px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}
.gallery-heading h2 { font-size: clamp(56px, 7vw, 96px); }
.social-link {
  flex: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 170px;
  gap: 18px;
}
.gallery-item { margin: 0; overflow: hidden; background: var(--cream); }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item-1 { grid-column: 1 / 7; grid-row: 1 / 4; }
.gallery-item-2 { grid-column: 7 / 13; grid-row: 1 / 3; }
.gallery-item-3 { grid-column: 7 / 13; grid-row: 3 / 5; }

.plant-section {
  position: relative;
  min-height: 780px;
  display: grid;
  place-items: center;
  padding: 80px 32px;
}
.plant-image {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(47, 46, 46, 0.2), rgba(47, 46, 46, 0.2)), url("images/donate.webp") center / cover;
}
.plant-card {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  margin-left: min(40vw, 560px);
  padding: clamp(42px, 6vw, 78px);
  background: var(--cream);
}
.plant-card h2 { font-size: clamp(54px, 6vw, 82px); }
.plant-links { display: flex; gap: 20px 36px; flex-wrap: wrap; margin-top: 34px; }
.plant-links a {
  border-bottom: 1px solid currentColor;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.quote {
  padding: 120px max(32px, calc((100vw - 1080px) / 2));
  text-align: center;
  background: var(--lavender-deep);
  color: white;
}
.quote blockquote { margin: 0 auto 28px; font-size: clamp(48px, 6vw, 84px); }
.quote cite {
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.contact {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(60px, 9vw, 140px);
}
.contact-copy > p:not(.eyebrow) { max-width: 520px; margin-top: 36px; font-size: 19px; }
.contact-details {
  display: grid;
  gap: 6px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.contact-details a { font-weight: 700; }
.hidden-field { display: none; }
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: clamp(32px, 5vw, 60px);
  background: var(--cream);
}
.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.contact-form label:nth-of-type(3), .contact-form label:nth-of-type(4),
.contact-form .button { grid-column: 1 / -1; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  outline: 0;
  background: transparent;
  padding: 11px 0;
  color: var(--ink);
  font-size: 16px;
  text-transform: none;
  letter-spacing: normal;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-bottom-width: 2px; }
.contact-form textarea { resize: vertical; }

.site-footer {
  display: grid;
  grid-template-columns: 300px 1fr;
  background: var(--brown);
  color: white;
}
.footer-mark {
  display: grid;
  place-items: center;
  padding: 50px;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
}
.footer-mark img { width: min(200px, 100%); height: auto; }
.footer-main { padding: 60px clamp(40px, 8vw, 120px) 34px; }
.footer-main > p {
  margin: 0 0 42px;
  font-family: "Moon Flower", Georgia, serif;
  font-size: clamp(48px, 6vw, 80px);
  line-height: 1;
}
.footer-main nav {
  display: flex;
  gap: 18px 34px;
  flex-wrap: wrap;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.footer-bottom {
  margin-top: 70px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 11px;
  letter-spacing: 0.06em;
}
.footer-bottom div { display: flex; gap: 20px; }

.thanks-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
  background: var(--lavender);
}
.thanks-card {
  width: min(680px, 100%);
  padding: clamp(42px, 8vw, 88px);
  background: var(--paper);
  text-align: center;
}
.thanks-logo { width: 96px; margin: 0 auto 34px; }
.thanks-card h1 { margin: 0 0 24px; }
.thanks-card p:not(.eyebrow) { max-width: 480px; margin: 0 auto 34px; font-size: 19px; }

@media (max-width: 960px) {
  .desktop-nav { display: none; }
  .mobile-nav { display: block; }
  .hero { grid-template-columns: 1fr; }
  .hero-photo { min-height: 46vw; }
  .hero-copy { min-height: 600px; padding: 70px 8vw; }
  .story-film { grid-template-columns: 1fr; }
  .story-video { padding: 0 8vw 80px; }
  .section-intro, .vision-grid, .event, .volunteer, .contact { grid-template-columns: 1fr; }
  .vision-copy { padding: 16px 0; }
  .mosaic-image { height: 48vw; }
  .event-image img { min-height: 50vw; }
  .volunteer-photo { height: 65vw; }
  .plant-card { margin-left: 30vw; }
  .site-footer { grid-template-columns: 220px 1fr; }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 76px; }
  .header-inner, .section { width: min(100% - 36px, 1240px); }
  .header-inner { min-height: 74px; }
  .brand span { display: none; }
  .brand-mark { width: 50px; height: 50px; }
  .hero-photo { min-height: 62vw; }
  .hero-copy { min-height: 560px; padding: 64px 24px; }
  h1 { font-size: clamp(66px, 22vw, 96px); }
  .story-film { min-height: 0; }
  .film-overlay { padding: 64px 24px 42px; }
  .story-video { padding: 0 24px 64px; }
  .section { padding: 92px 0; }
  .section-intro { margin-bottom: 46px; }
  .mosaic-image { height: 68vw; }
  .event-copy { padding: 64px 24px; }
  .event-details { grid-template-columns: 1fr; gap: 14px; }
  .volunteer { gap: 46px; }
  .volunteer-photo { height: 110vw; }
  .gallery-heading { align-items: flex-start; flex-direction: column; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; }
  .gallery-item-1, .gallery-item-2, .gallery-item-3 {
    grid-column: auto;
    grid-row: auto;
  }
  .gallery-item-1, .gallery-item-2, .gallery-item-3 { grid-column: 1 / -1; }
  .plant-section { align-items: end; min-height: 850px; padding: 0; }
  .plant-card { width: calc(100% - 36px); margin: 0 18px 18px; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-form label, .contact-form label:nth-of-type(3), .contact-form label:nth-of-type(4),
  .contact-form .button { grid-column: 1; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-mark { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.25); }
  .footer-main { padding: 50px 24px 28px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}

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