/* ==========================================================
   Youth Elevation Project (YEP) — site styles
   Palette: YEP black + gold, warm cream paper
   ========================================================== */

:root {
  --ink: #0c0b09;
  --ink-2: #17150f;
  --ink-3: #25221a;
  --gold: #f2b705;
  --gold-2: #e5a50a;
  --gold-deep: #b9820a;
  --bronze: #c98a2b;
  --cream: #fff9ee;
  --paper: #fffdf8;
  --line: #eadfc8;
  --muted: #6b645a;
  --muted-2: #a39a8a;
  --white: #fff;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 10px 30px -12px rgba(20, 14, 0, .25);
  --shadow-lg: 0 30px 60px -25px rgba(20, 14, 0, .45);
  --display: "Anton", "Bebas Neue", Impact, sans-serif;
  --sans: "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --script: "Caveat", "Brush Script MT", cursive;
  --wrap: 1200px;
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--ink); padding: 10px 16px; z-index: 999; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 8px; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { margin: 0 0 .4em; line-height: 1.02; }
.display, h1, h2 {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .01em;
}
h1 { font-size: clamp(3rem, 8vw, 6.4rem); }
h2 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
h3 { font-size: 1.3rem; font-weight: 700; line-height: 1.2; }
p { margin: 0 0 1em; }
.gold { color: var(--gold); }
.gold-deep { color: var(--gold-deep); }
.script { font-family: var(--script); font-weight: 700; text-transform: none; letter-spacing: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.on-dark .lead, .on-dark p { color: #d8d0c0; }
.on-dark .eyebrow { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--gold); --fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 2px solid var(--bg);
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: .92rem; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(242, 183, 5, .7); }
.btn svg { width: 18px; height: 18px; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn-dark { --bg: var(--ink); --fg: var(--white); }
.btn-dark:hover { box-shadow: 0 12px 24px -10px rgba(0, 0, 0, .6); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); box-shadow: none; }
.on-dark .btn-ghost { color: var(--white); border-color: rgba(255,255,255,.5); }
.on-dark .btn-ghost:hover { background: var(--white); color: var(--ink); }
.btn-sm { padding: 10px 18px; font-size: .8rem; }
/* Registration has closed: looks like a button, does nothing. */
.btn-closed {
  --bg: #6f6a60; --fg: #efeae0;
  border-color: #6f6a60;
  cursor: default;
  opacity: .92;
}
.btn-closed:hover { transform: none; box-shadow: none; }
.btn-closed:hover svg { transform: none; }
.on-dark .btn-closed { --bg: #4a453d; --fg: #e8e1d2; border-color: #5c564c; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; font-size: .88rem; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-deep); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(4px); }
.on-dark .link-arrow { color: var(--gold); }

/* ---------- Announcement bar ---------- */
.announce {
  background: var(--gold); color: var(--ink);
  font-size: .85rem; font-weight: 600; text-align: center; padding: 9px 44px 9px 16px; position: relative;
}
.announce a { font-weight: 800; }
.announce-close { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); background: none; border: 0; font-size: 1.3rem; line-height: 1; cursor: pointer; padding: 4px 8px; color: var(--ink); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 253, 248, .86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 8px 24px -18px rgba(0,0,0,.35); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--nav-h); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand img { height: 56px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 10px 14px; border-radius: 999px;
  text-decoration: none; font-weight: 600; font-size: .9rem; letter-spacing: .04em; text-transform: uppercase;
  transition: background .2s, color .2s;
}
.nav-links a:hover { background: var(--cream); }
.nav-links a[aria-current="page"] { color: var(--gold-deep); }
.nav-links a[aria-current="page"]::after { content: ""; display: block; height: 2px; background: var(--gold); margin-top: 2px; border-radius: 2px; }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.menu-toggle { display: none; background: var(--ink); color: var(--white); border: 0; width: 46px; height: 46px; border-radius: 50%; cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle svg { width: 22px; height: 22px; }

@media (max-width: 1020px) {
  .menu-toggle { display: inline-flex; }
  .nav-cta .btn { display: none; }
  .nav-links {
    position: fixed; inset: calc(var(--nav-h)) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); padding: 14px 20px 28px;
    transform: translateY(-120%); transition: transform .35s ease; z-index: -1;
    max-height: calc(100vh - var(--nav-h)); overflow: auto;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { color: var(--white); font-family: var(--display); font-size: 1.7rem; font-weight: 400; padding: 12px 6px; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-links a:hover { background: none; color: var(--gold); }
  .nav-links .mobile-only { display: block; }
  .nav-links .mobile-only a { color: var(--gold); }
}
.mobile-only { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 500px at 85% 10%, rgba(242,183,5,.18), transparent 60%),
    linear-gradient(180deg, var(--paper), var(--cream));
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding: 56px 0 90px; }
.hero h1 { margin-bottom: 18px; }
.hero h1 .line { display: block; }
.hero-tag { font-size: 2.2rem; margin-top: 18px; color: var(--ink); }
.hero-tag .gold { color: var(--gold-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-media { position: relative; }
.hero-photo {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); aspect-ratio: 5 / 3.4;
  transform: rotate(1.2deg);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(12,11,9,.35)); }
.hero-badge {
  position: absolute; left: -26px; bottom: -26px; z-index: 2;
  background: var(--ink); color: var(--white); border-radius: 20px; padding: 16px 20px;
  display: flex; gap: 14px; align-items: center; box-shadow: var(--shadow-lg); max-width: 290px;
}
.hero-badge .dot { width: 46px; height: 46px; flex: none; border-radius: 50%; background: var(--gold); display: grid; place-items: center; color: var(--ink); }
.hero-badge .dot svg { width: 24px; height: 24px; }
.hero-badge strong { display: block; font-size: .95rem; }
.hero-badge span { font-size: .82rem; color: #cfc6b5; }
.hero-sticker {
  position: absolute; right: -14px; top: -22px; z-index: 2;
  width: 120px; height: 120px; border-radius: 50%;
  background: var(--gold); color: var(--ink); display: grid; place-items: center; text-align: center;
  font-family: var(--display); font-size: 1.15rem; line-height: 1; text-transform: uppercase;
  box-shadow: var(--shadow); animation: spin-slow 18s linear infinite;
}
.hero-sticker span { display: block; transform: rotate(-8deg); }
@keyframes spin-slow { 0%,100% { transform: rotate(-6deg) } 50% { transform: rotate(6deg) } }
.skyline {
  position: absolute; left: 0; right: 0; bottom: 0; height: 180px; pointer-events: none;
  opacity: .12; background: url("../img/skyline.svg") repeat-x bottom center / auto 100%;
}
.hero-wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: 70px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; padding: 34px 0 80px; }
  .hero-media { order: -1; margin: 10px 8px 20px; }
  .hero-badge { left: 8px; bottom: -30px; }
  .hero-sticker { width: 92px; height: 92px; font-size: .95rem; right: 0; }
}

/* ---------- Ticker ---------- */
.ticker { background: var(--ink); color: var(--gold); overflow: hidden; border-block: 1px solid #2a261c; }
.ticker-track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker-track span { font-family: var(--display); font-size: 1.5rem; text-transform: uppercase; padding: 16px 26px; white-space: nowrap; display: inline-flex; align-items: center; gap: 26px; }
.ticker-track span::after { content: "★"; color: var(--white); font-size: 1rem; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Stats band ---------- */
.stats { background: var(--ink); color: var(--white); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 26px; display: flex; gap: 16px; align-items: center; border-left: 1px solid #2b271e; }
.stat:first-child { border-left: 0; }
.stat .ico { width: 58px; height: 58px; flex: none; border: 2px solid var(--gold); border-radius: 50%; display: grid; place-items: center; color: var(--gold); }
.stat .ico svg { width: 28px; height: 28px; }
.stat b { font-family: var(--display); font-weight: 400; font-size: 2.3rem; line-height: 1; display: block; color: var(--white); }
.stat small { display: block; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: #cfc6b5; margin-top: 4px; }
@media (max-width: 900px) { .stats-grid { grid-template-columns: 1fr 1fr; } .stat:nth-child(3) { border-left: 0; } .stat { border-top: 1px solid #2b271e; } }
@media (max-width: 520px) { .stat { padding: 22px 12px; gap: 10px; } .stat .ico { width: 44px; height: 44px; } .stat .ico svg { width: 22px; height: 22px; } .stat b { font-size: 1.7rem; } .stat small { font-size: .68rem; } }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: 100px 0; }
.section-tight { padding: 70px 0; }
.bg-cream { background: var(--cream); }
.bg-ink { background: var(--ink); color: var(--white); }
.bg-gold { background: var(--gold); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 46px; flex-wrap: wrap; }
.section-head .lead { margin: 0; }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center .lead { margin-inline: auto; }

/* ---------- Featured programs (split) ---------- */
.feature-split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.feature-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink); color: var(--white);
  display: flex; flex-direction: column; box-shadow: var(--shadow-lg); isolation: isolate;
}
.feature-card .media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.feature-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.feature-card:hover .media img { transform: scale(1.05); }
.feature-card .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, var(--ink)); }
.feature-card .age {
  position: absolute; top: 18px; left: 18px; z-index: 2;
  background: var(--gold); color: var(--ink); font-family: var(--display); font-size: 1.3rem;
  padding: 6px 16px; border-radius: 999px; text-transform: uppercase;
}
.feature-card .flag {
  position: absolute; top: 18px; right: 18px; z-index: 2;
  background: rgba(12,11,9,.8); color: var(--gold); border: 1px solid var(--gold);
  font-weight: 700; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px;
}
.feature-card .body { padding: 6px 30px 30px; margin-top: -40px; position: relative; z-index: 2; display: flex; flex-direction: column; flex: 1; }
.feature-card h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(2rem, 3.6vw, 2.8rem); line-height: 1; }
.feature-card p { color: #d8d0c0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 24px; padding: 0; list-style: none; }
.chips li { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600; padding: 8px 14px; border-radius: 999px; background: #211e17; border: 1px solid #353024; color: var(--white); }
.chips svg { width: 16px; height: 16px; color: var(--gold); }
.feature-card .actions { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 900px) { .feature-split { grid-template-columns: 1fr; } }

/* ---------- Program grid ---------- */
.prog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.prog {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s;
}
.prog:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.prog .thumb { aspect-ratio: 4 / 3; overflow: hidden; position: relative; background: var(--ink); }
.prog .thumb img { width: 100%; height: 100%; object-fit: cover; }
.prog .thumb.icon-thumb { display: grid; place-items: center; background: radial-gradient(circle at 30% 20%, #3a3222, var(--ink)); }
.prog .thumb.icon-thumb > svg { width: 90px; height: 90px; color: var(--gold); }
.prog .badge-ico svg { color: var(--ink); }
.prog .badge-ico {
  position: absolute; left: 20px; bottom: -26px; width: 56px; height: 56px; border-radius: 50%;
  background: var(--gold); display: grid; place-items: center; border: 4px solid var(--white); z-index: 2;
}
.prog .badge-ico svg { width: 24px; height: 24px; }
.prog .thumb { overflow: visible; }
.prog .thumb img { border-radius: var(--radius) var(--radius) 0 0; }
.prog .content { padding: 38px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.prog .tagline { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 8px; }
.prog p { color: var(--muted); font-size: .96rem; }
.prog .link-arrow { margin-top: auto; }
@media (max-width: 960px) { .prog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .prog-grid { grid-template-columns: 1fr; } }

/* ---------- Split / story ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } .split.reverse > :first-child { order: 0; } }
.photo-stack { position: relative; padding: 0 30px 40px 0; }
.photo-stack img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; }
.photo-stack .main { aspect-ratio: 4 / 5; }
.photo-stack .inset {
  position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; border: 6px solid var(--paper);
}
.bg-cream .photo-stack .inset { border-color: var(--cream); }
.quote-card {
  background: var(--ink); color: var(--white); border-radius: var(--radius-lg); padding: 34px;
  position: relative; overflow: hidden;
}
.quote-card::before { content: "\201C"; position: absolute; right: 18px; top: -30px; font-family: Georgia, serif; font-size: 11rem; color: var(--gold); opacity: .25; line-height: 1; }
.quote-card p { font-size: 1.2rem; }
.quote-card cite { font-style: normal; color: var(--gold); font-weight: 700; }

/* ---------- Founder ---------- */
.founder {
  display: grid; grid-template-columns: 380px 1fr; gap: 50px; align-items: center;
  background: var(--ink); color: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
}
.founder .portrait { height: 100%; min-height: 420px; position: relative; background: #efece6; }
.founder .portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center top; position: absolute; inset: 0; }
.founder .info { padding: 44px 44px 44px 0; }
.founder .name { font-family: var(--script); font-size: 3.2rem; color: var(--gold); line-height: 1; margin-bottom: 4px; }
.founder .role { text-transform: uppercase; letter-spacing: .16em; font-size: .8rem; font-weight: 700; color: #cfc6b5; margin-bottom: 20px; }
@media (max-width: 860px) { .founder { grid-template-columns: 1fr; gap: 0; } .founder .portrait { min-height: 340px; } .founder .info { padding: 30px 26px 34px; } }

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 21px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--gold), var(--line)); }
.timeline li { position: relative; padding: 0 0 34px 68px; }
.timeline li::before { content: ""; position: absolute; left: 12px; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--gold); border: 4px solid var(--paper); box-shadow: 0 0 0 2px var(--gold); }
.timeline .year { font-family: var(--display); font-size: 2rem; line-height: 1; color: var(--gold-deep); }
.timeline h3 { margin: 6px 0 6px; }
.timeline p { color: var(--muted); margin: 0; }

/* ---------- Value cards ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value { padding: 32px 28px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid #2b271e; }
.value .ico { width: 56px; height: 56px; border-radius: 16px; background: var(--gold); display: grid; place-items: center; color: var(--ink); margin-bottom: 20px; }
.value .ico svg { width: 28px; height: 28px; }
.value h3 { font-family: var(--display); font-weight: 400; font-size: 1.9rem; text-transform: uppercase; }
.value p { color: #cfc6b5; margin: 0; }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }

/* ---------- Updates / cards ---------- */
.updates { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.update {
  background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  display: flex; flex-direction: column; text-decoration: none; transition: transform .3s, box-shadow .3s;
}
.update:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.update .img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink); position: relative; }
.update .img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s; }
.update:hover .img img { transform: scale(1.04); }
.update .date { position: absolute; left: 12px; top: 12px; background: var(--gold); border-radius: 12px; padding: 6px 10px; text-align: center; font-family: var(--display); line-height: 1; }
.update .date small { display: block; font-family: var(--sans); font-weight: 700; font-size: .66rem; letter-spacing: .1em; }
.update .date b { font-weight: 400; font-size: 1.5rem; }
.update .txt { padding: 18px 18px 22px; }
.update .kicker { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--gold-deep); }
.update h3 { font-size: 1.1rem; margin: 6px 0 6px; }
.update p { font-size: .9rem; color: var(--muted); margin: 0; }
@media (max-width: 1000px) { .updates { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .updates { grid-template-columns: 1fr; } }

/* ---------- Photo mosaic ---------- */
.mosaic { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 150px; gap: 12px; }
.mosaic a { display: block; border-radius: 16px; overflow: hidden; position: relative; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s, filter .4s; }
.mosaic a:hover img { transform: scale(1.06); }
.mosaic .w2 { grid-column: span 2; }
.mosaic .h2 { grid-row: span 2; }
@media (max-width: 800px) { .mosaic { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 120px; } }

/* ---------- Donate band ---------- */
.donate-band {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center;
  background: var(--gold); border-radius: var(--radius-lg); padding: 50px; position: relative; overflow: hidden;
}
.donate-band::after { content: "YEP"; position: absolute; right: -30px; bottom: -80px; font-family: var(--display); font-size: 20rem; line-height: 1; color: rgba(12,11,9,.07); pointer-events: none; }
.donate-band h2 { margin-bottom: 10px; }
.need-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; list-style: none; padding: 0; margin: 0 0 8px; position: relative; z-index: 1; }
.need-list li { background: rgba(255,255,255,.55); border-radius: 12px; padding: 12px 14px; font-weight: 600; display: flex; gap: 10px; align-items: center; font-size: .95rem; }
.need-list svg { width: 18px; height: 18px; flex: none; }
.fine { font-size: .88rem; font-style: italic; }
@media (max-width: 900px) { .donate-band { grid-template-columns: 1fr; padding: 34px 24px; } }
@media (max-width: 460px) { .need-list { grid-template-columns: 1fr; } }

/* ---------- Get involved trio ---------- */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.trio a {
  display: flex; flex-direction: column; gap: 10px; text-decoration: none;
  padding: 30px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid #2d291f; color: var(--white);
  transition: background .3s, transform .3s;
}
.trio a:hover { background: var(--gold); color: var(--ink); transform: translateY(-4px); }
.trio a:hover .ico { background: var(--ink); color: var(--gold); }
.trio a:hover p { color: var(--ink); }
.trio .ico { width: 54px; height: 54px; border-radius: 50%; background: var(--gold); color: var(--ink); display: grid; place-items: center; transition: .3s; }
.trio .ico svg { width: 26px; height: 26px; }
.trio h3 { font-family: var(--display); font-weight: 400; font-size: 2rem; text-transform: uppercase; margin: 6px 0 0; }
.trio p { color: #cfc6b5; margin: 0; }
@media (max-width: 820px) { .trio { grid-template-columns: 1fr; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--ink); color: var(--white); position: relative; overflow: hidden; padding: 90px 0 110px; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(800px 380px at 80% 0%, rgba(242,183,5,.25), transparent 60%); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.8rem, 7vw, 5.6rem); }
.page-hero .lead { color: #d8d0c0; }
.page-hero .skyline { opacity: .08; filter: invert(1); }
.crumbs { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 18px; }
.crumbs a { color: var(--gold); text-decoration: none; }
.page-hero.with-img .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.page-hero.with-img .hero-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 30px 60px -20px #000; }
.page-hero.with-img .hero-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .page-hero.with-img .wrap { grid-template-columns: 1fr; } .page-hero { padding: 60px 0 80px; } }

/* ---------- Pills / trust badges ---------- */
.trust { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0; }
.trust span { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(242,183,5,.35); font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; }
.trust svg { width: 20px; height: 20px; color: var(--gold); }

/* ---------- Pathways ---------- */
.pathways { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.pathway { border-radius: var(--radius-lg); overflow: hidden; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.pathway header { background: var(--ink); color: var(--white); padding: 24px 28px; display: flex; gap: 18px; align-items: center; }
.pathway header .ico { width: 60px; height: 60px; flex: none; border-radius: 50%; background: var(--gold); display: grid; place-items: center; color: var(--ink); }
.pathway header .ico svg { width: 30px; height: 30px; }
.pathway header h3 { font-family: var(--display); font-weight: 400; font-size: 1.9rem; text-transform: uppercase; margin: 0; }
.pathway header small { color: var(--gold); font-family: var(--display); font-size: 1.3rem; letter-spacing: .02em; }
.pathway .pw-body { display: grid; grid-template-columns: 200px 1fr; }
.pathway .pw-body img { width: 100%; height: 100%; object-fit: cover; }
.pathway .pw-text { padding: 24px 26px; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c0b09' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat; }
.on-dark .check-list li { color: #e6dfd1; }
@media (max-width: 960px) { .pathways { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .pathway .pw-body { grid-template-columns: 1fr; } .pathway .pw-body img { aspect-ratio: 16/10; } }

.glance { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); overflow: hidden; }
.glance div { padding: 28px 18px; text-align: center; border-left: 1px solid var(--line); }
.glance div:first-child { border-left: 0; }
.glance svg { width: 40px; height: 40px; color: var(--gold-2); margin: 0 auto 10px; }
.glance small { display: block; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .75rem; color: var(--muted); }
.glance b { font-family: var(--display); font-weight: 400; font-size: 1.5rem; line-height: 1.1; display: block; margin-top: 4px; text-transform: uppercase; }
@media (max-width: 900px) { .glance { grid-template-columns: 1fr 1fr; } .glance div { border-top: 1px solid var(--line); } .glance div:nth-child(odd) { border-left: 0; } .glance div:last-child { grid-column: span 2; } }

.skill-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.skill-row div { text-align: center; padding: 22px 10px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); font-weight: 600; font-size: .92rem; }
.skill-row svg { width: 34px; height: 34px; color: var(--gold-2); margin: 0 auto 10px; }
@media (max-width: 900px) { .skill-row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .skill-row { grid-template-columns: 1fr 1fr; } }

.callout { display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center; background: var(--ink); color: var(--white); border-radius: var(--radius-lg); padding: 30px 34px; }
.callout .big-ico { width: 90px; height: 90px; border-radius: 22px; background: var(--gold); color: var(--ink); display: grid; place-items: center; }
.callout .big-ico svg { width: 46px; height: 46px; }
.callout p { color: #d8d0c0; margin: 0 0 6px; }
.callout .fine { color: #a79f8f; }
@media (max-width: 820px) { .callout { grid-template-columns: 1fr; } }

/* ---------- Tabs & Forms ---------- */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; padding: 6px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; width: fit-content; margin: 0 auto 36px; }
.tabs button { border: 0; background: none; padding: 12px 20px; border-radius: 999px; font-weight: 700; font-size: .88rem; letter-spacing: .04em; cursor: pointer; color: var(--muted); display: inline-flex; gap: 8px; align-items: center; }
.tabs button svg { width: 18px; height: 18px; }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--gold); }
@media (max-width: 700px) { .tabs { border-radius: 20px; width: 100%; } .tabs button { flex: 1 1 100%; justify-content: center; } }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; max-width: 960px; margin: 0 auto; }
.form-card[hidden] { display: none; }
.form-top { background: var(--ink); color: var(--white); padding: 30px 34px; display: flex; justify-content: space-between; gap: 20px; align-items: center; flex-wrap: wrap; border-bottom: 5px solid var(--gold); }
.form-top h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin: 0 0 4px; }
.form-top p { margin: 0; color: #cfc6b5; }
.pill { display: inline-block; background: var(--gold); color: var(--ink); padding: 8px 16px; border-radius: 999px; font-weight: 800; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.form-body { padding: 30px 34px 36px; }
.form-note { background: var(--cream); border-left: 4px solid var(--gold); border-radius: 10px; padding: 14px 18px; font-size: .95rem; margin-bottom: 26px; }
fieldset { border: 0; padding: 0; margin: 0 0 30px; }
legend { display: block; width: 100%; background: var(--ink); color: var(--gold); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: .88rem; padding: 10px 16px; border-radius: 10px; margin-bottom: 18px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 22px; }
.fields .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .fields { grid-template-columns: 1fr; } .form-body, .form-top { padding-inline: 20px; } }
.field label, .group-label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: 6px; }
.req { color: #c2410c; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border: 1.5px solid #ddd2bb; border-radius: 12px; background: var(--paper);
  font: inherit; font-size: 1rem; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-2); box-shadow: 0 0 0 4px rgba(242,183,5,.2); background: var(--white); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #c2410c; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; margin: 4px 0 6px; }
.checks.one { grid-template-columns: 1fr; }
@media (max-width: 640px) { .checks { grid-template-columns: 1fr; } }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: .96rem; padding: 10px 12px; border-radius: 10px; border: 1.5px solid #eee4cf; background: var(--paper); transition: border-color .2s, background .2s; }
.check:hover { border-color: var(--gold-2); }
.check input { width: 20px; height: 20px; accent-color: var(--ink); margin: 1px 0 0; flex: none; }
.check:has(input:checked) { border-color: var(--gold-2); background: #fff6db; }
.form-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 24px; }
.form-actions .fine { color: var(--muted); font-style: normal; margin: 0; }
.form-status { margin-top: 18px; padding: 16px 18px; border-radius: 12px; font-weight: 600; display: none; }
.form-status.ok { display: block; background: #ecfdf3; color: #065f46; border: 1px solid #a7f3d0; }
.form-status.err { display: block; background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.hp { position: absolute; left: -5000px; }

.downloads { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dl { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); text-decoration: none; transition: border-color .2s, transform .2s; }
.dl:hover { border-color: var(--gold-2); transform: translateY(-3px); }
.dl .ico { width: 48px; height: 48px; flex: none; border-radius: 12px; background: var(--ink); color: var(--gold); display: grid; place-items: center; }
.dl .ico svg { width: 24px; height: 24px; }
.dl b { display: block; font-size: .96rem; line-height: 1.25; }
.dl small { color: var(--muted); }
@media (max-width: 860px) { .downloads { grid-template-columns: 1fr; } }

/* ---------- Gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 34px; }
.filters button { border: 1.5px solid var(--line); background: var(--white); padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: .85rem; cursor: pointer; letter-spacing: .03em; }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--gold); border-color: var(--ink); }
.masonry { columns: 4 260px; column-gap: 14px; }
.masonry figure { break-inside: avoid; margin: 0 0 14px; border-radius: 16px; overflow: hidden; position: relative; background: var(--ink); cursor: zoom-in; }
.masonry figure[hidden] { display: none; }
.masonry img { width: 100%; height: auto; transition: transform .6s, opacity .3s; }
.masonry figure:hover img { transform: scale(1.04); opacity: .85; }
.masonry figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; color: var(--white); font-size: .85rem; font-weight: 600; background: linear-gradient(transparent, rgba(0,0,0,.8)); opacity: 0; transform: translateY(8px); transition: .3s; }
.masonry figure:hover figcaption, .masonry figure:focus-within figcaption { opacity: 1; transform: none; }
.masonry figure button { all: unset; display: block; cursor: zoom-in; }
.masonry figure button:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }

.lightbox { position: fixed; inset: 0; z-index: 500; background: rgba(8,7,5,.94); display: none; align-items: center; justify-content: center; padding: 60px 20px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 82vh; max-width: min(1100px, 100%); border-radius: 12px; box-shadow: 0 30px 80px #000; }
.lightbox .cap { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: #ddd; font-size: .95rem; padding: 0 20px; }
.lb-btn { position: absolute; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #fff; width: 50px; height: 50px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.lb-btn:hover { background: var(--gold); color: var(--ink); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* ---------- Video ---------- */
.video-card { border-radius: var(--radius-lg); overflow: hidden; background: #000; box-shadow: var(--shadow-lg); position: relative; }
.video-card video { width: 100%; aspect-ratio: 16/9; background: #000; }
.video-card .label { position: absolute; top: 14px; left: 14px; background: var(--gold); color: var(--ink); font-weight: 800; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; z-index: 1; pointer-events: none; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.contact-item { display: flex; flex-direction: column; gap: 6px; padding: 24px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid #2b271e; text-decoration: none; color: var(--white); transition: border-color .2s, transform .2s; }
.contact-item:hover { border-color: var(--gold); transform: translateY(-3px); }
.contact-item svg { width: 28px; height: 28px; color: var(--gold); margin-bottom: 8px; }
.contact-item small { text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; color: var(--muted-2); font-weight: 700; }
.contact-item b { font-size: 1rem; word-break: break-word; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #cfc6b5; padding: 80px 0 30px; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--bronze)); }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 40px; }
.foot-brand img { width: 210px; margin-bottom: 18px; }
.site-footer h4 { color: var(--gold); text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; color: #e9e2d3; }
.site-footer a:hover { color: var(--gold); }
.social { display: flex; gap: 10px; margin: 16px 0; }
.social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid #3a352a; display: grid; place-items: center; transition: .2s; }
.social a:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.social svg { width: 18px; height: 18px; }
.foot-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid #2b271e; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .85rem; color: var(--muted-2); }
.foot-big { font-family: var(--display); font-size: clamp(2.2rem, 7.4vw, 6.6rem); line-height: .95; text-transform: uppercase; color: var(--gold); margin-top: 48px; user-select: none; text-wrap: balance; }
.kickoff { display: inline-flex; align-items: center; gap: 10px; background: var(--gold); color: var(--ink) !important; font-weight: 800; font-size: .92rem; letter-spacing: .04em; text-transform: uppercase; padding: 10px 16px; border-radius: 12px; margin: 4px 0 18px; }
.kickoff svg { width: 20px; height: 20px; flex: none; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- Back to top ---------- */
.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--gold); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(10px); transition: .3s; }
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top svg { width: 22px; height: 22px; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .1s; } .js .reveal.d2 { transition-delay: .2s; } .js .reveal.d3 { transition-delay: .3s; }

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

/* Wide feature card (programs page) */
.feature-wide { display: grid; grid-template-columns: 1fr 1fr; }
@media (max-width: 860px) { .feature-wide { grid-template-columns: 1fr; } .feature-wide .media { min-height: 260px !important; } .feature-wide .body { padding: 28px 22px !important; } }
@media (max-width: 1020px) {
  .nav-links { visibility: hidden; transition: transform .35s ease, visibility 0s linear .35s; }
  .nav-links.open { visibility: visible; transition: transform .35s ease, visibility 0s; }
}
@media (max-width: 1020px) {
  .nav-links { height: calc(100dvh - var(--nav-h)); max-height: none; }
}
@media (max-width: 900px) {
  .hero-badge { position: relative; left: auto; bottom: auto; margin: -34px 14px 0; max-width: none; padding: 12px 16px; }
  .hero-badge .dot { width: 38px; height: 38px; }
  .hero-photo { transform: none; }
}

/* Jotform embeds */
.jotform-frame { width: 100%; min-height: 1400px; border: 0; border-radius: 14px; background: var(--white); display: block; margin-bottom: 24px; }
@media (max-width: 640px) { .jotform-frame { min-height: 1700px; } }

/* YouTube embed */
.yt-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: #000; box-shadow: 0 30px 60px -20px #000; aspect-ratio: 16 / 9; border: 1px solid #2b271e; }
.yt-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Pathway cards: full photo across the top */
.pathway .pw-body { flex: 1; display: flex; flex-direction: column; }
.pathway .pw-body img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: center 30%; }

/* Hero slideshow: photo fills the frame corner to corner */
.hero-slides { aspect-ratio: 1206 / 1311; transform: none; background: var(--ink); }
.hero-slides .slide {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 22%;
  opacity: 0; transform: scale(1.06);
  transition: opacity 1.1s ease, transform 6.5s ease-out;
}
.hero-slides .slide.is-active { opacity: 1; transform: scale(1); }
.hero-slides::after { z-index: 1; }
.slide-dots { position: absolute; right: 16px; bottom: 16px; z-index: 3; display: flex; gap: 8px; }
.slide-dots button { width: 10px; height: 10px; padding: 0; border-radius: 999px; border: 0; background: rgba(255,255,255,.55); cursor: pointer; transition: width .3s, background .3s; }
.slide-dots button[aria-current="true"] { width: 28px; background: var(--gold); }
@media (min-width: 901px) { .hero-slides { max-height: 640px; width: 100%; } }
@media (max-width: 900px) { .slide-dots { top: 14px; bottom: auto; left: 16px; right: auto; } }

/* Employment pathway: team photo as a full-width banner */
.callout.employ { grid-template-columns: auto 1fr; padding-top: 0; overflow: hidden; }
.callout.employ .employ-photo { grid-column: 1 / -1; width: calc(100% + 68px); max-width: none; margin: 0 -34px 4px; height: auto; aspect-ratio: 1206 / 473; object-fit: cover; object-position: center 30%; }
@media (max-width: 820px) { .callout.employ { grid-template-columns: 1fr; } .callout.employ .employ-photo { aspect-ratio: 16 / 9; } }

/* CPR Training Provider badge: red medical emblem */
.cpr-emblem { display: inline-grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 50%; background: #e0242f; box-shadow: 0 0 0 2px rgba(255,255,255,.9), 0 4px 10px -3px rgba(224,36,47,.7); }
.trust .cpr-emblem svg, .chips .cpr-emblem svg { width: 17px; height: 17px; color: #fff; stroke-width: 2.1; }
.trust .cpr-badge { border-color: rgba(224,36,47,.55); }
.chips .cpr-badge { border-color: rgba(224,36,47,.55); padding-left: 8px; }
.chips .cpr-emblem { width: 22px; height: 22px; }
.chips .cpr-emblem svg { width: 14px !important; height: 14px !important; }

/* ==========================================================
   Site-wide background: faded city skyline from the YEP logo
   ========================================================== */
body::before {
  content: ""; position: fixed; left: 0; right: 0; bottom: 0; z-index: -1; pointer-events: none;
  height: min(46vh, 420px);
  background: url("../img/skyline-yep.png") repeat-x center bottom / auto 100%;
  opacity: .36;
}
body::after {  /* soft gold glow above the skyline */
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background: radial-gradient(1200px 600px at 50% 110%, rgba(242,183,5,.10), transparent 70%);
}
/* let the city show through the light sections */
.hero { background: radial-gradient(1200px 500px at 85% 10%, rgba(242,183,5,.18), transparent 60%), linear-gradient(180deg, rgba(255,253,248,.55), rgba(255,249,238,.55)); }
.bg-cream { background: rgba(255, 249, 238, .72); }
/* section skylines now use the logo city too */
.skyline { background: url("../img/skyline-yep.png") repeat-x center bottom / auto 100%; height: 230px; opacity: .45; }
.page-hero .skyline { background-image: url("../img/skyline-yep-light.png"); filter: none; opacity: .14; height: 260px; }
.site-header { background: rgba(255, 253, 248, .9); }

@media (max-width: 700px) { body::before { height: 32vh; opacity: .3; } }

/* Header strip: faded city skyline behind the logo and menu */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url("../img/skyline-yep.png") repeat-x center bottom / auto 118%;
  opacity: .38;
}
.site-header::after {  /* thin gold line to finish the strip */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; z-index: -1;
  background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold) 80%, transparent);
  opacity: .7;
}
@media (max-width: 700px) { .site-header::before { opacity: .42; background-size: auto 125%; } }

/* ==========================================================
   Home header: looping YEP video background
   ========================================================== */
.hero.hero-video { background: var(--ink); color: var(--white); }
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-bg video { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-bg::after {  /* dark overlay: strongest behind the headline, lighter on the right */
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(12,11,9,.9) 0%, rgba(12,11,9,.72) 45%, rgba(12,11,9,.45) 100%),
    linear-gradient(180deg, rgba(12,11,9,.25) 0%, rgba(12,11,9,.1) 60%, rgba(12,11,9,.85) 100%),
    radial-gradient(900px 420px at 85% 10%, rgba(242,183,5,.22), transparent 60%);
}
.hero.hero-video .hero-grid { position: relative; z-index: 1; }
.hero.hero-video h1 { color: var(--white); text-shadow: 0 4px 30px rgba(0,0,0,.45); }
.hero.hero-video .lead { color: #e8e1d2; }
.hero.hero-video .hero-tag { color: var(--white); }
.hero.hero-video .hero-tag .gold { color: var(--gold); }
.hero.hero-video .skyline { background-image: url("../img/skyline-yep-light.png"); opacity: .12; z-index: 0; }
.hero.hero-video .hero-badge { border: 1px solid rgba(242,183,5,.35); }
@media (max-width: 900px) {
  .hero-bg::after { background: linear-gradient(180deg, rgba(12,11,9,.55) 0%, rgba(12,11,9,.78) 40%, rgba(12,11,9,.92) 100%); }
}
@media (prefers-reduced-motion: reduce) { .hero-bg video { display: none; } .hero-bg { background: url("../img/hero/header-video-poster.jpg") center / cover; } }

/* "Inactive" corner tag on program cards */
.status-pill {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  background: rgba(12,11,9,.82); color: #fff; border: 1px solid rgba(255,255,255,.35);
  font-weight: 800; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(4px);
}
.status-pill::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #9ca3af; margin-right: 7px; vertical-align: 1px; }

/* Main Office + map (bottom of every page) */
.office { padding: 80px 0; background: rgba(255,249,238,.8); border-top: 1px solid var(--line); }
.office-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: stretch; }
.office-card { background: var(--ink); color: var(--white); border-radius: var(--radius-lg); padding: 40px; display: flex; flex-direction: column; gap: 6px; box-shadow: var(--shadow-lg); }
.office-card .eyebrow { color: var(--gold); }
.office-card h2 { color: var(--white); }
.office-addr { display: flex; gap: 12px; align-items: flex-start; font-size: 1.25rem; font-weight: 700; margin: 6px 0 4px; }
.office-addr svg { width: 26px; height: 26px; color: var(--gold); flex: none; margin-top: 3px; }
.office-appt { background: rgba(242,183,5,.12); border: 1px solid rgba(242,183,5,.4); border-radius: 12px; padding: 12px 16px; color: #efe7d6; }
.office-appt strong { color: var(--gold); }
.office-card .btn-ghost { color: var(--white); border-color: rgba(255,255,255,.5); }
.office-card .btn-ghost:hover { background: var(--white); color: var(--ink); }
.office-card .btn svg { width: 18px; height: 18px; }
.office-card .link-arrow { color: var(--gold); margin-top: 16px; }
.office-map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); min-height: 380px; border: 4px solid var(--white); background: #e8e2d4; }
.office-map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }
@media (max-width: 860px) { .office-grid { grid-template-columns: 1fr; } .office-card { padding: 30px 24px; } .office-map, .office-map iframe { min-height: 300px; } }
/* keep every program-card photo the same 4:3 shape */
.prog .thumb > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* status variants */
.status-pill.is-active { background: rgba(6, 78, 59, .88); border-color: rgba(110, 231, 183, .6); }
.status-pill.is-active::before { background: #34d399; box-shadow: 0 0 0 3px rgba(52,211,153,.3); }
.status-pill.is-soon { background: rgba(12,11,9,.85); border-color: var(--gold); color: var(--gold); }
.status-pill.is-soon::before { background: var(--gold); }
.status-pill.status-inline { position: static; display: inline-block; margin: 0 12px 12px 0; vertical-align: middle; }
.feature-card .flag.flag-active { border-color: #34d399; color: #a7f3d0; }

/* New YEP logo artwork */
.brand img { height: 62px; width: auto; border-radius: 10px; box-shadow: 0 4px 14px -6px rgba(12,11,9,.45); }
.foot-brand img { width: 240px; height: auto; border-radius: 14px; }
@media (max-width: 700px) { .brand img { height: 54px; } }

/* Logo fills the full height of the header strip */
:root { --nav-h: 96px; }
.nav { height: var(--nav-h); padding-block: 0; }
.brand { height: 100%; display: flex; align-items: center; }
.brand img { height: calc(var(--nav-h) - 8px); width: auto; border-radius: 12px; }
@media (max-width: 700px) {
  :root { --nav-h: 92px; }
  .brand img { height: calc(var(--nav-h) - 8px); }
}

/* Header logo: the artwork itself fills the strip — no box, corners or shadow */
.brand img { height: calc(var(--nav-h) - 6px); width: auto; border-radius: 0; box-shadow: none; background: none; filter: drop-shadow(0 1px 0 rgba(255,255,255,.6)); }
@media (max-width: 700px) {
  .brand { flex: 1; min-width: 0; }
  .brand img { height: auto; width: 100%; max-width: 250px; max-height: calc(var(--nav-h) - 4px); object-fit: contain; object-position: left center; }
}

/* ==========================================================
   Community / partners
   ========================================================== */
.community-hero::before { background: radial-gradient(800px 380px at 80% 0%, rgba(242,183,5,.25), transparent 60%), radial-gradient(700px 400px at 5% 100%, rgba(124,58,237,.22), transparent 60%); }
.partner-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.partner { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.partner:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.partner img { width: 100%; aspect-ratio: 2 / 1; object-fit: contain; background: #f4efe3; }
.partner figcaption { padding: 14px 16px 18px; border-top: 3px solid var(--gold); }
.partner figcaption b { display: block; font-size: 1rem; line-height: 1.25; }
.partner figcaption span { display: block; font-size: .86rem; color: var(--muted); margin-top: 4px; }
.many-more { margin-top: 26px; font-family: var(--display); font-size: 1.6rem; text-transform: uppercase; color: var(--ink); }
@media (max-width: 960px) { .partner-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .partner-grid { gap: 12px; } .partner figcaption { padding: 10px 12px 14px; } .partner figcaption span { display: none; } }

.exposure { list-style: none; padding: 0; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 980px; }
.exposure li { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; background: #1d1a13; border: 1px solid #3a3325; font-weight: 700; font-size: .95rem; }
.exposure li svg { width: 20px; height: 20px; color: var(--gold); }

.join-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.join-card { display: flex; flex-direction: column; gap: 10px; padding: 28px 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); text-decoration: none; transition: transform .3s, box-shadow .3s, border-color .3s; }
.join-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--gold-2); }
.join-card .ico { width: 54px; height: 54px; border-radius: 16px; background: var(--ink); color: var(--gold); display: grid; place-items: center; }
.join-card .ico svg { width: 26px; height: 26px; }
.join-card h3 { font-family: var(--display); font-weight: 400; font-size: 1.8rem; text-transform: uppercase; margin: 6px 0 0; }
.join-card p { color: var(--muted); margin: 0; font-size: .95rem; }
.join-card .link-arrow { margin-top: auto; padding-top: 6px; }
.join-card.join-donate { background: var(--gold); border-color: var(--gold); }
.join-card.join-donate p { color: var(--ink); }
.join-card.join-donate .link-arrow { color: var(--ink); }
@media (max-width: 1000px) { .join-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .join-grid { grid-template-columns: 1fr; } }

/* Home: scrolling partner logo strip */
.logo-marquee { display: flex; overflow: hidden; gap: 16px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logo-track { list-style: none; margin: 0; padding: 0; display: flex; gap: 16px; flex: none; animation: logos 40s linear infinite; }
.logo-track li { flex: none; width: 220px; border-radius: 14px; overflow: hidden; background: #f4efe3; border: 1px solid var(--line); box-shadow: 0 6px 18px -12px rgba(0,0,0,.4); }
.logo-track img { width: 100%; aspect-ratio: 2 / 1; object-fit: contain; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
@keyframes logos { to { transform: translateX(calc(-100% - 16px)); } }
@media (max-width: 600px) { .logo-track li { width: 170px; } }

/* ==========================================================
   Orientation Kickoff (Oct 1, 2026) + Updates page
   ========================================================== */
.announce { font-size: .9rem; }
.announce-tag { display: inline-block; background: var(--ink); color: var(--gold); font-weight: 800; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; margin-right: 8px; vertical-align: 1px; }
.announce-tag.dark { margin: 0 0 12px; }

/* home: sub-label under the Active tags */
.feature-card .flag-sub { top: 56px; background: rgba(12,11,9,.85); color: #fff; border-color: rgba(255,255,255,.35); }
.status-sub { position: absolute; top: 48px; right: 14px; z-index: 2; background: rgba(12,11,9,.85); color: #fff; font-weight: 700; font-size: .72rem; padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); }
.kickoff-where { display: flex; gap: 8px; align-items: flex-start; font-size: .92rem; margin: -8px 0 14px; }
.kickoff-where svg { width: 18px; height: 18px; flex: none; color: var(--gold); margin-top: 2px; }
.kickoff-where.on-card { color: #e8e1d2 !important; }
.kickoff-where.on-card a { color: var(--gold); font-weight: 700; }

/* programs: kickoff card right under the Active tag */
.kickoff-card { background: var(--white); border: 1px solid var(--line); border-left: 5px solid var(--gold); border-radius: 14px; padding: 14px 18px 12px; margin: 4px 0 20px; box-shadow: var(--shadow); }
.kickoff-card .kickoff { margin: 0 0 8px; }
.kickoff-card .kickoff-when { margin: 0 0 6px; font-size: 1.05rem; }
.kickoff-card .kickoff-where { margin: 0 0 8px; color: var(--muted); }
.kickoff-card .kickoff-where svg { color: var(--gold-deep); }

/* updates page: featured event */
.event-feature { display: grid; grid-template-columns: 1fr 1.1fr; background: var(--ink); color: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.event-media { position: relative; min-height: 360px; }
.event-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.event-date { position: absolute; left: 20px; top: 20px; background: var(--gold); color: var(--ink); border-radius: 16px; padding: 10px 16px; text-align: center; line-height: 1; box-shadow: var(--shadow); }
.event-date small { display: block; font-weight: 800; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; }
.event-date b { display: block; font-family: var(--display); font-weight: 400; font-size: 3rem; margin: 2px 0; }
.event-body { padding: 36px 38px; }
.event-body h2 { color: var(--white); }
.event-body .lead { color: #e1d9c9; }
.event-facts { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.event-facts li { display: flex; gap: 12px; align-items: flex-start; background: #1d1a13; border: 1px solid #3a3325; border-radius: 14px; padding: 12px 14px; font-size: .9rem; color: #cfc6b5; }
.event-facts svg { width: 22px; height: 22px; color: var(--gold); flex: none; margin-top: 2px; }
.event-facts small { display: block; text-transform: uppercase; letter-spacing: .14em; font-size: .68rem; font-weight: 800; color: var(--gold); }
.event-facts b { display: block; color: var(--white); font-size: .98rem; }
.event-body .btn-ghost { color: var(--white); border-color: rgba(255,255,255,.5); }
.event-body .btn-ghost:hover { background: var(--white); color: var(--ink); }
.event-body .btn svg { width: 18px; height: 18px; }
@media (max-width: 900px) { .event-feature { grid-template-columns: 1fr; } .event-media { min-height: 240px; } .event-body { padding: 28px 22px; } .event-facts { grid-template-columns: 1fr; } }

/* 8 menu items: switch to the phone menu a little earlier so nothing crowds */
@media (max-width: 1180px) and (min-width: 1021px) {
  .menu-toggle { display: inline-flex; }
  .nav-cta .btn { display: none; }
  .nav-links { position: fixed; inset: calc(var(--nav-h)) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--ink); padding: 14px 20px 28px; transform: translateY(-120%); transition: transform .35s ease, visibility 0s linear .35s; visibility: hidden; z-index: -1; height: calc(100dvh - var(--nav-h)); overflow: auto; }
  .nav-links.open { transform: translateY(0); visibility: visible; transition: transform .35s ease, visibility 0s; }
  .nav-links a { color: var(--white); font-family: var(--display); font-size: 1.7rem; font-weight: 400; padding: 12px 6px; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-links a:hover { background: none; color: var(--gold); }
  .nav-links .mobile-only { display: block; }
  .nav-links .mobile-only a { color: var(--gold); }
}
@media (min-width: 1181px) { .nav-links a { padding: 10px 11px; font-size: .86rem; } }
.announce-tag.dark { background: transparent; border: 1px solid var(--gold); }

/* Featured sponsor spotlight (Community page) */
.sponsor-spot { display: grid; grid-template-columns: 1fr 1.1fr; gap: 0; align-items: stretch; background: var(--ink); color: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); margin-bottom: 34px; border: 2px solid var(--gold); }
.sponsor-spot img { width: 100%; height: 100%; aspect-ratio: 2 / 1; object-fit: cover; background: #1c1613; }
.sponsor-text { padding: 30px 34px; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.sponsor-badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; background: var(--gold); color: var(--ink); font-weight: 800; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.sponsor-badge svg { width: 14px; height: 14px; }
.sponsor-text h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.8rem, 3vw, 2.4rem); text-transform: uppercase; margin: 6px 0 0; color: var(--white); }
.sponsor-text p { color: #d8d0c0; margin: 0; }
.sponsor-text .link-arrow { color: var(--gold); margin-top: 6px; }
@media (max-width: 820px) { .sponsor-spot { grid-template-columns: 1fr; } .sponsor-text { padding: 24px 22px 26px; } }

/* Partner tiles: all the same size; a short last row is centered */
.partner-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.partner-grid .partner { flex: 0 1 calc((100% - 60px) / 4); }
@media (max-width: 960px) { .partner-grid .partner { flex-basis: calc((100% - 20px) / 2); } }
@media (max-width: 420px) { .partner-grid { gap: 12px; } .partner-grid .partner { flex-basis: calc((100% - 12px) / 2); } }

/* ==========================================================
   October 2026 update: first class, deadline, news media
   ========================================================== */
.register-wrap { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.deadline-note { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: .82rem; font-weight: 600; color: var(--muted); }
.deadline-note svg { width: 15px; height: 15px; color: var(--gold-deep); flex: none; }
.deadline-note strong { color: var(--ink); }
.on-dark .deadline-note, .feature-card .deadline-note, .event-body .deadline-note, .form-top .deadline-note { color: #d8d0c0; }
.on-dark .deadline-note strong, .feature-card .deadline-note strong, .event-body .deadline-note strong, .form-top .deadline-note strong { color: var(--gold); }
.on-dark .deadline-note svg, .feature-card .deadline-note svg, .event-body .deadline-note svg, .form-top .deadline-note svg { color: var(--gold); }
.form-top .deadline-note { margin-top: 6px; }

.success-note { background: linear-gradient(135deg, rgba(242,183,5,.18), rgba(242,183,5,.06)); border: 1px solid rgba(242,183,5,.55); border-left: 5px solid var(--gold); border-radius: 14px; padding: 16px 18px; margin: 4px 0 20px; }
.success-note p { margin: 0 0 6px; color: #e8e1d2; }
.success-note p:last-child { margin-bottom: 0; }
.success-note .success-title { font-family: var(--display); font-size: 1.6rem; line-height: 1.1; text-transform: uppercase; color: var(--white); }
.success-note .success-first strong, .success-note .success-deadline strong { color: var(--gold); }

.news-media { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: 28px; align-items: start; margin-bottom: 40px; }
.news-flyer { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.news-flyer img { width: 100%; height: auto; display: block; }
.news-flyer figcaption { padding: 16px 18px 18px; display: grid; gap: 6px; }
.news-flyer figcaption b { font-size: 1.05rem; }
.news-flyer figcaption span { color: var(--muted); font-size: .92rem; }
.news-message { background: var(--ink); color: var(--white); border-radius: var(--radius-lg); padding: 32px 30px; box-shadow: var(--shadow-lg); border-top: 5px solid var(--gold); }
.news-message p { color: #e8e1d2; font-size: 1.05rem; }
.news-message .news-sign { font-family: var(--display); font-size: 1.7rem; letter-spacing: .02em; color: var(--gold); margin: 10px 0 0; }
.news-video { margin-top: 22px; }
@media (max-width: 860px) { .news-media { grid-template-columns: 1fr; } .news-message { padding: 26px 22px; } }

.partner-link { display: inline-block; margin-top: 6px; font-size: .84rem; font-weight: 700; color: var(--gold-deep); text-decoration: none; }
.partner-link:hover { text-decoration: underline; }
/* deadline line reads as one sentence */
.deadline-note { display: block; line-height: 1.45; max-width: 34ch; }
.deadline-note svg { display: inline-block; vertical-align: -2px; margin-right: 4px; }
/* buttons on the dark event card stay visible */
.event-body .btn-dark { background: transparent; color: var(--gold); border-color: var(--gold); }
.event-body .btn-dark:hover { background: var(--gold); color: var(--ink); }
.event-body .hero-actions { align-items: flex-start; }
.news-left { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.news-left .news-flyer { width: 100%; }
.news-right { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.news-right .news-message { width: 100%; }
