:root {
  color-scheme: dark;
  --brand-primary: #00e5ff;
  --brand-primary-hover: #22d3ee;
  --brand-dark: #0b1117;
  --brand-scrim: #0a0f1c;
  --brand-light: #f0fdff;
  --ink: #ffffff;
  --muted: rgb(255 255 255 / 60%);   /* opacity, not a hex, so theming stays clean */
  --radius-chip: 6px;
  --track-tight: -0.03em;            /* -3% */
  --hairline: rgb(255 255 255 / 16%);
  --font-sans: "Geist", "Inter", ui-sans-serif, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--brand-dark); color: var(--ink); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; }
::selection { color: #000000; background: var(--brand-primary); }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, video:focus-visible { outline: 3px solid var(--brand-primary); outline-offset: 6px; border-radius: 3px; }
img { display: block; width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 500; letter-spacing: var(--track-tight); }
p { font-weight: 300; }
p { line-height: 1.6; letter-spacing: -0.02em; }
.container { width: min(100% - 80px, 1200px); margin-inline: auto; }
.section-space { padding-block: 120px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 20px; top: 12px; z-index: 60; padding: 12px 18px; color: #000000; background: var(--brand-primary); transform: translateY(-160%); border-radius: 8px; font-weight: 700; }
.skip-link:focus { transform: translateY(0); }
.eyebrow, .section-label { font-size: 12px; font-weight: 400; text-transform: uppercase; letter-spacing: 0.15em; line-height: 1.5; color: var(--muted); }
.eyebrow { color: var(--brand-primary); }
.signal { display: inline-block; width: 7px; height: 7px; margin-right: 10px; border-radius: 50%; background: var(--brand-primary); vertical-align: 1px; }
.text-link { display: inline-flex; align-items: center; gap: 22px; min-height: 44px; font-size: 13px; font-weight: 400; }
.text-link span[aria-hidden] { font-size: 20px; color: var(--brand-primary); transition: transform 200ms ease; }
.text-link:hover { color: var(--brand-primary); }
.text-link:hover span[aria-hidden] { transform: translate(3px, -2px); }


.hero { position: relative; isolation: isolate; min-height: min(850px, 84svh); overflow: hidden; display: flex; align-items: end; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 48%; z-index: -3; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: -3; opacity: 0; pointer-events: none; }
.hero-video.is-ready { opacity: 1; }
.hero-motion-toggle { position: absolute; top: 88px; right: 40px; min-height: 44px; padding: 10px 16px; border: 1px solid rgb(255 255 255 / 45%); border-radius: 999px; color: #ffffff; background: rgb(11 17 23 / 80%); font: 400 12px/1.5 var(--font-sans); cursor: pointer; }
.hero-motion-toggle[hidden] { display: none; }
.hero-links { display: flex; flex-direction: column; align-items: start; gap: 8px; }
.hero-scrim { position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, rgb(10 15 28 / 18%) 0%, rgb(10 15 28 / 52%) 32%, rgb(10 15 28 / 84%) 100%); }
.hero-content { padding-top: 160px; padding-bottom: 92px; }
.hero .eyebrow { margin-bottom: 24px; color: var(--ink); text-shadow: 0 1px 10px rgb(0 0 0 / 50%); }
.hero h1 { max-width: 18ch; font-size: clamp(36px, 4vw, 56px); line-height: 1.2; letter-spacing: var(--track-tight); }
.hero-bottom { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-top: 32px; }
.hero-bottom p { font-size: 16px; line-height: 1.6; font-weight: 300; }
.hero-link { border-bottom: 1px solid rgb(255 255 255 / 45%); padding: 4px 0; }
.hero-link:hover span[aria-hidden] { transform: translateY(3px); }
.hero-credit { position: absolute; inset: auto 48px 22px; display: flex; justify-content: space-between; gap: 20px; color: #d0d5dc; font-size: 9px; text-transform: uppercase; letter-spacing: 0.13em; line-height: 1.5; }

.film-dialog { width: min(1120px, calc(100% - 32px)); max-height: calc(100svh - 32px); margin: auto; padding: 24px; overflow: auto; border: 1px solid var(--hairline); border-radius: 10px; background: var(--brand-dark); color: var(--ink); }
.film-dialog::backdrop { background: rgb(0 0 0 / 88%); }
html:has(.film-dialog[open]) { overflow: hidden; }
.film-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.film-heading h2 { font-size: clamp(22px, 3vw, 36px); line-height: 1.15; }
.film-close { display: inline-flex; align-items: center; justify-content: center; gap: 12px; flex-shrink: 0; min-width: 44px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--hairline); border-radius: 999px; background: transparent; color: var(--ink); font: 400 13px/1.5 var(--font-sans); cursor: pointer; }
.film-close span { font-size: 22px; }
.film-close:hover { background: rgb(255 255 255 / 8%); }
.concept-film-player { display: block; width: 100%; height: auto; max-height: calc(100svh - 230px); aspect-ratio: 16 / 9; object-fit: contain; background: #000000; }
.film-caption { display: flex; justify-content: space-between; gap: 16px; padding-top: 16px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.film-description { padding-top: 12px; color: var(--muted); font-size: 13px; }
.film-error { margin-top: 16px; font-size: 14px; }
.film-error a { color: var(--brand-primary); text-decoration: underline; text-underline-offset: 3px; }

.consulting-intro { display: grid; grid-template-columns: 1fr 3fr; gap: 48px; }
.section-label { color: var(--muted); padding-top: 12px; }
.intro-content h2 { font-size: clamp(32px, 3.4vw, 54px); line-height: 1.15; letter-spacing: -0.05em; }
.muted-heading { color: var(--muted); }
.intro-details { display: grid; grid-template-columns: 1.7fr 1fr; gap: 64px; margin-top: 40px; }
.intro-details > p { max-width: 540px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.intro-aside p { font-size: 15px; line-height: 1.6; max-width: 46ch; }
.intro-aside .text-link { margin-top: 12px; font-size: 12px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 48px; margin-bottom: 48px; }
.section-heading .eyebrow { margin-bottom: 16px; }
.section-heading h2 { font-size: clamp(30px, 3.5vw, 52px); line-height: 1.08; max-width: 22ch; }
.section-note { max-width: 340px; flex-shrink: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }


.services { padding-top: 0; padding-bottom: 0; }
.service-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.service { display: flex; flex-direction: column; align-items: start; padding: 32px 32px 38px; border-right: 1px solid var(--hairline); }
.service:first-child { padding-left: 0; }
.service:last-child { border-right: 0; padding-right: 0; }
.service-number { color: var(--muted); font-size: 11px; font-weight: 400; letter-spacing: 0.08em; margin-bottom: 44px; }
.service h3 { font-size: clamp(25px, 2.5vw, 38px); line-height: 1.12; letter-spacing: -0.05em; }
.service p { margin-top: 24px; margin-bottom: 40px; max-width: 42ch; color: var(--muted); font-size: 16px; line-height: 1.6; }
.service-tag { margin-top: auto; align-self: start; padding: 5px 10px; border-radius: var(--radius-chip); background: rgb(255 255 255 / 6%); color: var(--muted); font-size: 11px; font-weight: 400; line-height: 1.5; letter-spacing: 0.06em; text-transform: uppercase; }


.approach { display: grid; grid-template-columns: 1fr 3fr; gap: 48px; }
.approach-content h2 { font-size: clamp(36px, 4.5vw, 66px); line-height: 1.04; }
.process-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; list-style: none; padding: 0; margin: 48px 0 0; counter-reset: process; }
.process-list li { border-top: 1px solid var(--hairline); padding-top: 20px; counter-increment: process; }
.process-list li::before { content: "0" counter(process); color: var(--muted); font-size: 10px; font-weight: 400; }
.process-list h3 { margin-top: 24px; font-size: 18px; letter-spacing: -0.03em; }
.process-list p { margin-top: 12px; color: var(--muted); font-size: 15px; line-height: 1.6; max-width: 46ch; }

.scope-note { margin-top: 32px; max-width: 540px; color: var(--muted); font-size: 14px; line-height: 1.6; }

.contact-section { padding-block: 112px; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); background: rgb(255 255 255 / 3%); }
.contact-layout { display: flex; align-items: end; justify-content: space-between; gap: 64px; }
.contact-layout .eyebrow { margin-bottom: 32px; }
.contact-layout h2 { font-size: clamp(44px, 5.6vw, 84px); line-height: 1.02; letter-spacing: -0.06em; }
.contact-action { max-width: 340px; flex-shrink: 0; padding-bottom: 5px; }
.button { display: inline-flex; justify-content: space-between; align-items: center; gap: 52px; min-height: 56px; padding: 18px 28px; background: var(--brand-primary); color: #000000; border-radius: 999px; font-size: 13px; font-weight: 500; letter-spacing: -0.01em; transition: background 150ms ease; }
/* Ghost pill for secondary actions — #F4F4F4 at 10% over dark, no border, no shadow. */
.button.is-ghost { background: rgb(255 255 255 / 10%); color: var(--ink); }
.button.is-ghost:hover { background: rgb(255 255 255 / 16%); }
.button span { font-size: 22px; }
.button:hover { background: var(--brand-primary-hover); }
.contact-action p { margin-top: 20px; font-size: 11px; color: var(--muted); line-height: 1.7; }
.email-link { display: inline-block; margin-top: 20px; min-height: 44px; padding-block: 10px; font-size: 12px; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: rgb(255 255 255 / 40%); }
.email-link:hover { color: var(--brand-primary); }


.consulting-footer { padding-block: 32px; }
.consulting-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.consulting-footer-brand > a { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; font-weight: 500; }
.consulting-footer-brand p { color: var(--muted); font-size: 11px; }
.consulting-footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.consulting-footer-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: 12px; }
.consulting-footer a:hover { color: var(--brand-primary); }

@media (min-width: 1600px) {
  .hero-credit { inset-inline: calc((100vw - 1280px) / 2); }
}

@media (max-width: 1000px) {
  .container { width: calc(100% - 64px); }
  .hero-credit { inset-inline: 32px; }
  .section-space { padding-block: 104px; }
  .services { padding-top: 0; }
  .consulting-intro, .approach { grid-template-columns: 1fr 3.5fr; gap: 32px; }
  .intro-details { gap: 32px; }
  .section-heading { gap: 32px; }
  .section-note { max-width: 240px; }
  .service { padding-inline: 24px; }
  .contact-layout { gap: 32px; }
  .contact-action { max-width: 280px; }
}

@media (max-width: 760px) {
  .hero-video, .hero-motion-toggle { display: none; }
  .film-dialog { padding: 16px; }
  .film-heading { gap: 12px; margin-bottom: 16px; }
  .film-close { padding-inline: 12px; }
  .film-caption { flex-direction: column; gap: 4px; }
  .film-description { font-size: 12px; }
  .container { width: calc(100% - 40px); }
  .hero { min-height: 610px; min-height: min(740px, 82svh); }
  .hero-image { object-position: 73% center; }
  .hero-content { padding-top: 164px; padding-bottom: 100px; }
  .hero .eyebrow { font-size: 9px; margin-bottom: 24px; }
  .hero h1 { font-size: clamp(44px, 8.6vw, 66px); max-width: 15ch; }
  .hero-bottom { align-items: start; flex-direction: column; gap: 22px; margin-top: 28px; }
  .hero-bottom p { font-size: 13px; }
  .hero-link { font-size: 12px; }
  .hero-credit { inset-inline: 20px; bottom: 20px; font-size: 8px; flex-direction: column; gap: 4px; }
  .section-space { padding-block: 80px; }
  .services { padding-top: 0; }
  .consulting-intro, .approach { grid-template-columns: 1fr; gap: 28px; }
  .section-label { padding-top: 0; font-size: 9px; }
  .intro-content h2 { font-size: clamp(28px, 5.8vw, 40px); }
  .intro-details { margin-top: 28px; grid-template-columns: 1fr; gap: 24px; }
  .intro-details > p { font-size: 14px; }
  .intro-aside { display: flex; align-items: center; gap: 24px; justify-content: space-between; }
  .intro-aside p { font-size: 11px; }
  .intro-aside .text-link { margin-top: 0; font-size: 11px; }
  .section-heading { flex-direction: column; align-items: start; gap: 20px; margin-bottom: 32px; }
  .section-heading .eyebrow { font-size: 9px; margin-bottom: 12px; }
  .section-heading h2 { font-size: clamp(28px, 6.5vw, 42px); }
  .section-note { max-width: 360px; font-size: 11px; }
  .service-list { display: block; }
  .service { padding: 24px 0 28px; border-right: 0; border-bottom: 1px solid var(--hairline); display: grid; grid-template-columns: 32px 1fr; column-gap: 12px; }
  .service:last-child { border-bottom: 0; }
  .service-number { margin: 6px 0 0; grid-column: 1; }
  .service h3 { grid-column: 2; font-size: 30px; }
  .service p { grid-column: 2; max-width: 100%; font-size: 12px; margin: 20px 0 24px; }
  .service-tag { grid-column: 2; font-size: 8px; }
  .approach-content h2 { font-size: clamp(36px, 7vw, 52px); }
  .process-list { gap: 24px; margin-top: 32px; grid-template-columns: 1fr; }
  .process-list li { padding-top: 16px; }
  .process-list h3 { display: inline; margin-left: 20px; font-size: 18px; }
  .process-list p { margin-left: 34px; font-size: 12px; }
  .contact-section { padding-block: 72px; }
  .contact-layout { flex-direction: column; align-items: start; gap: 40px; }
  .contact-layout .eyebrow { font-size: 9px; margin-bottom: 24px; }
  .contact-layout h2 { font-size: clamp(40px, 8.5vw, 62px); }
  .contact-action { max-width: 100%; }
  .button { min-height: 52px; font-size: 13px; padding: 16px 24px; gap: 40px; }
  .contact-action p { font-size: 10px; }
  .consulting-footer-inner { flex-direction: column; align-items: start; gap: 12px; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 42px; }
  .hero .eyebrow { font-size: 8px; letter-spacing: 0.1em; }
  .intro-aside { flex-direction: column; align-items: start; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-video, .hero-motion-toggle { display: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}


/* ============================================================
   Site chrome alignment — 2026-10-26
   This page runs a dark :root (--ink:#fff, --muted:#a9b1ba). The shared
   header in /data-intelligence/site-chrome.css expect the site's
   light palette, so the four variables it consumes are re-scoped to the
   chrome elements only. Page content keeps its own dark theme.
   ============================================================ */
.hp-nav, .hp-mobile {
  --cyan: #00E5FF;
  --ink: #0B1117;
  --line: #dce6ec;
  --muted: #66798b;
}

/* ============================================================
   Scroll reveal — sections settle in as they enter.

   The hidden state is scoped to `.js-reveal`, a class reveal.js puts on
   <html> only once it is actually running. If the script 404s, is blocked,
   or JS is off, that class is never added and every section renders fully
   visible. Content must never depend on a script to be readable.

   Disabled entirely under prefers-reduced-motion.
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .js-reveal .reveal { opacity: 0; transform: translateY(18px); filter: saturate(.75);
            transition: opacity 700ms cubic-bezier(.22,.61,.36,1),
                        transform 700ms cubic-bezier(.22,.61,.36,1),
                        filter 700ms ease; }
  .js-reveal .reveal.is-in { opacity: 1; transform: none; filter: none; }
}

