/* ==========================================================================
   SRKay Consulting Group — website
   Design system sourced from "Brand Guidelines v1.0 draft" (Sep 2026):
   Indigo + Apex Orange hero pair, four stage colours, Nexa / Poppins / Source Serif 4.

   NOTE on typefaces: Nexa is a commercial Fontfabric licence the team needs to buy
   seats for (see guide, p.25). Until that licence + webfont kit are supplied, the
   display typeface below substitutes "Sora" (a free, geometric-grotesque of similar
   proportion) — swap --f-display for the real Nexa @font-face once licensed.
   Poppins and Source Serif 4 are the guide's actual fonts and need no substitute.
   ========================================================================== */

:root {
  /* Hero pair — 62% Indigo / 25% White / 8% Apex Orange (guide p.23) */
  --indigo: #07042e;
  --indigo-2: #100c42;   /* elevated panel on Indigo */
  --indigo-3: #191456;   /* further-elevated panel on Indigo */
  --white: #ffffff;
  --mist: #eef0f6;       /* acceptable secondary light background (guide p.19) */
  --accent: #f39917;     /* Apex Orange — signature accent only, see contrast rules below */

  /* Stage colours — coding only, never large decorative fills (guide p.22) */
  --stage-advise: #2a8cd4;    /* Signal Blue */
  --stage-build: #55b038;     /* Growth Green */
  --stage-operate: #f39917;   /* Apex Orange */
  --stage-transform: #e61b1f; /* Catalyst Red */
  --slate: #6e7072;           /* neutral: secondary text, rules */

  /* Aliases kept so component rules below read the same regardless of bg */
  --ink: var(--indigo);
  --ink-2: var(--indigo-2);
  --ink-3: var(--indigo-3);
  --paper: var(--white);
  --paper-2: var(--mist);
  --mute-l: var(--slate);         /* secondary text on White/Mist — 5:1, text OK */
  --mute-d: #9b9dc2;              /* secondary text on Indigo (derived tint, not a named guide colour) */
  --line-d: rgba(255, 255, 255, 0.14);
  --line-l: rgba(7, 4, 46, 0.14);

  --f-display: "Sora", "Helvetica Neue", Arial, sans-serif; /* Nexa substitute — see note above */
  --f-body: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --f-serif: "Source Serif 4", "Times New Roman", serif;

  --gutter: clamp(20px, 4vw, 64px);
  --section: clamp(96px, 14vw, 200px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.76, 0, 0.24, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--indigo);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
::selection { background: var(--accent); color: var(--indigo); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Display typeface — titles, subtitles, logo, big numerals (guide p.25-26) */
h1, h2, h3, .h-xxl, .h-xl, .h-lg, .h-md, .logo, .foot__mega, .loader__count,
.curtain span, .menu a.big, .office__city, .num b, .hero__stats b, .step__n,
.step h3, .svc__title, .card h3, .row h3, .ui__float b, .marquee__item,
.statement__text, .stat b {
  font-family: var(--f-display);
}

.skip { position: fixed; left: 16px; top: -60px; z-index: 300; background: var(--accent); color: var(--indigo); padding: 10px 16px; border-radius: 99px; font-weight: 600; }
.skip:focus { top: 16px; }

/* ---------- Layout helpers ---------- */
.wrap { padding-inline: var(--gutter); max-width: 1680px; margin-inline: auto; }
.section { padding-block: var(--section); position: relative; }
.dark { background: var(--indigo); color: var(--white); }
.light { background: var(--white); color: var(--indigo); }
.paper2 { background: var(--mist); color: var(--indigo); }
.grid12 { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 clamp(16px, 2vw, 32px); }

/* ---------- Type ---------- */
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--mute-l);
}
.dark .eyebrow, .eyebrow.on-dark { color: var(--mute-d); }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }

.h-xxl { font-size: clamp(3rem, 10.4vw, 11.5rem); line-height: 0.92; letter-spacing: -0.03em; font-weight: 600; }
.h-xl  { font-size: clamp(2.6rem, 7.4vw, 8rem);   line-height: 0.95; letter-spacing: -0.03em;  font-weight: 600; }
.h-lg  { font-size: clamp(2.1rem, 4.8vw, 5rem);   line-height: 1.0;  letter-spacing: -0.025em; font-weight: 600; }
.h-md  { font-size: clamp(1.5rem, 2.6vw, 2.6rem); line-height: 1.08; letter-spacing: -0.02em; font-weight: 600; }
h1 em, h2 em, h3 em, .serif {
  font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em;
}
/* Apex Orange text is contrast-safe on Indigo (8.8:1) but fails on White (2.2:1) —
   the guide restricts orange-as-text to dark surfaces; on light surfaces it's shapes only. */
.dark em, .dark .accent-text { color: var(--accent); }
.accent-shape { color: var(--accent); } /* icons/underlines/bars — fine on any bg */
.lead { font-size: clamp(1.1rem, 1.5vw, 1.4rem); line-height: 1.5; max-width: 34em; color: var(--mute-l); }
.dark .lead { color: var(--mute-d); }
.mono { font-size: 11px; letter-spacing: 0.07em; text-transform: uppercase; font-weight: 500; color: var(--mute-l); }
.dark .mono { color: var(--mute-d); }

/* split-text masks (built by JS) */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 0.06em 0.14em 0; margin: 0 -0.06em -0.14em 0; }
.wi { display: inline-block; will-change: transform; }
.js [data-split] { visibility: hidden; }
.js [data-split].is-split { visibility: visible; }

/* fade/rise reveals (JS drives) */
.js [data-reveal], .js [data-stagger] > * { opacity: 0; transform: translateY(32px); }

/* ---------- Stage tags (Advise / Build / Operate / Transform) ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 99px;
  font-size: 13px; font-weight: 500; color: var(--white); white-space: nowrap;
}
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: 0.9; }
.tag--advise { background: var(--stage-advise); }
.tag--build { background: var(--stage-build); }
.tag--operate { background: var(--stage-operate); color: var(--indigo); }
.tag--transform { background: var(--stage-transform); }
.tag--ghost { background: transparent; border: 1px solid currentColor; color: inherit; }

/* ---------- Buttons ---------- */
.btn {
  --bg: transparent; --fg: currentColor; --bd: currentColor;
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  padding: 6px 6px 6px 26px; border-radius: 99px; overflow: hidden; isolation: isolate;
  border: 1px solid var(--bd); color: var(--fg); background: var(--bg);
  font-weight: 500; font-size: 16px; line-height: 1; white-space: nowrap;
  transition: color 0.5s var(--ease), border-color 0.5s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent);
  transform: translateY(101%); border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  transition: transform 0.6s var(--ease), border-radius 0.6s var(--ease);
}
.btn:hover::before { transform: translateY(0); border-radius: 0; }
.btn:hover { color: var(--indigo); border-color: var(--accent); }
.btn__i {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent); color: var(--indigo); transition: transform 0.6s var(--ease), background 0.4s;
}
.btn:hover .btn__i { transform: rotate(45deg); background: var(--indigo); color: var(--accent); }
.btn__i svg { width: 18px; height: 18px; }
/* Orange-filled solid button: Indigo text passes contrast (guide p.41) */
.btn--solid { --bg: var(--accent); --fg: var(--indigo); --bd: var(--accent); }
.btn--solid::before { background: var(--indigo); }
.btn--solid:hover { color: var(--white); border-color: var(--indigo); }
.btn--solid .btn__i { background: var(--indigo); color: var(--white); }
.btn--solid:hover .btn__i { background: var(--accent); color: var(--indigo); }
.btn--sm { padding: 4px 4px 4px 20px; font-size: 14px; gap: 10px; }
.btn--sm .btn__i { width: 34px; height: 34px; }

.link-u { position: relative; display: inline-block; }
.link-u::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: currentColor; transform-origin: right; transition: transform 0.6s var(--ease); }
.link-u:hover::after { transform: scaleX(0); transform-origin: right; animation: ul 0.7s var(--ease) 0.15s forwards; }
@keyframes ul { from { transform: scaleX(0); transform-origin: left; } to { transform: scaleX(1); transform-origin: left; } }

/* ---------- Preloader + page curtain ---------- */
.loader {
  position: fixed; inset: 0; z-index: 500; background: var(--indigo); color: var(--white);
  display: flex; flex-direction: column; justify-content: space-between; padding: var(--gutter);
}
.loader__top { display: flex; justify-content: space-between; }
.loader__count { font-size: clamp(6rem, 24vw, 24rem); line-height: 0.8; letter-spacing: -0.04em; font-weight: 600; align-self: flex-end; font-variant-numeric: tabular-nums; }
.loader__bar { position: absolute; left: 0; bottom: 0; height: 4px; background: var(--accent); width: 100%; transform-origin: left; transform: scaleX(0); }
.curtain { position: fixed; inset: 0; z-index: 400; background: var(--accent); transform: translateY(100%); pointer-events: none; display: grid; place-items: center; }
.curtain span { font-size: clamp(2rem, 6vw, 5rem); font-weight: 600; letter-spacing: -0.03em; color: var(--indigo); }
html:not(.js) .loader, html:not(.js) .curtain { display: none; }

/* ---------- Header / menu ---------- */
/* A frosted Indigo scrim (not mix-blend-mode) keeps nav legible over any hero —
   blend-mode compositing would recolour the trademarked logo per-pixel, which the
   guide's misuse rules forbid ("do not recolour"), so contrast is handled with a
   real background instead. */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 200; padding: 14px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  color: #fff; background: rgba(7, 4, 46, 0.62); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.08); transition: transform 0.7s var(--ease);
}
.hdr.is-hidden { transform: translateY(-110%); }
.logo { display: inline-flex; align-items: center; }
.logo img { height: clamp(30px, 3.4vw, 38px); width: auto; display: block; }
.hdr__nav { display: flex; gap: 2px; }
.hdr__nav a { padding: 10px 14px; border-radius: 99px; font-size: 15px; position: relative; white-space: nowrap; }
.hdr__nav a::after { content: ""; position: absolute; left: 50%; bottom: 4px; width: 5px; height: 5px; border-radius: 50%; background: currentColor; transform: translateX(-50%) scale(0); transition: transform 0.5s var(--ease); }
.hdr__nav a:hover::after, .hdr__nav a[aria-current="page"]::after { transform: translateX(-50%) scale(1); }
.hdr__cta { display: flex; align-items: center; gap: 10px; }
.hdr__pill { border: 1px solid currentColor; padding: 11px 20px; border-radius: 99px; font-size: 15px; white-space: nowrap; transition: background 0.4s, color 0.4s; }
.hdr__pill:hover { background: #fff; color: #000; }
.burger { display: none; width: 46px; height: 46px; border: 1px solid currentColor; border-radius: 50%; position: relative; }
.burger i { position: absolute; left: 14px; right: 14px; height: 1.5px; background: currentColor; transition: transform 0.6s var(--ease), top 0.6s var(--ease); }
.burger i:nth-child(1) { top: 18px; } .burger i:nth-child(2) { top: 26px; }
.menu-open .burger i:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .burger i:nth-child(2) { top: 22px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 150; background: var(--indigo); color: #fff; padding: 120px var(--gutter) var(--gutter);
  display: flex; flex-direction: column; justify-content: space-between; clip-path: inset(0 0 100% 0); visibility: hidden;
}
.menu a.big { display: block; font-size: clamp(2.6rem, 11vw, 6rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.02; overflow: hidden; }
.menu a.big span { display: inline-block; }
.menu a.big small { font-size: 12px; letter-spacing: 0.06em; color: var(--mute-d); vertical-align: top; margin-right: 12px; font-family: var(--f-body); }
.menu__foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; color: var(--mute-d); font-size: 14px; }
@media (max-width: 960px) { .hdr__nav, .hdr__pill { display: none; } .burger { display: block; } }

/* ---------- Cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 600; pointer-events: none; mix-blend-mode: difference; display: none; }
.cursor__dot { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #fff; }
.cursor__ring { position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; border: 1px solid #fff; transition: width 0.4s var(--ease), height 0.4s var(--ease), margin 0.4s var(--ease), background 0.3s; display: grid; place-items: center; }
.cursor.is-link .cursor__ring { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: #fff; }
.cursor.is-link .cursor__dot { opacity: 0; }
@media (hover: hover) and (pointer: fine) { .js .cursor { display: block; } .js body, .js a, .js button { cursor: none; } }

/* ---------- Hero (home) ---------- */
.hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 140px var(--gutter) 0; position: relative; overflow: hidden; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(ellipse at 20% 100%, rgba(243,153,23,.16), transparent 55%), linear-gradient(to bottom, transparent 60%, var(--indigo)); }
.hero > * { position: relative; z-index: 2; }
.hero__meta { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(28px, 4vw, 56px); flex-wrap: wrap; }
.hero__sub { max-width: 30em; font-size: clamp(1.05rem, 1.4vw, 1.3rem); color: #c7c9e2; }
.hero__cta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.hero h1 { margin-bottom: clamp(28px, 4vw, 56px); max-width: 17ch; }
.hero__stats { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line-d); margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.hero__stats div { padding: 22px 0 26px; border-right: 1px solid var(--line-d); padding-left: 20px; }
.hero__stats div:first-child { padding-left: 0; }
.hero__stats div:last-child { border-right: 0; }
.hero__stats b { display: block; font-size: clamp(1.4rem, 2.4vw, 2.4rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.hero__stats span { font-size: 11px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--mute-d); display: block; margin-top: 6px; }
.scroll-cue { position: absolute !important; right: var(--gutter); top: 50%; z-index: 2; writing-mode: vertical-rl; display: flex; align-items: center; gap: 14px; color: var(--mute-d); }
.scroll-cue i { width: 1px; height: 64px; background: var(--line-d); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; inset: 0; background: var(--accent); animation: cue 2.2s var(--ease-io) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
@media (max-width: 900px) { .hero__stats { grid-template-columns: repeat(2, 1fr); } .hero__stats div:nth-child(2n) { border-right: 0; } .hero__stats div:nth-child(n+3) { border-top: 1px solid var(--line-d); } .scroll-cue { display: none !important; } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line-d); padding-block: clamp(18px, 2.4vw, 32px); }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__item { display: inline-flex; align-items: center; gap: clamp(24px, 4vw, 64px); padding-right: clamp(24px, 4vw, 64px); font-size: clamp(2rem, 5vw, 5rem); letter-spacing: -0.03em; font-weight: 600; white-space: nowrap; }
.marquee__item i { color: var(--accent); font-style: normal; }
.marquee__item em { font-family: var(--f-serif); font-weight: 400; }

/* ---------- Statement (word scrub) ---------- */
.statement { padding-block: var(--section); }
.statement__grid { align-items: start; row-gap: 40px; }
.statement__label { grid-column: 1 / 4; padding-top: 14px; }
.statement__text { grid-column: 4 / 13; font-size: clamp(1.9rem, 4.4vw, 4.6rem); line-height: 1.08; letter-spacing: -0.03em; font-weight: 600; }
.statement__text .sw { opacity: 0.16; display: inline-block; margin-right: 0.24em; }
.statement__text em .sw, .statement__text .sw.serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; }
.no-scrub .statement__text .sw { opacity: 1; }
@media (max-width: 900px) { .statement__label, .statement__text { grid-column: 1 / -1; } }

/* ---------- Lifecycle stages: sticky stack ---------- */
.svc-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(48px, 6vw, 96px); flex-wrap: wrap; }
.svc-stack { position: relative; }
.svc {
  position: sticky; top: calc(96px + var(--i) * 18px); margin-bottom: 8vh; border-radius: 28px; overflow: hidden;
  min-height: min(74vh, 640px); padding: clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px) clamp(40px, 5vw, 72px);
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 72px);
  transform-origin: 50% 0; will-change: transform; position: relative; isolation: isolate;
}
.svc::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--stage); }
.svc--advise { --stage: var(--stage-advise); background: var(--indigo); color: #fff; }
.svc--build { --stage: var(--stage-build); background: var(--mist); color: var(--indigo); border: 1px solid var(--line-l); }
.svc--operate { --stage: var(--stage-operate); background: var(--indigo-3); color: #fff; }
.svc--transform { --stage: var(--stage-transform); background: var(--white); color: var(--indigo); border: 1px solid var(--line-l); }
.svc__num { font-size: 13px; letter-spacing: 0.05em; opacity: 0.7; color: var(--stage); font-weight: 500; }
.svc__title { font-size: clamp(2.2rem, 5vw, 5.2rem); line-height: 0.98; letter-spacing: -0.035em; font-weight: 600; margin-block: 20px 24px; }
.svc__desc { max-width: 30em; font-size: clamp(1rem, 1.2vw, 1.15rem); opacity: 0.85; }
.svc__left { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.svc__right { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.svc__list li { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-top: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 20%, transparent); font-size: clamp(1.02rem, 1.4vw, 1.3rem); letter-spacing: -0.015em; }
.svc__list li span { font-size: 11px; opacity: 0.65; letter-spacing: 0.06em; text-transform: uppercase; }
.svc .btn { align-self: flex-start; }
/* Light-bg stage cards (Build, Transform): the default ghost button already reads
   correctly here — currentColor is Indigo, and the orange hover-fill keeps Indigo
   text per the guide's contrast rule ("orange buttons use Indigo text"). */
.svc--build .btn, .svc--transform .btn { --bd: var(--indigo); }
@media (max-width: 900px) { .svc { grid-template-columns: 1fr; position: relative; top: 0 !important; min-height: 0; margin-bottom: 20px; } }

/* ---------- Horizontal pinned timeline ---------- */
.hs { overflow: hidden; }
.hs__pin { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-block: 12vh 8vh; }
.hs__head { margin-bottom: clamp(32px, 5vw, 72px); display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.hs__track { display: flex; gap: clamp(16px, 2vw, 28px); padding-inline: var(--gutter); width: max-content; will-change: transform; }
.step { width: clamp(300px, 34vw, 520px); flex: none; border: 1px solid var(--line-d); border-radius: 24px; padding: clamp(24px, 2.4vw, 40px); min-height: clamp(340px, 46vh, 460px); display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(180deg, rgba(255,255,255,.04), transparent); transition: border-color 0.5s, background 0.5s; }
.step:hover { border-color: var(--accent); background: linear-gradient(180deg, rgba(243,153,23,.12), transparent); }
.step__n { font-size: clamp(4rem, 8vw, 8rem); line-height: 0.8; letter-spacing: -0.05em; font-weight: 600; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.35); }
.step h3 { font-size: clamp(1.5rem, 2.2vw, 2.2rem); letter-spacing: -0.03em; line-height: 1.05; font-weight: 600; margin-bottom: 12px; }
.step p { color: var(--mute-d); font-size: 16px; max-width: 26em; }
.hs__bar { height: 2px; background: var(--line-d); margin: clamp(28px, 4vw, 56px) var(--gutter) 0; position: relative; }
.hs__bar i { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(0); }
@media (max-width: 900px) { .hs__pin { min-height: 0; padding-block: var(--section); } .hs__track { flex-direction: column; width: auto; } .step { width: auto; min-height: 0; gap: 60px; } .hs__bar { display: none; } }

/* ---------- Proof points ---------- */
.nums { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line-l); }
.dark .nums { border-color: var(--line-d); }
.num { padding: clamp(28px, 4vw, 56px) clamp(12px, 1.6vw, 24px) clamp(28px, 4vw, 56px) 0; border-right: 1px solid var(--line-l); padding-left: clamp(12px, 1.6vw, 24px); }
.dark .num { border-color: var(--line-d); }
.num:first-child { padding-left: 0; } .num:last-child { border-right: 0; }
.num b { display: block; font-size: clamp(2.6rem, 6vw, 6rem); line-height: 0.95; letter-spacing: -0.04em; font-weight: 600; font-variant-numeric: tabular-nums; }
.num b sup { font-size: 0.5em; vertical-align: top; position: relative; top: 0.15em; margin-left: 2px; color: var(--indigo); }
.dark .num b sup { color: var(--accent); }
.num span { display: block; margin-top: 14px; color: var(--mute-l); max-width: 14em; font-size: 14.5px; }
.dark .num span { color: var(--mute-d); }
@media (max-width: 900px) { .nums { grid-template-columns: 1fr 1fr; } .num:nth-child(2n) { border-right: 0; } .num:nth-child(n+3) { padding-left: 0; border-top: 1px solid var(--line-l); } .dark .num:nth-child(n+3) { border-color: var(--line-d); } }

/* ---------- Pill list (engagement models, capability lists) ---------- */
.pill-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-block: 36px; }
.pill-list li { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border: 1px solid var(--line-d); border-radius: 99px; font-size: 15px; }
.light .pill-list li, .paper2 .pill-list li { border-color: var(--line-l); }
.pill-list svg { width: 18px; height: 18px; color: var(--accent); flex: none; }

/* ---------- Case evidence ---------- */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.case { border-radius: 24px; padding: clamp(24px, 2.6vw, 40px); display: flex; flex-direction: column; gap: 22px; border: 1px solid var(--line-l); background: var(--white); }
.case__stat { font-size: clamp(2.4rem, 4vw, 3.6rem); font-weight: 600; letter-spacing: -0.03em; color: var(--indigo); font-family: var(--f-display); }
.case__stat span { display: block; font-size: 14px; font-weight: 400; color: var(--mute-l); margin-top: 6px; font-family: var(--f-body); letter-spacing: 0; }
.case h3 { font-size: 1.4rem; letter-spacing: -0.02em; font-weight: 600; line-height: 1.15; }
.case p { color: var(--mute-l); font-size: 15px; }
@media (max-width: 900px) { .cases { grid-template-columns: 1fr; } }

/* ---------- Offices list ---------- */
.offices { border-top: 1px solid var(--line-l); }
.dark .offices { border-color: var(--line-d); }
.office { display: grid; grid-template-columns: 0.5fr 2fr 2.4fr 0.5fr; align-items: center; gap: 24px; padding: clamp(22px, 3vw, 40px) 0; border-bottom: 1px solid var(--line-l); position: relative; isolation: isolate; transition: padding 0.6s var(--ease), color 0.4s; }
.dark .office { border-color: var(--line-d); }
.office::before { content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); background: var(--accent); z-index: -1; transform: scaleY(0); transform-origin: bottom; transition: transform 0.6s var(--ease); }
.office:hover::before { transform: scaleY(1); }
.office:hover { padding-inline: 12px; color: var(--indigo); }
.office__n { font-size: 12px; color: var(--mute-l); }
.dark .office__n { color: var(--mute-d); }
.office:hover .office__n, .office:hover .office__addr { color: var(--indigo); }
.office__city { font-size: clamp(2.2rem, 6vw, 6rem); letter-spacing: -0.03em; line-height: 0.95; font-weight: 600; }
.office__city small { font-size: 11px; letter-spacing: 0.07em; text-transform: uppercase; vertical-align: top; margin-left: 10px; opacity: 0.6; font-family: var(--f-body); }
.office__addr { color: var(--mute-l); font-size: 15px; max-width: 30em; }
.dark .office__addr { color: var(--mute-d); }
.office__go { justify-self: end; width: 52px; height: 52px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; transition: transform 0.6s var(--ease), background 0.4s; }
.office__go svg { width: 20px; height: 20px; }
.office:hover .office__go { transform: rotate(45deg); background: var(--indigo); color: var(--accent); border-color: var(--indigo); }
@media (max-width: 900px) { .office { grid-template-columns: 1fr auto; } .office__n { display: none; } .office__addr { grid-column: 1 / -1; } .office__go { grid-row: 1; grid-column: 2; width: 44px; height: 44px; } .office:hover { padding-inline: 0; } }

/* ---------- Pillars (brand core) ---------- */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-d); }
.value { padding: 32px 24px 32px 0; border-right: 1px solid var(--line-d); padding-left: 24px; }
.value:first-child { padding-left: 0; } .value:last-child { border-right: 0; }
.value h3 { font-size: 1.6rem; letter-spacing: -0.025em; font-weight: 600; margin-block: 40px 10px; }
.value p { color: var(--mute-d); font-size: 15px; }
.value .proof { margin-top: 14px; font-size: 12.5px; color: var(--accent); letter-spacing: 0.02em; }
.value svg { width: 30px; height: 30px; color: var(--accent); }
@media (max-width: 900px) { .values { grid-template-columns: 1fr 1fr; } .value:nth-child(2) { border-right: 0; } .value:nth-child(3) { padding-left: 0; border-top: 1px solid var(--line-d); } .value:nth-child(4) { border-top: 1px solid var(--line-d); } }

/* ---------- CTA band ---------- */
.cta { text-align: center; padding-block: clamp(120px, 18vw, 260px); overflow: hidden; position: relative; }
.cta h2 { margin-inline: auto; max-width: 14ch; margin-bottom: 48px; }
.cta .btn { margin-inline: auto; }
.cta__blob { position: absolute; left: 50%; top: 50%; width: min(90vw, 900px); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(243,153,23,.3), transparent 65%); filter: blur(30px); pointer-events: none; }
.cta > * { position: relative; }

/* ---------- Footer ---------- */
.foot { background: var(--indigo); color: #fff; padding: clamp(64px, 8vw, 120px) var(--gutter) 0; overflow: hidden; }
.foot__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: clamp(48px, 7vw, 96px); }
.foot .logo img { height: 40px; }
.foot h4 { font-weight: 500; font-size: 12px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--mute-d); margin-bottom: 20px; }
.foot li { margin-bottom: 8px; }
.foot li a { color: #d5d7ec; transition: color 0.3s; } .foot li a:hover { color: var(--accent); }
.foot__blurb { max-width: 22em; color: var(--mute-d); margin-top: 20px; }
.foot__mega { font-size: 30.5vw; line-height: 0.74; letter-spacing: -0.05em; font-weight: 700; color: #fff; white-space: nowrap; margin-left: -1.5vw; margin-bottom: -0.02em; user-select: none; }
.foot__mega span { color: var(--accent); }
.foot__bar { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-block: 22px; border-top: 1px solid var(--line-d); color: var(--mute-d); font-size: 13px; position: relative; z-index: 2; background: var(--indigo); }
@media (max-width: 900px) { .foot__top { grid-template-columns: 1fr 1fr; } .foot__top > :first-child { grid-column: 1 / -1; } }

/* ---------- Inner page hero ---------- */
.phero { padding: clamp(150px, 20vw, 260px) var(--gutter) clamp(64px, 8vw, 120px); position: relative; overflow: hidden; }
.phero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.55; }
.phero > *:not(canvas) { position: relative; z-index: 2; }
.phero h1 { margin-block: 28px 32px; max-width: 16ch; }
.phero .lead { color: #c7c9e2; }
.crumbs { display: flex; gap: 10px; }
.crumbs a { opacity: 0.6; } .crumbs a:hover { opacity: 1; }

/* ---------- Generic content blocks ---------- */
.split { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(24px, 5vw, 96px); align-items: start; }
.split--even { grid-template-columns: 1fr 1fr; }
.split__sticky { position: sticky; top: 120px; }
@media (max-width: 900px) { .split, .split--even { grid-template-columns: 1fr; } .split__sticky { position: static; } }

.rows { border-top: 1px solid var(--line-l); }
.dark .rows { border-color: var(--line-d); }
.row { display: grid; grid-template-columns: 0.5fr 2fr 3fr; gap: 24px; padding: clamp(24px, 3vw, 44px) 0; border-bottom: 1px solid var(--line-l); align-items: start; }
.dark .row { border-color: var(--line-d); }
.row__n { font-size: 12px; color: var(--mute-l); padding-top: 8px; }
.dark .row__n { color: var(--mute-d); }
.row h3 { font-size: clamp(1.5rem, 2.6vw, 2.6rem); letter-spacing: -0.03em; line-height: 1.02; font-weight: 600; }
.row p { color: var(--mute-l); max-width: 34em; }
.dark .row p { color: var(--mute-d); }
.row ul { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.row ul li { font-size: 13px; padding: 6px 14px; border: 1px solid var(--line-l); border-radius: 99px; }
.dark .row ul li { border-color: var(--line-d); }
@media (max-width: 900px) { .row { grid-template-columns: 1fr; gap: 12px; } }

.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { border-radius: 24px; padding: clamp(24px, 2.6vw, 40px); min-height: 340px; display: flex; flex-direction: column; justify-content: space-between; background: var(--indigo); color: #fff; border: 1px solid var(--line-d); transition: transform 0.7s var(--ease), background 0.5s, color 0.5s; }
.card:hover { transform: translateY(-8px); background: var(--accent); color: var(--indigo); }
.card:hover p { color: var(--indigo); }
.card svg { width: 34px; height: 34px; color: var(--accent); transition: color 0.5s; } .card:hover svg { color: var(--indigo); }
.card h3 { font-size: clamp(1.6rem, 2.2vw, 2.2rem); letter-spacing: -0.03em; font-weight: 600; line-height: 1.02; margin-bottom: 12px; }
.card p { color: var(--mute-d); transition: color 0.5s; }
.paper2 .card, .light .card { background: var(--indigo); }
@media (max-width: 900px) { .cards3 { grid-template-columns: 1fr; } .card { min-height: 0; gap: 60px; } }

.parallax-img { overflow: hidden; border-radius: 24px; }

/* ---------- Contact ---------- */
.form { display: grid; gap: 0; }
.field { position: relative; border-bottom: 1px solid var(--line-l); padding-block: 22px 12px; }
.field label { font-size: 11px; letter-spacing: 0.07em; text-transform: uppercase; font-weight: 500; color: var(--mute-l); display: block; margin-bottom: 6px; }
.field input, .field textarea, .field select { width: 100%; background: transparent; border: 0; outline: 0; font: inherit; font-size: clamp(1.3rem, 2.4vw, 2.1rem); letter-spacing: -0.015em; color: var(--indigo); padding: 4px 0; resize: none; }
.field::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.7s var(--ease); }
.field:focus-within::after { transform: scaleX(1); }
.field--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; border: 0; padding: 0; }
.field--2 .field { border-bottom: 1px solid var(--line-l); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; padding-block: 8px 4px; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips label { text-transform: none; font-size: 15px; letter-spacing: 0; font-weight: 400; color: var(--indigo); border: 1px solid var(--line-l); border-radius: 99px; padding: 10px 18px; margin: 0; cursor: pointer; transition: background 0.3s, color 0.3s, border-color 0.3s; }
.chips input:checked + label { background: var(--indigo); color: #fff; border-color: var(--indigo); }
.chips input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.form__foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 36px; flex-wrap: wrap; }
.form__note { color: var(--mute-l); font-size: 14px; max-width: 24em; }
.form__ok { display: none; padding: 32px; border-radius: 20px; background: var(--indigo); color: #fff; margin-top: 24px; }
.form__ok.show { display: block; }
@media (max-width: 720px) { .field--2 { grid-template-columns: 1fr; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js [data-reveal], .js [data-split] { opacity: 1 !important; transform: none !important; visibility: visible !important; }
  .statement__text .sw { opacity: 1; }
  .loader, .curtain { display: none !important; }
}
