/* ---- Self-hosted fonts (was fonts.googleapis.com; now /fonts/ for privacy) ---- */
/* latin-ext */
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/dmmono-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/dmmono-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/dmmono-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/dmmono-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'DM Serif Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/dmserifdisplay-400i-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Serif Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/dmserifdisplay-400i-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'DM Serif Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/dmserifdisplay-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Serif Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/dmserifdisplay-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/outfit-300-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/outfit-300-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/outfit-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/outfit-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/outfit-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/outfit-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/outfit-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/outfit-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/outfit-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/outfit-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================================
   IsoGentiX — Phase 2 public site
   Aligned to the IsoGentiX brand (light):
   navy #0A1628 + blue #0E5BD6 + green #15A60A, no gold.
   Fonts: DM Serif Display / Outfit / DM Mono.
   Matches the IsoGentiX Flora Portal so site + portal feel as one.
   ============================================================ */

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

/* ---- Brand tokens (from portal brand.css) ---- */
:root {
  --navy:        #0A1628;
  --blue:        #0E5BD6;
  --blue-strong: #0A47A8;
  --green:       #15A60A;
  --green-strong:#0F7A06;
  --green-bright:#2FD11A;
  --page:        #F8FAFC;   /* light page background */
  --white:       #FFFFFF;
  --pale-blue:   #E8F2FB;
  --cool-grey:   #EEF2F7;
  --pale-green:  #E5F5E4;

  /* extended blue family (gold retired; these blues permitted) */
  --ocean-blue:  #1B4F8A;
  --sapphire:    #2E7BC4;
  --sky-blue:    #5BA8E8;

  --ink:        #16202E;    /* body text */
  --ink-soft:   #47566B;    /* muted body */
  --ink-faint:  #7A8698;    /* captions */
  --line:       rgba(10,22,40,0.14);
  --line-soft:  rgba(10,22,40,0.08);

  /* aliases so existing markup keeps resolving on-brand */
  --paper:   var(--page);
  --paper-2: var(--white);
  --paper-3: var(--cool-grey);
  --leaf:      var(--blue);        /* primary role */
  --leaf-deep: var(--navy);        /* dark surfaces */
  --leaf-tint: var(--pale-blue);
  --ochre:      var(--green);      /* accent role */
  --ochre-deep: var(--green-strong);

  --font-display: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --font-body:    'Outfit', system-ui, -apple-system, sans-serif;
  --font-mono:    'DM Mono', ui-monospace, Menlo, monospace;

  --wrap: 1180px;
  --wrap-narrow: 760px;

  --s1: 0.5rem;  --s2: 0.75rem; --s3: 1rem;   --s4: 1.5rem;
  --s5: 2rem;    --s6: 3rem;    --s7: 4.5rem;  --s8: 6.5rem;

  --radius: 8px;
  --ease: cubic-bezier(0.4, 0.0, 0.2, 1);
}

/* ---- 4px brand strip ---- */
.brand-strip { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 200; background: linear-gradient(90deg, var(--navy) 0%, var(--ocean-blue) 28%, var(--blue) 55%, var(--sky-blue) 74%, var(--green) 100%); }

/* ---- Base ---- */
body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.5rem; }
.narrow { max-width: var(--wrap-narrow); margin-left: auto; margin-right: auto; }

/* ---- Type ---- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.14; color: var(--navy); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.55rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
h4 { font-size: 1.05rem; }
p { max-width: 68ch; }
em { font-style: italic; }
strong { font-weight: 600; }

.overline {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-strong);
}
.lede { font-size: clamp(1.08rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--ink-soft); font-weight: 300; }

/* ---- Links ---- */
.link {
  color: var(--blue); text-decoration: none; font-weight: 500;
  background-image: linear-gradient(var(--green), var(--green));
  background-size: 0% 1.5px; background-repeat: no-repeat;
  background-position: 0 100%; transition: background-size 0.3s var(--ease);
  padding-bottom: 2px;
}
.link:hover { background-size: 100% 1.5px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-body); font-weight: 600; font-size: 0.98rem;
  letter-spacing: 0.005em; text-decoration: none; cursor: pointer;
  padding: 0.82rem 1.6rem; border-radius: var(--radius);
  border: 1px solid transparent; min-height: 48px;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn .arr { transition: transform 0.25s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-strong); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(14,91,214,0.26); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy); transform: translateY(-1px); }
/* green-strong (5.5:1 on white) not green (3.2:1) so button text meets WCAG AA */
.btn-gold, .btn-green { background: var(--green-strong); color: #fff; }
.btn-gold:hover, .btn-green:hover { background: #0C6304; color: #fff; transform: translateY(-1px); box-shadow: 0 8px 22px rgba(15,122,6,0.30); }

/* ---- Header ---- */
.skip-nav { position: absolute; left: -9999px; }
.skip-nav:focus { left: 1rem; top: 1rem; z-index: 210; background: var(--navy); color: #fff; padding: 0.6rem 1rem; border-radius: var(--radius); }

.site-header {
  position: sticky; top: 4px; z-index: 100;
  background: #F8FAFC;
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-logo { display: inline-flex; align-items: center; text-decoration: none; }
.nav-logo img { height: 36px; width: auto; }
.nav-links { list-style: none; display: flex; align-items: center; gap: 1.7rem; }
.nav-links a {
  font-family: var(--font-body); font-size: 0.94rem; font-weight: 500;
  color: var(--navy); text-decoration: none;
  position: relative; padding: 0.3rem 0; transition: color 0.2s var(--ease);
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--green); transition: width 0.28s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--blue); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links .nav-cta { background: var(--blue); color: #fff; padding: 0.58rem 1.15rem; border-radius: var(--radius); font-weight: 600; }
.nav-links .nav-cta::after { display: none; }
.nav-links .nav-cta:hover { background: var(--blue-strong); color: #fff; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); transition: 0.3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  position: fixed; inset: 76px 0 auto 0; background: var(--white);
  border-bottom: 1px solid var(--line); transform: translateY(-130%);
  transition: transform 0.35s var(--ease); z-index: 99; padding: 1rem 1.5rem 2rem;
  box-shadow: 0 12px 32px rgba(10,22,40,0.12);
}
.nav-mobile.open { transform: translateY(0); }
.nav-mobile ul { list-style: none; }
.nav-mobile a { display: block; padding: 0.9rem 0; font-size: 1.1rem; font-family: var(--font-display); color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--line-soft); }
.nav-mobile .m-tag { margin-top: 1.4rem; font-family: var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.7rem; color: var(--green-strong); }

/* ---- Sections ---- */
section { position: relative; }
.section { padding: var(--s8) 0; }
.section-sm { padding: var(--s7) 0; }
.section-head { max-width: 720px; margin-bottom: var(--s6); }
.section-head .overline { display: block; margin-bottom: 1rem; }
.section-head h2 { margin-bottom: 1rem; }

.rule { height: 1px; background: var(--line); border: 0; }
.eyebrow-rule { display: inline-block; width: 44px; height: 3px; background: var(--green); border-radius: 2px; margin-bottom: 1.3rem; }

.panel-white { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 1px 3px rgba(10,22,40,0.05); }

/* ---- Hero ---- */
.hero { padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(3rem, 6vw, 5rem); position: relative; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 55% 50% at 84% 6%, rgba(21,166,10,0.09), transparent 60%),
    radial-gradient(ellipse 70% 60% at 8% 100%, rgba(14,91,214,0.08), transparent 62%);
}
.hero .overline { margin-bottom: 1.5rem; display: inline-block; }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); max-width: 15ch; margin-bottom: 1.5rem; }
.hero h1 em { color: var(--green); font-style: italic; }
.hero .lede { max-width: 56ch; margin-bottom: 2.3rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* ---- Mission triad ---- */
.triad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.triad > div { background: var(--white); padding: 2.1rem 1.8rem; }
.triad h3 { color: var(--blue); margin-bottom: 0.6rem; }
.triad .n { font-family: var(--font-mono); font-size: 0.85rem; color: var(--green-strong); display: block; margin-bottom: 0.8rem; letter-spacing: 0.04em; }
.triad p { font-size: 0.98rem; color: var(--ink-soft); }

/* ---- Dark band ---- */
.band-dark { background: var(--navy); color: rgba(255,255,255,0.85); }
.band-dark h1, .band-dark h2, .band-dark h3, .band-dark h4 { color: #fff; }
.band-dark .overline { color: var(--green-bright); }
.band-dark p { color: rgba(255,255,255,0.78); }
.band-dark .rule { background: rgba(255,255,255,0.16); }

/* ---- Split ---- */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split .panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.1rem; box-shadow: 0 1px 3px rgba(10,22,40,0.05); }
.figure-frame { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); padding: 1rem; position: relative; box-shadow: 0 1px 3px rgba(10,22,40,0.05); }

/* ---- Cards ---- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem; text-decoration: none; color: inherit; display: flex; flex-direction: column;
  box-shadow: 0 1px 3px rgba(10,22,40,0.05);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(10,22,40,0.12); border-color: var(--blue); }
.card .k { font-family: var(--font-mono); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green-strong); margin-bottom: 0.9rem; }
.card h3 { font-size: clamp(1.4rem, 2.1vw, 1.7rem); margin-bottom: 0.6rem; }
.card p { font-size: 0.95rem; color: var(--ink-soft); margin-bottom: 1.1rem; }
.card .more { margin-top: auto; font-weight: 600; color: var(--blue); font-size: 0.92rem; }

/* ---- Side box (portal specimens) ---- */
.sidebox { background: var(--pale-blue); border-left: 4px solid var(--blue); border-radius: var(--radius); padding: 1.6rem 1.8rem; }
.sidebox h4 { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); margin-bottom: 1rem; }
.sidebox ul { list-style: none; display: grid; gap: 0.85rem; }
.sidebox li { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.95rem; border-bottom: 1px solid rgba(10,22,40,0.08); padding-bottom: 0.75rem; }
.sidebox li:last-child { border-bottom: none; padding-bottom: 0; }
.sidebox li .n { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--navy); white-space: nowrap; }
.sidebox li em { color: var(--ink-soft); font-style: italic; }

/* ---- KPI tiles ---- */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; }
.kpi { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: var(--radius); padding: 1.3rem 1.4rem; box-shadow: 0 1px 3px rgba(10,22,40,0.05); }
.kpi.green { border-left-color: var(--green); }
.kpi .v { font-family: var(--font-display); font-size: 2rem; color: var(--navy); line-height: 1; font-variant-numeric: tabular-nums; }
.kpi .l { font-size: 0.88rem; color: var(--ink-soft); margin-top: 0.4rem; }

/* ---- Source chips ---- */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { font-family: var(--font-mono); font-size: 0.8rem; background: var(--pale-blue); color: var(--blue); border-radius: 999px; padding: 0.35rem 0.85rem; }
.chip.cc { background: var(--pale-green); color: var(--green-strong); }

/* ---- Portal / accent bands ---- */
.portal-band { background: var(--navy); color: #fff; border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.1rem) clamp(1.7rem, 3.5vw, 2.6rem); display: grid; grid-template-columns: 1fr auto; gap: 1.5rem 2rem; align-items: center; }
.portal-band h2 { color: #fff; margin-bottom: 0.4rem; font-size: clamp(1.4rem, 2.4vw, 1.85rem); }
.portal-band p { color: rgba(255,255,255,0.9); max-width: 60ch; font-size: 0.98rem; }

.note-band { background: var(--pale-green); border: 1px solid rgba(21,166,10,0.25); border-radius: var(--radius); padding: 1.5rem 1.8rem; }
.note-band strong { color: var(--green-strong); }

/* ---- Values ---- */
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 3rem; max-width: 880px; margin: 0 auto; text-align: left; }
.value h4 { font-family: var(--font-display); font-size: 1.5rem; color: var(--blue); margin-bottom: 0.45rem; }
.value p { font-size: 0.98rem; color: var(--ink-soft); line-height: 1.55; }

/* ---- Footer ---- */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.78); padding: var(--s7) 0 2rem; }
.site-footer a { color: rgba(255,255,255,0.78); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer-brand img { height: 32px; margin-bottom: 1.1rem; }
.footer-brand p { font-size: 0.95rem; color: rgba(255,255,255,0.62); max-width: 34ch; }
.footer-col h4 { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-bright); margin-bottom: 1rem; font-weight: 500; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.6rem; font-size: 0.95rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.16); padding-top: 1.6rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: 0.85rem; color: rgba(255,255,255,0.5); }
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem; }
.footer-legal a { color: rgba(255,255,255,0.62); text-decoration: none; }
.footer-legal a:hover { color: var(--green-bright); }
.footer-legal .gdpr { color: rgba(255,255,255,0.4); font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.04em; text-transform: uppercase; }

/* ---- Article body (portal / resources prose) ---- */
.prose { max-width: 720px; }
.prose > * + * { margin-top: 1.2rem; }
.prose h2 { margin-top: 2.5rem; }
.prose h3 { margin-top: 1.8rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: 0.5rem; }
.prose a { color: var(--blue); font-weight: 500; }

/* ---- Resource list ---- */
.res-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.res { display: block; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.6rem; text-decoration: none; color: inherit; box-shadow: 0 1px 3px rgba(10,22,40,0.05); transition: border-color 0.2s var(--ease), transform 0.2s var(--ease); }
.res:hover { border-color: var(--blue); transform: translateY(-2px); }
.res .rk { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green-strong); }
.res h4 { margin: 0.4rem 0 0.3rem; color: var(--navy); }
.res p { font-size: 0.9rem; color: var(--ink-soft); }
.res .host { font-family: var(--font-mono); font-size: 0.78rem; color: var(--blue); margin-top: 0.6rem; }

/* ============================================================
   IMAGE-LED SYSTEM (parallax, Ken Burns, splits, big type)
   ============================================================ */

/* ---- Transparent header over hero, solid on scroll ---- */
/* Transparent over a hero. No dark overlay layer (its semi-transparent bottom
   edge left a 1px seam under the sticky header); nav legibility comes from a
   text-shadow plus the hero's own darkening gradient instead. */
.site-header.over { background: transparent; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header.over .nav-links a, .site-header.over .nav-cta { text-shadow: 0 1px 2px rgba(0,0,0,0.6), 0 2px 12px rgba(0,0,0,0.5); }
.site-header.over .nav-links a { color: #fff; }
.site-header.over .nav-links a:hover, .site-header.over .nav-links a.active { color: #fff; }
.site-header.over .nav-links a::after { background: var(--green-bright); }
.site-header.over .nav-toggle span { background: #fff; }
.site-header .logo-dark { display: block; }
.site-header .logo-light { display: none; }
.site-header.over .logo-dark { display: none; }
.site-header.over .logo-light { display: block; }

/* ---- Full-bleed Ken Burns hero ---- */
.hero-full { position: relative; min-height: 84vh; display: flex; align-items: flex-end; overflow: hidden; color: #fff; margin-top: -76px; }
.hero-full .kb {
  position: absolute; inset: -1px; z-index: 0;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  animation: kenburns 22s ease-out infinite alternate;
  will-change: transform; backface-visibility: hidden;
}
@keyframes kenburns { from { transform: scale(1.04) translate(0,0); } to { transform: scale(1.16) translate(-1.5%, -2%); } }
.hero-full::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(10,22,40,0.34) 0%, rgba(10,22,40,0.05) 40%, rgba(10,22,40,0.58) 100%);
}
.hero-full .hero-inner { position: relative; z-index: 2; width: 100%; padding: 0 0 clamp(3rem, 7vw, 6rem); }
.hero-full .overline { color: var(--green-bright); }
.hero-full h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.5rem); line-height: 1.08; max-width: 16ch; text-shadow: 0 2px 30px rgba(0,0,0,0.35); }
.hero-full h1 em { color: var(--green-bright); font-style: italic; }
.hero-full .hero-sub { font-size: clamp(1.1rem, 2vw, 1.5rem); color: rgba(255,255,255,0.95); max-width: 46ch; margin: 1.4rem 0 2rem; font-weight: 300; text-shadow: 0 1px 3px rgba(0,0,0,0.6), 0 2px 18px rgba(0,0,0,0.4); }
.scroll-cue { position: absolute; left: 50%; bottom: 1.5rem; transform: translateX(-50%); z-index: 2; color: rgba(255,255,255,0.7); font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; animation: bob 2s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 6px); } }

/* ---- Parallax feature band ---- */
.parallax { position: relative; background-size: cover; background-position: center; background-attachment: fixed; color: #fff; padding: clamp(5rem, 12vw, 9rem) 0; }
.parallax::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,22,40,0.30) 0%, rgba(10,22,40,0.22) 45%, rgba(10,22,40,0.5) 100%); }
.parallax .wrap { position: relative; z-index: 1; }
.parallax h2, .parallax h1 { color: #fff; }
.parallax .overline { color: var(--green-bright); }
.parallax .overline, .parallax h1, .parallax h2, .parallax .stat-huge, .parallax .stat-lead { text-shadow: 0 1px 3px rgba(0,0,0,0.6), 0 2px 22px rgba(0,0,0,0.45); }

/* huge stat block for parallax */
.stat-huge { font-family: var(--font-display); font-size: clamp(3.5rem, 11vw, 8rem); line-height: 0.95; color: #fff; }
.stat-huge .u { color: var(--green-bright); }
.stat-lead { font-size: clamp(1.3rem, 2.5vw, 2rem); font-family: var(--font-display); color: #fff; max-width: 22ch; }

/* ---- Image split (alternating) ---- */
.img-split { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; min-height: clamp(420px, 55vw, 620px); }
.img-split .media { position: relative; overflow: hidden; background: var(--cool-grey); }
.img-split .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: kenburns-soft 24s ease-in-out infinite alternate; will-change: transform; backface-visibility: hidden; }
@keyframes kenburns-soft { from { transform: scale(1.03) translate(0, 0); } to { transform: scale(1.085) translate(-1.2%, -1.2%); } }
.img-split .body { display: flex; flex-direction: column; justify-content: center; padding: clamp(2.5rem, 6vw, 5.5rem); }
.img-split.reverse .media { order: 2; }
.img-split.dark { background: var(--navy); color: rgba(255,255,255,0.82); }
.img-split.dark h2, .img-split.dark h3 { color: #fff; }
.img-split.dark .overline { color: var(--green-bright); }
.img-split .body h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin: 0.8rem 0 1rem; }
.img-split .body p { font-size: 1.1rem; }
.img-split .kicker-num { font-family: var(--font-display); font-size: clamp(2.6rem, 6vw, 4rem); color: var(--green); line-height: 1; margin-bottom: 0.4rem; }
.img-split.dark .kicker-num { color: var(--green-bright); }

/* Six-logo strip of the founders' enterprises */
.logo-strip { list-style: none; margin: clamp(2rem, 4vw, 3rem) 0 0; padding: 0; display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: center; gap: clamp(1.6rem, 4vw, 3.4rem); }
.logo-strip li.has-cap { flex-direction: column; align-items: center; gap: 0.45rem; }
.logo-cap { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.02em; color: var(--ink-faint); text-align: center; }
.logo-cap a { color: var(--blue); text-decoration: none; }
.logo-cap a:hover { color: var(--green); }
.logo-strip li { display: flex; align-items: center; }
.logo-strip img { height: 44px; width: auto; max-width: 170px; object-fit: contain; }
.logo-strip a { display: flex; align-items: center; transition: opacity .2s var(--ease); }
.logo-strip a:hover { opacity: 0.72; }
.founder-roles { max-width: 68ch; margin: clamp(1.8rem, 3vw, 2.4rem) auto 0; text-align: center; font-size: 0.98rem; line-height: 1.75; color: var(--ink-soft); }
.founder-roles strong { color: var(--ink); font-weight: 600; }
@media (max-width: 640px) {
  .logo-strip { gap: 1.5rem 1.8rem; }
  .logo-strip img { height: 34px; max-width: 130px; }
}

/* What We Do — the five moves explained, one numbered step per row */
.moves { display: grid; gap: 0; max-width: 940px; margin: 0 auto; }
.move { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.2rem, 3.5vw, 3rem); align-items: start; padding: clamp(1.6rem, 3.5vw, 2.6rem) 0; border-top: 1px solid var(--line-soft); }
.move:first-child { border-top: 0; padding-top: 0; }
.move-n { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1; color: var(--green); }
.move-body .overline { display: block; margin-bottom: 0.4rem; }
.move-body h3 { font-family: var(--font-display); font-size: clamp(1.4rem, 2.7vw, 2.1rem); line-height: 1.12; margin: 0 0 0.7rem; }
.move-body p { font-size: 1.02rem; line-height: 1.7; color: var(--ink-soft); }
.move-body p + p { margin-top: 0.8rem; }
@media (max-width: 640px) { .move { grid-template-columns: 1fr; gap: 0.4rem; } }

/* "Decades of delivery" — two columns. Clean cooking occupies the whole right
   column because it carries the mosaic, which needs height to stay clickable;
   BushProof/Medair and Clean water stack down the left. */
.dd-section { background: var(--cool-grey); padding: clamp(2.2rem, 5vw, 4rem) 0; }
.dd-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "a c" "b c"; gap: clamp(1.1rem, 2.2vw, 1.7rem); align-items: start; }
.dd-a { grid-area: a; } .dd-b { grid-area: b; } .dd-c { grid-area: c; }
.dd-card { background: #fff; border-radius: var(--radius); padding: clamp(1.4rem, 2.8vw, 2.1rem); }
.dd-card h3 { font-family: var(--font-display); font-size: clamp(1.45rem, 2.5vw, 1.95rem); line-height: 1.15; margin: 0.5rem 0 0.9rem; }
.dd-card p { font-size: 0.97rem; line-height: 1.65; color: var(--ink-soft); }
.dd-card p + p { margin-top: 0.8rem; }
.dd-card .venture-logos { gap: 1.1rem; margin-bottom: 0.6rem; }
.dd-card .venture-logos img { height: 36px; max-width: 140px; }
.dd-stats { display: flex; flex-wrap: wrap; gap: 1.1rem 2rem; margin: 0 0 1.1rem; }
.dd-stats .n { display: block; font-family: var(--font-display); font-size: clamp(1.55rem, 2.9vw, 2.05rem); color: var(--green); line-height: 1; }
.dd-stats .l { display: block; font-size: 0.76rem; color: var(--ink-faint); margin-top: 0.35rem; line-height: 1.35; max-width: 15ch; }
.dd-c .mosaic-embed { margin-top: 1.3rem; }
.dd-c .mosaic-live { height: clamp(520px, 62vh, 780px); }
@media (max-width: 900px) {
  .dd-grid { grid-template-columns: 1fr; grid-template-areas: "a" "b" "c"; }
}

/* Full-width founding-enterprise bands */
.venture-band { padding: clamp(2.8rem, 6vw, 5rem) 0; }
.venture-band.tint { background: var(--cool-grey); }
.vb-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 5vw, 4rem); align-items: center; }
.vb-inner.with-art { grid-template-columns: auto 1fr; }
.vb-title { font-family: var(--font-display); font-size: clamp(1.7rem, 3.2vw, 2.5rem); line-height: 1.15; margin: 0.7rem 0 0; }
.vb-inner p { font-size: 1.02rem; line-height: 1.65; color: var(--ink-soft); }
.vb-inner p + p { margin-top: 0.9rem; }
.vb-links { font-size: 0.95rem; margin-top: 0.9rem; }
.venture-band .venture-logos { gap: 1.1rem; margin-bottom: 0.9rem; }
.venture-band .venture-logos img { height: 40px; max-width: 160px; }
/* MadAvance only exists as a white-on-green lockup, so it sits on a solid
   field. Rounding it reads as a deliberate brand tile, not a stray block. */
.venture-logos img.logo-tile, .logo-strip img.logo-tile { border-radius: 5px; }

/* Interactive mosaic embed. The island is 54 tiles tall, so it needs real
   height to stay clickable; hence the tall iframe. Touch devices get the
   static image instead: the tiles are far too small to tap and the
   interactive page is a 3.5 MB download. */
.mosaic-embed { margin-top: clamp(2rem, 4vw, 3rem); }
.mosaic-live { display: block; width: 100%; height: clamp(620px, 86vh, 1000px); border: 0; border-radius: var(--radius); background: var(--cool-grey); }
.mosaic-static { display: none; }
.mosaic-static img { display: block; margin: 0 auto; height: auto; max-height: 460px; width: auto; max-width: 100%; }
.mosaic-static .ilink { display: block; text-align: center; margin-top: 1.1rem; font-size: 0.95rem; }
@media (max-width: 900px) {
  .mosaic-live { display: none; }
  .mosaic-static { display: block; }
}

/* Madagascar mosaic feature band. Kept on a light background: the mosaic's
   coastline is baked in black and would disappear on the navy band. */
.mosaic-band { display: grid; grid-template-columns: auto 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.mosaic-art img { display: block; margin: 0 auto; height: auto; width: auto; max-height: 600px; max-width: 100%; }
.mosaic-copy h2 { margin: 0.6rem 0 1rem; }

/* Founding-enterprise logo row inside a card. Accepts <img> logos or the
   text wordmark chip used until logo files are supplied. */
.venture-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; margin-bottom: 1.1rem; }
.venture-logos img { height: 30px; width: auto; max-width: 130px; object-fit: contain; }
.vlogo { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); border: 1px solid rgba(14,91,214,0.3); border-radius: 100px; padding: 0.35rem 0.75rem; white-space: nowrap; }

/* Inline text link inside prose (base `a` is colour: inherit) */
.ilink { color: var(--blue); text-decoration: none; border-bottom: 1px solid rgba(14,91,214,0.4); padding-bottom: 1px; }
.ilink:hover { color: var(--green); border-bottom-color: var(--green); }
.img-split.dark .ilink { color: var(--green-bright); border-bottom-color: rgba(47,209,26,0.45); }

/* Figure source note — sits at the foot of any section stating a database figure */
.fig-note { margin-top: 1.4rem; font-size: 0.8rem; line-height: 1.5; }
/* Inside a split panel, sit the note at the foot of the box, smaller, so it
   reads as a footnote rather than part of the copy. .body is a centred flex
   column, so margin-top:auto pushes it down. */
.img-split .body .fig-note { margin-top: auto; padding-top: 1.8rem; font-size: 0.7rem; }
.fig-note a { color: var(--ink-soft); text-decoration: none; border-bottom: 1px solid rgba(0,0,0,0.18); padding-bottom: 1px; }
.fig-note a:hover { color: var(--green); border-bottom-color: var(--green); }
.fig-note.on-dark a { color: rgba(255,255,255,0.6); border-bottom-color: rgba(255,255,255,0.28); }
.fig-note.on-dark a:hover { color: var(--green-bright); border-bottom-color: var(--green-bright); }

/* big bold section heading utility */
.big { font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.05; }

/* ---- Photo cards (Knowledge index) ---- */
.pcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.pcard { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column; box-shadow: 0 1px 3px rgba(10,22,40,0.05); transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease); }
.pcard:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(10,22,40,0.14); border-color: var(--blue); }
.pcard .ph { height: 168px; position: relative; overflow: hidden; background: var(--cool-grey); }
.pcard .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.pcard:hover .ph img { transform: scale(1.07); }
.pcard .ph .k { position: absolute; left: 12px; top: 12px; background: rgba(10,22,40,0.82); color: #fff; font-family: var(--font-mono); font-size: 0.64rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; padding: 5px 10px; border-radius: 5px; }
.pcard .pc { padding: 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.pcard h3 { margin-bottom: 0.5rem; font-size: 1.25rem; }
.pcard p { font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 1.1rem; }
.pcard .more { margin-top: auto; color: var(--blue); font-weight: 600; font-size: 0.9rem; }

/* ---- Photo strip (documentary field photos with captions) ---- */
.photo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: var(--s5); }
.photo-strip figure { margin: 0; }
.photo-strip .ph { border-radius: var(--radius); overflow: hidden; background: var(--cool-grey); aspect-ratio: 4 / 3; box-shadow: 0 1px 3px rgba(10,22,40,0.05); }
.photo-strip .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-strip figcaption { margin-top: 0.75rem; font-size: 0.9rem; color: var(--ink-soft); line-height: 1.45; }
.photo-strip figcaption .place { display: block; font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); margin-bottom: 0.28rem; }
@media (max-width: 900px) { .photo-strip { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .photo-strip { grid-template-columns: 1fr; } }

/* ---- Full-width photo band ---- */
.photo-band { position: relative; overflow: hidden; margin: 0; }
.photo-band img { width: 100%; height: clamp(340px, 54vh, 620px); object-fit: cover; object-position: center 42%; display: block; }
.photo-band .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(1.4rem, 4vw, 2.8rem); background: linear-gradient(to top, rgba(6,16,30,0.74), rgba(6,16,30,0) 72%); color: #fff; }
.photo-band .cap .overline { display: block; color: var(--green-bright); margin-bottom: 0.4rem; }
.photo-band .cap p { max-width: 48ch; font-size: clamp(1rem, 1.4vw, 1.15rem); color: #fff; margin: 0; }

/* ---- Team ---- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; margin-top: var(--s5); }
.team-card { text-align: center; }
.team-figure { aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden; margin-bottom: 1.1rem; background: var(--cool-grey); box-shadow: 0 1px 3px rgba(10,22,40,0.06); }
.team-figure img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.team-mono { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(140deg, var(--navy), var(--blue)); color: #fff; font-family: var(--font-display); font-size: clamp(2.4rem, 6vw, 3.4rem); letter-spacing: 0.03em; }
.team-card h4 { font-size: 1.25rem; margin-bottom: 0.3rem; }
.team-role { display: block; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green-strong); margin-bottom: 0.7rem; }
.team-bio { font-size: 0.92rem; color: var(--ink-soft); line-height: 1.5; max-width: 34ch; margin: 0 auto; }
@media (max-width: 900px) { .team-grid { grid-template-columns: 1fr 1fr; max-width: 640px; margin-left: auto; margin-right: auto; } }
@media (max-width: 640px) { .team-grid { grid-template-columns: 1fr; max-width: 340px; } }

/* ---- Product screenshot figure ---- */
.shot { margin: var(--s5) auto 0; max-width: 1000px; }
.shot img { width: 100%; height: auto; display: block; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 18px 44px rgba(10,22,40,0.16); }
.shot figcaption { margin-top: 1rem; font-size: 0.9rem; color: var(--ink-soft); text-align: center; max-width: 62ch; margin-left: auto; margin-right: auto; line-height: 1.5; }

/* ---- Country comparison (split) ---- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-top: var(--s5); }
.compare-col { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.4rem); box-shadow: 0 1px 3px rgba(10,22,40,0.05); border-top: 4px solid var(--blue); }
.compare-col.mg { border-top-color: var(--green); }
.compare-name { display: block; font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2.1rem); color: var(--navy); margin-bottom: 1.3rem; }
.compare-stat { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 0.85rem 0; border-top: 1px solid var(--line-soft); }
.compare-stat:first-of-type { border-top: 0; padding-top: 0; }
.compare-stat .n { font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--navy); line-height: 1; }
.compare-col.mg .compare-stat .n { color: var(--green-strong); }
.compare-stat .l { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); text-align: right; }
@media (max-width: 560px) { .compare { grid-template-columns: 1fr; } }

/* ---- FAQ ---- */
.faq-search-wrap { position: relative; max-width: 560px; }
.faq-search { width: 100%; font-family: var(--font-body); font-size: 1.05rem; padding: 0.9rem 1.1rem 0.9rem 2.8rem; border: 2px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink); }
.faq-search:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(14,91,214,0.15); }
.faq-search-wrap .ico { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--ink-faint); font-size: 1.1rem; }
.faq-cats { display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 1.3rem 0 2.2rem; }
.faq-chip { font-family: var(--font-body); font-weight: 500; font-size: 0.85rem; padding: 0.45rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--white); cursor: pointer; color: var(--navy); transition: background 0.15s var(--ease), color 0.15s var(--ease), border-color 0.15s var(--ease); }
.faq-chip:hover { border-color: var(--blue); color: var(--blue); }
.faq-chip.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; padding: 1.25rem 0; font-family: var(--font-display); font-size: 1.2rem; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 1.2rem; align-items: baseline; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--green); font-size: 1.6rem; font-family: var(--font-body); line-height: 1; flex-shrink: 0; }
.faq-item[open] summary::after { content: '\2013'; }
.faq-item .a { padding: 0 0 1.4rem; color: var(--ink-soft); max-width: 74ch; }
.faq-item .a p { margin-bottom: 0.8rem; }
.faq-item .a a { color: var(--blue); font-weight: 500; }
.faq-item .a .cat { display: inline-block; font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-strong); margin-bottom: 0.6rem; }
.faq-empty { color: var(--ink-faint); padding: 2.5rem 0; font-size: 1.05rem; }

@media (max-width: 900px) { .pcards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .pcards { grid-template-columns: 1fr; } }

/* ---- Reveal ---- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .img-split .media img, .hero-full .kb { animation: none; } html { scroll-behavior: auto; } }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .split { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .triad { grid-template-columns: 1fr; }
  .portal-band { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .values { grid-template-columns: 1fr 1fr; gap: 1.8rem; }
  .res-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .section { padding: var(--s7) 0; }
  .cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; gap: 1.6rem; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .mosaic-band { grid-template-columns: 1fr; gap: 2rem; }
  .mosaic-art img { max-height: 380px; }
  .vb-inner, .vb-inner.with-art { grid-template-columns: 1fr; gap: 1.4rem; }
}

/* image-led responsive */
@media (max-width: 900px) {
  .img-split { grid-template-columns: 1fr; }
  .img-split .media { min-height: 300px; order: -1 !important; }
  .img-split.reverse .media { order: -1; }
  .parallax { background-attachment: scroll; }
  .hero-full { min-height: 84vh; }
}
@media (max-width: 640px) {
  .stat-huge { font-size: clamp(3rem, 20vw, 5rem); }
}
/* fixed backgrounds are janky on touch: disable globally on coarse pointers */
@media (hover: none) { .parallax { background-attachment: scroll; } }
