/* Executive visual system. Scoped to the landing experience; behaviour lives in js/experience.js.
   Pre-reveal and looping styles apply only under html.motion (see App.razor), so no-JS and
   reduced-motion visitors always get the complete, static page. */
:root {
    --brand-blue: #1e417f; --brand-green: #8dc640;
    --navy-950: #0c2047; --navy-900: #10264f; --navy-850: #122d5d; --navy-800: #142f60; --navy-700: #1c3c76; --navy-600: #1e417f; --navy-500: #2a5292; --navy-400: #3b67aa;
    --blue-400: #6f93c9; --blue-300: #a6bddf; --blue-200: #cad8ee; --blue-100: #e7edf6; --blue-50: #f4f7fc;
    --lime: #b5ec55; --lime-soft: #d1ff7b; --green-600: #5b8c22; --green-700: #4a7a1c; --green-100: #eaf5da;
    --ink: #162d56; --slate: #52647f; --hairline: #d9e2ef; --line-strong: #b9c9e0;
    --on-dark: #f4f8ff; --on-dark-muted: #b3c5e2; --on-dark-faint: #8ea6cb; --line-dark: rgba(166, 189, 223, .22); --line-dark-strong: rgba(166, 189, 223, .5);
    --paper: #f4f7fc; --surface: #fff; --surface-alt: #f7f9fd;
    --ease-out: cubic-bezier(.2, .7, .2, 1);
    --shadow-card: 0 1px 2px rgba(20, 47, 96, .04), 0 12px 32px -14px rgba(20, 47, 96, .2);
    --shadow-lift: 0 2px 4px rgba(20, 47, 96, .05), 0 26px 50px -18px rgba(20, 47, 96, .34);
    --color-primary: var(--brand-blue); --color-accent: var(--brand-green);
}
* { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-height) + 1.5rem); }
body { background: var(--paper); color: var(--ink); line-height: 1.6; }
.experience { position: relative; }
.experience > section { border: 0; padding-inline: 0; }
.experience h1, .experience h2, .experience h3, .experience p { margin-top: 0; }
.experience h1, .experience h2 { letter-spacing: -.04em; font-weight: 680; }
.experience h3 { letter-spacing: -.02em; font-weight: 700; }
.experience em { font-style: normal; color: var(--green-600); }
.ex-wrap { max-width: 1320px; padding-inline: clamp(1.4rem, 5vw, 5rem); margin-inline: auto; }
.ex-section { padding-block: clamp(4.5rem, 8vw, 8rem); }

/* Icons */
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.2em; }

/* Mono labels: every small uppercase annotation uses the same voice. */
.ex-eyebrow, .ex-kicker, .ex-card-index, .ex-diagram-label, .ex-outcome__measure, .ex-proof p, .ex-proof__items b, .ex-hero__foot, .ex-ecosystem__top, .ex-ecosystem__bottom, .ex-flow-row__index, .ex-flow-row__state, .ex-sector__scene > span, .ex-sector__scene > small, .ex-solution__path span, .ex-platform__footer, .ex-authority__visual > span, .ex-discovery__form-heading span, .ex-timeline li span, .ex-journey__steps span, .ex-discovery__agenda b { font-family: var(--font-family-mono); font-weight: 500; font-size: .72rem; letter-spacing: .09em; text-transform: uppercase; line-height: 1.5; }
.ex-eyebrow { color: #3d68a3; margin-bottom: 1.3rem; display: flex; align-items: center; gap: .6rem; }
.ex-eyebrow::before { content: ''; width: 1.4rem; height: 1px; background: currentColor; opacity: .6; }
.ex-heading { display: flex; justify-content: space-between; align-items: end; gap: 3rem; margin-bottom: 3.25rem; }
.ex-heading h2, .ex-authority h2, .ex-discovery h2 { font-size: clamp(2.2rem, 4vw, 4rem); line-height: 1.07; margin-bottom: 0; }
.ex-heading > p { max-width: 24rem; line-height: 1.7; font-size: 1rem; color: var(--slate); margin-bottom: .3rem; }
.ex-heading--light h2 { color: var(--on-dark); }
.ex-heading--light em, .ex-hero h1 em, .ex-discovery h2 em { color: var(--lime); }
.ex-heading--light > p { color: var(--on-dark-muted); }
.ex-heading--light .ex-eyebrow, .ex-discovery .ex-eyebrow { color: var(--lime); }
.ex-error { min-height: 70vh; max-width: 52rem; margin: 0 auto; padding: clamp(5rem, 12vw, 9rem) 1.5rem; }
.ex-error h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); letter-spacing: -.035em; line-height: 1.1; }
.ex-error > p:not(.ex-eyebrow) { color: var(--slate); line-height: 1.7; }
.ex-error a:not(.ex-button) { color: var(--brand-blue); }
.ex-error .ex-button { margin-top: 1rem; }
.ex-error .ex-error__reference { margin-top: 2.5rem; font-size: .8rem; overflow-wrap: anywhere; }

/* App support and privacy pages: a single readable column. */
.ex-legal { max-width: 48rem; margin: 0 auto; padding: clamp(3.5rem, 8vw, 6rem) clamp(1.25rem, 5vw, 2rem) clamp(4rem, 8vw, 6rem); overflow-wrap: break-word; }
.ex-legal h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -.035em; line-height: 1.1; font-weight: 680; margin: 0 0 1rem; }
.ex-legal h2 { font-size: 1.35rem; letter-spacing: -.02em; margin: 2.75rem 0 .75rem; }
.ex-legal h3 { font-size: 1.05rem; margin: 1.75rem 0 .4rem; }
.ex-legal p, .ex-legal li, .ex-legal address { color: var(--slate); line-height: 1.7; }
.ex-legal strong { color: var(--ink); }
.ex-legal ul { padding-left: 1.2rem; }
.ex-legal li + li { margin-top: .5rem; }
.ex-legal a:not(.ex-button) { color: var(--brand-blue); }
.ex-legal .ex-button { margin-block: .5rem 1rem; }
.ex-legal__lead { font-size: 1.1rem; margin-bottom: 2rem; }
.ex-legal__meta { font-family: var(--font-family-mono); font-size: .8rem; letter-spacing: .04em; margin-bottom: 2rem; }
.ex-legal__callout { background: var(--green-100); border-left: 3px solid var(--brand-green); padding: 1rem 1.25rem; border-radius: 3px; }
.ex-legal__table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .92rem; background: var(--surface); border: 1px solid var(--hairline); }
.ex-legal__table th, .ex-legal__table td { text-align: left; vertical-align: top; padding: .75rem .9rem; border-bottom: 1px solid var(--hairline); line-height: 1.55; }
.ex-legal__table thead th { font-family: var(--font-family-mono); font-size: .72rem; letter-spacing: .09em; text-transform: uppercase; font-weight: 500; color: #3d68a3; background: var(--surface-alt); }
.ex-legal__table tbody th { color: var(--ink); font-weight: 650; }
.ex-legal__table td { color: var(--slate); }
@media (max-width: 600px) {
    .ex-legal__table thead { display: none; }
    .ex-legal__table, .ex-legal__table tbody, .ex-legal__table tr, .ex-legal__table th, .ex-legal__table td { display: block; }
    .ex-legal__table tr { border-bottom: 1px solid var(--hairline); padding-block: .5rem; }
    .ex-legal__table th, .ex-legal__table td { border: 0; padding: .25rem .9rem; }
    .ex-legal__table td::before { content: attr(data-label) ': '; font-weight: 600; color: var(--ink); }
}

/* Buttons and links */
.ex-button { position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; justify-content: space-between; gap: 2rem; text-decoration: none; font-weight: 700; padding: 1rem 1.25rem; border-radius: 3px; transition: transform .3s var(--ease-out), background-color .3s, box-shadow .3s; }
.ex-button::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease-out); }
.ex-button:hover { transform: translateY(-2px); }
.ex-button:hover::after { transform: translateX(120%); }
.ex-button--lime { background: var(--lime); color: var(--navy-900); box-shadow: 0 10px 30px -10px rgba(181, 236, 85, .55); }
.ex-button--lime:hover { background: var(--lime-soft); box-shadow: 0 16px 36px -10px rgba(181, 236, 85, .7); }
.ex-button .ic, .ex-text-link .ic, .ex-offer > a .ic, .site-header__cta .ic, .ex-footer__arrow { transition: transform .3s var(--ease-out); }
.ex-button:hover .ic, .ex-offer > a:hover .ic, .site-header__cta:hover .ic { transform: translate(2px, -2px); }
.ex-text-link { position: relative; display: inline-flex; gap: .8rem; align-items: center; color: var(--on-dark); text-decoration: none; font-weight: 650; padding-bottom: .4rem; }
.ex-text-link::before, .ex-text-link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line-dark-strong); }
.ex-text-link::after { height: 2px; background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease-out); }
.ex-text-link:hover { color: var(--lime); }
.ex-text-link:hover::after { transform: scaleX(1); }
.ex-text-link:hover .ic { transform: translateY(2px); }
.ex-text-link--dark { color: var(--ink); }
.ex-text-link--dark::before { background: var(--line-strong); }
.ex-text-link--dark::after { background: var(--brand-green); }
.ex-text-link--dark:hover { color: var(--green-700); }
.ex-text-link--dark:hover .ic, .ex-text-link--light:hover .ic { transform: translate(2px, -2px); }
.ex-text-link--light { margin-top: 2.5rem; }

/* Header (global, not scoped: it styles BrandMark and Icon child components) */
.layout__body { padding-top: var(--header-height); }
.site-header { position: fixed; inset: 0 0 auto; z-index: 1500; background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.4) blur(var(--header-blur)); -webkit-backdrop-filter: saturate(1.4) blur(var(--header-blur)); border-bottom: 1px solid var(--hairline); transition: background-color .4s var(--ease-out), border-color .4s, backdrop-filter .4s; }
.site-header__inner { max-width: 1320px; height: var(--header-height); margin: 0 auto; padding-inline: clamp(1.4rem, 5vw, 5rem); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.site-header__brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; border-radius: 3px; }
.site-header__mark { height: 2.1rem; width: auto; }
.brand-mark__l { fill: var(--brand-blue); transition: fill .4s; }
.brand-mark__u { fill: var(--brand-green); }
.site-header__wordmark { font-weight: 800; font-size: 1.2rem; letter-spacing: .04em; line-height: 1; color: var(--brand-blue); white-space: nowrap; transition: color .4s; }
.site-header__wordmark b, .ex-footer__brand b { color: var(--brand-green); font-weight: 800; }
.site-header__wordmark b { display: inline-block; }
.site-header__nav { display: flex; align-items: center; gap: clamp(.9rem, 2vw, 2rem); }
.site-header__link { position: relative; color: var(--navy-700); text-decoration: none; font-weight: 600; font-size: .93rem; padding: .4rem 0; transition: color .3s; }
.site-header__link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--brand-green); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out); }
.site-header__link:hover, .site-header__link.is-active { color: var(--ink); }
.site-header__link:hover::after, .site-header__link:focus-visible::after, .site-header__link.is-active::after { transform: scaleX(1); }
.site-header__cta { display: inline-flex; align-items: center; gap: .55rem; padding: .62rem 1.05rem; border-radius: 3px; background: var(--brand-blue); color: #fff; font-weight: 700; font-size: .9rem; text-decoration: none; white-space: nowrap; transition: background-color .4s, color .4s, transform .25s var(--ease-out); }
.site-header__cta:hover { background: var(--navy-800); transform: translateY(-1px); }
.site-header__progress { position: absolute; left: 0; bottom: -1px; width: 100%; height: 2px; background: linear-gradient(90deg, var(--brand-green), var(--lime)); transform-origin: left; transform: scaleX(var(--scroll-progress, 0)); }
html.header-top .layout:has(.ex-hero) .site-header { background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
html.header-top .layout:has(.ex-hero) .brand-mark__l { fill: #fff; }
html.header-top .layout:has(.ex-hero) .site-header__wordmark { color: #fff; }
html.header-top .layout:has(.ex-hero) .site-header__link { color: rgba(236, 243, 255, .82); }
html.header-top .layout:has(.ex-hero) .site-header__link:hover { color: #fff; }
html.header-top .layout:has(.ex-hero) .site-header__cta { background: var(--lime); color: var(--navy-900); }
:where(.experience, .site-header, .ex-footer) :is(a, button):focus-visible { outline: 3px solid var(--lime); outline-offset: 4px; }
:where(.ex-outcomes, .ex-sectors, .ex-solutions, .ex-offers, .ex-authority, .site-header) a:focus-visible { outline-color: var(--brand-blue); }

/* Hero */
.ex-hero { position: relative; overflow: hidden; isolation: isolate; margin-top: calc(-1 * var(--header-height)); background: radial-gradient(ellipse at 74% 44%, #2c5794 0, transparent 55%), linear-gradient(125deg, var(--navy-900), var(--navy-600) 73%, #183768); color: var(--on-dark); }
.ex-hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, transparent 8%, #000 60%); mask-image: linear-gradient(90deg, transparent 8%, #000 60%); }
.ex-hero__gridlines { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .07; background-image: linear-gradient(#ccdaf2 1px, transparent 1px), linear-gradient(90deg, #ccdaf2 1px, transparent 1px); background-size: 90px 90px; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 70%); mask-image: linear-gradient(90deg, transparent 0%, #000 70%); }
.ex-hero__grid { position: relative; z-index: 1; min-height: clamp(700px, 100svh, 900px); padding-block: calc(var(--header-height) + clamp(3rem, 6vw, 5.5rem)) clamp(4rem, 7vw, 6.5rem); display: grid; grid-template-columns: minmax(0, 1fr) minmax(380px, .9fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.ex-kicker { color: var(--on-dark-muted); display: flex; align-items: center; gap: .65rem; margin-bottom: 2rem; }
.ex-kicker__dot, .ex-live-dot { width: 7px; height: 7px; background: var(--lime); border-radius: 50%; box-shadow: 0 0 14px var(--lime); display: inline-block; flex: none; }
.ex-hero h1 { font-size: clamp(3.1rem, 5.5vw, 6rem); line-height: 1.02; margin-bottom: 2rem; }
.ex-hero__lead { color: #d5e0f0; line-height: 1.75; font-size: clamp(1.05rem, 1.4vw, 1.2rem); max-width: 32rem; margin-bottom: 2.4rem; }
.ex-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.7rem; }
.ex-hero__foot { display: flex; align-items: center; gap: .9rem; margin-top: 5rem; color: var(--on-dark-faint); }
.ex-hero__foot i { width: 3px; height: 3px; border-radius: 50%; background: var(--lime); }

/* Hero: transformation sequence */
.ex-ecosystem { background: rgba(13, 32, 70, .86); border: 1px solid rgba(111, 147, 201, .55); box-shadow: 0 40px 80px -20px rgba(4, 14, 36, .6), inset 0 1px 0 rgba(255, 255, 255, .06); padding: 1.35rem; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.ex-ecosystem__top, .ex-ecosystem__bottom { display: flex; align-items: center; gap: .6rem; color: var(--on-dark-faint); }
.ex-ecosystem__top { padding: .25rem .3rem 1.1rem; border-bottom: 1px solid var(--line-dark); }
.ex-ecosystem__count { margin-left: auto; font-variant-numeric: tabular-nums; }
.ex-ecosystem__count b { color: var(--lime); font-weight: 600; }
.ex-ecosystem__flow { position: relative; padding: .8rem 0; }
.ex-flow-track { position: absolute; display: none; width: 2px; margin-left: -1px; background: rgba(111, 147, 201, .3); }
.ex-flow-track__fill { position: absolute; inset: 0 0 auto; height: var(--flow-fill, 0px); background: linear-gradient(var(--brand-green), var(--lime)); transition: height .9s var(--ease-out); }
.ex-flow-track__pulse { position: absolute; left: 50%; top: 0; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(181, 236, 85, .18), 0 0 18px var(--lime); transform: translateY(var(--flow-pulse, 0px)); transition: transform .9s var(--ease-out); }
.ex-ecosystem.is-sequenced .ex-flow-track { display: block; }
.ex-flow-row { position: relative; z-index: 1; display: grid; grid-template-columns: 1.5rem 2.2rem minmax(0, 1fr) auto; align-items: center; gap: .8rem; min-height: 75px; padding: .55rem .7rem; border: 1px solid transparent; transition: background-color .6s var(--ease-out), border-color .6s, color .6s; }
.ex-flow-row + .ex-flow-row { margin-top: 2px; }
.ex-flow-row:nth-child(4) { background: rgba(59, 103, 170, .32); border-color: rgba(121, 157, 209, .7); }
.ex-flow-row--result { background: var(--lime); color: var(--navy-900); }
.ex-flow-row__index, .ex-flow-row__state { color: var(--on-dark-faint); font-weight: 600; font-variant-numeric: tabular-nums; transition: color .6s; }
.ex-flow-row--result .ex-flow-row__index, .ex-flow-row--result .ex-flow-row__state { color: #35533c; }
.ex-flow-row__glyph { display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border: 1px solid rgba(111, 147, 201, .75); border-radius: 3px; background: #11285a; color: var(--lime); font-size: 1.05rem; transition: background-color .6s var(--ease-out), border-color .6s, color .6s, box-shadow .6s; }
.ex-flow-row--result .ex-flow-row__glyph { background: transparent; color: var(--navy-900); border-color: #6a9445; }
.ex-flow-row strong, .ex-flow-row small { display: block; }
.ex-flow-row strong { font-size: .92rem; font-weight: 700; }
.ex-flow-row small { margin-top: .15rem; font-size: .78rem; color: var(--on-dark-muted); transition: color .6s; }
.ex-flow-row--result small { color: #34553a; }
/* Sequenced state (JS): rows light in turn; the result row only fills when the sequence arrives. */
.is-sequenced .ex-flow-row:nth-child(4) { background: transparent; border-color: transparent; }
.is-sequenced .ex-flow-row--result:not(.is-active) { background: rgba(181, 236, 85, .06); border-color: rgba(181, 236, 85, .45); color: var(--on-dark); }
.is-sequenced .ex-flow-row--result:not(.is-active) small { color: var(--on-dark-muted); }
.is-sequenced .ex-flow-row--result:not(.is-active) .ex-flow-row__index, .is-sequenced .ex-flow-row--result:not(.is-active) .ex-flow-row__state { color: var(--lime); }
.is-sequenced .ex-flow-row--result:not(.is-active) .ex-flow-row__glyph { background: #11285a; color: var(--lime); border-color: rgba(181, 236, 85, .6); }
.is-sequenced .ex-flow-row.is-active:not(.ex-flow-row--result) { background: rgba(59, 103, 170, .34); border-color: rgba(121, 157, 209, .75); }
.is-sequenced .ex-flow-row.is-active:not(.ex-flow-row--result) .ex-flow-row__glyph { background: var(--lime); border-color: var(--lime); color: var(--navy-900); box-shadow: 0 0 22px rgba(181, 236, 85, .45); }
.is-sequenced .ex-flow-row.is-active .ex-flow-row__index { color: var(--lime); }
.is-sequenced .ex-flow-row--result.is-active { box-shadow: 0 0 40px -6px rgba(181, 236, 85, .55); }
.is-sequenced .ex-flow-row--result.is-active .ex-flow-row__index { color: #35533c; }
.is-sequenced .ex-flow-row.is-done .ex-flow-row__glyph { border-color: rgba(181, 236, 85, .6); }
.is-resetting :is(.ex-flow-track__fill, .ex-flow-track__pulse, .ex-ecosystem__line i, .ex-flow-row, .ex-flow-row *) { transition: none !important; }
.ex-ecosystem__bottom { padding: 1rem .3rem .2rem; border-top: 1px solid var(--line-dark); justify-content: space-between; }
.ex-ecosystem__line { position: relative; height: 1px; background: rgba(111, 147, 201, .35); flex: 1; }
.ex-ecosystem__line i { position: absolute; inset: -.5px 0; background: var(--lime); transform-origin: left; transform: scaleX(var(--flow-progress, 1)); transition: transform .9s var(--ease-out); }

/* Proof strip */
.ex-proof { background: var(--blue-100); }
.ex-proof__inner { padding-block: 1.5rem; display: flex; gap: 3rem; align-items: center; }
.ex-proof p { flex: 0 0 12rem; color: #31568d; margin: 0; }
.ex-proof__items { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.ex-proof__items span { border-left: 1px solid #aec1dd; padding-left: 1rem; font-size: .88rem; font-weight: 700; white-space: nowrap; }
.ex-proof__items b { color: var(--green-700); margin-right: .45rem; }

/* Outcomes */
.ex-outcomes { background: var(--surface-alt); }
.ex-outcomes__grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--hairline); background: var(--surface); box-shadow: var(--shadow-card); }
.ex-outcome { position: relative; padding: 2rem; min-height: 236px; background: var(--surface); border-right: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); transition: background-color .4s var(--ease-out); }
.ex-outcome::before { content: ''; position: absolute; left: -1px; right: -1px; top: -1px; height: 3px; background: var(--brand-green); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out); }
.ex-outcome:hover { background: #fbfdff; }
.ex-outcome:hover::before { transform: scaleX(1); }
.ex-outcome:nth-child(3n) { border-right: 0; }
.ex-outcome:nth-last-child(-n+3) { border-bottom: 0; }
.ex-outcome__icon { float: right; width: 2.6rem; height: 2.6rem; display: grid; place-items: center; background: var(--green-100); color: var(--green-700); font-size: 1.2rem; border-radius: 3px; transition: background-color .4s var(--ease-out), color .4s, transform .4s var(--ease-out); }
.ex-outcome:hover .ex-outcome__icon { background: var(--navy-800); color: var(--lime); transform: translateY(-3px); }
.ex-outcome__measure { color: var(--green-700); }
.ex-outcome h3 { clear: both; padding-top: 2.2rem; margin-bottom: .55rem; font-size: 1.2rem; }
.ex-outcome p { color: var(--slate); font-size: .92rem; line-height: 1.6; margin-bottom: 0; max-width: 19rem; }

/* Sectors */
.ex-sectors { background: #e9eff8; }
.ex-sectors__grid, .ex-solutions__grid, .ex-offers__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.ex-sector, .ex-solution, .ex-offer { transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .45s; }
.ex-sector:hover, .ex-solution:hover, .ex-offer:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.ex-sector { background: var(--surface); border: 1px solid #d2dfef; box-shadow: var(--shadow-card); }
.ex-sector__scene { height: 210px; overflow: hidden; position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 1.15rem; background: var(--navy-700); color: #e2ecfb; }
.ex-sector__scene > span, .ex-sector__scene > small { position: relative; z-index: 1; }
.ex-sector__scene > small { color: var(--on-dark-faint); font-size: .66rem; }
.ex-sector__scene--health { background: radial-gradient(circle at 78% 40%, #3d6ea8, transparent 48%), #193a71; }
.ex-sector__scene--gov { background: radial-gradient(circle at 55% 20%, #4d6cad, transparent 52%), #1d386a; }
.ex-sector__scene--edu { background: radial-gradient(circle at 50% 55%, #4f70a2, transparent 52%), #1b437b; }
.ex-scene { position: absolute; inset: 2.6rem .5rem 2.2rem; width: calc(100% - 1rem); height: calc(100% - 4.8rem); overflow: visible; }
.ex-scene * { vector-effect: non-scaling-stroke; }
.ex-scene__grid { stroke: rgba(166, 189, 223, .12); stroke-width: 1; stroke-dasharray: 2 5; fill: none; }
.ex-scene__line { fill: none; stroke: rgba(181, 236, 85, .45); stroke-width: 1.75; stroke-linejoin: round; stroke-dasharray: 1000; stroke-dashoffset: 0; transition: stroke-dashoffset 1.8s var(--ease-out); }
.ex-scene__pulse { fill: none; stroke: var(--lime); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 90 1000; stroke-dashoffset: 1090; opacity: 0; filter: drop-shadow(0 0 4px rgba(181, 236, 85, .8)); }
.ex-scene__node { fill: #193a71; stroke: var(--lime); stroke-width: 2; }
.ex-scene__node--end { fill: var(--lime); }
.ex-scene__pediment, .ex-scene__beam { fill: rgba(176, 222, 210, .06); stroke: rgba(166, 205, 216, .75); stroke-width: 1.25; transition: opacity .8s var(--ease-out) .7s, transform .8s var(--ease-out) .7s; }
.ex-scene__column { fill: rgba(176, 222, 210, .08); stroke: rgba(166, 205, 216, .75); stroke-width: 1.25; transform-box: fill-box; transform-origin: 50% 100%; transition: transform .9s var(--ease-out); }
.ex-scene__column:nth-of-type(3) { transition-delay: .08s; } .ex-scene__column:nth-of-type(4) { transition-delay: .16s; } .ex-scene__column:nth-of-type(5) { transition-delay: .24s; } .ex-scene__column:nth-of-type(6) { transition-delay: .32s; }
.ex-scene__column--key { fill: rgba(181, 236, 85, .3); stroke: var(--lime); }
.ex-scene__steps { stroke: rgba(166, 205, 216, .75); stroke-width: 1.25; fill: none; }
.ex-scene__scan { stroke: var(--lime); stroke-width: 1.5; opacity: 0; filter: drop-shadow(0 0 5px var(--lime)); }
.ex-scene__edge { fill: none; stroke: rgba(178, 212, 190, .6); stroke-width: 1.25; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1s var(--ease-out); }
.ex-scene__edge--ring { stroke: rgba(178, 212, 190, .35); stroke-dasharray: 1; }
.ex-scene__edge:nth-of-type(2) { transition-delay: .08s; } .ex-scene__edge:nth-of-type(3) { transition-delay: .16s; } .ex-scene__edge:nth-of-type(4) { transition-delay: .24s; } .ex-scene__edge:nth-of-type(5) { transition-delay: .32s; } .ex-scene__edge:nth-of-type(6) { transition-delay: .4s; } .ex-scene__edge:nth-of-type(7) { transition-delay: .55s; transition-duration: 1.6s; }
.ex-scene__peer { fill: #234a7b; stroke: var(--lime); stroke-width: 2; }
.ex-scene__core { fill: var(--lime); }
.ex-scene__halo { fill: none; stroke: var(--lime); stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; }
.ex-sector__body { padding: 1.6rem; }
.ex-card-index { color: var(--green-700); }
.ex-sector h3 { font-size: 1.45rem; line-height: 1.22; margin: 1rem 0; }
.ex-sector p, .ex-sector strong { line-height: 1.55; font-size: .9rem; }
.ex-sector p { color: var(--slate); min-height: 2.8rem; }
.ex-sector strong { display: block; color: #2f5a2a; border-top: 1px solid var(--hairline); padding-top: 1rem; }
.ex-sector strong .ic { margin-inline: .15rem; color: var(--brand-green); transition: transform .35s var(--ease-out); }
.ex-sector:hover strong .ic { transform: translateX(3px); }

/* Platform: interactive knowledge graph */
.ex-platform { background: var(--navy-800); color: var(--on-dark); }
.ex-platform__diagram { position: relative; display: grid; grid-template-columns: 1fr 3.5rem 1.5fr 3.5rem 1fr; gap: 1rem; align-items: center; border: 1px solid rgba(119, 151, 202, .6); padding: clamp(1.5rem, 3vw, 3rem); background: radial-gradient(circle at 50% 50%, #285398, #1b3d78 54%, #17356b); }
.ex-graph__wires { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.ex-platform__column, .ex-platform__core { position: relative; z-index: 1; }
.ex-diagram-label { color: var(--on-dark-faint); display: block; margin-bottom: 1.3rem; }
.ex-platform__stack { display: grid; gap: .55rem; }
.ex-node { display: flex; align-items: center; gap: .7rem; width: 100%; padding: .85rem 1rem; background: rgba(15, 36, 78, .72); border: 1px solid rgba(118, 148, 193, .75); border-radius: 2px; color: var(--on-dark); font: inherit; font-size: .9rem; font-weight: 600; text-align: left; cursor: pointer; transition: border-color .3s var(--ease-out), background-color .3s, opacity .3s, box-shadow .3s, transform .3s var(--ease-out); }
.ex-node .ic { color: var(--blue-300); transition: color .3s; }
.ex-node:hover, .ex-node.is-lit { border-color: var(--lime); background: rgba(40, 72, 120, .95); box-shadow: 0 0 24px -6px rgba(181, 236, 85, .45); }
.ex-node:hover .ic, .ex-node.is-lit .ic { color: var(--lime); }
.ex-node.is-source { background: var(--lime); border-color: var(--lime); color: var(--navy-900); }
.ex-node.is-source .ic { color: var(--navy-900); }
.ex-node.is-dim { opacity: .38; }
.ex-node--output { border-color: rgba(142, 184, 110, .7); color: #e4f5d6; }
.ex-node--output .ic { color: #a7d77a; }
.ex-platform__connector { display: grid; place-items: center; color: var(--lime); font-size: 1.5rem; }
.ex-platform__diagram.has-wires .ex-platform__connector { visibility: hidden; }
.ex-platform__core { text-align: center; }
.ex-platform__hub { position: relative; display: grid; justify-items: center; gap: .4rem; padding: 2rem .9rem; border: 1px solid var(--lime); box-shadow: inset 0 0 60px rgba(181, 236, 85, .08), 0 0 50px rgba(181, 236, 85, .12); background: #1f3e77; transition: box-shadow .4s var(--ease-out); }
.ex-platform__hub.is-lit { box-shadow: inset 0 0 60px rgba(181, 236, 85, .16), 0 0 70px rgba(181, 236, 85, .28); }
.ex-platform__hub-icon { position: relative; display: grid; place-items: center; width: 4rem; height: 4rem; color: var(--lime); font-size: 2.3rem; margin-bottom: .3rem; }
.ex-platform__hub-icon::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(181, 236, 85, .55); }
.ex-platform__hub-icon .ic { stroke-width: 1.5; }
.ex-platform__hub strong { font-size: 1.15rem; }
.ex-platform__hub small { color: var(--on-dark-muted); font-size: .85rem; }
.ex-platform__chips { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem; margin-top: .8rem; }
.ex-node--core { justify-content: center; padding: .6rem .3rem; font-size: .76rem; font-weight: 600; text-align: center; border-color: rgba(115, 149, 194, .75); }
.ex-platform .ex-graph__caption { max-width: 46rem; min-height: 3.2em; margin: 1.75rem auto 0; text-align: center; color: var(--on-dark-muted); font-size: .95rem; line-height: 1.6; }
.ex-graph__caption b { color: var(--lime); font-weight: 650; }
html:not(.js) .ex-graph__caption { display: none; }
.ex-wire { fill: none; stroke: rgba(166, 189, 223, .3); stroke-width: 1.25; transition: stroke .35s, opacity .35s, stroke-width .35s; }
.ex-wire.is-lit { stroke: var(--lime); stroke-width: 1.75; }
.ex-wire.is-dim { opacity: .25; }
.ex-particle { fill: var(--lime); filter: drop-shadow(0 0 3px rgba(181, 236, 85, .9)); }
.ex-platform__footer { display: flex; justify-content: center; flex-wrap: wrap; gap: 1.5rem 3rem; padding-top: 1.6rem; color: var(--on-dark-muted); }
.ex-platform__footer i { display: inline-block; background: var(--lime); width: 6px; height: 6px; border-radius: 50%; margin-right: .55rem; vertical-align: .1em; }

/* Solutions */
.ex-solutions { background: var(--surface-alt); }
.ex-solution { background: var(--surface); border: 1px solid var(--hairline); padding: 2rem; box-shadow: var(--shadow-card); }
.ex-solution h3 { font-size: 1.55rem; margin: 1rem 0 2rem; }
.ex-solution__path { display: grid; }
.ex-solution__path span { position: relative; padding: 1rem 0 1rem 1.4rem; border-left: 1px solid #abd188; color: var(--green-700); }
.ex-solution__path span::before { content: ''; width: 9px; height: 9px; position: absolute; left: -5px; top: 1.25rem; background: var(--surface); border: 2px solid var(--brand-green); border-radius: 50%; transition: background-color .4s; }
.ex-solution__path span:last-child::before { background: var(--brand-green); }
.ex-solution:hover .ex-solution__path span::before { background: var(--brand-green); }
.ex-solution__path b { display: block; margin-top: .35rem; color: var(--ink); font-family: var(--font-family-sans); font-size: .98rem; font-weight: 650; letter-spacing: 0; text-transform: none; }

/* Innovation timeline (progress driven by scroll) */
.ex-innovation { background: #e9eff8; }
.ex-timeline { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); padding: 0; margin: 0; list-style: none; border-top: 1px solid #a9c19f; }
.ex-timeline::after { content: ''; position: absolute; left: 0; top: -1.5px; width: 100%; height: 3px; background: var(--brand-green); transform-origin: left; transform: scaleX(var(--progress, 1)); }
.ex-timeline li { padding: 1.7rem .8rem 0 0; position: relative; }
.ex-timeline li::before { content: ''; position: absolute; z-index: 1; width: 11px; height: 11px; top: -6px; left: 0; background: #e9eff8; border: 2px solid #6d9a4f; border-radius: 50%; transition: background-color .4s, transform .4s var(--ease-out), box-shadow .4s; }
.ex-timeline li.is-reached::before, .ex-timeline:not([style]) li::before { background: var(--brand-green); border-color: var(--brand-green); }
.ex-timeline li.is-reached::before { transform: scale(1.3); box-shadow: 0 0 0 5px rgba(141, 198, 64, .2); }
.ex-timeline li span, .ex-timeline li strong, .ex-timeline li small { display: block; }
.ex-timeline li span { color: var(--green-700); font-weight: 600; margin-bottom: .9rem; }
.ex-timeline li strong { font-size: 1.1rem; }
.ex-timeline li small { margin-top: .3rem; color: var(--slate); font-size: .88rem; line-height: 1.45; }

/* Engagement journey (progress driven by scroll) */
.ex-journey { background: var(--navy-700); color: var(--on-dark); }
.ex-journey__steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line-dark-strong); }
.ex-journey__steps::before { content: ''; position: absolute; left: -1px; top: -1px; width: calc(100% + 2px); height: 3px; background: var(--lime); transform-origin: left; transform: scaleX(var(--progress, 1)); }
.ex-journey__steps > div { padding: 1.5rem; border-right: 1px solid var(--line-dark-strong); min-height: 180px; transition: background-color .5s var(--ease-out); }
.ex-journey__steps > div:last-child { border-right: 0; }
.ex-journey__steps > div.is-reached { background: rgba(59, 103, 170, .22); }
.ex-journey__steps span { display: inline-grid; place-items: center; width: 2.3rem; height: 2.3rem; border: 1px solid var(--lime); color: var(--lime); border-radius: 50%; font-weight: 600; letter-spacing: 0; transition: background-color .5s, color .5s, box-shadow .5s; }
.ex-journey__steps > div.is-reached span { background: var(--lime); color: var(--navy-900); box-shadow: 0 0 20px rgba(181, 236, 85, .35); }
.ex-journey__steps h3 { margin: 1.8rem 0 .5rem; font-size: 1.05rem; }
.ex-journey__steps p { margin: 0; color: var(--on-dark-muted); font-size: .88rem; line-height: 1.5; }

/* Offers */
.ex-offers { background: var(--surface-alt); }
.ex-offer { border: 1px solid var(--hairline); padding: 1.8rem; display: flex; flex-direction: column; background: var(--surface); box-shadow: var(--shadow-card); }
.ex-offer--featured { border-top: 4px solid var(--brand-green); }
.ex-offer:hover { border-color: #b9d39c; }
.ex-offer h3 { font-size: 1.45rem; margin: 1.1rem 0 .4rem; }
.ex-offer__summary { color: var(--slate); font-size: .92rem; min-height: 2.8rem; line-height: 1.5; }
.ex-offer dl { margin: 1.3rem 0 2rem; }
.ex-offer dl div { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--hairline); padding: .85rem 0; font-size: .86rem; }
.ex-offer dt { color: var(--slate); }
.ex-offer dd { margin: 0; text-align: right; font-weight: 650; }
.ex-offer > a { margin-top: auto; color: #285436; font-size: .92rem; font-weight: 700; text-decoration: none; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #b3c99f; padding-top: 1rem; }
.ex-offer > a:hover { color: var(--green-700); }

/* Authority */
.ex-authority { background: var(--blue-100); }
.ex-authority__grid { display: grid; grid-template-columns: .85fr 1fr; align-items: center; gap: clamp(3rem, 8vw, 8rem); }
.ex-authority__visual { height: 360px; padding-bottom: 2.25rem; background: linear-gradient(140deg, #fff, #e8f0fb); border: 1px solid #c8d7ed; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; box-shadow: var(--shadow-card); }
.ex-authority__visual::before, .ex-authority__visual::after { content: ''; position: absolute; inset: 12%; border: 1px solid rgba(140, 170, 208, .27); transform: rotate(24deg); }
.ex-authority__visual::after { inset: 22%; transform: rotate(-30deg); }
.ex-authority__logo { position: relative; z-index: 1; width: min(68%, 290px); height: auto; max-height: 72%; }
.ex-authority__visual > span { position: absolute; bottom: 1.5rem; left: 1.5rem; color: #365488; }
.ex-authority h2 { margin-bottom: 1.5rem; }
.ex-authority__grid > div:last-child > p:not(.ex-eyebrow) { color: var(--slate); line-height: 1.7; max-width: 32rem; }
.ex-authority__facts { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.6rem 0 2rem; }
.ex-authority__facts span { padding: .6rem .85rem; background: #d6e3f5; color: #264579; font-size: .82rem; font-weight: 650; border-radius: 2px; }

/* Discovery */
.ex-discovery { background: var(--navy-850); color: var(--on-dark); }
.ex-discovery__grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: start; gap: clamp(2.5rem, 7vw, 7rem); }
.ex-discovery h2 { margin-bottom: 1.6rem; }
.ex-discovery__intro > p:not(.ex-eyebrow) { max-width: 31rem; line-height: 1.7; color: var(--on-dark-muted); }
.ex-discovery__agenda { display: grid; margin: 2.5rem 0; border-top: 1px solid var(--line-dark-strong); }
.ex-discovery__agenda span { display: flex; align-items: baseline; gap: 1rem; border-bottom: 1px solid var(--line-dark-strong); padding: .9rem 0; font-size: .95rem; font-weight: 650; color: #e4ecf7; }
.ex-discovery__agenda b { color: var(--lime); }
.ex-discovery__intro .ex-discovery__note { font-size: .88rem; color: var(--on-dark-faint); }
.ex-discovery__form { position: relative; background: #f5f8fd; color: var(--ink); padding: clamp(1.2rem, 3vw, 2.2rem); border-top: 4px solid var(--lime); box-shadow: 0 40px 80px -30px rgba(4, 14, 36, .7); }
.ex-discovery__form-heading { display: grid; gap: .65rem; margin-bottom: 1.5rem; }
.ex-discovery__form-heading span { color: var(--green-700); }
.ex-discovery__form-heading strong { font-size: 1.3rem; letter-spacing: -.02em; }
.ex-discovery .contact__form { padding: 0; background: none; border: 0; box-shadow: none; }
.ex-discovery .form-grid { gap: 1rem; }
.ex-discovery .form-field label { font-size: .85rem; color: #30424a; }
.ex-discovery .input { width: 100%; padding: .75rem .85rem; }
.ex-discovery .input--textarea { min-height: 100px; }
.ex-discovery .form-actions { margin-top: 0; }
.ex-discovery .submit-button { width: 100%; margin-top: .8rem; background: var(--lime); border-radius: 3px; color: var(--ink); padding: 1rem; }
.ex-discovery .submit-button:hover { background: var(--lime-soft); box-shadow: 0 14px 30px -12px rgba(111, 166, 43, .8); }

/* Footer */
.ex-footer { background: var(--navy-950); color: var(--on-dark); padding-block: 2.5rem; }
.ex-footer .ex-wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.ex-footer__brand { display: inline-flex; align-items: center; gap: .65rem; color: #fff; text-decoration: none; font-weight: 800; letter-spacing: .06em; font-size: 1.2rem; }
.ex-footer__mark { height: 1.8rem; width: auto; }
.ex-footer__mark .brand-mark__l { fill: #fff; }
.ex-footer__arrow { color: var(--lime); }
.ex-footer__brand:hover .ex-footer__arrow { transform: translateY(-3px); }
.ex-footer p, .ex-footer small { margin: 0; color: var(--on-dark-faint); }
.ex-footer small a { color: #d4e6cf; }

/* Brand path (C1): the logo's L-then-up route, drawn through the page gutter by experience.js. */
.ex-brandpath { position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; overflow: visible; display: none; }
.ex-brandpath.is-ready { display: block; }
.ex-brandpath__track { fill: none; stroke: rgba(141, 198, 64, .16); stroke-width: 1.5; }
.ex-brandpath__line { fill: none; stroke: var(--brand-green); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ex-brandpath__station { fill: var(--navy-800); stroke: rgba(141, 198, 64, .55); stroke-width: 1.5; transition: fill .4s, stroke .4s; }
.ex-brandpath__station.is-reached { fill: var(--lime); stroke: var(--brand-green); }
.ex-brandpath__tick { fill: none; stroke: var(--brand-green); stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .6s var(--ease-out); }
.ex-brandpath__tick.is-reached { stroke-dashoffset: 0; }
.ex-brandpath__tip { fill: var(--lime); filter: drop-shadow(0 0 6px rgba(181, 236, 85, .9)); }
.ex-brandpath__head { fill: var(--brand-green); opacity: 0; transform-box: fill-box; transform-origin: 50% 100%; transform: scale(.4); transition: opacity .4s, transform .5s var(--ease-out); }
.ex-brandpath.is-complete .ex-brandpath__head { opacity: 1; transform: none; }
.ex-brandpath.is-complete .ex-brandpath__tip { opacity: 0; }
.motion .ex-brandpath.is-complete .ex-brandpath__head { animation: brand-push .42s linear backwards; }

/* Brand motion: "foundation, then rise" (master and spec in docs/brand/logo-motion). One 2000ms
   clock; keyframes carry literal easings (var() is dropped inside @keyframes). Fill is backwards,
   so a played part rests on its own static styles and the header arrow can still take its hover lift.
   Header mark: once per visit (html.brand-intro). Leadership lockup: once, when scrolled into view. */
.brand-mark, .brand-logo { overflow: visible; }
.brand-head, .brand-letter { transform-box: fill-box; transform-origin: 50% 100%; }
.brand-mark .brand-head { transition: transform .26s cubic-bezier(0, 0, .2, 1); }
:is(.site-header__brand, .ex-footer__brand):hover .brand-head { transform: translateY(-12px); }
.brand-pen { stroke-dasharray: 1 2; }
.motion.brand-intro .brand-mark--animated .brand-pen--l, .motion .brand-logo--animated .brand-pen--l { animation: brand-foundation 2s linear backwards; }
.motion.brand-intro .brand-mark--animated .brand-pen--rise, .motion .brand-logo--animated .brand-pen--rise { animation: brand-rise 2s linear backwards; }
.motion.brand-intro .brand-mark--animated .brand-head, .motion .brand-logo--animated .brand-head { animation: brand-arrow 2s linear backwards; }
.motion.brand-intro .site-header__wordmark { animation: brand-word 2s linear backwards; }
.motion.brand-intro .site-header__wordmark b { animation: brand-word-up 2s linear backwards; }
.motion .brand-logo--animated .brand-letter--1 { animation: brand-letter-1 2s linear backwards; }
.motion .brand-logo--animated .brand-letter--2 { animation: brand-letter-2 2s linear backwards; }
.motion .brand-logo--animated .brand-letter--3 { animation: brand-letter-3 2s linear backwards; }
.motion .brand-logo--animated .brand-letter--4 { animation: brand-letter-4 2s linear backwards; }
.motion .brand-logo--animated .brand-letter--5 { animation: brand-letter-5 2s linear backwards; }
.motion .brand-logo--animated .brand-letter--6 { animation: brand-letter-6 2s linear backwards; }
.motion .brand-logo--animated :is(.brand-pen, .brand-head, .brand-letter) { animation-delay: .3s; animation-play-state: paused; }
.motion .brand-logo--animated.is-playing :is(.brand-pen, .brand-head, .brand-letter) { animation-play-state: running; }
/* The L draws down, then across; the rise overlaps it by 180ms; the arrowhead starts tucked inside the
   same-colour shaft, pushes 3 units past rest and settles. */
@keyframes brand-foundation { 0%, 5% { stroke-dashoffset: 1; animation-timing-function: cubic-bezier(.4, 0, .2, 1); } 40%, 100% { stroke-dashoffset: 0; } }
@keyframes brand-rise { 0%, 31% { stroke-dashoffset: 1; animation-timing-function: cubic-bezier(.4, 0, .2, 1); } 63%, 100% { stroke-dashoffset: 0; } }
@keyframes brand-arrow {
    0%, 63% { opacity: 0; transform: translateY(18px) scale(.3); }
    63.1% { opacity: 1; transform: translateY(18px) scale(.3); animation-timing-function: cubic-bezier(0, 0, .2, 1); }
    75% { opacity: 1; transform: translateY(-3px) scale(1); animation-timing-function: cubic-bezier(.4, 0, .2, 1); }
    82%, 100% { opacity: 1; transform: none; }
}
/* Wordmark in reading order: LEHG lifts 12 units on a 60ms stagger; UP rises further, after the arrow peaks. */
@keyframes brand-letter-1 { 0%, 50% { opacity: 0; transform: translateY(12px); animation-timing-function: cubic-bezier(0, 0, .2, 1); } 72%, 100% { opacity: 1; transform: none; } }
@keyframes brand-letter-2 { 0%, 53% { opacity: 0; transform: translateY(12px); animation-timing-function: cubic-bezier(0, 0, .2, 1); } 75%, 100% { opacity: 1; transform: none; } }
@keyframes brand-letter-3 { 0%, 56% { opacity: 0; transform: translateY(12px); animation-timing-function: cubic-bezier(0, 0, .2, 1); } 78%, 100% { opacity: 1; transform: none; } }
@keyframes brand-letter-4 { 0%, 59% { opacity: 0; transform: translateY(12px); animation-timing-function: cubic-bezier(0, 0, .2, 1); } 81%, 100% { opacity: 1; transform: none; } }
@keyframes brand-letter-5 { 0%, 69% { opacity: 0; transform: translateY(20px); animation-timing-function: cubic-bezier(0, 0, .2, 1); } 91%, 100% { opacity: 1; transform: none; } }
@keyframes brand-letter-6 { 0%, 72% { opacity: 0; transform: translateY(20px); animation-timing-function: cubic-bezier(0, 0, .2, 1); } 94%, 100% { opacity: 1; transform: none; } }
/* The header's text wordmark follows the same beats at screen scale. */
@keyframes brand-word { 0%, 50% { opacity: 0; transform: translateY(4px); animation-timing-function: cubic-bezier(0, 0, .2, 1); } 75%, 100% { opacity: 1; transform: none; } }
@keyframes brand-word-up { 0%, 69% { opacity: 0; transform: translateY(6px); animation-timing-function: cubic-bezier(0, 0, .2, 1); } 91%, 100% { opacity: 1; transform: none; } }
/* The brand path's arrowhead pushes up out of the line the same way. */
@keyframes brand-push {
    0% { transform: translateY(6px) scale(.3); animation-timing-function: cubic-bezier(0, 0, .2, 1); }
    63% { transform: translateY(-1.5px) scale(1); animation-timing-function: cubic-bezier(.4, 0, .2, 1); }
    100% { transform: none; }
}

/* Reveal on scroll (JS adds .reveal, then .is-in, then removes both once settled). */
.motion .reveal { opacity: 0; transform: translate3d(0, 24px, 0); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: var(--reveal-delay, 0ms); }
.motion .reveal.is-in { opacity: 1; transform: none; }

/* Pre-draw states for illustrations, only when motion is on and before they scroll into view. */
.motion .ex-sector__scene:not(.is-drawn) .ex-scene__line { stroke-dashoffset: 1000; }
.motion .ex-sector__scene:not(.is-drawn) .ex-scene__node { opacity: 0; }
.motion .ex-sector__scene:not(.is-drawn) .ex-scene__column { transform: scaleY(0); }
.motion .ex-sector__scene:not(.is-drawn) :is(.ex-scene__pediment, .ex-scene__beam) { opacity: 0; transform: translateY(-8px); }
.motion .ex-sector__scene:not(.is-drawn) .ex-scene__edge { stroke-dashoffset: 1; }
.motion .ex-sector__scene:not(.is-drawn) :is(.ex-scene__peer, .ex-scene__core) { opacity: 0; }
.ex-scene__node, .ex-scene__peer, .ex-scene__core { transition: opacity .6s var(--ease-out) .5s; }

@media (max-width: 1050px) {
    .ex-proof__inner { display: block; }
    .ex-proof p { margin-bottom: 1rem; }
    .ex-proof__items { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .ex-platform__diagram { gap: .7rem; padding: 1rem; grid-template-columns: 1fr 2.5rem 1.4fr 2.5rem 1fr; }
    .ex-journey__steps > div { padding: 1rem; }
    .site-header__nav .site-header__link:nth-child(n+5) { display: none; }
}
@media (max-width: 850px) {
    .ex-hero__grid { grid-template-columns: 1fr; min-height: 0; }
    .ex-hero__foot { margin-top: 3rem; }
    .ex-ecosystem { max-width: 620px; width: 100%; }
    .ex-heading { align-items: start; flex-direction: column; gap: 1rem; }
    .ex-heading > p { max-width: 38rem; }
    .ex-outcomes__grid, .ex-sectors__grid, .ex-solutions__grid, .ex-offers__grid { grid-template-columns: repeat(2, 1fr); }
    .ex-outcome { border-right: 1px solid var(--hairline) !important; border-bottom: 1px solid var(--hairline) !important; }
    .ex-outcome:nth-child(2n) { border-right: 0 !important; }
    .ex-outcome:nth-last-child(-n+2) { border-bottom: 0 !important; }
    .ex-platform__diagram { grid-template-columns: 1fr; gap: 1rem; }
    .ex-platform__connector { transform: rotate(90deg); justify-self: center; }
    .ex-platform__stack { grid-template-columns: repeat(2, 1fr); }
    .ex-timeline, .ex-journey__steps { grid-template-columns: repeat(3, 1fr); }
    .ex-authority__grid, .ex-discovery__grid { grid-template-columns: 1fr; }
    .ex-authority__visual { max-width: 620px; }
    .site-header__nav .site-header__link:nth-child(n+4) { display: none; }
}
@media (max-width: 600px) {
    :root { --header-height: 4rem; }
    .ex-wrap, .site-header__inner { padding-inline: 1.25rem; }
    .ex-hero__grid { padding-block: calc(var(--header-height) + 3rem) 4rem; }
    .ex-hero h1 { font-size: clamp(2.8rem, 12vw, 4.2rem); }
    .ex-hero__foot { flex-wrap: wrap; }
    .ex-actions { align-items: flex-start; flex-direction: column; }
    .ex-ecosystem { padding: .8rem; }
    .ex-flow-row { grid-template-columns: 1.3rem 2.1rem minmax(0, 1fr); gap: .55rem; padding: .5rem .3rem; }
    .ex-flow-row__state { display: none; }
    .ex-proof__items span { white-space: normal; font-size: .82rem; }
    .ex-outcomes__grid, .ex-sectors__grid, .ex-solutions__grid, .ex-offers__grid { grid-template-columns: 1fr; }
    .ex-outcome { border-right: 0 !important; min-height: 0; }
    .ex-outcome:not(:last-child) { border-bottom: 1px solid var(--hairline) !important; }
    .ex-outcome:last-child { border-bottom: 0 !important; }
    .ex-outcome h3 { padding-top: 1.2rem; }
    .ex-timeline, .ex-journey__steps { grid-template-columns: 1fr; }
    .ex-timeline { border: 0; border-left: 1px solid #a9c19f; margin-left: .3rem; }
    .ex-timeline::after { top: 0; left: -2px; width: 3px; height: 100%; transform-origin: top; transform: scaleY(var(--progress, 1)); }
    .ex-timeline li { padding: 0 0 1.5rem 1.5rem; }
    .ex-timeline li::before { left: -6px; top: .25rem; }
    .ex-timeline li span { margin-bottom: .2rem; }
    .ex-journey__steps::before { top: -1px; left: -1px; width: 3px; height: calc(100% + 2px); transform-origin: top; transform: scaleY(var(--progress, 1)); }
    .ex-journey__steps > div { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line-dark-strong); }
    .ex-journey__steps > div:last-child { border-bottom: 0; }
    .ex-journey__steps h3 { display: inline; margin: 0 0 0 1rem; }
    .ex-journey__steps p { margin: .5rem 0 0 3.3rem; }
    .ex-platform__stack { grid-template-columns: 1fr 1fr; }
    .ex-node { padding: .75rem .8rem; font-size: .85rem; }
    .ex-authority__visual { height: 260px; }
    .site-header__nav .site-header__link { display: none; }
    .site-header__wordmark { font-size: 1.05rem; }
    .site-header__mark { height: 1.8rem; }
    .site-header__cta { font-size: .82rem; padding: .55rem .8rem; }
}

/* Loops: only with motion on; experience.js toggles .is-running so they pause off-screen. */
.motion .ex-live-dot { animation: ex-beacon 3s ease-in-out infinite; }
.motion .ex-platform__hub-icon::before { animation: ex-spin 24s linear infinite; }
.motion .ex-sector__scene.is-drawn .ex-scene__pulse { opacity: 1; animation: ex-pulse-run 3.4s linear infinite; }
.motion .ex-sector__scene.is-drawn .ex-scene__scan { animation: ex-scan 5.5s var(--ease-out) infinite; }
.motion .ex-sector__scene.is-drawn .ex-scene__halo { animation: ex-halo 2.8s var(--ease-out) infinite; }
.motion .ex-sector__scene.is-drawn .ex-scene__peer { animation: ex-peer 4.2s ease-in-out infinite; }
.motion .ex-sector__scene.is-drawn .ex-scene__peer:nth-of-type(2) { animation-delay: .7s; } .motion .ex-sector__scene.is-drawn .ex-scene__peer:nth-of-type(3) { animation-delay: 1.4s; } .motion .ex-sector__scene.is-drawn .ex-scene__peer:nth-of-type(4) { animation-delay: 2.1s; } .motion .ex-sector__scene.is-drawn .ex-scene__peer:nth-of-type(5) { animation-delay: 2.8s; } .motion .ex-sector__scene.is-drawn .ex-scene__peer:nth-of-type(6) { animation-delay: 3.5s; }
.motion .ex-sector__scene:not(.is-running) * { animation-play-state: paused !important; }
@keyframes ex-beacon { 50% { box-shadow: 0 0 20px 6px rgba(181, 236, 85, .33); } }
@keyframes ex-spin { to { transform: rotate(360deg); } }
@keyframes ex-pulse-run { from { stroke-dashoffset: 1090; } to { stroke-dashoffset: 0; } }
@keyframes ex-scan { 0% { transform: translateY(8px); opacity: 0; } 15% { opacity: .9; } 70% { opacity: .5; } 100% { transform: translateY(122px); opacity: 0; } }
@keyframes ex-halo { 0% { transform: scale(.8); opacity: .9; } 100% { transform: scale(2.4); opacity: 0; } }
@keyframes ex-peer { 0%, 70%, 100% { fill: #234a7b; } 80% { fill: var(--lime); } }
