*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #fae3b6;
  --accent: #FF8A00;
  --brown: #7A3B2E;
  --white: #fff;
  --black: #1a1a1a;
  --bg-dark: #f5d89a;
  --nav-height: 72px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--brown);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Libre Baskerville', serif;
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ── NAV ── */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: var(--bg);
  border-bottom: 2px solid var(--brown);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  z-index: 1000;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav__logo img {
  height: 42px;
  width: auto;
}

.nav__logo-text {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--brown);
  white-space: nowrap;
}

.nav__links {
  display: flex;
  gap: 36px;
  list-style: none;
  align-items: center;
}

.nav__links a {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brown);
  position: relative;
  transition: color 0.2s;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s;
}

.nav__links a:hover::after,
.nav__links a.active::after {
  width: 100%;
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--accent);
}

.nav__links a.nav-cta {
  background: var(--accent);
  color: var(--white);
  padding: 10px 20px;
  font-size: 0.85rem;
  transition: background 0.2s;
}

.nav__links a.nav-cta::after {
  display: none;
}

.nav__links a.nav-cta:hover {
  background: var(--brown);
  color: var(--white);
}

.nav__links a.nav-cta.active {
  background: var(--brown);
  color: var(--white);
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--brown);
  transition: transform 0.3s, opacity 0.3s;
}

.nav__hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── MAIN SCROLL CONTAINER ── */

.snap-container {
  margin-top: var(--nav-height);
  height: calc(100vh - var(--nav-height));
  overflow-y: auto;
  scroll-snap-type: y mandatory;
}

.snap-section {
  min-height: calc(100vh - var(--nav-height));
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 48px;
}

.snap-section--half {
  min-height: auto;
  padding-top: 48px;
  padding-bottom: 24px;
  scroll-snap-align: start;
}

/* ── HERO ── */

@keyframes heroSlideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroSlideUpSubtle {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 0.5;
    transform: translateY(0);
  }
}

@keyframes heroSlideUpMuted {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 0.75;
    transform: translateY(0);
  }
}

@keyframes heroFadeScale {
  from {
    opacity: 0;
    transform: scale(0.85);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.hero {
  position: relative;
  background: var(--brown);
  color: var(--white);
  padding: 0;
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.35) 40%, transparent 70%);
  z-index: 2;
  pointer-events: none;
}

.hero__text {
  position: relative;
  z-index: 3;
  max-width: 560px;
  padding: 80px;
  pointer-events: none;
}

.hero__label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  opacity: 0;
  margin-bottom: 20px;
  animation: heroSlideUpSubtle 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.hero__title {
  font-size: clamp(3rem, 5.5vw, 4.8rem);
  line-height: 1.05;
  margin-bottom: 24px;
  color: var(--white);
  opacity: 0;
  animation: heroSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

.hero__subtitle {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.8;
  font-weight: 400;
  max-width: 440px;
  opacity: 0;
  animation: heroSlideUpMuted 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.7s forwards;
}

.hero__cta {
  display: inline-block;
  margin-top: 36px;
  padding: 14px 36px;
  background: var(--accent);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: background 0.2s;
  opacity: 0;
  animation: heroSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.9s forwards;
}

.hero__cta {
  pointer-events: auto;
}

.hero__cta:hover {
  background: var(--bg);
  color: var(--brown);
}

/* ── BEFORE/AFTER SLIDER (full-pane) ── */

.ba-slider__after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.ba-slider__before {
  position: absolute;
  inset: 0;
  clip-path: inset(0 50% 0 0);
  z-index: 2;
}

.ba-slider__before img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-slider__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 3px;
  z-index: 4;
  pointer-events: none;
}

.ba-slider__line {
  flex: 1;
  width: 2px;
  background: var(--white);
}

.ba-slider__knob {
  width: 36px;
  height: 36px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brown);
  flex-shrink: 0;
  pointer-events: auto;
}

.ba-slider__knob svg {
  width: 18px;
  height: 18px;
}

.ba-slider__hint {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(12px, calc(-50% - 36px - 16px));
  background: var(--white);
  color: var(--brown);
  padding: 8px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  border-radius: 4px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  z-index: 10;
  opacity: 1;
  transition: opacity 0.4s;
  pointer-events: none;
}

.ba-slider__hint.hidden {
  opacity: 0;
  pointer-events: none;
}

.ba-slider__hint-arrow {
  position: absolute;
  left: 0;
  top: 100%;
  width: 0;
  height: 0;
  border: 8px solid transparent;
  border-top-color: var(--white);
  border-left-width: 0;
  transform: rotate(0deg);
  transform-origin: 0 0;
}

.ba-slider__label {
  position: absolute;
  bottom: 20px;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  opacity: 0.7;
  pointer-events: none;
  z-index: 4;
}

.ba-slider__label--before {
  right: 12px;
}

.ba-slider__label--after {
  left: 12px;
}

.tracker-ring {
  position: relative;
  width: 280px;
  height: 280px;
}

.tracker-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.tracker-ring__bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 8;
}

.tracker-ring__fill {
  fill: none;
  stroke: var(--accent);
  stroke-width: 8;
  stroke-linecap: butt;
  transition: stroke-dashoffset 1.8s ease-out;
}

.tracker-ring__tick {
  fill: none;
  stroke: rgba(255, 255, 255, 0.25);
  stroke-width: 1;
}

.tracker-ring__center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.tracker-ring__number {
  font-family: 'Libre Baskerville', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--white);
}

.tracker-ring__label {
  font-size: 0.85rem;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero__tracker-caption {
  font-size: 0.9rem;
  opacity: 0.65;
  text-align: center;
}

/* ── CONTENT SECTIONS ── */

.section--cream {
  background: var(--bg);
}

.section--white {
  background: var(--white);
}

.section--brown {
  background: var(--brown);
  color: var(--white);
}

.section--accent {
  background: var(--accent);
  color: var(--white);
}

.section__label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 12px;
}

.section--brown .section__label,
.section--accent .section__label {
  color: rgba(255, 255, 255, 0.6);
}

.section__title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: 28px;
}

.section__text {
  font-size: 1.05rem;
  max-width: 720px;
  line-height: 1.8;
}

.section__text + .section__text {
  margin-top: 20px;
}

.section--centered {
  text-align: center;
  align-items: center;
}

.section--centered .section__text {
  margin-left: auto;
  margin-right: auto;
}

/* ── PHOTO GALLERY (3 images in a row) ── */

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  width: 100%;
}

.photo-gallery img {
  width: 100%;
  height: 440px;
  object-fit: cover;
}

.text-with-photo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  width: 100%;
  max-width: none;
  align-items: stretch;
  height: calc(100vh - var(--nav-height));
  overflow: hidden;
}

.text-with-photo__content {
  padding: 80px 64px 80px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.text-with-photo__image {
  overflow: hidden;
}

.text-with-photo__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── LARGE SECTION VARIANT ── */

.section--large .section__title {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
}

.section--large .section__text {
  font-size: 1.15rem;
  max-width: 800px;
}

/* ── TWO-COLUMN LAYOUT ── */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  width: 100%;
  max-width: 1200px;
}

/* ── STEPS / PROCESS ── */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  width: 100%;
  max-width: 1000px;
  margin-top: 40px;
}

.step {
  padding: 32px 24px;
  border: 2px solid var(--brown);
  position: relative;
}

.step__number {
  font-family: 'Libre Baskerville', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
}

.step__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step__desc {
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.85;
}

/* ── ALLERGEN LAYOUT (grid + text side by side) ── */

.allergen-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
  width: 100%;
  max-width: 1200px;
  margin-top: 36px;
}

.allergen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.allergen-item {
  padding: 20px 12px;
  border: 2px solid var(--brown);
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}

.allergen-item {
  position: relative;
}

.allergen-item:hover {
  background: var(--brown);
  color: var(--white);
  z-index: 10;
}

.allergen-tooltip {
  position: absolute;
  left: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  width: 260px;
  background: var(--brown);
  color: var(--white);
  padding: 20px 22px;
  text-align: left;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  z-index: 20;
}

.allergen-item:hover .allergen-tooltip {
  opacity: 1;
}


.allergen-tooltip__fact::before {
  content: 'Did you know: ';
  font-weight: 700;
  color: var(--accent);
}

.allergen-tooltip__fact {
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 14px;
}

.allergen-tooltip__label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.5;
  margin-bottom: 8px;
}

.allergen-tooltip__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.allergen-tooltip__list li {
  font-size: 0.8rem;
  line-height: 1.4;
  padding-left: 12px;
  position: relative;
}

.allergen-tooltip__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 4px;
  height: 4px;
  background: var(--accent);
}

.allergen-info {
  padding-top: 4px;
}

.allergen-info .section__text {
  max-width: none;
}

/* ── SDG LAYOUT ── */

.sdg-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  width: 100%;
  max-width: 1000px;
  margin-top: 36px;
}

.sdg-layout__text .section__text {
  max-width: none;
}

.sdg-bullets {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sdg-bullets li {
  font-size: 1.05rem;
  line-height: 1.6;
  padding-left: 20px;
  position: relative;
}

.sdg-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--accent);
}

.sdg-layout__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.sdg-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  width: 100%;
  max-width: 800px;
  margin-top: 40px;
}

.sdg-card {
  text-align: center;
}

.sdg-card img {
  width: 100%;
  max-width: none;
  margin: 0;
}

.sdg-card__name {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ── PARTNER TIERS ── */

.partner-tier {
  width: 100%;
  max-width: 1000px;
}

.partner-tier__header {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 24px;
}

.partner-featured {
  display: flex;
  align-items: center;
  gap: 48px;
}

.partner-featured__logo {
  flex-shrink: 0;
  width: 200px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  padding: 16px;
}

.partner-featured__logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.partner-featured__info {
  flex: 1;
}

.partner-featured__name {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.partner-featured__desc {
  font-size: 1rem;
  line-height: 1.7;
  opacity: 0.9;
}

.partner-logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 20px;
}

.partner-logo-card {
  background: var(--white);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 2;
}

.partner-logo-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.partner-tier__desc {
  margin-top: 20px;
  font-size: 1rem;
  line-height: 1.7;
  max-width: 720px;
}

/* ── GOAL TRACKER (Get Involved page, enhanced) ── */

.goal-section {
  text-align: center;
  align-items: center;
}

.tracker-hero {
  display: flex;
  align-items: center;
  gap: 48px;
  width: 100%;
  max-width: 900px;
  margin-top: 40px;
}

.tracker-hero__ring {
  flex: 0 0 auto;
}

.tracker-hero__stats {
  flex: 1;
  text-align: left;
}

.tracker-hero__number {
  font-family: 'Libre Baskerville', serif;
  font-size: 4rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.tracker-hero__of {
  font-size: 1.1rem;
  margin-top: 8px;
  opacity: 0.6;
}

.tracker-hero__bar {
  width: 100%;
  height: 12px;
  background: rgba(255, 255, 255, 0.15);
  margin-top: 24px;
  overflow: hidden;
}

.tracker-hero__bar-fill {
  height: 100%;
  background: var(--accent);
  width: 0%;
  transition: width 1.8s ease-out;
}

.tracker-hero__milestones {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 0.8rem;
  opacity: 0.45;
}

/* ── EVENTS SPLIT LAYOUT ── */

.events-split {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 56px;
  width: 100%;
  max-width: 1000px;
  align-items: start;
}

.events-split__side:last-child {
  margin-left: 24px;
}

.events-split__side {
  display: flex;
  flex-direction: column;
}

.events-split__heading {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 20px;
}

/* Events section: content left, 2 stacked images right (half height each) */
.events-section {
  padding: 0;
}

.events-layout {
  display: grid;
  grid-template-columns: 1fr 36%;
  min-height: calc(100vh - var(--nav-height));
  align-items: stretch;
}

.events-layout__content {
  padding: 48px 48px 48px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.events-heading {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  margin: 0 0 28px 0;
  color: var(--brown);
}

.events-layout__photos {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 0;
}

.events-layout__photo {
  flex: 0 0 50%;
  width: 100%;
  height: 50%;
  min-height: 0;
  background-size: cover;
  background-repeat: no-repeat;
}

/* Top: show middle 50% (crop 25% off top and bottom) */
.events-layout__photo--top {
  background-image: url("eventimages/IMG_9795.JPG");
  background-position: center 50%;
}

/* Bottom: show upper part (heads visible), crop more from bottom */
.events-layout__photo--bottom {
  background-image: url("eventimages/IMG_9763.JPG");
  background-position: center 40%;
}

/* ── NEXT EVENT CALLOUT ── */

.next-event {
  border: 3px solid var(--accent);
  padding: 40px 32px;
  text-align: center;
  width: 100%;
}

.next-event__label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 12px;
}

.next-event__date {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
}

.next-event__calendar-link {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  border: 2px solid var(--accent);
  border-radius: 4px;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.next-event__calendar-link:hover {
  color: var(--brown);
  background: rgba(94, 71, 53, 0.06);
  border-color: var(--brown);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── TIMELINE (compact) ── */

.timeline {
  position: relative;
  width: 100%;
  padding-left: 24px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--brown);
}

.timeline__item {
  position: relative;
  padding: 0 0 24px 20px;
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__item::before {
  content: '';
  position: absolute;
  left: -29px;
  top: 4px;
  width: 12px;
  height: 12px;
  background: var(--accent);
}

.events-split__side:last-child .timeline__date {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 4px;
}

.events-split__side:last-child .timeline__detail {
  font-size: 0.95rem;
  opacity: 0.8;
}

.events-split__side:last-child .events-split__heading {
  font-size: 0.85rem;
  margin-bottom: 24px;
}

.timeline__date {
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.timeline__detail {
  font-size: 0.85rem;
  opacity: 0.75;
}

/* ── VOLUNTEER GRID ── */

.volunteer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
  width: 100%;
  max-width: 1000px;
  margin-top: 32px;
}

.volunteer-card {
  padding: 16px 12px;
  border: 2px solid var(--brown);
  text-align: center;
}

.volunteer-card--founder {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.volunteer-card__name {
  font-weight: 600;
  font-size: 0.95rem;
}

/* ── FOOTER ── */

.footer {
  background: var(--brown);
  color: var(--white);
  scroll-snap-align: center;
}

.footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  padding: 48px 48px 24px;
  flex-wrap: wrap;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
}

.footer__logo img {
  height: 32px;
}

.footer__logo-text {
  font-family: 'Libre Baskerville', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}

.footer__nav {
  display: flex;
  gap: 76px;
  flex-wrap: wrap;
  margin-left: auto;
  margin-right: 48px;
}

.footer__col {
  min-width: 120px;
}

.footer__heading {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

.footer__heading a {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s;
}

.footer__heading a:hover {
  color: var(--white);
}

.footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__links li {
  margin-bottom: 8px;
}

.footer__links li:last-child {
  margin-bottom: 0;
}

.footer__links a {
  font-size: 0.9rem;
  color: var(--white);
  opacity: 0.85;
  transition: opacity 0.2s;
}

.footer__links a:hover {
  opacity: 1;
}

.footer__social {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.footer__social a:hover {
  opacity: 1;
}

.footer__social img {
  height: 28px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.footer__copyright {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

/* ── PULL QUOTE ── */

.pull-quote {
  border-left: 4px solid var(--accent);
  padding: 24px 32px;
  font-family: 'Libre Baskerville', serif;
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.8;
  max-width: 720px;
}

/* ── QUOTE ATTRIBUTION ── */

.pull-quote__attribution {
  margin-top: 20px;
  font-style: normal;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0.7;
}

/* ── PARTNER STACKED (two partners in one pane) ── */

.partner-stacked {
  display: flex;
  flex-direction: column;
  gap: 48px;
  width: 100%;
  max-width: 1000px;
}

.partner-stacked .partner-tier + .partner-tier {
  padding-top: 48px;
  border-top: 1px solid rgba(122, 59, 46, 0.15);
}

/* ── TALLER GALLERY VARIANT ── */

.photo-gallery--tall img {
  height: 520px;
}

/* ── FULL-PANE GALLERY ── */

.photo-gallery--fullpane {
  min-height: calc(100vh - var(--nav-height));
  scroll-snap-align: center;
  padding: 0;
}

.photo-gallery--fullpane img {
  height: calc(100vh - var(--nav-height));
}

/* ── DOT NAV ── */

.dot-nav {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-end;
}

.dot-nav__dot {
  position: relative;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
  padding: 0;
}

.dot-nav__dot:hover {
  transform: scale(1.3);
  border-color: var(--accent);
}

.dot-nav__dot.active {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 138, 0, 0.25);
}

.dot-nav__dot::before {
  content: attr(data-label);
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--brown);
  background: var(--white);
  padding: 5px 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.dot-nav__dot:hover::before {
  opacity: 1;
}

.dot-nav__arrow {
  width: 12px;
  height: 12px;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}

.dot-nav__arrow svg {
  width: 12px;
  height: 12px;
  stroke: var(--brown);
  opacity: 0.45;
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.8));
  transition: stroke 0.2s, opacity 0.2s;
}

.dot-nav__arrow:hover svg {
  stroke: var(--accent);
  opacity: 1;
}

.dot-nav__arrow:hover {
  transform: scale(1.3);
}

.dot-nav__arrow.hidden {
  opacity: 0;
  pointer-events: none;
}

/* ── PARTNERS TILE GRID ── */

.partners-section {
  align-items: center;
}

.partners-section .section__label,
.partners-section .section__title {
  width: 100%;
  max-width: 1100px;
  text-align: left;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  width: 100%;
  max-width: 1100px;
  margin: 24px auto 0;
}

.tile {
  perspective: 1200px;
  cursor: pointer;
  overflow: hidden;
}

.tile--full {
  grid-column: span 4;
  height: 240px;
}

.tile--half {
  grid-column: span 2;
  height: 240px;
}

.tile--quarter {
  grid-column: span 1;
  height: 180px;
}

.tile__inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transform-style: preserve-3d;
}

.tile.flipped .tile__inner {
  transform: rotateY(180deg);
}

.tile__front,
.tile__back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.tile__front {
  flex-direction: column;
  gap: 16px;
  background: var(--white);
}

.tile__front img {
  max-width: 180px;
  max-height: 45%;
  object-fit: contain;
}

.tile--full .tile__front img {
  max-width: 280px;
  max-height: 55%;
}

.tile--half .tile__front img {
  max-width: 220px;
  max-height: 50%;
}

.tile__front-name {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brown);
  opacity: 0.5;
  margin-top: 8px;
}

.tile__back {
  transform: rotateY(180deg);
  background: var(--brown);
  color: var(--white);
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 36px 40px;
}

.tile__back-header {
  width: 100%;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.tile__back-name {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin: 0;
}

.tile__back-body {
  font-size: 1rem;
  line-height: 1.7;
  opacity: 0.85;
}

.tile--quarter .tile__back {
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  padding: 28px 24px;
}

.tile--quarter .tile__back-body {
  font-size: 0.9rem;
  text-align: left;
}


/* ── UTILITY ── */

.mt-40 { margin-top: 40px; }
.mb-40 { margin-bottom: 40px; }
.max-w-800 { max-width: 800px; }
.max-w-1000 { max-width: 1000px; }

/* ── RESPONSIVE ── */

@media (max-width: 768px) {
  .nav {
    padding: 0 24px;
  }

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

  .nav__links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 2px solid var(--brown);
  }

  .nav__links.open {
    display: flex;
  }

  .nav__hamburger {
    display: flex;
  }

  .snap-section {
    padding: 60px 24px;
  }

  .hero__text {
    padding: 60px 24px;
  }

  .hero__subtitle {
    max-width: 100%;
  }

  .tracker-ring {
    width: 200px;
    height: 200px;
  }

  .tracker-ring__number {
    font-size: 2rem;
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .text-with-photo {
    grid-template-columns: 1fr;
  }

  .text-with-photo__content {
    padding: 48px 24px;
  }

  .text-with-photo__image img {
    height: 40vh;
  }

  .photo-gallery {
    grid-template-columns: 1fr;
  }

  .photo-gallery img {
    height: 260px;
  }

  .dot-nav {
    display: none;
  }

  .allergen-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .allergen-grid {
    width: 100%;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .photo-gallery--tall img {
    height: 280px;
  }

  .photo-gallery--fullpane {
    grid-template-columns: 1fr;
  }

  .photo-gallery--fullpane img {
    height: 33vh;
  }

  .partner-stacked .partner-featured {
    flex-direction: column;
    text-align: center;
  }

  .sdg-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .sdg-layout__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .sdg-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .partner-featured {
    flex-direction: column;
    text-align: center;
  }

  .partner-logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .events-layout {
    grid-template-columns: 1fr;
  }

  .events-layout__content {
    padding: 32px 24px 24px;
  }

  .events-layout__photo {
    flex: 0 0 50%;
    height: 50%;
  }

  .events-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .tracker-hero {
    flex-direction: column;
    text-align: center;
  }

  .tracker-hero__stats {
    text-align: center;
  }

  .tracker-hero__number {
    font-size: 3rem;
  }

  .footer__top {
    flex-direction: column;
    padding: 32px 24px 24px;
    gap: 32px;
  }

  .footer__nav {
    gap: 60px;
    margin-left: 0;
    margin-right: 0;
  }

  .next-event {
    padding: 28px 20px;
  }

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

  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .tile--full {
    grid-column: span 2;
    height: 180px;
  }

  .tile--half {
    grid-column: span 2;
    height: 180px;
  }

  .tile--quarter {
    grid-column: span 1;
    height: 140px;
  }

}
