/* Alangh Infosec. "You build, we protect."
   Design system: deep ink navy, blueprint blue, signal green from the logo, paper white.
   Display type: Space Grotesk (variable 300-700). Body: Manrope (variable 200-800). Both OFL, self-hosted.
   No inline styles anywhere (CSP style-src 'self'). Motion is CSS-first and disabled under reduced motion. */

@font-face { font-family: 'Space Grotesk'; font-style: normal; font-display: swap; font-weight: 300 700;
  src: url(/fonts/space-grotesk-latin-wght-normal.woff2) format('woff2-variations'), url(/fonts/space-grotesk-latin-wght-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url(/fonts/manrope-latin-wght-normal.woff2) format('woff2-variations'), url(/fonts/manrope-latin-wght-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #05152a;
  --ink-2: #0a2540;
  --ink-3: #12355c;
  --blue: #0e6aa6;
  --blue-2: #1f7ae0;
  --sky: #6db3ff;
  --green: #00d89c;
  --green-ink: #007a56;
  --red: #d93a3f;
  --red-2: #ff6f61;
  --paper: #f3f6fa;
  --mist: #e3eaf3;
  --line: #d3dde9;
  --text: #0b1f36;
  --muted: #4a5d74;
  --on-dark: #e9f1fb;
  --on-dark-muted: #a9bdd4;
  --display: 'Space Grotesk', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --body: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1280px;
  --gut: clamp(20px, 4.5vw, 56px);
  --radius: 18px;
  --ease: cubic-bezier(.2, .75, .15, 1);
  --shadow: 0 1px 2px rgba(5, 21, 42, .06), 0 12px 32px -12px rgba(5, 21, 42, .18);
  --shadow-lg: 0 2px 6px rgba(5, 21, 42, .06), 0 40px 80px -30px rgba(5, 21, 42, .35);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font-family: var(--body); font-size: 1.0625rem; line-height: 1.68; font-weight: 500; color: var(--text); background: #fff; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.04; letter-spacing: -.03em; margin: 0 0 .5em; color: inherit; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.6vw, 5.6rem); letter-spacing: -.045em; line-height: .98; }
h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); letter-spacing: -.04em; }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.4rem); letter-spacing: -.02em; line-height: 1.2; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 700; }
::selection { background: var(--green); color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue-2); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--green); }

.container { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; padding: 12px 18px; background: var(--green); color: var(--ink); font-weight: 700; border-radius: 10px; text-decoration: none; }
.skip-link:focus { top: 16px; }
main:focus { outline: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ------------------------------------------------------------------ type helpers */
.kicker { display: inline-flex; align-items: center; gap: .6em; font-family: var(--display); font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin: 0 0 1.4rem; }
.kicker::before { content: ''; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.on-dark .kicker { color: var(--green); }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.55; color: var(--muted); font-weight: 500; }
.on-dark .lead { color: var(--on-dark-muted); }
.big-lead { font-family: var(--display); font-weight: 400; font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.3; letter-spacing: -.02em; color: var(--text); }
.num { font-family: var(--display); font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.muted { color: var(--muted); }
.icon { width: 1.15em; height: 1.15em; flex: none; }

/* kinetic headings: words rise into place once in view */
.kt .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.kt .w > span { display: inline-block; }
.js .kt:not(.in) .w > span { transform: translateY(105%); }
.js .kt.in .w > span { transition: transform .9s var(--ease); }
.kt .w:nth-child(2) > span { transition-delay: 50ms; } .kt .w:nth-child(3) > span { transition-delay: 100ms; } .kt .w:nth-child(4) > span { transition-delay: 150ms; }
.kt .w:nth-child(5) > span { transition-delay: 200ms; } .kt .w:nth-child(6) > span { transition-delay: 250ms; } .kt .w:nth-child(7) > span { transition-delay: 300ms; }
.kt .w:nth-child(8) > span { transition-delay: 350ms; } .kt .w:nth-child(n+9) > span { transition-delay: 400ms; }

/* generic reveal */
.js .reveal:not(.in) { opacity: 0; transform: translateY(26px); }
.js .reveal.in { transition: opacity .8s var(--ease), transform .8s var(--ease); }

/* ------------------------------------------------------------------ buttons and links */
.btn { --bg: var(--ink); --fg: #fff; display: inline-flex; align-items: center; justify-content: center; gap: .65em; min-height: 52px; padding: .8em 1.4em; border: 1.5px solid transparent; border-radius: 12px; background: var(--bg); color: var(--fg); font-family: var(--display); font-weight: 600; font-size: 1rem; letter-spacing: -.01em; line-height: 1.1; text-decoration: none; cursor: pointer; position: relative; transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .25s; }
.btn .icon { transition: transform .3s var(--ease); }
.btn:hover { color: var(--fg); transform: translateY(-1px); }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: translateY(0); }
.btn-accent { --bg: var(--green); --fg: var(--ink); box-shadow: 0 0 0 0 rgba(0, 216, 156, 0); }
.btn-accent:hover { box-shadow: 0 10px 30px -10px rgba(0, 216, 156, .7); }
.btn-dark { --bg: var(--ink); --fg: #fff; }
.btn-dark:hover { --bg: var(--ink-3); }
.btn-ghost { --bg: transparent; --fg: #fff; border-color: rgba(255, 255, 255, .28); }
.btn-ghost:hover { border-color: #fff; }
.btn-line { --bg: transparent; --fg: var(--ink); border-color: var(--line); }
.btn-line:hover { border-color: var(--ink); }
.btn-lg { min-height: 58px; padding-inline: 1.7em; font-size: 1.05rem; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.text-link { display: inline-flex; align-items: center; gap: .5em; font-family: var(--display); font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1.5px solid var(--green); padding-bottom: 2px; }
.text-link:hover .icon { transform: translateX(3px); }
.text-link .icon { transition: transform .3s var(--ease); }
.on-dark .text-link { color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ------------------------------------------------------------------ header */
.site-header { position: fixed; inset: 12px 0 auto; z-index: 50; pointer-events: none; view-transition-name: site-header; }
.header-inner { pointer-events: auto; display: flex; align-items: center; gap: 24px; height: 64px; max-width: calc(var(--wrap) + 40px); margin-inline: auto; width: calc(100% - 24px); padding: 0 10px 0 20px; border-radius: 18px; background: rgba(5, 21, 42, .84); border: 1px solid rgba(255, 255, 255, .09); backdrop-filter: blur(16px) saturate(1.5); -webkit-backdrop-filter: blur(16px) saturate(1.5); box-shadow: 0 10px 40px -20px rgba(0, 0, 0, .6); transition: background-color .3s; }
.site-header.scrolled .header-inner { background: rgba(5, 21, 42, .93); }
.brand { display: block; flex: none; }
.brand img { height: 34px; width: auto; }
.site-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-list > li > a, .sub-toggle { display: inline-flex; align-items: center; gap: .35em; padding: 10px 14px; border-radius: 10px; color: var(--on-dark); font-family: var(--display); font-weight: 500; font-size: .98rem; text-decoration: none; background: none; border: 0; cursor: pointer; transition: background-color .2s, color .2s, font-weight .25s; }
.nav-list > li > a:hover, .sub-toggle:hover, .sub-toggle[aria-expanded="true"] { background: rgba(255, 255, 255, .08); color: #fff; }
.nav-list > li > a[aria-current="page"] { color: var(--green); }
.sub-toggle .icon { width: 1em; height: 1em; transition: transform .25s; }
.sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav-cta { margin-left: 8px; }
.nav-cta .btn { min-height: 44px; padding: .6em 1.15em; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .18); background: none; color: #fff; align-items: center; justify-content: center; cursor: pointer; }
.has-sub { position: relative; }
.submenu { position: absolute; top: calc(100% + 14px); left: 50%; transform: translate(-50%, 8px); min-width: 320px; padding: 22px; border-radius: 18px; background: rgba(5, 21, 42, .97); border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); opacity: 0; visibility: hidden; transition: opacity .2s, transform .25s var(--ease), visibility 0s .25s; }
.submenu.open { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .2s, transform .25s var(--ease); }
.mega { width: min(980px, calc(100vw - 48px)); left: auto; right: -260px; transform: translateY(8px); }
.mega.open { transform: none; }
.mega-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.mega-title { display: flex; align-items: baseline; gap: .6em; margin: 0 0 10px; padding-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, .1); color: #fff; font-family: var(--display); font-weight: 600; font-size: .95rem; }
.mega-title .num { color: var(--green); font-size: .8rem; }
.submenu a { display: block; padding: 6px 0; color: var(--on-dark-muted); text-decoration: none; font-size: .95rem; line-height: 1.35; transition: color .2s, transform .2s; }
.submenu a:hover, .submenu a[aria-current="page"] { color: #fff; transform: translateX(3px); }
.ind-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
.ind-list a { display: flex; align-items: center; gap: .6em; }
.ind-list .icon { color: var(--green); }
.mega-all { margin-top: 16px; padding-top: 14px !important; border-top: 1px solid rgba(255, 255, 255, .1); display: inline-flex !important; align-items: center; gap: .5em; color: var(--green) !important; font-family: var(--display); font-weight: 600; }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { position: fixed; inset: 84px 12px auto; max-height: calc(100dvh - 100px); overflow: auto; padding: 14px; border-radius: 18px; background: rgba(5, 21, 42, .98); border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); display: none; margin: 0; }
  .site-nav.open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-list > li > a, .sub-toggle { width: 100%; justify-content: space-between; padding: 14px; font-size: 1.1rem; }
  .submenu, .mega { position: static; transform: none; width: auto; min-width: 0; padding: 4px 14px 14px; border: 0; box-shadow: none; background: none; display: none; opacity: 1; visibility: visible; }
  .submenu.open, .mega.open { display: block; transform: none; }
  .mega-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .nav-cta { margin: 10px 0 0; }
  .nav-cta .btn { width: 100%; min-height: 52px; }
}
/* without JavaScript: menus open on hover or keyboard focus; on small screens the footer links stand in */
.nojs-menu { display: none; }
.no-js .has-sub:hover > .submenu, .no-js .has-sub:focus-within > .submenu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.no-js .has-sub:hover > .mega, .no-js .has-sub:focus-within > .mega { transform: none; }
@media (max-width: 1080px) {
  .no-js .nav-toggle { display: none; }
  .no-js .nojs-menu { display: inline-flex; margin-left: auto; padding: 10px 16px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .18); color: #fff; text-decoration: none; font-family: var(--display); font-weight: 600; }
}
@media (max-width: 560px) { .mega-grid, .ind-list { grid-template-columns: 1fr; } .brand img { height: 30px; } }

/* ------------------------------------------------------------------ surfaces */
.on-dark { background: var(--ink); color: var(--on-dark); position: relative; isolation: isolate; }
.on-dark a:not(.btn) { color: #fff; }
.on-dark h1, .on-dark h2, .on-dark h3 { color: #fff; }
.blueprint::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(109, 179, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(109, 179, 255, .07) 1px, transparent 1px);
  background-size: 56px 56px; background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(120% 90% at 70% 40%, #000 25%, transparent 75%); mask-image: radial-gradient(120% 90% at 70% 40%, #000 25%, transparent 75%); }
.glow { background-image: radial-gradient(900px 560px at 80% 30%, rgba(31, 122, 224, .28), transparent 65%), radial-gradient(640px 420px at 60% 95%, rgba(0, 216, 156, .12), transparent 60%); }
.paper { background: var(--paper); }
.section { padding-block: clamp(80px, 11vw, 150px); }
.section-tight { padding-block: clamp(56px, 7vw, 96px); }
.head { max-width: 860px; margin-bottom: clamp(40px, 6vw, 72px); }
.head h2 { margin-bottom: .35em; }
.head-row { display: flex; align-items: end; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(40px, 6vw, 64px); }
.head-row .head { margin: 0; }

/* ------------------------------------------------------------------ homepage hero */
.hero { min-height: 100svh; display: flex; align-items: center; padding: 124px 0 64px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); align-items: center; gap: 24px; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { display: inline-flex; align-items: center; gap: .7em; margin: 0 0 28px; padding: 7px 14px 7px 10px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .04); font-family: var(--display); font-size: .85rem; font-weight: 500; letter-spacing: .02em; color: var(--on-dark-muted); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(0, 216, 156, .18); }
.hero-title { font-size: clamp(3.4rem, 7.6vw, 7.6rem); line-height: .9; letter-spacing: -.05em; margin: 0 0 32px; }
.hero-title .ht { display: block; white-space: nowrap; }
.hero-title .ht-1 { font-weight: 650; color: #fff; }
.hero-title .ht-2 { position: relative; width: fit-content; font-weight: 650; color: var(--green); -webkit-text-stroke: 1.5px var(--green); padding-bottom: .1em; }
.hero-title .ht-2::after { content: ''; position: absolute; left: .04em; right: 0; bottom: -.02em; height: .06em; border-radius: 99px; background: var(--green); box-shadow: 0 0 24px rgba(0, 216, 156, .6); transform-origin: left; }
.hero-lead { font-size: clamp(1.1rem, 1.5vw, 1.28rem); max-width: 34em; color: var(--on-dark-muted); margin-bottom: 36px; }
.hero-practices { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-family: var(--display); font-size: .92rem; color: var(--on-dark-muted); }
.hero-practices li { display: inline-flex; align-items: center; gap: .55em; }
.hero-practices .num { color: var(--green); font-size: .78rem; }
.hero-visual { position: relative; margin-right: calc(var(--gut) * -1 - 4vw); }
.hero-visual .viz-svg { width: 100%; height: auto; overflow: visible; }

@media (prefers-reduced-motion: no-preference) {
  .hero-title .ht-1 { animation: ht-build 1.4s var(--ease) both; }
  .hero-title .ht-2 { animation: ht-outline 1.7s linear both, ht-protect .9s var(--ease) 1.75s both; }
  .hero-title .ht-2::after { animation: ht-line .9s var(--ease) 1.8s both; }
  .hero .eyebrow, .hero-lead, .hero .actions, .hero-practices { animation: rise .9s var(--ease) both; }
  .hero-lead { animation-delay: .15s; } .hero .actions { animation-delay: .3s; } .hero-practices { animation-delay: .5s; }
}
@keyframes ht-build { from { font-weight: 300; letter-spacing: .01em; opacity: .55; } to { font-weight: 650; letter-spacing: -.05em; opacity: 1; } }
@keyframes ht-outline { from, to { color: transparent; -webkit-text-stroke-color: rgba(0, 216, 156, .9); } }
@keyframes ht-protect { from { color: transparent; text-shadow: none; } to { color: var(--green); text-shadow: 0 0 40px rgba(0, 216, 156, .25); } }
@keyframes ht-line { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* scroll-linked depth on the hero visual (progressive enhancement) */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero-visual { animation: hero-depth linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
    @keyframes hero-depth { to { transform: translateY(12vh) scale(.94); opacity: .35; } }
  }
}

@media (max-width: 980px) {
  .hero { min-height: 0; padding-top: 112px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { margin: 8px -6vw 0; }
  .hero-practices { margin-top: 32px; }
}

/* ------------------------------------------------------------------ statement band (scroll-scrubbed) */
.statement { padding-block: clamp(90px, 13vw, 180px); }
.statement p { font-family: var(--display); font-weight: 500; font-size: clamp(1.9rem, 4.6vw, 4rem); line-height: 1.08; letter-spacing: -.04em; margin: 0; max-width: 22ch; color: var(--ink); }
.statement p .accent { color: var(--green-ink); }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .scrub .sw { animation: scrub-word linear both; animation-timeline: view(); animation-range: entry calc(30% + var(--i) * 2.4%) cover calc(36% + var(--i) * 2.4%); }
    @keyframes scrub-word { from { opacity: .16; } to { opacity: 1; } }
  }
}

/* per-word index for the scroll-scrubbed statement */
.i0 { --i: 0; } .i1 { --i: 1; } .i2 { --i: 2; } .i3 { --i: 3; } .i4 { --i: 4; } .i5 { --i: 5; } .i6 { --i: 6; } .i7 { --i: 7; } .i8 { --i: 8; } .i9 { --i: 9; } .i10 { --i: 10; } .i11 { --i: 11; } .i12 { --i: 12; } .i13 { --i: 13; } .i14 { --i: 14; } .i15 { --i: 15; } .i16 { --i: 16; } .i17 { --i: 17; } .i18 { --i: 18; } .i19 { --i: 19; } .i20 { --i: 20; } .i21 { --i: 21; } .i22 { --i: 22; } .i23 { --i: 23; } .i24 { --i: 24; } .i25 { --i: 25; } .i26 { --i: 26; } .i27 { --i: 27; } .i28 { --i: 28; } .i29 { --i: 29; } .i30 { --i: 30; } .i31 { --i: 31; }
.h3-like { font-size: clamp(1.3rem, 2vw, 1.6rem); margin-bottom: 18px; }

/* ------------------------------------------------------------------ practice explorer */
.px { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.px-tabs { display: none; }
.px.tabs-on .px-tabs { display: flex; flex-direction: column; position: sticky; top: 110px; }
.px-tab { display: grid; grid-template-columns: 54px 1fr auto; align-items: center; gap: 8px; width: 100%; padding: 22px 4px; border: 0; border-top: 1px solid var(--line); background: none; text-align: left; cursor: pointer; color: var(--muted); font-family: var(--display); font-size: clamp(1.25rem, 2.1vw, 1.8rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.1; transition: color .25s, font-weight .35s; }
.px-tab:last-child { border-bottom: 1px solid var(--line); }
.px-tab .num { font-size: .85rem; color: var(--blue); }
.px-tab .icon { opacity: 0; transform: translateX(-8px); transition: opacity .25s, transform .35s var(--ease); }
.px-tab:hover { color: var(--ink); }
.px-tab[aria-selected="true"] { color: var(--ink); font-weight: 650; }
.px-tab[aria-selected="true"] .icon { opacity: 1; transform: none; color: var(--green-ink); }
.px-panels { display: grid; gap: 64px; }
.px.tabs-on .px-panels { display: block; }
.px-panel { border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); padding: clamp(24px, 3.5vw, 44px); position: relative; overflow: hidden; }
.px-panel[hidden] { display: none; }
.px.tabs-on .px-panel:not([hidden]) { animation: panel-in .55s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.px-panel .viz { margin: -8px auto 18px; display: flex; justify-content: center; }
.px-panel .viz-svg { height: clamp(220px, 26vw, 340px); width: auto; }
.px-panel h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -.035em; }
.px-panel .no-js-num { font-family: var(--display); color: var(--blue); font-size: .9rem; margin: 0 0 6px; }
.px.tabs-on .no-js-num { display: none; }
.px-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; margin-top: 18px; }
.px-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; font-family: var(--display); font-weight: 500; }
.px-list a .icon { color: var(--green-ink); transition: transform .3s var(--ease); }
.px-list a:hover .icon { transform: translateX(4px); }
@media (max-width: 900px) {
  .px { grid-template-columns: 1fr; }
  .px.tabs-on .px-tabs { position: static; flex-direction: row; overflow-x: auto; gap: 8px; scrollbar-width: none; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut) 4px; }
  .px-tab { width: auto; flex: none; grid-template-columns: auto auto; gap: 8px; padding: 12px 16px; border: 1px solid var(--line) !important; border-radius: 999px; font-size: 1rem; }
  .px-tab .icon { display: none; }
  .px-tab[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink) !important; }
  .px-tab[aria-selected="true"] .num { color: var(--green); }
  .px-list { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------ process track */
.track { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 28px; position: relative; padding-top: 44px; }
.track::before { content: ''; position: absolute; top: 9px; left: 0; right: 0; height: 2px; background: rgba(109, 179, 255, .2); }
.track::after { content: ''; position: absolute; top: 9px; left: 0; right: 0; height: 2px; background: var(--green); box-shadow: 0 0 18px rgba(0, 216, 156, .6); transform-origin: left; }
.js .track:not(.in)::after { transform: scaleX(0); }
.js .track.in::after { transition: transform 1.6s var(--ease) .2s; }
.track li { position: relative; }
.track li::before { content: ''; position: absolute; top: -44px; left: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); border: 2px solid var(--green); }
.track .num { display: block; font-size: clamp(2.6rem, 4vw, 3.6rem); font-weight: 400; color: var(--green); line-height: 1; margin-bottom: 18px; }
.track h3 { color: #fff; }
.track p { color: var(--on-dark-muted); margin: 0; }
.track.light::before { background: var(--line); }
.track.light li::before { background: #fff; }
.track.light .num { color: var(--blue); }
.track.light h3 { color: var(--ink); }
.track.light p { color: var(--muted); }
.track-4 { --n: 4; } .track-5 { --n: 5; } .track-3 { --n: 3; }
@media (max-width: 900px) {
  .track { grid-template-columns: 1fr; padding: 0 0 0 44px; gap: 36px; }
  .track::before, .track::after { top: 0; bottom: 0; left: 9px; right: auto; width: 2px; height: auto; transform-origin: top; }
  .js .track:not(.in)::after { transform: scaleY(0); }
  .track li::before { top: 4px; left: -44px; }
  .track .num { font-size: 2.2rem; margin-bottom: 10px; }
}

/* ------------------------------------------------------------------ industry bento */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: dense; gap: 16px; }
.tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px; padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
.tile:hover { color: var(--ink); transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.tile .viz { position: absolute; inset: 14px 14px auto; height: 58%; display: flex; justify-content: center; }
.tile .viz-svg { height: 100%; width: auto; transition: transform .7s var(--ease); }
.tile:hover .viz-svg { transform: scale(1.04) translateY(-4px); }
.tile-name { position: relative; font-family: var(--display); font-weight: 600; font-size: 1.3rem; letter-spacing: -.025em; line-height: 1.15; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tile-name .icon { color: var(--green-ink); transition: transform .3s var(--ease); }
.tile:hover .tile-name .icon { transform: translate(3px, -3px); }
.tile-sum { position: relative; margin: 8px 0 0; color: var(--muted); font-size: .95rem; line-height: 1.5; }
.tile-lg { grid-column: span 2; grid-row: span 2; min-height: 616px; padding: 32px; }
.tile-lg .viz { height: 64%; inset: 28px 28px auto; }
.tile-lg .tile-name { font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
.tile-dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.tile-dark:hover { color: #fff; }
.tile-dark .tile-sum { color: var(--on-dark-muted); }
.tile-dark .tile-name .icon { color: var(--green); }
@media (max-width: 1100px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tile-lg { grid-row: span 1; min-height: 440px; } }
@media (max-width: 620px) { .bento { grid-template-columns: 1fr; } .tile-lg { grid-column: auto; } .tile { min-height: 320px; } .tile-lg { min-height: 480px; } .tile-lg .viz { height: 52%; } }
@media (max-width: 600px) { .hero-title { font-size: 15.5vw; } .hero .actions .btn { flex: 1 1 100%; } }

/* ------------------------------------------------------------------ split / about teaser */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.split-7-5 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split-5-7 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
@media (max-width: 900px) { .split, .split-7-5, .split-5-7 { grid-template-columns: 1fr; } }
.quote-big { font-family: var(--display); font-weight: 500; font-size: clamp(1.7rem, 3.3vw, 2.9rem); line-height: 1.12; letter-spacing: -.035em; color: var(--ink); margin: 0; }
.quote-big em { font-style: normal; color: var(--green-ink); }
.mv-pair { display: grid; gap: 28px; }
.mv-item { padding-top: 22px; border-top: 1px solid var(--line); }
.mv-item h3 { display: flex; align-items: center; gap: .5em; }
.mv-item h3 .icon { color: var(--green-ink); }

/* ------------------------------------------------------------------ CTA panel */
.cta-panel { position: relative; overflow: hidden; border-radius: 32px; padding: clamp(40px, 7vw, 96px); background: var(--ink); color: #fff; isolation: isolate; }
.cta-panel::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(700px 400px at 85% 10%, rgba(31, 122, 224, .45), transparent 60%), radial-gradient(500px 300px at 10% 110%, rgba(0, 216, 156, .25), transparent 60%); }
.cta-panel::after { content: ''; position: absolute; inset: 14px; z-index: -1; border-radius: 22px; border: 1.5px solid rgba(0, 216, 156, .35); pointer-events: none; }
.cta-panel h2 { color: #fff; font-size: clamp(2.2rem, 5.4vw, 4.6rem); max-width: 14ch; }
.cta-panel p { color: var(--on-dark-muted); max-width: 40em; font-size: 1.15rem; }
.cta-panel .actions { margin-top: 32px; }
.cta-mail { display: inline-flex; align-items: center; gap: .55em; margin-top: 28px; color: var(--on-dark-muted) !important; text-decoration: none; font-family: var(--display); }
.cta-mail:hover { color: #fff !important; }

/* ------------------------------------------------------------------ page heroes */
.page-hero { padding: clamp(130px, 15vw, 190px) 0 clamp(64px, 8vw, 110px); overflow: hidden; }
.page-hero h1 { max-width: 16ch; }
.page-hero .lead { max-width: 40em; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.page-hero-grid .viz { position: relative; }
.page-hero-grid .viz-svg { width: 100%; height: auto; max-height: 520px; margin-inline: auto; }
@media (max-width: 900px) { .page-hero-grid { grid-template-columns: 1fr; } .page-hero-grid .viz-svg { max-height: 360px; } }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .4em; margin: 0 0 28px; font-family: var(--display); font-size: .9rem; color: var(--muted); }
.breadcrumb li:not(:last-child)::after { content: '/'; margin-left: .4em; opacity: .5; }
.breadcrumb a { color: inherit; text-decoration: none; }
.breadcrumb a:hover { color: var(--blue); text-decoration: underline; }
.on-dark .breadcrumb ol { color: var(--on-dark-muted); }
.on-dark .breadcrumb a:hover { color: #fff; }
.cat-chip { display: inline-flex; align-items: center; gap: .55em; margin: 0 0 22px; padding: 7px 14px; border-radius: 999px; font-family: var(--display); font-size: .85rem; font-weight: 600; background: rgba(0, 216, 156, .12); color: var(--green-ink); }
.on-dark .cat-chip { color: var(--green); background: rgba(0, 216, 156, .1); border: 1px solid rgba(0, 216, 156, .25); }
.page-hero .actions { margin-top: 36px; }
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.jump a { display: inline-flex; align-items: center; gap: .6em; padding: 12px 18px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .16); color: #fff; text-decoration: none; font-family: var(--display); font-weight: 500; transition: border-color .2s, background-color .2s; }
.jump a:hover { border-color: var(--green); background: rgba(0, 216, 156, .08); }
.jump .num { color: var(--green); font-size: .8rem; }

/* ------------------------------------------------------------------ services index */
.practice { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 96px); padding-block: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line); }
.practice:first-child { border-top: 0; }
.practice-side { position: sticky; top: 110px; align-self: start; }
.practice-side .num { display: block; font-size: clamp(3rem, 6vw, 5.5rem); line-height: .9; font-weight: 300; color: var(--blue); margin-bottom: 14px; }
.practice-side h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.practice-side .viz { margin-top: 18px; max-width: 360px; }
.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 1fr auto; gap: 6px 24px; align-items: center; padding: 26px 4px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; position: relative; transition: padding .35s var(--ease); }
.row::before { content: ''; position: absolute; inset: 0 -14px; border-radius: 14px; background: var(--paper); opacity: 0; transition: opacity .3s; z-index: -1; }
.rows { position: relative; z-index: 0; }
.row:hover { color: var(--ink); padding-left: 14px; }
.row:hover::before { opacity: 1; }
.row-title { font-family: var(--display); font-weight: 600; font-size: clamp(1.3rem, 2.2vw, 1.85rem); letter-spacing: -.03em; line-height: 1.15; }
.row-text { grid-column: 1; color: var(--muted); margin: 0; max-width: 46em; }
.row-go { grid-row: 1 / span 2; grid-column: 2; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); transition: background-color .3s, color .3s, border-color .3s, transform .35s var(--ease); }
.row:hover .row-go { background: var(--green); border-color: var(--green); transform: rotate(-45deg); }
.row-icon { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-right: 12px; border-radius: 10px; background: var(--paper); color: var(--blue); vertical-align: middle; }
@media (max-width: 900px) { .practice { grid-template-columns: 1fr; } .practice-side { position: static; } .practice-side .viz { max-width: 300px; } .row-go { width: 42px; height: 42px; } }

/* ------------------------------------------------------------------ service page */
.overview { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
.prose p { color: var(--muted); max-width: 40em; }
.prose h2 + p { font-family: var(--display); font-weight: 400; font-size: clamp(1.35rem, 2.2vw, 1.85rem); line-height: 1.32; letter-spacing: -.02em; color: var(--ink); }
.prose strong { color: var(--ink); }
.glance { position: sticky; top: 110px; padding: 32px; border-radius: 24px; background: var(--ink); color: var(--on-dark); box-shadow: var(--shadow-lg); overflow: hidden; isolation: isolate; }
.glance::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(360px 240px at 100% 0%, rgba(31, 122, 224, .4), transparent 65%); }
.glance h2 { font-size: 1.35rem; color: #fff; letter-spacing: -.02em; margin-bottom: 16px; }
.glance li { display: flex; gap: .7em; align-items: flex-start; padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .98rem; line-height: 1.45; }
.glance li .icon { color: var(--green); margin-top: .15em; }
.glance .btn { margin-top: 22px; width: 100%; }
@media (max-width: 900px) { .overview { grid-template-columns: 1fr; } .glance { position: static; } }

.scope-group + .scope-group { margin-top: clamp(48px, 6vw, 80px); }
.scope-title { display: flex; align-items: baseline; gap: 14px; font-size: clamp(1.4rem, 2.2vw, 1.9rem); margin-bottom: 22px; }
.scope-title .num { color: var(--blue); font-size: .95rem; }
.scope { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 4vw, 64px); counter-reset: sc; }
.scope li { position: relative; padding: 24px 0 24px 58px; border-top: 1px solid var(--line); counter-increment: sc; }
.scope li::before { content: counter(sc, decimal-leading-zero); position: absolute; left: 0; top: 26px; font-family: var(--display); font-weight: 500; font-size: .9rem; color: var(--green-ink); }
.scope h3 { margin-bottom: .35em; }
.scope h3 a { color: var(--ink); text-decoration-color: var(--green); }
.scope p { color: var(--muted); margin: 0; }
@media (max-width: 760px) { .scope { grid-template-columns: 1fr; } }

.outcomes { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
.outcome-list li { display: flex; gap: 18px; align-items: flex-start; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .1); font-family: var(--display); font-weight: 500; font-size: clamp(1.15rem, 1.8vw, 1.45rem); line-height: 1.3; letter-spacing: -.02em; color: #fff; }
.outcome-list li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .1); }
.outcome-list .icon { width: 28px; height: 28px; color: var(--green); flex: none; margin-top: .05em; }
@media (max-width: 900px) { .outcomes { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ industry page */
.ind-hero { background: linear-gradient(180deg, var(--paper), #fff); }
.ind-hero .viz-svg { filter: drop-shadow(0 30px 40px rgba(10, 37, 64, .12)); }
.risk-list { counter-reset: rk; }
.risk-list li { display: grid; grid-template-columns: 52px 1fr; gap: 12px; align-items: center; padding: 18px 0; border-top: 1px solid var(--line); font-family: var(--display); font-weight: 500; font-size: 1.15rem; letter-spacing: -.015em; line-height: 1.3; }
.risk-list li:last-child { border-bottom: 1px solid var(--line); }
.risk-list .icon { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: rgba(0, 216, 156, .12); color: var(--green-ink); }
.help { display: grid; gap: 14px; }
.help a { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 8px 20px; align-items: center; padding: 26px; border-radius: 20px; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s; }
.help a:hover { color: var(--ink); transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.help-icon { grid-row: span 2; width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; background: var(--ink); color: var(--green); }
.help-icon .icon { width: 28px; height: 28px; }
.help-title { font-family: var(--display); font-weight: 600; font-size: 1.3rem; letter-spacing: -.02em; line-height: 1.2; }
.help-text { grid-column: 2; color: var(--muted); font-size: .98rem; line-height: 1.5; }
.help-svc { grid-row: 1 / span 2; grid-column: 3; display: inline-flex; align-items: center; gap: .5em; font-family: var(--display); font-weight: 600; font-size: .9rem; color: var(--green-ink); white-space: nowrap; }
@media (max-width: 760px) { .help a { grid-template-columns: 52px 1fr; padding: 20px; } .help-icon { width: 52px; height: 52px; grid-row: auto; } .help-text { grid-column: 1 / -1; } .help-svc { grid-row: auto; grid-column: 1 / -1; } }
.scroller { display: flex; gap: 14px; overflow-x: auto; padding: 4px var(--gut) 18px; margin: 0 calc(var(--gut) * -1); scroll-snap-type: x mandatory; scrollbar-width: thin; }
.scroller .tile { flex: 0 0 min(300px, 78vw); min-height: 260px; scroll-snap-align: start; }

/* ------------------------------------------------------------------ about */
.about-hero .symbol { width: min(440px, 80%); margin-left: auto; opacity: .95; filter: drop-shadow(0 0 60px rgba(0, 216, 156, .18)); }
.about-hero .symbol-wrap { position: relative; }
.about-hero .symbol-wrap::before { content: ''; position: absolute; inset: 8% 0 8% auto; aspect-ratio: 1; border-radius: 50%; border: 1.5px dashed rgba(0, 216, 156, .35); }
@media (prefers-reduced-motion: no-preference) { .about-hero .symbol-wrap::before { animation: spin 60s linear infinite; } }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 900px) { .about-hero .symbol { width: 220px; margin: 0; } .about-hero .symbol-wrap::before { display: none; } }
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.three > * { padding-top: 26px; border-top: 2px solid var(--ink); }
.three .num { display: block; color: var(--blue); font-size: .95rem; margin-bottom: 26px; }
.three .icon-xl { width: 44px; height: 44px; color: var(--green-ink); margin-bottom: 20px; }
.three p { color: var(--muted); }
.on-dark .three > * { border-top-color: rgba(255, 255, 255, .2); }
.on-dark .three p { color: var(--on-dark-muted); }
.on-dark .three .icon-xl { color: var(--green); }
.on-dark .three .num { color: var(--green); }
@media (max-width: 900px) { .three { grid-template-columns: 1fr; } }
.academy { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 28px; align-items: center; padding: clamp(28px, 4vw, 44px); border-radius: 24px; border: 1px solid var(--line); background: #fff; }
.academy-icon { width: 72px; height: 72px; border-radius: 20px; display: grid; place-items: center; background: var(--paper); color: var(--blue); }
.academy-icon .icon { width: 32px; height: 32px; }
.academy h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: .3em; }
.academy p { margin: 0; color: var(--muted); max-width: 46em; }
@media (max-width: 760px) { .academy { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; padding: 22px 0; border-top: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-list .ci { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--ink); color: var(--green); }
.contact-list h2 { font-size: .85rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 2px 0 6px; }
.contact-list a { font-family: var(--display); font-size: 1.3rem; font-weight: 600; letter-spacing: -.02em; color: var(--ink); text-decoration-color: var(--green); }
.contact-list p { margin: 0; font-size: 1.05rem; }
.next-steps { margin-top: 44px; }
.next-steps h2 { font-size: 1.3rem; margin-bottom: 18px; }
.next-steps ol { counter-reset: ns; display: grid; gap: 14px; }
.next-steps li { counter-increment: ns; display: grid; grid-template-columns: 36px 1fr; gap: 10px; color: var(--muted); }
.next-steps li::before { content: counter(ns); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 216, 156, .14); color: var(--green-ink); font-family: var(--display); font-weight: 700; font-size: .85rem; }
.form-card { padding: clamp(28px, 4vw, 52px); border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.form-card h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); margin-bottom: .3em; }
.map { margin-top: clamp(56px, 7vw, 96px); border-radius: 28px; overflow: hidden; border: 1px solid var(--line); line-height: 0; }
.map iframe { width: 100%; height: 440px; border: 0; filter: grayscale(.4) contrast(1.05); }

/* ------------------------------------------------------------------ forms */
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.enquiry-footer .fields, .enquiry-popup .fields { grid-template-columns: 1fr; }
.field { position: relative; }
.field-wide, .enquiry-contact .field:last-child { grid-column: 1 / -1; }
.field input, .field textarea { width: 100%; padding: 26px 16px 10px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--paper); color: var(--text); font: inherit; font-size: 1rem; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.field textarea { min-height: 150px; resize: vertical; }
.field label { position: absolute; left: 17px; top: 18px; color: var(--muted); font-size: 1rem; pointer-events: none; transition: transform .2s var(--ease), font-size .2s, top .2s; transform-origin: left; }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: 8px; font-size: .75rem; font-weight: 700; letter-spacing: .02em; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue-2); background: #fff; box-shadow: 0 0 0 4px rgba(31, 122, 224, .16); }
.field [aria-invalid="true"] { border-color: var(--red); }
.field-error { margin: 6px 2px 0; color: var(--red); font-size: .88rem; font-weight: 600; }
.enquiry > .btn { margin-top: 18px; }
.form-status { margin: 14px 0 0; font-weight: 600; min-height: 1.4em; }
.form-status.ok { color: var(--green-ink); }
.form-status.err { color: var(--red); }
.turnstile:empty { display: none; }
.turnstile { margin-top: 14px; }
@media (max-width: 640px) { .fields { grid-template-columns: 1fr; } }
.site-footer .field input, .site-footer .field textarea { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .14); color: #fff; }
.site-footer .field label { color: var(--on-dark-muted); }
.site-footer .field input:focus, .site-footer .field textarea:focus { background: rgba(255, 255, 255, .08); border-color: var(--green); box-shadow: 0 0 0 4px rgba(0, 216, 156, .15); }
.site-footer .field-error, .site-footer .form-status.err { color: #ff9b91; }
.site-footer .form-status.ok { color: var(--green); }

/* ------------------------------------------------------------------ footer */
.site-footer { padding: clamp(72px, 9vw, 120px) 0 28px; overflow: hidden; }
.footer-sign { font-family: var(--display); font-weight: 600; font-size: clamp(3.2rem, 11.5vw, 11rem); line-height: .86; letter-spacing: -.055em; color: #fff; margin: 0 0 clamp(48px, 7vw, 96px); }
.footer-sign span { display: block; color: transparent; -webkit-text-stroke: 1.5px rgba(0, 216, 156, .8); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr) minmax(0, .7fr) minmax(0, 1.2fr); gap: clamp(28px, 4vw, 56px); padding-top: 48px; border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-logo { width: 240px; margin-bottom: 22px; }
.footer-about { color: var(--on-dark-muted); font-size: .98rem; max-width: 30em; }
.footer-contact { display: grid; gap: 10px; margin-top: 18px; font-size: .98rem; }
.footer-contact a, .footer-contact span { display: inline-flex; gap: .6em; align-items: flex-start; color: var(--on-dark) !important; text-decoration: none; }
.footer-contact a:hover { color: var(--green) !important; }
.footer-contact .icon { color: var(--green); margin-top: .25em; }
.footer-title { font-family: var(--display); font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 18px; }
.footer-col a { display: inline-block; padding: 5px 0; color: var(--on-dark) !important; text-decoration: none; font-size: .98rem; }
.footer-col a:hover { color: var(--green) !important; }
.social { display: flex; gap: 10px; margin-top: 24px; }
.social a { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .14); color: #fff !important; transition: border-color .2s, background-color .2s; }
.social a:hover { border-color: var(--green); background: rgba(0, 216, 156, .1); }
.copyright { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08); color: var(--on-dark-muted); font-size: .88rem; }
.copyright p { margin: 0; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .footer-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ popup */
.popup { position: fixed; inset: auto 20px 20px auto; margin: 0; z-index: 60; width: min(400px, calc(100vw - 40px)); padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: #fff; color: var(--text); box-shadow: var(--shadow-lg); }
.popup[open] { animation: rise .5s var(--ease); }
.popup h2 { font-size: 1.6rem; margin-bottom: .2em; }
.popup .kicker { margin-bottom: 12px; }
.popup-lead { color: var(--muted); font-size: .98rem; }
.popup-close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 10px; border: 0; background: var(--paper); color: var(--ink); display: grid; place-items: center; cursor: pointer; }

/* ------------------------------------------------------------------ error pages */
.error-hero .viz { max-width: 420px; margin-left: auto; }

/* ================================================================== visuals (src/viz.mjs) */
.viz { --v-line: #2f6fb7; --v-grid: rgba(47, 111, 183, .13); --v-text: #4a5d74;
  --b0: #ffffff; --b1: #e6eef8; --b2: #cddcef;
  --a0: #dcebff; --a1: #a9cbf5; --a2: #7eaeea;
  --g0: #d5f8ea; --g1: #92e9c8; --g2: #4fd3a2; --gl: #00a878;
  --r0: #ffe3df; --r1: #ffb8ae; --r2: #ff8f80; --rl: #d93a3f;
  --chip: #ffffff; --chip-fg: #0a2540; --wall: #00c48c;
  --s1: 0s; --s2: .7s; --s3: 1.05s; --s4: 1.1s; --s5: 1.9s; }
.on-dark .viz, .viz.dark { --v-line: #6db3ff; --v-grid: rgba(109, 179, 255, .12); --v-text: #a9bdd4;
  --b0: #183b63; --b1: #11304f; --b2: #0c2541;
  --a0: #2163b4; --a1: #1a5299; --a2: #144281;
  --g0: #0f7a60; --g1: #0b624d; --g2: #084c3c; --gl: #00d89c;
  --r0: #7a2b33; --r1: #61222a; --r2: #4c1a21; --rl: #ff6f61;
  --chip: #0a2540; --chip-fg: #e9f1fb; --wall: #00d89c; }
.hero .viz { --s1: .15s; --s2: 1s; --s3: 1.5s; --s4: 1.55s; --s5: 2.5s; }
.viz-svg { overflow: visible; }
.viz-svg .vg { fill: none; stroke: var(--v-grid); stroke-width: 1; }
.viz-svg .vl { fill: none; stroke: var(--v-line); stroke-width: 1.25; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1 1; }
.viz-svg .vf.f0.t-b { fill: var(--b0); } .viz-svg .vf.f1.t-b { fill: var(--b1); } .viz-svg .vf.f2.t-b { fill: var(--b2); }
.viz-svg .vf.f0.t-a { fill: var(--a0); } .viz-svg .vf.f1.t-a { fill: var(--a1); } .viz-svg .vf.f2.t-a { fill: var(--a2); }
.viz-svg .vf.f0.t-g { fill: var(--g0); } .viz-svg .vf.f1.t-g { fill: var(--g1); } .viz-svg .vf.f2.t-g { fill: var(--g2); }
.viz-svg .vf.f0.t-r { fill: var(--r0); } .viz-svg .vf.f1.t-r { fill: var(--r1); } .viz-svg .vf.f2.t-r { fill: var(--r2); }
.viz-svg .vf.t-g, .viz-svg .vk.t-g { stroke: var(--gl); }
.viz-svg .vf.t-r, .viz-svg .vk.t-r { stroke: var(--rl); }
.viz-svg .vtx { stroke-width: 1.1; opacity: .7; }
.viz-svg .vk { stroke-width: 1.6; }
.viz-svg .vk-dash { stroke-dasharray: .02 .015; }
.viz-svg .vk-dot { stroke-dasharray: .004 .02; stroke-width: 3; }
.viz-svg .vk-gate { stroke-width: 4; }
.viz-svg .vscan { stroke-width: 2.5; }
.viz-svg .vb { stroke: var(--gl); stroke-width: 2.4; }
.viz-svg .vb-top { stroke-width: 1.2; opacity: .55; }
.viz-svg .vb.t-a { stroke: var(--v-line); stroke-width: 1.6; }
.viz-svg .vw-a { stop-color: var(--wall); stop-opacity: .26; }
.viz-svg .vw-b { stop-color: var(--wall); stop-opacity: 0; }
.viz-svg .vw.t-a { opacity: .4; }
.viz-svg .vbs { fill: none; stroke: var(--gl); stroke-width: 4.5; stroke-linecap: round; stroke-dasharray: .06 .94; opacity: 0; }
.viz-svg .vp { fill: none; stroke: var(--gl); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: .07 .93; opacity: 0; }
.viz-svg .vx { fill: none; stroke: var(--rl); stroke-width: 1.2; stroke-dasharray: .015 .02; opacity: .55; }
.viz-svg .vxp { fill: none; stroke: var(--rl); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: .14 2; stroke-dashoffset: -.86; }
.viz-svg .vxf { fill: none; stroke: var(--rl); stroke-width: 1.5; opacity: .9; }
.viz-svg .vxm { fill: none; stroke: var(--rl); stroke-width: 2; stroke-linecap: round; }
.viz-svg .vxf, .viz-svg .vc { transform-box: fill-box; transform-origin: center; }
.viz-svg .vc > rect { fill: var(--chip); stroke: var(--v-line); stroke-width: 1.2; }
.viz-svg .vc svg { stroke: var(--chip-fg); }
.viz-svg .vc.t-g > rect { fill: var(--gl); stroke: none; } .viz-svg .vc.t-g svg { stroke: #04261b; }
.viz-svg .vc.t-r > rect { fill: var(--rl); stroke: none; } .viz-svg .vc.t-r svg { stroke: #fff; }
.viz-svg .vled { fill: var(--gl); }
.viz-svg .vt { font-family: var(--display); font-size: 11px; font-weight: 600; letter-spacing: .1em; fill: var(--v-text); }
.viz-svg .vt.vt-r { fill: var(--rl); }

.s1 { --st: var(--s1); } .s2 { --st: var(--s2); } .s3 { --st: var(--s3); } .s4 { --st: var(--s4); } .s5 { --st: var(--s5); }
.k0 { --k: 0; } .k1 { --k: 1; } .k2 { --k: 2; } .k3 { --k: 3; } .k4 { --k: 4; } .k5 { --k: 5; } .k6 { --k: 6; } .k7 { --k: 7; } .k8 { --k: 8; } .k9 { --k: 9; } .k10 { --k: 10; } .k11 { --k: 11; }

@media (prefers-reduced-motion: no-preference) {
  /* before a visual scrolls into view (only when JS is running) */
  .js .viz:not(.in) .vl { stroke-dashoffset: 1; }
  .js .viz:not(.in) .vf { fill-opacity: 0; }
  .js .viz:not(.in) .vc, .js .viz:not(.in) .vt, .js .viz:not(.in) .vw, .js .viz:not(.in) .vled, .js .viz:not(.in) .vx, .js .viz:not(.in) .vxp, .js .viz:not(.in) .vxf, .js .viz:not(.in) .vxm { opacity: 0; }
  /* build: lines draw, then faces fill */
  .viz.in .vl { animation: v-draw .9s var(--ease) calc(var(--st) + var(--k) * 55ms) both; }
  .viz.in .vf { animation: v-draw .9s var(--ease) calc(var(--st) + var(--k) * 55ms) both, v-fill .7s ease calc(var(--st) + var(--k) * 55ms + .45s) both; }
  .viz.in .vk-dash, .viz.in .vk-dot { animation: v-fade .6s ease calc(var(--st) + var(--k) * 55ms) both; }
  .viz.in .vc, .viz.in .vt, .viz.in .vled { animation: v-pop .55s var(--ease) calc(var(--st) + var(--k) * 70ms) both; }
  /* protect: the boundary closes, the wall rises */
  .viz.in .vb { animation: v-draw 1.3s var(--ease) calc(var(--st) + var(--k) * 120ms) both; }
  .viz.in .vb-top { animation: v-fade .8s ease calc(var(--st) + .7s) both; }
  .viz.in .vw { animation: v-fade 1s ease calc(var(--st) + .6s) both; }
  .viz.in .vbs { animation: v-show .6s ease calc(var(--st) + 1.4s) forwards, v-travel 9s linear calc(var(--st) + 1.4s) infinite; }
  .viz.in .vp { animation: v-show .4s ease calc(var(--st) + var(--k) * 300ms) forwards, v-travel 3.4s linear calc(var(--st) + var(--k) * 300ms) infinite; }
  .viz.in .vx { animation: v-fade .6s ease calc(var(--st) + var(--k) * 250ms) both; }
  .viz.in .vxp { animation: v-strike 7s cubic-bezier(.5, 0, .9, .6) calc(var(--st) + var(--k) * 250ms) infinite both; }
  .viz.in .vxf { animation: v-flash 7s ease-out calc(var(--st) + var(--k) * 250ms) infinite both; }
  .viz.in .vxm { animation: v-mark 7s ease calc(var(--st) + var(--k) * 250ms) infinite both; }
  .viz.in .vled:nth-of-type(3n) { animation: v-pop .55s var(--ease) calc(var(--st) + var(--k) * 70ms) both, v-blink 2.8s ease-in-out calc(var(--st) + 1s) infinite alternate; }
  /* idle loops pause when the visual is off screen */
  .js .viz:not(.live) .vbs, .js .viz:not(.live) .vp, .js .viz:not(.live) .vxp, .js .viz:not(.live) .vxf, .js .viz:not(.live) .vxm, .js .viz:not(.live) .vled { animation-play-state: paused; }
}
@keyframes v-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes v-fill { from { fill-opacity: 0; } to { fill-opacity: 1; } }
@keyframes v-fade { from { opacity: 0; } }
@keyframes v-show { from { opacity: 0; } to { opacity: .95; } }
@keyframes v-pop { from { opacity: 0; transform: translateY(8px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes v-travel { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes v-strike { 0% { stroke-dashoffset: .14; opacity: 0; } 4% { opacity: 1; } 30% { stroke-dashoffset: -.86; opacity: 1; } 36%, 100% { stroke-dashoffset: -.86; opacity: 0; } }
@keyframes v-flash { 0%, 29% { opacity: 0; transform: scale(.3); } 31% { opacity: 1; transform: scale(.6); } 48%, 100% { opacity: 0; transform: scale(2.2); } }
@keyframes v-mark { 0%, 29% { opacity: 0; } 31%, 70% { opacity: 1; } 80%, 100% { opacity: 0; } }
@keyframes v-blink { from { opacity: 1; } to { opacity: .25; } }
@media (prefers-reduced-motion: reduce) {
  .viz-svg .vbs, .viz-svg .vp, .viz-svg .vxp { display: none; }
  .viz-svg .vxf { opacity: 0; }
}

/* ------------------------------------------------------------------ page transitions (cross-document, progressive) */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: vt-out .22s ease both; }
  ::view-transition-new(root) { animation: vt-in .38s var(--ease) both; }
}
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(12px); } }

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

@media print {
  .site-header, .site-footer, .popup, .viz, .cta-panel { display: none !important; }
  .on-dark { background: #fff; color: #000; }
  .on-dark h1, .on-dark h2, .on-dark h3, .on-dark .lead { color: #000; }
}
