/*
Theme Name: Helper Arts Festival
Theme URI: https://www.helperartsfestival.com
Author: Helper Arts Festival
Author URI: https://www.helperartsfestival.com
Description: Official WordPress theme for the Helper Arts Festival — Helper, Utah. An annual celebration of music, art, and community.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: helper-arts-festival
Tags: festival, arts, music, events, custom-menu, featured-images, full-width-template
*/

/* =========================================================
   CSS VARIABLES — Brand Colors & Typography
   ========================================================= */
:root {
  --color-teal:       #2ABFBF;
  --color-teal-dark:  #1A9A9A;
  --color-navy:       #1B2A4A;
  --color-navy-dark:  #111E36;
  --color-cream:      #F5F0E8;
  --color-white:      #FFFFFF;
  --color-black:      #0D0D0D;
  --color-gold:       #D4A847;
  --color-gray-light: #E8E4DC;
  --color-gray-mid:   #8A8278;
  --color-text:       #2C2824;

  --font-display:  'Playfair Display', Georgia, serif;
  --font-heading:  'Oswald', 'Impact', sans-serif;
  --font-body:     'Source Serif 4', Georgia, serif;
  --font-nav:      'Oswald', sans-serif;
  --font-mono:     'Courier New', monospace;

  --max-width:     1200px;
  --section-pad:   80px 24px;
  --border-radius: 4px;

  --transition:    0.25s ease;
  --shadow-sm:     0 2px 8px rgba(0,0,0,0.12);
  --shadow-md:     0 6px 24px rgba(0,0,0,0.18);
  --shadow-lg:     0 16px 48px rgba(0,0,0,0.24);
}

/* =========================================================
   RESET & BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: var(--color-teal-dark); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-navy); }
ul { list-style: none; }

/* =========================================================
   TYPOGRAPHY
   ========================================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-navy);
  line-height: 1.15;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1 { font-size: clamp(2.4rem, 6vw, 5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 2rem); }
h4 { font-size: 1.2rem; }

p { margin-bottom: 1.2em; max-width: 68ch; }

.eyebrow {
  font-family: var(--font-nav);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: 0.5rem;
}

/* =========================================================
   LAYOUT HELPERS
   ========================================================= */
.container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding: var(--section-pad); }

.text-center { text-align: center; }
.text-center p { margin-inline: auto; }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-block;
  font-family: var(--font-nav);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--border-radius);
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  font-weight: 600;
}

.btn-primary {
  background: var(--color-teal);
  color: var(--color-white);
  border-color: var(--color-teal);
}
.btn-primary:hover {
  background: var(--color-teal-dark);
  border-color: var(--color-teal-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--color-navy);
  border-color: var(--color-navy);
}
.btn-outline:hover {
  background: var(--color-navy);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--color-gold);
  color: var(--color-navy-dark);
  border-color: var(--color-gold);
}
.btn-gold:hover {
  background: #b8912e;
  border-color: #b8912e;
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* =========================================================
   SITE HEADER & NAVIGATION
   ========================================================= */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-navy-dark);
  box-shadow: var(--shadow-md);
  transition: background 0.3s ease, box-shadow 0.3s ease;
  /* Never allow the header to be hidden or transparent */
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
  pointer-events: auto !important;
}

#site-header.scrolled {
  background: rgba(17, 30, 54, 0.97);
  /* backdrop-filter omitted on purpose — fails silently on many mobile browsers
     and can make the header look invisible against a dark hero background */
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

/* Mobile: always use a fully opaque background so the header never
   disappears when scrolling over a dark hero section */
@media (max-width: 768px) {
  #site-header {
    background: var(--color-navy-dark) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  }
  #site-header.scrolled {
    background: var(--color-navy-dark) !important;
  }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 24px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
/* Logo image version — sized to match header height comfortably */
.site-logo .logo-img {
  display: block;
  height: 38px;
  width: auto;
  object-fit: contain;
}
/* SEO title — in the DOM for crawlers, invisible to eyes */
.site-logo .logo-seo-title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}
/* Text version fallback */
.site-logo .logo-text {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  color: var(--color-white);
  text-transform: uppercase;
  line-height: 1.1;
}
.site-logo .logo-text span { color: var(--color-teal); }

/* ── Primary Nav ── */
#primary-nav {
  display: flex;
  align-items: center;
}

/* Top-level list */
#primary-nav > ul {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* All nav links */
#primary-nav ul li {
  position: relative;
  list-style: none;
}

#primary-nav ul li a {
  font-family: var(--font-nav);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  padding: 8px 10px;
  border-radius: 3px;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

#primary-nav ul li a:hover,
#primary-nav ul li.current-menu-item > a {
  color: var(--color-teal);
  background: rgba(42,191,191,0.08);
}

/* ── Desktop dropdown arrow on parent items ── */
#primary-nav > ul > li.menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  margin-left: 3px;
  opacity: 0.6;
  transition: transform 0.2s;
  flex-shrink: 0;
}
#primary-nav > ul > li.menu-item-has-children:hover > a::after,
#primary-nav > ul > li.menu-item-has-children.is-open > a::after {
  transform: rotate(180deg);
  opacity: 1;
}

/* ── Desktop sub-menu dropdown ── */
#primary-nav ul .sub-menu {
  display: block;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 180px;
  background: #111e36;
  border: 1px solid rgba(42,191,191,0.2);
  border-radius: 6px;
  padding: 6px 0;
  list-style: none;
  margin: 0;
  z-index: 1100;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

#primary-nav > ul > li.menu-item-has-children:hover .sub-menu,
#primary-nav > ul > li.menu-item-has-children:focus-within .sub-menu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

#primary-nav .sub-menu li a {
  font-size: 0.70rem;
  padding: 9px 16px;
  border-radius: 0;
  color: rgba(255,255,255,0.78);
  display: block;
}
#primary-nav .sub-menu li a:hover {
  background: rgba(42,191,191,0.1);
  color: var(--color-teal);
}
#primary-nav .sub-menu li + li {
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* ── Donate button ── */
.nav-donate a {
  background: var(--color-gold) !important;
  color: var(--color-navy-dark) !important;
  padding: 8px 14px !important;
  border-radius: var(--border-radius) !important;
  font-weight: 700 !important;
}
.nav-donate a:hover {
  background: #b8912e !important;
  color: var(--color-white) !important;
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  margin: 5px 0;
  transition: all 0.3s;
}

/* =========================================================
   HERO SECTION
   Hero styles are defined inline in front-page.php which
   owns this component. Do not add rules here — they will
   conflict with the Customizer-driven colour values.
   ========================================================= */

/* =========================================================
   EVENT HIGHLIGHTS STRIP
   ========================================================= */
#event-strip {
  background: var(--color-teal);
  padding: 0;
  overflow: hidden;
}

.event-strip-inner {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
}
.event-strip-inner::-webkit-scrollbar { display: none; }

.event-strip-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 32px;
  border-right: 1px solid rgba(255,255,255,0.2);
  font-family: var(--font-nav);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-navy-dark);
  font-weight: 600;
  white-space: nowrap;
}
.event-strip-item svg { width: 18px; height: 18px; opacity: 0.7; }

/* =========================================================
   ABOUT / INTRO SECTION
   ========================================================= */
#about {
  background: var(--color-cream);
  padding: var(--section-pad);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: var(--max-width);
  margin-inline: auto;
}

.about-text h2 { margin-bottom: 20px; }
.about-text p { color: #4a4540; }
.about-text .btn { margin-top: 24px; }

.about-image {
  position: relative;
}
.about-image img {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
}
/* Decorative offset frame */
.about-image::before {
  content: '';
  position: absolute;
  top: -16px;
  left: -16px;
  right: 16px;
  bottom: 16px;
  border: 3px solid var(--color-teal);
  border-radius: var(--border-radius);
  z-index: 0;
}
.about-image img { position: relative; z-index: 1; }

/* =========================================================
   EVENTS / PROGRAMMING GRID
   ========================================================= */
#programming {
  background: var(--color-navy);
  padding: var(--section-pad);
  color: var(--color-white);
}

#programming .eyebrow { color: var(--color-teal); }
#programming h2 { color: var(--color-white); margin-bottom: 48px; }
#programming .text-center p { color: rgba(255,255,255,0.7); }

.programming-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: var(--max-width);
  margin-inline: auto;
  margin-top: 48px;
}

/* .program-card styles are defined inline in front-page.php
   which owns the carousel card component. Do not add rules
   here — they will conflict with the flex/carousel layout. */

/* =========================================================
   DATES / SCHEDULE SECTION
   ========================================================= */
#schedule {
  background: var(--color-cream);
  padding: var(--section-pad);
}

.schedule-dates {
  display: flex;
  gap: 2px;
  max-width: 860px;
  margin: 48px auto 0;
  border-radius: var(--border-radius);
  /* overflow:hidden removed — front-page.php uses individually rounded cards */
  box-shadow: var(--shadow-md);
}

.schedule-day {
  flex: 1;
  background: var(--color-white);
  padding: 32px 24px;
  text-align: center;
  transition: background var(--transition);
}
.schedule-day:hover { background: var(--color-navy); }
.schedule-day:hover * { color: var(--color-white) !important; }

.schedule-day .day-name {
  font-family: var(--font-nav);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: 8px;
}
.schedule-day .day-date {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--color-navy);
  line-height: 1;
  margin-bottom: 4px;
}
.schedule-day .day-month {
  font-family: var(--font-nav);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gray-mid);
}

/* =========================================================
   CTA / DONATE SECTION
   ========================================================= */
#donate-cta {
  background: var(--color-teal);
  padding: 80px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
#donate-cta::before {
  content: 'HELPER ARTS';
  position: absolute;
  font-family: var(--font-heading);
  font-size: 18vw;
  color: rgba(255,255,255,0.06);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: 0.08em;
}

#donate-cta .eyebrow { color: rgba(255,255,255,0.7); }
#donate-cta h2 { color: var(--color-white); margin-bottom: 16px; }
#donate-cta p { color: rgba(255,255,255,0.85); margin-inline: auto; margin-bottom: 32px; }

/* =========================================================
   GALLERY PREVIEW
   ========================================================= */
#gallery-preview {
  background: var(--color-navy-dark);
  padding: var(--section-pad);
}
#gallery-preview h2 { color: var(--color-white); }
#gallery-preview .eyebrow { color: var(--color-teal); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 200px);
  gap: 8px;
  max-width: var(--max-width);
  margin: 40px auto 32px;
}

.gallery-grid .gallery-item {
  overflow: hidden;
  border-radius: var(--border-radius);
  position: relative;
  cursor: pointer;
}
.gallery-grid .gallery-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
}
.gallery-grid .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-grid .gallery-item:hover img { transform: scale(1.08); }

.gallery-grid .gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(27,42,74,0.3);
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-grid .gallery-item:hover::after { opacity: 1; }

/* =========================================================
   CONTACT PAGE — HERO
   ========================================================= */
.contact-hero {
  min-height: 340px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--color-navy-dark);
  padding-top: 70px;
  padding-bottom: 56px;
}
.contact-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(17,30,54,0.94) 0%, rgba(27,42,74,0.88) 60%, rgba(17,30,54,0.97) 100%);
}
.ch-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.ch-shape--a {
  width: 360px; height: 360px;
  border: 1px solid rgba(42,191,191,0.1);
  top: -100px; right: -60px;
  animation: slowSpin 40s linear infinite;
}
.ch-shape--b {
  width: 200px; height: 200px;
  border: 2px solid rgba(212,168,71,0.08);
  bottom: -40px; left: 8%;
  animation: slowSpin 28s linear infinite reverse;
}
.contact-hero__content {
  position: relative;
  z-index: 2;
  padding-top: 32px;
}
.contact-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  color: var(--color-white);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
  animation: fadeUp 0.6s ease both;
}
.accent-teal { color: var(--color-teal); }
.contact-hero__sub {
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  max-width: 50ch;
  margin-bottom: 0;
  animation: fadeUp 0.7s 0.1s ease both;
}

/* =========================================================
   CONTACT PAGE — LAYOUT
   ========================================================= */
.contact-section { background: var(--color-cream); }
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 56px;
  align-items: start;
}

/* =========================================================
   CONTACT PAGE — FORM STYLES
   ========================================================= */
.form-intro { margin-bottom: 32px; }
.form-intro__heading {
  font-size: 1.5rem;
  color: var(--color-navy);
  margin-bottom: 6px;
}
.form-intro__sub {
  font-size: 0.85rem;
  color: var(--color-gray-mid);
  margin-bottom: 0;
  font-family: var(--font-nav);
  letter-spacing: 0.05em;
}
.required-star { color: #C0392B; font-weight: 700; }

.form-row { margin-bottom: 20px; }
.form-row--2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-row--submit { margin-top: 28px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-label {
  font-family: var(--font-nav);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-navy);
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #D8D3CB;
  border-radius: var(--border-radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
}
.form-control:focus {
  outline: none;
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px rgba(42,191,191,0.15);
}
.form-control.is-invalid {
  border-color: #C0392B;
  box-shadow: 0 0 0 3px rgba(192,57,43,0.1);
}
.form-control::placeholder { color: #B0A898; }

/* Textarea */
.form-textarea {
  resize: vertical;
  min-height: 150px;
}

/* Select wrapper */
.select-wrap { position: relative; }
.select-wrap .form-select { padding-right: 40px; cursor: pointer; }
.select-chevron {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px; height: 16px;
  color: var(--color-gray-mid);
  pointer-events: none;
}

/* Phone type radios */
.phone-type-row {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.radio-pill input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.radio-pill span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1.5px solid #D8D3CB;
  border-radius: 50px;
  font-family: var(--font-nav);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gray-mid);
  cursor: pointer;
  transition: all var(--transition);
  background: var(--color-white);
  user-select: none;
}
.radio-pill span svg { width: 13px; height: 13px; }
.radio-pill input[type="radio"]:checked + span {
  border-color: var(--color-teal);
  color: var(--color-teal-dark);
  background: rgba(42,191,191,0.07);
}
.radio-pill:hover span { border-color: var(--color-teal); }

/* Field error */
.field-error {
  font-size: 0.78rem;
  color: #C0392B;
  font-family: var(--font-nav);
  letter-spacing: 0.04em;
}

/* Form notices */
.form-notice {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  border-radius: var(--border-radius);
  margin-bottom: 28px;
}
.form-notice[hidden] { display: none !important; }
.form-notice svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; }
.form-notice div p { margin-bottom: 0; font-size: 0.9rem; }
.form-notice--success {
  background: rgba(39,174,96,0.08);
  border: 1.5px solid rgba(39,174,96,0.3);
  color: #1E8449;
}
.form-notice--success svg { color: #27AE60; }
.form-notice--error {
  background: rgba(192,57,43,0.07);
  border: 1.5px solid rgba(192,57,43,0.25);
  color: #922B21;
}
.form-notice--error svg { color: #C0392B; }

/* reCAPTCHA notice */
.recaptcha-notice {
  font-size: 0.75rem;
  color: var(--color-gray-mid);
  margin-bottom: 4px;
  max-width: none;
  font-family: var(--font-nav);
  letter-spacing: 0.03em;
}
.recaptcha-notice a { color: var(--color-teal-dark); }

/* Submit button */
.form-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 40px;
  font-size: 0.9rem;
}
.form-submit-btn .btn-arrow { width: 18px; height: 18px; transition: transform var(--transition); }
.form-submit-btn:hover .btn-arrow { transform: translateX(4px); }
.form-submit-btn .btn-spinner {
  display: inline-flex;
  animation: spin 0.8s linear infinite;
  width: 18px; height: 18px;
}
.form-submit-btn .btn-spinner[hidden] { display: none !important; }
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.form-submit-btn:disabled { opacity: 0.7; cursor: not-allowed; transform: none !important; }

/* =========================================================
   CONTACT PAGE — SIDEBAR INFO CARDS
   ========================================================= */
.contact-sidebar { display: flex; flex-direction: column; gap: 20px; }

.contact-info-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-light);
  border-radius: var(--border-radius);
  padding: 28px 24px;
}
.contact-info-card--dark {
  background: var(--color-navy);
  border-color: transparent;
}
.contact-info-card__heading {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(42,191,191,0.25);
}
.contact-info-card--dark .contact-info-card__heading { color: var(--color-teal); border-color: rgba(255,255,255,0.1); }

.contact-info-list { list-style: none; padding: 0; }
.contact-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  color: #4a4640;
}
.contact-info-list li:last-child { margin-bottom: 0; }
.contact-info-list li svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--color-teal); margin-top: 1px; }
.contact-info-list li a { color: var(--color-teal-dark); word-break: break-all; }
.contact-info-list li a:hover { color: var(--color-navy); }

.contact-quick-links { list-style: none; padding: 0; }
.contact-quick-links li { margin-bottom: 10px; }
.contact-quick-links li:last-child { margin-bottom: 0; }
.contact-quick-links li a {
  font-family: var(--font-nav);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
  display: block;
  padding: 4px 0;
}
.contact-quick-links li a:hover { color: var(--color-teal); }

/* =========================================================
   CONTACT PAGE — RESPONSIVE
   ========================================================= */
@media (max-width: 960px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .contact-sidebar {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .contact-info-card { flex: 1 1 240px; }
}
@media (max-width: 600px) {
  .form-row--2col { grid-template-columns: 1fr; }
  .contact-sidebar { flex-direction: column; }
}

/* =========================================================
   VENDOR APPLICATION PAGE — HERO BANNER
   ========================================================= */
.vendor-hero {
  min-height: 560px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--color-navy-dark);
  padding-top: 70px; /* header height */
  padding-bottom: 80px;
}

/* Background texture layer */
.vendor-hero__bg {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 60px,
      rgba(42,191,191,0.03) 60px,
      rgba(42,191,191,0.03) 61px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 60px,
      rgba(212,168,71,0.03) 60px,
      rgba(212,168,71,0.03) 61px
    );
}

/* Color overlay gradient */
.vendor-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(17,30,54,0.92) 0%,
    rgba(27,42,74,0.85) 50%,
    rgba(17,30,54,0.95) 100%
  );
}

/* Decorative geometric shapes */
.vendor-hero__shapes { position: absolute; inset: 0; pointer-events: none; }

.shape {
  position: absolute;
  border-radius: 50%;
}

.shape--circle {
  width: 420px;
  height: 420px;
  border: 1px solid rgba(42,191,191,0.12);
  top: -120px;
  right: -80px;
  animation: slowSpin 40s linear infinite;
}

.shape--ring {
  width: 260px;
  height: 260px;
  border: 2px solid rgba(212,168,71,0.1);
  bottom: -60px;
  left: 5%;
  animation: slowSpin 30s linear infinite reverse;
}

.shape--line {
  width: 180px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(42,191,191,0.3), transparent);
  border-radius: 0;
  top: 40%;
  right: 8%;
  transform: rotate(-30deg);
}

@keyframes slowSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Hero content */
.vendor-hero__content {
  position: relative;
  z-index: 2;
  padding-top: 40px;
  max-width: 780px;
}

.vendor-hero__eyebrow {
  color: var(--color-teal);
  margin-bottom: 16px;
  animation: fadeUp 0.6s ease both;
}

.vendor-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  color: var(--color-white);
  line-height: 1.1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 28px;
  animation: fadeUp 0.7s 0.1s ease both;
}

.vendor-hero__title-accent {
  color: var(--color-teal);
  display: block;
}

/* Deadline badge */
.vendor-hero__deadline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(212,168,71,0.12);
  border: 1px solid rgba(212,168,71,0.35);
  border-radius: 4px;
  padding: 10px 18px;
  margin-bottom: 32px;
  animation: fadeUp 0.7s 0.2s ease both;
  color: var(--color-gold);
  font-family: var(--font-nav);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.vendor-hero__deadline svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--color-gold);
}

.vendor-hero__deadline strong { font-weight: 700; }

/* CTA button */
.vendor-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  padding: 16px 36px;
  animation: fadeUp 0.7s 0.3s ease both;
}

.vendor-hero__cta svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition);
}
.vendor-hero__cta:hover svg { transform: translateX(4px); }

/* Fine-print note */
.vendor-hero__note {
  margin-top: 18px;
  margin-bottom: 0;
  font-family: var(--font-nav);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  animation: fadeUp 0.7s 0.4s ease both;
  max-width: none;
}

/* Scroll chevron */
.vendor-hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.3);
  animation: bounce 2s ease infinite;
}
.vendor-hero__scroll svg { width: 28px; height: 28px; }

/* =========================================================
   VENDOR APPLICATION PAGE — HOW TO APPLY STEPS
   ========================================================= */
.vendor-steps {
  background: var(--color-cream);
}

.vendor-steps__heading {
  margin-bottom: 16px;
}

.vendor-steps__intro {
  font-size: 1.05rem;
  color: var(--color-gray-mid);
  margin-bottom: 64px;
  margin-inline: auto;
}

/* Individual step card */
.apply-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 0 36px;
  max-width: 860px;
  margin-inline: auto;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--color-gray-light);
  align-items: start;
}

.apply-step:last-of-type {
  border-bottom: none;
  margin-bottom: 16px;
  padding-bottom: 0;
}

/* Step number bubble */
.apply-step__number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-teal);
  opacity: 0.25;
  letter-spacing: -0.02em;
  padding-top: 4px;
  user-select: none;
}

/* Step content */
.apply-step__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-navy);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-teal);
  display: inline-block;
}

.apply-step__body p {
  color: #4a4640;
  font-size: 0.97rem;
  line-height: 1.75;
}

/* Ordered list inside steps */
.apply-step__list {
  list-style: decimal;
  padding-left: 20px;
  margin: 12px 0 16px;
  color: #4a4640;
  font-family: var(--font-body);
  font-size: 0.97rem;
  line-height: 1.75;
}
.apply-step__list li { margin-bottom: 6px; padding-left: 4px; }

/* Bulleted list inside steps */
.apply-step__bullets {
  list-style: none;
  padding-left: 0;
  margin: 12px 0 16px;
}
.apply-step__bullets li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: #4a4640;
  font-size: 0.97rem;
  line-height: 1.7;
}
.apply-step__bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-teal);
  flex-shrink: 0;
}

/* Highlighted note box */
.apply-step__note {
  background: rgba(42,191,191,0.07);
  border-left: 3px solid var(--color-teal);
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  padding: 12px 16px;
  font-size: 0.9rem !important;
  color: #3d5a5a !important;
  margin-top: 12px;
}

/* =========================================================
   VENDOR APPLICATION PAGE — BOTTOM CTA STRIP
   ========================================================= */
.vendor-cta-strip {
  background: var(--color-navy);
  padding: 64px 24px;
  position: relative;
  overflow: hidden;
}

.vendor-cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(42,191,191,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.vendor-cta-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.vendor-cta-strip__heading {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: var(--color-white);
  margin-bottom: 8px;
}

.vendor-cta-strip__text p {
  color: rgba(255,255,255,0.65);
  margin-bottom: 0;
  font-size: 1rem;
}
.vendor-cta-strip__text p strong { color: var(--color-gold); }

.vendor-cta-strip .btn {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  padding: 16px 36px;
  flex-shrink: 0;
}
.vendor-cta-strip .btn svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition);
}
.vendor-cta-strip .btn:hover svg { transform: translateX(4px); }

/* =========================================================
   VENDORS / APPLY SECTION (front page)
   ========================================================= */
#vendors {
  background: var(--color-gray-light);
  padding: var(--section-pad);
}

.vendors-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: var(--max-width);
  margin-inline: auto;
}

.vendor-card {
  background: var(--color-white);
  border-radius: var(--border-radius);
  padding: 48px 40px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}
.vendor-card:hover { box-shadow: var(--shadow-md); }
.vendor-card h3 { margin-bottom: 12px; }
.vendor-card p { color: #5a5550; margin-bottom: 24px; }

/* =========================================================
   CONTACT SECTION
   ========================================================= */
#contact {
  background: var(--color-navy);
  padding: var(--section-pad);
  color: var(--color-white);
}

#contact .eyebrow { color: var(--color-teal); }
#contact h2 { color: var(--color-white); margin-bottom: 40px; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  max-width: var(--max-width);
  margin-inline: auto;
}

/* Contact Form Styles */
.contact-form .form-group {
  margin-bottom: 20px;
}
.contact-form label {
  display: block;
  font-family: var(--font-nav);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 6px;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--border-radius);
  padding: 12px 16px;
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition);
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--color-teal);
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form select option { background: var(--color-navy-dark); }

.contact-info p {
  color: rgba(255,255,255,0.7);
  max-width: none;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
}
.contact-info-item svg {
  width: 20px; height: 20px;
  color: var(--color-teal);
  flex-shrink: 0;
  margin-top: 2px;
}

/* =========================================================
   SITE FOOTER
   ========================================================= */
#site-footer {
  background: var(--color-black);
  padding: 56px 24px 32px;
  color: rgba(255,255,255,0.55);
}

.footer-inner {
  max-width: var(--max-width);
  margin-inline: auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 200px 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 32px;
}

.footer-brand .logo-text {
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: 0.12em;
  color: var(--color-white);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.footer-brand p { font-size: 0.85rem; }

.footer-nav h4 {
  font-family: var(--font-nav);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}
.footer-nav ul li { margin-bottom: 8px; }
.footer-nav ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer-nav ul li a:hover { color: var(--color-teal); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}

.social-links {
  display: flex;
  gap: 12px;
}
.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: all var(--transition);
}
.social-links a:hover {
  border-color: var(--color-teal);
  color: var(--color-teal);
  transform: translateY(-2px);
}
.social-links svg { width: 16px; height: 16px; }

/* =========================================================
   PAGE BANNER (inner pages)
   ========================================================= */
.page-banner {
  min-height: 300px;
  background: var(--color-navy);
  display: flex;
  align-items: flex-end;
  padding: 60px 24px 48px;
  position: relative;
  overflow: hidden;
  margin-top: 70px;
}
.page-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('assets/images/hero-bg.jpg') center/cover;
  opacity: 0.2;
}
.page-banner .container { position: relative; z-index: 1; }
.page-banner h1 { color: var(--color-white); margin-bottom: 8px; }
.page-banner .breadcrumb {
  font-family: var(--font-nav);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.page-banner .breadcrumb a { color: var(--color-teal); }

/* =========================================================
   CONTENT AREA (inner pages)
   ========================================================= */
.site-content {
  padding: var(--section-pad);
  max-width: var(--max-width);
  margin-inline: auto;
}
.entry-content h2,
.entry-content h3 { margin: 2em 0 0.75em; }
.entry-content p { margin-bottom: 1.2em; }
.entry-content img { border-radius: var(--border-radius); margin: 1.5em 0; }

/* =========================================================
   ANIMATIONS
   ========================================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .about-grid,
  .contact-grid,
  .vendors-split { grid-template-columns: 1fr; gap: 40px; }

  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
  .gallery-grid .gallery-item:first-child {
    grid-column: span 2;
    grid-row: span 1;
    height: 280px;
  }
}

@media (max-width: 768px) {
  :root { --section-pad: 56px 20px; }

  /* Vendor hero responsive */
  .vendor-hero { min-height: 480px; padding-bottom: 60px; }
  .vendor-hero__title { font-size: clamp(1.9rem, 7vw, 2.8rem); }
  .vendor-hero__deadline { font-size: 0.8rem; }
  .vendor-hero__cta { width: 100%; justify-content: center; }
  .shape--circle { width: 260px; height: 260px; top: -60px; right: -60px; }
  .shape--ring { display: none; }

  /* Apply steps responsive */
  .apply-step {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-bottom: 36px;
    margin-bottom: 36px;
  }
  .apply-step__number { font-size: 1.8rem; opacity: 0.18; }

  /* CTA strip responsive */
  .vendor-cta-strip__inner { flex-direction: column; text-align: center; }
  .vendor-cta-strip__text p { margin-inline: auto; }
  .vendor-cta-strip .btn { width: 100%; justify-content: center; }

  /* Mobile nav toggle button */
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative;
    z-index: 1001;
  }

  /* Full-screen nav drawer */
  #primary-nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-navy-dark);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 0 32px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 999;
    pointer-events: none;
  }
  #primary-nav.is-open {
    transform: translateX(0);
    pointer-events: auto;
  }

  /* Reset desktop sub-menu styles for mobile */
  #primary-nav ul .sub-menu {
    position: static;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    transform: none;
    transition: none;
    padding: 0;
    min-width: 0;
    /* Hidden by default — JS toggles max-height for accordion */
    display: none;
  }
  #primary-nav ul .sub-menu.is-open {
    display: block;
  }

  /* Top-level items */
  #primary-nav > ul {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }
  #primary-nav > ul > li {
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  /* Top-level links */
  #primary-nav > ul > li > a {
    font-size: 1rem;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 0;
    color: rgba(255,255,255,0.9);
  }
  #primary-nav > ul > li > a:hover,
  #primary-nav > ul > li.current-menu-item > a {
    background: rgba(42,191,191,0.08);
    color: var(--color-teal);
  }

  /* Replace desktop caret with mobile chevron via JS-added element */
  #primary-nav > ul > li.menu-item-has-children > a .mobile-chevron {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s, transform 0.25s ease;
  }
  #primary-nav > ul > li.menu-item-has-children > a .mobile-chevron svg {
    width: 16px !important;
    height: 16px !important;
    display: block;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.25s ease;
  }
  #primary-nav > ul > li.menu-item-has-children.is-open > a .mobile-chevron {
    background: rgba(42,191,191,0.15);
    color: var(--color-teal);
  }
  #primary-nav > ul > li.menu-item-has-children.is-open > a .mobile-chevron svg {
    transform: rotate(180deg);
  }

  /* Hide the desktop CSS ::after arrow on mobile */
  #primary-nav > ul > li.menu-item-has-children > a::after {
    display: none;
  }

  /* Sub-menu items indented */
  #primary-nav .sub-menu {
    background: rgba(0,0,0,0.18);
    border-left: 3px solid rgba(42,191,191,0.3);
    margin: 0 0 4px 0;
  }
  #primary-nav .sub-menu li {
    border-top: 1px solid rgba(255,255,255,0.04);
  }
  #primary-nav .sub-menu li a {
    font-size: 0.88rem;
    padding: 13px 24px 13px 32px;
    color: rgba(255,255,255,0.7);
    border-radius: 0;
    display: block;
  }
  #primary-nav .sub-menu li a:hover {
    color: var(--color-teal);
    background: rgba(42,191,191,0.07);
  }
  #primary-nav .sub-menu li + li { border-top: none; }

  .schedule-dates { flex-direction: column; }

  .footer-top { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-grid .gallery-item:first-child {
    grid-column: span 2;
  }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid .gallery-item:first-child { grid-column: span 1; }
  .programming-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   NEWS TICKER
   ========================================================= */

/* Sits in normal document flow, right below the hero section */
#haf-ticker {
  display: flex;
  align-items: center;
  width: 100%;
  height: 40px;
  overflow: hidden;
  /* bg and color are set inline from theme_mod values */
}

/* Inner scrolling track — doubled content for seamless loop */
.haf-ticker__track {
  display: flex;
  white-space: nowrap;
  will-change: transform;
  animation: haf-ticker-scroll var(--haf-ticker-duration, 60s) linear infinite;
}

/* Pause on hover */
#haf-ticker:hover .haf-ticker__track {
  animation-play-state: paused;
}

/* Each content copy */
.haf-ticker__content {
  display: inline-block;
  padding-right: 80px;   /* gap between the two copies */
  font-family: var(--font-heading);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1;
}

@keyframes haf-ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Reduce animation speed on prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .haf-ticker__track { animation-duration: 120s; }
}

/* =============================================================
   DONATE PAGE
   ============================================================= */

/* Importance section */
.donate-importance {
    background: var(--color-white);
    padding-top: 60px;
    padding-bottom: 60px;
}

.donate-importance__inner {
    max-width: 820px;
    margin-inline: auto;
    text-align: center;
}

.donate-importance__heading {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: var(--color-navy-dark);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 24px;
}

.donate-importance__heading::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--color-gold);
    margin: 16px auto 0;
}

.donate-importance__body p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-navy);
    margin-bottom: 16px;
}

.donate-importance__thanks {
    font-size: 1.2rem !important;
    color: var(--color-teal-dark) !important;
}

/* Tax note card in sidebar */
.donate-tax-note {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: var(--color-gold) !important;
    color: var(--color-navy-dark) !important;
}

.donate-tax-note svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--color-navy-dark);
}

.donate-tax-note p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--color-navy-dark);
}

.donate-tax-note .contact-info-card__heading {
    color: var(--color-navy-dark);
}

/* ── No-link parent items (Info, Join) ── */
/* Desktop: show default cursor, no underline, open dropdown on hover as normal */
#primary-nav > ul > li.menu-item-nolink > a {
  cursor: default;
}
#primary-nav > ul > li.menu-item-nolink > a:hover {
  color: var(--color-teal);
}
/* Mobile: same plain text style as other items, no extra highlight on open */
@media (max-width: 959px) {
  #primary-nav > ul > li.menu-item-nolink > a:hover,
  #primary-nav > ul > li.menu-item-nolink.is-open > a {
    background: transparent;
    color: rgba(255,255,255,0.9);
  }
}

/* ── Nested parent chevron button (e.g. Art inside Info sub-menu) ── */
@media (max-width: 959px) {
  /* Make the sub-menu li a flex row so the chevron btn sits to the right */
  #primary-nav .sub-menu li.menu-item-has-children {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }
  #primary-nav .sub-menu li.menu-item-has-children > a {
    flex: 1;
  }
  .mobile-chevron--btn {
    background: rgba(255,255,255,0.08);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    margin-right: 16px;
    color: rgba(255,255,255,0.8);
    transition: background 0.2s, color 0.2s, transform 0.25s ease;
  }
  .menu-item-has-children.is-open > .mobile-chevron--btn {
    background: rgba(42,191,191,0.15);
    color: var(--color-teal);
    transform: rotate(180deg);
  }
  /* The sub-sub-menu spans full width below the row */
  #primary-nav .sub-menu li.menu-item-has-children > .sub-menu {
    flex-basis: 100%;
  }
}

/* ==========================================================================
   VOLUNTEER PAGE
   ========================================================================== */

/* ── Hero ── */
.vol-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: var(--color-navy-dark);
  overflow: hidden;
  padding: 120px 0 80px;
}

/* Animated canvas — floating shapes */
.vol-hero__canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Paint brush strokes */
.vh-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.07;
  animation: vh-float linear infinite;
}
.vh-shape--brush1 {
  width: 420px; height: 120px; background: var(--color-teal);
  top: 8%; left: -6%; border-radius: 60%;
  transform: rotate(-18deg);
  animation-duration: 18s; animation-delay: 0s;
}
.vh-shape--brush2 {
  width: 320px; height: 80px; background: var(--color-gold);
  top: 55%; right: -4%; border-radius: 60%;
  transform: rotate(12deg);
  animation-duration: 22s; animation-delay: -7s;
}
.vh-shape--brush3 {
  width: 260px; height: 65px; background: #e05c97;
  top: 78%; left: 15%; border-radius: 60%;
  transform: rotate(-6deg);
  animation-duration: 26s; animation-delay: -3s;
}

/* Splatter dots */
.vh-shape--splatter1 {
  width: 180px; height: 180px; background: var(--color-teal);
  top: 22%; right: 12%; opacity: 0.06;
  animation-duration: 30s; animation-delay: -12s;
}
.vh-shape--splatter2 {
  width: 110px; height: 110px; background: var(--color-gold);
  bottom: 18%; left: 8%; opacity: 0.08;
  animation-duration: 24s; animation-delay: -5s;
}

/* Film strip shapes */
.vh-shape--film1 {
  width: 6px; height: 220px; background: rgba(255,255,255,0.06);
  top: 0; left: 30%; border-radius: 0;
  animation-duration: 40s; animation-delay: 0s;
}
.vh-shape--film2 {
  width: 6px; height: 180px; background: rgba(255,255,255,0.04);
  top: 10%; left: 32%; border-radius: 0;
  animation-duration: 50s; animation-delay: -20s;
}

/* Music notes */
.vh-shape--note1 {
  width: 16px; height: 16px; background: var(--color-teal);
  top: 40%; left: 55%; border-radius: 50%; opacity: 0.12;
  animation-duration: 14s; animation-delay: -2s;
}
.vh-shape--note2 {
  width: 10px; height: 10px; background: var(--color-gold);
  top: 65%; right: 30%; border-radius: 50%; opacity: 0.15;
  animation-duration: 17s; animation-delay: -8s;
}

/* Stars */
.vh-shape--star1 {
  width: 60px; height: 60px; background: var(--color-gold);
  top: 15%; right: 25%; opacity: 0.08;
  clip-path: polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%);
  border-radius: 0;
  animation-duration: 35s; animation-delay: -4s;
}
.vh-shape--star2 {
  width: 36px; height: 36px; background: #e05c97;
  bottom: 25%; right: 18%; opacity: 0.1;
  clip-path: polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%);
  border-radius: 0;
  animation-duration: 28s; animation-delay: -15s;
}

@keyframes vh-float {
  0%   { transform: translateY(0)  rotate(var(--r, 0deg)); }
  50%  { transform: translateY(-22px) rotate(var(--r, 0deg)); }
  100% { transform: translateY(0)  rotate(var(--r, 0deg)); }
}

/* Large background SVG icons */
.vh-icon {
  position: absolute;
  opacity: 0.04;
  color: #fff;
  animation: vh-drift linear infinite;
}
.vh-icon--palette { width: 280px; height: 280px; top: 5%;  right: 5%;  animation-duration: 45s; animation-delay: 0s; }
.vh-icon--music   { width: 220px; height: 220px; bottom: 8%; left: 2%;  animation-duration: 38s; animation-delay: -10s; }
.vh-icon--film    { width: 200px; height: 200px; top: 38%; left: 42%;   animation-duration: 55s; animation-delay: -20s; opacity: 0.03; }
.vh-icon--brush   { width: 160px; height: 160px; bottom: 12%; right: 22%; animation-duration: 32s; animation-delay: -6s; }
.vh-icon--star    { width: 80px;  height: 80px;  top: 60%; left: 20%;   animation-duration: 22s; animation-delay: -3s; opacity: 0.07; color: var(--color-gold); }

@keyframes vh-drift {
  0%   { transform: translateY(0)   rotate(0deg); }
  33%  { transform: translateY(-14px) rotate(4deg); }
  66%  { transform: translateY(8px)  rotate(-3deg); }
  100% { transform: translateY(0)   rotate(0deg); }
}

/* Gradient overlay */
.vol-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(17,30,54,0.82) 0%,
    rgba(17,30,54,0.55) 50%,
    rgba(27,42,74,0.78) 100%
  );
}

/* Content */
.vol-hero__content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.vol-hero__title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.1;
  margin: 0.4rem 0 1rem;
  color: #fff;
}

.vol-hero__tagline {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 1.4rem;
}
.vol-hero__icon-row {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--color-teal);
}

.vol-hero__desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.7;
  max-width: 640px;
  margin-bottom: 2rem;
}

/* Perks list */
.vol-hero__perks {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.vol-hero__perks li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
}
.vol-perk-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(42,191,191,0.15);
  color: var(--color-teal);
  flex-shrink: 0;
}

/* Dates badge */
.vol-hero__dates {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 40px;
  padding: 10px 20px;
  color: rgba(255,255,255,0.9);
  font-size: 0.95rem;
}
.vol-dates-icon { color: var(--color-teal); display: flex; }

/* ── Form section ── */
.vol-form-section { background: var(--color-cream); }
.vol-form-wrap { max-width: 780px; margin: 0 auto; }

/* Radio / checkbox groups */
.form-radio-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.form-radio-group--col { flex-direction: column; gap: 10px; }

.form-radio-label,
.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--color-navy-dark);
  line-height: 1.4;
}
.form-radio-label input,
.form-checkbox-label input {
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--color-teal);
  width: 17px;
  height: 17px;
}

.form-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 10px 20px;
  margin-top: 8px;
}
.form-checkbox-label--other { grid-column: 1 / -1; }
.form-checkbox-label--agree { margin-top: 8px; }

.form-control--reveal { margin-top: 10px; }

.form-label-hint {
  display: block;
  font-size: 0.82rem;
  color: #666;
  font-weight: 400;
  margin-top: 2px;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

/* Agreement blocks */
.vol-agreement-group {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--border-radius);
  padding: 20px 24px;
}
.vol-agreement-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-navy-dark);
  margin: 0 0 8px;
}
.vol-agreement-text {
  font-size: 0.88rem;
  color: #555;
  border-left: 3px solid var(--color-teal);
  margin: 0 0 14px;
  padding: 8px 14px;
  font-style: italic;
  background: rgba(42,191,191,0.04);
  border-radius: 0 4px 4px 0;
}

/* Submit row */
.form-submit-row { margin-top: 10px; }

/* Responsive */
@media (max-width: 600px) {
  .vol-hero { min-height: auto; padding: 100px 0 60px; }
  .form-checkbox-grid { grid-template-columns: 1fr; }
  .form-radio-group { flex-direction: column; gap: 10px; }
}

/* ==========================================================================
   CARBON SHORTCUTS PAGE
   ========================================================================== */

/* ── Hero ── */
.cs-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a0a0f;
  overflow: hidden;
}

/* Film strip columns */
.cs-strip {
  position: absolute;
  top: 0; bottom: 0;
  width: 52px;
  background: repeating-linear-gradient(
    to bottom,
    #1a1a24 0px,
    #1a1a24 28px,
    #0a0a0f 28px,
    #0a0a0f 44px
  );
  opacity: 0.5;
}
.cs-strip--1 { left: 0; }
.cs-strip--2 { right: 0; }
.cs-strip--3 { left: 50%; transform: translateX(-50%); opacity: 0.12; }

/* Perforations */
.cs-perf {
  position: absolute;
  width: 20px;
  height: 14px;
  background: #0a0a0f;
  border-radius: 3px;
  opacity: 0.9;
}
/* Left strip perfs */
.cs-perf--0  { left: 16px; top:  4px; }
.cs-perf--1  { left: 16px; top: 48px; }
.cs-perf--2  { left: 16px; top: 92px; }
.cs-perf--3  { left: 16px; top: 136px; }
.cs-perf--4  { left: 16px; top: 180px; }
.cs-perf--5  { left: 16px; top: 224px; }
.cs-perf--6  { left: 16px; top: 268px; }
.cs-perf--7  { left: 16px; top: 312px; }
.cs-perf--8  { left: 16px; top: 356px; }
.cs-perf--9  { left: 16px; top: 400px; }
/* Right strip perfs */
.cs-perf--10 { right: 16px; top:  4px; }
.cs-perf--11 { right: 16px; top: 48px; }
.cs-perf--12 { right: 16px; top: 92px; }
.cs-perf--13 { right: 16px; top: 136px; }
.cs-perf--14 { right: 16px; top: 180px; }
.cs-perf--15 { right: 16px; top: 224px; }
.cs-perf--16 { right: 16px; top: 268px; }
.cs-perf--17 { right: 16px; top: 312px; }
.cs-perf--18 { right: 16px; top: 356px; }
.cs-perf--19 { right: 16px; top: 400px; }

/* Lens flares */
.cs-flare {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: cs-pulse ease-in-out infinite alternate;
}
.cs-flare--1 {
  width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(255,160,30,0.12) 0%, transparent 70%);
  top: -80px; right: 8%;
  animation-duration: 5s; animation-delay: 0s;
}
.cs-flare--2 {
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(42,191,191,0.1) 0%, transparent 70%);
  bottom: 10%; left: 12%;
  animation-duration: 7s; animation-delay: -2s;
}
.cs-flare--3 {
  width: 140px; height: 140px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  top: 40%; left: 40%;
  animation-duration: 4s; animation-delay: -1s;
}
@keyframes cs-pulse {
  from { opacity: 0.6; transform: scale(1); }
  to   { opacity: 1;   transform: scale(1.08); }
}

/* Scanning light beam */
.cs-beam {
  position: absolute;
  top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, transparent, rgba(255,200,60,0.35), transparent);
  animation: cs-scan 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes cs-scan {
  0%   { left: 8%;  opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { left: 92%; opacity: 0; }
}

/* Background film/camera icons */
.cs-bg-icon {
  position: absolute;
  color: rgba(255,255,255,0.04);
  pointer-events: none;
}
.cs-bg-icon--clapboard { width: 260px; height: 260px; bottom: 5%;  left: 6%; }
.cs-bg-icon--camera    { width: 200px; height: 200px; top: 8%;     right: 6%; }
.cs-bg-icon--play      { width: 120px; height: 120px; top: 50%;    left: 50%; transform: translate(-50%,-50%); opacity: 0.03; }

/* Overlay */
.cs-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(10,10,15,0.45) 0%,
    rgba(10,10,15,0.15) 50%,
    rgba(10,10,15,0.6) 100%
  );
}

/* Hero content */
.cs-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 80px 20px;
}

.cs-hero__eyebrow {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  margin-bottom: 2rem;
  font-weight: 500;
}

.cs-hero__logo-wrap {
  display: inline-block;
  animation: cs-logo-in 0.9s cubic-bezier(0.22,1,0.36,1) both;
  filter: drop-shadow(0 8px 40px rgba(0,0,0,0.7));
}
.cs-hero__logo {
  max-width: min(520px, 82vw);
  width: 100%;
  height: auto;
  display: block;
}
@keyframes cs-logo-in {
  from { opacity: 0; transform: scale(0.88) translateY(20px); }
  to   { opacity: 1; transform: scale(1)    translateY(0); }
}

/* ── Body Q&A section ── */
.cs-body { background: var(--color-cream); }
.cs-body__inner {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.cs-qa {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.cs-qa__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-navy-dark);
  color: var(--color-teal);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cs-qa__q {
  font-size: 1.35rem;
  color: var(--color-navy-dark);
  margin: 0 0 0.5rem;
}
.cs-qa__a {
  font-size: 1.05rem;
  color: #444;
  line-height: 1.7;
  margin: 0 0 1.2rem;
}

/* CTA buttons row */
.cs-cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}
.cs-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Outline button variant */
.btn--outline {
  background: transparent;
  border: 2px solid var(--color-navy-dark);
  color: var(--color-navy-dark);
  padding: 10px 22px;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.btn--outline:hover {
  background: var(--color-navy-dark);
  color: #fff;
}

@media (max-width: 600px) {
  .cs-strip--3 { display: none; }
  .cs-qa { flex-direction: column; gap: 12px; }
  .cs-qa__icon { width: 42px; height: 42px; }
}

/* ==========================================================================
   FESTIVAL SCHEDULE — Day card time slots
   ========================================================================== */

/* When a day card has slots, make it expand vertically */
.schedule-day {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.day-slots {
  width: 100%;
  margin-top: 16px;
  border-top: 1px solid rgba(0,0,0,0.07);
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.day-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 9px 8px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: background 0.15s;
}
.day-slot:last-child { border-bottom: none; }
.day-slot:hover { background: rgba(42,191,191,0.04); border-radius: 6px; }

.day-slot__time {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: 2px;
}

.day-slot__title {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-navy-dark);
  line-height: 1.3;
}

.day-slot__note {
  display: block;
  font-size: 0.75rem;
  color: #888;
  margin-top: 2px;
  font-style: italic;
}

/* On desktop show all 4 day cards side by side even with slots */
@media (min-width: 768px) {
  .schedule-dates {
    align-items: stretch;
  }
  .schedule-day {
    justify-content: flex-start;
  }
}
