@font-face {
  font-family: "Syne";
  src: url("../fonts/syne.woff2") format("woff2");
  font-weight: 700 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Pixelify Sans";
  src: url("../fonts/pixelify.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #1a1030;
  --ink-soft: #4a3a62;
  --paper: #fff7fb;
  --foam: #f3ecff;
  --surface: #ffffff;
  --pink: #ff2d95;
  --pink-text: #c2107a; /* pink for text on light backgrounds (AA contrast) */
  --pink-hot: #ff4ec8;
  --cyan: #2fe0ff;
  --lime: #b8ff3c;
  --yellow: #ffe14a;
  --violet: #7b5cff;
  --green-deep: #1f5129;
  --green: #39a845;
  --line: rgba(26, 16, 48, 0.12);
  --grad-hero: linear-gradient(125deg, #ff2d95 0%, #ff8a3d 38%, #ffe14a 68%, #2fe0ff 100%);
  --grad-soft: linear-gradient(135deg, rgba(255, 45, 149, 0.14), rgba(47, 224, 255, 0.16) 45%, rgba(184, 255, 60, 0.12));
  --grad-band: linear-gradient(90deg, #ff2d95, #ffe14a, #b8ff3c, #2fe0ff, #ff2d95);
  --max: 72rem;
  --header-h: 6.25rem;
  --ease: 160ms ease;
  --font-display: "Syne", "Avenir Next", sans-serif;
  --font-body: "Outfit", "Avenir Next", sans-serif;
  --font-pixel: "Pixelify Sans", "Courier New", monospace;
  --radius-pill: 999px;
}

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

html {
  scroll-behavior: auto;
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 8% -8%, rgba(255, 45, 149, 0.18), transparent 60%),
    radial-gradient(800px 380px at 100% 0%, rgba(47, 224, 255, 0.16), transparent 55%),
    radial-gradient(700px 360px at 70% 100%, rgba(184, 255, 60, 0.12), transparent 50%),
    linear-gradient(180deg, #fff7fb, #f7f0ff 48%, #eefbff);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 400;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.15em;
  height: 1.15em;
  display: inline-block;
  vertical-align: -0.15em;
  flex-shrink: 0;
}

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

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  img {
    transition: scale 240ms ease, filter 240ms ease, transform 240ms ease, box-shadow 240ms ease;
  }

  img:hover {
    scale: 1.035;
    filter: brightness(1.06);
  }

  .hero__media img:hover,
  .page-hero--image .page-hero__bg img:hover {
    scale: 1;
    filter: none;
  }

  .site-footer__brand img:hover {
    scale: 1.035;
    filter: brightness(1.28) drop-shadow(0 0 12px rgba(255, 45, 149, 0.45));
  }
}

a,
button {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(255, 45, 149, 0.16);
}

a {
  color: var(--pink-text);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--violet);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 500;
}

.skip-link:focus {
  top: 1rem;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
  color: var(--ink);
  overflow-wrap: break-word;
}

h1 { font-size: clamp(2rem, 6vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.65rem, 3.6vw, 3rem); font-weight: 800; }
h3 { font-size: clamp(1.18rem, 2vw, 1.55rem); font-weight: 700; }

p { margin: 0 0 1rem; color: var(--ink-soft); }
p:last-child { margin-bottom: 0; }

.wrap {
  width: min(100% - clamp(2rem, 5.5vw, 6rem), var(--max));
  margin-inline: auto;
}

.wrap--narrow {
  width: min(100% - clamp(2rem, 5.5vw, 6rem), 46rem);
}

/* Anchor jumps land below the sticky header */
[id] {
  scroll-margin-top: calc(var(--header-h) + 0.5rem);
}

.section {
  min-height: 100svh;
  display: grid;
  align-content: center;
  padding: clamp(2.75rem, 6.5svh, 4.75rem) 0;
  position: relative;
}

.section--tight {
  min-height: auto;
  padding: clamp(2.75rem, 6.5svh, 4.75rem) 0;
}

.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-pixel);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pink-text);
  margin-bottom: 0.85rem;
}

.section__eyebrow .icon {
  color: var(--yellow);
  width: 1em;
  height: 1em;
  filter: drop-shadow(0 0 6px rgba(255, 225, 74, 0.7));
}

.lede {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  max-width: 38rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 3rem;
  padding: 0.7rem 1.4rem;
  border: 2px solid var(--ink);
  border-radius: var(--radius-pill);
  background: var(--grad-hero);
  background-size: 160% 160%;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 8px 22px rgba(255, 45, 149, 0.22);
  transition: transform var(--ease), box-shadow var(--ease), filter var(--ease);
}

.btn:hover {
  color: var(--ink);
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.btn--ghost:hover {
  background: #fff;
  color: var(--ink);
}

.btn--small {
  min-height: 2.65rem;
  padding: 0.5rem 1.15rem;
  font-size: 1.02rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.btn-row--center {
  justify-content: center;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 247, 251, 0.96);
  border-bottom: 1px solid var(--line);
  transition: transform 220ms ease;
  will-change: transform;
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

@media (prefers-reduced-motion: reduce) {
  .site-header {
    transition: none;
  }

  .site-header.is-hidden {
    transform: none;
  }
}

.site-header__inner {
  width: min(100% - 1.5rem, var(--max));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.brand__logo {
  width: clamp(7.5rem, 16vw, 11rem);
  height: auto;
  filter: drop-shadow(0 0 10px rgba(255, 45, 149, 0.25));
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.75rem;
  min-width: 2.75rem;
  padding: 0.45rem 0.65rem;
  margin-right: -0.45rem;
  border: 0;
  border-radius: 0.75rem;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-pixel);
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 1.35rem;
  height: 2px;
  background: currentColor;
  position: relative;
  transition: top var(--ease), transform var(--ease), background-color var(--ease);
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.site-nav__list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
}

.site-nav__link {
  display: block;
  padding: 0.6rem 0.8rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink-soft);
}

.site-nav__link.is-active,
.site-nav__link:hover {
  color: var(--pink-text);
}

.site-nav__item--has-sub {
  position: relative;
}

.site-nav__sub {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 12rem;
  margin: 0;
  padding: 0.45rem 0;
  list-style: none;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 1rem;
  box-shadow: 6px 6px 0 rgba(255, 45, 149, 0.25);
}

.site-nav__sub a {
  display: block;
  padding: 0.6rem 0.95rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink-soft);
}

.site-nav__sub a:hover {
  color: var(--pink-text);
  background: rgba(255, 45, 149, 0.06);
}

.site-nav__item--has-sub:hover .site-nav__sub,
.site-nav__item--has-sub:focus-within .site-nav__sub {
  display: block;
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: grid;
  align-items: center;
  color: #fff;
  overflow: hidden;
  clip-path: inset(0);
}

.hero__deco {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero__deco .icon--star {
  position: absolute;
  top: 18%;
  right: 12%;
  width: 3.2rem;
  height: 3.2rem;
  filter: drop-shadow(0 0 10px rgba(255, 45, 149, 0.7));
}

.hero__deco .icon--smiley {
  position: absolute;
  top: 28%;
  left: 8%;
  width: 3.6rem;
  height: 3.6rem;
  filter: drop-shadow(0 0 10px rgba(255, 232, 74, 0.7));
}

.hero__deco .icon--spark {
  position: absolute;
  bottom: 22%;
  right: 22%;
  width: 2.4rem;
  height: 2.4rem;
  filter: drop-shadow(0 0 10px rgba(61, 231, 255, 0.7));
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-pixel);
  font-size: 1.15rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #ffe84a;
  margin-bottom: 0.85rem;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media img {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(26, 16, 48, 0.88) 0%, rgba(255, 45, 149, 0.6) 42%, rgba(47, 224, 255, 0.5) 100%),
    linear-gradient(0deg, rgba(26, 16, 48, 0.75), transparent 60%);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 2rem 0 3rem;
  align-self: center;
}

.hero__decor {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
  color: var(--yellow);
}

.hero__decor .icon {
  width: 1.55rem;
  height: 1.55rem;
  filter: drop-shadow(0 0 8px rgba(255, 225, 74, 0.85));
}

.hero__decor .icon--cyan { color: var(--cyan); }
.hero__decor .icon--lime { color: var(--lime); }

.hero h1 {
  color: #fff;
  max-width: 12ch;
  text-wrap: balance;
  font-size: clamp(2.1rem, 6.2vw, 4.8rem);
  text-shadow: 0 0 28px rgba(255, 45, 149, 0.45);
}

.hero p {
  color: rgba(255, 255, 255, 0.92);
  max-width: 34rem;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
}

.hero .btn {
  border-color: #fff;
  color: var(--ink);
}

.hero .btn--ghost {
  background: transparent;
  color: #fff;
  border-color: #fff;
  box-shadow: none;
}

.hero .btn--ghost:hover {
  background: #fff;
  color: var(--ink);
}

/* Layout blocks */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.split--reverse > :first-child { order: 2; }
.split--reverse > :last-child { order: 1; }

.media-frame {
  position: relative;
  min-height: 12rem;
}

.media-frame img {
  width: 100%;
  height: min(58vh, 28rem);
  object-fit: cover;
  border: 3px solid var(--ink);
  border-radius: 1.4rem;
  box-shadow: 10px 10px 0 rgba(255, 45, 149, 0.28);
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: auto -0.85rem -0.85rem auto;
  width: 42%;
  height: 42%;
  background: var(--grad-hero);
  border-radius: 1.2rem;
  z-index: -1;
  opacity: 0.85;
}

.media-stack {
  display: grid;
  gap: 1rem;
}

.media-stack .media-frame img {
  height: min(25vh, 12.5rem);
}

.media-frame--offset {
  width: 86%;
  margin-left: auto;
}

.media-frame--events img {
  height: min(28vh, 14rem);
  margin-bottom: 1rem;
}

.media-frame--sticker img {
  border-radius: 1.5rem;
  box-shadow: 10px 10px 0 rgba(255, 45, 149, 0.28);
}

.media-collage {
  position: relative;
  min-height: 0;
  margin-bottom: 2.75rem;
}

.media-collage__main {
  width: 100%;
  height: min(42vh, 22rem);
  object-fit: cover;
  border: 3px solid var(--ink);
  border-radius: 1.5rem;
  box-shadow: 10px 10px 0 rgba(47, 224, 255, 0.35);
}

.media-collage .team-preview--collage {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0;
  transform: translateY(50%);
  z-index: 2;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.5rem;
}

.media-collage .team-preview--collage img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border: 3px solid var(--ink);
  box-shadow: 4px 4px 0 rgba(47, 224, 255, 0.45);
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .media-collage .team-preview--collage img:hover {
    transform: translateY(-0.5rem);
    box-shadow: 4px 9px 0 rgba(47, 224, 255, 0.55);
  }
}

.media-collage .icon--float {
  position: absolute;
  top: 8%;
  left: -0.4rem;
  width: 2.8rem;
  height: 2.8rem;
  color: var(--yellow);
  filter: drop-shadow(0 0 8px rgba(255, 225, 74, 0.7));
}

.media-collage .icon--float-2 {
  position: absolute;
  top: 18%;
  right: 8%;
  width: 2.4rem;
  height: 2.4rem;
  color: var(--pink-text);
  filter: drop-shadow(0 0 8px rgba(255, 45, 149, 0.7));
}

.photo-pair {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
  align-items: end;
}

.photo-pair img {
  width: 100%;
  height: 11rem;
  object-fit: cover;
  border: 3px solid var(--ink);
  border-radius: 1.2rem;
  box-shadow: 7px 7px 0 rgba(184, 255, 60, 0.35);
}

.photo-pair img:first-child {
  height: 14rem;
  transform: rotate(-1.5deg);
}

.photo-pair img:last-child {
  transform: rotate(2deg);
}

.photo-pair--tall img {
  height: 12.5rem;
}

.photo-pair--tall img:first-child {
  height: 13.5rem;
}

.photo-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 2rem;
}

.photo-strip img {
  width: 100%;
  height: 7rem;
  object-fit: cover;
  border: 2px solid var(--ink);
  border-radius: 1rem;
  box-shadow: 4px 4px 0 rgba(255, 45, 149, 0.22);
}

.photo-strip img:nth-child(odd) {
  transform: translateY(0.4rem) rotate(-2deg);
}

.photo-strip img:nth-child(even) {
  transform: translateY(-0.35rem) rotate(2deg);
}

.team-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.25rem 0 0.25rem;
}

.team-preview img {
  width: 4.25rem;
  height: 4.25rem;
  object-fit: cover;
  border: 2px solid var(--ink);
  border-radius: 50%;
  box-shadow: 3px 3px 0 var(--cyan);
}

.involve-intro {
  margin-bottom: 2rem;
}

.involve-intro .media-frame img {
  height: min(36vh, 18rem);
}

#involve .stat-row {
  margin-top: 2rem;
}

#about h2 {
  font-size: clamp(1.65rem, 3vw, 2.6rem);
}

/* Bubble cards for the home About and Team points (restored at client request) */
#about .pillar-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

#about .pillar-list li {
  display: block;
  padding: 0.85rem 1rem 0.95rem;
  border: 3px solid var(--ink);
  border-radius: 1.2rem;
  box-shadow: 6px 6px 0 rgba(255, 45, 149, 0.28);
  background: color-mix(in srgb, var(--surface) 88%, white);
}

#about .pillar-list h3 {
  margin-bottom: 0.2rem;
}

#about .pillar-list p {
  font-size: 0.95rem;
}

#team .pillar-list {
  display: grid;
  gap: 0.7rem;
}

#team .pillar-list li {
  display: block;
  padding: 0.9rem 1.1rem 1rem;
  border-radius: 1.15rem;
}

#team .pillar-list li:nth-child(1) {
  background: #ffe0ef;
}

#team .pillar-list li:nth-child(2) {
  background: #d9f8ff;
}

#team .pillar-list li:nth-child(3) {
  background: #eefbc8;
}

/* Stacked rows separated by rules, no boxes */
.pillar-list {
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
  display: block;
}

.pillar-list li {
  display: grid;
  grid-template-columns: minmax(10rem, 13.5rem) minmax(0, 1fr);
  gap: 0.2rem 1.25rem;
  align-items: baseline;
  padding: 0.6rem 0 0.7rem;
  border-top: 2px solid color-mix(in srgb, var(--ink) 16%, transparent);
}

.pillar-list li:last-child {
  border-bottom: 2px solid color-mix(in srgb, var(--ink) 16%, transparent);
}

.pillar-list h3 {
  margin: 0;
  font-size: clamp(1.02rem, 1.5vw, 1.15rem);
  line-height: 1.25;
}

.pillar-list p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.5;
}

.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  margin-top: 2rem;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--pink-text);
  line-height: 1;
  text-shadow: 0 0 18px rgba(255, 45, 149, 0.28);
}

.stat span {
  color: var(--ink-soft);
  font-family: var(--font-pixel);
  font-weight: 700;
  font-size: 1.1rem;
}

.involve-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem 2.5rem;
  margin-top: 2rem;
  align-items: stretch;
}

.involve-card {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.involve-grid h3 {
  margin: 0;
  line-height: 1.2;
}

.involve-card__title {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--pink-text);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  border-bottom: 3px solid var(--lime);
  padding-bottom: 0.12rem;
}

.involve-card__title .icon {
  color: var(--cyan);
  width: 1.05em;
  height: 1.05em;
}

.involve-card__title:hover {
  color: var(--violet);
  border-bottom-color: var(--pink-text);
}

.involve-card p {
  margin: 0;
  line-height: 1.75;
}

.sponsor-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem 2.25rem;
  margin-top: 1.5rem;
}

.section--sponsors {
  min-height: auto;
  padding: 4.5rem 0 3.5rem;
  overflow: hidden;
  background: var(--grad-soft);
}

.section--sponsors h2 {
  margin-bottom: 2rem;
}

.sponsor-ticker {
  margin-top: 0.5rem;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.sponsor-ticker__track {
  display: flex;
  width: max-content;
  animation: sponsor-ticker 42s linear infinite;
}

.sponsor-ticker:hover .sponsor-ticker__track,
.sponsor-ticker:focus-within .sponsor-ticker__track {
  animation-play-state: paused;
}

.sponsor-ticker__list {
  display: flex;
  align-items: center;
  gap: 4.5rem;
  list-style: none;
  margin: 0;
  padding: 1rem 2.25rem;
}

.sponsor-ticker__item {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  min-height: 7.5rem;
  padding: 0.75rem 1.1rem;
  background: rgba(255, 255, 255, 0.72);
  border: 2px solid var(--ink);
  border-radius: 1.1rem;
  box-shadow: 5px 5px 0 rgba(47, 224, 255, 0.35);
}

.sponsor-ticker__item img {
  width: auto;
  height: clamp(4.5rem, 8vw, 7rem);
  max-width: min(18rem, 42vw);
  object-fit: contain;
}

@keyframes sponsor-ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Events featured restaurants ticker */
.events-restaurants {
  padding-block: clamp(2rem, 4vw, 3rem);
}

.events-restaurants h2 {
  margin-bottom: 1.25rem;
  text-align: center;
}

.restaurant-ticker {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.restaurant-ticker__track {
  display: flex;
  width: max-content;
  animation: restaurant-ticker 38s linear infinite;
}

.restaurant-ticker:hover .restaurant-ticker__track,
.restaurant-ticker:focus-within .restaurant-ticker__track {
  animation-play-state: paused;
}

.restaurant-ticker__list {
  display: flex;
  align-items: stretch;
  gap: clamp(1.25rem, 3vw, 2rem);
  list-style: none;
  margin: 0;
  padding: 1rem 2.25rem;
}

.restaurant-ticker__item {
  flex: 0 0 auto;
  display: grid;
  grid-template-rows: 8.5rem auto;
  align-items: center;
  justify-items: center;
  width: 11.5rem;
  padding: 0.85rem 0.85rem 0.95rem;
  background: rgba(255, 255, 255, 0.92);
  border: 2px solid var(--ink);
  border-radius: 1.1rem;
  box-shadow: 5px 5px 0 rgba(47, 224, 255, 0.35);
}

.restaurant-ticker__logo {
  display: grid;
  place-items: center;
  width: 100%;
  height: 8.5rem;
  padding: 0.55rem;
  border-radius: 0.75rem;
  background: color-mix(in srgb, var(--foam) 72%, #d9d0e8);
  overflow: hidden;
}

.restaurant-ticker__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.restaurant-ticker__name {
  margin-top: 0.65rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  color: var(--ink);
  max-width: 100%;
}

@keyframes restaurant-ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Events */
.event-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.event-item {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.event-item:last-child {
  border-bottom: 1px solid var(--line);
}

.event-date {
  font-family: var(--font-pixel);
  text-align: center;
  color: var(--pink-text);
}

.event-date__month {
  display: block;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.event-date__day {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.event-item h3 {
  margin-bottom: 0.2rem;
  font-size: 1.25rem;
}

.event-meta {
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

/* Members */
/* Board members: editorial rows, photo left and bio right */
.member-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.member {
  display: grid;
  grid-template-columns: clamp(5.5rem, 8vw, 7rem) minmax(0, 1fr);
  gap: 0.5rem clamp(1.25rem, 3vw, 2.25rem);
  align-items: center;
  padding: 0.8rem 0;
  border-top: 2px solid color-mix(in srgb, var(--ink) 16%, transparent);
}

.member:last-child {
  border-bottom: 2px solid color-mix(in srgb, var(--ink) 16%, transparent);
}

.member__photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 3px solid var(--ink);
  border-radius: 50%;
}

.member__body {
  min-width: 0;
}

.member__name {
  margin: 0 0 0.1rem;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.15;
}

.member__bio {
  margin: 0.35rem 0 0;
  max-width: 44rem;
  line-height: 1.55;
}

.member__role {
  font-family: var(--font-pixel);
  font-size: 1.1rem;
  color: var(--pink-text);
  font-weight: 700;
  margin: 0;
  line-height: 1.35;
}

/* Forms */
.form {
  display: grid;
  gap: 1rem;
  max-width: 36rem;
}

.form label {
  display: grid;
  gap: 0.35rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
}

.form input,
.form select,
.form textarea {
  width: 100%;
  border: 2px solid var(--line);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink);
  padding: 0.75rem 0.85rem;
  font: inherit;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: var(--pink-text);
}

.form textarea {
  min-height: 7.5rem;
  resize: vertical;
}

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

@media (max-width: 560px) {
  .form__row {
    grid-template-columns: 1fr;
  }
}

.donate-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 2.5rem 3.5rem;
  align-items: center;
}

.donate-layout__media {
  max-width: 28rem;
  margin-inline: auto;
}

.form__optional {
  font-weight: 500;
  color: var(--ink-soft);
}

@media (max-width: 900px) {
  .donate-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .donate-layout__media {
    max-width: none;
  }
}

.form__hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

.flash {
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: 0.9rem;
}

.flash--success {
  background: rgba(184, 255, 60, 0.35);
  color: var(--ink);
}

.flash--error {
  background: #ffe0ef;
  color: #7a1048;
}


/* Anchor jumps land below the sticky header instead of under it */
.page-vegfest [id] {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.page-membership .icon--lime {
  color: var(--green-deep);
}

.page-membership .icon--yellow {
  color: #b88900;
}

.page-membership .icon--cyan {
  color: #0aa8c2;
}

.membership-layout {
  display: grid;
  gap: clamp(2.75rem, 5.5vh, 4.5rem);
  align-content: start;
}

.membership-mast,
.perks-mast,
.supporters-mast {
  display: grid;
  gap: 1.15rem;
  max-width: 44rem;
  margin: 0;
}

.supporters-mast {
  justify-items: center;
  text-align: center;
  max-width: 46rem;
  margin-inline: auto;
}

.supporters-mast .lede {
  margin-inline: auto;
}

.membership-intro,
.perks-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(14rem, 0.7fr);
  gap: 2.5rem 3.25rem;
  align-items: center;
}

.perks-intro {
  margin-bottom: 3.5rem;
}

.membership-intro .membership-mast,
.perks-intro .perks-mast {
  max-width: none;
}

.membership-mast .section__eyebrow,
.perks-mast .section__eyebrow,
.supporters-mast .section__eyebrow {
  margin-bottom: 0;
}

.membership-mast h2,
.perks-mast h2,
.supporters-mast h2,
.donate-layout__title {
  margin: 0;
  font-size: clamp(1.8rem, 4.6vw, 3.4rem);
  line-height: 1.08;
  color: var(--violet);
}

.membership-mast__heading,
.donate-layout__heading,
.perk-core__title {
  margin: 0;
  color: var(--pink-text);
}

.membership-mast .lede,
.perks-mast .lede,
.supporters-mast .lede {
  margin: 0;
  max-width: 40rem;
}

.membership-note,
.perk-core {
  margin: 0;
  padding: 1.25rem 1.35rem 1.4rem;
  border: 3px solid var(--ink);
  border-radius: 1.4rem;
  box-shadow: 10px 10px 0 rgba(255, 45, 149, 0.28);
  background: color-mix(in srgb, var(--surface) 88%, white);
}

.membership-note__title {
  margin: 0 0 0.55rem;
  color: var(--pink-text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.25;
}

.membership-note__text {
  margin: 0 0 1.1rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.membership-note__rates {
  margin-top: 0.25rem;
  padding-top: 0.95rem;
  border-top: 2px solid color-mix(in srgb, var(--ink) 14%, transparent);
}

.membership-note__rates-label {
  margin: 0 0 0.75rem;
  font-family: var(--font-pixel);
  font-size: 0.98rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.35;
  color: var(--violet);
}

.membership-cta {
  display: flex;
  justify-content: flex-start;
  padding-top: 0.35rem;
}

.tier-row {
  list-style: none;
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
}

.tier {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 0.75rem;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.3;
}

.tier__meta {
  color: var(--ink-soft);
}

.tier__price {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink-soft);
  letter-spacing: -0.02em;
}

.tier--highlight .tier__price {
  color: var(--violet);
}

.perk-core__title {
  margin: 0 0 1.15rem;
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
}

.perk-core__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.35rem;
}

.perk-core__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem 0.85rem;
  align-items: start;
}

.icon.perk-icon {
  width: 1.45rem;
  height: 1.45rem;
  margin-top: 0.15rem;
}

.perk-core__item-title {
  margin: 0 0 0.3rem;
  font-size: 1.02rem;
  color: var(--violet);
}

.perk-core__item p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

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

.partner-block {
  margin: 0;
}

.partner-block__title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.4rem;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  color: var(--ink);
  line-height: 1.25;
}

.icon.partner-block__leaf {
  width: 1.45rem;
  height: 1.45rem;
  margin: 0;
  flex-shrink: 0;
}

.partner-block--pink .partner-block__leaf { color: var(--pink-text); }
.partner-block--cyan .partner-block__leaf { color: #0aa8c2; }
.partner-block--violet .partner-block__leaf { color: var(--violet); }
.partner-block--green .partner-block__leaf { color: var(--green-deep); }

.partner-block ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}

.partner-block li {
  display: grid;
  gap: 0.35rem;
}

.partner-block__name {
  font-family: var(--font-display);
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}

.partner-block--pink .partner-block__name { color: var(--pink-text); }
.partner-block--cyan .partner-block__name { color: #067a8f; }
.partner-block--violet .partner-block__name { color: var(--violet); }
.partner-block--green .partner-block__name { color: var(--green-deep); }

.partner-block li span {
  color: var(--ink-soft);
  line-height: 1.55;
}

.partner-block .contact-link,
.page-membership a[href^="mailto:"],
.page-membership a[href^="tel:"] {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
  overflow-wrap: anywhere;
}

.partner-block .contact-link:hover,
.page-membership a[href^="mailto:"]:hover,
.page-membership a[href^="tel:"]:hover {
  color: var(--violet);
}

#supporters .sponsor-ticker {
  margin-top: 2.5rem;
}

.page-membership #donate .donate-layout {
  gap: 3.25rem 4rem;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
}

.page-membership #donate .donate-layout__copy .lede {
  padding-top: 0.85rem;
}

.page-membership #donate .donate-layout__cta {
  min-height: 3.6rem;
  padding: 0.95rem 2rem;
  font-size: 1.15rem;
}

.page-membership #donate .donate-layout__media {
  max-width: none;
  width: 100%;
}

.page-membership #donate .donate-layout__media img {
  width: 100%;
  height: min(48vh, 26rem);
  object-fit: cover;
}

@media (max-width: 900px) {
  .membership-layout {
    gap: 2.25rem;
  }

  .membership-mast,
  .perks-mast,
  .supporters-mast {
    max-width: none;
  }

  .membership-intro,
  .perks-intro {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .perks-intro {
    margin-bottom: 2.5rem;
  }

  .partner-board {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .page-membership #donate .donate-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .page-membership #donate .donate-layout__media img {
    height: 15rem;
  }

  .page-membership #donate .donate-layout__cta {
    min-height: 3.15rem;
    padding: 0.8rem 1.5rem;
    font-size: 1.05rem;
  }
}

/* Each VegFest feature is its own section, alternating image side */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 2rem 3.5rem;
  align-items: center;
}

.feature-section--flip .feature {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.feature-section--flip .feature__media { order: 2; }
.feature-section--flip .feature__copy { order: 1; }

/* Guitar photo: keep the lower half in view within the same frame */
#explore-2 .feature__media img {
  object-position: 50% 100%;
}

.feature__media img {
  width: 100%;
  height: min(50vh, 26rem);
  object-fit: cover;
  border: 3px solid var(--ink);
  border-radius: 1.3rem;
  box-shadow: 8px 8px 0 rgba(47, 224, 255, 0.35);
}

/* Schedule heading on the left, the full day's table on the right, so the whole schedule fits one screen */
.schedule-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 2rem clamp(2.5rem, 4vw, 4rem);
  align-items: start;
}

.schedule-mast {
  max-width: none;
  margin-bottom: 0;
}

.schedule-mast__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.15rem;
  margin: 0.85rem 0 1rem;
  font-family: var(--font-pixel);
  font-size: 1.15rem;
  color: var(--pink-text);
}

.schedule-table {
  width: 100%;
}

.schedule-table__head,
.schedule-table__row {
  display: grid;
  grid-template-columns: minmax(9rem, 0.85fr) minmax(0, 1.6fr) minmax(8rem, 0.9fr);
  gap: 1rem 1.5rem;
  align-items: baseline;
}

.schedule-table__head {
  padding: 0 0 0.75rem;
  border-bottom: 2px solid color-mix(in srgb, var(--ink) 18%, transparent);
  font-family: var(--font-pixel);
  font-size: 1.1rem;
  color: var(--ink-soft);
}

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

.schedule-table__row {
  padding: 0.5rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
}

.schedule-table__row {
  line-height: 1.3;
}

.schedule-table__row time {
  font-family: var(--font-pixel);
  font-size: 1.15rem;
  line-height: 1.2;
  font-weight: 700;
  color: var(--pink-text);
  white-space: nowrap;
}

.schedule-table__event {
  display: grid;
  gap: 0.2rem;
}

.schedule-table__event strong {
  font-size: 1.05rem;
  line-height: 1.25;
}

.schedule-table__event span {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.schedule-table__location {
  color: var(--ink-soft);
}

.schedule-info {
  margin-top: clamp(1rem, 2.5svh, 1.75rem);
}

.schedule-info__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-pixel);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--pink-text);
}

/* Seven short facts, four across then three, last one widened to close the row */
.schedule-info__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 clamp(1.25rem, 2.5vw, 2.5rem);
}

.schedule-info__list li {
  display: block;
  padding: 0.5rem 0 0.6rem;
  border-top: 2px solid color-mix(in srgb, var(--ink) 18%, transparent);
}

.schedule-info__list li:last-child:nth-child(4n + 3) {
  grid-column: span 2;
}

.schedule-info__label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.15rem;
}

.schedule-info__label strong {
  font-family: var(--font-pixel);
  font-size: 1rem;
  font-weight: 400;
  color: var(--ink);
}

.schedule-info__list span {
  display: block;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.35;
}

@media (max-width: 560px) {
  .schedule-info__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 1rem;
  }
}

.about-callout__title {
  margin-top: 1.5rem;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
}

/* Mission: lead text and photo on the left, compact open list on the right */
.about-mission {
  display: grid;
  gap: 2rem;
}

.about-mission__lead,
.about-mission__points {
  min-width: 0;
}

.about-mission__lead h2 {
  margin-bottom: 0.5rem;
}

.about-mission__lead .lede {
  margin-bottom: 0.6rem;
}

.about-mission__lead .media-frame {
  width: min(100%, clamp(10rem, 34svh, 18rem));
  min-height: 0;
  margin-top: 1.25rem;
}

/* Near-square crop so both hens stay fully in frame */
.about-mission__lead .media-frame--sticker img {
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 55% 50%;
}

.about-pillars {
  display: block;
}

.about-pillar {
  --tone: var(--pink);
  display: grid;
  grid-template-columns: minmax(9.5rem, 12.5rem) minmax(0, 1fr);
  gap: 0.2rem 1.25rem;
  align-items: start;
  margin: 0;
  padding: clamp(0.5rem, 1.5svh, 0.8rem) 0;
  border: 0;
  border-top: 2px solid var(--tone);
  border-radius: 0;
  box-shadow: none;
  background: none;
}

.about-pillar--cyan { --tone: #0aa8c2; }
.about-pillar--violet { --tone: var(--violet); }
.about-pillar--green { --tone: var(--green-deep); }

.about-pillar__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.2;
  color: var(--ink);
}

.about-pillar__icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  color: var(--tone);
}

.about-pillar__text {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.45;
}

.about-mission__points .btn-row {
  margin-top: 1.1rem;
}

@media (min-width: 961px) {
  .about-mission {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    column-gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
  }

  .about-mission__points {
    padding-top: clamp(1rem, 4svh, 2.5rem);
  }
}

.about-history {
  --history-bg: #f4f1f8;
  --history-cols: minmax(0, 0.95fr) minmax(0, 1.05fr);
  --history-gap: clamp(2rem, 5vw, 4.5rem);
  background: var(--history-bg);
}

.about-history__intro {
  margin-bottom: clamp(1.75rem, 4svh, 2.75rem);
}

.about-history__intro h2 {
  margin: 0 0 0.75rem;
  text-wrap: balance;
}

.about-history__intro .lede {
  margin-bottom: 0;
  max-width: 34rem;
}

.about-history__layout {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

.about-timeline-scroll {
  min-width: 0;
}

@media (min-width: 961px) {
  .about-history__intro {
    margin-bottom: clamp(1rem, 2.5svh, 1.5rem);
    display: grid;
    grid-template-columns: var(--history-cols);
    column-gap: var(--history-gap);
    align-items: end;
  }

  .about-history__intro .section__eyebrow {
    grid-column: 1 / -1;
  }

  .about-history__intro h2 {
    margin: 0;
    font-size: clamp(1.9rem, 3vw, 2.5rem);
  }

  .about-history__layout {
    grid-template-columns: var(--history-cols);
    column-gap: var(--history-gap);
  }
}

/* Shorter laptop screens: tighter history (placed after base rules below via specificity) */
@media (min-width: 961px) and (max-height: 820px) {
  #history .about-history__intro { margin-bottom: 0.7rem; }
  #history .about-history__intro .lede { font-size: 0.98rem; }
  #history .about-history__intro h2 { font-size: 1.85rem; }
  #history .about-timeline__title { font-size: 1.02rem; margin-bottom: 0.15rem; }
  #history .about-timeline__year { font-size: 1.02rem; }
  #history .about-timeline__text,
  #history .about-aside__text { font-size: 0.9rem; line-height: 1.4; }
  #history .about-timeline__item { padding-bottom: 0.5rem; }
  #history .about-growth { font-size: 1.5rem; margin-bottom: 0.6rem; }
  #history .about-aside { padding: 0.5rem 0.8rem 0.6rem; }
  #history .about-aside__title { font-size: 1rem; }
  #history .about-aside__quote p { font-size: 0.98rem; line-height: 1.4; }
  #history .about-history__asides { gap: 0.7rem 0.85rem; }
  #history .about-history__cta { margin-top: 0.6rem; }
  #history .about-history__layout { row-gap: 0.4rem; }
  #history.section--tight { padding-block: 1.25rem; }
}


.about-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-left: 3px solid color-mix(in srgb, var(--ink) 18%, transparent);
}

.about-timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 0.85rem 1.15rem;
  padding: 0 0 0.75rem 1.35rem;
}

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

.about-timeline__item::before {
  content: "";
  position: absolute;
  left: -0.45rem;
  top: 0.45rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: var(--pink);
  box-shadow: 0 0 0 4px var(--history-bg);
}

.about-timeline__item:nth-child(2)::before { background: var(--cyan); }
.about-timeline__item:nth-child(3)::before { background: var(--violet); }
.about-timeline__item:nth-child(4)::before { background: var(--lime); }

.about-timeline__year {
  margin: 0;
  font-family: var(--font-pixel);
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  line-height: 1.2;
  color: #c9106a;
  letter-spacing: 0.02em;
}

.about-timeline__item:nth-child(2) .about-timeline__year { color: #06788c; }
.about-timeline__item:nth-child(3) .about-timeline__year { color: #5a3fe0; }
.about-timeline__item:nth-child(4) .about-timeline__year { color: var(--green-deep); }

.about-timeline__title {
  margin: 0 0 0.4rem;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.2;
  color: var(--ink);
}

.about-timeline__text {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.45;
  font-size: 0.95rem;
  max-width: none;
}

/* Notes scroll naturally beside the pinned timeline: open type on the
   background, separated by a coloured rule instead of boxes. */
.about-history__asides {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem 1rem;
  align-content: start;
}

.about-history__asides .about-growth {
  grid-column: 1 / -1;
}

@media (max-width: 560px) {
  .about-history__asides {
    grid-template-columns: 1fr;
  }
}

.about-growth {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.01em;
  color: #c9106a;
  text-wrap: balance;
}

.about-history .about-aside {
  --tone: var(--pink);
  margin: 0;
  padding: 0.7rem 0.95rem 0.85rem;
  border: 3px solid var(--ink);
  border-radius: 1.2rem;
  box-shadow: 5px 5px 0 color-mix(in srgb, var(--tone) 45%, transparent);
  background: color-mix(in srgb, var(--surface) 88%, white);
}

.about-history .about-aside--cyan { --tone: #0aa8c2; }
.about-history .about-aside--violet { --tone: var(--violet); }
.about-history .about-aside--green { --tone: var(--green-deep); }

.about-aside__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.35rem;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.15;
  color: var(--ink);
}

.about-aside__icon {
  width: 1.2rem;
  height: 1.2rem;
  flex-shrink: 0;
  color: var(--tone);
}

.about-aside__text {
  margin: 0;
  max-width: none;
  color: var(--ink-soft);
  line-height: 1.45;
  font-size: 0.95rem;
}

.about-aside__quote {
  margin: 0;
}

.about-aside__quote p {
  margin: 0 0 0.5rem;
  max-width: none;
  color: var(--ink);
  font-style: italic;
  line-height: 1.4;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
}

.about-aside__quote cite {
  display: block;
  font-family: var(--font-pixel);
  font-style: normal;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.about-history__cta {
  margin-top: 1.75rem;
}

@media (max-width: 960px) {
  .about-pillar {
    grid-template-columns: 1fr;
  }

  .about-history__layout {
    grid-template-columns: 1fr;
  }

  .about-timeline__item {
    grid-template-columns: 4.5rem minmax(0, 1fr);
  }
}

.page-hero {
  min-height: 0;
  display: grid;
  align-content: end;
  padding: clamp(2.5rem, 7svh, 4.5rem) 0 2.25rem;
}

.page-gallery .page-hero,
.page-members .page-hero {
  min-height: 0;
  align-content: start;
  padding: clamp(2rem, 5svh, 3rem) 0 1.25rem;
}

.page-hero--image {
  position: relative;
  min-height: min(68svh, 40rem);
  color: #fff;
  overflow: hidden;
  clip-path: inset(0);
}

.page-hero--image .page-hero__bg {
  position: absolute;
  inset: 0;
}

.page-hero--image .page-hero__bg img {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.page-hero--image .page-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 16, 48, 0.2), rgba(255, 45, 149, 0.55) 55%, rgba(26, 16, 48, 0.82));
}

.page-hero--image .wrap {
  position: relative;
  z-index: 1;
}

.page-hero--image h1,
.page-hero--image p {
  color: #fff;
}

.page-hero--image .section__eyebrow {
  color: var(--yellow);
}

.page-hero--image .stat strong {
  color: #fff;
  text-shadow: 0 0 18px rgba(255, 225, 74, 0.45);
}

.page-hero--image .stat span {
  color: rgba(255, 255, 255, 0.92);
}

/* Intro photo: slightly taller frame, showing the top part of the image */
@media (min-width: 961px) {
  #about-vegfest .media-frame img {
    height: min(36svh, 18.5rem);
    object-fit: cover;
    object-position: 50% 0%;
  }
}

.vegfest-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.35rem;
}

.vegfest-tag {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.85rem;
  border: 2px solid currentColor;
  border-radius: 999px;
  font-family: var(--font-pixel);
  font-size: 1rem;
}

.vegfest-tags--ink .vegfest-tag {
  color: var(--ink);
  border-color: var(--ink);
}

.vendor-mast {
  display: grid;
  grid-template-columns: minmax(12rem, 0.9fr) minmax(0, 1.35fr);
  gap: 2rem 3.5rem;
  align-items: end;
  padding-bottom: 2.25rem;
  border-bottom: 2px solid color-mix(in srgb, var(--ink) 16%, transparent);
}

.vendor-mast__title h2 {
  margin: 0.35rem 0 0;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  line-height: 0.95;
  max-width: 9ch;
}

.vendor-mast__copy h3 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.vendor-mast__copy .lede {
  margin-bottom: 1.25rem;
}

.vendor-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem 3rem;
  margin-top: 2.75rem;
  align-items: start;
}

.vendor-category h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.1;
}

.vendor-category__desc {
  margin-top: 0.75rem;
  color: var(--ink-soft);
}

.vendor-names {
  margin: 1.25rem 0 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
}

.vendor-names a {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.vendor-names__sep {
  color: var(--pink-text);
  font-weight: 700;
}

.vendor-board__empty {
  margin-top: 1.75rem;
  max-width: 36rem;
}

.vegfest-vendor-cta {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(12rem, 0.75fr);
  gap: 2rem 3.5rem;
  align-items: start;
  margin-top: 3rem;
  padding-top: 2.25rem;
  border-top: 2px solid color-mix(in srgb, var(--ink) 14%, transparent);
}

.vegfest-vendor-cta__copy h3 {
  margin-top: 0;
}

.vendor-cta-perks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.vendor-cta-perks li {
  position: relative;
  padding-left: 1.15rem;
  font-family: var(--font-pixel);
  font-size: 1.1rem;
  line-height: 1.35;
}

.vendor-cta-perks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--pink);
}

@media (max-width: 900px) {
  .vendor-mast {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    align-items: start;
  }

  .vendor-mast__title h2 {
    max-width: none;
  }

  .vendor-board {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .vegfest-vendor-cta {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.empty-note {
  font-style: italic;
  color: var(--ink-soft);
}

.gallery-note {
  max-width: 36rem;
  margin: 0 0 1.75rem;
  font-size: 1.05rem;
}

.gallery-event + .gallery-event {
  margin-top: clamp(2.25rem, 5vh, 3.5rem);
}

.gallery-event h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.6vw, 2.15rem);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem 1.15rem;
  margin-top: 1.15rem;
}

.gallery-grid figure {
  margin: 0;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 2px solid var(--ink);
  border-radius: 1rem;
  box-shadow: 5px 5px 0 rgba(255, 45, 149, 0.22);
}

.gallery-grid figcaption {
  margin-top: 0.45rem;
  font-family: var(--font-pixel);
  font-size: 1rem;
  color: var(--pink-text);
}

/* Footer */
.site-footer {
  margin-top: 2rem;
  padding: 3rem 0 1.5rem;
  background:
    linear-gradient(160deg, rgba(72, 38, 18, 0.28), rgba(18, 48, 78, 0.34)),
    linear-gradient(135deg, #f0a878 0%, #f2b892 28%, #8ec4e8 68%, #6aaed9 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  text-shadow: 0 1px 1px rgba(30, 40, 60, 0.28);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 5px;
  background: var(--grad-band);
  background-size: 200% 100%;
}

.site-footer a {
  color: #fff;
}

.site-footer__inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 2rem;
}

.site-footer__brand img {
  margin-bottom: 0.85rem;
  filter: brightness(1.2) drop-shadow(0 0 12px rgba(255, 45, 149, 0.45));
}

.site-footer__brand p {
  color: rgba(255, 255, 255, 0.94);
  max-width: 28rem;
}

.site-footer__social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.85rem;
}

.site-footer__social-link {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 2px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
  transition: background var(--ease), color var(--ease), border-color var(--ease), transform var(--ease);
}

.site-footer__social-link:hover {
  background: var(--grad-hero);
  border-color: #fff;
  color: var(--ink);
  transform: translateY(-1px);
}

.site-footer__social-link .icon--social {
  width: 1.25rem;
  height: 1.25rem;
}

.site-footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.site-footer__heading {
  color: #fff;
  font-size: clamp(1.4rem, 2vw, 1.7rem);
  margin-bottom: 0.9rem;
  font-family: var(--font-pixel);
  letter-spacing: 0.03em;
}

.site-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.site-footer__links a {
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
}

.site-footer__links a:hover {
  text-decoration: underline;
  color: #fff7e8;
}

.site-footer__copy {
  width: min(100% - 2rem, var(--max));
  margin: 2rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
}

@media (prefers-reduced-motion: no-preference) {
  .hero__content,
  .page-hero .wrap {
    animation: rise 420ms ease both;
  }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(0.6rem); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .sponsor-ticker,
  .restaurant-ticker {
    mask-image: none;
    -webkit-mask-image: none;
    overflow: visible;
  }

  .sponsor-ticker__track,
  .restaurant-ticker__track {
    display: block;
    width: min(100% - 2rem, var(--max));
    margin-inline: auto;
    animation: none;
  }

  .sponsor-ticker__list,
  .restaurant-ticker__list {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    padding: 1rem 0;
  }

  .sponsor-ticker__list[aria-hidden="true"],
  .restaurant-ticker__list[aria-hidden="true"] {
    display: none;
  }

  .hero__media img,
  .page-hero--image .page-hero__bg img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
}

/* Photo sticker accents and icon color utilities */
.media-frame--sticker {
  border: 3px solid #fff;
  box-shadow: 0 12px 30px rgba(26, 16, 48, 0.14), 0 0 0 2px rgba(255, 45, 149, 0.18);
  transform: rotate(-1.2deg);
}

.media-frame--sticker:nth-child(even) {
  transform: rotate(1.4deg);
}

.media-frame--sticker img {
  width: 100%;
  height: min(28vh, 14rem);
  object-fit: cover;
}

.icon--inline {
  width: 1.05em;
  height: 1.05em;
  margin-right: 0.2rem;
}

.icon--pink { color: var(--pink-text); }
.icon--yellow { color: var(--yellow); }
.icon--cyan { color: var(--cyan); }
.icon--lime { color: var(--lime); }

@media (max-width: 1100px) {
  .brand__logo {
    width: clamp(6.5rem, 14vw, 9rem);
  }

  .site-nav__link {
    padding: 0.55rem 0.55rem;
    font-size: 1rem;
  }
}

@media (max-width: 960px) {
  .split,
  .feature,
  .feature:nth-child(even),
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .feature:nth-child(even) .feature__media,
  .feature:nth-child(even) .feature__copy,
  .split--reverse > :first-child,
  .split--reverse > :last-child {
    order: initial;
  }

  .involve-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .site-footer__cols {
    grid-template-columns: 1fr 1fr;
  }

  .member-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 2rem;
    row-gap: 2.5rem;
  }

  .member,
  .member:nth-child(4),
  .member:nth-child(5) {
    grid-column: auto;
  }

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

  .photo-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .media-collage {
    min-height: auto;
  }
}

@media (max-width: 780px) {
  :root { --header-h: 5rem; }

  body {
    font-size: 1rem;
  }

  .wrap,
  .wrap--narrow {
    width: min(100% - 2rem, var(--max));
  }

  .section {
    min-height: auto;
    padding: 3.25rem 0;
  }

  .section--tight {
    padding: 2.5rem 0;
  }

  .section--sponsors {
    padding: 3rem 0 2.5rem;
  }

  .section--sponsors h2 {
    margin-bottom: 1.25rem;
  }

  /* Header and mobile navigation drawer */
  .brand__logo {
    width: 6.75rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #fff7fb;
    border-bottom: 2px solid var(--ink);
    box-shadow: 0 14px 30px rgba(26, 16, 48, 0.16);
    padding: 0.75rem 1.25rem calc(1.25rem + env(safe-area-inset-bottom));
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

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

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.1rem;
  }

  .site-nav__item + .site-nav__item {
    border-top: 1px solid var(--line);
  }

  .site-nav__link {
    display: flex;
    align-items: center;
    min-height: 2.85rem;
    padding: 0.55rem 0.25rem;
    font-size: 1.1rem;
  }

  .site-nav__sub {
    position: static;
    display: block;
    min-width: 0;
    border: 0;
    border-left: 2px solid rgba(255, 45, 149, 0.32);
    box-shadow: none;
    background: transparent;
    margin: 0 0 0.5rem 0.5rem;
    padding: 0 0 0 0.75rem;
    border-radius: 0;
  }

  .site-nav__sub a {
    display: flex;
    align-items: center;
    min-height: 2.65rem;
    padding: 0.4rem 0.25rem;
    font-size: 1rem;
  }

  .site-nav__cta {
    width: 100%;
    margin-top: 0.5rem;
    min-height: 3rem;
  }

  /* Heroes */
  .hero {
    min-height: auto;
  }

  .hero__media img,
  .page-hero--image .page-hero__bg img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .hero__content {
    padding: 2.25rem 0 2.5rem;
  }

  .hero__eyebrow {
    font-size: 0.85rem;
    margin-bottom: 0.65rem;
  }

  .hero h1 {
    font-size: clamp(2rem, 8.6vw, 2.75rem);
    max-width: 14ch;
    line-height: 1.05;
  }

  .hero p {
    font-size: 1.05rem;
    line-height: 1.55;
  }

  .hero__deco .icon--star {
    top: 10%;
    right: 6%;
    width: 2rem;
    height: 2rem;
    opacity: 0.85;
  }

  .hero__deco .icon--smiley {
    top: 8%;
    left: auto;
    right: 22%;
    width: 2rem;
    height: 2rem;
    opacity: 0.78;
  }

  .hero__deco .icon--spark {
    bottom: 8%;
    right: 7%;
    width: 1.65rem;
    height: 1.65rem;
    opacity: 0.8;
  }

  .page-hero {
    min-height: auto;
    padding: 2.25rem 0 1.75rem;
  }

  .page-hero--image {
    min-height: min(56svh, 28rem);
    padding: 3.25rem 0 2.25rem;
  }

  .page-gallery .page-hero,
  .page-members .page-hero {
    padding: 2rem 0 1rem;
  }

  .btn-row {
    gap: 0.65rem;
    margin-top: 1.25rem;
  }

  /* Media layouts on mobile */
  .media-frame {
    min-height: auto;
  }

  .media-frame::after {
    inset: auto -0.45rem -0.45rem auto;
    width: 34%;
    height: 34%;
  }

  .media-frame img,
  .feature__media img,
  .involve-intro .media-frame img {
    height: 14rem;
    box-shadow: 6px 6px 0 rgba(255, 45, 149, 0.25);
  }

  .media-frame--sticker {
    transform: rotate(-0.6deg);
  }

  .media-frame--sticker:nth-child(even) {
    transform: rotate(0.7deg);
  }

  .media-frame--offset {
    width: 100%;
    margin-left: 0;
  }

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

  .media-stack .media-frame img,
  .media-stack .media-frame--sticker img {
    height: 10.5rem;
  }

  .media-stack > .media-frame:first-child:nth-last-child(3) {
    grid-column: 1 / -1;
  }

  .media-stack > .media-frame:first-child:nth-last-child(3) img {
    height: 13rem;
  }

  .media-collage__main {
    height: 14.5rem;
    box-shadow: 6px 6px 0 rgba(47, 224, 255, 0.35);
  }

  .media-collage .icon--float {
    top: 0.5rem;
    left: 0.5rem;
    width: 2rem;
    height: 2rem;
  }

  .media-collage .icon--float-2 {
    top: 0.75rem;
    right: 0.75rem;
    width: 1.8rem;
    height: 1.8rem;
  }

  .photo-pair,
  .photo-pair--tall {
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    margin-bottom: 1rem;
  }

  .photo-pair img,
  .photo-pair img:first-child {
    height: 10rem;
    box-shadow: 4px 4px 0 rgba(184, 255, 60, 0.35);
  }

  .photo-pair--tall img,
  .photo-pair--tall img:first-child {
    height: 10.5rem;
  }

  .photo-pair img:first-child {
    transform: rotate(-1deg);
  }

  .photo-pair img:last-child {
    transform: rotate(1deg);
  }

  .photo-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
    margin-top: 2rem;
  }

  .photo-strip img:nth-child(odd) {
    transform: translateY(0.2rem) rotate(-1deg);
  }

  .photo-strip img:nth-child(even) {
    transform: translateY(-0.15rem) rotate(1deg);
  }

  /* Home sections */
  #about .pillar-list {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  #about .pillar-list li {
    padding: 1.1rem 1.15rem 1.2rem;
    box-shadow: 6px 6px 0 rgba(255, 45, 149, 0.24);
  }

  #team .pillar-list li {
    padding: 1rem 1.05rem 1.1rem;
  }

  .team-preview {
    gap: 0.5rem;
  }

  .team-preview img {
    width: 3.25rem;
    height: 3.25rem;
  }

  .involve-intro {
    margin-bottom: 2rem;
  }

  .involve-grid {
    margin-top: 1.75rem;
    gap: 1.75rem;
  }

  .involve-card {
    gap: 0.65rem;
  }

  .involve-card__title {
    min-height: 2.5rem;
    padding-block: 0.2rem;
  }

  #involve .stat-row {
    margin-top: 2rem;
  }

  .stat-row {
    gap: 1.15rem 1.75rem;
    margin-top: 1.5rem;
  }

  /* Tickers */
  .sponsor-ticker__list {
    gap: 1.5rem;
    padding: 0.75rem 1rem;
  }

  .sponsor-ticker__item {
    min-height: 5.25rem;
    padding: 0.55rem 0.9rem;
    box-shadow: 4px 4px 0 rgba(47, 224, 255, 0.35);
  }

  .sponsor-ticker__item img {
    height: 3.5rem;
    max-width: 10.5rem;
  }

  .restaurant-ticker__list {
    gap: 1rem;
    padding: 0.75rem 1rem;
  }

  .restaurant-ticker__item {
    width: 9.5rem;
    grid-template-rows: 6.5rem auto;
    padding: 0.65rem 0.65rem 0.75rem;
    box-shadow: 4px 4px 0 rgba(47, 224, 255, 0.35);
  }

  .restaurant-ticker__logo {
    height: 6.5rem;
    padding: 0.4rem;
  }

  .restaurant-ticker__name {
    font-size: 0.88rem;
  }

  /* Events */
  .event-item {
    grid-template-columns: 3.5rem minmax(0, 1fr);
    gap: 0.85rem;
  }

  .event-date__day {
    font-size: 1.65rem;
  }

  /* Board members */
  .member-grid {
    grid-template-columns: 1fr;
    max-width: 24rem;
    margin-inline: auto;
    row-gap: 2.5rem;
    margin-top: 1.5rem;
  }

  .member__name {
    display: grid;
    grid-template-rows: auto;
    min-height: auto;
    font-size: 1.35rem;
  }

  .member__name-line {
    min-height: auto;
  }

  .member__role {
    min-height: auto;
    margin-bottom: 0.5rem;
  }

  /* About */
  .about-aside {
    padding-top: 1.1rem;
  }

  /* VegFest */
  .feature-stack {
    gap: 2.25rem;
    margin-top: 1.5rem;
  }

  .feature__media img {
    box-shadow: 6px 6px 0 rgba(47, 224, 255, 0.35);
  }

  .schedule-table__head {
    display: none;
  }

  .schedule-table__head,
  .schedule-table__row {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }

  .schedule-table__row {
    padding: 0.9rem 0;
  }

  .schedule-table__location {
    font-size: 0.92rem;
  }

  /* Contact & Forms */
  .form {
    max-width: none;
  }

  .form input,
  .form select,
  .form textarea {
    font-size: max(1rem, 16px);
  }

  .page-contact .lede a {
    overflow-wrap: anywhere;
  }

  /* Footer */
  .site-footer {
    margin-top: 1rem;
    padding: 2.5rem 0 calc(1.5rem + env(safe-area-inset-bottom));
  }

  .site-footer__inner {
    gap: 1.75rem;
  }

  .site-footer__links {
    gap: 0.1rem;
  }

  .site-footer__links a,
  .site-footer__email a {
    display: inline-flex;
    align-items: center;
    min-height: 2.5rem;
    padding-block: 0.2rem;
    overflow-wrap: anywhere;
  }

  .site-footer__copy {
    margin-top: 1.5rem;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: clamp(1.85rem, 8.2vw, 2.35rem);
  }

  .hero h1 {
    font-size: clamp(1.9rem, 8.5vw, 2.4rem);
  }

  .about-timeline__item {
    grid-template-columns: 1fr;
    gap: 0.25rem;
    padding: 0.85rem 0 1.35rem 1.15rem;
  }

  .btn-row .btn,
  .form button[type="submit"] {
    width: 100%;
  }

  .site-footer__cols {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

/* ---- Fit pass: tablet and phone ----
   Keeps each section close to one screen height at smaller sizes. */
@media (min-width: 701px) and (max-width: 900px) {
  .partner-board,
  .vendor-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 561px) and (max-width: 960px) {
  .media-stack {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .media-stack .media-frame--offset {
    width: 100%;
    margin-left: 0;
  }

  .media-stack .media-frame img {
    height: 10.5rem;
  }

  .about-mission__lead .media-frame {
    width: min(100%, 15rem);
  }
}

@media (max-width: 780px) {
  .section,
  .section--tight {
    padding-block: 2.25rem;
  }

  .media-frame img,
  .feature__media img,
  .involve-intro .media-frame img {
    height: 11rem;
  }

  .media-stack .media-frame img,
  .media-stack .media-frame--sticker img {
    height: 8.5rem;
  }

  .media-collage__main {
    height: 11rem;
  }

  .photo-pair img,
  .photo-pair img:first-child {
    height: 8.5rem;
  }

  .photo-pair--tall img,
  .photo-pair--tall img:first-child {
    height: 9.5rem;
  }

  .about-mission__lead .media-frame {
    width: min(100%, 13rem);
  }

  .site-footer {
    padding-block: 2rem 1.25rem;
  }

  .site-footer__brand img {
    margin-bottom: 0.5rem;
  }

  .site-footer__links a,
  .site-footer__email a {
    min-height: 2.25rem;
  }
}

@media (max-width: 780px) {
  .site-footer__cols {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem 1rem;
  }

  .site-footer__cols > div:last-child {
    grid-column: 1 / -1;
  }

  .pillar-list li {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }

  #about .pillar-list {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 561px) and (max-width: 960px) {
  .about-mission__lead .media-frame {
    width: min(100%, 11rem);
  }

  .schedule-table__row {
    padding: 0.3rem 0;
  }
}

/* Shorter laptop screens: tighten spacing so sections still fit one screen */
@media (min-width: 961px) and (max-height: 820px) {
  .section,
  .section--tight {
    padding-block: 2rem;
  }

  #about h2 {
    font-size: 2.2rem;
  }

  #about p,
  #team p,
  #involve p {
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .media-stack .media-frame img {
    height: min(20vh, 9.5rem);
  }

  .pillar-list li {
    padding: 0.4rem 0 0.5rem;
  }

  #about .btn-row,
  #team .btn-row,
  #involve .btn-row {
    margin-top: 1.1rem;
  }

  .member {
    padding: 0.5rem 0;
  }

  .partner-block__title {
    margin-bottom: 0.9rem;
  }

  .partner-block ul {
    gap: 0.85rem;
  }

  .partner-board {
    gap: 1.5rem 3.5rem;
  }

  .donate-layout .lede {
    font-size: 1.02rem;
    line-height: 1.6;
  }

  .sponsor-ticker__item {
    min-height: 5.5rem;
  }

  .sponsor-ticker__item img {
    height: 4.25rem;
  }

  .vendor-board {
    margin-top: 1.5rem;
  }

  .vegfest-vendor-cta {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
  }

  .schedule-table__row {
    padding: 0.2rem 0;
  }

  .partner-block li {
    gap: 0.1rem;
  }

  .partner-block li span {
    line-height: 1.4;
  }

  .partner-block__title {
    font-size: 1.2rem;
  }

  .partner-block ul {
    gap: 0.7rem;
  }

  #supporters .sponsor-ticker {
    margin-top: 1.25rem;
  }

  .supporters-mast .lede {
    font-size: 1.02rem;
  }

  .vendor-mast {
    padding-bottom: 1.5rem;
  }

  .vendor-board {
    gap: 1.25rem 2.5rem;
  }
}





/* VegFest schedule masthead: title owns the left, date and place sit beside it, note and download share the next line */
.dayplan__head {
  display: grid;
  grid-template-areas:
    "eyebrow"
    "title"
    "meta"
    "lede";
  justify-items: start;
  gap: 0.45rem 1.5rem;
  margin-bottom: clamp(1.25rem, 3svh, 2rem);
}

.dayplan__head .section__eyebrow {
  grid-area: eyebrow;
  margin-bottom: 0;
}

.dayplan__head h2 {
  grid-area: title;
  margin: 0;
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  line-height: 0.9;
}

.dayplan__meta {
  grid-area: meta;
  display: grid;
  gap: 0.15rem;
  margin: 0;
  font-family: var(--font-pixel);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.2;
  color: var(--pink-text);
}

.dayplan__lede {
  grid-area: lede;
  margin: 0.35rem 0 0;
  max-width: 40rem;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.45;
}

.dayplan__download {
  margin-top: 0.35rem;
  margin-bottom: clamp(1.25rem, 3svh, 2rem);
}

.dayplan__parts {
  display: grid;
  gap: 1.75rem;
}

.dayplan__part {
  border-top: 4px solid var(--ink);
  padding-top: 0.5rem;
}

.dayplan__partname {
  margin: 0 0 0.5rem;
  font-family: var(--font-pixel);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--ink);
}

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

.dayplan__slot {
  display: grid;
  grid-template-columns: 6.6rem minmax(0, 1fr);
  column-gap: 0.75rem;
  padding: 0.38rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);
  line-height: 1.3;
}

.dayplan__time {
  grid-row: span 2;
  font-family: var(--font-pixel);
  font-size: 1rem;
  font-weight: 700;
  color: var(--pink-text);
}

.dayplan__event {
  font-size: 1rem;
}

.dayplan__where {
  grid-column: 2;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

@media (min-width: 961px) {
  .dayplan__slot {
    padding: 0.3rem 0;
  }

  .dayplan .schedule-info {
    margin-top: 1rem;
  }

  .dayplan__parts {
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    gap: clamp(1.5rem, 3vw, 3rem);
  }

  /* the part with the heaviest load sits first-to-last; stagger heads for rhythm */
  .dayplan__part:nth-child(2) {
    border-top-color: var(--pink-text);
  }

  .dayplan__part:nth-child(3) {
    border-top-color: #06788c;
  }
}

@media (min-width: 561px) and (max-width: 960px) {
  .dayplan__parts {
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    gap: 1.25rem;
  }

  .dayplan__slot {
    grid-template-columns: 1fr;
    padding: 0.3rem 0;
  }

  .dayplan__time {
    grid-row: auto;
    font-size: 0.9rem;
  }

  .dayplan__event {
    font-size: 0.95rem;
  }

  .dayplan__where {
    grid-column: 1;
    font-size: 0.82rem;
  }
}

@media (min-width: 961px) and (max-height: 960px) {
  .dayplan.section--tight { padding-block: 1.1rem; }
  .dayplan__partname { font-size: 1.15rem; margin-bottom: 0.2rem; }
  .dayplan__slot { padding: 0.22rem 0; }
  .dayplan__event { font-size: 0.92rem; }
  .dayplan__where { font-size: 0.82rem; }
  .dayplan .schedule-info { margin-top: 0.7rem; }
  .dayplan .schedule-info__list li { padding: 0.25rem 0 0.3rem; }
}

/* Breathing room: tablet keeps generous sides but slightly less vertical padding to hold one screen */
@media (min-width: 561px) and (max-width: 960px) {
  .section,
  .section--tight {
    padding-block: clamp(2.5rem, 5svh, 3.5rem);
  }
}

/* History carries the most copy of any section, so it gets a little less vertical padding */
@media (min-width: 961px) {
  #history.section--tight {
    padding-block: clamp(2.25rem, 5svh, 3.5rem);
  }
}

/* Breathing room pass: on screens tall enough, sections fill the viewport and their content spreads out */
@media (min-width: 961px) and (min-height: 821px) {
  .section--tight {
    min-height: calc(100svh - var(--header-h));
    align-content: center;
  }

  :where(.section) h2,
  :where(.section) h3 {
    margin-bottom: clamp(0.9rem, 2svh, 1.5rem);
  }

  .section__eyebrow {
    margin-bottom: clamp(0.6rem, 1.4svh, 1rem);
  }

  :where(.section) p {
    line-height: 1.65;
    margin-bottom: clamp(1rem, 2svh, 1.4rem);
  }

  :where(.section) p:last-child {
    margin-bottom: 0;
  }

  .btn-row {
    margin-top: clamp(1.75rem, 4svh, 2.75rem);
    gap: 1rem;
  }

  .pillar-list {
    margin-top: clamp(1.5rem, 3svh, 2.25rem);
  }

  .pillar-list li {
    padding: clamp(0.8rem, 1.6svh, 1.1rem) 0 clamp(0.9rem, 1.8svh, 1.2rem);
    gap: 0.35rem 2rem;
  }

  .stat-row {
    margin-top: clamp(2rem, 5svh, 3.25rem);
    gap: 1.75rem 3.5rem;
  }

  .feature {
    gap: 2.5rem clamp(3.5rem, 6vw, 6rem);
  }
}

/* Home About carries the most copy on the page, so it gets a little less vertical padding */
@media (min-width: 961px) and (min-height: 821px) {
  #about.section,
  #team.section {
    padding-block: clamp(2rem, 4.5svh, 3.25rem);
  }
}

/* Desktop: intro stays in the first two columns, download sits on the Afternoon column */
@media (min-width: 961px) {
  .dayplan__layout[data-parts="3"] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: clamp(1.5rem, 3vw, 3rem);
    align-items: end;
  }

  .dayplan__layout[data-parts="3"] .dayplan__head {
    grid-column: 1 / 3;
    grid-row: 1;
    margin-bottom: 1rem;
  }

  .dayplan__layout[data-parts="3"] .dayplan__lede {
    max-width: none;
  }

  .dayplan__layout[data-parts="3"] .dayplan__download {
    grid-column: 3;
    grid-row: 1;
    align-self: end;
    justify-self: stretch;
    width: auto;
    margin: 0 0 1rem;
    padding-inline: 0.85rem;
    font-size: 0.95rem;
    text-align: center;
    white-space: nowrap;
  }

  .dayplan__layout[data-parts="3"] .dayplan__parts,
  .dayplan__layout[data-parts="3"] .schedule-info {
    grid-column: 1 / -1;
  }

  .dayplan__head h2 {
    font-size: clamp(2.7rem, 4.2vw, 3.8rem);
  }
}

@media (min-width: 961px) and (max-height: 820px) {
  .dayplan__head { margin-bottom: 0.7rem; row-gap: 0.2rem; }
  .dayplan__layout[data-parts="3"] .dayplan__head,
  .dayplan__layout[data-parts="3"] .dayplan__download { margin-bottom: 0.7rem; }
  .dayplan__head h2 { font-size: 2.5rem; }
  .dayplan__meta { font-size: 1.05rem; }
  .dayplan__lede { font-size: 1rem; line-height: 1.4; margin-top: 0.35rem; }
}

/* Sponsors: a slim band, not a full screen */
.section--sponsors,
.section--sponsors.section--tight {
  min-height: auto;
  padding-block: clamp(1.75rem, 4svh, 2.75rem);
}

.section--sponsors h2 {
  margin-bottom: 0.75rem;
}

.section--sponsors .section__eyebrow {
  margin-bottom: 0.35rem;
}

.section--sponsors .sponsor-ticker {
  margin-top: 0;
}

.section--sponsors .sponsor-ticker__list {
  padding-block: 0.5rem;
}

.section--sponsors .sponsor-ticker__item {
  min-height: 5rem;
  padding: 0.5rem 1rem;
}

.section--sponsors .sponsor-ticker__item img {
  height: clamp(3.25rem, 5vw, 4.5rem);
}

@media (min-width: 961px) and (min-height: 821px) {
  .dayplan__slot { padding: 0.32rem 0; }
  .dayplan__partname { margin-bottom: 0.4rem; }
}

/* Resources page */
.page-resources .icon--lime { color: var(--green-deep); }
.page-resources .icon--yellow { color: #b88900; }
.page-resources .icon--cyan { color: #0aa8c2; }

.resources-split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 2rem clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}

.resources-split--perks {
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
}

/*
 * Restaurant directory: name, then address, sitting on the page background.
 * resources/index.php sets data-columns from the JSON list: 1 while it is
 * short, 2 at 8 places, 3 at 14, 4 at 20. The rules below open those columns
 * only when the screen can hold an address in each one.
 */
.place-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.35rem;
}

.place-list > li {
  container-type: inline-size;
}

.place-list__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.place-list__name a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.16em;
  text-decoration-thickness: 0.06em;
}

.place-list__name a:hover {
  color: var(--violet);
}

.place-list__note,
.place-list__where {
  margin: 0.2rem 0 0;
  color: var(--ink-soft);
  line-height: 1.4;
}

.place-list__note {
  font-family: var(--font-pixel);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--pink-text);
}

.place-list__spots {
  list-style: none;
  margin: 0.45rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.place-list__spots li {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 0.35rem 0.85rem;
  align-items: baseline;
  color: var(--ink-soft);
  line-height: 1.4;
}

.place-list__spot {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
}

/* Once a column is too narrow for a label beside a street, stack them */
@container (max-width: 28rem) {
  .place-list__spots li {
    grid-template-columns: 1fr;
    gap: 0.1rem;
  }
}

/* Two columns once the JSON list is long enough, on screens that can hold them.
   Three and four stay at two here, then step up at wider breakpoints. */
@media (min-width: 720px) {
  .place-list[data-columns="2"],
  .place-list[data-columns="3"],
  .place-list[data-columns="4"] {
    display: block;
    column-count: 2;
    column-gap: clamp(1.75rem, 3vw, 2.75rem);
    column-fill: balance;
  }

  .place-list[data-columns="2"] > li,
  .place-list[data-columns="3"] > li,
  .place-list[data-columns="4"] > li {
    break-inside: avoid;
    display: inline-block;
    width: 100%;
    margin: 0 0 1.35rem;
    vertical-align: top;
  }
}

/* Below a wide row, a multi-column directory sits under the intro instead of squeezing into the side column. */
@media (min-width: 961px) and (max-width: 1099px) {
  .resources-split:has(.place-list[data-columns="2"]),
  .resources-split:has(.place-list[data-columns="3"]),
  .resources-split:has(.place-list[data-columns="4"]) {
    grid-template-columns: 1fr;
  }
}

/* Three columns take the full row, with the intro above, so addresses still fit. */
@media (min-width: 1100px) {
  .place-list[data-columns="3"],
  .place-list[data-columns="4"] {
    column-count: 3;
  }

  .resources-split:has(.place-list[data-columns="3"]),
  .resources-split:has(.place-list[data-columns="4"]) {
    grid-template-columns: 1fr;
    gap: clamp(1.25rem, 3svh, 2rem) 0;
  }

  .resources-split:has(.place-list[data-columns="3"]) .resources-split__intro,
  .resources-split:has(.place-list[data-columns="4"]) .resources-split__intro {
    max-width: 40rem;
  }
}

@media (min-width: 1400px) {
  .place-list[data-columns="4"] {
    column-count: 4;
  }
}

@media (max-width: 960px) {
  .resources-split,
  .resources-split--perks {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .resources-split .partner-board {
    grid-template-columns: 1fr;
  }

  .place-list__spots li {
    grid-template-columns: 1fr;
    gap: 0.1rem;
  }
}

/* VegFest placeholder: hero plus the slim sponsor band fill one screen below the header */
.page-hero--placeholder,
.page-hero--image.page-hero--placeholder {
  min-height: max(24rem, calc(100svh - var(--header-h) - 14rem));
  align-content: center;
}

.page-hero--placeholder h1 {
  max-width: 14ch;
  font-size: clamp(2.75rem, 8vw, 6rem);
  line-height: 1;
}

.page-hero--placeholder .lede {
  max-width: 34rem;
}

.placeholder-follow {
  margin: 1.1rem 0 0;
  font-family: var(--font-pixel);
  font-size: 1.15rem;
}

.page-hero--placeholder .btn-row {
  margin-top: 0.85rem;
}

/* VegFest highlights: Explore, Enjoy, Plan and Kids in one row */
.feature-row {
  list-style: none;
  margin: clamp(1.5rem, 4svh, 2.5rem) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2.25rem);
}

.feature-tile {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-tile__media img {
  display: block;
  width: 100%;
  height: clamp(9rem, 24svh, 13rem);
  object-fit: cover;
  border: 3px solid var(--ink);
  border-radius: 1rem;
  box-shadow: 6px 6px 0 rgba(47, 224, 255, 0.35);
}

.feature-tile__copy {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.feature-tile .section__eyebrow {
  margin-bottom: 0.4rem;
}

.feature-tile h3 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  line-height: 1.2;
}

.feature-tile p:not(.section__eyebrow) {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.5;
}

.feature-tile .btn-row {
  margin-top: auto;
  padding-top: 1rem;
}

/* Tablet: two across so the copy stays readable */
@media (max-width: 960px) {
  .feature-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 1.75rem;
  }
}

/* Mobile: photo beside its copy, one highlight per row */
@media (max-width: 640px) {
  .feature-row {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .feature-tile {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 1rem;
    align-items: start;
  }

  .feature-tile__media img {
    height: 100%;
    min-height: 9rem;
    aspect-ratio: 4 / 5;
    box-shadow: 4px 4px 0 rgba(47, 224, 255, 0.35);
  }
}

@media (max-width: 400px) {
  .feature-tile {
    grid-template-columns: 1fr;
  }

  .feature-tile__media img {
    height: 11rem;
    aspect-ratio: auto;
  }
}
