/* ==========================================================================
   CLARENTIX — Design System
   Palette : deep navy ground + brand navy + electric blue + cool paper + steel
   Type    : Archivo (display) · IBM Plex Sans (body) · IBM Plex Mono (telemetry)
   Motif   : the aperture — focus, resolution, clarity
   ========================================================================== */

/* ---- Tokens ------------------------------------------------------------- */
:root {
  /* Brand core */
  --ink:        #060B1A;   /* page ground, deeper than logo navy for depth   */
  --navy:       #001031;   /* logo navy — panels                            */
  --navy-2:     #0A1430;   /* lifted surface (cards on dark)                 */
  --navy-3:     #111B3A;   /* hover / raised surface                         */
  --blue:       #043EFE;   /* brand electric blue                           */
  --blue-2:     #2B50FF;   /* brighter accent / hover                       */
  --blue-glow:  #3B6BFF;   /* glow + focus rings                            */
  --paper:      #F4F6FB;   /* cool off-white section                        */
  --paper-2:    #E7ECF6;   /* paper card / subtle fill                      */

  /* Text */
  --on-dark:    #EEF2FF;   /* primary text on dark                          */
  --on-dark-2:  #A9B6D4;   /* secondary text on dark                        */
  --on-dark-3:  #6E7EA6;   /* muted / captions on dark                      */
  --on-paper:   #0B142C;   /* primary on paper                              */
  --on-paper-2: #46537A;   /* secondary on paper                            */
  --steel:      #C9D4E8;

  /* Lines & glows */
  --line:        rgba(120,150,210,0.16);
  --line-strong: rgba(120,150,210,0.32);
  --line-paper:  rgba(11,20,44,0.12);
  --glow-blue:   0 0 0 1px rgba(59,107,255,0.40), 0 8px 40px -8px rgba(4,62,254,0.55);

  /* Type */
  --f-display: "Archivo", system-ui, sans-serif;
  --f-body:    "IBM Plex Sans", system-ui, sans-serif;
  --f-mono:    "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Scale (fluid) */
  --t-mega:  clamp(2.9rem, 1.6rem + 6.2vw, 6.6rem);
  --t-h1:    clamp(2.3rem, 1.4rem + 4.0vw, 4.4rem);
  --t-h2:    clamp(1.8rem, 1.3rem + 2.3vw, 3.0rem);
  --t-h3:    clamp(1.3rem, 1.1rem + 0.9vw, 1.7rem);
  --t-h4:    clamp(1.08rem, 1.0rem + 0.4vw, 1.25rem);
  --t-body:  clamp(1rem, 0.97rem + 0.16vw, 1.12rem);
  --t-sm:    0.92rem;
  --t-xs:    0.78rem;

  /* Space */
  --gap:     clamp(1.15rem, 0.7rem + 1.7vw, 1.8rem);
  --pad-sec: clamp(5.25rem, 3.5rem + 6vw, 10rem);
  --maxw:    1240px;
  --maxw-tight: 920px;

  /* Radius */
  --r-sm: 6px;
  --r:    12px;
  --r-lg: 20px;
  --r-pill: 999px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---- Reset / base ------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--f-body);
  font-size: var(--t-body);
  line-height: 1.62;
  color: var(--on-dark);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
ul { list-style: none; padding: 0; }
::selection { background: var(--blue); color: #fff; }

/* Ambient page texture: very subtle grid + radial glow, anchored top */
body::before {
  content: "";
  position: fixed; inset: 0;
  background:
    radial-gradient(900px 520px at 50% -8%, rgba(4,62,254,0.16), transparent 70%),
    radial-gradient(700px 700px at 100% 0%, rgba(43,80,255,0.07), transparent 60%),
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 64px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 64px 100%;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 38%, transparent 78%);
          mask-image: linear-gradient(180deg, #000 0%, #000 38%, transparent 78%);
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}

/* ---- Layout primitives -------------------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.1rem, 0.6rem + 2vw, 2.4rem); }
.wrap--tight { max-width: var(--maxw-tight); }

.section { position: relative; padding-block: var(--pad-sec); z-index: 1; }
.section--paper { background: var(--paper); color: var(--on-paper); }
.section--navy  { background: var(--navy); }
.section--flush-top { padding-top: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }
.section--tight { padding-block: clamp(3rem, 2rem + 3vw, 5rem); }

/* Paper sections sit above the fixed body texture */
.section--paper, .section--navy { isolation: isolate; }

/* ---- Eyebrow / labels (mono telemetry) ---------------------------------- */
.eyebrow {
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-glow);
  display: inline-flex; align-items: center; gap: 0.6em;
  font-weight: 500;
}
.eyebrow::before {
  content: ""; width: 26px; height: 1px;
  background: linear-gradient(90deg, var(--blue), transparent);
}
.eyebrow--plain::before { display: none; }
.section--paper .eyebrow { color: var(--blue); }

.index-tag {
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.14em;
  color: var(--on-dark-3);
}
.section--paper .index-tag { color: var(--on-paper-2); }

/* ---- Headings ----------------------------------------------------------- */
h1, h2, h3, h4 { font-family: var(--f-display); line-height: 1.05; font-weight: 800; letter-spacing: -0.018em; }
.h-mega { font-size: var(--t-mega); line-height: 0.98; letter-spacing: -0.03em; font-weight: 800; }
.h1 { font-size: var(--t-h1); }
.h2 { font-size: var(--t-h2); }
.h3 { font-size: var(--t-h3); font-weight: 700; }
.h4 { font-size: var(--t-h4); font-weight: 700; letter-spacing: -0.01em; }
.lede { font-size: clamp(1.06rem, 1rem + 0.5vw, 1.32rem); color: var(--on-dark-2); line-height: 1.55; font-weight: 400; }
.section--paper .lede { color: var(--on-paper-2); }
.muted { color: var(--on-dark-2); }
.section--paper .muted { color: var(--on-paper-2); }
.accent { color: var(--blue-glow); }
.section--paper .accent { color: var(--blue); }

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  --bg: var(--blue); --fg: #fff; --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  padding: 0.92em 1.5em;
  font-family: var(--f-mono); font-size: var(--t-sm); font-weight: 500;
  letter-spacing: 0.04em;
  background: var(--bg); color: var(--fg);
  border: 1px solid var(--bd);
  border-radius: var(--r-sm);
  transition: transform 0.18s var(--ease), background 0.18s var(--ease), box-shadow 0.25s var(--ease), border-color 0.18s var(--ease);
  will-change: transform;
}
.btn .ar { transition: transform 0.22s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .ar { transform: translateX(4px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid var(--blue-glow); outline-offset: 3px; }

.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 10px 30px -12px rgba(4,62,254,0.8); }
.btn--primary:hover { background: var(--blue-2); box-shadow: 0 16px 40px -12px rgba(4,62,254,0.95); }

.btn--ghost { background: transparent; color: var(--on-dark); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--blue-glow); background: rgba(59,107,255,0.08); }
.section--paper .btn--ghost { color: var(--on-paper); border-color: var(--line-paper); }
.section--paper .btn--ghost:hover { border-color: var(--blue); background: rgba(4,62,254,0.06); }

.btn--lg { padding: 1.05em 1.8em; font-size: 0.95rem; }
.btn--sm { padding: 0.65em 1.05em; font-size: var(--t-xs); }

/* text link with arrow */
.tlink {
  font-family: var(--f-mono); font-size: var(--t-sm); letter-spacing: 0.03em;
  color: var(--blue-glow); display: inline-flex; align-items: center; gap: 0.5em;
  border-bottom: 1px solid transparent; padding-bottom: 2px;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.tlink .ar { transition: transform 0.2s var(--ease); }
.tlink:hover { color: var(--blue-2); border-color: currentColor; }
.tlink:hover .ar { transform: translateX(4px); }
.section--paper .tlink { color: var(--blue); }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), backdrop-filter 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(6,11,26,0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px;
}
.nav__brand { display: inline-flex; align-items: center; gap: 0.7rem; }
.nav__brand img { height: 30px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 0.35rem; }
.nav__link {
  font-family: var(--f-mono); font-size: 0.84rem; letter-spacing: 0.02em;
  padding: 0.55rem 0.85rem; border-radius: var(--r-sm); color: var(--on-dark-2);
  transition: color 0.16s var(--ease), background 0.16s var(--ease);
  position: relative;
}
.nav__link:hover { color: var(--on-dark); background: rgba(120,150,210,0.08); }
.nav__link.is-active { color: var(--on-dark); }
.nav__link.is-active::after {
  content: ""; position: absolute; left: 0.85rem; right: 0.85rem; bottom: 0.28rem; height: 2px;
  background: var(--blue); border-radius: 2px;
}
.nav__cta { margin-left: 0.6rem; }

.nav__toggle { display: none; width: 44px; height: 44px; border-radius: var(--r-sm); align-items: center; justify-content: center; }
.nav__toggle span { position: relative; width: 22px; height: 2px; background: var(--on-dark); transition: 0.2s var(--ease); }
.nav__toggle span::before, .nav__toggle span::after {
  content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--on-dark); transition: 0.2s var(--ease);
}
.nav__toggle span::before { top: -7px; } .nav__toggle span::after { top: 7px; }
.nav.is-open .nav__toggle span { background: transparent; }
.nav.is-open .nav__toggle span::before { top: 0; transform: rotate(45deg); }
.nav.is-open .nav__toggle span::after  { top: 0; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .nav__toggle { display: inline-flex; }
  .nav__links {
    position: fixed; inset: 74px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(6,11,26,0.97); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    padding: 0.8rem clamp(1.1rem, 0.6rem + 2vw, 2.4rem) 1.6rem;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: 0.24s var(--ease);
    max-height: calc(100vh - 74px); overflow-y: auto;
  }
  .nav.is-open .nav__links { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav__link { padding: 0.95rem 0.4rem; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .nav__link.is-active::after { display: none; }
  .nav__cta { margin: 1rem 0 0; }
  .nav__cta .btn { width: 100%; }
}

/* ==========================================================================
   HERO + APERTURE (signature)
   ========================================================================== */
.hero { position: relative; padding-top: clamp(8rem, 6rem + 8vw, 12rem); padding-bottom: clamp(4rem, 3rem + 4vw, 7rem); overflow: hidden; }
.hero__grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: center;
}
.hero__eyebrow { margin-bottom: 1.6rem; }
.hero__title { margin-bottom: 1.5rem; }
.hero__title .line { display: block; }
.hero__title .accent-word { color: var(--blue-glow); }
.hero__lede { max-width: 38ch; margin-bottom: 2.2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }

/* status strip under hero */
.hero__status {
  position: relative;
  margin-top: 2.9rem; display: flex; flex-wrap: wrap; gap: 1.6rem 2.6rem;
  padding-top: 1.9rem;
}
.hero__status::before { content: ""; position: absolute; top: 0; left: 0; width: 56px; height: 2px; background: linear-gradient(90deg, var(--blue-glow), transparent); }
.stat-mini { display: flex; flex-direction: column; gap: 0.15rem; }
.stat-mini__k { font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-3); }
.stat-mini__v { font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; }

/* The aperture */
.aperture {
  position: relative; width: 100%; aspect-ratio: 1; max-width: 460px; margin-inline: auto;
  display: grid; place-items: center;
}
.aperture svg { width: 100%; height: 100%; overflow: visible; }
.ap-spin       { transform-box: view-box; transform-origin: 250px 250px; animation: ap-rot 64s linear infinite; }
.ap-spin-rev   { transform-box: view-box; transform-origin: 250px 250px; animation: ap-rot 88s linear infinite reverse; }
.ap-spin-slow  { transform-box: view-box; transform-origin: 250px 250px; animation: ap-rot 120s linear infinite; }
.ap-pulse      { transform-box: view-box; transform-origin: 250px 250px; animation: ap-pulse 6.5s var(--ease) infinite; }
.ap-blip       { animation: ap-blip 3.2s ease-in-out infinite; }
@keyframes ap-rot   { to { transform: rotate(360deg); } }
@keyframes ap-pulse { 0%,100% { opacity: 0.55; } 50% { opacity: 1; } }
@keyframes ap-blip  { 0%,100% { opacity: 0.2; } 12% { opacity: 1; } 40% { opacity: 0.2; } }
.aperture__core-glow { filter: blur(2px); }

/* Decorative ring used as section accent */
.ring-accent { position: absolute; pointer-events: none; opacity: 0.5; }

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__visual { order: -1; }
  .aperture { max-width: 320px; }
  .hero__lede { max-width: none; }
}

/* ==========================================================================
   CAPABILITY PILLARS (home)
   ========================================================================== */
.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
@media (max-width: 760px){ .pillars { grid-template-columns: 1fr; } }

.pillar {
  position: relative; padding: clamp(1.75rem, 1.1rem + 1.8vw, 2.6rem);
  background: linear-gradient(180deg, var(--navy-2), var(--navy));
  border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.pillar::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px 200px at 100% 0%, rgba(4,62,254,0.12), transparent 60%);
  opacity: 0; transition: opacity 0.3s var(--ease);
}
.pillar:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: 0 24px 60px -30px rgba(0,0,0,0.9); }
.pillar:hover::after { opacity: 1; }
.pillar__ix { font-family: var(--f-mono); font-size: var(--t-xs); color: var(--blue-glow); letter-spacing: 0.16em; }
.pillar__icon { width: 46px; height: 46px; margin: 1.3rem 0 1.4rem; color: var(--blue-glow); }
.pillar__icon svg { width: 100%; height: 100%; }
.pillar__title { margin-bottom: 0.6rem; }
.pillar__desc { color: var(--on-dark-2); font-size: var(--t-sm); line-height: 1.62; margin-bottom: 1.45rem; }
.pillar__list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag {
  font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: 0.02em;
  color: var(--on-dark-2); padding: 0.42em 0.85em; border: 1px solid var(--line);
  border-radius: var(--r-pill); background: rgba(120,150,210,0.05);
}

/* ==========================================================================
   SECTION HEAD (shared)
   ========================================================================== */
.shead { max-width: 720px; margin-bottom: clamp(2.7rem, 1.8rem + 2vw, 4.1rem); }
.shead--center { margin-inline: auto; text-align: center; }
.shead__eyebrow { margin-bottom: 1.1rem; }
.shead__title { margin-bottom: 1rem; }
.shead__lede { color: var(--on-dark-2); }
.section--paper .shead__lede { color: var(--on-paper-2); }
.shead--center .eyebrow::before { display: none; }

/* split head: title left, intro right */
.shead-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 1rem + 3vw, 4rem);
  align-items: end; margin-bottom: clamp(2.5rem, 1.5rem + 2vw, 3.8rem);
}
.shead-split__intro { color: var(--on-dark-2); padding-bottom: 0.3rem; }
.section--paper .shead-split__intro { color: var(--on-paper-2); }
@media (max-width: 760px){ .shead-split { grid-template-columns: 1fr; gap: 1.2rem; align-items: start; } }

/* ==========================================================================
   APPROACH / NUMBERED PROCESS  (real sequence -> numbering justified)
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-paper); }
.step {
  padding: 2.5rem clamp(1.2rem,0.7rem + 1vw,1.9rem) 0.85rem 0; border-right: 1px solid var(--line-paper);
  position: relative;
}
.step:last-child { border-right: none; }
.step__n { font-family: var(--f-mono); font-size: var(--t-xs); color: var(--blue); letter-spacing: 0.12em; }
.step__title { margin: 0.9rem 0 0.6rem; }
.step__desc { font-size: var(--t-sm); color: var(--on-paper-2); }
.step__bar { position: absolute; top: -1px; left: 0; width: 38px; height: 3px; background: var(--blue); }
@media (max-width: 820px){
  .steps { grid-template-columns: 1fr 1fr; }
  .step { border-bottom: 1px solid var(--line-paper); padding-right: clamp(1rem,2vw,1.6rem); }
  .step:nth-child(2n) { border-right: none; }
}
@media (max-width: 480px){ .steps { grid-template-columns: 1fr; } .step { border-right: none; } }

/* ==========================================================================
   CAPABILITIES PAGE — domain blocks
   ========================================================================== */
.domain {
  border-top: 1px solid var(--line);
  padding-block: clamp(3.1rem, 1.9rem + 3.4vw, 5.4rem);
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(1.5rem, 1rem + 3vw, 4rem);
}
.domain:first-of-type { border-top: none; padding-top: 0; }
.domain__aside { position: relative; }
.domain__ix { font-family: var(--f-mono); font-size: var(--t-xs); color: var(--blue-glow); letter-spacing: 0.16em; display: block; margin-bottom: 1rem; }
.domain__title { margin-bottom: 1rem; }
.domain__desc { color: var(--on-dark-2); font-size: var(--t-sm); margin-bottom: 1.4rem; }
.domain__icon { width: 40px; height: 40px; color: var(--blue-glow); margin-bottom: 1.2rem; }
.domain__sticky { position: sticky; top: 100px; }

.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
@media (max-width: 540px){ .svc-grid { grid-template-columns: 1fr; } }
.svc {
  background: var(--navy-2); padding: 1.65rem 1.7rem;
  transition: background 0.2s var(--ease);
}
.svc:hover { background: var(--navy-3); }
.svc__h { display: flex; align-items: baseline; gap: 0.6rem; margin-bottom: 0.65rem; }
.svc__n { font-family: var(--f-mono); font-size: var(--t-xs); color: var(--on-dark-3); }
.svc__t { font-family: var(--f-display); font-weight: 700; font-size: 1.02rem; letter-spacing: -0.01em; }
.svc__d { font-size: 0.9rem; color: var(--on-dark-2); line-height: 1.62; }

@media (max-width: 820px){
  .domain { grid-template-columns: 1fr; gap: 1.6rem; }
  .domain__sticky { position: static; }
}

/* ==========================================================================
   FEATURE / SPLIT BLOCKS
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.8rem, 1rem + 4vw, 4.5rem); align-items: center; }
.split--reverse .split__media { order: 2; }
@media (max-width: 820px){ .split { grid-template-columns: 1fr; gap: 2rem; } .split--reverse .split__media { order: 0; } }

.feature-list { display: grid; gap: 1.4rem; margin-top: 2.1rem; }
.feature {
  display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start;
  padding-bottom: 1.4rem; border-bottom: 1px solid var(--line);
}
.feature:last-child { border-bottom: none; }
.section--paper .feature { border-color: var(--line-paper); }
.feature__icon { width: 30px; height: 30px; color: var(--blue-glow); margin-top: 2px; }
.section--paper .feature__icon { color: var(--blue); }
.feature__t { font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; margin-bottom: 0.25rem; letter-spacing: -0.01em; }
.feature__d { font-size: var(--t-sm); color: var(--on-dark-2); }
.section--paper .feature__d { color: var(--on-paper-2); }

/* Panel media (framed) */
.panel {
  position: relative; border: 1px solid var(--line); border-radius: var(--r-lg);
  background: linear-gradient(160deg, var(--navy-2), var(--navy));
  padding: clamp(1.5rem, 1rem + 2vw, 2.4rem); overflow: hidden;
}
.panel--readout { font-family: var(--f-mono); }
.readout-row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.88rem 0; border-bottom: 1px dashed var(--line); font-size: var(--t-sm); }
.readout-row:last-child { border-bottom: none; }
.readout-row .k { color: var(--on-dark-3); letter-spacing: 0.04em; }
.readout-row .v { color: var(--on-dark); }
.readout-row .v.ok { color: #57E0A8; }
.readout-row .v.hot { color: var(--blue-glow); }

/* ==========================================================================
   STATS BAND
   ========================================================================== */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.6rem, 0.9rem + 2.2vw, 3.2rem); }
.stat {
  padding-top: 1.5rem; border-top: 2px solid var(--blue);
}
.stat__v { font-family: var(--f-display); font-weight: 800; font-size: clamp(2rem,1.4rem + 2vw,3rem); letter-spacing: -0.03em; color: var(--on-dark); line-height: 1; }
.stat__v .u { color: var(--blue-glow); }
.stat__k { font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark-3); margin-top: 0.7rem; }
@media (max-width: 760px){ .stats-band { grid-template-columns: 1fr 1fr; } }

/* ==========================================================================
   INDUSTRIES
   ========================================================================== */
.sectors { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
@media (max-width: 900px){ .sectors { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .sectors { grid-template-columns: 1fr; } }
.sector {
  position: relative; padding: 1.95rem 1.85rem; border: 1px solid var(--line);
  border-radius: var(--r); background: var(--navy-2); overflow: hidden;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.sector:hover { transform: translateY(-3px); border-color: var(--line-strong); background: var(--navy-3); }
.sector__icon { width: 34px; height: 34px; color: var(--blue-glow); margin-bottom: 1rem; }
.sector__t { font-family: var(--f-display); font-weight: 700; font-size: 1.12rem; margin-bottom: 0.5rem; letter-spacing: -0.01em; }
.sector__d { font-size: var(--t-sm); color: var(--on-dark-2); }
.sector__n { position: absolute; top: 1.1rem; right: 1.2rem; font-family: var(--f-mono); font-size: var(--t-xs); color: var(--on-dark-3); }

/* ==========================================================================
   ABOUT — entities / offices
   ========================================================================== */
.entities { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
@media (max-width: 820px){ .entities { grid-template-columns: 1fr; } }
.entity {
  border: 1px solid var(--line-paper); border-radius: var(--r-lg); padding: clamp(1.85rem,1.2rem + 1.8vw,2.7rem);
  background: #fff; position: relative; overflow: hidden;
}
.entity__flag { font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: 0.14em; color: var(--blue); margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; }
.entity__name { font-family: var(--f-display); font-weight: 800; font-size: 1.3rem; color: var(--on-paper); margin-bottom: 0.3rem; letter-spacing: -0.02em; }
.entity__role { font-family: var(--f-mono); font-size: var(--t-xs); color: var(--on-paper-2); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1.3rem; }
.entity__rows { display: grid; gap: 1.05rem; }
.entity__row { display: grid; grid-template-columns: 18px 1fr; gap: 0.7rem; align-items: start; font-size: var(--t-sm); color: var(--on-paper-2); }
.entity__row svg { width: 16px; height: 16px; color: var(--blue); margin-top: 3px; }
.entity__row a { color: var(--on-paper); border-bottom: 1px solid var(--line-paper); transition: border-color 0.18s var(--ease); }
.entity__row a:hover { border-color: var(--blue); }
.entity__bar { position: absolute; top: 0; left: 0; height: 4px; width: 64px; background: var(--blue); }

/* values */
.values { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--gap); }
@media (max-width: 760px){ .values { grid-template-columns: 1fr; } }
.value { padding-top: 1.65rem; border-top: 2px solid var(--blue); }
.value__t { font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; margin-bottom: 0.5rem; letter-spacing: -0.01em; }
.value__d { font-size: var(--t-sm); color: var(--on-dark-2); }
.section--paper .value__d { color: var(--on-paper-2); }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,1rem + 4vw,4.5rem); align-items: start; }
@media (max-width: 880px){ .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; } }

.office-card {
  border: 1px solid var(--line); border-radius: var(--r); padding: 2rem 2.1rem;
  background: var(--navy-2); margin-bottom: 2.6rem;
}
.office-card__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.3rem; }
.office-card__city { font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; }
.office-card__tag { font-family: var(--f-mono); font-size: var(--t-xs); color: var(--blue-glow); letter-spacing: 0.1em; }
.office-card__row { display: grid; grid-template-columns: 20px 1fr; gap: 0.8rem; align-items: start; font-size: var(--t-sm); color: var(--on-dark-2); padding: 0.72rem 0; line-height: 1.62; }
.office-card__row svg { width: 17px; height: 17px; color: var(--blue-glow); margin-top: 3px; }
.office-card__row a { color: var(--on-dark); transition: color 0.16s var(--ease); }
.office-card__row a:hover { color: var(--blue-glow); }

/* form */
.form { display: grid; gap: 1.3rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
@media (max-width: 520px){ .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 0.45rem; }
.field label { font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-dark-3); }
.field .req { color: var(--blue-glow); }
.field input, .field select, .field textarea {
  font-family: var(--f-body); font-size: 0.98rem; color: var(--on-dark);
  background: var(--navy); border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  padding: 0.85em 1em; transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s var(--ease);
  width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: var(--on-dark-3); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-glow); background: var(--navy-2);
  box-shadow: 0 0 0 3px rgba(59,107,255,0.18);
}
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%233B6BFF' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1em center; padding-right: 2.4em;
}
.form__note { font-size: var(--t-xs); color: var(--on-dark-3); font-family: var(--f-mono); letter-spacing: 0.02em; }
.form__status { font-family: var(--f-mono); font-size: var(--t-sm); padding: 0.9em 1em; border-radius: var(--r-sm); display: none; }
.form__status.show { display: block; }
.form__status.ok  { background: rgba(87,224,168,0.1); border: 1px solid rgba(87,224,168,0.4); color: #7CEBC0; }
.form__status.err { background: rgba(255,90,90,0.1); border: 1px solid rgba(255,90,90,0.4); color: #FF9A9A; }

/* ==========================================================================
   CTA BAND
   ========================================================================== */
.cta-band { position: relative; overflow: hidden; }
.cta-card {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background:
    radial-gradient(620px 360px at 12% 0%, rgba(4,62,254,0.35), transparent 62%),
    linear-gradient(135deg, #02112F, #050A1C);
  border: 1px solid var(--line-strong);
  padding: clamp(2.4rem, 1.6rem + 4vw, 4.6rem);
  text-align: center;
}
.cta-card .h2 { margin-bottom: 1rem; }
.cta-card__lede { color: var(--on-dark-2); max-width: 56ch; margin: 0 auto 2rem; }
.cta-card__actions { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: #03060F; border-top: 1px solid var(--line); padding-top: clamp(4.75rem,3.2rem + 4vw,7.75rem); position: relative; z-index: 1; }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: clamp(2rem,1.2rem + 2.4vw,4rem); padding-bottom: 4.2rem; }
@media (max-width: 880px){ .footer__top { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 480px){ .footer__top { grid-template-columns: 1fr; } }
.footer__brand img { height: 30px; margin-bottom: 1.1rem; }
.footer__tagline { color: var(--on-dark-2); font-size: var(--t-sm); max-width: 36ch; margin-bottom: 1.7rem; line-height: 1.7; }
.footer__mono { font-family: var(--f-mono); font-size: var(--t-xs); color: var(--on-dark-3); letter-spacing: 0.08em; line-height: 2.2; }
.footer__col h5 { font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark-3); margin-bottom: 1.45rem; font-weight: 500; }
.footer__col ul { display: grid; gap: 1.05rem; }
.footer__col a { font-size: var(--t-sm); color: var(--on-dark-2); transition: color 0.16s var(--ease); }
.footer__col a:hover { color: var(--on-dark); }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
  padding: 2.1rem 0 3rem; border-top: 1px solid var(--line);
  font-family: var(--f-mono); font-size: var(--t-xs); color: var(--on-dark-3); letter-spacing: 0.04em;
}
.footer__bottom a { color: var(--on-dark-3); transition: color 0.16s var(--ease); }
.footer__bottom a:hover { color: var(--on-dark-2); }
.footer__legal-links { display: flex; gap: 1.2rem; flex-wrap: wrap; }

/* ==========================================================================
   PAGE HEADER (interior pages)
   ========================================================================== */
.pagehead { position: relative; padding-top: clamp(8rem, 6rem + 8vw, 11rem); padding-bottom: clamp(2.5rem,1.5rem + 3vw,4rem); overflow: hidden; }
.pagehead__eyebrow { margin-bottom: 1.3rem; }
.pagehead__title { max-width: 16ch; margin-bottom: 1.3rem; }
.pagehead__lede { max-width: 56ch; }
.crumb { font-family: var(--f-mono); font-size: var(--t-xs); color: var(--on-dark-3); letter-spacing: 0.06em; margin-bottom: 1.6rem; display: flex; gap: 0.5rem; align-items: center; }
.crumb a { color: var(--on-dark-3); transition: color 0.16s var(--ease); }
.crumb a:hover { color: var(--blue-glow); }
.crumb .sep { color: var(--line-strong); }

/* ==========================================================================
   PROSE (legal pages)
   ========================================================================== */
.prose { max-width: 760px; }
.prose h2 { font-size: var(--t-h3); margin: 2.4rem 0 0.9rem; }
.prose h3 { font-size: var(--t-h4); margin: 1.8rem 0 0.7rem; color: var(--on-dark); }
.prose p { color: var(--on-dark-2); margin-bottom: 1rem; }
.prose ul { display: grid; gap: 0.5rem; margin: 0 0 1.2rem; padding-left: 1.2rem; }
.prose ul li { color: var(--on-dark-2); list-style: disc; }
.prose a { color: var(--blue-glow); border-bottom: 1px solid var(--line-strong); }
.prose a:hover { border-color: var(--blue-glow); }
.prose strong { color: var(--on-dark); }
.prose .updated { font-family: var(--f-mono); font-size: var(--t-xs); color: var(--on-dark-3); letter-spacing: 0.08em; margin-bottom: 2rem; }

/* ==========================================================================
   MISC / UTILITY
   ========================================================================== */
.divider { height: 1px; background: var(--line); border: none; margin: 0; }
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }
.skip {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--blue); color: #fff; padding: 0.7em 1.2em; border-radius: 0 0 var(--r-sm) 0;
  font-family: var(--f-mono); font-size: var(--t-sm);
}
.skip:focus { left: 0; }
:focus-visible { outline: 2px solid var(--blue-glow); outline-offset: 2px; }

/* badges row */
.badges { display: flex; flex-wrap: wrap; gap: 0.72rem; }
.badge {
  font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: 0.06em;
  padding: 0.6em 1em; border: 1px solid var(--line); border-radius: var(--r-sm);
  color: var(--on-dark-2); background: rgba(120,150,210,0.04);
  display: inline-flex; align-items: center; gap: 0.5em;
}
.badge svg { width: 14px; height: 14px; color: var(--blue-glow); }
.section--paper .badge { border-color: var(--line-paper); color: var(--on-paper-2); }
.section--paper .badge svg { color: var(--blue); }

/* reveal animation */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 0.08s; }
.reveal[data-d="2"] { transition-delay: 0.16s; }
.reveal[data-d="3"] { transition-delay: 0.24s; }
.reveal[data-d="4"] { transition-delay: 0.32s; }

/* ==========================================================================
   SELECTED WORK — representative engagements (case studies)
   ========================================================================== */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
@media (max-width: 820px){ .work-grid { grid-template-columns: 1fr; } }

.case {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--navy-2), var(--navy));
  padding: clamp(1.7rem, 1.1rem + 1.6vw, 2.5rem);
  position: relative; overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.case::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(440px 220px at 100% 0%, rgba(4,62,254,0.10), transparent 60%);
  opacity: 0; transition: opacity 0.3s var(--ease);
}
.case:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: 0 24px 60px -30px rgba(0,0,0,0.9); }
.case:hover::after { opacity: 1; }
.case__meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem 1rem; margin-bottom: 1.3rem; }
.case__sector { font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-glow); }
.case__region { font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: 0.08em; color: var(--on-dark-3); }
.case__client { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.2rem, 1rem + 0.7vw, 1.5rem); letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 0.7rem; color: var(--on-dark); }
.case__summary { color: var(--on-dark-2); font-size: var(--t-sm); line-height: 1.6; margin-bottom: 1.4rem; }
.case__rows { display: grid; gap: 1rem; padding-top: 1.3rem; border-top: 1px solid var(--line); }
.case__row { display: grid; gap: 0.3rem; }
.case__label { font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark-3); }
.case__text { font-size: var(--t-sm); color: var(--on-dark-2); line-height: 1.55; }
.case__outcome {
  margin-top: 1.4rem; padding: 1rem 1.1rem; border-radius: var(--r);
  background: rgba(4,62,254,0.08); border: 1px solid rgba(59,107,255,0.22);
}
.case__outcome .case__label { color: var(--blue-glow); }
.case__outcome .case__text { color: var(--on-dark); }
.case__tags { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 1.3rem; }

/* compact case (homepage teaser) */
.case--compact { padding: clamp(1.5rem,1rem + 1.4vw,2.1rem); }
.case--compact .case__rows { display: none; }
.case--compact .case__outcome { margin-top: auto; }
.case--compact .case__summary { margin-bottom: 1.1rem; }

/* disclaimer note under work sections */
.work-note {
  font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: 0.03em;
  color: var(--on-dark-3); line-height: 1.7; max-width: 80ch;
}
.section--paper .work-note { color: var(--on-paper-2); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .ap-spin, .ap-spin-rev, .ap-spin-slow, .ap-pulse, .ap-blip { animation: none !important; }
  .btn, .pillar, .sector, .svc, .case { transition: none !important; }
}
