/* =========================================================================
   Future-AI Career Festival 2026 — Social Impact Catalyst
   Shared design system
   ========================================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Brand palette (from socialimpactcatalyst.org) */
  --blue:        #0137d2;   /* electric primary */
  --blue-700:    #0a2bb0;
  --navy:        #1f4e79;
  --mid-blue:    #0170b9;
  --sky:         #2bb8e8;   /* logo cyan */
  --peri:        #5b7fd4;   /* logo periwinkle */
  --violet:      #6d3bf5;   /* poster indigo-violet */
  --magenta:     #e0489e;   /* poster neon magenta */
  --orange:      #ff6900;   /* energy accent */
  --yellow:      #fcb900;

  /* Neutrals */
  --ink:         #0a1024;   /* deep futuristic bg */
  --ink-2:       #0e1838;
  --ink-3:       #16203f;
  --paper:       #ffffff;
  --mist:        #f3f7ff;
  --mist-2:      #e7eefc;
  --line:        #d8e1f5;
  --text:        #11182f;
  --text-soft:   #475067;
  --text-dim:    #8a93ab;

  /* Effects */
  --grad-brand:  linear-gradient(135deg, var(--sky) 0%, var(--blue) 55%, var(--navy) 100%);
  --grad-bright: linear-gradient(120deg, #8fe0ff 0%, #7aa8ff 45%, #c6a0ff 100%); /* cyan→blue→violet, stays bright on dark */
  --grad-hot:    linear-gradient(135deg, var(--yellow) 0%, var(--orange) 100%);
  --grad-cta:    linear-gradient(135deg, #2bb8e8 0%, #0137d2 48%, #6d3bf5 100%); /* poster-echo: cyan→blue→violet */
  --grad-ink:    radial-gradient(1100px 700px at 82% -8%, rgba(43,184,232,.18), transparent 60%),
                 radial-gradient(900px 600px at 2% 8%, rgba(1,55,210,.30), transparent 55%),
                 radial-gradient(820px 560px at 60% 98%, rgba(224,72,158,.16), transparent 62%),
                 radial-gradient(720px 520px at 112% 58%, rgba(109,59,245,.22), transparent 60%),
                 linear-gradient(180deg, #06081c 0%, #0a1024 52%, #0e1430 100%);
  --shadow-sm:   0 4px 16px rgba(13,28,73,.08);
  --shadow-md:   0 16px 40px rgba(13,28,73,.12);
  --shadow-glow: 0 10px 40px rgba(1,55,210,.35);

  --radius:      18px;
  --radius-lg:   26px;
  --maxw:        1180px;
  --nav-h:       72px;

  --ease:        cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Be Vietnam Pro', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }
.section { padding: clamp(64px, 9vw, 130px) 0; position: relative; }
.section--ink { background: var(--grad-ink); color: #eaf0ff; }
.section--mist { background: var(--mist); }
.center { text-align: center; }
.grid { display: grid; gap: 24px; }

/* ---------- Typography ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--blue);
  background: var(--mist-2); padding: 7px 14px; border-radius: 999px;
}
.section--ink .kicker { color: var(--sky); background: rgba(43,184,232,.12); }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.02em; font-weight: 800; }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--text-soft); }
.section--ink .lead { color: #c4d0ee; }
.lower { text-transform: lowercase; }
.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
/* On dark backgrounds, use the bright gradient so text never fades into the bg */
.hero .grad-text, .page-hero .grad-text, .section--ink .grad-text,
.hero .stat .num, .section--ink .stat .num, .hero .cd-num,
.section--ink .pillar .e { background-image: var(--grad-bright); }
.hot-text {
  background: var(--grad-hot);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; }
.section-head .kicker { margin-bottom: 18px; }
.section-head p { margin-top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: .98rem;
  border: 2px solid transparent; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-3px); }
.btn-primary { background: var(--grad-hot); color: #2a1500; box-shadow: 0 10px 26px rgba(255,105,0,.35); }
.btn-primary:hover { box-shadow: 0 16px 34px rgba(255,105,0,.45); }
.btn-blue { background: var(--blue); color: #fff; box-shadow: var(--shadow-glow); }
.btn-blue:hover { background: var(--blue-700); }
.btn-ghost { border-color: var(--line); color: var(--text); background: #fff; }
.section--ink .btn-ghost { border-color: rgba(255,255,255,.25); color: #fff; background: rgba(255,255,255,.04); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.section--ink .btn-ghost:hover { border-color: var(--sky); color: var(--sky); }
.btn-lg { padding: 17px 34px; font-size: 1.05rem; }
.btn .ic { width: 18px; height: 18px; }

/* ---------- Navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(255,255,255,.78); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s, background .3s;
}
.nav.scrolled { box-shadow: var(--shadow-sm); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; }
.brand img { height: 38px; width: auto; }
.brand .brand-txt { display: flex; flex-direction: column; line-height: 1; }
.brand .brand-txt b { font-size: .96rem; letter-spacing: -.01em; }
.brand .brand-txt span { font-size: .64rem; color: var(--text-dim); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 9px 14px; border-radius: 999px; font-weight: 600; font-size: .95rem;
  color: var(--text-soft); transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--blue); background: var(--mist); }
.nav-links a.active { color: var(--blue); background: var(--mist-2); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-links .btn { display: none; } /* desktop: RSVP lives in .nav-cta; this shows only in mobile menu */
.nav-toggle {
  display: none; width: 44px; height: 44px; border: none; background: transparent;
  flex-direction: column; justify-content: center; gap: 6px; align-items: center;
}
.nav-toggle span { width: 24px; height: 2.5px; background: var(--text); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

@media (max-width: 920px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; padding: 16px 22px 24px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .28s var(--ease);
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 13px 14px; font-size: 1.05rem; }
  .nav .nav-cta .btn { display: none; }
  .nav-links .btn { display: inline-flex; justify-content: center; margin-top: 8px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--grad-ink); color: #eaf0ff;
  padding: clamp(64px, 10vw, 118px) 0 clamp(52px, 7vw, 84px);
}
.hero-grid-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(120,160,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120,160,255,.07) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(900px 600px at 70% 20%, #000 30%, transparent 80%);
}
.hero-orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; z-index: 0; pointer-events: none; }
.hero-orb.a { width: 420px; height: 420px; background: var(--blue); top: -120px; right: -60px; animation: float 14s ease-in-out infinite; }
.hero-orb.b { width: 360px; height: 360px; background: var(--sky); bottom: -140px; left: -80px; animation: float 18s ease-in-out infinite reverse; }
.hero-orb.c { width: 300px; height: 300px; background: var(--magenta); top: 38%; left: 52%; opacity: .30; animation: float 12s ease-in-out infinite; }
.hero-orb.d { width: 260px; height: 260px; background: var(--violet); filter: blur(70px); position: absolute; border-radius: 50%; opacity: .28; bottom: 4%; right: 16%; z-index: 0; pointer-events: none; animation: float 16s ease-in-out infinite; }
.hero .wrap { position: relative; z-index: 2; }
.hero-inner { max-width: 860px; }
.hero h1 { margin: 18px 0 22px; }
.hero .lead { max-width: 620px; color: #cdd9f6; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 14px 28px; margin: 30px 0 34px; }
.hero-meta div { display: flex; align-items: center; gap: 10px; font-weight: 600; color: #d6e0fb; }
.hero-meta .ic { width: 20px; height: 20px; color: var(--sky); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: .8rem;
  letter-spacing: .1em; text-transform: uppercase;
  color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  padding: 8px 16px; border-radius: 999px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 0 rgba(252,185,0,.6); animation: pulse 2s infinite; }

/* chevron motif from logo */
.chev { display: inline-block; transform: translateY(2px); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; grid-auto-rows: 1fr; }
.hero-stats { margin-top: clamp(40px, 6vw, 60px); position: relative; z-index: 2; }
.stat {
  text-align: center; padding: 28px 16px; border-radius: var(--radius);
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.17);
  backdrop-filter: blur(8px); box-shadow: 0 12px 34px rgba(3,8,25,.30);
}
.stat .num { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; line-height: 1; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .lbl { margin-top: 10px; font-size: .9rem; color: #c4d0ee; font-weight: 600; }
@media (max-width: 720px){ .stats { gap: 10px; } }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 640px){ .cards--2 { grid-template-columns: 1fr; } }
.card {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 30px 28px;
  box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
  overflow: hidden;
}
.card::before { content:""; position:absolute; inset:0 0 auto 0; height:4px; background: var(--grad-brand); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.section--ink .card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); box-shadow: none; color: #eaf0ff; }
.card-ic {
  width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center;
  background: var(--mist-2); color: var(--blue); margin-bottom: 18px;
}
.card-ic .ic { width: 26px; height: 26px; }
.section--ink .card-ic { background: rgba(43,184,232,.14); color: var(--sky); }
.card h3 { margin-bottom: 9px; }
.card p { color: var(--text-soft); font-size: .98rem; }
.section--ink .card p { color: #c4d0ee; }
.card .tag {
  display: inline-block; margin-top: 16px; font-size: .76rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: var(--orange);
  background: rgba(255,105,0,.1); padding: 5px 12px; border-radius: 999px;
}

/* numbered/role list */
.feature-list { display: grid; gap: 16px; margin-top: 8px; }
.feature-list--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 46px; }
@media (max-width: 720px) { .feature-list--2 { grid-template-columns: 1fr; } }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.feature-list .fi { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--mist-2); color: var(--blue); }
.feature-list .fi .ic { width: 17px; height: 17px; }
.section--ink .feature-list .fi { background: rgba(43,184,232,.14); color: var(--sky); }
.feature-list b { display: block; }
.feature-list span.d { color: var(--text-soft); font-size: .95rem; }
.section--ink .feature-list span.d { color: #c4d0ee; }

/* split / two-col */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 70px); align-items: center; }
@media (max-width: 860px){ .split { grid-template-columns: 1fr; } }

/* pillars (Empower/Establish/Elevate) */
.pillars { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
@media (max-width: 760px){ .pillars { grid-template-columns: 1fr; } }
.pillar { padding: 30px 26px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.pillar .e { font-size: 2.4rem; font-weight: 800; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pillar h3 { margin: 6px 0 8px; }
.pillar p { color: var(--text-soft); }

/* presence chips */
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip { display: inline-flex; align-items: center; gap: 9px; padding: 10px 18px; border-radius: 999px; background: var(--mist); border: 1px solid var(--line); font-weight: 700; }
.chip .ic { width: 18px; height: 18px; color: var(--blue); }
.section--ink .chip { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.14); color:#fff; }

/* glass info panel */
.glass {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg); padding: 32px; backdrop-filter: blur(8px);
}
.info-rows { display: grid; gap: 18px; }
.info-rows .r { display: flex; gap: 14px; align-items: flex-start; }
.info-rows .ic { width: 22px; height: 22px; color: var(--sky); flex: 0 0 auto; margin-top: 2px; }
.info-rows b { display:block; }
.info-rows span { color:#c4d0ee; font-size: .95rem; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--grad-cta); color: #fff; border-radius: clamp(20px, 4vw, 34px); padding: clamp(40px, 6vw, 70px); text-align: center; }
.cta-band::after { content:""; position:absolute; inset:0; background: radial-gradient(600px 300px at 80% 0, rgba(255,255,255,.18), transparent 70%); pointer-events:none; }
.cta-band h2 { color: #fff; position: relative; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 560px; margin: 16px auto 28px; position: relative; }
.cta-band .btn-primary { position: relative; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 14px; max-width: 820px; margin-inline: auto; }
.faq-item { border: 1px solid var(--line); border-radius: 16px; background: #fff; overflow: hidden; }
.faq-q { width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-weight: 700; font-size: 1.05rem; background: none; border: none; color: var(--text); }
.faq-q .ic { width: 20px; height: 20px; color: var(--blue); transition: transform .3s var(--ease); flex: 0 0 auto; }
.faq-item.open .faq-q .ic { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a p { padding: 0 24px 22px; color: var(--text-soft); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 760px){ .contact-grid { grid-template-columns: 1fr; } }
.contact-card { padding: 30px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.contact-card .card-ic { margin-bottom: 16px; }
.contact-card a:not(.btn) { color: var(--blue); font-weight: 700; word-break: break-word; }
/* long emails/URLs inside cards must wrap, not overflow the card on phones */
.card a:not(.btn) { overflow-wrap: anywhere; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #c4d0ee; padding: 64px 0 30px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
@media (max-width: 820px){ .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; } }
@media (max-width: 480px){ .footer-top { grid-template-columns: 1fr; } }
.footer .chip { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.16); color: #eaf0ff; }
.footer .chip .ic { color: var(--sky); }
.footer .brand .brand-txt b { color: #fff; }
.footer .brand img { height: 40px; }
.footer p.tag { margin: 16px 0; max-width: 280px; font-size: .95rem; }
.footer h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.footer ul { display: grid; gap: 10px; }
.footer a:hover { color: var(--sky); }
.footer .socials { display: flex; gap: 12px; margin-top: 18px; }
.footer .socials a { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); transition: .25s; }
.footer .socials a:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-3px); }
.footer .socials .ic { width: 18px; height: 18px; }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: .86rem; color: var(--text-dim); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* ---------- Animations ---------- */
@keyframes float { 0%,100%{ transform: translate(0,0);} 50%{ transform: translate(18px,-22px);} }
@keyframes pulse { 0%{ box-shadow:0 0 0 0 rgba(252,185,0,.6);} 70%{ box-shadow:0 0 0 12px rgba(252,185,0,0);} 100%{ box-shadow:0 0 0 0 rgba(252,185,0,0);} }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Countdown ---------- */
.countdown { display: flex; gap: 12px; margin: 30px 0 6px; flex-wrap: wrap; }
.cd-box {
  min-width: 78px; padding: 14px 10px; text-align: center; border-radius: 16px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(6px);
}
.cd-num { display: block; font-size: clamp(1.6rem, 3.4vw, 2.2rem); font-weight: 800; line-height: 1; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.cd-lbl { display: block; margin-top: 7px; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: #9fb0e0; font-weight: 700; }

/* ---------- "Announcing soon" logo strip ---------- */
.soon-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
@media (max-width: 760px){ .soon-strip { grid-template-columns: repeat(2, 1fr); } }
.soon-tile {
  aspect-ratio: 16 / 9; border-radius: 16px; display: grid; place-items: center;
  background: #fff; border: 1.5px dashed var(--line); color: var(--text-dim);
  font-weight: 700; font-size: .82rem; text-align: center; padding: 10px; transition: .3s var(--ease);
}
.soon-tile:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-4px); }
.soon-tile .ic { width: 22px; height: 22px; margin-bottom: 6px; }
.soon-tile span { display: block; }

/* ---------- Organisers / partner logos ---------- */
.org-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 900px; margin-inline: auto; }
@media (max-width: 700px){ .org-grid { grid-template-columns: 1fr; } }
.org-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-sm); text-align: center; }
.org-plate { border-radius: 14px; min-height: 104px; display: grid; place-items: center; padding: 20px; margin-bottom: 18px; background: var(--mist); border: 1px solid var(--line); }
.org-plate--dark { background: #0e1838; border-color: rgba(255,255,255,.1); }
.org-plate img { max-height: 56px; width: auto; }
.org-role { display: inline-block; font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); background: var(--mist-2); padding: 5px 13px; border-radius: 999px; margin-bottom: 10px; }
.org-card h3 { margin-bottom: 8px; }
.org-card p { color: var(--text-soft); font-size: .96rem; }
.org-card .org-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 700; color: var(--blue); font-size: .92rem; }
.org-card .org-link .ic { width: 16px; height: 16px; }
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 14px; }
.trust-row .t { font-size: .78rem; font-weight: 600; color: var(--text-soft); background: var(--mist); border: 1px solid var(--line); padding: 5px 12px; border-radius: 999px; }

/* presented-by inline lockup (hero / footer) */
.presented { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.presented .pb-label { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #9fb0e0; }
.presented .pb-logos { display: inline-flex; align-items: center; gap: 14px; }
.presented img { height: 30px; width: auto; }
.presented .pb-x { color: #6c7ba6; font-weight: 700; }

/* ---------- Logo wall (tiered partners) ---------- */
.logo-wall { display: grid; gap: 30px; max-width: 1000px; margin-inline: auto; }
.ptier { text-align: center; }
.ptier-label { display: inline-block; font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 16px; }
.ptier-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.logo-tile {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  height: 92px; min-width: 150px; padding: 16px 26px; display: grid; place-items: center;
  box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s;
}
.logo-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.logo-tile img { max-height: 46px; max-width: 168px; width: auto; object-fit: contain; }
.logo-tile--dark { background: #0e1838; border-color: rgba(255,255,255,.12); }
.ptier--lead .logo-tile { height: 104px; min-width: 188px; }
.ptier--lead .logo-tile img { max-height: 56px; max-width: 200px; }

/* ---------- Schedule / run of show ---------- */
.schedule { max-width: 880px; margin-inline: auto; }
.sch-period { display: flex; align-items: center; gap: 12px; margin: 34px 0 10px; }
.sch-period:first-child { margin-top: 0; }
.sch-period .ic { width: 20px; height: 20px; color: var(--blue); }
.sch-period h3 { font-size: 1.05rem; letter-spacing: .04em; text-transform: uppercase; color: var(--blue); }
.sch-item { display: grid; grid-template-columns: 124px 1fr; gap: 20px; padding: 16px 4px; border-bottom: 1px solid var(--line); align-items: start; }
.sch-time { font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; font-size: .98rem; }
.sch-body b { display: block; font-size: 1.02rem; }
.sch-body span { color: var(--text-soft); font-size: .9rem; }
.sch-item.hl { background: linear-gradient(90deg, var(--mist) 0%, transparent 90%); border-radius: 12px; border-bottom-color: transparent; }
.sch-item.hl .sch-time { color: var(--blue); }
.sch-item.muted .sch-time, .sch-item.muted .sch-body b { color: var(--text-dim); font-weight: 700; }
.sch-pill { display: inline-block; margin-top: 6px; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--orange); background: rgba(255,105,0,.1); padding: 3px 10px; border-radius: 999px; }
.sch-pill.blue { color: var(--blue); background: var(--mist-2); }
@media (max-width: 560px){
  .sch-item { grid-template-columns: 92px 1fr; gap: 14px; }
  .sch-time { font-size: .88rem; }
  /* long-label buttons (e.g. "Support or sponsor the festival") must wrap
     instead of overflowing / being clipped by the cta-band on phones */
  .btn { white-space: normal; max-width: 100%; text-align: center; }
  .btn-lg { padding: 15px 24px; font-size: 1rem; }
  .cta-band .btn { width: 100%; }
  /* keep the 4 countdown boxes on ONE row on phones (they were wrapping
     to 2 rows because 4×min-width 78px + gaps exceeded the viewport) */
  .countdown { flex-wrap: nowrap; gap: 8px; }
  .cd-box { min-width: 0; flex: 1; padding: 12px 6px; }
  .cd-num { font-size: 1.5rem; }
  .cd-lbl { font-size: .62rem; letter-spacing: .08em; }
  /* keep the 4 stat blocks on ONE row on phones too (like desktop) — shrink
     the number/label + padding so all four fit across a narrow screen */
  .stats { gap: 7px; }
  .stat { padding: 16px 5px; }
  .stat .num { font-size: clamp(1rem, 4.6vw, 1.6rem); }
  .stat .lbl { font-size: .62rem; margin-top: 6px; line-height: 1.25; }
}

/* ---------- Photo backgrounds (human texture, keeps brand colour) ---------- */
/* luminosity blend lets the photo's light/shadow show while the section's
   blue gradient supplies the hue — so it reads human but stays on-brand */
.bg-photo { position: relative; overflow: hidden; }
.bg-photo-layer { position: absolute; inset: 0; z-index: 0; background-position: center; background-size: cover; background-repeat: no-repeat; opacity: .22; mix-blend-mode: luminosity; }
.bg-photo > .wrap { position: relative; z-index: 1; }

.hero-photo { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: url('../community/community-hero.jpg') center 45% / cover no-repeat;
  opacity: .34; mix-blend-mode: luminosity;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 50%, transparent 96%);
          mask-image: linear-gradient(180deg, #000 0%, #000 50%, transparent 96%); }
/* scrim: keeps the photo visible on the open right/centre while darkening
   behind the text (left) and the stats (bottom) so copy stays readable */
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6,9,26,.88) 0%, rgba(6,9,26,.55) 36%, rgba(6,9,26,.08) 68%, transparent 100%),
    linear-gradient(180deg, transparent 52%, rgba(6,9,26,.55) 80%, rgba(6,9,26,.9) 100%); }
@media (max-width: 640px){
  /* phone: photo fills the whole hero (full-bleed), positioned to keep the
     main subject in frame. Slightly higher opacity so it reads at phone size. */
  .hero-photo { background-size: cover; background-position: center 32%; opacity: .42; }
}

@media (prefers-reduced-motion: no-preference) {
  .bg-photo-layer { transition: opacity .6s var(--ease); }
}

/* framed photo (used beside text in a split) */
.photo-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); aspect-ratio: 4 / 3; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Misc page header (interior pages) ---------- */
.page-hero { background: var(--grad-ink); color: #eaf0ff; padding: clamp(70px,9vw,110px) 0 clamp(54px,7vw,80px); position: relative; overflow: hidden; }
.page-hero .hero-grid-bg { mask-image: radial-gradient(800px 500px at 60% 10%, #000 30%, transparent 80%); }
.page-hero .wrap { position: relative; z-index: 2; max-width: 800px; }
.page-hero .lead { color: #cdd9f6; }
.page-hero h1 { margin: 16px 0 18px; }
.breadcrumbs { font-size: .9rem; color: #9fb0e0; }
.breadcrumbs a:hover { color: var(--sky); }
