:root {
  --night: #121814;
  --pine: #0f2418;
  --moss: #2f5d3a;
  --moss-soft: #3f734c;
  --cream: #f0e6d4;
  --cream-soft: #d9cdb8;
  --lantern: #e0a85a;
  --lantern-hot: #f0c07a;
  --ink: #e8dfd0;
  --muted: rgba(232, 223, 208, 0.72);
  --line: rgba(240, 230, 212, 0.16);
  --panel: rgba(22, 32, 26, 0.78);
  --font-display: "Fraunces", Georgia, serif;
  --font-script: "Great Vibes", cursive;
  --font-body: "DM Sans", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.site {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    radial-gradient(ellipse 70% 40% at 80% 0%, rgba(224, 168, 90, 0.12), transparent 50%),
    radial-gradient(ellipse 50% 35% at 10% 20%, rgba(63, 115, 76, 0.18), transparent 55%),
    linear-gradient(180deg, #101612 0%, #18241c 45%, #121814 100%);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0.75rem;
  z-index: 100;
  background: var(--lantern);
  color: var(--pine);
  padding: 0.55rem 0.9rem;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  left: 0.75rem;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem clamp(1rem, 3vw, 2rem);
  background: rgba(12, 18, 14, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-logo {
  display: grid;
  text-decoration: none;
  color: var(--cream);
  line-height: 1;
}

.site-logo-mark {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.site-logo-sub {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lantern);
  margin-top: 0.2rem;
}

.site-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.15rem;
  align-items: center;
}

.site-menu a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
}

.site-menu a:hover,
.site-menu a.is-active {
  color: var(--cream);
  background: rgba(240, 230, 212, 0.08);
}

.nav-toggle {
  display: none;
  appearance: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--cream);
  border-radius: 8px;
  padding: 0.45rem 0.75rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.page-hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-content: end;
  padding: clamp(1.5rem, 4vw, 3rem);
  overflow: hidden;
  isolation: isolate;
}

.page-hero-compact {
  min-height: clamp(16rem, 38vh, 24rem);
}

.page-hero-home {
  min-height: min(100vh, 900px);
}

.page-hero-home .page-hero-content {
  max-width: 36rem;
}

.page-hero-home .hero-line {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.page-hero-home .hero-sub {
  font-family: var(--font-script);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: var(--lantern);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}

.home-minimal {
  display: grid;
  place-items: center;
  padding: clamp(3.5rem, 10vw, 6rem) 1.25rem;
}

.home-working {
  margin: 0;
  max-width: 40rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.5vw, 2.1rem);
  font-weight: 500;
  color: rgba(232, 223, 208, 0.38);
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.home-working a {
  color: rgba(224, 168, 90, 0.85);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.home-working a:hover {
  color: var(--lantern-hot);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.page-volunteer .volunteer-shell {
  margin-top: -2rem;
}

.page-volunteer .panel {
  background: rgba(248, 250, 244, 0.94);
  color: #1c2a1f;
}

.page-volunteer .toolbar h2,
.page-volunteer .day-column-head h2,
.page-volunteer .role-title {
  color: #1e3d28;
}

.page-volunteer .toolbar p,
.page-volunteer .role-meta,
.page-volunteer .day-column-head span,
.page-volunteer .board-empty,
.page-volunteer .identity-block > p,
.page-volunteer .identity-note {
  color: #3d5244;
}

.page-volunteer .identity-block h2 {
  color: #1e3d28;
}

.page-volunteer .flash-site {
  width: min(1480px, calc(100% - 2rem));
  margin: 0 auto 1rem;
}

.page-hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(10, 16, 12, 0.25) 0%, rgba(10, 16, 12, 0.55) 40%, rgba(10, 16, 12, 0.94) 100%),
    center/cover no-repeat;
  animation: hero-drift 20s ease-in-out infinite alternate;
}

.page-hero-media.home {
  background-image:
    linear-gradient(180deg, rgba(10, 16, 12, 0.08) 0%, rgba(10, 16, 12, 0.18) 45%, rgba(10, 16, 12, 0.78) 100%),
    url("brand/hero-home.png");
  background-position: center top;
}

.page-hero-media.what-is {
  background-image:
    linear-gradient(180deg, rgba(10, 16, 12, 0.2) 0%, rgba(10, 16, 12, 0.45) 45%, rgba(10, 16, 12, 0.88) 100%),
    url("brand/hero-what-is.png");
  background-position: center;
}

.page-hero-media.vendors {
  background-image:
    linear-gradient(180deg, rgba(10, 16, 12, 0.3) 0%, rgba(10, 16, 12, 0.6) 45%, rgba(10, 16, 12, 0.95) 100%),
    url("brand/poster-fall-festival.png");
}

.page-hero-media.volunteer {
  background-image:
    linear-gradient(180deg, rgba(10, 16, 12, 0.35) 0%, rgba(10, 16, 12, 0.62) 45%, rgba(10, 16, 12, 0.95) 100%),
    url("brand/festival-night.png");
}

.page-hero-media.contact {
  background-image:
    linear-gradient(180deg, rgba(10, 16, 12, 0.28) 0%, rgba(10, 16, 12, 0.58) 45%, rgba(10, 16, 12, 0.94) 100%),
    url("brand/hero-what-is.png");
  background-position: center 40%;
}

.field-optional {
  font-weight: 500;
  opacity: 0.75;
}

.hcaptcha-wrap {
  margin: 0.25rem 0 0.15rem;
}

.captcha-dev-note {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.page-hero-glow {
  position: absolute;
  inset: auto -15% -25% -15%;
  height: 50%;
  z-index: -1;
  background: radial-gradient(ellipse at center, rgba(224, 168, 90, 0.28), transparent 65%);
  animation: hero-pulse 8s ease-in-out infinite;
}

.page-hero-content {
  max-width: 44rem;
  animation: rise-in 0.9s ease-out both;
}

.page-hero .brand {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 8vw, 5.2rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--cream);
}

.page-hero .brand-script {
  display: block;
  font-family: var(--font-script);
  font-size: 0.42em;
  font-weight: 400;
  color: var(--lantern);
  margin-bottom: 0.15rem;
  letter-spacing: 0;
}

.hero-kicker {
  margin: 0 0 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--lantern);
}

.hero-line {
  margin: 0 0 0.65rem;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  font-weight: 500;
  color: var(--cream);
}

.hero-sub {
  margin: 0 0 1.4rem;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--lantern);
  color: var(--pine);
}

.btn-primary:hover {
  background: var(--lantern-hot);
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: var(--line);
}

.btn-ghost:hover {
  background: rgba(240, 230, 212, 0.08);
}

.section {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}

.section-head {
  max-width: 38rem;
  margin-bottom: 1.75rem;
}

.section-head h2 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--cream);
  line-height: 1.1;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 1.05rem;
}

.eyebrow {
  margin: 0 0 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--lantern);
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
}

.split-media {
  min-height: 320px;
  border-radius: 18px;
  background: center/cover no-repeat;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature {
  padding: 1.25rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.feature h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--cream);
}

.feature p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.highlight-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.highlight {
  padding: 1.1rem 1.15rem;
  border-radius: 14px;
  background: rgba(47, 93, 58, 0.22);
  border: 1px solid var(--line);
}

.highlight strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--cream);
  margin-bottom: 0.25rem;
}

.highlight span {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.4;
}

.band {
  background:
    linear-gradient(120deg, rgba(47, 93, 58, 0.28), rgba(224, 168, 90, 0.12)),
    rgba(18, 26, 20, 0.9);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.story-section .story-block h2,
.story-section .section-head h2 {
  margin: 0 0 0.75rem;
}

.story-block {
  max-width: 46rem;
}

.story-block.story-narrow {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
}

.story-block p,
.story-card p {
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.65;
  font-size: 1.05rem;
}

.story-block p:last-child,
.story-card p:last-child {
  margin-bottom: 0;
}

.story-block .lead,
.story-block .closing {
  color: var(--cream);
  font-size: 1.18rem;
  line-height: 1.55;
}

.story-block .lead strong {
  color: var(--lantern);
  font-weight: 700;
}

.story-card {
  padding: 1.4rem 1.45rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.story-card h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--cream);
}

.story-card strong {
  color: var(--cream);
}

.explore-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.explore-list li {
  padding: 0.95rem 1.05rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--cream-soft);
  font-weight: 600;
  line-height: 1.4;
}

.motto {
  margin: 1.5rem 0 1.4rem !important;
  font-family: var(--font-script);
  font-size: clamp(2rem, 5vw, 2.8rem);
  color: var(--lantern) !important;
  line-height: 1.1;
}

.story-narrow .cta-row {
  justify-content: center;
}

.pillars {
  display: grid;
  gap: 1.25rem;
}

.pillar {
  display: grid;
  gap: 0.45rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.pillar:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.pillar h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--cream);
}

.pillar p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  max-width: 48rem;
}

.activity-list {
  columns: 2;
  gap: 2rem;
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.activity-list li {
  margin-bottom: 0.45rem;
  break-inside: avoid;
}

.form-panel {
  width: min(720px, 100%);
  margin: 0 auto;
  padding: 1.4rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.form-panel h2 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  color: var(--cream);
}

.form-panel .lede {
  margin: 0 0 1.2rem;
  color: var(--muted);
  line-height: 1.5;
}

.vendor-form {
  display: grid;
  gap: 0.85rem;
}

.vendor-form .grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.vendor-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--cream-soft);
}

.vendor-form input,
.vendor-form select,
.vendor-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--cream);
  font: inherit;
}

.vendor-form textarea {
  min-height: 120px;
  resize: vertical;
}

.vendor-form button {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.25rem;
  background: var(--lantern);
  color: var(--pine);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  justify-self: start;
}

.vendor-form button:hover {
  background: var(--lantern-hot);
}

.flash-site {
  margin: 0 0 1rem;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  font-weight: 600;
}

.flash-site.ok {
  background: rgba(63, 115, 76, 0.28);
  color: #d7efd8;
}

.flash-site.error {
  background: rgba(138, 61, 61, 0.28);
  color: #f3d0d0;
}

.site-footer {
  margin-top: 2rem;
  padding: 2.5rem 1rem 2rem;
  border-top: 1px solid var(--line);
  text-align: center;
}

.site-footer-inner {
  width: min(800px, 100%);
  margin: 0 auto;
}

.footer-brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--cream);
}

.footer-tag {
  margin: 0.35rem 0 0.85rem;
  font-family: var(--font-script);
  font-size: 1.6rem;
  color: var(--lantern);
}

.footer-meta {
  margin: 0.2rem 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1rem;
  margin-top: 1.1rem;
}

.footer-links a {
  color: var(--cream-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-drift {
  from {
    transform: scale(1.04);
  }
  to {
    transform: scale(1.08) translateY(-1%);
  }
}

@keyframes hero-pulse {
  0%,
  100% {
    opacity: 0.55;
  }
  50% {
    opacity: 0.95;
  }
}

@media (max-width: 900px) {
  .split,
  .feature-grid,
  .highlight-strip,
  .explore-list {
    grid-template-columns: 1fr;
  }

  .activity-list {
    columns: 1;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    background: rgba(12, 18, 14, 0.96);
    border-bottom: 1px solid var(--line);
  }

  .site-menu.is-open {
    display: flex;
  }

  .vendor-form .grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
