/* ===== THE NATIONAL TALENT BOARD — INSTITUTIONAL STYLESHEET ===== */
/* Design: PMI.org / SHRM.org aesthetic — clean, serious, trustworthy */

:root {
  --navy: #1B2A4A;
  --navy-light: #2A3D66;
  --gold: #C5A258;
  --gold-light: #D4B876;
  --green: #2D6A4F;
  --cream: #F8F7F4;
  --white: #FFFFFF;
  --gray-100: #F5F5F3;
  --gray-200: #E8E6E1;
  --gray-300: #D1CEC7;
  --gray-500: #8A8780;
  --gray-700: #4A4844;
  --gray-900: #1A1917;
  --font-heading: 'Playfair Display', 'Georgia', serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
  --max-width: 1140px;
  --section-padding: 80px 0;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold); }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; line-height: 1.25; color: var(--navy); }
h1 { font-size: 2.5rem; margin-bottom: 16px; }
h2 { font-size: 1.875rem; margin-bottom: 14px; }
h3 { font-size: 1.375rem; margin-bottom: 10px; }
h4 { font-size: 1.125rem; margin-bottom: 8px; }

p { margin-bottom: 16px; color: var(--gray-700); }
p:last-child { margin-bottom: 0; }

.subtitle {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-style: italic;
  color: var(--gray-500);
  font-weight: 400;
  margin-bottom: 24px;
}

.gold-rule {
  width: 60px;
  height: 2px;
  background: var(--gold);
  border: none;
  margin: 24px 0;
}

/* ===== HEADER / NAV ===== */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-seal {
  width: 44px;
  height: 44px;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.2;
}

.logo-text span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-top: 2px;
}

nav { display: flex; align-items: center; gap: 8px; }

nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  padding: 8px 14px;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}

nav a:hover { color: var(--navy); background: var(--gray-100); }
nav a.active { color: var(--navy); font-weight: 600; }

nav .btn-contact {
  background: var(--navy);
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: 4px;
  font-weight: 600;
  margin-left: 8px;
  border: 2px solid var(--navy);
}

nav .btn-contact:hover { background: var(--gold); color: var(--navy) !important; border-color: var(--gold); }

/* Mobile nav */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 5px 0; transition: 0.3s; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    flex-direction: column;
    padding: 16px 24px;
    gap: 4px;
  }
  nav.open { display: flex; }
  nav a { width: 100%; padding: 12px 14px; }
  nav .btn-contact { margin-left: 0; text-align: center; }
}

/* ===== HERO SECTIONS ===== */
.hero {
  background: var(--navy);
  padding: 80px 0;
  text-align: center;
}

.hero h1 { color: var(--white); font-size: 2.75rem; margin-bottom: 16px; }
.hero .subtitle { color: var(--gold-light); font-style: italic; margin-bottom: 24px; }
.hero p { color: rgba(255,255,255,0.8); max-width: 680px; margin: 0 auto 24px; }

.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }

.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  padding: 14px 32px;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
}

.btn-primary:hover { background: var(--gold-light); color: var(--navy); }

.btn-secondary {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--white);
  padding: 14px 32px;
  font-weight: 500;
  font-size: 0.9rem;
  border-radius: 4px;
  transition: border-color 0.2s, color 0.2s;
  text-decoration: none;
}

.btn-secondary:hover { border-color: var(--white); color: var(--white); }

/* Page-level hero (smaller) */
.hero-page { padding: 56px 0; }
.hero-page h1 { font-size: 2.25rem; }

/* ===== SECTIONS ===== */
section { padding: var(--section-padding); }
section.alt { background: var(--cream); }

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 8px;
}

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--navy);
  padding: 48px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--gold);
  font-weight: 700;
}

.stat-label {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
}

@media (max-width: 600px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

/* ===== THREE-COLUMN GRID ===== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }

@media (max-width: 768px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; gap: 32px; }
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  padding: 32px;
}

.card h3 { margin-bottom: 12px; }
.card p { font-size: 0.925rem; }

/* ===== TABLES ===== */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.925rem;
}

thead th {
  background: var(--navy);
  color: var(--white);
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 0.825rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--gray-200);
  color: var(--gray-700);
}

tbody tr:hover { background: var(--gray-100); }

/* ===== VERIFICATION ===== */
.verify-box {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 40px;
}

.verify-form { display: flex; gap: 12px; flex-wrap: wrap; }

.verify-form input {
  flex: 1;
  min-width: 200px;
  padding: 14px 16px;
  border: 1px solid var(--gray-300);
  border-radius: 4px;
  font-size: 0.95rem;
  font-family: var(--font-body);
}

.verify-form input:focus { outline: none; border-color: var(--navy); }

.verify-form button {
  padding: 14px 28px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
}

.verify-form button:hover { background: var(--navy-light); }

.verify-result {
  margin-top: 32px;
  padding: 32px;
  border-radius: 6px;
  display: none;
}

.verify-result.found {
  display: block;
  background: #F0FAF4;
  border: 1px solid var(--green);
}

.verify-result.not-found {
  display: block;
  background: #FFF8F0;
  border: 1px solid #D4A04A;
}

.verify-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--green);
  margin-bottom: 16px;
}

.verify-status .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
}

.verify-detail { display: grid; grid-template-columns: 160px 1fr; gap: 8px 16px; font-size: 0.925rem; }
.verify-detail dt { font-weight: 600; color: var(--gray-700); }
.verify-detail dd { color: var(--gray-900); }

/* ===== BOARD MEMBER CARDS ===== */
.board-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  padding: 32px;
  text-align: center;
}

.board-card .headshot {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--gray-200);
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--gray-500);
  font-family: var(--font-heading);
}

.board-card h3 { font-size: 1.125rem; margin-bottom: 4px; }
.board-card .title { font-size: 0.85rem; color: var(--gray-500); margin-bottom: 4px; }
.board-card .role { font-size: 0.8rem; color: var(--gold); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 16px; }
.board-card p { font-size: 0.875rem; text-align: left; }

.board-card .linkedin-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.825rem;
  color: var(--navy);
  margin-top: 12px;
  font-weight: 500;
}

/* ===== APPROVED PROGRAM CARD ===== */
.program-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--green);
  border-radius: 6px;
  padding: 32px;
  max-width: 560px;
}

.program-card h3 { margin-bottom: 16px; }
.program-card .meta { font-size: 0.875rem; color: var(--gray-500); margin-bottom: 4px; }
.program-status { display: inline-flex; align-items: center; gap: 6px; color: var(--green); font-weight: 600; font-size: 0.875rem; margin-top: 12px; }
.program-status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }

/* ===== NEWSROOM ===== */
.press-release { max-width: 720px; }
.press-release .date { font-size: 0.825rem; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; }
.press-release h2 { font-size: 1.5rem; margin-bottom: 8px; }
.press-release .deck { font-style: italic; color: var(--gray-500); margin-bottom: 24px; }

/* ===== ETHICS ARTICLES ===== */
.ethics-article { margin-bottom: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--gray-200); }
.ethics-article:last-child { border-bottom: none; }
.ethics-article h3 { color: var(--navy); }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
  font-size: 0.875rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.footer-brand { max-width: 320px; }

.footer-brand .logo-seal-footer {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
}

.footer-brand h4 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.85rem; margin-bottom: 0; }

.footer-links { display: flex; gap: 48px; flex-wrap: wrap; }

.footer-links div h5 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.footer-links div a {
  display: block;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  margin-bottom: 8px;
  transition: color 0.2s;
}

.footer-links div a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

.footer-bottom p { color: rgba(255,255,255,0.4); font-size: 0.8rem; margin-bottom: 8px; }

.footer-legal { display: flex; gap: 16px; margin-top: 12px; flex-wrap: wrap; }
.footer-legal a { color: rgba(255,255,255,0.4); font-size: 0.8rem; }
.footer-legal a:hover { color: rgba(255,255,255,0.7); }

/* ===== UTILITY ===== */
.text-center { text-align: center; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-48 { margin-bottom: 48px; }
.max-w-prose { max-width: 720px; }
