/* =========================================================
   CXGS — corporate design system
   Light-first. Structured. Restrained red.
   Inspired by Accenture / Avanade / Bain — not SaaS templates.
   ========================================================= */

:root {
  /* Palette */
  --ink: #0f0f12;              /* near-black primary text */
  --ink-2: #262628;
  --ink-3: #4a4a52;
  --ink-4: #7a7a82;
  --paper: #ffffff;
  --paper-2: #f5f3ed;          /* warm off-white — alt sections */
  --paper-3: #ebe8df;          /* warm stone — borders / muted */
  --rule: #d4d1c7;             /* warm hairline */
  --rule-ink: rgba(15,15,18,0.12);
  --red: #ed331f;              /* CXGS brand */
  --red-dark: #a81c0b;
  --red-ink: #ffffff;
  --char: #1a1a1f;             /* inverted block charcoal */
  --char-2: #26262c;

  /* Semantic (light default) */
  --bg: var(--paper);
  --bg-soft: var(--paper-2);
  --border: var(--rule);
  --text: var(--ink);
  --text-dim: var(--ink-3);
  --text-mute: var(--ink-4);

  /* Geometry */
  --radius: 4px;
  --radius-lg: 10px;
  --maxw: 1560px;
  --gutter: clamp(20px, 3.2vw, 56px);

  /* Type */
  --font: "Barlow", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", "SF Mono", ui-monospace, Menlo, Consolas, monospace;

  /* Transitions */
  --tx: 160ms cubic-bezier(.2,.6,.2,1);
}

/* Dark theme (opt-in via toggle) */
html[data-theme="dark"] {
  --bg: #0f0f12;
  --bg-soft: #17171b;
  --border: #2a2a30;
  --text: #f3f2ee;
  --text-dim: #b5b4ac;
  --text-mute: #7a7a82;
  --paper: #17171b;
  --paper-2: #1c1c21;
  --paper-3: #26262c;
  --rule: #2e2e35;
  --rule-ink: rgba(255,255,255,0.1);
  --char: #f3f2ee;
  --char-2: #e5e3dc;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: transparent; border: 0; color: inherit; }
::selection { background: var(--red); color: var(--red-ink); }

/* ===================== Type ===================== */
h1, h2, h3, h4 { font-weight: 600; margin: 0; color: var(--text); letter-spacing: -0.015em; }
h1 { font-size: clamp(40px, 5.2vw, 88px); line-height: 1.02; font-weight: 700; letter-spacing: -0.03em; }
h2 { font-size: clamp(28px, 3.4vw, 52px); line-height: 1.08; font-weight: 700; letter-spacing: -0.025em; }
h3 { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.3; font-weight: 600; }
h4 { font-size: 16px; font-weight: 600; letter-spacing: 0; }
p { color: var(--text-dim); margin: 0 0 1em; }
.lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--text-dim); line-height: 1.5; max-width: 62ch; }

/* Display: uppercase, condensed, heavy */
.display {
  font-weight: 800;
  font-size: clamp(48px, 7.6vw, 132px);
  line-height: 0.94;
  letter-spacing: -0.04em;
  text-wrap: balance;
  color: var(--text);
}
.display--caps { text-transform: uppercase; letter-spacing: -0.035em; }
.display .red { color: var(--red); }

/* Numbered label — the CORP marker, not an underscore eyebrow */
.nlabel {
  display: inline-flex; align-items: baseline; gap: 10px;
  font-family: var(--mono);
  font-size: 12px; font-weight: 500; letter-spacing: 0.08em;
  color: var(--text-mute); text-transform: uppercase;
}
.nlabel b { color: var(--red); font-weight: 600; font-variant-numeric: tabular-nums; }

/* Section kicker — a sharp corner bracket */
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-mute);
  padding: 5px 10px; border: 1px solid var(--border);
}

/* ===================== Layout ===================== */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.container--full { max-width: none; padding-left: 0; padding-right: 0; }
.section { padding: clamp(72px, 8vw, 140px) 0; position: relative; }
.section--tight { padding: clamp(48px, 5vw, 80px) 0; }
.section--alt { background: var(--bg-soft); }
.section--dark { background: var(--char); color: #f3f2ee; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p, .section--dark .lead { color: #b9b8b0; }
.section--dark .nlabel { color: #9a9892; }
.section--dark .nlabel b { color: var(--red); }
.section--red { background: var(--red); color: var(--red-ink); }
.section--red h1, .section--red h2 { color: var(--red-ink); }
.section--red p, .section--red .lead { color: rgba(255,255,255,0.85); }
.section--red .nlabel, .section--red .nlabel b { color: rgba(255,255,255,0.75); }

.rule { border: none; height: 1px; background: var(--border); }
.rule--ink { background: var(--text); opacity: 0.9; height: 2px; }

/* ===================== Nav ===================== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--bg) 94%, transparent);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 96px; gap: 32px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__logo { height: 60px; width: auto; display: block; transition: transform var(--tx); }
.brand:hover .brand__logo { transform: scale(1.02); }
.brand--footer .brand__logo { height: 96px; }
.brand__logo--light { display: none; }
html[data-theme="dark"] .brand__logo--light { display: block; }
html[data-theme="dark"] .brand__logo--dark { display: none; }

.nav__links { display: flex; gap: 4px; align-items: center; }
.nav__links a {
  padding: 10px 14px; font-size: 14px; font-weight: 500;
  color: var(--text-dim); transition: color var(--tx);
  position: relative;
}
.nav__links a:hover { color: var(--text); }
.nav__links a.is-active { color: var(--text); }
.nav__links a.is-active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: -2px;
  height: 2px; background: var(--red);
}

.nav__cta { display: inline-flex; gap: 10px; align-items: center; }
.nav__toggle {
  display: none; width: 40px; height: 40px;
  border: 1px solid var(--border); color: var(--text);
  align-items: center; justify-content: center;
}
.nav__toggle svg { width: 18px; height: 18px; }

@media (max-width: 980px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav[data-open="true"] .nav__links {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 96px; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    padding: 12px; gap: 2px;
  }
  .nav[data-open="true"] .nav__links a { padding: 14px 16px; border-bottom: 1px solid var(--border); }
}
@media (max-width: 640px) {
  .nav__inner { height: 76px; }
  .brand__logo { height: 48px; }
  .nav[data-open="true"] .nav__links { top: 76px; }
}

/* ===================== Buttons ===================== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 20px; font-size: 14px; font-weight: 600;
  letter-spacing: 0.01em; white-space: nowrap;
  border: 1px solid transparent; border-radius: var(--radius);
  transition: background var(--tx), color var(--tx), border-color var(--tx), transform var(--tx);
  text-transform: uppercase;
}
.btn--red { background: var(--red); color: var(--red-ink); }
.btn--red:hover { background: var(--red-dark); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #000; }
html[data-theme="dark"] .btn--ink { background: #fff; color: var(--ink); }
html[data-theme="dark"] .btn--ink:hover { background: var(--paper-2); color: var(--ink); }
.btn--outline { background: transparent; border-color: var(--text); color: var(--text); }
.btn--outline:hover { background: var(--text); color: var(--bg); }
.btn--outline-red { background: transparent; border-color: var(--red); color: var(--red); }
.btn--outline-red:hover { background: var(--red); color: var(--red-ink); }
.btn--ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn--ghost:hover { background: var(--paper-2); }
html[data-theme="dark"] .btn--ghost:hover { background: var(--paper-2); }
.btn--lg { padding: 18px 28px; font-size: 14px; }
.btn__arrow { transition: transform var(--tx); font-weight: 500; }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* Text link with arrow */
.tlink {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--text);
  padding-bottom: 4px; border-bottom: 1px solid var(--text);
  text-transform: uppercase; letter-spacing: 0.04em;
}
.tlink:hover { color: var(--red); border-bottom-color: var(--red); }
.tlink::after { content: "→"; transition: transform var(--tx); }
.tlink:hover::after { transform: translateX(3px); }

/* ===================== Globe background ===================== */
.globe-wrap {
  position: absolute; pointer-events: none; z-index: 0;
  right: -6%; top: 50%; transform: translateY(-50%);
  width: clamp(520px, 72vw, 1100px); aspect-ratio: 1;
  mask-image: linear-gradient(to left, black 40%, transparent 100%);
  -webkit-mask-image: linear-gradient(to left, black 40%, transparent 100%);
}
.globe-bg {
  width: 100%; height: 100%;
  background-image: url("../img/globe-light.svg");
  background-repeat: no-repeat; background-position: center; background-size: contain;
  opacity: 0.4;
  will-change: transform;
}
html[data-theme="dark"] .globe-bg {
  background-image: url("../img/globe-dark.svg");
  opacity: 0.55;
}
@media (max-width: 900px) {
  .globe-wrap { right: -30%; width: 120vw; }
  .globe-bg { opacity: 0.24; }
  html[data-theme="dark"] .globe-bg { opacity: 0.35; }
}

/* Section needs position + overflow so the globe is clipped */
.hero, .subhero { position: relative; overflow: hidden; }
.hero > .container, .subhero > .container { position: relative; z-index: 1; }

/* ===================== Hero ===================== */
.hero { position: relative; padding: clamp(40px, 4.5vw, 72px) 0 clamp(36px, 3.5vw, 56px); overflow: hidden; border-bottom: 1px solid var(--border); }
.hero__inner { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(36px, 4.5vw, 80px); align-items: end; }
@media (max-width: 1060px) { .hero__inner { grid-template-columns: 1fr; } }
.hero__head { max-width: none; }
.hero__rule { width: 64px; height: 3px; background: var(--red); margin-bottom: 20px; }
.hero__title { margin: 0 0 20px; font-size: clamp(38px, 5.6vw, 84px); letter-spacing: -0.035em; line-height: 0.98; }
.hero__meta {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr));
  margin-top: 40px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.hero__meta > div { padding: 18px 20px 18px 0; border-right: 1px solid var(--border); }
.hero__meta > div:last-child { border-right: none; padding-right: 0; }
.hero__meta strong { display: block; font-size: clamp(26px, 2.6vw, 38px); font-weight: 700; letter-spacing: -0.02em; color: var(--text); line-height: 1; margin-bottom: 6px; }
.hero__meta span { font-size: 11px; color: var(--text-mute); letter-spacing: 0.1em; text-transform: uppercase; font-family: var(--mono); }

/* Hero side feature card — abstract red geometric */
.hero__feature {
  position: relative; min-height: 320px; aspect-ratio: auto;
  background: var(--char); color: #fff;
  padding: clamp(22px, 2.2vw, 32px);
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  border-radius: var(--radius-lg);
}
.hero__feature::before {
  content: ""; position: absolute; right: -20%; top: -30%; width: 140%; aspect-ratio: 1/1;
  background: var(--red); transform: rotate(22deg);
  clip-path: polygon(40% 0, 100% 0, 100% 60%, 60% 100%, 0 100%, 0 40%);
  opacity: 0.95;
}
.hero__feature__label {
  position: relative; font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.hero__feature__body { position: relative; margin-top: auto; }
.hero__feature__body h3 { color: #fff; font-size: clamp(20px, 2vw, 28px); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; }
.hero__feature__body p { color: rgba(255,255,255,0.85); margin-top: 10px; font-size: 13px; }

/* Ticker strip under hero */
.ticker {
  background: var(--ink); color: #fff; overflow: hidden;
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
}
html[data-theme="dark"] .ticker { background: #fff; color: var(--ink); border-color: var(--border); }
.ticker__track {
  display: flex; gap: 64px; padding: 18px 0; align-items: center;
  animation: ticker 40s linear infinite;
  white-space: nowrap;
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
}
.ticker__track span { display: inline-flex; align-items: center; gap: 64px; }
.ticker__track i { width: 6px; height: 6px; background: var(--red); display: inline-block; border-radius: 50%; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } }

/* ===================== Section header ===================== */
.shead {
  display: grid; grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(32px, 4vw, 80px);
  align-items: end;
  padding-top: 20px; border-top: 2px solid var(--text);
  margin-bottom: 56px;
}
@media (max-width: 900px) { .shead { grid-template-columns: 1fr; gap: 20px; } }
.shead__nlabel { margin-bottom: 18px; }
.shead__title { max-width: 18ch; }
.shead__desc { max-width: 58ch; }

/* Inverted header on dark/red sections */
.section--dark .shead, .section--red .shead { border-top-color: currentColor; }

/* ===================== Capability rows (services) ===================== */
.caps { display: grid; grid-template-columns: 1fr; }
.cap {
  display: grid; grid-template-columns: 80px 1fr 1.1fr 160px;
  gap: clamp(20px, 2.6vw, 48px);
  padding: 36px 0; border-bottom: 1px solid var(--border);
  align-items: start; position: relative;
  transition: background var(--tx);
}
.cap:first-child { border-top: 1px solid var(--border); }
.cap:hover { background: var(--bg-soft); }
.cap:hover .cap__num { color: var(--red); }
.cap__num {
  font-family: var(--mono); font-size: 14px; font-weight: 500;
  color: var(--text-mute); letter-spacing: 0.04em; line-height: 1.4;
  transition: color var(--tx);
}
.cap__title h3 { font-size: clamp(20px, 2vw, 28px); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 8px; }
.cap__title small { font-family: var(--mono); font-size: 11px; color: var(--text-mute); letter-spacing: 0.14em; text-transform: uppercase; }
.cap__desc p { font-size: 15px; color: var(--text-dim); margin: 0; }
.cap__cta { align-self: center; text-align: right; }
@media (max-width: 900px) {
  .cap { grid-template-columns: 60px 1fr; gap: 16px; padding: 28px 0; }
  .cap__desc, .cap__cta { grid-column: 1 / -1; padding-left: 60px; }
  .cap__cta { text-align: left; }
}

/* ===================== Case-study table ===================== */
.cases-tbl { border-top: 2px solid var(--text); }
.cases-tbl__head, .cases-tbl__row {
  display: grid;
  grid-template-columns: 80px 1.4fr 1fr 1.6fr 120px 60px;
  gap: 20px; padding: 22px 0; align-items: center;
  border-bottom: 1px solid var(--border);
}
.cases-tbl__head {
  font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-mute);
  padding: 14px 0;
}
.cases-tbl__row { transition: background var(--tx); cursor: pointer; }
.cases-tbl__row:hover { background: var(--bg-soft); }
.cases-tbl__row:hover .cases-tbl__arrow { color: var(--red); transform: translateX(4px); }
.cases-tbl__num { font-family: var(--mono); font-size: 13px; color: var(--text-mute); }
.cases-tbl__client { font-weight: 700; font-size: 17px; letter-spacing: -0.01em; }
.cases-tbl__industry { font-size: 14px; color: var(--text-dim); }
.cases-tbl__outcome { font-size: 14px; color: var(--text); }
.cases-tbl__outcome b { color: var(--red); font-weight: 700; }
.cases-tbl__year { font-family: var(--mono); font-size: 13px; color: var(--text-mute); }
.cases-tbl__arrow { font-size: 20px; color: var(--text-mute); transition: color var(--tx), transform var(--tx); text-align: right; }
@media (max-width: 900px) {
  .cases-tbl__head { display: none; }
  .cases-tbl__row { grid-template-columns: 1fr 32px; gap: 12px; padding: 20px 0; }
  .cases-tbl__num, .cases-tbl__industry, .cases-tbl__year { display: none; }
  .cases-tbl__outcome { grid-column: 1; font-size: 14px; }
  .cases-tbl__arrow { grid-column: 2; }
}

/* ===================== Industries strip ===================== */
.industries { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
@media (max-width: 900px) { .industries { grid-template-columns: repeat(2, 1fr); } }
.industry {
  padding: 36px 28px;
  border-right: 1px solid var(--border); border-bottom: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 8px;
  transition: background var(--tx);
  position: relative;
}
.industry:hover { background: var(--bg-soft); }
.industry__num { font-family: var(--mono); font-size: 11px; color: var(--text-mute); letter-spacing: 0.12em; }
.industry h4 { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.industry p { font-size: 13px; color: var(--text-dim); margin: 0; }
.industry::after {
  content: ""; position: absolute; right: 16px; top: 16px;
  width: 10px; height: 10px; border-top: 1px solid var(--text-mute); border-right: 1px solid var(--text-mute);
}

/* ===================== Process timeline ===================== */
.process {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 2px solid var(--text);
}
@media (max-width: 820px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .process { grid-template-columns: 1fr; } }
.pstep {
  padding: 28px 24px 28px 0; border-right: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 10px; min-height: 220px;
}
.pstep:last-child { border-right: none; }
.pstep__num { font-family: var(--mono); font-size: 13px; color: var(--red); font-weight: 500; letter-spacing: 0.06em; }
.pstep h4 { font-size: 20px; font-weight: 700; letter-spacing: -0.015em; }
.pstep p { font-size: 14px; color: var(--text-dim); margin: 0; }
@media (max-width: 820px) { .pstep { padding-right: 24px; padding-left: 24px; border-bottom: 1px solid var(--border); } }

/* ===================== Full-bleed red CTA ===================== */
.redband { background: var(--red); color: #fff; padding: clamp(72px, 7vw, 120px) 0; position: relative; overflow: hidden; }
.redband::before {
  content: ""; position: absolute; right: -10%; top: -50%; width: 60%; aspect-ratio: 1/1;
  background: var(--red-dark); opacity: 0.5;
  clip-path: polygon(50% 0, 100% 0, 100% 100%, 0 100%);
  transform: rotate(15deg);
}
.redband__inner { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .redband__inner { grid-template-columns: 1fr; } }
.redband h2 { color: #fff; font-size: clamp(32px, 4.8vw, 72px); line-height: 1; font-weight: 800; letter-spacing: -0.03em; }
.redband p { color: rgba(255,255,255,0.92); font-size: 17px; max-width: 48ch; }
.redband__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.redband .btn--ink { background: #fff; color: var(--red); }
.redband .btn--ink:hover { background: var(--ink); color: #fff; }
.redband .btn--outline { border-color: rgba(255,255,255,0.6); color: #fff; }
.redband .btn--outline:hover { background: #fff; color: var(--red); }

/* ===================== Stats block ===================== */
.bignums { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--border); }
@media (max-width: 760px) { .bignums { grid-template-columns: repeat(2, 1fr); } }
.bignum { padding: 32px 0 28px; border-right: 1px solid var(--border); padding-right: 24px; }
.bignum:last-child { border-right: none; padding-right: 0; }
.bignum b { display: block; font-size: clamp(48px, 5.4vw, 84px); line-height: 0.95; font-weight: 700; letter-spacing: -0.035em; }
.bignum span { display: block; margin-top: 12px; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-mute); font-family: var(--mono); max-width: 20ch; }

/* ===================== Logo wall ===================== */
.logowall { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 40px 0; }
.logowall__label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 24px; }
.logowall__row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 32px; align-items: center; }
.logowall__row span { color: var(--text-dim); font-weight: 700; letter-spacing: -0.01em; font-size: clamp(14px, 1.3vw, 18px); }
@media (max-width: 760px) { .logowall__row { grid-template-columns: repeat(3, 1fr); row-gap: 24px; } }

/* ===================== Quote (editorial pull quote) ===================== */
.pullquote {
  padding: clamp(48px, 6vw, 96px) 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.pullquote__text {
  font-size: clamp(24px, 3vw, 40px); line-height: 1.2; font-weight: 500;
  letter-spacing: -0.02em; max-width: 22ch; color: var(--text);
  margin: 0 0 36px;
}
.pullquote__text::before { content: "“"; color: var(--red); font-weight: 700; }
.pullquote__text::after { content: "”"; color: var(--red); font-weight: 700; }
.pullquote__author { display: flex; flex-direction: column; gap: 4px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-mute); }
.pullquote__author b { color: var(--text); font-weight: 600; letter-spacing: 0.04em; }

/* ===================== Contact form ===================== */
.form { display: grid; gap: 20px; border-top: 2px solid var(--text); padding-top: 32px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-mute);
}
.field input, .field select, .field textarea {
  background: transparent; border: none; border-bottom: 1px solid var(--border);
  padding: 12px 0; font: inherit; font-size: 17px; color: var(--text);
  transition: border-color var(--tx);
  border-radius: 0;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-bottom-color: var(--red);
}
.field textarea { resize: vertical; min-height: 120px; }
.form__consent {
  font-size: 13px; color: var(--text-mute);
  display: flex; gap: 10px; align-items: flex-start; line-height: 1.5;
}
.form__consent input { margin-top: 4px; }
.form__status { font-size: 14px; padding: 12px 16px; display: none; border-radius: var(--radius); }
.form__status[data-state="ok"] { display: block; background: #e7f5ed; color: #1c5e3a; border: 1px solid #b6ddc5; }
.form__status[data-state="err"] { display: block; background: #fde9e6; color: #8a1d12; border: 1px solid #f2b6ae; }
html[data-theme="dark"] .form__status[data-state="ok"] { background: #132e20; color: #9adcb7; border-color: #245a3e; }
html[data-theme="dark"] .form__status[data-state="err"] { background: #3a1511; color: #f7a69b; border-color: #7a2b22; }

/* ===================== Two-column content (legacy) ===================== */
.twocol { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
@media (max-width: 900px) { .twocol { grid-template-columns: 1fr; gap: 32px; } }
.twocol--reverse > :first-child { order: 2; }
@media (max-width: 900px) { .twocol--reverse > :first-child { order: 0; } }
.panel {
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--border); background: var(--bg-soft);
  border-radius: var(--radius);
}
.panel h3 { margin-bottom: 14px; }
.panel ul { padding-left: 18px; color: var(--text-dim); margin: 0; }
.panel li { margin-bottom: 8px; }

/* Prose */
.prose p { font-size: 17px; color: var(--text-dim); margin-bottom: 1.25em; max-width: 68ch; }
.prose h2 { margin-top: 1.8em; margin-bottom: 0.6em; }
.prose h3 { margin-top: 1.6em; margin-bottom: 0.4em; font-size: 22px; }
.prose ul { color: var(--text-dim); padding-left: 20px; }
.prose li { margin-bottom: 8px; }

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px; border: 1px solid var(--border);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-dim);
}

/* ===================== Footer ===================== */
.footer {
  background: var(--ink); color: #c7c6bf;
  padding: clamp(64px, 7vw, 120px) 0 32px;
  margin-top: clamp(48px, 6vw, 96px);
  border-top: 1px solid var(--border);
}
.footer a { color: #c7c6bf; transition: color var(--tx); }
.footer a:hover { color: #fff; }
.footer__top {
  display: grid; grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 40px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
@media (max-width: 980px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer__top { grid-template-columns: 1fr; } }
.footer__brand p { color: #9a988e; font-size: 14px; max-width: 36ch; margin-top: 20px; }
.footer__brand .brand__logo { filter: brightness(0) invert(1); /* just in case any page shows color logo in dark footer */ }
.footer h5 {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: #fff; font-weight: 600;
  margin: 0 0 20px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer li { font-size: 14px; }
.footer__offices { display: grid; gap: 18px; }
.footer__offices div b { display: block; font-size: 13px; color: #fff; font-weight: 600; letter-spacing: 0.02em; margin-bottom: 2px; }
.footer__offices div span { font-size: 13px; color: #8d8c81; }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding-top: 28px;
  font-size: 12px; color: #8d8c81;
  font-family: var(--mono); letter-spacing: 0.06em; text-transform: uppercase;
  flex-wrap: wrap;
}
.footer__bottom__links { display: flex; gap: 20px; }
.footer__social { display: flex; gap: 8px; margin-top: 24px; }
.footer__social a {
  width: 36px; height: 36px; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,0.18); color: #c7c6bf;
  transition: background var(--tx), border-color var(--tx), color var(--tx);
}
.footer__social a:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* ===================== Sub-hero (interior pages) ===================== */
.subhero { padding: clamp(72px, 8vw, 128px) 0 clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--border); position: relative; overflow: hidden; }
.subhero__crumbs { display: flex; gap: 10px; align-items: center; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 28px; }
.subhero__crumbs a { color: var(--text-mute); transition: color var(--tx); }
.subhero__crumbs a:hover { color: var(--text); }
.subhero__crumbs span { opacity: 0.5; }
.subhero__rule { width: 80px; height: 3px; background: var(--red); margin-bottom: 28px; }
.subhero h1 { max-width: 22ch; margin-bottom: 24px; }
.subhero .lead { max-width: 58ch; }

/* ===================== Theme toggle ===================== */
.theme-toggle {
  width: 40px; height: 40px; border: 1px solid var(--border); color: var(--text);
  display: inline-grid; place-items: center;
  transition: background var(--tx), border-color var(--tx), color var(--tx);
}
.theme-toggle:hover { background: var(--bg-soft); color: var(--red); border-color: var(--red); }
.theme-toggle svg { width: 16px; height: 16px; }
.theme-toggle .theme-toggle__sun { display: none; }
.theme-toggle .theme-toggle__moon { display: block; }
html[data-theme="dark"] .theme-toggle .theme-toggle__sun { display: block; }
html[data-theme="dark"] .theme-toggle .theme-toggle__moon { display: none; }

/* ===================== Parallax ===================== */
[data-parallax] { will-change: transform; transform: translate3d(0,0,0); }
@media (prefers-reduced-motion: reduce) { [data-parallax] { transform: none !important; } }

/* ===================== Animations ===================== */
@media (prefers-reduced-motion: no-preference) {
  .fade-in { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
  .fade-in.is-visible { opacity: 1; transform: none; }
}

/* Utility */
.u-red { color: var(--red); }
.u-muted { color: var(--text-mute); }
.u-center { text-align: center; }
.u-caps { text-transform: uppercase; letter-spacing: 0.1em; }
.mono { font-family: var(--mono); }

/* =========================================================
   KINETIC LAYER — alternative design language
   Used on the home page (index.html). Brutalist-editorial.
   Mosaic asymmetric layouts, oversized typography, kinetic motion.
   ========================================================= */

/* --- Hero --- */
.k-hero {
  position: relative;
  min-height: clamp(640px, 86vh, 880px);
  padding: clamp(80px, 10vh, 140px) 0 clamp(40px, 6vh, 80px);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  display: flex; flex-direction: column; justify-content: space-between;
}
.k-hero__globe {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
}
.k-hero__globe .globe-bg {
  position: absolute;
  left: -22%; top: -10%;
  width: clamp(800px, 85vw, 1400px); aspect-ratio: 1;
  opacity: 0.55;
  background-image: url("../img/globe-light.svg");
  background-repeat: no-repeat; background-position: center; background-size: contain;
  mask-image: radial-gradient(closest-side at 50% 50%, black 60%, transparent 95%);
  -webkit-mask-image: radial-gradient(closest-side at 50% 50%, black 60%, transparent 95%);
}
html[data-theme="dark"] .k-hero__globe .globe-bg {
  background-image: url("../img/globe-dark.svg"); opacity: 0.45;
}
.k-hero__inner { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.k-hero__stamp {
  position: absolute; right: var(--gutter); top: 0;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--text-mute);
  display: flex; gap: 18px; align-items: center;
}
.k-hero__stamp i { width: 8px; height: 8px; background: var(--red); display: inline-block; border-radius: 50%; font-style: normal; }

/* The mega headline — Barlow at extreme weight, stacked */
.k-mega {
  font-weight: 900;
  font-size: clamp(60px, 13vw, 220px);
  line-height: 0.86;
  letter-spacing: -0.045em;
  margin: 0;
  text-transform: uppercase;
  text-wrap: balance;
}
.k-mega > span { display: block; }
.k-mega .k-mega--outline {
  -webkit-text-stroke: 2px currentColor;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.k-mega .k-mega--red { color: var(--red); }
.k-mega .k-mega--shift { transform: translateX(clamp(20px, 4vw, 80px)); }
.k-mega .k-mega--shift-r { transform: translateX(clamp(-80px, -3vw, -20px)); display: inline-block; }

.k-hero__bottom {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 4vw, 64px);
  align-items: end; padding-top: 32px;
  border-top: 1px solid var(--border);
}
@media (max-width: 900px) { .k-hero__bottom { grid-template-columns: 1fr; } }
.k-hero__sub { font-size: clamp(16px, 1.4vw, 19px); color: var(--text-dim); max-width: 56ch; line-height: 1.45; }
.k-hero__cta { display: flex; gap: 12px; flex-wrap: wrap; justify-self: end; }
@media (max-width: 900px) { .k-hero__cta { justify-self: start; } }

/* --- Mega marquee --- */
.k-marquee {
  background: var(--ink); color: #fff;
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
  overflow: hidden;
  position: relative;
}
html[data-theme="dark"] .k-marquee { background: #fff; color: var(--ink); border-color: var(--border); }
.k-marquee--red { background: var(--red); color: #fff; border-color: var(--red); }
.k-marquee--reverse .k-marquee__track { animation-direction: reverse; }
.k-marquee__track {
  display: inline-flex; gap: 0;
  font-family: var(--font); font-weight: 800;
  font-size: clamp(28px, 4.5vw, 72px);
  letter-spacing: -0.02em; text-transform: uppercase;
  white-space: nowrap; padding: 18px 0; align-items: center;
  animation: k-marquee 36s linear infinite;
}
.k-marquee__track > span { display: inline-flex; align-items: center; gap: 56px; padding-right: 56px; }
.k-marquee__track svg, .k-marquee__track i {
  display: inline-block; width: 22px; height: 22px;
  flex-shrink: 0;
  font-style: normal;
}
.k-marquee__track .dot { width: 14px; height: 14px; background: currentColor; opacity: 0.4; border-radius: 50%; }
.k-marquee__track .star { width: 22px; height: 22px; }
@keyframes k-marquee { to { transform: translate3d(-50%, 0, 0); } }
@media (prefers-reduced-motion: reduce) { .k-marquee__track { animation: none; } }

/* --- Mosaic capabilities --- */
.k-mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(170px, auto);
  gap: 8px;
}
@media (max-width: 1100px) { .k-mosaic { grid-template-columns: repeat(6, 1fr); } }
@media (max-width: 700px) { .k-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: minmax(150px, auto); } }
.k-tile {
  position: relative; padding: 28px;
  display: flex; flex-direction: column; justify-content: space-between;
  background: var(--bg-soft); border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 200ms cubic-bezier(.2,.6,.2,1), background 200ms ease;
  text-decoration: none; color: inherit;
}
.k-tile:hover { transform: translateY(-3px); }
.k-tile__num {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em;
  color: var(--text-mute); text-transform: uppercase;
}
.k-tile__title {
  font-weight: 800; font-size: clamp(20px, 2vw, 30px);
  line-height: 1.05; letter-spacing: -0.025em; margin: auto 0 0;
}
.k-tile__title .arrow { display: inline-block; transition: transform 240ms cubic-bezier(.2,.6,.2,1); }
.k-tile:hover .k-tile__title .arrow { transform: translate(6px, -2px); }
.k-tile__caption { font-size: 13px; color: var(--text-dim); margin-top: 12px; }

/* Tile size modifiers */
.k-tile--xl { grid-column: span 6; grid-row: span 2; }
.k-tile--lg { grid-column: span 6; grid-row: span 1; }
.k-tile--md { grid-column: span 4; grid-row: span 1; }
.k-tile--sm { grid-column: span 3; grid-row: span 1; }
.k-tile--portrait { grid-column: span 3; grid-row: span 2; }
@media (max-width: 1100px) {
  .k-tile--xl { grid-column: span 6; grid-row: span 2; }
  .k-tile--lg { grid-column: span 6; }
  .k-tile--md { grid-column: span 3; }
  .k-tile--sm { grid-column: span 3; }
  .k-tile--portrait { grid-column: span 3; grid-row: span 2; }
}
@media (max-width: 700px) {
  .k-tile { grid-column: span 2 !important; grid-row: span 1 !important; }
  .k-tile--xl, .k-tile--portrait { grid-column: span 2 !important; grid-row: span 2 !important; }
}

/* Tile color variants */
.k-tile--red { background: var(--red); color: #fff; border-color: var(--red); }
.k-tile--red .k-tile__num { color: rgba(255,255,255,0.8); }
.k-tile--red .k-tile__caption { color: rgba(255,255,255,0.85); }
.k-tile--ink { background: var(--ink); color: #fff; border-color: var(--ink); }
.k-tile--ink .k-tile__num { color: rgba(255,255,255,0.65); }
.k-tile--ink .k-tile__caption { color: rgba(255,255,255,0.85); }
html[data-theme="dark"] .k-tile--ink { background: #fff; color: var(--ink); border-color: var(--border); }
html[data-theme="dark"] .k-tile--ink .k-tile__num { color: var(--text-mute); }
html[data-theme="dark"] .k-tile--ink .k-tile__caption { color: var(--text-dim); }
.k-tile--paper { background: var(--paper); border-color: var(--border); }
html[data-theme="dark"] .k-tile--paper { background: var(--surface-2, #25252c); }

/* Decorative number on big tile */
.k-tile__deco {
  position: absolute; right: -10px; bottom: -40px;
  font-weight: 900; font-size: clamp(120px, 14vw, 220px);
  line-height: 1; letter-spacing: -0.05em;
  color: currentColor; opacity: 0.08; pointer-events: none;
}

/* 3D tilt (applied via JS data-tilt) */
.k-tile[data-tilt] { transform-style: preserve-3d; will-change: transform; }
.k-tile[data-tilt] > * { transform: translateZ(20px); }

/* --- Mega stat (oversized number-as-design) --- */
.k-bignum {
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: clamp(28px, 4vw, 56px) 0; gap: clamp(28px, 4vw, 56px);
  align-items: end;
}
@media (max-width: 700px) { .k-bignum { grid-template-columns: 1fr; } }
.k-bignum + .k-bignum { border-top: none; }
.k-bignum__n {
  font-weight: 900; font-size: clamp(72px, 16vw, 220px);
  line-height: 0.85; letter-spacing: -0.05em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.k-bignum__n .k-bignum__sub { font-size: 0.4em; color: var(--text-mute); margin-left: 8px; letter-spacing: 0; }
.k-bignum__txt {
  display: flex; flex-direction: column; gap: 8px; padding-bottom: 16px;
  max-width: 38ch;
}
.k-bignum__txt small { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--text-mute); text-transform: uppercase; }
.k-bignum__txt p { color: var(--text-dim); margin: 0; font-size: 16px; }

.k-bignum--red {
  background: var(--red); color: #fff;
  margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter));
  padding-left: var(--gutter); padding-right: var(--gutter);
  border-color: var(--red);
}
.k-bignum--red .k-bignum__n { color: #fff; }
.k-bignum--red .k-bignum__txt small { color: rgba(255,255,255,0.7); }
.k-bignum--red .k-bignum__txt p { color: rgba(255,255,255,0.92); }

/* --- Sticky horizontal scroll for cases --- */
.k-cases-wrap { position: relative; height: 360vh; }
@media (max-width: 900px) { .k-cases-wrap { height: auto; } }
.k-cases-sticky {
  position: sticky; top: 0; height: 100vh;
  display: flex; align-items: center; overflow: hidden;
}
@media (max-width: 900px) { .k-cases-sticky { position: static; height: auto; padding: 64px 0; } }
.k-cases-track {
  display: flex; gap: 24px; will-change: transform;
  padding-left: var(--gutter); padding-right: 25vw;
}
@media (max-width: 900px) {
  .k-cases-track { flex-direction: column; padding-right: var(--gutter); transform: none !important; }
}
.k-case {
  flex-shrink: 0; width: clamp(360px, 38vw, 540px);
  background: var(--bg-soft); border: 1px solid var(--border);
  padding: 40px; display: flex; flex-direction: column; gap: 16px;
  height: 64vh; min-height: 460px; max-height: 720px;
  position: relative; overflow: hidden;
}
@media (max-width: 900px) { .k-case { width: 100%; height: auto; min-height: 0; padding: 28px; } }
.k-case__hd { display: flex; justify-content: space-between; align-items: flex-start; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-mute); }
.k-case__client { font-size: clamp(24px, 2.4vw, 36px); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; margin-top: auto; }
.k-case__industry { font-size: 13px; color: var(--text-dim); margin-bottom: 4px; font-family: var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }
.k-case__metrics {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  padding-top: 20px; border-top: 1px solid var(--border);
}
.k-case__metrics div b { display: block; font-size: clamp(20px, 1.8vw, 26px); font-weight: 800; letter-spacing: -0.02em; color: var(--red); }
.k-case__metrics div span { display: block; font-size: 11px; color: var(--text-mute); font-family: var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }
.k-case--ink { background: var(--ink); color: #fff; border-color: var(--ink); }
.k-case--ink .k-case__hd, .k-case--ink .k-case__industry { color: rgba(255,255,255,0.7); }
.k-case--ink .k-case__metrics { border-top-color: rgba(255,255,255,0.18); }
html[data-theme="dark"] .k-case--ink { background: #fff; color: var(--ink); border-color: var(--border); }
html[data-theme="dark"] .k-case--ink .k-case__hd, html[data-theme="dark"] .k-case--ink .k-case__industry { color: var(--text-mute); }
.k-case--red { background: var(--red); color: #fff; border-color: var(--red); }
.k-case--red .k-case__hd, .k-case--red .k-case__industry { color: rgba(255,255,255,0.85); }
.k-case--red .k-case__metrics { border-top-color: rgba(255,255,255,0.3); }
.k-case--red .k-case__metrics div b { color: #fff; }
.k-case--red .k-case__metrics div span { color: rgba(255,255,255,0.7); }

.k-cases__progress {
  position: absolute; bottom: 32px; left: var(--gutter); right: var(--gutter);
  display: flex; gap: 18px; align-items: center;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  color: var(--text-mute); text-transform: uppercase;
}
.k-cases__bar { flex: 1; height: 1px; background: var(--border); position: relative; overflow: hidden; }
.k-cases__bar::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: var(--p, 0%); background: var(--red); transition: width 60ms linear;
}

/* --- Pull quote, brutalist --- */
.k-quote {
  padding: clamp(64px, 8vw, 140px) 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.k-quote__mark {
  position: absolute; left: var(--gutter); top: 30%; transform: translateY(-50%);
  font-weight: 900; font-size: clamp(160px, 28vw, 460px);
  line-height: 0.7; color: var(--red); opacity: 0.15; pointer-events: none;
  font-family: var(--font);
}
.k-quote__body {
  position: relative; max-width: 22ch;
  font-size: clamp(28px, 4vw, 64px); font-weight: 600;
  letter-spacing: -0.025em; line-height: 1.06;
  margin: 0 0 36px;
}
.k-quote__body em { font-style: normal; color: var(--red); font-weight: 700; }
.k-quote__author { display: flex; align-items: center; gap: 16px; }
.k-quote__author b { display: block; font-size: 14px; font-weight: 700; }
.k-quote__author span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-mute); }

/* --- Section split with diagonal red --- */
.k-split {
  position: relative; padding: clamp(72px, 8vw, 140px) 0;
  background: var(--bg-soft);
  overflow: hidden;
}
.k-split::before {
  content: ""; position: absolute; right: -15%; top: -50%;
  width: 60%; height: 200%; background: var(--red); opacity: 0.95;
  transform: rotate(15deg); z-index: 0;
}
.k-split__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(36px, 5vw, 96px); align-items: center; }
@media (max-width: 900px) { .k-split__inner { grid-template-columns: 1fr; } }
.k-split__inner h2 { font-size: clamp(40px, 6vw, 96px); font-weight: 900; letter-spacing: -0.04em; line-height: 0.95; text-transform: uppercase; }
.k-split__inner p { font-size: 17px; max-width: 48ch; }
.k-split__panel {
  position: relative; z-index: 1;
  background: var(--ink); color: #fff; padding: 36px;
  border-radius: 4px; transform: rotate(-1.5deg);
  transition: transform 200ms cubic-bezier(.2,.6,.2,1);
}
.k-split__panel:hover { transform: rotate(0); }
.k-split__panel ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.k-split__panel li { display: flex; gap: 12px; font-size: 15px; color: rgba(255,255,255,0.92); }
.k-split__panel li::before { content: "→"; color: var(--red); font-weight: 700; flex-shrink: 0; }
html[data-theme="dark"] .k-split__panel { background: #fff; color: var(--ink); }
html[data-theme="dark"] .k-split__panel li { color: var(--text-dim); }

/* --- Industries — cycling grid w/ hover takeover --- */
.k-industries {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 2px solid var(--text);
}
@media (max-width: 900px) { .k-industries { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .k-industries { grid-template-columns: 1fr; } }
.k-ind {
  padding: 36px 32px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden; min-height: 220px;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: color 200ms ease;
}
.k-ind:nth-child(3n) { border-right: none; }
.k-ind::after {
  content: ""; position: absolute; inset: 0; background: var(--red);
  transform: translateY(101%); transition: transform 320ms cubic-bezier(.2,.7,.2,1);
  z-index: 0;
}
.k-ind:hover { color: #fff; }
.k-ind:hover::after { transform: translateY(0); }
.k-ind > * { position: relative; z-index: 1; }
.k-ind__num { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--text-mute); text-transform: uppercase; }
.k-ind h4 { font-size: clamp(22px, 2vw, 30px); font-weight: 800; letter-spacing: -0.025em; }
.k-ind p { font-size: 13px; opacity: 0.85; margin: 0; transition: opacity 200ms ease; }
.k-ind:hover .k-ind__num { color: rgba(255,255,255,0.7); }

/* --- Final CTA: red diagonal full-bleed --- */
.k-final {
  position: relative; overflow: hidden;
  background: var(--ink); color: #fff;
  padding: clamp(80px, 9vw, 160px) 0;
}
html[data-theme="dark"] .k-final { background: #fff; color: var(--ink); }
.k-final::before {
  content: ""; position: absolute; right: -10%; top: -40%;
  width: 70%; height: 180%;
  background: var(--red);
  transform: rotate(-12deg);
}
.k-final__inner { position: relative; z-index: 1; max-width: 1200px; }
.k-final h2 {
  font-size: clamp(48px, 8vw, 140px); font-weight: 900;
  letter-spacing: -0.045em; line-height: 0.92; text-transform: uppercase;
  text-wrap: balance; margin-bottom: 32px;
  color: inherit;
}
.k-final h2 .red { color: var(--red); }
.k-final p { font-size: 18px; max-width: 56ch; color: rgba(255,255,255,0.88); margin-bottom: 32px; }
html[data-theme="dark"] .k-final p { color: var(--text-dim); }
.k-final__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.k-final .btn--ink { background: #fff; color: var(--ink); }
.k-final .btn--ink:hover { background: var(--red); color: #fff; }
.k-final .btn--outline { border-color: rgba(255,255,255,0.5); color: #fff; }
.k-final .btn--outline:hover { background: #fff; color: var(--ink); }
html[data-theme="dark"] .k-final .btn--ink { background: var(--ink); color: #fff; }
html[data-theme="dark"] .k-final .btn--outline { border-color: var(--ink); color: var(--ink); }
html[data-theme="dark"] .k-final .btn--outline:hover { background: var(--ink); color: #fff; }

/* =========================================================
   EDITORIAL LAYER — restrained, reading-first
   Magazine / business-journal feel. No card grids, no megatype.
   Proper reading width, marginalia, pull quotes, drop caps.
   ========================================================= */

.e-page { background: var(--paper); }
html[data-theme="dark"] .e-page { background: var(--bg); }

/* Top masthead bar — mono, line above first content */
.e-mast {
  border-top: 1px solid var(--text);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--text-mute);
}
.e-mast__row { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.e-mast__row strong { color: var(--text); font-weight: 600; }
.e-mast__row span { display: inline-flex; align-items: center; gap: 8px; }
.e-mast__row i { width: 5px; height: 5px; background: var(--red); border-radius: 50%; display: inline-block; font-style: normal; }

/* Cover (hero) */
.e-cover { padding: clamp(48px, 6vw, 88px) 0 clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--border); }
.e-cover__inner {
  max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: 80px 1fr; gap: clamp(20px, 3vw, 56px);
  align-items: start;
}
@media (max-width: 720px) { .e-cover__inner { grid-template-columns: 1fr; gap: 12px; } }
.e-cover__sec {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--red); font-weight: 600;
  padding-top: 10px;
}
.e-cover__title {
  font-weight: 700; letter-spacing: -0.025em;
  font-size: clamp(36px, 4.6vw, 64px); line-height: 1.05;
  text-wrap: balance; margin: 0 0 28px; color: var(--text);
}
.e-cover__title em { font-style: normal; color: var(--red); }
.e-cover__deck {
  font-size: clamp(18px, 1.5vw, 22px); line-height: 1.5;
  color: var(--text-dim); max-width: 56ch; margin: 0 0 32px;
}
.e-cover__byline {
  display: flex; gap: 18px; flex-wrap: wrap; align-items: center;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-mute);
  border-top: 1px solid var(--border); padding-top: 18px;
  max-width: 720px;
}
.e-cover__byline b { color: var(--text); font-weight: 600; }

/* Section rule with marginal numbering */
.e-rule {
  display: grid; grid-template-columns: 80px 1fr; gap: clamp(20px, 3vw, 56px);
  align-items: center; max-width: 1080px; margin: clamp(48px, 6vw, 96px) auto 0;
  padding: 0 var(--gutter);
}
@media (max-width: 720px) { .e-rule { grid-template-columns: 1fr; gap: 6px; } }
.e-rule__num { font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--red); font-weight: 600; }
.e-rule__line { height: 1px; background: var(--text); }

/* Reading container */
.e-section {
  max-width: 1080px; margin: 0 auto; padding: clamp(32px, 4vw, 56px) var(--gutter);
}
.e-section--wide { max-width: 1280px; }

.e-grid {
  display: grid; grid-template-columns: 80px minmax(0, 68ch) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 56px);
}
@media (max-width: 900px) { .e-grid { grid-template-columns: 1fr; gap: 16px; } }
.e-grid__margin {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-mute); padding-top: 8px;
}
.e-grid__margin b { display: block; color: var(--text); font-weight: 600; margin-bottom: 4px; }

/* Prose */
.e-prose h2 {
  font-family: var(--font); font-weight: 700; letter-spacing: -0.02em;
  font-size: clamp(28px, 2.8vw, 40px); line-height: 1.1;
  margin: 0 0 24px; max-width: 22ch;
}
.e-prose h3 {
  font-weight: 600; font-size: 20px; letter-spacing: -0.01em;
  margin: 32px 0 10px;
}
.e-prose p {
  font-size: 18px; line-height: 1.65; color: var(--text);
  margin: 0 0 1.1em; max-width: 64ch;
}
.e-prose p strong { font-weight: 600; }
.e-prose p em { font-style: italic; color: var(--text); }
.e-prose a { color: var(--text); border-bottom: 1px solid var(--red); padding-bottom: 1px; transition: color var(--tx); }
.e-prose a:hover { color: var(--red); }
.e-prose ul { padding-left: 0; list-style: none; }
.e-prose ul li {
  font-size: 18px; line-height: 1.6; color: var(--text);
  padding-left: 28px; position: relative; margin-bottom: 12px;
  max-width: 62ch;
}
.e-prose ul li::before {
  content: "→"; position: absolute; left: 0; top: 0;
  color: var(--red); font-weight: 600;
}

/* Drop cap */
.e-prose .e-dropcap::first-letter {
  font-weight: 800; font-size: 4.6em; line-height: 0.85;
  float: left; padding: 6px 12px 0 0; color: var(--red);
}

/* Pull quote */
.e-pull {
  margin: 40px 0; padding: 24px 0;
  border-top: 1px solid var(--text); border-bottom: 1px solid var(--text);
  max-width: 36ch;
}
.e-pull p {
  font-weight: 600; font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.2; letter-spacing: -0.015em; margin: 0 0 12px;
  color: var(--text);
}
.e-pull cite {
  font-style: normal; font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-mute);
}

/* Sidebar / aside callout */
.e-aside {
  border-left: 2px solid var(--red); padding: 4px 0 4px 20px;
  font-size: 14px; line-height: 1.5; color: var(--text-dim);
  align-self: start; position: sticky; top: 120px;
}
.e-aside b { display: block; color: var(--text); font-weight: 600; margin-bottom: 6px; font-size: 13px; }
.e-aside small { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 8px; }

/* Stats inline (modest, not oversized) */
.e-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  border-top: 1px solid var(--text); border-bottom: 1px solid var(--text);
  padding: 28px 0; margin: 0;
}
@media (max-width: 720px) { .e-stats { grid-template-columns: 1fr 1fr; gap: 20px; } }
.e-stats div { display: flex; flex-direction: column; gap: 4px; }
.e-stats b {
  font-weight: 700; font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.02em; color: var(--text); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.e-stats span {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-mute);
  max-width: 22ch; line-height: 1.4;
}

/* Engagements list (replaces card grid) */
.e-engagements { border-top: 1px solid var(--text); margin: 0; padding: 0; }
.e-engagements__row {
  display: grid; grid-template-columns: 36px 1fr 1.4fr 100px 60px;
  gap: 20px; align-items: baseline;
  padding: 22px 0; border-bottom: 1px solid var(--border);
  text-decoration: none; color: var(--text);
  transition: padding-left var(--tx), color var(--tx);
}
.e-engagements__row:hover { padding-left: 12px; color: var(--red); }
.e-engagements__row:hover .e-engagements__arrow { transform: translateX(4px); color: var(--red); }
.e-engagements__num { font-family: var(--mono); font-size: 12px; color: var(--text-mute); }
.e-engagements__title { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }
.e-engagements__outcome { font-size: 14px; color: var(--text-dim); line-height: 1.5; }
.e-engagements__outcome b { color: var(--text); font-weight: 600; }
.e-engagements__year { font-family: var(--mono); font-size: 12px; color: var(--text-mute); text-align: right; }
.e-engagements__arrow { color: var(--text-mute); transition: transform var(--tx), color var(--tx); text-align: right; font-size: 18px; }
@media (max-width: 720px) {
  .e-engagements__row { grid-template-columns: 1fr 24px; gap: 8px; padding: 18px 0; }
  .e-engagements__num, .e-engagements__year { display: none; }
  .e-engagements__title { grid-column: 1; font-size: 17px; }
  .e-engagements__outcome { grid-column: 1; }
  .e-engagements__arrow { grid-column: 2; align-self: center; }
}

/* Globe panel — used once, not as wallpaper */
.e-globe {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px);
  align-items: center;
  border-top: 1px solid var(--text); border-bottom: 1px solid var(--text);
  padding: clamp(40px, 5vw, 72px) 0;
}
@media (max-width: 800px) { .e-globe { grid-template-columns: 1fr; } }
.e-globe__img {
  width: 100%; aspect-ratio: 1;
  background: url("../img/globe-light.svg") center/contain no-repeat;
  max-width: 460px; justify-self: center;
}
html[data-theme="dark"] .e-globe__img { background-image: url("../img/globe-dark.svg"); }
.e-globe__list { display: grid; gap: 18px; }
.e-globe__list li {
  display: grid; grid-template-columns: 80px 1fr;
  gap: 18px; align-items: baseline;
  padding-bottom: 14px; border-bottom: 1px solid var(--border);
}
.e-globe__list li:last-child { border-bottom: none; }
.e-globe__list b { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); font-weight: 600; }
.e-globe__list span { font-size: 16px; color: var(--text); }
.e-globe__list small { display: block; color: var(--text-mute); font-size: 13px; margin-top: 2px; }

/* Sign-off / closing CTA — restrained, not a redband */
.e-signoff {
  max-width: 1080px; margin: 0 auto;
  padding: clamp(48px, 6vw, 88px) var(--gutter);
  border-top: 1px solid var(--text);
}
.e-signoff__inner {
  display: grid; grid-template-columns: 80px 1fr; gap: clamp(20px, 3vw, 56px);
  align-items: start;
}
@media (max-width: 720px) { .e-signoff__inner { grid-template-columns: 1fr; gap: 12px; } }
.e-signoff h2 {
  font-weight: 700; font-size: clamp(28px, 2.8vw, 40px); line-height: 1.1;
  letter-spacing: -0.02em; margin: 0 0 16px; max-width: 22ch;
}
.e-signoff p { font-size: 18px; color: var(--text-dim); max-width: 56ch; margin: 0 0 28px; line-height: 1.55; }
.e-signoff__cta { display: flex; gap: 10px; flex-wrap: wrap; }
.e-signoff__cta .btn { text-transform: none; letter-spacing: 0; padding: 12px 20px; font-size: 15px; font-weight: 600; }

/* Quiet logo wall */
.e-clients {
  max-width: 1080px; margin: 0 auto; padding: 32px var(--gutter);
  display: flex; flex-wrap: wrap; gap: 32px 56px; align-items: center;
  border-bottom: 1px solid var(--border);
}
.e-clients__label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--text-mute);
  flex-shrink: 0;
}
.e-clients__row { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; }
.e-clients__row span { font-weight: 700; letter-spacing: -0.01em; color: var(--text-dim); font-size: 16px; }

/* =========================================================
   MODERN LAYER — warmer, calmer, less templated
   ========================================================= */

.m-page { background: #f8f5ee; color: #0b0b0f; }
html[data-theme="dark"] .m-page { background: #0e0e12; color: #f2f0ea; }

/* ----- Soft reset for buttons on this layer ----- */
.m-page .btn { text-transform: none; letter-spacing: 0; border-radius: 999px; padding: 14px 22px; font-weight: 600; font-size: 15px; }
.m-page .btn--lg { padding: 18px 28px; font-size: 15px; }
.m-page .btn--red { background: #ed331f; color: #fff; }
.m-page .btn--red:hover { background: #c82513; }
.m-page .btn--ink { background: #0b0b0f; color: #fff; }
.m-page .btn--ink:hover { background: #000; }
.m-page .btn--outline { border-color: rgba(11,11,15,0.2); color: #0b0b0f; background: transparent; }
.m-page .btn--outline:hover { background: #0b0b0f; color: #fff; border-color: #0b0b0f; }
html[data-theme="dark"] .m-page .btn--outline { border-color: rgba(255,255,255,0.25); color: #f2f0ea; }
html[data-theme="dark"] .m-page .btn--outline:hover { background: #f2f0ea; color: #0b0b0f; }

/* ----- Hero: globe as hero focal, text left ----- */
.m-hero {
  position: relative; overflow: hidden;
  padding: clamp(56px, 7vw, 112px) 0 clamp(72px, 8vw, 128px);
}
.m-hero__inner {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(32px, 4vw, 72px); align-items: center;
}
@media (max-width: 900px) { .m-hero__inner { grid-template-columns: 1fr; } }

.m-hero__kicker {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(237,51,31,0.08); color: #ed331f;
  font-size: 13px; font-weight: 500; letter-spacing: 0.01em;
  margin-bottom: 28px;
}
html[data-theme="dark"] .m-hero__kicker { background: rgba(237,51,31,0.14); }
.m-hero__kicker::before {
  content: ""; width: 7px; height: 7px; background: #ed331f; border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(237,51,31,0.15);
  animation: m-pulse 2.4s ease-in-out infinite;
}
@keyframes m-pulse { 0%,100% { box-shadow: 0 0 0 4px rgba(237,51,31,0.15); } 50% { box-shadow: 0 0 0 7px rgba(237,51,31,0); } }

.m-hero__title {
  font-weight: 600; letter-spacing: -0.025em; line-height: 1.02;
  font-size: clamp(44px, 5.4vw, 76px); margin: 0 0 24px;
  color: inherit;
}
.m-hero__title em { font-style: normal; color: #ed331f; }
.m-hero__sub {
  font-size: clamp(17px, 1.3vw, 20px); line-height: 1.5;
  color: rgba(11,11,15,0.65); max-width: 52ch; margin: 0 0 36px;
}
html[data-theme="dark"] .m-hero__sub { color: rgba(242,240,234,0.65); }
.m-hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* The globe stage */
.m-hero__stage {
  position: relative; aspect-ratio: 1 / 1;
  max-width: 560px; margin: 0 auto; width: 100%;
}
.m-hero__stage::before {
  content: ""; position: absolute; inset: -8%;
  background: radial-gradient(closest-side at 50% 50%, rgba(237,51,31,0.12), transparent 68%);
  border-radius: 50%;
}
.m-hero__stage::after {
  content: ""; position: absolute; inset: 4%;
  border: 1px dashed rgba(11,11,15,0.1); border-radius: 50%;
  animation: m-spin 60s linear infinite;
}
html[data-theme="dark"] .m-hero__stage::after { border-color: rgba(242,240,234,0.12); }
@keyframes m-spin { to { transform: rotate(360deg); } }
.m-hero__globe {
  position: absolute; inset: 0;
  background: url("../img/globe-light.svg") center/contain no-repeat;
}
html[data-theme="dark"] .m-hero__globe { background-image: url("../img/globe-dark.svg"); }

/* Globe + office badges move together so badges stay on their markers */
.m-hero__orb { position: absolute; inset: 0; }

/* Office badges — each .m-pin sits exactly on a globe marker (left/top
   are the marker's position in the 800×800 SVG, as percentages). */
.m-pins { position: absolute; inset: 0; pointer-events: none; }
.m-pin { position: absolute; width: 0; height: 0; }
.m-pin > span {
  position: absolute; display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; background: #fff; border-radius: 999px;
  font-size: 12px; font-weight: 600; color: #0b0b0f; white-space: nowrap;
  box-shadow: 0 8px 24px -8px rgba(11,11,15,0.2), 0 0 0 1px rgba(11,11,15,0.06);
  animation: m-float 6s ease-in-out infinite;
}
.m-pin > span small { font-weight: 500; color: #ed331f; font-size: 11px; }
html[data-theme="dark"] .m-pin > span { background: #1a1a20; color: #f2f0ea; box-shadow: 0 8px 24px -8px #000, 0 0 0 1px rgba(255,255,255,0.1); }
.m-pin--nw > span { right: 12px; bottom: 12px; }
.m-pin--ne > span { left: 12px; bottom: 12px; animation-delay: 1.5s; }
.m-pin--w  > span { right: 14px; top: -13px; animation-delay: 3s; }
.m-pin--se > span { left: 12px; top: 12px; animation-delay: 4.5s; }
@keyframes m-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) { .m-pin > span { animation: none; } }

/* Trust line under hero CTAs */
.m-hero__trust {
  display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 32px;
  font-size: 14px; color: rgba(11,11,15,0.55);
}
html[data-theme="dark"] .m-hero__trust { color: rgba(242,240,234,0.55); }
.m-hero__trust span { display: inline-flex; align-items: center; gap: 8px; }
.m-hero__trust span::before { content: "✓"; color: #ed331f; font-weight: 700; }

/* Offices — simple four-column list, no cards */
.m-offices {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  margin-top: 48px;
}
@media (max-width: 900px) { .m-offices { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .m-offices { grid-template-columns: 1fr; } }
.m-office { padding-top: 20px; border-top: 2px solid #0b0b0f; }
html[data-theme="dark"] .m-office { border-top-color: #f2f0ea; }
.m-office:first-child { border-top-color: #ed331f; }
.m-office h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 4px; }
.m-office__role { font-size: 14px; font-weight: 600; color: #ed331f; margin: 0 0 12px; }
.m-office p { font-size: 15px; line-height: 1.55; color: rgba(11,11,15,0.65); margin: 0 0 12px; }
html[data-theme="dark"] .m-office p { color: rgba(242,240,234,0.65); }
.m-office__tz { font-size: 13px; color: rgba(11,11,15,0.5); }
html[data-theme="dark"] .m-office__tz { color: rgba(242,240,234,0.5); }

/* ----- Soft marquee strip (not brutalist) ----- */
.m-marquee {
  padding: 20px 0; overflow: hidden; position: relative;
  border-top: 1px solid rgba(11,11,15,0.08);
  border-bottom: 1px solid rgba(11,11,15,0.08);
}
html[data-theme="dark"] .m-marquee { border-color: rgba(255,255,255,0.08); }
/* Label in its own column; logos scroll inside a clipped, edge-faded viewport. */
.m-marquee__row { display: flex; align-items: center; gap: 32px; }
@media (max-width: 640px) { .m-marquee__row { flex-direction: column; align-items: flex-start; gap: 14px; } }
.m-marquee__label {
  flex-shrink: 0; font-size: 12px; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(11,11,15,0.5); font-weight: 500;
}
html[data-theme="dark"] .m-marquee__label { color: rgba(242,240,234,0.5); }
.m-marquee__viewport {
  flex: 1; min-width: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
@media (max-width: 640px) { .m-marquee__viewport { width: 100%; } }
.m-marquee__track { display: flex; width: max-content; animation: m-marquee 45s linear infinite; }
.m-marquee__track > span { display: flex; align-items: center; gap: 72px; padding-right: 72px; }
.m-marquee:hover .m-marquee__track { animation-play-state: paused; }
@keyframes m-marquee { to { transform: translate3d(-50%, 0, 0); } }
@media (prefers-reduced-motion: reduce) { .m-marquee__track { animation: none; } }

/* Partner logos: monochrome by default, full colour on hover (light mode).
   Heights balance the visual weight of very different logo shapes. */
.m-logo { display: block; width: auto; filter: grayscale(1); opacity: 0.6; transition: filter .2s ease, opacity .2s ease; }
.m-logo:hover { filter: none; opacity: 1; }
html[data-theme="dark"] .m-logo { filter: grayscale(1) invert(1) brightness(1.35); opacity: 0.8; }
html[data-theme="dark"] .m-logo:hover { opacity: 1; }
.m-logo--microsoft { height: 26px; }
.m-logo--sap { height: 38px; }
.m-logo--siemens { height: 22px; }
.m-logo--vmware { height: 22px; }
.m-logo--tableau { height: 30px; }

/* ----- Section defaults ----- */
.m-section { padding: clamp(72px, 8vw, 128px) 0; }
.m-section--ink { background: #0b0b0f; color: #f2f0ea; }
.m-section--ink h2, .m-section--ink h3 { color: #fff; }
.m-section--ink p { color: rgba(242,240,234,0.7); }
html[data-theme="dark"] .m-section--ink { background: #17171c; }

.m-eyebrow {
  display: inline-block; font-size: clamp(16px, 1.3vw, 19px); font-weight: 600;
  color: #ed331f; letter-spacing: 0.01em; margin-bottom: 18px;
}
.m-heading {
  font-weight: 600; letter-spacing: -0.02em; line-height: 1.08;
  font-size: clamp(34px, 3.6vw, 52px); margin: 0;
  max-width: 20ch;
}
.m-sub {
  font-size: clamp(16px, 1.15vw, 18px); color: rgba(11,11,15,0.65);
  margin: 20px 0 0; max-width: 56ch; line-height: 1.6;
}
.m-section--ink .m-sub { color: rgba(242,240,234,0.65); }
html[data-theme="dark"] .m-sub { color: rgba(242,240,234,0.65); }

/* ----- Positioning / philosophy section ----- */
.m-philosophy {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: clamp(32px, 5vw, 96px); align-items: start;
}
@media (max-width: 900px) { .m-philosophy { grid-template-columns: 1fr; } }
.m-philosophy__body p {
  font-size: clamp(20px, 1.6vw, 24px); line-height: 1.5;
  color: rgba(11,11,15,0.78); margin: 0 0 1em; max-width: 48ch;
}
html[data-theme="dark"] .m-philosophy__body p { color: rgba(242,240,234,0.78); }
.m-philosophy__body p:first-of-type::first-letter {
  font-weight: 700; font-size: 1.4em; color: #ed331f;
}

.m-stat-strip {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 48px; padding-top: 32px;
  border-top: 1px solid rgba(11,11,15,0.08);
}
@media (max-width: 640px) { .m-stat-strip { grid-template-columns: 1fr; gap: 16px; } }
html[data-theme="dark"] .m-stat-strip { border-color: rgba(255,255,255,0.08); }
.m-stat-strip b {
  display: block; font-size: clamp(32px, 3vw, 44px); font-weight: 600;
  letter-spacing: -0.02em; color: #0b0b0f; line-height: 1;
}
html[data-theme="dark"] .m-stat-strip b { color: #f2f0ea; }
.m-stat-strip > div > span {
  display: block; font-size: 14px; color: rgba(11,11,15,0.55);
  margin-top: 10px; line-height: 1.4;
}
html[data-theme="dark"] .m-stat-strip > div > span { color: rgba(242,240,234,0.55); }

/* ----- Service rows (horizontal, alternating) ----- */
.m-services { display: grid; gap: clamp(48px, 6vw, 96px); margin-top: 72px; }
.m-svc {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 72px); align-items: center;
}
@media (max-width: 900px) { .m-svc { grid-template-columns: 1fr; } }
.m-svc--flip .m-svc__media { order: 2; }
@media (max-width: 900px) { .m-svc--flip .m-svc__media { order: 0; } }

.m-svc__media {
  position: relative; aspect-ratio: 5 / 4;
  border-radius: 24px; overflow: hidden;
  background: linear-gradient(135deg, #f0ebe0 0%, #e4ddcf 100%);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 24px 48px -24px rgba(11,11,15,0.15), 0 0 0 1px rgba(11,11,15,0.04);
}
html[data-theme="dark"] .m-svc__media {
  background: linear-gradient(135deg, #1c1c22 0%, #15151a 100%);
  box-shadow: 0 24px 48px -24px #000, 0 0 0 1px rgba(255,255,255,0.05);
}
.m-svc__media--red { background: linear-gradient(135deg, #ed331f 0%, #b31f10 100%); }
.m-svc__media--ink { background: linear-gradient(135deg, #1a1a20 0%, #0b0b0f 100%); }

.m-svc__viz { width: 90%; max-width: 480px; height: auto; overflow: visible; }
/* Soft light bloom behind each illustration for depth on the orange panel. */
.m-svc__media::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 55% at 30% 20%, rgba(255,255,255,0.22), transparent 70%);
}
.m-svc__media > svg { position: relative; }

.m-svc__body h3 {
  font-weight: 600; letter-spacing: -0.02em; line-height: 1.1;
  font-size: clamp(28px, 2.6vw, 38px); margin: 0 0 18px;
}
.m-svc__body p {
  font-size: 17px; line-height: 1.6; color: rgba(11,11,15,0.65);
  margin: 0 0 24px; max-width: 52ch;
}
html[data-theme="dark"] .m-svc__body p { color: rgba(242,240,234,0.65); }
.m-svc__body .m-svc__tag {
  display: inline-block; font-size: 14px; font-weight: 600;
  color: #ed331f; letter-spacing: 0.04em; text-transform: uppercase;
  margin-bottom: 14px;
}
.m-svc__link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 600; color: #0b0b0f;
}
html[data-theme="dark"] .m-svc__link { color: #f2f0ea; }
.m-svc__link::after { content: "→"; transition: transform .18s ease; }
.m-svc__link:hover::after { transform: translateX(4px); }

/* ----- Case spotlights (replaces table) ----- */
.m-spots { display: grid; gap: 20px; margin-top: 56px; }
@media (min-width: 900px) {
  .m-spots { grid-template-columns: repeat(3, 1fr); }
  .m-spot:first-child { grid-column: span 3; }
  .m-spot:first-child .m-spot__inner { grid-template-columns: 1fr 1fr; align-items: center; }
}
.m-spot {
  border-radius: 20px; background: #fff;
  box-shadow: 0 1px 0 rgba(11,11,15,0.03), 0 24px 60px -40px rgba(11,11,15,0.2);
  overflow: hidden; text-decoration: none; color: inherit;
  transition: transform .22s cubic-bezier(.2,.6,.2,1), box-shadow .22s ease;
}
html[data-theme="dark"] .m-spot { background: #17171c; box-shadow: 0 1px 0 rgba(255,255,255,0.04), 0 24px 60px -40px #000; }
.m-spot:hover { transform: translateY(-4px); box-shadow: 0 1px 0 rgba(11,11,15,0.03), 0 36px 80px -40px rgba(11,11,15,0.25); }
.m-spot__inner { display: grid; padding: 28px; gap: 20px; }
.m-spot__meta { display: flex; justify-content: space-between; font-size: 12px; font-weight: 500; color: rgba(11,11,15,0.5); text-transform: uppercase; letter-spacing: 0.06em; }
html[data-theme="dark"] .m-spot__meta { color: rgba(242,240,234,0.5); }
.m-spot__client {
  font-size: clamp(20px, 1.6vw, 24px); font-weight: 600;
  letter-spacing: -0.015em; line-height: 1.2; margin: 0;
}
.m-spot__num {
  font-size: clamp(48px, 5vw, 72px); font-weight: 600;
  letter-spacing: -0.03em; line-height: 1; color: #ed331f;
}
.m-spot__num small { font-size: 0.4em; font-weight: 500; color: rgba(11,11,15,0.5); margin-left: 6px; }
html[data-theme="dark"] .m-spot__num small { color: rgba(242,240,234,0.5); }
.m-section--ink .m-spot__meta { color: rgba(242,240,234,0.55); }
.m-section--ink .m-spot__num small { color: rgba(242,240,234,0.6); }
.m-spot__desc { font-size: 15px; line-height: 1.5; color: rgba(11,11,15,0.65); margin: 0; }
html[data-theme="dark"] .m-spot__desc { color: rgba(242,240,234,0.65); }

/* ----- Testimonial ----- */
.m-testimonial {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: clamp(32px, 5vw, 80px); align-items: center;
}
@media (max-width: 900px) { .m-testimonial { grid-template-columns: 1fr; } }
.m-testimonial__logos {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
  padding: 32px; border-radius: 20px;
  background: rgba(11,11,15,0.04);
}
html[data-theme="dark"] .m-testimonial__logos { background: rgba(255,255,255,0.05); }
.m-testimonial__logos > * {
  display: flex; align-items: center; justify-content: center;
  min-height: 72px; padding: 8px;
}
.m-testimonial__logos > :last-child:nth-child(odd) { grid-column: span 2; }
.m-testimonial__quote blockquote {
  font-size: clamp(22px, 2.2vw, 32px); font-weight: 500;
  letter-spacing: -0.015em; line-height: 1.3; margin: 0 0 24px;
  color: inherit;
}
.m-testimonial__quote cite {
  font-style: normal; display: flex; flex-direction: column; gap: 2px;
  font-size: 14px; color: rgba(11,11,15,0.6);
}
html[data-theme="dark"] .m-testimonial__quote cite { color: rgba(242,240,234,0.6); }
.m-testimonial__quote cite b { color: #0b0b0f; font-weight: 600; }
html[data-theme="dark"] .m-testimonial__quote cite b { color: #f2f0ea; }

/* ----- Final CTA block (soft, not red band) ----- */
.m-cta {
  position: relative; overflow: hidden; border-radius: 32px;
  padding: clamp(48px, 6vw, 88px);
  background:
    radial-gradient(60% 100% at 100% 0%, rgba(237,51,31,0.14), transparent 60%),
    linear-gradient(135deg, #15151b 0%, #0b0b0f 100%);
  color: #fff;
}
.m-cta__inner {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 40px; align-items: end;
}
@media (max-width: 760px) { .m-cta__inner { grid-template-columns: 1fr; } }
.m-cta h2 {
  font-weight: 600; letter-spacing: -0.025em; line-height: 1.05;
  font-size: clamp(36px, 4.2vw, 56px); margin: 0 0 20px; color: #fff;
  max-width: 18ch;
}
.m-cta p { color: rgba(255,255,255,0.65); max-width: 48ch; font-size: 17px; margin: 0 0 32px; }
.m-cta .m-cta__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.m-cta .btn--red { background: #ed331f; color: #fff; }
.m-cta .btn--red:hover { background: #ff4a37; }
.m-cta .btn--outline { border-color: rgba(255,255,255,0.25); color: #fff; }
.m-cta .btn--outline:hover { background: #fff; color: #0b0b0f; border-color: #fff; }

/* ----- Small helper for the placeholder note in the work section ----- */
.m-note { color: #ff6a56; font-style: normal; }
.m-eyebrow--cta { color: #ff6a56; }

/* =========================================================
   DARK MODE — swap near-black blocks for brand orange so they
   stand out from the dark page instead of disappearing into it.
   ========================================================= */
html[data-theme="dark"] .m-svc__media,
html[data-theme="dark"] .m-svc__media--red,
html[data-theme="dark"] .m-svc__media--ink {
  background: linear-gradient(135deg, #ed331f 0%, #ff6b4a 100%);
  box-shadow: 0 30px 60px -30px rgba(237,51,31,0.55);
}
html[data-theme="dark"] .m-svc:nth-child(even) .m-svc__media {
  background: linear-gradient(135deg, #ff6b4a 0%, #ed331f 100%);
}

html[data-theme="dark"] .m-section--ink {
  background: linear-gradient(160deg, #ff6b4a 0%, #ed331f 45%, #b8230f 100%);
}
html[data-theme="dark"] .m-section--ink .m-eyebrow { color: rgba(255,255,255,0.9); }
html[data-theme="dark"] .m-section--ink .m-sub { color: rgba(255,255,255,0.88); }
html[data-theme="dark"] .m-section--ink .m-note { color: #fff; font-weight: 600; }
html[data-theme="dark"] .m-section--ink .m-spot { background: #121216 !important; }

html[data-theme="dark"] .m-testimonial__logos {
  background: rgba(237,51,31,0.12); box-shadow: inset 0 0 0 1px rgba(237,51,31,0.35);
}

html[data-theme="dark"] .m-cta {
  background:
    radial-gradient(60% 100% at 100% 0%, rgba(255,255,255,0.2), transparent 60%),
    linear-gradient(135deg, #ff6b4a 0%, #ed331f 50%, #b8230f 100%);
}
html[data-theme="dark"] .m-cta .m-eyebrow { color: #fff; }
html[data-theme="dark"] .m-cta p { color: rgba(255,255,255,0.9); }
html[data-theme="dark"] .m-cta .btn--red { background: #fff; color: #ed331f; }
html[data-theme="dark"] .m-cta .btn--red:hover { background: #0b0b0f; color: #fff; }
html[data-theme="dark"] .m-cta .btn--outline { border-color: rgba(255,255,255,0.6); color: #fff; }

html[data-theme="dark"] .m-page .footer { background: #08080a; border-top: 3px solid #ed331f; }

/* =========================================================
   INNER PAGES — shared components
   ========================================================= */

/* Page header */
.m-subhero {
  position: relative; overflow: hidden;
  padding: clamp(56px, 7vw, 104px) 0 clamp(48px, 6vw, 88px);
}
.m-subhero::before {
  content: ""; position: absolute; right: -10%; top: -40%;
  width: 60%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(237,51,31,0.12), transparent 70%);
  pointer-events: none;
}
.m-subhero__inner {
  position: relative; display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 88px); align-items: end;
}
@media (max-width: 900px) { .m-subhero__inner { grid-template-columns: 1fr; } }
.m-crumbs { display: flex; gap: 8px; font-size: 13px; color: rgba(11,11,15,0.5); margin-bottom: 24px; }
html[data-theme="dark"] .m-crumbs { color: rgba(242,240,234,0.5); }
.m-crumbs a:hover { color: #ed331f; }
.m-subhero h1 {
  font-weight: 600; letter-spacing: -0.025em; line-height: 1.04;
  font-size: clamp(40px, 4.8vw, 68px); margin: 0 0 22px; color: inherit;
}
.m-subhero h1 em { font-style: normal; color: #ed331f; }
.m-subhero p.m-lead {
  font-size: clamp(17px, 1.3vw, 20px); line-height: 1.55;
  color: rgba(11,11,15,0.65); max-width: 54ch; margin: 0;
}
html[data-theme="dark"] .m-subhero p.m-lead { color: rgba(242,240,234,0.65); }
.m-subhero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

/* Key-facts card beside the page header */
.m-facts {
  background: #fff; border-radius: 24px; padding: 8px 28px;
  box-shadow: 0 1px 0 rgba(11,11,15,0.03), 0 30px 60px -40px rgba(11,11,15,0.25);
}
html[data-theme="dark"] .m-facts { background: #17171c; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06); }
.m-facts div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 18px 0; border-bottom: 1px solid rgba(11,11,15,0.08);
}
html[data-theme="dark"] .m-facts div { border-color: rgba(255,255,255,0.08); }
.m-facts div:last-child { border-bottom: none; }
.m-facts span { font-size: 14px; color: rgba(11,11,15,0.6); }
html[data-theme="dark"] .m-facts span { color: rgba(242,240,234,0.6); }
.m-facts b { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; color: #ed331f; white-space: nowrap; }

/* Section intro (heading + sub, used at the top of most sections) */
.m-intro { max-width: 720px; margin-bottom: 48px; }

[hidden] { display: none !important; }
.m-page [id] { scroll-margin-top: 120px; }
.m-facts a { font-size: 16px; font-weight: 600; transition: color .15s ease; }
.m-facts a:hover { color: #ed331f; }

/* Three-column variant of the offices list */
.m-offices--3 { grid-template-columns: repeat(3, 1fr); }
.m-offices--2 { grid-template-columns: repeat(2, 1fr); max-width: 860px; }
@media (max-width: 700px) { .m-offices--2 { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .m-offices--3 { grid-template-columns: 1fr; } }

/* Two soft panels side by side */
.m-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 860px) { .m-panels { grid-template-columns: 1fr; } }
.m-panel {
  border-radius: 24px; padding: clamp(28px, 3vw, 44px); background: #fff;
  box-shadow: 0 1px 0 rgba(11,11,15,0.03), 0 30px 60px -40px rgba(11,11,15,0.2);
}
html[data-theme="dark"] .m-panel { background: #17171c; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06); }
.m-panel__brand { display: flex; align-items: center; gap: 14px; }
.m-panel__brand svg, .m-panel__brand img { display: block; height: 32px; width: auto; flex-shrink: 0; }
.m-panel__badge {
  display: inline-block; padding: 6px 12px; border-radius: 999px;
  background: rgba(237,51,31,0.1); color: #ed331f; font-size: 13px; font-weight: 600;
}
.m-panel h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 600; letter-spacing: -0.015em; margin: 18px 0 12px; }
.m-panel > p { font-size: 16px; line-height: 1.6; color: rgba(11,11,15,0.65); margin: 0 0 20px; }
html[data-theme="dark"] .m-panel > p { color: rgba(242,240,234,0.65); }

/* Check list */
.m-check { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.m-check li { position: relative; padding-left: 30px; font-size: 16px; line-height: 1.5; }
.m-check li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(237,51,31,0.12); color: #ed331f;
  font-size: 11px; font-weight: 700; display: grid; place-items: center;
}

/* Process steps */
.m-steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.m-steps::before {
  content: ""; position: absolute; left: 20px; right: 20px; top: 20px;
  border-top: 2px dashed rgba(11,11,15,0.15);
}
html[data-theme="dark"] .m-steps::before { border-color: rgba(255,255,255,0.15); }
.m-section--ink .m-steps::before { border-color: rgba(255,255,255,0.2); }
@media (max-width: 900px) { .m-steps { grid-template-columns: 1fr 1fr; } .m-steps::before { display: none; } }
.m-steps--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .m-steps--3 { grid-template-columns: 1fr; } }
@media (max-width: 540px) { .m-steps { grid-template-columns: 1fr; } }
.m-step__dot {
  position: relative; z-index: 1; width: 40px; height: 40px; border-radius: 50%;
  background: #ed331f; color: #fff; font-weight: 700; font-size: 15px;
  display: grid; place-items: center;
}
html[data-theme="dark"] .m-section--ink .m-step__dot { background: #fff; color: #ed331f; }
.m-step h3 { font-size: 20px; font-weight: 600; margin: 20px 0 8px; }
.m-step p { font-size: 15px; line-height: 1.55; margin: 0; color: rgba(11,11,15,0.65); }
html[data-theme="dark"] .m-step p, .m-section--ink .m-step p { color: rgba(242,240,234,0.75); }

/* Case-study rows (readable list, not a card grid) */
.m-cases { border-top: 1px solid rgba(11,11,15,0.12); }
html[data-theme="dark"] .m-cases { border-color: rgba(255,255,255,0.1); }
.m-case {
  display: grid; grid-template-columns: minmax(0, 1fr) 240px;
  gap: clamp(24px, 4vw, 64px); align-items: center;
  padding: 36px 0; border-bottom: 1px solid rgba(11,11,15,0.12);
}
html[data-theme="dark"] .m-case { border-color: rgba(255,255,255,0.1); }
@media (max-width: 760px) { .m-case { grid-template-columns: 1fr; gap: 16px; } }
.m-case__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.m-case__tags span {
  font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px;
  background: rgba(11,11,15,0.05); color: rgba(11,11,15,0.65);
}
html[data-theme="dark"] .m-case__tags span { background: rgba(255,255,255,0.07); color: rgba(242,240,234,0.7); }
.m-case__tags span:first-child { background: rgba(237,51,31,0.1); color: #ed331f; }
.m-case h3 { font-size: clamp(20px, 1.8vw, 26px); font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; margin: 0 0 10px; }
.m-case p { font-size: 16px; line-height: 1.6; color: rgba(11,11,15,0.65); margin: 0; max-width: 64ch; }
html[data-theme="dark"] .m-case p { color: rgba(242,240,234,0.65); }
.m-case__result { text-align: right; }
@media (max-width: 760px) { .m-case__result { text-align: left; } }
.m-case__result b { display: block; font-size: clamp(40px, 4vw, 56px); font-weight: 600; letter-spacing: -0.03em; line-height: 1; color: #ed331f; }
.m-case__result span { display: block; font-size: 14px; color: rgba(11,11,15,0.55); margin-top: 8px; }
html[data-theme="dark"] .m-case__result span { color: rgba(242,240,234,0.55); }

/* FAQ */
.m-faq { border-top: 1px solid rgba(11,11,15,0.12); }
html[data-theme="dark"] .m-faq { border-color: rgba(255,255,255,0.1); }
.m-faq details { border-bottom: 1px solid rgba(11,11,15,0.12); }
html[data-theme="dark"] .m-faq details { border-color: rgba(255,255,255,0.1); }
.m-faq summary {
  list-style: none; cursor: pointer; padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  font-size: 18px; font-weight: 600;
}
.m-faq summary::-webkit-details-marker { display: none; }
.m-faq summary::after {
  content: "+"; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; font-size: 20px; font-weight: 500;
  background: rgba(237,51,31,0.1); color: #ed331f; transition: transform .2s ease;
}
.m-faq details[open] summary::after { transform: rotate(45deg); }
.m-faq details p { margin: 0 0 24px; max-width: 70ch; font-size: 16px; line-height: 1.6; color: rgba(11,11,15,0.65); }
html[data-theme="dark"] .m-faq details p { color: rgba(242,240,234,0.65); }

/* Two-column text block (heading left, copy right) */
.m-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
@media (max-width: 900px) { .m-split { grid-template-columns: 1fr; } }
.m-split__body p { font-size: 18px; line-height: 1.65; color: rgba(11,11,15,0.72); margin: 0 0 1em; max-width: 60ch; }
html[data-theme="dark"] .m-split__body p { color: rgba(242,240,234,0.72); }

/* =========================================================
   BLOG
   ========================================================= */
.m-blog-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.m-section--ink .m-blog-head__btn { border-color: rgba(255,255,255,0.3); color: #fff; }
.m-section--ink .m-blog-head__btn:hover { background: #fff; color: #0b0b0f; border-color: #fff; }

.m-blog-tools { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.m-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.m-chip {
  padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600;
  background: rgba(11,11,15,0.05); color: rgba(11,11,15,0.7);
  transition: background .15s ease, color .15s ease;
}
.m-chip:hover { background: rgba(237,51,31,0.1); color: #ed331f; }
.m-chip[aria-pressed="true"] { background: #ed331f; color: #fff; }
html[data-theme="dark"] .m-chip { background: rgba(255,255,255,0.07); color: rgba(242,240,234,0.75); }
html[data-theme="dark"] .m-chip[aria-pressed="true"] { background: #ed331f; color: #fff; }
.m-search input {
  width: min(300px, 100%); font: inherit; font-size: 15px; color: #0b0b0f;
  padding: 11px 16px 11px 42px; border-radius: 999px;
  border: 1px solid rgba(11,11,15,0.14); background: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ed331f' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: 16px center;
}
.m-search input:focus { outline: none; border-color: #ed331f; box-shadow: 0 0 0 4px rgba(237,51,31,0.14); }
html[data-theme="dark"] .m-search input { background-color: #17171c; color: #f2f0ea; border-color: rgba(255,255,255,0.14); }

.m-post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 960px) { .m-post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .m-post-grid { grid-template-columns: 1fr; } }
.m-post-card {
  display: flex; flex-direction: column; border-radius: 20px; overflow: hidden;
  background: #fff; color: inherit;
  box-shadow: 0 1px 0 rgba(11,11,15,0.03), 0 24px 60px -40px rgba(11,11,15,0.25);
  transition: transform .22s cubic-bezier(.2,.6,.2,1), box-shadow .22s ease;
}
.m-post-card:hover { transform: translateY(-4px); box-shadow: 0 1px 0 rgba(11,11,15,0.03), 0 36px 80px -40px rgba(11,11,15,0.3); }
html[data-theme="dark"] .m-post-card { background: #17171c; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06); }
.m-post-card__img { aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, #f0ebe0, #e4ddcf); }
html[data-theme="dark"] .m-post-card__img { background: linear-gradient(135deg, #22222a, #17171c); }
.m-post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.m-post-card:hover .m-post-card__img img { transform: scale(1.04); }
.m-post-card__img--empty { display: grid; place-items: center; }
.m-post-card__img--empty img { width: 40%; height: auto; object-fit: contain; opacity: 0.8; }
.m-post-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.m-post-card__meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; color: rgba(11,11,15,0.55); }
html[data-theme="dark"] .m-post-card__meta { color: rgba(242,240,234,0.55); }
.m-post-card__topic { color: #ed331f; font-weight: 600; }
.m-post-card h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; margin: 0; }
.m-post-card p {
  font-size: 15px; line-height: 1.55; color: rgba(11,11,15,0.65); margin: 0;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
html[data-theme="dark"] .m-post-card p { color: rgba(242,240,234,0.65); }
.m-post-card .m-svc__link { margin-top: auto; padding-top: 6px; font-size: 14px; }
@media (min-width: 961px) {
  .m-post-card--feature { grid-column: 1 / -1; flex-direction: row; }
  .m-post-card--feature .m-post-card__img { flex: 1.15; aspect-ratio: auto; min-height: 380px; }
  .m-post-card--feature .m-post-card__body { flex: 1; padding: clamp(28px, 3vw, 48px); justify-content: center; gap: 14px; }
  .m-post-card--feature h3 { font-size: clamp(26px, 2.4vw, 34px); line-height: 1.15; }
  .m-post-card--feature p { -webkit-line-clamp: 4; font-size: 16px; }
}
.m-section--ink .m-post-card { background: #17171c; color: #f2f0ea; box-shadow: none; }
.m-section--ink .m-post-card h3, .m-section--ink .m-post-card .m-svc__link { color: #fff; }
.m-section--ink .m-post-card p { color: rgba(242,240,234,0.65); }
.m-section--ink .m-post-card__meta { color: rgba(242,240,234,0.55); }
html[data-theme="dark"] .m-section--ink .m-post-card { background: #121216; }
.m-blog-empty { text-align: center; padding: 48px 0; color: rgba(11,11,15,0.6); font-size: 17px; }
html[data-theme="dark"] .m-blog-empty { color: rgba(242,240,234,0.6); }
.m-blog-more { text-align: center; margin-top: 48px; }

/* Article page */
.m-post-hero { padding: clamp(48px, 6vw, 88px) 0 clamp(28px, 3vw, 40px); }
.m-post-hero__inner { max-width: 880px; }
.m-post-hero h1 {
  font-size: clamp(34px, 4.2vw, 56px); font-weight: 600; letter-spacing: -0.025em;
  line-height: 1.08; margin: 0 0 24px; color: inherit; text-wrap: balance;
}
.m-post-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 15px; color: rgba(11,11,15,0.6); }
html[data-theme="dark"] .m-post-meta { color: rgba(242,240,234,0.6); }
.m-post-meta b { color: inherit; font-weight: 600; }
.m-post-meta span + span::before { content: "·"; margin-right: 18px; color: #ed331f; }
.m-post-cover { margin: 0 0 clamp(36px, 4vw, 64px); }
.m-post-cover img {
  width: 100%; max-height: 560px; object-fit: cover; border-radius: 24px;
  box-shadow: 0 30px 60px -40px rgba(11,11,15,0.4);
}
.m-post-layout {
  display: grid; grid-template-columns: minmax(0, 720px) minmax(220px, 280px);
  gap: clamp(32px, 5vw, 96px); justify-content: space-between; align-items: start;
}
@media (max-width: 960px) { .m-post-layout { grid-template-columns: 1fr; } }
.m-post-aside { position: sticky; top: 120px; display: grid; gap: 16px; }
@media (max-width: 960px) { .m-post-aside { position: static; } }
.m-aside-box { padding: 24px; border-radius: 20px; background: rgba(11,11,15,0.035); }
html[data-theme="dark"] .m-aside-box { background: rgba(255,255,255,0.05); }
.m-aside-box small { display: block; font-size: 13px; font-weight: 600; color: rgba(11,11,15,0.55); margin-bottom: 12px; }
html[data-theme="dark"] .m-aside-box small { color: rgba(242,240,234,0.55); }
.m-aside-box p { font-size: 15px; line-height: 1.5; margin: 0 0 16px; }
.m-aside-box .btn { width: 100%; justify-content: center; }
.m-aside-box svg { width: 16px; height: 16px; }

.m-article { font-size: 18px; line-height: 1.75; color: rgba(11,11,15,0.82); }
html[data-theme="dark"] .m-article { color: rgba(242,240,234,0.85); }
.m-article > * { margin: 0; }
.m-article > * + * { margin-top: 1.15em; }
.m-article h2 { font-size: clamp(24px, 2.2vw, 30px); font-weight: 600; letter-spacing: -0.015em; line-height: 1.22; margin-top: 2em; color: inherit; }
.m-article h3 { font-size: 21px; font-weight: 600; line-height: 1.3; margin-top: 1.7em; }
.m-article h4, .m-article h5, .m-article h6 { font-size: 18px; font-weight: 600; margin-top: 1.5em; }
.m-article strong { font-weight: 600; color: #0b0b0f; }
html[data-theme="dark"] .m-article strong { color: #fff; }
.m-article a { color: #ed331f; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.m-article a:hover { text-decoration-thickness: 2px; }
.m-article ul, .m-article ol { padding-left: 1.3em; }
.m-article li + li { margin-top: 0.5em; }
.m-article li::marker { color: #ed331f; }
.m-article blockquote { padding: 4px 0 4px 24px; border-left: 3px solid #ed331f; font-size: 20px; font-weight: 500; }
.m-article img { max-width: 100%; height: auto; border-radius: 16px; display: block; margin-left: auto; margin-right: auto; }
.m-article figure figcaption { font-size: 14px; text-align: center; margin-top: 10px; color: rgba(11,11,15,0.55); }
.m-article iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 16px; }
.m-article table { width: 100%; border-collapse: collapse; font-size: 16px; }
.m-article th, .m-article td { text-align: left; padding: 10px 12px; border-bottom: 1px solid rgba(11,11,15,0.12); vertical-align: top; }
html[data-theme="dark"] .m-article th, html[data-theme="dark"] .m-article td { border-color: rgba(255,255,255,0.1); }

.m-post-nav {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  margin-top: clamp(48px, 6vw, 80px); padding-top: 40px; border-top: 1px solid rgba(11,11,15,0.12);
}
html[data-theme="dark"] .m-post-nav { border-color: rgba(255,255,255,0.1); }
@media (max-width: 640px) { .m-post-nav { grid-template-columns: 1fr; } }
.m-post-nav a {
  display: flex; flex-direction: column; gap: 6px; padding: 24px; border-radius: 20px;
  background: rgba(11,11,15,0.035); transition: color .15s ease;
}
html[data-theme="dark"] .m-post-nav a { background: rgba(255,255,255,0.05); }
.m-post-nav a:hover { color: #ed331f; }
.m-post-nav small { font-size: 13px; font-weight: 600; color: #ed331f; }
.m-post-nav b { font-size: 17px; font-weight: 600; line-height: 1.3; }
.m-post-nav__next { text-align: right; }
.m-post-nav__spacer { visibility: hidden; }

/* Legal pages */
.m-legal { max-width: 760px; }
.m-legal-updated {
  display: inline-flex; gap: 8px; align-items: center; padding: 8px 14px; border-radius: 999px;
  background: rgba(11,11,15,0.05); font-size: 14px; color: rgba(11,11,15,0.65); margin-bottom: 32px;
}
html[data-theme="dark"] .m-legal-updated { background: rgba(255,255,255,0.07); color: rgba(242,240,234,0.7); }

/* =========================================================
   DIGITALSTRIDE LANDING PAGE
   ========================================================= */
.ds-lockup { display: flex; align-items: center; gap: 20px; }
.ds-lockup__divider { width: 1px; height: 36px; background: rgba(11,11,15,0.15); }
html[data-theme="dark"] .ds-lockup__divider { background: rgba(255,255,255,0.18); }
.ds-ms { height: 26px; width: auto; display: block; }
html[data-theme="dark"] .ds-ms { filter: brightness(1.5); }
.ds-lockup > * { flex-shrink: 0; }
.ds-lockup img { max-width: none; }
@media (max-width: 540px) {
  .ds-lockup { gap: 12px; } .ds-ms { height: 20px; } .ds-lockup .brand__logo { height: 40px; }
  .ds-page-cta { display: none; }
}
.ds-nav-link { font-size: 14px; font-weight: 600; color: rgba(11,11,15,0.7); }
.ds-nav-link:hover { color: #ed331f; }
html[data-theme="dark"] .ds-nav-link { color: rgba(242,240,234,0.75); }
@media (max-width: 640px) { .ds-nav-link { display: none; } }

.ds-hero {
  position: relative; overflow: hidden; color: #fff;
  padding: clamp(56px, 7vw, 104px) 0 clamp(64px, 8vw, 120px);
  background: linear-gradient(165deg, #ff5a3d 0%, #ed331f 28%, #a31f0f 58%, #2a0d09 82%, #0b0b0f 100%);
}
.ds-hero__globe {
  position: absolute; left: -12%; bottom: -35%; width: min(900px, 80vw); aspect-ratio: 1;
  background: url("../img/globe-dark.svg") center / contain no-repeat;
  opacity: 0.16; pointer-events: none;
}
.ds-hero__inner {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(36px, 5vw, 88px); align-items: start;
}
@media (max-width: 960px) { .ds-hero__inner { grid-template-columns: 1fr; } }
.ds-hero__copy { padding-top: clamp(0px, 2vw, 24px); }
.ds-kicker {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px;
  background: rgba(255,255,255,0.14); color: #fff; font-size: 13px; font-weight: 600;
}
.ds-kicker svg { width: 14px; height: 14px; }
.ds-hero h1 {
  font-weight: 600; letter-spacing: -0.025em; line-height: 1.04;
  font-size: clamp(40px, 4.6vw, 64px); margin: 24px 0 28px; color: #fff; text-wrap: balance;
}
.ds-hero__copy p { font-size: 18px; line-height: 1.6; color: rgba(255,255,255,0.88); margin: 0 0 1em; max-width: 52ch; }
.ds-hero__copy p strong { color: #fff; font-weight: 600; }
.ds-points { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 12px; }
.ds-points li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: #fff; }
.ds-points li::before {
  content: "✓"; flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  background: #fff; color: #ed331f; font-size: 12px; font-weight: 700;
  display: grid; place-items: center; margin-top: 1px;
}
.ds-hero .m-form-card { color: #0b0b0f; box-shadow: 0 50px 100px -40px rgba(0,0,0,0.6); }
html[data-theme="dark"] .ds-hero .m-form-card { color: #f2f0ea; }

.ds-footer { padding: 48px 0 36px; border-top: 1px solid rgba(11,11,15,0.1); }
html[data-theme="dark"] .ds-footer { border-color: rgba(255,255,255,0.08); }
.ds-footer__logos { display: flex; justify-content: center; align-items: center; gap: clamp(32px, 8vw, 120px); flex-wrap: wrap; margin-bottom: 32px; }
.ds-footer__logos .brand__logo { height: 52px; }
.ds-footer__logos .ds-ms { height: 30px; }
.ds-footer__bottom {
  display: flex; justify-content: center; gap: 8px 24px; flex-wrap: wrap;
  font-size: 13px; color: rgba(11,11,15,0.55);
}
html[data-theme="dark"] .ds-footer__bottom { color: rgba(242,240,234,0.55); }
.ds-footer__bottom a:hover { color: #ed331f; }

/* =========================================================
   LIGHT MENU BAR — the header stays light while the page is dark.
   Redefining the theme variables on .nav re-themes everything inside it.
   ========================================================= */
html[data-theme="dark"] .nav {
  --bg: #ffffff;
  --text: #0b0b0f;
  --text-dim: rgba(11,11,15,0.68);
  --border: rgba(11,11,15,0.1);
  --paper-2: #f4f1ea;
  color: #0b0b0f;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid rgba(11,11,15,0.08);
  box-shadow: 0 10px 30px -18px rgba(0,0,0,0.6);
}
html[data-theme="dark"] .nav .brand__logo--dark { display: block; }
html[data-theme="dark"] .nav .brand__logo--light { display: none; }
html[data-theme="dark"] .nav .ds-lockup__divider { background: rgba(11,11,15,0.15); }
html[data-theme="dark"] .nav .ds-ms { filter: none; }
html[data-theme="dark"] .nav .ds-nav-link { color: rgba(11,11,15,0.7); }
html[data-theme="dark"] .nav .ds-nav-link:hover { color: #ed331f; }

/* Client logo box next to the testimonial: white panel, logos in brand colours. */
html[data-theme="dark"] .m-testimonial__logos {
  background: #fff;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.7);
}
html[data-theme="dark"] .m-testimonial__logos .m-logo { filter: none; opacity: 1; }

/* =========================================================
   CONTACT FORM
   ========================================================= */
.m-contact { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
@media (max-width: 960px) { .m-contact { grid-template-columns: 1fr; } }

.m-form-card {
  background: #fff; border-radius: 28px; padding: clamp(28px, 3.5vw, 48px);
  box-shadow: 0 1px 0 rgba(11,11,15,0.03), 0 40px 80px -50px rgba(11,11,15,0.3);
}
html[data-theme="dark"] .m-form-card { background: #17171c; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.07); }
.m-form-card h2 { font-size: clamp(26px, 2.4vw, 34px); font-weight: 600; letter-spacing: -0.02em; margin: 0 0 8px; }
.m-form-card > p { color: rgba(11,11,15,0.6); margin: 0 0 32px; font-size: 16px; }
html[data-theme="dark"] .m-form-card > p { color: rgba(242,240,234,0.6); }

.m-form { display: grid; gap: 20px; }
.m-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 600px) { .m-form__row { grid-template-columns: 1fr; } }
.m-field { display: flex; flex-direction: column; gap: 8px; }
.m-field label { font-size: 14px; font-weight: 600; }
.m-field label .req { color: #ed331f; }
.m-field label .opt { font-weight: 400; color: rgba(11,11,15,0.45); }
html[data-theme="dark"] .m-field label .opt { color: rgba(242,240,234,0.45); }
.m-field input, .m-field select, .m-field textarea {
  font: inherit; font-size: 16px; color: #0b0b0f;
  background: #fbfaf7; border: 1px solid rgba(11,11,15,0.14); border-radius: 12px;
  padding: 14px 16px; width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.m-field select {
  appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23ed331f' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center;
}
.m-field textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.m-field input::placeholder, .m-field textarea::placeholder { color: rgba(11,11,15,0.38); }
.m-field input:focus, .m-field select:focus, .m-field textarea:focus {
  outline: none; border-color: #ed331f; background: #fff;
  box-shadow: 0 0 0 4px rgba(237,51,31,0.14);
}
html[data-theme="dark"] .m-field input,
html[data-theme="dark"] .m-field select,
html[data-theme="dark"] .m-field textarea {
  background-color: #0e0e12; color: #f2f0ea; border-color: rgba(255,255,255,0.14);
}
html[data-theme="dark"] .m-field input::placeholder,
html[data-theme="dark"] .m-field textarea::placeholder { color: rgba(242,240,234,0.35); }
html[data-theme="dark"] .m-field input:focus,
html[data-theme="dark"] .m-field select:focus,
html[data-theme="dark"] .m-field textarea:focus { background-color: #121216; border-color: #ff6b4a; }

.m-field__err { font-size: 13px; color: #d42a17; min-height: 0; }
html[data-theme="dark"] .m-field__err { color: #ff7a66; }
.m-field.is-invalid input, .m-field.is-invalid select, .m-field.is-invalid textarea { border-color: #d42a17; }

.m-form__consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: rgba(11,11,15,0.65); cursor: pointer; }
html[data-theme="dark"] .m-form__consent { color: rgba(242,240,234,0.65); }
.m-form__consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: #ed331f; flex-shrink: 0; }
.m-form__consent-wrap.is-invalid .m-form__consent { color: #d42a17; }

.m-form__foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 4px; }
.m-form__foot small { font-size: 13px; color: rgba(11,11,15,0.5); }
html[data-theme="dark"] .m-form__foot small { color: rgba(242,240,234,0.5); }
.m-form button[type="submit"][disabled] { opacity: 0.65; cursor: progress; }

.m-form__error {
  padding: 14px 18px; border-radius: 12px; font-size: 15px; line-height: 1.5;
  background: rgba(212,42,23,0.08); color: #a81c0b; border: 1px solid rgba(212,42,23,0.25);
}
html[data-theme="dark"] .m-form__error { background: rgba(255,107,74,0.1); color: #ffb4a6; border-color: rgba(255,107,74,0.3); }
.m-form__error a { text-decoration: underline; font-weight: 600; }

.m-form__success { text-align: center; padding: 32px 8px; }
.m-form__success:focus { outline: none; }
.m-form__success-icon {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 20px;
  display: grid; place-items: center; background: rgba(237,51,31,0.12); color: #ed331f;
  font-size: 28px; font-weight: 700;
}
.m-form__success h2 { font-size: 28px; font-weight: 600; margin: 0 0 12px; }
.m-form__success p { color: rgba(11,11,15,0.65); max-width: 44ch; margin: 0 auto; font-size: 16px; line-height: 1.6; }
html[data-theme="dark"] .m-form__success p { color: rgba(242,240,234,0.65); }

/* Contact sidebar */
.m-reach { display: grid; gap: 16px; }
.m-reach__item {
  display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px; border-radius: 20px;
  background: rgba(11,11,15,0.035);
}
html[data-theme="dark"] .m-reach__item { background: rgba(255,255,255,0.05); }
.m-reach__icon {
  width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center; background: #ed331f; color: #fff;
}
.m-reach__icon svg { width: 18px; height: 18px; }
.m-reach__item small { display: block; font-size: 13px; color: rgba(11,11,15,0.55); margin-bottom: 2px; }
html[data-theme="dark"] .m-reach__item small { color: rgba(242,240,234,0.55); }
.m-reach__item a, .m-reach__item b { font-size: 17px; font-weight: 600; }
.m-reach__item a:hover { color: #ed331f; }

/* Print */
@media print { .nav, .footer, .redband, .k-final, .k-marquee, .m-cta, .m-marquee { display: none; } body { background: white; color: black; } }
