/* ================================================================
   LIFE WITHOUT DEBT — Intranet Design System
   World-class editorial white. McKinsey meets The Guardian.
   A $100M/year charity at end state deserves this standard.
   ================================================================ */

/* ── Google Fonts: DM Serif Display + Inter ────────────────────── */

:root {
  /* ── Core Brand Palette ──────────────────────────────────────── */
  --forest:         #1a5c52;
  --forest-deep:    #0f3b34;
  --forest-mid:     #237068;
  --forest-light:   #e8f3f1;
  --forest-wash:    #f2f8f6;
  --sage:           #5a8a7e;
  --sage-light:     #c4dcd8;

  --gold:           #c8922a;
  --gold-warm:      #d4a843;
  --gold-light:     #fdf6e3;
  --gold-pale:      #fefbf3;

  --navy:           #1a2744;
  --navy-mid:       #243460;
  --navy-light:     #eef1f8;

  --ink:            #1a1d23;
  --charcoal:       #2d3340;
  --slate:          #4a5568;
  --mist:           #555f6e;  /* upgraded: was #6b7280, now passes WCAG AA on white */
  --silver:         #636e7b;  /* upgraded: was #9ca3af (fail on white), now ~5:1 on white */
  --border:         #e5e7eb;
  --border-warm:    #e2ddd6;

  --white:          #ffffff;
  --off-white:      #fafafa;
  --warm-white:     #fffef9;
  --cream:          #faf7f2;

  /* ── Typography ─────────────────────────────────────────────── */
  --font-display:   'DM Serif Display', Georgia, serif;
  --font-body:      'Inter', system-ui, -apple-system, sans-serif;

  /* ── Spacing Scale (8pt grid) ───────────────────────────────── */
  --sp-1:  4px;
  --sp-2:  8px;
  --sp-3:  12px;
  --sp-4:  16px;
  --sp-5:  20px;
  --sp-6:  24px;
  --sp-8:  32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;

  /* ── Border Radii ───────────────────────────────────────────── */
  --r-xs:   4px;
  --r-sm:   8px;
  --r-md:   12px;
  --r-lg:   16px;
  --r-xl:   24px;
  --r-2xl:  32px;
  --r-full: 9999px;

  /* ── Shadows ────────────────────────────────────────────────── */
  --shadow-xs:  0 1px 2px rgba(0,0,0,0.05);
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.04);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.07), 0 10px 40px rgba(0,0,0,0.05);
  --shadow-lg:  0 8px 32px rgba(0,0,0,0.09), 0 24px 64px rgba(0,0,0,0.06);
  --shadow-xl:  0 20px 60px rgba(0,0,0,0.12), 0 8px 24px rgba(0,0,0,0.07);

  /* ── Motion ─────────────────────────────────────────────────── */
  --ease:     cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast:   0.15s;
  --t-mid:    0.25s;
  --t-slow:   0.4s;
}

/* ── Reset ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--charcoal);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
ul { list-style: none; padding: 0; }
a { color: var(--forest); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--forest-deep); }
button { font-family: var(--font-body); }
::selection { background: var(--sage-light); color: var(--forest-deep); }

/* ── Typography ─────────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.05; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; letter-spacing: 0; }
p  { color: var(--slate); line-height: 1.8; margin-bottom: var(--sp-4); font-size: 15px; }
p:last-child { margin-bottom: 0; }
p.lead { font-size: 1.15rem; color: var(--charcoal); line-height: 1.7; }
strong { font-weight: 600; color: var(--charcoal); }

/* ── Layout ──────────────────────────────────────────────────────── */
.int-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--sp-6);
}
.int-wrap-wide {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--sp-6);
}
.int-section {
  padding: var(--sp-20) 0;
}
.int-section-sm {
  padding: var(--sp-12) 0;
}

/* ── INTRANET BANNER ─────────────────────────────────────────────── */
.intranet-banner {
  background: var(--navy);
  border-bottom: 3px solid var(--gold);
  text-align: center;
  padding: 9px 20px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.intranet-banner strong,
.intranet-banner span { color: var(--gold-warm); }
.intranet-banner i { margin-right: 6px; opacity: 0.7; }

/* ── NAVIGATION ──────────────────────────────────────────────────── */
.doc-nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--sp-8);
  height: 56px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
  gap: var(--sp-4);
}
.doc-nav-brand {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: -0.01em;
}
.doc-nav-brand span { color: var(--forest); }
.doc-nav-links {
  display: flex;
  gap: var(--sp-1);
  align-items: center;
  flex-wrap: wrap;
}
.doc-nav-links a {
  color: var(--mist);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 500;
  padding: 5px 11px;
  border-radius: var(--r-sm);
  transition: all var(--t-fast);
  white-space: nowrap;
}
.doc-nav-links a:hover {
  color: var(--forest);
  background: var(--forest-wash);
}
.doc-nav-links a.active {
  color: var(--forest);
  background: var(--forest-light);
  font-weight: 600;
}

/* ── Intranet Mobile Hamburger ───────────────────────────────────── */
.doc-nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 6px 10px;
  cursor: pointer;
  color: var(--charcoal);
  font-size: 1rem;
  line-height: 1;
  transition: all 0.15s ease;
  flex-shrink: 0;
}
.doc-nav-toggle:hover {
  background: var(--forest-wash);
  border-color: var(--forest-light);
  color: var(--forest);
}

@media (max-width: 768px) {
  .doc-nav-toggle { display: flex; align-items: center; justify-content: center; }

  .doc-nav-links {
    display: none;
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    padding: var(--sp-3) var(--sp-4) var(--sp-4);
    gap: var(--sp-1);
    z-index: 99;
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
  }
  .doc-nav-links.open { display: flex; }

  .doc-nav-links a {
    font-size: 14px;
    padding: var(--sp-3) var(--sp-4);
    border-radius: var(--r-sm);
    border-bottom: 1px solid var(--border);
  }
  .doc-nav-links a:last-child { border-bottom: none; }

  .doc-nav { padding: 0 var(--sp-4); }
  .doc-nav-brand { font-size: 1rem; }
}

/* ── PAGE HERO ───────────────────────────────────────────────────── */
.page-hero {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0;
  overflow: visible;
  position: relative;
}

/* Hero with image — editorial split layout */
.page-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 55% 45%;
  min-height: 520px;
  overflow: hidden;
}
.page-hero-content {
  padding: var(--sp-12) var(--sp-10) var(--sp-12) var(--sp-8);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.page-hero-image {
  position: relative;
  overflow: hidden;
  min-height: 400px;
  background: var(--forest-wash);
}
.page-hero-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.page-hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(255,255,255,0.08) 0%, transparent 100%);
}

/* Full-width hero variant */
.page-hero.hero-full {
  background: linear-gradient(135deg, var(--forest-deep) 0%, var(--navy) 60%, #1a1d2e 100%);
  padding: var(--sp-20) var(--sp-8);
  text-align: center;
  border-bottom: 1px solid rgba(200,146,42,0.2);
}
.page-hero.hero-full h1 { color: white; }
.page-hero.hero-full p { color: rgba(255,255,255,0.7); }

/* Hero with decorative stripe accent */
.page-hero-stripe {
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--gold) 0%, var(--forest) 100%);
}

/* ── EYEBROW ─────────────────────────────────────────────────────── */
.eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--forest);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-3);
}
.eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  flex-shrink: 0;
}
.eyebrow.gold { color: var(--gold-warm); }
.eyebrow.gold::before { background: var(--gold-warm); }
.eyebrow.navy { color: var(--navy-mid); }
.eyebrow.navy::before { background: var(--navy-mid); }
.eyebrow.on-dark { color: var(--gold-warm); }
.eyebrow.on-dark::before { background: var(--gold-warm); }

/* ── HERO BADGE (pill) ───────────────────────────────────────────── */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--forest-light);
  border: 1px solid rgba(26,92,82,0.2);
  color: var(--forest);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--r-full);
  margin-bottom: var(--sp-5);
}
.hero-badge.on-dark {
  background: rgba(200,146,42,0.12);
  border-color: rgba(200,146,42,0.3);
  color: var(--gold-warm);
}

/* ── HERO STATS ──────────────────────────────────────────────────── */
.hero-stat-row {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
  margin-top: var(--sp-8);
}
.hero-stat {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-4) var(--sp-6);
  text-align: center;
  box-shadow: var(--shadow-sm);
  min-width: 120px;
}
.hero-stat.on-dark {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  box-shadow: none;
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--forest);
  line-height: 1;
}
.hero-stat.on-dark .hero-stat-num { color: var(--gold-warm); }
.hero-stat-label {
  font-size: 11px;
  color: var(--mist);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-top: 4px;
}
.hero-stat.on-dark .hero-stat-label { color: rgba(255,255,255,0.5); }

/* ── SECTION CARDS ───────────────────────────────────────────────── */
.section-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-10) var(--sp-10);
  margin-bottom: var(--sp-6);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.section-card.card-forest { border-top: 4px solid var(--forest); }
.section-card.card-gold   { border-top: 4px solid var(--gold); }
.section-card.card-navy   { border-top: 4px solid var(--navy-mid); }
.section-card.card-purple { border-top: 4px solid #553c9a; }

/* Dark card variant */
.section-card.card-dark {
  background: var(--ink);
  border-color: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.85);
}
.section-card.card-dark h2,
.section-card.card-dark h3 { color: white; }
.section-card.card-dark p  { color: rgba(255,255,255,0.65); }

/* Accent background card */
.section-card.card-forest-bg {
  background: var(--forest);
  border-color: transparent;
  color: rgba(255,255,255,0.85);
}
.section-card.card-forest-bg h2,
.section-card.card-forest-bg h3 { color: white; }
.section-card.card-forest-bg p  { color: rgba(255,255,255,0.72); }

/* Section card decorative corner */
.section-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 120px;
  height: 120px;
  border-radius: 0 var(--r-xl) 0 120px;
  opacity: 0.04;
  pointer-events: none;
}
.section-card.card-forest::before { background: var(--forest); }
.section-card.card-gold::before   { background: var(--gold); }
.section-card.card-navy::before   { background: var(--navy-mid); }

.section-eyebrow {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-warm);
  margin-bottom: var(--sp-2);
}

/* ── CALLOUTS ────────────────────────────────────────────────────── */
.callout {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--r-md);
  margin: var(--sp-5) 0;
  font-size: 14px;
  line-height: 1.65;
  border: 1px solid;
}
.callout i { margin-top: 2px; flex-shrink: 0; font-size: 15px; }
.callout p { margin-bottom: 0; font-size: 14px; }

.callout-forest {
  background: var(--forest-wash);
  border-color: rgba(26,92,82,0.2);
  color: var(--forest-deep);
}
.callout-forest i { color: var(--forest); }
.callout-forest p { color: var(--forest-deep); }

.callout-gold {
  background: var(--gold-pale);
  border-color: rgba(200,146,42,0.25);
  color: #7a5a14;
}
.callout-gold i { color: var(--gold); }
.callout-gold p { color: #7a5a14; }

.callout-navy {
  background: var(--navy-light);
  border-color: rgba(26,39,68,0.15);
  color: var(--navy);
}
.callout-navy i { color: var(--navy-mid); }
.callout-navy p { color: var(--navy); }

.callout-purple {
  background: #f5f0ff;
  border-color: rgba(85,60,154,0.2);
  color: #3d2a78;
}
.callout-purple i { color: #553c9a; }
.callout-purple p { color: #3d2a78; }

/* ── DATA TABLES ─────────────────────────────────────────────────── */
.int-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  margin-top: var(--sp-5);
}
.int-table thead tr {
  background: var(--forest);
}
.int-table thead th {
  padding: 11px 16px;
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
}
.int-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background var(--t-fast);
}
.int-table tbody tr:hover { background: var(--forest-wash); }
.int-table tbody td {
  padding: 12px 16px;
  color: var(--slate);
  vertical-align: top;
}
.int-table tbody td:first-child { color: var(--ink); font-weight: 500; }

/* ── PRIORITY / STATUS TAGS ──────────────────────────────────────── */
.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--r-full);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.tag-gold    { background: var(--gold-light); color: #7a5a14; border: 1px solid rgba(200,146,42,0.3); }
.tag-forest  { background: var(--forest-light); color: var(--forest-deep); border: 1px solid rgba(26,92,82,0.2); }
.tag-navy    { background: var(--navy-light); color: var(--navy); border: 1px solid rgba(26,39,68,0.15); }
.tag-purple  { background: #f0ecff; color: #3d2a78; border: 1px solid rgba(85,60,154,0.2); }
.tag-neutral { background: #f3f4f6; color: var(--slate); border: 1px solid var(--border); }

/* ── GRID UTILITIES ──────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-5); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--sp-5); }

/* ── INFO CARDS (white, bordered) ────────────────────────────────── */
.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  transition: all var(--t-mid) var(--ease);
}
.info-card:hover {
  border-color: var(--forest);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.info-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: var(--sp-3);
}
.info-card-icon.forest { background: var(--forest-light); color: var(--forest); }
.info-card-icon.gold   { background: var(--gold-light);   color: var(--gold);   }
.info-card-icon.navy   { background: var(--navy-light);   color: var(--navy-mid); }
.info-card-icon.purple { background: #f0ecff;             color: #553c9a;       }
.info-card h4 { font-size: 14.5px; color: var(--ink); margin-bottom: var(--sp-2); }
.info-card p  { font-size: 13px; color: var(--mist); margin: 0; line-height: 1.6; }

/* ── PERSON / EXEMPLAR CARDS ─────────────────────────────────────── */
.person-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--t-mid) var(--ease);
}
.person-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.person-card-header {
  padding: var(--sp-6) var(--sp-6) 0;
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
}
.person-avatar {
  width: 64px;
  height: 64px;
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  flex-shrink: 0;
  font-weight: 400;
}
.person-avatar.gold-av   { background: var(--gold-light); color: var(--gold); border: 2px solid rgba(200,146,42,0.3); }
.person-avatar.forest-av { background: var(--forest-light); color: var(--forest); border: 2px solid rgba(26,92,82,0.2); }
.person-avatar.navy-av   { background: var(--navy-light); color: var(--navy-mid); border: 2px solid rgba(26,39,68,0.15); }
.person-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--ink);
  margin-bottom: 2px;
}
.person-role {
  font-size: 12.5px;
  color: var(--forest);
  font-weight: 600;
  margin-bottom: var(--sp-2);
}
.person-badge {
  display: inline-block;
  background: var(--forest-light);
  border: 1px solid rgba(26,92,82,0.2);
  color: var(--forest);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--r-full);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.person-card-body {
  padding: var(--sp-5) var(--sp-6) var(--sp-6);
}
.person-card-body p {
  font-size: 13.5px;
  color: var(--slate);
  line-height: 1.7;
  margin-bottom: var(--sp-3);
}
.person-quals {
  list-style: none;
  padding: 0;
  margin: var(--sp-3) 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.person-quals li {
  display: flex;
  gap: var(--sp-2);
  align-items: flex-start;
  font-size: 12.5px;
  color: var(--slate);
}
.person-quals li i { color: var(--forest); font-size: 11px; margin-top: 3px; flex-shrink: 0; }

/* ── STAT STRIPS ─────────────────────────────────────────────────── */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin: var(--sp-6) 0;
}
.stat-cell {
  background: var(--white);
  padding: var(--sp-5) var(--sp-4);
  text-align: center;
}
.stat-cell-num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--forest);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-cell-label {
  font-size: 11px;
  color: var(--mist);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

/* ── ROLE CARDS ──────────────────────────────────────────────────── */
.role-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: all var(--t-mid) var(--ease);
}
.role-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--forest);
}
.role-header {
  padding: var(--sp-4) var(--sp-5);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  border-bottom: 1px solid var(--border);
}
.role-header.gold-bg   { background: linear-gradient(135deg, #fdf3e0 0%, #fff9f0 100%); }
.role-header.navy-bg   { background: linear-gradient(135deg, #eef1f8 0%, #f5f7fb 100%); }
.role-header.forest-bg { background: linear-gradient(135deg, #e8f3f1 0%, #f2f8f6 100%); }
.role-header.purple-bg { background: linear-gradient(135deg, #f0ecff 0%, #f7f5ff 100%); }
.role-header.slate-bg  { background: linear-gradient(135deg, #f3f4f6 0%, #fafafa 100%); }
.role-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}
.role-header.gold-bg   .role-icon { background: rgba(200,146,42,0.15); color: var(--gold); }
.role-header.navy-bg   .role-icon { background: rgba(26,39,68,0.12);   color: var(--navy-mid); }
.role-header.forest-bg .role-icon { background: rgba(26,92,82,0.15);   color: var(--forest); }
.role-header.purple-bg .role-icon { background: rgba(85,60,154,0.12);  color: #553c9a; }
.role-header.slate-bg  .role-icon { background: rgba(74,85,104,0.12);  color: var(--slate); }
.role-title { font-weight: 700; font-size: 14px; color: var(--ink); }
.role-sub   { font-size: 11px; color: var(--mist); margin-top: 1px; }
.role-body  { padding: var(--sp-4) var(--sp-5); }
.role-body ul { display: flex; flex-direction: column; gap: 7px; }
.role-body ul li {
  display: flex;
  gap: var(--sp-2);
  align-items: flex-start;
  font-size: 13px;
  color: var(--slate);
  line-height: 1.5;
}
.role-body ul li i { color: var(--forest); font-size: 10px; margin-top: 4px; flex-shrink: 0; }

/* ── TIMELINE ────────────────────────────────────────────────────── */
.rec-timeline {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-left: 32px;
  margin-top: var(--sp-6);
}
.rec-timeline::before {
  content: '';
  position: absolute;
  left: 10px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--gold) 0%, var(--forest) 100%);
  border-radius: 2px;
}
.rec-step { position: relative; padding: 0 0 var(--sp-6) var(--sp-5); }
.rec-step:last-child { padding-bottom: 0; }
.rec-dot {
  position: absolute;
  left: -22px; top: 1px;
  width: 22px; height: 22px;
  border-radius: var(--r-full);
  background: var(--white);
  border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700;
  color: var(--gold);
  box-shadow: var(--shadow-xs);
}
.rec-step-week {
  display: inline-block;
  font-size: 10px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--forest);
  margin-bottom: 3px;
}
.rec-step-title { font-weight: 700; color: var(--ink); font-size: 14.5px; margin-bottom: 4px; }
.rec-step-desc  { font-size: 13.5px; color: var(--slate); line-height: 1.65; }

/* ── COMPETENCY TABS ─────────────────────────────────────────────── */
.comp-tabs {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
  margin-bottom: var(--sp-5);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--border);
}
.comp-tab {
  padding: 8px 18px;
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--slate);
  transition: all var(--t-fast);
  letter-spacing: 0.02em;
}
.comp-tab:hover { color: var(--forest); border-color: var(--sage-light); background: var(--forest-wash); }
.comp-tab.active { background: var(--forest); border-color: var(--forest); color: var(--white); }

/* ── SKILLS TABLE ────────────────────────────────────────────────── */
.skills-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  margin-top: var(--sp-5);
}
.skills-table thead tr { background: var(--forest); }
.skills-table thead th {
  padding: 10px 14px;
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
}
.skills-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background var(--t-fast);
}
.skills-table tbody tr:hover { background: var(--forest-wash); }
.skills-table tbody td {
  padding: 12px 14px;
  color: var(--slate);
  vertical-align: top;
}
.skills-table tbody td:first-child { font-weight: 600; color: var(--ink); }

/* ── COMPETENCY MATRIX ───────────────────────────────────────────── */
.comp-matrix {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--sp-4);
}
.comp-item {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--sp-4) var(--sp-5);
  transition: all var(--t-fast);
}
.comp-item:hover { border-color: var(--forest); background: var(--forest-wash); }
.comp-item-label {
  font-size: 11px; font-weight: 700;
  color: var(--forest);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.comp-item-text { font-size: 13px; color: var(--slate); line-height: 1.6; }

/* ── CHARACTER GRID ──────────────────────────────────────────────── */
.character-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--sp-4);
  margin-top: var(--sp-5);
}
.character-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--sp-4) var(--sp-5);
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  transition: all var(--t-fast);
}
.character-item:hover { border-color: var(--forest); box-shadow: var(--shadow-sm); }
.character-icon {
  width: 34px; height: 34px;
  border-radius: var(--r-sm);
  background: var(--forest-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: var(--forest);
  flex-shrink: 0;
}
.character-item h5 { font-family: var(--font-body); font-size: 13.5px; font-weight: 700; color: var(--ink); margin-bottom: 3px; }
.character-item p  { font-size: 12px; color: var(--mist); line-height: 1.5; margin: 0; }

/* ── AICD PRINCIPLES ─────────────────────────────────────────────── */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--sp-4);
  margin-top: var(--sp-6);
}
.principle-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  text-align: center;
  transition: all var(--t-mid) var(--ease);
}
.principle-card:hover {
  border-color: var(--forest);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.principle-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--forest);
  line-height: 1;
  margin-bottom: var(--sp-2);
}
.principle-title { font-family: var(--font-body); font-size: 13.5px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.principle-desc  { font-size: 12px; color: var(--mist); line-height: 1.55; margin: 0; }

/* ── WHY CARDS ───────────────────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--sp-4);
  margin-top: var(--sp-6);
}
.why-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  transition: all var(--t-mid) var(--ease);
}
.why-card:hover { border-color: var(--forest); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.why-card-icon {
  width: 42px; height: 42px;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
  margin-bottom: var(--sp-3);
}
.why-card-icon.gold   { background: var(--gold-light); color: var(--gold); }
.why-card-icon.navy   { background: var(--navy-light); color: var(--navy-mid); }
.why-card-icon.forest { background: var(--forest-light); color: var(--forest); }
.why-card-icon.purple { background: #f0ecff; color: #553c9a; }
.why-card h4 { font-family: var(--font-body); font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.why-card p  { font-size: 13px; color: var(--mist); margin: 0; line-height: 1.55; }

/* ── PERPETUITY STRIP ────────────────────────────────────────────── */
.perpetuity-strip {
  background: linear-gradient(135deg, var(--forest-deep) 0%, var(--navy) 60%, #1e2540 100%);
  border-radius: var(--r-xl);
  padding: var(--sp-12) var(--sp-12);
  margin: var(--sp-8) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.perpetuity-strip::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  pointer-events: none;
}
.perpetuity-strip h3 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: white;
  margin-bottom: var(--sp-3);
}
.perpetuity-strip h3 em { color: var(--gold-warm); font-style: normal; }
.perpetuity-strip > p { color: rgba(255,255,255,0.65); max-width: 640px; margin: 0 auto var(--sp-8); }
.perpetuity-milestones {
  display: flex;
  gap: var(--sp-4);
  justify-content: center;
  flex-wrap: wrap;
}
.pm-item {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-lg);
  padding: var(--sp-3) var(--sp-5);
  min-width: 130px;
}
.pm-label { font-size: 10px; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: 0.1em; }
.pm-value { font-family: var(--font-display); font-size: 1.4rem; color: var(--gold-warm); margin-top: 2px; }

/* ── EOI FORM ────────────────────────────────────────────────────── */
.eoi-form-wrap {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  margin-top: var(--sp-5);
}
.eoi-form-title { font-family: var(--font-display); font-size: 1.4rem; color: var(--ink); margin-bottom: 6px; }
.eoi-form-sub   { font-size: 13.5px; color: var(--mist); margin-bottom: var(--sp-6); line-height: 1.65; }
.eoi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); margin-bottom: var(--sp-4); }
.eoi-field { display: flex; flex-direction: column; gap: 6px; }
.eoi-field.full { grid-column: 1 / -1; }
.eoi-field label { font-size: 12px; font-weight: 600; color: var(--slate); letter-spacing: 0.04em; }
.eoi-field input,
.eoi-field select,
.eoi-field textarea {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  padding: 10px 14px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14px;
  transition: border-color var(--t-fast);
  outline: none;
}
.eoi-field input:focus,
.eoi-field select:focus,
.eoi-field textarea:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(26,92,82,0.1);
}
.eoi-field textarea { resize: vertical; min-height: 100px; }
.eoi-checklist { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2); margin: var(--sp-4) 0; }
.eoi-check-item {
  display: flex; align-items: center; gap: var(--sp-2);
  font-size: 13px; color: var(--slate); cursor: pointer;
}
.eoi-check-item input[type="checkbox"] {
  width: 16px; height: 16px;
  accent-color: var(--forest);
  flex-shrink: 0; cursor: pointer;
}
.btn-eoi {
  background: var(--forest);
  color: var(--white);
  border: none;
  padding: 13px 32px;
  border-radius: var(--r-md);
  font-size: 14.5px; font-weight: 600;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: var(--sp-2);
  transition: all var(--t-mid) var(--ease);
  letter-spacing: 0.02em;
}
.btn-eoi:hover { background: var(--forest-deep); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,92,82,0.3); }
.eoi-success {
  display: none;
  background: var(--forest-wash);
  border: 1px solid rgba(26,92,82,0.2);
  border-radius: var(--r-lg);
  padding: var(--sp-6) var(--sp-6);
  color: var(--forest-deep);
  font-size: 14px;
  text-align: center;
}

/* ── HERO IMAGE SECTION (for intranet pages) ─────────────────────── */
.hero-image-band {
  position: relative;
  height: 320px;
  overflow: hidden;
  border-radius: 0;
}
.hero-image-band img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.hero-image-band::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(15,59,52,0.85) 0%, rgba(15,59,52,0.4) 55%, rgba(0,0,0,0.1) 100%);
}
.hero-image-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  padding: var(--sp-12) var(--sp-12);
}

/* ── IMAGERY ACCENT BLOCKS ───────────────────────────────────────── */
.img-accent {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.img-accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── SECTION DIVIDER ─────────────────────────────────────────────── */
.section-divider {
  height: 1px;
  background: var(--border);
  margin: var(--sp-8) 0;
}
.section-divider.gold {
  height: 2px;
  background: linear-gradient(to right, var(--gold) 0%, transparent 100%);
}

/* ═══════════════════════════════════════════════════════════════════
   IP PROTECTION — CONFIDENTIAL BANNER, FOOTER & COMPLIANCE GRID
   Applied to all intranet pages.
   ═══════════════════════════════════════════════════════════════════ */

/* ── Confidential Top Banner ────────────────────────────────────── */
.confidential-banner {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: var(--navy);
  color: rgba(255,255,255,0.92);
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-bottom: 2px solid var(--gold);
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.confidential-banner-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.confidential-banner-badge {
  background: var(--gold);
  color: var(--navy);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 3px;
  flex-shrink: 0;
}
.confidential-banner-text {
  color: rgba(255,255,255,0.8);
}
.confidential-banner-text strong {
  color: rgba(255,255,255,1);
}
.confidential-banner-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.confidential-banner-right a {
  color: var(--gold-warm);
  text-decoration: none;
  font-weight: 600;
  font-size: 11px;
  white-space: nowrap;
  transition: color 0.15s;
}
.confidential-banner-right a:hover { color: white; }
.banner-sep {
  color: rgba(255,255,255,0.2);
  font-size: 10px;
}
.btn-logout-banner {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  color: rgba(255,255,255,0.7);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.btn-logout-banner:hover {
  background: rgba(255,255,255,0.15);
  color: white;
}

/* ── Copyright Footer ───────────────────────────────────────────── */
.int-footer {
  background: var(--forest-deep);
  color: rgba(255,255,255,0.6);
  font-family: var(--font-body);
  font-size: 11px;
  padding: 0;
  margin-top: 60px;
}
.int-footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: rgba(255,255,255,0.07);
  border-top: 1px solid rgba(255,255,255,0.1);
}
.int-footer-col {
  padding: 22px 28px;
  background: var(--forest-deep);
}
.int-footer-col-title {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-warm);
  margin-bottom: 8px;
}
.int-footer-col p, .int-footer-col a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  line-height: 1.75;
  font-size: 11px;
  display: block;
}
.int-footer-col a:hover { color: white; }
.int-footer-col strong { color: rgba(255,255,255,0.8); }
.int-footer-bottom {
  background: rgba(0,0,0,0.25);
  padding: 14px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.int-footer-copyright {
  font-size: 10.5px;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
}
.int-footer-copyright strong { color: rgba(255,255,255,0.65); }
.int-footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.int-footer-links a {
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  font-size: 10.5px;
  transition: color 0.15s;
}
.int-footer-links a:hover { color: rgba(255,255,255,0.7); }

/* ── Compliance Grid (used in board-recruitment.html) ───────────── */
.compliance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.compliance-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 16px 18px;
  font-size: 13px;
  color: var(--slate);
  line-height: 1.6;
}
.compliance-item i {
  color: var(--forest);
  font-size: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}
.compliance-item strong {
  display: block;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 4px;
}

/* ── Print: hide protection elements ───────────────────────────── */
@media print {
  .confidential-banner { display: none !important; }
  .int-footer-top { grid-template-columns: 1fr; }
}

/* ── BOARD ROLES GRID ────────────────────────────────────────────── */
.board-roles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--sp-5);
  margin-top: var(--sp-6);
}

/* ── EXEMPLAR GRID ───────────────────────────────────────────────── */
.exemplar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: var(--sp-6);
  margin-top: var(--sp-6);
}

/* ── PAGE FOOTER ─────────────────────────────────────────────────── */
.page-footer {
  text-align: center;
  padding: var(--sp-10) var(--sp-6) var(--sp-16);
  color: var(--silver);
  font-size: 12px;
  border-top: 1px solid var(--border);
  background: var(--off-white);
}
.page-footer a { color: var(--mist); }
.page-footer a:hover { color: var(--forest); }

/* ── RESPONSIVE ──────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .page-hero-inner { grid-template-columns: 1fr; }
  .page-hero-image { display: none; }
  .page-hero-content { padding: var(--sp-12) var(--sp-8); }
  .doc-nav { padding: 0 var(--sp-4); }
}

@media (max-width: 768px) {
  .section-card { padding: var(--sp-6) var(--sp-5); }
  .eoi-grid { grid-template-columns: 1fr; }
  .eoi-checklist { grid-template-columns: 1fr; }
  .board-roles-grid { grid-template-columns: 1fr; }
  .exemplar-grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .perpetuity-strip { padding: var(--sp-8) var(--sp-5); }
  .hero-image-band { height: 220px; }
  .hero-image-overlay { padding: var(--sp-6) var(--sp-5); }
  .int-wrap { padding: 0 var(--sp-4); }
}

@media (max-width: 480px) {
  .comp-tabs { gap: var(--sp-1); }
  .comp-tab  { padding: 6px 12px; font-size: 12px; }
  .grid-4    { grid-template-columns: 1fr; }
  .doc-nav   { height: 56px; padding: 0 var(--sp-3); }
  .doc-nav-links { top: 56px; }
}

/* ── PRINT ───────────────────────────────────────────────────────── */
@media print {
  /* Hide navigation & interactive chrome */
  .intranet-banner,
  .doc-nav,
  .sticky-apply,
  .ribbon,
  .btn,
  button,
  .no-print { display: none !important; }

  /* Clean white background */
  body {
    background: white !important;
    color: #111 !important;
    font-size: 11pt;
    line-height: 1.5;
  }

  /* Remove decorative shadows & backgrounds */
  .section-card,
  .white-card,
  .kpi-card,
  .stat-card {
    box-shadow: none !important;
    border: 1px solid #ccc !important;
    background: white !important;
    break-inside: avoid;
  }

  /* Page hero — strip colour, keep text */
  .page-hero,
  .intranet-hero {
    background: white !important;
    color: #111 !important;
    padding: 1cm 0 0.5cm !important;
    border-bottom: 2pt solid #1a5c52;
  }
  .page-hero h1,
  .intranet-hero h1 { color: #1a5c52 !important; }

  /* Headings retain brand green */
  h1, h2, h3 { color: #1a5c52 !important; }

  /* Show full URLs on links */
  a[href]::after { content: " (" attr(href) ")"; font-size: 8pt; color: #666; }
  a[href^="#"]::after,
  a[href^="javascript"]::after { content: ""; }

  /* Page breaks */
  h2, h3 { break-after: avoid; }
  table, figure { break-inside: avoid; }

  /* Tables */
  table { border-collapse: collapse; width: 100%; }
  th, td { border: 1px solid #ccc !important; padding: 4pt 6pt; }
  thead { background: #e8f3f1 !important; }

  /* Page margins */
  @page {
    margin: 2cm;
    size: A4;
  }
}
