/* ============================================================================
   iDAC — Shared stylesheet
   ----------------------------------------------------------------------------
   This single file styles the whole site. It is organized top-to-bottom as:
     1. Fonts + design tokens (brand colors, type)        -> edit brand here
     2. Base / reset / typography
     3. Layout helpers (.container, .section)
     4. Buttons
     5. Navigation (iDAC Inc nav + Foundation nav + mobile drawer)
     6. Footers (Inc + Foundation)
     7. Reusable blocks (hero, cards, stats, ticker, forms)
     8. Animations + scroll-reveal
     9. Utilities + responsive helpers

   Class names are intentionally plain and descriptive so a non-technical
   editor (or an AI assistant) can find and change things easily.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,700;1,400;1,700&family=Barlow+Condensed:ital,wght@0,700;0,900;1,700;1,900&display=swap');

/* ----------------------------------------------------------------------------
   1. DESIGN TOKENS  — change the brand palette / fonts in one place
   -------------------------------------------------------------------------- */
:root {
  /* Brand colors */
  --orange:     #E8572A;  /* primary accent, CTAs, tier headings, bullets */
  --navy:       #0D1B35;  /* dark backgrounds, headings, hero gradients */
  --blue:       #0000B1;  /* deep blue — headings, links, portal accents */
  --bright-blue:#1A6BFF;  /* secondary blue accent */
  --hero-blue:  #1A2E6A;  /* hero gradient mid-tone */
  --white:      #FFFFFF;

  /* Neutrals */
  --ink:    #1a1a1a;
  --gray-700:#374151;
  --gray-500:#6b7280;
  --gray-300:#d1d5db;
  --gray-100:#f3f4f6;
  --gray-50: #f8f9fc;

  /* Type */
  --font-body:    'Inter', system-ui, sans-serif;
  --font-display: 'Barlow Condensed', sans-serif;
  --font-serif:   'Playfair Display', serif;

  /* Misc */
  --radius: 0.5rem;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.06);
  --shadow:    0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -1px rgba(0,0,0,0.05);
  --shadow-lg: 0 12px 28px -8px rgba(0,0,0,0.18);
  --container: 1200px;
}

/* ----------------------------------------------------------------------------
   2. BASE / RESET / TYPOGRAPHY
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { opacity: 0.85; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 900; line-height: 1.05; color: var(--navy); }

/* The big display headline look used across heroes */
.display { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; letter-spacing: -0.01em; }

.eyebrow {                       /* small uppercase label above a heading */
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--orange);
}

.lead { font-size: 1.125rem; color: var(--gray-700); }

/* ----------------------------------------------------------------------------
   3. LAYOUT HELPERS
   -------------------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 1.5rem; }
.container-narrow { max-width: 820px; }

.section { padding-block: 5rem; }
.section-sm { padding-block: 3rem; }

.text-center { text-align: center; }
.bg-gray { background: var(--gray-50); }
.bg-navy { background: var(--navy); color: #fff; }
.bg-navy h1, .bg-navy h2, .bg-navy h3 { color: #fff; }

/* a navy/blue diagonal gradient reused on dark hero sections */
.gradient-navy { background: linear-gradient(135deg, var(--navy) 0%, var(--hero-blue) 55%, #0f1e55 100%); }

/* ----------------------------------------------------------------------------
   4. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.75rem 1.5rem; border-radius: var(--radius);
  font-weight: 600; font-size: 0.9rem; line-height: 1;
  border: 2px solid transparent; cursor: pointer;
  transition: opacity .2s ease, background-color .2s ease, color .2s ease, transform .2s ease;
  white-space: nowrap;
}
.btn:hover { opacity: 0.9; }
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange-blue { background: var(--orange); color: var(--blue); } /* Inc "Board Access" style */
.btn-navy   { background: var(--navy); color: #fff; }
.btn-blue   { background: var(--blue); color: #fff; }
.btn-white  { background: #fff; color: var(--navy); }
.btn-outline-navy { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: #fff; opacity: 1; }
.btn-outline-white { background: transparent; border-color: rgba(255,255,255,.7); color: #fff; }
.btn-lg { padding: 0.95rem 2rem; font-size: 1rem; }
.btn-pill { border-radius: 999px; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.78rem; font-weight: 700; }

/* ----------------------------------------------------------------------------
   5. NAVIGATION
   Two brand navs share most styling. Inc nav = white/navy, Foundation nav adds
   an orange active underline + orange Donate button.
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff; border-bottom: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  max-width: var(--container); margin-inline: auto;
  padding: 0 1.5rem; height: 88px;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.nav-logo img { height: 64px; width: auto; }
.nav-foundation .nav-logo img { height: 72px; }

.nav-links { display: flex; align-items: center; gap: 1.5rem; }
.nav-link {
  font-size: 0.9rem; font-weight: 500; color: var(--navy);
  display: inline-flex; align-items: center; gap: 0.3rem; white-space: nowrap;
  border-bottom: 2px solid transparent; padding-bottom: 2px;
}
.nav-link:hover { opacity: 0.65; }
.nav-foundation .nav-link.is-active { color: var(--orange); border-bottom-color: var(--orange); }
.nav-link .chev { width: 10px; height: 6px; opacity: 0.5; transition: transform .2s ease; }

/* Dropdown — pure CSS hover on desktop */
.nav-item { position: relative; }
.nav-dropdown {
  position: absolute; top: 100%; left: 0; padding-top: 0.5rem; min-width: 13rem;
  opacity: 0; visibility: hidden; transform: translateY(4px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-item:hover .nav-link .chev { transform: rotate(180deg); }
.nav-dropdown-panel { background: #fff; border: 1px solid var(--gray-100); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 0.25rem 0; overflow: hidden; }
.nav-dropdown-panel a { display: block; padding: 0.65rem 1rem; font-size: 0.875rem; font-weight: 500; color: var(--navy); }
.nav-dropdown-panel a:hover { background: var(--gray-50); opacity: 1; }

.nav-ctas { display: flex; align-items: center; gap: 0.75rem; }
.nav-cta { padding: 0.5rem 1.25rem; border-radius: var(--radius); font-size: 0.85rem; font-weight: 600; }

/* Hamburger (mobile only) */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px; padding: 0.5rem;
  background: none; border: none; cursor: pointer; color: var(--navy);
}
.nav-toggle span { display: block; width: 24px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .22s ease, opacity .18s ease; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.nav-backdrop {
  position: fixed; inset: 0; z-index: 40; background: rgba(13,27,53,0.55);
  opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s;
}
.nav-backdrop.is-open { opacity: 1; visibility: visible; }
.mobile-drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(85vw, 320px); z-index: 50;
  background: #fff; box-shadow: -8px 0 40px rgba(0,0,0,0.18);
  transform: translateX(100%); transition: transform .28s ease;
  display: flex; flex-direction: column;
}
.mobile-drawer.is-open { transform: translateX(0); }
.mobile-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 0 1.5rem; height: 72px; border-bottom: 1px solid var(--gray-100); }
.mobile-drawer-head img { height: 50px; width: auto; }
.mobile-nav { flex: 1; overflow-y: auto; padding: 1.5rem; }
.mobile-nav a, .mobile-nav .mobile-group-toggle {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 0.85rem 0; font-size: 1rem; font-weight: 600; color: var(--navy);
  border-bottom: 1px solid var(--gray-100); background: none; border-left: 0; border-right: 0; border-top: 0; cursor: pointer;
}
.mobile-nav a:hover, .mobile-nav .mobile-group-toggle:hover { color: var(--orange); }
.mobile-subnav { display: none; padding-left: 1rem; }
.mobile-subnav.is-open { display: block; }
.mobile-subnav a { font-size: 0.875rem; font-weight: 500; color: var(--gray-500); }
.mobile-drawer-ctas { padding: 1.5rem; border-top: 1px solid var(--gray-100); display: flex; flex-direction: column; gap: 0.75rem; }

/* ----------------------------------------------------------------------------
   6. FOOTERS
   -------------------------------------------------------------------------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.7); padding: 3.5rem 0 2rem; }
.site-footer a { color: rgba(255,255,255,0.7); }
.site-footer a:hover { color: #fff; opacity: 1; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 2rem; align-items: flex-start; justify-content: space-between; }
.footer-logo img { height: 56px; width: auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.5rem; font-size: 0.9rem; }
.footer-social { display: flex; gap: 1rem; }
.footer-social a { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,0.2); border-radius: 999px; }
.footer-social a:hover { background: rgba(255,255,255,0.1); }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.12); font-size: 0.8rem; text-align: center; }

/* ----------------------------------------------------------------------------
   7. REUSABLE BLOCKS
   -------------------------------------------------------------------------- */

/* Press / announcement bar */
.press-bar { background: var(--gray-100); text-align: center; padding: 0.65rem 1rem; font-size: 0.8rem; }
.press-bar a { color: var(--blue); font-weight: 500; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 6rem 0; color: #fff; }
.hero .container { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); color: #fff; }
.hero p { color: rgba(255,255,255,0.85); }
.hero-overlay { position: absolute; inset: 0; z-index: 1; }

/* Generic card */
.card { background: #fff; border: 1px solid var(--gray-100); border-radius: 1rem; box-shadow: var(--shadow); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.card-hover:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-body { padding: 1.5rem; }

/* Grids */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Person / leadership card */
.person-card { text-align: center; }
.person-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 0.75rem; }
.person-card .person-name { font-family: var(--font-display); font-weight: 900; font-size: 1.15rem; margin-top: 0.85rem; }
.person-card .person-role { color: var(--orange); font-weight: 600; font-size: 0.85rem; }
.person-card .person-company { color: var(--gray-500); font-size: 0.85rem; }

/* Stats */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1.5rem; text-align: center; }
.stat-value { font-family: var(--font-display); font-weight: 900; font-size: clamp(2.25rem, 5vw, 3.25rem); color: var(--orange); line-height: 1; }
.stat-label { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray-500); margin-top: 0.4rem; }

/* Sponsor ticker / marquee */
.ticker { overflow: hidden; white-space: nowrap; }
.ticker-track { display: inline-flex; gap: 3rem; padding-block: 0.75rem; animation: ticker-scroll 35s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { font-weight: 600; color: var(--gray-500); font-size: 0.95rem; }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Tier heading (sponsor tiers) */
.tier-heading { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; color: var(--orange); letter-spacing: 0.05em; }

/* Forms */
.form-card { background: #fff; border-radius: 1rem; box-shadow: var(--shadow-lg); overflow: hidden; }
.form-card-head { background: var(--blue); color: #fff; padding: 1.25rem 1.75rem; }
.form-grid { display: grid; gap: 1.25rem; padding: 1.75rem; }
.field label { display: block; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--gray-500); margin-bottom: 0.4rem; }
.field input, .field textarea, .field select {
  width: 100%; padding: 0.75rem 1rem; font: inherit; font-size: 0.95rem; color: var(--navy);
  background: #fff; border: 1.5px solid var(--gray-300); border-radius: var(--radius); outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,0,177,0.12); }
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 0.8rem; color: var(--gray-500); }

/* Responsive video embed (YouTube) */
.video { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 0.75rem; overflow: hidden; box-shadow: var(--shadow); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ----------------------------------------------------------------------------
   8. ANIMATIONS + SCROLL REVEAL
   Recreates the original "fade/slide up on scroll" reveal feel with CSS.
   Elements with .reveal start hidden; site.js adds .is-visible when they
   scroll into view. Add .reveal-delay-1..4 to stagger siblings.

   The hidden state is gated behind `html.js` (set by site.js the moment it
   runs). So if JavaScript is disabled or fails to load, .reveal content is
   simply shown — it is never left permanently invisible.
   -------------------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* Pulsing rings (used behind the Inc events-hero logo) */
.pulse-ring { position: absolute; border-radius: 999px; border: 2px solid var(--orange); animation: pulse-ring 2.6s ease-out infinite; }
@keyframes pulse-ring {
  0%   { transform: translate(-50%,-50%) scale(1);   opacity: 0; }
  18%  { opacity: 0.55; }
  100% { transform: translate(-50%,-50%) scale(2.4); opacity: 0; }
}

/* Slow spin (used for the "spinning text ring" accents) */
.spin-slow { animation: spin 18s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Respect reduced-motion preferences.
   We keep a GENTLE opacity-only fade for reveals (a soft cross-fade is within
   accessibility guidance), but switch off the looping / large-movement effects
   that can trigger motion sensitivity (ticker, pulse, spin, drifting dots). */
@media (prefers-reduced-motion: reduce) {
  .js .reveal { transform: none; transition: opacity .6s ease; }
  .js .reveal.is-visible { opacity: 1; }
  .ticker-track,
  .pulse-ring,
  .spin-slow,
  .network-band::before,
  .network-band::after { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ----------------------------------------------------------------------------
   9. UTILITIES + RESPONSIVE
   -------------------------------------------------------------------------- */
.mt-2 { margin-top: 0.5rem; } .mt-4 { margin-top: 1rem; } .mt-6 { margin-top: 1.5rem; } .mt-8 { margin-top: 2rem; }
.mb-4 { margin-bottom: 1rem; } .mb-6 { margin-bottom: 1.5rem; } .mb-8 { margin-bottom: 2rem; }
.flex { display: flex; } .items-center { align-items: center; } .justify-center { justify-content: center; }
.gap-2 { gap: 0.5rem; } .gap-4 { gap: 1rem; }
.flex-wrap { flex-wrap: wrap; }
.text-orange { color: var(--orange); }
.text-blue { color: var(--blue); }
.text-white { color: #fff; }
.max-w-prose { max-width: 65ch; }
.mx-auto { margin-inline: auto; }
.rounded { border-radius: var(--radius); }
.shadow { box-shadow: var(--shadow); }

@media (max-width: 900px) {
  .nav-links, .nav-ctas { display: none; }
  .nav-toggle { display: flex; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .section { padding-block: 3.5rem; }
}

@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero { padding: 4rem 0; }
  .footer-inner { flex-direction: column; }
}

/* ----------------------------------------------------------------------------
   10. HOMEPAGE-SPECIFIC BLOCKS  (iDAC Inc /)
   Also reused on some event pages (event panels, stat bars).
   -------------------------------------------------------------------------- */

/* Two-panel events hero */
.events-hero { display: flex; min-height: 460px; }
.event-panel { position: relative; flex: 1; overflow: hidden; min-height: 460px; }
.event-panel-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.event-panel-overlay { position: absolute; inset: 0; }
.event-panel-content { position: relative; z-index: 2; height: 100%; min-height: 460px; display: flex; flex-direction: column; justify-content: space-between; padding: 2.5rem 2rem; }
.event-logo { position: relative; width: 160px; }
.event-body { display: flex; flex-direction: column; align-items: flex-start; gap: 0.75rem; margin-top: 2rem; }
.event-tag { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--orange); padding: 0.25rem 0.75rem; border-radius: 999px; background: rgba(232,87,42,0.25); border: 1px solid rgba(232,87,42,0.4); }
.event-script { font-family: var(--font-serif); font-style: italic; font-size: 1.25rem; color: var(--orange); }
.event-title { color: #fff; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 3.2vw, 2.6rem); line-height: 1.1; }
.event-date { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.9); }
.event-venue { font-size: 0.78rem; color: rgba(255,255,255,0.7); text-decoration: underline; }
.event-venue:hover { color: #fff; }
@media (max-width: 800px) { .events-hero { flex-direction: column; } }

/* INCLUSION in FINANCE headline */
.inclusion { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 2.5rem; }
.inclusion-headline { flex: 1; min-width: 280px; }
.inclusion-big { display: block; font-family: var(--font-display); font-weight: 900; letter-spacing: -0.01em; line-height: 0.9; color: var(--blue); font-size: clamp(4rem, 11vw, 10rem); }
.inclusion-row { display: flex; align-items: baseline; gap: 0.5rem; }
.inclusion-in { font-family: var(--font-display); font-weight: 700; font-style: italic; color: var(--blue); font-size: clamp(2rem, 5.5vw, 5rem); }
.inclusion-aside { width: 320px; max-width: 100%; padding-top: 1rem; text-align: right; color: var(--gray-700); }
.inclusion-aside .inclusion-rule { width: 100%; height: 1px; background: var(--gray-300); margin-bottom: 2rem; }
.inclusion-aside p { margin-bottom: 1.5rem; }

/* Membership stat bars (bleed to the right edge) */
.membership-band { overflow: hidden; }
.membership-grid { display: grid; grid-template-columns: 1fr 45%; gap: 2.5rem; align-items: start; }
.membership-stats { display: flex; flex-direction: column; gap: 1rem; }
.stat-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: var(--blue); color: #fff; padding: 1.5rem 2rem; border-radius: 0.75rem 0 0 0.75rem; margin-right: -1.5rem; }
.stat-bar-value { font-family: var(--font-display); font-weight: 900; line-height: 1; font-size: clamp(2.4rem, 5vw, 3.5rem); }
.stat-bar-label { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.9); text-align: right; max-width: 150px; }
@media (max-width: 800px) { .membership-grid { grid-template-columns: 1fr; } .stat-bar { margin-right: 0; border-radius: 0.75rem; } }

/* ----------------------------------------------------------------------------
   11. SECONDARY PAGE BLOCKS  (About, Leadership, Timmy Awards, bios)
   -------------------------------------------------------------------------- */

/* Serif hero band (Leadership, Timmy Awards) */
.hero-band { background: var(--blue); padding: 5rem 1.5rem; text-align: center; }
.hero-band h1 { font-family: var(--font-serif); font-weight: 400; color: #fff; font-size: clamp(2.2rem, 5vw, 3.5rem); }
.section-title-serif { font-family: var(--font-serif); font-weight: 400; color: var(--blue); text-align: center; font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 3rem; }

/* About hero with a subtle decorative dot network on the right */
.vision-hero { position: relative; overflow: hidden; background: #fff; padding: 5rem 0; }
.vision-hero::after {
  content: ""; position: absolute; inset: 0 0 0 45%; z-index: 0;
  background-image: radial-gradient(circle, rgba(26,48,112,0.18) 2px, transparent 2px);
  background-size: 34px 34px;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 60%);
          mask-image: linear-gradient(to right, transparent, #000 60%);
}
.vision-hero .container { position: relative; z-index: 1; }

/* Mission cards (About) */
.mission-card { background: #fff; border-radius: var(--radius); padding: 2rem; box-shadow: 0 1px 4px rgba(0,0,0,0.08); }
.mission-card .mission-rule { width: 32px; height: 2px; background: var(--blue); margin: 0.4rem 0 1.25rem; }
.mission-card h2 { color: var(--blue); font-family: var(--font-body); font-weight: 800; font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1rem; }
.mission-card p { color: #444; font-size: 0.95rem; }

/* Leadership grid + cards */
.leader-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25rem; }
.leader-card { display: flex; flex-direction: column; background: #ebebeb; border-radius: 4px; overflow: hidden; }
.leader-photo { display: block; background: var(--orange); aspect-ratio: 1/1; overflow: hidden; }
.leader-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.leader-info { display: flex; flex-direction: column; gap: 0.25rem; padding: 1rem; flex: 1; }
.leader-name { font-family: var(--font-display); font-weight: 900; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--blue); line-height: 1.15; }
.leader-role { font-size: 0.75rem; font-weight: 600; color: var(--navy); }
.leader-company { font-size: 0.75rem; color: #444; line-height: 1.35; }
.leader-actions { margin-top: auto; padding-top: 0.75rem; display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.leader-actions a.read-more { font-size: 0.75rem; font-weight: 600; color: var(--blue); }
.linkedin-badge { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 999px; background: #0a66c2; color: #fff; font-size: 0.7rem; font-weight: 700; flex-shrink: 0; }
@media (max-width: 1000px) { .leader-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .leader-grid { grid-template-columns: repeat(2, 1fr); } }

/* Award cards (Timmy) */
.award-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.award-card { display: flex; flex-direction: column; background: #ebebeb; border-radius: 4px; overflow: hidden; }
.award-photo { width: 100%; aspect-ratio: 4/3; object-fit: cover; object-position: center top; background: #d8d8d8; }
.award-body { display: flex; flex-direction: column; gap: 0.75rem; padding: 1.5rem; text-align: center; flex: 1; }
.award-title { color: var(--blue); font-style: italic; font-weight: 700; font-size: 0.875rem; line-height: 1.3; }
.award-desc { color: #444; font-size: 0.78rem; }
.award-recipient { font-weight: 700; font-size: 0.9rem; color: var(--blue); margin-top: auto; }
.award-recipient-title { font-size: 0.78rem; color: var(--navy); margin-top: 0.25rem; }
@media (max-width: 900px) { .award-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .award-grid { grid-template-columns: 1fr; } }

/* Generic back-link */
.back-link { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.85rem; font-weight: 600; color: var(--blue); margin-bottom: 1.5rem; }

/* ----------------------------------------------------------------------------
   12. MEMBERSHIP PAGE BLOCKS
   -------------------------------------------------------------------------- */

/* Hero with a decorative dotted field fading in from the right */
.dotted-hero { position: relative; overflow: hidden; background: #f2f2f2; padding: 5rem 0; }
.dotted-hero::after {
  content: ""; position: absolute; inset: 0 0 0 35%; z-index: 0;
  background-image: radial-gradient(circle, rgba(0,0,177,0.18) 3px, transparent 3px);
  background-size: 38px 38px;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 65%);
          mask-image: linear-gradient(to right, transparent, #000 65%);
}
.dotted-hero .container { position: relative; z-index: 1; }
.accent-bar { height: 4px; width: 60px; background: var(--orange); margin-bottom: 1.5rem; }

/* Member benefit bullet list */
.benefit-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.benefit-list li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.9rem; color: #333; }
.benefit-list li::before { content: ""; flex-shrink: 0; margin-top: 7px; width: 7px; height: 7px; border-radius: 999px; background: var(--blue); }

/* Outline pill button that fills on hover (membership CTAs) */
.btn-outline-fill { border: 2px solid var(--blue); color: var(--blue); background: transparent; border-radius: 999px; padding: 0.95rem 1.5rem; text-align: center; font-weight: 700; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; transition: background-color .2s, color .2s; }
.btn-outline-fill:hover { background: var(--blue); color: #fff; opacity: 1; }

/* Three pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid #e8e8e8; }
.pillar { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 2rem; border-right: 1px solid #e8e8e8; }
.pillar:last-child { border-right: none; }
.pillar-icon { height: 96px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; }
.pillar-icon img { width: 96px; height: 96px; object-fit: contain; }
.pillar h3 { font-family: var(--font-body); font-weight: 700; letter-spacing: 0.14em; font-size: 0.78rem; color: var(--blue); margin-bottom: 1.25rem; }
.pillar p { font-size: 0.78rem; color: #444; text-align: left; margin-bottom: 1rem; }
.pillar ul { list-style: none; width: 100%; display: flex; flex-direction: column; gap: 0.4rem; text-align: left; }
.pillar ul li { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.78rem; color: #333; }
.pillar ul li::before { content: ""; flex-shrink: 0; margin-top: 6px; width: 6px; height: 6px; border-radius: 999px; background: var(--blue); }
@media (max-width: 800px) { .pillars { grid-template-columns: 1fr; } .pillar { border-right: none; border-bottom: 1px solid #e8e8e8; } }

/* Decorative blue "network" band with drifting dots */
.network-band { height: 340px; background: #0000CC; position: relative; overflow: hidden; }
.network-band::before, .network-band::after {
  content: ""; position: absolute; inset: -20%;
  background-image: radial-gradient(circle, rgba(255,255,255,0.5) 2.5px, transparent 3px);
  background-size: 46px 46px; opacity: 0.5; animation: drift 24s linear infinite;
}
.network-band::after { background-size: 70px 70px; opacity: 0.25; animation-duration: 38s; animation-direction: reverse; }
@keyframes drift { from { transform: translate(0,0); } to { transform: translate(46px, 30px); } }

/* ----------------------------------------------------------------------------
   13. CONTACT PAGE
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 2fr 3fr; gap: 2rem; align-items: start; }
.info-row { display: flex; align-items: flex-start; gap: 1rem; }
.info-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex-shrink: 0; border-radius: 0.75rem; background: rgba(232,87,42,0.15); border: 1px solid rgba(232,87,42,0.3); color: var(--orange); font-weight: 700; }
.info-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); margin-bottom: 0.15rem; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------------------------
   14. DONATE PAGE  (amount presets are wired up in site.js -> initDonateAmounts)
   -------------------------------------------------------------------------- */
.donate-amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
.donate-amount {
  padding: 0.7rem; border: 2px solid var(--gray-300); border-radius: var(--radius);
  background: transparent; color: var(--navy); font-weight: 700; font-size: 0.9rem; cursor: pointer;
  transition: border-color .15s, background-color .15s, color .15s;
}
.donate-amount:hover { border-color: var(--blue); }
.donate-amount.is-selected { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ----------------------------------------------------------------------------
   15. ABOUT-FOUNDATION  (board grid + spinning mission ring)
   -------------------------------------------------------------------------- */
.fboard-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.fboard-card { display: flex; flex-direction: column; background: #f0f0f0; border-radius: 4px; overflow: hidden; }
.fboard-photo { width: 100%; aspect-ratio: 1/1; object-fit: cover; object-position: center top; background: var(--orange); }
.fboard-info { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.4rem; padding: 1.25rem 1rem; flex: 1; }
.fboard-name { font-weight: 700; font-size: 0.78rem; color: var(--blue); }
.fboard-role { font-size: 0.75rem; font-weight: 600; color: #444; }
.fboard-company { font-size: 0.75rem; color: #555; }
@media (max-width: 900px) { .fboard-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .fboard-grid { grid-template-columns: repeat(2, 1fr); } }

/* Spinning mission ring */
.mission-ring { position: relative; display: flex; align-items: center; justify-content: center; width: min(600px, 92vw); height: min(600px, 92vw); margin-inline: auto; }
.mission-ring svg { width: 100%; height: 100%; overflow: visible; }
.mission-ring .ring-text { font-family: var(--font-display); font-weight: 700; font-size: 22px; fill: var(--orange); text-transform: uppercase; }
.mission-ring-center { position: absolute; max-width: 60%; text-align: center; font-size: 0.9rem; line-height: 1.7; color: #333; }

/* ----------------------------------------------------------------------------
   16. RESOURCE HUB  (filter + search wired in site.js -> initResourceFilter)
   -------------------------------------------------------------------------- */
.resource-bar { position: sticky; top: 88px; z-index: 30; background: #fff; border-bottom: 1px solid var(--gray-100); box-shadow: var(--shadow-sm); }
.resource-bar-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; padding: 0.75rem 1.5rem; max-width: var(--container); margin-inline: auto; }
.resource-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; flex: 1; }
.pill { padding: 0.3rem 0.85rem; border-radius: 999px; font-size: 0.75rem; font-weight: 600; border: 1px solid var(--gray-300); background: transparent; color: #555; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.pill:hover { border-color: var(--orange); }
.pill.is-active { background: var(--orange); border-color: var(--orange); color: #fff; }
.resource-search { position: relative; width: 100%; max-width: 16rem; }
.resource-search input { width: 100%; padding: 0.5rem 1rem 0.5rem 2rem; border: 1px solid var(--gray-300); border-radius: 999px; font: inherit; font-size: 0.85rem; outline: none; }
.resource-search input:focus { border-color: var(--orange); }
.resource-search::before { content: "⌕"; position: absolute; left: 0.7rem; top: 50%; transform: translateY(-50%); color: #9ca3af; }

.article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.25rem; }
.article-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #e5e7eb; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .2s, transform .2s; }
.article-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); opacity: 1; }
.article-thumb { aspect-ratio: 16/9; overflow: hidden; background: linear-gradient(135deg, var(--navy), var(--blue)); }
.article-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.article-card:hover .article-thumb img { transform: scale(1.05); }
.article-body { display: flex; flex-direction: column; gap: 0.5rem; padding: 1rem; flex: 1; }
.article-tag { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--orange); }
.article-title { font-size: 0.9rem; font-weight: 600; line-height: 1.35; color: var(--navy); }
.article-source { font-size: 0.75rem; color: #888; margin-top: auto; }
.article-more { font-size: 0.75rem; font-weight: 600; color: var(--blue); padding: 0 1rem 1rem; }
.resource-empty { text-align: center; color: #9ca3af; padding: 5rem 0; }
.resource-count { font-size: 0.75rem; color: #9ca3af; margin-bottom: 1.5rem; }

/* ----------------------------------------------------------------------------
   17. EVENTS PAGES  (landing cards + summit layouts)
   -------------------------------------------------------------------------- */
/* network-style blue hero used on event/foundation-event pages */
.net-hero { position: relative; overflow: hidden; min-height: 240px; display: flex; align-items: center; justify-content: center; background: #1428a0; text-align: center; }
.net-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(10,18,100,0.55), rgba(50,10,100,0.35)), radial-gradient(circle, rgba(255,255,255,0.16) 1.5px, transparent 2px); background-size: auto, 38px 38px; }
.net-hero .container { position: relative; z-index: 1; padding-block: 3.5rem; }
.net-hero h1 { color: #fff; font-size: clamp(3rem, 7vw, 6rem); }

.event-band-head { background: var(--navy); text-align: center; padding: 2rem 1rem; }
.event-band-head .eyebrow { color: #8899bb; }
.event-band-head .year { font-family: var(--font-display); font-weight: 900; font-size: 2.25rem; color: #fff; }

/* Large image event card */
.main-event { position: relative; display: block; border-radius: 0.75rem; overflow: hidden; min-height: 220px; }
.main-event-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .5s; }
.main-event:hover .main-event-bg { transform: scale(1.05); }
.main-event-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(10,20,100,0.82), rgba(80,20,120,0.65)); }
.main-event-content { position: relative; z-index: 1; padding: 1.25rem; display: flex; flex-direction: column; height: 100%; min-height: 220px; }
.main-event-content .top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 0.75rem; }
.main-event-content img { height: 44px; width: auto; }
.event-badge { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; padding: 0.25rem 0.75rem; border-radius: 999px; background: rgba(232,87,42,0.18); color: var(--orange); border: 1px solid rgba(232,87,42,0.4); }
.main-event-title { margin-top: auto; font-family: var(--font-display); font-weight: 900; color: #fff; font-size: clamp(1.1rem,2.5vw,1.5rem); line-height: 1.1; }
.main-event-meta { font-size: 0.75rem; color: rgba(255,255,255,0.8); margin-top: 0.5rem; }
.main-event-meta.sub { color: rgba(255,255,255,0.6); margin-top: 0.15rem; }

/* Regional + cohort cards (purple gradient graphics) */
.purple-card { border-radius: 0.75rem; overflow: hidden; min-height: 160px; position: relative; background: linear-gradient(135deg,#1a0640,#2a1060 40%,#3a1878); color: #fff; padding: 1.25rem; display: flex; flex-direction: column; justify-content: flex-end; background-image: radial-gradient(rgba(255,255,255,0.18) 1.5px, transparent 2px); background-size: 20px 20px; }
.purple-card .type-chip { display: inline-block; padding: 0.35rem 0.85rem; border-radius: 0.4rem; background: rgba(255,255,255,0.15); font-family: var(--font-display); font-weight: 900; letter-spacing: 0.03em; margin-bottom: 0.5rem; }
.status-btn { display: inline-block; text-align: center; font-size: 0.75rem; font-weight: 600; border-radius: 999px; padding: 0.5rem 1.25rem; }
.status-closed { border: 1px solid #ccc; color: #888; cursor: default; }
.status-register { border: 1px solid var(--blue); color: var(--blue); }
.status-soon { border: 1px solid #bbb; color: #555; }
.status-now { background: var(--orange); color: #fff; }

.cohort-card { display: flex; flex-direction: column; border-radius: 0.75rem; overflow: hidden; border: 1px solid var(--gray-100); }
.cohort-graphic { position: relative; min-height: 170px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; background: linear-gradient(135deg,#1a0a5e,#2d1080); color: #fff; }
.cohort-graphic .ring { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); border-radius: 999px; border: 8px solid var(--orange); opacity: 0.35; width: 120px; height: 120px; }
.cohort-graphic img { height: 34px; margin-bottom: 0.6rem; position: relative; z-index: 1; }
.cohort-body { background: #fff; padding: 1rem 1.25rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }

/* Summit pages */
.summit-hero { position: relative; min-height: 460px; display: flex; align-items: flex-end; overflow: hidden; color: #fff; }
.summit-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.summit-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,20,53,0.92) 10%, rgba(10,20,53,0.45) 70%, rgba(10,20,53,0.25)); }
.summit-hero .container { position: relative; z-index: 1; padding-block: 3rem; }
.summit-pill { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; padding: 0.3rem 0.9rem; border-radius: 999px; }
.quick-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.quick-card { display: block; padding: 1.5rem; border-radius: 0.75rem; background: #fff; border: 1px solid var(--gray-100); box-shadow: var(--shadow-sm); text-align: center; transition: transform .2s, box-shadow .2s; }
.quick-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); opacity: 1; }
.quick-card .qc-eyebrow { font-family: var(--font-display); font-weight: 900; color: var(--blue); font-size: 1.1rem; }
.quick-card .qc-sub { font-size: 0.8rem; color: var(--gray-500); margin-top: 0.25rem; }
@media (max-width: 800px) { .quick-links { grid-template-columns: repeat(2, 1fr); } }

/* Program day tabs (Summit 2024) */
.tabs { display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: center; margin-bottom: 2rem; }
.tab-btn { padding: 0.65rem 1.25rem; border-radius: 999px; border: 1px solid var(--gray-300); background: #fff; font-weight: 600; font-size: 0.85rem; cursor: pointer; color: var(--navy); }
.tab-btn.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; }
.agenda-row { display: flex; gap: 1.25rem; padding: 1rem 0; border-bottom: 1px solid var(--gray-100); }
.agenda-time { flex-shrink: 0; width: 140px; font-weight: 700; color: var(--orange); font-size: 0.85rem; }
.speaker-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1.25rem; }

/* ----------------------------------------------------------------------------
   18. BOARD MEMBER BIO PAGES
   -------------------------------------------------------------------------- */
.bio-hero { background: #f5f6fa; padding: 3rem 0; }
.bio-hero-grid { display: grid; grid-template-columns: 280px 1fr; gap: 2.5rem; align-items: start; }
.bio-photo { width: 100%; border-radius: 0.75rem; aspect-ratio: 1/1; object-fit: cover; object-position: center top; background: var(--orange); }
.bio-name { font-family: var(--font-display); font-weight: 900; font-size: clamp(2rem, 4vw, 3rem); color: var(--blue); line-height: 1.05; }
.bio-role { color: var(--orange); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.85rem; margin-top: 0.5rem; }
.bio-company { color: var(--navy); font-size: 1rem; margin-top: 0.25rem; }
.bio-body { max-width: 820px; }
.bio-body p { color: var(--gray-700); margin-bottom: 1.25rem; }
@media (max-width: 720px) { .bio-hero-grid { grid-template-columns: 1fr; } .bio-photo { max-width: 260px; } }

/* ----------------------------------------------------------------------------
   19. MEMBER PORTAL  (sidebar dashboard; panes switch via data-tabs in site.js)
   -------------------------------------------------------------------------- */
.portal { display: grid; grid-template-columns: 260px 1fr; gap: 2rem; align-items: start; }
.portal-sidebar { position: sticky; top: 110px; background: #fff; border: 1px solid var(--gray-100); border-radius: 0.75rem; padding: 0.75rem; box-shadow: var(--shadow-sm); }
.portal-nav { display: flex; flex-direction: column; gap: 0.15rem; }
.portal-nav .tab-btn { display: block; width: 100%; text-align: left; border: none; background: transparent; border-radius: 0.5rem; padding: 0.6rem 0.85rem; font-weight: 600; font-size: 0.88rem; color: var(--navy); cursor: pointer; }
.portal-nav .tab-btn:hover { background: var(--gray-50); }
.portal-nav .tab-btn.is-active { background: var(--blue); color: #fff; }
.portal-nav .portal-sub { display: flex; flex-direction: column; padding-left: 0.5rem; }
.portal-nav .portal-sub a { padding: 0.45rem 0.85rem; font-size: 0.82rem; color: var(--gray-500); }
.portal-nav .portal-group-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray-500); padding: 0.85rem 0.85rem 0.35rem; }

.portal-photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem; }
.portal-photos img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 0.5rem; }

.sponsor-tier { margin-bottom: 2.5rem; }
.sponsor-logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1rem; }
.sponsor-logo { display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--gray-100); border-radius: 0.5rem; padding: 1.25rem; min-height: 110px; }
.sponsor-logo img { max-height: 64px; max-width: 100%; object-fit: contain; }

.package-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.25rem; }
.package-card { background: #fff; border: 1px solid var(--gray-100); border-radius: 0.75rem; overflow: hidden; box-shadow: var(--shadow-sm); }
.package-card img { width: 100%; display: block; }
.package-card .package-body { padding: 1rem; text-align: center; }
.package-price { font-family: var(--font-display); font-weight: 900; color: var(--blue); font-size: 1.5rem; }

@media (max-width: 820px) {
  .portal { grid-template-columns: 1fr; }
  .portal-sidebar { position: static; }
  .portal-nav { flex-direction: row; flex-wrap: wrap; }
  .portal-photos { grid-template-columns: repeat(3, 1fr); }
}
