/* Techno Software Czech — main stylesheet
   Palette → roles → type scale. Change the accent in one line. */

@font-face {
  font-family: "Geist";
  src: url("../fonts/geist-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist";
  src: url("../fonts/geist-latin-ext-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Geist Mono";
  src: url("../fonts/geist-mono-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist Mono";
  src: url("../fonts/geist-mono-latin-ext-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* raw palette */
  --cobalt-950: #050c3d;
  --cobalt-900: #0a1466;
  --cobalt-800: #0f1f9e;
  --cobalt-700: #1530d6;   /* primary */
  --cobalt-500: #4a63ff;
  --cobalt-300: #9eadff;
  --cobalt-200: #c6cfff;
  --cobalt-100: #e4e9ff;
  --cobalt-50:  #f3f5fd;
  --white: #ffffff;

  /* roles */
  --bg: var(--white);
  --bg-alt: var(--cobalt-50);
  --text: var(--cobalt-950);
  --muted: #4b5486;
  --accent: var(--cobalt-700);
  --rule: rgba(21, 48, 214, .22);
  --rule-strong: var(--cobalt-700);
  --on-accent: var(--white);
  --on-accent-muted: rgba(255, 255, 255, .72);
  --rule-on-accent: rgba(255, 255, 255, .28);

  /* type */
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --fs-mega: clamp(3.1rem, 8.6vw, 9.25rem);
  --fs-h2: clamp(2.6rem, 6.4vw, 6.5rem);
  --fs-h3: clamp(1.45rem, 2.3vw, 2.1rem);
  --fs-lead: clamp(1.12rem, 1.45vw, 1.4rem);
  --fs-body: 1.0625rem;
  --fs-mono: .78rem;

  /* space */
  --gutter: clamp(16px, 3.4vw, 48px);
  --section: clamp(80px, 9vw, 136px);
  --max: 1520px;
  --header-h: 84px;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
/* page-to-page: a short cross-fade instead of a white flash; the header stays put */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .22s; animation-timing-function: var(--ease-out); }
.header { view-transition-name: site-header; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: var(--fs-body); line-height: 1.55;
  font-weight: 400; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--cobalt-700); color: var(--white); }
:focus-visible { outline: 2px solid var(--cobalt-500); outline-offset: 3px; }
[id] { scroll-margin-top: calc(var(--header-h) + 8px); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 12px 16px; background: var(--white); color: var(--accent); font-family: var(--mono); font-size: var(--fs-mono); }
.skip:focus { top: 12px; }

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

/* ---------- mono labels ---------- */
.label {
  font-family: var(--mono); font-size: var(--fs-mono); font-weight: 450;
  letter-spacing: .08em; text-transform: uppercase; line-height: 1.5;
}
.label--muted { color: var(--muted); }
.bracket::before { content: "[ "; opacity: .55; }
.bracket::after { content: " ]"; opacity: .55; }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--accent); --btn-fg: var(--on-accent);
  display: inline-flex; align-items: center; gap: 14px; min-height: 52px;
  padding: 0 8px 0 22px; background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--mono); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; border: 1px solid var(--btn-bg); border-radius: 0;
  transition: background .25s var(--ease-out), color .25s var(--ease-out), border-color .25s;
  cursor: pointer;
}
.btn__icon {
  display: grid; place-items: center; width: 38px; height: 38px; flex: none;
  background: var(--btn-fg); color: var(--btn-bg);
  transition: transform .35s var(--ease-out);
}
.btn__icon svg { width: 16px; height: 16px; }
.btn--light { --btn-bg: var(--white); --btn-fg: var(--cobalt-700); }
.btn--ghost { background: transparent; color: currentColor; border-color: currentColor; padding: 0 22px; }
@media (hover: hover) {
  .btn:hover .btn__icon { transform: translateX(3px); }
  .btn--ghost:hover { background: var(--white); color: var(--cobalt-700); border-color: var(--white); }
  .btn:not(.btn--light):not(.btn--ghost):hover { --btn-bg: var(--cobalt-800); }
}

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; color: var(--accent);
}
.link-arrow svg { width: 14px; height: 14px; transition: transform .3s var(--ease-out); }
@media (hover: hover) { .link-arrow:hover svg { transform: translateX(4px); } }

/* ---------- logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 15px; text-decoration: none; color: inherit; }
.logo__mark { width: 42px; height: 42px; flex: none; }
.logo__word { display: grid; line-height: 1; }
.logo__name { font-size: 1.38rem; font-weight: 560; letter-spacing: -.01em; }
.logo__sub { font-family: var(--mono); font-size: .72rem; letter-spacing: .32em; margin-top: 6px; opacity: .75; }
@property --dock-y { syntax: "<length>"; inherits: true; initial-value: 0px; }
@media (hover: hover) { .logo:hover { --dock-y: -11.5px; } }

/* ---------- header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  color: var(--white);
  transition: background .35s var(--ease-out), color .35s var(--ease-out), box-shadow .35s;
}
.header__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header.is-solid { background: rgba(255, 255, 255, .97); color: var(--text); box-shadow: 0 1px 0 var(--rule); }
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .header.is-solid { background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); }
}
/* phones: an opaque bar instead of a blur — the blur repaints on every scroll frame */
@media (max-width: 860px) { .header.is-solid { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; } }
.header.is-solid { --mark-fill: var(--cobalt-700); --mark-dock: var(--cobalt-300); }
.nav { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 40px); }
.nav__links { display: flex; gap: clamp(18px, 2.2vw, 34px); }
.nav__links a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px;
  font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 10px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out);
}
@media (hover: hover) { .nav__links a:hover::after { transform: scaleX(1); } }
.header .btn { min-height: 44px; padding-left: 18px; }
.header .btn .btn__icon { width: 30px; height: 30px; }
.header:not(.is-solid) .btn { --btn-bg: var(--white); --btn-fg: var(--cobalt-700); }
.menu-btn { display: none; }

@media (max-width: 1000px) {
  .nav__links, .nav .btn { display: none; }
  .menu-btn {
    display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 4px 0 14px;
    background: none; border: 1px solid currentColor; cursor: pointer;
    font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: .1em; text-transform: uppercase;
  }
  .menu-btn__bars { position: relative; width: 36px; height: 36px; }
  .menu-btn__bars::before, .menu-btn__bars::after {
    content: ""; position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor;
    transition: transform .35s var(--ease-out);
  }
  .menu-btn__bars::before { top: 14px; }
  .menu-btn__bars::after { top: 21px; }
  .menu-open .menu-btn__bars::before { transform: translateY(3.5px) rotate(45deg); }
  .menu-open .menu-btn__bars::after { transform: translateY(-3.5px) rotate(-45deg); }
}

/* mobile menu */
.mnav {
  position: fixed; inset: 0; z-index: 45; background: var(--cobalt-700); color: var(--white);
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-8px);
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out), visibility 0s .35s;
}
.menu-open .mnav { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.menu-open .header { background: transparent; color: var(--white); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.menu-open .header { --mark-fill: var(--white); --mark-dock: var(--cobalt-300); }
.mnav__links { display: grid; border-top: 1px solid var(--rule-on-accent); }
.mnav__links a {
  display: flex; justify-content: space-between; align-items: center; min-height: 64px;
  border-bottom: 1px solid var(--rule-on-accent); text-decoration: none;
  font-size: clamp(1.7rem, 7vw, 2.4rem); font-weight: 350; letter-spacing: -.02em;
}
.mnav__links a span { font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: .08em; opacity: .6; }
.mnav__foot { display: grid; gap: 20px; }
.mnav__foot .btn { justify-content: space-between; }
body.menu-open { overflow: hidden; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: max(680px, 100svh); background: var(--cobalt-700); color: var(--white);
  display: flex; flex-direction: column; isolation: isolate; overflow: clip;
}
.hero__canvas { position: absolute; inset: -20px; z-index: -2; width: calc(100% + 40px); height: calc(100% + 40px); max-width: none; image-rendering: pixelated; will-change: transform; }
.hero::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 160px; z-index: -1; pointer-events: none; background: linear-gradient(var(--cobalt-700) 30%, rgba(21, 48, 214, 0)); }
@media (max-width: 860px) { .hero::before { height: 46%; background: linear-gradient(var(--cobalt-700) 25%, rgba(21, 48, 214, .55) 60%, rgba(21, 48, 214, 0)); } }
.hero__rules { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__rules span { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--rule-on-accent); }
.hero__rules span:nth-child(1) { left: 50%; }
.hero__rules span:nth-child(2) { left: 75%; }
.hero__body {
  flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  align-content: end; padding-top: calc(var(--header-h) + 40px); padding-bottom: clamp(28px, 4vw, 48px);
}
.hero__eyebrow { grid-column: 1 / 3; align-self: end; margin-bottom: clamp(18px, 2.4vw, 32px); }
.hero__title {
  grid-column: 1 / -1; font-size: var(--fs-mega); font-weight: 380; line-height: .94; letter-spacing: -.045em;
  text-wrap: balance;
}
.hero__title em { font-style: normal; color: var(--cobalt-200); }
.hero__side {
  grid-column: 4 / 5; grid-row: 1 / 2; align-self: start; padding-left: 20px;
  display: grid; gap: 18px; margin-bottom: 32px;
}
.hero__side p { font-size: clamp(1.05rem, 1.25vw, 1.25rem); line-height: 1.4; font-weight: 350; color: var(--white); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; }

.partner-badge {
  display: flex; align-items: center; gap: 18px; padding: 14px 18px 14px 14px;
  background: rgba(5, 12, 61, .38); border: 1px solid var(--rule-on-accent); text-decoration: none;
  transition: background .3s var(--ease-out), border-color .3s;
}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .partner-badge { -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
}
.partner-badge img { width: 104px; height: auto; flex: none; }
.partner-badge__txt { display: grid; gap: 4px; border-left: 1px solid var(--rule-on-accent); padding-left: 16px; }
.partner-badge__txt .label { color: var(--cobalt-200); }
.partner-badge__txt span:last-child { font-size: .88rem; line-height: 1.35; color: var(--on-accent-muted); }
@media (hover: hover) { .partner-badge:hover { background: rgba(5, 12, 61, .55); border-color: rgba(255,255,255,.5); } }

.hero__facts { border-top: 1px solid var(--rule-on-accent); position: relative; }
.hero__facts ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hero__facts li { padding: 18px 20px 22px; border-left: 1px solid var(--rule-on-accent); display: grid; gap: 4px; }
.hero__facts li:first-child { border-left: 0; padding-left: 0; }
.hero__facts b { font-size: clamp(1.4rem, 2.2vw, 2rem); font-weight: 380; letter-spacing: -.02em; line-height: 1.1; }
.hero__facts span { color: var(--on-accent-muted); }
.hero__facts sup { font-size: .6em; vertical-align: super; opacity: .7; }

/* crosshair corner ticks */
.ticks { position: absolute; inset: 0; pointer-events: none; }
.ticks i { position: absolute; width: 14px; height: 14px; }
.ticks i::before, .ticks i::after { content: ""; position: absolute; background: currentColor; opacity: .55; }
.ticks i::before { left: 6.5px; top: 0; width: 1px; height: 14px; }
.ticks i::after { top: 6.5px; left: 0; height: 1px; width: 14px; }

/* ---------- marquee ---------- */
.marquee { border-bottom: 1px solid var(--rule); overflow: hidden; background: var(--white); }
.marquee__track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee ul { display: flex; flex: none; }
.marquee li {
  display: flex; align-items: center; gap: 28px; padding: 20px 0 20px 28px;
  font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); white-space: nowrap;
}
.marquee li::after { content: ""; width: 6px; height: 6px; background: var(--cobalt-300); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }
@media (hover: hover) { .marquee:hover .marquee__track { animation-play-state: paused; } }

/* ---------- sections ---------- */
.section { padding-block: var(--section); position: relative; }
.section--alt { background: var(--bg-alt); }
.section--blue { background: var(--cobalt-700); color: var(--white); }
.section--deep { background: var(--cobalt-950); color: var(--white); }

/* split heading across the vertical rule, OCI-style */
.split {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); position: relative;
}
.split::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--rule); }
.section--blue .split::before, .section--deep .split::before { background: var(--rule-on-accent); }
.split__h {
  grid-column: 1 / -1; display: grid; grid-template-columns: subgrid;
  font-size: var(--fs-h2); font-weight: 380; line-height: .95; letter-spacing: -.045em; color: var(--accent);
  margin-bottom: clamp(48px, 7vw, 112px);
}
.section--blue .split__h, .section--deep .split__h { color: var(--white); }
.split__h span:last-child { padding-left: clamp(14px, 1.6vw, 24px); }
.split__left { padding-right: clamp(20px, 4vw, 64px); display: grid; align-content: start; gap: 28px; min-width: 0; position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
.split__right { padding-left: clamp(14px, 1.6vw, 24px); min-width: 0; }
.section-index { position: absolute; top: calc(var(--section) * -.5); left: 0; }

.lead { font-size: var(--fs-lead); line-height: 1.45; font-weight: 350; letter-spacing: -.005em; }
.prose { color: var(--muted); max-width: 52ch; }
.prose p + p { margin-top: 1em; }

/* ---------- about ---------- */
.about__fig { position: relative; aspect-ratio: 4 / 3; background: var(--cobalt-50); color: var(--cobalt-700); }
.about__fig canvas { width: 100%; height: 100%; image-rendering: pixelated; }
.about__fig figcaption { position: absolute; left: 14px; bottom: 12px; color: var(--cobalt-700); }
.roles { display: flex; flex-wrap: wrap; gap: 8px; }
.roles li {
  font-family: var(--mono); font-size: .74rem; letter-spacing: .05em; text-transform: uppercase;
  padding: 9px 12px; border: 1px solid var(--rule); color: var(--accent); background: var(--white);
}
.kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.kv > div { padding: 20px 16px 22px 0; border-bottom: 1px solid var(--rule); display: grid; gap: 6px; align-content: start; }
.kv > div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--rule); }
.kv dt { color: var(--muted); }
.kv dd { font-size: 1.15rem; letter-spacing: -.01em; }

/* ---------- services accordion ---------- */
.acc { border-top: 1px solid var(--rule-strong); }
.acc__item { border-bottom: 1px solid var(--rule-strong); }
.acc__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: clamp(18px, 2vw, 26px) 0; background: none; border: 0; cursor: pointer; text-align: left; color: var(--accent);
}
.acc__title { display: flex; align-items: baseline; gap: clamp(14px, 2vw, 28px); font-size: var(--fs-h3); font-weight: 380; letter-spacing: -.025em; line-height: 1.15; }
.acc__title .label { color: var(--cobalt-300); flex: none; }
.acc__sign { position: relative; width: 22px; height: 22px; flex: none; }
.acc__sign::before, .acc__sign::after { content: ""; position: absolute; left: 50%; top: 50%; width: 20px; height: 1.5px; background: currentColor; translate: -50% -50%; transition: rotate .4s var(--ease-out); }
.acc__sign::after { rotate: 90deg; }
.acc__item.is-open .acc__sign::before { rotate: 45deg; }
.acc__item.is-open .acc__sign::after { rotate: 135deg; }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease-out); }
.acc__item.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__inner { overflow: hidden; }
.acc__content {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px;
  padding: 4px 0 clamp(26px, 3vw, 40px);
}
.acc__content p { color: var(--muted); grid-column: 2; }
.acc__content ul { grid-column: 2; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.acc__content li { font-family: var(--mono); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.acc__content li::before { content: "— "; color: var(--cobalt-300); }
@media (hover: hover) { .acc__btn:hover .acc__title > span:last-child { color: var(--cobalt-500); } }

/* ---------- industries ---------- */
.ind-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: end; margin-bottom: clamp(40px, 6vw, 88px); }
.ind-head h2 { font-size: var(--fs-h2); font-weight: 380; line-height: .95; letter-spacing: -.045em; color: var(--accent); }
.ind-head p { max-width: 46ch; color: var(--muted); padding-left: clamp(14px, 1.6vw, 24px); }
.ind-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.ind {
  background: var(--white); padding: 16px 16px 26px; display: grid; grid-template-rows: auto 1fr; gap: 22px; min-width: 0;
  transition: background .35s var(--ease-out);
}
.ind__fig { position: relative; aspect-ratio: 16 / 10; background: var(--cobalt-50); overflow: hidden; }
.ind__fig canvas { width: 100%; height: 100%; image-rendering: pixelated; }
.ind__fig .label { position: absolute; top: 10px; left: 10px; color: var(--cobalt-700); background: var(--white); padding: 3px 7px; }
.ind__body { display: grid; gap: 12px; align-content: start; padding-inline: 4px; }
.ind__body h3 { font-size: clamp(1.4rem, 1.9vw, 1.8rem); font-weight: 420; letter-spacing: -.025em; line-height: 1.12; color: var(--accent); }
.ind__body p { color: var(--muted); font-size: 1rem; }
.ind__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.ind__tags li { font-family: var(--mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; padding: 5px 8px; background: var(--cobalt-50); color: var(--cobalt-800); }
.ind--feature .ind__fig { background: var(--cobalt-700); }
.ind--feature .ind__fig .label { color: var(--white); background: var(--cobalt-950); }

/* ---------- engagement models ---------- */
.models { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule-on-accent); }
.model { padding: 28px clamp(16px, 2vw, 32px) 32px; border-left: 1px solid var(--rule-on-accent); display: grid; grid-template-rows: auto auto 1fr auto; gap: 18px; min-width: 0; position: relative; }
.model:first-child { border-left: 0; padding-left: 0; }
.model__n { display: flex; justify-content: space-between; align-items: center; color: var(--cobalt-300); }
.model__tag { color: var(--cobalt-950); background: var(--cobalt-200); padding: 4px 8px; }
.model h3 { font-size: var(--fs-h3); font-weight: 380; letter-spacing: -.025em; line-height: 1.1; }
.model > p { color: rgba(255,255,255,.7); }
.model dl { display: grid; border-top: 1px solid var(--rule-on-accent); }
.model dl div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule-on-accent); }
.model dt { color: rgba(255,255,255,.55); }
.model dd { text-align: right; }

/* ---------- process ---------- */
.steps { border-top: 1px solid var(--rule-strong); counter-reset: s; }
.step {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-bottom: 1px solid var(--rule-strong);
  padding-block: clamp(22px, 2.6vw, 34px);
}
.step__h { display: flex; align-items: baseline; gap: clamp(16px, 3vw, 48px); color: var(--accent); }
.step__h b { font-family: var(--mono); font-weight: 400; font-size: var(--fs-mono); letter-spacing: .08em; color: var(--cobalt-300); }
.step__h h3 { font-size: var(--fs-h3); font-weight: 380; letter-spacing: -.025em; line-height: 1.1; }
.step__b { padding-left: clamp(14px, 1.6vw, 24px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: start; }
.step__b p { color: var(--muted); max-width: 48ch; }
.step__b .label { color: var(--accent); white-space: nowrap; padding: 6px 10px; border: 1px solid var(--rule); }

/* ---------- partner ---------- */
.partner { overflow: clip; isolation: isolate; }
.partner__canvas { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; image-rendering: pixelated; opacity: .9; }
.partner__lockup {
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: clamp(16px, 3vw, 48px);
  padding-block: clamp(28px, 4vw, 56px); border-block: 1px solid var(--rule-on-accent); margin-bottom: clamp(40px, 6vw, 80px);
}
.partner__lockup > :first-child { justify-self: end; }
.partner__lockup .logo { color: var(--white); }
.partner__lockup .logo__mark { width: clamp(40px, 4.4vw, 60px); height: auto; aspect-ratio: 1; }
.partner__lockup .logo__name { font-size: clamp(1.2rem, 2vw, 1.9rem); }
.partner__lockup .logo__sub { font-size: clamp(.6rem, .8vw, .78rem); }
.partner__x { font-family: var(--mono); font-size: clamp(1.1rem, 2vw, 1.6rem); color: var(--cobalt-200); font-weight: 300; }
.partner__lockup img { width: clamp(140px, 15vw, 220px); height: auto; }
.partner__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.partner__grid h2 { font-size: clamp(2.1rem, 4.4vw, 4.4rem); font-weight: 380; line-height: 1; letter-spacing: -.04em; }
.partner__grid .prose { color: rgba(255,255,255,.78); padding-left: clamp(14px, 1.6vw, 24px); }
.partner__stats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(32px, 5vw, 64px); border-top: 1px solid var(--rule-on-accent); }
.partner__stats div { padding: 20px 20px 0; border-left: 1px solid var(--rule-on-accent); display: grid; gap: 6px; }
.partner__stats div:first-child { border-left: 0; padding-left: 0; }
.partner__stats b { font-size: clamp(2rem, 3.6vw, 3.4rem); font-weight: 340; letter-spacing: -.04em; line-height: 1; }
.partner__stats span { color: rgba(255,255,255,.68); }
.partner__note { grid-column: 1 / -1; margin-top: 24px; color: rgba(255,255,255,.55); font-size: .85rem; }
.partner .link-arrow { color: var(--white); }

/* ---------- contact ---------- */
.contact__h { font-size: var(--fs-mega); font-weight: 380; line-height: .94; letter-spacing: -.045em; color: var(--accent); margin-bottom: clamp(48px, 7vw, 104px); text-wrap: balance; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); position: relative; }
.contact__grid::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--rule); }
.contact__info { padding-right: clamp(20px, 4vw, 64px); display: grid; gap: 32px; align-content: start; }
.contact__info address { font-style: normal; font-size: var(--fs-lead); line-height: 1.45; font-weight: 350; }
.contact__lines { display: grid; border-top: 1px solid var(--rule); }
.contact__lines a, .contact__lines div {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 60px;
  border-bottom: 1px solid var(--rule); text-decoration: none; font-size: 1.1rem;
}
.contact__lines .label { color: var(--muted); }
.contact__form { padding-left: clamp(14px, 1.6vw, 24px); display: grid; gap: 4px; align-content: start; }
.field { display: grid; gap: 8px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.field label { color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; border: 0; background: transparent; padding: 6px 0; color: var(--text);
  font: 400 1.125rem/1.4 var(--sans); border-radius: 0; -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; }
.field:focus-within { border-bottom-color: var(--accent); }
.field:focus-within label { color: var(--accent); }
.fields-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 4px; }
.chips label { position: relative; color: var(--text); }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--rule);
  font-family: var(--mono); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--accent);
  transition: background .2s, color .2s, border-color .2s;
}
.chips input:checked + span { background: var(--accent); color: var(--white); border-color: var(--accent); }
.chips input:focus-visible + span { outline: 2px solid var(--cobalt-500); outline-offset: 2px; }
.form__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 24px; }
.form__foot small { color: var(--muted); font-size: .82rem; max-width: 36ch; }
.form__foot small a { color: var(--accent); }
.form__status { min-height: 1.5em; color: var(--accent); font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: .06em; text-transform: uppercase; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact__map { position: relative; margin-left: clamp(14px, 1.6vw, 24px); aspect-ratio: 16 / 10; background: var(--cobalt-50); align-self: start; }
.contact__map canvas { width: 100%; height: 100%; image-rendering: pixelated; }
.contact__map figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; background: var(--white); border: 1px solid var(--rule); border-top: 0; }
.contact__map .link-arrow { min-height: 32px; }
.contact__map[hidden] { display: none; }

/* ---------- footer ---------- */
.footer { background: var(--cobalt-950); color: var(--white); padding-top: clamp(64px, 8vw, 112px); padding-bottom: 28px; position: relative; overflow: clip; }
.footer__top { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; padding-bottom: clamp(48px, 6vw, 88px); }
.footer__top { --mark-dock: var(--cobalt-500); }
.footer__claim { margin-top: 24px; max-width: 30ch; color: rgba(255,255,255,.66); }
.footer__col { display: grid; gap: 4px; align-content: start; }
.footer__col .label { color: var(--cobalt-300); margin-bottom: 8px; }
.footer__col a { display: inline-flex; align-items: center; min-height: 36px; text-decoration: none; color: rgba(255,255,255,.86); width: fit-content; }
@media (hover: hover) { .footer__col a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; } }
.footer__legal {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.55); font-size: .82rem;
}
.footer__legal b { display: block; color: rgba(255,255,255,.85); font-weight: 450; }
.footer__word {
  font-size: clamp(3rem, 11.4vw, 10.6rem); font-weight: 600; letter-spacing: -.06em; line-height: .8;
  color: transparent; -webkit-text-stroke: 1px rgba(158, 173, 255, .22); margin-top: clamp(40px, 6vw, 80px);
  white-space: nowrap; user-select: none; overflow: hidden;
}

/* ---------- reveal ---------- */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; transition: none; } }

/* ---------- legal page ---------- */
.doc { padding-top: calc(var(--header-h) + clamp(48px, 8vw, 120px)); padding-bottom: var(--section); }
.doc h1 { font-size: var(--fs-h2); font-weight: 380; letter-spacing: -.045em; line-height: .95; color: var(--accent); margin-bottom: 48px; }
.doc__body { max-width: 72ch; display: grid; gap: 18px; color: var(--muted); }
.doc__body h2 { font-size: 1.35rem; font-weight: 480; color: var(--text); letter-spacing: -.01em; margin-top: 24px; }
.doc__body ul { list-style: square; padding-left: 1.2em; display: grid; gap: 6px; }
.doc__body a { color: var(--accent); }
.page-solid .header { background: rgba(255,255,255,.97); color: var(--text); box-shadow: 0 1px 0 var(--rule); }
.page-solid .header { --mark-fill: var(--cobalt-700); --mark-dock: var(--cobalt-300); }
.page-solid .header .btn { --btn-bg: var(--cobalt-700); --btn-fg: var(--white); }

/* ======================= responsive ======================= */
@media (max-width: 1180px) {
  .hero__side { grid-column: 3 / 5; }
  .ind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  .hero__rules span:nth-child(2) { display: none; }
}
@media (max-width: 860px) {
  :root { --header-h: 70px; }
  .logo { gap: 12px; }
  .logo__mark { width: 36px; height: 36px; }
  .logo__name { font-size: 1.18rem; }
  .logo__sub { font-size: .64rem; margin-top: 5px; }
  .hero__body { grid-template-columns: minmax(0, 1fr); padding-top: calc(var(--header-h) + 24px); }
  .hero__rules span { display: none; }
  .hero__eyebrow, .hero__title, .hero__side { grid-column: 1; }
  .hero__side { grid-row: auto; padding-left: 0; margin: 28px 0 0; order: 3; }
  .hero__facts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__facts li:nth-child(3) { border-left: 0; padding-left: 0; }
  .hero__facts li:nth-child(n+3) { border-top: 1px solid var(--rule-on-accent); }

  .split, .contact__grid, .ind-head, .partner__grid { grid-template-columns: minmax(0, 1fr); }
  .split::before, .contact__grid::before { display: none; }
  .split__h { grid-template-columns: minmax(0, 1fr); }
  .split__h span:last-child { padding-left: 0; }
  .split__left { padding-right: 0; margin-bottom: 48px; }
  .split__right, .contact__form, .partner__grid .prose, .ind-head p { padding-left: 0; }
  .contact__info { padding-right: 0; margin-bottom: 48px; }
  .split__left { position: static; }
  .contact__map { margin-left: 0; }

  .acc__content { grid-template-columns: minmax(0, 1fr); }
  .acc__content p, .acc__content ul { grid-column: 1; }

  .models { grid-template-columns: minmax(0, 1fr); }
  .model { border-left: 0; padding-left: 0; padding-right: 0; border-bottom: 1px solid var(--rule-on-accent); }
  .model:last-child { border-bottom: 0; }

  .step { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .step__b { padding-left: 0; grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .step__b .label { justify-self: start; }

  .partner__lockup { grid-template-columns: minmax(0, 1fr); justify-items: start; gap: 20px; }
  .partner__lockup > :first-child { justify-self: start; }
  .partner__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner__stats div:nth-child(3) { border-left: 0; padding-left: 0; }
  .partner__stats div:nth-child(n+3) { padding-top: 20px; margin-top: 20px; border-top: 1px solid var(--rule-on-accent); }

  .footer__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer__top > :first-child { grid-column: 1 / -1; }
  .footer__legal { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 620px) {
  .ind-grid { grid-template-columns: minmax(0, 1fr); }
  .kv { grid-template-columns: minmax(0, 1fr); }
  .kv > div:nth-child(even) { padding-left: 0; border-left: 0; }
  .fields-2 { grid-template-columns: minmax(0, 1fr); }
  .partner-badge img { width: 88px; }
  .footer__legal { grid-template-columns: minmax(0, 1fr); }
  .hero__ctas .btn { flex: 1 1 auto; justify-content: space-between; }
}

/* =======================================================================
   v2 — why-us comparison, careers, insights, FAQ
   ======================================================================= */

/* ---------- comparison ---------- */
.cmp { border-top: 1px solid var(--rule-strong); }
.cmp__row { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--rule); }
.cmp__row > * { padding: 18px 16px; min-width: 0; }
.cmp__row > :first-child { padding-left: 0; color: var(--text); font-size: 1.05rem; }
.cmp__row > :not(:first-child) { color: var(--muted); border-left: 1px solid var(--rule); }
.cmp__row > .us { background: var(--cobalt-700); color: var(--white); border-left-color: var(--cobalt-700); font-weight: 450; }
.cmp__head > * { padding-top: 14px; padding-bottom: 14px; }
.cmp__head > .us { display: flex; align-items: center; gap: 10px; }
.cmp__head > .us svg { width: 16px; height: 16px; flex: none; --mark-fill: var(--white); --mark-dock: var(--cobalt-300); }
.cmp__head .label { color: var(--muted); }
.cmp__head .us.label { color: var(--white); }
.cmp__row:last-child > .us { border-bottom: 0; }
.cmp-note { margin-top: 18px; color: var(--muted); font-size: .85rem; }

/* ---------- careers teaser (home) ---------- */
.ct { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; }
.ct__fig { position: relative; min-height: 420px; background: var(--cobalt-700); overflow: hidden; }
.ct__fig canvas { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; }
.ct__fig .label { position: absolute; left: 16px; top: 14px; color: var(--cobalt-200); }
.ct__body { padding: clamp(28px, 4vw, 56px); background: var(--white); display: grid; gap: 24px; align-content: center; border: 1px solid var(--rule); border-left: 0; }
.ct__body h2 { font-size: clamp(2.2rem, 4.4vw, 4rem); font-weight: 380; line-height: 1; letter-spacing: -.04em; color: var(--accent); }

/* ---------- insight cards ---------- */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.post { background: var(--white); padding: 16px 16px 24px; display: grid; grid-template-rows: auto 1fr; gap: 20px; text-decoration: none; color: inherit; min-width: 0; }
.post__fig { position: relative; aspect-ratio: 16 / 10; background: var(--cobalt-50); overflow: hidden; }
.post__fig canvas { width: 100%; height: 100%; image-rendering: pixelated; transition: transform .6s var(--ease-out); }
.post__body { display: grid; gap: 12px; align-content: start; padding-inline: 4px; }
.post__meta { display: flex; gap: 14px; color: var(--muted); }
.post h3 { font-size: clamp(1.3rem, 1.7vw, 1.6rem); font-weight: 420; letter-spacing: -.02em; line-height: 1.18; color: var(--accent); }
.post p { color: var(--muted); font-size: .98rem; }
.post .link-arrow { margin-top: 4px; }
@media (hover: hover) { .post:hover .post__fig canvas { transform: scale(1.03); } .post:hover h3 { color: var(--cobalt-500); } }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head h2 { font-size: var(--fs-h2); font-weight: 380; line-height: .95; letter-spacing: -.045em; color: var(--accent); }

/* ---------- page hero (sub-pages) ---------- */
.phero { min-height: max(560px, 78svh); }
.phero .hero__title { font-size: clamp(2.9rem, 7.4vw, 7.6rem); }
.crumbs { display: flex; gap: 10px; flex-wrap: wrap; color: var(--cobalt-200); margin-bottom: 18px; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.crumbs span[aria-hidden] { opacity: .5; }

/* ---------- careers ---------- */
.perks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule-strong); }
.perk { padding: 26px 22px 30px 0; display: grid; gap: 14px; align-content: start; min-width: 0; }
.perk + .perk { padding-left: 22px; border-left: 1px solid var(--rule); }
.perk b { font-family: var(--mono); font-weight: 400; font-size: var(--fs-mono); letter-spacing: .08em; color: var(--cobalt-300); }
.perk h3 { font-size: clamp(1.3rem, 1.8vw, 1.65rem); font-weight: 400; letter-spacing: -.02em; line-height: 1.15; color: var(--accent); }
.perk p { color: var(--muted); font-size: 1rem; }

.roles-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.role { background: var(--white); padding: 24px 22px 26px; display: grid; gap: 14px; grid-template-rows: auto auto 1fr auto; min-width: 0; }
.role__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.role__tag { font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; padding: 4px 8px; background: var(--cobalt-50); color: var(--cobalt-800); }
.role h3 { font-size: clamp(1.35rem, 1.8vw, 1.7rem); font-weight: 420; letter-spacing: -.02em; line-height: 1.15; color: var(--accent); }
.role p { color: var(--muted); font-size: 1rem; }
.role .ind__tags { margin: 0; }
.role .link-arrow { justify-self: start; }

.jobs { border-top: 1px solid var(--rule-strong); }
.job { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--rule); text-decoration: none; color: inherit; }
.job h3 { font-size: clamp(1.3rem, 1.9vw, 1.75rem); font-weight: 400; letter-spacing: -.02em; color: var(--accent); }
.job span { color: var(--muted); }
.jobs__empty { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--rule); }
.jobs__empty p { font-size: var(--fs-lead); font-weight: 350; line-height: 1.4; max-width: 46ch; }

.apply { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); position: relative; }
.apply::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--rule); }
.apply__info { padding-right: clamp(20px, 4vw, 64px); display: grid; gap: 24px; align-content: start; }
.apply__info h2 { font-size: var(--fs-h2); font-weight: 380; line-height: .95; letter-spacing: -.045em; color: var(--accent); }
.apply .contact__form { padding-left: clamp(14px, 1.6vw, 24px); }
.field select { background: transparent; cursor: pointer; }
.consent { display: flex; gap: 12px; align-items: flex-start; padding: 16px 0 4px; color: var(--muted); font-size: .9rem; line-height: 1.45; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--cobalt-700); flex: none; }
.apply__fallback { padding-left: clamp(14px, 1.6vw, 24px); display: grid; gap: 18px; align-content: start; }
.apply__fallback[hidden] { display: none; }

/* ---------- article ---------- */
.art-hero { padding-top: calc(var(--header-h) + clamp(48px, 7vw, 104px)); padding-bottom: clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--rule); }
.art-hero .crumbs { color: var(--muted); }
.art-hero h1 { font-size: clamp(2.5rem, 5.6vw, 5.4rem); font-weight: 380; letter-spacing: -.045em; line-height: .98; color: var(--accent); max-width: 18ch; text-wrap: balance; }
.art-hero .lead { margin-top: 28px; max-width: 46ch; color: var(--text); }
.art-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; color: var(--muted); }
.art-fig { position: relative; aspect-ratio: 21 / 8; background: var(--cobalt-50); overflow: hidden; margin-top: clamp(32px, 4vw, 56px); }
.art-fig canvas { width: 100%; height: 100%; image-rendering: pixelated; }
.art { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: clamp(24px, 5vw, 88px); padding-block: clamp(48px, 7vw, 104px); }
.art__aside { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; display: grid; gap: 14px; }
.art__aside .label { color: var(--muted); }
.art__aside ol { display: grid; gap: 2px; border-top: 1px solid var(--rule); }
.art__aside li a { display: block; padding: 10px 0; border-bottom: 1px solid var(--rule); text-decoration: none; color: var(--accent); font-size: .95rem; }
.art__body { max-width: 68ch; font-size: 1.125rem; line-height: 1.7; color: #262d5c; }
.art__body > * + * { margin-top: 1.1em; }
.art__body > :first-child { margin-top: 0; }
.art__body h2 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-weight: 420; letter-spacing: -.025em; line-height: 1.15; color: var(--accent); margin-top: 2em; }
.art__body ul { list-style: none; display: grid; gap: .55em; }
.art__body ul li { padding-left: 22px; position: relative; }
.art__body ul li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 8px; background: var(--cobalt-300); }
.art__body strong { color: var(--text); font-weight: 520; }
.art__body .note { padding: 18px 20px; background: var(--cobalt-50); border-left: 3px solid var(--cobalt-700); font-size: 1rem; color: var(--muted); }
.art__body table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.art__body th, .art__body td { text-align: left; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.art__body th { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 450; }
.tablewrap { overflow-x: auto; }
.cta-band { background: var(--cobalt-700); color: var(--white); padding-block: clamp(56px, 7vw, 96px); position: relative; overflow: clip; isolation: isolate; }
.cta-band canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; image-rendering: pixelated; }
.cta-band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; }
.cta-band h2 { font-size: clamp(2.2rem, 4.6vw, 4.4rem); font-weight: 380; line-height: 1; letter-spacing: -.04em; max-width: 16ch; }

@media (max-width: 1000px) {
  .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .perk:nth-child(3) { padding-left: 0; border-left: 0; }
  .perk:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .roles-grid, .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .ct, .apply, .art { grid-template-columns: minmax(0, 1fr); }
  .ct__fig { min-height: 240px; }
  .ct__body { border-left: 1px solid var(--rule); border-top: 0; }
  .apply::before { display: none; }
  .apply__info { padding-right: 0; margin-bottom: 40px; }
  .apply .contact__form, .apply__fallback { padding-left: 0; }
  .art__aside { position: static; }
  .job { grid-template-columns: minmax(0, 1fr) auto; }
  .job > span { display: none; }
  .sec-head { flex-direction: column; align-items: start; }
  .cmp__row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cmp__row > :first-child { grid-column: 1 / -1; padding: 16px 0 8px; border-left: 0; }
  .cmp__head > :first-child { display: none; }
  .cmp__row > :nth-child(2) { border-left: 0; padding-left: 0; }
  .cmp__row > * { padding: 10px 10px 14px; font-size: .92rem; }
  .cmp__head > * { font-size: .66rem; }
}
@media (max-width: 620px) {
  .perks, .roles-grid, .posts { grid-template-columns: minmax(0, 1fr); }
  .perk + .perk, .perk:nth-child(3) { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); }
  .jobs__empty { grid-template-columns: minmax(0, 1fr); }
}

/* short laptop screens: keep the hero, facts row included, inside the first screen */
@media (min-width: 861px) and (max-height: 840px) {
  .hero__body { padding-top: calc(var(--header-h) + 12px); padding-bottom: 24px; }
  .hero__side { margin-bottom: 20px; gap: 14px; }
  .hero__facts li { padding-top: 14px; padding-bottom: 16px; }
}

/* ---------- the game button (footer, 404) ---------- */
.play { --mark-fill: var(--white); --mark-dock: var(--cobalt-500); display: inline-flex; align-items: center; gap: 12px; min-height: 44px; margin-top: 28px; padding: 0 16px 0 12px;
  background: transparent; border: 1px dashed rgba(158, 173, 255, .45); color: var(--white); cursor: pointer;
  font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: .08em; text-transform: uppercase; transition: border-color .25s, background .25s; }
.play svg { width: 18px; height: 18px; flex: none; }
.play__k { color: var(--cobalt-300); }
.play--light { --mark-fill: var(--cobalt-700); --mark-dock: var(--cobalt-300); color: var(--accent); border-color: var(--rule); margin: 0 0 0 6px; vertical-align: middle; }
@media (hover: hover) { .play:hover { --dock-y: -11.5px; border-style: solid; border-color: var(--cobalt-300); } }



/* ======================= phones: final overrides (keep last) ======================= */
@media (max-width: 860px) {
  /* opaque header everywhere — nothing shows through it */
  .page-solid .header, .header.is-solid { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }

  /* tighter vertical rhythm: the page was ~26 screens long on an iPhone */
  :root { --section: 64px; }
  .split__h { margin-bottom: 32px; }
  .sec-head, .ind-head { margin-bottom: 28px; }
  .contact__h { margin-bottom: 36px; }
  .split__left { margin-bottom: 32px; }
  .about__fig { aspect-ratio: 16 / 10; }
  .ind__fig { aspect-ratio: 2 / 1; }
  .ind { gap: 16px; padding-bottom: 22px; }

  /* partner lock-up: one centred row, not three stacked pieces */
  .partner__lockup { grid-template-columns: auto auto auto; justify-content: center; justify-items: center; gap: 14px; padding-block: 28px; margin-bottom: 36px; }
  .partner__lockup > :first-child { justify-self: center; }
  .partner__lockup .logo { gap: 9px; }
  .partner__lockup .logo__mark { width: 28px; }
  .partner__lockup .logo__name { font-size: .98rem; }
  .partner__lockup .logo__sub { font-size: .56rem; margin-top: 4px; }
  .partner__lockup img { width: 104px; }
  .partner__x { font-size: 1rem; }

  /* map caption: coordinates on one line, link under it */
  .contact__map figcaption { flex-direction: column; align-items: flex-start; gap: 2px; }
  .contact__map figcaption .label { white-space: nowrap; font-size: .68rem; }
}
@media (max-width: 420px) {
  /* the outlined footer wordmark must fit a 320–360 px screen */
  .footer__word { font-size: 11.2vw; }
}

/* ======================= phones: compact layout (keep last) =======================
   The full desktop content, packed for a phone: decorative images go, repeated
   lists go, side-by-side where a phone has room, tabs where it does not.        */
.models__tabs { display: none; }
@media (max-width: 860px) {
  :root { --section: 56px; --fs-h2: clamp(2.2rem, 9vw, 2.8rem); --fs-mega: clamp(2.6rem, 11.5vw, 3.4rem); }
  .split__h { margin-bottom: 24px; }
  .lead { font-size: 1.08rem; }

  /* about: no globe, no repeated profile chips, one paragraph, facts 2 × 2 */
  #about .split__left { display: none; }
  #about .split__right { gap: 24px !important; }
  #about .prose p + p { display: none; }
  #about div:has(> .roles) { display: none !important; }   /* beats the inline display:grid */
  #about .kv { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  #about .kv > div { padding: 14px 10px 14px 0; }
  #about .kv > div:nth-child(even) { padding-left: 12px; border-left: 1px solid var(--rule); }
  #about .kv dd { font-size: 1rem; }

  /* services: the intro line is enough */
  #services .split__left { margin-bottom: 20px; gap: 12px; }
  #services .split__left .link-arrow { display: none; }
  .acc__btn { padding: 15px 0; }
  .acc__title { font-size: 1.25rem; gap: 12px; }

  /* industries: two-up tiles, image + name */
  .ind-head p { font-size: .98rem; }
  .ind-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ind { padding: 8px 8px 14px; gap: 10px; }
  .ind__fig { aspect-ratio: 4 / 3; }
  .ind__fig .label { display: none; }
  .ind__body { padding-inline: 2px; gap: 0; }
  .ind__body h3 { font-size: 1rem; line-height: 1.2; }
  .ind__body p, .ind__tags { display: none; }

  /* why us: same table, less air */
  #why .split__left { margin-bottom: 20px; gap: 12px; }
  .cmp__row > :first-child { padding: 12px 0 4px; font-size: .98rem; }
  .cmp__row > * { padding: 6px 8px 10px; }
  .cmp-note { display: none; }

  /* engagement models: tabs */
  .models__tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--rule-on-accent); margin-bottom: 4px; }
  .models__tabs button { all: unset; box-sizing: border-box; min-height: 48px; padding: 8px 6px; text-align: center; cursor: pointer;
    font-family: var(--mono); font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; color: var(--cobalt-200); line-height: 1.3; }
  .models__tabs button + button { border-left: 1px solid var(--rule-on-accent); }
  .models__tabs button[aria-selected="true"] { background: var(--cobalt-200); color: var(--cobalt-950); }
  .models__tabs button:focus-visible { outline: 2px solid var(--cobalt-300); outline-offset: 2px; }
  .models.is-tabbed { border-top: 0; }
  .models.is-tabbed .model { display: none; border-bottom: 0; padding-top: 18px; padding-bottom: 0; }
  .models.is-tabbed .model.is-active { display: grid; }
  .model .model__n { display: none; }

  /* process: 2 × 2, name + duration */
  .steps { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-top: 1px solid var(--rule-strong); }
  .step { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 16px 12px 18px 0; border-bottom: 1px solid var(--rule); }
  .step:nth-child(even) { padding-left: 12px; padding-right: 0; border-left: 1px solid var(--rule); }
  .step__h { flex-direction: column; gap: 6px; }
  .step__h h3 { font-size: 1.2rem; }
  .step__b { padding: 0; }
  .step__b p { display: none; }

  /* partner: one paragraph */
  .partner__grid .prose p:nth-child(2) { display: none; }
  .partner__stats b { font-size: 1.9rem; }
  .partner__note { font-size: .76rem; }

  /* careers teaser: text only */
  .ct__fig { display: none; }
  .ct__body { border-left: 1px solid var(--rule); border-top: 1px solid var(--rule); padding: 24px 20px; gap: 16px; }
  .ct__body h2 { font-size: 2rem; }

  /* insights: a list of titles */
  .posts { grid-template-columns: minmax(0, 1fr); }
  .post { padding: 16px 16px 18px; gap: 0; grid-template-rows: auto; }
  .post__fig, .post p { display: none; }
  .post__body { gap: 8px; padding: 0; }
  .post h3 { font-size: 1.12rem; }

  /* FAQ */
  #faq .split__left { margin-bottom: 16px; gap: 10px; }
  #faq .split__left .link-arrow { display: none; }
  #faq .acc__title { font-size: 1.08rem; }

  /* contact */
  .contact__info { gap: 18px; margin-bottom: 28px; }
  .contact__info address { font-size: 1.05rem; }
  .contact__map { aspect-ratio: 5 / 2; }

  /* footer: denser */
  .footer { padding-top: 48px; }
  .footer__top { gap: 24px; padding-bottom: 32px; }
  .footer__claim { margin-top: 14px; }
  .play { margin-top: 18px; }
  .footer__col a { min-height: 32px; }
  .footer__legal { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px 16px; font-size: .76rem; }
  .footer__word { margin-top: 28px; }

  /* careers page: same idea */
  .perk { padding: 16px 0 18px; gap: 8px; }
  .perk h3 { font-size: 1.2rem; }
  .role { padding: 18px 16px 20px; gap: 10px; }
  .role p { display: none; }
  .phero { min-height: 0; }
  .apply__info { gap: 16px; margin-bottom: 28px; }
}

/* ======================= phones: beauty pass (keep last) ======================= */
.mcta { display: none; }
@media (max-width: 860px) {
  /* header: lighter menu control */
  .menu-btn { border: 0; padding: 0 0 0 10px; gap: 6px; }
  .menu-btn__bars { width: 32px; }

  /* first screen: one composed poster — headline, offer, partner line, facts strip */
  .hero { min-height: 100svh; }
  .hero__body { padding-top: calc(var(--header-h) + 28px); padding-bottom: 22px; align-content: end; }
  .hero__eyebrow { font-size: .66rem; margin-bottom: 16px; }
  .hero__title { font-size: clamp(3rem, 14.2vw, 4.4rem); line-height: .9; letter-spacing: -.05em; }
  .hero__side { margin-top: 22px; gap: 16px; }
  .hero__side p { font-size: 1.02rem; line-height: 1.45; color: rgba(255,255,255,.86); }
  .hero__ctas .btn { min-height: 54px; }
  .partner-badge { padding: 0; background: none; border: 0; gap: 12px; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .partner-badge img { width: 64px; }
  .partner-badge__txt { padding-left: 12px; gap: 2px; }
  .partner-badge__txt .label { font-size: .6rem; }
  .partner-badge__txt span:last-child { font-size: .8rem; }
  .hero__facts ul { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hero__facts li, .hero__facts li:nth-child(3), .hero__facts li:nth-child(n+3) { padding: 12px 8px 14px; border-top: 0; border-left: 1px solid var(--rule-on-accent); gap: 2px; }
  .hero__facts li:first-child { border-left: 0; padding-left: 0; }
  .hero__facts b { font-size: 1.02rem; letter-spacing: -.01em; white-space: nowrap; }
  .hero__facts span { font-size: .58rem; letter-spacing: .04em; line-height: 1.3; }
  .phero .hero__facts { display: none; }

  /* section index, like the numbering on a drawing set */
  main { counter-reset: sec; }
  main > section.section { counter-increment: sec; padding-top: 72px; }
  main > section.section::before {
    content: counter(sec, decimal-leading-zero); position: absolute; top: 26px; left: var(--gutter); right: var(--gutter);
    padding-top: 10px; border-top: 1px solid var(--rule);
    font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; color: var(--cobalt-500);
  }
  .section--blue::before, .section--deep::before { border-top-color: var(--rule-on-accent) !important; color: var(--cobalt-300); }
  .section--alt + .section--alt::before, .section::before { z-index: 1; }

  /* headings: one weight of drama, consistent */
  .split__h, .ind-head h2, .sec-head h2 { font-size: clamp(2.3rem, 10.4vw, 2.9rem); letter-spacing: -.045em; line-height: .95; }

  /* comparison: easier to read */
  .cmp__head > * { font-size: .58rem; line-height: 1.3; }
  .cmp__row > :first-child { font-weight: 480; }

  /* floating call to action */
  .mcta { display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40;
    justify-content: space-between; box-shadow: 0 18px 40px -16px rgba(5, 12, 61, .55);
    transform: translateY(140%); transition: transform .45s var(--ease-out); }
  .mcta.is-on { transform: none; }
  body.menu-open .mcta, body.tg-open .mcta { transform: translateY(140%); }
  .footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}
@media (max-width: 860px) and (prefers-reduced-motion: reduce) { .mcta { transition: none; } }
@media (max-width: 360px) { .hero__facts b { font-size: .92rem; } .hero__facts span { font-size: .54rem; } }
@media (max-width: 360px) {
  .logo__name { white-space: nowrap; font-size: 1.02rem; }
  .logo__mark { width: 30px; height: 30px; }
  .logo { gap: 10px; }
  .menu-btn { font-size: .66rem; }
}
