/* LaMotheo Solutions, www 3.0
   Direction: "from noise to decision". The logo's navy is the night sky the hero is drawn on; raw data
   drifts in as grey specks, passes through the pipeline and lands as sage-green bars. Below the fold the
   page turns to bright white paper with a faint ledger grid, and each service keeps its own colour
   everywhere it appears (menu, chooser, stack, services page, contact form). */

@font-face { font-family: "Bricolage Grotesque"; src: url("fonts/bricolage.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("fonts/instrument.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --navy: #021448; --navy-2: #0A2263; --navy-3: #16347F;
  --sage: #A0BB83; --sage-ink: #47672F; --sage-soft: rgba(160,187,131,.16);
  --canvas: #F5F7F3; --paper: #FFFFFF; --ink: #0B1430; --ink-2: #36415A; --mute: #5E6880; --line: #E2E6EC; --line-2: #EEF1F4;
  --grid: rgba(2,20,72,.045);
  --t-navy: #2E5BD8; --t-sage: #6E9A4C; --t-sky: #1D8FD6; --t-gold: #C98A0E; --t-coral: #D9572F;
  --t-navy-soft: rgba(46,91,216,.10); --t-sage-soft: rgba(110,154,76,.13); --t-sky-soft: rgba(29,143,214,.11); --t-gold-soft: rgba(201,138,14,.12); --t-coral-soft: rgba(217,87,47,.11);
  --on-dark: #FFFFFF; --on-dark-2: #C3CCE2; --on-dark-3: #8E9BBD;
  --ok: #2F7A3B; --bad: #B3261E;
  --sh-1: 0 1px 2px rgba(11,20,48,.06), 0 1px 1px rgba(11,20,48,.04);
  --sh-2: 0 2px 6px rgba(11,20,48,.05), 0 16px 40px -12px rgba(11,20,48,.16);
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --r: 18px; --r-lg: 26px; --wrap: 1220px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --canvas: #060C1F; --paper: #0D1630; --ink: #EAF0FA; --ink-2: #C5CEE2; --mute: #94A0BC; --line: #1D2946; --line-2: #141F3A; --grid: rgba(255,255,255,.035);
    --sage-ink: #B5D198; --sage-soft: rgba(160,187,131,.16);
    --t-navy: #7EA2FF; --t-sage: #A8CB86; --t-sky: #6FC2F5; --t-gold: #F2C25C; --t-coral: #FF9B7A;
    --t-navy-soft: rgba(126,162,255,.14); --t-sage-soft: rgba(168,203,134,.14); --t-sky-soft: rgba(111,194,245,.13); --t-gold-soft: rgba(242,194,92,.13); --t-coral-soft: rgba(255,155,122,.13);
    --ok: #7FD08B; --bad: #FF8A80;
    --sh-1: 0 0 0 1px #18233F; --sh-2: 0 0 0 1px #1D2946, 0 18px 40px -10px rgba(0,0,0,.5);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --canvas: #060C1F; --paper: #0D1630; --ink: #EAF0FA; --ink-2: #C5CEE2; --mute: #94A0BC; --line: #1D2946; --line-2: #141F3A; --grid: rgba(255,255,255,.035);
  --sage-ink: #B5D198; --sage-soft: rgba(160,187,131,.16);
  --t-navy: #7EA2FF; --t-sage: #A8CB86; --t-sky: #6FC2F5; --t-gold: #F2C25C; --t-coral: #FF9B7A;
  --t-navy-soft: rgba(126,162,255,.14); --t-sage-soft: rgba(168,203,134,.14); --t-sky-soft: rgba(111,194,245,.13); --t-gold-soft: rgba(242,194,92,.13); --t-coral-soft: rgba(255,155,122,.13);
  --ok: #7FD08B; --bad: #FF8A80;
  --sh-1: 0 0 0 1px #18233F; --sh-2: 0 0 0 1px #1D2946, 0 18px 40px -10px rgba(0,0,0,.5);
  color-scheme: dark;
}

*, *:before, *:after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.08; letter-spacing: -0.025em; margin: 0; text-wrap: balance; font-weight: 700; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; }
.ic { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 28px; padding-right: 28px; }
.small { font-size: 14.5px; }
.mute { color: var(--mute); }
.center { text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--paper); color: var(--ink); padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--sage); outline-offset: 2px; border-radius: 6px; }
.clamp2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 48px; padding: 0 22px; border-radius: 14px; border: 0; cursor: pointer;
  background: var(--navy); color: #fff; font: 650 16px/1 var(--body); text-decoration: none; transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(2,20,72,.55); }
.btn .ic { width: 18px; height: 18px; }
.btn.lg { height: 56px; padding: 0 28px; font-size: 17px; border-radius: 16px; }
.btn.sm { height: 40px; padding: 0 16px; font-size: 15px; border-radius: 12px; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink-2); }
.btn.ghost-light { background: rgba(255,255,255,.06); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.28); }
.btn.ghost-light:hover { background: rgba(255,255,255,.12); }
.hero .btn:not(.ghost-light), .end-sec .btn:not(.ghost-light), .page-hero .btn { background: var(--sage); color: #0B1A08; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn:not(.ghost):not(.ghost-light) { background: var(--sage); color: #0B1A08; } }
:root[data-theme="dark"] .btn:not(.ghost):not(.ghost-light) { background: var(--sage); color: #0B1A08; }
.link { display: inline-flex; align-items: center; gap: 6px; color: var(--sage-ink); font-weight: 650; text-decoration: none; }
.link .ic { width: 17px; height: 17px; transition: transform .15s; }
.link:hover .ic { transform: translateX(3px); }

/* service colour swatches */
.sw { width: 44px; height: 44px; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.sw.big { width: 60px; height: 60px; border-radius: 18px; }
.sw.big .ic { width: 28px; height: 28px; }
.sw.navy { background: var(--t-navy-soft); color: var(--t-navy); }
.sw.sage { background: var(--t-sage-soft); color: var(--t-sage); }
.sw.sky { background: var(--t-sky-soft); color: var(--t-sky); }
.sw.gold { background: var(--t-gold-soft); color: var(--t-gold); }
.sw.coral { background: var(--t-coral-soft); color: var(--t-coral); }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 88%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); transition: background .25s, border-color .25s; }
@supports not (background: color-mix(in srgb, red 50%, blue)) { .top { background: var(--paper); } }
.top .wrap { display: flex; align-items: center; gap: 20px; height: 74px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; flex: 0 0 auto; }
.brand img { width: 40px; height: 40px; object-fit: contain; }
.brand b { display: block; font-family: var(--display); font-size: 20px; letter-spacing: -0.02em; line-height: 1; }
.brand small { display: block; font-size: 12px; font-weight: 650; color: var(--mute); margin-top: 3px; letter-spacing: .04em; text-transform: uppercase; }
.brand .on-dark { display: none; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.navlink { display: inline-flex; align-items: center; gap: 6px; padding: 10px 13px; border-radius: 11px; font: 600 15.5px/1 var(--body); color: var(--ink-2); text-decoration: none; background: none; border: 0; cursor: pointer; }
.navlink:hover, .navlink[aria-expanded="true"] { background: var(--line-2); color: var(--ink); }
.navlink[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--sage); border-radius: 0; }
.navlink .ic { width: 17px; height: 17px; }
.navlink .chev { transition: transform .2s; }
.navlink[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav .cta { margin-left: 8px; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 0; background: var(--line-2); color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }

/* over the navy hero: see-through header with light text until you scroll */
body.dark-top .top:not(.scrolled):not(.open) { background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
body.dark-top .top:not(.scrolled):not(.open) .brand .on-light { display: none; }
body.dark-top .top:not(.scrolled):not(.open) .brand .on-dark { display: block; }
body.dark-top .top:not(.scrolled):not(.open) .brand b { color: #fff; }
body.dark-top .top:not(.scrolled):not(.open) .brand small { color: var(--on-dark-3); }
body.dark-top .top:not(.scrolled):not(.open) .navlink { color: var(--on-dark-2); }
body.dark-top .top:not(.scrolled):not(.open) .navlink:hover, body.dark-top .top:not(.scrolled):not(.open) .navlink[aria-expanded="true"] { background: rgba(255,255,255,.08); color: #fff; }
body.dark-top .top:not(.scrolled):not(.open) .navlink[aria-current="page"] { color: #fff; background: none; }
body.dark-top .top:not(.scrolled):not(.open) .cta { background: var(--sage); color: #0B1A08; }
body.dark-top .top:not(.scrolled):not(.open) .menu-btn { background: rgba(255,255,255,.1); color: #fff; }
body.dark-top .top { margin-bottom: -75px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .brand .on-light { display: none; } :root:not([data-theme="light"]) .brand .on-dark { display: block; } }
:root[data-theme="dark"] .brand .on-light { display: none; }
:root[data-theme="dark"] .brand .on-dark { display: block; }

/* services mega menu */
.has-menu { position: relative; }
.mega { position: absolute; left: 50%; top: calc(100% + 12px); transform: translateX(-38%); width: min(760px, 92vw); opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s; }
.has-menu.open .mega { opacity: 1; visibility: visible; transform: translateX(-38%) translateY(0); }
.mega-in { background: var(--paper); border-radius: 22px; box-shadow: var(--sh-2); padding: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; border: 1px solid var(--line); }
.mega-item { display: flex; gap: 14px; padding: 14px; border-radius: 15px; text-decoration: none; color: var(--ink); }
.mega-item:hover { background: var(--line-2); }
.mega-item b { display: block; font-size: 15.5px; line-height: 1.3; }
.mega-item small { display: block; color: var(--mute); font-size: 14px; line-height: 1.45; margin-top: 3px; }
.mega-all { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-radius: 15px; background: var(--canvas); text-decoration: none; font-weight: 650; color: var(--sage-ink); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 600px at 78% 30%, #0E2C7A 0%, rgba(14,44,122,0) 60%), linear-gradient(180deg, #021448 0%, #03185A 70%, #041B60 100%); color: #fff; padding-top: 75px; isolation: isolate; }
.hero:before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent 100%); mask-image: linear-gradient(180deg, #000 40%, transparent 100%); z-index: -2; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 60px; align-items: center; padding-top: 70px; padding-bottom: 54px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; font-size: 14.5px; letter-spacing: .02em; color: var(--sage); background: rgba(160,187,131,.1); padding: 7px 14px 7px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(160,187,131,.25); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--sage); box-shadow: 0 0 0 0 rgba(160,187,131,.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(160,187,131,.55); } 70% { box-shadow: 0 0 0 10px rgba(160,187,131,0); } 100% { box-shadow: 0 0 0 0 rgba(160,187,131,0); } }
.hero h1 { font-size: clamp(44px, 6.4vw, 84px); line-height: .98; letter-spacing: -0.04em; margin: 22px 0 22px; font-weight: 750; }
.hero h1 .hl { display: block; color: var(--sage); }
.hero .lead { font-size: 20px; line-height: 1.55; color: var(--on-dark-2); max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-tags { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-tags a { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; color: var(--on-dark-2); text-decoration: none; font-size: 14.5px; font-weight: 600; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.hero-tags a:hover { color: #fff; background: rgba(255,255,255,.1); }
.hero-tags .ic { width: 16px; height: 16px; color: var(--sage); }

.board { background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.05)); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-radius: 26px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 40px 80px -30px rgba(0,0,0,.6); padding: 10px; }
.board-hd { display: flex; align-items: center; gap: 10px; padding: 10px 12px 12px; font-weight: 650; font-size: 14.5px; color: var(--on-dark-2); }
.board-date { margin-left: auto; color: var(--on-dark-3); font-weight: 600; }
.dot-live { width: 9px; height: 9px; border-radius: 50%; background: #7CE38B; box-shadow: 0 0 10px #7CE38B; }
.board-row { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 18px; text-decoration: none; color: #fff; transition: background .15s; }
.board-row + .board-row { margin-top: 4px; }
.board-row:hover { background: rgba(255,255,255,.08); }
.board-row .cal { width: 54px; height: 58px; flex: 0 0 auto; border-radius: 14px; background: #fff; color: var(--navy); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.board-row .cal b { font-family: var(--display); font-size: 24px; }
.board-row .cal small { font-size: 12px; font-weight: 700; text-transform: uppercase; margin-top: 3px; color: var(--sage-ink); }
.board-row .cal.ai { background: linear-gradient(135deg, var(--sage), #6E9A4C); color: #0B1A08; }
.board-row .cal.ok { background: rgba(255,255,255,.12); color: #fff; }
.board-row .cal .ic { width: 24px; height: 24px; }
.board-row .grow { min-width: 0; flex: 1 1 auto; }
.board-row small { display: block; font-size: 12.5px; font-weight: 650; color: var(--sage); text-transform: uppercase; letter-spacing: .05em; }
.board-row b { display: block; font-size: 16.5px; line-height: 1.3; margin-top: 3px; }
.board-row .grow > span { display: block; font-size: 14px; color: var(--on-dark-3); margin-top: 3px; }
.hero-foot { display: flex; align-items: center; gap: 14px; padding-bottom: 26px; color: var(--on-dark-3); font-size: 13px; font-weight: 650; text-transform: uppercase; letter-spacing: .08em; }
.hero-foot .line { flex: 1 1 auto; height: 1px; background: linear-gradient(90deg, rgba(255,255,255,.25), rgba(160,187,131,.6)); }
.hero-foot span:last-child { color: var(--sage); }

/* ---------- section scaffolding ---------- */
section { position: relative; }
.kicker { font-size: 13.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sage-ink); margin-bottom: 12px; display: inline-flex; align-items: center; gap: 10px; }
.kicker.light { color: var(--sage); }
.sec-hd { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.sec-hd h2 { font-size: clamp(32px, 4vw, 48px); }
.sec-hd p:not(.kicker) { color: var(--mute); margin-top: 12px; max-width: 40em; font-size: 18px; }
.sec-hd.center { flex-direction: column; align-items: center; text-align: center; }
.sec-hd.center p:not(.kicker) { margin-left: auto; margin-right: auto; }
.more { display: inline-flex; align-items: center; gap: 7px; font-weight: 650; color: var(--sage-ink); text-decoration: none; white-space: nowrap; }
.more .ic { width: 17px; height: 17px; }
h3.mini { font-size: 14px; font-family: var(--body); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--mute); margin-bottom: 14px; }

/* ---------- need chooser ---------- */
.need { padding: 96px 0 90px; background-color: var(--paper); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 32px 32px; border-bottom: 1px solid var(--line); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 26px; }
.chip { display: inline-flex; align-items: center; gap: 9px; height: 50px; padding: 0 20px 0 14px; border-radius: 999px; border: 0; cursor: pointer; font: 650 16px/1 var(--body); color: var(--ink-2); background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line), var(--sh-1); transition: transform .15s, box-shadow .15s, background .15s, color .15s; }
.chip:hover { transform: translateY(-1px); }
.chip .ic { width: 22px; height: 22px; padding: 3px; border-radius: 50%; box-sizing: content-box; }
.chip.navy .ic { color: var(--t-navy); background: var(--t-navy-soft); } .chip.sage .ic { color: var(--t-sage); background: var(--t-sage-soft); } .chip.sky .ic { color: var(--t-sky); background: var(--t-sky-soft); } .chip.gold .ic { color: var(--t-gold); background: var(--t-gold-soft); } .chip.coral .ic { color: var(--t-coral); background: var(--t-coral-soft); }
.chip[aria-selected="true"] { color: #fff; background: var(--navy); box-shadow: 0 12px 26px -12px rgba(2,20,72,.6); }
.chip[aria-selected="true"] .ic { background: rgba(255,255,255,.14); color: #fff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .chip[aria-selected="true"] { background: var(--sage); color: #0B1A08; } :root:not([data-theme="light"]) .chip[aria-selected="true"] .ic { color: #0B1A08; background: rgba(0,0,0,.1); } }
:root[data-theme="dark"] .chip[aria-selected="true"] { background: var(--sage); color: #0B1A08; }
:root[data-theme="dark"] .chip[aria-selected="true"] .ic { color: #0B1A08; background: rgba(0,0,0,.1); }
.pane { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--sh-2); overflow: hidden; border: 1px solid var(--line); }
.pane + .pane { margin-top: 20px; }
.js .pane[data-later] { display: none; }
.js .pane + .pane { margin-top: 0; }
.pane.show { animation: paneIn .35s cubic-bezier(.2,.9,.3,1) both; }
@keyframes paneIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.pane-main { padding: 40px; }
.pane-main h3 { font-size: 32px; margin: 18px 0 12px; }
.pane-line { font-size: 18.5px; color: var(--ink-2); }
.pane-outcome { margin-top: 24px; padding: 16px 18px; border-radius: 16px; background: var(--canvas); border-left: 4px solid var(--tone, var(--sage)); }
.pane-outcome small { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.pane-outcome b { display: block; margin-top: 4px; font-size: 17px; line-height: 1.4; }
.pane-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.pane-list { list-style: none; margin: 0; padding: 40px; background: var(--canvas); display: flex; flex-direction: column; justify-content: center; gap: 14px; border-left: 1px solid var(--line); }
.pane-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16.5px; }
.pane-list .ic { width: 22px; height: 22px; padding: 3px; border-radius: 50%; box-sizing: content-box; margin-top: -1px; color: var(--tone, var(--sage-ink)); background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); }
.pane.navy { --tone: var(--t-navy); } .pane.sage { --tone: var(--t-sage); } .pane.sky { --tone: var(--t-sky); } .pane.gold { --tone: var(--t-gold); } .pane.coral { --tone: var(--t-coral); }

/* ---------- the stack ---------- */
.stack-sec { padding: 100px 0; background: var(--canvas); }
.stack-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.stack-copy h2 { font-size: clamp(32px, 3.8vw, 46px); margin-bottom: 18px; }
.stack-copy p { color: var(--ink-2); font-size: 18px; }
.stack-copy p + p { margin-top: 12px; }
.stack-copy .btn { margin-top: 24px; }
.stack { display: flex; flex-direction: column; gap: 10px; perspective: 1200px; }
.layer { display: flex; align-items: center; gap: 16px; padding: 16px 20px 16px 16px; border-radius: 18px; background: var(--paper); box-shadow: var(--sh-1), inset 4px 0 0 var(--tone); text-decoration: none; color: var(--ink); transition: transform .25s cubic-bezier(.2,.9,.3,1), box-shadow .25s; transform: translateX(calc(var(--i) * 10px)); }
.layer.navy { --tone: var(--t-navy); } .layer.sage { --tone: var(--t-sage); } .layer.sky { --tone: var(--t-sky); } .layer.gold { --tone: var(--t-gold); } .layer.coral { --tone: var(--t-coral); }
.layer .lnum { font-family: var(--display); font-weight: 700; color: var(--mute); width: 18px; text-align: center; font-size: 15px; }
.layer b { display: block; font-size: 17px; }
.layer small { display: block; color: var(--mute); font-size: 14.5px; margin-top: 2px; }
.layer .grow { flex: 1 1 auto; min-width: 0; }
.layer .go { color: var(--mute); opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .2s; }
.layer:hover, .layer.on { transform: translateX(calc(var(--i) * 10px - 8px)) scale(1.02); box-shadow: var(--sh-2), inset 6px 0 0 var(--tone); }
.layer:hover .go, .layer.on .go { opacity: 1; transform: none; color: var(--tone); }
.stack.dim .layer:not(:hover):not(.on) { opacity: .55; }

/* ---------- training ---------- */
.learn-sec { padding: 100px 0; background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.learn-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; }
.date { display: flex; align-items: center; gap: 18px; padding: 18px; border-radius: 18px; background: var(--canvas); text-decoration: none; color: var(--ink); margin-bottom: 10px; transition: background .15s, transform .15s; }
.date:hover { background: var(--line-2); transform: translateX(3px); }
.date .cal { width: 60px; height: 64px; flex: 0 0 auto; border-radius: 15px; background: var(--navy); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.date .cal b { font-family: var(--display); font-size: 27px; }
.date .cal small { font-size: 12.5px; font-weight: 700; text-transform: uppercase; color: var(--sage); margin-top: 3px; }
.date .grow { flex: 1 1 auto; min-width: 0; }
.date .grow > b { display: block; font-size: 18px; }
.meta { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 5px; color: var(--mute); font-size: 14.5px; }
.meta span { display: inline-flex; align-items: center; gap: 6px; }
.meta .ic { width: 16px; height: 16px; }
.seats { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; text-align: right; }
.price { font-family: var(--display); font-weight: 700; font-size: 17px; white-space: nowrap; }
.tag { display: inline-block; font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--t-navy-soft); color: var(--t-navy); white-space: nowrap; }
.tag.sage { background: var(--t-sage-soft); color: var(--sage-ink); }
.tag.full { background: var(--t-coral-soft); color: var(--t-coral); }
.dates .link { margin-top: 8px; }
.course { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 16px; text-decoration: none; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); margin-bottom: 10px; transition: box-shadow .15s; }
.course:hover { box-shadow: inset 0 0 0 1.5px var(--sage); }
.course .grow { flex: 1 1 auto; min-width: 0; }
.course b { display: block; font-size: 16.5px; }
.course small { display: block; color: var(--mute); font-size: 14px; line-height: 1.4; margin-top: 2px; }
.cv { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; color: #fff; flex: 0 0 auto; }
.cv.ai { background: linear-gradient(135deg, #4070E7, #6A5BEA); } .cv.excel { background: linear-gradient(135deg, #1FA463, #0B7443); } .cv.powerbi { background: linear-gradient(135deg, #F7B731, #E5791B); }
.app-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; margin-top: 18px; padding: 20px; border-radius: 20px; background: var(--navy); color: #fff; }
.app-card .phone-ic { width: 46px; height: 46px; border-radius: 13px; background: rgba(160,187,131,.18); color: var(--sage); display: flex; align-items: center; justify-content: center; }
.app-card b { font-size: 17px; }
.app-card p { color: var(--on-dark-2); font-size: 14.5px; margin-top: 4px; }
.app-card .btn { grid-column: 2; justify-self: start; background: var(--sage); color: #0B1A08; }
.empty-note { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: 18px; background: var(--canvas); color: var(--ink-2); }
.empty-note.big { padding: 28px; }
.empty-note > .ic { width: 26px; height: 26px; color: var(--mute); }

/* ---------- news ---------- */
.news-sec { padding: 100px 0; }
.news-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.story { display: flex; flex-direction: column; border-radius: 20px; background: var(--paper); box-shadow: var(--sh-1); text-decoration: none; color: var(--ink); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.story:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.thumb { position: relative; display: block; aspect-ratio: 16 / 9; max-width: 100%; overflow: hidden; background: linear-gradient(135deg, hsl(var(--h, 212) 55% 30%), hsl(calc(var(--h, 212) + 40) 60% 48%)); }
.thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.thumb i { position: absolute; left: 16px; bottom: 12px; font: 700 32px/1 var(--display); font-style: normal; color: rgba(255,255,255,.85); letter-spacing: -.02em; }
.thumb:after { content: ""; position: absolute; right: -30px; top: -30px; width: 120px; height: 120px; border-radius: 50%; border: 18px solid rgba(255,255,255,.08); }
.story-in { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 20px; }
.story-in small { font-size: 13px; font-weight: 650; color: var(--mute); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.story-in b { font-size: 16.5px; line-height: 1.35; font-family: var(--body); font-weight: 650; }
.sum { color: var(--ink-2); font-size: 15px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.reg { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 3px 8px; border-radius: 6px; }
.reg.za { background: var(--t-sage-soft); color: var(--sage-ink); } .reg.africa { background: var(--t-gold-soft); color: var(--t-gold); } .reg.world { background: var(--t-navy-soft); color: var(--t-navy); }

/* ---------- how we work, quotes ---------- */
.how-sec { padding: 100px 0 60px; background: var(--paper); border-top: 1px solid var(--line); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; counter-reset: s; }
.steps li { position: relative; padding: 30px; border-radius: 22px; background: var(--canvas); }
.steps .n { display: inline-flex; width: 44px; height: 44px; border-radius: 50%; align-items: center; justify-content: center; font: 700 19px/1 var(--display); background: var(--navy); color: var(--sage); margin-bottom: 18px; }
.steps h3 { font-size: 23px; margin-bottom: 8px; }
.steps p { color: var(--ink-2); }
.steps li:not(:last-child):after { content: ""; position: absolute; top: 52px; right: -22px; width: 22px; height: 2px; background: var(--line); }
.quotes-sec { padding: 60px 0 100px; background: var(--paper); }
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-bottom: 20px; }
.quotes figure { margin: 0; padding: 30px; border-radius: 22px; box-shadow: inset 0 0 0 1.5px var(--line); display: flex; flex-direction: column; }
.qm { width: 34px; height: 34px; color: var(--sage); fill: var(--sage-soft); }
.quotes blockquote { margin: 14px 0 18px; font-size: 18.5px; line-height: 1.5; font-family: var(--display); font-weight: 500; letter-spacing: -0.01em; flex: 1 1 auto; }
.quotes figcaption { color: var(--mute); font-size: 14.5px; font-weight: 600; }

/* ---------- closing band ---------- */
.end-sec { padding: 0 0 100px; }
.how-sec + .quotes-sec + .end-sec, .learn-sec + .end-sec { padding-top: 0; }
.end-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr); gap: 20px; }
.end-main { background: radial-gradient(800px 400px at 90% 0%, #10307E, rgba(16,48,126,0) 70%), var(--navy); color: #fff; border-radius: 30px; padding: 56px; }
.end-main h2 { font-size: clamp(32px, 4vw, 50px); }
.end-main p { color: var(--on-dark-2); font-size: 18.5px; margin-top: 14px; max-width: 36em; }
.end-grid > .end-main:only-child { grid-column: 1 / -1; }
.portal-card { display: flex; flex-direction: column; gap: 10px; padding: 36px; border-radius: 30px; background: var(--paper); box-shadow: var(--sh-1); text-decoration: none; color: var(--ink); }
.portal-card b { font-family: var(--display); font-size: 26px; margin-top: 8px; }
.portal-card > span:not(.sw):not(.link) { color: var(--ink-2); flex: 1 1 auto; }
.section-pad-top { padding-top: 100px; }
.quotes-sec + .end-sec { background: var(--paper); }
.values-sec + .facts-sec, .facts-sec { padding-bottom: 80px; }

/* ---------- inner pages ---------- */
.page-hero { background: radial-gradient(1000px 500px at 85% 0%, #0E2C7A, rgba(14,44,122,0) 65%), var(--navy); color: #fff; padding: 150px 0 72px; overflow: hidden; }
.page-hero:before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: linear-gradient(180deg, #000, transparent); mask-image: linear-gradient(180deg, #000, transparent); pointer-events: none; }
.page-hero h1 { font-size: clamp(38px, 5.4vw, 66px); letter-spacing: -0.035em; max-width: 15em; position: relative; }
.page-hero .lead { font-size: 20px; color: var(--on-dark-2); margin-top: 18px; max-width: 38em; position: relative; }
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; position: relative; }
.jump a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; }
.jump a:hover { background: rgba(255,255,255,.13); }
.jump .ic { width: 18px; height: 18px; color: var(--sage); }

.svc { padding: 90px 0; background: var(--paper); border-bottom: 1px solid var(--line); scroll-margin-top: 70px; }
.svc.alt { background: var(--canvas); }
.svc.navy { --tone: var(--t-navy); } .svc.sage { --tone: var(--t-sage); } .svc.sky { --tone: var(--t-sky); } .svc.gold { --tone: var(--t-gold); } .svc.coral { --tone: var(--t-coral); }
.svc-hd { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; align-items: start; margin-bottom: 40px; }
.svc-hd .kicker { color: var(--tone); }
.svc-hd h2 { font-size: clamp(30px, 3.6vw, 44px); }
.svc-hd .lead { font-size: 19px; color: var(--ink-2); margin-top: 12px; max-width: 40em; }
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.svc-col { padding: 26px; border-radius: 20px; background: var(--paper); box-shadow: var(--sh-1), inset 0 3px 0 var(--tone); }
.svc.alt .svc-col { background: var(--paper); }
.svc:not(.alt) .svc-col { background: var(--canvas); }
.svc-col h3 { font-size: 20px; margin-bottom: 14px; }
.svc-col ul, .fit ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.svc-col li { display: flex; gap: 10px; font-size: 16px; color: var(--ink-2); }
.svc-col li .ic { width: 19px; height: 19px; color: var(--tone); margin-top: 2px; }
.svc-foot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; margin-top: 18px; }
.fit, .first { padding: 26px; border-radius: 20px; }
.fit { background: color-mix(in srgb, var(--tone) 9%, transparent); }
@supports not (background: color-mix(in srgb, red 50%, blue)) { .fit { background: var(--line-2); } }
.fit h3, .first h3 { font-size: 20px; margin-bottom: 12px; }
.fit li { position: relative; padding-left: 22px; color: var(--ink-2); }
.fit li:before { content: "\201C"; position: absolute; left: 0; top: -4px; font: 700 26px/1 var(--display); color: var(--tone); }
.first { box-shadow: inset 0 0 0 1.5px var(--line); }
.first p { color: var(--ink-2); }
.first .outcome { margin-top: 12px; }
.row-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.svc + .end-sec { padding-top: 90px; }

.values-sec { padding: 90px 0 40px; }
.values { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.values > div { padding: 26px; border-radius: 22px; background: var(--paper); box-shadow: var(--sh-1); }
.values .n { font: 700 40px/1 var(--display); color: var(--sage); }
.values h3 { font-size: 20px; margin: 14px 0 8px; }
.values p { color: var(--ink-2); font-size: 15.5px; }
.facts-sec { padding-top: 30px; }
.facts-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; }
.facts { padding: 36px; border-radius: 26px; background: var(--paper); box-shadow: var(--sh-1); }
.facts h2, .give h2 { font-size: 28px; margin-bottom: 16px; }
.facts dl { margin: 0; }
.facts dl > div { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.facts dt { color: var(--mute); font-weight: 600; font-size: 15px; }
.facts dd { margin: 0; font-weight: 600; }
.give { padding: 36px; border-radius: 26px; background: var(--navy); color: #fff; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.give h2 { margin-top: 12px; margin-bottom: 4px; }
.give p { color: var(--on-dark-2); margin-bottom: 18px; }
.give .btn { background: var(--sage); color: #0B1A08; }

/* contact */
.contact-sec { padding: 60px 0 100px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .9fr); gap: 22px; align-items: start; margin-top: -40px; }
.panel { background: var(--paper); border-radius: 26px; box-shadow: var(--sh-2); padding: 34px; }
.form-panel h2 { font-size: 28px; margin-bottom: 20px; }
.topic-pick { border: 0; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.topic-pick legend { font-weight: 650; font-size: 15px; margin-bottom: 10px; padding: 0; }
.tp input { position: absolute; opacity: 0; pointer-events: none; }
.tp span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; font-weight: 600; font-size: 15px; color: var(--ink-2); }
.tp span .ic { width: 18px; height: 18px; }
.tp.navy .ic { color: var(--t-navy); } .tp.sage .ic { color: var(--t-sage); } .tp.sky .ic { color: var(--t-sky); } .tp.gold .ic { color: var(--t-gold); } .tp.coral .ic { color: var(--t-coral); }
.tp input:checked + span { background: var(--navy); color: #fff; box-shadow: none; }
.tp input:checked + span .ic { color: var(--sage); }
.tp input:focus-visible + span { outline: 3px solid var(--sage); outline-offset: 2px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 650; font-size: 15px; margin-bottom: 7px; }
.field .opt { color: var(--mute); font-weight: 500; }
.field input, .field textarea { width: 100%; font: 16px/1.45 var(--body); color: var(--ink); background: var(--canvas); border: 1.5px solid var(--line); border-radius: 13px; padding: 12px 14px; }
.field input { height: 50px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--sage); background: var(--paper); box-shadow: 0 0 0 4px var(--sage-soft); }
.form-err { background: var(--t-coral-soft); color: var(--t-coral); padding: 12px 14px; border-radius: 12px; font-weight: 600; margin-bottom: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
form .small { margin-top: 12px; }
.sent { text-align: center; padding: 30px 10px; }
.sent h2 { margin: 18px 0 10px; }
.sent p { color: var(--ink-2); margin-bottom: 22px; }
.contact-side { display: grid; gap: 22px; }
.contact-side .panel { padding: 28px; }
.contact-side h3 { font-size: 20px; margin-bottom: 10px; }
.cline { display: flex; gap: 14px; align-items: center; padding: 12px 0; text-decoration: none; color: var(--ink); border-top: 1px solid var(--line); }
.cline:first-of-type { border-top: 0; }
.cline > .ic { width: 22px; height: 22px; color: var(--sage-ink); }
.cline small { display: block; color: var(--mute); font-size: 13px; font-weight: 600; }
.cline b { display: block; font-size: 16px; }

/* news page */
.news-hero { padding-bottom: 60px; }
.updated { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.07); color: var(--on-dark-2); font-size: 14.5px; font-weight: 600; position: relative; }
.updated .ic { width: 16px; height: 16px; color: var(--sage); }
.news-page { padding: 40px 0 100px; }
.news-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 26px; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 5px; background: var(--paper); border-radius: 16px; box-shadow: var(--sh-1); }
.tabs a { padding: 9px 15px; border-radius: 12px; text-decoration: none; font-weight: 650; font-size: 15px; color: var(--ink-2); }
.tabs a span { color: var(--mute); font-weight: 600; margin-left: 3px; font-variant-numeric: tabular-nums; }
.tabs a[aria-current="page"] { background: var(--navy); color: #fff; }
.tabs a[aria-current="page"] span { color: var(--sage); }
.filter { position: relative; flex: 0 1 320px; }
.filter .ic { position: absolute; left: 14px; top: 14px; color: var(--mute); }
.filter input { width: 100%; height: 48px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--paper); padding: 0 14px 0 44px; font: 16px var(--body); color: var(--ink); }
.filter input:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 4px var(--sage-soft); }
.lead-story { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); border-radius: 26px; overflow: hidden; background: var(--paper); box-shadow: var(--sh-2); text-decoration: none; color: var(--ink); margin-bottom: 22px; }
.lead-story .thumb { aspect-ratio: auto; min-height: 320px; }
.lead-story .story-in { padding: 34px; justify-content: center; gap: 12px; }
.lead-story b { font-family: var(--display); font-size: clamp(24px, 2.6vw, 34px); line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; }
.lead-story .sum { -webkit-line-clamp: 4; font-size: 16.5px; }
.read { display: inline-flex; align-items: center; gap: 7px; color: var(--sage-ink); font-weight: 650; font-size: 15px; margin-top: 6px; }
.read .ic { width: 16px; height: 16px; }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.news-grid .story .thumb { aspect-ratio: 16 / 8; }
.none-match { text-align: center; color: var(--mute); padding: 30px; }
.news-page .center .btn { margin-top: 30px; }
.news-aside { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; margin-top: 50px; align-items: start; }
.learn-ai { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 22px; border-radius: 22px; background: var(--navy); color: #fff; }
.learn-ai p { color: var(--on-dark-2); font-size: 15px; margin-top: 2px; }
.learn-ai .btn { background: var(--sage); color: #0B1A08; }
.sources { padding: 20px 22px; border-radius: 22px; background: var(--paper); box-shadow: var(--sh-1); }
.sources summary { cursor: pointer; font-weight: 650; }
.sources .small { margin: 10px 0; }
.sources ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
.sources li { display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; font-weight: 600; font-size: 15px; }
.sources li small { flex-basis: 100%; padding-left: 16px; color: var(--mute); font-weight: 500; font-size: 13px; }
.st { width: 8px; height: 8px; border-radius: 50%; background: var(--mute); }
.st.ok { background: #3DBA5A; } .st.bad { background: var(--bad); }

/* ---------- footer ---------- */
.foot { background: var(--navy); color: var(--on-dark-2); padding-top: 70px; }
.foot .wrap { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr; gap: 32px; }
.foot .brand b { color: #fff; }
.foot .brand small { color: var(--on-dark-3); }
.foot-brand p { margin-top: 16px; font-size: 15.5px; max-width: 24em; }
.foot-brand .legal-name { color: var(--on-dark-3); font-size: 14px; margin-top: 8px; }
.foot h4 { color: #fff; font-family: var(--body); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.foot a { display: block; color: var(--on-dark-2); text-decoration: none; padding: 4px 0; font-size: 15.5px; }
.foot a:hover { color: var(--sage); }
.foot .brand { display: flex; }
.foot p { font-size: 15.5px; }
.foot .legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 22px; padding-bottom: 28px; margin-top: 50px; border-top: 1px solid rgba(255,255,255,.1); color: var(--on-dark-3); font-size: 14px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav .portal { display: none; }
  .news-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .values { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot .wrap { grid-template-columns: 1fr 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: fixed; left: 0; right: 0; top: 74px; bottom: 0; margin: 0; flex-direction: column; align-items: stretch; gap: 4px; background: var(--paper); padding: 16px 20px 40px; overflow-y: auto; }
  .top.open .nav { display: flex; }
  .top.open { background: var(--paper); }
  .navlink, body.dark-top .top .navlink { color: var(--ink); font-size: 18px; padding: 16px 12px; justify-content: space-between; }
  .navlink[aria-current="page"] { box-shadow: none; color: var(--sage-ink); }
  .nav .portal { display: flex; justify-content: flex-start; }
  .nav .cta { margin: 12px 0 0; height: 54px; }
  .mega { position: static; transform: none; width: auto; opacity: 1; visibility: visible; display: none; }
  .has-menu.open .mega { display: block; transform: none; }
  .mega-in { grid-template-columns: 1fr; box-shadow: none; border: 0; padding: 0 0 8px; background: transparent; }
  .mega-item { padding: 10px 12px; }
  .mega-item small { display: none; }
  .mega-all { background: var(--canvas); }
  .hero-in { grid-template-columns: 1fr; gap: 36px; padding-top: 50px; }
  .stack-grid, .learn-grid, .end-grid, .contact-grid, .facts-grid, .news-aside { grid-template-columns: 1fr; }
  .pane { grid-template-columns: 1fr; }
  .pane-list { border-left: 0; border-top: 1px solid var(--line); }
  .svc-grid { grid-template-columns: 1fr; }
  .svc-foot { grid-template-columns: 1fr; }
  .steps, .quotes { grid-template-columns: 1fr; }
  .steps li:after { display: none; }
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lead-story { grid-template-columns: 1fr; }
  .lead-story .thumb { min-height: 0; aspect-ratio: 16 / 9; }
  .contact-grid { margin-top: -30px; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .wrap { padding-left: 18px; padding-right: 18px; }
  .top .wrap { height: 66px; }
  body.dark-top .top { margin-bottom: -67px; }
  .nav { top: 66px; }
  .brand small { display: none; }
  .hero { padding-top: 66px; }
  .hero-in { padding-top: 36px; padding-bottom: 36px; }
  .hero .lead, .page-hero .lead { font-size: 17.5px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-foot { font-size: 11px; gap: 8px; }
  .board-row { padding: 12px 10px; }
  .need, .stack-sec, .learn-sec, .news-sec, .how-sec, .svc { padding-top: 64px; padding-bottom: 64px; }
  .quotes-sec { padding-bottom: 64px; }
  .end-sec { padding-bottom: 64px; }
  .sec-hd { flex-direction: column; align-items: flex-start; }
  .chips { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin: 0 -18px 20px; padding: 4px 18px 10px; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: 0 0 auto; height: 46px; font-size: 15px; }
  .pane-main, .pane-list { padding: 26px 22px; }
  .pane-main h3 { font-size: 26px; }
  .pane-cta .btn { flex: 1 1 100%; }
  .layer { transform: none; padding: 14px; }
  .layer:hover, .layer.on { transform: scale(1.01); }
  .layer .lnum { display: none; }
  .date { flex-wrap: wrap; gap: 12px 14px; padding: 14px; }
  .date .grow { flex: 1 1 calc(100% - 80px); }
  .seats { flex-direction: row; align-items: center; width: 100%; justify-content: space-between; padding-left: 74px; }
  .news-row, .news-grid { grid-template-columns: 1fr; }
  .news-row .story { flex-direction: row; }
  .news-row .story .thumb { width: 112px; flex: 0 0 112px; aspect-ratio: auto; }
  .news-row .story .thumb i { font-size: 22px; left: 12px; }
  .news-row .story-in { padding: 12px 14px; }
  .news-row .story-in b { font-size: 15.5px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .end-main, .portal-card { padding: 34px 24px; border-radius: 24px; }
  .page-hero { padding: 110px 0 54px; }
  .svc-hd { grid-template-columns: 1fr; gap: 16px; }
  .values { grid-template-columns: 1fr; }
  .facts dl > div { grid-template-columns: 1fr; gap: 2px; }
  .facts, .give, .panel { padding: 24px; }
  .two { grid-template-columns: 1fr; gap: 0; }
  .learn-ai { grid-template-columns: auto minmax(0, 1fr); }
  .learn-ai .btn { grid-column: 1 / -1; }
  .sources ul { grid-template-columns: 1fr; }
  .tabs { width: 100%; }
  .tabs a { flex: 1 1 auto; text-align: center; padding: 9px 8px; }
  .filter { flex: 1 1 100%; }
  .foot .wrap { grid-template-columns: 1fr 1fr; gap: 26px; }
  .foot .wrap > div:last-child { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
