/* INSAIT Solutions — site styles (v4 rebuild)
   Palette: white + #29353C #44576D #768A96 #AAC7D8 #DFEBF6; product accents kept.
   Type: Fraunces (display), Geist (text), Geist Mono (labels).
   Layout: full width, a 12-column grid inside a thin side gutter. */

:root {
  --ink: #29353C;
  --slate: #44576D;
  --grey: #768A96;
  --mist: #AAC7D8;
  --ice: #DFEBF6;
  --paper: #ffffff;

  --teal: #0c7c8a;
  --blue: #0f62d6;
  --cyan: #0b7a94;
  --violet: #6d3ee8;

  --bg: var(--paper);
  --fg: var(--ink);
  --fg-2: var(--slate);
  --fg-3: var(--grey);
  --line: var(--mist);
  --line-soft: var(--ice);
  --btn: var(--ink);
  --btn-fg: #fff;
  --btn-hover: var(--slate);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: clamp(20px, 3.2vw, 56px);
  --gap: clamp(16px, 2vw, 32px);
  --sec: clamp(96px, 12vw, 200px);
  --header-h: 76px;

  --fs-hero: clamp(50px, 11.2vw, 210px);
  --fs-display: clamp(40px, 6.6vw, 124px);
  --fs-h2: clamp(34px, 4.6vw, 80px);
  --fs-h3: clamp(30px, 3.4vw, 60px);
  --fs-lead: clamp(17px, 1rem + 0.35vw, 21px);
  --fs-body: 17px;

  --ease: cubic-bezier(0.7, 0, 0.3, 1);

  /* illustration palette */
  --art-bg: #F3F7FB;
  --art-panel: #ffffff;
  --art-soft: #DFEBF6;
  --art-line: #AAC7D8;
  --art-ink: #29353C;
  --art-2: #44576D;
  --art-3: #768A96;
  --ease-out: cubic-bezier(0.165, 0.84, 0.44, 1);
}
[data-theme="dark"] {
  --bg: #12181c;
  --fg: #eef4fa;
  --fg-2: #AAC7D8;
  --fg-3: #8ea2ae;
  --line: #34434d;
  --line-soft: #222d34;
  --btn: #DFEBF6;
  --btn-fg: #29353C;
  --btn-hover: #AAC7D8;
  --teal: #3fb7c6;
  --blue: #6aa7ff;
  --cyan: #45c4e0;
  --violet: #ab90ff;
  --art-bg: #182026;
  --art-panel: #1f2930;
  --art-soft: #26323a;
  --art-line: #3a4a54;
  --art-ink: #e6eef5;
  --art-2: #AAC7D8;
  --art-3: #8ea2ae;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 400; letter-spacing: -0.025em; line-height: 1.02; font-optical-sizing: auto; text-wrap: balance; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--ice); color: var(--ink); }
:focus-visible { outline: 2px solid var(--fg-2); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--btn); color: var(--btn-fg); padding: 10px 16px; }
.skip:focus { left: 8px; }

/* ---------- primitives ---------- */
.label, .mono {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-2);
  line-height: 1.4;
}
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--fg-2); max-width: 36rem; }
.display { font-size: var(--fs-display); line-height: 0.98; letter-spacing: -0.03em; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px;
  background: var(--btn); color: var(--btn-fg);
  font-weight: 500; font-size: 15.5px; letter-spacing: -0.005em;
  transition: background-color .35s var(--ease-out), transform .35s var(--ease-out);
  position: relative; overflow: hidden; isolation: isolate;
}
.btn::after { content: "→"; transition: transform .45s var(--ease); }
.btn:hover { background: var(--btn-hover); }
.btn:hover::after { transform: translateX(4px); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14.5px; }
.btn-sm::after { content: none; }

.link {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  font-weight: 500; font-size: 15.5px; color: var(--fg);
  padding: 6px 0;
}
.link::after { content: "→"; transition: transform .45s var(--ease); }
.link::before {
  content: ""; position: absolute; left: 0; right: 1.4em; bottom: 0; height: 1px;
  background: currentColor; transform-origin: right; transform: scaleX(1);
  transition: transform .6s var(--ease);
}
.link:hover::after { transform: translateX(5px); }
.link:hover::before { transform-origin: left; animation: line-swap .8s var(--ease); }
@keyframes line-swap { 0% { transform: scaleX(1); transform-origin: right; } 45% { transform: scaleX(0); transform-origin: right; } 46% { transform-origin: left; } 100% { transform: scaleX(1); transform-origin: left; } }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 32px; }

section { position: relative; }
.sec-head { display: grid; gap: 22px; padding: 0 var(--gutter); margin-bottom: clamp(48px, 6vw, 96px); }
.sec-head h2 { font-size: var(--fs-h2); max-width: 18ch; }
@media (min-width: 900px) {
  .sec-head-split { grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: end; }
  .sec-head-split .label { grid-column: 1 / -1; }
  .sec-head-split h2 { grid-column: 1 / span 8; }
  .sec-head-split .link { grid-column: 10 / -1; justify-self: end; }
}

/* ---------- announcement + header ---------- */
.announce { background: var(--ink); color: #DFEBF6; font-size: 13px; text-align: center; padding: 9px var(--gutter); }
.announce p { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 10px; }
.announce span:first-child { font-weight: 600; }
.announce a { text-decoration: underline; text-underline-offset: 3px; font-weight: 500; white-space: nowrap; }
@media (max-width: 1023px) { .announce-more { display: none; } }
[data-theme="dark"] .announce { background: #0b1013; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 0%, transparent);
  transition: background-color .5s var(--ease-out), border-color .5s, transform .6s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { background: color-mix(in srgb, var(--bg) 86%, transparent); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); border-bottom-color: var(--line-soft); }
.site-header.is-hidden { transform: translateY(-100%); }
.bar { height: var(--header-h); display: flex; align-items: center; gap: 32px; padding: 0 var(--gutter); }
.brand img { height: 44px; width: auto; }
.brand-dark { display: none; }
[data-theme="dark"] .brand-light { display: none; }
[data-theme="dark"] .brand-dark { display: block; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.nav > a, .nav-drop-btn {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  height: 40px; padding: 0 14px; border: 0; background: none; cursor: pointer;
  font: 500 15px/1 var(--sans); color: var(--fg-2); transition: color .3s;
}
.nav > a::after, .nav-drop-btn::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.nav > a:hover, .nav-drop-btn:hover, .nav [aria-current="page"] { color: var(--fg); }
.nav > a:hover::after, .nav-drop-btn:hover::after, .nav > a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-drop { position: relative; }
.nav-drop-btn svg { transition: transform .4s var(--ease); }
.nav-drop.is-open .nav-drop-btn svg { transform: rotate(180deg); }
.drop {
  position: absolute; top: calc(100% + 10px); left: -12px; width: 560px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  padding: 10px; border-radius: 18px; background: var(--bg); border: 1px solid var(--line-soft);
  box-shadow: 0 30px 80px rgba(41, 53, 60, 0.14);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .35s var(--ease-out), transform .45s var(--ease-out), visibility 0s .45s;
}
.nav-drop.is-open .drop { opacity: 1; visibility: visible; transform: none; transition: opacity .35s var(--ease-out), transform .45s var(--ease-out); }
.drop a { display: block; padding: 16px 18px; border-radius: 12px; transition: background-color .25s; }
.drop a:hover { background: color-mix(in srgb, var(--ice) 55%, transparent); }
[data-theme="dark"] .drop a:hover { background: var(--line-soft); }
.drop strong { display: flex; align-items: center; gap: 10px; font: 400 21px/1.2 var(--serif); letter-spacing: -0.015em; color: var(--fg); }
.drop strong::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.drop span { display: block; margin: 4px 0 0 18px; font-size: 14px; color: var(--fg-3); }
.bar-end { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.theme-btn { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 0; background: none; color: var(--fg-2); cursor: pointer; transition: background-color .3s, color .3s; }
.theme-btn:hover { background: var(--line-soft); color: var(--fg); }
.i-sun { display: none; }
[data-theme="dark"] .i-sun { display: block; }
[data-theme="dark"] .i-moon { display: none; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--fg); transition: transform .5s var(--ease), top .5s var(--ease); }
.menu-btn span:first-child { top: 17px; }
.menu-btn span:last-child { top: 26px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 21.5px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 21.5px; transform: rotate(-45deg); }
.mobile-menu { padding: 12px var(--gutter) 32px; border-top: 1px solid var(--line-soft); background: var(--bg); max-height: calc(100svh - var(--header-h)); overflow: auto; }
.mobile-menu nav { display: grid; }
.mobile-menu a { padding: 12px 0; font: 400 30px/1.15 var(--serif); letter-spacing: -0.02em; border-bottom: 1px solid var(--line-soft); }
.mobile-menu a.sub { font-size: 22px; padding-left: 16px; }
.mobile-menu .mono { margin: 20px 0 4px; }
.mobile-menu .btn { margin-top: 24px; font: 500 16px/1 var(--sans); border: 0; }
@media (max-width: 1023px) {
  .nav, .bar-end .btn-sm { display: none; }
  .menu-btn { display: block; }
  :root { --header-h: 64px; }
  .brand img { height: 38px; }
}

/* ---------- hero ---------- */
.hero {
  min-height: calc(100svh - var(--header-h) - 37px);
  display: grid; grid-template-rows: auto 1fr auto;
  padding: clamp(28px, 4vw, 56px) var(--gutter) clamp(36px, 5vw, 72px);
}
.hero-title {
  align-self: end;
  font-size: var(--fs-hero); line-height: 0.92; letter-spacing: -0.045em;
  margin: clamp(40px, 6vw, 80px) 0 clamp(36px, 4vw, 64px);
}
.line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.line > span { display: inline-block; }
.hero-title .l1 { color: var(--fg-3); }
.hero-title .l2 { text-align: right; }
.hero-foot { display: grid; gap: 28px; }
@media (min-width: 900px) {
  .hero-foot { grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: end; }
  .hero-foot .lead { grid-column: 1 / span 5; }
  .hero-foot .actions { grid-column: 9 / -1; justify-content: flex-end; }
}
@media (max-width: 899px) { .hero-title .l2 { text-align: left; } }

/* ---------- expanding image ---------- */
.expand { padding: 0 0 var(--sec); }
.expand-frame {
  height: min(92svh, 62vw); overflow: hidden;
  clip-path: inset(0 var(--gutter) 0 var(--gutter) round 22px);
}
.expand-frame .art { display: block; width: 100%; height: 118%; }
.art { display: block; width: 100%; height: 100%; }
@media (max-width: 899px) { .expand-frame { height: 62vw; } }

/* ---------- products (sticky story) ---------- */
.products { padding-bottom: var(--sec); }
.products-grid { display: grid; gap: var(--gap); padding: 0 var(--gutter); }
.products-visual { position: relative; }
.products-stage { position: relative; aspect-ratio: 16 / 10; border-radius: 22px; overflow: hidden; background: var(--ice); }
.products-stage .holder { position: absolute; inset: 0; opacity: 0; transform: scale(1.06); transition: opacity .9s var(--ease-out), transform 1.6s var(--ease-out); }
.products-stage .holder.is-on { opacity: 1; transform: scale(1); }
.products-progress { display: none; }
.product { padding: clamp(40px, 5vw, 64px) 0; border-top: 1px solid var(--line); }
.product h3 { font-size: var(--fs-h3); margin: 16px 0 28px; }
.product .label { color: var(--c); }
.product .link { align-self: flex-start; }
.handoff { display: grid; gap: 18px; margin-bottom: 28px; }
.handoff dt { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 6px; }
.handoff dd { font-size: clamp(17px, 1rem + 0.3vw, 20px); line-height: 1.45; color: var(--fg-2); max-width: 30rem; }
.handoff dd b { color: var(--c); font-weight: 600; }
.wire { position: relative; height: 12px; max-width: 30rem; }
.wire::before { content: ""; position: absolute; left: 0; right: 6px; top: 5px; height: 2px; background: var(--c); transform-origin: left; transform: scaleX(var(--wire, 1)); }
.wire i { position: absolute; right: 0; top: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 5px color-mix(in srgb, var(--c) 18%, transparent); }
@media (min-width: 1024px) {
  .products-grid { grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: start; }
  .products-visual { grid-column: 1 / span 6; position: sticky; top: calc(var(--header-h) + 24px); }
  .products-stage { aspect-ratio: auto; height: calc(100svh - var(--header-h) - 96px); }
  .products-progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 14px; }
  .products-progress span { height: 2px; background: var(--line-soft); position: relative; overflow: hidden; }
  .products-progress span::after { content: ""; position: absolute; inset: 0; background: var(--fg); transform: scaleX(var(--p, 0)); transform-origin: left; }
  .products-list { grid-column: 8 / -1; }
  .product { min-height: calc(100svh - var(--header-h) - 48px); display: flex; flex-direction: column; justify-content: center; border-top: 0; padding: 0; opacity: .28; transition: opacity .7s var(--ease-out); }
  .product.is-on { opacity: 1; }
  .product + .product { border-top: 1px solid var(--line-soft); }
}

/* ---------- method ---------- */
.method { padding: var(--sec) var(--gutter); border-top: 1px solid var(--line-soft); text-align: center; display: grid; justify-items: center; gap: clamp(28px, 3vw, 44px); }
.method .display { max-width: 16ch; }
.steps { width: 100%; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(24px, 4vw, 64px); position: relative; text-align: left; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--fg); transform-origin: left; transform: scaleX(var(--draw, 1)); }
.steps li { padding: 22px var(--gap) 0 0; display: grid; gap: 10px; }
.steps .num { font-family: var(--mono); font-size: 12.5px; color: var(--fg-3); }
.steps strong { font: 400 clamp(20px, 1.2rem + 0.6vw, 28px)/1.2 var(--serif); letter-spacing: -0.015em; }
@media (max-width: 899px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 32px; } .steps::before { display: none; } .steps li { border-top: 1px solid var(--line); } }

/* ---------- stats ---------- */
.stats { padding: 0 var(--gutter) calc(var(--sec) * 0.75); }
.stats dl { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stats dl > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 14px; padding: 28px var(--gap) 0 0; }
.stats dl > div + div { border-left: 1px solid var(--line); padding-left: var(--gap); }
.stats dd { font: 400 clamp(72px, 10vw, 184px)/0.85 var(--serif); letter-spacing: -0.05em; font-variant-numeric: lining-nums tabular-nums; }
.stats dt { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-2); }
@media (max-width: 899px) { .stats dl { grid-template-columns: 1fr 1fr; } .stats dl > div:nth-child(3) { border-left: 0; padding-left: 0; } .stats dl > div:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 28px; } }

/* ---------- industries marquee ---------- */
.industries { padding: calc(var(--sec) * 0.75) 0 var(--sec); border-top: 1px solid var(--line-soft); overflow: hidden; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; gap: var(--gap); width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li { width: clamp(260px, 26vw, 420px); flex: none; }
.marquee-track .tile { aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-soft); transition: transform .6s var(--ease); }
.marquee-track li:hover .tile { transform: translateY(-6px); }
.marquee-track .tile img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.2s var(--ease-out), filter .6s; filter: saturate(.92); }
.marquee-track li:hover .tile img { transform: scale(1.08); filter: saturate(1.05); }
.marquee-track span { display: block; margin-top: 14px; font: 400 clamp(20px, 1.1rem + 0.5vw, 28px)/1.2 var(--serif); letter-spacing: -0.015em; }
@keyframes marquee { to { transform: translateX(calc(-50% - var(--gap) / 2)); } }

/* ---------- trust ---------- */
.trust { display: grid; gap: var(--gap); padding: var(--sec) var(--gutter); border-top: 1px solid var(--line-soft); align-items: center; }
.trust-media { border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3; }
.trust-media { border: 1px solid var(--line-soft); }
.trust-copy { display: grid; gap: 28px; justify-items: start; }
.trust-copy h2 { font-size: var(--fs-h2); }
.ticks { display: grid; border-top: 1px solid var(--line); width: 100%; }
.ticks li { padding: 18px 0; border-bottom: 1px solid var(--line-soft); font-size: 17px; color: var(--fg-2); }
@media (min-width: 1024px) {
  .trust { grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); }
  .trust-media { grid-column: 1 / span 7; aspect-ratio: 5 / 4; }
  .trust-copy { grid-column: 9 / -1; }
}

/* ---------- insight rows ---------- */
.insights-list { padding: var(--sec) 0 calc(var(--sec) * 0.6); border-top: 1px solid var(--line-soft); }
.rows { padding: 0 var(--gutter); border-top: 1px solid var(--line); margin: 0 var(--gutter); padding: 0; }
.rows li { border-bottom: 1px solid var(--line); }
.rows a { position: relative; display: grid; gap: 10px; padding: clamp(24px, 3vw, 40px) 0; }
.rows strong { font: 400 clamp(26px, 1rem + 2.2vw, 52px)/1.08 var(--serif); letter-spacing: -0.025em; max-width: 24ch; transition: transform .6s var(--ease), color .4s; }
.rows .label { color: var(--c); }
.rows a { grid-template-columns: 1fr 96px; column-gap: 16px; align-items: center; }
.rows .label, .rows strong { grid-column: 1; }
.rows .thumb { grid-column: 2; grid-row: 1 / span 2; display: block; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; }
.rows .thumb img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1024px) {
  .rows a { grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: center; }
  .rows .label { grid-column: 1 / span 3; grid-row: auto; }
  .rows strong { grid-column: 4 / span 7; }
  .rows .thumb { grid-column: 11 / -1; grid-row: auto; border-radius: 12px; opacity: 0; transform: scale(.9) rotate(-2deg); transition: opacity .5s var(--ease-out), transform .7s var(--ease); }
  .rows a:hover .thumb { opacity: 1; transform: none; }
  .rows a:hover strong { transform: translateX(14px); }
  .rows a::after { content: "→"; position: absolute; right: 0; top: 50%; translate: 0 -50%; font-size: 28px; opacity: 0; transform: translateX(-12px); transition: opacity .4s, transform .6s var(--ease); }
  .rows a:hover::after { opacity: 1; transform: none; }
  /* cursor-following preview (JS) replaces the in-row thumbnail */
  .rows.has-preview .thumb { display: none; }
  .rows.has-preview a:hover::after { opacity: 0; }
}
.hover-preview { position: fixed; left: 0; top: 0; z-index: 40; width: clamp(300px, 26vw, 440px); aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; pointer-events: none; opacity: 0; scale: .6; transition: opacity .35s var(--ease-out), scale .5s var(--ease); box-shadow: 0 30px 80px rgba(41, 53, 60, .25); }
.hover-preview.is-on { opacity: 1; scale: 1; }
.hover-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; scale: 1.15; transition: opacity .45s var(--ease-out), scale .9s var(--ease-out); }
.hover-preview img.is-on { opacity: 1; scale: 1; }
.hover-preview span { position: absolute; left: 14px; bottom: 12px; z-index: 1; font: 400 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #fff; padding: 7px 10px; border-radius: 999px; background: color-mix(in srgb, var(--c, #29353C) 85%, transparent); }

/* ---------- closing CTA ---------- */
.cta { padding: var(--sec) var(--gutter); border-top: 1px solid var(--line-soft); display: grid; gap: clamp(32px, 4vw, 56px); }
.cta .display { max-width: 14ch; }
@media (min-width: 900px) {
  .cta { grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: end; }
  .cta .display { grid-column: 1 / span 9; max-width: none; font-size: clamp(56px, 8.4vw, 160px); }
  .cta .actions { grid-column: 10 / -1; justify-content: flex-end; padding-bottom: 1.2vw; }
}

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #DFEBF6; padding: clamp(64px, 8vw, 120px) var(--gutter) 28px; overflow: hidden; }
[data-theme="dark"] .site-footer { background: #0b1013; }
.footer-grid { display: grid; gap: 40px; }
.footer-about img { height: 56px; width: auto; }
.footer-about p { margin-top: 20px; max-width: 26rem; color: rgba(223, 235, 246, 0.72); font-size: 15px; }
.site-footer nav, .footer-contact { display: grid; align-content: start; gap: 10px; font-size: 15px; }
.site-footer .mono { color: #AAC7D8; margin-bottom: 8px; }
.site-footer nav a, .footer-contact a { color: rgba(223, 235, 246, 0.8); width: fit-content; transition: color .3s; }
.site-footer nav a:hover, .footer-contact a:hover { color: #fff; }
.footer-contact p:not(.mono) { color: rgba(223, 235, 246, 0.72); margin-top: 8px; }
.footer-contact strong { display: block; color: #fff; font-weight: 500; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); } .footer-about { grid-column: 1 / span 4; } .site-footer nav:nth-of-type(1) { grid-column: 6 / span 2; } .site-footer nav:nth-of-type(2) { grid-column: 8 / span 2; } .footer-contact { grid-column: 10 / -1; } }
.footer-word { font: 400 calc((100vw - 2 * var(--gutter)) / 7)/0.82 var(--serif); display: inline-block; letter-spacing: -0.05em; color: #fff; margin: clamp(56px, 8vw, 120px) 0 clamp(20px, 2vw, 32px); white-space: nowrap; opacity: .96; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 20px; border-top: 1px solid rgba(170, 199, 216, 0.22); font-size: 13.5px; color: rgba(223, 235, 246, 0.6); }
.footer-disclosure { margin-top: 14px; font-size: 12.5px; color: rgba(223, 235, 246, 0.5); }
.footer-disclosure summary { cursor: pointer; list-style: none; color: rgba(223, 235, 246, 0.62); width: fit-content; }
.footer-disclosure summary::after { content: " ›"; display: inline-block; transition: transform .3s; }
.footer-disclosure[open] summary::after { transform: rotate(90deg); }
.footer-disclosure p { margin-top: 10px; max-width: 64rem; line-height: 1.6; }

/* ---------- motion: initial states (only when JS + motion are on) ---------- */
.js.motion [data-fade] { opacity: 0; transform: translateY(24px); }
.js.motion .hero-title .line > span { transform: translateY(105%); }
.js.motion [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.js.motion [data-split] .w > span { display: inline-block; transform: translateY(105%); }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; overflow-x: auto; padding: 0 var(--gutter) 12px; scroll-snap-type: x mandatory; }
  .marquee-track { animation: none; }
  .marquee-track li { scroll-snap-align: start; }
  * { transition-duration: 0.01ms !important; }
}

/* =====================================================================
   INNER PAGES
   ===================================================================== */

/* ---------- product palettes (shade scales from each product colour) ---------- */
body { --pc-50: #F3F7FB; --pc-100: var(--ice); --pc-300: var(--mist); --pc-500: var(--slate); --pc-700: var(--ink); --pc-900: #1c262c; }
body[data-product="clinical"]   { --pc-50: #eef9fa; --pc-100: #d5f0f3; --pc-300: #7cc9d3; --pc-500: #0c7c8a; --pc-700: #075a65; --pc-900: #063c44; }
body[data-product="inspection"] { --pc-50: #eef4ff; --pc-100: #d8e6ff; --pc-300: #84aef3; --pc-500: #0f62d6; --pc-700: #0a469c; --pc-900: #082f66; }
body[data-product="datacenter"] { --pc-50: #ecf8fb; --pc-100: #d2eef5; --pc-300: #78c4d8; --pc-500: #0b7a94; --pc-700: #07586b; --pc-900: #053a47; }
body[data-product="crm"]        { --pc-50: #f4f0fe; --pc-100: #e5dcfd; --pc-300: #b29cf5; --pc-500: #6d3ee8; --pc-700: #4f25b8; --pc-900: #33187a; }
[data-theme="dark"] body[data-product] { --pc-50: color-mix(in srgb, var(--pc-500) 14%, #12181c); --pc-100: color-mix(in srgb, var(--pc-500) 28%, #12181c); --pc-700: var(--pc-300); }
body[data-product] main { --btn: var(--pc-700); --btn-hover: var(--pc-500); }
[data-theme="dark"] body[data-product] main { --btn: var(--pc-300); --btn-fg: #0f1418; --btn-hover: #fff; }
body[data-product] main .label { color: var(--pc-500); }
[data-theme="dark"] body[data-product] main .label { color: var(--pc-300); }
body[data-product] main .link::before { background: var(--pc-500); }

/* ---------- page hero ---------- */
.page-hero { padding: clamp(40px, 6vw, 96px) var(--gutter) clamp(56px, 7vw, 112px); display: grid; gap: clamp(28px, 3vw, 44px); position: relative; }
.page-hero h1 { font-size: var(--fs-display); line-height: 0.98; letter-spacing: -0.035em; max-width: 16ch; }
.page-hero .lead { max-width: 38rem; }
@media (min-width: 900px) {
  .page-hero { grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: end; }
  .page-hero > .label { grid-column: 1 / -1; }
  .page-hero h1 { grid-column: 1 / span 8; }
  .page-hero .hero-side { grid-column: 9 / -1; display: grid; gap: 28px; }
  .page-hero.wide h1 { grid-column: 1 / -1; max-width: 20ch; }
  .page-hero.wide .hero-side { grid-column: 7 / -1; }
}
.page-hero::after { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); bottom: 0; height: 1px; background: var(--line-soft); }

/* product hero: tinted band with the illustration */
.p-hero { background: linear-gradient(180deg, var(--pc-50), var(--bg) 92%); padding: clamp(36px, 5vw, 80px) var(--gutter) clamp(56px, 6vw, 96px); display: grid; gap: clamp(32px, 4vw, 56px); align-items: center; }
.p-hero h1 { font-size: clamp(44px, 6vw, 112px); line-height: 0.96; letter-spacing: -0.035em; margin: 22px 0 28px; }
.p-hero h1 em { font-style: normal; color: var(--pc-500); }
[data-theme="dark"] .p-hero h1 em { color: var(--pc-300); }
.p-hero .lead { margin-bottom: 32px; }
.p-hero-art { border-radius: 24px; overflow: hidden; aspect-ratio: 1; border: 1px solid var(--pc-100); box-shadow: 0 40px 100px -40px color-mix(in srgb, var(--pc-700) 45%, transparent); }
@media (min-width: 1024px) {
  .p-hero { grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); min-height: calc(100svh - var(--header-h) - 37px); }
  .p-hero-copy { grid-column: 1 / span 6; }
  .p-hero-art { grid-column: 7 / -1; aspect-ratio: auto; height: min(72svh, 46vw); }
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.chips li { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; padding: 8px 12px; border-radius: 999px; background: var(--pc-100); color: var(--pc-700); }
[data-theme="dark"] .chips li { color: var(--pc-300); }

/* ---------- generic section scaffolding ---------- */
.sec { padding: var(--sec) var(--gutter); border-top: 1px solid var(--line-soft); }
.sec.flush { padding-left: 0; padding-right: 0; }
.sec > .sec-head { padding: 0; }
.sec.flush > .sec-head { padding: 0 var(--gutter); }
.split { display: grid; gap: clamp(32px, 4vw, 56px); }
.split h2 { font-size: var(--fs-h2); }
@media (min-width: 1024px) {
  .split { grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: start; }
  .split > .split-head { grid-column: 1 / span 5; position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 22px; }
  .split > .split-body { grid-column: 7 / -1; }
}
.split-head .lead { font-size: 17px; }

/* numbered ledger */
.ledger { border-top: 1px solid var(--line); counter-reset: led; }
.ledger > li { counter-increment: led; display: grid; grid-template-columns: 3rem 1fr; column-gap: 16px; padding: clamp(22px, 2.4vw, 32px) 0; border-bottom: 1px solid var(--line-soft); }
.ledger > li::before { content: counter(led, decimal-leading-zero); font-family: var(--mono); font-size: 12.5px; color: var(--pc-500, var(--fg-3)); padding-top: .55em; }
.ledger strong { display: block; font: 400 clamp(22px, 1.1rem + 0.8vw, 32px)/1.15 var(--serif); letter-spacing: -0.02em; }
.ledger span { display: block; margin-top: 8px; color: var(--fg-2); max-width: 36rem; }
.ledger.plain > li { grid-template-columns: 1fr; }
.ledger.plain > li::before { display: none; }

/* grid of short items */
.cells { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); border-top: 1px solid var(--line); }
.cells > * { padding: 28px var(--gap) 28px 0; border-bottom: 1px solid var(--line-soft); }
.cells strong { display: block; font: 400 clamp(21px, 1rem + 0.6vw, 27px)/1.2 var(--serif); letter-spacing: -0.015em; margin-bottom: 10px; }
.cells p { color: var(--fg-2); font-size: 16px; }
.cells .tag { display: inline-block; margin-top: 14px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--pc-500, var(--fg-3)); }
@media (min-width: 900px) { .cells > * + * { padding-left: var(--gap); border-left: 1px solid var(--line-soft); } .cells.c2 { grid-template-columns: 1fr 1fr; } .cells.c3 { grid-template-columns: repeat(3, 1fr); } .cells.c4 { grid-template-columns: repeat(4, 1fr); } .cells.c2 > :nth-child(odd), .cells.c3 > :nth-child(3n+1), .cells.c4 > :nth-child(4n+1) { padding-left: 0; border-left: 0; } }

/* ---------- statement band (product dark shade) ---------- */
.statement { background: var(--pc-900); color: #fff; padding: clamp(110px, 14vw, 240px) var(--gutter); position: relative; overflow: hidden; }
.statement::before { content: ""; position: absolute; width: 70vw; aspect-ratio: 1; right: -20vw; top: -30vw; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--pc-500) 55%, transparent), transparent 65%); opacity: .55; }
.statement .label { color: var(--pc-300) !important; position: relative; }
.statement h2 { font-size: clamp(42px, 6.6vw, 124px); line-height: 0.98; letter-spacing: -0.035em; margin: 28px 0 36px; max-width: 17ch; position: relative; }
.statement p:not(.label) { max-width: 40rem; color: rgba(255,255,255,.78); font-size: var(--fs-lead); position: relative; }
.statement h2 .dim { color: var(--pc-300); }

/* ---------- pinned horizontal workflow ---------- */
.flow { border-top: 1px solid var(--line-soft); padding: var(--sec) 0; overflow: hidden; }
.flow-track { display: grid; gap: 0; padding: 0 var(--gutter); counter-reset: fl; }
.flow-step { counter-increment: fl; padding: 28px 0 32px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.flow-step .num { font: 400 clamp(56px, 6vw, 108px)/0.85 var(--serif); color: var(--pc-500, var(--fg)); letter-spacing: -0.04em; }
.flow-step .num::before { content: counter(fl, decimal-leading-zero); }
.flow-step strong { font: 400 clamp(26px, 1.2rem + 1.2vw, 42px)/1.08 var(--serif); letter-spacing: -0.02em; }
.flow-step p { color: var(--fg-2); max-width: 26rem; }
.flow-step .tag { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3); margin-top: 6px; }
.flow-bar { display: none; }
@media (min-width: 1024px) {
  .flow.is-pinned { padding: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; }
  .flow.is-pinned .sec-head { margin-bottom: clamp(32px, 4vw, 64px); }
  .flow.is-pinned .flow-track { display: flex; width: max-content; gap: var(--gap); }
  .flow.is-pinned .flow-step { width: clamp(340px, 30vw, 460px); flex: none; border-top: 0; padding: 0 var(--gap) 0 0; border-right: 1px solid var(--line-soft); align-content: start; }
  .flow.is-pinned .flow-step:last-child { border-right: 0; }
  .flow.is-pinned .flow-bar { display: block; margin: clamp(32px, 4vw, 56px) var(--gutter) 0; height: 2px; background: var(--line-soft); position: relative; }
  .flow.is-pinned .flow-bar i { position: absolute; inset: 0; background: var(--pc-500, var(--fg)); transform-origin: left; transform: scaleX(0); }
}

/* ---------- pricing tiers ---------- */
.tiers { display: grid; gap: var(--gap); }
.tier { padding: clamp(28px, 3vw, 40px); border-radius: 20px; border: 1px solid var(--line-soft); display: grid; align-content: start; gap: 14px; transition: border-color .4s, transform .6s var(--ease); }
.tier:hover { border-color: var(--pc-300); transform: translateY(-4px); }
.tier.featured { background: var(--pc-50); border-color: var(--pc-100); }
.tier .label { margin-bottom: 4px; }
.tier h3 { font-size: clamp(30px, 2.6vw, 44px); }
.tier p { color: var(--fg-2); }
.tier ul { margin-top: 10px; border-top: 1px solid var(--line-soft); }
.tier li { padding: 12px 0 12px 26px; border-bottom: 1px solid var(--line-soft); position: relative; font-size: 15.5px; }
.tier li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 12px; height: 7px; border-left: 2px solid var(--pc-500); border-bottom: 2px solid var(--pc-500); transform: rotate(-45deg); }
.note { margin-top: 28px; padding-left: 18px; border-left: 2px solid var(--pc-500, var(--fg-2)); color: var(--fg-2); max-width: 46rem; font-size: 15.5px; }
@media (min-width: 900px) { .tiers { grid-template-columns: repeat(3, 1fr); } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line-soft); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 24px 0; font: 400 clamp(20px, 1rem + 0.6vw, 27px)/1.25 var(--serif); letter-spacing: -0.015em; transition: color .3s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--pc-500, var(--fg-2)); }
.faq summary i { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); position: relative; transition: background-color .3s, border-color .3s, transform .5s var(--ease); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; translate: -50% -50%; }
.faq summary i::after { rotate: 90deg; transition: rotate .4s var(--ease); }
.faq details[open] summary i { background: var(--pc-500, var(--fg)); border-color: var(--pc-500, var(--fg)); color: #fff; }
.faq details[open] summary i::after { rotate: 0deg; }
.faq .ans { overflow: hidden; }
.faq .ans p { padding: 0 0 28px; color: var(--fg-2); max-width: 46rem; }

/* ---------- product CTA ---------- */
body[data-product] .cta { background: var(--pc-50); border-top: 0; }
.cta .lead { grid-column: 1 / -1; }
@media (min-width: 900px) { .cta .cta-lead { grid-column: 1 / span 6; } }

/* ---------- link cards row ---------- */
.linkrow { display: grid; border-top: 1px solid var(--line); }
.linkrow a { display: grid; grid-template-columns: 1fr auto; gap: 6px 24px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line-soft); }
.linkrow strong { font: 400 clamp(22px, 1rem + 1vw, 34px)/1.15 var(--serif); letter-spacing: -0.02em; transition: transform .6s var(--ease), color .3s; }
.linkrow span { grid-column: 1; color: var(--fg-3); font-size: 15px; }
.linkrow a::after { content: "→"; grid-column: 2; grid-row: 1 / span 2; font-size: 24px; transition: transform .5s var(--ease); }
.linkrow a:hover strong { transform: translateX(10px); color: var(--pc-500, var(--fg)); }
.linkrow a:hover::after { transform: translateX(6px); }

/* ---------- media figures (real model output) ---------- */
.frames { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.frames figure { margin: 0; }
.frames img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 14px; background: var(--ice); transition: transform .8s var(--ease); }
.frames figure:hover img { transform: scale(1.03); }
.frames figcaption { margin-top: 12px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; }
.frames figcaption span { display: block; margin-top: 4px; font-family: var(--sans); letter-spacing: 0; font-size: 14px; color: var(--fg-3); }
.frames .bad figcaption { color: #b42318; }
.frames .ok figcaption { color: #0f7536; }
.hscroll { display: flex; gap: var(--gap); overflow-x: auto; padding: 0 var(--gutter) 16px; scroll-snap-type: x mandatory; scrollbar-width: thin; cursor: grab; }
.hscroll figure { flex: none; width: clamp(240px, 24vw, 340px); scroll-snap-align: start; }
.hscroll.dragging { cursor: grabbing; scroll-snap-type: none; }

/* ---------- sticky media story (platform modules) ---------- */
.story { display: grid; gap: var(--gap); padding: 0 var(--gutter); }
.story-media { position: relative; border-radius: 22px; overflow: hidden; background: var(--ice); aspect-ratio: 4 / 3; }
.story-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .8s var(--ease-out), transform 1.4s var(--ease-out); }
.story-media img.is-on { opacity: 1; transform: none; }
.story-item { padding: 40px 0; border-top: 1px solid var(--line); display: grid; gap: 16px; }
.story-item h3 { font-size: var(--fs-h3); }
.story-item p { color: var(--fg-2); max-width: 34rem; }
.story-item ul { display: grid; gap: 8px; margin-top: 4px; }
.story-item li { padding-left: 22px; position: relative; color: var(--fg-2); }
.story-item li::before { content: ""; position: absolute; left: 0; top: .7em; width: 10px; height: 1px; background: var(--pc-500, var(--fg)); }
.control { margin-top: 6px; padding: 14px 16px; border-radius: 12px; background: var(--pc-50); color: var(--fg); font-size: 15px; }
.control b { font-family: var(--mono); font-weight: 400; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--pc-500); display: block; margin-bottom: 4px; }
@media (min-width: 1024px) {
  .story { grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: start; }
  .story-media { grid-column: 1 / span 6; position: sticky; top: calc(var(--header-h) + 24px); aspect-ratio: auto; height: calc(100svh - var(--header-h) - 64px); }
  .story-list { grid-column: 8 / -1; }
  .story-item { min-height: 80svh; align-content: center; border-top: 0; opacity: .3; transition: opacity .6s var(--ease-out); }
  .story-item.is-on { opacity: 1; }
  .story-item + .story-item { border-top: 1px solid var(--line-soft); }
}
@media (max-width: 1023px) { .story-media { display: none; } .story-item .m-img { display: block; border-radius: 14px; aspect-ratio: 4/3; object-fit: cover; width: 100%; } }
@media (min-width: 1024px) { .story-item .m-img { display: none; } }

/* ---------- tabs ---------- */
.tabs-nav { display: flex; gap: 6px; flex-wrap: wrap; padding: 6px; border-radius: 999px; background: var(--line-soft); width: fit-content; position: relative; }
.tabs-nav button { position: relative; z-index: 1; border: 0; background: none; cursor: pointer; padding: 12px 20px; border-radius: 999px; font: 500 15px/1 var(--sans); color: var(--fg-2); transition: color .3s; }
.tabs-nav button[aria-selected="true"] { color: var(--fg); }
.tabs-nav .pill { position: absolute; z-index: 0; top: 6px; bottom: 6px; border-radius: 999px; background: var(--bg); box-shadow: 0 6px 20px rgba(41,53,60,.12); transition: left .55s var(--ease), width .55s var(--ease); }
.tab-panel[hidden] { display: none; }
.tab-panel { margin-top: clamp(40px, 5vw, 72px); }
.status { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; padding: 8px 12px; border-radius: 999px; background: var(--ice); color: var(--ink); }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #0f7536; box-shadow: 0 0 0 4px rgba(15,117,54,.15); }
.status.exp::before { background: #b26b00; box-shadow: 0 0 0 4px rgba(178,107,0,.15); }
[data-theme="dark"] .status { background: var(--line-soft); color: var(--fg); }

/* ---------- filters (insights) ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; padding: 0 var(--gutter); }
.filters button { border: 1px solid var(--line); background: none; cursor: pointer; padding: 10px 16px; border-radius: 999px; font: 500 14.5px/1 var(--sans); color: var(--fg-2); transition: all .3s; }
.filters button:hover { border-color: var(--fg-2); color: var(--fg); }
.filters button[aria-pressed="true"] { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.rows li.is-hidden { display: none; }

/* ---------- compliance ledger ---------- */
.comp { border-top: 2px solid var(--fg); }
.comp > div { display: grid; gap: 10px; padding: 26px 0; border-bottom: 1px solid var(--line-soft); }
.comp dt { font: 400 clamp(22px, 1rem + 0.8vw, 30px)/1.15 var(--serif); }
.comp dt small { display: inline-block; margin-left: 12px; vertical-align: middle; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; background: var(--ice); color: var(--ink); }
.comp dd { color: var(--fg-2); max-width: 42rem; }
@media (min-width: 900px) { .comp > div { grid-template-columns: 5fr 7fr; column-gap: var(--gap); } }

/* ---------- triage (industries) ---------- */
.triage { display: grid; gap: var(--gap); margin-top: 40px; }
.triage > div { padding: 28px; border-radius: 18px; background: var(--line-soft); display: grid; gap: 12px; }
.triage b { font-family: var(--mono); font-weight: 400; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.triage b::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--dot); }
@media (min-width: 900px) { .triage { grid-template-columns: repeat(3, 1fr); } }

/* industry accordion rows */
.ind-rows { border-top: 1px solid var(--line); }
.ind-rows details { border-bottom: 1px solid var(--line-soft); }
.ind-rows summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; padding: clamp(24px, 2.6vw, 36px) 0; align-items: center; }
.ind-rows summary::-webkit-details-marker { display: none; }
.ind-rows summary strong { font: 400 clamp(28px, 1rem + 2.4vw, 56px)/1.04 var(--serif); letter-spacing: -0.03em; transition: transform .6s var(--ease); }
.ind-rows summary:hover strong { transform: translateX(10px); }
.ind-rows summary span { grid-column: 1; color: var(--fg-2); }
.ind-rows summary i { grid-row: 1 / span 2; grid-column: 2; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); position: relative; }
.ind-rows summary i::before, .ind-rows summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: currentColor; translate: -50% -50%; }
.ind-rows summary i::after { rotate: 90deg; transition: rotate .4s var(--ease); }
.ind-rows details[open] summary i::after { rotate: 0deg; }
.ind-body { display: grid; gap: 24px; padding: 0 0 40px; }
.ind-body p { color: var(--fg-2); max-width: 40rem; }
.ind-body .chips { margin-top: 0; }
.ind-body .chips li { background: var(--ice); color: var(--ink); }
.boundary { padding-left: 16px; border-left: 2px solid #b26b00; color: var(--fg); max-width: 40rem; }
.boundary b { font-family: var(--mono); font-weight: 400; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: #b26b00; display: block; margin-bottom: 4px; }
@media (min-width: 1024px) { .ind-body { grid-template-columns: 1fr 1fr; column-gap: var(--gap); } }

/* ---------- article ---------- */
.article-hero { padding: clamp(40px, 6vw, 96px) var(--gutter) clamp(40px, 4vw, 64px); display: grid; gap: 28px; justify-items: start; }
.article-hero h1 { font-size: clamp(44px, 6.4vw, 112px); line-height: 0.98; letter-spacing: -0.035em; max-width: 18ch; }
.article-hero .lead { max-width: 42rem; }
.article-hero .meta { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.article-hero .meta a { font-family: var(--mono); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-2); }
.article-media { margin: 0 var(--gutter); border-radius: 22px; overflow: hidden; height: min(70svh, 52vw); }
.article-media img { width: 100%; height: 118%; object-fit: cover; }
.article { padding: clamp(64px, 8vw, 128px) var(--gutter); display: grid; gap: 0; }
.article > * { width: 100%; max-width: 42rem; justify-self: center; }
.article .short { max-width: 52rem; margin-bottom: clamp(48px, 6vw, 88px); padding: clamp(28px, 3vw, 40px); border-radius: 20px; background: var(--pc-50); font: 400 clamp(22px, 1rem + 1vw, 32px)/1.3 var(--serif); letter-spacing: -0.015em; }
.article .short .label { display: block; margin-bottom: 14px; font-family: var(--mono); font-size: 12px; }
.article h2 { font-size: clamp(30px, 1.2rem + 1.6vw, 46px); margin: clamp(48px, 5vw, 72px) 0 20px; }
.article p { font-size: 18.5px; line-height: 1.7; color: var(--fg-2); margin-bottom: 20px; }
.article blockquote { margin: 40px 0; max-width: 52rem; padding: 0 0 0 clamp(18px, 2vw, 28px); border-left: 2px solid var(--pc-500, var(--fg)); font: 400 clamp(26px, 1.1rem + 1.4vw, 40px)/1.22 var(--serif); letter-spacing: -0.02em; color: var(--fg); }
.article ul, .article ol { margin: 8px 0 28px; border-top: 1px solid var(--line); }
.article li { padding: 14px 0 14px 28px; border-bottom: 1px solid var(--line-soft); position: relative; font-size: 17px; color: var(--fg-2); line-height: 1.55; }
.article ul li::before { content: ""; position: absolute; left: 4px; top: 1.45em; width: 12px; height: 1px; background: var(--pc-500, var(--fg)); }
.article ol { counter-reset: ao; }
.article ol li { counter-increment: ao; }
.article ol li::before { content: counter(ao, decimal-leading-zero); position: absolute; left: 0; top: 16px; font-family: var(--mono); font-size: 12px; color: var(--pc-500, var(--fg-3)); }
.progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; z-index: 60; background: var(--pc-500, var(--fg)); transform-origin: left; transform: scaleX(0); }

/* ---------- forms ---------- */
.form { display: grid; gap: 22px; }
.form .row2 { display: grid; gap: 22px; }
@media (min-width: 700px) { .form .row2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-2); }
.field input, .field select, .field textarea { font: 400 18px/1.4 var(--sans); color: var(--fg); background: transparent; border: 0; border-bottom: 1px solid var(--line); padding: 12px 0; border-radius: 0; transition: border-color .3s; width: 100%; }
.field select { appearance: none; background: linear-gradient(45deg, transparent 50%, currentColor 50%) right 6px center / 7px 7px no-repeat, linear-gradient(-45deg, transparent 50%, currentColor 50%) right 0 center / 7px 7px no-repeat; padding-right: 28px; }
.field select option { color: #29353C; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--fg); box-shadow: 0 1px 0 var(--fg); }
.field .err { color: #b42318; font-size: 14px; min-height: 0; }
.field.bad input, .field.bad textarea { border-bottom-color: #b42318; }
.field .hint { color: var(--fg-3); font-size: 14px; }
.form-done { padding: 28px; border-radius: 18px; background: var(--ice); color: var(--ink); }
.form-done strong { display: block; font: 400 28px/1.2 var(--serif); margin-bottom: 8px; }

/* ---------- big contact links / clocks ---------- */
.bigline { display: grid; gap: 4px; }
.bigline a { font: 400 clamp(28px, 1rem + 2.6vw, 60px)/1.1 var(--serif); letter-spacing: -0.025em; width: fit-content; background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat; transition: background-size .6s var(--ease); }
.bigline a:hover { background-size: 100% 1px; }
.places { display: grid; gap: var(--gap); }
.place { padding: clamp(28px, 3vw, 44px); border-radius: 22px; background: var(--line-soft); display: grid; gap: 16px; align-content: start; }
.place .clock { font: 400 clamp(56px, 7vw, 120px)/0.9 var(--serif); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.place .clock small { font-family: var(--mono); font-size: 13px; letter-spacing: .1em; margin-left: 10px; vertical-align: top; color: var(--fg-3); }
.place address { font-style: normal; color: var(--fg-2); }
.place h3 { font-family: var(--mono); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-2); }
@media (min-width: 900px) { .places { grid-template-columns: 1fr 1fr; } }

/* ---------- big word marquee (about) ---------- */
.wordline { overflow: hidden; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); padding: clamp(20px, 2.4vw, 36px) 0; }
.wordline ul { display: flex; width: max-content; gap: clamp(28px, 3vw, 56px); animation: marquee 48s linear infinite; }
.wordline li { font: 400 clamp(40px, 5.6vw, 96px)/1 var(--serif); letter-spacing: -0.035em; white-space: nowrap; display: flex; align-items: center; gap: clamp(28px, 3vw, 56px); }
.wordline li::after { content: ""; width: .28em; height: .28em; border-radius: 50%; background: var(--mist); }
.wordline li:nth-child(even) { color: var(--fg-3); }

/* ---------- roles (career) ---------- */
.roles { border-top: 1px solid var(--line); }
.roles li { display: grid; grid-template-columns: 1fr auto; gap: 6px 24px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--line-soft); }
.roles strong { font: 400 clamp(24px, 1rem + 1.4vw, 40px)/1.1 var(--serif); letter-spacing: -0.02em; }
.roles .cat { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); }
.roles p { grid-column: 1; color: var(--fg-2); }
.roles button { grid-column: 2; grid-row: 1 / span 3; border: 1px solid var(--line); background: none; border-radius: 999px; padding: 12px 18px; font: 500 14.5px/1 var(--sans); color: var(--fg); cursor: pointer; transition: all .35s var(--ease-out); }
.roles button:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }

/* ---------- 404 ---------- */
.lost { min-height: calc(100svh - var(--header-h) - 37px); display: grid; align-content: center; gap: 28px; padding: var(--gutter); }
.lost h1 { font-size: clamp(120px, 26vw, 420px); line-height: .8; letter-spacing: -0.06em; color: var(--mist); }
.lost p { font: 400 clamp(26px, 1rem + 1.6vw, 44px)/1.2 var(--serif); max-width: 22ch; }

/* reduced motion */
@media (prefers-reduced-motion: reduce) { .wordline ul { animation: none; flex-wrap: wrap; width: auto; } }
.page-hero h1.hero-title, .article-hero h1.hero-title { margin: 0; align-self: auto; }
.bigline a { overflow-wrap: anywhere; font-size: clamp(26px, 1rem + 2vw, 48px); }
@media (min-width: 900px) { .page-hero .hero-side.bigline { grid-column: 7 / -1; justify-items: end; text-align: right; } }
.split-head > .status { justify-self: start; }
.hscroll { scroll-padding-inline: var(--gutter); }
html:not(.motion) .story-item { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .wordline li.dup { display: none; } .wordline ul { justify-content: center; padding: 0 var(--gutter); row-gap: 12px; } }
body[data-product] main .rows .label { color: var(--c, var(--pc-500)); }
@media (min-width: 900px) { .sec-head-split .sec-side { grid-column: 9 / -1; } }

/* ---------- real product screens / photo strips ---------- */
.shots figure { flex: none; width: clamp(300px, 46vw, 760px); margin: 0; scroll-snap-align: start; }
.shots.photos figure { width: clamp(260px, 30vw, 460px); }
.shot-frame { border-radius: 16px; overflow: hidden; background: var(--bg); border: 1px solid var(--line-soft); box-shadow: 0 30px 70px -36px color-mix(in srgb, var(--pc-700, #29353C) 55%, transparent); transition: transform .7s var(--ease), box-shadow .5s; cursor: zoom-in; }
.shot-frame::before { content: ""; display: block; height: 30px; background: radial-gradient(circle at 16px 15px, #ff5f57 4.5px, transparent 5px), radial-gradient(circle at 32px 15px, #febc2e 4.5px, transparent 5px), radial-gradient(circle at 48px 15px, #28c840 4.5px, transparent 5px), var(--line-soft); }
.shot-frame img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.photos .shot-frame::before { display: none; }
.photos .shot-frame { box-shadow: none; border: 0; }
.photos .shot-frame img { aspect-ratio: 4 / 3; object-position: center; }
.shots figure:hover .shot-frame { transform: translateY(-6px); }
.shots figcaption { margin-top: 16px; font: 400 clamp(19px, 1rem + 0.4vw, 24px)/1.25 var(--serif); letter-spacing: -0.015em; }
.shots figcaption span { display: block; margin-top: 6px; font: 400 14.5px/1.5 var(--sans); letter-spacing: 0; color: var(--fg-3); max-width: 34rem; }
.shots-note { margin: 28px var(--gutter) 0; }
.tab-shot { margin: 40px 0 0; }
.tab-shot .shot-frame img { aspect-ratio: 16 / 10; }
.tab-shot figcaption { margin-top: 12px; color: var(--fg-3); font-size: 14.5px; }

/* lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1400px, 94vw); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(18, 24, 28, .82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lightbox img { display: block; max-width: 100%; max-height: 82vh; border-radius: 14px; box-shadow: 0 40px 120px rgba(0,0,0,.5); }
.lightbox p { color: #DFEBF6; margin-top: 14px; font-size: 15px; }
.lightbox button { position: absolute; top: -48px; right: 0; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 22px; cursor: pointer; }
.lightbox[open] { animation: lb-in .45s var(--ease-out); }
@keyframes lb-in { from { opacity: 0; transform: scale(.96); } }

/* ---------- world map (about) ---------- */
.worldmap { margin: 0 0 var(--gap); border-radius: 22px; background: var(--line-soft); padding: clamp(20px, 4vw, 56px); position: relative; overflow: hidden; }
.worldmap svg { display: block; width: 100%; height: auto; color: var(--mist); }
[data-theme="dark"] .worldmap svg { color: #3a4a54; }
.worldmap .pin-dot { fill: var(--ink); }
[data-theme="dark"] .worldmap .pin-dot { fill: var(--ice); }
.worldmap .pin-halo { fill: color-mix(in srgb, var(--slate) 22%, transparent); }
.worldmap .pin-ring { fill: none; stroke: var(--slate); stroke-width: 1; }
.worldmap .arc { fill: none; stroke: var(--slate); stroke-width: 1.1; stroke-dasharray: 2.5 3.5; }
.worldmap .arc-run { fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linecap: round; }
[data-theme="dark"] .worldmap .arc-run { stroke: var(--ice); }
.worldmap .tag { font: 500 7px/1 var(--mono); letter-spacing: .08em; fill: var(--ink); text-transform: uppercase; }
[data-theme="dark"] .worldmap .tag { fill: var(--ice); }
.worldmap figcaption { margin-top: 18px; color: var(--fg-3); font-size: 14.5px; max-width: 44rem; }
@media (prefers-reduced-motion: reduce) { .worldmap animate, .worldmap animateMotion { display: none; } }

/* =====================================================================
   v5 — HOME "LIVE HANDOFF" HERO
   ===================================================================== */
.hero-live { --hc: var(--teal); position: relative; overflow: hidden; display: grid; gap: clamp(36px, 5vw, 64px); align-items: center; grid-template-rows: none;
  background: radial-gradient(70% 90% at 85% 40%, color-mix(in srgb, var(--hc) 13%, transparent), transparent 70%), linear-gradient(180deg, #F3F7FB, var(--bg) 95%);
  transition: background-color .8s; }
.hero-live::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image: linear-gradient(var(--line-soft) 1px, transparent 1px), linear-gradient(90deg, var(--line-soft) 1px, transparent 1px); background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(80% 70% at 75% 45%, #000, transparent 75%); mask-image: radial-gradient(80% 70% at 75% 45%, #000, transparent 75%); }
[data-theme="dark"] .hero-live { background: radial-gradient(70% 90% at 85% 40%, color-mix(in srgb, var(--hc) 20%, transparent), transparent 70%), var(--bg); }
.hero-live > * { position: relative; }
.hero-live .hero-title { font-size: clamp(48px, 6.6vw, 124px); margin: clamp(24px, 3vw, 40px) 0 clamp(24px, 2.6vw, 36px); }
.hero-live .hero-title .l2 { text-align: left; }
.hero-live .lead { margin-bottom: 32px; }
@media (min-width: 1024px) {
  .hero-live { grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); }
  .hero-live-copy { grid-column: 1 / span 6; }
  .hero-live .live { grid-column: 7 / -1; }
}

.live { display: grid; gap: 14px; }
.live-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.live-tabs button { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-soft); background: color-mix(in srgb, var(--bg) 80%, transparent); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  padding: 9px 14px; border-radius: 999px; font: 500 14px/1 var(--sans); color: var(--fg-2); cursor: pointer; transition: all .35s var(--ease-out); }
.live-tabs button i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); opacity: .45; transition: opacity .3s, box-shadow .3s; }
.live-tabs button[aria-selected="true"] { color: var(--fg); border-color: color-mix(in srgb, var(--c) 45%, transparent); background: var(--bg); box-shadow: 0 8px 24px -12px color-mix(in srgb, var(--c) 60%, transparent); }
.live-tabs button[aria-selected="true"] i { opacity: 1; box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 20%, transparent); }
.live-card { display: grid; border-radius: 26px; background: var(--bg); border: 1px solid var(--line-soft); padding: clamp(24px, 3vw, 40px);
  box-shadow: 0 50px 100px -50px color-mix(in srgb, var(--hc) 70%, transparent), 0 2px 0 rgba(255,255,255,.6) inset; transition: box-shadow .8s; }
.live-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease-out), visibility 0s .5s; }
.live-slide.is-on { opacity: 1; visibility: visible; transition: opacity .6s var(--ease-out) .1s; }
.live-kicker { font: 400 12.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--c); margin-bottom: 22px; }
.live-flow { display: grid; gap: 0; }
.node { display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: center; padding: 18px; border-radius: 18px; border: 1px solid var(--line-soft); position: relative; }
.node b { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font: 500 16px/1 var(--mono); letter-spacing: .06em; }
.node span { font: 400 clamp(19px, 1rem + 0.55vw, 26px)/1.25 var(--serif); letter-spacing: -0.015em; color: var(--fg); }
.node.ai b { border: 1.5px dashed var(--c); color: var(--c); }
.node.human { background: color-mix(in srgb, var(--c) 8%, var(--bg)); border-color: color-mix(in srgb, var(--c) 30%, transparent); }
.node.human b { background: var(--c); color: #fff; border-radius: 50%; }
.node.human b svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.node.human em { font-style: normal; color: var(--c); }
.node.human s { position: absolute; right: 16px; top: 16px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; text-decoration: none; font: 700 15px/1 var(--sans); color: #fff; background: #0f7536; transform: scale(0); }
.pipe { height: 54px; margin-left: 45px; width: 2px; background: linear-gradient(var(--c), color-mix(in srgb, var(--c) 30%, transparent)); position: relative; }
.pipe i { position: absolute; left: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--c); top: 0; opacity: 0; }
.live-foot { grid-area: 2 / 1; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line-soft); }
.live-bar { flex: 1; max-width: 220px; height: 2px; background: var(--line-soft); position: relative; overflow: hidden; border-radius: 2px; }
.live-bar i { position: absolute; inset: 0; background: var(--hc); transform-origin: left; transform: scaleX(0); }
/* sequence for the visible slide */
.live-slide.is-on .node.ai { animation: rise .7s var(--ease-out) both .15s; }
.live-slide.is-on .pipe i { animation: drip 1.4s linear infinite; }
.live-slide.is-on .pipe i:nth-child(2) { animation-delay: .47s; }
.live-slide.is-on .pipe i:nth-child(3) { animation-delay: .94s; }
.live-slide.is-on .node.human { animation: rise .7s var(--ease-out) both .55s; }
.live-slide.is-on .node.human s { animation: stamp .55s cubic-bezier(.34,1.56,.64,1) both 1.4s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes drip { 0% { top: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
@keyframes stamp { from { transform: scale(0) rotate(-30deg); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .live-slide.is-on .node.human s { transform: none; } .pipe i { display: none; } }

/* =====================================================================
   v5 — DARK BAND ON HOME (method + numbers)
   ===================================================================== */
.band-dark { --fg: #EEF4FA; --fg-2: #AAC7D8; --fg-3: #8ea2ae; --line: rgba(170,199,216,.28); --line-soft: rgba(170,199,216,.14);
  background: #1d272d; color: var(--fg); border-top: 0 !important; position: relative; overflow: hidden; }
.method.band-dark { padding-bottom: calc(var(--sec) * .7); }
.method.band-dark::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50% 60% at 15% 10%, rgba(12,124,138,.28), transparent 70%), radial-gradient(45% 60% at 90% 30%, rgba(109,62,232,.22), transparent 70%),
  radial-gradient(1.2px 1.2px at 1px 1px, rgba(223,235,246,.16) 1px, transparent 1.5px) 0 0 / 22px 22px; }
.method.band-dark > * { position: relative; }
.band-dark .label { color: #7fd0db; }
.band-dark .link { color: #fff; }
.stats.band-dark { padding-top: 0; padding-bottom: var(--sec); }
.stats.band-dark dd { color: #fff; }
.band-dark .steps::before { background: rgba(255,255,255,.7); }
[data-theme="dark"] .band-dark { background: #0b1013; }

/* =====================================================================
   v5 — COMPACT CALL TO ACTION (before footer, every page)
   ===================================================================== */
.cta { padding: clamp(40px, 5vw, 72px) var(--gutter) !important; border-top: 0; background: transparent !important; display: block; }
.cta-card { --cc: #1d272d; position: relative; overflow: hidden; border-radius: 28px; background: var(--cc); color: #fff;
  padding: clamp(32px, 4vw, 56px) clamp(28px, 4vw, 64px); display: grid; gap: 28px; align-items: center; isolation: isolate; }
body[data-product] .cta-card { --cc: var(--pc-900); }
.cta-card::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(1.2px 1.2px at 1px 1px, rgba(255,255,255,.14) 1px, transparent 1.5px) 0 0 / 20px 20px;
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000); mask-image: linear-gradient(90deg, transparent 30%, #000); }
.cta-card::after { content: ""; position: absolute; z-index: -1; width: 520px; aspect-ratio: 1; right: -160px; top: -260px; border-radius: 50%;
  background: conic-gradient(from 0deg, #0c7c8a, #0f62d6, #0b7a94, #6d3ee8, #0c7c8a); filter: blur(70px); opacity: .45; animation: spin 18s linear infinite; }
body[data-product] .cta-card::after { background: radial-gradient(circle, var(--pc-500), transparent 65%); filter: blur(30px); opacity: .55; animation: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.cta .display, .cta-card h2 { font-size: clamp(32px, 3.4vw, 58px) !important; line-height: 1.02; letter-spacing: -0.03em; max-width: 18ch; color: #fff; margin: 0; }
.cta-card .cta-kicker { font: 400 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(223,235,246,.7); margin-bottom: 14px; display: flex; gap: 10px; align-items: center; }
.cta-card .cta-kicker i { display: inline-flex; gap: 4px; }
.cta-card .cta-kicker i b { width: 7px; height: 7px; border-radius: 50%; display: block; }
.cta-card .actions { --btn: #fff; --btn-fg: #1d272d; --btn-hover: #DFEBF6; gap: 12px 28px; }
.cta-card .link { color: #fff; }
.cta-card .link::before { background: rgba(255,255,255,.6); }
@media (min-width: 900px) {
  .cta-card { grid-template-columns: 1fr auto; }
  .cta-card .actions { justify-content: flex-end; }
}
[data-theme="dark"] .cta-card { --cc: #182026; border: 1px solid var(--line-soft); }

/* =====================================================================
   v5 — FOOTER
   ===================================================================== */
.site-footer { position: relative; isolation: isolate; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; z-index: 1;
  background: linear-gradient(90deg, #0c7c8a 0 25%, #0f62d6 25% 50%, #0b7a94 50% 75%, #6d3ee8 75%); opacity: .9; }
.site-footer::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(1.2px 1.2px at 1px 1px, rgba(223,235,246,.09) 1px, transparent 1.5px) 0 0 / 24px 24px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 60%); mask-image: linear-gradient(180deg, transparent, #000 60%); }
.footer-glow { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.footer-glow i { position: absolute; width: 38vw; aspect-ratio: 1; border-radius: 50%; filter: blur(90px); opacity: .18; bottom: -22vw; animation: drift 22s ease-in-out infinite alternate; }
.footer-glow i:nth-child(1) { left: -8vw; background: #0c7c8a; }
.footer-glow i:nth-child(2) { left: 20vw; background: #0f62d6; animation-delay: -6s; }
.footer-glow i:nth-child(3) { left: 48vw; background: #0b7a94; animation-delay: -11s; }
.footer-glow i:nth-child(4) { left: 74vw; background: #6d3ee8; animation-delay: -16s; }
@keyframes drift { to { transform: translate(6vw, -6vw) scale(1.15); } }
.footer-sign { display: grid; gap: 20px; align-items: end; margin: clamp(56px, 7vw, 104px) 0 clamp(24px, 2.4vw, 36px); padding-top: clamp(32px, 4vw, 56px); border-top: 1px solid rgba(170,199,216,.18); }
.footer-word { font: 400 clamp(48px, 7.2vw, 128px)/0.9 var(--serif) !important; letter-spacing: -0.045em; margin: 0 !important; white-space: nowrap;
  background: linear-gradient(100deg, #fff 20%, #AAC7D8 60%, #fff 90%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent !important;
  animation: sheen 9s ease-in-out infinite; }
@keyframes sheen { 0%,100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }
.footer-motto { font: 400 clamp(18px, 1rem + 0.5vw, 24px)/1.25 var(--serif); color: rgba(223,235,246,.82); }
.footer-motto span { color: #fff; }
.footer-top { display: inline-flex; align-items: center; gap: 10px; width: fit-content; padding: 12px 18px; border-radius: 999px; border: 1px solid rgba(170,199,216,.3); color: #fff; font-size: 14.5px; transition: background-color .3s, border-color .3s; }
.footer-top:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.6); }
.footer-top span { transition: transform .5s var(--ease); }
.footer-top:hover span { transform: translateY(-3px); }
@media (min-width: 1024px) { .footer-sign { grid-template-columns: auto 1fr auto; column-gap: clamp(32px, 4vw, 64px); } .footer-motto { justify-self: end; text-align: right; } }
@media (max-width: 600px) { .footer-word { white-space: normal; } }
@media (prefers-reduced-motion: reduce) { .footer-glow i, .footer-word, .cta-card::after { animation: none; } }
.node.human span { padding-right: 38px; }

/* =====================================================================
   v5 — PAGE HEROES WITH A SIGNATURE VISUAL
   ===================================================================== */
.page-hero.has-visual { align-items: center; padding-top: clamp(32px, 4vw, 72px); padding-bottom: clamp(48px, 5vw, 88px); overflow: hidden; }
.page-hero.has-visual .hero-copy { display: grid; gap: 26px; align-content: center; }
.page-hero.has-visual h1 { max-width: 13ch; }
.hero-visual { position: relative; min-height: clamp(300px, 34vw, 560px); }
@media (min-width: 1024px) {
  .page-hero.has-visual { grid-template-columns: repeat(12, 1fr); }
  .page-hero.has-visual .hero-copy { grid-column: 1 / span 6; }
  .page-hero.has-visual .hero-visual { grid-column: 7 / -1; }
}
@media (max-width: 1023px) { .page-hero.has-visual { grid-template-columns: 1fr; } }

/* About — globe */
.globe { position: absolute; inset: 0; display: grid; place-items: center; cursor: grab; touch-action: pan-y; }
.globe:active { cursor: grabbing; }
.globe canvas { width: 100%; height: 100%; display: block; }
.globe-note { position: absolute; left: 0; bottom: 0; font: 400 12px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3); }

/* Contact — day/night map */
.daymap { position: relative; border-radius: 24px; overflow: hidden; background: #1d272d; aspect-ratio: 360 / 160; isolation: isolate; }
[data-theme="dark"] .daymap { background: #0b1013; border: 1px solid var(--line-soft); }
.daymap canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.daymap .pin { position: absolute; transform: translate(-50%, -50%); z-index: 2; }
.daymap .pin i { display: block; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px rgba(255,255,255,.18); position: relative; }
.daymap .pin i::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgba(255,255,255,.7); animation: ping 2.6s ease-out infinite; }
@keyframes ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(2.6); opacity: 0; } }
.daymap .pin-card { position: absolute; top: 22px; width: max-content; max-width: 220px; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.96); color: #29353C; box-shadow: 0 20px 40px -20px rgba(0,0,0,.5); font-size: 13px; line-height: 1.45; }
.daymap .pin.left .pin-card { left: -8px; }
.daymap .pin.right .pin-card { right: -8px; }
.daymap .pin-card b { display: block; font: 400 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #44576D; margin-bottom: 6px; }
.daymap .pin-card strong { display: flex; align-items: baseline; gap: 8px; font: 400 30px/1 var(--serif); letter-spacing: -.02em; margin-bottom: 6px; }
.daymap .pin-card strong small { font: 500 11px/1 var(--mono); letter-spacing: .08em; padding: 4px 7px; border-radius: 999px; background: #DFEBF6; color: #29353C; }
.daymap .pin-card strong small.night { background: #29353C; color: #DFEBF6; }
.daymap .legend { position: absolute; left: 18px; bottom: 14px; z-index: 2; display: flex; gap: 16px; font: 400 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: rgba(223,235,246,.75); }
.daymap .legend span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 7px; background: #F6D58E; vertical-align: -1px; }
.daymap .legend span + span::before { background: #44576D; }
@media (max-width: 700px) { .daymap { aspect-ratio: 360 / 230; } .daymap .pin-card { font-size: 12px; max-width: 150px; padding: 9px 10px; } .daymap .pin-card strong { font-size: 22px; } .daymap .pin-card address { display: none; } }
.daymap address { font-style: normal; color: #44576D; }
.contact-hero { display: grid; gap: clamp(28px, 3vw, 44px); padding: clamp(32px, 4vw, 72px) var(--gutter) clamp(48px, 5vw, 88px); }
.contact-hero .top { display: grid; gap: 24px; align-items: end; }
.contact-hero h1 { font-size: var(--fs-display); line-height: .98; letter-spacing: -0.035em; margin: 0; }
@media (min-width: 1024px) { .contact-hero .top { grid-template-columns: 1fr auto; } .contact-hero .bigline { text-align: right; justify-items: end; } }

/* Insights — fanned article cards */
.fan { position: absolute; inset: 0; display: grid; place-items: center; perspective: 1400px; }
.fan-card { position: absolute; width: min(78%, 420px); border-radius: 20px; overflow: hidden; background: var(--bg); border: 1px solid var(--line-soft);
  box-shadow: 0 40px 80px -40px rgba(41,53,60,.45); transition: transform .9s var(--ease), opacity .6s, box-shadow .5s; transform-origin: 50% 120%; }
.fan-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.fan-card div { padding: 18px 20px 22px; }
.fan-card span { font: 400 11.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--c); }
.fan-card strong { display: block; margin-top: 10px; font: 400 clamp(19px, 1rem + 0.5vw, 24px)/1.2 var(--serif); letter-spacing: -.015em; color: var(--fg); }
.fan-card[data-pos="0"] { transform: translate(0, 0) rotate(0deg); z-index: 3; }
.fan-card[data-pos="1"] { transform: translate(22%, 6%) rotate(8deg) scale(.94); z-index: 2; opacity: .92; }
.fan-card[data-pos="2"] { transform: translate(-22%, 8%) rotate(-9deg) scale(.9); z-index: 1; opacity: .85; }
.fan:hover .fan-card[data-pos="1"] { transform: translate(38%, 4%) rotate(12deg) scale(.94); }
.fan:hover .fan-card[data-pos="2"] { transform: translate(-38%, 6%) rotate(-13deg) scale(.9); }
.fan-card[data-pos="0"]:hover { box-shadow: 0 50px 90px -40px color-mix(in srgb, var(--c) 70%, transparent); }

/* Career — kinetic role titles */
.kinetic { position: absolute; inset: 0; display: grid; align-content: center; gap: 14px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.kinetic ul { display: flex; gap: 14px; width: max-content; animation: marquee 38s linear infinite; }
.kinetic ul:nth-child(2) { animation-direction: reverse; animation-duration: 44s; }
.kinetic ul:nth-child(3) { animation-duration: 50s; }
.kinetic li { white-space: nowrap; padding: 16px 24px; border-radius: 999px; border: 1px solid var(--line); font: 400 clamp(22px, 1rem + 1vw, 34px)/1 var(--serif); letter-spacing: -.02em; color: var(--fg); background: var(--bg); }
.kinetic li:nth-child(3n+1) { background: #1d272d; color: #fff; border-color: #1d272d; }
.kinetic li:nth-child(4n+2) { background: #DFEBF6; border-color: #DFEBF6; color: #29353C; }
[data-theme="dark"] .kinetic li:nth-child(3n+1) { background: #DFEBF6; color: #29353C; }
.kinetic-badge { position: absolute; right: 0; bottom: 0; z-index: 2; padding: 14px 18px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line-soft); box-shadow: 0 20px 50px -25px rgba(41,53,60,.4); font-size: 14px; color: var(--fg-2); }
.kinetic-badge b { display: block; font: 400 34px/1 var(--serif); color: var(--fg); margin-bottom: 4px; }
@media (prefers-reduced-motion: reduce) { .kinetic ul { animation: none; } .daymap .pin i::after { animation: none; } }
.page-hero.has-visual .hero-copy > * { grid-column: 1 / -1 !important; }
.page-hero.has-visual .hero-copy h1 { max-width: 14ch; }
.daymap-times { display: none; }
@media (max-width: 700px) {
  .daymap .pin-card { display: none; }
  .daymap-times { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
  .daymap-times p { padding: 12px 14px; border-radius: 14px; background: var(--line-soft); display: grid; gap: 4px; }
  .daymap-times b { font: 400 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--fg-2); }
  .daymap-times span { font: 400 28px/1 var(--serif); letter-spacing: -.02em; }
  .daymap-times small { width: fit-content; font: 500 10.5px/1 var(--mono); padding: 4px 7px; border-radius: 999px; background: #DFEBF6; color: #29353C; }
  .daymap-times small.night { background: #29353C; color: #DFEBF6; }
  .fan-card { width: 72%; }
  .fan-card[data-pos="1"] { transform: translate(14%, 5%) rotate(6deg) scale(.92); }
  .fan-card[data-pos="2"] { transform: translate(-14%, 7%) rotate(-7deg) scale(.88); }
  .fan-card strong { font-size: 17px; }
  .hero-visual { min-height: 380px; }
}

/* =====================================================================
   v5.1 — LIGHT-MODE FOOTER (dark mode keeps the dark footer)
   ===================================================================== */
html:not([data-theme="dark"]) .site-footer {
  background: linear-gradient(180deg, #F3F7FB 0%, #EAF2F9 100%); color: var(--ink);
  border-top: 1px solid var(--ice);
}
html:not([data-theme="dark"]) .site-footer::before { height: 2px; opacity: .85; }
html:not([data-theme="dark"]) .site-footer::after {
  background: radial-gradient(1.1px 1.1px at 1px 1px, rgba(68,87,109,.14) 1px, transparent 1.5px) 0 0 / 22px 22px;
  -webkit-mask-image: radial-gradient(70% 90% at 100% 100%, #000, transparent 70%); mask-image: radial-gradient(70% 90% at 100% 100%, #000, transparent 70%);
}
html:not([data-theme="dark"]) .footer-glow i { opacity: .07; filter: blur(110px); }
html:not([data-theme="dark"]) .footer-about p { color: var(--slate); }
html:not([data-theme="dark"]) .site-footer .mono { color: var(--grey); }
html:not([data-theme="dark"]) .site-footer nav a, html:not([data-theme="dark"]) .footer-contact a { color: var(--slate); }
html:not([data-theme="dark"]) .site-footer nav a:hover, html:not([data-theme="dark"]) .footer-contact a:hover { color: var(--ink); }
html:not([data-theme="dark"]) .footer-contact p:not(.mono) { color: var(--slate); }
html:not([data-theme="dark"]) .footer-contact strong { color: var(--ink); }
html:not([data-theme="dark"]) .footer-sign { border-top-color: var(--mist); }
html:not([data-theme="dark"]) .footer-word {
  background: linear-gradient(100deg, #29353C 15%, #44576D 50%, #29353C 85%); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent !important;
}
html:not([data-theme="dark"]) .footer-motto { color: var(--grey); }
html:not([data-theme="dark"]) .footer-motto span { color: var(--ink); }
html:not([data-theme="dark"]) .footer-top { color: var(--ink); border-color: var(--mist); background: rgba(255,255,255,.6); }
html:not([data-theme="dark"]) .footer-top:hover { background: #fff; border-color: var(--ink); }
html:not([data-theme="dark"]) .footer-base { border-top-color: var(--mist); color: var(--grey); }
html:not([data-theme="dark"]) .footer-disclosure, html:not([data-theme="dark"]) .footer-disclosure summary { color: var(--grey); }
.footer-about img { height: 56px; width: auto; }

/* The closing CTA card sits across the top edge of the footer, so the page ends as one composition */
main:has(> section.cta:last-child) { position: relative; z-index: 2; }
main > section.cta:last-child { padding-bottom: 0 !important; margin-bottom: calc(-1 * clamp(70px, 7vw, 110px)); }
main:has(> section.cta:last-child) + .site-footer { padding-top: calc(clamp(70px, 7vw, 110px) + clamp(56px, 6vw, 96px)); }
main:has(> section.cta:last-child) + .site-footer::before { display: none; }
.cta-card { box-shadow: 0 40px 80px -40px rgba(29,39,45,.55); }
@media (max-width: 899px) {
  .footer-grid { grid-template-columns: 1fr 1fr; column-gap: 24px; }
  .footer-about, .footer-contact { grid-column: 1 / -1; }
}

/* =====================================================================
   v5.2 — SMOOTHNESS
   ===================================================================== */
/* 1. Theme switch: everything changes in the same frame (no staggered fades),
      and the new theme is revealed with one circular wipe (View Transitions). */
html.theme-switching *, html.theme-switching *::before, html.theme-switching *::after { transition: none !important; }
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-new(root) { z-index: 2; }
@media (prefers-reduced-motion: reduce) { ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; } }

/* 2. Hero accent colour animates instead of jumping between products */
@property --hc { syntax: "<color>"; inherits: true; initial-value: #0c7c8a; }
.hero-live { transition: --hc .9s cubic-bezier(.165,.84,.44,1); }

/* 3. Footer + CTA effects without live blur filters (cheap to composite) */
.footer-glow i { filter: none !important; width: 60vw; bottom: -36vw; opacity: .5;
  background: radial-gradient(circle at center, var(--g) 0%, transparent 62%) !important; will-change: transform; }
.footer-glow i:nth-child(1) { --g: rgba(12,124,138,.38); left: -18vw; }
.footer-glow i:nth-child(2) { --g: rgba(15,98,214,.32); left: 10vw; }
.footer-glow i:nth-child(3) { --g: rgba(11,122,148,.32); left: 40vw; }
.footer-glow i:nth-child(4) { --g: rgba(109,62,232,.32); left: 66vw; }
html:not([data-theme="dark"]) .footer-glow i { opacity: .16 !important; filter: none !important; }
.footer-word { animation: none !important; background-position: 30% 0 !important; }
.cta-card::after { filter: none !important; opacity: 1 !important; width: 640px; right: -220px; top: -300px; will-change: transform;
  background: radial-gradient(circle at 30% 30%, rgba(12,124,138,.55), transparent 55%), radial-gradient(circle at 70% 40%, rgba(15,98,214,.5), transparent 55%), radial-gradient(circle at 50% 75%, rgba(109,62,232,.45), transparent 55%) !important; }
body[data-product] .cta-card::after { background: radial-gradient(circle, color-mix(in srgb, var(--pc-500) 75%, transparent), transparent 60%) !important; }
/* 4. Looping animations pause while off-screen */
.offscreen, .offscreen *, .offscreen::before, .offscreen::after { animation-play-state: paused !important; }
.marquee-track, .kinetic ul, .wordline ul { will-change: transform; }

/* =====================================================================
   v5.3 — SCROLL SMOOTHNESS (hero + footer)
   ===================================================================== */
/* Header: no live backdrop blur (it re-blurs moving content every frame) */
.site-header.is-scrolled { -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
  background: color-mix(in srgb, var(--bg) 96%, transparent) !important; }
.site-header { will-change: transform; }

/* Live hero: no animated custom property; progress bar runs on the compositor */
.hero-live { transition: none !important; }
.live-bar i { transform: scaleX(0); transform-origin: left; }
.live-bar i.run { animation: livebar 5.2s linear forwards; }
.hero-live.is-paused .live-bar i, .hero-live.is-away .live-bar i { animation-play-state: paused; }
.hero-live.is-away .pipe i, .hero-live.is-away .node.human s { animation-play-state: paused; }
@keyframes livebar { to { transform: scaleX(1); } }
.live-card { contain: layout paint; }
.live-tabs button { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--bg); }

/* Footer: one static background instead of four huge drifting layers */
.footer-glow { display: none !important; }
.site-footer { background-image: radial-gradient(40% 70% at 8% 110%, rgba(12,124,138,.30), transparent 70%), radial-gradient(35% 60% at 38% 120%, rgba(15,98,214,.24), transparent 70%), radial-gradient(40% 70% at 92% 115%, rgba(109,62,232,.26), transparent 70%); }
html:not([data-theme="dark"]) .site-footer { background-image: radial-gradient(40% 70% at 8% 110%, rgba(12,124,138,.10), transparent 70%), radial-gradient(40% 70% at 92% 115%, rgba(109,62,232,.09), transparent 70%), linear-gradient(180deg, #F3F7FB 0%, #EAF2F9 100%) !important; }
.site-footer::after { -webkit-mask-image: none !important; mask-image: none !important; opacity: .7; }
.site-footer { contain: paint; }

/* Closing card glow: slower, smaller compositor layer */
.cta-card::after { width: 520px; animation-duration: 28s; }
.cta-card { contain: paint; }
/* pipe dots move with transform (compositor) instead of "top" (layout every frame) */
.pipe i { top: 0 !important; }
.live-slide.is-on .pipe i { animation-name: drip2; }
@keyframes drip2 { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateY(54px); opacity: 0; } }
