/* eaqbe.com v2: one stylesheet, one class system. Tokens first; components in page order.
   Night = deep navy space (default). Paper is reserved for forms, policy and case-study copy.
   The brand gradient is the live .heading-gradient, unchanged. */

@font-face { font-family: "Thicccboi"; src: url("/assets/fonts/695eaedc1920f062b64ce4c4_THICCCBOI-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Thicccboi"; src: url("/assets/fonts/695eaedc1920f062b64ce4c5_THICCCBOI-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Thicccboi"; src: url("/assets/fonts/695eaedc1920f062b64ce4c6_THICCCBOI-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Thicccboi"; src: url("/assets/fonts/695eaedc1920f062b64ce4c7_THICCCBOI-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --abyss: #050B16;
  --night: #0A1628;
  --panel: #0E1E33;
  --panel-2: #132842;
  --snow: #F2F6FB;
  --mist: #A9B8CC;
  --fog: #7F90A8;
  --ink: #081321;
  --paper: #EEF2F7;
  --paper-2: #FFFFFF;
  --client-surface: #1A3352;
  --client-surface-hover: #1A3352;
  --client-line: #23426A;
  --slate: #46566C;
  --deep-blue: #0256C2;
  --green: #56C596;
  --teal: #329D9C;
  --blue: #0276FF;
  --grad: linear-gradient(90deg, #56c596, #329d9c 47%, #0276ff);
  --grad-v: linear-gradient(180deg, #56c596, #329d9c 47%, #0276ff);
  --line: rgba(169, 184, 204, 0.14);
  --line-2: rgba(169, 184, 204, 0.26);
  --line-paper: rgba(8, 19, 33, 0.12);

  --font: "Thicccboi", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1320px;
  --pad: clamp(16px, 4vw, 56px);
  --gutter: 24px;
  --sec: clamp(64px, 8vw, 116px);
  --r-panel: clamp(22px, 2.4vw, 32px);
  --r-card: 20px;
  --r-input: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--abyss); color: var(--snow);
  font: 400 17px/1.65 var(--font); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; overflow-x: clip;
}
@media (max-width: 767px) { body { font-size: 16px; } }
img, video, canvas, svg { display: block; max-width: 100%; }
img { height: auto; }
picture { display: contents; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
h1, h2, h3, h4, h5, h6, p, ul, ol, figure { margin: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: rgba(2, 118, 255, .35); color: var(--snow); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: 12px; z-index: 100; transform: translateY(-160%); background: var(--snow); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip:focus { transform: none; }

.wrap { width: min(100% - 2 * var(--pad), var(--max)); margin-inline: auto; }
.sec { padding-block: var(--sec); position: relative; }
.sec--tight { padding-block: calc(var(--sec) * .6); }
.sec + .sec--flush { padding-top: 0; }
.sec--after-code { padding-top: clamp(48px, 6vw, 88px); }

/* Paper slab: a document lifted out of the night */
.slab { background: var(--paper); color: var(--ink); border-radius: var(--r-panel); margin-inline: clamp(8px, 1.2vw, 16px); }
.slab a { color: var(--deep-blue); }
.deep { background: var(--night); border-radius: var(--r-panel); margin-inline: clamp(8px, 1.2vw, 16px); border: 1px solid var(--line); }

/* ---------------------------------------------------------------- type */
.g { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.slab .g { background: linear-gradient(90deg, #1E7F5C, #1F7A79 47%, #0256C2); -webkit-background-clip: text; background-clip: text; }
.display { font-size: clamp(44px, 7.1vw, 100px); line-height: .95; letter-spacing: -0.045em; font-weight: 700; }
.display--m { font-size: clamp(40px, 5.6vw, 60px); }
.h2 { font-size: clamp(32px, 4.3vw, 58px); line-height: 1.03; letter-spacing: -0.032em; font-weight: 700; }
.h2--s { font-size: clamp(28px, 3.2vw, 44px); }
.h3 { font-size: clamp(20px, 1.75vw, 25px); line-height: 1.22; letter-spacing: -0.012em; font-weight: 600; }
.h3--l { font-size: clamp(24px, 2.4vw, 34px); letter-spacing: -0.022em; line-height: 1.12; }
.lede { font-size: clamp(18px, 1.55vw, 22px); line-height: 1.5; color: var(--mist); max-width: 62ch; }
.slab .lede { color: var(--slate); }
.muted { color: var(--mist); }
.slab .muted { color: var(--slate); }
.small { font-size: 14px; line-height: 1.45; }
.measure { max-width: 68ch; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 52px; padding: 0 26px;
  border-radius: 999px; font-weight: 600; font-size: 16px; line-height: 1.15; text-decoration: none; text-align: center;
  border: 1px solid transparent; cursor: pointer; transition: transform .25s var(--ease), filter .25s var(--ease), background-color .25s, border-color .25s;
}
.btn--primary { color: var(--abyss); background: var(--grad); box-shadow: 0 14px 40px -16px rgba(2, 118, 255, .75), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn--primary:hover { filter: saturate(1.12) brightness(1.07); transform: translateY(-1px); }
.btn--ghost { color: var(--snow); border-color: var(--line-2); background: rgba(255, 255, 255, .03); }
.btn--ghost:hover { border-color: rgba(86, 197, 150, .7); background: rgba(86, 197, 150, .06); }
.slab .btn--ghost { color: var(--ink); border-color: var(--line-paper); background: transparent; }
.slab .btn--primary { color: var(--abyss); }
.btn--s { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn--l { min-height: 60px; padding: 0 32px; font-size: 17px; }
.btn .star { display: inline-block; transition: transform .5s var(--ease); }
.btn:hover .star { transform: rotate(90deg) scale(1.1); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* arrow glyph drawn in SVG (never typed) */
.arw { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); flex: none; transition: transform .35s var(--ease), background-color .35s, border-color .35s; }
.arw svg { width: 16px; height: 16px; }
.slab .arw { border-color: var(--line-paper); }

/* ---------------------------------------------------------------- nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 60; padding: 12px clamp(8px, 1.2vw, 16px) 0; pointer-events: none; }
.nav__bar {
  pointer-events: auto; max-width: calc(var(--max) + 32px); margin-inline: auto; height: 64px; display: flex; align-items: center; gap: 10px;
  padding: 0 10px 0 18px; border-radius: 20px; border: 1px solid var(--line);
  background: rgba(8, 18, 33, .58); -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%);
  transition: background-color .3s, border-color .3s;
}
.nav--scrolled .nav__bar { background: rgba(8, 18, 33, .82); border-color: var(--line-2); }
.nav__logo { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; padding: 8px 4px; flex-shrink: 0; }
.nav__logo img { height: 30px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 2px; list-style: none; padding: 0; margin: 0 auto; }
.nav__links a { display: block; padding: 10px 13px; border-radius: 12px; font-size: 15px; font-weight: 500; color: var(--mist); text-decoration: none; transition: color .2s, background-color .2s; }
.nav__links a:hover { color: var(--snow); background: rgba(255, 255, 255, .05); }
.nav__links a[aria-current="page"] { color: var(--snow); }
.nav__links a[aria-current="page"]::after { content: ""; display: block; height: 2px; margin-top: 4px; border-radius: 2px; background: var(--grad); }
@media (min-width: 992px) { .nav__links li:last-child { display: none; } }
.nav__end { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.lang { position: relative; }
.lang__btn { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: transparent; color: var(--mist); font-size: 14px; font-weight: 600; cursor: pointer; }
.lang__btn:hover, .lang__btn[aria-expanded="true"] { color: var(--snow); border-color: var(--line-2); }
.lang__btn svg { width: 12px; height: 12px; transition: transform .25s; }
.lang__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.lang__menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 160px; padding: 6px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--night); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .7); list-style: none; margin: 0; }
.lang__menu[hidden] { display: none; }
.lang__menu a { display: block; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--mist); font-weight: 500; }
.lang__menu a:hover, .lang__menu a[aria-current="true"] { color: var(--snow); background: rgba(255, 255, 255, .06); }
.nav__burger { display: none; position: relative; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: transparent; cursor: pointer; }
.nav__burger span { position: absolute; left: 50%; top: 50%; display: block; width: 18px; height: 2px; background: var(--snow); border-radius: 2px; transition: transform .3s var(--ease); }
.nav__burger span:first-child { transform: translate(-50%, calc(-50% - 3.5px)); }
.nav__burger span:last-child { transform: translate(-50%, calc(-50% + 3.5px)); }
.nav--open .nav__burger span:first-child { transform: translate(-50%, -50%) rotate(45deg); }
.nav--open .nav__burger span:last-child { transform: translate(-50%, -50%) rotate(-45deg); }

@media (min-width: 992px) and (max-width: 1194px) {
  .nav__bar { gap: 4px; padding-left: 12px; }
  .nav__links a { padding-inline: 8px; font-size: 14px; }
  .nav__end { gap: 5px; }
  .nav__cta { padding-inline: 14px; }
}
@media (max-width: 991px) {
  .nav__burger { display: block; }
  .nav__links {
    position: fixed; inset: 88px clamp(8px, 1.2vw, 16px) auto; margin: 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px; border-radius: 20px; border: 1px solid var(--line-2); background: rgba(8, 18, 33, .97);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); max-height: calc(100svh - 104px); overflow: auto;
    opacity: 0; transform: translateY(-8px); visibility: hidden; transition: opacity .25s, transform .25s var(--ease), visibility 0s .25s;
  }
  .nav--open .nav__links { opacity: 1; transform: none; visibility: visible; transition: opacity .25s, transform .25s var(--ease); }
  .nav__links a { font-size: 22px; font-weight: 600; padding: 14px 14px; color: var(--snow); }
  .nav__links a[aria-current="page"]::after { width: 28px; }
}
@media (max-width: 767px) { .nav__cta { display: none; } }

/* ---------------------------------------------------------------- hero (home) */
.hero { position: relative; min-height: min(100svh, 980px); display: flex; align-items: center; padding: 140px 0 120px; overflow: hidden; isolation: isolate; }
.hero__grid { position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 68% 42%, #000 10%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 68% 42%, #000 10%, transparent 75%); opacity: .55; }
.hero__glow { position: absolute; inset: -10% -10% 0; z-index: -3; pointer-events: none;
  background: radial-gradient(42% 46% at 72% 40%, rgba(2, 118, 255, .22), transparent 70%), radial-gradient(30% 34% at 58% 62%, rgba(86, 197, 150, .14), transparent 70%); }
.hero__particles { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; opacity: .82; pointer-events: none; }
.hero__inner { position: relative; }
.hero__title { max-width: 11.5ch; }
.hero__lede { margin-top: 28px; font-size: clamp(19px, 1.7vw, 24px); color: var(--mist); max-width: 34ch; }
.hero .btns { margin-top: 40px; }
@media (max-width: 991px) {
  .hero { align-items: center; min-height: min(760px, 100svh); padding: 132px 0 88px; }
  .hero__particles { opacity: .68; }
}

/* inner page hero */
.phero { position: relative; padding: 168px 0 clamp(56px, 7vw, 96px); overflow: hidden; isolation: isolate; }
.phero::before { content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px; -webkit-mask-image: radial-gradient(ellipse 60% 80% at 85% 0%, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse 60% 80% at 85% 0%, #000 0%, transparent 70%); opacity: .6; }
.phero::after { content: ""; position: absolute; inset: 0; z-index: -3; pointer-events: none; background: radial-gradient(40% 60% at 88% 0%, rgba(2, 118, 255, .18), transparent 70%), radial-gradient(28% 40% at 70% 10%, rgba(86, 197, 150, .10), transparent 70%); }
.phero__particles { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; opacity: .54; pointer-events: none; }
.phero__title { max-width: 16ch; }
.phero__lede { margin-top: 24px; }
.phero .btns { margin-top: 36px; }
.phero__split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 80px); align-items: end; }
.phero__layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.phero__copy { min-width: 0; }
@media (max-width: 991px) {
  .phero { padding-top: 132px; }
  .phero__split, .phero__layout { grid-template-columns: 1fr; }
  .phero__layout .plate--hero { width: min(100%, 720px); }
  .phero__particles { opacity: .42; }
}

.rise { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise 1s var(--ease) both; }
  .rise--2 { animation-delay: .12s; }
  .rise--3 { animation-delay: .24s; }
  @keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
}

/* ---------------------------------------------------------------- code wall */
.code { position: relative; margin-top: clamp(-150px, -10vw, -40px); padding-bottom: 0; overflow: hidden; height: clamp(360px, 36vw, 520px); }
.code__stage { perspective: 1800px; }
.code__wall { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; transform: rotateX(28deg) rotateZ(-8deg) translateY(-2%); transform-origin: 50% 0;
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 92%); mask-image: linear-gradient(180deg, #000 30%, transparent 92%); }
.code__panel { border-radius: 16px; overflow: hidden; max-height: 520px; background: #070F1C; border: 1px solid var(--line-2); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9); }
.code__panel:nth-child(even) { transform: translateY(48px); }
.code__bar { height: 26px; border-bottom: 1px solid var(--line); position: relative; }
.code__bar::before { content: ""; position: absolute; left: 12px; top: 11px; width: 34%; height: 3px; border-radius: 3px; background: var(--grad); opacity: .85; }
.code__panel img { width: 100%; opacity: .92; }
@media (max-width: 991px) {
  .code { margin-top: 0; }
  .code__wall { grid-template-columns: repeat(6, 62vw); transform: none; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--pad) 8px; -webkit-mask-image: none; mask-image: none; max-height: 520px; }
  .code__panel { scroll-snap-align: center; max-height: 500px; }
  .code__panel:nth-child(even) { transform: none; }
  .code .wrap { width: 100%; }
}

/* ---------------------------------------------------------------- section heads */
.sh { display: grid; gap: 18px; max-width: 900px; margin-bottom: clamp(36px, 5vw, 64px); }
.sh--row { max-width: none; grid-template-columns: 1fr auto; align-items: end; gap: 24px 48px; }
.sh--center { margin-inline: auto; text-align: center; justify-items: center; }
@media (max-width: 767px) { .sh--row { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- levers (solutions) */
.levers { border-top: 1px solid var(--line); }
.lever { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto; gap: 16px 48px; align-items: center; padding: clamp(24px, 3vw, 40px) clamp(8px, 1.5vw, 24px); border-bottom: 1px solid var(--line); text-decoration: none; position: relative; isolation: isolate; transition: padding .4s var(--ease); }
.lever::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; background: linear-gradient(90deg, rgba(86, 197, 150, .09), rgba(2, 118, 255, .10)); transition: opacity .4s; }
.lever:hover::before, .lever:focus-visible::before { opacity: 1; }
.lever:hover .arw { background: var(--snow); color: var(--abyss); border-color: transparent; transform: rotate(45deg); }
.lever__title { font-size: clamp(28px, 3.6vw, 52px); line-height: 1.02; letter-spacing: -0.03em; font-weight: 700; }
.lever__text { color: var(--mist); font-size: clamp(16px, 1.3vw, 19px); }
@media (max-width: 767px) { .lever { grid-template-columns: 1fr auto; } .lever__text { grid-column: 1 / -1; grid-row: 2; } }
/* JCO 16/10 16:26Z then 16:29Z: the three solution cards on the Calendly blue (--client-surface), on phones only;
   desktop keeps the original rows (cards of unequal height did not look right there). */
@media (max-width: 767px) {
  .levers { border-top: 0; display: grid; gap: 14px; }
  .lever { background: var(--client-surface); border-bottom: 0; border-radius: var(--r-card); overflow: hidden; padding: 24px 20px; }
}

/* ---------------------------------------------------------------- statement / editorial */
.statement { font-size: clamp(24px, 2.7vw, 40px); line-height: 1.28; letter-spacing: -0.02em; font-weight: 500; max-width: 30ch; }
.statement--wide { max-width: 46ch; }
.editorial { font-size: clamp(21px, 2.2vw, 31px); line-height: 1.42; letter-spacing: -0.012em; font-weight: 400; color: var(--snow); max-width: 52ch; }
.editorial { color: var(--mist); }
.editorial .lead-in { color: var(--snow); font-weight: 600; }

/* split: copy + figure */
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.split--top { align-items: start; }
.split--top > :first-child { position: sticky; top: 120px; }
.plate--cap img { max-height: 640px; width: auto; }
.split--even { grid-template-columns: 1fr 1fr; }
.split--rev > :first-child { order: 2; }
@media (max-width: 991px) {
  .split, .split--even { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
  .split--top > :first-child { position: static; }
}

/* figure plate: transparent diagrams on a night surface */
.plate { background: linear-gradient(155deg, rgba(19, 40, 66, .9), rgba(10, 22, 40, .94)); border-radius: var(--r-panel); padding: clamp(16px, 2.6vw, 36px); position: relative; box-shadow: 0 0 0 1px rgba(255, 255, 255, .06), 0 50px 100px -50px rgba(2, 118, 255, .45); }
.plate::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(86, 197, 150, .8), rgba(2, 118, 255, .0) 40%, rgba(2, 118, 255, .8)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); pointer-events: none; }
.plate img { width: 100%; margin-inline: auto; }
.slab .plate { box-shadow: 0 0 0 1px var(--line-paper), 0 30px 60px -40px rgba(8, 19, 33, .35); }
.plate--hero { margin-top: 0; }
.plate--hero img { max-height: 520px; width: auto; }
.plate--tall img { max-height: 80vh; width: auto; }
.figure { display: grid; gap: 18px; align-content: start; margin: 0; }
.figure figcaption { padding-top: 14px; border-top: 1px solid var(--line); color: var(--mist); font-size: 14px; line-height: 1.45; }
.figure-split { align-items: center; }
.figure-split .sh { margin-bottom: 0; }

/* ---------------------------------------------------------------- steps (methodology) */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); position: relative; list-style: none; padding: 0; margin: 0; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 21px; height: 2px; background: var(--grad); opacity: .55; }
.step { position: relative; display: grid; align-content: start; gap: 16px; }
.step__label { justify-self: start; position: relative; display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: 999px; background: var(--abyss); border: 1px solid var(--line-2); font-size: 14px; font-weight: 600; color: var(--snow); }
.step__label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); margin-right: 10px; box-shadow: 0 0 12px rgba(86, 197, 150, .8); }
.step__title { margin-top: 12px; }
.step__text { color: var(--mist); font-size: 16px; }
.step__fig { margin-top: 8px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-card); padding: 14px; }
.step__fig img { width: 100%; max-height: 260px; object-fit: contain; }
@media (max-width: 991px) {
  .steps { grid-template-columns: 1fr; gap: 18px; }
  .steps::before { display: none; }
  .step { padding: clamp(20px, 4vw, 30px); border: 1px solid var(--line); border-radius: var(--r-card); background: rgba(14, 30, 51, .64); }
  .step__label { margin-left: 0; }
  .step__title { margin-top: 4px; }
}

/* ---------------------------------------------------------------- cases (achievements) */
.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.case { position: relative; display: flex; flex-direction: column; border-radius: var(--r-card); background: var(--panel); border: 1px solid var(--line); text-decoration: none; overflow: hidden; isolation: isolate; transition: border-color .35s, transform .35s var(--ease); }
.case:hover { border-color: rgba(86, 197, 150, .5); transform: translateY(-3px); }
.case:hover .arw { background: var(--snow); color: var(--abyss); border-color: transparent; transform: rotate(45deg); }
.case__media { aspect-ratio: 40 / 21; overflow: hidden; background: #070F1C; border-bottom: 1px solid var(--line); }
.case__media img { width: 100%; height: 100%; object-fit: contain; transition: transform .6s var(--ease); }
.case:hover .case__media img { transform: scale(1.03); }
.case__body { display: grid; grid-template-columns: 1fr auto; gap: 12px 20px; padding: 24px 24px 28px; align-items: start; flex: 1; }
.case__title { font-size: clamp(19px, 1.5vw, 22px); line-height: 1.25; font-weight: 600; letter-spacing: -0.01em; }
.case__text { grid-column: 1 / -1; color: var(--mist); font-size: 15.5px; line-height: 1.55; }
.case--wide { grid-column: span 2; flex-direction: row; }
.case--wide .case__media { flex: 1.15; aspect-ratio: auto; border-bottom: 0; border-right: 1px solid var(--line); display: grid; place-items: center; }
.case--wide .case__media img { object-fit: contain; height: auto; }
.case--rev { flex-direction: row-reverse; }
.case--full { grid-column: 1 / -1; }
.case--text { background: linear-gradient(160deg, rgba(86, 197, 150, .07), rgba(2, 118, 255, .05) 60%, transparent), var(--panel); }
.case--text .case__body { padding-top: 28px; min-height: 220px; align-content: space-between; }
.case--text .case__title { font-size: clamp(20px, 1.7vw, 24px); letter-spacing: -0.015em; }
.case--full .case__media { flex: 1.4; }
.cases--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cases--2 .case__media { aspect-ratio: 40 / 19; }
.case--rev .case__media { border-right: 0; border-left: 1px solid var(--line); }
.case--wide .case__body { flex: 1; align-content: end; }
.case--wide .case__title { font-size: clamp(22px, 2vw, 30px); letter-spacing: -0.02em; }
@media (max-width: 991px) { .cases { grid-template-columns: repeat(2, minmax(0, 1fr)); } .case--wide { grid-column: span 2; } }
@media (max-width: 767px) { .cases, .cases--2 { grid-template-columns: 1fr; } .case--full { grid-column: auto; } .case--wide, .case--rev { grid-column: auto; flex-direction: column; } .case--rev .case__media { border-left: 0; } .case--wide .case__media { aspect-ratio: 40 / 21; border-right: 0; border-bottom: 1px solid var(--line); } }

/* ---------------------------------------------------------------- logos (trusted by) */
.logos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.logos__cell { display: grid; place-items: center; height: clamp(104px, 10vw, 140px); border: 1px solid var(--client-line); border-radius: var(--r-card); padding: 12px 18px; position: relative; background: var(--client-surface); }
.logos__cell img { max-height: 62px; width: auto; max-width: 84%; object-fit: contain; opacity: 1; }
.logos__cell img[src*="/clients/wsbi-esbg.png"] { max-width: 90%; max-height: 48px; }
.logos__cell img[src*="/clients/solarpower-europe.svg"] { width: 180px; max-width: 86%; max-height: 56px; }
.logos__cell img[src*="/clients/cefic.png"] { max-height: 62px; }
.logos__cell img[src*="/clients/silversquare.svg"] { width: 180px; max-width: 90%; max-height: 50px; }
.logos__cell img[src*="/clients/yoga-room.svg"] { max-height: 60px; }
.logos__cell img[src*="/clients/eurid.svg"] { max-height: 60px; }
.logos__cell img[src*="/clients/eurosif.png"] { max-height: 78px; }
.logos__cell img[src*="/clients/elitis-insurance.png"] { max-height: 62px; }
.logos__cell .logo--solid { opacity: 1; }
@media (max-width: 767px) { .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .logos { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- building blocks (isometric logos) */
.blocks-sec { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.blocks { position: relative; height: clamp(420px, 44vw, 600px); perspective: 2000px; }
.blocks__plane { position: absolute; left: 50%; top: 50%; width: min(480px, 72%); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 18px);
  transform: translate(-50%, -50%) rotateX(56deg) rotateZ(-42deg); transform-style: preserve-3d; }
.block { position: relative; aspect-ratio: 1; min-height: 0; transform-style: preserve-3d; transition: transform .45s var(--ease); }
.block__top { position: absolute; inset: 0; border-radius: 14px; background: linear-gradient(145deg, #173252, #0A1628); display: grid; place-items: center; padding: 18%; box-shadow: inset 0 0 0 1px var(--line-2); transform: translateZ(var(--h, 22px)); }
.block__top img { width: 100%; height: 100%; object-fit: contain; }
.block::before, .block::after { content: ""; position: absolute; border-radius: 14px; inset: 0; }
.block::before { background: linear-gradient(135deg, #1b4f78, #0b2340); transform: translateZ(0); box-shadow: 0 30px 40px -10px rgba(0, 0, 0, .55); }
.block::after { inset: 0; background: linear-gradient(90deg, rgba(86, 197, 150, .55), rgba(2, 118, 255, .55)); transform: translateZ(calc(var(--h, 22px) / 2)); filter: blur(0); opacity: .45; }
.block:hover { transform: translateZ(18px); }
.blocks__plane .block:nth-child(3n+1) { --h: 34px; }
.blocks__plane .block:nth-child(4n+2) { --h: 46px; }
.blocks__plane .block:nth-child(5n) { --h: 28px; }
.blocks__plane .block:last-child { min-height: auto; } /* Preserve the existing Power BI tile sizing. */
@media (max-width: 991px) {
  .blocks-sec { grid-template-columns: 1fr; }
  .blocks { height: auto; perspective: none; }
  .blocks__plane { position: static; transform: none; width: 100%; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .block::before, .block::after { display: none; }
  .block__top { position: relative; transform: none; aspect-ratio: 1; border-radius: 14px; }
  .block:hover { transform: none; }
}

/* ---------------------------------------------------------------- columns of values / reasons */
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 48px); }
.col { display: grid; gap: 14px; align-content: start; padding-top: 24px; position: relative; }
.col::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line-2); }
.col::after { content: ""; position: absolute; left: 0; top: -1px; width: 56px; height: 3px; border-radius: 3px; background: var(--grad); }
.col__title { font-size: clamp(24px, 2.4vw, 34px); line-height: 1.1; letter-spacing: -0.025em; font-weight: 700; }
.col__text { color: var(--mist); }
.slab .col::before { background: var(--line-paper); }
.slab .col__text { color: var(--slate); }
.col__icon { width: 52px; height: 52px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); }
.col__icon img { width: 100%; height: 100%; object-fit: contain; }
.cols--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 991px) { .cols:not(.cols--2) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .cols:not(.cols--2), .cols--2 { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- docs resources (editorial rows) */
.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr) auto; gap: 16px 48px; padding: 28px 8px; border-bottom: 1px solid var(--line); text-decoration: none; align-items: start; transition: background-color .3s; }
.row:hover { background: rgba(255, 255, 255, .025); }
.row:hover .arw { background: var(--snow); color: var(--abyss); border-color: transparent; transform: rotate(45deg); }
.row__title { font-size: clamp(20px, 1.8vw, 26px); line-height: 1.2; letter-spacing: -0.015em; font-weight: 600; }
.row__text { color: var(--mist); font-size: 16px; }
@media (max-width: 991px) { .row { grid-template-columns: 1fr auto; } .row__text { grid-column: 1 / -1; } }

/* ---------------------------------------------------------------- courses (training tiles) */
.courses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.course { display: grid; grid-template-rows: auto 1fr; gap: 26px; padding: 22px; min-height: 236px; border-radius: var(--r-card); background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01)); border: 1px solid var(--line); text-decoration: none; position: relative; transition: border-color .3s, background-color .3s, transform .35s var(--ease); }
.course:hover { border-color: rgba(86, 197, 150, .55); transform: translateY(-2px); }
.course:hover .arw { background: var(--snow); color: var(--abyss); border-color: transparent; transform: rotate(45deg); }
.course__top { display: flex; justify-content: space-between; align-items: start; }
.course__icon { width: 136px; height: 64px; flex: 0 0 auto; position: relative; border-radius: 16px; background: var(--panel-2); border: 1px solid var(--line-2); display: grid; place-items: center; }
.course__icon img { position: absolute; inset: 8px 12px; width: calc(100% - 24px); height: calc(100% - 16px); object-fit: contain; }
.course__title { font-size: 20px; line-height: 1.2; font-weight: 600; letter-spacing: -0.01em; align-self: end; }
.course__text { color: var(--mist); font-size: 15px; line-height: 1.5; margin-top: 8px; }
.slab .course { background: var(--paper-2); border-color: var(--line-paper); }
.slab .course__text { color: var(--slate); }
@media (max-width: 991px) { .courses { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .courses { grid-template-columns: 1fr; } .course { min-height: 0; } }

/* ---------------------------------------------------------------- book a call (Calendly) */
.book { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: start; padding: clamp(28px, 5vw, 72px); }
@media (max-width: 479px) { .book { padding: 28px 10px 10px; } .book__copy { padding: 0 12px; } .book__cal .calendly-inline-widget { min-width: 0; } }
.book__copy { position: sticky; top: 110px; display: grid; gap: 20px; }
.book__line { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.4; color: var(--snow); font-weight: 500; }
.book__note { color: var(--mist); font-size: 15px; }
.book__cal { border-radius: var(--r-card); overflow: hidden; background: var(--client-surface); min-height: 580px; box-shadow: 0 40px 90px -40px rgba(2, 118, 255, .55); }
.book__cal .calendly-inline-widget { min-width: 280px; height: 580px; }
@media (max-width: 767px) { .book__cal { min-height: 680px; } .book__cal .calendly-inline-widget { height: 680px; } }
@media (max-width: 991px) { .book { grid-template-columns: 1fr; } .book__copy { position: static; } }

/* ---------------------------------------------------------------- bands (dark CTA) */
.band { position: relative; overflow: hidden; isolation: isolate; text-align: center; padding: clamp(56px, 8vw, 120px) clamp(20px, 5vw, 80px); }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 90% at 50% 120%, rgba(2, 118, 255, .35), transparent 70%), radial-gradient(40% 60% at 20% 120%, rgba(86, 197, 150, .25), transparent 70%); }
.band::after { content: ""; position: absolute; left: 10%; right: 10%; bottom: 0; height: 1px; background: var(--grad); opacity: .8; }
.band__inner { max-width: 820px; margin-inline: auto; display: grid; gap: 22px; justify-items: center; }
.band .lede { margin-inline: auto; }
.band__more { color: var(--mist); }
.band__more a { display: inline-flex; align-items: center; min-height: 24px; color: var(--snow); font-weight: 600; }

/* ---------------------------------------------------------------- newsletter */
.news { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: end; }
.news__form { display: flex; gap: 8px; padding: 8px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); }
.news__form input[type=email] { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 18px; font-size: 17px; color: var(--snow); outline: none; }
.news__form input::placeholder { color: var(--fog); }
.news__form:focus-within { border-color: rgba(86, 197, 150, .7); }
.form-msg { margin-top: 14px; font-size: 15px; color: var(--mist); }
.form-msg[hidden] { display: none; }
@media (max-width: 767px) { .news { grid-template-columns: 1fr; } .news__form { border-radius: 22px; flex-direction: column; } .news__form input[type=email] { min-height: 52px; } }

/* ---------------------------------------------------------------- footer */
.foot { padding: clamp(80px, 10vw, 140px) 0 32px; position: relative; overflow: hidden; }
.foot::before { content: ""; position: absolute; left: 50%; top: 0; width: min(1200px, 90vw); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, rgba(86, 197, 150, .7), rgba(2, 118, 255, .7), transparent); }
.foot__tag { font-size: clamp(44px, 8.6vw, 150px); line-height: .92; letter-spacing: -0.05em; font-weight: 700; max-width: 12ch; }
.foot__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; margin-top: clamp(48px, 7vw, 96px); padding-top: 36px; border-top: 1px solid var(--line); }
.foot__logo img { height: 40px; width: auto; }
.foot__addr { margin-top: 20px; color: var(--mist); font-size: 15px; line-height: 1.6; }
.foot__contact { display: grid; gap: 6px; margin-top: 14px; }
.foot__contact a { display: inline-flex; align-items: center; min-height: 24px; text-decoration: none; font-weight: 600; width: fit-content; }
.foot__contact a:hover { color: var(--green); }
.foot__col h2 { font-size: 13px; font-weight: 600; color: var(--fog); letter-spacing: 0.02em; margin-bottom: 14px; }
.foot__col ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.foot__col a { display: inline-flex; align-items: center; min-height: 24px; text-decoration: none; color: var(--mist); font-size: 15.5px; }
.foot__col a:hover { color: var(--snow); }
.foot__base { margin-top: 56px; display: flex; justify-content: space-between; gap: 16px; color: var(--fog); font-size: 14px; flex-wrap: wrap; }
@media (max-width: 991px) { .foot__grid { grid-template-columns: 1fr 1fr; } .foot__brand { grid-column: 1 / -1; } }
@media (max-width: 767px) { .foot__grid { grid-template-columns: 1fr; } .foot__brand { grid-column: auto; } }

/* ---------------------------------------------------------------- FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; padding: 26px 4px; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq__n { font-size: 14px; font-weight: 600; color: var(--fog); min-width: 2ch; }
.faq__q { font-size: clamp(19px, 1.7vw, 24px); line-height: 1.3; font-weight: 600; letter-spacing: -0.012em; }
.faq__plus { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; flex: none; transition: transform .35s var(--ease), background-color .3s; }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: currentColor; border-radius: 2px; transform: translate(-50%, -50%); }
.faq__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] .faq__plus { transform: rotate(45deg); background: rgba(86, 197, 150, .14); }
.faq__a { padding: 0 64px 28px calc(2ch + 24px); color: var(--mist); max-width: 92ch; }
.faq--plain summary { grid-template-columns: 1fr auto; }
.faq--plain .faq__a { padding-left: 4px; }
.slab .faq, .slab .faq details { border-color: var(--line-paper); }
.slab .faq__a { color: var(--slate); }
@media (max-width: 767px) { .faq__a { padding: 0 4px 24px; } }

/* ---------------------------------------------------------------- documents (rich text on paper or night variants) */
.doc { font-size: 17px; line-height: 1.7; color: #1d2a3a; max-width: 74ch; }
.doc > * + * { margin-top: 1em; }
.doc h2 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.12; letter-spacing: -0.025em; color: var(--ink); margin-top: 1.8em; }
.doc h3 { font-size: clamp(21px, 2vw, 27px); line-height: 1.2; letter-spacing: -0.018em; color: var(--ink); margin-top: 1.6em; }
.doc h4 { font-size: 20px; line-height: 1.3; color: var(--ink); margin-top: 1.6em; }
.doc h5 { font-size: 17px; line-height: 1.35; color: var(--ink); margin-top: 1.4em; font-weight: 600; }
.doc h2:first-child, .doc h3:first-child, .doc h4:first-child { margin-top: 0; }
/* Headings renumbered so no level is skipped (build.py fix_heading_levels) keep the look of their original level */
.doc .doc-h3 { font-size: clamp(21px, 2vw, 27px); line-height: 1.2; letter-spacing: -0.018em; margin-top: 1.6em; font-weight: 700; }
.doc .doc-h4 { font-size: 20px; line-height: 1.3; letter-spacing: normal; margin-top: 1.6em; font-weight: 700; }
.doc .doc-h5, .doc .doc-h5:first-child { font-size: 17px; line-height: 1.35; letter-spacing: normal; margin-top: 1.4em; font-weight: 600; }
.doc .doc-h3:first-child, .doc .doc-h4:first-child { margin-top: 0; }
.doc ul, .doc ol { padding-left: 1.25em; }
.doc li + li { margin-top: .4em; }
.doc li::marker { color: var(--teal); }
.doc strong { color: var(--ink); font-weight: 600; }
.doc a { color: var(--deep-blue); padding-block: 2px; }
.doc--night { color: var(--mist); }
.doc--night h2, .doc--night h3, .doc--night h4, .doc--night h5, .doc--night strong { color: var(--snow); }
.doc--night a { color: var(--snow); }

.docpage { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); padding: clamp(28px, 5vw, 72px); }
.toc { position: sticky; top: 108px; align-self: start; display: grid; gap: 4px; }
.toc a { display: block; padding: 10px 14px; border-radius: 12px; text-decoration: none; color: var(--slate); font-weight: 600; font-size: 18px; border: 1px solid transparent; }
.toc a:hover, .toc a.is-on { color: var(--ink); background: var(--paper-2); border-color: var(--line-paper); }
.docpart + .docpart { margin-top: clamp(48px, 6vw, 80px); padding-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line-paper); }
.docpart__label { font-size: clamp(30px, 3.2vw, 46px); line-height: 1; letter-spacing: -0.03em; font-weight: 700; color: var(--ink); margin-bottom: 28px; }
.docpage--night .doc { color: var(--mist); }
.docpage--night .doc h2, .docpage--night .doc h3, .docpage--night .doc h4,
.docpage--night .doc h5, .docpage--night .doc strong, .docpage--night .docpart__label { color: var(--snow); }
.docpage--night .doc a { color: var(--snow); }
.docpage--night .doc li::marker { color: var(--blue); }
.docpage--night .toc a { color: var(--mist); }
.docpage--night .toc a:hover, .docpage--night .toc a.is-on { color: var(--snow); background: var(--panel-2); border-color: var(--line-2); }
.docpage--night .docpart + .docpart { border-color: var(--line); }
/* Privacy policy (SITE-6 lot 4): training-page document on the night panel, index of the h2 parts; on small screens the
   index sits above and folds, its summary naming the part in view (site.js). */
.docpage--policy { grid-template-columns: 270px minmax(0, 1fr); }
.tocbox { position: sticky; top: 108px; align-self: start; }
.tocbox__sum { display: none; }
.docpage--policy .toc { position: static; max-height: calc(100vh - 140px); overflow-y: auto; }
.docpage--policy .toc a { font-size: 15.5px; line-height: 1.35; padding: 10px 14px; }
.docpage--policy .docpart + .docpart { margin-top: clamp(36px, 4vw, 56px); padding-top: clamp(36px, 4vw, 56px); }
.docpage__end { margin-top: clamp(36px, 4vw, 56px); }
@media (max-width: 991px) {
  .docpage--policy { grid-template-columns: 1fr; }
  .tocbox { position: static; border: 1px solid var(--line-2); border-radius: 16px; background: rgba(19, 40, 66, .72); }
  .tocbox__sum { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 12px 16px; cursor: pointer; list-style: none; font-weight: 600; color: var(--snow); }
  .tocbox__sum::-webkit-details-marker { display: none; }
  .tocbox__sum svg { width: 20px; height: 20px; flex: none; transition: transform .25s var(--ease); }
  .tocbox[open] .tocbox__sum svg { transform: rotate(180deg); }
  .docpage--policy .tocbox .toc { display: grid; gap: 2px; max-height: none; padding: 0 8px 10px; background: none; border: 0; border-radius: 0; }
  .docpage--policy .tocbox .toc a { min-height: 44px; display: flex; align-items: center; font-size: 15.5px; }
}
@media (max-width: 991px) {
  .docpage { grid-template-columns: 1fr; }
  .toc { position: static; display: flex; flex-wrap: wrap; gap: 6px; padding: 6px; background: rgba(238, 242, 247, .92); border-radius: 14px; border: 1px solid var(--line-paper); }
  .docpage--night .toc { background: rgba(19, 40, 66, .72); border-color: var(--line-2); }
  .toc a { font-size: 16px; padding: 8px 12px; }
}
@media (max-width: 479px) {
  .docpage { padding: 32px 24px; }
  .doc ul, .doc ol { padding-left: 1.5em; }
}
@media (max-width: 767px), (max-width: 991px) and (max-height: 479px) and (orientation: landscape) {
  .page-training-item .toc { flex-direction: column; align-items: stretch; gap: 10px; }
  .page-training-item .toc a {
    display: flex; align-items: center; width: 100%; height: 48px; min-height: 48px; flex: 0 0 48px;
    border-color: var(--line-2); background: rgba(10, 22, 40, .42);
  }
  .page-training-item .docpage--night .toc a:hover,
  .page-training-item .docpage--night .toc a.is-on { border-color: var(--line-2); }
}

/* ---------------------------------------------------------------- training item hero */
.thero { display: grid; grid-template-columns: auto 1fr; gap: 28px clamp(24px, 3vw, 44px); align-items: center; }
.thero__icon { width: clamp(164px, 18vw, 220px); aspect-ratio: 13 / 8; position: relative; border-radius: 28px; background: var(--panel-2); display: grid; place-items: center; box-shadow: 0 0 0 1px var(--line-2), 0 30px 80px -24px rgba(2, 118, 255, .65), 0 0 0 10px rgba(2, 118, 255, .06); }
.thero__icon img { position: absolute; inset: 16px; width: calc(100% - 32px); height: calc(100% - 32px); object-fit: contain; }
@media (max-width: 767px) { .thero { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- case study page */
.cstudy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.cstudy__art { border-radius: var(--r-panel); overflow: hidden; background: #070F1C; border: 1px solid var(--line-2); box-shadow: 0 60px 120px -60px rgba(2, 118, 255, .6); }
.cstudy__art img { width: 100%; }
.stack-line { margin-top: 28px; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); }
.stack-line h2 { font-size: 13px; font-weight: 600; color: var(--fog); letter-spacing: .02em; margin-bottom: 6px; }
.stack-line div { font-size: 16px; color: var(--snow); font-weight: 500; }
/* Challenge/Result card (JCO 16/10 14:52Z): Calendly/client-logo blue surface, light ink (Calendly text_color f2f6fb),
   both columns in the same small body style, as on the live Webflow case studies. */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); padding: clamp(28px, 5vw, 72px); background: var(--client-surface); color: var(--snow); }
.duo h2 { font-size: clamp(26px, 2.6vw, 38px); line-height: 1.1; letter-spacing: -0.025em; margin-bottom: 18px; color: var(--snow); }
.duo .doc, .duo__result { font-size: 17px; line-height: 1.7; font-weight: 400; color: var(--snow); max-width: 74ch; }
.duo .doc strong, .duo .doc h2, .duo .doc h3, .duo .doc h4, .duo .doc h5 { color: var(--snow); }
.duo a, .duo .doc a { color: var(--snow); text-decoration: underline; }
@media (max-width: 991px) { .cstudy, .duo { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- about */
.photo { border-radius: var(--r-panel); overflow: hidden; position: relative; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--hero { aspect-ratio: 4 / 5; max-height: 640px; box-shadow: 0 60px 120px -60px rgba(2, 118, 255, .6); }
.photo--hero::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.mission { width: min(100% - 2 * var(--pad), var(--max)); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.mission__copy { min-width: 0; padding: clamp(8px, 2vw, 28px) 0; }
.mission__head { margin-bottom: clamp(30px, 4vw, 52px); }
.mission__video { overflow: hidden; border-radius: var(--r-panel); aspect-ratio: 4 / 3; max-height: 520px; background: var(--panel); border: 1px solid var(--line-2); box-shadow: 0 50px 100px -50px rgba(2, 118, 255, .5); }
.mission__video video, .mission__video img { width: 100%; height: 100%; object-fit: cover; }
.mission__items { display: grid; gap: 28px; }
.mitem { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; }
.mitem__icon { width: 52px; height: 52px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); }
.mitem__icon img { width: 100%; height: 100%; object-fit: contain; }
.mitem p { color: var(--mist); margin-top: 6px; }
@media (max-width: 991px) { .mission { grid-template-columns: 1fr; } .mission__video { width: min(100%, 720px); } }
.office { position: relative; border-radius: var(--r-panel); overflow: hidden; margin-inline: clamp(8px, 1.2vw, 16px); min-height: 640px; display: grid; align-items: end; isolation: isolate; }
.office > picture img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.office::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5, 11, 22, .85), rgba(5, 11, 22, .2) 70%); }
.office__card { margin: clamp(20px, 4vw, 56px); max-width: 520px; padding: clamp(24px, 3vw, 40px); border-radius: var(--r-card); background: rgba(8, 18, 33, .66); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border: 1px solid var(--line-2); text-decoration: none; display: grid; gap: 24px; transition: border-color .3s; }
.office__card:hover { border-color: rgba(86, 197, 150, .6); }
.office__where { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }
.office__where img { width: 36px; height: 36px; object-fit: contain; }
.office__where p { color: var(--mist); margin-top: 6px; font-size: 18px; }

/* ---------------------------------------------------------------- contact */
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.methods { display: grid; gap: 14px; }
.method { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 22px; border-radius: var(--r-card); border: 1px solid var(--line); background: rgba(255, 255, 255, .025); }
.method__icon { width: 48px; height: 48px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); }
.method__icon img { width: 100%; height: 100%; object-fit: contain; }
.method h2 { font-size: 21px; line-height: 1.25; font-weight: 600; }
.method p { color: var(--mist); margin-top: 6px; font-size: 15.5px; }
.method__link { display: inline-block; margin-top: 12px; font-size: clamp(20px, 1.8vw, 24px); font-weight: 700; text-decoration: none; letter-spacing: -0.01em; }
.method__link:hover { color: var(--green); }
.follow { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; border-radius: var(--r-card); border: 1px solid var(--line); text-decoration: none; transition: border-color .3s; }
.follow:hover { border-color: rgba(2, 118, 255, .7); }
.follow h3 { font-size: 20px; font-weight: 600; }
.follow svg { width: 28px; height: 28px; }
.form { padding: clamp(24px, 3.5vw, 48px); }
/* Contact form card on the Calendly blue (JCO 16/10 15:25Z), light text; fields AA: snow 16.7:1 and placeholder fog 5.6:1 on night, border fog 3.9:1 on the card */
.slab.form { background: var(--client-surface); color: var(--snow); color-scheme: dark; }
.slab.form a { color: var(--snow); text-decoration: underline; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--snow); }
.field input, .field textarea { width: 100%; min-height: 54px; padding: 14px 16px; border-radius: var(--r-input); border: 1px solid var(--fog); background: var(--night); color: var(--snow); font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(86, 197, 150, .22); }
.field input::placeholder, .field textarea::placeholder { color: var(--fog); opacity: 1; }
.check { display: flex; gap: 12px; align-items: center; font-weight: 500; color: var(--snow); cursor: pointer; }
.check input { width: 24px; height: 24px; accent-color: var(--teal); flex: none; }
.form .btn { width: 100%; margin-top: 8px; }
.form__done { padding: 28px; border-radius: var(--r-card); background: var(--night); color: var(--snow); }
.form__done h2 { font-size: 28px; color: var(--snow); }
.form__fail { margin-top: 14px; padding: 14px 16px; border-radius: 12px; background: #fde9e7; color: #8a1c12; font-size: 15px; }
.form__fail[hidden], .form__done[hidden] { display: none; }
@media (max-width: 991px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 479px) { .form__grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- 404 */
.nf { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 140px 0 80px; position: relative; overflow: hidden; isolation: isolate; }
.nf__particles { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .62; pointer-events: none; }
.nf__inner { display: grid; gap: 22px; justify-items: center; }
.nf .lede a { color: var(--snow); font-weight: 600; }
.nf .lede a:hover { color: var(--green); }

/* ---------------------------------------------------------------- utilities */
.mt-s { margin-top: 16px; } .mt-m { margin-top: 32px; } .mt-l { margin-top: clamp(40px, 5vw, 72px); }
.center { text-align: center; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); }
@media (max-width: 767px) { .grid-2 { grid-template-columns: 1fr; } }
.only-m { display: none !important; }
@media (max-width: 479px) { .only-m { display: block !important; } .only-d { display: none !important; } }

/* Webflow-derived responsive rhythm: 991 / 767 / 479. */
@media (max-width: 991px) {
  :root { --sec: 80px; --pad: 24px; }
  .display { font-size: 72px; }
  .display--m { font-size: 52px; }
  .h2 { font-size: 34px; }
  .h3 { font-size: 22px; }
}
@media (max-width: 767px) {
  :root { --sec: 72px; --pad: 20px; }
  .display { font-size: 58px; }
  .display--m { font-size: 40px; }
  .h2 { font-size: 28px; }
  .office { min-height: 520px; }
}
@media (max-width: 479px) {
  :root { --sec: 64px; --pad: 16px; }
  .display { font-size: 40px; }
  .display--m { font-size: 34px; }
  .h2 { font-size: 26px; }
  .phero { padding-top: 116px; }
  .office { min-height: 460px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* form honeypot: out of sight for people, filled only by bots */
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
