/* QM Hindu Society — Shared additions for the multi-page build.
   Layered on top of styles.css. New components live here so styles.css
   stays unchanged. */

/* ---- Page load fade ---- */
body { opacity: 0; transition: opacity 360ms ease; }
body.page-loaded { opacity: 1; }

/* =====================================================================
   Mandala spin overrides
   - The original durations were too sluggish; bumped ~30 to 40% faster
     so the rotation reads as alive but still elegant.
   - The hero mandalas also need to pick up cursor parallax (set as CSS
     vars --parallax-x / --parallax-y by JS on .hero / .page-hero).
   ===================================================================== */
.hero-mandala         { animation-duration: 90s !important; }
.hero-mandala-corner  { animation-duration: 140s !important; }
.hero-mandala-bottom  { animation-duration: 110s !important; }
.sponsor::before           { animation-duration: 130s !important; }
.sponsor-card::before      { animation-duration: 120s !important; }
.committee-card::before,
.committee-callout::before { animation-duration: 140s !important; }
.footer::before            { animation-duration: 170s !important; }
.sponsor-inquiry::before   { animation-duration: 140s !important; }

.page-hero .hero-mandala         { animation-duration: 140s !important; }
.page-hero .hero-mandala-corner  { animation-duration: 170s !important; }

/* Cursor parallax via CSS variables — additive to the spin */
.hero,
.page-hero {
  --parallax-x: 0px;
  --parallax-y: 0px;
}
@keyframes spin-with-parallax {
  from { transform: translate(calc(-50% + var(--parallax-x, 0px)), calc(-50% + var(--parallax-y, 0px))) rotate(0deg); }
  to   { transform: translate(calc(-50% + var(--parallax-x, 0px)), calc(-50% + var(--parallax-y, 0px))) rotate(360deg); }
}
@keyframes spin-corner-with-parallax {
  from { transform: translate(var(--parallax-x, 0px), var(--parallax-y, 0px)) rotate(0deg); }
  to   { transform: translate(var(--parallax-x, 0px), var(--parallax-y, 0px)) rotate(-360deg); }
}
.hero .hero-mandala,
.page-hero .hero-mandala {
  animation-name: spin-with-parallax !important;
}
.hero .hero-mandala-corner,
.page-hero .hero-mandala-corner {
  animation-name: spin-corner-with-parallax !important;
}

/* Active nav link */
.nav-links a.active { color: var(--saffron); opacity: 1; }
.nav-links a.active::after { transform: scaleX(1); }

/* Mobile nav toggle (hidden on desktop) */
.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: rgba(255,153,16,0.10);
  border: 1px solid rgba(255,153,16,0.30);
  color: var(--saffron);
  align-items: center; justify-content: center;
  z-index: 95;
  cursor: pointer;
}
.nav-toggle .bar {
  display: block; width: 18px; height: 1.5px;
  background: var(--saffron); position: relative;
  transition: transform 240ms ease, opacity 240ms ease, background 240ms ease;
}
.nav-toggle .bar::before,
.nav-toggle .bar::after {
  content: ''; position: absolute; left: 0; right: 0; height: 1.5px;
  background: var(--saffron);
  transition: transform 240ms ease, top 240ms ease;
}
.nav-toggle .bar::before { top: -6px; }
.nav-toggle .bar::after { top: 6px; }
.nav-toggle.open .bar { background: transparent; }
.nav-toggle.open .bar::before { top: 0; transform: rotate(45deg); }
.nav-toggle.open .bar::after { top: 0; transform: rotate(-45deg); }

/* ---- Page hero (smaller hero used on inner pages) ---- */
.page-hero {
  position: relative;
  background: var(--maroon);
  color: var(--offwhite);
  overflow: hidden;
  padding: 100px 40px 80px;
  isolation: isolate;
  border-bottom: 1px solid rgba(255,153,16,0.18);
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 30% 20%, rgba(255,153,16,0.10), transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(255,153,16,0.06), transparent 60%);
  z-index: 1; pointer-events: none;
}
.page-hero .hero-mandala {
  position: absolute;
  top: 50%; left: 50%;
  width: 900px; height: 900px;
  transform: translate(-50%,-50%);
  opacity: 0.10;
  pointer-events: none;
  animation: spin 220s linear infinite;
  z-index: 1;
}
.page-hero .hero-mandala-corner {
  position: absolute;
  top: -160px; right: -160px;
  width: 480px; height: 480px;
  opacity: 0.08;
  pointer-events: none;
  animation: spin-r 260s linear infinite;
  z-index: 1;
}
.page-hero-inner {
  position: relative; z-index: 2;
  max-width: 1320px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: end;
}
.page-hero-eyebrow {
  font-family: var(--font-sans); font-style: italic; font-weight: 500;
  font-size: 13px; letter-spacing: 0.04em;
  color: var(--saffron);
  display: inline-flex; align-items: center; gap: 14px;
  margin-bottom: 22px;
}
.page-hero-eyebrow::before { content: ''; width: 36px; height: 1px; background: var(--saffron); }
.page-hero-deva {
  font-family: 'Tiro Devanagari Hindi', serif;
  color: var(--saffron);
  font-size: 22px;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
  opacity: 0.85;
}
.page-hero-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(40px, 7vw, 96px);
  line-height: 0.96;
  letter-spacing: -0.02em;
  margin: 0;
}
.page-hero-title em { font-style: italic; color: var(--saffron); font-weight: 400; }
.page-hero-sub {
  font-family: var(--font-sans);
  font-size: 17px; line-height: 1.55;
  color: rgba(255,248,236,0.78);
  margin-top: 28px;
  max-width: 540px;
}
.page-hero-meta {
  display: flex; flex-direction: column; gap: 14px;
  font-family: var(--font-sans);
  font-size: 13px; letter-spacing: 0.04em;
  color: rgba(255,248,236,0.68);
  padding: 24px 0 6px;
  border-top: 1px solid rgba(255,153,16,0.22);
  border-bottom: 1px solid rgba(255,153,16,0.22);
}
.page-hero-meta div { display: flex; gap: 14px; align-items: baseline; }
.page-hero-meta strong {
  font-family: var(--font-serif); font-style: italic; font-weight: 500;
  color: var(--offwhite); font-size: 18px;
}
.page-hero-crumbs {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,248,236,0.55);
  margin-bottom: 18px;
}
.page-hero-crumbs a { color: var(--saffron); }
.page-hero-crumbs span { margin: 0 10px; opacity: 0.4; }

/* =====================================================================
   GALLERY PAGE
   ===================================================================== */
.gallery-page { background: var(--cream); }
.gallery-toolbar {
  display: flex; flex-wrap: wrap; gap: 16px;
  align-items: center; justify-content: space-between;
  margin-bottom: 36px;
}
.gallery-tabs {
  display: inline-flex;
  background: var(--offwhite);
  border: 1px solid var(--rule);
  border-radius: var(--radius-pill);
  padding: 5px; gap: 4px; position: relative;
}
.gallery-tab {
  position: relative; z-index: 2;
  padding: 10px 20px;
  font-family: var(--font-sans); font-weight: 600; font-size: 13px;
  letter-spacing: 0.02em; color: var(--ink-soft);
  border-radius: var(--radius-pill);
  transition: color 220ms ease;
  white-space: nowrap;
}
.gallery-tab.active { color: var(--offwhite); }
.gallery-tab-pill {
  position: absolute; top: 5px; bottom: 5px;
  background: var(--maroon);
  border-radius: var(--radius-pill);
  transition: left 420ms cubic-bezier(.2,.7,.2,1), width 420ms cubic-bezier(.2,.7,.2,1);
  z-index: 1;
}
.gallery-count {
  font-family: var(--font-serif); font-style: italic; font-size: 16px; color: var(--ink-soft);
}
.gallery-count strong { color: var(--maroon); font-weight: 500; }

/* Masonry-feel grid using CSS columns */
.gallery-grid {
  column-count: 4;
  column-gap: 12px;
}
@media (max-width: 1100px) { .gallery-grid { column-count: 3; } }
@media (max-width: 760px)  { .gallery-grid { column-count: 2; column-gap: 10px; } }
@media (max-width: 420px)  { .gallery-grid { column-count: 2; column-gap: 8px; } }

.gallery-item {
  break-inside: avoid;
  position: relative;
  margin-bottom: 12px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--maroon-soft);
  cursor: zoom-in;
  transition: transform 320ms cubic-bezier(.2,.7,.2,1), box-shadow 320ms ease;
}
.gallery-item img,
.gallery-item video {
  display: block; width: 100%; height: auto;
  transition: transform 800ms cubic-bezier(.2,.7,.2,1);
}
.gallery-item::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(72,22,39,0.78));
  opacity: 0; transition: opacity 280ms ease; pointer-events: none;
}
.gallery-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-3); }
.gallery-item:hover img,
.gallery-item:hover video { transform: scale(1.05); }
.gallery-item:hover::after { opacity: 1; }
.gallery-item-tag {
  position: absolute; top: 12px; left: 12px;
  font-family: var(--font-sans); font-size: 10px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 5px 10px; border-radius: var(--radius-pill);
  background: rgba(72,22,39,0.78); color: var(--saffron);
  border: 1px solid rgba(255,153,16,0.4);
  backdrop-filter: blur(6px);
  z-index: 2;
  pointer-events: none;
}
.gallery-item-tag.video { background: rgba(255,153,16,0.92); color: var(--maroon); border-color: rgba(72,22,39,0.6); }
.gallery-item .play-icon {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(72,22,39,0.55);
  border: 2px solid var(--saffron);
  display: flex; align-items: center; justify-content: center;
  z-index: 2; pointer-events: none;
  transition: transform 280ms ease, background 280ms ease;
  backdrop-filter: blur(6px);
}
.gallery-item .play-icon::after {
  content: ''; display: block;
  width: 0; height: 0;
  border-left: 14px solid var(--saffron);
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  margin-left: 4px;
}
.gallery-item:hover .play-icon { background: rgba(255,153,16,0.92); transform: translate(-50%, -50%) scale(1.06); }
.gallery-item:hover .play-icon::after { border-left-color: var(--maroon); }

.gallery-empty {
  text-align: center; padding: 80px 20px;
  font-family: var(--font-serif); font-style: italic; font-size: 22px;
  color: var(--ink-soft);
}

/* Lightbox modal */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(20, 5, 10, 0.92);
  backdrop-filter: blur(12px);
  display: none; align-items: center; justify-content: center;
  padding: 40px;
}
.lightbox.open { display: flex; animation: fadeIn 280ms ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox-content {
  position: relative;
  max-width: 90vw; max-height: 90vh;
  display: flex; align-items: center; justify-content: center;
  animation: zoomIn 380ms cubic-bezier(.2,.7,.2,1);
}
@keyframes zoomIn { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: none; } }
.lightbox-content img,
.lightbox-content video {
  max-width: 90vw; max-height: 90vh;
  display: block; border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,248,236,0.10);
  color: var(--offwhite);
  border: 1px solid rgba(255,153,16,0.4);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 240ms ease, transform 240ms ease, border-color 240ms ease;
  font-family: var(--font-serif); font-size: 22px;
  backdrop-filter: blur(6px);
}
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { top: 50%; left: 24px; transform: translateY(-50%); }
.lightbox-next { top: 50%; right: 24px; transform: translateY(-50%); }
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--saffron);
  color: var(--maroon);
  border-color: var(--saffron);
}
.lightbox-prev:hover { transform: translateY(-50%) scale(1.06); }
.lightbox-next:hover { transform: translateY(-50%) scale(1.06); }
.lightbox-counter {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-sans); font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(255,248,236,0.65);
}

/* =====================================================================
   COMMITTEE / ABOUT-US PAGE
   ===================================================================== */
.committee-page { background: var(--cream); }
.committee-section + .committee-section { margin-top: 96px; }
.committee-section-title {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(28px, 4vw, 48px);
  color: var(--maroon); letter-spacing: -0.02em;
  display: flex; align-items: center; gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 8px;
  line-height: 1.05;
}
.committee-section-title em { font-style: italic; color: var(--saffron); }
.committee-section-title .ord {
  font-family: var(--font-sans); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--saffron); font-weight: 700;
  padding: 4px 10px; border: 1px solid rgba(255,153,16,0.4);
  border-radius: var(--radius-pill);
}
.committee-section-lead {
  font-family: var(--font-serif); font-style: italic; font-size: 19px;
  color: var(--ink-soft); margin-bottom: 36px; max-width: 640px;
}

.committee-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
@media (max-width: 1100px) { .committee-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px)  { .committee-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (max-width: 420px)  { .committee-grid { grid-template-columns: 1fr; } }

.committee-card-mini {
  position: relative;
  background: var(--offwhite);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 360ms cubic-bezier(.2,.7,.2,1), box-shadow 360ms ease, border-color 360ms ease;
}
.committee-card-mini:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-3);
  border-color: rgba(255,153,16,0.4);
}
.committee-photo {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: linear-gradient(160deg, var(--maroon), var(--maroon-deep));
}
.committee-photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1200ms cubic-bezier(.2,.7,.2,1);
}
.committee-card-mini:hover .committee-photo img { transform: scale(1.05); }
.committee-photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(72,22,39,0.55));
}
.committee-photo-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  color: rgba(255,248,236,0.4);
}
.committee-photo-placeholder .om {
  font-family: 'Tiro Devanagari Hindi', serif;
  font-size: 60px; color: rgba(255,153,16,0.55);
}
.committee-photo-placeholder small {
  font-family: var(--font-sans); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,248,236,0.45);
}
.committee-card-mini .committee-role-tag {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--font-sans); font-size: 10px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 5px 10px; border-radius: var(--radius-pill);
  background: rgba(72,22,39,0.65); color: var(--saffron);
  border: 1px solid rgba(255,153,16,0.4);
  backdrop-filter: blur(6px);
  z-index: 2;
}
.committee-card-info {
  padding: 20px 22px 24px;
  display: flex; flex-direction: column; gap: 4px;
}
.committee-card-info .role {
  font-family: var(--font-sans);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--saffron); font-weight: 600;
}
.committee-card-info .name {
  font-family: var(--font-serif); font-style: italic;
  font-size: 22px; line-height: 1.1;
  color: var(--maroon);
}
.committee-card-info .bio {
  margin-top: 10px;
  font-family: var(--font-sans); font-size: 13px; color: var(--ink-soft);
  line-height: 1.5;
}

/* Featured (presidents) row */
.committee-featured {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  margin-bottom: 32px;
}
@media (max-width: 980px) { .committee-featured { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .committee-featured { grid-template-columns: 1fr; } }

.committee-callout {
  margin-top: 80px;
  padding: 44px 48px;
  background: var(--maroon);
  color: var(--offwhite);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 36px;
  align-items: center;
  position: relative; overflow: hidden;
}
.committee-callout::before {
  content: ''; position: absolute; top: -100px; right: -80px;
  width: 380px; height: 380px;
  background-image: url('assets/ornaments/hero_mandala_orange.svg');
  background-size: contain; background-repeat: no-repeat;
  opacity: 0.10;
  animation: spin 200s linear infinite;
}
.committee-callout > * { position: relative; }
.committee-callout h3 {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(24px, 3.6vw, 40px);
  line-height: 1.04; letter-spacing: -0.01em;
}
.committee-callout h3 em { font-style: italic; color: var(--saffron); }
.committee-callout p {
  font-family: var(--font-sans); font-size: 15px;
  color: rgba(255,248,236,0.78); line-height: 1.6;
  margin-top: 12px;
}
@media (max-width: 760px) {
  .committee-callout { grid-template-columns: 1fr; padding: 32px 28px; }
}

/* =====================================================================
   EVENTS PAGE — TICKET STYLE
   ===================================================================== */
.events-page { background: var(--cream); }

.events-page-toolbar {
  display: flex; flex-wrap: wrap; gap: 18px;
  align-items: center; justify-content: space-between;
  margin-bottom: 56px;
}
.events-page-tabs {
  display: inline-flex;
  background: var(--offwhite);
  border: 1px solid var(--rule);
  border-radius: var(--radius-pill);
  padding: 5px; gap: 4px; position: relative;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}
.events-page-tabs::-webkit-scrollbar { display: none; }
.events-page-tab {
  position: relative; z-index: 2;
  padding: 10px 22px;
  font-family: var(--font-sans); font-weight: 600; font-size: 13px;
  letter-spacing: 0.02em; color: var(--ink-soft);
  border-radius: var(--radius-pill);
  transition: color 220ms ease;
  white-space: nowrap;
  cursor: pointer;
}
.events-page-tab.active { color: var(--offwhite); }
.events-page-tab-pill {
  position: absolute; top: 5px; bottom: 5px;
  background: var(--maroon);
  border-radius: var(--radius-pill);
  transition: left 420ms cubic-bezier(.2,.7,.2,1), width 420ms cubic-bezier(.2,.7,.2,1);
  z-index: 1;
}

/* Events stage grid */
.tickets-stage {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .tickets-stage { grid-template-columns: 1fr; } }

/* TICKET — refined design with stub + perforation */
.ticket {
  position: relative;
  display: grid;
  grid-template-columns: 110px 1fr 130px;
  background: var(--offwhite);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 380ms cubic-bezier(.2,.7,.2,1), box-shadow 380ms ease, border-color 380ms ease;
  min-height: 280px;
  box-shadow: var(--shadow-1);
}
.ticket:hover {
  transform: translateY(-6px) rotate(-0.3deg);
  box-shadow: var(--shadow-3);
  border-color: rgba(255,153,16,0.5);
}
@media (max-width: 600px) {
  .ticket { grid-template-columns: 88px 1fr; min-height: 0; }
  .ticket .ticket-stub { display: none; }
}

.ticket-side {
  position: relative;
  background: linear-gradient(180deg, var(--maroon), var(--maroon-deep));
  color: var(--offwhite);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 22px 8px;
  overflow: hidden;
}
.ticket-side::before {
  content: ''; position: absolute; inset: 0;
  background-image: url('assets/ornaments/hero_mandala_orange.svg');
  background-size: 200% auto;
  background-position: center;
  opacity: 0.18;
}
.ticket-side > * { position: relative; }
.ticket-side .month {
  font-family: var(--font-sans); font-size: 10px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 10px;
  text-align: center;
}
.ticket-side .day {
  font-family: var(--font-serif); font-style: italic; font-weight: 500;
  font-size: clamp(48px, 8vw, 64px); line-height: 1; letter-spacing: -0.02em;
  color: var(--offwhite);
}
.ticket-side .year {
  font-family: var(--font-sans); font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,248,236,0.55);
  margin-top: 10px;
}
.ticket-side .om {
  font-family: 'Tiro Devanagari Hindi', serif;
  color: var(--saffron); font-size: 18px;
  margin-top: 14px; opacity: 0.7;
}

.ticket-body {
  padding: 26px 26px 26px 30px;
  display: flex; flex-direction: column; gap: 12px;
  position: relative;
  min-width: 0;
}
.ticket-body::before {
  content: '';
  position: absolute;
  top: 16px; bottom: 16px;
  left: 0;
  border-left: 2px dashed rgba(92,30,51,0.25);
}
.ticket-flag {
  display: inline-flex; align-items: center; gap: 6px;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.ticket-flag.flagship { color: var(--maroon); background: var(--saffron); }
.ticket-flag.new      { color: var(--saffron); background: rgba(255,153,16,0.10); border: 1px solid var(--saffron); }
.ticket-flag.weekly   { color: var(--maroon); background: rgba(200,152,62,0.18); border: 1px solid var(--gold); }
.ticket-flag.community { color: var(--maroon); background: rgba(200,152,62,0.18); border: 1px solid var(--gold); }
.ticket-title {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(22px, 3vw, 28px); line-height: 1.05; color: var(--maroon);
  letter-spacing: -0.01em;
  margin: 0;
  word-break: break-word;
}
.ticket-title em { font-style: italic; color: var(--saffron); font-weight: 400; }
.ticket-title small {
  display: block; margin-top: 6px;
  font-family: var(--font-sans); font-style: normal; font-weight: 600;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-soft);
}
.ticket-meta {
  display: flex; flex-wrap: wrap; gap: 8px 16px;
  font-family: var(--font-sans); font-size: 13px; color: var(--ink-soft);
}
.ticket-meta-row { display: inline-flex; gap: 6px; align-items: center; }
.ticket-meta-row .icon { width: 14px; opacity: 0.7; flex-shrink: 0; }
.ticket-desc {
  font-family: var(--font-serif); font-style: italic;
  font-size: 15px; color: var(--ink); line-height: 1.45;
}
.ticket-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-sans); font-weight: 600; font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--saffron);
  margin-top: auto;
  align-self: flex-start;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-align: left;
}
.ticket-cta:hover { color: var(--saffron-soft); }
.ticket-cta .arrow { transition: transform 240ms ease; }
.ticket:hover .ticket-cta .arrow { transform: translateX(4px); }

/* Stub */
.ticket-stub {
  position: relative;
  background: var(--cream-warm);
  border-left: 2px dashed rgba(92,30,51,0.25);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 16px;
  text-align: center;
}
.ticket-stub::before,
.ticket-stub::after {
  content: ''; position: absolute; left: -7px; width: 14px; height: 14px;
  background: var(--cream); border: 1px solid var(--rule); border-radius: 50%;
}
.ticket-stub::before { top: -7px; }
.ticket-stub::after { bottom: -7px; }
.ticket-stub .label {
  font-family: var(--font-sans); font-size: 9px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-soft);
}
.ticket-stub .price {
  font-family: var(--font-serif); font-style: italic; font-weight: 500;
  font-size: 24px; line-height: 1; color: var(--maroon);
  margin-top: 6px;
}
.ticket-stub .price-sub {
  font-family: var(--font-sans); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-soft); margin-top: 6px;
}
.ticket-stub .barcode {
  margin-top: 14px;
  width: 60%; height: 28px;
  background-image: repeating-linear-gradient(90deg,
    var(--maroon) 0 1.5px, transparent 1.5px 3px,
    var(--maroon) 3px 4px,   transparent 4px 7px,
    var(--maroon) 7px 9px,   transparent 9px 12px);
  opacity: 0.85;
}

/* Featured (next event) ticket — full width */
.ticket-featured {
  grid-column: 1 / -1;
  grid-template-columns: 200px 1fr 220px;
  min-height: 380px;
}
@media (max-width: 900px) { .ticket-featured { grid-template-columns: 110px 1fr 130px; min-height: 0; } }
@media (max-width: 600px) { .ticket-featured { grid-template-columns: 88px 1fr; } }
.ticket-featured .ticket-side {
  background:
    radial-gradient(ellipse at 50% 30%, rgba(255,153,16,0.18), transparent 60%),
    linear-gradient(180deg, var(--maroon), var(--maroon-deep));
}
.ticket-featured .ticket-side .day { font-size: clamp(56px, 9vw, 92px); }
.ticket-featured .ticket-title { font-size: clamp(26px, 4vw, 38px); }
.ticket-featured .ticket-stub .price { font-size: 32px; }

/* Recurring rhythm card */
.recurring-list {
  background: var(--maroon-deep);
  color: var(--offwhite);
  border-radius: var(--radius-lg);
  padding: 8px 32px;
  position: relative; overflow: hidden;
}
.recurring-list::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 380px; height: 380px;
  background-image: url('assets/ornaments/hero_mandala_orange.svg');
  background-size: contain; background-repeat: no-repeat;
  opacity: 0.06;
  animation: spin 220s linear infinite;
}
.recurring-row {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid rgba(255,153,16,0.18);
  align-items: center;
  transition: padding 320ms ease;
  position: relative;
}
.recurring-row:first-child { border-top: 0; }
.recurring-row:last-child { border-bottom: 1px solid rgba(255,153,16,0.18); }
.recurring-row:hover { padding-left: 12px; }
.recurring-freq {
  font-family: var(--font-sans); font-weight: 600;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--saffron);
}
.recurring-name {
  font-family: var(--font-serif); font-style: italic; font-size: 20px;
  color: var(--offwhite); line-height: 1.15;
}
.recurring-name small {
  display: block; margin-top: 4px;
  font-family: var(--font-sans); font-style: normal; font-size: 13px;
  color: rgba(255,248,236,0.6); letter-spacing: 0.02em;
}
.recurring-turnout {
  font-family: var(--font-sans); font-size: 13px;
  color: rgba(255,248,236,0.7);
  text-align: right; white-space: nowrap;
}
@media (max-width: 720px) {
  .recurring-list { padding: 8px 20px; }
  .recurring-row { grid-template-columns: 1fr; gap: 6px; padding: 18px 0; }
  .recurring-row:hover { padding-left: 0; }
  .recurring-turnout { text-align: left; }
}

/* =====================================================================
   SPONSORS PAGE
   ===================================================================== */
.sponsors-page { background: var(--cream); }

.sponsors-tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 64px;
}
@media (max-width: 900px) { .sponsors-tier-grid { grid-template-columns: 1fr; } }
.tier-card {
  position: relative;
  padding: 36px 32px 40px;
  background: var(--offwhite);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column; gap: 18px;
  transition: transform 360ms cubic-bezier(.2,.7,.2,1), box-shadow 360ms ease, border-color 360ms ease;
  overflow: hidden;
}
.tier-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--rule-strong);
  transition: background 320ms ease;
}
.tier-card.headline::before  { background: linear-gradient(90deg, var(--gold), var(--saffron)); }
.tier-card.premier::before   { background: linear-gradient(90deg, #6E6E6E, #C0C0C0); }
.tier-card.supporting::before{ background: linear-gradient(90deg, #B47B43, #DDB07A); }
.tier-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-3);
  border-color: rgba(255,153,16,0.4);
}
.tier-card.featured {
  background: var(--maroon);
  color: var(--offwhite);
  border-color: rgba(255,153,16,0.4);
}
.tier-card.featured::after {
  content: 'Headline · 1 slot';
  position: absolute; top: 14px; right: 14px;
  font-family: var(--font-sans); font-size: 10px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 4px 10px; border-radius: var(--radius-pill);
  background: var(--saffron); color: var(--maroon);
}
.tier-card .tier-name {
  font-family: var(--font-sans); font-size: 12px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--saffron);
}
.tier-card .tier-price {
  font-family: var(--font-serif); font-style: italic; font-weight: 500;
  font-size: 56px; line-height: 1; color: var(--maroon);
  letter-spacing: -0.02em;
}
.tier-card.featured .tier-price { color: var(--offwhite); }
.tier-card .tier-price small {
  font-family: var(--font-sans); font-style: normal; font-weight: 500;
  font-size: 13px; letter-spacing: 0.06em;
  color: var(--ink-soft); display: block; margin-top: 4px;
}
.tier-card.featured .tier-price small { color: rgba(255,248,236,0.6); }
.tier-card .tier-tagline {
  font-family: var(--font-serif); font-style: italic;
  font-size: 17px; color: var(--ink); line-height: 1.4;
}
.tier-card.featured .tier-tagline { color: rgba(255,248,236,0.85); }
.tier-card .tier-features {
  list-style: none; display: flex; flex-direction: column; gap: 12px;
  padding: 20px 0; border-top: 1px solid var(--rule);
  font-family: var(--font-sans); font-size: 14px; color: var(--ink);
}
.tier-card.featured .tier-features { border-top-color: rgba(255,153,16,0.22); color: rgba(255,248,236,0.85); }
.tier-card .tier-features li { display: flex; gap: 10px; align-items: flex-start; }
.tier-card .tier-features li::before {
  content: '✦'; flex-shrink: 0;
  color: var(--saffron); font-family: var(--font-serif); font-style: italic;
  margin-top: 2px;
}
.tier-card .tier-cta {
  margin-top: auto;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans); font-weight: 600; font-size: 13px;
  letter-spacing: 0.02em;
  background: transparent; color: var(--maroon);
  border: 1px solid var(--rule-strong);
  transition: all 240ms ease;
}
.tier-card .tier-cta:hover { background: var(--maroon); color: var(--offwhite); border-color: var(--maroon); }
.tier-card.featured .tier-cta { background: var(--saffron); color: var(--maroon); border-color: var(--saffron); }
.tier-card.featured .tier-cta:hover { background: var(--saffron-soft); }

/* Per-event partnerships */
.partner-roles {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
@media (max-width: 900px) { .partner-roles { grid-template-columns: 1fr; } }
.partner-role {
  background: var(--offwhite);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--saffron);
  border-radius: var(--radius-lg);
  padding: 28px 28px 32px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform 320ms cubic-bezier(.2,.7,.2,1), box-shadow 320ms ease, border-color 320ms ease;
}
.partner-role:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-left-color: var(--gold); }
.partner-role .ico {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(255,153,16,0.10);
  border: 1px solid rgba(255,153,16,0.30);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.partner-role h4 {
  font-family: var(--font-serif); font-weight: 500;
  font-size: 24px; color: var(--maroon); letter-spacing: -0.01em;
}
.partner-role h4 em { font-style: italic; color: var(--saffron); }
.partner-role .lead {
  font-family: var(--font-serif); font-style: italic;
  font-size: 15px; color: var(--ink-soft); line-height: 1.45;
}
.partner-role .split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  padding-top: 8px;
  border-top: 1px solid var(--rule);
}
.partner-role .split h5 {
  font-family: var(--font-sans); font-size: 10px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 8px;
}
.partner-role .split ul {
  list-style: none; display: flex; flex-direction: column; gap: 8px;
  font-family: var(--font-sans); font-size: 13px; color: var(--ink); line-height: 1.5;
}
.partner-role .split li::before {
  content: '·'; color: var(--saffron); margin-right: 6px; font-weight: 700;
}
@media (max-width: 540px) {
  .partner-role .split { grid-template-columns: 1fr; }
}

/* Reach metrics */
.reach-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; margin: 64px 0;
  padding: 56px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
@media (max-width: 760px) { .reach-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; } }
.reach-cell { display: flex; flex-direction: column; gap: 6px; }
.reach-num {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(40px, 6vw, 64px); line-height: 1; color: var(--maroon); letter-spacing: -0.02em;
}
.reach-num .small { font-size: 0.55em; color: var(--saffron); vertical-align: super; font-style: italic; }
.reach-label { font-family: var(--font-sans); font-size: 14px; color: var(--ink-soft); letter-spacing: 0.02em; }

/* Sponsor logo wall — uses minmax(0, 1fr) instead of 1fr so the
   placeholder SVGs (which have intrinsic 220×110) can't push the
   columns wider than their share on narrow viewports. iOS Safari
   was honouring the 220px min-content and overflowing the page. */
.sponsors-wall {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px;
  padding: 32px; background: var(--offwhite); border: 1px solid var(--rule); border-radius: var(--radius-lg);
  min-width: 0;
}
@media (max-width: 900px) { .sponsors-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 460px) { .sponsors-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sponsor-slot {
  aspect-ratio: 5/3;
  border: 1px dashed var(--rule-strong);
  border-radius: var(--radius);
  display: flex; flex-direction: column; gap: 6px; align-items: center; justify-content: center;
  padding: 16px;
  background: var(--cream);
  font-family: var(--font-serif); font-style: italic;
  color: var(--ink-soft); font-size: 13px;
  text-align: center;
  min-width: 0;
  overflow: hidden;
}
.sponsor-slot .om {
  font-family: 'Tiro Devanagari Hindi', serif; font-size: 22px;
  color: rgba(255,153,16,0.5);
}
.sponsor-slot--filled {
  border-style: solid;
  border-color: var(--rule);
  padding: 14px;
}
.sponsor-slot--filled a,
.sponsor-slot--filled > div {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  min-width: 0;
  text-decoration: none;
}
.sponsor-slot--filled img {
  max-width: 100%; max-height: 100%;
  width: 100%; height: 100%;
  object-fit: contain;
  filter: grayscale(0.2);
  transition: filter 240ms ease, transform 240ms ease;
}
.sponsor-slot--filled:hover img {
  filter: none;
  transform: scale(1.04);
}

/* Inquiry form */
.sponsor-inquiry {
  margin-top: 80px;
  padding: 56px 48px;
  background: var(--maroon-deep);
  color: var(--offwhite);
  border-radius: var(--radius-lg);
  position: relative; overflow: hidden;
}
.sponsor-inquiry::before {
  content: ''; position: absolute; bottom: -120px; left: -100px;
  width: 460px; height: 460px;
  background-image: url('assets/ornaments/hero_mandala_orange.svg');
  background-size: contain; background-repeat: no-repeat; background-position: center;
  opacity: 0.10; animation: spin 220s linear infinite;
}
.sponsor-inquiry > * { position: relative; }
.sponsor-inquiry-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start;
}
@media (max-width: 900px) { .sponsor-inquiry-grid { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 540px) { .sponsor-inquiry { padding: 32px 24px; } }

/* =====================================================================
   CONTACT PAGE
   ===================================================================== */
.contact-page { background: var(--cream); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 980px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }

.contact-channels { display: flex; flex-direction: column; gap: 12px; }
.channel-card {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr 24px;
  gap: 18px; align-items: center;
  padding: 18px 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--rule);
  background: var(--offwhite);
  transition: transform 320ms cubic-bezier(.2,.7,.2,1), border-color 320ms ease, box-shadow 320ms ease;
  text-decoration: none;
}
.channel-card:hover {
  transform: translateX(6px);
  border-color: rgba(255,153,16,0.4);
  box-shadow: var(--shadow-2);
}
.channel-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,153,16,0.10);
  border: 1px solid rgba(255,153,16,0.30);
  color: var(--saffron);
  flex-shrink: 0;
}
.channel-icon svg {
  width: 26px; height: 26px;
  display: block;
}
.channel-card.whatsapp .channel-icon { background: #25D366; color: #FFFFFF; border-color: #1F5B36; }
.channel-card.instagram .channel-icon {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #FFFFFF; border: 0;
}
.channel-card.tiktok .channel-icon { background: #010101; color: #FFFFFF; border: 0; }
.channel-card.email .channel-icon { background: var(--maroon); color: var(--saffron); border: 0; }
.channel-card.qmsu .channel-icon { background: var(--cream-warm); color: var(--maroon); border: 1px solid var(--rule); }

.channel-info {
  display: flex; flex-direction: column; gap: 2px;
  min-width: 0;
}
.channel-info .label {
  font-family: var(--font-sans); font-size: 10px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--saffron);
  line-height: 1.4;
}
.channel-info .name {
  font-family: var(--font-serif); font-style: italic; font-size: 20px;
  color: var(--maroon);
  line-height: 1.15;
  word-break: break-word;
}
.channel-info .sub {
  font-family: var(--font-sans); font-size: 12px;
  color: var(--ink-soft); margin-top: 2px;
  line-height: 1.45;
}
.channel-card .arrow {
  color: var(--saffron); font-size: 22px;
  transition: transform 240ms ease;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}
.channel-card:hover .arrow { transform: translateX(6px); }
@media (max-width: 480px) {
  .channel-card { grid-template-columns: 48px 1fr 20px; padding: 16px 18px; gap: 14px; }
  .channel-icon { width: 48px; height: 48px; border-radius: 12px; }
  .channel-icon svg { width: 22px; height: 22px; }
  .channel-info .name { font-size: 18px; }
}

/* Form */
.contact-form-card {
  position: relative;
  padding: 36px 36px 40px;
  border-radius: var(--radius-lg);
  background: var(--offwhite);
  border: 1px solid var(--rule);
  box-shadow: var(--shadow-2);
}
@media (max-width: 540px) { .contact-form-card { padding: 28px 22px 32px; } }
.contact-form-card h3 {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(26px, 4vw, 32px); color: var(--maroon); letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.contact-form-card h3 em { font-style: italic; color: var(--saffron); }
.contact-form-card > p {
  font-family: var(--font-sans); font-size: 14px;
  color: var(--ink-soft); margin-bottom: 28px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 540px) { .form-grid { grid-template-columns: 1fr; } .form-grid .full { grid-column: auto; } }
.field {
  display: flex; flex-direction: column; gap: 6px;
  position: relative;
  min-width: 0;
}
.field label {
  font-family: var(--font-sans); font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-soft);
}
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--rule-strong);
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans); font-size: 15px;
  outline: none;
  transition: border-color 240ms ease, background 240ms ease, box-shadow 240ms ease;
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(42,17,24,0.4); }
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--saffron);
  background: var(--offwhite);
  box-shadow: 0 0 0 4px rgba(255,153,16,0.10);
}
.field textarea { resize: vertical; min-height: 140px; }

.form-submit {
  margin-top: 24px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 30px;
  background: var(--maroon);
  color: var(--offwhite);
  border-radius: var(--radius-pill);
  font-family: var(--font-sans); font-weight: 600; font-size: 14px;
  letter-spacing: 0.02em; cursor: pointer;
  transition: all 240ms ease;
}
.form-submit:hover {
  background: var(--saffron); color: var(--maroon);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -10px rgba(255,153,16,0.6);
}
.form-submit:disabled { opacity: 0.6; cursor: progress; transform: none; }

.form-status {
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: var(--radius);
  font-family: var(--font-sans); font-size: 14px;
  display: none;
}
.form-status.show { display: block; animation: fadeUp 320ms cubic-bezier(.2,.7,.2,1); }
.form-status.success {
  background: rgba(37,211,102,0.10);
  border: 1px solid rgba(37,211,102,0.4);
  color: #1F5B36;
}
.form-status.error {
  background: rgba(220,39,67,0.10);
  border: 1px solid rgba(220,39,67,0.4);
  color: #8C1F2A;
}

/* Map / location card */
.location-card {
  margin-top: 16px;
  padding: 22px 24px;
  border-radius: var(--radius-lg);
  background: var(--cream-warm);
  border: 1px solid var(--rule);
}
.location-card h4 {
  font-family: var(--font-sans); font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--saffron);
  margin-bottom: 8px;
}
.location-card p {
  font-family: var(--font-serif); font-style: italic; font-size: 17px;
  color: var(--maroon); line-height: 1.4;
}
.location-card small {
  display: block; margin-top: 8px;
  font-family: var(--font-sans); font-size: 12px; color: var(--ink-soft); line-height: 1.5;
}

/* FAQ accordion — perfectly symmetrical +/− toggle using pseudo-elements */
.faq-list {
  margin-top: 64px;
  display: flex; flex-direction: column; gap: 8px;
}
.faq-item {
  border-radius: var(--radius);
  border: 1px solid var(--rule);
  background: var(--offwhite);
  overflow: hidden;
  transition: border-color 240ms ease;
}
.faq-item:hover { border-color: rgba(255,153,16,0.4); }
.faq-question {
  width: 100%; text-align: left;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 26px;
  font-family: var(--font-serif); font-style: italic; font-size: clamp(17px, 2.4vw, 20px);
  color: var(--maroon); cursor: pointer;
  transition: background 240ms ease;
  line-height: 1.3;
}
.faq-item.open .faq-question { background: var(--cream-warm); }

.faq-question .toggle {
  position: relative;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255,153,16,0.10);
  flex-shrink: 0;
  transition: background 240ms ease;
}
.faq-question .toggle::before,
.faq-question .toggle::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  background: var(--saffron);
  transition: transform 320ms cubic-bezier(.2,.7,.2,1), opacity 320ms ease, background 240ms ease;
  border-radius: 1px;
}
/* Horizontal bar of "+" — always visible (turns into "−") */
.faq-question .toggle::before {
  width: 12px; height: 1.5px;
  transform: translate(-50%, -50%);
}
/* Vertical bar of "+" — fades / collapses to make "−" */
.faq-question .toggle::after {
  width: 1.5px; height: 12px;
  transform: translate(-50%, -50%) scaleY(1);
  transform-origin: center;
}
.faq-item.open .faq-question .toggle { background: var(--saffron); }
.faq-item.open .faq-question .toggle::before { background: var(--maroon); }
.faq-item.open .faq-question .toggle::after  { background: var(--maroon); transform: translate(-50%, -50%) scaleY(0); opacity: 0; }

.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 380ms cubic-bezier(.2,.7,.2,1);
}
.faq-item.open .faq-answer { max-height: 600px; }
.faq-answer-inner {
  padding: 4px 26px 24px;
  font-family: var(--font-sans); font-size: 15px;
  line-height: 1.65; color: var(--ink-soft);
}
@media (max-width: 540px) {
  .faq-question { padding: 18px 20px; }
  .faq-answer-inner { padding: 4px 20px 22px; font-size: 14px; }
}

/* =====================================================================
   HOME PAGE — preview tiles
   ===================================================================== */
.preview-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.preview-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--maroon);
  color: var(--offwhite);
  min-height: 320px;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 28px;
  text-decoration: none;
  isolation: isolate;
  transition: transform 380ms cubic-bezier(.2,.7,.2,1), box-shadow 380ms ease;
  border: 1px solid var(--rule);
}
.preview-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-3); }
.preview-card .preview-bg {
  position: absolute; inset: 0; z-index: 0;
  transition: transform 1400ms cubic-bezier(.2,.7,.2,1);
}
.preview-card .preview-bg img,
.preview-card .preview-bg video {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.preview-card:hover .preview-bg { transform: scale(1.06); }
.preview-card::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(72,22,39,0.20) 0%, rgba(72,22,39,0.50) 50%, rgba(72,22,39,0.92) 100%);
  transition: background 420ms ease;
}
.preview-card:hover::after {
  background: linear-gradient(180deg, rgba(72,22,39,0.10) 0%, rgba(72,22,39,0.55) 50%, rgba(72,22,39,0.95) 100%);
}
.preview-card > * { position: relative; z-index: 2; }
.preview-card .preview-eyebrow {
  font-family: var(--font-sans); font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--saffron); margin-bottom: 12px;
}
.preview-card h3 {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(24px, 3vw, 32px); line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.preview-card h3 em { font-style: italic; color: var(--saffron); }
.preview-card p {
  font-family: var(--font-sans); font-size: 14px;
  color: rgba(255,248,236,0.78); line-height: 1.5;
  max-width: 90%;
}
.preview-card .preview-go {
  margin-top: 18px;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-sans); font-size: 12px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--saffron);
}
.preview-card .preview-go .arrow { transition: transform 240ms ease; }
.preview-card:hover .preview-go .arrow { transform: translateX(6px); }

.preview-card.large { grid-column: span 8; min-height: 460px; }
.preview-card.medium { grid-column: span 4; min-height: 380px; }
.preview-card.small { grid-column: span 4; }
.preview-card.wide { grid-column: span 6; }
@media (max-width: 980px) {
  .preview-card.large,
  .preview-card.medium,
  .preview-card.small,
  .preview-card.wide { grid-column: span 12; min-height: 320px; }
}

/* Snapshot section: a mini-gallery on the home page */
.snapshot {
  margin-top: 40px;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px;
}
.snapshot a {
  position: relative;
  display: block;
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--maroon);
  transition: transform 320ms cubic-bezier(.2,.7,.2,1), box-shadow 320ms ease;
}
.snapshot a img,
.snapshot a video {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 800ms cubic-bezier(.2,.7,.2,1);
}
.snapshot a:hover { transform: translateY(-4px); box-shadow: var(--shadow-3); z-index: 2; }
.snapshot a:hover img,
.snapshot a:hover video { transform: scale(1.06); }
.snapshot a::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(72,22,39,0.85));
  opacity: 0; transition: opacity 280ms ease;
}
.snapshot a:hover::after { opacity: 1; }
.snapshot .tall { grid-row: span 2; aspect-ratio: 1/2; }
.snapshot .wide { grid-column: span 2; aspect-ratio: 2/1; }
@media (max-width: 760px) { .snapshot { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 460px) {
  .snapshot { grid-template-columns: repeat(2, 1fr); }
  .snapshot .wide { grid-column: span 2; }
  .snapshot .tall { grid-row: span 2; }
}

/* =====================================================================
   FOOTER — animated marquee for the big text so it never gets cut off
   ===================================================================== */
.footer-mega {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(56px, 14vw, 220px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: rgba(255,153,16,0.10);
  margin: 32px 0 24px;
  white-space: nowrap;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, black 4%, black 96%, transparent);
}
.footer-mega-track {
  display: inline-flex;
  gap: 64px;
  animation: footer-mega-scroll 48s linear infinite;
  padding-left: 64px;
}
.footer-mega-track > span { display: inline-block; }
.footer-mega em { font-style: italic; }
@keyframes footer-mega-scroll {
  to { transform: translateX(-50%); }
}

/* =====================================================================
   Mobile nav drawer
   ---------------------------------------------------------------------
   IMPORTANT: the .nav element used to have backdrop-filter, which
   creates a containing block for position:fixed descendants. That
   meant the drawer's `inset: 0` was constrained to the nav's bounds
   (~108px tall) instead of the viewport, so the drawer never opened
   visibly. We now drop backdrop-filter on .nav at the mobile
   breakpoint and use explicit viewport units on the drawer as a
   belt-and-braces fix. Either alone solves it; using both means it
   stays solid even if some browser quirks change containing-block
   semantics in the future.
   ===================================================================== */
@media (max-width: 980px) {
  /* Drop backdrop-filter on the nav so it does NOT become a containing
     block for the fixed drawer beneath. The 96% opaque background
     already gives the right look without the blur. */
  .nav {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

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

  .nav-links {
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    width: 100vw;
    height: 100vh;
    /* Some recent iOS Safari supports svh/dvh which avoid the URL bar.
       100vh is the universal fallback. */
    height: 100svh;
    height: 100dvh;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 100px 32px 40px;
    background: var(--maroon-deep);
    transform: translateX(100%);
    transition: transform 380ms cubic-bezier(.2,.7,.2,1);
    z-index: 200; /* Above .scroll-progress (100) and the nav (90) */
    display: flex !important;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-links.open { transform: translateX(0) !important; }
  .nav-links a {
    width: 100%;
    padding: 16px 0;
    font-family: var(--font-serif); font-style: italic;
    font-size: clamp(22px, 5vw, 28px);
    opacity: 1;
    border-bottom: 1px solid rgba(255,153,16,0.18);
    color: var(--offwhite);
  }
  .nav-links a::after { display: none; }
  .nav-links a.active { color: var(--saffron); }

  /* "Become a Member" CTA inside the drawer (mobile-only mirror of the
     desktop .nav-cta which is display:none here). Saffron pill, sits
     under the page links with extra breathing room.
     The selector is .nav-links a.nav-links-cta to beat the broader
     `.nav-links a` rule above on specificity (0,2,1 > 0,1,1). */
  .nav-links a.nav-links-cta {
    width: auto;
    align-self: flex-start;
    margin-top: 28px;
    padding: 14px 22px;
    background: var(--saffron);
    color: var(--maroon-deep);
    font-family: var(--font-sans);
    font-style: normal;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: 999px;
    border-bottom: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    opacity: 1;
  }
  .nav-links a.nav-links-cta:hover,
  .nav-links a.nav-links-cta:focus-visible {
    color: var(--maroon-deep);
    background: var(--saffron-soft, #ffb547);
  }

  /* Instagram + TikTok icon row in the drawer (mobile-only mirror of
     the utility-bar icons, which are display:none here). One line,
     left-aligned to match the CTA pill above. */
  .nav-links-socials {
    display: flex;
    gap: 18px;
    margin-top: 20px;
    align-self: flex-start;
  }
  .nav-links a.nav-links-social {
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 999px;
    border-bottom: 0;
    background: rgba(255, 153, 16, 0.10);
    color: var(--saffron);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: background 160ms ease, color 160ms ease, transform 160ms ease;
  }
  .nav-links a.nav-links-social:hover,
  .nav-links a.nav-links-social:focus-visible {
    background: var(--saffron);
    color: var(--maroon-deep);
    transform: translateY(-1px);
  }
  .nav-links a.nav-links-social::after { content: none; }

  /* Toggle stays above the drawer so the user can always close it */
  .nav-toggle { z-index: 201; position: relative; }

  body.nav-open { overflow: hidden; }
}

/* Hide the in-drawer CTA + socials row on desktop (utility bar
   and .nav-cta cover those slots). */
@media (min-width: 981px) {
  .nav-links-cta,
  .nav-links-socials { display: none; }
}

/* =====================================================================
   Page-wide responsive fixes
   ===================================================================== */
@media (max-width: 980px) {
  .page-hero { padding: 64px 22px 56px; }
  .page-hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .page-hero-meta { padding: 18px 0 4px; }
  .page-hero-meta div { gap: 10px; }

  .events-page-toolbar { gap: 12px; }
  .events-filter { font-size: 14px; }
  .reach-grid { padding: 40px 0; margin: 40px 0; }

  .contact-grid { gap: 28px; }
  .sponsor-inquiry { padding: 36px 28px; }

  .nav { padding: 12px 22px; }
  .utility-bar { display: none; }

  /* Footer */
  .footer { padding: 64px 22px 28px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; padding-bottom: 36px; margin-bottom: 24px; }
  .footer-newsletter { flex-direction: column; }
  .footer-newsletter button { width: 100%; }
  .footer-bottom { font-size: 11px; gap: 12px; }
  .footer-bottom-right { gap: 14px; flex-wrap: wrap; }
}
@media (max-width: 600px) {
  .section { padding: 64px 22px; }
  .section-header { gap: 18px; margin-bottom: 36px; }
  .section-title { font-size: clamp(28px, 8vw, 48px); }
  .section-lead { font-size: 15px; }

  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-mega { font-size: clamp(44px, 18vw, 100px); margin: 20px 0 18px; }
  .footer-brand p { font-size: 16px; }
  .footer-newsletter input { font-size: 13px; padding: 11px 14px; }

  .events-page-toolbar { flex-direction: column; align-items: flex-start; }
  .gallery-toolbar { flex-direction: column; align-items: flex-start; }

  .page-hero-title { font-size: clamp(36px, 9vw, 64px); }
  .ticket-meta { font-size: 12px; gap: 6px 12px; }

  /* Pillars stack */
  .pillars-grid { grid-template-columns: 1fr; gap: 12px; }
  .pillar { min-height: 0; padding: 24px 22px 28px; }

  /* About visual on tiny screens */
  .about-quote-card { display: none; }

  /* Stats stack */
  .stats { grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 56px; padding-top: 36px; }
  .stat-num { font-size: 44px; }
  .stat-num .small { font-size: 28px; }
}
@media (max-width: 420px) {
  .nav { padding: 12px 16px; }
  .section { padding: 56px 16px; }
  .footer { padding: 56px 16px 24px; }
  .nav-brand-text { font-size: 16px; }
  .nav-brand img { height: 36px; }
  .stats { grid-template-columns: 1fr; }
}

/* Hero on smaller screens — ensure it never overflows */
@media (max-width: 980px) {
  .hero { padding: 56px 22px 56px; min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-title { font-size: clamp(40px, 10vw, 80px); }
  .hero-sub { font-size: 16px; }
  .hero-meta { padding: 22px; max-width: 100%; }
  .hero-meta-feature { grid-template-columns: 1fr; gap: 12px; }
  .hero-meta-feature .name { font-size: 22px; }
  .hero-scroll { display: none; }
}
@media (max-width: 600px) {
  .hero-meta { grid-template-columns: 1fr; }
  .hero-meta-cell { padding: 12px 12px; }
  .hero-meta-value { font-size: 18px; }
}

/* Tighten section paddings on inner pages */
.section.tight { padding: 80px 40px; }
@media (max-width: 980px) { .section.tight { padding: 56px 22px; } }
@media (max-width: 600px) { .section.tight { padding: 48px 22px; } }

/* Override the existing flex section-header with a clean two-column grid so the
   eyebrow + title block and the lead paragraph stay top-aligned and don't drift
   into weird positions when the title wraps. */
.section-header {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 48px;
  align-items: end;
}
.section-header > :first-child { min-width: 0; }
.section-header .section-lead { margin-top: 0; }
@media (max-width: 900px) {
  .section-header { grid-template-columns: 1fr; gap: 18px; align-items: start; margin-bottom: 40px; }
}

/* Section flourish divider */
.divider-flourish {
  text-align: center;
  margin: 48px 0;
  display: flex; align-items: center; justify-content: center; gap: 24px;
  color: var(--saffron);
}
.divider-flourish .line {
  width: 64px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--saffron));
}
.divider-flourish .line.right { background: linear-gradient(90deg, var(--saffron), transparent); }
.divider-flourish .om {
  font-family: 'Tiro Devanagari Hindi', serif;
  font-size: 24px;
}

/* =====================================================================
   Accessibility & motion preferences
   ===================================================================== */
*:focus-visible {
  outline: 2px solid var(--saffron);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn:focus-visible,
.nav-cta:focus-visible,
.form-submit:focus-visible,
.tier-cta:focus-visible {
  outline: 2px solid var(--saffron);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero-mandala,
  .hero-mandala-corner,
  .hero-mandala-bottom,
  .sponsor::before,
  .sponsor-card::before,
  .committee-card::before,
  .footer::before,
  .committee-callout::before,
  .sponsor-inquiry::before,
  .pillars::before,
  .footer-mega-track {
    animation: none !important;
  }
}

/* =====================================================================
   COMPREHENSIVE MOBILE PASS
   Every element reviewed and tuned for phones and small tablets.
   Five breakpoints: 980px (tablet), 760px, 600px, 480px (phone), 360px.
   ===================================================================== */

/* Prevent iOS zoom on input focus by ensuring 16px base size on inputs */
@media (max-width: 980px) {
  .field input,
  .field textarea,
  .field select,
  .footer-newsletter input { font-size: 16px !important; }
}

/* Smoother horizontal-overflow guarantee */
html, body { overflow-x: hidden; max-width: 100vw; }

/* ---- TABLET / MEDIUM PHONES (≤ 980px) ---- */
@media (max-width: 980px) {
  /* Nav: cleaner padding, ensure brand text + toggle fit */
  .nav { padding: 12px 20px; }
  .nav-brand img { height: 38px; }
  .nav-brand-text { font-size: 16px; }
  .nav-brand-text small { font-size: 9px; letter-spacing: 0.16em; }

  /* Drawer: tighter padding so very-small screens don't run out of room */
  .nav-links { padding: 96px 24px 32px; }

  /* Hero meta — more breathing room */
  .hero-meta { padding: 24px 20px; gap: 6px; }
  .hero-meta-cell { padding: 12px 14px; gap: 4px; }
  .hero-meta-label { font-size: 10px; }
  .hero-meta-value { font-size: 18px; }
  .hero-meta-sub { font-size: 11px; }

  /* Hero countdown: stack cells onto a single row even when feature wraps */
  .hero-meta-feature .countdown { flex-wrap: wrap; gap: 6px; }
  .hero-meta-feature .countdown .cell { min-width: 56px; padding: 8px 10px; }
  .hero-meta-feature .name { font-size: 20px; }

  /* About visual: smaller height so it doesn't dominate stacked layout */
  .about-visual { aspect-ratio: 5/4; }

  /* Pillars grid: 2-up tablet */
  .pillars-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .pillar { min-height: 0; padding: 28px 24px 32px; }
  .pillar-icon { width: 48px; height: 48px; font-size: 24px; }
  .pillar-title { font-size: 24px; }

  /* Event tickets: full-width single column on tablet */
  .tickets-stage { gap: 20px; }
  .ticket { min-height: 0; }

  /* Sponsor reach numbers smaller */
  .reach-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .reach-num { font-size: 44px; }

  /* Committee callout */
  .committee-callout { padding: 36px 32px; }
  .committee-callout h3 { font-size: 28px; }

  /* Section header on inner pages */
  .page-hero-meta { font-size: 12px; }
  .page-hero-meta strong { font-size: 16px; }
  .page-hero-crumbs { margin-bottom: 14px; font-size: 11px; }
}

/* ---- SMALL TABLETS / LARGE PHONES (≤ 760px) ---- */
@media (max-width: 760px) {
  /* Hero: tighter top padding so the title appears above the fold */
  .hero { padding: 48px 20px 56px; }
  .hero-eyebrow { margin-bottom: 18px; font-size: 12px; }
  .hero-deva { font-size: 18px; margin-bottom: 12px; }
  .hero-title { margin-bottom: 22px; }
  .hero-sub { margin-bottom: 32px; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { padding: 14px 22px; font-size: 13px; }
  .hero-award { display: none; } /* hidden in case it ever comes back */

  /* Page hero on inner pages */
  .page-hero { padding: 56px 20px 48px; }
  .page-hero-eyebrow { margin-bottom: 16px; }
  .page-hero-deva { font-size: 18px; margin-bottom: 10px; }
  .page-hero-meta { gap: 10px; padding: 18px 0 4px; }
  .page-hero-meta div { flex-wrap: wrap; gap: 6px; }
  .page-hero-meta strong { font-size: 15px; }

  /* Pillars: single column */
  .pillars-grid { grid-template-columns: 1fr; gap: 12px; }

  /* Reach grid: 2-up */
  .reach-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; padding: 36px 0; margin: 36px 0; }
  .reach-num { font-size: clamp(36px, 10vw, 56px); }

  /* Sponsor inquiry padding */
  .sponsor-inquiry { padding: 36px 24px; }

  /* About: tighter quote card hidden, label moves */
  .about-quote-card { display: none; }
  .about-visual { aspect-ratio: 4/3; }

  /* Committee callout stack */
  .committee-callout { grid-template-columns: 1fr; padding: 32px 24px; gap: 24px; }

  /* Events tabs: scroll on overflow */
  .events-page-tabs { width: 100%; overflow-x: auto; padding: 4px; }
  .events-page-tab { padding: 10px 16px; font-size: 12px; }

  /* Gallery tabs: same */
  .gallery-tabs { padding: 4px; }
  .gallery-tab { padding: 9px 16px; font-size: 12px; }

  /* Channel cards: more compact */
  .channel-card { padding: 16px 18px; gap: 14px; }
}

/* ---- PHONES (≤ 600px) ---- */
@media (max-width: 600px) {
  /* Section paddings even tighter */
  .section { padding: 56px 18px; }
  .section.tight { padding: 44px 18px; }
  .section-header { margin-bottom: 32px; gap: 14px; }
  .section-title { font-size: clamp(26px, 8.5vw, 44px); line-height: 1.05; }
  .section-eyebrow { font-size: 12px; margin-bottom: 14px; }
  .section-lead { font-size: 15px; line-height: 1.55; }

  /* Hero: aggressive tightening */
  .hero { padding: 40px 18px 48px; }
  .hero-title { font-size: clamp(36px, 11vw, 64px); line-height: 0.98; }
  .hero-sub { font-size: 15px; max-width: 100%; margin-bottom: 28px; line-height: 1.5; }
  .hero-meta { padding: 20px 18px; }
  .hero-meta-cell {
    padding: 12px 12px;
    border-left: 2px solid var(--saffron);
    border-bottom: none;
  }
  .hero-meta-cell:not(:last-of-type) {
    border-bottom: 1px solid rgba(255,153,16,0.15);
    padding-bottom: 14px;
    margin-bottom: 4px;
  }
  .hero-meta-feature {
    padding: 16px 0 0;
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .hero-meta-feature .name { font-size: 22px; }
  .hero-meta-feature .countdown {
    justify-content: flex-start;
  }

  /* Page hero: similarly tight */
  .page-hero { padding: 48px 18px 40px; }
  .page-hero-title { font-size: clamp(32px, 10vw, 56px); }
  .page-hero-sub { font-size: 15px; margin-top: 22px; line-height: 1.55; }

  /* About letter — tighter */
  .about { padding: 64px 18px !important; }
  .about-grid { gap: 36px; }
  .about-copy p { font-size: 16px; margin-bottom: 18px; line-height: 1.6; }
  .about-sig { margin-top: 28px; gap: 12px; }
  .about-sig-text { font-size: 18px; }

  /* Stats: 2-up on phone, 1 on tiny */
  .stats { grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 40px; padding-top: 28px; }
  .stat-num { font-size: 36px; line-height: 1; }
  .stat-num .small { font-size: 22px; }
  .stat-label { font-size: 12px; }

  /* Tickets: single column, slim stub hidden */
  .tickets-stage { gap: 16px; }
  .ticket { grid-template-columns: 80px 1fr; min-height: 0; }
  .ticket .ticket-stub { display: none; }
  .ticket-side .month { font-size: 9px; letter-spacing: 0.12em; }
  .ticket-side .day { font-size: 44px; }
  .ticket-side .year { font-size: 9px; }
  .ticket-side .om { font-size: 16px; margin-top: 10px; }
  .ticket-side { padding: 16px 6px; }
  .ticket-body { padding: 18px 18px 22px 22px; gap: 10px; }
  .ticket-title { font-size: 22px; }
  .ticket-title small { font-size: 10px; }
  .ticket-meta { font-size: 12px; gap: 6px 12px; }
  .ticket-desc { font-size: 14px; }
  .ticket-cta { font-size: 12px; }
  .ticket-featured { grid-template-columns: 80px 1fr; }
  .ticket-featured .ticket-side .day { font-size: 56px; }
  .ticket-featured .ticket-title { font-size: 26px; }

  /* Recurring rows: stack cleanly */
  .recurring-list { padding: 4px 18px; }
  .recurring-row { grid-template-columns: 1fr; gap: 4px; padding: 16px 0; }
  .recurring-row:hover { padding-left: 0; }
  .recurring-name { font-size: 18px; }
  .recurring-name small { font-size: 12px; }
  .recurring-turnout { text-align: left; font-size: 12px; }

  /* Sponsor tier cards */
  .sponsors-tier-grid { gap: 14px; }
  .tier-card { padding: 28px 24px 32px; }
  .tier-card .tier-price { font-size: 44px; }

  /* Per-event partner role cards */
  .partner-role { padding: 24px 22px 28px; }
  .partner-role h4 { font-size: 22px; }
  .partner-role .ico { width: 40px; height: 40px; font-size: 20px; }
  .partner-role .lead { font-size: 14px; }

  /* Sponsor-pack download CTA — stack */
  .sponsors-page .reveal[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    padding: 32px 24px !important;
  }
  .sponsors-page .reveal[style*="grid-template-columns"] h3 { font-size: 24px !important; }

  /* Sponsor inquiry */
  .sponsor-inquiry-grid { gap: 28px; }
  .sponsor-inquiry h2 { font-size: 32px !important; }

  /* Channel cards */
  .channel-card { grid-template-columns: 48px 1fr 16px; padding: 14px 16px; gap: 12px; }
  .channel-icon { width: 48px; height: 48px; border-radius: 12px; }
  .channel-icon svg { width: 22px; height: 22px; }
  .channel-info .name { font-size: 17px; line-height: 1.2; }
  .channel-info .label { font-size: 9px; letter-spacing: 0.12em; }
  .channel-info .sub { font-size: 12px; line-height: 1.45; margin-top: 2px; }
  .channel-card .arrow { font-size: 18px; }

  /* Form */
  .contact-form-card { padding: 26px 20px 30px; }
  .contact-form-card h3 { font-size: 24px; margin-bottom: 6px; }
  .contact-form-card > p { font-size: 13px; margin-bottom: 22px; }
  .form-grid { gap: 14px; }
  .field input, .field textarea, .field select { padding: 12px 14px; }
  .field textarea { min-height: 120px; }
  .form-submit { padding: 14px 24px; font-size: 13px; width: 100%; justify-content: center; }

  /* FAQ */
  .faq-list { margin-top: 48px; }
  .faq-question { padding: 18px 20px; gap: 12px; }
  .faq-answer-inner { padding: 4px 20px 20px; font-size: 14px; }

  /* Committee */
  .committee-section + .committee-section { margin-top: 64px; }
  .committee-section-title { font-size: 26px; gap: 10px; }
  .committee-section-title .ord { font-size: 9px; padding: 3px 9px; }
  .committee-section-lead { font-size: 16px; margin-bottom: 28px; }
  .committee-card-info { padding: 16px 18px 20px; }
  .committee-card-info .name { font-size: 19px; }
  .committee-card-info .bio { font-size: 12px; margin-top: 8px; }
  .committee-card-info .role { font-size: 10px; }

  /* Gallery */
  .gallery-grid { column-gap: 8px; }
  .gallery-item { margin-bottom: 8px; }
  .gallery-item-tag { font-size: 9px; padding: 4px 8px; top: 8px; left: 8px; }
  .gallery-item .play-icon { width: 48px; height: 48px; }

  /* Lightbox controls bigger for thumb tapping */
  .lightbox-close, .lightbox-prev, .lightbox-next { width: 48px; height: 48px; font-size: 24px; }
  .lightbox-close { top: 16px; right: 16px; }
  .lightbox-prev { left: 12px; }
  .lightbox-next { right: 12px; }
  .lightbox { padding: 20px; }

  /* Footer */
  .footer { padding: 56px 18px 24px; }
  .footer-mega { font-size: clamp(40px, 17vw, 88px); margin: 16px 0 14px; }
  .footer-top { grid-template-columns: 1fr; gap: 24px; padding-bottom: 28px; margin-bottom: 20px; }
  .footer-brand-row img { height: 44px; }
  .footer-brand-row .text { font-size: 18px; }
  .footer-brand p { font-size: 14px; line-height: 1.5; }
  .footer-newsletter input { font-size: 16px; padding: 12px 14px; }
  .footer-col h4 { margin-bottom: 14px; }
  .footer-col li a { font-size: 13px; }
  .footer-col p { font-size: 13px; }
  .footer-bottom { font-size: 11px; gap: 10px; flex-direction: column; align-items: flex-start; }

  /* Sponsor wall */
  .sponsors-wall { gap: 14px; padding: 22px; }
  .sponsor-slot { padding: 14px; font-size: 12px; }
  .sponsor-slot .om { font-size: 18px; }
}

/* ---- TINY PHONES (≤ 480px) ---- */
@media (max-width: 480px) {
  .nav { padding: 10px 16px; }
  .nav-brand-text { font-size: 14px; line-height: 1.05; }
  .nav-brand-text small { font-size: 9px; letter-spacing: 0.14em; }
  .nav-brand img { height: 32px; }
  .nav-toggle { width: 36px; height: 36px; }

  .nav-links { padding: 84px 22px 24px; }
  .nav-links a { font-size: 22px; padding: 14px 0; }

  .section { padding: 48px 16px; }
  .footer { padding: 48px 16px 22px; }

  .hero { padding: 32px 16px 40px; }
  .hero-meta { padding: 18px 16px; }

  .page-hero { padding: 40px 16px 36px; }

  .reach-grid { padding: 28px 0; margin: 28px 0; gap: 22px; }

  /* Stats: still 2 up but tinier text */
  .stats { gap: 18px; }
  .stat-num { font-size: 32px; }

  /* Page-hero meta wrap */
  .page-hero-meta div { gap: 4px; }
  .page-hero-meta strong { font-size: 14px; }
}

/* ---- ULTRA-NARROW (≤ 360px) ---- */
@media (max-width: 360px) {
  .nav-brand-text small { display: none; }
  .nav-brand img { height: 30px; }

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

  .hero-meta-feature .countdown .cell { min-width: 48px; padding: 6px 8px; }

  .ticket { grid-template-columns: 64px 1fr; }
  .ticket-side { padding: 14px 4px; }
  .ticket-side .day { font-size: 36px; }
  .ticket-side .month, .ticket-side .year { font-size: 8px; letter-spacing: 0.10em; }
  .ticket-body { padding: 14px 14px 18px 18px; }
  .ticket-title { font-size: 20px; }

  .reach-grid { grid-template-columns: 1fr; gap: 22px; }
}

/* ---- LANDSCAPE PHONE — keep things readable in landscape too ---- */
@media (max-width: 980px) and (orientation: landscape) and (max-height: 540px) {
  .hero { min-height: 0; padding-top: 80px; }
  .nav-links { padding-top: 80px; }
}

/* =====================================================================
   GLOBAL SPACING TIGHTEN
   Trims the "slightly too much" padding/margin that crept in across
   both desktop and mobile. Applied last so it overrides earlier rules.
   ===================================================================== */

/* Desktop spacing: trim section padding ~20% */
.section { padding: 96px 40px; }
.section.tight { padding: 64px 40px; }
.section-header { margin-bottom: 48px; }
.section-inner { max-width: 1320px; }

/* Hero: tighter top + bottom on desktop */
.hero { padding: 64px 40px 56px; }

/* Page hero: trim too */
.page-hero { padding: 80px 40px 64px; }

/* Inline section padding overrides on the home/about letter sections */
.section.about[style*="padding"],
.section[style*="padding: 100px"] { padding: 80px 40px !important; }

/* Committee sections */
.committee-section + .committee-section { margin-top: 72px; }
.committee-section-lead { margin-bottom: 28px; }
.committee-callout { margin-top: 64px; padding: 36px 40px; }

/* Stats — less air above */
.stats { margin-top: 72px; padding-top: 44px; }

/* Pillars padding tighter */
.pillar { padding: 28px 26px 32px; min-height: 320px; }

/* Reach grid: tighter */
.reach-grid { padding: 48px 0; margin: 48px 0; }

/* Sponsors page sections — tighter gaps */
.sponsors-tier-grid { margin-bottom: 56px; }
.sponsor-inquiry { margin-top: 64px; padding: 44px 44px; }

/* Footer — pull mega text slightly closer to content */
.footer { padding: 80px 40px 32px; }
.footer-mega { margin: 24px 0 20px; }
.footer-top { padding-bottom: 44px; margin-bottom: 28px; }

/* Tablet: extra tightening */
@media (max-width: 980px) {
  .section { padding: 64px 22px; }
  .section.tight { padding: 48px 22px; }
  .section-header { margin-bottom: 36px; }
  .hero { padding: 44px 22px 48px; }
  .page-hero { padding: 56px 22px 48px; }
  .section.about[style*="padding"] { padding: 56px 22px !important; }
  .stats { margin-top: 48px; padding-top: 32px; }
  .reach-grid { padding: 36px 0; margin: 36px 0; }
  .committee-section + .committee-section { margin-top: 56px; }
  .committee-callout { margin-top: 48px; padding: 32px 28px; }
  .sponsor-inquiry { margin-top: 52px; padding: 36px 26px; }
  .footer { padding: 56px 22px 26px; }
  .footer-top { padding-bottom: 28px; margin-bottom: 22px; }
  .pillar { min-height: 0; padding: 24px 22px 28px; }
}

/* Phone: tighten further still */
@media (max-width: 600px) {
  .section { padding: 48px 18px; }
  .section.tight { padding: 36px 18px; }
  .section-header { margin-bottom: 28px; gap: 12px; }
  .hero { padding: 32px 18px 40px; }
  .page-hero { padding: 40px 18px 36px; }
  .section.about[style*="padding"] { padding: 48px 18px !important; }
  .about-grid { gap: 28px; }
  .stats { margin-top: 36px; padding-top: 24px; gap: 18px; }
  .pillars-grid { gap: 10px; }
  .pillar { padding: 22px 20px 26px; }
  .events-page-toolbar { margin-bottom: 28px; }
  .reach-grid { padding: 28px 0; margin: 28px 0; gap: 22px; }
  .committee-section + .committee-section { margin-top: 44px; }
  .committee-section-lead { margin-bottom: 22px; }
  .committee-callout { margin-top: 36px; padding: 26px 22px; }
  .sponsors-tier-grid { margin-bottom: 36px; }
  .sponsor-inquiry { margin-top: 40px; padding: 30px 22px; }
  .footer { padding: 40px 18px 22px; }
  .footer-mega { margin: 14px 0 12px; }
  .footer-top { padding-bottom: 22px; margin-bottom: 18px; gap: 22px; }
  .tickets-stage { gap: 14px; }
  .gallery-toolbar { margin-bottom: 22px; }
  .faq-list { margin-top: 36px; }
}

/* Tiny phone: smallest reasonable values */
@media (max-width: 420px) {
  .section { padding: 40px 16px; }
  .hero { padding: 28px 16px 32px; }
  .page-hero { padding: 32px 16px 28px; }
  .footer { padding: 32px 16px 20px; }
  .section.about[style*="padding"] { padding: 36px 16px !important; }
}

/* =====================================================================
   NARROW-PHONE OVERFLOW FIXES
   ===================================================================== */

/* Home-page sponsor card: stack the three mini tiers when there's no
   room for them side by side. Below ~480px the 3-col grid was getting
   visually cramped and looked overflowing. */
@media (max-width: 480px) {
  .sponsor-tiers {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 24px;
  }
  .sponsor-tier {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    text-align: left;
    padding: 12px 16px;
  }
  .sponsor-tier .price {
    margin-top: 0;
  }
  .sponsor-card {
    padding: 32px 24px;
  }
  .sponsor-card h3 {
    font-size: 28px;
  }
}

/* Sponsor inquiry form: shrink padding/gaps so the form never extends
   beyond the screen on narrow phones. */
@media (max-width: 480px) {
  .sponsor-inquiry { padding: 26px 18px; margin-top: 32px; }
  .sponsor-inquiry-grid { gap: 24px; }
  .sponsor-inquiry h2 { font-size: 28px !important; }
  .contact-form-card { padding: 22px 18px 24px; }
  .contact-form-card h3 { font-size: 22px; }
  .field input, .field textarea, .field select { padding: 11px 14px; font-size: 16px !important; }
  .form-submit { padding: 13px 22px; font-size: 13px; }
}

/* Make sure no input or grid child can force horizontal scroll */
.field,
.contact-form-card,
.sponsor-inquiry,
.sponsor-card {
  min-width: 0;
}
.field input,
.field textarea,
.field select {
  max-width: 100%;
}

/* =====================================================================
   FULL CALENDAR — clean card-list (desktop + mobile)
   Each row is a self-contained card: a date tile on the left
   (month / day stacked), an event body in the middle (title,
   subtitle, weekday/time/venue meta), and an "Add to calendar"
   action on the right. Flagships get a saffron left border and a
   small star before the title; new events get a saffron NEW badge.
   Reflows to a denser two-row card on phones.
   ===================================================================== */
.events-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: transparent;
  border: 0;
}
.events-list-row {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 28px;
  padding: 22px 28px;
  align-items: center;
  background: var(--offwhite);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.events-list-row:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px -10px rgba(76, 8, 8, 0.18);
  border-color: rgba(76, 8, 8, 0.20);
}
.events-list-row.flagship {
  border-left: 3px solid var(--saffron);
}
.events-list-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 6px 10px 6px 0;
  border-right: 1px solid var(--rule);
}
.events-list-date .month {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--maroon);
}
.events-list-date .day {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 38px;
  line-height: 1;
  color: var(--ink);
}
.events-list-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.events-list-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.events-list-title .star {
  color: var(--saffron);
  font-style: normal;
  font-size: 16px;
  flex-shrink: 0;
  line-height: 1;
  align-self: center;
}
.events-list-title .badge {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  color: var(--saffron);
  background: rgba(255, 153, 16, 0.10);
  border: 1px solid var(--saffron);
  line-height: 1;
}
.events-list-sub {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.5;
}
.events-list-sub:empty { display: none; }
.events-list-meta {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--maroon);
  opacity: 0.65;
  margin: 2px 0 0;
}
.events-list-cta {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--saffron);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: color 220ms ease;
}
.events-list-cta:hover { color: var(--maroon); }
.events-list-cta .arrow {
  display: inline-flex;
  transition: transform 220ms ease;
}
.events-list-row:hover .events-list-cta .arrow {
  transform: translateX(4px);
}

@media (max-width: 720px) {
  .events-list { gap: 10px; }
  .events-list-row {
    grid-template-columns: 64px 1fr;
    grid-template-rows: auto auto;
    gap: 10px 16px;
    padding: 16px 18px;
    align-items: start;
  }
  .events-list-date {
    grid-row: 1 / 3;
    grid-column: 1;
    padding: 4px 10px 4px 0;
  }
  .events-list-date .month { font-size: 10px; letter-spacing: 0.16em; }
  .events-list-date .day { font-size: 30px; }
  .events-list-body {
    grid-row: 1;
    grid-column: 2;
    gap: 4px;
  }
  .events-list-title { font-size: 17px; gap: 8px; }
  .events-list-title .star { font-size: 13px; }
  .events-list-title .badge { font-size: 9px; padding: 2px 7px; }
  .events-list-sub { font-size: 13px; }
  .events-list-meta { font-size: 10px; }
  .events-list-cta {
    grid-row: 2;
    grid-column: 2;
    justify-self: end;
    font-size: 12px;
  }
}

/* =====================================================================
   GLOBAL HORIZONTAL-OVERFLOW SAFETY NET
   Anything that absolutely must not extend past the viewport.
   ===================================================================== */
.section-inner,
.footer-inner,
.page-hero-inner,
.hero-inner {
  max-width: 100%;
  min-width: 0;
}
