/* VY Tech: design system
   Navy throughout, in three depths, with, electric blue and cyan accents, serif headlines.
   Edit the tokens in :root to re-colour the whole site. */

@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/Inter-Regular.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/Inter-Medium.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/Inter-SemiBold.woff") format("woff"); }
@font-face { font-family: "Lora"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/Lora-Regular.woff") format("woff"); }
@font-face { font-family: "Lora"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/Lora-Medium.woff") format("woff"); }

:root {
  --navy: #051c2c;
  --navy-2: #0a2c46;
  --ink: #ffffff;
  --text: #d5e2ee;
  --muted: #a3b8cb;
  --paper: #071f33;
  --grey: #0a2c46;
  --rule: rgba(255, 255, 255, .15);
  --surface: linear-gradient(160deg, #0e3453 0%, #0a2a43 100%);
  --amber-ink: #ffe08a;
  --blue: #2251ff;
  --blue-deep: #1238c7;
  --cyan: #00acf0;
  --cyan-soft: #7fdcff;
  --violet: #7a5cff;
  --mint: #2fe3c6;
  --danger: #b3261e;
  --amber-ink: #6b4d0f;

  --serif: "Lora", Georgia, "Times New Roman", serif;
  --display: var(--serif);
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: var(--sans);

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 72px;
  --edge: clamp(48px, 6vw, 96px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow: 0 24px 60px -28px rgba(5, 28, 44, .45);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 64px); }
body { margin: 0; font: 1.0625rem/1.68 var(--sans); color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, canvas { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.14; margin: 0 0 .5em; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 1.2rem + 4.8vw, 4.9rem); line-height: 1.06; letter-spacing: -0.012em; }
h2 { font-size: clamp(1.95rem, 1.1rem + 2.6vw, 3.1rem); letter-spacing: -0.01em; }
h3 { font-size: 1.5rem; line-height: 1.22; }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1em; max-width: 68ch; text-wrap: pretty; }
a { color: var(--cyan-soft); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
.skip-link { position: absolute; left: 16px; top: -64px; z-index: 300; background: var(--navy); color: #fff; padding: .7em 1.1em; transition: top .2s; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.section--tint, .section--grey { background: var(--grey); }
.lead { font-size: clamp(1.18rem, 1rem + .6vw, 1.45rem); line-height: 1.55; max-width: 54ch; color: var(--text); }
.muted { color: var(--muted); }
.eyebrow { font: 600 .74rem/1.2 var(--sans); letter-spacing: .15em; text-transform: uppercase; color: var(--blue); margin: 0 0 1.1rem; }
.mono { font-family: var(--sans); }
.stat-row p.val { font: 400 1.55rem/1.25 var(--serif); margin: 0; color: var(--ink); }

/* Section head: label in a left rail that draws its rule on reveal */
.section-head { display: grid; grid-template-columns: minmax(0, 210px) minmax(0, 1fr); gap: 1rem clamp(24px, 4vw, 64px); margin-bottom: clamp(32px, 5vw, 60px); align-items: start; }
.section-head .eyebrow { margin: .7em 0 0; padding-top: .9em; position: relative; }
.section-head .eyebrow::before { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%; background: currentColor; opacity: .85; transform-origin: 0 50%; transition: transform 1.1s var(--ease) .15s; }
html.js .section-head:not(.in) .eyebrow::before { transform: scaleX(0); }
.section-head h2 { margin: 0 0 .4em; max-width: 22ch; }
.section-head p { margin: 0; }
@media (max-width: 760px) { .section-head { grid-template-columns: 1fr; } .section-head .eyebrow { order: -1; margin: 0; padding: 0; } .section-head .eyebrow::before { display: none; } }

/* Placeholder marking: visible, searchable, listed by the build */
.ph { background: rgba(224, 168, 40, .22); border-bottom: 1px dashed var(--amber-ink); padding: 0 .2em; border-radius: 2px; }
.ph-block { border: 1px dashed var(--amber-ink); background: rgba(224, 168, 40, .13); padding: 1rem 1.25rem; border-radius: 2px; font-size: .95rem; }

/* ---------- Header and menu ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); color: #fff; transition: background .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease); }
.header__inner { height: 100%; display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.menu-btn { display: inline-flex; align-items: center; gap: .7em; background: none; border: 0; color: inherit; padding: .5em .4em .5em 0; font: 600 .9rem var(--sans); cursor: pointer; flex: none; }
.menu-btn svg { width: 26px; height: 26px; }
.menu-btn svg line { transition: transform .35s var(--ease); transform-origin: center; }
.menu-btn:hover svg line:nth-child(1) { transform: translateX(3px); }
.menu-btn:hover svg line:nth-child(3) { transform: translateX(-3px); }
.menu-btn__label { letter-spacing: .02em; }
@media (max-width: 520px) { .menu-btn__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }
.brand { display: block; line-height: 0; flex: none; }
.brand img { height: 42px; width: auto; }
.brand .logo-color { display: none; }
.header__cta { margin-left: auto; color: inherit; text-decoration: none; font: 600 .92rem var(--sans); display: inline-flex; align-items: center; gap: .55em; padding: .55em 0; position: relative; }
.header__cta svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.header__cta:hover svg { transform: translateX(4px); }
.header__cta::after { content: ""; position: absolute; left: 0; right: 0; bottom: .25em; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s var(--ease); }
.header__cta:hover::after { transform: scaleX(1); }
.site-header.is-solid { background: rgba(255, 255, 255, .96); color: var(--navy); box-shadow: 0 1px 0 var(--rule); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.site-header.is-solid .logo-onblue { display: none; }
.site-header.is-solid .logo-color { display: block; }
.site-header:not(.is-solid) :focus-visible { outline-color: #fff; }

.scrim { position: fixed; inset: 0; z-index: 140; background: rgba(5, 28, 44, .55); opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s; }
.menu { position: fixed; z-index: 150; top: 0; bottom: 0; left: 0; width: min(520px, 100vw); background: var(--navy); color: #fff; transform: translateX(-102%); visibility: hidden; transition: transform .45s var(--ease), visibility .45s; display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; box-shadow: 30px 0 80px -30px rgba(0, 0, 0, .6); }
body.nav-open .scrim { opacity: 1; visibility: visible; }
body.nav-open .menu { transform: none; visibility: visible; }
body.nav-open { overflow: hidden; }
.menu :focus-visible { outline-color: var(--cyan-soft); }
.menu__bar { display: flex; align-items: center; gap: 18px; padding: 0 clamp(20px, 3vw, 36px); height: var(--header-h); flex: none; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.menu__close { background: none; border: 0; color: #fff; width: 44px; height: 44px; margin-left: -10px; display: grid; place-items: center; cursor: pointer; }
.menu__close svg { width: 24px; height: 24px; transition: transform .35s var(--ease); }
.menu__close:hover svg { transform: rotate(90deg); }
.menu__bar .brand img { height: 38px; }
.menu__nav { padding: clamp(10px, 2vh, 22px) clamp(20px, 3vw, 36px) 24px; flex: 1; }
.menu__list { list-style: none; margin: 0; padding: 0; }
.menu__item { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.menu__row { display: flex; align-items: center; justify-content: space-between; }
.menu__row > a { flex: 1; color: #fff; text-decoration: none; font: 400 clamp(1.5rem, 1.1rem + 1.4vw, 2rem)/1.2 var(--serif); padding: .62em 0; transition: color .25s, transform .35s var(--ease); }
.menu__row > a:hover { color: var(--cyan-soft); transform: translateX(6px); }
.menu__row > a[aria-current="page"] { color: var(--cyan-soft); }
.menu__toggle { background: none; border: 0; color: #fff; width: 48px; height: 48px; display: grid; place-items: center; cursor: pointer; }
.menu__toggle svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.menu__item.is-open .menu__toggle svg { transform: rotate(180deg); }
.menu__sub { display: grid; grid-template-rows: 1fr; padding: 0 0 18px; }
html.js .menu__sub { grid-template-rows: 0fr; padding: 0; transition: grid-template-rows .4s var(--ease), padding .4s var(--ease); }
html.js .menu__item.is-open .menu__sub { grid-template-rows: 1fr; padding: 0 0 18px; }
.menu__sub-in { overflow: hidden; min-height: 0; }
.menu__sub h3 { font: 600 .7rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--cyan-soft); margin: 1.1em 0 .4em; }
.menu__sub h3:first-child { margin-top: .2em; }
.menu__sub ul { list-style: none; margin: 0; padding: 0; }
.menu__sub a { display: block; color: rgba(255, 255, 255, .92); text-decoration: none; padding: .3em 0; font-size: 1rem; }
.menu__sub a:hover { color: #fff; text-decoration: underline; }
.menu__foot { padding: 20px clamp(20px, 3vw, 36px) 28px; font-size: .86rem; color: rgba(255, 255, 255, .72); border-top: 1px solid rgba(255, 255, 255, .14); flex: none; }
.menu__foot p { margin: 0; }
html:not(.js) .menu { position: static; transform: none; visibility: visible; width: 100%; padding-top: var(--header-h); box-shadow: none; }
html:not(.js) .menu__close, html:not(.js) .menu-btn { display: none; }

/* ---------- Buttons and links ---------- */
.btn { --btn-bg: var(--blue); --btn-fg: #fff; --btn-fill: var(--navy); --btn-fg-hover: #fff; --btn-border: var(--blue);
  position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; gap: .65em; padding: .9em 1.6em; border-radius: 2px; border: 1.5px solid var(--btn-border); background: var(--btn-bg); color: var(--btn-fg); font: 600 .98rem/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: color .35s var(--ease), border-color .35s; }
.btn::before { content: ""; position: absolute; z-index: -1; left: var(--bx, 50%); top: var(--by, 50%); width: 340%; aspect-ratio: 1; border-radius: 50%; background: var(--btn-fill); transform: translate(-50%, -50%) scale(0); transition: transform .6s var(--ease); }
.btn:hover::before, .btn:focus-visible::before { transform: translate(-50%, -50%) scale(1); }
.btn:hover, .btn:focus-visible { color: var(--btn-fg-hover); text-decoration: none; }
.btn svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--navy); --btn-fill: var(--navy); --btn-fg-hover: #fff; --btn-border: var(--navy); }
.btn--ink { --btn-bg: var(--navy); --btn-fg: #fff; --btn-fill: var(--blue); --btn-border: var(--navy); }
.btn--line { --btn-bg: transparent; --btn-fg: var(--blue); --btn-fill: var(--blue); --btn-fg-hover: #fff; --btn-border: var(--blue); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--navy); --btn-fill: var(--cyan); --btn-fg-hover: var(--navy); --btn-border: #fff; }
.btn--outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-fill: #fff; --btn-fg-hover: var(--navy); --btn-border: rgba(255, 255, 255, .7); }
.link-arrow { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; text-decoration: none; color: var(--blue); }
.link-arrow svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }
.link-arrow:hover { text-decoration: underline; }

/* ---------- Hero: full-bleed light art with a live ribbon layer, centred type ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--navy); color: #fff; min-height: min(88vh, 860px); min-height: min(88svh, 860px); display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 48px) 0 clamp(88px, 10vw, 128px); }
.hero--page { min-height: clamp(440px, 60vh, 620px); }
.hero__art { filter: saturate(.8) brightness(.86); position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; z-index: -3; transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 70% 60% at 50% 48%, rgba(5, 28, 44, .62) 0%, rgba(5, 28, 44, .28) 70%, rgba(5, 28, 44, 0) 100%), linear-gradient(180deg, rgba(5, 28, 44, .5) 0%, rgba(5, 28, 44, .18) 35%, rgba(5, 28, 44, .18) 62%, rgba(5, 28, 44, .65) 100%); pointer-events: none; }
canvas.fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; }
.hero__content { position: relative; max-width: 1020px; margin-inline: auto; }
.hero h1 { color: #fff; margin: 0 auto .5em; max-width: 17ch; text-shadow: 0 2px 40px rgba(5, 28, 44, .45); }
.hero--page h1 { font-size: clamp(2.3rem, 1rem + 4vw, 4.2rem); max-width: 20ch; }
.hero .lead { color: rgba(255, 255, 255, .94); margin: 0 auto 1.8em; max-width: 50ch; }
.hero .eyebrow { color: var(--cyan-soft); margin-inline: auto; }
.hero .crumbs { margin-inline: auto; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 8px; }
.hero .btn:not(.btn--outline-light) { --btn-bg: #fff; --btn-fg: var(--navy); --btn-fill: var(--cyan); --btn-fg-hover: var(--navy); --btn-border: #fff; }
.hero :focus-visible, .section--navy :focus-visible, .site-footer :focus-visible { outline-color: #fff; }
.hero .crumbs, .hero .meta { color: rgba(255, 255, 255, .9); justify-content: center; }
.hero .crumbs a, .hero a:not(.btn) { color: #fff; }
.hero .ph { background: rgba(255, 255, 255, .18); border-bottom-color: #ffe08a; color: #fff; }
.hero__content > * { animation: rise .9s var(--ease) both; }
.hero__content > *:nth-child(2) { animation-delay: .08s; } .hero__content > *:nth-child(3) { animation-delay: .16s; } .hero__content > *:nth-child(4) { animation-delay: .24s; } .hero__content > *:nth-child(5) { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.hero__controls { position: absolute; right: var(--gutter); bottom: calc(var(--edge) + 14px); z-index: 2; display: flex; gap: 10px; }
.chip-btn { display: inline-flex; align-items: center; gap: .55em; font: 600 .74rem var(--sans); letter-spacing: .08em; text-transform: uppercase; color: #fff; background: rgba(5, 28, 44, .45); border: 1px solid rgba(255, 255, 255, .5); border-radius: 2px; padding: .6em 1em; cursor: pointer; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background .25s; }
.chip-btn:hover { background: rgba(5, 28, 44, .75); }
.chip-btn svg { width: 12px; height: 12px; }
.scroll-cue { position: absolute; left: 50%; bottom: 0; width: 1px; height: 54px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.scroll-cue::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 40%; background: var(--cyan-soft); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { from { transform: translateY(-100%); } to { transform: translateY(260%); } }

/* ---------- On this page bar ---------- */
.jump { position: sticky; top: var(--header-h); z-index: 70; background: var(--paper); border-bottom: 1px solid var(--rule); }
.jump__in { display: flex; align-items: center; gap: clamp(18px, 3vw, 36px); overflow-x: auto; scrollbar-width: none; }
.jump__in::-webkit-scrollbar { display: none; }
.jump__label { font: 600 .7rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); flex: none; }
.jump a { flex: none; color: var(--navy); text-decoration: none; font: 500 .94rem var(--sans); padding: 1em 0 .85em; border-bottom: 3px solid transparent; transition: color .25s, border-color .3s var(--ease); }
.jump a:hover { color: var(--blue); }
.jump a.active { color: var(--blue); border-bottom-color: var(--blue); }

/* ---------- Reveal on scroll ---------- */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .85s var(--ease), transform .85s var(--ease); transition-delay: var(--d, 0s); }
html.js .reveal.in { opacity: 1; transform: none; }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 250; background: linear-gradient(90deg, var(--blue), var(--cyan), var(--mint)); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }

/* ---------- Navy bands with live artwork ---------- */
.section--navy, .section--band { background: var(--navy); color: #fff; position: relative; isolation: isolate; overflow: hidden; }
.band-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; opacity: .85; filter: saturate(.85); }
.section--navy::after, .section--band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 28, 44, .55), rgba(5, 28, 44, .2) 50%, rgba(5, 28, 44, .55)); pointer-events: none; }
.section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }
.section--navy p, .section--navy li { color: rgba(255, 255, 255, .92); }
.section--navy .eyebrow { color: var(--cyan-soft); }
.section--navy a:not(.btn):not(.flow__tile) { color: #fff; }
.section--navy .link-arrow { color: #fff; }

/* ---------- Grid, cards, tiles ---------- */
.grid { display: grid; gap: clamp(16px, 2vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1020px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card, .tile, .glass { position: relative; overflow: hidden; isolation: isolate; border-radius: 2px; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
.card { background: #fff; border: 1px solid var(--rule); padding: clamp(22px, 2.4vw, 30px); display: flex; flex-direction: column; }
.section--tint .card, .section--grey .card { border-color: transparent; }
.card::after, .tile::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--blue), var(--cyan)); transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--ease); }
.card:hover, .tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card:hover::after, .tile:hover::after { transform: scaleX(1); }
.card h3 { margin-bottom: .45em; font-size: 1.4rem; }
.card p { color: var(--muted); }
.card .link-arrow { margin-top: auto; padding-top: .6em; }
.card__tag { font: 600 .7rem var(--sans); letter-spacing: .15em; text-transform: uppercase; color: var(--blue); margin: 0 0 1rem; display: flex; justify-content: space-between; gap: 1rem; }
.card h4 { font: 600 .7rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin: 1.3rem 0 .5rem; }
.card--link { text-decoration: none; color: inherit; }
a.card--link { text-decoration: none; color: inherit; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.card h3 a:hover { text-decoration: underline; }
.stage-num { font: 400 3rem/1 var(--serif); color: var(--blue); margin-bottom: .25em; }
.glass { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .25); padding: clamp(22px, 3vw, 36px); color: #fff; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }

[data-stage="decide"] { --st1: #2251ff; --st2: #7a5cff; }
[data-stage="build"] { --st1: #00acf0; --st2: #2251ff; }
[data-stage="adopt"] { --st1: #7a5cff; --st2: #e84fd0; }
[data-stage="prove"] { --st1: #2fe3c6; --st2: #00acf0; }
.card[data-stage]::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--st1), var(--st2)); }

.card__img { margin: calc(-1 * clamp(22px, 2.4vw, 30px)) calc(-1 * clamp(22px, 2.4vw, 30px)) 1.3rem; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card__img img { transform: scale(1.06); }
.thumb { aspect-ratio: 16 / 9; margin: calc(-1 * clamp(22px, 2.4vw, 30px)) calc(-1 * clamp(22px, 2.4vw, 30px)) 1.3rem; overflow: hidden; background: var(--navy); }
.thumb svg { width: 100%; height: 100%; }

.tile { display: flex; flex-direction: column; justify-content: space-between; min-height: 158px; padding: 24px; background: #fff; color: var(--ink); border: 1px solid var(--rule); text-decoration: none; }
.section--tint .tile, .section--grey .tile { border-color: transparent; }
.tile h3 { margin: 0 0 .3em; font-size: 1.3rem; }
.tile p { color: var(--muted); font-size: .95rem; margin: 0; }
.tile .arrow { align-self: flex-end; color: var(--blue); margin-top: 12px; }
.tile .arrow svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.tile:hover .arrow svg { transform: translate(4px, -4px); }

/* ---------- Connected stage tiles (the scroll flow) ---------- */
.flow { position: relative; --flow-line: rgba(255, 255, 255, .22); --flow-live: var(--cyan); --flow-dot: #fff; }
.flow--light { --flow-line: rgba(5, 28, 44, .16); --flow-live: var(--blue); --flow-dot: var(--blue); }
.flow__tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(22px, 3.2vw, 52px); position: relative; z-index: 1; align-items: start; }
.flow__tile { position: relative; background: #fff; color: var(--navy); border-radius: 2px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 30px 60px -36px rgba(0, 0, 0, .7); transition: opacity .7s var(--ease), transform .7s var(--ease), filter .7s var(--ease), box-shadow .5s; }
.flow__tile:nth-child(even) { margin-top: clamp(40px, 6vw, 96px); }
.flow__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.flow__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-2); }
.flow__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.flow__tile:hover .flow__img img { transform: scale(1.07); }
.flow__body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: .1rem; flex: 1; }
.flow__num { font: 600 .74rem var(--sans); letter-spacing: .15em; color: var(--blue); margin: 0 0 .5rem; display: flex; align-items: center; gap: .7em; }
.flow__num::after { content: ""; height: 2px; flex: 1; background: linear-gradient(90deg, var(--st1, var(--blue)), var(--st2, var(--cyan))); transform-origin: 0 50%; transition: transform .9s var(--ease) .2s; transform: scaleX(0); }
.flow__tile.is-on .flow__num::after, html:not(.js) .flow__num::after, .flow.is-static .flow__num::after { transform: scaleX(1); }
.flow__tile h3 { font-size: clamp(1.55rem, 1.2rem + .8vw, 1.95rem); margin: 0 0 .35em; color: var(--ink); }
.flow__tile p { color: var(--muted); margin: 0 0 1rem; font-size: 1rem; line-height: 1.55; }
.flow__tile ul { margin: 0 0 1rem; padding-left: 1.1em; color: var(--muted); font-size: .95rem; }
.flow__tile li { margin-bottom: .3em; }
.flow__more { margin-top: auto; font: 600 .9rem var(--sans); color: var(--blue); display: inline-flex; align-items: center; gap: .5em; }
.flow__more svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.flow__tile:hover .flow__more svg { transform: translateX(5px); }
.flow__tile .chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 1rem; padding: 0; list-style: none; }
.flow__tile .chips li { font-size: .82rem; padding: .3em .7em; background: var(--grey); color: var(--navy); margin: 0; border-radius: 2px; }
.flow--light .flow__tile { border: 1px solid var(--rule); box-shadow: 0 1px 2px rgba(5, 28, 44, .05); }
.flow--compact .flow__body { padding-top: 26px; }
.flow--compact .flow__tile::before { content: ""; height: 5px; background: linear-gradient(90deg, var(--st1, var(--blue)), var(--st2, var(--cyan))); }
.flow__big { font: 400 3.4rem/1 var(--serif); margin: 0 0 .15em; background: linear-gradient(135deg, var(--st1, var(--blue)), var(--st2, var(--cyan))); -webkit-background-clip: text; background-clip: text; color: transparent; }
html.js .flow:not(.is-static) .flow__tile { opacity: .5; transform: translateY(26px) scale(.975); filter: saturate(.3); }
html.js .flow:not(.is-static) .flow__tile.is-on { opacity: 1; transform: none; filter: none; }
.flow__svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; overflow: visible; pointer-events: none; }
.flow__base { fill: none; stroke: var(--flow-line); stroke-width: 2; stroke-dasharray: 2 7; stroke-linecap: round; }
.flow__live { fill: none; stroke: var(--flow-live); stroke-width: 3; stroke-linecap: round; filter: drop-shadow(0 0 7px var(--flow-live)); }
.flow__port { fill: var(--navy); stroke: var(--flow-line); stroke-width: 2; transition: fill .4s, stroke .4s, r .4s; }
.flow--light .flow__port { fill: #fff; }
.flow__port.is-on { fill: var(--flow-live); stroke: #fff; }
.flow__dot { fill: var(--flow-dot); filter: drop-shadow(0 0 10px var(--flow-live)); }
@media (max-width: 900px) {
  .flow__tiles { grid-template-columns: 1fr; gap: 54px; }
  .flow__tile:nth-child(even) { margin-top: 0; margin-left: clamp(18px, 8vw, 70px); }
  .flow__tile:nth-child(odd) { margin-right: clamp(18px, 8vw, 70px); }
  .flow__img { aspect-ratio: 16 / 8; }
}

/* ---------- Case cards ---------- */
.case { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--rule); position: relative; overflow: hidden; border-radius: 2px; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.section--tint .case, .section--grey .case { border-color: transparent; }
.case:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.case__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy); }
.case__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.case:hover .case__img img { transform: scale(1.06); }
.case__body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.case__body p { color: var(--muted); }
.case__body h3 { font-size: 1.4rem; }

/* Lists and prose */
.checks { list-style: none; padding: 0; }
.checks li { position: relative; padding-left: 1.7em; margin-bottom: .6em; }
.checks li::before { content: ""; position: absolute; left: 0; top: .62em; width: .7em; height: .7em; background: linear-gradient(135deg, var(--blue), var(--cyan)); transform: rotate(45deg); }
.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(1.5rem, 1rem + 1.6vw, 2.2rem); margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose blockquote { margin: 2rem 0; padding: .4rem 0 .4rem 1.6rem; border-left: 3px solid var(--blue); font: 400 1.5rem/1.4 var(--serif); color: var(--ink); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; border-top: 1px solid var(--rule); padding-top: 28px; }
.person__img { aspect-ratio: 4 / 5; background: linear-gradient(160deg, var(--navy-2), var(--blue)); display: grid; place-items: center; margin-bottom: 1rem; overflow: hidden; }
.person__img svg { width: 42%; opacity: .85; }
.position__points { margin-top: 2.2rem; display: grid; gap: 14px; }
.position__points p { margin: 0; padding-left: 1.2rem; border-left: 3px solid var(--blue); }

/* Stage detail sections (Our approach) */
.stage-detail { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.stage-detail__head { position: sticky; top: calc(var(--header-h) + 90px); }
.stage-detail__num { font: 400 clamp(4.5rem, 10vw, 8rem)/.9 var(--serif); background: linear-gradient(135deg, var(--st1), var(--st2)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: .1em; }
.stage-detail__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px clamp(20px, 3vw, 44px); }
.stage-detail__cols h3 { font: 600 .72rem var(--sans); letter-spacing: .15em; text-transform: uppercase; color: var(--blue); margin: 1.2rem 0 .6rem; }
.stage-detail__cols ul { margin: 0; padding-left: 1.1em; }
.stage-detail__cols li { margin-bottom: .5em; }
.stage-detail__wide { grid-column: 1 / -1; }
@media (max-width: 900px) { .stage-detail { grid-template-columns: 1fr; } .stage-detail__head { position: static; } .stage-detail__cols { grid-template-columns: 1fr; } }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filter { font: 600 .8rem var(--sans); letter-spacing: .08em; text-transform: uppercase; padding: .65em 1.2em; border-radius: 2px; border: 1.5px solid var(--navy); background: transparent; color: var(--navy); cursor: pointer; transition: all .25s; text-decoration: none; display: inline-block; }
.filter:hover { background: rgba(5, 28, 44, .07); }
.filter[aria-pressed="true"] { background: var(--navy); color: #fff; }
.is-hidden { display: none !important; }

/* CTA band */
.cta-band { padding-block: clamp(72px, 10vw, 140px); }
.cta { max-width: 760px; }
.cta h2 { font-size: clamp(2rem, 1.1rem + 3vw, 3.6rem); max-width: 18ch; margin-bottom: .4em; }
.cta p { font-size: 1.15rem; max-width: 52ch; }
.cta .hero__actions { justify-content: flex-start; margin-top: 1.6rem; }

/* Forms */
.form { display: grid; gap: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }
.field label, .field .label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .4em; color: var(--ink); }
.field .hint { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: 1rem/1.4 var(--sans); color: var(--ink); background: #fff; border: 1.5px solid #77828d; border-radius: 2px; padding: .8em 1em; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 170px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(34, 81, 255, .2); }
.field [aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(179, 38, 30, .15); }
.field__error { color: var(--danger); font-size: .9rem; margin: .4em 0 0; font-weight: 600; }
.check { display: flex; gap: .75em; align-items: flex-start; }
.check input { width: 1.25em; height: 1.25em; margin-top: .2em; flex: none; accent-color: var(--blue); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 1.1rem 1.4rem; border-radius: 2px; border: 1.5px solid var(--blue); background: rgba(34, 81, 255, .07); }
.form-status.is-error { border-color: var(--danger); background: rgba(179, 38, 30, .08); }
.form-status h3 { margin: 0 0 .3em; font-size: 1.15rem; }
.form-status p { margin: 0; }
.details { display: grid; gap: 1.4rem; }
.details h3 { font: 600 .72rem var(--sans); letter-spacing: .15em; text-transform: uppercase; color: var(--blue); margin: 0 0 .3rem; }
.details p { margin: 0; }

/* Breadcrumbs, meta */
.crumbs { font: 600 .74rem var(--sans); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1.4rem; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.meta { font: 600 .76rem var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); display: flex; gap: 1.2rem; flex-wrap: wrap; margin-top: 1.4rem; }

/* Footer */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .86); padding: clamp(56px, 7vw, 96px) 0 32px; font-size: .98rem; position: relative; overflow: hidden; isolation: isolate; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--blue), var(--cyan), var(--mint)); }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--cyan-soft); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h2 { font: 600 .72rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--cyan-soft); margin: 0 0 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .55em; }
.footer-brand img { height: 112px; width: auto; margin-bottom: 1.1rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .2); margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .88rem; }
.site-footer .ph { background: rgba(255, 255, 255, .16); border-bottom-color: #ffe08a; color: #fff; }

/* Cookie notice (placeholder) */
.cookie { position: fixed; left: 16px; bottom: 16px; z-index: 180; max-width: 430px; background: #fff; color: var(--ink); border: 1px solid var(--rule); border-top: 4px solid var(--blue); padding: 20px 22px; box-shadow: 0 24px 48px -16px rgba(5, 28, 44, .45); font-size: .95rem; }
.cookie[hidden] { display: none; }
.cookie p { margin: 0 0 1rem; color: var(--muted); }
.cookie .btn { padding: .6em 1.2em; font-size: .92rem; }
.cookie .hero__actions { justify-content: flex-start; }
.cookie .btn:not(.btn--ghost) { --btn-bg: var(--blue); --btn-fg: #fff; --btn-fill: var(--navy); --btn-fg-hover: #fff; --btn-border: var(--blue); }

/* 404 */
.center { text-align: center; margin-inline: auto; }
.center p { margin-inline: auto; }

/* Reduced motion: remove movement, keep everything readable */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html.js .reveal { opacity: 1; transform: none; }
  .hero__content > * { animation: none; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee [aria-hidden="true"] { display: none; }
  .scroll-cue { display: none; }
}
@media print { .site-header, .scrim, .menu, canvas.fx, .hero__art, .band-art, .cookie, .progress, .jump { display: none !important; } .hero { min-height: 0; padding: 24px 0; color: #000; background: #fff; } .hero h1 { color: #000; text-shadow: none; } .section--navy { background: #fff; color: #000; } }


/* One consistent shift from navy to light, everywhere: a soft fade over the same distance */
:root { --fade-down: linear-gradient(180deg, #051c2c 0%, rgba(5, 28, 44, .78) 22%, rgba(5, 28, 44, .46) 46%, rgba(5, 28, 44, .17) 72%, rgba(5, 28, 44, 0) 100%); --fade-up: linear-gradient(0deg, #051c2c 0%, rgba(5, 28, 44, .78) 22%, rgba(5, 28, 44, .46) 46%, rgba(5, 28, 44, .17) 72%, rgba(5, 28, 44, 0) 100%); }
.hero::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: var(--edge); z-index: 1; background: linear-gradient(0deg, var(--paper) 0%, rgba(247, 249, 252, .8) 22%, rgba(247, 249, 252, .46) 46%, rgba(247, 249, 252, .17) 72%, rgba(247, 249, 252, 0) 100%); pointer-events: none; }
.section--navy + .section:not(.section--navy)::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: var(--edge); background: var(--fade-down); pointer-events: none; z-index: 1; }
.section:not(.section--navy):has(+ .section--navy)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: var(--edge); background: var(--fade-up); pointer-events: none; z-index: 1; }

/* Industry tiles with images */
.tile--img { padding: 0; min-height: 0; overflow: hidden; border-radius: 2px; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.tile--img:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tile__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy); }
.tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile--img:hover .tile__img img { transform: scale(1.07); }
.tile__body { padding: 20px 22px 22px; display: flex; flex-direction: column; justify-content: space-between; flex: 1; min-height: 132px; }

/* Experience cards */
.case__facts { margin: 0; display: grid; gap: .9rem; }
.case__facts dt { font: 600 .7rem var(--sans); letter-spacing: .15em; text-transform: uppercase; color: var(--blue); margin-bottom: .2rem; }
.case__facts dd { margin: 0; color: var(--text); font-size: .98rem; line-height: 1.55; }

/* Liquid UI: drifting liquid colour behind translucent glass cards */
.section--liquid { background: linear-gradient(180deg, #051c2c 0, rgba(5, 28, 44, 0) 140px), linear-gradient(160deg, #04182a 0%, #082a45 55%, #0a3558 100%); }
.liquid { position: absolute; inset: 0; z-index: -2; filter: url(#goo); pointer-events: none; overflow: hidden; }
.liquid i { position: absolute; display: block; border-radius: 50%; width: var(--s); height: var(--s); left: var(--x); top: var(--y); background: radial-gradient(circle at 35% 35%, var(--c1), var(--c2)); opacity: .62; animation: liquid-drift var(--d) ease-in-out infinite alternate; will-change: transform; }
.liquid i:nth-child(1) { --s: 360px; --x: -6%; --y: 6%; --c1: #2f6bff; --c2: #1238c7; --d: 19s; }
.liquid i:nth-child(2) { --s: 300px; --x: 58%; --y: -8%; --c1: #19b9ff; --c2: #0a6fb8; --d: 23s; }
.liquid i:nth-child(3) { --s: 420px; --x: 78%; --y: 52%; --c1: #3a56ff; --c2: #1b2a9a; --d: 27s; }
.liquid i:nth-child(4) { --s: 260px; --x: 22%; --y: 64%; --c1: #35d6e6; --c2: #0b7fa0; --d: 21s; }
.liquid i:nth-child(5) { --s: 200px; --x: 46%; --y: 34%; --c1: #6a7bff; --c2: #2a3fc2; --d: 17s; }
@keyframes liquid-drift { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(7vw, 5vh, 0) scale(1.12); } 100% { transform: translate3d(-6vw, -4vh, 0) scale(.92); } }
.section--liquid .card, .section--liquid .flow__chip { position: relative; overflow: hidden; color: #fff; border: 1px solid rgba(255, 255, 255, .26); border-radius: 22px; background: linear-gradient(145deg, rgba(255, 255, 255, .17), rgba(255, 255, 255, .05)); -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 -1px 0 rgba(255, 255, 255, .08), 0 22px 44px -26px rgba(0, 0, 0, .65); transition: transform .55s var(--ease), border-radius .7s var(--ease), box-shadow .5s var(--ease); }
.section--liquid .card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(240px circle at var(--mx, 30%) var(--my, 0%), rgba(255, 255, 255, .3), rgba(255, 255, 255, 0) 62%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.section--liquid .card:hover { transform: translateY(-6px) scale(1.012); border-radius: 34px 18px 34px 18px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), inset 0 -1px 0 rgba(255, 255, 255, .1), 0 30px 54px -24px rgba(0, 0, 0, .7); }
.section--liquid .card:hover::before { opacity: 1; }
.section--liquid .card h3, .section--liquid .card h4 { color: #fff; }
.section--liquid .card p, .section--liquid .card li { color: rgba(255, 255, 255, .9); }
.section--liquid .card__tag { color: var(--cyan-soft); }
.section--liquid .card .link-arrow { color: #fff; }
.section--liquid .checks li::before { background: linear-gradient(135deg, var(--cyan-soft), #fff); }
@media (prefers-reduced-motion: reduce) { .liquid i { animation: none; } .section--liquid .card, .section--liquid .card:hover { transition: none; transform: none; } }
@media (max-width: 760px) { .liquid i { --s: 220px !important; } }


/* =====================================================================
   NAVY THROUGHOUT. No white surfaces anywhere: three depths of navy,
   cyan accents, glass-style cards. Tokens are set in :root above.
   ===================================================================== */
:root { --accent: var(--cyan-soft); --fade-from: #071f33; }
body { background: var(--paper); }
.hero::before { background: linear-gradient(0deg, var(--paper) 0%, rgba(7, 31, 51, .8) 22%, rgba(7, 31, 51, .46) 46%, rgba(7, 31, 51, .17) 72%, rgba(7, 31, 51, 0) 100%); }
.section--navy, .section--band, .site-footer { background: var(--navy); }

/* accent text must stay readable on navy */
.eyebrow, .card__tag, .card h4, .stage-num, .link-arrow, .flow__num, .flow__more, .case__facts dt, .details h3,
.stage-detail__cols h3, .tile .arrow, .jump a:hover, .jump a.active { color: var(--accent); }
.jump a.active { border-bottom-color: var(--accent); }
.btn--line { --btn-fg: var(--accent); --btn-border: var(--accent); --btn-fill: var(--accent); --btn-fg-hover: var(--navy); }

/* header once scrolled */
.site-header.is-solid { background: rgba(5, 28, 44, .9); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .12); }
.site-header.is-solid .logo-onblue { display: block; }
.site-header.is-solid .logo-color { display: none; }
.site-header.is-solid :focus-visible { outline-color: #fff; }

/* on this page bar */
.jump { background: rgba(7, 31, 51, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.jump a { color: var(--text); }

/* buttons that used to be dark-on-light */
.btn--ghost { --btn-fg: #fff; --btn-border: rgba(255, 255, 255, .6); --btn-fill: #fff; --btn-fg-hover: var(--navy); }
.btn--ink { --btn-bg: var(--blue); --btn-border: var(--blue); --btn-fill: var(--cyan); --btn-fg-hover: var(--navy); }
.btn { --btn-fill: var(--cyan); --btn-fg-hover: var(--navy); }
.filter { border-color: rgba(255, 255, 255, .5); color: #fff; }
.filter:hover { background: rgba(255, 255, 255, .1); }
.filter[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }

/* cards, tiles, cases, flow tiles: glass navy */
.card, .tile, .case, .flow__tile { background: var(--surface); color: var(--text); border: 1px solid rgba(255, 255, 255, .13); }
.section--tint .card, .section--grey .card, .section--tint .tile, .section--grey .tile, .section--tint .case, .section--grey .case { border-color: rgba(255, 255, 255, .13); }
.card:hover, .tile:hover, .case:hover, .tile--img:hover { box-shadow: 0 28px 60px -24px rgba(0, 0, 0, .75), 0 0 0 1px rgba(127, 220, 255, .35); }
.flow__tile { box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.flow--light .flow__tile { border: 1px solid rgba(255, 255, 255, .13); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.flow--light { --flow-line: rgba(255, 255, 255, .22); --flow-live: var(--cyan); --flow-dot: #fff; }
.flow--light .flow__port { fill: var(--navy); }
.flow__tile .chips li { background: rgba(255, 255, 255, .1); color: #fff; }
.flow__tile, .flow__link { color: var(--text); }
.tile h3, .case__body h3, .card h3, .flow__tile h3 { color: #fff; }
.case__facts dd { color: var(--text); }

/* forms */
.field input, .field select, .field textarea { background: rgba(255, 255, 255, .07); color: #fff; border-color: rgba(255, 255, 255, .4); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field select option { background: var(--navy); color: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(0, 172, 240, .3); }
.form-status { background: rgba(0, 172, 240, .12); border-color: var(--cyan); }
.form-status.is-error { background: rgba(255, 120, 110, .12); border-color: #ff8f86; }
.field [aria-invalid="true"] { border-color: #ff8f86; box-shadow: 0 0 0 3px rgba(255, 143, 134, .22); }
.field__error { color: #ffb4ad; }

/* cookie notice, placeholders, print-safe chips */
.cookie { background: #0b2f4b; color: var(--text); border-color: rgba(255, 255, 255, .18); border-top-color: var(--cyan); box-shadow: 0 24px 48px -16px rgba(0, 0, 0, .7); }
.cookie .btn:not(.btn--ghost) { --btn-fill: var(--cyan); --btn-fg-hover: var(--navy); }
.ph { background: rgba(255, 224, 138, .16); color: #ffe9a8; }
.ph-block { background: rgba(255, 224, 138, .09); border-color: rgba(255, 224, 138, .55); color: var(--text); }
.prose blockquote { color: #fff; }
.person__img { background: linear-gradient(160deg, var(--navy-2), #123f78); }
.marquee, .marquee * { color: inherit; }
::selection { background: var(--cyan); color: var(--navy); }

/* =====================================================================
   POP ON SCROLL. Cards, tiles and the four connected stages spring in
   with a small overshoot, one after another.
   ===================================================================== */
:root { --pop: cubic-bezier(.34, 1.56, .64, 1); }
html.js .reveal { opacity: 0; transform: translateY(46px) scale(.9); transition: opacity .55s var(--ease), transform .85s var(--pop); transition-delay: var(--d, 0s); }
html.js .reveal.in { opacity: 1; transform: none; }
html.js .reveal:is(h1, h2, h3, p, .lead, .eyebrow, .stat-row, .cta) { transform: translateY(26px); transition: opacity .7s var(--ease), transform .9s var(--ease); }
html.js .reveal:is(h1, h2, h3, p, .lead, .eyebrow, .stat-row, .cta).in { transform: none; }
html.js .reveal.card.in:hover, html.js .reveal.tile.in:hover, html.js .reveal.case.in:hover { transition-delay: 0s; }

/* the four connected stages */
html.js .flow:not(.is-static) .flow__tile { opacity: 0; transform: translateY(70px) scale(.82) rotate(-1.2deg); filter: blur(5px); transition: opacity .5s var(--ease), transform .95s var(--pop), filter .6s var(--ease), box-shadow .5s; }
html.js .flow:not(.is-static) .flow__tile:nth-child(even) { transform: translateY(70px) scale(.82) rotate(1.2deg); }
html.js .flow:not(.is-static) .flow__tile.is-on { opacity: 1; transform: none; filter: none; }
html.js .flow:not(.is-static) .flow__tile.is-on .flow__img img { animation: pop-img 1.1s var(--ease) both; }
html.js .flow:not(.is-static) .flow__tile.is-on .flow__num { animation: pop-in .7s var(--pop) .25s both; }
html.js .flow:not(.is-static) .flow__tile.is-on h3 { animation: pop-in .7s var(--pop) .38s both; }
html.js .flow:not(.is-static) .flow__tile.is-on p, html.js .flow:not(.is-static) .flow__tile.is-on ul { animation: pop-in .7s var(--pop) .5s both; }
html.js .flow:not(.is-static) .flow__tile.is-on .flow__more { animation: pop-in .7s var(--pop) .62s both; }
.flow__port.is-on { animation: port-pop .6s var(--pop); }
@keyframes pop-in { from { opacity: 0; transform: translateY(16px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes pop-img { from { transform: scale(1.18); } to { transform: scale(1); } }
@keyframes port-pop { 0% { transform: scale(.4); } 60% { transform: scale(1.5); } 100% { transform: scale(1); } }
.flow__port { transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal, html.js .flow:not(.is-static) .flow__tile { opacity: 1; transform: none; filter: none; }
  html.js .flow:not(.is-static) .flow__tile * { animation: none !important; }
}

/* Primary calls to action: cyan on navy, never a white block */
.btn--light, .hero .btn:not(.btn--outline-light) { --btn-bg: var(--cyan); --btn-fg: var(--navy); --btn-border: var(--cyan); --btn-fill: #fff; --btn-fg-hover: var(--navy); }
