

:root {
  --color-navy: #1f1c2f;
  --color-graphite: #4a4658;
  --color-slate: #837e91;
  --color-mist: #c4c0cc;
  --color-silver: #e2dfe6;
  --color-bone: #faf3ef;
  --color-paper: #ffffff;
  --color-orange: #f15c23;
  --color-orange-light: #fcd9c4;
  --color-orange-pale: #fdeee4;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Poppins', ui-sans-serif, system-ui, sans-serif;
  --shadow-md: rgba(31,28,47,0.07) 0px 8px 24px 0px;
  --shadow-subtle: rgba(31,28,47,0.06) 0px 1px 2px 0px;
  --radius-card: 20px;
  --radius-card-lg: 36px;
  --radius-badge: 8px;
  --radius-btn: 10px;
  --radius-pill: 32px;
  --gp-sage: #f3a874; --gp-mint: #fbd0a8; --gp-charcoal: #2a2738;
  --ec-graphite: #666; --ec-ash: #999; --ec-bone: #e8e8e8;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-sans); background: var(--color-paper); color: var(--color-navy); font-size: 16px; font-weight: 400; line-height: 1.5; -webkit-font-smoothing: antialiased; }

/* NAV */
body > nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(255,255,255,0.93); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--color-silver); padding: 0 40px; height: 64px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { font-family: var(--font-serif); font-size: 20px; color: var(--color-navy); text-decoration: none; }
.nav-logo span { color: var(--color-orange); }
.nav-links { display: flex; gap: 4px; list-style: none; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--color-graphite); text-decoration: none; padding: 6px 13px; border-radius: 8px; transition: background 0.15s, color 0.15s; }
.nav-links a:hover { background: var(--color-bone); color: var(--color-navy); }
.nav-links a.active { background: var(--color-orange-pale); color: var(--color-orange); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.btn-nav-filled { font-size: 14px; font-weight: 500; color: var(--color-paper); background: var(--color-orange); border: none; padding: 10px 20px; cursor: pointer; font-family: var(--font-sans); text-decoration: none; border-radius: var(--radius-btn); }
.btn-nav-filled:hover { opacity: 0.88; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 20px; height: 1.5px; background: var(--color-navy); }
.mobile-nav { display: none; position: fixed; inset: 0; background: var(--color-paper); z-index: 200; flex-direction: column; padding: 32px 32px; gap: 24px; }
.mobile-nav.open { display: flex; }
.mobile-nav-close { display: flex; justify-content: flex-end; }
.mobile-nav-links { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.mobile-nav-links a { font-family: var(--font-serif); font-size: 28px; color: var(--color-navy); text-decoration: none; }

/* LAYOUT */
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
section { padding: 96px 0; }

/* PAGE HEADER (sub-pages) */
.page-header { background: var(--color-navy); padding: 136px 0 72px; text-align: center; position: relative; overflow: hidden; }
.page-header::before { content:''; position:absolute; inset:0; background: radial-gradient(ellipse at 60% 40%, rgba(241,92,35,0.18) 0%, transparent 65%); pointer-events:none; }
.page-header-label { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-orange-light); margin-bottom: 14px; }
.page-header-title { font-family: var(--font-serif); font-size: clamp(36px, 5vw, 60px); font-weight: 400; color: #fff; line-height: 1.18; margin-bottom: 18px; }
.page-header-title em { font-style: italic; color: var(--color-orange-light); }
.page-header-sub { font-size: 17px; color: rgba(255,255,255,0.65); max-width: 540px; margin: 0 auto; line-height: 1.55; }

/* BUTTONS */
.btn-orange { display: inline-flex; align-items: center; gap: 8px; background: var(--color-orange); color: var(--color-paper); border: none; border-radius: var(--radius-btn); padding: 13px 22px; font-size: 15px; font-weight: 500; font-family: var(--font-sans); cursor: pointer; text-decoration: none; }
.btn-orange:hover { opacity: 0.88; }
.btn-dark { display: inline-flex; align-items: center; gap: 8px; background: var(--color-navy); color: var(--color-paper); border: none; border-radius: var(--radius-btn); padding: 13px 22px; font-size: 15px; font-weight: 500; font-family: var(--font-sans); cursor: pointer; text-decoration: none; }
.btn-dark:hover { opacity: 0.85; }
.btn-ghost { display: inline-flex; align-items: center; gap: 8px; background: none; color: var(--color-navy); border: 1px solid var(--color-silver); border-radius: var(--radius-btn); padding: 11px 20px; font-size: 14px; font-weight: 500; font-family: var(--font-sans); cursor: pointer; text-decoration: none; }
.btn-ghost:hover { border-color: var(--color-orange); color: var(--color-orange); }
.tag-pill { display: inline-flex; align-items: center; background: var(--color-orange-light); color: var(--color-navy); font-size: 13px; font-weight: 500; padding: 5px 12px; border-radius: var(--radius-badge); margin-bottom: 20px; }

/* SECTION HEADERS */
.section-label { text-align: center; font-size: 12px; font-weight: 600; color: var(--color-slate); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px; }
.section-headline { font-family: var(--font-serif); font-size: clamp(32px, 4vw, 48px); font-weight: 400; line-height: 1.22; color: var(--color-navy); text-align: center; max-width: 680px; margin: 0 auto 14px; }
.section-sub { font-size: 16px; color: var(--color-slate); text-align: center; max-width: 540px; margin: 0 auto 52px; line-height: 1.55; }

/* TRUST STRIP */
.trust-strip { padding: 52px 0; border-top: 1px solid var(--color-silver); border-bottom: 1px solid var(--color-silver); background: var(--color-paper); }
.trust-caption { text-align: center; font-size: 12px; font-weight: 600; color: var(--color-slate); margin-bottom: 24px; letter-spacing: 0.06em; text-transform: uppercase; }
.trust-logos { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.trust-logo { font-size: 14px; font-weight: 600; color: var(--color-mist); }

/* VIEW ALL LINK */
.view-all-wrap { display: flex; justify-content: center; margin-top: 40px; }
.view-all-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--color-orange); border: 1px solid var(--color-orange-light); border-radius: 9999px; padding: 11px 22px; text-decoration: none; background: var(--color-orange-pale); transition: background 0.15s; }
.view-all-link:hover { background: var(--color-orange-light); }

/* PROGRAMS (green style) */
.prog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.prog-card { background: var(--gp-mint); border-radius: 14px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.prog-card.completed { background: var(--color-orange-pale); }
.prog-status { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; width: fit-content; background: var(--color-paper); color: var(--color-orange); }
.prog-title { font-size: 16px; font-weight: 500; color: var(--color-orange); line-height: 1.3; }
.prog-body { font-size: 13px; color: var(--gp-charcoal); line-height: 1.5; flex: 1; }
.prog-partners { font-size: 12px; color: #5a5a5a; }
.prog-partners strong { color: var(--gp-charcoal); font-weight: 500; }
.pill-badge { display: inline-flex; align-items: center; background: var(--gp-sage); color: var(--gp-charcoal); font-size: 13px; font-weight: 400; padding: 6px 14px; border-radius: 999px; margin-bottom: 12px; }
.sec-headline-left { font-family: var(--font-serif); font-size: clamp(28px,3.5vw,40px); font-weight: 300; line-height: 1.3; color: var(--color-orange); max-width: 600px; }
.sec-sub-left { font-size: 15px; color: var(--gp-charcoal); max-width: 500px; margin-top: 10px; line-height: 1.5; }
.read-more-link { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: var(--color-orange); background: none; border: none; padding: 0; cursor: pointer; font-family: var(--font-sans); text-decoration: none; }
.read-more-link:hover { text-decoration: underline; }
.highlight-band { background: var(--color-orange); border-radius: 14px; padding: 44px 40px; display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: 40px; }
.highlight-band h3 { font-family: var(--font-serif); font-weight: 300; font-size: 26px; color: var(--color-paper); margin-bottom: 8px; }
.highlight-band p { font-size: 14px; color: var(--color-orange-light); max-width: 420px; line-height: 1.5; }
.btn-inverse { background: var(--color-paper); color: var(--color-orange); border: none; border-radius: 12px; padding: 13px 20px; font-size: 14px; font-weight: 500; font-family: var(--font-sans); text-decoration: none; cursor: pointer; flex-shrink: 0; }

/* RESOURCES (green-palette) */
.res-section { background: #fdeee4; }
.res-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.res-cats { display: flex; flex-wrap: wrap; gap: 7px; }
.res-cat { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; font-size: 13px; color: #2a2738; background: #fffefc; border: none; cursor: pointer; font-family: var(--font-sans); }
.res-cat.active { background: var(--color-orange); color: #fff; }
.res-cat .cnt { font-size: 11px; color: #888; background: #fdeee4; padding: 2px 7px; border-radius: 999px; }
.res-cat.active .cnt { background: #c2461a; color: #f3a874; }
.res-search { position: relative; flex-shrink: 0; width: 260px; }
.res-search input { width: 100%; background: #fffefc; border: none; border-radius: 999px; padding: 10px 16px 10px 40px; font-size: 14px; font-family: var(--font-sans); color: #1f1c2f; outline: none; }
.res-search input:focus { box-shadow: 0 0 0 2px var(--color-orange); }
.res-search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); }
.res-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.res-empty { grid-column: 1/-1; text-align: center; padding: 48px 24px; color: #999; font-size: 14px; }
.res-card { display: flex; flex-direction: column; gap: 13px; padding: 22px; background: #fffefc; border: none; border-radius: 13px; text-decoration: none; }
.res-card-top { display: flex; align-items: center; justify-content: space-between; }
.res-cat-badge { font-size: 11px; font-weight: 500; letter-spacing: 0.03em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: #fbd0a8; color: var(--color-orange); }
.res-icon { width: 30px; height: 30px; border-radius: 7px; background: var(--color-orange); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.res-name { font-size: 14px; font-weight: 400; color: #1f1c2f; line-height: 1.3; }
.res-card-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.res-meta { font-size: 12px; color: #888; }

/* CAREERS (ease style) */
.careers-section { background: #fafafc; }
.careers-list { display: flex; flex-direction: column; gap: 12px; }
.career-card { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 26px; background: var(--color-paper); border: 1px solid var(--ec-bone); border-radius: 15px; }
.career-title { font-size: 15px; font-weight: 600; color: var(--color-navy); margin-bottom: 7px; letter-spacing: -0.01em; }
.career-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.career-badge { font-size: 12px; font-weight: 500; color: var(--ec-graphite); background: #f5f5f7; border-radius: 9999px; padding: 3px 9px; border: none; }
.career-deadline { font-size: 12px; font-weight: 600; color: var(--color-orange); }
.career-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.btn-apply { display: inline-flex; align-items: center; gap: 6px; background: var(--color-orange); color: var(--color-paper); border: none; border-radius: 8px; padding: 9px 16px; font-size: 13px; font-weight: 500; font-family: var(--font-sans); cursor: pointer; text-decoration: none; }
.btn-view-details { display: inline-flex; align-items: center; gap: 6px; background: none; border: 1px solid var(--ec-bone); color: var(--color-navy); border-radius: 8px; padding: 9px 15px; font-size: 13px; font-weight: 500; font-family: var(--font-sans); cursor: pointer; text-decoration: none; }
.btn-view-details:hover { border-color: var(--color-orange); color: var(--color-orange); }
.sec-badge { display: inline-flex; align-items: center; background: var(--color-orange-light); color: var(--color-orange); font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; padding: 7px 15px; border-radius: 9999px; margin-bottom: 14px; }
.sec-headline-center { font-family: var(--font-sans); font-size: clamp(26px,3.5vw,34px); font-weight: 700; letter-spacing: -0.018em; color: var(--color-navy); margin-bottom: 10px; }
.sec-sub-center { font-size: 15px; color: var(--ec-graphite); max-width: 520px; margin: 0 auto; }

/* MODAL */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(31,28,47,0.55); z-index: 300; align-items: center; justify-content: center; padding: 24px; }
.modal-overlay.open { display: flex; }
.modal-card { background: var(--color-paper); border-radius: var(--radius-card); max-width: 560px; width: 100%; max-height: 86vh; overflow-y: auto; padding: 40px; position: relative; box-shadow: var(--shadow-md); }
.modal-close { position: absolute; top: 18px; right: 18px; background: var(--color-bone); border: none; border-radius: 50%; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.modal-badge { display: inline-flex; align-items: center; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--color-orange-pale); color: var(--color-orange); margin-bottom: 14px; width: fit-content; }
.modal-title { font-family: var(--font-serif); font-size: 26px; color: var(--color-navy); line-height: 1.25; margin-bottom: 12px; }
.modal-meta { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 18px; }
.modal-body { font-size: 14px; color: var(--color-graphite); line-height: 1.6; margin-bottom: 18px; }
.modal-list { font-size: 14px; color: var(--color-graphite); line-height: 1.7; margin-bottom: 18px; padding-left: 18px; }
.modal-section-label { font-size: 13px; font-weight: 600; color: var(--color-navy); margin-bottom: 8px; }
.modal-footer-note { font-size: 13px; color: var(--color-slate); border-top: 1px solid var(--color-silver); padding-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }

/* NEWSLETTER */
.newsletter-band { background: var(--color-navy); padding: 60px 0; }
.newsletter-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.newsletter-text h3 { font-family: var(--font-serif); font-size: 26px; color: var(--color-paper); margin-bottom: 6px; }
.newsletter-text p { font-size: 14px; color: #8a8696; }
.newsletter-form { display: flex; gap: 10px; flex-shrink: 0; }
.newsletter-form input { background: #2a2735; border: 1px solid #3d3a4a; border-radius: var(--radius-btn); padding: 11px 18px; font-size: 14px; font-family: var(--font-sans); color: var(--color-paper); outline: none; width: 240px; }
.newsletter-form input::placeholder { color: #6a6678; }

/* FOOTER */
footer { background: var(--color-navy); padding: 60px 0 28px; color: var(--color-paper); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 44px; margin-bottom: 48px; }
.footer-brand-name { font-family: var(--font-serif); font-size: 19px; color: var(--color-paper); margin-bottom: 12px; }
.footer-brand-name span { color: var(--color-orange); }
.footer-tagline { font-size: 13px; color: #6a6678; line-height: 1.6; margin-bottom: 22px; }
.footer-col h4 { font-size: 11px; font-weight: 600; color: #4a4658; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col a { font-size: 13px; color: #6a6678; text-decoration: none; }
.footer-col a:hover { color: var(--color-paper); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 24px; border-top: 1px solid #2a2735; font-size: 12px; color: #4a4658; }
.footer-bottom a { color: #4a4658; text-decoration: none; }

/* RESPONSIVE */
@media (max-width: 960px) {
  body > nav { padding: 0 20px; }
  .nav-links, .nav-right { display: none; }
  .hamburger { display: flex; }
  .container { padding: 0 20px; }
  section { padding: 64px 0; }
  .prog-grid { grid-template-columns: 1fr; }
  .res-grid { grid-template-columns: 1fr; }
  .res-toolbar { flex-direction: column; align-items: stretch; }
  .res-search { width: 100%; }
  .careers-list .career-card { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .newsletter-inner { flex-direction: column; }
  .newsletter-form { flex-direction: column; width: 100%; }
  .newsletter-form input { width: 100%; }
  .highlight-band { flex-direction: column; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .page-header { padding: 110px 0 56px; }
}


#home { padding-top: 154px; padding-bottom: 80px; text-align: center; position: relative; overflow: hidden; background: var(--color-navy); }
.hero-carousel { position: absolute; inset: 0; z-index: 0; }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.2s ease-in-out; }
.hero-slide.active { opacity: 1; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(31,28,47,0.62) 0%, rgba(31,28,47,0.42) 50%, rgba(31,28,47,0.74) 100%); z-index: 1; }
.hero-content { position: relative; z-index: 2; }
.hero-carousel-dots { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 3; }
.hero-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.32); border: none; cursor: pointer; padding: 0; transition: background 0.3s, transform 0.3s; }
.hero-dot.active { background: #fff; transform: scale(1.3); }
.hero-headline { font-family: var(--font-serif); font-size: clamp(42px, 6vw, 70px); font-weight: 400; line-height: 1.18; color: #fff; max-width: 800px; margin: 0 auto 22px; }
.hero-headline em { font-style: italic; color: var(--color-orange-light); }
.hero-sub { font-size: 17px; color: rgba(255,255,255,0.8); max-width: 540px; margin: 0 auto 38px; line-height: 1.55; }
.hero-ctas { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 60px; }
.hero-tag .tag-pill { background: rgba(255,255,255,0.14); color: rgba(255,255,255,0.88); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.18); }
.hero-stats { background: rgba(255,255,255,0.1); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,0.16); border-radius: 28px; padding: 36px; display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.stat-box { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.13); border-radius: 16px; padding: 24px 20px; text-align: center; }
.stat-num { font-family: var(--font-serif); font-size: 40px; color: #fff; line-height: 1; margin-bottom: 5px; }
.stat-num sup { font-size: 20px; color: var(--color-orange-light); }
.stat-label { font-size: 13px; color: rgba(255,255,255,0.65); }

#what-we-do { background: var(--color-bone); }
.services-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.service-card { background: var(--color-paper); border: 1px solid var(--color-silver); border-radius: var(--radius-card); padding: 30px; }
.service-icon { width: 42px; height: 42px; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.service-icon-orange { background: var(--color-orange-light); }
.service-icon-navy { background: var(--color-navy); }
.service-icon-bone { background: var(--color-bone); border: 1px solid var(--color-silver); }
.service-title { font-size: 18px; font-weight: 500; color: var(--color-navy); margin-bottom: 10px; }
.service-body { font-size: 14px; color: var(--color-slate); line-height: 1.55; margin-bottom: 16px; }
.service-list { font-size: 13px; color: var(--color-slate); line-height: 1.65; padding-left: 16px; margin-bottom: 16px; display: flex; flex-direction: column; gap: 5px; }
.service-list li strong { color: var(--color-graphite); }
.badge { font-size: 12px; font-weight: 500; color: var(--color-graphite); background: var(--color-bone); border: 1px solid var(--color-silver); border-radius: var(--radius-badge); padding: 3px 9px; }
.service-tags { display: flex; gap: 7px; flex-wrap: wrap; }
.service-card-dark { background: var(--color-navy); border-color: var(--color-navy); }
.service-card-dark .service-title { color: #fff; }
.service-card-dark .service-body { color: rgba(255,255,255,0.6); }

#programs-preview { background: var(--color-paper); }
#resources-preview { background: #fdeee4; }
#careers-preview { background: #fafafc; }

/* CTA band */
.cta-band { background: var(--color-navy); padding: 80px 0; text-align: center; }
.cta-band h2 { font-family: var(--font-serif); font-size: clamp(30px,4vw,44px); color: #fff; margin-bottom: 14px; }
.cta-band p { font-size: 16px; color: rgba(255,255,255,0.6); max-width: 480px; margin: 0 auto 32px; line-height: 1.55; }

@media (max-width: 960px) {
  .hero-stats { grid-template-columns: repeat(2,1fr); }
  .services-grid { grid-template-columns: 1fr; }
}

/* ===== Page-specific styles (about, programs, careers, contact, resources) ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.about-vms { display: flex; flex-direction: column; gap: 18px; }
.vms-card { border-radius: var(--radius-card); padding: 28px; }
.vms-label { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-orange); margin-bottom: 10px; }
.vms-text { font-family: var(--font-serif); font-size: 20px; color: var(--color-navy); line-height: 1.35; font-weight: 400; }
.about-obj { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.about-obj-row { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--color-graphite); }
.about-obj-row span:first-child { color: var(--color-orange); font-weight: 600; flex-shrink: 0; }
#team { background: var(--color-bone); }
.team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.team-card { background: var(--color-paper); border-radius: var(--radius-card); padding: 28px; border: 1px solid var(--color-silver); }
.team-avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--color-orange-light); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; font-family: var(--font-serif); font-size: 20px; color: var(--color-orange); flex-shrink: 0; }
.team-name { font-size: 16px; font-weight: 500; color: var(--color-navy); margin-bottom: 4px; }
.team-role { font-size: 12px; font-weight: 600; color: var(--color-orange); letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 10px; }
.team-bio { font-size: 13px; color: var(--color-slate); line-height: 1.55; }
#programs-section { background: var(--color-paper); }
.prog-section-header { margin-bottom: 44px; }
#careers-section { background: #fafafc; }
#contact-section { background: #fafafc; }
.contact-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.contact-lhs { display: flex; flex-direction: column; gap: 28px; }
.contact-headline { font-family: var(--font-sans); font-size: clamp(30px,4vw,42px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; color: var(--color-navy); }
.contact-headline em { font-style: normal; color: var(--color-orange); }
.contact-detail { display: flex; flex-direction: column; gap: 14px; }
.contact-row { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: #555; }
.c-icon { width: 30px; height: 30px; border-radius: 8px; background: #f5f5f7; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-map { background: #f5f5f7; border: 1px solid var(--ec-bone); border-radius: 14px; height: 170px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; font-size: 13px; color: var(--ec-ash); }
.contact-form { background: var(--color-paper); border: 1px solid var(--ec-bone); border-radius: 18px; padding: 32px; display: flex; flex-direction: column; gap: 15px; }
.form-title { font-size: 18px; font-weight: 600; color: var(--color-navy); letter-spacing: -0.02em; }
.form-sub { font-size: 13px; color: var(--ec-ash); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group label { font-size: 12px; font-weight: 500; color: #555; }
.form-group input, .form-group select, .form-group textarea { background: #fafafc; border: 1px solid var(--ec-bone); border-radius: 8px; padding: 10px 13px; font-size: 14px; font-family: var(--font-sans); color: var(--color-navy); outline: none; width: 100%; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--color-orange); background: var(--color-paper); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select { appearance: none; cursor: pointer; }
/* PDF PREVIEW */
.res-card { transition: box-shadow 0.15s, transform 0.15s; }
.res-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.res-actions { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.res-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-family: var(--font-sans); font-size: 13px; font-weight: 500; padding: 8px 14px; border-radius: 8px; cursor: pointer; text-decoration: none; line-height: 1.2; }
.res-btn-preview { background: var(--color-orange-pale); color: var(--color-orange); border: 1px solid var(--color-orange-light); flex: 1; }
.res-btn-preview:hover { background: var(--color-orange-light); }
.res-btn-download { background: var(--color-orange); color: #fff; border: 1px solid var(--color-orange); flex: 1; }
.res-btn-download:hover { opacity: 0.88; }
.res-btn:focus-visible, .pv-close:focus-visible { outline: 2px solid var(--color-navy); outline-offset: 2px; }
.pv-overlay { display: none; position: fixed; inset: 0; background: rgba(31,28,47,0.65); z-index: 300; align-items: center; justify-content: center; padding: 24px; }
.pv-overlay.open { display: flex; }
.pv-card { background: var(--color-paper); border-radius: var(--radius-card); width: 100%; max-width: 980px; height: 90vh; display: flex; flex-direction: column; overflow: hidden; box-shadow: var(--shadow-md); }
.pv-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--color-silver); flex-shrink: 0; }
.pv-title-wrap { min-width: 0; }
.pv-badge { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: var(--color-orange-pale); color: var(--color-orange); margin-bottom: 6px; }
.pv-title { font-family: var(--font-serif); font-size: 20px; line-height: 1.25; color: var(--color-navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-meta { font-size: 12px; color: var(--color-slate); margin-top: 2px; }
.pv-head-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.pv-close { background: var(--color-bone); border: none; border-radius: 50%; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }
.pv-close:hover { background: var(--color-silver); }
.pv-body { flex: 1; position: relative; background: #eceaf0; min-height: 0; }
.pv-body object, .pv-body iframe { width: 100%; height: 100%; border: 0; display: block; background: #fff; }
.pv-loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 14px; color: var(--color-slate); pointer-events: none; }
.pv-fallback { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; padding: 32px; color: var(--color-graphite); font-size: 14px; background: #fff; }
.pv-fallback strong { font-family: var(--font-serif); font-size: 20px; font-weight: 400; color: var(--color-navy); }
#resources-section { background: #fdeee4; }

@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .pv-overlay { padding: 0; }
  .pv-card { height: 100%; max-width: none; border-radius: 0; }
  .pv-header { padding: 12px 14px; }
  .pv-title { font-size: 16px; }
  .pv-head-actions .res-btn span { display: none; }
}

@media (max-width: 600px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* ===== Added with the admin panel ===== */

/* Team & advisors: photo avatar (falls back to the first letter of the name) */
.team-avatar { width: 64px; height: 64px; font-size: 24px; overflow: hidden; }
.team-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
#board { background: var(--color-paper); }
#board .team-card { background: var(--color-bone); border-color: transparent; }
#advisors { background: var(--color-bone); }

/* Hero: with no photos uploaded it is simply the solid brand colour, with no slideshow controls */
.hero-carousel:empty, .hero-carousel-dots:empty { display: none; }

/* Empty states */
.empty-state { grid-column: 1 / -1; text-align: center; padding: 48px 24px; color: var(--color-slate); font-size: 15px; }
.careers-empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 44px 30px; background: var(--color-paper); border: 1px dashed var(--ec-bone); border-radius: 15px; }
.careers-empty-title { font-family: var(--font-serif); font-size: 26px; font-weight: 400; color: var(--color-navy); }
.careers-empty-text { font-size: 14px; color: var(--ec-graphite); max-width: 420px; line-height: 1.55; }

/* Resources page: screen-reader helper + hidden state for client-side filtering */
.res-card[hidden] { display: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 960px) {
  .hero-stats { padding: 20px; }
}

/* Anything marked [hidden] must stay hidden even when a component sets its own display value */
[hidden] { display: none !important; }

/* PDF preview: the viewer (or its fallback message) always sits on top of the "Loading…" text */
.pv-body object { position: relative; z-index: 1; }

/* Partner logos (home page): shown in their own colours */
.trust-logos { gap: 24px 38px; }
.trust-logo-link { display: inline-flex; align-items: center; justify-content: center; height: 40px; text-decoration: none; }
.trust-logo-img { height: 36px; width: auto; max-width: 130px; object-fit: contain; display: block;
  mix-blend-mode: multiply; transition: transform 0.2s; }
a.trust-logo-link:hover .trust-logo-img, a.trust-logo-link:focus-visible .trust-logo-img { transform: scale(1.06); }
a.trust-logo { text-decoration: none; }
a.trust-logo:hover { color: var(--color-graphite); }
@media (max-width: 600px) { .trust-logos { gap: 22px 28px; } .trust-logo-img { height: 32px; max-width: 110px; } }

/* ===== Navigation: Media dropdown, a bit tighter to fit the extra links ===== */
.nav-links { gap: 2px; }
.nav-links a { padding: 6px 10px; }
.nav-links li { position: relative; }
.nav-links .has-sub > a svg { margin-left: 3px; opacity: 0.6; }
.sub-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 160px; padding: 8px; margin-top: 4px; list-style: none; background: var(--color-paper); border: 1px solid var(--color-silver); border-radius: 12px; box-shadow: var(--shadow-md); }
.sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
.has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu { display: block; }
.sub-menu a { display: block; padding: 8px 12px; }
@media (max-width: 1180px) {
  body > nav { padding: 0 20px; }
  .nav-links, .nav-right { display: none; }
  .hamburger { display: flex; }
}
.mobile-nav { overflow-y: auto; }
.mobile-nav-links { gap: 12px; }
.mobile-nav-links a { font-size: 24px; }

/* ===== Listing pages (news, events, enterprise support, videos, photos) ===== */
.listing-section { padding: 72px 0 88px; background: var(--color-paper); }
.listing-intro { max-width: 720px; margin: 0 auto 44px; text-align: center; font-size: 16px; line-height: 1.65; color: var(--color-graphite); }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.content-card { display: flex; flex-direction: column; background: var(--color-paper); border: 1px solid var(--ec-bone); border-radius: 14px; overflow: hidden; text-decoration: none; color: inherit; text-align: left; cursor: pointer; font-family: var(--font-sans); padding: 0; transition: box-shadow 0.15s, transform 0.15s; }
.content-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.content-card:focus-visible { outline: 2px solid var(--color-orange); outline-offset: 2px; }
.content-card-img { position: relative; aspect-ratio: 16 / 10; background: var(--color-orange-pale); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.content-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.content-card-img > span:not(.play-badge) { font-family: var(--font-serif); font-size: 54px; color: var(--color-orange); opacity: 0.55; }
.content-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.content-meta { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--color-orange); }
.content-title { font-size: 16px; font-weight: 500; line-height: 1.35; color: var(--color-navy); }
.content-excerpt { font-size: 14px; line-height: 1.55; color: var(--color-slate); }
.content-card .read-more-link { margin-top: auto; padding-top: 6px; }
.play-badge { position: absolute; width: 52px; height: 52px; border-radius: 50%; background: rgba(241,92,35,0.92); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0,0,0,0.25); }
.pager { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 44px; font-size: 14px; color: var(--color-slate); }
.pager a { color: var(--color-orange); font-weight: 500; text-decoration: none; border: 1px solid var(--color-orange-light); border-radius: 9999px; padding: 8px 18px; }
.pager a:hover { background: var(--color-orange-light); }

/* ===== Article / detail pages ===== */
.article-section { padding: 64px 0 96px; background: var(--color-paper); }
.article { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.article-img { width: 100%; max-height: 440px; object-fit: cover; border-radius: 14px; margin-bottom: 32px; display: block; }
.article-lead { font-family: var(--font-serif); font-size: 22px; line-height: 1.5; color: var(--color-navy); margin-bottom: 24px; }
.article-body p, .rich p { font-size: 16px; line-height: 1.75; color: var(--color-graphite); margin-bottom: 18px; }
.article-body h3, .rich h3 { font-family: var(--font-serif); font-size: 22px; font-weight: 400; color: var(--color-navy); margin: 30px 0 12px; }
.article-body ul, .rich ul { margin: 0 0 20px 22px; font-size: 16px; line-height: 1.75; color: var(--color-graphite); }
.article-body a, .rich a { color: var(--color-orange); }
.article-back { margin-top: 44px; }
.rich p, .rich ul { font-size: 14px; line-height: 1.65; }
.rich p { margin-bottom: 12px; }
.rich h3 { font-size: 17px; font-family: var(--font-sans); font-weight: 600; margin: 20px 0 8px; }
.rich ul { margin: 0 0 14px 18px; }

/* ===== Featured banner (home) ===== */
.featured-banner-wrap { padding: 44px 0 0; background: var(--color-paper); }
.featured-banner { border-radius: 18px; background: var(--color-orange); background-size: cover; background-position: center; position: relative; overflow: hidden; }
.featured-banner.has-image::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(31,28,47,0.78), rgba(31,28,47,0.25)); }
.featured-banner-inner { position: relative; padding: 52px 48px; max-width: 640px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.featured-banner-title { font-family: var(--font-serif); font-weight: 300; font-size: clamp(28px, 3.6vw, 40px); color: var(--color-paper); line-height: 1.2; }
.featured-banner-text { font-size: 15px; color: var(--color-orange-light); line-height: 1.55; }
.featured-banner.has-image .featured-banner-text { color: rgba(255,255,255,0.85); }

/* ===== Program / resource images ===== */
.prog-img { width: calc(100% + 48px); margin: -24px -24px 6px; height: 170px; object-fit: cover; border-radius: 14px 14px 0 0; display: block; }
.modal-img { width: calc(100% + 80px); margin: -40px -40px 22px; height: 200px; object-fit: cover; border-radius: var(--radius-card) var(--radius-card) 0 0; display: block; }
.res-cover { width: 100%; height: 150px; object-fit: cover; object-position: top; border-radius: 9px; display: block; background: var(--color-orange-pale); }
@media (max-width: 600px) { .modal-img { width: calc(100% + 48px); margin: -24px -24px 18px; } }

/* ===== Footer & contact: social icons ===== */
.footer-social, .contact-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a, .contact-social a { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; transition: background 0.15s, color 0.15s; }
.footer-social a { background: rgba(255,255,255,0.08); color: var(--color-mist); }
.footer-social a:hover { background: var(--color-orange); color: #fff; }
.contact-social { margin-top: 0; }
.contact-social a { background: var(--color-orange-pale); color: var(--color-orange); }
.contact-social a:hover { background: var(--color-orange); color: #fff; }
.contact-row a { color: inherit; text-decoration: none; }
.contact-row a:hover { color: var(--color-orange); }
.footer-col li span { font-size: 14px; color: var(--color-slate); }

/* ===== Forms: messages, errors, spam trap ===== */
.form-flash { background: #e6f4ea; color: #1e6b3a; border-radius: 10px; padding: 12px 16px; font-size: 14px; }
.field-error { color: #c0392b; font-size: 12px; margin-top: 4px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.news-flash { margin-top: 10px; font-size: 13px; color: #9be3b4; }
.news-flash.error { color: #ffb4a8; }
button.btn-orange { cursor: pointer; font-family: var(--font-sans); }

/* ===== Video pop-up and photo gallery ===== */
.video-overlay { background: rgba(31,28,47,0.88); }
.video-frame-wrap, .lightbox-wrap { position: relative; width: 100%; max-width: 960px; }
.video-frame { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 12px; overflow: hidden; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-frame-wrap .modal-close, .lightbox-wrap .modal-close { top: -42px; right: 0; background: #fff; }
.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.photo-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.25s; }
.photo-tile:hover img { transform: scale(1.04); }
.photo-tile:focus-visible { outline: 2px solid var(--color-orange); outline-offset: 2px; }
.lightbox-wrap { text-align: center; }
.lightbox-wrap img { max-width: 100%; max-height: 80vh; border-radius: 10px; display: block; margin: 0 auto; }
.lightbox-caption { margin-top: 12px; color: #fff; font-size: 14px; min-height: 20px; }

@media (max-width: 960px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .photo-grid { grid-template-columns: repeat(3, 1fr); }
  .featured-banner-inner { padding: 40px 28px; }
}
@media (max-width: 600px) {
  .card-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .listing-section { padding: 52px 0 64px; }
  .article-lead { font-size: 19px; }
}

/* Home page news: four stories across */
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card-grid.cols-4 .content-card-img { aspect-ratio: 4 / 3; }
@media (max-width: 1100px) { .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .card-grid.cols-4 { grid-template-columns: 1fr; } }

/* ===== Stats: orange band directly under the hero photos ===== */
.hero-ctas { margin-bottom: 0; }
#home { padding-bottom: 96px; }
.stats-band { background: var(--color-orange); padding: 22px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 14px; }
.stats-band .stat-box { background: rgba(194,70,26,0.42); border: 1px solid rgba(255,255,255,0.28); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; justify-content: center; }
.stats-band .stat-num { font-size: clamp(22px, 2.5vw, 32px); color: #fff; margin-bottom: 2px; white-space: nowrap; }
.stats-band .stat-num sup { font-size: 0.55em; color: #fff; }
.stats-band .stat-label { font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.95); }
@media (max-width: 760px) { .stats-grid { grid-template-columns: 1fr; gap: 10px; } .stats-band { padding: 18px 0; } .stats-band .stat-num { white-space: normal; } }

/* ===== What we do: three cards in one row ===== */
@media (min-width: 961px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

/* ===== Orange scroll bar ===== */
html, * { scrollbar-color: var(--color-orange) var(--color-bone); scrollbar-width: auto; }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--color-bone); }
::-webkit-scrollbar-thumb { background: var(--color-orange); border-radius: 8px; border: 2px solid var(--color-bone); }
::-webkit-scrollbar-thumb:hover { background: #c2461a; }

/* ===== Contact map ===== */
.contact-map-embed { display: flex; flex-direction: column; gap: 10px; }
.contact-map-embed iframe { width: 100%; height: 260px; border: 1px solid var(--ec-bone); border-radius: 14px; background: #f5f5f7; }
.map-link { font-size: 13px; font-weight: 500; color: var(--color-orange); text-decoration: none; align-self: flex-start; }
.map-link:hover { text-decoration: underline; }

/* ===== Photo gallery: captions, albums and a larger viewer ===== */
.gallery-heading { font-family: var(--font-serif); font-weight: 400; font-size: 28px; color: var(--color-navy); margin-bottom: 24px; }
.photo-item { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.photo-tile { padding: 0; border: none; background: var(--color-orange-pale); border-radius: 12px; overflow: hidden; aspect-ratio: 1; cursor: zoom-in; width: 100%; }
.photo-item figcaption { font-size: 13px; line-height: 1.4; color: var(--color-graphite); }
.lightbox-overlay { background: rgba(20,18,32,0.94); padding: 12px; gap: 8px; }
.lightbox-overlay .lightbox-wrap { max-width: min(1500px, 94vw); flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.lightbox-overlay .lightbox-wrap img { max-width: 100%; max-height: 88vh; width: auto; height: auto; object-fit: contain; border-radius: 8px; }
.lightbox-overlay .lightbox-wrap .modal-close { top: 8px; right: 8px; z-index: 2; }
.lightbox-caption { font-size: 15px; }
.lightbox-count { opacity: 0.6; font-size: 13px; margin-left: 10px; }
.lb-nav { flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%; border: none; background: rgba(255,255,255,0.14); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding-bottom: 4px; }
.lb-nav:hover { background: var(--color-orange); }
.lb-nav[hidden] { display: none !important; }
.article-albums { margin-top: 36px; padding: 22px 24px; background: var(--color-orange-pale); border-radius: 14px; }
.article-albums h3 { margin: 0 0 8px; font-size: 17px; font-family: var(--font-sans); font-weight: 600; color: var(--color-navy); }
.article-albums ul { margin: 0 0 0 18px; line-height: 1.8; }
@media (max-width: 700px) { .lb-nav { position: absolute; bottom: 14px; z-index: 3; } .lb-prev { left: 14px; } .lb-next { right: 14px; } }

/* ===== Header logo ===== */
.nav-logo { display: inline-flex; align-items: center; }
.nav-logo img { height: 46px; width: auto; display: block; }
@media (max-width: 600px) { .nav-logo img { height: 38px; } }
