/* WELO: Oakland community colors, editorial type, and a complete responsive layer. */
:root {
  --navy: #082b59;
  --blue: #155bb5;
  --gold: #ffc443;
  --paper: #fff;
  --clay: #a73b26;
  --radius: 6px;
}
html { scroll-padding-top: 100px; }
body { background: #fff; }
main, section, article, aside, form, figure, nav, [class$="-grid"] > * { min-width: 0; }
h1, h2, h3 { overflow-wrap: break-word; text-wrap: balance; }
p, a, label, li { overflow-wrap: anywhere; }
:focus-visible { outline: 3px solid #155bb5; outline-offset: 5px; }
.button:focus-visible, .hero a:focus-visible, .site-footer a:focus-visible { outline-color: var(--gold); }
.button { min-height: 48px; gap: 12px; border-radius: 4px; box-shadow: none; }
.button-primary { background: var(--gold); }
.button-primary:hover { background: #ffda79; }
.text-link { min-height: 44px; }
.eyebrow { font-size: .875rem; letter-spacing: .12em; }
.site-shell { display: none; }
.site-header, .site-header.is-scrolled { min-height: 80px; padding-inline: max(24px, calc((100% - 1320px) / 2)); background: #fff; }
.brand { flex-shrink: 0; }
.site-nav { gap: 2px; font-size: .875rem; }
.site-nav a:not(.button) { padding: 12px 9px; }
.site-nav .button { padding-inline: 16px; margin-left: 6px; }
.hero { display: grid; align-items: start; grid-template-columns: 1.05fr 1fr; min-height: 0; overflow: visible; background: var(--navy); }
.hero::after { display: none; }
.hero-media { position: relative; inset: auto; grid-column: 2; grid-row: 1; min-height: 0; height: auto; margin: clamp(40px, 5vw, 80px) 24px 32px 0; transform: none; background: none; }
.hero-media > img { width: 100%; height: auto; aspect-ratio: 2048 / 1682; }
.money-model { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 20px; }
.money-model article { padding: clamp(22px, 3vw, 32px); }
.money-model h3 { font-size: clamp(1.375rem, 2.2vw, 1.625rem); line-height: 1.2; }

.hero-grid { grid-column: 1; grid-row: 1; width: 100%; display: flex; flex-direction: column; align-items: stretch; gap: 32px; padding: clamp(40px, 5vw, 80px) clamp(24px, 4.5vw, 80px) 36px; margin: 0; }
.hero h1 { font-family: Impact, 'Arial Narrow', sans-serif; font-weight: 900; text-transform: uppercase; font-size: clamp(3.5rem, 5.8vw, 6rem); line-height: .98; letter-spacing: -.025em; margin: 20px 0 24px; }
.hero h1 span { color: var(--gold); }
.hero-lede { font-size: 1.125rem; max-width: 36rem; }
.hero-note { font-size: .875rem; color: #d3e0f1; max-width: 35rem; }
.photo-stamp { position: absolute; bottom: 36px; left: 30px; padding: 14px 18px; background: var(--gold); color: var(--navy); font-weight: 900; font-size: clamp(1rem, 1.8vw, 1.5rem); line-height: 1.1; transform: rotate(-3deg); box-shadow: 5px 5px 0 var(--navy); }
.hero-proof { display: grid; grid-column: 1 / -1; grid-row: 2; grid-template-columns: .8fr repeat(3, minmax(0, 1fr)); align-items: center; gap: 0; padding: 28px clamp(24px, 4.5vw, 80px); border: 0; border-top: 1px solid rgba(203, 220, 242, .22); border-radius: 0; background: rgba(3, 19, 40, .24); backdrop-filter: none; box-shadow: none; max-width: none; }
.proof-kicker { grid-column: auto; padding-right: 24px; color: var(--gold); font-size: .8125rem; letter-spacing: .14em; line-height: 1.6; }
.proof-item { min-width: 0; padding: 4px clamp(20px, 2.5vw, 40px); border: 0; border-left: 1px solid rgba(203, 220, 242, .22); }
.proof-item strong { font-size: 1rem; font-weight: 750; line-height: 1.4; }
.proof-item span { margin-top: 4px; font-size: .875rem; font-weight: 400; color: #c3d3e8; line-height: 1.5; }

.stats-band { grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; margin: 0; border: 0; border-radius: 0; background: var(--gold); box-shadow: none; padding-inline: max(0px, calc((100% - 1320px) / 2)); }
.stat { padding: 28px; border-color: rgba(8,43,89,.2); }
.stat strong { color: var(--navy); font-weight: 900; }
.stat span { color: var(--navy); font-size: .875rem; }
.section { padding: clamp(56px, 7vw, 100px) clamp(20px, 4vw, 64px); }
.section h2 { font-size: clamp(2rem, 4vw, 3.75rem); letter-spacing: -.035em; }
.section-heading { margin-bottom: 36px; }
.section-heading > p:not(.eyebrow) { font-size: 1.125rem; }
.team-proof { background: #071e3b; }
.team-proof::before { display: none; }
.story, .program-detail, .involvement-intro { background: #f0f5fb; }
.program-section, .program-lineup { background: #fff; }
.quote-block { font-size: clamp(1.25rem, 2vw, 1.6rem); box-shadow: none; }
.pillar-grid article { border-top: 4px solid var(--blue); background: #f0f5fb; box-shadow: none; }
.pillar-grid article:nth-child(even) { border-top-color: var(--gold); }
.program-card { display: flex; flex-direction: column; box-shadow: none; border-radius: 6px; }
.program-card > div { display: flex; flex-direction: column; flex: 1; }
.program-card .text-link { margin-top: auto; padding-top: 16px; justify-content: space-between; }
.program-card .text-link::after { content: '↗'; font-size: 1.4rem; }
.program-card img { aspect-ratio: 4 / 3; }
.program-hero-grid { min-height: 480px; padding-top: 24px; }
.program-hero h1 { font-size: clamp(2.75rem, 5.7vw, 5.5rem); letter-spacing: -.035em; }
.program-hero .eyebrow { color: var(--gold); }
.contact-form input, .contact-form select, .contact-form textarea { min-width: 0; max-width: 100%; font-size: 1rem; min-height: 48px; }
.involved-form fieldset label { min-height: 44px; }
.site-footer a { display: flex; min-height: 44px; align-items: center; }
.donation-modal { padding: 16px; }
.donation-modal__panel { max-height: calc(100dvh - 32px); overscroll-behavior: contain; }
.donation-modal__close { min-height: 44px; font-size: .875rem; }
.donation-widget, .donation-widget iframe { max-width: 100%; }
/* Content must remain visible even if scripting or observers fail. */
.js [data-reveal] { opacity: 1; transform: none; }
@media (max-width: 1240px) {
  .site-header, .site-header.is-scrolled { min-height: 72px; padding-inline: 20px; }
  .menu-button { display: block; flex-shrink: 0; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 20px 20px; background: #fff; border-bottom: 3px solid var(--gold); box-shadow: 0 18px 36px #082b5926; max-height: calc(100dvh - 72px); overflow-y: auto; overscroll-behavior: contain; }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.button) { min-height: 44px; padding: 10px 12px; }
  .site-nav .button { margin: 4px 0 0; }
  .menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  html:not(.js) .site-header { flex-wrap: wrap; }
  html:not(.js) .site-nav { position: static; display: flex; width: 100%; max-height: none; box-shadow: none; }
  html:not(.js) .menu-button { display: none; }
}
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .hero-media { grid-column: 1; grid-row: 2; min-height: 0; height: auto; margin: 0 28px 32px; }
  .hero-grid { padding: 44px 28px 36px; gap: 28px; }
  .hero h1 { max-width: 760px; font-size: clamp(3.25rem, 8.5vw, 5rem); }
  .hero-lede { max-width: 42rem; }
  .hero-proof { grid-row: 3; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 24px 28px; row-gap: 18px; }
  .proof-kicker { grid-column: 1 / -1; padding-right: 0; }
  .proof-item { padding-inline: 20px; }
  .proof-item:nth-child(2) { padding-left: 0; border-left: 0; }
  .store-campaign-grid { grid-template-columns: minmax(0, 1fr); }
  .drop-offer-grid, .partner-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .drop-offer-grid .feature-product { grid-column: 1 / -1; }
  .site-footer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 88px; }
  .hero-grid { padding: 32px 20px; }
  .hero-media { margin: 0 20px 28px; }
  .money-model { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .hero h1 { font-size: clamp(2.75rem, 11.4vw, 4.5rem); }
  .hero .eyebrow { font-size: .8125rem; }
  .hero-proof { grid-template-columns: minmax(0, 1fr); padding: 24px 20px; gap: 0; }
  .proof-kicker { margin-bottom: 10px; }
  .proof-item { padding: 14px 0; border-left: 0; border-top: 1px solid rgba(203, 220, 242, .16); }
  .proof-item strong { font-size: 1rem; }
  .proof-item span { font-size: .875rem; }
  .hero-actions { gap: 10px; }
  .photo-stamp { bottom: 24px; left: 22px; }
  .stats-band { grid-template-columns: minmax(0, 1fr); }
  .stat { padding: 22px 20px; border-right: 1px solid #082b592e; border-bottom: 1px solid #082b592e; }
  .stat strong { font-size: 2.5rem; }
  .stat span { font-size: .8125rem; }
  .section { padding: 52px 20px; }
  .section h2 { font-size: clamp(1.875rem, 8vw, 2.5rem); }
  .section-grid, .season-grid, .contact-grid, .store-grid, .program-detail-grid, .involvement-form-grid { gap: 28px; }
  .drop-offer-grid, .partner-wall, .site-footer { grid-template-columns: minmax(0, 1fr); }
  .program-hero-grid { padding-top: 12px; min-height: 0; gap: 28px; }
  .program-hero h1 { font-size: clamp(2.4rem, 10vw, 3.5rem); }
  .contact-form, .program-panel, .program-facts, .involvement-cards article { padding: 20px; }
  .donation-modal__panel { padding: 64px 16px 20px; }
  .donation-modal__panel h2 { margin-inline: 0; font-size: 2rem; }
  .gift-buttons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .involved-form fieldset { padding: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .program-card:hover, .pillar-grid article:hover { transform: none; }
}
