:root {
  --pagan-green: #aed768;
  --pagan-purple-rgb: 125, 25, 229;
  --site-texture: url("assets/green-finer-v24.webp");
  --site-background-image:
    linear-gradient(
      to bottom,
      rgba(var(--pagan-purple-rgb), 0) 0,
      rgba(var(--pagan-purple-rgb), 0) var(--screen-shift-start),
      rgba(var(--pagan-purple-rgb), 0.10) calc(var(--screen-shift-start) + 100px),
      rgba(var(--pagan-purple-rgb), 0.19) calc(var(--screen-shift-start) + 220px),
      rgba(var(--pagan-purple-rgb), 0.29) calc(var(--screen-shift-start) + 360px),
      rgba(var(--pagan-purple-rgb), 0.38) calc(var(--screen-shift-start) + 520px),
      rgba(var(--pagan-purple-rgb), 0.44) calc(var(--screen-shift-start) + 680px),
      rgba(var(--pagan-purple-rgb), 0.48) 100%
    ),
    var(--site-texture);
  --site-background-position: center, center;
  --site-background-size: 100% 100vh, 100% 100vh;
  --site-background-repeat: no-repeat;
  --site-background-attachment: fixed;
  --ink: #173d18;
  --screen-shift-start: 520px;
  --site-menu-rgb: 83, 107, 63;
  --site-bottom-line-rgb: 63, 86, 50;
  --secondary-page-top-space: 86px;
  --subpage-text-inset: 100px;
  /* Shared content rail: 16px side gutters on small screens, growing smoothly
     to 100px per side at 1440px and wider. */
  --site-gutter: clamp(16px, calc(8.75vw - 26px), 100px);
  --site-content-width: calc(100vw - var(--site-gutter) - var(--site-gutter));
  --font-heading: "Anton", Impact, "Arial Narrow", sans-serif;
  --font-display: "Marcellus", Georgia, serif;
  --font-body: "Atkinson Hyperlegible", Arial, sans-serif;
  --font-subpage: "Marcellus", Georgia, serif;
  color-scheme: light;
}


html,
body {
  margin: 0;
  min-height: 100%;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

html {
  background-color: var(--pagan-green);
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  font-size: 18.667px;
  background-color: var(--pagan-green);
  background-image: var(--site-background-image);
  background-position: var(--site-background-position);
  background-size: var(--site-background-size);
  background-repeat: var(--site-background-repeat);
  background-attachment: var(--site-background-attachment);
}

body > main {
  flex: 1 0 auto;
}

body,
button,
input,
select,
textarea {
  font-family: var(--font-body);
  font-weight: 400;
}

/* Canonical typography scale for secondary pages.
   The homepage intentionally keeps its existing typography. */
body.subpage {
  --font-body: var(--font-subpage);
  --font-heading: var(--font-subpage);
  --font-display: var(--font-subpage);
  --type-page-title: clamp(27px, calc(5.8vw - 24px), 58.667px);
  --type-page-intro: clamp(20.667px, 1.8vw, 25.667px);
  --type-section-title: clamp(16px, 3.5vw, 40.667px);
  --type-card-title: clamp(21.667px, 1.6vw, 26.667px);
  --type-compact-title: calc(var(--type-card-title) + 2px);
  --type-program-primary: clamp(31.667px, 2.5vw, 42.667px);
  --type-subheading: clamp(19.667px, 1.3vw, 22.667px);
  --type-body: clamp(18.667px, 1.2vw, 21.667px);
  --type-card-body: calc(var(--type-page-intro) - 2.5px);
  --type-meta: clamp(16.667px, 1vw, 19.667px);
  --type-compact-body: var(--type-meta);
  --type-small: clamp(14.667px, .9vw, 16.667px);
  --card-standard-padding: clamp(22px, 2.7vw, 34px);
  --card-compact-padding-block: clamp(13px, 1.35vw, 18px);
  --card-compact-padding-inline: clamp(14px, 1.6vw, 21px);
  --card-detail-padding: clamp(18px, 2.4vw, 28px);
  --card-standard-gap: clamp(20px, 2.4vw, 30px);
  --card-compact-gap: clamp(12px, 1.4vw, 18px);
  --card-detail-gap: clamp(20px, 2.4vw, 30px);
  font-size: var(--type-body);
}

@media (max-width: 900px) {
  body.subpage {
    --type-page-title: clamp(22px, 7vw, 46.667px);
    --type-page-intro: clamp(18.667px, 4.7vw, 22.667px);
  }
}

@media (max-width: 767px) {
  body.subpage {
    --type-section-title: clamp(28px, 8vw, 36px);
    --type-card-title: clamp(21.667px, 5.4vw, 24.667px);
    --type-compact-title: calc(var(--type-card-title) + 2px);
    --type-program-primary: clamp(30px, 8vw, 36.667px);
    --type-subheading: clamp(19.667px, 4.8vw, 22.667px);
    --type-body: clamp(18.667px, 4.6vw, 20.667px);
    --type-card-body: calc(var(--type-page-intro) - 2.5px);
    --type-meta: clamp(16.667px, 4.1vw, 18.667px);
    --type-compact-body: var(--type-meta);
    --type-small: clamp(14.667px, 3.7vw, 16.667px);
    --card-standard-padding: 18px;
    --card-compact-padding-block: 13px;
    --card-compact-padding-inline: 12px;
    --card-detail-padding: 16px;
    --card-standard-gap: 18px;
    --card-compact-gap: 12px;
    --card-detail-gap: 16px;
  }
}

h1,
h2,
h3,
h4,
h5,
h6,
strong,
b {
  font-weight: 400;
}

.page {
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
  z-index: 1;
  display: flow-root;
  background: transparent;
}

.firefly-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.98;
}

/* Shared site navigation */
.site-header {
  --font-heading: "Anton", Impact, "Arial Narrow", sans-serif;
  --font-body: "Atkinson Hyperlegible", Arial, sans-serif;
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  width: 100%;
  height: clamp(46px, calc(2.5vw + 38px), 68px);
  box-sizing: border-box;
  isolation: isolate;
  /* The page texture is opaque. Keeping this transparent prevents a solid
     green fallback pixel from appearing at the composited mobile edge. */
  background-color: transparent;
  background-image: var(--site-background-image);
  background-position: var(--site-background-position);
  background-size: var(--site-background-size);
  background-repeat: var(--site-background-repeat);
  background-attachment: var(--site-background-attachment);
  transition: height .22s ease;
}

.site-header.compact {
  height: clamp(40px, calc(1.364vw + 35.64px), 52px);
}

.site-header-inner {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  padding:
    clamp(2px, .35vw, 4px)
    clamp(5px, 1.15vw, 14px)
    clamp(1px, .2vw, 2px);
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  column-gap: clamp(6px, 1vw, 14px);
}

.header-left {
  grid-column: 1;
  justify-self: start;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.35vw, 18px);
}

.header-cuups-link {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  min-width: 0;
  text-decoration: none;
}

.header-cuups-link img {
  display: block;
  width: clamp(52px, calc(9.32vw + 22.18px), 134px);
  max-height: calc(100% - 2px);
  height: auto;
  object-fit: contain;
  transition: width .22s ease, max-height .22s ease;
}

.site-header.compact .header-cuups-link img {
  width: clamp(46px, calc(2.05vw + 39.44px), 64px);
}

.header-home-link,
.header-primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #000;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
  transition: font-size .22s ease;
}

.header-map-label-mobile {
  display: none;
}

.header-center {
  grid-column: 2;
  justify-self: center;
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.8vw, 24px);
  min-width: 0;
}

.header-home-link,
.header-home-link:visited {
  color: #000;
  font-size: clamp(13.667px, calc(1.023vw + 10.397px), 22.667px);
}

.header-primary-link,
.header-primary-link:visited {
  color: #000;
  font-size: clamp(17.667px, calc(1.25vw + 13.667px), 28.667px);
}

.site-header.compact .header-home-link {
  font-size: clamp(12.667px, calc(.682vw + 10.487px), 18.667px);
}

.site-header.compact .header-primary-link {
  font-size: clamp(16.667px, calc(.795vw + 14.127px), 23.667px);
}

.header-actions {
  grid-column: 3;
  justify-self: end;
  align-self: center;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(10px, 1.35vw, 16px);
}

.header-social-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(18px, calc(1.364vw + 13.64px), 30px);
  height: clamp(18px, calc(1.364vw + 13.64px), 30px);
  line-height: 1;
  text-decoration: none;
}

.header-social-link img {
  display: block;
  width: clamp(15px, calc(.909vw + 12.09px), 23px);
  height: clamp(15px, calc(.909vw + 12.09px), 23px);
  object-fit: contain;
}

.site-header.compact .header-social-link {
  width: clamp(17px, calc(.909vw + 14.09px), 25px);
  height: clamp(17px, calc(.909vw + 14.09px), 25px);
}

.site-header.compact .header-social-link img {
  width: clamp(14px, calc(.682vw + 11.82px), 20px);
  height: clamp(14px, calc(.682vw + 11.82px), 20px);
}

.header-menu-wrap {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.site-menu-button {
  appearance: none;
  border: 0;
  background: transparent;
  color: #000;
  min-height: clamp(18px, calc(1.364vw + 13.64px), 30px);
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  font-family: var(--font-heading);
  font-size: clamp(13.667px, calc(.795vw + 11.117px), 20.667px);
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: font-size .22s ease;
}

.site-header.compact .site-menu-button {
  font-size: clamp(12.667px, calc(.568vw + 10.847px), 17.667px);
}

.site-menu {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 210px;
  padding: 8px;
  border-radius: 10px;
  background: rgba(var(--site-menu-rgb), 0.96);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .22);
  display: none;
  flex-direction: column;
  z-index: 1003;
}

.site-menu.open {
  display: flex;
}

.site-menu a {
  display: block;
  padding: 11px 13px;
  border-radius: 7px;
  color: #fff;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 16.667px;
  white-space: nowrap;
}

.site-menu-parent-button {
  appearance: none;
  width: 100%;
  border: 0;
  padding: 11px 13px;
  border-radius: 7px;
  background: transparent;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 16.667px;
  line-height: normal;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
}

.site-menu-parent-button:hover,
.site-menu-parent-button:focus-visible {
  background: rgba(255, 255, 255, .12);
}

.site-menu-parent-button .site-submenu-caret {
  display: block;
  transition: transform .18s ease;
}

.site-menu-item.submenu-open .site-menu-parent-button .site-submenu-caret {
  transform: rotate(180deg);
}

.site-menu a:visited {
  color: #fff;
}

.site-menu a:hover,
.site-menu a:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, .12);
  text-decoration: none;
}

.site-submenu {
  display: none;
  padding: 2px 0 4px 14px;
}

.site-menu-item.submenu-open .site-submenu {
  display: block;
}

.site-submenu a {
  padding: 9px 11px;
  font-size: 15.667px;
}

@media (max-width: 767px) {
  /* Mobile navigation keeps three compact columns while giving the header
     and its primary links enough visual weight to remain easy to read. */
  .header-map-label-desktop {
    display: none;
  }

  .header-map-label-mobile {
    display: inline;
  }

  .site-header {
    height: 62px;
  }

  .site-header.compact {
    height: 50px;
  }

  /* Mobile Chromium can expose a one-device-pixel seam at the lower edge of
     an animated fixed element. Paint a small overlapping continuation of the
     same fixed page background across that edge so no fallback color can show. */
  .site-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 4px;
    z-index: -1;
    pointer-events: none;
    background-color: transparent;
    background-image: var(--site-background-image);
    background-position: var(--site-background-position);
    background-size: var(--site-background-size);
    background-repeat: var(--site-background-repeat);
    background-attachment: var(--site-background-attachment);
  }

  .site-header-inner {
    padding: 4px 7px 3px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    column-gap: 7px;
    transition: padding .22s ease, column-gap .22s ease;
  }

  .site-header.compact .site-header-inner {
    padding: 3px 7px 2px;
    column-gap: 5px;
  }

  .header-left {
    gap: 10px;
    transition: gap .22s ease;
  }

  .site-header.compact .header-left {
    gap: 8px;
  }

  .header-cuups-link img {
    width: clamp(48px, 13vw, 58px);
    max-height: 54px;
  }

  .site-header.compact .header-cuups-link img {
    width: clamp(40px, 11vw, 46px);
    max-height: 42px;
  }

  .header-home-link,
  .header-home-link:visited {
    font-size: clamp(15px, 3.15vw, 18px);
  }

  .site-header.compact .header-home-link {
    font-size: clamp(14px, 2.85vw, 16px);
  }

  .header-center {
    width: 100%;
    gap: clamp(10px, 2.8vw, 14px);
    transition: gap .22s ease;
  }

  .site-header.compact .header-center {
    gap: clamp(8px, 2.35vw, 12px);
  }

  .header-primary-link,
  .header-primary-link:visited {
    font-size: clamp(20px, 4.5vw, 23px);
  }

  .site-header.compact .header-primary-link {
    font-size: clamp(19px, 4vw, 21px);
  }

  .header-actions {
    gap: 7px;
    transition: gap .22s ease;
  }

  .site-header.compact .header-actions {
    gap: 5px;
  }

  .header-social-link {
    width: 21px;
    height: 21px;
    transition: width .22s ease, height .22s ease;
  }

  .header-social-link img {
    width: 19px;
    height: 19px;
  }

  .site-header.compact .header-social-link {
    width: 18px;
    height: 18px;
  }

  .site-header.compact .header-social-link img {
    width: 16px;
    height: 16px;
  }

  .site-menu-button {
    min-height: 25px;
    font-size: clamp(16px, 3.35vw, 18px);
  }

  .site-header.compact .site-menu-button {
    min-height: 22px;
    font-size: clamp(15px, 3vw, 17px);
  }

  .site-menu a,
  .site-menu-parent-button {
    font-size: 16px;
  }

  .site-submenu a {
    font-size: 17px;
  }

  .site-menu-parent-button {
    min-height: 44px;
  }
}


.header-home-link:focus-visible,
.header-primary-link:focus-visible,
.header-cuups-link:focus-visible,
.header-social-link:focus-visible,
.site-menu-button:focus-visible,
.site-menu-parent-button:focus-visible {
  outline: 3px solid #000;
  outline-offset: 3px;
  border-radius: 5px;
}

/* Homepage desktop hover tooltip */
.site-hover-tooltip {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1000;
  padding: 7px 10px;
  border-radius: 6px;
  background: rgba(20, 55, 22, 0.94);
  color: #fff;
  font-family: var(--font-body);
  font-size: var(--type-small, 15.667px);
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .15s ease;
}

.site-hover-tooltip.is-purple {
  background: rgba(63, 0, 118, 0.97);
}

.site-hover-tooltip.is-visible {
  opacity: 1;
  visibility: visible;
}

/* ============================================================
   Homepage
   ============================================================ */

/* Homepage hero */
.hero-section {
  --hero-cluster-width: min(77.16vw, 1180px);
  width: var(--site-content-width);
  margin: 0 auto;
  box-sizing: border-box;
  padding: 66px 0 42px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  isolation: isolate;
}

/* Homepage root silhouette.
   This layer lives immediately after the main tree graphic, before the event links.
   Its size and position are measured from the same container as the tree, so the
   roots remain physically attached to the tree at every breakpoint. */
.homepage-roots-layer {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 0;
  pointer-events: none;
}

.homepage-roots-image {
  position: absolute;
  top: calc(-0.16cqw - 2px);
  left: calc(50% + 3px);
  width: 112.22cqw;
  max-width: none;
  height: auto;
  display: block;
  transform: translateX(-50%);
  opacity: 0.17;
  user-select: none;
}

.hero-cluster,
.mission-text,
.explore-section {
  position: relative;
  z-index: 1;
}

.hero-cluster {
  container-type: inline-size;
  position: relative;
  width: var(--hero-cluster-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-cluster .hero-logo {
  position: relative;
  z-index: 1;
  display: block;
  width: 110%;
  height: auto;
  max-width: none;
  margin: 0 -5%;
}

.hero-cluster .event-links {
  z-index: 1;
}

.hero-cluster .event-link,
.hero-cluster .event-link:link,
.hero-cluster .event-link:visited,
.hero-cluster .event-link:hover,
.hero-cluster .event-link:focus-visible,
.hero-cluster .event-link:active {
  color: #000;
  text-decoration: none;
}

.hero-cluster .event-copy strong {
  font-family: var(--font-heading);
  font-weight: 400;
  color: #000;
  text-decoration: none;
}

.hero-cluster .event-copy > span {
  font-family: var(--font-body);
  font-weight: 400;
  color: #000;
  text-decoration: none;
}

.mission-separator {
  width: 100%;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-15px);
}

.simple-separator-line {
  display: block;
  width: 100%;
  height: 2px;
  background: rgba(0, 0, 0, 0.78);
}

@media (min-width: 768px) {
  .hero-cluster .event-links {
    position: relative;
    width: 104cqw;
    margin: 0.5cqw auto 0.8cqw;
    padding: 0;
    display: grid;
    grid-template-columns: 1.04fr 0.72fr 1.24fr;
    column-gap: 0;
    align-items: stretch;
    box-sizing: border-box;
    transform: translateY(-5px);
  }

  .hero-cluster .event-link {
    position: relative;
    min-width: 0;
    width: auto;
    min-height: 6.25cqw;
    margin: 0;
    padding: 0.10cqw 0.32cqw;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.72cqw;
    box-sizing: border-box;
    border: 0;
    transform: none;
    overflow: visible;
    text-align: left;
  }

  .hero-cluster .event-link:first-child {
    justify-content: flex-end;
    gap: 0.55cqw;
    padding-right: 1.15cqw;
  }

  .hero-cluster .event-link:first-child .event-copy {
    text-align: right;
    align-items: flex-end;
  }

  .hero-cluster .event-link:nth-child(2) {
    gap: 0.28cqw;
    padding-left: 0.70cqw;
    padding-right: 0.25cqw;
  }

  .hero-cluster .event-link:nth-child(3) {
    gap: 0.50cqw;
  }

  .hero-cluster .event-link > img {
    width: 5.535cqw;
    height: 5.535cqw;
    min-width: 0;
    flex: 0 0 5.535cqw;
    object-fit: contain;
  }

  .hero-cluster .event-link:first-child > img {
    width: 4.428cqw;
    height: 4.428cqw;
    flex-basis: 4.428cqw;
  }

  .hero-cluster .event-copy {
    min-width: 0;
    width: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 0.06cqw;
    overflow: visible;
    text-align: left;
  }

  .hero-cluster .event-copy strong {
    font-size: calc(2.412cqw + 2.667px);
    line-height: 1;
    white-space: nowrap;
  }

  .hero-cluster .event-copy > span {
    font-size: calc(1.692cqw + 2.667px);
    line-height: 1.02;
    white-space: nowrap;
  }

  .hero-cluster .event-links::before,
  .hero-cluster .event-links::after {
    content: "";
    position: absolute;
    top: 0.42cqw;
    bottom: 0.42cqw;
    width: max(1px, 0.08cqw);
    background: rgba(23, 61, 24, 0.58);
    pointer-events: none;
    z-index: 3;
  }

  .hero-cluster .event-links::before {
    left: 34.667%;
  }

  .hero-cluster .event-links::after {
    left: 58.667%;
  }

  .hero-cluster .event-link + .event-link::before {
    content: none;
    display: none;
  }

  .hero-cluster .event-link:hover,
  .hero-cluster .event-link:focus-visible {
    background: rgba(255, 255, 255, 0.16);
  }

  .hero-cluster .event-link:focus-visible {
    outline: 3px solid var(--ink);
    outline-offset: 2px;
  }
}

@media (max-width: 767px) {
  .hero-section {
    --hero-cluster-width: min(83.45vw, 583px);
    width: 100%;
    /* Offset the logo's transparent top edge so the visible tree sits just
       beneath the 60px mobile navigation bar across phone widths. */
    padding: clamp(47px, calc(62px - 2.11vw), 54px) 12px 32px;
  }

  .homepage-roots-image {
    opacity: 0.15;
    transform: translateX(-50%) scaleY(1.25);
    transform-origin: top center;
  }

  .hero-cluster .event-links {
    position: relative;
    width: 110cqw;
    margin: 0.55cqw auto 1.05cqw;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 0;
    box-sizing: border-box;
    transform: translateY(-5px);
  }

  .hero-cluster .event-link {
    position: relative;
    width: 100%;
    min-width: 0;
    min-height: 12.9cqw;
    margin: 0;
    padding: 0.28cqw 0.65cqw;
    display: grid;
    grid-template-columns: 13.4cqw minmax(0, 1fr);
    column-gap: 1.55cqw;
    align-items: center;
    justify-content: start;
    box-sizing: border-box;
    border: 0;
    transform: none;
    text-align: left;
  }

  .hero-cluster .event-link:first-child {
    justify-content: start;
    padding-right: 1.5cqw;
  }

  .hero-cluster .event-link > img {
    grid-column: 1;
    width: 10.26cqw;
    height: 10.26cqw;
    justify-self: center;
    object-fit: contain;
  }

  .hero-cluster .event-link:first-child > img {
    width: 8.208cqw;
    height: 8.208cqw;
  }

  .hero-cluster .event-copy {
    grid-column: 2;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.12cqw;
    text-align: left;
  }

  .hero-cluster .event-copy strong {
    font-size: calc(4.455cqw + 2.667px);
    line-height: 1;
    white-space: nowrap;
  }

  .hero-cluster .event-copy > span {
    font-size: calc(3.132cqw + 2.667px);
    line-height: 1.02;
    white-space: nowrap;
  }

  .hero-cluster .event-link + .event-link::before {
    content: "";
    position: absolute;
    left: 3.2cqw;
    right: 3.2cqw;
    top: 0;
    height: 1px;
    background: rgba(23, 61, 24, 0.58);
    pointer-events: none;
  }

  .hero-cluster .event-links::before,
  .hero-cluster .event-links::after {
    content: none;
    display: none;
  }

  .mission-separator {
    width: min(82.61vw, 577px);
    margin-bottom: 12px;
  }

}

@media (max-width: 430px) {
  .hero-cluster {
    width: 86.37vw;
  }

  .mission-separator {
    width: 85.51vw;
  }
}

/* Homepage exploration layout */
.explore-section {
  position: relative;
  z-index: 1;
  width: var(--site-content-width);
  margin: 30px auto 0;
  text-align: center;
  color: #000;
  font-family: var(--font-display);
}

.explore-section > h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(34.667px, 3.8vw, 50.667px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.feature-links {
  width: 100%;
  margin: 22px auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 20px);
  align-items: stretch;
  grid-auto-rows: auto;
}

@media (max-width: 767px) {
  .explore-section {
    margin-top: 24px;
  }

  .explore-section > h2 {
    font-size: clamp(22.667px, 6.5vw, 33.667px);
    white-space: nowrap;
  }

  .feature-links {
    margin-top: 18px;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(10px, 2.5vw, 14px);
  }
}

/* Homepage mission, live message, category cards, and hospitality callout */
.mission-text {
  position: relative;
  z-index: 1;
  width: var(--site-content-width);
  margin: 0 auto;
  padding-top: 8px;
  text-align: center;
  color: #000;
  font-family: var(--font-display);
}

.mission-text h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(38.667px, 4.8vw, 62.667px);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: 0.012em;
}

.keep-together {
  white-space: nowrap;
}

.homepage-message {
  width: min(900px, 100%);
  margin: 20px auto 0;
  font-size: clamp(18.667px, 1.7vw, 26.667px);
  line-height: 1.48;
}

.homepage-message[hidden] {
  display: none;
}

.homepage-message p {
  margin: 0;
}

.homepage-message p + p {
  margin-top: 0.9em;
}

.current-updates-section {
  width: min(900px, 100%);
  margin: 24px auto 0;
  text-align: center;
}

.current-updates-section[hidden] {
  display: none;
}

.current-updates-section > h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(24.667px, 2.2vw, 30.667px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.current-updates-content {
  margin-top: 8px;
  font-size: clamp(18.667px, 1.7vw, 26.667px);
  line-height: 1.45;
}

.current-updates-content p {
  margin: 0;
}

.current-updates-content p + p {
  margin-top: 0.7em;
}

.feature-link-card {
  min-width: 0;
  min-height: 215px;
  height: 100%;
  padding: clamp(16px, 1.8vw, 22px);
  box-sizing: border-box;
  border: 1px solid rgba(0, 0, 0, .28);
  border-left: 7px solid rgba(var(--page-card-accent-rgb, 91, 132, 55), .9);
  border-radius: 14px;
  background: rgba(var(--page-card-surface-rgb, 214, 232, 188), .58);
  box-shadow: 0 2px 7px rgba(0, 0, 0, .08);
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto auto;
  align-items: stretch;
  gap: 6px;
  text-align: left;
}

.feature-link-card .feature-bubble {
  flex: 0 0 78px;
  width: 78px;
  height: 78px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background:
    radial-gradient(
      circle at 40% 34%,
      rgba(255, 255, 255, .20) 0%,
      rgba(255, 255, 255, .05) 38%,
      rgba(0, 0, 0, .20) 72%,
      rgba(0, 0, 0, .34) 100%
    ),
    rgb(var(--page-card-accent-rgb, 91, 132, 55));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.feature-link-card .feature-bubble img.feature-icon {
  display: block;
  width: 68px;
  height: 68px;
  object-fit: contain;
  object-position: center;
  filter: none;
}

.feature-link-card .feature-bubble img.feature-icon-volunteer-shift {
  transform: translateX(-5px);
}

.feature-link-card .feature-bubble img.feature-icon-shop-shift {
  transform: translateY(-4px);
}

.feature-link-card .feature-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.feature-link-card .feature-title {
  display: block;
  white-space: nowrap;
  font-size: clamp(32.667px, 2.5vw, 40.667px);
  line-height: 1.02;
  font-weight: 700;
}

.feature-link-card .feature-blurb {
  display: block;
  min-height: 3.78em;
  margin-top: 4px;
  font-size: clamp(18.667px, 1.7vw, 26.667px);
  line-height: 1.26;
  text-align: left;
}

.welcome-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 34px;
  padding: 4px 2px 7px;
  color: #000;
  text-decoration: none;
  font-size: clamp(34.667px, 3.8vw, 50.667px);
}

.welcome-text {
  position: relative;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 700;
}

.welcome-link:hover .welcome-copy::after,
.welcome-link:focus-visible .welcome-copy::after {
  transform: scaleX(1);
}

.welcome-link:focus-visible {
  outline: 3px solid #000;
  outline-offset: 5px;
}

.welcome-copy {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.05;
  padding-bottom: 10px;
}

.welcome-copy::after {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: 0;
  height: 2px;
  background: #000;
  transform: scaleX(0.78);
  transform-origin: center;
  transition: transform .18s ease;
}

.welcome-subtext {
  margin-top: 6px;
  font-size: clamp(20.667px, 1.4vw, 23.667px);
  white-space: nowrap;
}

.feature-status-spacer {
  visibility: hidden;
}

.feature-card-link,
.feature-card-link:hover,
.feature-card-link:focus-visible {
  color: inherit;
  text-decoration: none;
}

.feature-faux-button {
  pointer-events: none;
  cursor: inherit;
}

@media (max-width: 767px) {
  .mission-text h1 {
    font-size: clamp(34.667px, 9vw, 48.667px);
    line-height: 1.08;
  }

  .homepage-message {
    margin-top: 16px;
    font-size: clamp(18.667px, 5vw, 26.667px);
    line-height: 1.44;
  }

  .current-updates-section {
    margin-top: 20px;
  }

  .current-updates-section > h2 {
    font-size: clamp(22.667px, 6vw, 29.667px);
  }

  .current-updates-content {
    margin-top: 7px;
    font-size: clamp(18.667px, 5vw, 26.667px);
    line-height: 1.44;
  }

  .feature-link-card {
    min-height: 0;
    height: auto;
    padding: clamp(14px, 4vw, 18px);
    border-left-width: 6px;
    grid-template-rows: auto auto auto;
    gap: 10px;
  }

  .feature-link-card .feature-bubble {
    flex-basis: 56px;
    width: 56px;
    height: 56px;
  }

  .feature-link-card .feature-bubble img.feature-icon {
    width: 48px;
    height: 52px;
  }

  .feature-link-card .feature-bubble img.feature-icon-volunteer-shift {
    transform: translateX(-4px);
  }

  .feature-link-card .feature-title {
    font-size: clamp(24.667px, 6.4vw, 29.667px);
    line-height: 1.08;
  }

  .feature-link-card .feature-blurb {
    min-height: 0;
    margin-top: 4px;
    font-size: clamp(17.667px, 4.5vw, 20.667px);
    line-height: 1.32;
    overflow-wrap: break-word;
  }

  .welcome-link {
    width: auto;
    max-width: 100%;
    box-sizing: border-box;
    margin-top: 28px;
    padding: 11px clamp(8px, 2.5vw, 14px) 13px;
    font-size: clamp(22.667px, 6.5vw, 33.667px);
    border-radius: 16px;
  }

  .welcome-copy {
    min-width: 0;
    padding-bottom: 9px;
  }

  .welcome-text {
    font-size: inherit;
  }

  .welcome-subtext {
    max-width: min(72vw, 310px);
    margin-top: 5px;
    font-size: clamp(19.667px, 4.2vw, 20.667px);
    line-height: 1.2;
    text-align: center;
    white-space: normal;
  }

}

/* Homepage application controls */
.feature-main-link {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: clamp(14px, 1.6vw, 18px);
  width: 100%;
  min-width: 0;
  height: 100%;
  box-sizing: border-box;
  padding: 0;
  color: #000;
  text-decoration: none;
}

.feature-main-link:focus-visible {
  outline: 3px solid #000;
  outline-offset: 4px;
  border-radius: 10px;
}

.feature-apply-button {
  position: relative;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  width: 100%;
  min-height: 54px;
  margin-top: 0;
  box-sizing: border-box;
  padding: 10px 16px;
  border-radius: 15px;
  background:
    radial-gradient(
      circle at 42% 34%,
      rgba(255, 255, 255, .14) 0%,
      rgba(255, 255, 255, .03) 42%,
      rgba(0, 0, 0, .20) 100%
    ),
    rgb(var(--page-card-accent-rgb, 91, 132, 55));
  color: #fff;
  text-decoration: none;
  text-align: center;
  font-family: var(--font-body);
  font-size: var(--type-meta, clamp(15.667px, 1vw, 17.667px));
  line-height: 1.22;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 1px 2px rgba(0, 0, 0, 0.16);
  transition: transform .15s ease, filter .15s ease;
}

.feature-apply-text {
  white-space: nowrap;
}

.feature-apply-event {
  display: inline;
  margin-left: 0.25em;
}

.feature-application-status {
  min-height: 1.25em;
  margin: 0;
  color: #000;
  font-size: var(--type-meta, clamp(15.667px, 1vw, 17.667px));
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

.feature-apply-button:hover,
.feature-apply-button:focus-visible {
  filter: brightness(1.10);
  transform: translateY(-1px);
}

.feature-apply-button.is-unavailable {
  cursor: default;
  filter: saturate(0.55) brightness(0.86);
  opacity: 0.78;
}

.feature-apply-button.is-unavailable:hover,
.feature-apply-button.is-unavailable:focus-visible {
  filter: saturate(0.55) brightness(0.86);
  transform: none;
}

.feature-apply-button:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.95);
  outline-offset: 2px;
}

@media (max-width: 767px) {
  /* Keep every homepage card on the same mobile geometry. The icon gets a
     fixed column and all copy stays together in the second column, so text
     can grow naturally without crossing into the icon or application area. */
  .feature-main-link {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    column-gap: 12px;
    align-items: start;
    height: auto;
  }

  .feature-main-link .feature-bubble {
    align-self: start;
  }

  .feature-main-link .feature-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding-top: 1px;
  }

  .feature-main-link .feature-title {
    align-self: auto;
  }

  .feature-main-link .feature-blurb {
    margin-top: 4px;
  }

  .feature-apply-button {
    margin-top: 0;
    min-height: 52px;
    padding: 9px 10px;
    border-radius: 13px;
    font-size: var(--type-meta, clamp(14.167px, 3.3vw, 15.667px));
    line-height: 1.2;
  }

  .feature-apply-text {
    white-space: normal;
  }

  .feature-apply-event {
    display: block;
    margin-left: 0;
  }

  .feature-application-status {
    min-height: 0;
    font-size: var(--type-meta, clamp(13.667px, 3.1vw, 15.167px));
  }

}

/* Secondary-page header
   Shared by every page except the homepage. It owns its width and vertical spacing
   so page-specific content wrappers cannot move the title block. */
.secondary-page-header {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: var(--site-content-width);
  margin: 0 0 34px;
  padding-top: var(--secondary-page-top-space);
  display: grid;
  grid-template-columns: minmax(336px, 504px) minmax(0, 1fr);
  gap: clamp(22px, 3.5vw, 42px);
  align-items: start;
  box-sizing: border-box;
}

.secondary-page-header-logo {
  display: block;
  width: 100%;
  height: auto;
  justify-self: start;
}

.secondary-page-header-copy {
  min-width: 0;
  text-align: left;
}

/* Canonical section-heading typography for secondary pages.
   Dynamic item/card names use their own card-title scale. */
body.subpage :is(
  .schedule-status h2,
  .schedule-pavilion-header h2,
  .schedule-other-locations > h2,
  .presenters-status h2,
  .rituals-status h2,
  .entertainment-status h2
) {
  font-family: var(--font-heading);
  font-size: var(--type-section-title);
  line-height: 1.08;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: -0.06em;
}

/* Canonical title typography for every secondary page. */
h1.secondary-page-title {
  margin: 0;
  color: #000;
  font-family: var(--font-heading);
  font-size: var(--type-page-title, clamp(46.667px, 4.2vw, 58.667px));
  line-height: 1;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: .01em;
  text-box-trim: trim-start;
  text-box-edge: cap alphabetic;
}

.secondary-page-description {
  margin: 16px 0 0;
  width: 100%;
  color: #000;
  font-family: var(--font-body);
  font-size: var(--type-page-intro, clamp(20.667px, 1.8vw, 25.667px));
  line-height: 1.35;
  font-weight: 400;
  text-align: left;
}

/*
 * Canonical geometry for ordinary text sections on secondary pages.
 * Special visual and structured components retain their own layouts.
 */
.subpage-text-section {
  margin-inline: var(--subpage-text-inset);
  box-sizing: border-box;
}

@media (max-width: 900px) {
  :root {
    --secondary-page-top-space: 80px;
  }

  .secondary-page-header {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    justify-items: center;
    margin-bottom: 26px;
  }

  .secondary-page-header-logo {
    width: min(528px, calc(100% + (2 * var(--site-gutter))));
    max-width: none;
    justify-self: center;
  }

  .secondary-page-header-copy {
    width: 100%;
    text-align: center;
  }

  h1.secondary-page-title {
    font-size: var(--type-page-title, clamp(36.667px, 7vw, 46.667px));
  }

  .secondary-page-description {
    margin: 11px auto 0;
    font-size: var(--type-page-intro, clamp(18.667px, 4.7vw, 22.667px));
    line-height: 1.3;
    text-align: center;
  }
}

@media (max-width: 767px) {
  :root {
    /* The secondary-page logo has no transparent top margin. Keep its visible
       artwork fully below the 60px fixed mobile navigation bar. */
    --secondary-page-top-space: 64px;
  }

  body.subpage :is(
    .schedule-status h2,
    .schedule-pavilion-header h2,
    .schedule-other-locations > h2,
    .presenters-status h2,
    .rituals-status h2,
    .entertainment-status h2
  ) {
    font-size: clamp(31px, 8.5vw, 38px);
    line-height: 1.08;
    text-align: center;
    white-space: normal;
    letter-spacing: -0.02em;
    text-wrap: balance;
  }

  .secondary-page-action-link {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    align-self: stretch;
  }
}

/* Vendor Village and Community Tables */
.vendor-page,
.community-tables-page {
  width: var(--site-content-width);
  margin: 0 auto;
  padding: 0 0 110px;
  color: #000;
}

.vendor-showcase {
  width: 100%;
  margin-top: 34px;
  display: grid;
  grid-template-columns: minmax(170px, 240px) minmax(330px, 1fr) minmax(170px, 240px);
  gap: clamp(18px, 2.4vw, 34px);
  align-items: start;
}

.community-table-showcase {
  width: 100%;
  margin-top: 34px;
}

.vendor-photo-column {
  display: grid;
  gap: 10px;
  align-content: start;
}

.vendor-photo-column[hidden] {
  display: none;
}

.vendor-photo-slot {
  width: 100%;
  aspect-ratio: 370 / 485;
  overflow: hidden;
}

.vendor-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vendor-list-column,
.community-table-list-column {
  min-width: 0;
}

.community-table-list-column {
  width: 100%;
}

.vendor-list,
.community-table-list {
  display: grid;
  gap: var(--card-compact-gap, clamp(12px, 1.4vw, 18px));
  padding: 4px 0;
}

.vendor-list-update,
.community-table-list-update {
  margin: 18px auto 0;
  font-family: var(--font-body);
  font-size: var(--type-body, clamp(18.667px, 1.35vw, 22.667px));
  line-height: 1.35;
  text-align: center;
}

.vendor-entry,
.community-table-entry {
  width: 100%;
  min-height: 148px;
  padding: var(--card-compact-padding-block, clamp(13px, 1.35vw, 18px))
    var(--card-compact-padding-inline, clamp(14px, 1.6vw, 21px));
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: clamp(14px, 1.6vw, 20px);
  align-items: center;
  border: 1px solid rgba(0, 0, 0, .28);
  border-left: 7px solid rgba(var(--page-card-accent-rgb, 91, 132, 55), .9);
  border-radius: 14px;
  background: rgba(var(--page-card-surface-rgb, 214, 232, 188), .58);
  box-shadow: 0 2px 7px rgba(0, 0, 0, .08);
  box-sizing: border-box;
  color: #000;
  font-family: var(--font-body);
  text-align: left;
  text-decoration: none;
}

.vendor-entry--message,
.community-table-entry--message {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

a.vendor-entry,
a.community-table-entry {
  transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

a.vendor-entry:visited,
a.community-table-entry:visited {
  color: #000;
}

a.vendor-entry:hover,
a.vendor-entry:focus-visible,
a.community-table-entry:hover,
a.community-table-entry:focus-visible {
  background: rgba(var(--page-card-surface-rgb, 214, 232, 188), .74);
  box-shadow: 0 5px 13px rgba(0, 0, 0, .13);
  transform: translateY(-2px);
}

a.vendor-entry:focus-visible,
a.community-table-entry:focus-visible {
  outline: 3px solid rgba(var(--page-card-accent-rgb, 91, 132, 55), .72);
  outline-offset: 3px;
}

.directory-thumbnail {
  width: 120px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 0;
  border-radius: 9px;
  background: transparent;
  box-sizing: border-box;
}

.directory-thumbnail-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.directory-thumbnail-fallback {
  padding: 10px;
  font-size: var(--type-small, clamp(14px, .9vw, 16px));
  line-height: 1.2;
  font-weight: 700;
  text-align: center;
}

.directory-card-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.vendor-name,
.community-table-name {
  max-width: 100%;
  font-family: var(--font-body);
  font-size: var(--type-compact-title, clamp(23.667px, 1.7vw, 28.667px));
  font-weight: 700;
  line-height: 1.2;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.vendor-description,
.community-table-description {
  margin-top: 4px;
  font-family: var(--font-body);
  font-size: var(--type-compact-body, clamp(16.667px, 1.05vw, 19.667px));
  font-style: italic;
  line-height: 1.3;
}

@media (max-width: 767px) {
  .vendor-showcase {
    margin-top: 26px;
    display: flex;
    flex-direction: column;
    gap: 28px;
  }

  .community-table-showcase {
    margin-top: 26px;
  }

  .vendor-list-column,
  .community-table-list-column {
    width: 100%;
  }

  .vendor-list-column {
    order: 1;
  }

  .vendor-photo-column {
    order: 2;
    width: 100%;
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline proximity;
    scrollbar-width: thin;
    padding-bottom: 6px;
  }

  .vendor-photo-slot {
    flex: 0 0 min(62vw, 260px);
    scroll-snap-align: start;
  }

  .vendor-entry,
  .community-table-entry {
    min-height: 120px;
    grid-template-columns: clamp(88px, 25vw, 108px) minmax(0, 1fr);
    gap: 12px;
    padding: var(--card-compact-padding-block, 13px)
      var(--card-compact-padding-inline, 12px);
  }

  .vendor-entry--message,
  .community-table-entry--message {
    min-height: 72px;
    display: flex;
  }

  .directory-thumbnail {
    width: 100%;
    max-width: 108px;
  }

  .vendor-name,
  .community-table-name {
    font-size: var(--type-compact-title, 23.667px);
  }

  .vendor-description,
  .community-table-description {
    font-size: var(--type-compact-body, 17.667px);
  }
}

@media (max-width: 430px) {
  .vendor-photo-column {
    gap: 8px;
  }
}

/* Festival Schedule */
.schedule-page {
  width: var(--site-content-width);
  margin: 0 auto;
  padding: 0 0 110px;
  color: #000;
  box-sizing: border-box;
}

.schedule-status {
  width: min(100%, 760px);
  margin: 18px auto 26px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(0, 0, 0, .20);
  border-radius: 16px;
  background: rgba(255, 255, 255, .10);
  box-sizing: border-box;
  font-family: var(--font-body);
  text-align: center;
}

.schedule-status h2 {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-size: var(--type-section-title, clamp(29.667px, 2.35vw, 38.667px));
  line-height: 1.08;
  font-weight: 700;
}

.schedule-status p {
  margin: 0;
  font-size: var(--type-body, clamp(18.667px, 1.25vw, 21.667px));
  line-height: 1.45;
}

.schedule-status--error {
  background: rgba(255, 255, 255, .18);
}

.schedule-status[hidden],
.schedule-opening-slot[hidden] {
  display: none;
}

.schedule-layout {
  width: 100%;
}

.schedule-pavilion-grid,
.schedule-time-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 34px);
}

.schedule-pavilion-grid {
  align-items: start;
}

.schedule-pavilion-block {
  min-width: 0;
}

.schedule-pavilion-header {
  min-width: 0;
  text-align: center;
}

.schedule-pavilion-header h2 {
  margin: 0 0 10px;
  font-family: var(--font-heading);
  font-size: var(--type-section-title, clamp(30.667px, 2.5vw, 40.667px));
  line-height: 1.05;
  font-weight: 700;
}

.schedule-pavilion-photo {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .16);
}

.schedule-pavilion-events {
  display: none;
}

.schedule-opening-slot {
  width: 100%;
  margin-top: 22px;
}

.schedule-time-grid {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.schedule-time-row {
  align-items: stretch;
}

.schedule-time-cell {
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
}

.schedule-event-card {
  display: block;
  width: 100%;
  position: relative;
  overflow: hidden;
  padding: 14px 16px 15px;
  border: 1px solid rgba(0, 0, 0, .28);
  border-left-width: 7px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .55);
  box-shadow: 0 2px 7px rgba(0, 0, 0, .08);
  box-sizing: border-box;
  font-family: var(--font-body);
  color: inherit;
  text-decoration: none;
}

.schedule-event-card--opening-procession {
  padding: 14px 20px 15px;
  border-left-width: 1px;
  border-top: 7px solid rgba(65, 126, 180, .82);
  background: rgba(173, 211, 239, .7);
  text-align: center;
}

.schedule-event-card--presentation {
  border-left-color: rgba(91, 132, 55, .9);
  background: rgba(214, 232, 188, .68);
}

.schedule-event-card--workshop {
  border-left-color: rgba(116, 74, 160, .88);
  background: rgba(222, 207, 239, .64);
}

.schedule-event-card--ritual {
  border-left-color: rgba(65, 126, 180, .88);
  background: rgba(194, 220, 239, .68);
}

.schedule-event-card--linked-target {
  outline: 3px solid rgba(0, 0, 0, .42);
  outline-offset: 3px;
}

.schedule-event-card--entertainment {
  border-left-color: rgba(177, 94, 49, .9);
  background: rgba(241, 210, 181, .7);
}

.schedule-event-time {
  margin: 0 0 4px;
  font-size: var(--type-meta, clamp(17.667px, 1.15vw, 20.667px));
  line-height: 1.2;
  font-weight: 700;
}

.schedule-event-title {
  margin: 0;
  max-width: 100%;
  font-size: var(--type-card-title, clamp(21.667px, 1.55vw, 26.667px));
  line-height: 1.18;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.schedule-event-presenter {
  margin: 5px 0 0;
  font-size: var(--type-card-body, calc(var(--type-page-intro) - 2.5px));
  line-height: 1.35;
  font-style: italic;
}

.schedule-event-location {
  margin: 5px 0 0;
  font-size: var(--type-card-body, calc(var(--type-page-intro) - 2.5px));
  line-height: 1.35;
}

.schedule-event-location strong {
  font-weight: 700;
}

.schedule-event-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin-top: 9px;
}

.schedule-event-card--opening-procession .schedule-event-actions {
  justify-content: center;
}

.schedule-event-action-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: var(--type-small, clamp(14.667px, .88vw, 16.667px));
  line-height: 1.25;
  font-weight: 700;
  color: inherit;
  text-decoration: none;
  opacity: .74;
}

.schedule-event-action-text {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.schedule-event-category-link {
  letter-spacing: .02em;
}

.schedule-event-action-link:hover,
.schedule-event-action-link:focus-visible {
  opacity: 1;
}

.schedule-event-action-link:focus-visible {
  outline: 2px solid rgba(0, 0, 0, .72);
  outline-offset: 3px;
  border-radius: 2px;
}

.schedule-event-action-icon {
  flex: 0 0 auto;
  font-size: 1.05em;
  line-height: 1;
}

/* Master Programming: scheduled events outside the three pavilions */
.schedule-other-locations {
  width: min(100%, 900px);
  margin: 30px auto 0;
}

.schedule-other-locations[hidden] {
  display: none;
}

.schedule-other-locations > h2 {
  margin: 0 0 12px;
  font-family: var(--font-heading);
  font-size: var(--type-section-title, clamp(29.667px, 2.35vw, 38.667px));
  line-height: 1.08;
  font-weight: 700;
  text-align: center;
}

.schedule-other-events {
  display: grid;
  gap: 12px;
}

.schedule-pavilion-empty,
.schedule-desktop-empty {
  margin: 0;
  padding: 12px 8px;
  font-family: var(--font-body);
  font-size: var(--type-meta, clamp(17.667px, 1.05vw, 19.667px));
  line-height: 1.35;
  font-style: italic;
  text-align: center;
  opacity: .78;
}

.schedule-desktop-empty {
  grid-column: 1 / -1;
}

@media (max-width: 767px) {
  .schedule-page {
    padding-bottom: 90px;
  }

  .schedule-status {
    margin: 12px auto 20px;
    padding: 20px 16px;
  }

  .schedule-status h2 {
    font-size: var(--type-section-title, 30.667px);
  }

  .schedule-status p {
    font-size: var(--type-card-body, calc(var(--type-page-intro) - 2.5px));
  }

  .schedule-layout {
    display: flex;
    flex-direction: column;
  }

  .schedule-opening-slot {
    order: -1;
    margin: 0 0 30px;
  }

  .schedule-pavilion-grid {
    display: block;
  }

  .schedule-pavilion-block + .schedule-pavilion-block {
    margin-top: 38px;
  }

  .schedule-pavilion-header h2 {
    margin-bottom: 9px;
    font-size: var(--type-section-title, clamp(32.667px, 9vw, 40.667px));
  }

  .schedule-pavilion-photo {
    width: 100%;
    margin: 0 auto;
  }

  .schedule-pavilion-events {
    display: grid;
    width: 100%;
    margin: 14px auto 0;
    gap: 11px;
  }

  .schedule-time-grid {
    display: none;
  }

  .schedule-event-card {
    padding: 13px 14px 14px;
  }

  .schedule-event-card--opening-procession {
    width: 100%;
    margin: 0 auto;
    padding: 13px 14px 14px;
  }

  .schedule-event-time {
    font-size: var(--type-meta, 18.667px);
  }

  .schedule-event-title {
    font-size: var(--type-card-title, 22.667px);
  }

  .schedule-event-presenter,
  .schedule-event-location {
    font-size: var(--type-card-body, calc(var(--type-page-intro) - 2.5px));
  }

  .schedule-event-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
  }

  .schedule-event-card--opening-procession .schedule-event-actions {
    align-items: center;
  }

  .schedule-event-action-link {
    font-size: var(--type-small, 16.667px);
  }

  .schedule-other-locations {
    width: min(100%, 520px);
    margin-top: 32px;
  }

  .schedule-other-locations > h2 {
    font-size: var(--type-section-title, clamp(29.667px, 8vw, 36.667px));
  }

  .schedule-other-events {
    gap: 11px;
  }

  .schedule-pavilion-empty {
    font-size: var(--type-meta, 17.667px);
  }
}

/* Festival Map */
.festival-map-page {
  width: var(--site-content-width);
  margin: 0 auto;
  padding: 0 0 110px;
  box-sizing: border-box;
  color: #000;
  text-align: center;
}

.festival-map-interactive-link,
.festival-map-interactive-link:visited {
  display: grid;
  gap: 4px;
  width: min(620px, 100%);
  text-align: center;
  margin: 18px 0 0;
  padding: 14px 20px 15px;
  box-sizing: border-box;
  border: 2px solid rgba(23, 61, 24, .72);
  border-radius: 14px;
  background: rgba(255, 255, 255, .42);
  color: #000;
  text-decoration: none;
  box-shadow: 0 2px 7px rgba(0, 0, 0, .14);
}

.festival-map-interactive-link:hover,
.festival-map-interactive-link:focus-visible {
  background: rgba(255, 255, 255, .68);
  transform: translateY(-1px);
}

.festival-map-interactive-link:focus-visible {
  outline: 3px solid #000;
  outline-offset: 4px;
}

.festival-map-interactive-link-title {
  font-family: var(--font-heading);
  font-size: clamp(14px, 2.8vw, 26.667px);
  line-height: 1.08;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: .01em;
}

.festival-map-interactive-link-copy {
  font-family: var(--font-body);
  font-size: var(--type-body, clamp(18.667px, 1.5vw, 22.667px));
  line-height: 1.3;
}

.festival-map-static-figure {
  width: min(1080px, 100%);
  margin: 34px auto 0;
}

.festival-map-static-image {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(0, 0, 0, .28);
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
}

@media (max-width: 767px) {
  .festival-map-page {
    padding: 0 0 86px;
  }

  .festival-map-interactive-link,
  .festival-map-interactive-link:visited {
    width: min(560px, 100%);
    margin: 15px auto 0;
    padding: 12px 12px 13px;
    border-radius: 12px;
  }

  .festival-map-interactive-link-title {
    width: 100%;
    font-size: 20px;
    letter-spacing: 0;
    white-space: nowrap;
  }

  .festival-map-static-figure {
    margin-top: 24px;
  }

  .festival-map-static-image {
    border-radius: 12px;
  }
}

/* Canonical card system.
 * Standard Cards: informational sections (Food Donations, Volunteer, About,
 * Sponsor tiers, archive sections).
 * Compact Cards: directory/listing items (Vendor, Community Table, Sponsor).
 * Detail Cards: structured programming (Schedule, Presenter, Ritual, Entertainment).
 * Homepage Explore cards intentionally remain their own component. */
.content-card,
.standard-card {
  width: 100%;
  padding: var(--card-standard-padding, clamp(22px, 2.7vw, 34px));
  border: 1px solid rgba(0, 0, 0, .28);
  border-left: 7px solid rgba(var(--page-card-accent-rgb, 91, 132, 55), .9);
  border-radius: 14px;
  background: rgba(var(--page-card-surface-rgb, 214, 232, 188), .58);
  box-shadow: 0 2px 7px rgba(0, 0, 0, .08);
  box-sizing: border-box;
}

.compact-card,
.detail-card {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

@media (max-width: 767px) {
  .content-card,
  .standard-card {
    padding: var(--card-standard-padding, 18px);
    border-left-width: 6px;
  }
}

/* Canonical Standard Card typography.
 * The card shell owns geometry; standard-card-copy owns all injected/rich text
 * so About, Volunteer, Sponsor tiers, and other informational cards render the
 * same way regardless of their source content markup. */
.standard-card > h2 {
  margin: 0 0 12px;
  color: #000;
  font-family: var(--font-heading);
  font-size: var(--type-section-title);
  line-height: 1.08;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: -0.06em;
}

@media (max-width: 767px) {
  .standard-card > h2 {
    text-align: center;
    white-space: normal;
    letter-spacing: -0.02em;
    text-wrap: balance;
    overflow-wrap: anywhere;
  }
}

.standard-card-copy {
  color: #000;
  font-family: var(--font-display);
  font-size: var(--type-card-body, calc(var(--type-page-intro) - 2.5px));
  line-height: 1.48;
  font-weight: 400;
  overflow-wrap: anywhere;
}

.standard-card-copy > :first-child {
  margin-top: 0;
}

.standard-card-copy > :last-child {
  margin-bottom: 0;
}

.standard-card-copy :is(p, h2, h3, h4, blockquote) {
  margin: 0;
  color: inherit;
  font: inherit;
}

.standard-card-copy > :is(p, h2, h3, h4, blockquote, ul, ol, table)
  + :is(p, h2, h3, h4, blockquote, ul, ol, table) {
  margin-top: 14px;
}

.standard-card-copy :is(ul, ol) {
  margin-bottom: 0;
  padding-left: 1.35em;
}

.standard-card-copy li {
  font: inherit;
}

.standard-card-copy li + li {
  margin-top: 4px;
}

/* Food Donations page */
.food-donations-body .secondary-page-description {
  font-family: var(--font-display);
}

.food-donations-page {
  width: var(--site-content-width);
  margin: 0 auto;
  padding: 0 0 118px;
  color: #000;
  box-sizing: border-box;
  font-family: var(--font-display);
}

.food-donation-lead {
  display: block;
}

.food-donation-admission-heading {
  margin: 0;
  white-space: nowrap;
}

.bread-basket-logo-wrap {
  float: left;
  width: clamp(160px, 27%, 280px);
  margin: 0 clamp(18px, 2.4vw, 28px) 12px 0;
  padding: clamp(8px, 1vw, 12px);
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(0, 0, 0, .18);
  border-radius: 10px;
  box-sizing: border-box;
}

.bread-basket-logo {
  display: block;
  width: 100%;
  height: auto;
}

.food-donation-lead-copy p,
.food-donation-section p {
  margin: 0;
  color: #000;
  font-family: var(--font-display);
  font-size: var(--type-card-body, calc(var(--type-page-intro) - 2.5px));
  line-height: 1.48;
}

.food-donation-lead-copy p + p,
.food-donation-section p + p {
  margin-top: 14px;
}

.food-donation-doc-content {
  margin-top: 14px;
}

.food-donation-doc-content[hidden] {
  display: none;
}

.food-donation-doc-content > :first-child {
  margin-top: 0;
}

.food-donation-doc-content > :is(p, h2, h3, h4) {
  margin: 0;
  color: #000;
  font-family: var(--font-display);
  font-size: var(--type-card-body, calc(var(--type-page-intro) - 2.5px));
  line-height: 1.48;
  font-weight: 400;
}

.food-donation-doc-content > :is(p, h2, h3, h4) + :is(p, h2, h3, h4) {
  margin-top: 14px;
}

.food-donation-section {
  margin-top: clamp(20px, 2.4vw, 30px);
}

.food-donation-section--about {
  display: flow-root;
}

.bread-basket-links {
  clear: both;
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.bread-basket-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 18px;
  border: 2px solid rgba(23, 61, 24, .72);
  border-radius: 12px;
  box-sizing: border-box;
  color: #173d18;
  background: rgba(255, 255, 255, .28);
  font-family: var(--font-display);
  font-size: var(--type-meta, 20.667px);
  line-height: 1.2;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: background-color .18s ease, transform .18s ease;
}

.bread-basket-links a:hover,
.bread-basket-links a:focus-visible {
  background: rgba(255, 255, 255, .52);
  transform: translateY(-1px);
}

@media (max-width: 767px) {
  .food-donations-page {
    padding-bottom: 96px;
  }

  .bread-basket-logo-wrap {
    float: none;
    width: min(220px, 72%);
    margin: 0 auto 18px;
    padding: 8px;
  }

  .food-donation-lead-copy p,
  .food-donation-section p,
  .food-donation-doc-content > :is(p, h2, h3, h4) {
    font-size: var(--type-card-body, calc(var(--type-page-intro) - 2.5px));
    line-height: 1.48;
  }

  .food-donation-section {
    margin-top: 18px;
  }

  .bread-basket-links {
    display: grid;
    grid-template-columns: 1fr;
  }

  .bread-basket-links a {
    width: 100%;
    font-size: var(--type-meta, 19.667px);
  }
}


@media (max-width: 430px) {
  .food-donation-section--about h2 {
    clear: both;
  }
}

/* Sponsors page */
.sponsors-page {
  width: var(--site-content-width);
  margin: 0 auto;
  padding: 0 0 110px;
  color: #000;
  box-sizing: border-box;
}

/* Shared application link alignment for secondary-page headers */
.secondary-page-action-copy {
  align-self: stretch;
  display: flex;
  flex-direction: column;
}

.secondary-page-action-link {
  margin-top: auto;
  background:
    radial-gradient(
      circle at 42% 34%,
      rgba(255, 255, 255, .16) 0%,
      rgba(255, 255, 255, .04) 42%,
      rgba(0, 0, 0, .18) 100%
    ),
    rgb(var(--page-card-accent-rgb, 91, 132, 55));
}

@media (max-width: 900px) {
  .secondary-page-action-link {
    margin-top: 18px;
  }
}

.sponsor-tier-list {
  display: grid;
  gap: var(--card-standard-gap, clamp(20px, 2.4vw, 30px));
  margin-top: 24px;
}

.sponsor-tier-section {
  margin-inline: 0;
}

.sponsor-feed-status {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: var(--type-body, clamp(18.667px, 1.25vw, 21.667px));
  line-height: 1.4;
}

.sponsor-feed-status:empty {
  display: none;
}

.sponsor-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--card-compact-gap, clamp(12px, 1.4vw, 18px));
  margin-top: clamp(20px, 2.4vw, 28px);
}

.sponsor-card-grid[hidden] {
  display: none;
}

.sponsor-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: var(--card-compact-padding-block, clamp(13px, 1.35vw, 18px))
    var(--card-compact-padding-inline, clamp(14px, 1.6vw, 21px));
  border: 1px solid rgba(0, 0, 0, .26);
  border-left-width: 7px;
  border-radius: 14px;
  box-shadow: 0 2px 7px rgba(0, 0, 0, .08);
  box-sizing: border-box;
  color: #000;
  font-family: var(--font-body);
  text-align: center;
  text-decoration: none;
}

.sponsor-card--sacred-grove {
  border-left-color: rgba(91, 132, 55, .95);
  background: rgba(214, 232, 188, .58);
}

.sponsor-card--oak {
  border-left-color: rgba(116, 74, 160, .95);
  background: rgba(222, 207, 239, .56);
}

.sponsor-card--sapling {
  border-left-color: rgba(65, 126, 180, .95);
  background: rgba(194, 220, 239, .62);
}

.sponsor-card--seedling {
  border-left-color: rgba(177, 94, 49, .95);
  background: rgba(241, 210, 181, .66);
}

a.sponsor-card {
  transition: transform 160ms ease, box-shadow 160ms ease;
}

a.sponsor-card:hover,
a.sponsor-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 5px 13px rgba(0, 0, 0, .13);
}

a.sponsor-card:focus-visible {
  outline: 3px solid rgba(23, 61, 24, .72);
  outline-offset: 3px;
}

.sponsor-card-name {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--type-compact-title, clamp(23.667px, 1.7vw, 28.667px));
  line-height: 1.18;
  font-weight: 700;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.sponsor-card-level {
  margin: 4px 0 0;
  font-size: var(--type-compact-body, clamp(16.667px, 1vw, 19.667px));
  line-height: 1.25;
  font-weight: 700;
}

.sponsor-card-photo-frame {
  position: relative;
  display: flex;
  width: 100%;
  aspect-ratio: 4 / 3;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  overflow: hidden;
  border: 0;
  border-radius: 9px;
  background: transparent;
  box-sizing: border-box;
}

.sponsor-card-photo {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: contain;
  box-sizing: border-box;
}

.sponsor-card-photo-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  color: rgba(0, 0, 0, .72);
  font-size: var(--type-small, clamp(14.667px, .9vw, 16.667px));
  line-height: 1.3;
  font-weight: 700;
}

.sponsor-card-photo-frame:not(.sponsor-card-photo-frame--fallback)
  .sponsor-card-photo-fallback {
  visibility: hidden;
}

@media (max-width: 767px) {
  .sponsors-page {
    padding-bottom: 90px;
  }

  .sponsor-tier-list {
    gap: var(--card-standard-gap, 18px);
    margin-top: 18px;
  }

  .sponsor-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--card-compact-gap, 12px);
    margin-top: 20px;
  }

  .sponsor-card-grid[data-sponsor-section="Sacred Grove"] {
    grid-template-columns: minmax(0, 1fr);
  }

  .sponsor-card {
    padding: var(--card-compact-padding-block, 13px)
      var(--card-compact-padding-inline, 12px);
    border-left-width: 6px;
  }

  .sponsor-card-name {
    font-size: var(--type-compact-title, 23.667px);
  }
}

/* Volunteer page */
.volunteer-page {
  width: var(--site-content-width);
  margin: 0 auto;
  padding: 0 0 100px;
  color: #000;
}

.volunteer-info {
  display: grid;
  gap: var(--card-standard-gap);
  margin-top: 0;
}


/* Placeholder pages */
.placeholder-page {
  width: var(--site-content-width);
  margin: 0 auto;
  padding: 0 0 100px;
  color: #000;
}

.placeholder-page p:not(.secondary-page-description) {
  max-width: none;
  font-size: var(--type-body, 22.667px);
  line-height: 1.5;
}

/* Rules of Hospitality page */
.hospitality-page {
  width: var(--site-content-width);
  margin: 0 auto;
  padding: 0 0 118px;
  color: #000;
  box-sizing: border-box;
}

.hospitality-rule-panel {
  margin-top: 34px;
}

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

.hospitality-rules li {
  width: 100%;
  margin: 0;
  padding: 21px 0;
  color: #000;
  font-family: var(--font-body);
  font-size: var(--type-page-intro, clamp(20.667px, 1.8vw, 25.667px));
  line-height: 1.35;
  font-weight: 400;
  text-align: center;
  overflow-wrap: anywhere;
}

.hospitality-rules li + li {
  border-top: 1px solid rgba(var(--page-card-accent-rgb, 91, 132, 55), .30);
}


.hospitality-values {
  width: min(520px, 90%);
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: center;
  align-items: center;
  gap: clamp(28px, 5vw, 58px);
  text-align: center;
}

.hospitality-value {
  color: #000;
  font-family: var(--font-heading);
  font-size: clamp(30px, 3vw, 40.667px);
  line-height: 1;
  font-weight: 700;
}

@media (max-width: 767px) {
  .hospitality-page {
    padding: 0 0 86px;
  }

  .hospitality-rule-panel {
    margin-top: 24px;
  }

  /* iOS Safari-only fallback for the tall Rules card.
   * Safari was painting the translucent card as a gray backing rectangle.
   * Keep the normal card everywhere else, but use an opaque card surface
   * here so Safari does not have to composite the large translucent layer. */
  html.ios-safari body.rules-page-body .hospitality-rule-panel {
    background: rgb(214, 232, 188);
  }

  .hospitality-rules li {
    padding: 18px 0;
    font-size: var(--type-page-intro, clamp(18.667px, 4.7vw, 22.667px));
    line-height: 1.3;
  }

  .hospitality-values {
    width: 100%;
    margin-top: 22px;
    gap: clamp(18px, 7vw, 34px);
  }

  .hospitality-value {
    font-size: clamp(28px, 8vw, 34px);
  }
}

/* About page */
.about-page {
  padding-top: 0;
  color: #000;
}

.about-section {
  padding: 0 0 var(--card-standard-gap);
}

.about-page > .about-section:first-child {
  padding-top: 0;
}

.about-section-inner {
  width: var(--site-content-width);
  margin: 0 auto;
}

.about-eyebrow {
  margin: 0 0 6px;
  font-size: var(--type-meta, 20.667px);
  line-height: 1.3;
  letter-spacing: .08em;
  text-transform: uppercase;
}


.about-nepa {
  padding-top: 0;
}

.about-history,
.regional-prides {
  margin-top: var(--card-standard-gap);
}

.about-section-inner > .secondary-page-header + .about-history {
  margin-top: 0;
}

.about-pride {
  padding-top: 0;
}


/* Shared footer and comment form */
.site-bottom {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  isolation: isolate;
  width: 100%;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  box-sizing: border-box;
  color: #000;
  background: transparent;
}

.site-bottom::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: var(--pagan-green);
  background-image:
    radial-gradient(
      ellipse at center,
      rgba(23, 61, 24, 0) 48%,
      rgba(23, 61, 24, 0.07) 76%,
      rgba(23, 61, 24, 0.15) 100%
    ),
    var(--site-texture);
  background-position: center, center;
  background-size: 100% 100%, cover;
  background-repeat: no-repeat;
  -webkit-mask-image:
    linear-gradient(
      to bottom,
      transparent 0%,
      rgba(0, 0, 0, 0.10) 18%,
      rgba(0, 0, 0, 0.34) 42%,
      rgba(0, 0, 0, 0.66) 68%,
      rgba(0, 0, 0, 0.88) 86%,
      #000 100%
    );
  mask-image:
    linear-gradient(
      to bottom,
      transparent 0%,
      rgba(0, 0, 0, 0.10) 18%,
      rgba(0, 0, 0, 0.34) 42%,
      rgba(0, 0, 0, 0.66) 68%,
      rgba(0, 0, 0, 0.88) 86%,
      #000 100%
    );
}

.site-bottom-separator {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 7px;
  background: rgb(var(--site-bottom-line-rgb));
}

.site-bottom-inner {
  position: relative;
  z-index: 1;
  width: var(--site-content-width);
  margin: 0 auto;
  padding: 18px 0 8px;
  display: grid;
  grid-template-columns:
    minmax(190px, 0.9fr)
    minmax(360px, 1.55fr)
    minmax(190px, 0.9fr);
  column-gap: clamp(30px, 4vw, 66px);
  row-gap: 6px;
  align-items: start;
}

.site-bottom-left {
  justify-self: start;
  min-width: 0;
  padding-top: 10px;
}

.site-bottom-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding-top: 4px;
}

.site-bottom-links-right {
  justify-self: end;
  min-width: 210px;
  padding-top: 10px;
}

.site-bottom-links a {
  color: #000;
  font-family: var(--font-body);
  font-size: var(--type-body, clamp(19.667px, 1.45vw, 23.667px));
  line-height: 1.2;
  text-decoration: none;
}

.site-bottom-links a:hover,
.site-bottom-links a:focus-visible {
  text-decoration: underline;
}

.site-bottom-links a:focus-visible,
.site-bottom-contact a:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
  border-radius: 4px;
}

.site-comment-section {
  width: 100%;
  margin: 0;
  color: #000;
}

.site-comment-box {
  width: 100%;
  padding: 0;
  box-sizing: border-box;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: center;
}

.site-comment-box h2 {
  margin: 0 0 16px;
  font-family: var(--font-body);
  font-size: var(--type-section-title, clamp(28.667px, 3vw, 38.667px));
  line-height: 1.1;
  font-weight: 400;
  text-align: center;
}

.site-comment-form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.site-comment-form textarea {
  width: 100%;
  min-height: 132px;
  padding: 12px 14px;
  box-sizing: border-box;
  resize: vertical;
  border: 2px solid rgba(0, 0, 0, 0.55);
  border-radius: 8px;
  background: #c9d9bf;
  color: #000;
  font: 20.667px/1.4 "Atkinson Hyperlegible", Arial, sans-serif;
}

.site-comment-form textarea:focus-visible,
.site-comment-form button:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.site-comment-form button {
  margin-top: 6px;
  padding: 9px 24px;
  border: 2px solid rgba(0, 0, 0, 0.68);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.3);
  color: #000;
  font-family: var(--font-body);
  font-size: var(--type-meta, 20.667px);
  cursor: pointer;
}

.site-comment-form button:hover {
  background: rgba(255, 255, 255, 0.5);
}

.site-comment-form textarea:disabled {
  opacity: 0.68;
  cursor: default;
}

.site-comment-form button:disabled {
  cursor: default;
  opacity: 0.62;
}

.site-comment-status {
  min-height: 0;
  margin: 4px 0 0;
  font-family: var(--font-body);
  font-size: var(--type-meta, 17.667px);
}

.site-comment-status:empty {
  display: none;
}

.site-bottom-contact {
  margin-top: 14px;
  padding-top: 0;
  text-align: left;
}

.site-bottom-contact-icons {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
}

.site-bottom-contact a {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.site-bottom-contact img {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.comment-honeypot,
.comment-submit-target {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

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

.site-credit {
  grid-column: 1 / -1;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.site-credit p {
  margin: 0;
  font-size: var(--type-small, 14.667px);
  line-height: 1.3;
  color: rgba(0, 0, 0, 0.82);
}

.site-credit a {
  color: inherit;
  text-decoration: underline;
}

.site-credit a:hover,
.site-credit a:focus-visible {
  color: #2a0b57;
}

.site-credit a:focus-visible {
  outline: 2px solid rgba(42, 11, 87, 0.7);
  outline-offset: 2px;
  border-radius: 3px;
}

@media (max-width: 767px) {
  .site-bottom-inner {
    padding: 16px 0 8px;
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 14px;
  }

  .site-bottom-left,
  .site-bottom-links-right {
    justify-self: start;
    min-width: 0;
    padding-top: 0;
  }

  .site-bottom-links {
    padding-top: 0;
  }

  .site-comment-box h2 {
    margin-bottom: 14px;
    font-size: clamp(34px, 9vw, 40px);
    font-weight: 400;
  }

  .site-comment-form textarea {
    min-height: 120px;
    font-size: var(--type-body, 19.667px);
  }

  .site-comment-form button {
    font-size: var(--type-meta, 19.667px);
  }

  .site-credit {
    margin-top: 0;
  }

  .site-credit p {
    font-size: var(--type-small, 13.667px);
  }
}

/* Programming detail pages: Presenters, Rituals, and Entertainment */
.presenters-page,
.rituals-page,
.entertainment-page {
  width: var(--site-content-width);
  margin: 0 auto;
  padding: 0 0 110px;
  box-sizing: border-box;
  color: #000;
}

.presenters-status,
.rituals-status,
.entertainment-status {
  box-sizing: border-box;
  border-radius: 14px;
  text-align: center;
}

.presenters-status {
  width: min(100%, 760px);
  margin: 18px auto 28px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(0, 0, 0, .20);
  border-left: 7px solid rgba(91, 132, 55, .9);
  border-radius: 16px;
  background: rgba(214, 232, 188, .58);
  font-family: var(--font-body);
}

.rituals-status,
.entertainment-status {
  width: min(100%, 900px);
  margin: 16px auto 28px;
  padding: 24px 22px;
  border: 1px solid rgba(0, 0, 0, .22);
  border-left-width: 7px;
  border-left-style: solid;
}

.rituals-status {
  border-left-color: rgba(65, 126, 180, .88);
  background: rgba(194, 220, 239, .62);
}

.entertainment-status {
  border-left-color: rgba(177, 94, 49, .9);
  background: rgba(241, 210, 181, .66);
}

.presenters-status[hidden],
.rituals-status[hidden],
.entertainment-status[hidden] {
  display: none;
}

.presenters-status h2,
.rituals-status h2,
.entertainment-status h2 {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-size: var(--type-section-title, clamp(29.667px, 2.35vw, 38.667px));
  line-height: 1.08;
  font-weight: 700;
}

.presenters-status p,
.rituals-status p,
.entertainment-status p {
  margin: 0;
  font-size: var(--type-body, clamp(18.667px, 1.25vw, 21.667px));
  line-height: 1.45;
}

.presenters-status--error,
.rituals-status--error,
.entertainment-status--error {
  background: rgba(255, 255, 255, .18);
}

.presenters-list,
.rituals-list,
.entertainment-list {
  display: grid;
  width: 100%;
  margin: 0 auto;
  gap: var(--card-detail-gap, clamp(20px, 2.4vw, 30px));
}

.presenter-card,
.ritual-card,
.entertainment-card {
  display: flow-root;
  width: 100%;
  padding: var(--card-detail-padding, clamp(18px, 2.4vw, 28px));
  border: 1px solid rgba(0, 0, 0, .28);
  border-left-width: 7px;
  border-left-style: solid;
  border-radius: 14px;
  box-shadow: 0 2px 7px rgba(0, 0, 0, .08);
  box-sizing: border-box;
  font-family: var(--font-body);
  scroll-margin-top: 86px;
}

.presenter-card {
  border-left-color: rgba(91, 132, 55, .9);
  background: rgba(255, 255, 255, .55);
}

.presenter-card--presentation {
  border-left-color: rgba(91, 132, 55, .9);
  background: rgba(214, 232, 188, .58);
}

.presenter-card--workshop {
  border-left-color: rgba(116, 74, 160, .88);
  background: rgba(222, 207, 239, .56);
}

.presenter-card--keynote {
  border-top-width: 2px;
  border-right-width: 2px;
  border-bottom-width: 2px;
  box-shadow: 0 3px 11px rgba(0, 0, 0, .11);
}

.ritual-card {
  border-left-color: rgba(65, 126, 180, .88);
  background: rgba(194, 220, 239, .62);
}

.entertainment-card {
  border-left-color: rgba(177, 94, 49, .9);
  background: rgba(241, 210, 181, .66);
}

.presenter-photo-frame,
.ritual-photo-frame,
.entertainment-photo-frame {
  position: relative;
  float: left;
  width: clamp(135px, 23%, 205px);
  aspect-ratio: 4 / 5;
  margin: 0 clamp(18px, 2.4vw, 28px) 14px 0;
  overflow: hidden;
  border: 0;
  border-radius: 10px;
  background: transparent;
  box-sizing: border-box;
}

.presenter-photo,
.ritual-photo,
.entertainment-photo {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.presenter-photo-fallback,
.ritual-photo-fallback,
.entertainment-photo-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  box-sizing: border-box;
  font-family: var(--font-body);
  font-size: var(--type-small, clamp(15.667px, 1vw, 18.667px));
  line-height: 1.25;
  font-weight: 700;
  text-align: center;
}

.presenter-photo-frame:not(.presenter-photo-frame--fallback) .presenter-photo-fallback,
.ritual-photo-frame:not(.ritual-photo-frame--fallback) .ritual-photo-fallback,
.entertainment-photo-frame:not(.entertainment-photo-frame--fallback) .entertainment-photo-fallback {
  visibility: hidden;
}

.presenter-card-header,
.ritual-card-header,
.entertainment-card-header {
  display: flow-root;
  min-width: 0;
  max-width: 100%;
  margin: 0 0 8px;
}

.program-card-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin: 0 0 6px;
}

.program-label {
  display: inline-block;
  padding: 3px 8px;
  border: 1px solid rgba(0, 0, 0, .28);
  border-radius: 999px;
  background: rgba(255, 255, 255, .34);
  font-size: var(--type-small, clamp(13.667px, .82vw, 15.667px));
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: .025em;
}

.presenter-keynote-label,
.ritual-keynote-label {
  text-transform: uppercase;
  letter-spacing: .065em;
}

.presenter-name,
.ritual-name,
.entertainment-name {
  width: 100%;
  margin: 0;
  font-family: var(--font-heading);
  font-size: var(--type-program-primary, clamp(31.667px, 2.5vw, 42.667px));
  line-height: 1.08;
  font-weight: 400;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.presenter-offering,
.entertainment-event,
.ritual-presenter {
  margin: 8px 0 0;
  font-size: var(--type-card-title, clamp(22.667px, 1.65vw, 28.667px));
  line-height: 1.2;
  font-weight: 700;
  white-space: normal;
  overflow-wrap: break-word;
}

.presenter-when-where,
.ritual-when-where,
.entertainment-when-where {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 24px;
  font-size: var(--type-card-body, calc(var(--type-page-intro) - 2.5px));
  line-height: 1.4;
  margin: 8px 0 0;
}

.presenter-description,
.presenter-bio,
.ritual-description,
.ritual-bio,
.entertainment-description,
.entertainment-bio {
  font-size: var(--type-card-body, calc(var(--type-page-intro) - 2.5px));
  line-height: 1.5;
  white-space: pre-line;
}

.presenter-description,
.ritual-description,
.entertainment-description {
  margin: 10px 0 0;
}

.presenter-bio,
.ritual-bio,
.entertainment-bio {
  margin: 6px 0 0;
}

.presenter-bio-heading,
.ritual-bio-heading,
.entertainment-bio-heading {
  margin: 17px 0 5px;
  font-size: var(--type-subheading, clamp(19.667px, 1.25vw, 22.667px));
  line-height: 1.25;
  font-weight: 700;
}

.ritual-presenter a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.presenter-action-link,
.ritual-action-link,
.entertainment-action-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  font-size: var(--type-meta, clamp(17.667px, 1.08vw, 20.667px));
  line-height: 1.3;
  font-weight: 700;
  text-decoration: none;
}

.presenter-action-icon,
.ritual-action-icon,
.entertainment-action-icon {
  display: inline-flex;
  flex: 0 0 1.35em;
  width: 1.35em;
  justify-content: center;
  text-align: center;
  text-decoration: none;
}

.presenter-action-text,
.ritual-action-text,
.entertainment-action-text {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.presenter-action-link:hover .presenter-action-text,
.presenter-action-link:focus-visible .presenter-action-text,
.ritual-action-link:hover .ritual-action-text,
.ritual-action-link:focus-visible .ritual-action-text,
.entertainment-action-link:hover .entertainment-action-text,
.entertainment-action-link:focus-visible .entertainment-action-text {
  text-decoration-thickness: 2px;
}

.presenter-actions,
.ritual-actions,
.entertainment-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  margin-top: 16px;
}

.presenter-links,
.ritual-links,
.entertainment-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px 18px;
  margin: 17px 0 0;
  font-size: var(--type-meta, clamp(18.667px, 1.15vw, 20.667px));
  line-height: 1.4;
}

.presenter-links-heading,
.ritual-links-heading,
.entertainment-links-heading {
  font-weight: 700;
}

.presenter-external-link,
.ritual-external-link,
.entertainment-external-link {
  color: inherit;
  overflow-wrap: break-word;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.presenter-external-link { font-weight: 400; }

.presenter-external-link:hover,
.presenter-external-link:focus-visible,
.ritual-external-link:hover,
.ritual-external-link:focus-visible,
.entertainment-external-link:hover,
.entertainment-external-link:focus-visible {
  text-decoration-thickness: 2px;
}

@media (max-width: 767px) {
  .presenters-page,
  .rituals-page,
  .entertainment-page {
    padding-bottom: 90px;
  }

  .presenters-status,
  .rituals-status,
  .entertainment-status {
    margin: 12px auto 22px;
    padding: 20px 16px;
  }

  .presenters-list,
  .rituals-list,
  .entertainment-list {
    gap: var(--card-detail-gap, 16px);
  }

  .presenter-card,
  .ritual-card,
  .entertainment-card {
    padding: var(--card-detail-padding, 16px);
    border-left-width: 6px;
  }

  .presenter-photo-frame,
  .ritual-photo-frame,
  .entertainment-photo-frame {
    width: clamp(105px, 31%, 145px);
    margin: 0 15px 10px 0;
  }

  .presenter-name,
  .ritual-name,
  .entertainment-name {
    font-size: var(--type-program-primary, clamp(30px, 8vw, 36.667px));
  }

  /* On phones the secondary program line starts a full-width content stack
     beneath the floated photo. Location/time and description follow it in
     normal document order, preserving the same hierarchy on all three pages. */
  .presenter-offering,
  .ritual-presenter,
  .entertainment-event {
    clear: both;
    width: 100%;
    margin-top: 12px;
    box-sizing: border-box;
    font-size: var(--type-card-title, 22.667px);
  }

  .presenter-when-where,
  .ritual-when-where,
  .entertainment-when-where,
  .presenter-description,
  .ritual-description,
  .entertainment-description {
    clear: both;
    width: 100%;
    box-sizing: border-box;
  }

  .presenter-when-where,
  .presenter-description,
  .presenter-bio,
  .ritual-when-where,
  .ritual-description,
  .ritual-bio,
  .entertainment-when-where,
  .entertainment-description,
  .entertainment-bio {
    font-size: var(--type-card-body, calc(var(--type-page-intro) - 2.5px));
  }

  .presenter-when-where,
  .presenter-description,
  .presenter-bio,
  .entertainment-when-where,
  .entertainment-description,
  .entertainment-bio {
    line-height: 1.45;
  }

  .presenter-bio-heading,
  .ritual-bio-heading,
  .entertainment-bio-heading {
    font-size: var(--type-subheading, 19.667px);
  }

  .presenter-actions,
  .ritual-actions,
  .entertainment-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
  }

  .presenter-action-link,
  .ritual-action-link,
  .entertainment-action-link {
    font-size: var(--type-meta, 18.667px);
  }

  .entertainment-actions {
    clear: both;
    width: 100%;
    box-sizing: border-box;
  }
}

/* Past Pagan Prides archive */
/* Archive typography is explicit rather than relying only on subpage variable
   inheritance. Shared site header/navigation keep their own Anton/Atkinson rules. */
body.archive-page-body .archive-page,
body.archive-page-body .archive-page h1,
body.archive-page-body .archive-page h2,
body.archive-page-body .archive-page h3,
body.archive-page-body .archive-page p,
body.archive-page-body .archive-page span,
body.archive-page-body .archive-page a,
body.archive-page-body .archive-page div,
body.archive-page-body .archive-gallery-dialog,
body.archive-page-body .archive-gallery-dialog p {
  font-family: "Marcellus", Georgia, serif;
}

.archive-year-links {
  display: grid;
  gap: 12px;
  margin-top: clamp(18px, 2vw, 26px);
}

.archive-year-link {
  display: block;
  padding: 15px 18px;
  border: 1px solid rgba(0, 0, 0, .24);
  border-left: 6px solid rgba(91, 132, 55, .9);
  border-radius: 11px;
  color: inherit;
  background: rgba(255, 255, 255, .28);
  text-decoration: none;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .06);
  transition: transform .14s ease, background-color .14s ease, box-shadow .14s ease;
}

.archive-year-link:hover,
.archive-year-link:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, .4);
  box-shadow: 0 3px 8px rgba(0, 0, 0, .1);
}

.archive-year-link-title,
.archive-year-link-meta {
  display: block;
}

.archive-year-link-title {
  font-size: var(--type-card-title);
  font-weight: 700;
  line-height: 1.2;
}

.archive-year-link-meta {
  margin-top: 4px;
  font-size: var(--type-meta);
  line-height: 1.35;
}

.archive-year-empty,
.archive-empty {
  margin: 0;
  font-size: var(--type-body);
  line-height: 1.45;
}

.archive-page {
  width: 100%;
  padding: 0 0 118px;
  color: #000;
  box-sizing: border-box;
}

.archive-section {
  padding: 0 0 clamp(20px, 2.4vw, 30px);
}

.archive-page-inner {
  width: var(--site-content-width);
  margin: 0 auto;
}

.archive-back-link-wrap {
  margin: 0 0 clamp(16px, 2vw, 24px);
}

.archive-back-link {
  color: inherit;
  font-size: var(--type-meta);
  text-decoration: underline;
  text-decoration-thickness: .07em;
  text-underline-offset: .12em;
}

.archive-status {
  margin-top: clamp(14px, 1.8vw, 22px);
  font-size: var(--type-card-body, calc(var(--type-page-intro) - 2.5px));
  line-height: 1.45;
}

.archive-status--error {
  border-left-color: rgba(160, 54, 54, .9);
}

.archive-content-section,
.archive-overview {
  margin-top: clamp(20px, 2.4vw, 30px);
}

.archive-overview h2,
.archive-content-section > h2 {
  margin: 0 0 12px;
  font-size: var(--type-section-title);
  line-height: 1.05;
  font-weight: 700;
}

.archive-overview-meta {
  margin: 0;
  font-size: var(--type-subheading);
  line-height: 1.4;
}

.archive-overview-intro {
  margin-top: 14px;
  font-size: var(--type-card-body, calc(var(--type-page-intro) - 2.5px));
  line-height: 1.48;
}

.archive-overview-intro > :first-child {
  margin-top: 0;
}

.archive-overview-intro > :last-child {
  margin-bottom: 0;
}

.archive-overview-intro > p {
  margin: 0;
}

.archive-overview-intro > p + p {
  margin-top: 14px;
}

.archive-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.archive-summary-chip {
  display: inline-block;
  padding: 6px 10px;
  border: 1px solid rgba(0, 0, 0, .24);
  border-radius: 999px;
  background: rgba(255, 255, 255, .34);
  font-size: var(--type-small);
  line-height: 1.2;
  font-weight: 700;
}

.archive-events {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.archive-event-card {
  display: grid;
  grid-template-columns: clamp(112px, 31%, 156px) minmax(0, 1fr);
  gap: clamp(14px, 1.7vw, 20px);
  min-width: 0;
  padding: clamp(14px, 1.7vw, 20px);
  border: 1px solid rgba(0, 0, 0, .28);
  border-left: 7px solid rgba(91, 132, 55, .9);
  border-radius: 13px;
  background: rgba(214, 232, 188, .58);
  box-shadow: 0 2px 7px rgba(0, 0, 0, .08);
  box-sizing: border-box;
}

.archive-event-card--workshop {
  border-left-color: rgba(116, 74, 160, .88);
  background: rgba(222, 207, 239, .56);
}

.archive-event-card--ritual {
  border-left-color: rgba(65, 126, 180, .88);
  background: rgba(194, 220, 239, .62);
}

.archive-event-card--entertainment {
  border-left-color: rgba(177, 94, 49, .9);
  background: rgba(241, 210, 181, .66);
}

.archive-event-thumbnail {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  align-self: start;
  overflow: hidden;
  border: 0;
  border-radius: 9px;
  background: transparent;
  box-sizing: border-box;
}

.archive-event-thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.archive-event-card--portrait-layout {
  display: flow-root;
}

.archive-event-card--portrait-layout .archive-event-thumbnail {
  float: left;
  width: clamp(68px, 21%, 103px);
  aspect-ratio: 4 / 5;
  margin: 0 clamp(12px, 1.6vw, 16px) 10px 0;
}

.archive-event-card--portrait-layout .archive-event-card-body {
  display: flow-root;
}

.archive-event-thumbnail--fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  font-size: var(--type-small);
  line-height: 1.25;
  font-weight: 700;
  text-align: center;
}

.archive-event-card-body {
  min-width: 0;
}

.archive-event-type {
  display: inline-block;
  margin: 0 0 5px;
  padding: 3px 8px;
  border: 1px solid rgba(0, 0, 0, .24);
  border-radius: 999px;
  background: rgba(255, 255, 255, .34);
  font-size: var(--type-small);
  line-height: 1.15;
  font-weight: 700;
}

.archive-event-title {
  margin: 0;
  font-size: var(--type-card-title);
  line-height: 1.15;
  font-weight: 700;
}

.archive-event-presenter,
.archive-event-when-where {
  margin: 7px 0 0;
  line-height: 1.38;
}

.archive-event-presenter {
  font-size: var(--type-meta);
}

.archive-event-title-link {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  line-height: inherit;
  text-align: left;
  text-decoration: underline;
  text-decoration-thickness: .07em;
  text-underline-offset: .12em;
  cursor: pointer;
}

.archive-event-title-link:hover,
.archive-event-title-link:focus-visible {
  text-decoration-thickness: .11em;
}

.archive-event-title-link:focus-visible {
  outline: 3px solid rgba(var(--page-card-accent-rgb, 91, 132, 55), .72);
  outline-offset: 3px;
  border-radius: 3px;
}

.archive-event-presenter a {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: .07em;
  text-underline-offset: .12em;
}

.archive-event-when-where {
  font-size: var(--type-small);
  font-weight: 700;
}

.archive-name-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--card-compact-gap, 12px);
}

.archive-name-card {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: var(--card-compact-padding-block, 13px)
    var(--card-compact-padding-inline, 14px);
  border: 1px solid rgba(0, 0, 0, .23);
  border-radius: 9px;
  background: rgba(255, 255, 255, .3);
  box-sizing: border-box;
  font-size: var(--type-compact-title, calc(var(--type-card-title) + 2px));
  line-height: 1.2;
  font-weight: 700;
  overflow-wrap: anywhere;
}


a.archive-name-card {
  color: #000;
  text-decoration: none;
  transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

a.archive-name-card:visited {
  color: #000;
}

a.archive-name-card:hover,
a.archive-name-card:focus-visible {
  background: rgba(255, 255, 255, .48);
  box-shadow: 0 4px 10px rgba(0, 0, 0, .11);
  transform: translateY(-2px);
}

a.archive-name-card:focus-visible {
  outline: 3px solid rgba(var(--page-card-accent-rgb, 91, 132, 55), .72);
  outline-offset: 3px;
}

.archive-sponsors {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--card-compact-gap, 12px);
}

.archive-sponsor-card {
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 74px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--card-compact-padding-block, 13px)
    var(--card-compact-padding-inline, 14px);
  border: 1px solid rgba(0, 0, 0, .23);
  border-left: 6px solid rgba(var(--page-card-accent-rgb, 91, 132, 55), .9);
  border-radius: 10px;
  background: rgba(var(--page-card-surface-rgb, 214, 232, 188), .42);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .06);
  box-sizing: border-box;
  color: #000;
  font-family: var(--font-body);
  text-align: center;
  text-decoration: none;
}

a.archive-sponsor-card {
  transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

a.archive-sponsor-card:visited {
  color: #000;
}

a.archive-sponsor-card:hover,
a.archive-sponsor-card:focus-visible {
  background: rgba(var(--page-card-surface-rgb, 214, 232, 188), .62);
  box-shadow: 0 4px 10px rgba(0, 0, 0, .12);
  transform: translateY(-2px);
}

a.archive-sponsor-card:focus-visible {
  outline: 3px solid rgba(var(--page-card-accent-rgb, 91, 132, 55), .72);
  outline-offset: 3px;
}

.archive-sponsor-name {
  display: block;
  margin: 0;
  color: #000;
  font-family: var(--font-body);
  font-size: var(--type-compact-title, calc(var(--type-card-title) + 2px));
  line-height: 1.16;
  font-weight: 700;
  opacity: 1;
  visibility: visible;
  overflow-wrap: anywhere;
}

.archive-sponsor-level {
  display: block;
  margin: 5px 0 0;
  color: #000;
  font-family: var(--font-body);
  font-size: var(--type-compact-body, var(--type-meta));
  line-height: 1.25;
  font-weight: 700;
  opacity: 1;
  visibility: visible;
}

.archive-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(8px, 1.2vw, 14px);
}

.archive-gallery-item {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 9px;
  background: transparent;
  cursor: zoom-in;
  box-shadow: none;
}

.archive-gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .16s ease;
}

.archive-gallery-item:hover img,
.archive-gallery-item:focus-visible img {
  transform: scale(1.025);
}

.archive-event-dialog {
  width: min(92vw, 760px);
  max-width: none;
  max-height: 88vh;
  padding: 48px clamp(20px, 4vw, 34px) 28px;
  overflow-y: auto;
  border: 1px solid rgba(0, 0, 0, .4);
  border-radius: 12px;
  background: rgba(245, 245, 239, .98);
  box-sizing: border-box;
}

.archive-event-dialog::backdrop {
  background: rgba(0, 0, 0, .76);
}

.archive-event-dialog h2 {
  margin: 0 0 16px;
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.15;
}

.archive-event-dialog p {
  margin: 0;
  font-size: var(--type-card-body, calc(var(--type-page-intro) - 2.5px));
  line-height: 1.55;
  white-space: pre-line;
}

.archive-event-dialog-close {
  position: absolute;
  top: 6px;
  right: 9px;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #000;
  background: transparent;
  font-family: Arial, sans-serif;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.archive-gallery-dialog {
  width: min(92vw, 1100px);
  max-width: none;
  max-height: 92vh;
  padding: 44px 14px 14px;
  border: 1px solid rgba(0, 0, 0, .4);
  border-radius: 12px;
  background: rgba(245, 245, 239, .98);
  box-sizing: border-box;
}

.archive-gallery-dialog::backdrop {
  background: rgba(0, 0, 0, .76);
}

.archive-gallery-dialog img {
  display: block;
  max-width: 100%;
  max-height: calc(92vh - 100px);
  margin: 0 auto;
  object-fit: contain;
}

.archive-gallery-dialog p {
  margin: 10px 0 0;
  font-size: var(--type-meta);
  line-height: 1.35;
  text-align: center;
}

.archive-gallery-dialog-close {
  position: absolute;
  top: 6px;
  right: 9px;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #000;
  background: transparent;
  font-family: Arial, sans-serif;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 1000px) {
  .archive-events {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 767px) {
  .archive-page {
    padding-bottom: 84px;
  }

  .archive-year-link {
    padding: 13px 14px;
    border-left-width: 5px;
  }

  .archive-event-card {
    grid-template-columns: clamp(96px, 31%, 128px) minmax(0, 1fr);
    gap: 12px;
    padding: 13px;
    border-left-width: 6px;
  }

  .archive-name-grid,
  .archive-sponsors {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 430px) {
  .archive-event-card {
    grid-template-columns: 104px minmax(0, 1fr);
  }

  .archive-event-title {
    font-size: clamp(19px, 5.4vw, 23px);
  }
}


/* Festival Merch */
.festival-merch-page .merch-content-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 48px;
}

.festival-merch-page .merch-intro-card {
  margin-bottom: 28px;
}

.festival-merch-page .merch-intro-card p {
  margin: 0;
}

.festival-merch-page .merch-feed-status {
  margin: 8px 0 24px;
  color: #000;
  font-family: var(--font-display);
  font-size: var(--type-card-body, calc(var(--type-page-intro) - 2.5px));
  line-height: 1.45;
  text-align: center;
}

.festival-merch-page .merch-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.festival-merch-page .merch-product-card,
.festival-merch-page .merch-product-card:visited {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, .28);
  border-left: 7px solid rgba(var(--page-card-accent-rgb, 91, 132, 55), .9);
  border-radius: 14px;
  background: rgba(var(--page-card-surface-rgb, 214, 232, 188), .58);
  box-shadow: 0 2px 7px rgba(0, 0, 0, .08);
  color: #000;
  text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.festival-merch-page .merch-product-card:hover {
  transform: translateY(-3px);
  background: rgba(var(--page-card-surface-rgb, 214, 232, 188), .72);
  box-shadow: 0 6px 15px rgba(0, 0, 0, .14);
}

.festival-merch-page .merch-product-card:focus-visible {
  outline: 3px solid rgba(var(--page-card-accent-rgb, 91, 132, 55), .72);
  outline-offset: 3px;
}

.festival-merch-page .merch-product-media {
  display: grid;
  width: 100%;
  aspect-ratio: 3 / 4;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 0, 0, .18);
  background: rgba(var(--page-card-surface-rgb, 214, 232, 188), .24);
}

.festival-merch-page .merch-product-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.festival-merch-page .merch-product-image-placeholder {
  padding: 24px;
  color: rgba(0, 0, 0, .7);
  font-family: var(--font-display);
  font-size: var(--type-card-body, 18px);
  text-align: center;
}

.festival-merch-page .merch-product-card-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 12px 14px 14px;
}

.festival-merch-page .merch-product-card-copy h2 {
  margin: 0;
  color: #000;
  font-family: var(--font-heading);
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.18;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.festival-merch-page .merch-product-price {
  margin: 7px 0 10px;
  color: #000;
  font-family: var(--font-display);
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.25;
  font-weight: 700;
}

.festival-merch-page .merch-product-action,
.festival-merch-page .merch-collection-link,
.festival-merch-page .merch-collection-link:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 7px 14px;
  border: 1px solid rgba(0, 0, 0, .32);
  border-radius: 12px;
  background: rgba(var(--page-card-accent-rgb, 91, 132, 55), .92);
  color: #fff;
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.15;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
}

.festival-merch-page .merch-product-action {
  width: 100%;
  margin-top: auto;
}

.festival-merch-page .merch-collection-action {
  margin-top: 30px;
  text-align: center;
}

.festival-merch-page .merch-collection-link {
  min-width: min(320px, 100%);
}

.festival-merch-page .merch-collection-link:hover {
  filter: brightness(.92);
}

.festival-merch-page .merch-collection-link:focus-visible {
  outline: 3px solid rgba(var(--page-card-accent-rgb, 91, 132, 55), .72);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .festival-merch-page .merch-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .festival-merch-page .merch-content-shell {
    width: min(100% - 24px, 1180px);
  }

  .festival-merch-page .merch-product-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .festival-merch-page .merch-product-card {
    border-left-width: 6px;
  }

  .festival-merch-page .merch-product-card-copy {
    padding: 11px 13px 13px;
  }
}

/* Keep year-based page titles in the layout while public festival metadata loads. */
.secondary-page-title.dynamic-year-title {
  visibility: hidden;
}

.secondary-page-title.dynamic-year-title.is-ready {
  visibility: visible;
}
