/* Fonts self-hosted from Google Fonts (SIL Open Font License 1.1) */
/* IBM Plex Mono 500 normal (latin-ext) */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/ibm-plex-mono-latin-ext--F6qfjptAg.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;
}
/* IBM Plex Mono 500 normal (latin) */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/ibm-plex-mono-latin--F6qfjptAg.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;
}
/* IBM Plex Sans 400 italic (latin-ext) */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: italic;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/ibm-plex-sans-latin-ext-zYXEKVElMY.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;
}
/* IBM Plex Sans 400 italic (latin) */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: italic;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/ibm-plex-sans-latin-zYXEKVElMY.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;
}
/* IBM Plex Sans 400 normal (latin-ext) */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/ibm-plex-sans-latin-ext-zYXzKVElMY.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;
}
/* IBM Plex Sans 400 normal (latin) */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/ibm-plex-sans-latin-zYXzKVElMY.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;
}
/* IBM Plex Sans 500 normal (latin-ext) */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/ibm-plex-sans-latin-ext-zYXzKVElMY.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;
}
/* IBM Plex Sans 500 normal (latin) */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/ibm-plex-sans-latin-zYXzKVElMY.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;
}
/* IBM Plex Sans 600 normal (latin-ext) */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/ibm-plex-sans-latin-ext-zYXzKVElMY.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;
}
/* IBM Plex Sans 600 normal (latin) */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/ibm-plex-sans-latin-zYXzKVElMY.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;
}
/* Schibsted Grotesk 500 normal (latin-ext) */
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/schibsted-grotesk-latin-ext-Jqz55SSPQu.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;
}
/* Schibsted Grotesk 500 normal (latin) */
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/schibsted-grotesk-latin-Jqz55SSPQu.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;
}
/* Schibsted Grotesk 600 normal (latin-ext) */
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/schibsted-grotesk-latin-ext-Jqz55SSPQu.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;
}
/* Schibsted Grotesk 600 normal (latin) */
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/schibsted-grotesk-latin-Jqz55SSPQu.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;
}
/* Schibsted Grotesk 700 normal (latin-ext) */
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/schibsted-grotesk-latin-ext-Jqz55SSPQu.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;
}
/* Schibsted Grotesk 700 normal (latin) */
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/schibsted-grotesk-latin-Jqz55SSPQu.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;
}

/* =========================================================
   Anusri Technologies — site stylesheet
   Editorial, restrained system: warm paper neutrals, the logo's
   navy as the working colour, one amber marker for emphasis.
   Real photography instead of decorative gradients and glows.
   ========================================================= */

:root {
  color-scheme: only light; /* opt out of automatic browser dark mode */
  /* Brand (sampled from the logo) */
  --night: #0b1730;
  --navy-900: #0f2148;
  --navy: #1b3a7a;
  --blue: #1f6db0;
  --sky: #3aa6e0;
  --sky-300: #9fd2f2;
  --marker: #f0b43c;          /* the single warm accent */

  /* Neutrals — slightly warm so the page doesn't feel clinical */
  --ink: #0f1a2e;
  --text: #2d3647;
  --muted: #5e6676;
  --line: #e5e1d6;
  --line-strong: #cbc5b6;
  --bg: #ffffff;
  --paper: #f7f5ef;
  --paper-2: #efebe1;

  --danger: #c4321f;
  --success: #17804b;

  --radius-sm: 4px;
  --radius: 6px;
  --radius-lg: 10px;
  --shadow: 0 1px 2px rgba(15, 26, 46, .06), 0 8px 24px -16px rgba(15, 26, 46, .25);
  --shadow-lg: 0 24px 48px -24px rgba(15, 26, 46, .35);

  --font-display: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --header-h: 80px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -0.025em; font-weight: 700; }
h1 { font-size: clamp(2.3rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.3vw, 2.7rem); text-wrap: balance; }
h3 { font-size: 1.2rem; letter-spacing: -0.012em; font-weight: 600; line-height: 1.25; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
[hidden] { display: none !important; }
::selection { background: var(--marker); color: var(--ink); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius); font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

[data-lucide], .icon { width: 20px; height: 20px; stroke-width: 1.75; flex-shrink: 0; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: block; font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 14px;
}
.on-dark .eyebrow, .eyebrow.light { color: var(--sky-300); }
.lead { font-size: clamp(1.06rem, 1.5vw, 1.2rem); color: var(--muted); max-width: 60ch; line-height: 1.55; }
.on-dark .lead { color: #b5c0d4; }
/* Emphasis: a marker underline instead of gradient text */
.grad-text {
  color: inherit;
  background-image: linear-gradient(var(--marker), var(--marker));
  background-repeat: no-repeat; background-size: 100% .12em; background-position: 0 95%;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  padding-bottom: .04em;
}
.grad-text-brand { color: var(--navy); }

/* ---------- Buttons ---------- */
.btn {
  --btn-pad: 14px 22px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--btn-pad); border-radius: var(--radius); border: 1px solid transparent;
  font: 600 .95rem/1.2 var(--font-sans); cursor: pointer; white-space: nowrap;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.btn [data-lucide], .btn svg { width: 18px; height: 18px; transition: transform .2s ease; }
.btn:hover [data-lucide="arrow-right"], .btn:hover svg.lucide-arrow-right { transform: translateX(3px); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { color: #fff; background: var(--navy-900); }
.on-dark .btn-primary { background: #fff; color: var(--ink); }
.on-dark .btn-primary:hover { background: var(--marker); color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { color: var(--ink); background: var(--marker); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,.06); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-outline:hover { color: var(--ink); border-color: var(--ink); }
.btn-sm { --btn-pad: 10px 16px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: not-allowed; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--navy); border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-arrow [data-lucide], .link-arrow svg { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover [data-lucide], .link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--night); color: #9aa7bf; font-size: .82rem; }
.topbar-inner { height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar-follow { display: flex; align-items: center; gap: 12px; }
.topbar-label { font-size: .78rem; color: #8592ab; }
.topbar-social { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.topbar-social a { display: grid; place-items: center; width: 28px; height: 28px; border-radius: var(--radius-sm); color: #c9d3e5; transition: color .15s, background .15s; }
.topbar-social a:hover { color: #fff; background: rgba(255,255,255,.08); }
.topbar-social svg { width: 15px; height: 15px; }
.topbar-links { display: flex; align-items: center; gap: 22px; }
.topbar-links a { display: inline-flex; align-items: center; gap: 7px; color: #c9d3e5; font-weight: 500; }
.topbar-links a:hover { color: #fff; }
.topbar-links [data-lucide], .topbar-links svg { width: 14px; height: 14px; color: #8592ab; }
@media (max-width: 920px) { .topbar { display: none; } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .2s ease; }
.site-header.is-scrolled { box-shadow: 0 6px 20px -14px rgba(15, 26, 46, .35); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 54px; width: auto; image-rendering: -webkit-optimize-contrast; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links > li > a { position: relative; display: block; padding: 10px 14px; font-weight: 500; font-size: .97rem; color: var(--ink); }
.nav-links > li > a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.nav-links > li > a:hover { color: var(--ink); }
.nav-links > li > a:hover::after { transform: scaleX(1); }
.nav-links > li > a[aria-current="page"] { font-weight: 600; }
.nav-links > li > a[aria-current="page"]::after, .nav-links > li > a.is-section::after { transform: scaleX(1); background: var(--marker); height: 3px; }
.nav-links > li > a.is-section { font-weight: 600; }
.nav-cta { margin-left: 12px; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: var(--radius); border: 1px solid var(--line-strong);
  background: #fff; color: var(--ink); align-items: center; justify-content: center; cursor: pointer;
}
.nav-toggle .bar { display: block; width: 18px; height: 2px; background: currentColor; position: relative; transition: background .2s; }
.nav-toggle .bar::before, .nav-toggle .bar::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; transition: transform .2s, top .2s; }
.nav-toggle .bar::before { top: -6px; }
.nav-toggle .bar::after { top: 6px; }
.nav-open .nav-toggle .bar { background: transparent; }
.nav-open .nav-toggle .bar::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle .bar::after { top: 0; transform: rotate(-45deg); }
.header-call { display: none; }

@media (max-width: 920px) {
  :root { --header-h: 66px; }
  .header-inner { gap: 10px; }
  .brand img { height: 44px; }
  .header-call { display: inline-grid; place-items: center; margin-left: auto; width: 44px; height: 44px; border-radius: var(--radius); border: 1px solid var(--line-strong); color: var(--ink); }
  .header-call [data-lucide], .header-call svg { width: 18px; height: 18px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto; z-index: 99;
    flex-direction: column; align-items: stretch; gap: 8px;
    padding: 8px var(--gutter) 24px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .nav-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links > li > a { padding: 16px 0; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
  .nav-links > li > a::after { display: none; }
  .nav-links > li > a[aria-current="page"] { color: var(--navy); }
  .nav-cta { margin: 16px 0 0; }
  .nav-cta .btn { width: 100%; }
}

/* ---------- Dark sections ---------- */
.on-dark { background: var(--night); color: #c3cde0; position: relative; isolation: isolate; overflow: hidden; }
.on-dark h1, .on-dark h2, .on-dark h3 { color: #fff; }
.on-dark a:not(.btn) { color: var(--sky-300); }

/* ---------- Home hero ---------- */
.hero { background: var(--paper); padding: clamp(40px, 6vw, 88px) 0 clamp(56px, 7vw, 100px); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 4.4vw, 3.7rem); line-height: 1.04; margin-bottom: 22px; text-wrap: balance; }
.hero .lead { margin-bottom: 30px; max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 36px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line-strong); list-style: none; }
.hero-badges li { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 500; color: var(--text); }
.hero-badges [data-lucide], .hero-badges svg { width: 17px; height: 17px; color: var(--navy); }

.hero-media { position: relative; padding: 0 0 48px 48px; }
.hero-media .photo-main { margin: 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3.4; background: var(--paper-2); }
.hero-media .photo-main img { width: 100%; height: 100%; object-fit: cover; }
.hero-media .photo-inset {
  position: absolute; left: 0; bottom: 0; width: 42%; margin: 0; aspect-ratio: 1;
  border-radius: var(--radius-lg); overflow: hidden; border: 6px solid var(--paper); background: var(--paper-2);
}
.hero-media .photo-inset img { width: 100%; height: 100%; object-fit: cover; }
.hero-note {
  position: absolute; right: -8px; bottom: 6px; width: min(58%, 270px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow-lg);
}
.hero-note p { margin: 0 0 10px; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.hero-note ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; counter-reset: m; }
.hero-note li { counter-increment: m; display: flex; gap: 10px; font-size: .92rem; font-weight: 500; color: var(--ink); }
.hero-note li::before { content: counter(m); font: 600 .78rem/1.6 var(--font-mono); color: var(--blue); }
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 560px; }
}
@media (max-width: 520px) {
  .hero-media { padding: 0 0 36px 28px; }
  .hero-note { display: none; }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* ---------- Inner page hero ---------- */
.page-hero { background: var(--paper); padding: clamp(32px, 4.5vw, 64px) 0 clamp(44px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); max-width: 18ch; line-height: 1.05; }
.page-hero .lead { margin-bottom: 0; }
.page-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.page-hero-photo { margin: 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 5 / 4; background: var(--paper-2); }
.page-hero-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .page-hero-grid { grid-template-columns: 1fr; } .page-hero-photo { aspect-ratio: 16 / 9; } }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin-bottom: 26px; font-size: .86rem; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; color: var(--line-strong); }
.breadcrumb a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.breadcrumb a:hover { color: var(--ink); text-decoration-color: currentColor; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section-soft { background: var(--paper); }
.section-tint { background: var(--paper); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }
.section-head.split { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.section-head.split > div { max-width: 680px; }
.section-head p:last-child { margin-bottom: 0; }

.grid { display: grid; gap: clamp(16px, 2.2vw, 24px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- Photo blocks ---------- */
.photo-band { margin: 0 0 clamp(36px, 5vw, 56px); border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 21 / 8; background: var(--paper-2); position: relative; }
.photo-band img { width: 100%; height: 100%; object-fit: cover; }
.photo-band figcaption { position: absolute; left: 16px; bottom: 14px; background: rgba(255,255,255,.94); color: var(--ink); font-size: .85rem; font-weight: 500; padding: 7px 12px; border-radius: var(--radius-sm); }
@media (max-width: 640px) { .photo-band { aspect-ratio: 4 / 3; } }
.photo-frame { margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--paper-2); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 6 / 5; }

/* ---------- Cards ---------- */
.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(22px, 2.6vw, 30px);
  transition: border-color .2s ease;
}
.section-soft .card, .section-tint .card { border-color: var(--line); }
.card p:last-child { margin-bottom: 0; }
a.card, .card-hover { color: inherit; }
a.card:hover, .card-hover:hover { border-color: var(--ink); color: inherit; }
.card .num { display: none; }
.icon-tile { display: block; margin-bottom: 18px; color: var(--navy); }
.icon-tile [data-lucide], .icon-tile svg { width: 28px; height: 28px; stroke-width: 1.5; }
.card h3 { margin-bottom: 10px; }
.card .muted { color: var(--muted); font-size: .98rem; }
.card .link-arrow { margin-top: 18px; }
a.card:hover .link-arrow { color: var(--blue); }

/* Home practice areas — editorial list with large index numbers */
.practice-list { list-style: none; border-top: 1px solid var(--ink); }
.practice-list li { border-bottom: 1px solid var(--line); }
.practice-list a { display: grid; grid-template-columns: 70px 1.1fr 1.4fr 32px; gap: 24px; align-items: baseline; padding: 28px 0; color: inherit; transition: background .2s, padding .2s; }
.practice-list a:hover { background: var(--paper); padding-inline: 16px; }
.practice-list .idx { font: 500 .9rem/1 var(--font-mono); color: var(--muted); }
.practice-list h3 { margin: 0; font-size: clamp(1.25rem, 2vw, 1.6rem); }
.practice-list p { margin: 0; color: var(--muted); }
.practice-list [data-lucide], .practice-list svg { width: 22px; height: 22px; color: var(--ink); align-self: center; transition: transform .2s; }
.practice-list a:hover svg { transform: translateX(4px); }
@media (max-width: 760px) {
  .practice-list a { grid-template-columns: 44px 1fr 24px; gap: 8px 14px; }
  .practice-list p { grid-column: 2 / 3; }
  .practice-list [data-lucide], .practice-list svg { grid-row: 1; grid-column: 3; }
}

.tag-list { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin-top: 16px; }
.tag-list li { padding: 4px 9px; border-radius: var(--radius-sm); background: var(--paper); color: var(--text); font-size: .8rem; font-weight: 500; border: 1px solid var(--line); }
.on-dark .tag-list li { background: rgba(255,255,255,.06); color: #dbe3f0; border-color: rgba(255,255,255,.12); }

.check-list { list-style: none; display: grid; gap: 10px; margin-top: 16px; }
.check-list li { position: relative; padding-left: 28px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 16px; height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b3a7a' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 16px no-repeat;
}

/* ---------- Technology strip (was a marquee) ---------- */
.marquee-wrap { border-bottom: 1px solid var(--line); background: #fff; padding: 26px 0; }
.marquee-wrap > * { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.marquee-label { font-size: .85rem; font-weight: 600; color: var(--muted); margin-bottom: 10px; }
.marquee { display: flex; flex-wrap: wrap; gap: 6px 28px; }
.marquee span { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; color: var(--ink); white-space: nowrap; }
.marquee span[aria-hidden] { display: none; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 3vw, 40px); }
.stat { border-top: 2px solid var(--ink); padding-top: 18px; }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(2.2rem, 3.8vw, 3rem); font-weight: 700; line-height: 1; letter-spacing: -0.03em; margin-bottom: 10px; color: var(--ink); }
.stat span { color: var(--muted); font-size: .95rem; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Engagement spectrum ---------- */
.spectrum { border-top: 1px solid rgba(255,255,255,.18); padding-top: 22px; }
.spectrum-axis { display: flex; justify-content: space-between; gap: 16px; font-size: .82rem; color: #8b98b2; margin-bottom: 14px; }
.spectrum-axis span:last-child { text-align: right; }
.spectrum-track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.spectrum-btn {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  padding: 18px 18px 20px; cursor: pointer; text-align: left; background: transparent; border: 0;
  border-left: 1px solid rgba(255,255,255,.1); color: #c3cde0; font: inherit; transition: background .2s;
}
.spectrum-btn:first-child { border-left: 0; }
.spectrum-btn::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: transparent; transition: background .2s; }
.spectrum-btn small { font: 500 .74rem/1 var(--font-mono); letter-spacing: .04em; color: #8b98b2; }
.spectrum-btn strong { font-family: var(--font-display); color: #fff; font-size: 1.1rem; font-weight: 600; }
.spectrum-btn:hover { background: rgba(255,255,255,.04); }
.spectrum-btn[aria-selected="true"] { background: rgba(255,255,255,.06); }
.spectrum-btn[aria-selected="true"]::after { background: var(--marker); }
.spectrum-btn[aria-selected="true"] small { color: var(--marker); }
.spectrum-panel { margin-top: 36px; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.spectrum-panel[hidden] { display: none; }
.spectrum-panel h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 14px; letter-spacing: -0.02em; }
.spectrum-panel p { color: #b5c0d4; margin-bottom: 24px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid rgba(255,255,255,.14); }
.fact { padding: 16px 16px 16px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.fact:nth-child(odd) { padding-right: 20px; }
.fact dt { font-size: .76rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #8b98b2; margin-bottom: 6px; }
.fact dd { margin: 0; color: #eef2f8; font-size: .97rem; line-height: 1.5; }
@media (max-width: 860px) {
  .spectrum-track { grid-template-columns: repeat(2, 1fr); }
  .spectrum-btn:nth-child(3) { border-left: 0; }
  .spectrum-btn { border-top: 1px solid rgba(255,255,255,.1); }
  .spectrum-panel { grid-template-columns: 1fr; }
}
@media (max-width: 420px) { .facts { grid-template-columns: 1fr; } }

/* ---------- Process steps ---------- */
.steps { padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.5vw, 32px); counter-reset: step; list-style: none; }
.step { position: relative; padding-top: 20px; border-top: 2px solid var(--ink); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; margin-bottom: 14px; font: 500 .9rem/1 var(--font-mono); color: var(--blue);
}
.step h3 { font-size: 1.25rem; }
.step p { color: var(--muted); font-size: .97rem; margin: 0; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); row-gap: 36px; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Industries ---------- */
.industry-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 0 24px; list-style: none; }
.industry { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 500; color: var(--ink); }
.industry [data-lucide], .industry svg { color: var(--navy); width: 20px; height: 20px; stroke-width: 1.6; }
.industry-grid.compact { margin-top: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 420px) { .industry-grid.compact { grid-template-columns: 1fr; } }
.industry-dark { border-color: rgba(255,255,255,.14); color: #fff; }
.industry-dark [data-lucide], .industry-dark svg { color: var(--sky-300); }

/* ---------- Split / feature blocks ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.top { align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.panel-visual {
  position: relative; border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 44px);
  background: var(--navy-900); color: #c9d3e5;
}
.panel-visual h3 { color: #fff; line-height: 1.2; }
.panel-visual .check-list li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f0b43c' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.panel-visual .industry { border-color: rgba(255,255,255,.14); color: #fff; }

.value-row { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.value-row:first-child { padding-top: 0; }
.value-row:last-child { border-bottom: 0; padding-bottom: 0; }
.value-row .icon-tile { margin: 2px 0 0; flex-shrink: 0; }
.value-row .icon-tile [data-lucide], .value-row .icon-tile svg { width: 24px; height: 24px; }
.value-row h3 { margin-bottom: 4px; }
.value-row p { margin: 0; color: var(--muted); }

/* ---------- Sub navigation (services) ---------- */
.subnav { position: sticky; top: var(--header-h); z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.subnav ul { display: flex; gap: 4px; list-style: none; overflow-x: auto; scrollbar-width: none; padding: 0; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { position: relative; display: inline-block; white-space: nowrap; padding: 16px 14px; font-weight: 500; font-size: .93rem; color: var(--muted); }
.subnav a:hover { color: var(--ink); }
.subnav a.is-active { color: var(--ink); }
.subnav a.is-active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 3px; background: var(--marker); }

/* ---------- Service practice blocks ---------- */
.practice { display: grid; grid-template-columns: 320px 1fr; gap: clamp(24px, 4vw, 56px); padding: clamp(36px, 4vw, 56px) 0; border-top: 1px solid var(--line); }
.practice:first-of-type { border-top: 0; padding-top: 0; }
.practice-head .num { font: 500 .85rem/1 var(--font-mono); color: var(--blue); display: block; margin-bottom: 14px; }
.practice-head h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); letter-spacing: -0.02em; }
.practice-head p { color: var(--muted); }
.practice-items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; border-top: 1px solid var(--line); }
.practice-item { padding: 20px 0; border-bottom: 1px solid var(--line); }
.practice-item h3, .practice-item h4 { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; font-weight: 600; margin-bottom: 6px; letter-spacing: -0.01em; }
.practice-item h3 [data-lucide], .practice-item h3 svg, .practice-item h4 [data-lucide], .practice-item h4 svg { color: var(--navy); width: 18px; height: 18px; }
.practice-item p { margin: 0; font-size: .95rem; color: var(--muted); }
@media (max-width: 900px) { .practice { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .practice-items { grid-template-columns: 1fr; } }

/* Tech stack grid */
.stack-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 32px; border-top: 1px solid rgba(255,255,255,.16); }
.stack { padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.stack h3 { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; margin-bottom: 8px; }
.stack h3 [data-lucide], .stack h3 svg { color: var(--sky-300); width: 18px; height: 18px; }
.stack p { margin: 0; font-size: .94rem; color: #b5c0d4; }

/* Model cards */
.model-card { display: flex; flex-direction: column; }
.model-card .model-tag { font: 500 .78rem/1 var(--font-mono); color: var(--blue); margin-bottom: 14px; }
.model-card dl { margin: 18px 0 0; display: grid; gap: 12px; }
.model-card dl div { padding-top: 12px; border-top: 1px solid var(--line); }
.model-card dt { font-size: .76rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.model-card dd { margin: 0; color: var(--ink); font-weight: 500; font-size: .97rem; }
.model-card .btn { margin-top: auto; }
.model-card .card-foot { margin-top: 22px; padding-top: 4px; }

/* Comparison table */
.table-wrap { overflow-x: auto; border-top: 2px solid var(--ink); }
table.compare { width: 100%; border-collapse: collapse; min-width: 680px; font-size: .97rem; }
.compare th, .compare td { padding: 16px 20px 16px 0; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.compare tbody th { color: var(--ink); font-weight: 600; font-family: var(--font-display); }

/* Tabs */
.tabs { display: flex; gap: 0; flex-wrap: wrap; border-bottom: 1px solid var(--line); width: 100%; margin-bottom: 28px; }
.tab { position: relative; border: 0; background: transparent; padding: 14px 18px; font: 500 .97rem/1.2 var(--font-sans); color: var(--muted); cursor: pointer; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--ink); font-weight: 600; }
.tab[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--marker); }
@media (max-width: 640px) { .tab { flex: 1 1 45%; } }
.fit-list { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.fit-list > p { padding: 14px 0 6px; }
.fit { display: grid; grid-template-columns: 220px 1fr 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.fit h3 { font-size: 1.08rem; margin: 0; }
.fit .label { display: block; font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.fit p { margin: 0; font-size: .96rem; }
.fit .why p { color: var(--ink); font-weight: 500; }
@media (max-width: 860px) { .fit { grid-template-columns: 1fr; gap: 12px; } }

/* ---------- CTA band (photo-backed) ---------- */
.cta-band {
  border-radius: var(--radius-lg); padding: clamp(36px, 6vw, 72px); display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center;
  background:
    linear-gradient(90deg, rgba(11, 23, 48, .97) 0%, rgba(11, 23, 48, .9) 45%, rgba(11, 23, 48, .62) 100%),
    url("../img/photos/server-racks.webp") center / cover no-repeat, var(--night);
}
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { margin: 0; color: #c3cde0; max-width: 52ch; }
.cta-band .hero-actions { justify-content: flex-end; }
@media (max-width: 820px) { .cta-band { grid-template-columns: 1fr; } .cta-band .hero-actions { justify-content: flex-start; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 48px 20px 0; font-weight: 600; font-size: 1.05rem; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 18px; height: 18px; margin-top: -9px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f1a2e' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 18px no-repeat;
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 48px 22px 0; color: var(--muted); }
.faq details > div p:last-child { margin: 0; }

/* ---------- Forms ---------- */
.form-shell { display: grid; grid-template-columns: 1fr 380px; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 980px) { .form-shell { grid-template-columns: 1fr; } }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 44px); }
.form-card > h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field label, .fieldset-legend { font-weight: 600; font-size: .93rem; color: var(--ink); }
.field .req { color: var(--danger); margin-left: 2px; }
.field .opt { color: var(--muted); font-weight: 400; font-size: .84rem; margin-left: 4px; }
.input, .select, .textarea {
  width: 100%; padding: 12px 14px; border-radius: var(--radius); border: 1px solid var(--line-strong); background: #fff;
  font: 400 1rem/1.4 var(--font-sans); color: var(--ink); transition: border-color .15s, box-shadow .15s;
  -webkit-appearance: none; appearance: none;
}
.input::placeholder, .textarea::placeholder { color: #98a0ad; }
.input:hover, .select:hover, .textarea:hover { border-color: #a39d8e; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(27,58,122,.14); }
.textarea { min-height: 140px; resize: vertical; }
.select {
  padding-right: 42px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235e6676' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat;
}
.hint { font-size: .84rem; color: var(--muted); }
.error-msg { display: none; font-size: .84rem; font-weight: 600; color: var(--danger); }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(196,50,31,.1); }
.field.has-error .error-msg, .choice-group.has-error .error-msg { display: block; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--muted); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--navy); flex-shrink: 0; cursor: pointer; }

/* Choice cards (checkbox/radio) */
.choice-group { border: 0; padding: 0; margin: 0; min-width: 0; }
.choice-group legend { padding: 0; margin-bottom: 12px; }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.choice-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 720px) { .choice-grid.cols-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .choice-grid, .choice-grid.cols-3 { grid-template-columns: 1fr; } }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.choice-body {
  display: flex; gap: 14px; align-items: flex-start; height: 100%;
  padding: 16px; border-radius: var(--radius); border: 1px solid var(--line-strong); background: #fff;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.choice-body [data-lucide], .choice-body > svg { width: 22px; height: 22px; color: var(--navy); margin-top: 1px; stroke-width: 1.6; }
.choice-body strong { display: block; color: var(--ink); font-size: .97rem; line-height: 1.3; }
.choice-body small { display: block; color: var(--muted); font-size: .85rem; line-height: 1.45; margin-top: 3px; }
.choice-body::after {
  content: ""; margin-left: auto; flex-shrink: 0; width: 18px; height: 18px; border-radius: 3px; border: 1px solid var(--line-strong); background: #fff center / 12px no-repeat;
  transition: background-color .15s, border-color .15s;
}
.choice input[type="radio"] + .choice-body::after { border-radius: 50%; }
.choice:hover .choice-body { border-color: var(--ink); }
.choice input:focus-visible + .choice-body { box-shadow: 0 0 0 3px rgba(27,58,122,.2); border-color: var(--navy); }
.choice input:checked + .choice-body { border-color: var(--navy); background: #f4f6fb; box-shadow: inset 0 0 0 1px var(--navy); }
.choice input:checked + .choice-body::after {
  background-color: var(--navy); border-color: var(--navy);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.choice.compact .choice-body { padding: 13px 14px; align-items: center; }

/* Stepper */
.stepper { display: flex; gap: 8px; list-style: none; margin-bottom: 30px; counter-reset: s; }
.stepper li { flex: 1; counter-increment: s; }
.stepper .bar { display: block; height: 3px; background: var(--line); margin-bottom: 10px; overflow: hidden; position: relative; }
.stepper .bar::after { content: ""; position: absolute; inset: 0; width: 0; background: var(--navy); transition: width .3s ease; }
.stepper li.done .bar::after, .stepper li.current .bar::after { width: 100%; }
.stepper span.lbl { display: flex; align-items: center; gap: 8px; font-size: .86rem; font-weight: 500; color: var(--muted); }
.stepper span.lbl::before { content: counter(s); font: 500 .8rem/1 var(--font-mono); color: var(--muted); }
.stepper li.current span.lbl, .stepper li.done span.lbl { color: var(--ink); font-weight: 600; }
.stepper li.current span.lbl::before, .stepper li.done span.lbl::before { color: var(--blue); }
@media (max-width: 520px) { .stepper span.lbl { font-size: 0; gap: 0; } .stepper li.current span.lbl { font-size: .82rem; gap: 8px; } }
.form-step[hidden] { display: none; }
.form-step { animation: stepIn .3s ease; }
@keyframes stepIn { from { opacity: 0; } to { opacity: 1; } }
.form-step > .step-title { font-size: 1.45rem; margin-bottom: 6px; }
.form-step > .step-sub { color: var(--muted); margin-bottom: 26px; }
.form-stack { display: grid; gap: 26px; }
.form-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.form-nav .spacer { flex: 1; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 26px; }
.form-actions .hint { flex: 1 1 220px; }

.summary { display: grid; gap: 0; border-top: 1px solid var(--ink); margin-bottom: 22px; }
.summary div { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.summary dt { color: var(--muted); font-weight: 500; }
.summary dd { margin: 0; color: var(--ink); white-space: pre-wrap; word-break: break-word; }
@media (max-width: 520px) { .summary div { grid-template-columns: 1fr; gap: 2px; } }

.form-alert { display: none; gap: 12px; padding: 14px 16px; border-radius: var(--radius); font-size: .93rem; margin-bottom: 20px; }
.form-alert.show { display: flex; }
.form-alert.error { background: #fdf2ef; border: 1px solid #f3c9bf; color: #a3281a; }
.form-success { text-align: center; padding: clamp(16px, 4vw, 40px) 0; }
.form-success[hidden] { display: none; }
.success-icon { width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; background: #e9f5ee; color: var(--success); }
.success-icon [data-lucide], .success-icon svg { width: 30px; height: 30px; }
.form-success p { color: var(--muted); max-width: 46ch; margin-inline: auto; }
.form-success .hero-actions { justify-content: center; margin-top: 24px; }

/* Aside cards next to forms */
.aside-stack { display: grid; gap: 18px; position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 980px) { .aside-stack { position: static; } }
.contact-tile { display: flex; gap: 16px; align-items: flex-start; }
.contact-tile .icon-tile { margin: 2px 0 0; flex-shrink: 0; }
.contact-tile .icon-tile [data-lucide], .contact-tile .icon-tile svg { width: 22px; height: 22px; }
.contact-tile h3 { font-size: 1.02rem; margin-bottom: 2px; }
.contact-tile p { margin: 0; color: var(--muted); font-size: .95rem; }
.contact-tile a { font-weight: 600; word-break: break-all; }
.copy-btn { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 6px 10px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong); background: #fff; font: 500 .82rem/1 var(--font-sans); color: var(--text); cursor: pointer; }
.copy-btn:hover { border-color: var(--ink); color: var(--ink); }
.copy-btn [data-lucide], .copy-btn svg { width: 14px; height: 14px; }

.aside-dark { background: var(--navy-900); border: 0; color: #c9d3e5; }
.aside-dark h3 { color: #fff; }
.aside-dark .check-list li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f0b43c' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.aside-dark .value-row { border-color: rgba(255,255,255,.12); }
.aside-dark .icon-tile { color: var(--sky-300); }
.aside-dark .value-row h3 { font-size: 1rem; }
.aside-dark .value-row p { color: #b5c0d4; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: #9aa7bf; padding: clamp(56px, 8vw, 88px) 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 40px; }
.footer-brand img { height: 52px; width: auto; background: #fff; border-radius: var(--radius); padding: 6px 10px; margin-bottom: 20px; }
.footer-brand p { max-width: 34ch; font-size: .95rem; }
.site-footer h2 { font-family: var(--font-sans); font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer-links { list-style: none; display: grid; gap: 10px; }
.footer-links a { color: #b5c0d4; font-size: .95rem; }
.footer-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-note { font-size: .95rem; margin-bottom: 18px; }
.footer-contact { list-style: none; display: grid; gap: 14px; }
.footer-contact a { display: flex; align-items: center; gap: 12px; color: #fff; }
.footer-contact a:hover { color: var(--marker); }
.fc-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--radius); border: 1px solid rgba(255,255,255,.18); color: #c9d3e5; flex-shrink: 0; }
.fc-icon [data-lucide], .fc-icon svg { width: 17px; height: 17px; }
.fc-text { min-width: 0; font-weight: 500; font-size: .97rem; line-height: 1.3; overflow-wrap: anywhere; }
.fc-text small { display: block; margin-bottom: 3px; font-size: .76rem; font-weight: 500; color: #8592ab; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .86rem; }
.footer-bottom a { color: #9aa7bf; }
.footer-bottom a:hover { color: #fff; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

.social { display: flex; gap: 8px; list-style: none; margin-top: 22px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--radius); border: 1px solid rgba(255,255,255,.18); color: #c9d3e5; transition: color .15s, border-color .15s; }
.social a:hover { color: #fff; border-color: #fff; }
.social svg { width: 19px; height: 19px; }

/* Back to top */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 44px; height: 44px; border-radius: var(--radius);
  border: 0; display: grid; place-items: center; cursor: pointer; color: #fff; background: var(--ink); box-shadow: var(--shadow);
  opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .2s, transform .2s;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- Reveal on scroll (subtle) ---------- */
.js .reveal { opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .5s ease; transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

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

/* Utilities */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.muted { color: var(--muted); }
.stack-sm > * + * { margin-top: 12px; }
html:has(.subnav) { scroll-padding-top: calc(var(--header-h) + 64px); }
.next-steps { list-style: none; margin-top: 18px; }

/* ---------- Legal pages ---------- */
.legal { max-width: 72ch; }
.legal-meta { font-size: .9rem; color: var(--muted); padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: 36px; }
.legal h2 { font-size: 1.35rem; margin: 40px 0 12px; }
.legal ul { padding-left: 1.2em; margin: 0 0 1em; display: grid; gap: 6px; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.consent a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Services dropdown ---------- */
.has-sub { position: relative; display: flex; align-items: center; }
.has-sub > a { padding-right: 6px !important; }
.has-sub > a::after { right: 6px !important; }
.sub-toggle { display: inline-grid; place-items: center; width: 26px; height: 32px; padding: 0; border: 0; background: none; color: var(--ink); cursor: pointer; border-radius: var(--radius-sm); }
.sub-toggle svg { width: 16px; height: 16px; transition: transform .2s ease; }
.has-sub.open .sub-toggle svg { transform: rotate(180deg); }
.sub-panel {
  position: absolute; top: calc(100% + 10px); left: 50%; z-index: 120; width: 580px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 12px; opacity: 0; visibility: hidden; transform: translate(-50%, 6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.sub-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; } /* hover bridge */
.sub-grid { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.sub-grid a { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: var(--radius); color: var(--ink); }
.sub-grid a:hover, .sub-grid a[aria-current="page"] { background: var(--paper); color: var(--ink); }
.sub-grid svg { width: 20px; height: 20px; color: var(--navy); margin-top: 2px; stroke-width: 1.6; }
.sub-grid strong { display: block; font-weight: 600; font-size: .96rem; line-height: 1.3; }
.sub-grid small { display: block; color: var(--muted); font-size: .84rem; line-height: 1.4; margin-top: 2px; }
.sub-foot { display: flex; justify-content: space-between; gap: 16px; margin-top: 8px; padding: 12px 12px 4px; border-top: 1px solid var(--line); font-size: .92rem; font-weight: 600; }
.sub-foot a { color: var(--navy); display: inline-flex; align-items: center; gap: 6px; }
.sub-foot svg { width: 15px; height: 15px; }
@media (min-width: 921px) {
  .has-sub:hover .sub-panel, .has-sub:focus-within .sub-panel, .has-sub.open .sub-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  .has-sub:hover .sub-toggle svg { transform: rotate(180deg); }
}
@media (max-width: 920px) {
  .has-sub { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .has-sub > a { flex: 1; border-bottom: 0 !important; }
  .sub-toggle { width: 44px; height: 44px; }
  .sub-panel { position: static; width: 100%; transform: none; opacity: 1; visibility: visible; display: none; box-shadow: none; border: 0; padding: 0 0 12px; }
  .sub-panel::before { display: none; }
  .has-sub.open .sub-panel { display: block; }
  .sub-grid { grid-template-columns: 1fr; }
  .sub-grid a { padding: 10px 8px; }
}

/* ---------- Service pages ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; border-top: 1px solid var(--line); }
@media (max-width: 960px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .svc-grid { grid-template-columns: 1fr; } }
.svc-steps .step { border-top-color: rgba(255,255,255,.5); }
.svc-steps .step p { color: #b5c0d4; }
.svc-steps .step::before { color: var(--sky-300); }
.model-rows { display: grid; border-top: 1px solid var(--ink); }
.model-row { display: flex; gap: 16px; align-items: flex-start; padding: 20px 4px; border-bottom: 1px solid var(--line); color: var(--ink); transition: background .2s, padding .2s; }
.model-row:hover { background: var(--paper); padding-inline: 14px; color: var(--ink); }
.model-row .icon-tile { margin: 2px 0 0; }
.model-row .icon-tile svg { width: 24px; height: 24px; }
.model-row strong { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; }
.model-row small { display: block; color: var(--muted); font-size: .95rem; margin-top: 4px; }
.rec { display: inline-block; margin-left: 10px; padding: 2px 8px; border-radius: var(--radius-sm); background: #fbefd5; color: #7a4d06; font-size: .74rem; font-weight: 600; vertical-align: 2px; }

/* ---------- Video hero (home) ---------- */
.hero-video { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: min(86vh, 820px); padding: 0; background: var(--night) url("../video/hero-poster.webp") center / cover no-repeat; }
.hero-video .hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero-video::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11,23,48,.92) 0%, rgba(11,23,48,.78) 45%, rgba(11,23,48,.45) 100%), linear-gradient(0deg, rgba(11,23,48,.85) 0%, transparent 40%); }
.hero-video .hero-copy { padding-block: clamp(72px, 12vh, 140px) clamp(40px, 6vh, 72px); max-width: 760px; }
.hero-video h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1.03; margin-bottom: 22px; text-wrap: balance; }
.hero-video .lead { color: #d3dbea; max-width: 56ch; margin-bottom: 32px; }
.hero-video .eyebrow { color: var(--marker); }
.trust-strip { border-top: 1px solid rgba(255,255,255,.16); }
.trust-strip ul { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-strip li { display: flex; align-items: center; gap: 12px; padding: 22px 20px 26px 0; color: #e8edf6; font-weight: 500; font-size: .96rem; }
.trust-strip li + li { padding-left: 20px; border-left: 1px solid rgba(255,255,255,.12); }
.trust-strip svg { width: 22px; height: 22px; color: var(--marker); flex-shrink: 0; }
@media (max-width: 860px) {
  .trust-strip ul { grid-template-columns: 1fr 1fr; }
  .trust-strip li { padding: 16px 12px 16px 0 !important; border-left: 0 !important; }
}
.video-toggle { position: absolute; right: var(--gutter); top: 20px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid rgba(255,255,255,.3); border-radius: var(--radius); background: rgba(11,23,48,.4); color: #fff; font: 500 .82rem/1 var(--font-sans); cursor: pointer; }
.video-toggle:hover { border-color: #fff; }
.video-toggle svg { width: 14px; height: 14px; }
@media (prefers-reduced-motion: reduce) { .hero-video .hero-bg { display: none; } }

/* ---------- Home: full-screen video with header over it ---------- */
.brand .logo-light { display: none; }
.home .topbar { position: relative; z-index: 101; background: rgba(5, 12, 28, .35); }
.home .site-header { transition: background .25s ease, border-color .25s ease, box-shadow .25s ease; }
.home .site-header:not(.is-scrolled) { background: transparent; border-color: transparent; }
.home .site-header:not(.is-scrolled) .brand .logo-dark { display: none; }
.home .site-header:not(.is-scrolled) .brand .logo-light { display: block; }
@media (min-width: 921px) {
  .home .site-header:not(.is-scrolled) .nav-links > li > a,
  .home .site-header:not(.is-scrolled) .sub-toggle { color: #fff; }
  .home .site-header:not(.is-scrolled) .nav-links > li > a::after { background: #fff; }
  .home .site-header:not(.is-scrolled) .nav-links > li > a[aria-current="page"]::after { background: var(--marker); }
  .home .site-header:not(.is-scrolled) .nav-cta .btn-primary { background: #fff; color: var(--ink); }
  .home .site-header:not(.is-scrolled) .nav-cta .btn-primary:hover { background: var(--marker); }
}

.home .hero-video {
  margin-top: calc(-1 * (var(--header-h) + 38px));
  min-height: 100vh; min-height: 100svh;
}
@media (max-width: 920px) { .home .hero-video { margin-top: calc(-1 * var(--header-h)); } }
.hero-video::before {
  background:
    linear-gradient(180deg, rgba(8, 16, 34, .7) 0%, rgba(8, 16, 34, 0) 28%),
    linear-gradient(0deg, rgba(8, 16, 34, .8) 0%, rgba(8, 16, 34, 0) 35%),
    rgba(8, 16, 34, .42);
}
.hero-video .hero-copy {
  flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
  max-width: 980px; margin-inline: auto;
  padding-block: calc(var(--header-h) + 38px + clamp(24px, 6vh, 72px)) clamp(48px, 8vh, 96px);
}
.hero-video h1 { text-shadow: 0 2px 24px rgba(0, 0, 0, .35); }
.hero-video .lead { margin-inline: auto; text-shadow: 0 1px 12px rgba(0, 0, 0, .4); color: #eef2f8; }
.hero-video .hero-actions { justify-content: center; }
.video-toggle { top: auto; bottom: 88px; }
@media (max-width: 860px) { .video-toggle { bottom: 150px; } }
@media (max-width: 520px) { .hero-video .hero-actions .btn { flex: 1 1 100%; } }
@media (max-width: 920px) {
  .home .site-header:not(.is-scrolled) .header-call { color: #fff; border-color: rgba(255,255,255,.5); }
}

/* ---------- Main menu: uppercase ---------- */
@media (min-width: 921px) {
  .nav-links > li > a {
    text-transform: uppercase; font-size: 1rem; font-weight: 600; letter-spacing: .045em;
    line-height: 1.2; padding-block: 12px;
  }
  .has-sub > a { padding-right: 4px !important; }
  .sub-toggle { height: 40px; margin-top: 1px; }
  .nav-cta .btn { text-transform: uppercase; letter-spacing: .045em; font-size: .92rem; padding: 11px 18px; }
}
@media (min-width: 921px) and (max-width: 1100px) {
  .nav-links > li > a { font-size: .9rem; letter-spacing: .03em; padding-inline: 10px; }
  .nav-cta { margin-left: 6px; }
  .nav-cta .btn { padding-inline: 14px; }
}

/* ---------- Header CTA: amber with a light travelling around the border ---------- */
@property --cta-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes cta-spin { to { --cta-angle: 360deg; } }
.nav-cta .btn-primary,
.home .site-header:not(.is-scrolled) .nav-cta .btn-primary {
  position: relative; isolation: isolate; background: none; color: var(--ink); border: 0;
}
.nav-cta .btn-primary::before {           /* the moving highlight ring */
  content: ""; position: absolute; inset: -2px; z-index: -2; border-radius: calc(var(--radius) + 2px);
  background: conic-gradient(from var(--cta-angle), rgba(15,26,46,.12) 0deg, rgba(15,26,46,.12) 250deg, var(--navy) 300deg, #fff 330deg, rgba(15,26,46,.12) 360deg);
  animation: cta-spin 3.2s linear infinite;
}
.nav-cta .btn-primary::after {            /* the amber button face */
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: var(--radius);
  background: var(--marker); transition: background .15s ease;
}
.nav-cta .btn-primary:hover, .home .site-header:not(.is-scrolled) .nav-cta .btn-primary:hover { color: var(--ink); background: none; }
.nav-cta .btn-primary:hover::after { background: #f7c45f; }
/* over the dark video the ring glows white instead of navy */
.home .site-header:not(.is-scrolled) .nav-cta .btn-primary::before {
  background: conic-gradient(from var(--cta-angle), rgba(255,255,255,.18) 0deg, rgba(255,255,255,.18) 250deg, #fff 310deg, var(--marker) 335deg, rgba(255,255,255,.18) 360deg);
}
@media (prefers-reduced-motion: reduce) { .nav-cta .btn-primary::before { animation: none; } }

/* Compact, icon-only video pause control */
.video-toggle {
  width: 38px; height: 38px; padding: 0; justify-content: center; border-radius: 50%;
  background: rgba(11,23,48,.35); border-color: rgba(255,255,255,.35); opacity: .7; transition: opacity .2s, border-color .2s;
}
.video-toggle:hover, .video-toggle:focus-visible { opacity: 1; border-color: #fff; }
.video-toggle svg { width: 15px; height: 15px; }

/* ---------- Banner text scale: let the video breathe ---------- */
.hero-video .hero-copy { max-width: 1080px; }
.hero-video .eyebrow { margin-bottom: 16px; }
.hero-video h1 { font-size: clamp(2rem, 3.7vw, 3.35rem); line-height: 1.08; letter-spacing: -0.02em; max-width: 24ch; margin-bottom: 18px; }
.hero-video .grad-text { background-size: 100% .09em; }
.hero-video .lead { font-size: clamp(1rem, 1.25vw, 1.12rem); max-width: 58ch; margin-bottom: 28px; }
@media (max-width: 520px) { .hero-video h1 { font-size: 1.95rem; } }
.hero-video h1 { max-width: 32ch; }
@media (max-width: 760px) { .hero-video h1 { max-width: 20ch; } }

/* ---------- Home: service cards ---------- */
.svc-cards-section { background: var(--navy-900); }
.svc-cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.svc-card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 340px;
  border-radius: 16px; overflow: hidden; isolation: isolate; color: #fff;
  box-shadow: 0 18px 40px -24px rgba(0,0,0,.7); outline-offset: 4px;
}
.svc-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.svc-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(11,23,48,.05) 0%, rgba(11,23,48,.35) 38%, rgba(15,33,72,.94) 72%, rgba(15,33,72,.98) 100%);
  transition: background .3s ease;
}
.svc-card:hover { color: #fff; }
.svc-card:hover img { transform: scale(1.05); }
.svc-card:hover::before { background: linear-gradient(180deg, rgba(11,23,48,.15) 0%, rgba(11,23,48,.45) 35%, rgba(15,33,72,.95) 68%, rgba(15,33,72,.98) 100%); }
.svc-tag {
  position: absolute; top: 0; left: 0; padding: 7px 14px 7px 16px; border-bottom-right-radius: 12px;
  background: var(--marker); color: var(--ink); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.svc-body { padding: 22px 24px 24px; }
.svc-card h3 { color: #fff; font-size: 1.22rem; line-height: 1.25; margin: 0 0 8px; }
.svc-card p { margin: 0 0 18px; color: #d3dbea; font-size: .95rem; line-height: 1.5; }
.svc-go { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--marker); color: var(--ink); transition: transform .2s ease, background .2s ease; }
.svc-go svg { width: 18px; height: 18px; }
.svc-card:hover .svc-go { transform: translateX(4px); background: #f7c45f; }
.svc-cards-section .link-arrow { color: #fff; }
@media (max-width: 980px) { .svc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .svc-cards { grid-template-columns: 1fr; } .svc-card { min-height: 300px; } }

.stats-band { padding-block: clamp(48px, 6vw, 80px); }
/* service cards sit on a light band after the dark video */
.svc-cards-section { background: var(--paper); border-bottom: 1px solid var(--line); }
.svc-cards-section .link-arrow { color: var(--navy); }
.svc-card { box-shadow: 0 1px 2px rgba(15,26,46,.08), 0 20px 40px -24px rgba(15,26,46,.45); }
.svc-cards-section { padding-top: clamp(36px, 4.5vw, 60px); }

/* ---------- Home: technology expertise (tabbed logo grid) ---------- */
.tech-section { background: #fff; padding-block: clamp(56px, 7vw, 96px); }
.tech-tabs { margin-bottom: 28px; }
.tech-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 14px; }
.tech-grid[hidden] { display: none; }
.tech-tile {
  --brand: var(--navy);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-height: 124px;
  padding: 20px 12px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; text-align: center;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
  animation: techIn .35s ease both;
}
.tech-logo { display: grid; place-items: center; width: 40px; height: 40px; color: #8a92a1; transition: color .2s ease; }
.tech-logo svg { width: 36px; height: 36px; fill: currentColor; }
.tech-logo [data-lucide], .tech-logo svg.lucide { fill: none; stroke: currentColor; }
.tech-name { font-weight: 600; font-size: .92rem; color: var(--ink); line-height: 1.25; }
.tech-tile:hover { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); box-shadow: 0 12px 28px -18px rgba(15,26,46,.35); transform: translateY(-2px); }
.tech-tile:hover .tech-logo { color: var(--brand); }
.tech-note { margin: 22px 0 0; font-size: .8rem; color: var(--muted); }
@keyframes techIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) {
  .tech-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .tech-tabs .tab { flex: 0 0 auto; }
  .tech-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Technology expertise: category rows with tags (replaces logo tiles) */
.tech-rows { border-top: 1px solid var(--ink); }
.tech-row { display: grid; grid-template-columns: 240px 1fr; gap: 12px 32px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.tech-row h3 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 1.05rem; }
.tech-row h3 svg { width: 20px; height: 20px; color: var(--navy); stroke-width: 1.6; }
.tech-tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tech-tags li {
  padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff;
  font-size: .9rem; font-weight: 500; color: var(--ink); line-height: 1.2;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.tech-tags li:hover { border-color: var(--navy); background: var(--paper); color: var(--navy); }
@media (max-width: 760px) { .tech-row { grid-template-columns: 1fr; } .tech-tags li { font-size: .85rem; padding: 6px 12px; } }

/* Technology expertise: tabs with tag panels (compact) */
.tech-tabs .tab { display: inline-flex; align-items: center; gap: 8px; }
.tech-tabs .tab svg { width: 17px; height: 17px; stroke-width: 1.7; }
.tech-panel { min-height: 96px; align-content: flex-start; gap: 10px; animation: techIn .3s ease both; }
.tech-panel li { padding: 9px 18px; font-size: .95rem; }
@media (max-width: 760px) { .tech-panel { min-height: 0; } .tech-panel li { padding: 7px 13px; font-size: .88rem; } }

/* Technology expertise v3: contained board + stats in one block */
.tech-board { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 6px clamp(18px, 3vw, 32px) clamp(22px, 3vw, 30px); }
.tech-board .tech-tabs { margin-bottom: 26px; border-bottom-color: var(--line-strong); }
.tech-panel { display: grid; grid-template-columns: minmax(200px, 300px) 1fr; gap: 16px 40px; align-items: start; min-height: 0; animation: techIn .3s ease both; }
.tech-panel[hidden] { display: none; }
.tech-cat h3 { margin: 0 0 6px; font-size: 1.25rem; }
.tech-cat p { margin: 0; color: var(--muted); font-size: .97rem; line-height: 1.5; }
.tech-panel .tech-tags { gap: 10px; }
.tech-panel .tech-tags li { background: #fff; padding: 10px 18px; font-size: .97rem; font-weight: 600; border-color: var(--line); box-shadow: 0 1px 2px rgba(15,26,46,.05); }
.tech-panel .tech-tags li:hover { border-color: var(--navy); color: var(--navy); background: #fff; }
.tech-stats { margin-top: clamp(40px, 5vw, 64px); }
@media (max-width: 760px) {
  .tech-panel { grid-template-columns: 1fr; }
  .tech-panel .tech-tags li { padding: 8px 14px; font-size: .9rem; }
}
.stat strong { font-variant-numeric: tabular-nums; }

/* Stats: brand amber numbers (deepened for contrast on white) + amber rule */
:root { --amber-text: #c08510; }
.stats .stat { border-top-color: var(--marker); border-top-width: 3px; }
.stats .stat strong, .stats .stat strong.grad-text-brand { color: var(--amber-text); }

/* ---------- Tighter vertical rhythm across the site ---------- */
.section { padding: clamp(48px, 6vw, 84px) 0; }
.section-head { margin-bottom: clamp(28px, 3.5vw, 44px); }
.tech-section { padding-block: clamp(44px, 5vw, 72px); }
.svc-cards-section { padding-top: clamp(36px, 4.5vw, 56px); padding-bottom: clamp(44px, 5vw, 72px); }
.tech-stats { margin-top: clamp(32px, 4vw, 52px); }

/* Two-column sections: align to the top so the shorter column doesn't float in empty space */
.split { align-items: start; }
/* "How we work" photo strip: slimmer, tighter */
.photo-band { aspect-ratio: 21 / 6.5; margin-bottom: clamp(28px, 3.5vw, 44px); }
@media (max-width: 640px) { .photo-band { aspect-ratio: 16 / 9; } }
.footer-legal { display: inline-flex; flex-wrap: wrap; gap: 6px 20px; }

/* ---------- AI-TDLC section (AI & Data page) ---------- */
.tdlc { background: var(--paper); }
.tdlc-phases { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; }
.tdlc-phase { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px 22px 24px; }
.tdlc-phase:not(:last-child)::after { content: "→"; position: absolute; right: -24px; top: 26px; color: var(--amber-text, #c08510); font-weight: 700; font-size: 1.25rem; }
.ph-num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: var(--navy); color: #fff; font: 600 .95rem/1 var(--font-mono); margin-bottom: 14px; }
.tdlc-phase h3 { margin: 0 0 6px; font-size: 1.15rem; }
.ph-sum { margin: 0 0 12px; color: var(--navy); font-weight: 600; font-size: .95rem; line-height: 1.4; }
.tdlc-phase ul { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; color: var(--muted); font-size: .92rem; line-height: 1.45; }
.tdlc-label { margin: clamp(32px, 4vw, 44px) 0 12px; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tdlc-blocks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.tdlc-blocks li { background: #fff; border: 1px solid var(--line-strong); border-radius: 10px; padding: 14px 12px; text-align: center; }
.tdlc-blocks strong { display: block; font-family: var(--font-display); font-size: 1rem; color: var(--ink); }
.tdlc-blocks small { display: block; margin-top: 3px; color: var(--muted); font-size: .84rem; }
.tdlc-outcome { margin: 24px 0 0; padding: 16px 22px; border-radius: 10px; background: var(--navy); color: #fff; font-size: 1rem; line-height: 1.5; }
.tdlc-outcome span { margin-right: 12px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--marker); }
@media (max-width: 1024px) {
  .tdlc-phases { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .tdlc-phase::after { display: none; }
  .tdlc-blocks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) { .tdlc-phases { grid-template-columns: 1fr; } .tdlc-blocks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* AI-TDLC result callout (site style, not deck style) */
.tdlc-outcome {
  display: flex; align-items: center; gap: 16px; margin: 24px 0 0; padding: 18px 22px;
  background: #fff; color: var(--ink); border: 1px solid var(--line); border-left: 4px solid var(--marker); border-radius: 10px;
  box-shadow: 0 1px 2px rgba(15,26,46,.05);
}
.tdlc-outcome .oc-icon { flex-shrink: 0; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; }
.tdlc-outcome .oc-icon svg { width: 22px; height: 22px; }
.tdlc-outcome .oc-label { margin: 0 0 2px; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--amber-text, #c08510); }
.tdlc-outcome .oc-text { margin: 0; font-family: var(--font-display); font-size: 1.08rem; font-weight: 600; line-height: 1.4; }

/* AI-TDLC "What powers it" panel */
.tdlc-power { margin-top: clamp(28px, 4vw, 40px); background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: clamp(20px, 3vw, 30px); display: grid; grid-template-columns: 260px 1fr; gap: 20px 36px; }
.tdlc-power-head .tdlc-label { margin: 0 0 8px; color: var(--navy); font-size: .8rem; }
.tdlc-power-head p:last-child { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.5; }
.tdlc-power-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 28px; }
.tdlc-power-grid li { display: flex; gap: 12px; align-items: flex-start; }
.pw-icon { flex-shrink: 0; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--paper); color: var(--navy); }
.pw-icon svg { width: 19px; height: 19px; stroke-width: 1.7; }
.tdlc-power-grid strong { display: block; font-family: var(--font-display); font-size: 1rem; color: var(--ink); margin-bottom: 2px; }
.tdlc-power-grid small { display: block; color: var(--muted); font-size: .88rem; line-height: 1.45; }
@media (max-width: 1024px) { .tdlc-power { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .tdlc-power-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .tdlc-power-grid { grid-template-columns: 1fr; } }

/* Tighter join between "What we deliver" and the AI-TDLC / next band on service pages */
section[aria-labelledby="deliver-title"] { padding-bottom: clamp(36px, 4.5vw, 60px); }
.tdlc { padding-top: clamp(36px, 4.5vw, 56px); }
.steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .steps-3 { grid-template-columns: 1fr; } }

/* Homepage service cards: 7 services + "all services" tile in a 4 x 2 grid */
.svc-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.svc-card { min-height: 320px; }
.svc-card .svc-body { padding: 20px 20px 22px; }
.svc-card h3 { font-size: 1.12rem; }
.svc-card p { font-size: .92rem; }
.svc-card-all { background: var(--navy); justify-content: space-between; }
.svc-card-all::before { display: none; }
.svc-card-all .svc-body { display: flex; flex-direction: column; height: 100%; padding: 26px 22px; }
.svc-card-all .all-icon { width: 34px; height: 34px; color: var(--marker); margin-bottom: auto; }
.svc-card-all h3 { margin-top: 24px; }
.svc-card-all:hover { background: var(--navy-900); }
@media (max-width: 1100px) { .svc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .svc-cards { grid-template-columns: 1fr; } .svc-card-all { min-height: 220px; } }

/* Phones: portrait-shaped banner image (smaller, sharper) */
@media (max-width: 760px) { .hero-video { background-image: url("../video/hero-poster-mobile.webp"); } }
