/* =====================================================================
   AIB Corp Ltd — Design System
   African Infrastructure Building Corporate Limited
   ===================================================================== */

:root {
  /* Brand */
  --navy-900: #07102e;
  --navy-800: #0b1840;
  --navy-700: #122555;
  --navy-600: #1a3374;
  --navy-500: #24468f;
  --aib-blue: #1b8bbe;
  --aib-blue-700: #126f99;
  --aib-blue-300: #6fc0e0;
  --aib-blue-100: #d6eaf8;
  --gold: #b2942a;
  --gold-light: #d2b94e;
  --gold-soft: #efe3b8;
  --ivory: #f7f4ee;
  --sand: #ece6d8;
  --paper: #faf8f3;
  --off-white: #f3f6fa;
  --ink-900: #08112b;
  --ink-700: #1f2a4a;
  --ink-500: #4a5676;
  --ink-400: #6b7693;
  --ink-300: #9aa3bd;
  --line: rgba(10,18,48,0.12);
  --line-dark: rgba(255,255,255,0.14);

  /* Type */
  --serif: "Fraunces", "Playfair Display", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Layout */
  --container: 1320px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 22px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--ink-900);
  background: var(--paper);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }

/* ---------- Type scale ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.015em; line-height: 1.1; margin: 0; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.6rem); font-weight: 400; }
h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); font-weight: 400; }
h3 { font-size: clamp(1.4rem, 2vw, 1.9rem); font-weight: 500; line-height: 1.2; }
h4 { font-size: 1.125rem; font-weight: 600; font-family: var(--sans); letter-spacing: 0; }
p  { margin: 0 0 1em; color: var(--ink-700); }
p.lead { font-size: 1.18rem; color: var(--ink-500); line-height: 1.6; max-width: 64ch; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--aib-blue);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--aib-blue); }
.eyebrow.light { color: var(--gold-light); }
.eyebrow.light::before { background: var(--gold-light); }

.script-accent { font-family: var(--serif); font-style: italic; font-weight: 300; color: var(--aib-blue); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 960px; }
section { padding: clamp(72px, 9vw, 140px) 0; position: relative; }
.section-head { max-width: 780px; margin-bottom: 56px; }
.section-head h2 { margin-top: 14px; }
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.bg-navy   { background: var(--navy-900); color: var(--off-white); }
.bg-navy h1, .bg-navy h2, .bg-navy h3 { color: #fff; }
.bg-navy p { color: rgba(255,255,255,0.75); }
.bg-ivory  { background: var(--ivory); }
.bg-paper  { background: var(--paper); }
.bg-sand   { background: var(--sand); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; letter-spacing: 0.01em;
  background: var(--ink-900); color: #fff;
  transition: transform .35s var(--ease), background .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.btn:hover { background: var(--aib-blue); transform: translateY(-1px); }
.btn:hover svg { transform: translate(3px,-3px); }
.btn-primary { background: var(--aib-blue); }
.btn-primary:hover { background: var(--aib-blue-700); }
.btn-gold { background: var(--gold); color: var(--navy-900); }
.btn-gold:hover { background: var(--gold-light); }
.btn-ghost { background: transparent; color: inherit; border: 1px solid currentColor; }
.btn-ghost:hover { background: #fff; color: var(--navy-900); border-color: #fff; }
.bg-navy .btn-ghost:hover { background: #fff; color: var(--navy-900); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 0.95rem; color: var(--aib-blue);
  border-bottom: 1px solid currentColor; padding-bottom: 3px;
}
.link-arrow svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  padding: 18px 0; transition: background .3s var(--ease), padding .3s var(--ease), box-shadow .3s var(--ease);
  color: #fff;
}
.site-header.scrolled {
  background: rgba(7,16,46,0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  padding: 12px 0;
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}
.site-header.light { color: var(--ink-900); }
.site-header.light.scrolled { background: rgba(250,248,243,0.94); box-shadow: 0 1px 0 var(--line); }

.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: 0.04em; }
.brand-mark { width: 40px; height: 40px; border-radius: 50%; background: var(--navy-900); display: grid; place-items: center; overflow: hidden; box-shadow: 0 0 0 1px rgba(255,255,255,0.12); }
.brand-mark img, .brand-mark svg { width: 100%; height: 100%; display: block; }
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-name .b1 { font-family: var(--serif); font-weight: 500; font-size: 20px; letter-spacing: 0.01em; }
.brand-name .b2 { font-size: 10px; letter-spacing: 0.22em; opacity: 0.7; text-transform: uppercase; margin-top: 4px; }

.nav-menu { display: flex; align-items: center; gap: 30px; }
.nav-menu a { font-size: 0.9rem; font-weight: 500; opacity: 0.9; position: relative; padding: 6px 0; }
.nav-menu a:hover, .nav-menu a.active { opacity: 1; color: var(--aib-blue-300); }
.site-header.light .nav-menu a:hover, .site-header.light .nav-menu a.active { color: var(--aib-blue); }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; width: 36px; height: 36px; border: 1px solid currentColor; border-radius: 50%; align-items: center; justify-content: center; }
.nav-toggle span { width: 14px; height: 1px; background: currentColor; position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 14px; height: 1px; background: currentColor; }
.nav-toggle span::before { top: -4px; } .nav-toggle span::after { top: 4px; }

@media (max-width: 960px) {
  .nav-menu { position: fixed; inset: 0; background: var(--navy-900); color: #fff; flex-direction: column; justify-content: center; gap: 24px; transform: translateX(100%); transition: transform .4s var(--ease); }
  .nav-menu.open { transform: translateX(0); }
  .nav-menu a { font-size: 1.4rem; font-family: var(--serif); }
  .nav-toggle { display: inline-flex; }
  .nav-cta .btn { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; padding: 160px 0 110px; overflow: hidden; color: #fff;
  background:
    radial-gradient(1200px 600px at 70% -10%, rgba(27,139,190,0.22), transparent 60%),
    radial-gradient(900px 500px at 10% 110%, rgba(178,148,42,0.12), transparent 60%),
    linear-gradient(180deg, var(--navy-900), var(--navy-800) 50%, var(--navy-700));
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 80px 80px; opacity: .5; pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: end; }
.hero h1 { color: #fff; font-weight: 300; max-width: 14ch; }
.hero h1 em { font-style: italic; color: var(--aib-blue-300); font-weight: 300; }
.hero .lead { color: rgba(255,255,255,0.72); max-width: 52ch; margin-top: 24px; }
.hero-ctas { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.hero-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 72px; padding-top: 32px; border-top: 1px solid var(--line-dark); max-width: 760px; }
.hero-meta .m-num { font-family: var(--serif); font-size: 2.6rem; font-weight: 400; color: var(--gold-light); line-height: 1; }
.hero-meta .m-label { font-size: 0.78rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-top: 10px; }

.hero-side { align-self: end; }
.hero-side .tag-row { display: flex; flex-direction: column; gap: 16px; font-size: 0.84rem; letter-spacing: 0.08em; color: rgba(255,255,255,0.7); }
.hero-side .tag-row span { display: flex; align-items: center; gap: 10px; }
.hero-side .tag-row span::before { content: ""; width: 8px; height: 8px; border: 1px solid var(--aib-blue-300); transform: rotate(45deg); }

.scroll-hint { position: absolute; left: var(--gutter); bottom: 32px; color: rgba(255,255,255,0.55); font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; display: flex; align-items: center; gap: 12px; z-index: 2; }
.scroll-hint::before { content:""; width: 40px; height: 1px; background: rgba(255,255,255,0.35); }

@media (max-width: 900px) {
  .hero { padding: 140px 0 80px; min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-meta { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .hero-meta .m-num { font-size: 2rem; }
}

/* ---------- Trust bar ---------- */
.trust-bar { padding: 34px 0; background: var(--navy-900); color: #fff; border-top: 1px solid var(--line-dark); }
.trust-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.55); }
.trust-row span { display: inline-flex; align-items: center; gap: 10px; }
.trust-row svg { width: 14px; height: 14px; color: var(--aib-blue-300); }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 34px 30px; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s var(--ease);
  display: flex; flex-direction: column; gap: 14px; height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(8,17,43,0.25); border-color: var(--aib-blue-300); }
.card .icon { width: 54px; height: 54px; border-radius: 12px; background: var(--aib-blue-100); color: var(--aib-blue); display: grid; place-items: center; }
.card .icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.25rem; }
.card p { color: var(--ink-500); margin: 0; }
.card .card-meta { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); font-size: 0.82rem; color: var(--ink-400); display:flex; justify-content: space-between; }

.card-dark {
  background: linear-gradient(180deg, rgba(27,139,190,0.08), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.08); color: rgba(255,255,255,0.85);
}
.card-dark h3 { color: #fff; }
.card-dark p { color: rgba(255,255,255,0.68); }
.card-dark .icon { background: rgba(27,139,190,0.18); color: var(--aib-blue-300); }
.card-dark:hover { border-color: var(--aib-blue); }

.stat-card {
  padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; display: flex; flex-direction: column; gap: 6px;
}
.stat-card .num { font-family: var(--serif); font-size: 2.8rem; font-weight: 400; color: var(--aib-blue); line-height: 1; }
.stat-card .label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-400); }
.stat-card .desc { color: var(--ink-500); font-size: 0.94rem; margin-top: 6px; }
.bg-navy .stat-card { background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.08); }
.bg-navy .stat-card .num { color: var(--gold-light); }
.bg-navy .stat-card .label { color: rgba(255,255,255,0.55); }
.bg-navy .stat-card .desc { color: rgba(255,255,255,0.72); }

/* ---------- Split content ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- Editorial image block ---------- */
.editorial-figure {
  position: relative; aspect-ratio: 5/6; border-radius: var(--radius-md); overflow: hidden;
  background: linear-gradient(145deg, var(--navy-700), var(--navy-900));
}
.editorial-figure .caption { position: absolute; bottom: 18px; left: 18px; right: 18px; color: rgba(255,255,255,0.8); font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; }
.editorial-figure .tag { position: absolute; top: 18px; left: 18px; padding: 6px 12px; border: 1px solid rgba(255,255,255,0.3); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; border-radius: 999px; }

/* ---------- Pillars / Sectors list ---------- */
.pillar-list { border-top: 1px solid var(--line); }
.pillar-item {
  display: grid; grid-template-columns: 80px 1fr auto; gap: 32px; align-items: center;
  padding: 34px 0; border-bottom: 1px solid var(--line); cursor: default;
  transition: padding .3s var(--ease);
}
.pillar-item:hover { padding-left: 8px; }
.pillar-item .p-num { font-family: var(--serif); font-size: 1.6rem; color: var(--aib-blue); font-weight: 400; }
.pillar-item .p-title { font-family: var(--serif); font-size: 1.4rem; font-weight: 500; color: var(--ink-900); }
.pillar-item .p-desc { color: var(--ink-500); font-size: 0.98rem; margin-top: 8px; max-width: 60ch; }
.pillar-item .p-arrow { color: var(--ink-400); transition: color .3s, transform .3s var(--ease); }
.pillar-item:hover .p-arrow { color: var(--aib-blue); transform: translate(4px, -4px); }
.bg-navy .pillar-list { border-color: var(--line-dark); }
.bg-navy .pillar-item { border-color: var(--line-dark); }
.bg-navy .pillar-item .p-title { color: #fff; }
.bg-navy .pillar-item .p-desc { color: rgba(255,255,255,0.7); }
.bg-navy .pillar-item .p-num { color: var(--gold-light); }

/* ---------- Process timeline ---------- */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.timeline::before { content:""; position: absolute; top: 46px; left: 6%; right: 6%; height: 1px; background: var(--line-dark); }
.tl-step { padding: 0 18px; position: relative; }
.tl-step .dot { width: 16px; height: 16px; border-radius: 50%; background: var(--aib-blue); box-shadow: 0 0 0 6px rgba(27,139,190,0.18); margin: 38px 0 22px; position: relative; z-index: 2; }
.tl-step h3 { font-size: 1.25rem; color: #fff; }
.tl-step p { color: rgba(255,255,255,0.7); font-size: 0.96rem; }
.tl-step .num { font-size: 0.75rem; letter-spacing: 0.25em; color: var(--gold-light); text-transform: uppercase; }
@media (max-width: 900px) { .timeline { grid-template-columns: 1fr; } .timeline::before { display:none; } }

/* ---------- Ecosystem triangle ---------- */
.ecosystem { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.eco-node {
  padding: 36px 28px; border-radius: var(--radius-md);
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
  position: relative;
}
.eco-node .e-label { font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--aib-blue-300); margin-bottom: 12px; }
.eco-node h3 { color: #fff; font-size: 1.4rem; margin-bottom: 10px; }
.eco-node p { color: rgba(255,255,255,0.7); font-size: 0.95rem; margin: 0; }
.eco-node.center { background: linear-gradient(145deg, rgba(27,139,190,0.25), rgba(178,148,42,0.12)); border-color: var(--aib-blue); }
@media (max-width: 820px) { .ecosystem { grid-template-columns: 1fr; } }

/* ---------- Funnel ---------- */
.funnel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.funnel-row { padding: 40px 32px; border-radius: var(--radius-md); color: #fff; }
.funnel-row.r1 { background: linear-gradient(135deg, #1b8bbe, #126f99); }
.funnel-row.r2 { background: linear-gradient(135deg, #126f99, #0d4b72); }
.funnel-row.r3 { background: linear-gradient(135deg, #0d4b72, #07102e); border: 1px solid var(--gold); }
.funnel-row .pct { font-family: var(--serif); font-size: 3.6rem; font-weight: 400; line-height: 1; }
.funnel-row .lab { font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; margin-top: 10px; opacity: 0.8; }
.funnel-row .desc { margin-top: 12px; font-size: 0.92rem; opacity: 0.8; max-width: 30ch; }
@media (max-width: 800px) { .funnel { grid-template-columns: 1fr; } }

/* ---------- Risk allocation bar ---------- */
.risk-list { display: grid; gap: 18px; }
.risk-row { display: grid; grid-template-columns: 70px 1fr 220px; gap: 20px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line-dark); }
.risk-row .rpct { font-family: var(--serif); font-size: 1.8rem; color: var(--gold-light); font-weight: 400; }
.risk-row .rname { color: #fff; font-weight: 500; }
.risk-row .rbar { height: 6px; background: rgba(255,255,255,0.1); border-radius: 999px; overflow: hidden; position: relative; }
.risk-row .rbar span { display:block; height: 100%; background: linear-gradient(90deg, var(--aib-blue), var(--gold-light)); border-radius: 999px; }
@media (max-width: 700px) { .risk-row { grid-template-columns: 60px 1fr; } .risk-row .rbar { grid-column: 1/-1; } }

/* ---------- Sectors grid ---------- */
.sector-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; background: #fff; }
.sector-tile {
  padding: 34px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 14px;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.sector-tile:hover { background: var(--navy-900); color: #fff; }
.sector-tile:hover .s-icon { color: var(--gold-light); }
.sector-tile:hover .s-meta { color: rgba(255,255,255,0.6); border-color: rgba(255,255,255,0.15); }
.sector-tile .s-icon { color: var(--aib-blue); }
.sector-tile .s-icon svg { width: 36px; height: 36px; }
.sector-tile h3 { font-size: 1.2rem; }
.sector-tile .s-meta { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-400); padding-top: 14px; border-top: 1px solid var(--line); margin-top: auto; }

/* ---------- SDG badges ---------- */
.sdg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 20px; }
.sdg {
  padding: 26px 22px; border-radius: var(--radius-md); color: #fff; display: flex; flex-direction: column; gap: 8px;
  min-height: 180px;
}
.sdg .sdg-num { font-family: var(--serif); font-size: 2.2rem; font-weight: 400; line-height: 1; }
.sdg .sdg-title { font-weight: 600; font-size: 0.95rem; letter-spacing: 0.04em; }
.sdg .sdg-desc { font-size: 0.86rem; opacity: 0.85; margin-top: auto; }
.sdg-6 { background: #26bde2; }
.sdg-7 { background: #fcc30b; color: var(--navy-900); }
.sdg-9 { background: #fd6925; }
.sdg-13 { background: #3f7e44; }
.sdg-17 { background: #19486a; }

/* ---------- CTA band ---------- */
.cta-band {
  padding: clamp(80px, 10vw, 140px) 0;
  background:
    radial-gradient(700px 400px at 80% 50%, rgba(27,139,190,0.25), transparent 60%),
    linear-gradient(120deg, var(--navy-900), var(--navy-700));
  color: #fff; position: relative; overflow: hidden;
}
.cta-band h2 { max-width: 18ch; }
.cta-band p { max-width: 60ch; color: rgba(255,255,255,0.75); }
.cta-band .cta-actions { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; }
.cta-band .cta-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 900px) { .cta-band .cta-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,0.7); padding: 80px 0 40px; border-top: 1px solid var(--line-dark); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; margin-bottom: 60px; }
.site-footer h4 { color: #fff; font-size: 0.82rem; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 18px; font-weight: 600; }
.site-footer ul { display: flex; flex-direction: column; gap: 10px; font-size: 0.94rem; }
.site-footer a:hover { color: var(--aib-blue-300); }
.footer-brand p { max-width: 40ch; font-size: 0.94rem; margin-top: 16px; }
.footer-bottom { padding-top: 24px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 0.82rem; color: rgba(255,255,255,0.5); }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Sub-hero (inner pages) ---------- */
.page-hero {
  position: relative; padding: 170px 0 90px; color: #fff; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(27,139,190,0.2), transparent 60%),
    linear-gradient(180deg, var(--navy-900), var(--navy-800));
}
.page-hero::after {
  content:""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 80px 80px; opacity: .4;
}
.page-hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: end; }
.page-hero h1 { color: #fff; font-weight: 300; max-width: 16ch; }
.page-hero p { color: rgba(255,255,255,0.72); max-width: 52ch; }
.breadcrumbs { display: flex; gap: 8px; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 18px; }
.breadcrumbs a:hover { color: var(--aib-blue-300); }
@media (max-width: 820px) { .page-hero-inner { grid-template-columns: 1fr; } }

/* ---------- Quote ---------- */
.pullquote {
  border-left: 2px solid var(--aib-blue); padding: 8px 0 8px 28px; font-family: var(--serif); font-size: 1.6rem; line-height: 1.35; color: var(--ink-900); font-weight: 400; max-width: 50ch;
}
.bg-navy .pullquote { color: #fff; border-color: var(--gold-light); }

/* ---------- Values strip ---------- */
.values-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.values-row > div { padding: 40px 28px; border-right: 1px solid var(--line); }
.values-row > div:last-child { border-right: 0; }
.values-row h4 { font-family: var(--serif); font-weight: 500; font-size: 1.2rem; letter-spacing: -0.01em; margin-bottom: 8px; }
.values-row p { font-size: 0.94rem; color: var(--ink-500); margin:0; }
@media (max-width: 820px) { .values-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .values-row { grid-template-columns: 1fr; } .values-row > div { border-right: 0; border-bottom: 1px solid var(--line);} }

/* ---------- Map-ish accent ---------- */
.map-accent { position: relative; aspect-ratio: 4/3; border-radius: var(--radius-md); overflow: hidden; background: radial-gradient(500px 300px at 50% 40%, rgba(27,139,190,0.35), transparent 70%), var(--navy-800); border: 1px solid rgba(255,255,255,0.08); }
.map-accent svg { width: 100%; height: 100%; opacity: 0.78; }
.map-accent .pins { position: absolute; inset: 0; pointer-events: none; }

/* ---------- Form ---------- */
.form { display: grid; gap: 20px; max-width: 720px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-400); }
.field input, .field select, .field textarea {
  font: inherit; padding: 14px 16px; border: 1px solid var(--line); border-radius: 8px;
  background: #fff; color: var(--ink-900); transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--aib-blue); box-shadow: 0 0 0 3px rgba(27,139,190,0.15); }
.field textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: 0.82rem; color: var(--ink-400); }
@media (max-width: 700px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- Small helpers ---------- */
.muted { color: var(--ink-400); }
.mt-0 { margin-top: 0; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mb-6 { margin-bottom: 24px; }
.tight { line-height: 1.05; }
.small { font-size: 0.88rem; }
.divider { height: 1px; background: var(--line); width: 100%; margin: 40px 0; }
.bg-navy .divider { background: var(--line-dark); }
.pill { display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; border: 1px solid currentColor; }

/* ---------- Leadership / CEO ---------- */
.leadership { display: grid; grid-template-columns: 0.9fr 1.3fr; gap: 60px; align-items: center; }
.leader-figure {
  position: relative; aspect-ratio: 4/5; border-radius: var(--radius-md); overflow: hidden;
  background: linear-gradient(145deg, var(--navy-700), var(--navy-900));
  border: 1px solid rgba(255,255,255,0.08);
}
.leader-figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.leader-figure::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(7,16,46,0.85) 100%);
  pointer-events: none;
}
.leader-figure .leader-cap {
  position: absolute; left: 22px; right: 22px; bottom: 20px; color: #fff; z-index: 2;
}
.leader-figure .leader-cap .role {
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 6px;
}
.leader-figure .leader-cap .name {
  font-family: var(--serif); font-size: 1.5rem; font-weight: 500;
}
.leader-body .lead-chip {
  display: inline-flex; gap: 8px; flex-wrap: wrap; margin-top: 18px;
}
.leader-body .lead-chip span {
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-500);
}
.bg-navy .leader-body .lead-chip span { border-color: rgba(255,255,255,0.18); color: rgba(255,255,255,0.75); }
.leader-figure.no-image { background:
  radial-gradient(500px 400px at 30% 20%, rgba(27,139,190,0.25), transparent 60%),
  linear-gradient(145deg, var(--navy-700), var(--navy-900));
}
.leader-placeholder {
  position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,0.18);
  font-family: var(--serif); font-size: 7rem; font-weight: 400;
}
@media (max-width: 820px) { .leadership { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- WhatsApp floating link ---------- */
.whatsapp-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 50;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px 12px 14px; border-radius: 999px;
  background: #25D366; color: #0b2e1a; font-weight: 600; font-size: 0.88rem;
  box-shadow: 0 12px 36px -10px rgba(37,211,102,0.6);
  transition: transform .3s var(--ease); letter-spacing: 0.01em;
}
.whatsapp-fab:hover { transform: translateY(-2px); color: #0b2e1a; }
.whatsapp-fab svg { width: 20px; height: 20px; }
@media (max-width: 520px) { .whatsapp-fab span { display: none; } .whatsapp-fab { padding: 14px; } }

/* ---------- Legal prose ---------- */
.legal-prose h2 { font-family: var(--serif); font-weight: 500; font-size: 1.6rem; margin-top: 40px; color: var(--navy-900); }
.legal-prose h2:first-child { margin-top: 0; }
.legal-prose h3 { font-family: var(--sans); font-weight: 600; font-size: 1.02rem; margin-top: 22px; letter-spacing: 0.01em; color: var(--navy-800); }
.legal-prose p, .legal-prose ul { color: var(--ink-600); font-size: 1rem; line-height: 1.75; margin-top: 14px; }
.legal-prose ul { padding-left: 20px; }
.legal-prose li { margin-top: 6px; }
.legal-prose a { color: var(--aib-blue); border-bottom: 1px solid rgba(27,139,190,0.3); }
.legal-prose a:hover { border-bottom-color: var(--aib-blue); }

/* ---------- Footer legal row ---------- */
.footer-legal { color: rgba(255,255,255,0.55); font-size: 0.85rem; }
.footer-legal a { color: rgba(255,255,255,0.75); margin: 0 2px; }
.footer-legal a:hover { color: #fff; }
@media (max-width: 720px) { .footer-bottom { flex-direction: column; gap: 10px; text-align: center; } }

/* ---------- Consent banner ---------- */
.consent-banner {
  position: fixed; left: 18px; right: 18px; bottom: 18px; z-index: 100;
  display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center;
  padding: 18px 22px; border-radius: var(--radius-md);
  background: var(--navy-900); color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.55);
  font-size: 0.88rem; line-height: 1.55;
  max-width: 960px; margin: 0 auto;
}
.consent-banner strong { color: #fff; }
.consent-banner a { color: var(--gold-light); text-decoration: underline; }
.consent-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.consent-actions .btn { padding: 10px 16px; font-size: 0.82rem; }
@media (max-width: 720px) { .consent-banner { grid-template-columns: 1fr; } .consent-actions { justify-content: stretch; } .consent-actions .btn { flex: 1; } }

/* prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
