@charset "utf-8";
/*
  Avohi website stylesheet
  Brand blue #130db5 comes from the official logo files.
  Fonts: Sora (display), IBM Plex Sans (body), IBM Plex Mono (labels), loaded from Google Fonts in index.html.
*/
/* Layout: alternating white and deep-navy bands, left-aligned editorial grid, electric-blue accent used sparingly. Single committed look (brand), colours set explicitly. */
:root {
  --blue: #130db5;        /* Avohi brand blue, from the official logo files */
  --blue-bright: #3e4bcb;
  --blue-soft: #e4e3ff;
  --navy: #14163c;        /* blue-leaning navy so the brand blue reads as one family */
  --navy-deep: #0c0d2a;
  --ink: #171a2b;
  --ink-2: #4d5170;
  --line: #dcdcec;
  --paper: #ffffff;
  --paper-2: #f5f5fb;
  --on-dark: #eef0ff;
  --on-dark-2: #a9aed0;

  --f-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --f-body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --s-1: clamp(2.4rem, 5.6vw, 4.4rem);
  --s-2: clamp(1.8rem, 3.4vw, 2.6rem);
  --s-3: 1.3rem;
  --s-body: 1.02rem;
  --s-small: .88rem;

  --wrap: 1180px;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
img { max-width: 100%; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { background: var(--paper); color: var(--ink); font-family: var(--f-body); font-size: var(--s-body); line-height: 1.6; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--paper); }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 300; line-height: 1.12; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
h3 { font-weight: 600; font-size: 1.08rem; letter-spacing: -.005em; line-height: 1.3; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.band { padding-block: clamp(52px, 6.5vw, 92px); }
.band--tint { background: var(--paper-2); }
.band--dark { background: var(--navy); color: var(--on-dark); }
.eyebrow { font-family: var(--f-mono); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); display: block; margin-bottom: 18px; }
.band--dark .eyebrow { color: #9aa3ff; }
.lede { font-size: 1.14rem; color: var(--ink-2); max-width: 62ch; }
.band--dark .lede { color: var(--on-dark-2); }
.head { display: grid; gap: 14px; margin-bottom: clamp(26px, 3.5vw, 44px); max-width: 760px; }
.head .eyebrow { margin-bottom: 0; }
.head h2 { font-size: var(--s-2); }

/* ---------- Header ---------- */
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: var(--ink); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; }
.logo { display: inline-flex; align-items: center; text-decoration: none; line-height: 0; }
.logo img { display: block; height: 26px; width: auto; max-width: none; }
.foot .logo img { height: 30px; }
.nav { display: flex; align-items: center; gap: 28px; font-size: .92rem; }
.nav a { text-decoration: none; color: var(--ink-2); transition: color .15s; }
.nav a:hover { color: var(--blue); }
.nav a.btn--blue, .nav a.btn--blue:hover { color: #fff; }
.btn { display: inline-flex; align-items: center; gap: 10px; font: 500 .95rem/1 var(--f-body); padding: 14px 22px; border-radius: 3px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-bright); }
.btn--ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn--ghost:hover { border-color: #fff; }
.btn--sm { padding: 10px 16px; font-size: .88rem; }
.btn svg { width: 16px; height: 16px; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--ink); border-radius: 3px; padding: 8px 12px; font: 500 .85rem var(--f-body); cursor: pointer; }
@media (max-width: 920px) {
  .menu-btn { display: inline-block; }
  .nav { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); padding: 8px var(--gutter-r) 20px var(--gutter-l); border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px -16px rgba(20,22,60,.25); }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 14px; justify-content: center; }
  .nav:not(.is-open) { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; background: var(--navy-deep) url("../assets/img/horizon.jpg") center 62% / cover no-repeat; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,11,42,.93) 0%, rgba(10,11,42,.72) 48%, rgba(10,11,42,.18) 100%), linear-gradient(0deg, rgba(10,11,42,.85) 0%, rgba(10,11,42,0) 40%); }
.hero .wrap { position: relative; padding-block: clamp(80px, 11vw, 140px) clamp(48px, 6vw, 80px); }
.hero h1 { font-size: var(--s-1); max-width: 15ch; }
.hero h1 em { font-style: normal; color: #a9b0ff; }
.hero__sub { margin-top: 26px; font-size: 1.16rem; color: #cfd3f2; max-width: 52ch; }
.hero__cta { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__strip { margin-top: clamp(56px, 8vw, 96px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,.18); }

/* ---------- MetaMorph: particle metamorphosis, four wings = four areas ---------- */
.morph { position: relative; background: var(--navy-deep); color: var(--on-dark); overflow: hidden; }
.morph::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 62% 50%, rgba(26,20,184,.42), rgba(12,13,42,0) 70%); pointer-events: none; }
.morph .wrap { position: relative; padding-block: clamp(56px, 7vw, 96px); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.morph__intro { display: grid; gap: 22px; align-content: start; }
.morph__intro .eyebrow { margin: 0; color: #9aa3ff; }
.morph__intro h2 { font-size: var(--s-2); }
.morph__intro h2 i { font-style: normal; color: #a9b0ff; }
.morph__intro p { color: var(--on-dark-2); max-width: 46ch; }

.stages { margin-top: 10px; display: grid; gap: 14px; }
.stages__track { position: relative; height: 28px; }
.stages input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; margin: 0; cursor: pointer; position: relative; z-index: 1; }
.stages input[type=range]::-webkit-slider-runnable-track { height: 2px; background: rgba(169,176,255,.28); }
.stages input[type=range]::-moz-range-track { height: 2px; background: rgba(169,176,255,.28); }
.stages input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -8px; border-radius: 50%; background: #fff; border: 4px solid var(--blue); box-shadow: 0 0 0 6px rgba(26,20,184,.35); }
.stages input[type=range]::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 4px solid var(--blue); box-shadow: 0 0 0 6px rgba(26,20,184,.35); }
.stages__fill { position: absolute; left: 0; top: 13px; height: 2px; background: #a9b0ff; width: 100%; pointer-events: none; }
.stages__labels { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-2); }
.stages__labels button { background: none; border: 0; padding: 0; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; }
.stages__labels button.is-on { color: #fff; }
.stages__replay { justify-self: start; display: inline-flex; align-items: center; gap: 8px; background: none; border: 1px solid rgba(169,176,255,.35); color: #dfe2ff; border-radius: 3px; font: 500 .82rem var(--f-body); padding: 8px 12px; cursor: pointer; }
.stages__replay:hover { border-color: #fff; color: #fff; }
.stages__replay svg { width: 14px; height: 14px; }

.stage { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.3fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 0 12px; align-items: center; }
.stage canvas { grid-column: 2; grid-row: 1 / span 2; width: 100%; aspect-ratio: 1 / 1; max-width: 100%; display: block; touch-action: pan-y; }
.wing { position: relative; display: grid; gap: 8px; padding: 16px 0; background: none; border: 0; color: inherit; font: inherit; text-align: left; cursor: pointer; transition: opacity .3s; }
.wing--r { text-align: right; justify-items: end; }
.wing[data-w="0"] { grid-column: 1; grid-row: 1; }
.wing[data-w="1"] { grid-column: 3; grid-row: 1; }
.wing[data-w="2"] { grid-column: 1; grid-row: 2; }
.wing[data-w="3"] { grid-column: 3; grid-row: 2; }
.wing--top { align-self: start; margin-top: 8%; }
.wing--bot { align-self: end; margin-bottom: 10%; }
.wing__k { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: #8f97e6; display: flex; align-items: center; gap: 8px; }
.wing__k::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.wing--r .wing__k { flex-direction: row-reverse; }
.wing b { font-family: var(--f-display); font-weight: 400; font-size: 1.22rem; letter-spacing: -.01em; color: #fff; line-height: 1.2; }
.wing span.d { font-size: .9rem; color: var(--on-dark-2); line-height: 1.5; }
.stage.has-focus .wing { opacity: .38; }
.stage.has-focus .wing.is-on { opacity: 1; }
.wing.is-on .wing__k { color: #fff; }
@media (max-width: 980px) {
  .morph .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .stage { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto auto; gap: 4px 18px; }
  .stage canvas { grid-column: 1 / -1; grid-row: 1; }
  .wing, .wing--r { text-align: left; justify-items: start; align-self: start; margin: 0; padding: 10px 0; }
  .wing--r .wing__k { flex-direction: row; }
  .wing[data-w="0"] { grid-column: 1; grid-row: 2; }
  .wing[data-w="1"] { grid-column: 2; grid-row: 2; }
  .wing[data-w="2"] { grid-column: 1; grid-row: 3; }
  .wing[data-w="3"] { grid-column: 2; grid-row: 3; }
}


/* ---------- Founders ---------- */
.founders { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 90px); align-items: center; }
.founders__story { display: grid; gap: 18px; color: var(--ink-2); max-width: 60ch; }
.founders__story h2 { color: var(--ink); font-size: var(--s-2); margin-bottom: 8px; }
.founders__story blockquote { margin: 6px 0; padding-left: 20px; border-left: 2px solid var(--blue); font-family: var(--f-display); font-weight: 300; font-size: 1.2rem; line-height: 1.45; color: var(--ink); }
.people { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; max-width: 340px; justify-self: end; }
.person { display: grid; gap: 12px; min-width: 0; }
.person img { aspect-ratio: 1; width: 100%; max-width: 100%; object-fit: cover; border-radius: 2px; background: var(--paper-2); }
.person b { font-family: var(--f-display); font-weight: 400; font-size: 1.08rem; display: block; }
.person span { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
@media (max-width: 860px) { .founders { grid-template-columns: 1fr; } .people { justify-self: start; } }

/* ---------- Contact ---------- */
.contact { position: relative; color: #fff; background: var(--navy-deep); overflow: hidden; }
.contact::before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, var(--blue) 0%, #2b2fc4 45%, #4f65d4 100%); }
.contact .wrap { position: relative; padding-block: clamp(56px, 7vw, 96px); display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: end; }
.contact h2 { font-size: var(--s-2); max-width: 18ch; }
.contact p.lede { color: #dfe1ff; margin-top: 20px; }
.contact__card { display: grid; gap: 18px; }
.contact__row { display: grid; gap: 4px; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.22); }
.contact__row:last-child { border-bottom: 0; padding-bottom: 0; }
.contact__row small { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: #c7caff; }
.contact__val { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 1.08rem; user-select: all; }
.contact__val span { user-select: text; overflow-wrap: anywhere; }
.copy { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.3); border-radius: 3px; font: 500 .76rem var(--f-mono); letter-spacing: .06em; padding: 5px 9px; cursor: pointer; user-select: none; }
.copy:hover { background: rgba(255,255,255,.22); }
.contact address { font-style: normal; color: #e6e7ff; font-size: .98rem; }
@media (max-width: 860px) { .contact .wrap { grid-template-columns: 1fr; align-items: start; } }

/* ---------- Footer ---------- */
.foot { background: var(--paper); color: var(--ink-2); font-size: .88rem; border-top: 1px solid var(--line); }
.foot .wrap { padding-block: 34px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.foot .logo { color: var(--blue); }
.foot nav { display: flex; flex-wrap: wrap; gap: 22px; }
.foot nav a { text-decoration: none; }
.foot nav a:hover { color: var(--blue); }

/* ---------- Forms (shared) ---------- */
.formcard { background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 4px; padding: clamp(22px, 3vw, 34px); display: grid; gap: 18px; box-shadow: 0 30px 60px -40px rgba(12,13,42,.55); min-width: 0; }
.formcard h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.3rem; letter-spacing: -.01em; }
.formcard__sub { color: var(--ink-2); font-size: .92rem; margin-top: -8px; }
.fgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.fgrid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .fgrid { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .field .lbl { font-size: .84rem; font-weight: 500; color: var(--ink); }
.field label .opt { font-weight: 400; color: var(--ink-2); }
.field input, .field select, .field textarea { width: 100%; font: 400 .98rem var(--f-body); color: var(--ink); background: var(--paper); border: 1px solid #c9c9de; border-radius: 3px; padding: 11px 13px; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 112px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%234d5170' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; background-size: 11px; padding-right: 36px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26,20,184,.14); }
.field [aria-invalid="true"] { border-color: #c0262d; }
.field__err { font-size: .8rem; color: #c0262d; min-height: 0; }
.field__err:empty { display: none; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: var(--ink-2); }
.check input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--blue); flex: none; }
.check a { color: var(--blue); }
.formfoot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.formfoot small { color: var(--ink-2); font-size: .82rem; }
.formfoot .btn:disabled { opacity: .7; cursor: progress; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--blue); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }

.topics { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; min-width: 0; }
.topics legend { font-size: .84rem; font-weight: 500; padding: 0; margin-bottom: 10px; }
.topics__row { display: flex; flex-wrap: wrap; gap: 8px; }
.topics input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.topics label { padding: 9px 14px; border: 1px solid #c9c9de; border-radius: 999px; font-size: .88rem; cursor: pointer; transition: background .15s, color .15s, border-color .15s; user-select: none; }
.topics label:hover { border-color: var(--blue); }
.topics input:checked + label { background: var(--blue); border-color: var(--blue); color: #fff; }
.topics input:focus-visible + label { outline: 2px solid var(--blue-bright); outline-offset: 2px; }

.drop { position: relative; display: grid; gap: 4px; justify-items: start; padding: 16px; border: 1.5px dashed #b9b9d6; border-radius: 3px; background: var(--paper-2); cursor: pointer; transition: border-color .15s, background .15s; }
.drop:hover, .drop.is-over { border-color: var(--blue); background: var(--blue-soft); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.drop b { font-weight: 500; font-size: .92rem; }
.drop b span { color: var(--blue); text-decoration: underline; }
.drop small { color: var(--ink-2); font-size: .8rem; }
.drop .fname { font-family: var(--f-mono); font-size: .8rem; color: var(--blue); overflow-wrap: anywhere; }
.drop[aria-invalid="true"] { border-color: #c0262d; }

.sent { display: grid; gap: 12px; justify-items: start; padding: 8px 0; }
.sent__tick { width: 40px; height: 40px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; }
.sent__tick svg { width: 20px; height: 20px; }
.sent h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.3rem; }
.sent p { color: var(--ink-2); font-size: .95rem; max-width: 48ch; }

/* ---------- Careers ---------- */
.careers { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(36px, 5vw, 72px); align-items: start; }
.careers__intro { display: grid; gap: 18px; }
.careers__intro h2 { font-size: var(--s-2); }
.careers__intro p { color: var(--ink-2); max-width: 54ch; }
.roles { list-style: none; margin: 10px 0 0; padding: 0; border-top: 1px solid var(--line); }
.roles li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.roles b { font-weight: 500; }
.roles button { flex: none; font: 500 .84rem var(--f-body); color: var(--blue); background: none; border: 1px solid transparent; border-radius: 3px; padding: 7px 10px; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.roles button:hover { border-color: var(--blue); }
.roles button svg { width: 13px; height: 13px; }
.careers__mail { font-size: .95rem; color: var(--ink-2); }
.careers__mail span { color: var(--ink); font-weight: 500; user-select: all; }
@media (max-width: 900px) { .careers { grid-template-columns: 1fr; } }

/* ---------- Contact (rebuilt) ---------- */
.contact .wrap { align-items: start; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
.contact__side { display: grid; gap: 34px; align-content: start; }
.contact__card { margin-top: 4px; }
.social { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.social a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; padding: 8px 13px; border-radius: 3px; font-size: .88rem; font-weight: 500; transition: background .15s, border-color .15s, color .15s; }
.social svg { width: 12px; height: 12px; }
.contact .social a { border: 1px solid rgba(255,255,255,.35); color: #fff; }
.contact .social a:hover { background: rgba(255,255,255,.14); border-color: #fff; }
@media (max-width: 860px) { .contact .wrap { grid-template-columns: 1fr; } }

/* ---------- Offices ---------- */
.offices { background: var(--navy-deep); color: var(--on-dark); }
.offices .wrap { padding-block: clamp(48px, 6vw, 80px); }
.offices__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 34px; }
.offices__head h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.offices__head p { color: var(--on-dark-2); max-width: 44ch; font-size: .95rem; }
.offices__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; background: rgba(255,255,255,.08); }
.office { background: var(--navy-deep); padding: 26px 24px 28px 0; display: grid; gap: 10px; align-content: start; min-width: 0; }
.office + .office { padding-left: 24px; }
.office__k { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: #9aa3ff; display: flex; gap: 8px; align-items: center; }
.office__hq { color: #fff; background: var(--blue); padding: 2px 6px; border-radius: 2px; letter-spacing: .08em; }
.office b { font-family: var(--f-display); font-weight: 400; font-size: 1.25rem; color: #fff; }
.office time { font-family: var(--f-mono); font-variant-numeric: tabular-nums; font-size: 1.6rem; color: #fff; letter-spacing: -.01em; }
.office time small { font-size: .72rem; color: var(--on-dark-2); margin-left: 6px; letter-spacing: .06em; }
.office address { font-style: normal; font-size: .88rem; color: var(--on-dark-2); line-height: 1.55; }
.office .mail { font-size: .9rem; color: #c4c9ff; user-select: all; overflow-wrap: anywhere; }
@media (max-width: 1000px) { .offices__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .office, .office + .office { padding: 24px 20px; } }
@media (max-width: 560px) { .offices__grid { grid-template-columns: 1fr; } }

/* ---------- Footer (rebuilt) ---------- */
.foot .wrap { display: block; padding-block: clamp(40px, 5vw, 60px) 28px; }
.foot__top { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.foot__top p { font-family: var(--f-display); font-weight: 300; font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.15; letter-spacing: -.02em; color: var(--ink); max-width: 20ch; }
.foot__cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.4fr; gap: 32px; padding-block: 40px; }
.foot__cols h4 { margin: 0 0 14px; font-family: var(--f-mono); font-weight: 500; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.foot__cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot__cols a { text-decoration: none; }
.foot__cols a:hover { color: var(--blue); }
.foot__brand { display: grid; gap: 14px; align-content: start; }
.foot__brand p { max-width: 34ch; }
.foot__stay p { margin-bottom: 14px; max-width: 34ch; }
.foot .social a { border: 1px solid var(--line); color: var(--ink); }
.foot .social a:hover { border-color: var(--blue); color: var(--blue); }
.foot__contact { margin-top: 16px; display: grid; gap: 4px; }
.foot__contact span { user-select: all; color: var(--ink); }
.foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .84rem; }
.foot__bottom div { display: flex; flex-wrap: wrap; gap: 20px; }
.foot__bottom .linkbtn { color: var(--ink-2); text-decoration: none; }
.foot__bottom .linkbtn:hover { color: var(--blue); }
@media (max-width: 900px) { .foot__cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot__cols { grid-template-columns: 1fr; } }

/* ---------- Cookie consent ---------- */
.cookie { position: fixed; z-index: 80; left: max(16px, env(safe-area-inset-left, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px)); width: min(440px, calc(100% - 32px)); background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 4px; box-shadow: 0 24px 60px -20px rgba(12,13,42,.45); padding: 20px 20px 18px; display: grid; gap: 14px; animation: cookieIn .4s ease-out both; }
@keyframes cookieIn { from { transform: translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }
.cookie h2 { font-family: var(--f-display); font-weight: 400; font-size: 1.05rem; letter-spacing: 0; }
.cookie p { font-size: .88rem; color: var(--ink-2); line-height: 1.5; }
.cookie__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie__btns .btn { padding: 10px 14px; font-size: .86rem; }
.btn--line { border-color: #c9c9de; color: var(--ink); background: var(--paper); }
.btn--line:hover { border-color: var(--blue); color: var(--blue); }

.cdlg { border: 0; padding: 0; border-radius: 6px; width: min(560px, calc(100% - 32px)); max-height: calc(100% - 48px); background: var(--paper); color: var(--ink); box-shadow: 0 40px 90px -30px rgba(12,13,42,.6); }
.cdlg::backdrop { background: rgba(12,13,42,.55); }
.cdlg__in { padding: clamp(22px, 4vw, 32px); display: grid; gap: 18px; }
.cdlg__head { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.cdlg__head h2 { font-size: 1.4rem; font-weight: 400; }
.cdlg__x { background: none; border: 1px solid var(--line); border-radius: 3px; width: 34px; height: 34px; display: grid; place-items: center; cursor: pointer; color: var(--ink); flex: none; }
.cdlg__x svg { width: 14px; height: 14px; }
.cdlg p { color: var(--ink-2); font-size: .93rem; }
.cat { border: 1px solid var(--line); border-radius: 4px; padding: 16px; display: grid; gap: 8px; }
.cat__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cat__row b { font-weight: 600; font-size: .95rem; }
.cat p { font-size: .86rem; }
.cat__always { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.switch { position: relative; width: 42px; height: 24px; flex: none; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: #c9c9de; transition: background .15s; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .15s; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.switch input:checked + span { background: var(--blue); }
.switch input:checked + span::after { transform: translateX(18px); }
.switch input:focus-visible + span { outline: 2px solid var(--blue-bright); outline-offset: 2px; }
.cdlg__btns { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }

/* ---------- Utility classes (moved out of inline styles) ---------- */
.eyebrow--hero { color: #a9b0ff; }
.eyebrow--flush { margin: 0; }
.eyebrow--contact { color: #c7caff; }
.eyebrow--offices { color: #9aa3ff; }
.person { margin: 0; }
.js-body { display: grid; gap: 18px; }

/* ---------- How we work ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: none; }
.steps li { position: relative; display: grid; gap: 12px; align-content: start; padding: 26px 24px 0 0; border-top: 2px solid var(--line); min-width: 0; }
.steps li::before { content: ""; position: absolute; left: 0; top: -2px; width: 44px; height: 2px; background: var(--blue); }
.steps li + li { padding-left: 24px; }
.steps li + li::before { left: 24px; }
.steps__n { font-family: var(--f-mono); font-size: .8rem; color: var(--blue); letter-spacing: .08em; }
.steps h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.25rem; letter-spacing: -.01em; }
.steps p { color: var(--ink-2); font-size: .96rem; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 34px; } .steps li:nth-child(3) { padding-left: 0; } .steps li:nth-child(3)::before { left: 0; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } .steps li, .steps li + li { padding-left: 0; } .steps li::before, .steps li + li::before { left: 0; } }

/* ---------- Hero: offering links ---------- */
.hero__strip a { padding: 22px 24px 0 0; display: grid; gap: 6px; min-width: 0; text-decoration: none; color: #fff; }
.hero__strip a b { font-family: var(--f-display); font-weight: 400; font-size: 1.05rem; display: inline-flex; align-items: center; gap: 8px; }
.hero__strip a b::after { content: "→"; font-family: var(--f-body); color: #a9b0ff; transition: transform .2s; }
.hero__strip a:hover b::after { transform: translateX(4px); }
.hero__strip a span { font-size: .9rem; color: #b3b8dc; }
@media (max-width: 720px) { .hero__strip { grid-template-columns: 1fr; } .hero__strip a { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.1); } }

/* =====================================================================
   v2: visual redesign of What we do, Problems we solve, Case studies
   Each service has its own shade and glyph, reused across all three sections.
   ===================================================================== */
:root {
  --o-consult: #14163c;   /* Transformation consulting */
  --o-turnkey: #130db5;   /* Turnkey & R&D projects */
  --o-augment: #5560f0;   /* Augmentation services */
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- What we do: journey chart ---------- */
.journey { border: 1px solid var(--line); background: var(--paper); padding: clamp(18px, 3vw, 32px); display: grid; gap: 10px; margin-bottom: 28px; }
.journey__stages, .journey__row { display: grid; grid-template-columns: minmax(170px, 1.35fr) repeat(5, minmax(0, 1fr)); column-gap: 6px; align-items: center; }
.journey__stages { margin-bottom: 8px; }
.journey__stages span { position: relative; padding-top: 18px; font-size: .82rem; font-weight: 500; color: var(--ink); line-height: 1.3; }
.journey__stages span:not(:first-child) { border-top: 2px solid var(--line); }
.journey__stages span:not(:first-child)::before { content: ""; position: absolute; left: 0; top: -6px; width: 10px; height: 10px; border-radius: 50%; background: var(--paper); border: 2px solid var(--blue); }
.journey__stages b { display: block; font-family: var(--f-mono); font-weight: 500; font-size: .7rem; color: var(--blue); letter-spacing: .08em; margin-bottom: 2px; }
.journey__row { text-decoration: none; color: var(--ink); padding: 4px 0; border-radius: 4px; }
.journey__name { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: .92rem; padding-right: 12px; }
.journey__name svg { width: 22px; height: 22px; flex: none; color: var(--blue); }
.journey__bar { display: flex; align-items: center; min-height: 48px; padding: 8px 30px 8px 16px; font-size: .88rem; font-weight: 500; color: #fff; line-height: 1.3; clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%); transition: transform .2s, filter .2s; }
.journey__bar--consult { background: var(--o-consult); grid-column: 2 / 6; }
.journey__bar--turnkey { background: var(--o-turnkey); grid-column: 3 / 7; }
.journey__bar--augment { background: var(--o-augment); grid-column: 4 / 7; }
.journey__bar--all { grid-column: 2 / 7; background: repeating-linear-gradient(135deg, var(--blue-soft) 0 10px, #eeeeff 10px 20px); color: var(--blue); font-weight: 600; }
.journey__row--all { margin-top: 6px; padding-top: 12px; border-top: 1px dashed var(--line); }
.journey__row--all .journey__name { font-family: var(--f-display); font-weight: 600; letter-spacing: .1em; color: var(--blue); }
a.journey__row:hover .journey__bar, a.journey__row:focus-visible .journey__bar { transform: translateX(4px); filter: brightness(1.15); }
@media (max-width: 760px) {
  .journey__stages, .journey__row { grid-template-columns: repeat(5, minmax(0, 1fr)); row-gap: 6px; }
  .journey__stages span:first-child { display: none; }
  .journey__stages span { font-size: .7rem; }
  .journey__name { grid-column: 1 / -1; font-size: .86rem; }
  .journey__bar { font-size: .78rem; min-height: 40px; padding: 6px 22px 6px 10px; }
  .journey__bar--consult { grid-column: 1 / 5; }
  .journey__bar--turnkey { grid-column: 2 / 6; }
  .journey__bar--augment { grid-column: 3 / 6; }
  .journey__bar--all { grid-column: 1 / 6; }
}

/* ---------- What we do: service cards ---------- */
.offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.offer { --c: var(--o-turnkey); display: flex; flex-direction: column; gap: 14px; background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--c); padding: 26px 24px 26px; min-width: 0; scroll-margin-top: 90px; transition: box-shadow .2s, transform .2s; }
.offer--consult { --c: var(--o-consult); }
.offer--augment { --c: var(--o-augment); }
.offer.is-hot, .offer:target { box-shadow: 0 0 0 2px var(--c), 0 24px 50px -30px rgba(12,13,42,.5); transform: translateY(-2px); }
.offer__top { display: flex; align-items: center; gap: 12px; }
.offer__glyph { width: 42px; height: 42px; border-radius: 3px; background: var(--c); color: #fff; display: grid; place-items: center; flex: none; }
.offer__glyph svg { width: 24px; height: 24px; }
.offer__k { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--c); line-height: 1.4; }
.offer--consult .offer__k { color: var(--ink); }
.offer h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.35rem; line-height: 1.2; letter-spacing: -.015em; }
.offer > p { color: var(--ink-2); font-size: .95rem; }
.offer__say { font-family: var(--f-display); font-weight: 300; font-size: 1rem !important; line-height: 1.45; color: var(--ink) !important; padding-left: 12px; border-left: 2px solid var(--c); }
.offer__box { background: var(--paper-2); border-radius: 3px; padding: 14px 16px; display: grid; gap: 10px; }
.offer__box p { font-size: .9rem; color: var(--ink); }
.offer__bk { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--c); }
.offer--consult .offer__bk { color: var(--ink-2); }
.offer__tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.offer__tags li { font-size: .8rem; font-weight: 500; padding: 5px 9px; border-radius: 2px; background: var(--paper); color: var(--ink); border: 1px solid var(--line); }
.offer__note { font-size: .86rem !important; }
.offer__note a { color: var(--blue); }
.offer .btn { margin-top: auto; align-self: flex-start; white-space: nowrap; }
@media (max-width: 980px) { .offers { grid-template-columns: 1fr; } }

/* ---------- Problems we solve: tiles ---------- */
.pts-scroll { margin: 0 -4px; padding: 4px 4px 14px; }
.pts { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.pt { --c: var(--o-turnkey); position: relative; display: grid; gap: 8px; align-content: start; justify-items: start; text-align: left; padding: 16px 14px 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 3px; color: var(--ink); font: inherit; cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.pt--consult { --c: var(--o-consult); }
.pt--augment { --c: var(--o-augment); }
.pt::after { content: ""; position: absolute; left: -1px; right: -1px; bottom: -1px; height: 3px; background: var(--c); border-radius: 0 0 3px 3px; }
.pt:hover { border-color: var(--blue); }
.pt__icon { width: 26px; height: 26px; color: var(--blue); }
.pt__label { font-weight: 600; font-size: .92rem; line-height: 1.25; }
.pt__tag { font-family: var(--f-mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.pt[aria-selected="true"] { background: var(--navy-deep); border-color: var(--navy-deep); color: #fff; }
.pt[aria-selected="true"] .pt__icon { color: #a9b0ff; }
.pt[aria-selected="true"] .pt__tag { color: #a9b0ff; }
.pt[aria-selected="true"]::before { content: ""; position: absolute; left: 50%; bottom: -13px; width: 12px; height: 12px; background: var(--navy-deep); transform: translateX(-50%) rotate(45deg); }
@media (max-width: 1000px) {
  .pts-scroll { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
  .pts { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 148px; }
  .pt { scroll-snap-align: start; }
}

/* ---------- Problems we solve: before / after panel ---------- */
.pb { margin-top: 4px; background: var(--paper); border: 1px solid var(--line); padding: clamp(22px, 4vw, 44px); display: grid; gap: 26px; outline: none; animation: psIn .35s ease-out both; scroll-margin-top: 80px; }
@keyframes psIn { from { opacity: .4; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.pb__quote { font-family: var(--f-display); font-weight: 300; font-size: clamp(1.4rem, 2.8vw, 2.1rem); line-height: 1.25; letter-spacing: -.02em; color: var(--ink); max-width: 34ch; text-wrap: balance; }
.pb__k { display: block; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
.pb__flip { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.5fr); gap: 16px; align-items: stretch; }
.pb__today { border: 1.5px dashed #c3c3da; border-radius: 4px; padding: 22px; color: var(--ink-2); background: repeating-linear-gradient(135deg, var(--paper) 0 12px, var(--paper-2) 12px 24px); }
.pb__today .pb__k { color: var(--ink-2); }
.pb__today p { font-size: 1rem; line-height: 1.6; }
.pb__arrow { align-self: center; width: 46px; height: 46px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; }
.pb__arrow svg { width: 20px; height: 20px; }
.pb__fix { background: var(--blue); color: #fff; border-radius: 4px; padding: 22px 24px; display: grid; gap: 12px; align-content: start; }
.pb__fix .pb__k { color: #c4c9ff; margin-bottom: 0; }
.pb__fix h3 { font-family: var(--f-display); font-weight: 300; font-size: clamp(1.3rem, 2.2vw, 1.65rem); line-height: 1.2; letter-spacing: -.015em; }
.pb__fix ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pb__fix li { position: relative; padding-left: 28px; font-size: .95rem; color: #e8e9ff; }
.pb__fix li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: rgba(255,255,255,.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.6 2.5L13 6.5' fill='none' stroke='%23fff' stroke-width='1.8'/%3E%3C/svg%3E") center / 18px no-repeat; }
.pb__foot { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.pb__proof .pb__k, .pb__via .pb__k { color: var(--ink-2); }
.pb__cases { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.pb__cases li { border: 1px solid var(--line); border-left: 3px solid var(--blue); border-radius: 3px; padding: 12px 14px; display: grid; gap: 4px; background: var(--paper); }
.pb__cases b { font-size: .9rem; font-weight: 600; }
.pb__cases span { font-size: .86rem; color: var(--ink-2); line-height: 1.5; }
.pb__cases--tags { display: flex; flex-wrap: wrap; }
.pb__cases--tags li { padding: 8px 12px; }
.via { --c: var(--o-turnkey); display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px 11px 12px; border-radius: 3px; background: var(--c); color: #fff; text-decoration: none; font-weight: 500; font-size: .9rem; transition: filter .15s; }
.via--consult { --c: var(--o-consult); }
.via--augment { --c: var(--o-augment); }
.via:hover { filter: brightness(1.15); }
.via svg { width: 22px; height: 22px; flex: none; }
.pb__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.pb__actions a.linkbtn { text-decoration: underline; }
.ps__other { margin-top: 22px; color: var(--ink-2); }
.ps__other a { color: var(--blue); }
@media (max-width: 860px) {
  .pb__flip { grid-template-columns: 1fr; }
  .pb__arrow { justify-self: center; transform: rotate(90deg); }
  .pb__foot { grid-template-columns: 1fr; }
}

/* ---------- Case studies: story cards ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button { display: inline-flex; align-items: center; gap: 8px; font: 500 .88rem var(--f-body); padding: 9px 14px; border-radius: 3px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; }
.filters button svg { width: 16px; height: 16px; color: var(--blue); }
.filters button .n { font-family: var(--f-mono); font-size: .74rem; opacity: .6; }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.filters button[aria-pressed="true"] svg { color: #a9b0ff; }
.cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.cs { background: var(--paper); border: 1px solid var(--line); padding: 26px; display: grid; gap: 16px; align-content: start; min-width: 0; }
.cs.is-wide { grid-column: 1 / -1; }
.cs__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.cs__client { font-weight: 600; font-size: .9rem; margin-right: 2px; }
.cs__tech { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); background: var(--blue-soft); padding: 3px 7px; border-radius: 2px; }
.cs__nda { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .08em; color: var(--ink-2); border: 1px solid var(--line); padding: 2px 6px; border-radius: 2px; }
.cs h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.3rem; line-height: 1.25; letter-spacing: -.01em; }
.cs__k { display: block; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 8px; }
.cs__challenge { font-size: 1rem; color: var(--ink); }
.cs__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cs__steps li { position: relative; padding-left: 24px; font-size: .92rem; color: var(--ink-2); line-height: 1.5; }
.cs__steps li::before { content: ""; position: absolute; left: 0; top: .42em; width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--blue); background: var(--paper); z-index: 1; }
.cs__steps li::after { content: ""; position: absolute; left: 5.5px; top: 1.1em; bottom: -12px; width: 1.5px; background: var(--line); }
.cs__steps li:last-child::after { display: none; }
.cs__probs { list-style: none; margin: 4px 0 0; padding: 14px 0 0; display: flex; flex-wrap: wrap; gap: 6px; border-top: 1px solid var(--line); }
.cs__probs li { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 500; color: var(--blue); background: var(--blue-soft); padding: 4px 9px 4px 7px; border-radius: 2px; }
.cs__probs svg { width: 15px; height: 15px; }

.cs--feature { grid-column: 1 / -1; background: var(--navy-deep); color: #fff; border-color: var(--navy-deep); padding: clamp(26px, 4vw, 44px); gap: 22px; }
.cs--feature .cs__client { color: #fff; }
.cs--feature .cs__tech { background: rgba(255,255,255,.1); color: #c4c9ff; }
.cs--feature .cs__nda { color: #c4c9ff; border-color: rgba(255,255,255,.25); }
.cs--feature h3 { font-weight: 300; font-size: clamp(1.5rem, 2.6vw, 2rem); color: #fff; }
.cs__flow { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.4fr) auto minmax(0, 1fr); gap: 14px; align-items: stretch; }
.cs__stage { background: rgba(255,255,255,.06); border-radius: 4px; padding: 20px; }
.cs--feature .cs__k { color: #9aa3ff; }
.cs__stage p { color: var(--on-dark); font-size: .98rem; }
.cs--feature .cs__steps li { color: var(--on-dark-2); }
.cs--feature .cs__steps li::before { background: var(--navy-deep); border-color: #9aa3ff; }
.cs--feature .cs__steps li::after { background: rgba(255,255,255,.18); }
.cs__stage--result { background: var(--blue); display: grid; align-content: start; }
.cs__stage--result .cs__k { color: #c4c9ff; }
.cs__stage--result p { font-family: var(--f-display); font-weight: 400; font-size: 1.25rem; line-height: 1.35; color: #fff; }
.cs__arrow { align-self: center; color: #9aa3ff; }
.cs__arrow svg { width: 22px; height: 22px; display: block; }
.cs--feature .cs__probs { border-top-color: rgba(255,255,255,.14); }
.cs--feature .cs__probs li { background: rgba(255,255,255,.1); color: #c4c9ff; }
@media (max-width: 900px) {
  .cs__flow { grid-template-columns: 1fr; }
  .cs__arrow { justify-self: center; transform: rotate(90deg); }
}
@media (max-width: 820px) { .cases { grid-template-columns: 1fr; } }
.cs:not(.cs--feature) { display: flex; flex-direction: column; }
.cs:not(.cs--feature) .cs__probs { margin-top: auto; }

/* ---------- Generative & agentic AI: approach + human-in-the-loop diagram ---------- */
.ai { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.ai__text { display: grid; gap: 16px; }
.ai__text .eyebrow { margin: 0; }
.ai__text h2 { font-size: var(--s-2); }
.ai__rules { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.1); counter-reset: rule; }
.ai__rules li { background: var(--navy); padding: 18px 18px 20px; display: grid; gap: 6px; align-content: start; counter-increment: rule; }
.ai__rules li::before { content: counter(rule, decimal-leading-zero); font-family: var(--f-mono); font-size: .72rem; color: #9aa3ff; letter-spacing: .08em; }
.ai__rules b { color: #fff; font-weight: 600; font-size: .98rem; }
.ai__rules span { color: var(--on-dark-2); font-size: .9rem; line-height: 1.5; }
.loop { margin: 0; display: grid; gap: 14px; justify-items: center; }
.loop svg { width: 100%; max-width: 480px; height: auto; display: block; overflow: visible; }
.loop__ring { fill: none; stroke: rgba(169,176,255,.22); stroke-width: 1.5; stroke-dasharray: 3 6; }
.loop__arc { fill: none; stroke: #9aa3ff; stroke-width: 2; }
.loop__head { fill: none; stroke: #9aa3ff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.loop__core { fill: var(--blue); }
.loop__core-t { fill: #fff; font-family: var(--f-display); font-size: 17px; font-weight: 400; text-anchor: middle; }
.loop__node rect { fill: var(--navy-deep); stroke: rgba(169,176,255,.45); stroke-width: 1.2; }
.loop__node text { fill: #e6e8ff; font-family: var(--f-body); font-size: 14px; font-weight: 500; text-anchor: middle; }
.loop__node--human rect { fill: #fff; stroke: #fff; }
.loop__node--human text { fill: var(--blue); font-weight: 600; }
.loop figcaption { font-family: var(--f-display); font-weight: 300; font-size: 1.1rem; color: #fff; text-align: center; }
@media (max-width: 900px) { .ai { grid-template-columns: 1fr; } .loop { order: -1; } }
@media (max-width: 560px) { .ai__rules { grid-template-columns: 1fr; } }

/* ---------- Industries: sector cards ---------- */
.sectors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.sector { background: var(--paper); border: 1px solid var(--line); padding: 24px 22px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.sector__icon { width: 46px; height: 46px; border-radius: 3px; background: var(--blue); color: #fff; display: grid; place-items: center; }
.sector__icon svg { width: 26px; height: 26px; }
.sector h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.2rem; line-height: 1.25; letter-spacing: -.01em; }
.sector__list { color: var(--blue); font-weight: 500; font-size: .9rem; line-height: 1.6; }
.sector__depth { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.sector__depth span { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.sector__depth p { font-size: .9rem; color: var(--ink); line-height: 1.5; }
.techline { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.techline__k { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.techline ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.techline li { font-size: .84rem; padding: 5px 10px; border: 1px solid var(--line); border-radius: 2px; background: var(--paper); }
@media (max-width: 1000px) { .sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .sectors { grid-template-columns: 1fr; } }

/* ---------- Clients: key clients + others ---------- */
.keyclients { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.keyclients li { position: relative; background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--blue); padding: 28px 26px; min-height: 120px; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; }
.keyclients__name { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.3rem, 2.2vw, 1.7rem); line-height: 1.2; letter-spacing: -.015em; color: var(--ink); }
.keyclients__short { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .1em; color: var(--blue); }
@media (max-width: 760px) { .keyclients { grid-template-columns: 1fr; } .keyclients li { min-height: 0; padding: 20px; } }
