/* Inter (variable, opsz 14–32, wght 300–700), self-hosted: no request to Google's servers (GDPR) */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("../fonts/inter-latin.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; }

/* ==========================================================================
   Axiora Vision — design tokens and components
   Derived from Refrance_files/Axiora_vision.fig (Inter Display, ink/paper
   palette, arch dividers, pill controls). Edit tokens here first.
   ========================================================================== */

:root {
  /* colour */
  --ink: #111111;
  --ink-2: #474747;
  --muted: #7e7f7f;
  --line: #dddddd;
  --paper: #fafafa;
  --paper-2: #f5f5f5;
  --white: #ffffff;
  --panel: #1e1e1e;
  --panel-2: #2c2c2c;
  --sky: 62 124 172;           /* hero wash, used as rgb() channels */
  --blue: #007aff;             /* cybersecurity accent */
  --amber: #cc7b1d;            /* cybersecurity accent */
  --ok: #20aa16;
  --alert: #ff3b3b;

  /* type */
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-hero: clamp(2.6rem, 1.4rem + 5.2vw, 6rem);      /* 96 */
  --fs-statement: clamp(2rem, 1rem + 4.2vw, 5rem);      /* 80 */
  --fs-h2: clamp(2rem, 1.35rem + 2.3vw, 3.125rem);      /* 50 */
  --fs-lead: clamp(1.5rem, 1.05rem + 1.7vw, 2.75rem);   /* 44 */
  --fs-h3: clamp(1.5rem, 1.25rem + .9vw, 2rem);         /* 32 */
  --fs-h4: 1.25rem;                                     /* 20 */
  --fs-intro: clamp(1.125rem, 1rem + .5vw, 1.5rem);     /* 24 */
  --fs-body: 1.125rem;                                  /* 18 */
  --fs-small: 1rem;                                     /* 16 */
  --fs-xs: .875rem;                                     /* 14 */

  /* space & shape */
  --gutter: clamp(16px, 2.8vw, 40px);
  --maxw: 1440px;
  --section: clamp(72px, 7vw, 100px);
  --radius: 14px;
  --radius-sm: 8px;
  --pill: 999px;
  --arch: clamp(48px, 9vw, 150px);

  /* motion */
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1); /* expo-style ease-out for reveals */
  --dur: .6s;

  color-scheme: light;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-optical-sizing: auto;
  font-size: var(--fs-body);
  line-height: 1.28;
  color: var(--ink);
  background: var(--paper);
  overflow-x: clip;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--ink); color: var(--white); }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--ink); color: var(--white); padding: 12px 18px; border-radius: var(--pill);
}
.skip-link:focus { top: 16px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }
.bg-paper { background: var(--paper); }
.bg-paper-2 { background: var(--paper-2); }
.bg-white { background: var(--white); }
.bg-ink { background: var(--ink); color: var(--white); }

/* ---------- typography ---------- */
.display {
  font-size: var(--fs-hero); font-weight: 500; line-height: 1.05; letter-spacing: 0;
}
.statement { font-size: var(--fs-statement); font-weight: 500; line-height: 1; letter-spacing: 0; }
.h2 { font-size: var(--fs-h2); font-weight: 500; line-height: 1.1; letter-spacing: 0; }
.lead { font-size: var(--fs-lead); font-weight: 500; line-height: 1.1; letter-spacing: 0; text-wrap: pretty; }
.h3 { font-size: var(--fs-h3); font-weight: 500; line-height: 1.1; letter-spacing: 0; }
.h4 { font-size: var(--fs-h4); font-weight: 500; line-height: 1.1; }
.intro { font-size: var(--fs-intro); line-height: 1.3; }
.body { font-size: var(--fs-body); line-height: 1.28; text-wrap: pretty; }
.small { font-size: var(--fs-small); line-height: 1.25; }
.xs { font-size: var(--fs-xs); line-height: 1.3; }
.muted { color: var(--muted); }
.ink-2 { color: var(--ink-2); }
.on-dark .muted { color: var(--muted); }
.measure { max-width: 46rem; }
.measure-sm { max-width: 36rem; }
.center { text-align: center; margin-inline: auto; }

/* eyebrow: mark + uppercase label */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--fs-small); line-height: 1.25; text-transform: uppercase; letter-spacing: 0;
}
.eyebrow .mark { width: 28px; height: 28px; flex: none; }
.eyebrow.grad span {
  background: linear-gradient(90deg, #d38a3c, #ecbd85); /* Figma: warm amber all the way (no fade to white) */
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-head { display: grid; gap: 16px; margin-bottom: clamp(40px, 4.5vw, 64px); }
.section-head .h2 { margin-top: 0; }
.section-head.center { justify-items: center; text-align: center; max-width: 58rem; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--white);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 53px; padding: 14px 26px; border-radius: var(--pill);
  background: var(--bg); color: var(--fg);
  font-size: var(--fs-body); font-weight: 500; line-height: 1;
  box-shadow: inset 0 0 0 1px var(--bg);
  transition: background-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
  white-space: nowrap;
}
/* hover: the colours swap and a thin outline in the original colour keeps the pill's shape */
.btn:hover, .btn:focus-visible { background: var(--fg); color: var(--bg); }
.btn:active { opacity: .85; }
.btn .arrow { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-light { --bg: var(--white); --fg: var(--ink); }
.btn-sm { min-height: 40px; padding: 10px 20px; font-size: var(--fs-small); }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; gap: 8px; align-items: center; font-weight: 500; color: var(--ink-2); }
.link-arrow:hover { color: var(--ink); }
.link-arrow svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- navigation (floating pill that expands into the menu) ----------
   Performance: the nav box is always laid out at its open size. Opening only
   animates clip-path on the white background, transforms on the bar items and
   opacity on the panel, so there is no layout or blur work per frame. */
.nav {
  --open-w: min(1128px, calc(100vw - 32px));
  --closed-w: min(665px, calc(100vw - 32px));
  --d: calc((var(--open-w) - var(--closed-w)) / 2);
  --bar-h: 64px; --pad: 44px; --ot: calc(var(--d) - 12px); --oc: calc(var(--d) * -1 + 32px);
  position: fixed; z-index: 50; top: 24px; left: 50%; width: var(--open-w);
  transform: translateX(-50%); pointer-events: none;
}
.nav-bg {
  position: absolute; inset: 0; background: var(--white); border-radius: min(1.67vw, 24px);
  clip-path: inset(0 var(--d) calc(100% - var(--bar-h)) var(--d) round 32px);
  transition: clip-path .4s var(--ease) .12s; will-change: clip-path;
}
.nav.open .nav-bg { clip-path: inset(0 0 0 0 round min(1.67vw, 24px)); background: var(--paper); transition-delay: 0s; }
.nav-bar { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: var(--bar-h); padding: 0 var(--pad); }
.nav-bar > * { pointer-events: auto; transition: transform .4s var(--ease) .12s; }
.nav.open .nav-bar > * { transition-delay: 0s; }
.nav-toggle { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-body); justify-self: start; padding: 8px 0; transform: translateX(var(--ot)); }
.nav-cta { justify-self: end; transform: translateX(var(--oc)); }
.nav.open .nav-toggle, .nav.open .nav-cta { transform: none; }
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .i-close { display: none; }
.nav-toggle .i-menu { stroke-width: 1.3; }
.nav.open .nav-toggle .i-menu { display: none; }
.nav.open .nav-toggle .i-close { display: block; }
.nav-brand { display: grid; justify-items: center; gap: 3px; color: var(--ink); }
.nav-brand small { font-size: 9px; font-weight: 300; letter-spacing: .4em; text-transform: uppercase; line-height: 1; padding-left: .4em; }
.nav-panel { position: relative; }
.nav-panel-inner {
  padding: 0 var(--pad) 36px; max-height: calc(100svh - 130px); overflow: auto;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .15s ease, transform .2s var(--ease), visibility 0s .2s;
}
.nav.open .nav-panel-inner { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition: opacity .3s ease .25s, transform .4s var(--ease) .2s, visibility 0s; }
.nav-panel .label { color: var(--ink-2); font-size: var(--fs-body); margin: 8px 0 22px; }
.nav-services { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
.nav-services .nav-svc a { font-size: var(--fs-h4); font-weight: 500; }
.nav-services ul { margin-top: 18px; display: grid; gap: 10px; }
.nav-services li a { color: var(--ink-2); font-size: var(--fs-small); }
.nav-explore { border-top: 1px solid var(--line); margin-top: 28px; padding-top: 18px; }
.nav-explore ul { display: flex; flex-wrap: wrap; gap: 12px 32px; }
.nav-explore a { font-size: var(--fs-body); font-weight: 500; color: var(--ink); }
/* open menu (design 1440, "Menu" PDF): 'Service' centred at y 119, column heads at 161 with x 199 / 612 / 1007,
   sub-links 16/20 on a 28px pitch, divider at 437, 'Explore' at 481, links at 524, panel bottom at 576 */
@media (min-width: 1024px) {
  .nav-panel .label { font-size: var(--fs-body); line-height: 1.28; margin: min(1.39vw, 20px) 0 min(1.25vw, 18px); }
  .nav-services { grid-template-columns: min(28.68vw, 413px) min(27.43vw, 395px) 1fr; column-gap: 0; }
  .nav-services .nav-svc { font-size: var(--fs-h4); line-height: 1.2; }
  .nav-services ul { margin-top: min(1.11vw, 16px); gap: min(.56vw, 8px); }
  .nav-services li { font-size: var(--fs-small); line-height: 1.25; }
  .nav-explore { margin-top: min(2.22vw, 32px); padding-top: min(2.22vw, 32px); }
  .nav-explore .label { margin: 0 0 min(1.39vw, 20px); }
  .nav-explore ul { gap: 12px min(2.29vw, 33px); }
  .nav-explore li a { line-height: 1.28; }
  .nav-panel-inner { padding-bottom: min(2.78vw, 40px); }
}
.nav-panel a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
/* division menus (Figma '01-1 IT Services - Menu' etc.): title + tagline cards, 4 columns 217 wide, 60 apart, rows 82 apart */
.nav-divs { display: grid; grid-template-columns: repeat(4, min(15.07vw, 217px)); column-gap: min(4.17vw, 60px); row-gap: min(2.22vw, 32px); }
.nav-divs a { display: grid; gap: min(.56vw, 8px); }
.nav-divs strong { font-size: var(--fs-h4); font-weight: 500; line-height: 1.1; color: var(--ink); }
.nav-divs span { font-size: var(--fs-small); line-height: 1.25; color: var(--ink-2); }
.nav-divs a:hover { text-decoration: none; }
@media (min-width: 768px) { .nav-divs span { white-space: nowrap; } } /* design gives the 3rd column 233px so 'Digital Experiences That Perform.' stays on one line */
.nav-divs a:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.nav-panel a[aria-current="page"] { text-decoration: none; }

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate; color: var(--white); background: var(--ink);
  min-height: clamp(640px, 100svh, 1060px);
  display: flex; align-items: center;
  padding-block: 150px calc(var(--arch) + 90px);
}
.hero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: var(--hero-overlay, linear-gradient(180deg, rgba(17,17,17,.55), rgba(17,17,17,.75))); }
.hero--home .hero-media::after {
  background: linear-gradient(180deg, rgb(var(--sky) / .40) 0%, rgb(var(--sky) / .60) 45%, rgb(var(--sky) / .45) 70%, rgb(var(--sky) / 0) 100%);
}
.hero--dim .hero-media img { opacity: .55; }
.hero--glow .hero-media { background: var(--ink); }
.hero--glow .hero-media::before {
  content: ""; position: absolute; left: 50%; top: -24%; width: min(983px, 90vw); aspect-ratio: 983 / 464;
  transform: translateX(-50%); border-radius: 50%;
  background: linear-gradient(90deg, var(--blue), var(--amber)); filter: blur(120px); opacity: .7;
}
.hero--glow .hero-media::after { background: radial-gradient(transparent 40%, rgba(17,17,17,.6)); }
.hero-inner { display: grid; gap: 24px; justify-items: start; }
.hero .display { max-width: 12em; }
.hero--home .display { max-width: 14em; }
.hero .intro { max-width: 53rem; color: var(--white); }
.hero .btn { margin-top: 12px; }
.hero--legal { min-height: auto; padding-block: 170px calc(var(--arch) + 70px); }
.hero--legal .display { max-width: none; }

/* ---------- arch dividers ---------- */
/* A section with .arch-top rises into the previous section with a convex curve.
   The previous section must leave room (hero adds var(--arch) bottom padding). */
.arch-top { position: relative; z-index: 1; }
.arch-top::before {
  content: ""; position: absolute; z-index: -1; left: -12%; right: -12%;
  top: calc(var(--arch) * -1); height: calc(var(--arch) * 2.4);
  background: inherit; border-radius: 0;
}
/* Figma 'Header background': 1780 wide at x=-170, cubic M0 200 C586 68.3 1194 68.3 1780 200,
   a shallow curve ~64px lower at the viewport edges than at the centre peak (top of ::before). */
.arch-top::before {
  left: -11.806%; right: -11.806%;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1780 300'%3E%3Cpath d='M0 98.8C586-32.9 1194-32.9 1780 98.8V300H0Z'/%3E%3C/svg%3E") 0 0 / 100% auto no-repeat,
    linear-gradient(#000 0 0) 0 100% / 100% calc(100% - 6vw) no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1780 300'%3E%3Cpath d='M0 98.8C586-32.9 1194-32.9 1780 98.8V300H0Z'/%3E%3C/svg%3E") 0 0 / 100% auto no-repeat,
    linear-gradient(#000 0 0) 0 100% / 100% calc(100% - 6vw) no-repeat;
}
.arch-top.rim-blue::before { box-shadow: 0 -14px 0 var(--blue); }
.arch-top.rim-amber::before { box-shadow: 0 -14px 0 var(--amber); }
.pad-arch { padding-bottom: calc(var(--section) + var(--arch)); }

/* ---------- home: who we are ---------- */
.who { text-align: center; }
.who .lead { color: var(--muted); max-width: 1160px; margin: 0 auto; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: clamp(56px, 6vw, 84px); text-align: left; }
.stat { border-left: 1px solid var(--ink-2); padding-left: 17px; display: grid; gap: 20px; align-content: start; }
.stat dt { color: var(--muted); font-size: var(--fs-body); }
.stat dd { margin: 0; font-size: clamp(3rem, 2rem + 3.5vw, 5rem); font-weight: 600; line-height: 1.1; letter-spacing: 0; color: var(--white); }
.divisions { margin-top: clamp(56px, 6vw, 84px); display: grid; gap: 22px; justify-items: center; }
.divisions ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px clamp(40px, 10vw, 170px); }
.division { display: grid; justify-items: center; gap: 8px; color: var(--white); opacity: .9; transition: opacity .25s; }
.division:hover { opacity: 1; }
.division img { width: 248px; }
.division span { font-size: 12px; font-weight: 300; letter-spacing: .4em; text-transform: uppercase; padding-left: .4em; }

/* ---------- business selector ---------- */
.selector-intro { max-width: 1001px; }
.selector-grid { margin-top: clamp(48px, 5vw, 72px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.biz {
  position: relative; overflow: hidden; border-radius: var(--radius); color: var(--white);
  min-height: 420px; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px;
  background: var(--ink); isolation: isolate;
}
.biz img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease), opacity .6s; opacity: .55; }
.biz::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(17,17,17,0) 30%, rgba(17,17,17,.85)); }
.biz:hover img, .biz:focus-visible img { transform: scale(1.05); opacity: .8; }
.biz .tag { font-size: 12px; letter-spacing: .3em; font-weight: 300; text-transform: uppercase; opacity: .85; }
.biz h3 { margin-top: 10px; }
.biz p { margin-top: 10px; color: rgba(255,255,255,.85); max-width: 30ch; }
.biz .go {
  position: absolute; top: 24px; right: 24px; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid rgba(255,255,255,.5);
  transition: background .25s, color .25s, transform .35s var(--ease);
}
.biz:hover .go, .biz:focus-visible .go { background: var(--white); color: var(--ink); transform: rotate(-45deg); }
.biz .go svg { width: 20px; height: 20px; }

/* ---------- hairline benefit grid ---------- */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); }
.benefit {
  position: relative; padding: 33px 16px; min-height: 380px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.benefit + .benefit { border-left: 1px solid var(--line); }
.benefit .icon { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); }
.benefit .icon svg { width: 24px; height: 24px; }
.benefit h3 { margin-bottom: 12px; }
.benefit p { font-size: var(--fs-small); line-height: 1.25; }

/* ---------- tabs ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.tab {
  padding: 4px 12px; min-height: 31px; border-radius: 4px; background: var(--line); color: var(--ink);
  font-size: var(--fs-body); line-height: 1.28; transition: background .2s, color .2s;
}
.tab:hover { background: #cfcfcf; }
.tab[aria-selected="true"] { background: var(--ink); color: var(--white); }
.tabpanel[hidden] { display: none; }
.tabpanel { animation: fadeIn .45s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.product-frame { border-radius: var(--radius); overflow: hidden; aspect-ratio: 1360 / 720; background: #c4c4c4; }
.product-frame img { width: 100%; height: 100%; object-fit: cover; }
.product-frame.triptych { display: grid; grid-template-columns: 454fr 453fr 458fr; }
.product-frame.triptych img { min-width: 0; }

/* products carousel (like palantir.com): light grey chips (the selected one fills with grey over 8s); the
   current slide fills the content width while its neighbours peek in, dimmed, from both page margins (the row loops);
   frosted caption card bottom-left with a slide counter; arrow buttons on the slide's left and right edges */
.ptab {
  flex: none; white-space: nowrap; position: relative; overflow: hidden; border-radius: 2px;
  padding: 4px 10px !important; background: #efefef; color: #8a8a8a; transition: background .3s, color .3s;
}
.ptab > span { position: relative; z-index: 1; }
.ptab:hover { background: #e7e7e7; color: var(--ink); }
.ptab[aria-selected="true"], .ptab[aria-selected="true"]:hover { background: #efefef; color: var(--ink); }
/* the selected chip fills with grey from the left while its product is shown */
.ptab::after { content: ""; position: absolute; inset: 0; background: #d9d9d9; transform: translateX(-101%); }
.ptab[aria-selected="true"]::after { transform: translateX(0); }
.pcar.is-auto .ptab[aria-selected="true"]::after { animation: ptabFill var(--pdur, 8s) linear both; }
.pcar.is-paused .ptab[aria-selected="true"]::after { animation-play-state: paused; }
@keyframes ptabFill { from { transform: translateX(-101%); } to { transform: translateX(0); } }
.pcar-view { position: relative; }
.pcar-track { display: flex; gap: 30px; transition: transform .9s cubic-bezier(.65, 0, .25, 1); will-change: transform; }
.pslide { position: relative; flex: 0 0 100%; animation: none; opacity: .45; transition: opacity .9s var(--ease); }
.pslide.is-active { opacity: 1; }
.pslide .product-frame img { transition: scale 1.6s cubic-bezier(.2, .7, .2, 1); scale: 1.06; }
.pslide.is-active .product-frame img { scale: 1; }
.pslide-text {
  position: absolute; left: 0; bottom: 0; margin: min(2.222vw, 32px); padding: min(1.667vw, 24px) min(1.944vw, 28px) min(1.944vw, 28px);
  width: min(36.11vw, 520px); color: var(--white); border-radius: var(--radius);
  background: rgba(17, 17, 17, .58); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, .12);
  opacity: 0; transform: translateY(18px); transition: opacity .5s var(--ease) .45s, transform .7s var(--ease) .45s;
}
.pslide.is-active .pslide-text { opacity: 1; transform: none; }
.pslide-mark { display: flex; justify-content: space-between; gap: 16px; font-size: clamp(11px, 0.903vw, 13px); line-height: 1; text-transform: uppercase; letter-spacing: .08em; color: rgba(255, 255, 255, .7); }
.pslide-mark::before { content: ""; order: 1; flex: 1; align-self: center; height: 1px; background: rgba(255, 255, 255, .2); }
.pslide-count { order: 2; font-variant-numeric: tabular-nums; }
.pslide-title { margin-top: min(1.389vw, 20px); font-size: clamp(18px, 2.083vw, 30px); line-height: 1.1; letter-spacing: -.035em; font-weight: 400; }
.pcar-ctrl { position: absolute; inset: 0; pointer-events: none; }
.pcar-btn {
  position: absolute; top: 50%; translate: 0 -50%; pointer-events: auto;
  display: grid; place-items: center; width: 56px; height: 44px; border-radius: 6px; color: var(--white);
  background: rgba(17, 17, 17, .45); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .18); transition: background .3s, color .3s, transform .3s var(--ease);
}
.pcar-btn[data-dir="-1"] { left: min(2.222vw, 32px); }
.pcar-btn[data-dir="1"] { right: min(2.222vw, 32px); }
.pcar-btn:hover { background: var(--white); color: var(--ink); }
.pcar-btn:active { transform: scale(.94); }
@media (hover: none) { .pcar-ctrl { display: none; } }
@media (prefers-reduced-motion: reduce) { .pcar-track, .pslide-text, .pslide .product-frame img { transition: none; } }

/* ---------- logos ---------- */
.logos { text-align: center; padding-block: 100px; }
.logos ul { margin-top: 56px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 36px 40px; }
.logos li { color: var(--ink-2); }
.logos img { height: auto; max-height: 40px; width: auto; }
.logos .impex { filter: grayscale(1) contrast(1.4) brightness(.55); mix-blend-mode: multiply; max-height: 46px; }

/* ---------- full-bleed statement ---------- */
.statement-band { position: relative; color: var(--white); isolation: isolate; min-height: clamp(520px, 54vw, 780px); padding-block: 100px; }
.statement-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: grayscale(1); }
.statement-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(17,17,17,.7), rgba(17,17,17,.1)); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 665px; gap: 40px; justify-content: space-between; align-items: start; }
.contact-copy { display: grid; gap: 16px; max-width: 532px; }
.form { background: var(--paper); border-radius: var(--radius); padding: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 33px; }
.bg-paper .form { background: var(--white); }
.field { display: grid; gap: 14px; border-bottom: 1px solid var(--line); padding-bottom: 14px; position: relative; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: var(--fs-small); color: #000; }
.field input, .field select, .field textarea {
  width: 100%; border: 0; background: transparent; padding: 0; font-size: var(--fs-small); line-height: 1.25; color: var(--ink);
  outline: none; appearance: none; -webkit-appearance: none;
}
.field textarea { resize: none; min-height: 64px; }
.field ::placeholder { color: var(--muted); opacity: 1; }
.field select { color: var(--ink); padding-right: 28px; cursor: pointer; }
.field select:invalid { color: var(--muted); }
.field .chev { position: absolute; right: 0; bottom: 14px; width: 20px; height: 20px; pointer-events: none; stroke-width: 2.2; }
.field:focus-within { border-bottom-color: var(--ink); }
.field.has-error { border-bottom-color: #c62828; }
.field .error { color: #c62828; font-size: var(--fs-xs); margin-top: -6px; }
.form .actions { grid-column: 1 / -1; display: grid; gap: 0; margin-top: 4px; }
.contact-copy .note { font-size: var(--fs-xs); line-height: 1.3; color: var(--muted); max-width: 24.2em; margin-top: min(.56vw, 8px); }
.contact-copy .note a { color: inherit; }
.form-status { grid-column: 1 / -1; display: grid; gap: 10px; padding: 8px 0; }
.form-status[hidden] { display: none; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: var(--white); padding-top: 84px; padding-bottom: 32px; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1fr auto; gap: 48px; }
.footer-about { max-width: 347px; display: grid; gap: 20px; }
.footer-about .mark { width: 65px; height: 65px; color: var(--white); }
.footer-about p { font-size: var(--fs-h4); font-weight: 500; line-height: 1.1; }
.footer-menus { display: grid; grid-template-columns: repeat(3, minmax(120px, auto)); gap: 24px 110px; }
.footer-menus .fhead { font-size: var(--fs-body); font-weight: 500; text-transform: uppercase; margin-bottom: 24px; }
.footer-menus ul { display: grid; gap: 12px; }
.footer-menus a { color: var(--line); font-size: var(--fs-small); }
.footer-menus a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.footer-wordmark { margin-top: clamp(64px, 10vw, 150px); color: var(--white); }
.footer-wordmark img { width: 100%; }
.offices { margin-top: 14px; background: var(--panel-2); border-radius: var(--radius); padding: 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.office img { width: 32px; height: 32px; border-radius: 4px; }
.office .office-name { margin-top: 24px; font-size: 1.5rem; font-weight: 500; line-height: 1.1; }
.office address { margin-top: 12px; color: var(--muted); font-size: var(--fs-small); font-style: normal; line-height: 1.45; }
.office address span { display: block; text-wrap: balance; }
.footer-bottom { margin-top: 32px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.socials { display: flex; gap: 8px; }
.socials a { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; transition: transform .25s var(--ease), opacity .25s; }
.socials a:hover { transform: translateY(-2px); opacity: .85; }
.socials img { width: 32px; height: 32px; }

/* ---------- generic cards & grids ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: var(--paper-2); border-radius: var(--radius); padding: 24px; }
.bg-paper-2 .card, .bg-paper .card.white { background: var(--white); }
.media-radius { border-radius: var(--radius); overflow: hidden; }
.media-radius img { width: 100%; height: 100%; object-fit: cover; }
.chip { display: inline-block; padding: 4px 10px; border-radius: var(--pill); background: var(--white); font-size: 12px; letter-spacing: .04em; color: var(--muted); }

/* IT services list cards */
.svc-card { min-height: 334px; }
.svc-card ul { margin-top: 40px; display: grid; gap: 6px; }
.svc-card li { font-size: var(--fs-small); display: flex; gap: 10px; }
.svc-card li::before { content: "-"; }

/* work grid (masonry-ish) */
.work-grid { columns: 3 300px; column-gap: 20px; }
.work { break-inside: avoid; margin-bottom: 40px; display: grid; gap: 14px; }
.work .media-radius { background: var(--line); }
.work img { transition: transform .8s var(--ease); }
.work:hover img { transform: scale(1.03); }
.work h3 { font-size: var(--fs-h4); font-weight: 500; }
.work p { color: var(--muted); font-size: var(--fs-small); margin-top: -6px; }

/* steps (dark) */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; align-items: end; }
.step { background: var(--ink-2); border-radius: var(--radius-sm); padding: 18px; display: grid; gap: 10px; min-height: 230px; align-content: space-between; }
.step .n { justify-self: end; font-size: var(--fs-xs); font-weight: 500; }
.step h3 { font-size: var(--fs-body); font-weight: 500; }
.step p { font-size: var(--fs-xs); line-height: 1.3; }
.steps.stagger .step:nth-child(2) { min-height: 260px; }
.steps.stagger .step:nth-child(3) { min-height: 290px; }
.steps.stagger .step:nth-child(4) { min-height: 320px; }
.steps.stagger .step:nth-child(5) { min-height: 350px; }
.steps.tall .step { min-height: 320px; align-content: space-between; }
.steps.tall .step .n { justify-self: start; color: var(--muted); font-size: var(--fs-body); }
.steps.tall .step h3 { font-size: 1.5rem; }
.steps.tall .step p { font-size: var(--fs-body); color: var(--line); }

/* industries */
.ind { position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; color: var(--white); display: flex; align-items: flex-end; justify-content: center; padding: 22px; text-align: center; isolation: isolate; }
.ind img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .9s var(--ease); }
.ind::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 42%; z-index: -1; background: linear-gradient(180deg, rgba(17,17,17,0), rgba(17,17,17,.8)); }
.ind:hover img { transform: scale(1.06); }
.ind h3 { font-size: 1.5rem; font-weight: 500; line-height: 1.1; }

/* bento: about IT */
.bento { display: grid; grid-template-columns: 318fr 1012fr; gap: 20px; }
.bento-col { display: grid; gap: 20px; }
.bento-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.metric { display: grid; gap: 40px; align-content: space-between; min-height: 200px; }
.metric .num { font-size: var(--fs-h2); font-weight: 500; line-height: 1; letter-spacing: 0; color: var(--ink); }
.metric h3 { font-size: 1.5rem; font-weight: 500; line-height: 1.1; }
.metric div p { color: var(--ink-2); font-size: var(--fs-small); margin-top: 8px; }
.quote { display: grid; grid-template-columns: 1fr 352px; gap: 40px; align-items: stretch; }
.quote blockquote { display: grid; align-content: space-between; gap: 32px; }
.quote blockquote p { font-size: var(--fs-intro); line-height: 1.3; }
.quote .qmark { font-size: 96px; line-height: .6; color: var(--line); font-weight: 500; }
.quote cite { font-style: normal; font-weight: 500; }
.logo-card ul { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; align-items: center; }
.logo-card img { max-height: 30px; width: auto; color: var(--ink-2); }

/* marquee reel */
.reel { overflow: hidden; display: grid; gap: 20px; margin-top: clamp(56px, 6vw, 84px); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.reel-track { display: flex; gap: 20px; width: max-content; animation: marquee 60s linear infinite; }
.reel-track.rev { animation-direction: reverse; }
.reel img { height: 224px; width: auto; border-radius: var(--radius-sm); object-fit: cover; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* consulting */
.practice { display: grid; grid-template-columns: 390px 1fr 1fr; gap: clamp(24px, 4vw, 60px); padding-block: 48px; border-top: 1px solid var(--line); align-items: start; }
.practice:last-child { border-bottom: 1px solid var(--line); }
.practice .media-radius { aspect-ratio: 390 / 232; }
.practice .copy { display: grid; gap: 18px; align-content: start; }
.practice .caps h4 { color: var(--muted); font-size: var(--fs-h4); font-weight: 500; margin-bottom: 18px; }
.practice .caps ul { display: grid; gap: 12px; }
.practice .caps li { font-weight: 500; display: flex; gap: 10px; align-items: center; }
.practice .caps li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); flex: none; }

.sectors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.sectors .col { display: grid; gap: 20px; }
.sectors .col:nth-child(2) { margin-top: 30px; }
.sectors .col:nth-child(3) { margin-top: 60px; }
.sector { background: var(--paper-2); border-radius: var(--radius); padding: 24px; display: grid; gap: 14px; min-height: 230px; align-content: space-between; transition: background .3s, color .3s; }
.sector .n { color: var(--muted); font-size: var(--fs-small); font-weight: 500; }
.sector h3 { font-size: 1.5rem; font-weight: 500; line-height: 1.1; }
.sector p { font-size: var(--fs-small); }

.why-list { display: grid; gap: 20px; }
.why-item { display: grid; grid-template-columns: 1fr 347px; gap: 24px; background: var(--white); border-radius: var(--radius); padding: 20px 20px 20px 28px; align-items: center; }
.why-item h3 { font-size: var(--fs-h4); font-weight: 500; margin-bottom: 10px; }
.why-item p { font-size: var(--fs-xs); line-height: 1.35; }
.why-item .media-radius { aspect-ratio: 347 / 226; border-radius: var(--radius-sm); }
.split-sticky { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.split-sticky > :first-child { position: sticky; top: 120px; }

/* capability tabs (cost / environment) */
.cap-layout { display: grid; grid-template-columns: 360px 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.cap-nav { display: grid; gap: 4px; position: sticky; top: 120px; }
.cap-nav button { text-align: left; padding: 14px 0; font-size: var(--fs-body); color: var(--muted); border-bottom: 1px solid var(--line); transition: color .2s; }
.cap-nav button[aria-selected="true"] { color: var(--ink); font-weight: 500; border-bottom-color: var(--ink); }
.cap-nav button:hover { color: var(--ink); }
.cap-panel { display: grid; grid-template-columns: 1fr 482px; gap: 32px; }
.cap-panel .copy { display: grid; gap: 18px; align-content: start; }
.cap-panel .n { font-size: var(--fs-body); }
.cap-panel ul { display: grid; gap: 10px; margin-top: 8px; }
.cap-panel li { color: var(--ink-2); font-size: var(--fs-small); padding-left: 16px; position: relative; }
.cap-panel li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--ink-2); }
.cap-panel .media-radius { aspect-ratio: 482 / 311; }

.highlight-stat { display: grid; gap: 8px; }
.highlight-stat .num { font-size: var(--fs-hero); font-weight: 500; line-height: 1; letter-spacing: 0; }

.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value { background: var(--paper-2); border-radius: var(--radius); padding: 24px; display: grid; gap: 70px; align-content: space-between; min-height: 240px; }
.value .icon { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--white); display: grid; place-items: center; }
.value .icon svg { width: 20px; height: 20px; }
.value h3 { font-size: var(--fs-h4); font-weight: 500; margin-bottom: 10px; }
.value p { font-size: var(--fs-xs); line-height: 1.35; }

.cta-band { position: relative; color: var(--white); isolation: isolate; border-radius: 0; padding-block: clamp(90px, 10vw, 140px); }
.cta-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(17,17,17,.82), rgba(17,17,17,.25)); }
.cta-band .inner { display: grid; gap: 18px; max-width: 640px; justify-items: start; }

.risk { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.risk-tabs { display: grid; gap: 0; margin-top: 32px; }
.risk-tabs button { text-align: left; padding: 18px 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.risk-tabs button:last-child { border-bottom: 1px solid var(--line); }
.risk-tabs .t { font-size: var(--fs-h4); font-weight: 500; color: var(--muted); }
.risk-tabs .d { font-size: var(--fs-xs); line-height: 1.35; display: none; }
.risk-tabs button[aria-selected="true"] .t { color: var(--ink); }
.risk-tabs button[aria-selected="true"] .d { display: block; }

/* ---------- cybersecurity ---------- */
.theme-cyber .dark-card { background: var(--panel); color: var(--white); border-radius: var(--radius); overflow: hidden; position: relative; isolation: isolate; }
.dark-card .accent { position: absolute; z-index: -1; inset: 0; pointer-events: none; }
.dark-card .accent::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; right: -20%; bottom: -35%; background: var(--c, var(--amber)); opacity: .85; clip-path: polygon(30% 0, 100% 40%, 70% 100%, 0 65%); transform: rotate(12deg); }
.dark-card .dots { position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px); background-size: 10px 10px; mask-image: linear-gradient(135deg, transparent 40%, #000); }
.risk-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(284px, auto); gap: 20px; }
.risk-card { padding: 28px; display: grid; align-content: start; gap: 12px; }
.risk-card.tall { grid-row: span 2; }
.risk-card h3 { font-size: var(--fs-h3); font-weight: 500; line-height: 1.1; }
.risk-card p { font-size: var(--fs-body); max-width: 28ch; }
.risk-card img { justify-self: end; align-self: end; width: min(70%, 260px); margin-top: auto; }
.sec-cards { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; }
.sec-card { flex: 0 0 min(552px, 85vw); scroll-snap-align: start; padding: 32px; min-height: 446px; display: grid; grid-template-columns: 1fr auto; gap: 12px; }
.sec-card .copy { display: grid; gap: 14px; align-content: start; }
.sec-card h3 { font-size: var(--fs-h3); font-weight: 500; line-height: 1.1; }
.sec-card p { font-size: var(--fs-small); }
.sec-card img { width: 220px; align-self: end; }
.scroller-controls { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; }
.scroller-controls button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); display: grid; place-items: center; color: var(--white); }
.scroller-controls button:hover { background: var(--white); color: var(--ink); }
.scroller-controls svg { width: 20px; height: 20px; }
.ot-grid { display: grid; grid-template-columns: 781fr 549fr; gap: 30px; }
.ot-grid .dark-card:nth-child(3) { grid-column: auto; }
.ot-card { padding: 32px; min-height: 430px; display: grid; align-content: space-between; gap: 20px; }
.ot-card img { width: 240px; justify-self: end; }
.ot-card h3 { font-size: var(--fs-h3); font-weight: 500; line-height: 1.1; }
.ot-card p { font-size: var(--fs-body); max-width: 34ch; margin-top: 10px; }
.ot-card:nth-child(odd) { grid-template-columns: 1fr; }

.segmented { display: inline-flex; padding: 6px; border-radius: var(--pill); background: rgba(255,255,255,.1); gap: 4px; margin-top: 28px; }
.segmented button { padding: 12px 22px; border-radius: var(--pill); color: var(--white); font-size: var(--fs-body); transition: background .25s, color .25s; }
.segmented button[aria-selected="true"] { background: var(--white); color: var(--ink); }
.defense { margin-top: 40px; padding: 36px; border: 1px solid rgba(255,255,255,.08); }
.defense .kicker { font-size: var(--fs-small); font-weight: 500; }
.defense .kicker.blue { background: linear-gradient(90deg, var(--blue), #fff 80%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.defense .kicker.amber { background: linear-gradient(90deg, var(--amber), #fff 80%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.defense h3 { font-size: var(--fs-h3); font-weight: 500; margin-top: 18px; }
.defense p { margin-top: 12px; max-width: 46rem; }
.flow { margin-top: 36px; display: grid; grid-template-columns: 1fr 2fr 1fr; align-items: center; gap: 12px; }
.flow-node { display: grid; justify-items: center; gap: 12px; text-align: center; font-size: var(--fs-xs); }
.flow-node .tile { width: 100%; max-width: 220px; aspect-ratio: 1; border-radius: var(--radius); background: #2a2a2a; display: grid; place-items: center; }
.flow-node .tile svg { width: 46%; height: auto; }
.flow svg.wires { width: 100%; height: auto; overflow: visible; }
.wires text { font-size: 13px; font-family: var(--font); }
.wire { fill: none; stroke-width: 1.5; stroke-dasharray: 5 7; animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -24; } }

.ai-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.ai-layout > :first-child { position: sticky; top: 120px; display: grid; gap: 18px; justify-items: start; }
.ai-cards { display: grid; gap: 20px; }
.ai-card { padding: 32px; display: grid; grid-template-columns: 1fr 170px; gap: 20px; min-height: 300px; }
.ai-card h3 { font-size: var(--fs-h3); font-weight: 500; line-height: 1.1; }
.ai-card p { margin-top: 10px; }
.ai-card ul { margin-top: 22px; display: grid; gap: 8px; }
.ai-card li { color: var(--line); font-size: var(--fs-xs); padding-left: 16px; position: relative; }
.ai-card li::before { content: ""; position: absolute; left: 0; top: .5em; width: 6px; height: 6px; border-radius: 2px; background: linear-gradient(135deg, var(--blue), var(--amber)); }
.ai-card img { width: 170px; align-self: end; }
.certs { display: grid; grid-template-columns: repeat(8, 1fr); gap: 20px; align-items: center; margin-top: 56px; }
.certs li { display: grid; place-items: center; aspect-ratio: 1; background: var(--paper-2); border-radius: var(--radius); padding: 18px; }
.certs img { max-height: 92px; width: auto; }
.gradient-rule { height: 12px; background: linear-gradient(90deg, var(--blue), var(--amber)); }

/* ---------- about ---------- */
.about-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: clamp(56px, 6vw, 90px); }
.about-stats div { border-top: 1px solid var(--line); padding-top: 24px; display: grid; gap: 10px; }
.about-stats dt { order: 2; color: var(--muted); font-size: 1.5rem; font-weight: 500; line-height: 1.1; }
.about-stats dd { order: 1; margin: 0; font-size: clamp(3rem, 1.6rem + 4vw, 6rem); font-weight: 500; line-height: 1; letter-spacing: 0; }
.purpose { display: grid; grid-template-columns: 665fr 615fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.purpose .sticky-media { position: sticky; top: 110px; aspect-ratio: 1; }
.purpose-list { display: grid; gap: clamp(64px, 8vw, 120px); padding-block: 40px; }
.purpose-list article { display: grid; gap: 16px; }
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: 56px; }
.timeline button { text-align: left; border-top: 2px solid var(--line); padding-top: 22px; display: grid; gap: 14px; align-content: start; }
.timeline .t { font-size: var(--fs-h3); font-weight: 500; color: var(--muted); transition: color .25s; }
.timeline .d { font-size: var(--fs-small); font-weight: 500; display: none; }
.timeline button[aria-selected="true"] { border-top-color: var(--ink); }
.timeline button[aria-selected="true"] .t { color: var(--ink); }
.timeline button[aria-selected="true"] .d { display: block; }

/* ---------- legal ---------- */
.legal { display: grid; grid-template-columns: 300px 1fr; gap: clamp(32px, 6vw, 100px); align-items: start; }
.legal-toc { position: sticky; top: 120px; display: grid; gap: 4px; max-height: calc(100svh - 150px); overflow: auto; padding-right: 8px; }
.legal-toc a { font-size: var(--fs-xs); color: var(--muted); padding: 6px 0; border-left: 2px solid transparent; padding-left: 12px; }
.legal-toc a:hover, .legal-toc a.active { color: var(--ink); border-left-color: var(--ink); }
.legal-body { display: grid; gap: 56px; max-width: 820px; }
.legal-body section { display: grid; gap: 16px; scroll-margin-top: 110px; }
.legal-body h2 { font-size: var(--fs-h3); font-weight: 500; line-height: 1.1; }
.legal-body p { color: var(--ink-2); }
.legal-body ul { display: grid; gap: 8px; padding-left: 4px; }
.legal-body li { color: var(--ink-2); padding-left: 18px; position: relative; }
.legal-body li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.draft-note { background: #fff6e0; border: 1px solid #f0d48a; color: #6b4e00; border-radius: var(--radius-sm); padding: 12px 16px; font-size: var(--fs-xs); }

/* ---------- reveal motion ----------
   --rd: stagger delay set by main.js for blocks that enter the view together (inherited by the text effects inside). */
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity .9s var(--ease-out) var(--rd, 0ms), transform 1.1s var(--ease-out) var(--rd, 0ms);
}
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
/* images: the frame wipes open from the bottom while the photo settles from a slight zoom */
.js .media-radius.reveal { opacity: 1; transform: none; clip-path: inset(18% 0 0 0 round var(--radius)); transition: clip-path 1.2s var(--ease-out) var(--rd, 0ms); }
.js .media-radius.reveal img { scale: 1.12; transition: scale 1.6s var(--ease-out) var(--rd, 0ms); }
.js .media-radius.reveal.in { clip-path: inset(0 0 0 0 round var(--radius)); }
.js .media-radius.reveal.in img { scale: 1; }
/* divider lines draw in from the left */
.fx-has-line { border-top-color: transparent !important; }
.fx-line { position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--line); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease-out) calc(var(--rd, 0ms) + .1s); pointer-events: none; }
.in > .fx-line { transform: none; }
/* eyebrow: letters type in, the mark spins in */
.fx-type .fx-c { opacity: 0; transition: opacity .01s linear calc(var(--rd, 0ms) + .15s + var(--i) * 28ms); }
.fx-type.in .fx-c { opacity: 1; }
.fx-type .mark { opacity: 0; transform: rotate(-90deg) scale(.6); transition: opacity .5s var(--ease-out) var(--rd, 0ms), transform .9s var(--ease-out) var(--rd, 0ms); }
.fx-type.in .mark { opacity: 1; transform: none; }
/* headings: each word rises out of its own line mask */
.fx-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.fx-w > span { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease-out) calc(var(--rd, 0ms) + .1s + var(--i) * 45ms); }
.fx-rise.in .fx-w > span { transform: none; }
/* lead paragraphs: words fade from a light tint to full colour */
.fx-f { opacity: .14; transition: opacity .6s ease calc(var(--rd, 0ms) + .2s + var(--i) * 22ms); }
.fx-fade.in .fx-f { opacity: 1; }

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

/* ---------- responsive ---------- */
@media (max-width: 767px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-grid .form { max-width: 760px; }
  .footer-menus { gap: 24px 56px; }
  .practice { grid-template-columns: 1fr 1fr; }
  .practice .media-radius { grid-column: 1 / -1; aspect-ratio: 16 / 7; }
  .cap-layout { grid-template-columns: 1fr; }
  .cap-nav { position: static; display: flex; overflow-x: auto; gap: 24px; }
  .cap-nav button { white-space: nowrap; }


}
@media (max-width: 1024px) {
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .selector-grid { grid-template-columns: 1fr; }
  .biz { min-height: 320px; }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .benefit:nth-child(3) { border-left: 0; }
  .benefit { min-height: 300px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-2, .split-sticky, .risk, .ai-layout, .purpose { grid-template-columns: 1fr; }
  .split-sticky > :first-child, .ai-layout > :first-child, .purpose .sticky-media { position: static; }
  .purpose .sticky-media { aspect-ratio: 16 / 10; }
  .footer-top { grid-template-columns: 1fr; }
  .offices { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: 1fr; }
  .bento-col.logos-col { grid-template-columns: 1fr 1fr; }
  .quote { grid-template-columns: 1fr 240px; }
  .sectors { grid-template-columns: 1fr 1fr; }
  .sectors .col { margin-top: 0 !important; }
  .risk-grid { grid-template-columns: 1fr 1fr; }
  .ot-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr 1fr; }
  .certs { grid-template-columns: repeat(4, 1fr); }
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline button { padding-block: 18px; }
  .legal { grid-template-columns: 1fr; }
  .legal-toc { position: static; max-height: none; display: none; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .cap-panel { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  :root { --section: 72px; }
  .nav { top: 12px; }
  .nav { --closed-w: calc(100vw - 32px); --open-w: calc(100vw - 32px); --bar-h: 56px; --pad: 18px; --ot: 0px; --oc: 10px; }
  .nav.open .nav-cta { transform: translateX(10px); }
  .nav-toggle span { display: none; }
  .nav-brand img { width: 110px; }
  .nav-brand small { letter-spacing: .25em; }
  .nav-cta .btn { padding: 9px 14px; min-height: 38px; font-size: 14px; }
  .nav-services { grid-template-columns: 1fr; gap: 18px; }
  .nav-divs { grid-template-columns: 1fr 1fr; gap: 18px 16px; }
  .nav-services ul { margin-top: 10px; }
  .hero { min-height: 100svh; padding-block: 120px calc(var(--arch) + 60px); align-items: flex-end; }
  .hero .btn { width: 100%; }
  .benefits { grid-template-columns: 1fr; }
  .benefit { border-left: 0 !important; min-height: 0; border-bottom: 0; }
  .benefit:last-child { border-bottom: 1px solid var(--line); }
  .grid-3, .grid-4, .sectors, .risk-grid, .value-grid { grid-template-columns: 1fr; }
  .risk-card.tall { grid-row: auto; }
  .form { grid-template-columns: 1fr; padding: 24px; gap: 24px; }
  .offices { grid-template-columns: 1fr 1fr; padding: 24px; gap: 28px 16px; }
  .office .office-name { font-size: 1.25rem; margin-top: 14px; }
  .footer-menus { grid-template-columns: 1fr 1fr; }
  .logos ul { justify-content: center; }
  .logos li { flex: 0 0 40%; display: grid; place-items: center; }
  .practice { grid-template-columns: 1fr; padding-block: 36px; }
  .why-item { grid-template-columns: 1fr; padding: 16px; }
  .why-item .media-radius { order: -1; }
  .steps { grid-template-columns: 1fr; }
  .step, .steps.tall .step { min-height: 0 !important; }
  .quote { grid-template-columns: 1fr; }
  .quote .media-radius { aspect-ratio: 4 / 3; }
  .bento-row { grid-template-columns: 1fr; }
  .bento-col.logos-col { grid-template-columns: 1fr; }
  .sec-card { grid-template-columns: 1fr; }
  .sec-card img { width: 160px; justify-self: end; }
  .ai-card { grid-template-columns: 1fr; }
  .ai-card img { width: 130px; justify-self: end; order: -1; }
  .ot-card img { width: 170px; }
  .flow { grid-template-columns: 1fr 2.4fr 1fr; gap: 6px; }
  .flow-node { font-size: 11px; }
  .wires text { font-size: 24px; }
  .wires .lbl { display: none; }
  .certs { grid-template-columns: repeat(2, 1fr); }
  .about-stats { grid-template-columns: 1fr; }
  .reel img { height: 150px; }
  .product-frame { aspect-ratio: 4 / 3; }
  .product-frame.triptych { grid-template-columns: 1fr 1fr 1fr; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .tab { white-space: nowrap; }
  .segmented { display: flex; width: 100%; }
  .segmented button { flex: 1; padding-inline: 10px; }
  .defense { padding: 22px; }
  .stat dd { font-size: 3rem; }
}

/* ---------- additions ---------- */
.risk-grid { grid-auto-rows: 142px; grid-auto-flow: dense; }
.logos ul svg { height: 34px; width: auto; }
.logo-card ul svg { height: 26px; width: auto; }
.nav-brand svg { color: var(--ink); }
.division svg { width: 248px; height: auto; color: var(--white); }
.footer-wordmark svg { width: 100%; height: auto; }
.hero-media:empty { background: var(--ink); }
.hero--legal .hero-media::after, .hero:not(.hero--home):not(.hero--dim):not(.hero--glow) .hero-media::after { background: none; }
.why-item .media-radius img, .practice .media-radius img { width: 100%; height: 100%; object-fit: cover; }
.flow-node .tile svg { stroke-width: 1.2; }
@media (max-width: 767px) {
  .risk-grid { grid-auto-rows: auto; }
  .risk-grid .risk-card { grid-row: auto !important; min-height: 240px; }
  .division svg { width: 200px; }
}
/* leave room for the following section's arch so it never covers content */
.section:has(+ .arch-top), .section:has(+ div > .arch-top), .bg-paper:has(+ .arch-top) > .section { padding-bottom: calc(var(--section) + var(--arch)); }
.defense .accent::before { width: 34%; right: -8%; top: -45%; bottom: auto; transform: rotate(18deg); opacity: .9; }
.ai-card .accent::before, .ot-card .accent::before { width: 60%; }
.wires text { font-size: 15px; }
.defense .accent::before { width: 20%; right: -4%; top: -30%; }
.ai-icon { width: 170px; aspect-ratio: 543 / 724; align-self: end; background: url("../img/cyber-ai.png") 0 50% / 400% 100% no-repeat; }
@media (max-width: 767px) { .ai-icon { width: 110px; justify-self: end; order: -1; } }
/* arches extend past the viewport sideways; clip horizontally only so mobile layout width stays exact */
main { overflow-x: clip; }
.nav-brand svg { width: 202px; }
@media (max-width: 1024px) { .nav-brand svg { width: 160px; } }
@media (max-width: 767px) { .nav-brand svg { width: 112px; } }
@media (max-width: 380px) { .nav-brand small { display: none; } }
@media (max-width: 767px) {
  .nav-panel-inner { display: flex; flex-direction: column; }
  .nav-explore { order: -1; border-top: 0; margin-top: 0; padding-top: 0; border-bottom: 1px solid var(--line); padding-bottom: 20px; margin-bottom: 8px; }
}

/* ==========================================================================
   Homepage refinements from "Axiora Vision Group.pdf" / "…- Menu.pdf"
   ========================================================================== */

/* hero fades into the dark "who we are" section */
.hero--home .hero-media::after {
  background:
    linear-gradient(180deg, rgba(17,17,17,0) 62%, rgba(17,17,17,.55) 86%, #111 100%),
    linear-gradient(180deg, rgb(var(--sky) / .40) 0%, rgb(var(--sky) / .55) 45%, rgb(var(--sky) / .30) 75%, rgb(var(--sky) / 0) 100%);
}

/* soft (blurred) arch transitions */
.arch-soft::before {
  left: 0; right: 0; border-radius: 0; filter: none;
  top: calc(var(--arch) * -2.2); height: calc(var(--arch) * 2.2 + 2px);
  background: radial-gradient(100% 100% at 50% 100%, var(--arch-c) 52%, transparent 100%);
}
.arch-soft.bg-ink { --arch-c: var(--ink); }
.arch-soft.bg-paper { --arch-c: var(--paper); }

/* scroll-filled two-tone text: words light up as they scroll into view */
.scrub .w { transition: color .35s ease; }
.js .scrub[data-lit="light"] .w { color: var(--muted); }
.js .scrub[data-lit="light"] .w.on { color: var(--white); }
.js .scrub[data-lit="dark"] .w { color: #a3a3a3; }
.js .scrub[data-lit="dark"] .w.on { color: var(--ink); }
.statement-band .scrub[data-lit="light"] .w { color: rgba(255,255,255,.55); }
.statement-band .scrub[data-lit="light"] .w.on { color: var(--white); }
/* scroll-driven opacity modes (main.js sets each word's opacity): white text, dimmed by opacity only */
.js .scrub[data-mode] .w, .js .statement-band .scrub[data-mode] .w { color: var(--white); transition: opacity .12s linear; }
.who .lead { color: var(--white); }

/* benefit icons: plain line icons, as in the design */
.benefit .icon { width: 44px; height: 44px; background: none; border-radius: 0; place-items: start; }
.benefit .icon svg { width: 36px; height: 36px; stroke-width: 1.3; }

/* ---------- business selector ---------- */
.selector { padding-block: var(--section); }
.selector-intro { display: grid; gap: 22px; margin-bottom: clamp(48px, 5vw, 72px); }
.selector-intro .h2 { max-width: 1001px; }
.selector-list { display: grid; gap: 40px; }
.biz-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 6vw, 113px); align-items: center; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.biz-card {
  position: relative; display: block; aspect-ratio: 1; background: var(--ink); color: var(--white);
  container-type: size; overflow: hidden;
}
.biz-desc { position: absolute; left: 8.33cqw; top: 8.33cqw; width: 75cqw; font-size: 4.44cqw; line-height: 1.1; font-weight: 500; letter-spacing: 0; }
.biz-explore {
  position: absolute; left: 50%; top: 50%; width: 15cqw; height: 15cqw; transform: translate(-50%, -50%);
  display: grid; place-items: center; border: 1px solid var(--muted); border-radius: 50%;
  font-size: 2.5cqw; font-weight: 500; transition: background .3s, color .3s, transform .4s var(--ease);
}
.biz-card:hover .biz-explore, .biz-card:focus-visible .biz-explore { background: var(--white); color: var(--ink); transform: translate(-50%, -50%) scale(1.08); }
.biz-title { position: absolute; right: 8.33cqw; bottom: 8.33cqw; font-size: 11.1cqw; font-weight: 600; line-height: 1.1; letter-spacing: 0; text-align: right; }
.biz-media { display: grid; gap: 32px; justify-items: center; max-width: 494px; width: 100%; justify-self: center; }
.biz-media .media-radius { aspect-ratio: 1; width: 100%; }
.biz-logo { display: grid; justify-items: center; gap: 7px; color: var(--ink); }
.biz-logo svg { width: 248px; max-width: 70%; }
.biz-logo span { font-size: 12px; font-weight: 300; letter-spacing: .4em; text-transform: uppercase; padding-left: .4em; }

/* animated (desktop, motion allowed): sticky stage, card grows from a corner tile then cycles businesses */
.selector--animated { padding-block: 0; }
.selector--animated .selector-track { height: 420vh; }
.selector--animated .selector-stage {
  --sw: min(100vw, 1440px, calc((100vh - 120px) * 2));
  position: sticky; top: calc(50vh - var(--sw) / 4 + 30px);
  width: var(--sw); height: calc(var(--sw) / 2); margin: 0 auto;
}
.selector--animated .selector-intro {
  position: absolute; left: 15.28%; top: 31.1%; width: 69.5%; padding: 0; margin: 0; gap: calc(var(--sw) * 32 / 1440);
  opacity: calc(1 - var(--e, 0) * 2.2); transform: translateY(calc(var(--e, 0) * -40px));
}
.selector--animated .selector-intro .h2 { font-size: calc(var(--sw) * 50 / 1440); max-width: none; }
.selector--animated .selector-list { position: absolute; inset: 0; display: block; }
.selector--animated .biz-row { position: absolute; inset: 0; display: block; padding: 0; max-width: none; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s .5s; }
.selector--animated .biz-row.active { opacity: 1; visibility: visible; transition-delay: 0s; }
.selector--animated .biz-card {
  position: absolute; left: 0; top: 0; width: 50%; height: 100%; aspect-ratio: auto; transform-origin: 0 0;
  translate: calc(var(--cx, 0) * 100%) 0; /* left half ↔ right half per business (main.js --cx) */
  transform: translate(calc((1 - var(--e, 0)) * 179.17%), calc((1 - var(--e, 0)) * 79.17%)) scale(calc(.2083 + .7917 * var(--e, 0)));
}
.selector--animated .biz-media {
  position: absolute; left: calc(57.85% - var(--cx, 0) * 50%); top: 11.25%; width: 34.3%; max-width: none; gap: calc(var(--sw) * 32 / 1440);
  opacity: calc((var(--e, 0) * 2 - 1) * var(--mo, 1)); transform: translateY(calc((1 - var(--e, 0)) * 30px));
}
.selector--animated .biz-logo svg { width: calc(var(--sw) * 248 / 1440); max-width: none; }
.selector-progress { display: none; }
.selector--animated .selector-progress {
  display: flex; gap: 8px; position: absolute; left: calc(57.85% - var(--cx, 0) * 50%); bottom: 0; width: 34.3%; justify-content: center;
  opacity: calc(var(--e, 0) * 2 - 1);
}
.selector-progress span { width: 28px; height: 2px; background: var(--line); transition: background .3s; }
.selector-progress span.on { background: var(--ink); }

@media (max-width: 767px) {
  .biz-row { grid-template-columns: 1fr; gap: 20px; }
  .biz-media { gap: 18px; }
}

/* footer: wordmark sits directly on the offices card */
.footer-wordmark { margin-top: clamp(80px, 10vw, 150px); }
.offices { margin-top: -2px; }
.socials a { background: #1f1f1f; }

/* form success state (centred in the card) */
.form.sent { place-items: center; min-height: 520px; grid-template-columns: 1fr; }
.form.sent > :not(.form-status) { display: none; } /* [hidden] alone loses to .field { display: grid } */
.form.sent .form-status { text-align: center; justify-items: center; }
/* selector crossfade: the dark square stays solid; only its content and the photo swap */
.selector--animated .biz-row { opacity: 1; visibility: visible; transition: none; z-index: 1; pointer-events: none; }
.selector--animated .biz-row.active { z-index: 2; pointer-events: auto; }
.selector--animated .biz-row .biz-desc, .selector--animated .biz-row .biz-explore, .selector--animated .biz-row .biz-title,
.selector--animated .biz-row .media-radius, .selector--animated .biz-row .biz-logo { opacity: 0; transition: opacity .2s ease, background .3s, color .3s, transform .4s var(--ease); }
.selector--animated .biz-row.active .biz-desc, .selector--animated .biz-row.active .biz-explore, .selector--animated .biz-row.active .biz-title,
.selector--animated .biz-row.active .media-radius, .selector--animated .biz-row.active .biz-logo { opacity: 1; transition: opacity .45s ease .18s, background .3s, color .3s, transform .4s var(--ease); }
.selector--animated .biz-row:not(.active) .biz-card { visibility: hidden; }
.selector--animated .biz-row:first-child .biz-card { visibility: visible; }

/* hero spacing per design (1440×1059 frame): text block starts at ~30% of the hero,
   eyebrow →32px→ headline →16px→ intro →48px→ button */
.hero { align-items: flex-start; padding-top: clamp(130px, 30svh, 321px); }
.hero-inner { gap: 0; }
.hero-inner > .eyebrow, .hero-inner > p.small:first-child { margin-bottom: 32px; }
.hero .display { line-height: 1.09; margin-bottom: 16px; }
.hero .intro { line-height: 1.3; }
.hero .btn { margin-top: 48px; }
.hero--legal { padding-top: clamp(150px, 22svh, 240px); }
@media (max-width: 767px) {
  .hero { align-items: flex-end; padding-top: 120px; }
  .hero-inner > .eyebrow { margin-bottom: 20px; }
  .hero .btn { margin-top: 32px; }
}

/* hero type: scaled down and height-aware so it never dominates shorter laptop screens */
.hero .display { font-size: clamp(2.4rem, min(5.6vw, 11.5svh), 5.25rem); letter-spacing: 0; }
.hero .intro { font-size: clamp(1rem, .55rem + .85vw, 1.3125rem); max-width: 46rem; }
.hero .btn { min-height: 48px; padding: 12px 24px; font-size: 1rem; margin-top: 40px; }
.hero-inner > .eyebrow { margin-bottom: 26px; }
@media (max-width: 767px) { .hero .display { font-size: clamp(2.3rem, 10.5vw, 3rem); } }

/* ==========================================================================
   Desktop proportional scaling: hero + nav keep the 1440px design proportions
   on any desktop width (1 design px = 100vw/1440 ≈ 0.0694vw), capped at design size.
   ========================================================================== */
@media (min-width: 768px) {
  .nav {
    --closed-w: min(665px, max(46.18vw, 520px), calc(100vw - 32px));
    --open-w: min(1128px, 78.33vw);
    --bar-h: clamp(52px, 4.44vw, 64px);
    --pad: clamp(28px, 3.06vw, 44px);
    --ot: calc(var(--d) - clamp(8px, .83vw, 12px));
    --oc: calc(var(--d) * -1 + clamp(22px, 2.22vw, 32px));
    top: clamp(16px, 1.67vw, 24px);
  }
  .nav-toggle { font-size: clamp(15px, 1.25vw, 18px); }
  .nav-toggle svg { width: clamp(18px, 1.667vw, 24px); height: clamp(18px, 1.667vw, 24px); }
  .nav-brand svg { width: clamp(140px, 14.03vw, 202px); }
  .nav-brand:has(small) svg { width: clamp(136px, 13.61vw, 196px); }
  .nav-cta .btn { min-height: clamp(34px, 2.78vw, 40px); padding: 0 clamp(16px, 1.67vw, 24px); font-size: clamp(13px, 1.11vw, 16px); }

  .hero { padding-top: max(clamp(110px, 22.3vw, 321px), 26svh); }
  .hero .eyebrow { font-size: clamp(13px, 1.11vw, 16px); gap: clamp(6px, .56vw, 8px); }
  .hero .eyebrow .mark { width: clamp(22px, 1.94vw, 28px); height: clamp(22px, 1.94vw, 28px); }
  .hero-inner > .eyebrow { margin-bottom: clamp(20px, 2.22vw, 32px); }
  .hero .display { font-size: min(6.67vw, 96px, 12.5svh); letter-spacing: 0; line-height: 1.09; margin-bottom: clamp(10px, 1.11vw, 16px); }
  .hero .intro { font-size: clamp(15px, 1.667vw, 24px); max-width: 59.2vw; line-height: 1.3; }
  .hero .btn { margin-top: clamp(28px, 3.33vw, 48px); min-height: clamp(42px, 3.68vw, 53px); padding: 0 clamp(18px, 1.67vw, 24px); font-size: clamp(14px, 1.25vw, 18px); }
}

/* ==========================================================================
   Site-wide proportional scaling (≥768px): every token follows the 1440px
   design (1 design px = 0.0694vw) and is capped at its design value, with a
   small readable floor for body copy.
   ========================================================================== */
@media (min-width: 768px) {
  :root {
    --fs-statement: min(5.556vw, 80px);
    --fs-h2: clamp(26px, 3.472vw, 50px);
    --fs-lead: clamp(22px, 3.056vw, 44px);
    --fs-h3: clamp(20px, 2.222vw, 32px);
    --fs-h4: clamp(15px, 1.389vw, 20px);
    --fs-intro: clamp(15px, 1.667vw, 24px);
    --fs-body: clamp(14px, 1.25vw, 18px);
    --fs-small: clamp(13px, 1.111vw, 16px);
    --fs-xs: clamp(12px, .972vw, 14px);
    --gutter: min(2.778vw, 40px);
    --section: min(6.944vw, 100px);
    --radius: min(.972vw, 14px);
  }
  .eyebrow { font-size: var(--fs-small); gap: min(.556vw, 8px); }
  .eyebrow .mark { width: clamp(20px, 1.944vw, 28px); height: clamp(20px, 1.944vw, 28px); }
  .section-head { gap: min(1.111vw, 16px); margin-bottom: min(4.444vw, 64px); }
  .btn { min-height: clamp(40px, 3.68vw, 53px); padding: 0 min(1.667vw, 24px); }

  /* who we are */
  .who .lead { max-width: 80.5vw; }
  .stats { margin-top: min(5.833vw, 84px); gap: min(2.083vw, 30px); }
  .stat { padding-left: min(1.18vw, 17px); gap: min(1.389vw, 20px); }
  .stat dd { font-size: min(5.556vw, 80px); }
  .divisions { margin-top: min(5.833vw, 84px); gap: min(1.528vw, 22px); }
  .divisions ul { gap: 24px min(11.8vw, 170px); }
  .division svg { width: min(17.22vw, 248px); }
  .division span { font-size: clamp(9px, .833vw, 12px); }

  /* why partner */
  .benefit { min-height: min(26.39vw, 380px); padding: min(2.29vw, 33px) min(1.111vw, 16px); }
  .benefit .icon, .benefit .icon svg { width: min(3.75vw, 54px); height: min(3.75vw, 54px); }
  .benefit p { font-size: var(--fs-small); }

  /* products */
  .tabs { gap: min(.833vw, 12px); margin-bottom: min(2.22vw, 32px); }
  .tab { font-size: var(--fs-body); padding: min(.28vw, 4px) min(.833vw, 12px); min-height: 0; }

  /* trusted by */
  .logos { padding-block: min(6.944vw, 100px); }
  .logos ul { margin-top: min(3.89vw, 56px); }
  .logos ul svg { height: min(2.36vw, 34px); }
  .logos .impex { max-height: min(3.2vw, 46px); }

  /* statement band */
  .statement-band { min-height: min(54.17vw, 780px); padding-block: min(6.944vw, 100px); }

  /* contact */
  .contact-grid { grid-template-columns: 1fr min(46.18vw, 665px); gap: min(2.778vw, 40px); }
  .contact-copy { gap: min(1.111vw, 16px); max-width: min(36.9vw, 532px); }
  .form { padding: min(2.778vw, 40px); gap: min(1.944vw, 28px) min(2.29vw, 33px); }
  /* form 665×597: rows 105 apart (label 20 + gap 20 + input 20 + 16 + 1px rule, 28 between rows),
     textarea block 117, button 32 below the last rule; intro copy 435 wide (24.2em at 18px) */
  .contact-copy .body { max-width: 24.2em; }
  .field { gap: min(1.389vw, 20px); padding-bottom: min(1.111vw, 16px); }
  .field label, .field input, .field select, .field textarea { font-size: var(--fs-small); }
  .field label { line-height: 1.25; }
  .field .chev { bottom: min(1.111vw, 16px); }
  .field textarea { min-height: 60px; height: 60px; resize: none; }

  /* footer */
  .footer { padding-top: min(5.833vw, 84px); }
  .footer-about { max-width: min(24.1vw, 347px); }
  .footer-about .mark { width: min(4.51vw, 65px); height: min(4.51vw, 65px); }
  .footer-menus { gap: 24px min(7.64vw, 110px); }
  .footer-menus .fhead { margin-bottom: min(1.667vw, 24px); }
  .offices { padding: min(2.778vw, 40px); gap: min(2.22vw, 32px); }
  .office img { width: min(2.22vw, 32px); height: min(2.22vw, 32px); }
  .office .office-name { font-size: clamp(16px, 1.667vw, 24px); margin-top: min(1.667vw, 24px); }
  .office address { font-size: var(--fs-small); }
  .offices { grid-template-columns: repeat(4, 1fr); }
}
/* the tablet range keeps the stacked contact layout */
@media (min-width: 768px) and (max-width: 899px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-copy { max-width: none; }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .benefits { grid-template-columns: repeat(4, 1fr); }
  .benefit + .benefit { border-left: 1px solid var(--line); }
}
/* benefit titles align on one line, a fixed distance below the icons (design: icon at 33, title at 253) */
.benefit { justify-content: flex-start; gap: 0; }
.benefit > div { margin-top: min(11.53vw, 166px); }
@media (max-width: 767px) { .benefit > div { margin-top: 28px; } }

/* ---------- design-fidelity pass (compared against Figma frames) ---------- */
.hero .display { max-width: none; }
@media (max-width: 767px) { .br-d { display: none; } }
/* inner pages: solid ink hero, text block at y=227 of the 1440 frame */
.hero--inner .hero-media { background: var(--ink); }
.hero--inner .hero-media::after { display: none; }
@media (min-width: 768px) {
  .hero--inner, .hero--glow { padding-top: max(clamp(110px, 15.76vw, 227px), 20svh); }
}

/* Inter Display look: the design is set in Inter Display, i.e. Inter at its display optical size */
body, button, input, select, textarea { font-variation-settings: "opsz" 32; }

/* IT · Our Work: three rows with the design's column widths */
.work-grid { columns: auto; display: grid; gap: min(4.72vw, 68px); }
.work-row { display: grid; gap: min(2.083vw, 30px); align-items: start; }
.work { margin: 0; gap: min(1.11vw, 16px); }
.work .media-radius img { width: 100%; height: 100%; object-fit: cover; }
.work h3 { font-size: var(--fs-h4); line-height: 1.1; }
.work p { margin-top: 4px; }
.chip { justify-self: start; background: var(--paper-2); border-radius: 4px; padding: 4px 10px; font-size: 12px; line-height: 16px; letter-spacing: 0; }
@media (max-width: 767px) { .work-row { grid-template-columns: 1fr !important; } }

/* workflow steps (design: top-aligned, 207→327 tall in 30px steps, r14, 16px padding) */
.steps.stagger { align-items: start; gap: min(1.39vw, 20px); }
.steps.stagger .step { border-radius: var(--radius); padding: clamp(12px, 1.11vw, 16px); align-content: space-between; }
@media (max-width: 767px) { .steps.stagger .step { padding: 16px; } }
.steps.stagger .step:nth-child(1) { min-height: min(14.38vw, 207px); }
.steps.stagger .step:nth-child(2) { min-height: min(16.46vw, 237px); }
.steps.stagger .step:nth-child(3) { min-height: min(18.54vw, 267px); }
.steps.stagger .step:nth-child(4) { min-height: min(20.63vw, 297px); }
.steps.stagger .step:nth-child(5) { min-height: min(22.71vw, 327px); }
.steps.stagger .step .n { margin-top: min(.56vw, 8px); text-align: right; }
.flat { padding-block: min(13.9vw, 200px); }

/* footer (all 1440 frames): about block at x 48; menu columns hug their links, sit 148px apart and
   end at x 1350 (Legal at 1214); links 16/20 on a 32px pitch; the wordmark sits 240px below the
   menus (the about block counts 20px shorter so short menus still give 240); offices: 41px inset,
   items 215 wide, 51 apart */
.footer-about { align-content: start; }
.footer-menus li { font-size: var(--fs-small); line-height: 1.25; }
@media (min-width: 768px) {
  .footer-top { grid-template-columns: auto 1fr; gap: min(2.78vw, 40px); align-items: start; }
  .footer-about { margin-left: min(.56vw, 8px); margin-bottom: calc(min(1.39vw, 20px) * -1); }
  .footer-menus { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 24px min(10.28vw, 148px); padding-right: min(3.47vw, 50px); }
  .footer-menus > div { flex: none; min-width: min(6.875vw, 99px); }
  .footer-wordmark { margin-top: min(16.67vw, 240px); }
  .offices { padding-left: min(2.85vw, 41px); column-gap: min(3.54vw, 51px); }
}
.industries-grid { gap: min(2.22vw, 32px) min(2.083vw, 30px); }

/* consulting · what we do (design columns 436 | 489 | gap 40 | 395, height 432) */
.what-grid { display: grid; grid-template-columns: 436fr 489fr 40fr 395fr; align-items: stretch; }
.what-img { aspect-ratio: 489 / 432; grid-column: 2; position: relative; }
.what-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,0) 40%); }
.what-text { grid-column: 4; align-self: end; }
.what-grid .section-head { padding-right: 24px; }
@media (max-width: 767px) { .what-grid { grid-template-columns: 1fr; gap: 24px; } .what-img, .what-text { grid-column: auto; } }

/* consulting · practice rows (design: full-width hairlines, row 531, side 390, main at 619 width 714, explore circle 108) */
.practices .practice { position: relative; display: grid; grid-template-columns: 390fr 189fr 714fr 147fr; padding: min(3.75vw, 54px) var(--gutter); border-top: 1px solid var(--line); max-width: none; gap: 0; align-items: stretch; }
.practices .practice:last-child { border-bottom: 1px solid var(--line); }
.practice-side { grid-column: 1; display: grid; grid-template-rows: auto 1fr; align-content: space-between; gap: 24px; }
.practice-side .media-radius { aspect-ratio: 390 / 232; align-self: end; }
.practice-side .media-radius img { width: 100%; height: 100%; object-fit: cover; }
.practice-main { grid-column: 3; display: grid; gap: min(1.11vw, 16px); align-content: start; }
.practice-main .lead { max-width: 12em; }
.practice-main .caps { margin-top: min(1.94vw, 28px); }
.practice-main .caps h4 { color: var(--muted); font-size: var(--fs-h4); font-weight: 500; margin-bottom: min(1.39vw, 20px); }
.practice-main .caps ul { display: grid; gap: 8px; }
.practice-main .caps li { display: flex; gap: 16px; align-items: center; font-size: var(--fs-body); font-weight: 500; }
.practice-main .caps li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); flex: none; }
.explore-circle { position: absolute; right: min(8.9vw, 128px); top: min(22.5vw, 324px); width: min(7.5vw, 108px); height: min(7.5vw, 108px); border-radius: 50%; border: 1px solid var(--muted); display: grid; place-items: center; font-size: var(--fs-body); font-weight: 500; color: var(--ink-2); transition: background .3s, color .3s, transform .4s var(--ease); }
.explore-circle:hover { background: var(--ink); color: var(--white); transform: scale(1.06); }
/* fine pointers (like unitedcarriers.com "Work with us"): the circle only shows on the hovered service and follows
   the cursor with a soft lag (main.js sets translate); the whole service is the click target */
.practice.explore-follow { cursor: pointer; }
.practice.explore-follow .explore-circle {
  left: 0; top: 0; right: auto; pointer-events: none; z-index: 3;
  background: var(--ink); color: var(--white); border-color: var(--ink);
  transform: translate(-50%, -50%) scale(.3); opacity: 0;
  transition: transform .45s var(--ease-out), opacity .3s var(--ease);
}
.practice.explore-follow.is-hover .explore-circle { transform: translate(-50%, -50%) scale(1); opacity: 1; }
.practice.explore-follow .explore-circle:focus-visible { left: auto; top: min(22.5vw, 324px); right: min(8.9vw, 128px); translate: none; transform: none; opacity: 1; outline: 2px solid var(--ink); outline-offset: 4px; }
@media (max-width: 767px) {
  .practices .practice { grid-template-columns: 1fr; gap: 20px; }
  .practice-main, .practice-side { grid-column: auto; }
  .explore-circle { position: static; width: 96px; height: 96px; }
}

/* approach cards (consulting/cost/env): 318×354 strip that runs off the right edge */
@media (min-width: 768px) {
  .steps.tall { display: flex; gap: min(2.083vw, 30px); overflow-x: auto; scroll-snap-type: x mandatory; margin-right: calc(var(--gutter) * -1 - (100vw - min(100vw, var(--maxw))) / 2); padding-right: var(--gutter); scrollbar-width: none; }
  .steps.tall::-webkit-scrollbar { display: none; }
  .steps.tall .step { flex: 0 0 min(22.08vw, 318px); min-height: min(24.58vw, 354px); border-radius: var(--radius); padding: min(1.67vw, 24px) min(1.67vw, 24px); scroll-snap-align: start; display: flex; flex-direction: column; }
  .steps.tall .step > div { display: flex; flex-direction: column; flex: 1; }
  .steps.tall .step h3 { margin-top: min(.83vw, 12px); }
  .steps.tall .step p { margin-top: auto; }
}
.statement-block { display: grid; gap: min(1.94vw, 28px); justify-items: start; }
@media (min-width: 768px) { .statement-block { padding-left: min(10.83vw, 156px); padding-right: min(10.83vw, 156px); } }

/* cost · overview: image 897 | stat card 433 */
.overview-row { display: grid; grid-template-columns: 897fr 433fr; gap: min(2.083vw, 30px); }
.overview-row .media-radius { aspect-ratio: 897 / 532; }
.stat-card { background: var(--white); border-radius: var(--radius); padding: min(3.33vw, 48px); display: grid; grid-template-rows: auto auto 1fr; gap: min(2.22vw, 32px); }
.stat-card .icon svg { width: min(2.78vw, 40px); height: min(2.78vw, 40px); }
.stat-card .h3 { max-width: 10em; }
.stat-card .num { align-self: end; font-size: min(6.67vw, 96px); font-weight: 500; line-height: 1.09; letter-spacing: 0; }

/* capability list (cost + environment) */
.cap-list { display: grid; grid-template-columns: 288fr 29fr 1043fr; border-top: 1px solid var(--line); }
.cap-side { grid-column: 1; position: sticky; top: 110px; align-self: start; display: grid; gap: 8px; padding-top: min(3.54vw, 51px); }
.cap-side a { font-size: var(--fs-body); color: var(--muted); line-height: 1.28; transition: color .2s; }
.cap-side a.active, .cap-side a:hover { color: var(--ink); font-weight: 500; }
.cap-items { grid-column: 3; border-left: 1px solid var(--line); margin-left: calc(min(2.01vw, 29px) * -.5); }
.cap-item { display: grid; grid-template-columns: 58fr 949fr; padding: min(3.54vw, 51px) 0 min(3.54vw, 51px) min(3.54vw, 51px); border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.cap-item:first-child { border-top: 0; }
.cap-item:last-child { padding-bottom: 0; }
.cap-item .n { font-size: var(--fs-body); padding-top: 6px; }
.cap-body { display: grid; gap: 0; }
.cap-body .rule { width: 32px; height: 1px; background: var(--ink); margin: min(2.22vw, 32px) 0; }
.cap-body .body { max-width: 820px; }
.cap-row { display: grid; grid-template-columns: 435fr 32fr 482fr; margin-top: min(4.31vw, 62px); }
.cap-row .media-radius { grid-column: 3; aspect-ratio: 482 / 311; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-content: start; }
.chips li { background: var(--paper-2); border-radius: 4px; padding: 4px 12px; font-size: var(--fs-small); color: var(--ink-2); line-height: 1.25; }
@media (max-width: 767px) {
  .overview-row, .cap-list, .cap-row, .cap-item { grid-template-columns: 1fr; }
  .cap-side { display: none; }
  .cap-items { grid-column: 1; border-left: 0; margin: 0; }
  .cap-item { padding-left: 0; }
  .cap-row { gap: 20px; } .cap-row .media-radius { grid-column: auto; }
}

/* cost · approach: zig-zag cards (433×244, #474747 @80%) over a large grey mark */
.zig { position: relative; }
.zig-mark { position: absolute; left: 50%; top: 52%; width: min(35vw, 504px); transform: translate(-50%, -50%); color: var(--muted); opacity: .9; pointer-events: none; }
.zig-mark svg { width: 100%; height: auto; }
.zig-track { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: min(30.07vw, 433px); grid-template-rows: repeat(2, min(16.94vw, 244px)); column-gap: min(2.08vw, 30px); overflow-x: auto; scrollbar-width: none; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); }
.zig-track::-webkit-scrollbar { display: none; }
.zig-card { grid-row: 1; background: rgb(51 51 51 / .86); border: 1px solid rgba(255,255,255,.06); border-radius: var(--radius); padding: min(1.67vw, 24px); display: flex; flex-direction: column; justify-content: space-between; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.zig-card.low { grid-row: 2; }
.zig-card .n { font-size: var(--fs-intro); color: var(--muted); font-weight: 500; }
.zig-card h3 { font-size: var(--fs-h4); font-weight: 500; margin-bottom: 8px; }
.zig-card p { font-size: var(--fs-xs); line-height: 1.3; }
/* pinned (wide screens, motion allowed): the section sticks while page scroll slides the cards left (main.js) */
.zig-pinned:not(.zig-drift) > .wrap { position: sticky; top: var(--zt, 96px); }
.zig-drift .steps.tall { transition: transform .25s linear; } /* smooths wheel steps */
.zig-pinned .zig-track { overflow: visible; will-change: transform; grid-template-rows: repeat(2, min(16.94vw, 244px, calc((100vh - 400px) / 2))); }
.zig-pinned .ap-ctrl { display: none; } /* page scroll moves the cards; [hidden] alone loses to .scroller-controls { display: flex } */
.zig-pinned .zig-mark { transform: translate(-50%, -50%) rotate(calc(var(--zp, 0) * 144deg)); }
.zig-pinned .steps.tall { overflow: visible; scroll-snap-type: none; will-change: transform; }
.zig-pinned .steps.tall .step { min-height: min(24.58vw, 354px, calc(100vh - 420px)); }
@media (max-width: 767px) { .zig-track { grid-auto-flow: row; grid-template-rows: none; grid-auto-columns: auto; gap: 12px; } .zig-card, .zig-card.low { grid-row: auto; grid-column: auto !important; min-height: 200px; } .zig-mark { display: none; } }

/* cost · business value: four plain columns, rule with an active indicator */
.value-row { display: grid; grid-template-columns: repeat(4, 1fr); column-gap: min(2.08vw, 30px); border-bottom: 1px solid var(--line); }
.value-row li { position: relative; padding: min(2.22vw, 32px) 0 min(3.06vw, 44px); cursor: default; }
.value-row li::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--ink); transition: width .6s var(--ease); }
.value-row li.on::after { width: 84%; }
.value-row .icon svg { width: min(2.78vw, 40px); height: min(2.78vw, 40px); stroke-width: 1.3; }
.value-row h3 { margin-top: min(5vw, 72px); font-size: var(--fs-h4); font-weight: 500; }
.value-row p { margin-top: 16px; font-size: var(--fs-xs); line-height: 1.3; max-width: 260px; }
@media (max-width: 767px) { .value-row { grid-template-columns: 1fr 1fr; row-gap: 12px; } }

/* full-bleed CTA with dark glass panel bottom-left (549 wide) */
.cta-glass { min-height: min(45.4vw, 654px); display: flex; align-items: flex-end; padding-block: 0 min(2.78vw, 40px); }
.cta-glass::after { background: none; }
.cta-glass .inner { max-width: min(38.13vw, 549px); background: rgb(0 0 0 / .3); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-radius: var(--radius); padding: min(2.22vw, 32px); gap: min(.83vw, 12px); }
.cta-glass .inner .btn { margin-top: min(1.39vw, 20px); }
@media (max-width: 767px) { .cta-glass { min-height: 520px; } .cta-glass .inner { max-width: none; } }
.value-row.plain { border-bottom: 0; }
.value-row.plain li { padding-top: min(3.33vw, 48px); }
.value-row.plain h3 { margin-top: 0; }
.value-row.plain li::after { display: none; }
/* risk tabs: shape markers (diamond, square, circle, triangle) */
.risk-tabs .t { display: inline-flex; align-items: center; gap: 12px; }
.risk-tabs button .t::before { content: ""; width: 8px; height: 8px; background: currentColor; flex: none; }
.risk-tabs button[data-shape="0"] .t::before { transform: rotate(45deg); }
.risk-tabs button[data-shape="2"] .t::before { border-radius: 50%; }
.risk-tabs button[data-shape="3"] .t::before { clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.risk-grid { grid-auto-flow: row; grid-template-rows: repeat(5, min(9.86vw, 142px)); grid-auto-rows: auto; gap: min(2.08vw, 30px); }
.risk-card.short img { width: min(13vw, 187px); }
.risk-card.tall img { width: min(19vw, 276px); }
@media (max-width: 767px) { .risk-grid { grid-template-rows: none; } .risk-grid .risk-card { grid-area: auto !important; } }
.risk-grid { grid-template-rows: min(19.72vw, 284px) min(10vw, 144px) min(19.72vw, 284px); }

/* cyber · defence diagram uses the design's illustrations */
.flow-node .tile.img { background: none; overflow: hidden; border-radius: min(1.94vw, 28px); max-width: min(19.4vw, 280px); }
.flow-node .tile.img img { width: 100%; height: 100%; object-fit: cover; }
.flow { grid-template-columns: 1fr 1.5fr 1fr; }
/* OT cards: alternate text position like the design */
.ot-card { position: relative; display: flex !important; flex-direction: column; justify-content: flex-end; }
.ot-card img { position: absolute; right: min(2.22vw, 32px); top: min(2.22vw, 32px); width: min(17.8vw, 257px) !important; }
.ot-card.text-top { justify-content: flex-start; }
.ot-card.text-top img { top: auto; bottom: min(1.11vw, 16px); }
.ot-card > div { position: relative; max-width: 60%; }
@media (max-width: 767px) { .ot-card img { position: static; width: 160px !important; align-self: flex-end; } .ot-card > div { max-width: none; } }
.flow svg.wires { overflow: visible; }
/* certifications: 5 + 4 centred tiles, as in the design */
.certs { display: flex; flex-wrap: wrap; justify-content: center; gap: min(1.39vw, 20px); }
.certs li { flex: 0 0 calc((100% - 4 * min(1.39vw, 20px)) / 5); aspect-ratio: 260 / 172; }
@media (max-width: 767px) { .certs li { flex-basis: calc(50% - 10px); } }

/* about · who we are: 1128 container, image+text 549 left, stat list 433 right */
.about-who { max-width: calc(min(78.33vw, 1128px) + 2 * var(--gutter)); }
.about-who .section-head { margin-bottom: min(4.44vw, 64px); }
.about-who-row { display: grid; grid-template-columns: 549fr 146fr 433fr; align-items: start; }
.about-who-left { display: grid; gap: min(1.74vw, 25px); }
.about-who-left .media-radius { aspect-ratio: 549 / 336; }
.about-stats-list { grid-column: 3; margin: 0; }
.about-stats-list div { border: 1px solid var(--line); border-bottom: 0; padding: min(1.67vw, 24px) min(1.67vw, 24px) min(2.5vw, 36px); display: grid; gap: 8px; }
.about-stats-list div:last-child { border-bottom: 1px solid var(--line); }
.about-stats-list dd { margin: 0; font-size: min(6.67vw, 96px); font-weight: 500; line-height: 1.09; letter-spacing: 0; }
.about-stats-list dt { color: var(--muted); font-size: clamp(16px, 1.667vw, 24px); font-weight: 500; line-height: 1.1; }

/* about · mission / vision / purpose: two 665 columns, staggered */
.mvp { display: grid; grid-template-columns: 665fr 70fr 665fr; }
.mvp-left { grid-column: 1; display: flex; flex-direction: column; }
.mvp-right { grid-column: 3; display: grid; gap: min(1.39vw, 20px); padding-top: min(4.72vw, 68px); align-content: start; }
.mvp-mark { width: min(35vw, 504px); color: #d9d9d9; margin-left: -2%; }
.mvp-mark svg { width: 100%; height: auto; }
.mvp article { display: grid; gap: min(1.67vw, 24px); }
.mvp-vision { margin-top: min(25vw, 360px); }
.mvp-purpose { margin-top: min(16.4vw, 236px); }
.mvp hr { border: 0; border-top: 1px solid #d9d9d9; margin: min(1.39vw, 20px) 0; }
.mvp-cols { display: grid; grid-template-columns: 1fr 1fr; gap: min(2.08vw, 30px); }
.mvp-img { aspect-ratio: 1; margin-top: min(9.3vw, 134px); }

/* about · journey: header left, vertical accordion right with shape markers */
.journey { display: grid; grid-template-columns: 665fr 70fr 665fr; align-items: start; }
.journey .section-head { grid-column: 1; margin: 0; }
.journey .timeline { grid-column: 3; display: grid; grid-template-columns: 1fr; gap: 0; margin: 0; }
.journey .timeline button { border-top: 0; border-bottom: 1px solid var(--line); padding: min(2.22vw, 32px) 0; gap: min(1.39vw, 20px); }
.journey .timeline button:first-child { padding-top: 0; }
.journey .timeline .t { display: inline-flex; align-items: center; gap: 12px; font-size: var(--fs-h3); }
.journey .timeline .t::before { content: ""; width: 10px; height: 10px; background: currentColor; flex: none; margin-right: 4px; }
.journey .timeline [data-shape="0"] .t::before { transform: rotate(45deg); }
.journey .timeline [data-shape="2"] .t::before { border-radius: 50%; }
.journey .timeline [data-shape="3"] .t::before { clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.journey .timeline [data-shape="4"] .t::before { clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); width: 12px; height: 12px; }
.journey .timeline .d { max-width: 581px; }
@media (max-width: 767px) {
  .about-who-row, .mvp, .journey { grid-template-columns: 1fr; gap: 32px; }
  .about-stats-list, .mvp-left, .mvp-right, .journey .section-head, .journey .timeline { grid-column: auto; }
  .mvp-mark { display: none; } .mvp-vision, .mvp-purpose, .mvp-img { margin-top: 0; }
  .mvp-left { gap: 48px; } .mvp-cols { grid-template-columns: 1fr; }
}
@media (max-width: 767px) { .mvp-right { order: -1; } }
.mvp-img { margin-top: min(3.06vw, 44px); }
.mvp-right { gap: 0; }
.journey .timeline .t::before { width: 12px; height: 12px; }

/* legal pages: compact hero, single indented column (design) */
.hero--legal { min-height: 0; padding-top: max(clamp(110px, 12.5vw, 180px), 16svh) !important; padding-bottom: calc(var(--arch) + min(6.94vw, 100px)); }
.hero--legal .display { font-size: var(--fs-h2); line-height: 1.1; margin-bottom: min(1.11vw, 16px); }
.hero--legal .hero-inner > p.small:first-child { margin-bottom: min(1.11vw, 16px); }
.hero--legal .intro { max-width: 36rem; font-size: var(--fs-body); }
.legal { grid-template-columns: 1fr; }
.legal-toc { display: none; }
@media (min-width: 768px) { .legal-body { padding-left: min(10.83vw, 156px); max-width: calc(min(10.83vw, 156px) + 820px); } }
@media (min-width: 768px) { .legal-body { padding-left: min(8.06vw, 116px); max-width: calc(min(8.06vw, 116px) + 820px); } }
.hero--legal .intro { font-size: var(--fs-intro); max-width: min(23.5em, 640px); }
/* who-we-are: keep the soft white glow of the next section well below the company logos (design) */
.who { padding-bottom: calc(var(--section) + var(--arch) * 2.6) !important; }
.who .section-head { margin-bottom: min(4.17vw, 60px); }

/* who we are: designer-supplied blurred lens (back_blur_effect.svg, 1440×1512) as the backdrop.
   It bleeds ~17% beyond the section top and bottom, over the hero and the selector. */
.who { position: relative; z-index: 2; background: transparent; color: var(--white); padding-top: min(6.94vw, 100px); padding-bottom: min(6.94vw, 100px) !important; }
.who::before {
  content: ""; position: absolute; z-index: -1; left: 0; right: 0;
  top: calc(min(17.5vw, 252px) * -1); bottom: calc(min(17.5vw, 252px) * -1);
  background: url("../svg/who-blur.svg") center / 100% 100% no-repeat;
  pointer-events: none;
}
.hero--home { padding-bottom: calc(min(17.5vw, 252px) + 40px); }
.hero--home .hero-media::after { background: linear-gradient(180deg, rgb(var(--sky) / .40) 0%, rgb(var(--sky) / .55) 45%, rgb(var(--sky) / .30) 75%, rgb(var(--sky) / 0) 100%); }
.selector { position: relative; z-index: 1; padding-top: calc(min(17.5vw, 252px) + var(--section)); }
.selector--animated { padding-top: min(17.5vw, 252px); }
.who { padding-bottom: min(16.7vw, 240px) !important; }
.selector { padding-top: min(6.94vw, 100px); }
.selector--animated { padding-top: 0; }
/* keep the blur at its drawn proportions: SVG edges top and bottom, solid ink between */
.who::before {
  background:
    url("../svg/who-blur.svg") center top / 100% auto no-repeat,
    url("../svg/who-blur.svg") center bottom / 100% auto no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 100% calc(100% - 100vw * 1512 / 1440 * .8) no-repeat;
}
@media (min-width: 1440px) { .who::before { background-size: 100% auto, 100% auto, 100% calc(100% - 1512px * .8 * 100vw / 1440); } }
.who::before { top: calc(min(100vw, 1440px) * 1512 / 1440 * -.3); }
.hero--home { padding-bottom: calc(min(100vw, 1440px) * 1512 / 1440 * .3 + 40px); }

/* ==========================================================================
   Designer's black blur (assets/svg/who-blur.svg, from back_blur_effect.svg)
   used for every black-on-light transition on the inner pages:
   - black heroes fade into the next section instead of a hard white curve
   - dark "approach / workflow" panels (.bg-ink.flat) fade in and out at both edges
   --svgh = rendered height of the 1440×1512 SVG at full width.
   ========================================================================== */
:root { --svgh: calc(100vw * 1512 / 1440); }

/* heroes: solid ink, bottom edge = the SVG's blurred lower curve, bleeding 10% into the next section */
.hero--inner, .hero--legal, .page-404 .hero { background: transparent; z-index: 2; }
.hero--inner .hero-media, .hero--legal .hero-media, .page-404 .hero-media { background: none; }
.hero--inner::before, .hero--legal::before, .page-404 .hero::before {
  content: ""; position: absolute; z-index: -2; left: 0; right: 0; top: 0;
  bottom: calc(var(--svgh) * -.1);
  background:
    url("../svg/who-blur.svg") center bottom / 100% auto no-repeat,
    linear-gradient(var(--ink), var(--ink)) center top / 100% calc(100% - var(--svgh) * .5) no-repeat;
  pointer-events: none;
}
/* the next section no longer draws its hard arch */
.hero--inner + .arch-top::before, .hero--legal + .arch-top::before, .hero--inner + div.arch-top::before { display: none !important; }
.hero--inner + .arch-top, .hero--legal + .arch-top, .hero--inner + div.arch-top { margin-top: 0 !important; }
/* overview content sits where the design puts it below the hero (cost/env eyebrow y1162, consulting y1257 at 1440x900) */
.hero--inner + .arch-top, .hero--inner + div.arch-top > .section { padding-top: max(var(--section), calc(var(--svgh) * .157)) !important; }
.hero--legal + .arch-top { padding-top: max(var(--section), calc(var(--svgh) * .12)) !important; }

/* dark panels: blurred top and bottom edges, solid ink between */
.bg-ink.flat { position: relative; z-index: 2; background: transparent !important; padding-block: max(min(13.9vw, 200px), calc(var(--svgh) * .14)) !important; }
/* desktop: content ~212px inside the panel (design 200 above the eyebrow, ~200 of ink under the cards); phones keep more room for the lens */
@media (max-width: 767px) { .bg-ink.flat { padding-block: calc(var(--svgh) * .2) !important; } }
.bg-ink.flat::before {
  content: ""; position: absolute; z-index: -1; left: 0; right: 0;
  top: calc(var(--svgh) * -.1); bottom: calc(var(--svgh) * -.1);
  background:
    url("../svg/who-blur.svg") center top / 100% auto no-repeat,
    url("../svg/who-blur.svg") center bottom / 100% auto no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 100% max(0px, calc(100% - var(--svgh) * .8)) no-repeat;
  pointer-events: none;
}
/* Figma: the dark step panels fade in and out with one straight, eased gradient (no arched blur, so no grey
   plateau above the cards) and a fine grain over the fades */
.bg-ink.flat { --fade: calc(var(--svgh) * .22); } /* starts .1 svgh above the panel, fully dark just before the content (.14 svgh) */
.bg-ink.flat::before {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E") 0 0 / 160px 160px,
    linear-gradient(180deg, rgb(17 17 17 / 0) 0%, rgb(17 17 17 / .02) 10%, rgb(17 17 17 / .07) 20%, rgb(17 17 17 / .15) 30%, rgb(17 17 17 / .27) 40%, rgb(17 17 17 / .42) 50%, rgb(17 17 17 / .58) 60%, rgb(17 17 17 / .73) 70%, rgb(17 17 17 / .86) 80%, rgb(17 17 17 / .95) 90%, #111 100%) center top / 100% var(--fade) no-repeat,
    linear-gradient(0deg, rgb(17 17 17 / 0) 0%, rgb(17 17 17 / .02) 10%, rgb(17 17 17 / .07) 20%, rgb(17 17 17 / .15) 30%, rgb(17 17 17 / .27) 40%, rgb(17 17 17 / .42) 50%, rgb(17 17 17 / .58) 60%, rgb(17 17 17 / .73) 70%, rgb(17 17 17 / .86) 80%, rgb(17 17 17 / .95) 90%, #111 100%) center bottom / 100% var(--fade) no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 100% max(0px, calc(100% - var(--fade) * 2 + 2px)) no-repeat;
  -webkit-mask-image: none !important; mask-image: none !important;
}
/* behind the blur's transparent edges, continue the neighbouring sections' colours (no seam) */
.bg-ink.flat { --above: var(--paper); --below: var(--paper); background: linear-gradient(var(--above) 0 50%, var(--below) 50% 100%) !important; }
.bg-white + .bg-ink.flat { --above: var(--white); }
.bg-paper-2 + .bg-ink.flat { --above: var(--paper-2); }
.bg-ink.flat:has(+ .bg-white) { --below: var(--white); }
.bg-ink.flat:has(+ .bg-paper-2) { --below: var(--paper-2); }
/* the SVG's blur is already ~2% opaque at its own edge: fade the outermost band to zero so no seam shows */
.bg-ink.flat::before, .who::before {
  -webkit-mask-image: linear-gradient(transparent, #000 calc(var(--svgh) * .07), #000 calc(100% - var(--svgh) * .07), transparent);
  mask-image: linear-gradient(transparent, #000 calc(var(--svgh) * .07), #000 calc(100% - var(--svgh) * .07), transparent);
}
.hero--inner::before, .hero--legal::before, .page-404 .hero::before {
  -webkit-mask-image: linear-gradient(#000 calc(100% - var(--svgh) * .07), transparent);
  mask-image: linear-gradient(#000 calc(100% - var(--svgh) * .07), transparent);
}

/* anchors: on phones keep section eyebrows clear of the 68px fixed nav */
@media (max-width: 767px) { html { scroll-padding-top: 24px; } }

/* ==========================================================================
   Dark panels (.bg-ink.flat), as drawn in Figma: a straight #111 rectangle with a 150px layer blur
   (Gaussian, sigma 75 -> the fade spans ~300px centred on the panel edge) plus a fine noise grain.
   Replaces the lens-SVG edges for these panels; content sits 200px inside the edge (design).
   --fz = half the fade height (150px at 1440, proportional below, never under 56px).
   ========================================================================== */
.bg-ink.flat { --fz: max(56px, min(10.417vw, 150px)); --pad: min(13.889vw, 200px); }
@media (max-width: 767px) { .bg-ink.flat { --pad: calc(var(--fz) + 48px); } }
/* the fade lives inside the panel's own box (pulled over the neighbours by --fz, their colours continued
   behind it via --above/--below), so the grain blends against one opaque backdrop: no seam at the edges */
.bg-ink.flat { margin-block: calc(var(--fz) * -1) !important; padding-block: calc(var(--pad) + var(--fz)) !important; }
/* the outer --fz strips stay transparent so neighbouring content close to the edge is never covered */
.bg-ink.flat { background: linear-gradient(transparent 0 var(--fz), var(--above) var(--fz) 50%, var(--below) 50% calc(100% - var(--fz)), transparent calc(100% - var(--fz))) !important; }
.bg-ink.flat::before {
  top: calc(var(--fz) * -.01); bottom: calc(var(--fz) * -.01);
  -webkit-mask-image: none; mask-image: none;
  /* opacity profile measured from the design (two stacked 150px-blurred rects): 50% at the panel edge (= --fz),
     solid ink 200px inside it at 1440 */
  background: linear-gradient(to bottom,
    rgba(17,17,17,0) 0,
    rgba(17,17,17,0.025) calc(var(--fz) * 0.2),
    rgba(17,17,17,0.067) calc(var(--fz) * 0.333),
    rgba(17,17,17,0.122) calc(var(--fz) * 0.467),
    rgba(17,17,17,0.193) calc(var(--fz) * 0.6),
    rgba(17,17,17,0.286) calc(var(--fz) * 0.733),
    rgba(17,17,17,0.399) calc(var(--fz) * 0.867),
    rgba(17,17,17,0.534) calc(var(--fz) * 1),
    rgba(17,17,17,0.66) calc(var(--fz) * 1.133),
    rgba(17,17,17,0.756) calc(var(--fz) * 1.267),
    rgba(17,17,17,0.836) calc(var(--fz) * 1.4),
    rgba(17,17,17,0.895) calc(var(--fz) * 1.533),
    rgba(17,17,17,0.937) calc(var(--fz) * 1.667),
    rgba(17,17,17,0.962) calc(var(--fz) * 1.8),
    rgba(17,17,17,0.975) calc(var(--fz) * 1.933),
    rgba(17,17,17,0.983) calc(var(--fz) * 2.067),
    var(--ink) calc(var(--fz) * 2.333),
    var(--ink) calc(100% - var(--fz) * 2.333),
    rgba(17,17,17,0.983) calc(100% - var(--fz) * 2.067),
    rgba(17,17,17,0.975) calc(100% - var(--fz) * 1.933),
    rgba(17,17,17,0.962) calc(100% - var(--fz) * 1.8),
    rgba(17,17,17,0.937) calc(100% - var(--fz) * 1.667),
    rgba(17,17,17,0.895) calc(100% - var(--fz) * 1.533),
    rgba(17,17,17,0.836) calc(100% - var(--fz) * 1.4),
    rgba(17,17,17,0.756) calc(100% - var(--fz) * 1.267),
    rgba(17,17,17,0.66) calc(100% - var(--fz) * 1.133),
    rgba(17,17,17,0.534) calc(100% - var(--fz) * 1),
    rgba(17,17,17,0.399) calc(100% - var(--fz) * 0.867),
    rgba(17,17,17,0.286) calc(100% - var(--fz) * 0.733),
    rgba(17,17,17,0.193) calc(100% - var(--fz) * 0.6),
    rgba(17,17,17,0.122) calc(100% - var(--fz) * 0.467),
    rgba(17,17,17,0.067) calc(100% - var(--fz) * 0.333),
    rgba(17,17,17,0.025) calc(100% - var(--fz) * 0.2),
    rgba(17,17,17,0) 100%) !important;
}
/* the design's noise grain on the blurred layer: visible in the fades, faint on the solid ink */
.bg-ink.flat::after {
  content: ""; position: absolute; z-index: -1; left: 0; right: 0; pointer-events: none;
  top: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.4' numOctaves='1' stitchTiles='stitch'/%3E%3CfeColorMatrix values='.33 .33 .33 0 0 .33 .33 .33 0 0 .33 .33 .33 0 0 0 0 0 0 1'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E") 0 0 / 180px 180px;
  mix-blend-mode: overlay; opacity: .35;
  -webkit-mask-image: linear-gradient(transparent 0 var(--fz), #000 calc(var(--fz) * 1.3), #000 calc(var(--fz) * 1.7), rgba(0,0,0,.25) calc(var(--fz) * 2.3), rgba(0,0,0,.25) calc(100% - var(--fz) * 2.3), #000 calc(100% - var(--fz) * 1.7), #000 calc(100% - var(--fz) * 1.3), transparent calc(100% - var(--fz)));
  mask-image: linear-gradient(transparent 0 var(--fz), #000 calc(var(--fz) * 1.3), #000 calc(var(--fz) * 1.7), rgba(0,0,0,.25) calc(var(--fz) * 2.3), rgba(0,0,0,.25) calc(100% - var(--fz) * 2.3), #000 calc(100% - var(--fz) * 1.7), #000 calc(100% - var(--fz) * 1.3), transparent calc(100% - var(--fz)));
}

/* ==========================================================================
   Form controls without browser defaults: custom select menus (main.js) and autofill colours
   ========================================================================== */
.form { --form-bg: var(--paper); }
.bg-paper .form { --form-bg: var(--white); }
.field input, .field textarea { caret-color: var(--ink); }
.field input:-webkit-autofill, .field input:-webkit-autofill:hover, .field input:-webkit-autofill:focus, .field textarea:-webkit-autofill {
  -webkit-text-fill-color: var(--ink); -webkit-box-shadow: 0 0 0 1000px var(--form-bg) inset; box-shadow: 0 0 0 1000px var(--form-bg) inset;
  transition: background-color 600000s 0s;
}
.field ::selection { background: rgba(0, 122, 255, .18); }
.field select.cselect-native { position: absolute; inset: auto 0 0 0; height: 1px; opacity: 0; pointer-events: none; }
.cselect {
  width: 100%; border: 0; background: transparent; padding: 0 28px 0 0; margin: 0; text-align: left; cursor: pointer;
  font: inherit; font-size: var(--fs-small); line-height: 1.25; color: var(--ink); outline: none;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cselect.is-placeholder { color: var(--muted); }
.field .chev { transition: transform .25s var(--ease); }
.field.is-open .chev { transform: rotate(180deg); }
.field.is-open { border-bottom-color: var(--ink); z-index: 30; }
.cselect-list {
  position: absolute; z-index: 30; left: -12px; right: -12px; top: calc(100% + 8px);
  margin: 0; padding: 6px; list-style: none; max-height: 280px; overflow-y: auto; overscroll-behavior: contain;
  background: var(--white); border-radius: 14px;
  box-shadow: 0 0 0 1px rgba(17, 17, 17, .07), 0 18px 40px -8px rgba(17, 17, 17, .18), 0 4px 10px rgba(17, 17, 17, .05);
  transform-origin: top center; animation: cselect-in .18s var(--ease);
}
.cselect-list[hidden] { display: none; }
@keyframes cselect-in { from { opacity: 0; transform: translateY(-4px) scale(.98); } }
.cselect-list [role="option"] {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 12px; border-radius: 9px; cursor: pointer; font-size: var(--fs-small); line-height: 1.25; color: var(--ink);
}
.cselect-list [role="option"].is-active { background: #f1f1f1; }
.cselect-list [role="option"][aria-selected="true"] { font-weight: 500; }
.cselect-list [role="option"][aria-selected="true"]::after {
  content: ""; width: 16px; height: 16px; flex: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5 9 17 20 6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5 9 17 20 6'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (prefers-reduced-motion: reduce) { .cselect-list { animation: none; } .field .chev { transition: none; } }
.cselect-row { position: relative; }
.cselect-row .chev { top: 50%; bottom: auto !important; margin-top: -10px; }
.field.has-error, .field.has-error:focus-within { border-bottom-color: #c62828; }

/* legal placeholders still to be filled in: visible highlight (remove once all are replaced) */
.legal-ph[data-draft] { background: #fff3d6; border-radius: 3px; padding: 0 2px; }
/* on the dark legal hero a placeholder keeps the text colour (the pale highlight made white text unreadable) */
.hero .legal-ph[data-draft] { background: rgba(255, 255, 255, .14); color: inherit; }
.hero--legal .legal-updated { font-size: var(--fs-body); color: rgba(255, 255, 255, .85); }

/* products carousel on phones: the caption sits under the picture, no arrows */
@media (max-width: 767px) {
  .pcar-view { border-radius: 0; overflow: hidden; }
  .pcar-track { gap: 16px; }
  .pslide-text { position: static; margin: 16px 0 0; padding: 0; width: auto; background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; color: var(--ink); }
  .pslide-mark { color: var(--muted); font-size: 12px; }
  .pslide-mark::before { background: var(--line); }
  .pslide-title { margin-top: 8px; font-size: 20px; letter-spacing: -.03em; }
  .pcar-ctrl { display: none; }
}

/* ---------- intro screen (first visit to each site per browser session) ---------- */
.intro-screen { display: none; }
html.intro .intro-screen {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 9999; background: var(--ink); color: var(--white);
  clip-path: inset(0 0 0 0); transition: clip-path .95s cubic-bezier(.76, 0, .24, 1);
  /* failsafe: never block the page if the script does not finish */
  animation: introFailsafe 0s 10s forwards;
}
html.intro:not(.no-js) body { overflow: hidden; }
html.intro-out .intro-screen { clip-path: inset(0 0 100% 0); }
@keyframes introFailsafe { to { visibility: hidden; } }
.intro-inner { display: flex; flex-direction: column; align-items: center; transition: opacity .5s, transform .9s cubic-bezier(.76, 0, .24, 1); }
html.intro-out .intro-inner { opacity: 0; transform: translateY(-40px); }
.intro-mark { width: 56px; height: 56px; animation: introSpin 1.5s cubic-bezier(.65, 0, .25, 1) both; }
.intro-mark g { opacity: 0; animation: introBlade .45s ease-out forwards; }
.intro-mark g:nth-child(2) { animation-delay: .09s; }
.intro-mark g:nth-child(3) { animation-delay: .18s; }
.intro-mark g:nth-child(4) { animation-delay: .27s; }
.intro-mark g:nth-child(5) { animation-delay: .36s; }
.intro-logo { margin-top: 36px; }
.intro-logo svg { display: block; width: min(78vw, 440px); height: auto; overflow: visible; }
/* the wordmark wipes in, then the line beneath it fades up */
.intro-logo svg path { clip-path: inset(0 100% 0 0); animation: introWipe .9s cubic-bezier(.65, 0, .25, 1) .5s forwards; }
.intro-logo svg path:last-child { clip-path: none; opacity: 0; animation: introUp .8s var(--ease) 1.2s forwards; }
@keyframes introSpin { from { transform: rotate(-144deg) scale(.7); } to { transform: none; } }
@keyframes introBlade { to { opacity: 1; } }
@keyframes introWipe { to { clip-path: inset(0 0 0 0); } }
@keyframes introUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .intro-mark, .intro-mark g, .intro-logo svg path { animation: none; opacity: 1; clip-path: none; }
  html.intro .intro-screen { transition: opacity .3s; }
  html.intro-out .intro-screen { clip-path: none; opacity: 0; }
}
