:root {
  --ink: #11100d;
  --paper: #fff8ea;
  --cream: #f6ecd8;
  --green: #075c32;
  --gold: #f6b327;
  --red: #c93624;
  --orange: #e97828;
  --line: rgba(17, 16, 13, 0.14);
  --shadow: 0 24px 70px rgba(17, 16, 13, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 170px;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(246, 179, 39, 0.22), transparent 34rem),
    linear-gradient(180deg, #fffaf0 0%, var(--paper) 44%, #f1e2c4 100%);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.intro {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  background: var(--paper);
  animation: introFade 2.25s ease forwards;
  pointer-events: none;
}

.intro img {
  width: min(46vw, 340px);
  filter: drop-shadow(0 30px 42px rgba(17, 16, 13, 0.18));
  animation: logoSpin 1.5s cubic-bezier(0.3, 0.85, 0.28, 1) forwards;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  align-items: center;
  justify-items: center;
  gap: 0.7rem;
  padding: 0.85rem clamp(1rem, 4vw, 3.5rem) 1rem;
  background: rgba(255, 248, 234, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  font-weight: 900;
  text-align: center;
}

.brand img,
.site-footer img {
  width: 78px;
  height: auto;
  object-fit: contain;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 42px;
  padding: 0.55rem 0.85rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 4px 4px 0 var(--ink);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.menu-lines {
  display: inline-grid;
  gap: 4px;
  width: 20px;
}

.menu-lines span {
  display: block;
  height: 3px;
  border-radius: 999px;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.site-header.is-open .menu-lines span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-open .menu-lines span:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .menu-lines span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-links {
  display: none;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(0.7rem, 2vw, 1.5rem);
  width: min(100%, 860px);
  padding: 0.75rem 1rem;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 5px 5px 0 var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
}

.site-header.is-open .nav-links {
  display: flex;
}

.nav-links a {
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.05fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(1.5rem, 3vw, 3rem) clamp(1rem, 5vw, 5rem) 2.25rem;
}

.hero-media {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  border: 3px solid var(--ink);
  box-shadow: 9px 9px 0 var(--ink);
}

.hero-logo {
  position: relative;
  z-index: 2;
  width: min(86%, 620px);
  filter: drop-shadow(0 36px 48px rgba(17, 16, 13, 0.2));
  transform-origin: center;
  animation: heroFloat 5s ease-in-out infinite;
}

.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  object-fit: cover;
  opacity: 0.42;
  transform: none;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(255, 248, 234, 0.28);
  pointer-events: none;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow,
.card-label {
  margin: 0 0 0.75rem;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Archivo Black", Inter, sans-serif;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 1.4rem;
  font-size: clamp(2.25rem, 5vw, 4.9rem);
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 4.2rem);
}

h3 {
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
}

p {
  line-height: 1.65;
}

.hero-text {
  max-width: 620px;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.1rem;
  border: 2px solid var(--ink);
  border-radius: 8px;
  box-shadow: 5px 5px 0 var(--ink);
  font-weight: 900;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0 var(--ink);
}

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

.button.secondary {
  background: #fff;
}

.quick-info,
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.quick-info {
  padding: 0 clamp(1rem, 5vw, 5rem) 3.25rem;
}

.quick-info article,
.feature-card,
.spotlight-list article {
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 7px 7px 0 rgba(17, 16, 13, 0.94);
}

.quick-info article {
  padding: 1.25rem;
}

.quick-info span {
  display: inline-flex;
  width: 2.4rem;
  height: 2.4rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--green);
  color: white;
  font-size: 0.8rem;
  font-weight: 900;
}

.section-block {
  padding: clamp(3rem, 6vw, 6rem) clamp(1rem, 5vw, 5rem);
}

.section-heading {
  max-width: 860px;
  margin-bottom: 2rem;
}

.experience-section {
  padding: clamp(3rem, 6vw, 6rem) clamp(1rem, 5vw, 5rem);
  background: var(--ink);
  color: white;
}

.experience-section .eyebrow {
  color: var(--gold);
}

.photo-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1.25fr) repeat(2, minmax(220px, 0.875fr));
  gap: 1rem;
  align-items: stretch;
}

.photo-card {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  margin: 0;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 7px 7px 0 var(--gold);
}

.photo-card.large {
  min-height: 560px;
}

.photo-card img {
  width: 100%;
  flex: 1;
  min-height: 0;
  object-fit: cover;
}

.photo-card figcaption {
  padding: 1rem 1.1rem;
  font-weight: 900;
  line-height: 1.35;
}

.feature-card {
  min-height: 260px;
  padding: 1.35rem;
}

.event-card:nth-child(1) {
  background: #fffdf7;
}

.event-card:nth-child(2) {
  background: #f8d9b2;
}

.event-card:nth-child(3) {
  background: #dce9c8;
}

.feature-card a {
  display: inline-flex;
  margin-top: 1rem;
  font-weight: 900;
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

.event-form-section {
  padding: clamp(3rem, 6vw, 6rem) clamp(1rem, 5vw, 5rem);
  background:
    radial-gradient(circle at bottom right, rgba(201, 54, 36, 0.16), transparent 28rem),
    var(--paper);
}

.event-form {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: #fffdf7;
  box-shadow: 10px 10px 0 var(--ink);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.event-form label,
.event-form legend {
  font-weight: 900;
}

.event-form label span {
  color: var(--red);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.event-form input,
.event-form select {
  width: 100%;
  min-height: 48px;
  margin-top: 0.45rem;
  padding: 0.78rem 0.85rem;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
}

.event-form fieldset {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.25rem;
  margin: 1.25rem 0 0;
  padding: 1rem;
  border: 2px solid var(--ink);
  border-radius: 8px;
}

.event-form legend {
  padding: 0 0.45rem;
}

.choice,
.checkbox-line {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}

.choice input,
.checkbox-line input {
  width: auto;
  min-height: auto;
  margin-top: 0.22rem;
}

.checkbox-line {
  margin-top: 1rem;
  font-weight: 800;
  line-height: 1.45;
}

.required-check {
  padding: 1rem;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 16, 13, 0.04);
}

.required-check.is-required {
  border-color: var(--red);
  background: rgba(201, 54, 36, 0.08);
}

.event-form button {
  margin-top: 1.25rem;
}

.calendar-section {
  padding: clamp(3rem, 6vw, 6rem) clamp(1rem, 5vw, 5rem);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(246, 179, 39, 0.14)),
    var(--cream);
}

.calendar-card {
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: #fffdf7;
  box-shadow: 10px 10px 0 var(--ink);
  overflow: hidden;
}

.calendar-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1rem, 3vw, 1.5rem);
  background: var(--green);
  color: white;
}

.calendar-header h3 {
  margin: 0;
  font-family: "Archivo Black", Inter, sans-serif;
  font-size: clamp(1.7rem, 3vw, 3rem);
}

.calendar-header p {
  margin: 0;
  color: var(--gold);
  font-weight: 900;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 1px;
  background: var(--ink);
}

.weekday,
.calendar-day {
  background: #fffdf7;
}

.weekday {
  padding: 0.8rem 0.35rem;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.calendar-day {
  min-height: 122px;
  padding: 0.65rem;
}

.calendar-day span {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(17, 16, 13, 0.08);
  font-weight: 900;
}

.calendar-day strong,
.calendar-day small {
  display: block;
}

.calendar-day strong {
  margin-top: 0.8rem;
  font-size: 0.95rem;
}

.calendar-day small {
  margin-top: 0.25rem;
  line-height: 1.35;
}

.calendar-day.market-day {
  background: var(--gold);
}

.calendar-day.market-day span {
  background: var(--ink);
  color: white;
}

.calendar-day.muted {
  background: rgba(255, 253, 247, 0.45);
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(320px, 1.25fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  background: var(--ink);
  color: white;
}

.split .eyebrow {
  color: var(--gold);
}

.spotlight-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.spotlight-list article {
  background: var(--paper);
  color: var(--ink);
  overflow: hidden;
}

.spotlight-list img {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
}

.application-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(280px, 0.65fr);
  gap: clamp(1.25rem, 4vw, 4rem);
  align-items: center;
  padding: clamp(3rem, 6vw, 6rem) clamp(1rem, 5vw, 5rem);
  background:
    linear-gradient(135deg, rgba(246, 179, 39, 0.24), rgba(7, 92, 50, 0.12)),
    var(--paper);
}

.application-card {
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: #fffdf7;
  box-shadow: 9px 9px 0 var(--ink);
}

.application-card .button {
  margin-top: 0.75rem;
}

.signup-section {
  padding: clamp(3rem, 6vw, 6rem) clamp(1rem, 5vw, 5rem);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(7, 92, 50, 0.12)),
    var(--cream);
}

.signup-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.signup-card {
  min-height: 300px;
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: #fffdf7;
  box-shadow: 9px 9px 0 var(--ink);
}

.signup-card:nth-child(1) {
  background: var(--gold);
}

.signup-card .button {
  margin-top: 1rem;
}

.spotlight-list h3,
.spotlight-list p {
  padding: 0 1.2rem;
}

.visit-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin: clamp(2rem, 5vw, 5rem);
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: var(--red);
  color: white;
  box-shadow: 10px 10px 0 var(--ink);
}

.visit-band .eyebrow {
  color: var(--gold);
}

.visit-band h2 {
  max-width: 900px;
  margin-bottom: 0;
  font-size: clamp(1.8rem, 3.5vw, 3.7rem);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding: 2rem 1rem;
  font-weight: 900;
}

.jump-comb {
  position: fixed;
  right: clamp(0.8rem, 3vw, 1.5rem);
  bottom: clamp(0.8rem, 3vw, 1.5rem);
  z-index: 30;
  display: flex;
  width: 74px;
  height: 128px;
  align-items: center;
  flex-direction: column;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px) rotate(2deg) scale(0.94);
  transition:
    opacity 220ms ease,
    transform 220ms ease,
    filter 220ms ease;
  filter: drop-shadow(0 16px 18px rgba(17, 16, 13, 0.28));
}

.jump-comb.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) rotate(2deg) scale(1);
  animation: combFloat 3.4s ease-in-out infinite;
}

.jump-comb:hover {
  filter: drop-shadow(0 18px 18px rgba(17, 16, 13, 0.34));
}

.jump-comb:focus-visible {
  outline: 4px solid var(--gold);
  outline-offset: 8px;
}

.comb-afro {
  position: relative;
  z-index: 2;
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
}

.comb-afro::before {
  position: absolute;
  z-index: -1;
  top: -8px;
  left: 22px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow:
    14px 1px 0 var(--ink),
    26px 11px 0 var(--ink),
    29px 27px 0 var(--ink),
    20px 43px 0 var(--ink),
    4px 51px 0 var(--ink),
    -13px 49px 0 var(--ink),
    -28px 38px 0 var(--ink),
    -34px 20px 0 var(--ink),
    -27px 4px 0 var(--ink),
    -11px -5px 0 var(--ink);
}

.comb-arrow {
  position: relative;
  z-index: 1;
  color: var(--gold);
  font-family: "Archivo Black", "Inter", sans-serif;
  font-size: 1.75rem;
  line-height: 1;
  transform: translateY(1px);
}

.comb-spine {
  width: 62px;
  height: 30px;
  margin-top: -4px;
  border-radius: 18px 18px 7px 7px;
  background: var(--ink);
}

.comb-teeth {
  display: grid;
  width: 62px;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
}

.comb-teeth span {
  height: 48px;
  border-radius: 0 0 8px 8px;
  background: var(--ink);
}

.project-page {
  background:
    radial-gradient(circle at top right, rgba(246, 179, 39, 0.22), transparent 30rem),
    linear-gradient(180deg, #fffaf0 0%, #f6ecd8 100%);
}

.proposal-header {
  display: flex;
  justify-content: flex-end;
  gap: 0.85rem;
  padding: 1rem clamp(1rem, 5vw, 5rem);
}

.proposal-hero {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(260px, 0.6fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(3rem, 6vw, 6rem) clamp(1rem, 5vw, 5rem);
}

.proposal-hero h1 {
  max-width: 980px;
}

.proposal-hero p {
  max-width: 760px;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
}

.proposal-hero img {
  width: min(100%, 420px);
  justify-self: center;
  filter: drop-shadow(0 26px 38px rgba(17, 16, 13, 0.18));
}

.proposal-section {
  padding: clamp(3rem, 6vw, 6rem) clamp(1rem, 5vw, 5rem);
}

.proposal-section.dark {
  background: var(--ink);
  color: white;
}

.proposal-section.dark .eyebrow {
  color: var(--gold);
}

.proposal-grid,
.support-list,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.proposal-grid article,
.support-list article,
.pricing-card {
  padding: clamp(1.2rem, 2.5vw, 1.7rem);
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 7px 7px 0 var(--ink);
}

.support-list article {
  background: var(--paper);
  color: var(--ink);
}

.proposal-grid span {
  display: inline-flex;
  width: 2.4rem;
  height: 2.4rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--green);
  color: white;
  font-size: 0.8rem;
  font-weight: 900;
}

.pricing-card.preferred {
  background: var(--gold);
}

.pricing-card .button {
  margin-top: 1rem;
}

[data-animate] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 700ms ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes logoSpin {
  0% {
    opacity: 0;
    transform: scale(0.68) rotateY(0deg);
  }
  58% {
    opacity: 1;
    transform: scale(1.04) rotateY(360deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotateY(360deg);
  }
}

@keyframes introFade {
  0%,
  72% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes heroFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-14px) rotate(1deg);
  }
}

@keyframes combFloat {
  0%,
  100% {
    transform: translateY(0) rotate(2deg) scale(1);
  }
  50% {
    transform: translateY(-8px) rotate(-1deg) scale(1.02);
  }
}

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

@media (max-width: 900px) {
  .site-header {
    position: static;
  }

  .hero,
  .split,
  .application-section,
  .signup-grid,
  .proposal-hero,
  .proposal-grid,
  .support-list,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 1.6rem;
    padding-bottom: 2rem;
  }

  .quick-info,
  .card-grid,
  .form-grid,
  .photo-grid,
  .spotlight-list {
    grid-template-columns: 1fr;
  }

  .photo-card,
  .photo-card.large {
    min-height: 420px;
  }

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

  .calendar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .weekday {
    display: none;
  }

  .calendar-day.muted {
    display: none;
  }

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

  .proposal-header {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .nav-links {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
    overflow-x: visible;
    padding-bottom: 0.25rem;
  }

  .hero {
    gap: 1.2rem;
    padding-top: 1rem;
    padding-bottom: 1.25rem;
  }

  .hero-media {
    min-height: 430px;
  }

  .hero-logo {
    width: min(100%, 340px);
  }

  .hero-photo {
    width: 100%;
    height: 100%;
  }

  h1 {
    margin-bottom: 1rem;
    font-size: clamp(2rem, 10vw, 2.55rem);
  }

  .hero-text {
    font-size: 1rem;
  }

  .hero-actions {
    margin-top: 1.25rem;
  }

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

  .intro img {
    width: min(72vw, 300px);
  }

  .calendar-grid {
    grid-template-columns: 1fr;
  }

  .calendar-day {
    min-height: auto;
  }
}
