/* ============================================================
   GIDA — Growth Innovation for Development Action
   "Where People Prosper" — institutional site stylesheet
   Brand font is Abadi (not web-available); Manrope is used as the
   closest licensed humanist-sans substitute, per branding protocol.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

:root{
  /* --- brand colour system (from Branding Protocol) --- */
  --green:        #1B4D3E; /* Deep Canopy Green */
  --green-dark:   #123329;
  --green-light:  #2C6B57;
  --gold:         #D9822B; /* Prosperity Gold */
  --gold-dark:    #B4681B;
  --gold-light:   #F0A855;
  --teal:         #00828A; /* One Health Teal */
  --teal-dark:    #016068;
  --teal-light:   #4FADB2;

  --paper:        #F7F3EA;
  --paper-deep:   #EFE8D8;
  --ink:          #142420;
  --ink-soft:     rgba(20,36,32,.66);
  --ink-faint:    rgba(20,36,32,.42);
  --line:         rgba(20,36,32,.14);
  --line-on-dark: rgba(255,255,255,.18);
  --cream-text:   #F7F3EA;

  --font-head: 'Manrope', 'Inter', sans-serif;
  --font-body: 'Inter', 'Manrope', sans-serif;

  --container: 1180px;
  --gutter: clamp(20px, 5vw, 64px);

  --ease: cubic-bezier(.22,.68,.24,1);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}

body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--paper);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ font-family:var(--font-head); margin:0; font-weight:700; letter-spacing:-.01em; color:var(--green-dark); }
p{ margin:0; }
button{ font-family:inherit; }

.wrap{ max-width:var(--container); margin:0 auto; padding-inline:var(--gutter); }

/* ---------- Focus ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline:2px solid var(--gold); outline-offset:3px; border-radius:2px;
}

/* ---------- Skip link ---------- */
.skip-link{
  position:absolute; left:-999px; top:0; background:var(--green); color:#fff;
  padding:12px 20px; z-index:200; border-radius:0 0 6px 0;
}
.skip-link:focus{ left:0; }

/* =================== TOP UTILITY / NAV =================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(247, 243, 234, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
  width: 100%;
}
.site-header .nav.wrap {
  max-width: 1400px;
  width: 100%;
  padding-inline: clamp(16px, 3.5vw, 44px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: clamp(74px, 8vw, 86px);
  padding-block: 4px;
  box-sizing: border-box;
}
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.brand img {
  height: clamp(40px, 4.2vw, 48px);
  width: auto;
  max-width: clamp(200px, 20vw, 250px);
  object-fit: contain;
  display: block;
  transition: transform 0.25s ease;
}
.brand:hover img { transform: translateY(-1px); }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(4px, 0.75vw, 12px);
}
.nav-links a {
  position: relative;
  font-weight: 600;
  font-size: clamp(0.85rem, 0.9vw, 0.92rem);
  color: var(--ink);
  padding: 8px clamp(8px, 0.85vw, 14px);
  border-radius: 100px;
  transition: color 0.25s ease, background 0.25s ease;
  white-space: nowrap !important;
  flex-shrink: 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover { color: var(--teal-dark); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--green-dark); }

.nav-cta {
  background: var(--green);
  color: #fff !important;
  padding: 9px clamp(14px, 1.2vw, 20px) !important;
  border-radius: 100px;
  font-weight: 700 !important;
  white-space: nowrap !important;
  flex-shrink: 0;
  transition: background 0.25s ease, transform 0.25s ease !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--gold) !important; color: #fff !important; transform: translateY(-1px); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 42px;
  height: 42px;
  cursor: pointer;
  position: relative;
  z-index: 1100;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: '';
  position: absolute;
  left: 8px;
  right: 8px;
  height: 2px;
  background: var(--green-dark);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.nav-toggle span { top: 20px; }
.nav-toggle span::before { top: -8px; }
.nav-toggle span::after { top: 8px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-8px) rotate(-45deg); }

/* Responsive Nav Breakpoint at 1120px: Switches cleanly to mobile drawer before links can ever wrap */
@media (max-width: 1120px) {
  .nav-toggle {
    display: block !important;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 360px;
    height: 100vh;
    background: #ffffff;
    box-shadow: -10px 0 30px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    padding: 90px 28px 40px;
    gap: 12px;
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
    z-index: 1050;
    overflow-y: auto;
    box-sizing: border-box;
  }
  .nav-links.open {
    transform: translateX(0);
  }
  .nav-links a {
    font-size: 1.05rem;
    padding: 12px 14px;
    width: 100%;
    border-radius: 8px;
    color: var(--green-dark) !important;
    white-space: normal !important;
    border-bottom: 1px solid rgba(20, 36, 32, 0.08);
  }
  .nav-links a::after { display: none; }
  .nav-links a:hover {
    background: rgba(27, 77, 62, 0.06);
  }
  .nav-cta {
    text-align: center;
    margin-top: 14px;
    padding: 12px 20px !important;
  }
  .brand img {
    height: clamp(38px, 6vw, 46px);
    max-width: clamp(190px, 45vw, 240px);
  }
}

/* =================== BUTTONS =================== */
.btn{
  display:inline-flex; align-items:center; gap:10px; font-weight:700; font-size:.95rem;
  padding:14px 28px; border-radius:100px; border:1px solid transparent; cursor:pointer;
  transition:transform .35s var(--ease), background .3s, color .3s, border-color .3s;
}
.btn:hover{ transform:translateY(-2px); }
.btn-gold{ background:var(--gold); color:var(--green-dark); }
.btn-gold:hover{ background:var(--gold-dark); color:#fff; }
.btn-outline{ background:transparent; border-color:var(--line-on-dark); color:inherit; }
.btn-outline.on-light{ border-color:var(--line); }
.btn-outline:hover{ background:var(--cream-text); color:var(--green-dark); }
.btn-ghost{ background:transparent; color:var(--teal-dark); padding:10px 4px; }
.btn-ghost .arrow{ transition:transform .3s var(--ease); }
.btn-ghost:hover .arrow{ transform:translateX(5px); }

/* =================== ANNOTATION / LABELS =================== */
.eyebrow{ display:block; font-family:var(--font-head); font-weight:700; font-size:1.4rem; color:var(--teal-dark); margin-bottom:12px; }


.kicker-number{ font-family:var(--font-head); font-weight:800; color:var(--gold); font-size:1.05rem; }

/* =================== SECTION SCAFFOLD =================== */
section{ position:relative; }
.section-pad{ padding-block:clamp(64px,10vw,128px); }
.section-pad-sm{ padding-block:clamp(48px,7vw,84px); }
.on-dark{ background:var(--green-dark); color:var(--cream-text); }
.on-dark h1,.on-dark h2,.on-dark h3{ color:#fff; }
.on-teal{ background:var(--teal-dark); color:#fff; }
.on-teal h1,.on-teal h2,.on-teal h3{ color:#fff; }
.on-paper-deep{ background:var(--paper-deep); }

.h-display{ font-size:clamp(2.4rem,5.4vw,4.4rem); line-height:1.04; }
.h-1{ font-size:clamp(2.1rem,4vw,3.1rem); line-height:1.08; }
.h-2{ font-size:clamp(1.6rem,2.8vw,2.3rem); line-height:1.14; }
.h-3{ font-size:clamp(1.2rem,1.8vw,1.55rem); line-height:1.24; }
.lede{ font-size:clamp(1.05rem,1.6vw,1.28rem); line-height:1.55; color:var(--ink-soft); max-width:62ch; }
.body-text{ font-size:1.02rem; line-height:1.7; color:var(--ink-soft); max-width:64ch; }
.on-dark .lede, .on-dark .body-text{ color:rgba(247,243,234,.78); }
.on-teal .lede, .on-teal .body-text{ color:rgba(255,255,255,.85); }

/* =================== REVEAL ANIMATION =================== */
.reveal{ opacity:0; transform:translateY(22px); transition:opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in{ opacity:1; transform:none; }
.reveal-stagger > *{ opacity:0; transform:translateY(18px); transition:opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-stagger.in > *{ opacity:1; transform:none; }
.reveal-stagger.in > *:nth-child(1){ transition-delay:.03s; }
.reveal-stagger.in > *:nth-child(2){ transition-delay:.11s; }
.reveal-stagger.in > *:nth-child(3){ transition-delay:.19s; }
.reveal-stagger.in > *:nth-child(4){ transition-delay:.27s; }
.reveal-stagger.in > *:nth-child(5){ transition-delay:.35s; }

/* =================== HERO =================== */
.hero{
  background:
    radial-gradient(1100px 620px at 84% -10%, rgba(217,130,43,.24), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(0,130,138,.28), transparent 60%),
    linear-gradient(180deg,var(--green-dark),var(--green) 78%);
  color:#fff; overflow:hidden; padding-top:clamp(64px,10vw,120px); padding-bottom:clamp(56px,9vw,110px);
}
.hero-grid{
  display:grid; grid-template-columns:1.15fr .85fr; gap:clamp(24px,5vw,64px); align-items:center;
}
.hero-tag{ font-weight:700; letter-spacing:.02em; color:var(--gold-light); font-size:.95rem; margin-bottom:20px; }
.hero h1{ color:#fff; }
.hero h1 em{ font-style:normal; color:var(--gold-light); }
.hero p.lede{ color:rgba(247,243,234,.82); margin-top:22px; }
.hero-ctas{ display:flex; gap:16px; margin-top:38px; flex-wrap:wrap; }
.hero-figure{ position:relative; }
.hero-rings{ width:100%; height:auto; }

@media (max-width:860px){
  .hero-grid{ grid-template-columns:1fr; }
  .hero-figure{ order:-1; max-width:280px; margin-inline:auto; }
}

/* =================== ROOTLINE (connective SVG motif) =================== */
.rootline{ position:absolute; inset:0; pointer-events:none; z-index:0; opacity:.5; }
.rootline path{ fill:none; stroke:var(--line); stroke-width:1.4; }

/* =================== STAT BAND =================== */
.stat-band{ display:grid; grid-template-columns:repeat(4,1fr); gap:0; }
.stat{
  padding:38px 26px; border-left:1px solid var(--line-on-dark); position:relative;
}
.stat:first-child{ border-left:none; padding-left:0; }
.stat-num{ font-family:var(--font-head); font-weight:800; font-size:clamp(2.1rem,3.4vw,3rem); color:var(--gold-light); line-height:1; }
.stat-label{ margin-top:12px; font-size:.92rem; color:rgba(255,255,255,.72); max-width:22ch; line-height:1.45; }
@media (max-width:760px){
  .stat-band{ grid-template-columns:1fr 1fr; row-gap:30px; }
  .stat:nth-child(3){ border-left:none; padding-left:0; }
}
@media (max-width:480px){
  .stat-band{ grid-template-columns:1fr; }
  .stat{ border-left:none; border-top:1px solid var(--line-on-dark); padding-left:0; }
  .stat:first-child{ border-top:none; }
}

/* =================== NUMBERED PILLAR LIST (editorial, not cards) =================== */
.pillar-list{ border-top:1px solid var(--line); }
.pillar-row{
  display:grid; grid-template-columns:110px 1fr; gap:clamp(16px,4vw,48px);
  padding-block:clamp(28px,4.5vw,46px); border-bottom:1px solid var(--line);
  align-items:baseline;
}
.pillar-row .num{ font-family:var(--font-head); font-weight:800; font-size:2.2rem; color:var(--gold); line-height:1; }
.pillar-row h3{ margin-bottom:10px; }
.pillar-row .tag{ display:inline-block; font-size:.72rem; font-weight:700; letter-spacing:.03em; color:var(--teal-dark); background:rgba(0,130,138,.1); padding:5px 11px; border-radius:100px; margin-bottom:14px; }
.pillar-sub{ margin-top:16px; display:grid; gap:10px; }
.pillar-sub li{ padding-left:20px; position:relative; color:var(--ink-soft); line-height:1.6; font-size:.97rem; }
.pillar-sub li::before{ content:''; position:absolute; left:0; top:.62em; width:7px; height:7px; border-radius:50%; background:var(--teal); }
@media (max-width:620px){ .pillar-row{ grid-template-columns:1fr; } .pillar-row .num{ font-size:1.5rem; } }

/* =================== RADIAL / DIMENSIONS DIAGRAM =================== */
.dims{ display:grid; grid-template-columns:.9fr 1.1fr; gap:clamp(30px,6vw,72px); align-items:center; }
.dims-diagram{ width:100%; height:auto; }
.dims-list{ display:grid; gap:0; }
.dims-list li{ padding:20px 0; border-bottom:1px solid var(--line); display:grid; grid-template-columns:44px 1fr; gap:16px; }
.dims-list li:first-child{ padding-top:0; }
.dims-list .dot{ width:12px; height:12px; border-radius:50%; margin-top:6px; }
.dims-list h4{ font-size:1.05rem; margin-bottom:6px; }
.dims-list p{ color:var(--ink-soft); font-size:.94rem; line-height:1.55; }
@media (max-width:760px){ .dims{ grid-template-columns:1fr; } }

/* =================== QUOTE / LEADERSHIP =================== */
.leader{
  display:grid; grid-template-columns:.85fr 1.15fr; gap:clamp(28px,6vw,72px); align-items:end;
}
.leader-figure{
  position:relative; aspect-ratio:4/5; border-radius:6px; overflow:hidden;
  background:linear-gradient(160deg,var(--teal),var(--green-dark));
}
.leader-figure .placeholder-note{
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center; text-align:center;
  color:rgba(255,255,255,.78); font-size:.85rem; padding:28px; line-height:1.5;
}
.leader-quote{ font-family:var(--font-head); font-weight:700; font-size:clamp(1.4rem,2.6vw,2rem); line-height:1.35; color:var(--green-dark); }
.leader-quote::before{ content:'“'; color:var(--gold); }
.leader-quote::after{ content:'”'; color:var(--gold); }
.leader-byline{ margin-top:26px; }
.leader-byline .name{ font-weight:700; font-family:var(--font-head); font-size:1.05rem; }
.leader-byline .role{ color:var(--teal-dark); font-size:.9rem; font-weight:600; margin-top:2px; }
@media (max-width:760px){ .leader{ grid-template-columns:1fr; } }

/* =================== TRUST / DONOR BAR =================== */
.trust-bar{ border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.trust-inner{ display:flex; align-items:center; gap:clamp(24px,5vw,56px); flex-wrap:wrap; padding-block:30px; }
.trust-label{ font-weight:700; font-size:.82rem; color:var(--ink-faint); white-space:nowrap; }
.trust-items{ display:flex; gap:clamp(20px,4vw,44px); flex-wrap:wrap; }
.trust-items span{ font-family:var(--font-head); font-weight:700; font-size:.92rem; color:var(--green-dark); opacity:.75; }

/* =================== ARTICLE LIST =================== */
.article-row{
  display:grid; grid-template-columns:140px 1fr auto; gap:24px; align-items:center;
  padding-block:22px; border-bottom:1px solid var(--line);
}
.article-row .date{ font-size:.82rem; font-weight:700; color:var(--teal-dark); letter-spacing:.02em; }
.article-row h4{ font-size:1.06rem; font-weight:700; }
.article-row .tag{ font-size:.78rem; color:var(--ink-faint); }
@media (max-width:640px){ .article-row{ grid-template-columns:1fr; gap:6px; } }

/* =================== TIMELINE (escalation protocol) =================== */
.timeline{ position:relative; padding-left:34px; }
.timeline::before{ content:''; position:absolute; left:6px; top:6px; bottom:6px; width:2px; background:var(--line-on-dark); }
.timeline-item{ position:relative; padding-bottom:clamp(28px,4vw,44px); }
.timeline-item:last-child{ padding-bottom:0; }
.timeline-item::before{
  content:''; position:absolute; left:-34px; top:4px; width:14px; height:14px; border-radius:50%;
  background:var(--gold-light); border:3px solid var(--green-dark); box-shadow:0 0 0 2px var(--gold-light);
}
.timeline-time{ font-family:var(--font-head); font-weight:800; color:var(--gold-light); font-size:1.05rem; }
.timeline-item h4{ color:#fff; margin-top:6px; font-size:1.08rem; }
.timeline-item p{ color:rgba(255,255,255,.72); margin-top:6px; font-size:.94rem; max-width:52ch; }

/* =================== TWO-COL SPLIT =================== */
.split{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(28px,6vw,80px); align-items:start; }
@media (max-width:820px){ .split{ grid-template-columns:1fr; } }
.split.reverse{ direction:rtl; }
.split.reverse > *{ direction:ltr; }

/* =================== VALUE / PILLAR SIDE LIST =================== */
.side-list{ display:grid; gap:26px; }
.side-list li{ border-top:1px solid var(--line); padding-top:20px; }
.side-list h4{ font-size:1.05rem; margin-bottom:6px; }
.side-list p{ color:var(--ink-soft); font-size:.94rem; line-height:1.6; }

/* =================== PLACEHOLDER NOTE STRIP =================== */
.notice{
  border:1px dashed var(--line); border-radius:8px; padding:18px 22px; font-size:.88rem;
  color:var(--ink-faint); background:rgba(0,130,138,.05);
}

/* =================== FOOTER =================== */
.site-footer{ background:var(--green-dark); color:rgba(247,243,234,.72); padding-block:64px 32px; border-top: 1px solid rgba(255, 255, 255, 0.15); }
.footer-grid{ display:grid; grid-template-columns:1.3fr 1fr 1fr 1fr; gap:40px; }
.footer-brand{ display:flex; align-items:center; gap:12px; margin-bottom:16px; }
.footer-brand img {
  height: clamp(34px, 3.8vw, 44px);
  width: auto;
  max-width: 230px;
  object-fit: contain;
  display: block;
}
.footer-brand-word{ font-family:var(--font-head); font-weight:800; color:#fff; }
.footer-col h5{ color:#fff; font-size:.82rem; letter-spacing:.03em; margin-bottom:16px; font-weight:700; }
.footer-col a, .footer-col p{ display:block; font-size:.9rem; margin-bottom:10px; color:rgba(247,243,234,.72); }
.footer-col a:hover{ color:var(--gold-light); }
.footer-bottom{ margin-top:52px; padding-top:24px; border-top:1px solid var(--line-on-dark); display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; font-size:.82rem; }
@media (max-width:820px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:520px){ .footer-grid{ grid-template-columns:1fr; } }

/* =================== PAGE HEADER (sub-pages) =================== */
.page-head{ padding-top:clamp(56px,9vw,96px); padding-bottom:clamp(48px,7vw,72px); position:relative; overflow:hidden; background-size: cover; background-position: center; }
.page-head::before{ content:""; position:absolute; inset:0; background:rgba(10,30,20,0.75); z-index:1; }
.page-head > * { position:relative; z-index:2; }
.page-head .crumb{ font-size:.85rem; color:rgba(247,243,234,.65); margin-bottom:18px; font-weight:600; }
.page-head h1{ color:#fff; }

/* =================== FORM (contact) =================== */
.form-grid{ display:grid; gap:18px; }
.field{ display:grid; gap:8px; }
.field label{ font-size:.85rem; font-weight:700; color:var(--green-dark); }
.field input, .field select, .field textarea{
  font-family:var(--font-body); font-size:.96rem; padding:13px 16px; border-radius:8px;
  border:1px solid var(--line); background:#fff; color:var(--ink); resize:vertical;
}
.field input:focus, .field select:focus, .field textarea:focus{ border-color:var(--teal); outline:none; box-shadow:0 0 0 3px rgba(0,130,138,.14); }
.form-note{ font-size:.8rem; color:var(--ink-faint); }

/* =================== CONTACT CHANNELS =================== */
.channel{ border-top:1px solid var(--line); padding-block:26px; }
.channel h4{ font-size:1.02rem; margin-bottom:8px; }
.channel p, .channel a{ color:var(--ink-soft); font-size:.95rem; line-height:1.6; }
.channel a{ color:var(--teal-dark); font-weight:600; }
.channel a:hover{ text-decoration:underline; }

/* =================== MAP PLACEHOLDER =================== */
.map-frame{
  aspect-ratio:16/10; border-radius:10px; overflow:hidden; position:relative;
  background:linear-gradient(135deg,var(--paper-deep),#e4dcc6);
}

/* utility */
.mt-xxl{ margin-top:clamp(48px,7vw,84px); }
.mt-xl{ margin-top:clamp(32px,5vw,56px); }
.mt-l{ margin-top:28px; }
.mt-m{ margin-top:18px; }
.center{ text-align:center; margin-inline:auto; }
.max-56{ max-width:56ch; }


/* =================== ARTICLE CARDS =================== */
.article-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; margin-top: 40px; }
.article-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.05); transition: transform 0.3s ease; border: 1px solid rgba(0,0,0,0.05); display: flex; flex-direction: column; }
.article-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.article-img { width: 100%; height: 200px; object-fit: cover; }
.article-content { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.article-tag { font-size: 0.8rem; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; display: inline-block; }
.article-title { font-size: 1.25rem; font-family: var(--font-head); font-weight: 700; color: var(--teal-dark); margin-bottom: 12px; line-height: 1.3; }
.article-excerpt { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 24px; flex: 1; }
.article-actions { display: flex; align-items: center; gap: 16px; border-top: 1px solid rgba(0,0,0,0.08); padding-top: 16px; margin-top: auto; }
.action-btn { background: none; border: none; display: flex; align-items: center; gap: 6px; color: #666; font-size: 0.9rem; cursor: pointer; transition: color 0.2s; font-family: inherit; }
.action-btn:hover { color: var(--gold); }
.action-btn svg { width: 18px; height: 18px; fill: currentColor; }

/* =================== TEAM GRID =================== */
.team-member { background: #fff; padding: 24px; border-radius: 12px; text-align: center; box-shadow: 0 4px 12px rgba(0,0,0,0.04); border: 1px solid rgba(0,0,0,0.05); }
.team-member-img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin: 0 auto 16px; border: 3px solid #fff; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.team-member h4 { color: var(--teal-dark); font-size: 1.15rem; font-family: var(--font-head); margin-bottom: 4px; }
.team-member p { font-size: 0.9rem; color: #666; }

/* =================== PILLAR HOVER CARDS =================== */
.pillar-card {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.05);
  cursor: pointer;
  transition: all 0.4s ease;
}
.pillar-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
  border-color: var(--primary);
}
.pillar-header {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.pillar-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.pillar-title-area h3 {
  font-size: 1.5rem;
  color: var(--teal-dark);
  margin-bottom: 8px;
}
.pillar-subtitle {
  font-size: 1rem;
  color: #555;
}
.pillar-details {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  margin-left: 55px; /* align with text */
}
.pillar-card:hover .pillar-details {
  max-height: 500px;
  opacity: 1;
  margin-top: 20px;
}
.pillar-details ul {
  list-style: none;
  padding: 0;
}
.pillar-details li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  color: #444;
  line-height: 1.5;
}
.pillar-details li::before {
  content: "•";
  color: var(--gold);
  position: absolute;
  left: 0;
  font-size: 1.5em;
  line-height: 1;
  top: -2px;
}

/* =================== TEAM BIO HOVER =================== */
.team-member {
  background: #fff; padding: 24px; border-radius: 12px; text-align: center; 
  box-shadow: 0 4px 12px rgba(0,0,0,0.04); border: 1px solid rgba(0,0,0,0.05);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.team-member:hover {
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
  transform: translateY(-5px);
}
.team-bio {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  font-size: 0.85rem;
  color: #555;
  text-align: left;
  border-top: 1px solid #eee;
}
.team-member:hover .team-bio {
  max-height: 300px;
  opacity: 1;
  margin-top: 16px;
  padding-top: 16px;
}
.liked { color: var(--gold) !important; }

.vetting-card:hover { transform: translateY(-8px); box-shadow: 0 12px 30px rgba(0,0,0,0.1); }
.quick-pillar-card {
  background: var(--surface, #fff);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}
.quick-pillar-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.1);
  border-color: var(--gold);
}
.quick-pillar-card .num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.quick-pillar-card h4 {
  color: var(--teal-dark);
  font-size: 1.1rem;
  font-family: var(--font-head);
  margin: 0;
}
.project-img { cursor: pointer; transition: all 0.3s; }
.project-img:hover { transform: scale(1.03); box-shadow: 0 12px 30px rgba(0,0,0,0.2); }

/* Modal Styles */
.modal-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.8); z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: 0.3s;
}
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal-content {
  background: #fff; width: 90%; max-width: 800px;
  border-radius: 12px; overflow: hidden; position: relative;
  transform: translateY(20px); transition: 0.3s;
}
.modal-overlay.active .modal-content { transform: translateY(0); }
.modal-close {
  position: absolute; top: 16px; right: 16px;
  background: rgba(0,0,0,0.5); color: #fff;
  border: none; border-radius: 50%; width: 36px; height: 36px;
  font-size: 1.2rem; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.modal-img { width: 100%; height: 350px; object-fit: cover; }
.modal-body { padding: 32px; }
.modal-body h3 { margin-bottom: 12px; color: var(--teal-dark); font-family: var(--font-head); font-size: 1.5rem; }
.modal-body p { color: #555; line-height: 1.6; margin-bottom: 24px; }


/* =================== BRAND & READABILITY HELPERS =================== */
.text-white-contrast {
  color: #FFFFFF !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.text-white { color: #FFFFFF !important; }

.on-dark .eyebrow,
.on-teal .eyebrow,
.page-head .eyebrow {
  color: #FFFFFF !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

/* =================== HERO BRAND PANEL (REPLACES RINGS SVG) =================== */
.hero-brand-panel {
  position: relative;
  background: rgba(247, 243, 234, 0.98);
  border-radius: 24px;
  padding: clamp(32px, 5vw, 48px) clamp(24px, 4vw, 36px);
  box-shadow: 0 24px 60px -12px rgba(10, 30, 20, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.3);
  text-align: center;
  backdrop-filter: blur(14px);
  border: 1px solid rgba(217, 130, 43, 0.22);
  overflow: hidden;
  max-width: 440px;
  margin-inline: auto;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.hero-brand-panel:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 70px -12px rgba(10, 30, 20, 0.55), 0 0 0 1px rgba(217, 130, 43, 0.35);
}
.hero-brand-panel::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 130, 43, 0.18), transparent 70%);
  pointer-events: none;
}
.hero-brand-panel::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 130, 138, 0.16), transparent 70%);
  pointer-events: none;
}
.brand-panel-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-panel-logo {
  max-width: 290px;
  width: 100%;
  height: auto;
  margin: 0 auto 16px;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.06));
}
.hero-panel-badge {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--gold-dark);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(217, 130, 43, 0.12);
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 22px;
  border: 1px solid rgba(217, 130, 43, 0.28);
}
.hero-panel-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.hero-panel-pills span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--green-dark);
  background: #ffffff;
  padding: 7px 14px;
  border-radius: 100px;
  border: 1px solid rgba(27, 77, 62, 0.14);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

/* =================== BALANCED 5 PILLARS GRID (3 TOP / 2 CENTERED BOTTOM) =================== */
.quick-pillars {
  display: grid;
  grid-template-columns: repeat(6, 1fr) !important;
  gap: 22px !important;
  max-width: 1080px;
  margin-inline: auto;
  margin-top: 36px;
}
.quick-pillars .quick-pillar-card {
  background: #ffffff;
  border: 1px solid rgba(20, 36, 32, 0.08);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  text-decoration: none;
  transition: all 0.35s var(--ease);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 150px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}
.quick-pillars .quick-pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(20, 36, 32, 0.1);
  border-color: var(--gold);
}
/* Row 1: 3 cards taking 2 columns each */
.quick-pillars .quick-pillar-card:nth-child(1) { grid-column: span 2; }
.quick-pillars .quick-pillar-card:nth-child(2) { grid-column: span 2; }
.quick-pillars .quick-pillar-card:nth-child(3) { grid-column: span 2; }

/* Row 2: 2 cards centered (starts at col 2 and spans 2 cols, next starts at col 4 and spans 2 cols) */
.quick-pillars .quick-pillar-card:nth-child(4) { grid-column: 2 / span 2; }
.quick-pillars .quick-pillar-card:nth-child(5) { grid-column: 4 / span 2; }

.quick-pillars .quick-pillar-card .num {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.quick-pillars .quick-pillar-card h4 {
  color: var(--green-dark);
  font-size: 1.08rem;
  font-family: var(--font-head);
  font-weight: 700;
  margin: 0;
  line-height: 1.35;
}

@media (max-width: 880px) {
  .quick-pillars {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }
  .quick-pillars .quick-pillar-card:nth-child(1),
  .quick-pillars .quick-pillar-card:nth-child(2),
  .quick-pillars .quick-pillar-card:nth-child(3),
  .quick-pillars .quick-pillar-card:nth-child(4) {
    grid-column: span 1 !important;
  }
  .quick-pillars .quick-pillar-card:nth-child(5) {
    grid-column: 1 / span 2 !important;
    max-width: 480px;
    margin-inline: auto;
    width: 100%;
  }
}
@media (max-width: 540px) {
  .quick-pillars {
    grid-template-columns: 1fr !important;
  }
  .quick-pillars .quick-pillar-card {
    grid-column: span 1 !important;
    max-width: 100%;
  }
}

/* =================== SAFEGUARDING INTRO CARDS =================== */
.safeguard-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.safeguard-panel {
  border-radius: 18px;
  padding: clamp(32px, 5vw, 44px);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  box-shadow: 0 10px 30px rgba(10, 30, 20, 0.08);
}
.safeguard-panel:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(10, 30, 20, 0.15);
}
.policy-panel {
  background: linear-gradient(145deg, var(--green-dark), var(--green));
  border: 1px solid rgba(217, 130, 43, 0.3);
}
.compliance-panel {
  background: linear-gradient(145deg, var(--teal-dark), #004d52);
  border: 1px solid rgba(79, 173, 178, 0.3);
}
.panel-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 14px;
}
.compliance-panel .panel-tag {
  color: var(--teal-light);
}
.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
}
.panel-desc {
  color: rgba(247, 243, 234, 0.88);
  font-size: 1.02rem;
  line-height: 1.7;
  margin-top: 14px;
}
.panel-footer {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.panel-status, .panel-scope {
  font-size: 0.8rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.12);
  padding: 5px 12px;
  border-radius: 100px;
}
.framework-pills {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.framework-pills li {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  gap: 10px;
}
.framework-pills li::before {
  content: "✓";
  color: var(--gold-light);
  font-weight: 800;
}
@media (max-width: 820px) {
  .safeguard-cards-grid { grid-template-columns: 1fr; }
}

/* =================== ESCALATION TIMELINE STEPS =================== */
.timeline-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  position: relative;
}
.step-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 22px 18px;
  transition: all 0.3s ease;
  position: relative;
}
.step-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
  border-color: var(--gold-light);
}
.step-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.step-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--gold-light);
}
.step-window {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #ffffff;
  background: rgba(217, 130, 43, 0.25);
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-block;
  align-self: flex-start;
}
.step-card h4 {
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 8px;
  line-height: 1.35;
}
.step-card p {
  color: rgba(247, 243, 234, 0.78);
  font-size: 0.88rem;
  line-height: 1.55;
}
@media (max-width: 1040px) {
  .timeline-steps { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .timeline-steps {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-left: 20px;
    border-left: 2px solid var(--gold-light);
  }
}

/* =================== SURVIVOR CALLOUT =================== */
.survivor-callout {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: rgba(217, 130, 43, 0.12);
  border: 1px solid rgba(217, 130, 43, 0.35);
  border-radius: 14px;
  padding: 24px 28px;
  max-width: 100%;
}
.survivor-icon {
  flex-shrink: 0;
  padding-top: 2px;
}
@media (max-width: 600px) {
  .survivor-callout {
    flex-direction: column;
    gap: 12px;
    padding: 20px;
  }
}

/* =================== BRAND ALIGNED DUE DILIGENCE CARDS =================== */
.vetting-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.vetting-card {
  padding: 32px;
  border-radius: 16px;
  transition: all 0.35s ease;
  cursor: default;
  display: flex;
  flex-direction: column;
}
.vetting-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}
.vetting-badge {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: inline-block;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 100px;
}
.vetting-card h4 {
  font-size: 1.22rem;
  margin-bottom: 12px;
  font-family: var(--font-head);
  font-weight: 700;
}
.vetting-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.65;
}

.vetting-green {
  background: rgba(27, 77, 62, 0.07);
  border: 1px solid rgba(27, 77, 62, 0.2);
}
.vetting-green .vetting-badge {
  background: rgba(27, 77, 62, 0.14);
  color: var(--green);
}
.vetting-green h4 { color: var(--green); }

.vetting-teal {
  background: rgba(0, 130, 138, 0.07);
  border: 1px solid rgba(0, 130, 138, 0.2);
}
.vetting-teal .vetting-badge {
  background: rgba(0, 130, 138, 0.14);
  color: var(--teal-dark);
}
.vetting-teal h4 { color: var(--teal-dark); }

.vetting-gold {
  background: rgba(217, 130, 43, 0.07);
  border: 1px solid rgba(217, 130, 43, 0.25);
}
.vetting-gold .vetting-badge {
  background: rgba(217, 130, 43, 0.15);
  color: var(--gold-dark);
}
.vetting-gold h4 { color: var(--gold-dark); }

/* =================== CONTACT SECTION ENHANCEMENT =================== */
.contact-section-bg {
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-deep) 100%);
}
.contact-split {
  gap: clamp(32px, 6vw, 64px);
}
.contact-split .channel {
  border-top: 1px solid rgba(20, 36, 32, 0.1);
  padding-block: 22px;
}
.contact-split .channel p {
  word-break: break-word;
}

/* =================== GLOBAL RESPONSIVENESS SAFEGUARDS =================== */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}
.section-head-simple {
  margin-bottom: 24px;
}
@media (max-width: 768px) {
  .brand img {
  height: clamp(52px, 6.2vw, 68px);
  width: auto;
  max-width: clamp(280px, 44vw, 380px);
  object-fit: contain;
  display: block;
  transition: transform 0.25s ease;
}
.brand:hover img { transform: translateY(-1px); }
  .nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: clamp(80px, 9vw, 92px);
  padding-block: 6px;
  width: 100%;
  box-sizing: border-box;
}
  .hero-brand-panel {
    padding: 28px 20px;
  }
}


/* =================== PROMINENT FOOTER LOGO CONTAINER =================== */
.footer-logo-card {
  background: #ffffff;
  padding: 10px 18px;
  border-radius: 12px;
  display: inline-block;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.footer-logo-card img {
  height: clamp(40px, 4.5vw, 50px);
  width: auto;
  max-width: 250px;
  object-fit: contain;
  display: block;
}

/* =================== CLEAN HOMEPAGE HERO SHOWCASE =================== */
.hero-image-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 32px 72px -12px rgba(10, 30, 20, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.2);
  max-width: 520px;
  margin-inline: auto;
  aspect-ratio: 4 / 3;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  background: var(--green-dark);
}
.hero-image-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 40px 84px -12px rgba(10, 30, 20, 0.65);
}
.hero-showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-image-caption {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(18, 51, 41, 0.88);
  backdrop-filter: blur(10px);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.hero-caption-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 8px var(--gold);
}

.hero-logo-card {
  background: #ffffff;
  border-radius: 24px;
  padding: clamp(38px, 6vw, 58px) clamp(28px, 5vw, 46px);
  box-shadow: 0 28px 64px -12px rgba(10, 30, 20, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 440px;
  margin-inline: auto;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  position: relative;
}
.hero-logo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 36px 76px -12px rgba(10, 30, 20, 0.55);
}
.hero-showcase-logo {
  width: 100%;
  max-width: 340px;
  height: auto;
  object-fit: contain;
  display: block;
}

/* =================== POLICY MANDATE & COMPLIANCE CARDS =================== */
.policy-compliance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 10px;
}
.mandate-card {
  background: #ffffff;
  border-radius: 18px;
  padding: clamp(30px, 4.5vw, 42px);
  box-shadow: 0 8px 24px rgba(20, 36, 32, 0.05);
  border: 1px solid rgba(20, 36, 32, 0.08);
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
}
.mandate-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(20, 36, 32, 0.1);
}
.policy-accent {
  border-top: 5px solid var(--green);
  background: linear-gradient(180deg, rgba(27, 77, 62, 0.03) 0%, #ffffff 40%);
}
.compliance-accent {
  border-top: 5px solid var(--teal);
  background: linear-gradient(180deg, rgba(0, 130, 138, 0.03) 0%, #ffffff 40%);
}
.mandate-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.card-indicator-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.dot-green { background: var(--green); box-shadow: 0 0 0 3px rgba(27, 77, 62, 0.15); }
.dot-teal { background: var(--teal); box-shadow: 0 0 0 3px rgba(0, 130, 138, 0.15); }
.card-badge-label {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal-dark);
}
.policy-accent .card-badge-label { color: var(--green); }
.mandate-title {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--green-dark);
  line-height: 1.25;
  margin-bottom: 14px;
}
.mandate-body {
  font-size: 0.98rem;
  color: #2b3a36;
  line-height: 1.65;
  margin-bottom: 22px;
}
.mandate-meta {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(20, 36, 32, 0.08);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.meta-tag {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green-dark);
  background: rgba(27, 77, 62, 0.08);
  padding: 5px 12px;
  border-radius: 100px;
}
.compliance-pill-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}
.compliance-pill-list li {
  font-size: 0.94rem;
  color: #1f2e2a;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  background: rgba(0, 130, 138, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(0, 130, 138, 0.1);
}
.compliance-pill-list .check-icon {
  color: var(--teal);
  font-weight: 800;
}
@media (max-width: 820px) {
  .policy-compliance-grid { grid-template-columns: 1fr; }
}

/* =================== BRANDED HEADQUARTERS CARD (CONTACT) =================== */
.hq-branded-card {
  background: linear-gradient(155deg, var(--green-dark) 0%, var(--green) 100%);
  color: #ffffff;
  border-radius: 20px;
  padding: clamp(30px, 5vw, 44px);
  box-shadow: 0 18px 46px rgba(10, 30, 20, 0.18);
  border: 1px solid rgba(217, 130, 43, 0.28);
  position: relative;
  overflow: hidden;
}
.hq-card-badge {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-light);
  background: rgba(217, 130, 43, 0.18);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
  border: 1px solid rgba(217, 130, 43, 0.25);
}
.hq-title {
  color: #ffffff !important;
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 6px;
}
.hq-city {
  color: rgba(247, 243, 234, 0.9);
  font-size: 1.08rem;
  font-weight: 600;
  margin-bottom: 22px;
}
.hq-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.16);
  margin-bottom: 22px;
}
.hq-item h4 {
  color: #ffffff !important;
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.hq-item p {
  color: rgba(247, 243, 234, 0.82);
  font-size: 0.94rem;
  line-height: 1.55;
  margin-bottom: 22px;
}
.hq-map-box {
  margin-bottom: 24px;
}
.hq-map-box h4 {
  color: #ffffff !important;
  font-size: 1rem;
  margin-bottom: 10px;
}
.hq-inquiries-group {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 22px;
}
.hq-inquiries-title {
  color: var(--gold-light) !important;
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.inquiry-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 14px;
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.92);
}
.inquiry-lbl {
  font-size: 0.76rem;
  color: rgba(247, 243, 234, 0.65);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.inquiry-row a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.inquiry-row a:hover {
  color: var(--gold-light);
}
.inquiry-row.highlight a {
  color: var(--gold-light);
  font-weight: 700;
}

/* =================== FULL CONTRAST AUDIT =================== */
.on-dark, .on-dark * {
  --text-contrast-white: #ffffff;
}
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 {
  color: #ffffff !important;
}
.on-dark .stat-num {
  color: var(--gold-light) !important;
}
.on-dark .stat-label {
  color: #ffffff !important;
  font-weight: 500;
}
.on-dark .eyebrow {
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
.on-teal h1, .on-teal h2, .on-teal h3, .on-teal h4 {
  color: #ffffff !important;
}
.on-teal .eyebrow {
  color: var(--gold-light) !important;
}
.page-head h1 {
  color: #ffffff !important;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.page-head .crumb {
  color: rgba(255, 255, 255, 0.9) !important;
}

@media (max-width: 768px) {
  .nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: clamp(80px, 9vw, 92px);
  padding-block: 6px;
  width: 100%;
  box-sizing: border-box;
}
  .brand img {
    height: clamp(44px, 8vw, 56px);
    max-width: clamp(230px, 64vw, 300px);
  }
}


/* =================== PROSPERITY HIGHLIGHT PANEL (ITEM 1) =================== */
.prosperity-heading {
  max-width: 100% !important;
  font-size: clamp(2.1rem, 4.2vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 24px;
}
.prosperity-highlight-panel {
  background: linear-gradient(145deg, var(--green-dark), #102d24);
  color: #ffffff;
  border-radius: 16px;
  padding: clamp(24px, 4vw, 36px) clamp(24px, 5vw, 44px);
  box-shadow: 0 12px 32px rgba(18, 51, 41, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.14);
  max-width: 980px;
  margin-inline: auto;
  margin-top: 20px;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}
.prosperity-highlight-panel::before { display: none !important; }
.prosperity-highlight-text {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  line-height: 1.7;
  color: #ffffff !important;
  font-weight: 500;
  margin: 0;
}

/* =================== ALTERNATING FIVE PILLARS (ITEM 2) =================== */
.pillar-theme-green {
  background: linear-gradient(160deg, rgba(27, 77, 62, 0.08) 0%, #ffffff 60%) !important;
  border: 1px solid rgba(27, 77, 62, 0.22) !important;
}
.pillar-theme-green .num { color: var(--green) !important; }
.pillar-theme-green h4 { color: var(--green-dark) !important; }

.pillar-theme-light {
  background: #ffffff !important;
  border: 1px solid rgba(20, 36, 32, 0.1) !important;
}

.pillar-theme-teal {
  background: linear-gradient(160deg, rgba(0, 130, 138, 0.08) 0%, #ffffff 60%) !important;
  border: 1px solid rgba(0, 130, 138, 0.22) !important;
}
.pillar-theme-teal .num { color: var(--teal) !important; }
.pillar-theme-teal h4 { color: var(--teal-dark) !important; }

.pillar-theme-gold {
  background: linear-gradient(160deg, rgba(217, 130, 43, 0.08) 0%, #ffffff 60%) !important;
  border: 1px solid rgba(217, 130, 43, 0.25) !important;
}
.pillar-theme-gold .num { color: var(--gold-dark) !important; }
.pillar-theme-gold h4 { color: var(--gold-dark) !important; }

/* =================== CEO / LEADERSHIP MESSAGE (ITEMS 3 & 4) =================== */
.ceo-message-section {
  background: var(--paper-deep);
  position: relative;
  overflow: hidden;
}
.ceo-card {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  background: #ffffff;
  border-radius: 20px;
  padding: clamp(28px, 4vw, 44px);
  box-shadow: 0 16px 40px rgba(20, 36, 32, 0.06);
  border: 1px solid rgba(20, 36, 32, 0.08);
}
.ceo-figure {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0,0,0,0.1);
  position: relative;
}
.ceo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ceo-kicker {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #123329;
  background: rgba(27, 77, 62, 0.08);
  border: 1px solid rgba(27, 77, 62, 0.18);
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
  display: inline-block;
}
.ceo-title {
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--green-dark);
  line-height: 1.2;
  margin-bottom: 20px;
}
.ceo-quote {
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  line-height: 1.65;
  color: var(--ink);
  font-style: italic;
  position: relative;
  padding-left: 0;
  border-left: none !important;
  margin-bottom: 20px;
}
.ceo-body {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 24px;
}
.ceo-byline {
  border-top: 1px solid rgba(20, 36, 32, 0.1);
  padding-top: 16px;
}
.ceo-name {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--green-dark);
}
.ceo-role {
  font-size: 0.88rem;
  color: var(--teal-dark);
  font-weight: 600;
}
@media (max-width: 860px) {
  .ceo-card {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .ceo-figure {
    max-width: 280px;
    margin-inline: auto;
  }
}

/* =================== CAREER PORTAL (ITEMS 12 & 13) =================== */
.vacancy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 36px;
}
.vacancy-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 28px;
  border: 1px solid rgba(20, 36, 32, 0.09);
  box-shadow: 0 4px 16px rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.vacancy-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(20, 36, 32, 0.09);
  border-color: var(--gold);
}
.vacancy-badge {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(0, 130, 138, 0.1);
  color: var(--teal-dark);
  margin-bottom: 14px;
  align-self: flex-start;
}
.vacancy-title {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--green-dark);
  margin-bottom: 12px;
  line-height: 1.3;
}
.vacancy-summary {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 20px;
  flex: 1;
}
.vacancy-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-block: 14px;
  border-top: 1px solid rgba(20, 36, 32, 0.08);
  font-size: 0.85rem;
  color: var(--ink-faint);
  margin-bottom: 16px;
}
.vacancy-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.vacancy-meta-item strong {
  color: var(--ink);
}
.no-vacancies-box {
  background: #ffffff;
  border-radius: 16px;
  padding: 48px 32px;
  text-align: center;
  border: 1px dashed rgba(20, 36, 32, 0.18);
  max-width: 680px;
  margin-inline: auto;
  margin-block: 40px;
}
.no-vacancies-box h3 {
  font-size: 1.35rem;
  color: var(--green-dark);
  margin-bottom: 10px;
}
.no-vacancies-box p {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.6;
}

/* =================== PDF PUBLICATION VIEWER (ITEM 15) =================== */
.viewer-wrapper {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 90px);
  background: #f1f5f9;
}
.viewer-header {
  background: #ffffff;
  padding: 16px 32px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.viewer-title {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--green-dark);
}
.viewer-frame {
  flex: 1;
  width: 100%;
  border: none;
  background: #525659;
}

/* =================== MOBILE HEADER & DRAWER OVERHAUL (ITEMS 5 & 6) =================== */
@media (max-width: 900px) {
  .nav-toggle {
    display: block !important;
    z-index: 1100;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 360px;
    height: 100vh;
    background: #ffffff;
    box-shadow: -10px 0 30px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    padding: 100px 32px 40px;
    gap: 16px;
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
    z-index: 1050;
    overflow-y: auto;
    box-sizing: border-box;
  }
  .nav-links.open {
    transform: translateX(0);
  }
  .nav-links a {
    font-size: 1.1rem;
    padding: 12px 16px;
    width: 100%;
    border-radius: 8px;
    color: var(--green-dark) !important;
  }
  .nav-links a:hover {
    background: rgba(27, 77, 62, 0.06);
  }
  .nav-cta {
    text-align: center;
    margin-top: 16px;
  }
  .brand img {
    height: clamp(42px, 7vw, 54px);
    max-width: clamp(210px, 60vw, 290px);
  }
}

/* Zero Horizontal Overflow Safeguard */
*, *::before, *::after {
  max-width: 100%;
}
html, body {
  overflow-x: hidden !important;
  width: 100%;
  position: relative;
}


/* =================== ABOUT PROFILE LAYOUT (ITEM 7) =================== */
.about-profile-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.about-lead-text {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 100% !important;
}
@media (max-width: 880px) {
  .about-profile-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .about-feature-box {
    order: 1 !important;
  }
  .about-text-box {
    order: 2 !important;
  }
}

/* =================== PUBLICATIONS REPOSITORY & CARDS (ITEM 14) =================== */
.pub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 36px;
}
.pub-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(20, 36, 32, 0.09);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
}
.pub-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(20, 36, 32, 0.1);
  border-color: var(--teal);
}
.pub-header-strip {
  padding: 20px 24px 16px;
  background: linear-gradient(135deg, rgba(27, 77, 62, 0.05), rgba(0, 130, 138, 0.08));
  border-bottom: 1px solid rgba(20, 36, 32, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pub-tag {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--green-dark);
  color: #ffffff;
}
.pub-date {
  font-size: 0.82rem;
  color: var(--ink-soft);
  font-weight: 600;
}
.pub-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.pub-title {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--green-dark);
  line-height: 1.3;
  margin-bottom: 12px;
}
.pub-summary {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 24px;
  flex: 1;
}
.pub-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: auto;
}
.pub-btn-read {
  flex: 1;
  background: var(--green-dark);
  color: #ffffff !important;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.88rem;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.pub-btn-read:hover {
  background: var(--teal-dark);
}
.pub-btn-download {
  background: var(--paper-deep);
  color: var(--green-dark) !important;
  border: 1px solid rgba(20, 36, 32, 0.12);
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.88rem;
  text-align: center;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.pub-btn-download:hover {
  background: var(--gold);
  color: #ffffff !important;
  border-color: var(--gold);
}

/* =================== JOB DETAILS PAGE (ITEM 12) =================== */
.job-detail-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: clamp(32px, 5vw, 56px);
  align-items: start;
}
.job-content-card {
  background: #ffffff;
  border-radius: 20px;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid rgba(20, 36, 32, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.03);
}
.job-content-card h2 {
  font-family: var(--font-head);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--green-dark);
  margin-top: 32px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(27, 77, 62, 0.1);
}
.job-content-card h2:first-of-type {
  margin-top: 0;
}
.job-content-card p, .job-content-card li {
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--ink-soft);
}
.job-content-card ul {
  padding-left: 20px;
  margin-bottom: 20px;
}
.job-content-card li {
  margin-bottom: 8px;
}
.job-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 100px;
}
.job-sidebar-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 28px;
  border: 1px solid rgba(20, 36, 32, 0.09);
  box-shadow: 0 10px 30px rgba(20, 36, 32, 0.05);
}
.job-sidebar-title {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--green-dark);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(20, 36, 32, 0.08);
}
.job-spec-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}
.job-spec-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.job-spec-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-faint);
}
.job-spec-val {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--green-dark);
}
.job-apply-box {
  background: linear-gradient(135deg, rgba(27, 77, 62, 0.04), rgba(217, 130, 43, 0.08));
  border-radius: 14px;
  padding: 20px;
  border: 1px solid rgba(217, 130, 43, 0.25);
  text-align: center;
}
@media (max-width: 960px) {
  .job-detail-grid {
    grid-template-columns: 1fr;
  }
  .job-sidebar {
    position: static;
  }
}

/* =================== VACANCY CARD META & CONTRAST (ITEMS 9 & 10) =================== */
.vacancy-meta {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 10px !important;
  padding: 16px !important;
  background: #f8fafc !important;
  border-radius: 12px !important;
  border: 1px solid #e2e8f0 !important;
  margin-bottom: 20px !important;
}
.vacancy-meta-item {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
}
.vacancy-meta-item .meta-label {
  font-size: 0.74rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  color: #64748b !important; /* Clean muted grey label */
}
.vacancy-meta-item .meta-val {
  font-size: 0.94rem !important;
  font-weight: 700 !important;
  color: #0f172a !important; /* Deep navy / dark charcoal */
  line-height: 1.35 !important;
}
.vacancy-meta-item.meta-deadline .meta-val {
  color: var(--gold-dark) !important; /* Subtle accent */
}

/* One line headings for Publications & Careers (Items 5 & 7) */
.publications-main-heading,
.career-main-heading {
  white-space: nowrap;
  max-width: 100% !important;
  font-size: clamp(1.75rem, 3.2vw, 2.6rem) !important;
  line-height: 1.2 !important;
}
@media (max-width: 768px) {
  .publications-main-heading,
  .career-main-heading {
    white-space: normal !important;
  }
}

/* Polished Micro-Interactions & Transitions (Item 16) */
.quick-pillar-card,
.pub-card,
.vacancy-card,
.article-card,
.stat-box,
.step-card,
.vetting-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease !important;
}
.quick-pillar-card:hover,
.pub-card:hover,
.vacancy-card:hover,
.article-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 16px 36px rgba(20, 36, 32, 0.09) !important;
}
.btn, .btn-primary, .btn-gold, .nav-cta {
  transition: transform 0.2s ease, background 0.25s ease, box-shadow 0.25s ease !important;
}
.btn:hover, .btn-primary:hover, .btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}
.article-figure img, .ceo-figure img, .img-preview-box img {
  transition: transform 0.45s var(--ease) !important;
}
.article-card:hover .article-figure img,
.img-manage-card:hover .img-preview-thumb {
  transform: scale(1.025);
}

/* ==========================================================================
   BLOG & EDITORIAL DISPATCHES SYSTEM
   ========================================================================== */
.blog-featured-card {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(20, 36, 32, 0.09);
  box-shadow: 0 10px 32px rgba(20, 36, 32, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.blog-featured-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(20, 36, 32, 0.1);
}
.blog-featured-media {
  min-height: 340px;
  position: relative;
  overflow: hidden;
}
.blog-featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-featured-card:hover .blog-featured-media img {
  transform: scale(1.03);
}
.blog-featured-body {
  padding: clamp(28px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.blog-meta-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.blog-tag {
  background: rgba(217, 130, 43, 0.12);
  color: #a85807;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: 999px;
}
.blog-date {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 500;
}
.blog-featured-title {
  font-family: var(--font-heading, "Manrope", sans-serif);
  font-size: clamp(1.4rem, 2.2vw, 1.95rem);
  font-weight: 800;
  line-height: 1.28;
  color: var(--ink, #0f172a);
  margin-bottom: 14px;
}
.blog-featured-excerpt {
  font-size: 1.02rem;
  line-height: 1.65;
  color: #475569;
  margin-bottom: 24px;
}
.blog-author-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid rgba(20, 36, 32, 0.08);
}
.blog-author-byline {
  font-size: 0.92rem;
  color: #64748b;
}
.blog-author-byline strong {
  color: #1e293b;
}

/* Category Filter Pills */
.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cat-pill {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
}
.cat-pill:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #0f172a;
}
.cat-pill.active {
  background: var(--green-deep, #143228);
  border-color: var(--green-deep, #143228);
  color: #ffffff;
}

/* Blog Cards Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 28px;
}
.blog-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(20, 36, 32, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(20, 36, 32, 0.1);
}
.blog-card-media {
  height: 210px;
  position: relative;
  overflow: hidden;
  background: #e2e8f0;
}
.blog-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.blog-card:hover .blog-card-img {
  transform: scale(1.04);
}
.blog-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.blog-card-title {
  font-family: var(--font-heading, "Manrope", sans-serif);
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.36;
  color: var(--ink, #0f172a);
  margin-bottom: 10px;
}
.blog-card-title a {
  color: inherit;
  text-decoration: none;
}
.blog-card-title a:hover {
  color: var(--gold-dark, #b4681b);
}
.blog-card-excerpt {
  font-size: 0.94rem;
  line-height: 1.6;
  color: #64748b;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.blog-card-readmore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--green-deep, #143228);
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
}
.blog-card-readmore:hover {
  color: var(--gold-dark, #b4681b);
  gap: 10px;
}

@media (max-width: 920px) {
  .blog-featured-card {
    grid-template-columns: 1fr;
  }
  .blog-featured-media {
    min-height: 240px;
  }
}
@media (max-width: 640px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   ARTICLE READING VIEW (article.html)
   ========================================================================== */
.article-container {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.article-header {
  padding: clamp(36px, 5vw, 60px) 0 28px;
}
.article-badge {
  display: inline-block;
  background: rgba(217, 130, 43, 0.12);
  color: #a85807;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 14px;
  border-radius: 999px;
}
.article-headline {
  font-family: var(--font-heading, "Manrope", sans-serif);
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.22;
  color: var(--ink, #0f172a);
  margin-top: 14px;
}
.article-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid rgba(20, 36, 32, 0.08);
}
.article-author-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar-placeholder {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
}
.author-name {
  font-weight: 700;
  color: #0f172a;
  font-size: 0.95rem;
}
.meta-separator {
  margin: 0 6px;
  color: #94a3b8;
}
.article-pubdate {
  color: #64748b;
  font-size: 0.9rem;
}
.share-btn-compact {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s ease;
}
.share-btn-compact:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  color: #0f172a;
}
.article-featured-frame {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.08);
  margin-top: 24px;
  background: #f1f5f9;
}
.article-hero-img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

/* Article Prose Typography */
.article-body-prose {
  font-size: clamp(1.06rem, 1.25vw, 1.15rem);
  line-height: 1.82;
  color: #334155;
  margin-top: 36px;
}
.article-body-prose p {
  margin-bottom: 24px;
}
.article-body-prose h2 {
  font-family: var(--font-heading, "Manrope", sans-serif);
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  font-weight: 800;
  color: #0f172a;
  margin-top: 44px;
  margin-bottom: 16px;
  line-height: 1.3;
}
.article-body-prose h3 {
  font-family: var(--font-heading, "Manrope", sans-serif);
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  font-weight: 700;
  color: #0f172a;
  margin-top: 36px;
  margin-bottom: 14px;
  line-height: 1.35;
}
.article-body-prose ul,
.article-body-prose ol {
  padding-left: 28px;
  margin-bottom: 26px;
}
.article-body-prose li {
  margin-bottom: 10px;
}
.article-body-prose blockquote {
  border-left: 4px solid var(--gold-dark, #b4681b);
  background: rgba(217, 130, 43, 0.06);
  padding: 20px 24px;
  border-radius: 0 14px 14px 0;
  margin: 32px 0;
  font-style: italic;
  color: #1e293b;
  font-size: 1.12rem;
  line-height: 1.7;
}

/* Article Footer Engagement */
.article-footer-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.article-footer-share {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.share-prompt {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
}
.share-buttons-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.btn-share {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-share:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #0f172a;
}

/* ==========================================================================
   ANNOUNCEMENTS SYSTEM (programs.html & publication-viewer.html)
   ========================================================================== */
.announcement-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(20, 36, 32, 0.09);
  padding: 28px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.announcement-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(20, 36, 32, 0.09);
}
.announcement-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.announcement-badge {
  background: rgba(0, 130, 138, 0.12);
  color: #00686e;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: 999px;
}
.announcement-date {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 500;
}
.announcement-title {
  font-family: var(--font-heading, "Manrope", sans-serif);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.38;
  color: var(--ink, #0f172a);
  margin-bottom: 12px;
}
.announcement-summary {
  font-size: 0.95rem;
  line-height: 1.62;
  color: #475569;
  margin-bottom: 22px;
}
.announcement-actions {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ==========================================================================
   ABOUT US PROFILE GRID & MOBILE IMAGE-FIRST STACKING
   ========================================================================== */
.about-profile-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.about-text-box {
  display: flex;
  flex-direction: column;
}
.about-lead-text {
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--ink-soft);
}
.about-feature-box {
  width: 100%;
}
.about-feature-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 14px 36px rgba(0,0,0,0.1);
}

@media (max-width: 880px) {
  .about-profile-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .about-feature-box {
    order: 1 !important;
  }
  .about-text-box {
    order: 2 !important;
  }
}

