/* ==========================================================================
   QUELA — site styles
   White + QUELA blue. Plus Jakarta Sans, JetBrains Mono labels. Rounded, soft.
   ========================================================================== */

@font-face { font-family: "Plus Jakarta Sans"; src: url("/assets/fonts/plus-jakarta-sans-latin.woff2") format("woff2"); font-weight: 300 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("/assets/fonts/plus-jakarta-sans-italic-latin.woff2") format("woff2"); font-weight: 400 600; font-style: italic; font-display: swap; }

:root {
  --white: #fff;
  --bg: #ffffff;
  --tint: #f3f7ff;
  --tint-2: #e8f0ff;
  --ink: #0a1838;
  --blue: #1a6aff;
  --blue-2: #3d82ff;
  --blue-d: #0b4fd6;
  --navy: #071a4a;
  --sky: #8fb8ff;

  --tx: #0a1838;
  --tx-2: #4b5a7a;
  --tx-3: #8592ad;
  --line: #e2e8f4;
  --line-2: #cdd7ea;
  --card: #ffffff;

  --sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: var(--sans);
  --gutter: clamp(18px, 3.6vw, 56px);
  --max: 1320px;
  --nav-h: 80px;
  --r: 16px;
  --r-s: 12px;
  --shadow: 0 1px 2px rgba(10, 24, 56, .05), 0 8px 24px -14px rgba(10, 24, 56, .18);
  --shadow-l: 0 1px 2px rgba(10, 24, 56, .05), 0 18px 40px -24px rgba(10, 24, 56, .3);
  --spring: cubic-bezier(.34, 1.4, .64, 1);
  --out: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--bg); color: var(--tx); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
address { font-style: normal; }
[hidden] { display: none !important; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 10px; z-index: 200; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 999px; }
.skip:focus { left: 10px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- Type ---------- */
.display, .h-xl, .h-l, .h-m { font-weight: 700; letter-spacing: -.035em; line-height: 1.04; text-wrap: balance; }
.display { font-size: clamp(40px, 5.4vw, 80px); line-height: 1.02; letter-spacing: -.035em; }
.h-xl { font-size: clamp(38px, 5.4vw, 80px); }
.h-l  { font-size: clamp(32px, 3.9vw, 58px); }
.h-m  { font-size: clamp(24px, 2.4vw, 36px); line-height: 1.12; letter-spacing: -.025em; }
.h-s  { font-size: clamp(18px, 1.5vw, 22px); font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
.lede { font-size: clamp(18px, 1.6vw, 23px); line-height: 1.45; color: var(--tx-2); letter-spacing: -.01em; }
.body-l { font-size: clamp(16px, 1.2vw, 18px); line-height: 1.6; color: var(--tx-2); }
.body { font-size: 15px; line-height: 1.6; color: var(--tx-2); }
.label { font-size: 13px; font-weight: 500; color: var(--tx-3); font-variant-numeric: tabular-nums; }
.label b { color: var(--tx); font-weight: 600; }
.muted { color: var(--tx-2); }
.accent { color: var(--blue); }
.hl-blue { color: var(--blue); }
.index { display: inline-block; font-size: 15px; font-weight: 600; color: var(--blue); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 24px; border-radius: 999px;
  border: 1.5px solid var(--line-2); background: var(--white); color: var(--ink);
  font-size: 15px; font-weight: 600; letter-spacing: -.005em; white-space: nowrap;
  transition: transform .2s var(--out), background-color .2s, border-color .2s, color .2s;
}
.btn:hover { border-color: var(--ink); }
.btn:active { transform: scale(.98); }
.btn .ar { width: 16px; height: 16px; transition: transform .4s var(--spring); }
.btn:hover .ar { transform: translateX(3px); }
.btn--solid, .btn--blue { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn--solid:hover, .btn--blue:hover { background: var(--blue-d); border-color: var(--blue-d); color: #fff; }
.btn--sm { height: 42px; padding: 0 18px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.ar { width: 16px; height: 16px; flex: none; }
.link-u { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--blue); white-space: nowrap; }
.link-u .ar { transition: transform .4s var(--spring); }
.link-u:hover .ar, a:hover > .link-u .ar { transform: translateX(4px); }

/* ---------- Header ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--nav-h); background: transparent; border-bottom: 1px solid transparent; transition: background-color .25s, border-color .25s; }
.nav.is-scrolled, .menu-open .nav { background: #fff; border-bottom-color: var(--line); }
.nav-bar { height: 100%; display: flex; align-items: center; gap: clamp(24px, 4vw, 64px); max-width: 1440px; }
.nav-logo { display: flex; align-items: center; flex: none; }
/* Animated logo: rests as "Q●"; on hover "UELA" rises in and the dot slides to the end (Accenture-style). */
.qlogo { --ease-logo: cubic-bezier(.85, 0, 0, 1); position: relative; display: block; height: 24px; aspect-ratio: 3000 / 622; overflow: hidden; color: var(--ink); }
.qlogo i { position: absolute; inset: 0; background: currentColor;
  -webkit-mask: url("/assets/logos/quela-wordmark-black-3000.png") 0 0 / 100% 100% no-repeat;
          mask: url("/assets/logos/quela-wordmark-black-3000.png") 0 0 / 100% 100% no-repeat; }
.qlogo-q { clip-path: inset(0 80.1% 0 0); }
.qlogo-rest { clip-path: inset(0 13.5% 0 19.9%); transform: translateY(105%); transition: transform 550ms var(--ease-logo); }
.qlogo-dot { position: absolute; left: 87.4%; top: 41.3%; width: 11.87%; aspect-ratio: 1; border-radius: 50%; background: #0083ca; transform: translateX(-556.6%); transition: transform 550ms var(--ease-logo); }
.nav-logo:hover .qlogo-rest, .nav-logo:focus-visible .qlogo-rest { transform: none; }
.nav-logo:hover .qlogo-dot, .nav-logo:focus-visible .qlogo-dot { transform: none; }
@media (hover: none) { .qlogo-rest, .qlogo-dot { transform: none; transition: none; } }
@media (prefers-reduced-motion: reduce) { .qlogo-rest, .qlogo-dot { transition: none; } }
.nav-main { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 40px); }
.nav-item { position: relative; display: inline-flex; align-items: center; height: var(--nav-h); font-size: 16px; font-weight: 500; color: #2a3858; white-space: nowrap; transition: color .15s; }
.nav-item:hover { color: var(--blue); }
.nav-item[aria-current] { color: var(--ink); }
.nav-item[aria-current]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--blue); }
.nav-tools { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav-icon { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #2a3858; transition: background-color .15s, color .15s; }
.nav-icon svg { width: 24px; height: 24px; }
.nav-icon:hover { background: var(--tint); color: var(--blue); }
.nav-region span:not(:empty) { position: absolute; right: 2px; bottom: 4px; padding: 1px 4px; border-radius: 4px; background: var(--blue); color: #fff; font-size: 9px; font-weight: 700; line-height: 1.3; }
.nav-cta { height: 52px; padding: 0 26px; margin-left: 14px; font-size: 16px; }
.nav-burger { display: none; position: relative; width: 44px; height: 44px; border-radius: 50%; color: var(--ink); }
.nav-burger i, .nav-burger i::before, .nav-burger i::after { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--out), top .3s var(--out), opacity .2s; }
.nav-burger i { top: 21px; }
.nav-burger i::before, .nav-burger i::after { content: ""; left: 0; right: 0; }
.nav-burger i::before { top: -6px; } .nav-burger i::after { top: 6px; }
.menu-open .nav-burger i { background: transparent; }
.menu-open .nav-burger i::before { top: 0; transform: rotate(45deg); }
.menu-open .nav-burger i::after { top: 0; transform: rotate(-45deg); }
/* transparent header over a dark top section */
.nav.on-dark:not(.is-scrolled) .qlogo { color: #fff; }
.nav.on-dark:not(.is-scrolled) .nav-item, .nav.on-dark:not(.is-scrolled) .nav-icon, .nav.on-dark:not(.is-scrolled) .nav-burger { color: #fff; }
.nav.on-dark:not(.is-scrolled) .nav-icon:hover { background: rgba(255,255,255,.12); color: #fff; }

/* ---------- Header tools: tooltips + popovers ---------- */
.nav-tools { position: relative; }
.nav-icon { color: #4a5878; }
.nav-icon:hover, .nav-icon[aria-expanded="true"] { background: transparent; color: var(--ink); }
.nav.on-dark:not(.is-scrolled) .nav-icon:hover, .nav.on-dark:not(.is-scrolled) .nav-icon[aria-expanded="true"] { background: rgba(255,255,255,.14); color: #fff; }
[data-tip]::after { content: attr(data-tip); position: absolute; top: calc(100% + 8px); left: 50%; transform: translate(-50%, -4px); padding: 6px 12px; border-radius: 10px; background: #2b2d33; color: #fff; font-size: 14px; font-weight: 600; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .15s, transform .15s; box-shadow: 0 6px 16px -6px rgba(0,0,0,.4); z-index: 3; }
[data-tip]:hover::after, [data-tip]:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }
[data-tip][aria-expanded="true"]::after { opacity: 0 !important; }

.pop { position: absolute; top: calc(100% + 14px); right: 0; z-index: 5; width: 380px; max-height: calc(100vh - var(--nav-h) - 30px); overflow-y: auto; overscroll-behavior: contain; padding: 26px 22px 22px; border-radius: 16px; background: #fff; border: 1px solid #d9dfeb; box-shadow: 0 24px 60px -20px rgba(10,24,56,.35); animation: popin .18s var(--out); }
.pop[hidden] { display: none; }
@keyframes popin { from { opacity: 0; transform: translateY(-6px); } }
.pop-title { margin-bottom: 18px; font-size: 22px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.pop-label { display: block; margin-bottom: 8px; font-size: 15px; font-weight: 600; color: #3a4766; }
.pop-input, .pop-field { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 50px; padding: 0 16px; border: 1px solid #cfd6e4; border-radius: 10px; background: #fff; font: inherit; font-size: 17px; color: var(--ink); text-align: left; transition: border-color .15s, box-shadow .15s; }
.pop-input::placeholder { color: #7a8499; }
.pop-input:focus, .pop-field:focus, .pop-field[aria-expanded="true"] { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(26,106,255,.14); }
select.pop-field { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5l3 3 3-3' fill='none' stroke='%230a1838' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px; cursor: pointer; }
.pop-field + .pop-label, .pop-field + .pop-label { margin-top: 16px; }
.pop-combo .chev { width: 14px; height: 14px; transition: transform .2s; }
.pop-combo[aria-expanded="true"] .chev { transform: rotate(180deg); }
.pop-sub { margin: 14px 0 6px; font-size: 14px; color: #5b6784; }
.pop-list a { display: block; padding: 12px 14px; margin: 0 -2px; border-radius: 10px; font-size: 17px; font-weight: 600; color: #34405e; }
.pop-list a:hover, .pop-list a:focus-visible, .pop-list a.is-active { background: var(--tint); color: var(--blue); outline: none; }
.pop-list a small { display: block; margin-top: 2px; font-size: 13px; font-weight: 400; color: var(--tx-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pop-list .none { padding: 12px 14px; color: var(--tx-2); }

.pop--region { width: 420px; }
.combo { margin-top: 10px; border: 1px solid #d9dfeb; border-radius: 12px; overflow: hidden; }
.combo[hidden] { display: none; }
.combo-auto { display: block; width: 100%; padding: 14px 16px; background: var(--tint); border-bottom: 1px solid #d9dfeb; font-size: 15px; text-align: left; color: #3a4766; }
.combo-auto:hover, .combo-auto[aria-pressed="true"] { color: var(--blue); }
.combo-body { padding: 14px 16px 6px; }
.combo-search { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px; border: 1px solid #d9dfeb; border-radius: 10px; background: var(--tint); }
.combo-search svg { width: 18px; height: 18px; color: #5b6784; flex: none; }
.combo-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 16px; color: var(--ink); }
.combo-note { margin: 10px 0 4px; font-size: 13px; color: #5b6784; }
.r-group { border-top: 1px solid #e3e8f2; }
.r-group:first-child { border-top: 0; }
.r-group summary { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; list-style: none; cursor: pointer; font-size: 16px; font-weight: 700; color: var(--ink); }
.r-group summary::-webkit-details-marker { display: none; }
.r-group summary::after { content: "›"; font-size: 20px; line-height: 1; color: #5b6784; transition: transform .2s; }
.r-group[open] summary::after { transform: rotate(90deg); }
.r-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 12px; padding: 0 0 12px; }
.r-opt { display: flex; align-items: center; gap: 6px; width: 100%; padding: 8px; margin: 0 -8px; border-radius: 8px; text-align: left; font-size: 15px; color: var(--blue); }
.r-opt span { flex: 1; min-width: 0; }
.r-opt small { font-size: 12px; font-weight: 700; color: #5b6784; letter-spacing: .02em; }
.r-opt::after { content: "›"; color: var(--blue); font-size: 16px; }
.r-opt:hover, .r-opt[aria-pressed="true"] { background: var(--tint); }
.r-opt[aria-pressed="true"] span { font-weight: 700; }
.r-empty { padding: 10px 0 14px; font-size: 14px; color: var(--tx-2); }
.pop-note { margin: 14px 0 16px; font-size: 14px; line-height: 1.5; color: #5b6784; }
.pop-apply { width: 100%; height: 52px; font-size: 17px; }

/* ---------- Phone menu ---------- */
.menu { position: fixed; inset: var(--nav-h) 0 0; z-index: 90; background: #fff; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .3s var(--out), visibility 0s .3s; }
.menu-open .menu { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .3s var(--out); }
.menu > .wrap { padding-top: 18px; padding-bottom: 40px; }
.m-links { display: grid; }
.m-links a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 22px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
.m-links a[aria-current] { color: var(--blue); }
.menu-foot { display: grid; gap: 14px; justify-items: start; margin-top: 28px; }
html.menu-open, html.menu-open body { overflow: hidden; }

@media (max-width: 1180px) {
  .nav-main { display: none; }
  .nav-burger { display: block; }
}
@media (max-width: 640px) {
  .nav-cta, .nav-tools > a.nav-icon { display: none; }
  .pop, .pop--region { position: fixed; top: calc(var(--nav-h) + 8px); left: 10px; right: 10px; width: auto; }
  .region-groups { grid-template-columns: 1fr 1fr; }
}

/* ---------- Reveal primitives ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--out), transform 1s var(--out); transition-delay: var(--d, 0s); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="left"] { transform: translateX(-28px); }
.js [data-reveal="scale"] { transform: scale(.96); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-split] .w { display: inline-block; }
.js [data-split] .w > span { display: inline-block; opacity: 0; transform: translateY(.3em); transition: opacity .7s var(--out), transform .8s var(--out), filter .7s var(--out); transition-delay: calc(var(--d, 0s) + var(--i) * 35ms); }
.js [data-split].in .w > span { opacity: 1; transform: none; }
[data-highlight] .hw { color: var(--line-2); transition: color .25s linear; }
[data-highlight] .hw.on { color: var(--tx); }
.theme-night [data-highlight] .hw { color: rgba(255,255,255,.3); }
.theme-night [data-highlight] .hw.on { color: #fff; }
.js [data-clip] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--out), transform 1s var(--out); transition-delay: var(--d, 0s); }
.js [data-clip].in { opacity: 1; transform: none; }

/* ---------- Photo frames (natural colour, rounded) ---------- */
.duo { position: relative; overflow: hidden; border-radius: var(--r); background: var(--tint-2); isolation: isolate; }
.duo > img, .duo > video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--out); }
.duo--dim::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(7,26,74,.1), rgba(7,26,74,.65)); pointer-events: none; }

/* ---------- Sections ---------- */
.sec { position: relative; padding: clamp(80px, 10vw, 150px) 0; }
.sec--tight { padding: clamp(50px, 6vw, 90px) 0; }
.theme-light, .theme-ice { background: var(--tint); }
.theme-night { background: var(--navy); color: #fff; --tx: #fff; --tx-2: rgba(255,255,255,.74); --tx-3: rgba(255,255,255,.55); --line: rgba(255,255,255,.14); --line-2: rgba(255,255,255,.26); --card: rgba(255,255,255,.06); }
.theme-night .index { color: var(--sky); }
.theme-night .btn:not(.btn--solid):not(.btn--blue) { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.theme-night .btn:not(.btn--solid):not(.btn--blue):hover { background: #fff; color: var(--blue); }
.theme-night .btn--solid { background: #fff; color: var(--blue); border-color: #fff; }
.sec-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px 60px; align-items: end; margin-bottom: clamp(40px, 5vw, 70px); }
.sec-head > .label, .sec-head > .index { grid-column: 1 / -1; justify-self: start; }
.rules > * { border-top: 1px solid var(--line); }
.rules > *:last-child { border-bottom: 1px solid var(--line); }
.glow { display: none; }
.dots-bg { display: none; }

/* ---------- Home hero ---------- */
.hero { position: relative; padding: calc(var(--nav-h) + clamp(40px, 6vw, 90px)) 0 clamp(40px, 5vw, 70px); overflow: hidden; }
.hero .glow { display: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.hero h1 { margin-top: 22px; }
.hero .lede { margin-top: 26px; max-width: 32em; }
.hero .btn-row { margin-top: 34px; }
.hero-visual { position: relative; aspect-ratio: 1 / 1; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.stat-row p { color: var(--tx-2); font-size: 15px; }
.stat-row b { display: block; margin-bottom: 4px; color: var(--tx); font-size: 30px; font-weight: 700; letter-spacing: -.03em; }
.hero-logos { margin-top: clamp(28px, 4.5vh, 70px); }
.hero-logos .label { display: block; margin-bottom: 20px; text-align: center; }

.arcs { display: none; }
.statement .wrap { position: relative; }
.statement h2 { max-width: 13em; }
.statement .hl { margin-top: 26px; max-width: 34em; font-size: clamp(20px, 2vw, 30px); line-height: 1.35; letter-spacing: -.015em; font-weight: 500; }

/* prompt box */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--white); font-size: 14px; font-weight: 500; color: var(--tx-2); cursor: pointer; transition: color .2s, border-color .2s, background-color .2s, transform .3s var(--spring); user-select: none; }
.chip:hover { color: var(--blue); border-color: var(--blue); }
.chip:active { transform: scale(.96); }
.chip input, .f-row .chip input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; padding: 0; margin: 0; opacity: 0; }
.chip:has(input:checked), .chip.is-on { background: var(--blue); color: #fff; border-color: var(--blue); }

/* ---------- Logo marquee ---------- */
.marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 64px; width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee img { height: 28px; width: auto; filter: grayscale(1); opacity: .6; transition: opacity .3s, filter .3s; }
.marquee img:hover { opacity: 1; filter: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Pinned story: rounded panel with progress bars ---------- */
.pin { position: relative; height: calc(var(--n) * 85svh + 100svh); }
.pin-stick { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.story { position: absolute; top: calc(var(--nav-h) + 6px); bottom: 24px; left: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))); right: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))); display: grid; grid-template-columns: 1fr 1.2fr; border-radius: 32px; background: var(--tint); overflow: hidden; }
.story-index { position: absolute; left: clamp(28px, 4vw, 56px); top: clamp(28px, 4vw, 48px); z-index: 3; display: flex; gap: 6px; }
.story-index li { position: relative; width: 44px; height: 4px; border-radius: 4px; background: var(--line-2); font-size: 0; overflow: hidden; }
.story-index li::after { content: ""; position: absolute; inset: 0; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--out); }
.story-index li.on::after, .story-index li.past::after { transform: scaleX(1); }
.story-media { grid-column: 2; position: relative; margin: 14px; }
.story-media .duo { position: absolute; inset: 0; border-radius: 24px; opacity: 0; transform: scale(1.04); transition: opacity .8s, transform 1.2s var(--out); }
.story-media .duo.on { opacity: 1; transform: none; }
.story-text { position: absolute; top: 50%; left: calc(max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))) + clamp(28px, 4vw, 56px)); width: min(34vw, 460px); height: 0; z-index: 3; }
.story-text > div { position: absolute; left: 0; top: 0; width: 100%; transform: translateY(-50%); }
.story-text h3 { font-size: clamp(32px, 3.8vw, 56px); }
.story-text h3 span { display: block; opacity: 0; transform: translateY(24px); transition: opacity .5s, transform .7s var(--out); }
.story-text p { margin-top: 18px; opacity: 0; transform: translateY(16px); transition: opacity .5s, transform .7s var(--out); }
.story-text > div.on h3 span { opacity: 1; transform: none; transition-delay: .15s; }
.story-text > div.on p { opacity: 1; transform: none; transition-delay: .3s; }
.story-count { display: none; }

/* ---------- Compare (pinned): see "One connected path" at the end ---------- */

/* ---------- Six areas ---------- */
.rules > .desk { border: 0; }
.components { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.components span { padding: 7px 14px; border-radius: 999px; background: var(--tint); font-size: 14px; font-weight: 500; color: var(--blue-d); }
.theme-light .components span { background: var(--white); }
.theme-night .components span { background: rgba(255,255,255,.12); color: #fff; }

/* ---------- Numbers ---------- */
.nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.num { padding: 26px 24px; border-radius: var(--r); background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.num b { display: block; white-space: nowrap; font-size: clamp(32px, 3.4vw, 52px); font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.num > span { display: block; margin-top: 12px; max-width: 18em; }
.rings { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: clamp(50px, 6vw, 90px); }
.ring { display: grid; justify-items: center; text-align: center; gap: 16px; }
.ring svg { width: 148px; height: 148px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 8; }
.ring .track { stroke: var(--line); }
.ring .bar { stroke: var(--blue); stroke-linecap: round; stroke-dasharray: 440; stroke-dashoffset: 440; transition: stroke-dashoffset 2s var(--out); }
.theme-night .ring .bar { stroke: #fff; }
.ring.in .bar { stroke-dashoffset: var(--off, 0); }
.ring-wrap { position: relative; }
.ring-wrap b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 30px; font-weight: 700; letter-spacing: -.03em; }
.ring .label { color: var(--tx-2); max-width: 16em; }

/* ---------- Stages: stepped timeline ---------- */
.stages { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; counter-reset: st; }
.stages::before, .stages::after { content: ""; position: absolute; left: 28px; right: 28px; top: 21px; height: 2px; background: var(--line); }
.stages::after { background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform 1.8s var(--out) .2s; }
.stages.in::after { transform: scaleX(1); }
.stage { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 62px 20px 22px; border-radius: var(--r); background: var(--card); box-shadow: 0 0 0 1px var(--line); opacity: 0; transform: translateY(30px); transition: opacity .6s, transform .8s var(--out), box-shadow .3s; transition-delay: calc(var(--i) * 140ms + .2s); }
.stages.in .stage { opacity: 1; transform: none; }
.stage::before { content: counter(st, decimal-leading-zero); counter-increment: st; position: absolute; left: 12px; top: 4px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: #fff; font-family: var(--mono); font-size: 12px; font-weight: 600; z-index: 1; }
.stage .duo { display: none; }
.stage > .label { display: none; }
.stage h3 { font-size: 19px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.stage dl { display: grid; gap: 10px; font-size: 14px; }
.stage dt { font-family: var(--mono); font-size: 11px; color: var(--tx-3); }
.stage dd { color: var(--tx-2); }
.stage dl > div:first-child dd { color: var(--blue); font-weight: 700; font-size: 16px; }
.stage:hover { box-shadow: 0 0 0 1px var(--blue); }

/* ---------- Industries (Who we help) ---------- */
.who-head { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: start; margin-bottom: clamp(40px, 5vw, 64px); }
.who-title { font-size: clamp(32px, 3.7vw, 60px); font-weight: 700; letter-spacing: -.035em; line-height: 1.06; }
.who-head .body-l { margin-top: 22px; max-width: 40em; }
.who-pillars { display: flex; margin-top: 40px; }
.who-pillars li { display: grid; justify-items: center; gap: 12px; width: 140px; padding: 18px 12px 22px; border-left: 1px solid var(--line); text-align: center; font-size: 14px; font-weight: 500; color: var(--tx-2); }
.who-pillars li:last-child { border-right: 1px solid var(--line); }
.who-pillars svg { width: 32px; height: 32px; color: var(--blue); }
.inds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.ind { position: relative; display: block; aspect-ratio: 458 / 322; border-radius: 16px; overflow: hidden; isolation: isolate; color: #fff; box-shadow: 0 12px 30px -18px rgba(10,24,56,.45); }
.ind > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--out); }
.ind::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,24,56,.05) 30%, rgba(10,24,56,.55) 62%, rgba(10,24,56,.9) 100%); transition: background-color .3s; }
.ind-ic { position: absolute; left: 18px; bottom: 22px; width: 26px; height: 26px; color: #9cc0ff; }
.ind-ic svg { width: 100%; height: 100%; }
.ind-txt { position: absolute; left: 56px; right: 62px; bottom: 18px; display: grid; gap: 2px; }
.ind-txt b { font-size: clamp(15px, 1.25vw, 20px); font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
.ind-txt span { font-size: 13.5px; line-height: 1.35; color: rgba(255,255,255,.8); }
.ind-go { position: absolute; right: 16px; bottom: 20px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.18); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background-color .25s, color .25s; }
.ind-go .ar { width: 18px; height: 18px; }
.ind:hover > img { transform: scale(1.05); }
.ind:hover .ind-go { background: #fff; color: var(--blue); }
.ind:focus-visible { outline-offset: 4px; }

/* ---------- Work list ---------- */
.works { position: relative; }
.work-row { position: relative; display: grid; grid-template-columns: 56px 1.1fr 1fr 48px; align-items: center; gap: 20px; padding: 24px 20px; margin: 0 -20px; border-radius: 20px; transition: background-color .3s; }
.work-row + .work-row { border-top: 1px solid var(--line); }
.work-row:hover { background: var(--tint); }
.theme-night .work-row:hover { background: rgba(255,255,255,.08); }
.work-row .n { font-family: var(--mono); font-size: 12px; color: var(--tx-3); }
.work-row h3 { font-size: clamp(24px, 2.8vw, 40px); font-weight: 700; letter-spacing: -.035em; line-height: 1.05; transition: transform .5s var(--spring), color .2s; }
.work-row p { color: var(--tx-2); font-size: 14px; }
.work-row .go { justify-self: end; width: 44px; height: 44px; border-radius: 50%; background: var(--tint); color: var(--blue); display: grid; place-items: center; transition: background-color .3s, color .3s, transform .5s var(--spring); }
.theme-night .work-row .go { background: rgba(255,255,255,.12); color: #fff; }
.work-row .go svg { width: 16px; height: 16px; }
.work-row:hover h3 { color: var(--blue); }
.theme-night .work-row:hover h3 { color: #fff; }
.work-row:hover .go { background: var(--blue); color: #fff; }
.theme-night .work-row:hover .go { background: #fff; color: var(--blue); }
.work-preview { position: fixed; left: 0; top: 0; z-index: 50; width: 320px; aspect-ratio: 16 / 10; pointer-events: none; overflow: hidden; border-radius: 18px; box-shadow: var(--shadow-l); opacity: 0; transform: translate(-50%, -50%) scale(.94); transition: opacity .25s, transform .4s var(--out); }
.work-preview.on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.work-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .25s; background: var(--white); }
.work-preview img.on { opacity: 1; }

/* ---------- Testimonial card ---------- */
.quote-sec { position: relative; padding: clamp(60px, 8vw, 120px) 0; }
.quote-card { display: grid; grid-template-columns: 1.4fr .9fr; border-radius: 32px; overflow: hidden; background: var(--blue); color: #fff; box-shadow: var(--shadow-l); }
.quote-card .q-body { padding: clamp(32px, 5vw, 72px); }
.quote-card .label { color: rgba(255,255,255,.75); }
.quote-card .body { color: rgba(255,255,255,.8); }
.quote-card .accent { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.quote-card > .duo { border-radius: 0; min-height: 360px; }
.quote-card blockquote { margin-top: 14px; font-size: clamp(22px, 2.3vw, 34px); line-height: 1.3; font-weight: 600; letter-spacing: -.02em; }
.quote-card [data-highlight] .hw { color: rgba(255,255,255,.35); }
.quote-card [data-highlight] .hw.on { color: #fff; }
.quote-mark { display: block; margin-top: 20px; font-size: 96px; line-height: .5; font-weight: 800; color: rgba(255,255,255,.3); }
.who { display: flex; align-items: center; gap: 14px; margin-top: 30px; }
.who img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px rgba(255,255,255,.4); }

/* ---------- Locations ---------- */
.cities { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 14px; }
.city { position: relative; border-radius: var(--r); overflow: hidden; min-height: clamp(240px, 32vh, 340px); isolation: isolate; color: #fff; }
.city > .duo { position: absolute; inset: 0; border-radius: 0; }
.city::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(7,26,74,0) 40%, rgba(7,26,74,.82)); }
.city > div:not(.duo) { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 2; }
.city h3 { font-size: clamp(24px, 2.4vw, 34px); font-weight: 700; letter-spacing: -.03em; }
.city span { font-family: var(--mono); font-size: 12px; opacity: .85; }
.city:hover .duo img { transform: scale(1.05); }

/* ---------- Ways in ---------- */
.ways { display: grid; grid-template-columns: .8fr 1.6fr; gap: 48px; align-items: end; }
.way-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.way { position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 260px; padding: 26px; border-radius: var(--r); background: var(--white); box-shadow: 0 0 0 1px var(--line); transition: transform .5s var(--spring), box-shadow .3s; }
.way .ic { margin-bottom: auto; font-size: 14px; font-weight: 600; color: var(--blue); font-variant-numeric: tabular-nums; }
.way h3 { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.way p { font-size: 14px; color: var(--tx-2); }
.way::after { content: "→"; position: absolute; top: 26px; right: 26px; color: var(--blue); font-size: 18px; transition: transform .4s var(--spring); }
.way:hover { box-shadow: 0 0 0 1px var(--blue); }
.way:hover::after { transform: translateX(4px); }
.way.feature { background: var(--blue); color: #fff; box-shadow: var(--shadow-l); }
.way.feature p { color: rgba(255,255,255,.82); }
.way.feature .ic { color: rgba(255,255,255,.8); }
.way.feature::after { color: #fff; }

/* ---------- Final CTA panel ---------- */
.final { position: relative; padding: clamp(40px, 6vw, 80px) 0; }
.final-panel { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; padding: clamp(36px, 5vw, 72px); border-radius: 24px; background: var(--blue); color: #fff; overflow: hidden; isolation: isolate; box-shadow: var(--shadow-l); --tx: #fff; --tx-2: rgba(255,255,255,.82); --tx-3: rgba(255,255,255,.6); }

.final-panel .index { color: rgba(255,255,255,.8); }
.final-panel .btn--solid { background: #fff; color: var(--blue); border-color: #fff; }
.final-panel .btn--solid:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.final-panel .btn:not(.btn--solid) { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.final-panel .btn:not(.btn--solid):hover { background: #fff; color: var(--blue); }
.final-text { display: grid; gap: 22px; justify-items: start; }
.final-text ul { display: grid; gap: 10px; }
.final-text li { display: flex; gap: 12px; color: var(--tx-2); }
.final-text li::before { content: ""; flex: none; width: 12px; height: 2px; margin-top: .78em; border-radius: 2px; background: #fff; }
.final-panel > .duo { aspect-ratio: 4 / 3.4; border-radius: 16px; }

/* ---------- Footer ---------- */
.foot { background: #0a1226; color: #fff; --tx: #fff; --tx-2: rgba(255,255,255,.72); --tx-3: rgba(255,255,255,.5); --line: rgba(255,255,255,.12); }
.foot-main { position: relative; display: grid; grid-template-columns: 1.4fr repeat(4, 1fr) auto; gap: 40px; padding: 80px 0 56px; }
.foot-brand img { height: 34px; width: auto; }
.foot-line { margin-top: 18px; max-width: 18em; font-size: clamp(20px, 1.7vw, 26px); font-weight: 600; line-height: 1.25; letter-spacing: -.02em; }
.foot-contact { display: grid; gap: 14px; margin-top: 30px; }
.foot-contact li { display: flex; align-items: center; gap: 14px; font-size: 15px; color: var(--tx-2); }
.foot-contact svg { width: 20px; height: 20px; flex: none; color: #8fb8ff; }
.foot-contact a { color: #fff; transition: color .15s; }
.foot-contact a:hover { color: #8fb8ff; }
.foot-col h3 { margin-bottom: 18px; font-size: 16px; font-weight: 700; color: #fff; }
.foot-col li + li { margin-top: 12px; }
.foot-col a { font-size: 15px; color: var(--tx-2); transition: color .15s; }
.foot-col a:hover { color: #fff; }
.foot-top { align-self: start; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #8fb8ff; transition: background-color .15s, color .15s; }
.foot-top svg { width: 24px; height: 24px; }
.foot-top:hover { background: rgba(255,255,255,.08); color: #fff; }
.foot-prefs { display: flex; flex-wrap: wrap; gap: 28px; padding-bottom: 28px; }
.foot-pref { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; color: #fff; }
.foot-pref svg { width: 12px; height: 12px; }
.foot-pref:hover { color: #8fb8ff; }
.foot-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 30px; padding: 24px 0 34px; border-top: 1px solid var(--line); font-size: 14px; color: var(--tx-3); }
.foot-legal { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.foot-legal a { color: var(--tx-2); transition: color .15s; }
.foot-legal a:hover { color: #fff; }
@media (max-width: 1000px) {
  .foot-main { grid-template-columns: repeat(4, 1fr) auto; }
  .foot-top { grid-column: 5; grid-row: 1; justify-self: end; }
  .foot-brand { grid-column: 1 / 5; }
}
@media (max-width: 640px) {
  .foot-main { grid-template-columns: 1fr 1fr; padding-top: 60px; gap: 34px 24px; }
  .foot-top { position: absolute; top: 56px; right: 0; grid-column: auto; grid-row: auto; }
  .foot-brand { grid-column: 1 / -1; padding-right: 50px; }
  .foot-bar { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   INNER PAGES
   ========================================================================== */
.page-hero { position: relative; padding: calc(var(--nav-h) + clamp(40px, 6vw, 90px)) 0 clamp(50px, 6vw, 80px); overflow: hidden; }
.page-hero .glow { display: none; }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero-split { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.page-hero-split > .duo { aspect-ratio: 4 / 3.6; border-radius: 28px; box-shadow: var(--shadow-l); }
.page-hero h1 { margin-top: 20px; }
.page-hero h1.h-xl { font-size: clamp(36px, 5vw, 72px); }
.page-hero .lede { margin-top: 22px; max-width: 34em; }
.page-hero .hero-actions { margin-top: 30px; }
.page-hero-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: end; margin-top: 24px; }
.hero-canvas { position: absolute; right: -6vw; top: calc(var(--nav-h) - 30px); width: min(50vw, 720px); aspect-ratio: 1; z-index: 1; pointer-events: none; }
.page-tabs { position: sticky; top: 10px; z-index: 30; margin: 0 auto; width: max-content; max-width: calc(100% - 2 * var(--gutter)); border-radius: 999px; background: rgba(255,255,255,.88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.page-tabs .wrap { display: flex; gap: 4px; padding: 6px; overflow-x: auto; scrollbar-width: none; max-width: none; }
.page-tabs a { flex: 0 0 auto; padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--tx-2); white-space: nowrap; transition: color .2s, background-color .2s; }
.page-tabs a b { font-family: var(--mono); font-weight: 500; font-size: 12px; margin-right: 8px; color: var(--tx-3); }
.page-tabs a:hover { color: var(--ink); background: var(--tint); }
.page-tabs a.on { background: var(--blue); color: #fff; }
.page-tabs a.on b { color: rgba(255,255,255,.75); }

.two { display: grid; grid-template-columns: .9fr 1.4fr; gap: clamp(32px, 6vw, 100px); align-items: start; }
.two-sticky { position: sticky; top: calc(var(--nav-h) + 40px); }
.prose p { font-size: clamp(16px, 1.2vw, 18px); line-height: 1.7; color: var(--tx-2); }
.prose p + p { margin-top: 1.1em; }
.prose strong { color: var(--tx); font-weight: 700; }
.prose h3 { margin: 2em 0 .8em; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cards.c2 { grid-template-columns: repeat(2, 1fr); }
.cards.c4 { grid-template-columns: repeat(4, 1fr); }
.card { position: relative; padding: 26px; border-radius: var(--r); background: var(--card); box-shadow: 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 12px; transition: box-shadow .3s, transform .5s var(--spring); }
.theme-light .card, .theme-ice .card { background: var(--white); }
a.card:hover { box-shadow: 0 0 0 1px var(--blue); }
.card .n { font-family: var(--mono); font-size: 12px; color: var(--blue); }
.card h3 { font-size: clamp(18px, 1.4vw, 21px); font-weight: 700; letter-spacing: -.02em; line-height: 1.25; }
.card p { color: var(--tx-2); font-size: 15px; }
.card .price { margin-top: auto; padding-top: 14px; font-size: 26px; font-weight: 700; letter-spacing: -.03em; color: var(--blue); }
.card--solid, .theme-light .card--solid { background: var(--blue); color: #fff; box-shadow: var(--shadow-l); --tx: #fff; --tx-2: rgba(255,255,255,.84); --tx-3: rgba(255,255,255,.6); }
.card--solid .n, .card--solid .label { color: rgba(255,255,255,.8); }
.card--solid .link-u { color: #fff; }
.card--solid .ticks li::before { background: #fff; }
.theme-night .card { background: rgba(255,255,255,.07); box-shadow: 0 0 0 1px rgba(255,255,255,.14); }
.theme-night .card--solid { background: #fff; color: var(--ink); --tx: var(--ink); --tx-2: #4b5a7a; --tx-3: #8592ad; }
.theme-night .card--solid .n { color: var(--blue); }
.ticks { display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; color: var(--tx-2); font-size: 15px; }
.ticks li::before { content: ""; flex: none; width: 12px; height: 2px; margin-top: .78em; border-radius: 2px; background: var(--blue); }
.theme-night .ticks li::before { background: var(--sky); }
.ticks.x li::before { background: var(--tx-3); }

.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.flow li { position: relative; padding: 18px; border-radius: 16px; background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.flow li b { display: block; font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--blue); }
.flow li span { display: block; margin-top: 6px; font-weight: 700; }
.flow li small { display: block; color: var(--tx-2); font-size: 13px; }

.callout { padding: 26px 28px; border-radius: var(--r); background: var(--tint); box-shadow: inset 4px 0 0 var(--blue); }
.theme-light .callout { background: var(--white); }
.theme-night .callout { background: rgba(255,255,255,.08); box-shadow: inset 4px 0 0 #fff; }
.pull { font-size: clamp(24px, 2.4vw, 36px); line-height: 1.25; font-weight: 600; letter-spacing: -.02em; max-width: 22em; }
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fit > div { padding: 28px; border-radius: var(--r); background: rgba(255,255,255,.07); box-shadow: 0 0 0 1px var(--line); }

.strip { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding-bottom: 12px; }
.strip > * { flex: 0 0 auto; height: clamp(260px, 32vw, 500px); scroll-snap-align: start; border-radius: var(--r); background: var(--tint); }
.strip.phones > * { height: clamp(360px, 42vw, 620px); background: transparent; }
.mosaic { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.mosaic > * { overflow: hidden; border-radius: var(--r); background: var(--tint); max-height: 82svh; box-shadow: 0 0 0 1px var(--line); }
.mosaic img, .mosaic video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--out); }
.mosaic video { object-fit: contain; background: var(--navy); }
.mosaic > *:hover img { transform: scale(1.03); }
.mosaic .s12 { grid-column: span 12; } .mosaic .s8 { grid-column: span 8; } .mosaic .s7 { grid-column: span 7; }
.mosaic .s6 { grid-column: span 6; } .mosaic .s5 { grid-column: span 5; } .mosaic .s4 { grid-column: span 4; } .mosaic .s3 { grid-column: span 3; }

.meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.meta > div { padding: 16px 18px; border-radius: 16px; background: var(--tint); }
.theme-light .meta > div { background: var(--white); }
.meta dt { font-family: var(--mono); font-size: 12px; color: var(--tx-3); }
.meta dd { margin-top: 4px; font-size: 15px; font-weight: 600; }
.cover { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 28px; background: var(--tint); box-shadow: var(--shadow-l); }
.cover img { width: 100%; height: 115%; object-fit: cover; will-change: transform; }
.next-work { display: block; margin: clamp(40px, 6vw, 80px) auto; width: calc(100% - 2 * var(--gutter)); max-width: calc(var(--max) - 2 * var(--gutter)); border-radius: 32px; background: var(--tint); padding: clamp(40px, 6vw, 90px) 0; transition: background-color .3s, color .3s; }
.next-work .wrap { padding: 0 clamp(28px, 4vw, 60px); }
.next-work .h-xl { transition: transform .6s var(--spring); }
.next-work:hover { background: var(--blue); color: #fff; }
.next-work:hover .label { color: rgba(255,255,255,.75); }
.next-work:hover .h-xl { transform: none; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { padding: 7px 14px; border-radius: 999px; background: var(--tint); font-size: 14px; font-weight: 500; color: var(--blue-d); }

.people { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 30px; }
.person { display: grid; grid-template-columns: 200px 1fr; border-radius: var(--r); overflow: hidden; background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.person > .duo { min-height: 260px; border-radius: 0; }
.person > div:last-child { padding: 26px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.person blockquote { font-size: 16px; line-height: 1.6; color: var(--tx-2); }

/* ---------- Form pages ---------- */
.enquire { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(20px, 3vw, 40px); padding: calc(var(--nav-h) + 20px) var(--gutter) 60px; max-width: 1480px; margin: 0 auto; }
.enquire-media { position: sticky; top: calc(var(--nav-h) + 20px); height: calc(100svh - var(--nav-h) - 40px); min-height: 560px; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(28px, 3vw, 44px); border-radius: 32px; overflow: hidden; isolation: isolate; color: #fff; --tx: #fff; --tx-2: rgba(255,255,255,.84); --tx-3: rgba(255,255,255,.6); }
.enquire-media > .duo { position: absolute; inset: 0; z-index: -1; border-radius: 0; }
.enquire-media > .duo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(11,79,214,.25), rgba(7,26,74,.9) 75%); }
.enquire-media .top-label { position: absolute; top: 24px; left: 24px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.18); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; }
.enquire-media .ticks li::before { background: #fff; }
.enquire-form { padding: clamp(10px, 2vw, 30px) clamp(4px, 2vw, 30px); }
.f { display: grid; gap: 12px; }
.f-row { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 6px 10px; padding: 16px 18px; border-radius: 16px; background: var(--tint); box-shadow: 0 0 0 1.5px transparent; transition: box-shadow .2s, background-color .2s; }
.f-row:focus-within { background: var(--white); box-shadow: 0 0 0 1.5px var(--blue), 0 8px 24px -12px rgba(26,106,255,.4); }
.f-row .n { font-family: var(--mono); font-size: 12px; color: var(--blue); }
.f-row .lab { font-size: 14px; font-weight: 600; color: var(--tx); }
.f-row .opt { font-family: var(--mono); font-size: 11px; color: var(--tx-3); }
.f-row .ctl { grid-column: 2 / -1; }
.f-row input, .f-row select, .f-row textarea { width: 100%; border: 0; outline: 0; background: transparent; color: var(--tx); font: inherit; font-size: 17px; padding: 4px 0 2px; }
.f-row textarea { min-height: 90px; resize: vertical; }
.f-row input::placeholder, .f-row textarea::placeholder { color: var(--tx-3); }
.f-row .chips { margin-top: 6px; }
.f-row input[type=file] { font-size: 14px; color: var(--tx-2); }
.f-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 18px; }
.f-note { font-size: 13px; color: var(--tx-3); max-width: 34em; }
.f-status { font-size: 14px; color: var(--blue); }
.f-status[data-ok="false"] { color: #d64545; }
.f-done { margin-top: 12px; padding: 26px; border-radius: var(--r); background: var(--tint); box-shadow: inset 4px 0 0 var(--blue); }
.check { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--tx-2); margin-top: 8px; }
.check input { width: 18px; height: 18px; accent-color: var(--blue); }

.role-row { display: grid; grid-template-columns: 1fr 1.4fr auto; align-items: center; gap: 20px; padding: 24px 22px; margin: 0 -22px; border-radius: 18px; transition: background-color .3s; }
.role-row + .role-row { border-top: 1px solid var(--line); }
.role-row:hover { background: var(--tint); }
.role-row h3 { font-size: clamp(19px, 1.8vw, 26px); font-weight: 700; letter-spacing: -.025em; transition: color .2s, transform .5s var(--spring); }
.role-row:hover h3 { color: var(--blue); }

.ecom-shot img { width: 100%; height: auto; border-radius: 28px; background: linear-gradient(135deg, #e8f0ff, #c9dbff); box-shadow: var(--shadow-l); }
.nf { min-height: 100svh; display: grid; place-items: center; text-align: center; }
.m-only { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .inds { grid-template-columns: repeat(2, 1fr); }
  .ways { grid-template-columns: 1fr; }
  .cards.c4 { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .sec-head, .two, .desks, .final-panel, .enquire, .page-hero-grid, .page-hero-split, .people, .compare-in, .hero-grid, .quote-card { grid-template-columns: 1fr; }
  .two-sticky, .desks-media, .enquire-media { position: relative; top: 0; }
  .desks-media { aspect-ratio: 16 / 10; }
  .hero-visual { aspect-ratio: 5 / 4; max-width: 560px; width: 100%; justify-self: center; }
  .nums, .rings, .meta { grid-template-columns: 1fr 1fr; }
  .cards, .cards.c2, .cards.c4, .fit, .cities { grid-template-columns: 1fr; }
  .stages { grid-template-columns: 1fr 1fr; }
  .stages::before, .stages::after { display: none; }
  .way-cols { grid-template-columns: 1fr; }
  .way { min-height: 180px; }
  .work-row { grid-template-columns: 1fr 44px; }
  .work-row .n { display: none; }
  .work-row p { grid-column: 1; grid-row: 2; }
  .work-row .go { grid-row: 1 / span 2; grid-column: 2; }
  .work-preview { display: none; }
  .person { grid-template-columns: 1fr; }
  .awards { grid-template-columns: 1fr 1fr; }
  .enquire { padding-top: calc(var(--nav-h) + 6px); }
  .enquire-media { height: auto; min-height: 66svh; }
  .mosaic > * { grid-column: span 12 !important; }
  .role-row { grid-template-columns: 1fr; gap: 8px; }
  .flow { grid-template-columns: 1fr 1fr; }
  .hero-canvas { width: 90vw; right: -30vw; opacity: .4; }
  .final-panel > .duo { transform: none; }
  .pin { display: none; }
  .m-only { display: grid; gap: 40px; padding-top: 10px; padding-bottom: 70px; }
  .m-item { display: grid; gap: 10px; }
  .m-item .duo { aspect-ratio: 4 / 3; margin-bottom: 8px; }
  .page-tabs { top: 6px; }
}
@media (max-width: 520px) {
  .stages, .nums, .rings, .meta, .flow, .awards { grid-template-columns: 1fr; }
  .menu-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .marquee-track { animation: none; }
}
.nf, .statement { position: relative; overflow: hidden; }

/* header + stat row responsive */
@media (max-width: 1100px) {
}
@media (max-width: 860px) { .stat-row { grid-template-columns: 1fr 1fr; } }


@media (max-width: 520px) { .stat-row { grid-template-columns: 1fr; } }

@media (max-width: 1100px) { .who-head { grid-template-columns: 1fr; } .who-pillars { margin-top: 0; } }
@media (max-width: 860px) { .inds { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .inds { grid-template-columns: 1fr; } .who-pillars li { width: auto; flex: 1; } }
.wrap--wide { max-width: 1680px; }

/* ---------------- Full-screen sections ----------------
   Every top-level section fills at least one screen and centres its content
   below the fixed header. site.js snaps to these after the visitor scrolls.
   Taller sections grow and scroll freely inside before snapping again. */
main > section:not(.pin):not(.m-only):not(.enquire):not(.nf) {
  min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
  padding-top: calc(var(--nav-h) + clamp(16px, 3.2vh, 48px)); padding-bottom: clamp(24px, 4vh, 56px);
}
.enquire { min-height: 100svh; align-content: center; }
.cover-sec .cover { aspect-ratio: auto; height: min(calc(100svh - var(--nav-h) - 110px), 56.25vw); }
.cover-sec .ecom-shot img { max-height: calc(100svh - var(--nav-h) - 110px); width: auto; max-width: 100%; margin: 0 auto; }
main > section > .next-work { margin-bottom: 0; }
/* chapter screens: one big line that introduces the pinned section after it */
.chapter .sec-head { grid-template-columns: 1fr; justify-items: center; text-align: center; margin: 0; }
.chapter .sec-head > .index { justify-self: center; }
.chapter h2 { font-size: clamp(46px, 7.4vw, 120px); max-width: 10em; }
.chapter .body-l { max-width: 30em; }
/* keep content inside one screen: spacing scales with screen height */
main > section .sec-head { margin-bottom: clamp(26px, 4.6vh, 70px); }
.role-row { padding-block: clamp(14px, 2.1vh, 24px); }
.work-row { padding-block: clamp(12px, 1.9vh, 24px); }
.ind { aspect-ratio: 16 / 9; }
main > section .mosaic > * { max-height: calc(100svh - var(--nav-h) - 110px); }
.enquire { padding-bottom: 20px; }
.stages--photo .stage .duo { display: block; order: 9; margin-top: auto; aspect-ratio: 4 / 3; border-radius: 12px; }
.stages--photo .stage { padding-bottom: 14px; }
.stages--photo .stage dl { margin-bottom: 10px; }
@media (max-width: 640px) { .cover-sec .cover { height: min(calc(100svh - var(--nav-h) - 110px), 125vw); } }

/* Where time leaks: four problem cards with literal mock-ups */
.leaks .sec-head { margin-bottom: clamp(28px, 4.4vh, 56px); }
.leaks .sec-head .body-l { max-width: 30em; }
.leak-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.leak { display: flex; flex-direction: column; padding: 14px 14px 20px; border-radius: 20px; background: var(--white); box-shadow: 0 0 0 1px var(--line); transition: box-shadow .3s, transform .4s var(--out); }
.leak:hover { box-shadow: 0 0 0 1px var(--line-2), var(--shadow-l); transform: translateY(-3px); }
.leak > .label { margin: 18px 6px 6px; color: var(--blue); font-weight: 600; }
.leak h3 { margin: 0 6px; font-size: clamp(20px, 1.6vw, 24px); font-weight: 700; letter-spacing: -.025em; line-height: 1.15; }
.leak > .body { margin: 8px 6px 0; font-size: 14.5px; line-height: 1.55; }
.leak dl { display: grid; gap: 8px; margin: auto 0 0; padding-top: 16px; }
.leak dl > div { display: grid; gap: 2px; padding: 10px 12px; border-radius: 12px; background: #fff5f4; }
.leak dl > .fix { background: var(--tint); }
.leak dt { font-size: 11.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #c2410c; }
.leak dl > .fix dt { color: var(--blue); }
.leak dd { font-size: 14px; line-height: 1.4; font-weight: 500; color: var(--ink); }

.leak-viz { height: clamp(140px, 19vh, 176px); padding: 14px; border-radius: 12px; background: var(--tint); font-size: 12px; color: var(--tx-2); display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.leak-viz ul, .leak-viz ol { display: grid; gap: 6px; }
/* inbox */
.lv-inbox li { display: grid; grid-template-columns: auto 1fr; gap: 1px 8px; padding: 7px 10px; border-radius: 8px; background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.lv-inbox i { grid-row: span 2; align-self: center; font-style: normal; font-size: 10.5px; font-weight: 600; color: var(--tx-3); width: 54px; }
.lv-inbox span { font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv-inbox em { font-style: normal; font-size: 11px; color: var(--tx-3); }
.lv-inbox em.ok { color: #15803d; }
.lv-inbox li.bad { box-shadow: 0 0 0 1.5px #f3a99c; }
.lv-inbox li.bad em { color: #c2410c; font-weight: 600; }
/* quote track */
.lv-track { position: relative; padding-left: 4px; }
.lv-track li { position: relative; display: flex; justify-content: space-between; gap: 8px; padding: 3px 0 3px 22px; }
.lv-track li::before { content: ""; position: absolute; left: 0; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--white); box-shadow: inset 0 0 0 2px var(--line-2); }
.lv-track li:not(:last-child)::after { content: ""; position: absolute; left: 5px; top: calc(50% + 7px); height: calc(100% - 8px); width: 2px; background: var(--line-2); }
.lv-track b { font-weight: 600; color: var(--ink); }
.lv-track li.done::before { background: var(--blue); box-shadow: none; }
.lv-track li.stuck::before { background: #f97316; box-shadow: 0 0 0 4px #fde3d3; }
.lv-track li.stuck span { color: #c2410c; font-weight: 600; }
.lv-track li.none b, .lv-track li.none span { color: var(--tx-3); font-weight: 500; }
.lv-track li.none span { font-style: italic; }
/* week board */
.lv-week { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; height: 100%; }
.lv-week > div { display: flex; flex-direction: column; gap: 5px; padding: 6px 5px; border-radius: 8px; background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.lv-week b { font-size: 10.5px; font-weight: 600; color: var(--tx-3); text-align: center; }
.lv-week span { height: 22px; border-radius: 5px; background: var(--blue); opacity: .85; }
.lv-week span + span { background: var(--sky); }
.lv-week .off { background: #fff5f4; box-shadow: 0 0 0 1.5px #f3a99c; }
.lv-week .off span { display: grid; place-items: center; background: none; border: 1.5px dashed #f3a99c; color: #c2410c; font-weight: 700; opacity: 1; }
.lv-week .off em { margin-top: auto; font-style: normal; font-size: 10px; font-weight: 600; color: #c2410c; text-align: center; line-height: 1.2; }
/* call log */
.lv-calls li { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 8px; background: var(--white); box-shadow: 0 0 0 1px var(--line); font-weight: 600; color: #c2410c; }
.lv-calls i { width: 16px; height: 16px; border-radius: 50%; background: #fde3d3 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c2410c' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7v10H7'/%3E%3C/svg%3E") center / 10px no-repeat; }
.lv-calls span { margin-left: auto; font-weight: 500; font-size: 11px; color: var(--tx-3); }
.lv-calls li.msg { margin-top: 4px; margin-right: 18px; border-radius: 12px 12px 12px 4px; background: var(--ink); box-shadow: none; color: #fff; font-weight: 500; }
.lv-calls li.msg span { color: rgba(255,255,255,.6); }

@media (max-width: 1100px) { .leak-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .leak-grid { grid-template-columns: 1fr; } }
.leaks .sec-head { grid-template-columns: 1.6fr 1fr; }
.leaks h2 { max-width: 13em; }
.lv-week .off em { font-size: 9.5px; letter-spacing: -.01em; }

/* One connected path: pinned, one job followed through five steps */
.compare-in { position: relative; height: 100%; display: grid; grid-template-columns: 1fr 1.08fr; grid-template-rows: auto auto 1fr; column-gap: clamp(40px, 5vw, 80px); padding-top: calc(var(--nav-h) + clamp(12px, 2.6vh, 32px)); padding-bottom: clamp(20px, 4.5vh, 48px); }
.cmp-top { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; }
.cmp-count { padding: 6px 12px; border-radius: 999px; background: var(--tint); }
.cmp-rail { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: clamp(12px, 2vh, 20px) 0 clamp(18px, 3.4vh, 40px); }
.cmp-rail li { position: relative; padding-top: 14px; }
.cmp-rail li::before, .cmp-rail li::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; border-radius: 3px; background: var(--line); }
.cmp-rail li::after { background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--out); }
.cmp-rail li.on::after, .cmp-rail li.past::after { transform: scaleX(1); }
.cmp-rail button { display: flex; align-items: baseline; gap: 10px; font-size: 15px; font-weight: 600; color: var(--tx-3); transition: color .3s; }
.cmp-rail button i { font-style: normal; font-size: 12px; font-variant-numeric: tabular-nums; }
.cmp-rail button:hover, .cmp-rail .past button { color: var(--ink); }
.cmp-rail .on button { color: var(--blue); }

.cmp-text { position: relative; }
.cmp-text > div { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); pointer-events: none; }
.cmp-text > div.on { pointer-events: auto; }
.cmp-text h3 { overflow: hidden; padding-bottom: .08em; }
.cmp-text h3 span, .cmp-with, .cmp-today { display: block; opacity: 0; transform: translateY(36px); transition: opacity .3s, transform .5s var(--out); }
.cmp-text .past h3 span, .cmp-text .past .cmp-with, .cmp-text .past .cmp-today { transform: translateY(-36px); }
.cmp-text .on h3 span, .cmp-text .on .cmp-with, .cmp-text .on .cmp-today { opacity: 1; transform: none; }
.cmp-text .on .cmp-with { transition-delay: .05s; }
.cmp-text .on .cmp-today { transition-delay: .1s; }
.cmp-with { margin-top: 16px; max-width: 19em; font-size: clamp(20px, 1.75vw, 27px); line-height: 1.3; font-weight: 600; letter-spacing: -.015em; color: var(--ink); }
.cmp-today { display: flex !important; gap: 12px; align-items: baseline; margin-top: 24px; max-width: 30em; padding: 12px 16px; border-radius: 12px; background: #fff5f4; font-size: 14.5px; }
.cmp-today b { font-size: 11.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #c2410c; }
.cmp-today s { color: var(--tx-2); text-decoration-color: rgba(194, 65, 12, .5); }

.cmp-stage { position: relative; border-radius: 28px; background: var(--tint); overflow: hidden; }
.cmp-stage > .mk { position: absolute; inset: 0; display: grid; place-items: center; padding: clamp(20px, 3vw, 40px); opacity: 0; transform: translateX(70px) scale(.97); transition: opacity .3s, transform .55s var(--out); pointer-events: none; }
.cmp-stage > .mk.past { transform: translateX(-70px) scale(.97); }
.cmp-stage > .mk.on { opacity: 1; transform: none; }
.cmp-stage .mk.on .pc { animation: pcIn .5s var(--out) both; animation-delay: calc(.1s + var(--i) * 85ms); }
@keyframes pcIn { from { opacity: 0; transform: translateY(14px) scale(.98); } }
@keyframes barUp { from { transform: scaleY(0); } }

/* mock-up parts */
.mk { font-size: 14px; color: var(--tx-2); }
.mk-card { width: min(100%, 430px); padding: 18px 20px; border-radius: 16px; background: var(--white); box-shadow: 0 0 0 1px var(--line), var(--shadow-l); }
.mk-card header { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.mk-card header b { font-size: 15px; font-weight: 700; color: var(--ink); }
.pill { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; background: var(--tint); font-size: 12px; font-weight: 600; font-style: normal; color: var(--tx-2); }
.pill.ok { background: #e7f6ec; color: #15803d; }
.mk-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.mk-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 12px; font-size: 14px; }
.mk-total b { font-size: 20px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
/* capture */
.mk-capture { width: min(100%, 430px); }
.mk-src { display: grid; grid-template-columns: repeat(3, 1fr); justify-items: center; }
.mk-src span { padding: 8px 14px; border-radius: 10px; background: var(--white); box-shadow: 0 0 0 1px var(--line); font-size: 13px; font-weight: 600; color: var(--ink); }
.mk-join svg { display: block; width: 100%; height: 34px; fill: none; stroke: var(--blue); stroke-width: 2; vector-effect: non-scaling-stroke; }
.mk-capture .mk-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; margin-top: 16px; }
.mk-capture dt { font-size: 11.5px; color: var(--tx-3); }
.mk-capture dd { font-weight: 600; color: var(--ink); }
.mk-capture footer { display: flex; align-items: center; gap: 8px; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12.5px; }
.mk-capture footer i { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; }
/* quote */
.mk-quote header { display: block; padding-bottom: 8px; }
.mk-quote header span { display: block; margin-top: 2px; font-size: 12.5px; color: var(--tx-3); }
.mk-line { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); }
.mk-line b { font-weight: 600; color: var(--ink); }
/* schedule */
.mk-sched { width: min(100%, 470px); }
.mk-days, .mk-row { display: grid; grid-template-columns: 50px repeat(5, 1fr); gap: 4px; align-items: center; }
.mk-days b { font-size: 11px; font-weight: 600; text-align: center; color: var(--tx-3); }
.mk-row { margin-top: 6px; }
.mk-row > i { font-style: normal; font-size: 12px; font-weight: 600; color: var(--ink); }
.mk-row span { display: flex; align-items: center; height: 30px; padding: 0 8px; border-radius: 7px; background: var(--blue); color: #fff; font-size: 11.5px; font-weight: 600; white-space: nowrap; overflow: hidden; }
.mk-row span.lt { background: var(--tint-2); color: var(--blue); }
.mk-row span.new { background: var(--ink); color: #fff; box-shadow: 0 0 0 3px #bcd3ff; }
/* update */
.mk-phone { width: min(100%, 310px); display: grid; gap: 8px; padding: 16px 16px 20px; border-radius: 30px; background: var(--white); box-shadow: 0 0 0 1px var(--line), var(--shadow-l); }
.mk-ph-head { display: grid; justify-items: center; padding-bottom: 10px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.mk-ph-head b { font-size: 13.5px; color: var(--ink); }
.mk-ph-head span { font-size: 11px; color: var(--tx-3); }
.bub { justify-self: start; max-width: 82%; padding: 9px 12px; border-radius: 16px 16px 16px 4px; background: var(--tint-2); font-size: 13.5px; line-height: 1.4; color: var(--ink); }
.bub.me { justify-self: end; border-radius: 16px 16px 4px 16px; background: var(--blue); color: #fff; }
/* invoice */
.mk-inv { width: min(100%, 430px); display: grid; gap: 14px; }
.mk-inv footer { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12.5px; }
.mk-inv footer img { width: 22px; height: 22px; border-radius: 50%; object-fit: contain; }
.mk-chart header span { font-size: 13px; }
.mk-chart header b { font-size: 20px; letter-spacing: -.02em; }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 80px; margin-top: 12px; }
.bars i { flex: 1; height: var(--h); border-radius: 6px; background: var(--tint-2); transform-origin: bottom; }
.bars i:last-child { background: var(--blue); }
.cmp-stage .mk.on .bars i { animation: barUp .6s var(--out) both; animation-delay: calc(.35s + var(--j) * 60ms); }

/* phone list version */
.cmp-stage--static { margin-top: 6px; padding: 20px 16px; border-radius: 20px; }
.cmp-stage--static .mk { display: grid; justify-items: center; }
@media (min-width: 1100px) { .cmp-stage > .mk > * { zoom: 1.22; } }
@media (min-width: 1100px) and (max-height: 760px) { .cmp-stage > .mk > * { zoom: 1; } }
.cmp-stage--static > .mk { position: static; opacity: 1; transform: none; padding: 0; pointer-events: auto; }
.cmp-stage--static .pc, .cmp-stage--static .bars i { animation: none !important; }

/* Six areas. One system: module cards joined by a shared-record spine */
.sys-intro .btn-row { margin-top: 20px; }
#areas .sec-head { margin-bottom: clamp(24px, 4vh, 48px); }
.sys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sys-card { position: relative; display: flex; flex-direction: column; padding: 18px 20px 16px; border-radius: 18px; background: var(--white); box-shadow: 0 0 0 1px var(--line); outline: none; transition: box-shadow .3s, opacity .3s, transform .4s var(--out), background-color .3s; }
.sys-card header { display: flex; align-items: center; gap: 12px; }
.sys-ico { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 11px; background: var(--tint); color: var(--blue); transition: background-color .3s, color .3s; }
.sys-ico svg { width: 20px; height: 20px; }
.sys-card h3 { font-size: clamp(18px, 1.45vw, 21px); font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.sys-card header .label { margin-left: auto; }
.sys-card > p { margin-top: 12px; font-size: 16px; line-height: 1.35; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.sys-card ul { display: grid; gap: 5px; margin: 10px 0 14px; }
.sys-card li { position: relative; padding-left: 20px; font-size: 14px; line-height: 1.45; color: var(--tx-2); }
.sys-card li::before { content: ""; position: absolute; left: 2px; top: .38em; width: 9px; height: 5px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.sys-card footer { margin-top: auto; padding-top: 11px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--tx-3); }
.sys-card footer b { font-weight: 600; color: var(--tx-2); }
/* connectors from each card to the spine */
.sys-card::after { content: ""; position: absolute; left: 50%; width: 2px; height: 16px; margin-left: -1px; background: var(--line-2); transition: background-color .3s; }
.sys-card:nth-child(-n+3)::after { top: 100%; }
.sys-card:nth-child(n+5)::after { bottom: 100%; }
.sys-spine { position: relative; grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 8px; padding: 9px 16px; border-radius: 999px; background: var(--ink); color: #fff; overflow: hidden; }
.sys-spine b { margin-right: 8px; font-size: 13px; font-weight: 600; color: var(--sky); }
.sys-spine span { padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-size: 12.5px; font-weight: 500; }
.sys-pulse { position: absolute; top: 0; bottom: 0; left: -20%; width: 18%; background: linear-gradient(90deg, transparent, rgba(143, 184, 255, .32), transparent); animation: sysPulse 3.6s linear infinite; pointer-events: none; }
@keyframes sysPulse { to { left: 105%; } }
/* highlight: hovered area and the areas it hands work to */
.sys.has-hot .sys-card { opacity: .5; }
.sys.has-hot .sys-card.is-hot, .sys.has-hot .sys-card.is-linked { opacity: 1; }
.sys .sys-card.is-hot { box-shadow: 0 0 0 2px var(--blue), var(--shadow-l); transform: translateY(-3px); }
.sys .sys-card.is-hot .sys-ico { background: var(--blue); color: #fff; }
.sys .sys-card.is-linked { box-shadow: 0 0 0 1.5px #a9c6ff; background: #fbfdff; }
.sys .sys-card.is-linked .sys-ico { background: var(--tint-2); }
.sys-card.is-hot::after, .sys-card.is-linked::after { background: var(--blue); }
@media (prefers-reduced-motion: reduce) { .sys-pulse { display: none; } }
@media (max-width: 1000px) {
  .sys { grid-template-columns: 1fr 1fr; }
  .sys-spine { order: -1; border-radius: 18px; }
  .sys-card::after { display: none; }
}
@media (max-width: 600px) { .sys { grid-template-columns: 1fr; } }
.sys-intro .btn-row { margin-top: 16px; }
.sys { gap: 14px 16px; }
.sys-card { padding: 16px 20px 14px; }
.sys-card > p { margin-top: 10px; }
.sys-card ul { margin: 8px 0 12px; }
.sys-card::after { height: 14px; }
.sys.has-hot .sys-card { opacity: .6; }

/* What you can hold us to: commitments written down like a quote */
.hold-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.hold-copy h2 { margin-top: 22px; max-width: 9em; }
.hold-copy > .body-l { margin-top: 20px; max-width: 26em; }
.hold-copy .btn-row { align-items: center; gap: 10px 22px; margin-top: 28px; }
.hold-link { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--sky); }
.hold-link svg { width: 14px; height: 14px; transition: transform .3s var(--out); }
.hold-link:hover svg { transform: translateX(3px); }
.hold-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 32px; margin-top: clamp(32px, 5.5vh, 60px); padding-top: clamp(24px, 3.6vh, 36px); border-top: 1px solid var(--line); }
.hold-stats p { font-size: 14.5px; line-height: 1.45; color: var(--tx-2); }
.hold-stats b { display: block; margin-bottom: 4px; font-size: clamp(34px, 3.3vw, 48px); font-weight: 700; letter-spacing: -.04em; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }

@media (max-width: 1000px) { .hold-grid { grid-template-columns: 1fr; } }

.commit { --tx: var(--ink); --tx-2: #4b5a7a; --tx-3: #8592ad; --line: #e2e8f4; padding: clamp(24px, 2.6vw, 36px); border-radius: 16px; background: #fff; color: var(--ink); }
.commit header { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.commit header b { font-size: 18px; font-weight: 700; letter-spacing: -.015em; }
.commit header span { font-size: 13px; color: var(--tx-3); }
.commit table { width: 100%; margin-top: 18px; border-collapse: collapse; }
.commit th { padding: 0 0 10px; border-bottom: 1px solid var(--ink); font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; text-align: left; color: var(--tx-3); }
.commit th:last-child, .commit td:last-child { text-align: right; }
.commit td { padding: 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.commit td:first-child { padding-right: 24px; }
.commit td b { display: block; font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.commit td span:not([data-regional-price]) { display: block; margin-top: 3px; max-width: 30em; font-size: 14px; line-height: 1.5; color: var(--tx-2); }
.commit td:last-child { font-size: 16px; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.commit footer { margin-top: 16px; font-size: 13px; line-height: 1.5; color: var(--tx-3); }
.js .commit tbody tr, .js .commit footer { opacity: 0; transition: opacity .6s var(--out); transition-delay: calc(.3s + var(--i, 4) * .1s); }
.js .commit.in tbody tr, .js .commit.in footer { opacity: 1; }
/* highlighter on the two numbers that matter most */
.commit mark { padding: 0 .15em; margin: 0 -.15em; background: linear-gradient(transparent 52%, #cfe0ff 52%, #cfe0ff 92%, transparent 92%); color: inherit; }
.commit td:last-child > mark { font-size: 18px; font-weight: 700; color: var(--blue); }
.commit td:last-child small { display: block; margin-top: 6px; font-size: 13px; font-weight: 500; color: var(--tx-2); white-space: nowrap; }
.commit td:last-child small mark { font-weight: 700; color: var(--ink); }
.commit td:last-child small { white-space: normal; max-width: 9.5em; margin-left: auto; line-height: 1.45; }

/* How it works: two lanes (you / QUELA) across four stages, with decision points between them */
.how { display: grid; grid-template-columns: 84px repeat(4, 1fr); grid-template-rows: repeat(4, auto); column-gap: 14px; }
.how-lanes, .how-col { grid-row: 1 / span 4; display: grid; grid-template-rows: subgrid; row-gap: 10px; }
.how-lanes span { align-self: center; font-size: 13px; font-weight: 600; color: var(--tx-3); }
.how-col header { position: relative; padding-bottom: 12px; }
.how-col header::before, .how-col header::after { content: ""; position: absolute; top: 14px; left: 0; right: -14px; height: 2px; background: var(--line); }
.how-col:last-child header::before, .how-col:last-child header::after { right: 0; }
.how-col header::after { background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--out); transition-delay: calc(.2s + var(--i) * .18s); }
.how.in .how-col header::after { transform: scaleX(1); }
.how-dot { position: relative; z-index: 1; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 13px; font-weight: 700; font-style: normal; box-shadow: 0 0 0 5px var(--white); }
.how-col header .label { display: block; margin-top: 14px; }
.how-col h3 { margin-top: 2px; font-size: clamp(18px, 1.5vw, 22px); font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.how-gate { position: absolute; z-index: 1; top: 4px; left: calc(-50% - 7px); transform: translateX(-50%); padding: 3px 10px; border-radius: 999px; background: var(--white); box-shadow: 0 0 0 1px var(--line-2); font-size: 11.5px; font-weight: 600; font-style: normal; white-space: nowrap; color: var(--tx-2); }
.how-col > p { padding: 14px 16px; border-radius: 12px; font-size: 14.5px; line-height: 1.5; }
.how-you { background: var(--tint); color: var(--ink); }
.how-us { background: var(--white); box-shadow: 0 0 0 1px var(--line); color: var(--tx-2); }
.how-get { background: var(--blue); color: #fff; font-weight: 600; }
.js .how .how-col { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--out), transform .8s var(--out); transition-delay: calc(.05s + var(--i) * .1s); }
.js .how.in .how-col { opacity: 1; transform: none; }
.js .how[data-reveal] { opacity: 1; transform: none; }
@media (max-width: 900px) {
  .how { display: grid; grid-template-columns: 1fr; gap: 30px; }
  .how-lanes { display: none; }
  .how-col { display: grid; grid-row: auto; grid-template-rows: none; gap: 8px; }
  .how-col header::before, .how-col header::after { display: none; }
  .how-gate { position: static; transform: none; display: inline-block; margin-bottom: 10px; }
  .how-col > p::before { content: attr(data-lane); display: block; margin-bottom: 2px; font-size: 11.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; opacity: .7; }
}

/* Press and awards: one quiet ink-coloured logo row each, true colours on hover */
.recog { margin-top: clamp(32px, 5.5vh, 60px); border-top: 1px solid var(--line); }
.recog-row { display: grid; grid-template-columns: 130px 1fr; align-items: center; gap: 20px; padding: clamp(14px, 2.2vh, 22px) 0; border-bottom: 1px solid var(--line); }
.recog ul { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 36px; }
.recog li { display: flex; align-items: center; }
.recog img { display: block; width: auto; max-width: 100%; filter: grayscale(1) brightness(.4); opacity: .7; transition: filter .3s, opacity .3s; }
.recog img.inv { filter: brightness(0); opacity: .58; }
.recog li:hover img { opacity: 1; }
.recog li:hover img:not(.inv) { filter: none; }
.recog-award { gap: 10px; color: var(--ink); opacity: .72; transition: opacity .3s; }
.recog-award:hover { opacity: 1; }
.recog-award svg { width: 24px; height: 30px; flex: none; color: var(--tx-2); }
.recog-award span { display: grid; font-size: 12.5px; line-height: 1.3; color: var(--tx-2); }
.recog-award b { font-size: 13.5px; font-weight: 700; color: var(--ink); }
@media (max-width: 760px) {
  .recog-row { grid-template-columns: 1fr; gap: 14px; }
  .recog ul { justify-content: flex-start; gap: 18px 28px; }
  .recog img { transform: scale(.85); transform-origin: left center; }
}
.recog img { opacity: var(--o, .7); }
.recog img.inv { opacity: var(--o, .58); }
.recog li:hover img { opacity: 1; }

/* What we do: four kinds of work, each a link to its own page */
.statement .hl { max-width: 38em; }
.offer { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: clamp(28px, 4.6vh, 52px); }
.offer-card { display: flex; flex-direction: column; border-radius: 18px; background: var(--white); box-shadow: 0 0 0 1px var(--line); overflow: hidden; transition: box-shadow .3s, transform .4s var(--out); }
.offer-card:hover { box-shadow: 0 0 0 1px var(--line-2), var(--shadow-l); transform: translateY(-4px); }
.offer-media { position: relative; height: clamp(120px, 17vh, 160px); background: var(--tint-2); overflow: hidden; }
.offer-media > img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--out); }
.offer-card:hover .offer-media img { transform: scale(1.04); }
.offer-phone { position: absolute; left: 50%; top: 16px; width: 38%; height: calc(100% + 40px); transform: translateX(-50%); border-radius: 16px; overflow: hidden; box-shadow: 0 0 0 4px #fff, var(--shadow-l); }
.offer-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.offer-bp { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 0; padding: 0 14px; background: var(--navy) linear-gradient(rgba(143,184,255,.08) 1px, transparent 1px) 0 0 / 18px 18px, linear-gradient(90deg, rgba(143,184,255,.08) 1px, transparent 1px) 0 0 / 18px 18px; background-color: var(--navy); }
.offer-bp span { position: relative; padding: 5px 9px; border-radius: 7px; border: 1px dashed rgba(143,184,255,.55); font-size: 11.5px; font-weight: 600; color: #fff; white-space: nowrap; }
.offer-bp span.hot { border: 1.5px solid #f97316; }
.offer-bp em { position: absolute; left: 50%; top: calc(100% + 8px); transform: translateX(-50%); padding: 2px 7px; border-radius: 999px; background: #f97316; font-size: 10px; font-style: normal; font-weight: 700; color: #fff; }
.offer-bp i { flex: 1; min-width: 6px; height: 1px; border-top: 1px dashed rgba(143,184,255,.55); }
.offer-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 20px; }
.offer-body .label { color: var(--blue); font-weight: 600; }
.offer-body h3 { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: clamp(17px, 1.4vw, 20px); font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.offer-body h3 svg { flex: none; width: 14px; height: 14px; color: var(--tx-3); transition: color .3s, transform .3s var(--out); }
.offer-card:hover h3 svg { color: var(--blue); transform: translate(2px, -2px); }
.offer-body p { font-size: 14.5px; line-height: 1.5; color: var(--tx-2); }
@media (max-width: 1000px) { .offer { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .offer { grid-template-columns: 1fr; } }
.statement .hl { max-width: 40em; text-wrap: pretty; }

/* ---------- Service pages ---------- */
.svc-hero .page-hero-split { grid-template-columns: 1.05fr .95fr; }
.svc-visual { position: relative; }
.svc-shot { margin: 0; border-radius: 14px; overflow: hidden; background: var(--white); box-shadow: 0 0 0 1px var(--line), var(--shadow-l); }
.svc-shot .bar { display: flex; gap: 6px; align-items: center; height: 28px; padding: 0 12px; border-bottom: 1px solid var(--line); }
.svc-shot .bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.svc-shot img { display: block; width: 100%; height: auto; }
.svc-shot--phone { border-radius: 26px; box-shadow: 0 0 0 6px #fff, 0 0 0 7px var(--line), var(--shadow-l); }
.svc-phones { display: flex; justify-content: center; align-items: flex-start; gap: 22px; padding: 10px 0; }
.svc-phones .svc-shot--phone { width: min(42%, 240px); }
.svc-phones .svc-shot--phone:last-child { margin-top: 54px; }
/* blueprint mock */
.svc-bp { padding: 22px; border-radius: 22px; color: #fff; background: var(--navy) linear-gradient(rgba(143,184,255,.07) 1px, transparent 1px) 0 0 / 22px 22px; box-shadow: var(--shadow-l); }
.svc-bp { background-image: linear-gradient(rgba(143,184,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(143,184,255,.07) 1px, transparent 1px); background-size: 22px 22px; }
.svc-bp-head, .svc-bp-foot { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--sky); }
.svc-bp-head span:last-child { padding: 2px 9px; border: 1px dashed rgba(143,184,255,.6); border-radius: 999px; }
.svc-bp-flow { display: flex; align-items: center; margin: 30px 0 46px; }
.svc-bp-flow span { position: relative; padding: 8px 11px; border-radius: 9px; border: 1px dashed rgba(143,184,255,.6); font-size: 13px; font-weight: 600; white-space: nowrap; }
.svc-bp-flow span.hot { border: 1.5px solid #f97316; }
.svc-bp-flow span.warn { border: 1.5px solid #fbbf24; }
.svc-bp-flow em { position: absolute; left: 50%; top: calc(100% + 9px); transform: translateX(-50%); padding: 2px 8px; border-radius: 999px; background: #f97316; font-size: 10.5px; font-style: normal; font-weight: 700; white-space: nowrap; }
.svc-bp-flow .warn em { background: #fbbf24; color: var(--navy); }
.svc-bp-flow i { flex: 1; min-width: 8px; border-top: 1px dashed rgba(143,184,255,.6); }
.svc-bp-list { display: grid; gap: 8px; margin-bottom: 18px; }
.svc-bp-list li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 14px; border-radius: 10px; background: rgba(255,255,255,.07); font-size: 13.5px; }
.svc-bp-list span { color: rgba(255,255,255,.65); white-space: nowrap; }
.svc-bp-foot { padding-top: 14px; border-top: 1px dashed rgba(143,184,255,.4); }
.svc-bp-foot b { color: #fff; }
/* related work */
.svc-work { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.svc-work-card { display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: var(--white); box-shadow: 0 0 0 1px var(--line); transition: box-shadow .3s, transform .4s var(--out); }
.svc-work-card:hover { box-shadow: 0 0 0 1px var(--line-2), var(--shadow-l); transform: translateY(-4px); }
.svc-work-img { aspect-ratio: 16 / 10; overflow: hidden; }
.svc-work-img img { width: 100%; height: 100%; transition: transform .8s var(--out); }
.svc-work-card:hover .svc-work-img img { transform: scale(1.04); }
.svc-work-body { display: grid; gap: 6px; padding: 16px 18px 20px; }
.svc-work-body h3 { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 17px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.svc-work-body h3 svg { flex: none; width: 13px; height: 13px; color: var(--tx-3); }
.svc-work-body p { font-size: 14px; line-height: 1.5; color: var(--tx-2); }
/* phone strip */
.svc-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: start; }
.svc-strip figure { margin: 0; display: grid; gap: 12px; justify-items: center; }
.svc-strip figure:nth-child(even) { margin-top: 40px; }
.svc-strip .svc-shot--phone { width: 100%; border-radius: 20px; }
/* steps */
.svc-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.svc-steps li { position: relative; display: grid; align-content: start; gap: 8px; padding: 22px 22px 24px; border-radius: 18px; background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.svc-steps li > b { display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 6px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 13px; }
.svc-steps li:not(:last-child)::after { content: ""; position: absolute; top: 38px; left: 62px; right: -16px; border-top: 2px dashed var(--line-2); }
.svc-steps h3 { font-size: 19px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.svc-steps p { font-size: 14.5px; line-height: 1.5; color: var(--tx-2); }
.svc-steps li:last-child { background: var(--blue); box-shadow: var(--shadow-l); }
.svc-steps li:last-child > b { background: #fff; color: var(--blue); }
.svc-steps li:last-child h3, .svc-steps li:last-child p, .svc-steps li:last-child .label { color: #fff; }
/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; list-style: none; cursor: pointer; font-size: clamp(17px, 1.4vw, 20px); font-weight: 600; letter-spacing: -.015em; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(45deg) translate(-3px, -3px); transition: transform .3s var(--out); }
.faq details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.faq details p { padding: 0 40px 22px 0; font-size: 16px; line-height: 1.6; color: var(--tx-2); }
@media (max-width: 1000px) {
  .svc-work, .svc-steps { grid-template-columns: 1fr 1fr; }
  .svc-steps li::after { display: none; }
  .svc-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) { .svc-hero .page-hero-split { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .svc-work, .svc-steps { grid-template-columns: 1fr; }
  .svc-bp-flow span { padding: 6px 7px; font-size: 11px; }
  .svc-bp-flow em { font-size: 9px; }
}
.svc-grid .card { padding: 22px 24px; gap: 9px; }
.svc-grid .ticks { gap: 5px; margin-top: 4px; }
.svc-grid .ticks li { font-size: 14px; }
.svc-grid .sec-head { margin-bottom: clamp(24px, 4vh, 48px); }
.svc-trail { display: grid; gap: 0; margin-top: 30px; padding: 22px 24px; border-radius: 18px; background: var(--white); box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.svc-trail li { position: relative; display: grid; gap: 2px; padding: 0 0 18px 30px; }
.svc-trail li:last-child { padding-bottom: 0; }
.svc-trail li::before { content: ""; position: absolute; left: 0; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px var(--tint-2); }
.svc-trail li:not(:last-child)::after { content: ""; position: absolute; left: 5px; top: 20px; bottom: 2px; width: 2px; background: var(--tint-2); }
.svc-trail b { font-size: 15.5px; font-weight: 700; color: var(--ink); }
.svc-trail span { font-size: 14px; color: var(--tx-2); }
/* logos in their own colours (white-only logos in black) */
.recog img, .recog li:hover img, .recog li:hover img:not(.inv) { filter: none; opacity: 1; }
.recog img.inv, .recog li:hover img.inv { filter: brightness(0); opacity: 1; }
.recog-award { opacity: 1; }
.recog-award svg { color: #b8860b; }
/* Next step: Fit Check / Partner / Careers, titles aligned across cards */
.ways { align-items: center; }
.way { min-height: 0; gap: 8px; }
.way .ic { margin-bottom: clamp(48px, 9vh, 96px); }
.way-meta { font-size: 13px; font-weight: 600; color: var(--blue); }
.way.feature .way-meta { color: rgba(255,255,255,.85); }
.way p { margin-top: 4px; font-size: 14.5px; line-height: 1.55; }

/* Hero visual: the QUELA app inside a real iPhone frame, with work arriving live */
.hero-visual { aspect-ratio: auto; }
.phone-stage { position: relative; display: grid; place-items: center; padding: 8px 0; }
.phone-stage::before { content: ""; position: absolute; width: 112%; aspect-ratio: 1; left: 50%; top: 50%; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, #dfe8fb 0%, #f0f4fd 45%, transparent 70%); z-index: 0; }
.phone { position: relative; z-index: 1; width: min(304px, 78vw); aspect-ratio: .4941; filter: drop-shadow(0 40px 50px rgba(10,24,56,.22)); }
.phone-frame { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; }
/* the screen sits under the frame, matched to the transparent screen area of the image */
.phone-screen { --ink-ph: #141414; --mute: #8a8784; --soft: #efedea; position: absolute; z-index: 1; left: 4.6%; top: 1.85%; width: 90.9%; height: 96.25%; display: flex; flex-direction: column; overflow: hidden; border-radius: 17.3% / 8.15%; background: #f7f6f4; color: var(--ink-ph); container-type: inline-size; }
.ph-status { display: flex; justify-content: space-between; align-items: center; height: 11.5cqw; padding: 3.2cqw 7cqw 0 9cqw; flex: none; }
.ph-status b { font-size: 4.6cqw; font-weight: 700; }
.ph-sys { display: flex; align-items: flex-end; gap: .55cqw; height: 3.4cqw; }
.ph-sys i { width: 1.05cqw; border-radius: .3cqw; background: var(--ink-ph); }
.ph-sys i:nth-child(1) { height: 1.4cqw; } .ph-sys i:nth-child(2) { height: 2cqw; } .ph-sys i:nth-child(3) { height: 2.7cqw; } .ph-sys i:nth-child(4) { height: 3.4cqw; }
.ph-sys u { width: 7cqw; height: 3.4cqw; margin-left: 1.6cqw; border-radius: 1.1cqw; background: linear-gradient(90deg, var(--ink-ph) 78%, transparent 78%); box-shadow: inset 0 0 0 .4cqw var(--ink-ph); }
.ph-top { display: flex; justify-content: space-between; padding: 3cqw 5cqw 0; flex: none; }
.ph-btn { position: relative; display: grid; place-items: center; width: 11.5cqw; height: 11.5cqw; border-radius: 50%; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.ph-btn svg { width: 5.2cqw; height: 5.2cqw; }
.ph-avatar { font-size: 3.8cqw; font-weight: 700; letter-spacing: .02em; color: #fff; background: linear-gradient(135deg, var(--blue), #6aa0ff); }
.ph-bell i { position: absolute; top: 3cqw; right: 3.2cqw; width: 2cqw; height: 2cqw; border-radius: 50%; background: #ef4444; box-shadow: 0 0 0 .5cqw #fff; }
.ph-title { display: flex; justify-content: space-between; align-items: center; padding: 3.6cqw 5cqw 0; flex: none; }
.ph-title b { font-size: 7.6cqw; font-weight: 600; letter-spacing: -.03em; }
.feed-live { display: inline-flex; align-items: center; gap: 1.6cqw; font-size: 3.5cqw; font-weight: 500; color: var(--mute); }
.feed-live i { width: 2cqw; height: 2cqw; border-radius: 50%; background: #22c55e; animation: livePulse 1.6s ease-out infinite; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.5); } 100% { box-shadow: 0 0 0 2.2cqw rgba(34,197,94,0); } }
.ph-seg { display: flex; gap: 1cqw; margin: 3.4cqw 5cqw 0; flex: none; }
.ph-seg span { padding: 1.9cqw 3.6cqw; border-radius: 999px; font-size: 3.5cqw; color: #4a4744; }
.ph-seg span.on { background: #fff; color: var(--ink-ph); font-weight: 600; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.ph-stats { margin: 2.6cqw 5cqw 0; flex: none; }
.ph-stats li { display: flex; align-items: center; gap: 1.6cqw; height: 9.4cqw; border-bottom: 1px solid #e7e4e0; font-size: 3.8cqw; }
.ph-stats li > span { margin-right: auto; color: #2a2826; }
.ph-stats b { font-weight: 600; font-variant-numeric: tabular-nums; }
.ph-stats em { font-style: normal; font-size: 3.2cqw; color: var(--mute); }
.ph-stats svg { width: 3.8cqw; height: 3.8cqw; color: #16a34a; }
.ph-stats b.bump { animation: statBump .45s var(--out); }
@keyframes statBump { 35% { transform: translateY(-.8cqw); color: #16a34a; } }
.ph-label { display: flex; justify-content: space-between; align-items: baseline; padding: 4.6cqw 5cqw 2.4cqw; flex: none; }
.ph-label b { font-size: 4.6cqw; font-weight: 600; letter-spacing: -.01em; }
.ph-label span { font-size: 3.4cqw; color: var(--mute); }
.feed-list { flex: 1; min-height: 0; display: grid; align-content: start; gap: 1.8cqw; padding: 0 5cqw; overflow: hidden; -webkit-mask: linear-gradient(180deg, #000 72%, transparent); mask: linear-gradient(180deg, #000 72%, transparent); }
.ev { display: grid; grid-template-columns: 10.5cqw 1fr auto; align-items: center; gap: 3cqw; height: 16.5cqw; padding: 0 3.6cqw; border-radius: 4.6cqw; background: var(--soft); box-shadow: none; }
.ev:first-child { box-shadow: none; background: #fff; outline: 1px solid #e7e4e0; }
.ev.enter { animation: evIn .42s var(--out) both; }
@keyframes evIn { from { opacity: 0; transform: translateY(-2cqw) scale(.97); height: 0; margin-bottom: -1.8cqw; } }
.ev-ico { display: grid; place-items: center; width: 10.5cqw; height: 10.5cqw; border-radius: 50%; background: #fff; color: var(--ink-ph); }
.ev:first-child .ev-ico { background: var(--soft); }
.ev-ico svg { width: 4.8cqw; height: 4.8cqw; }
.ev--paid .ev-ico, .ev--accepted .ev-ico { color: #16a34a; }
.ev-txt { min-width: 0; display: grid; gap: .3cqw; }
.ev-txt b { font-size: 3.9cqw; font-weight: 600; letter-spacing: -.01em; }
.ev-txt span { font-size: 3.3cqw; color: #6f6b67; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev time { align-self: start; margin-top: 3.6cqw; font-size: 3cqw; color: var(--mute); white-space: nowrap; }
.ph-tabs { display: flex; justify-content: space-around; align-items: flex-start; height: 19cqw; padding: 2.6cqw 3cqw 0; flex: none; background: #f7f6f4; box-shadow: 0 -1px 0 #ebe8e4; }
.ph-tabs span { display: grid; justify-items: center; gap: .8cqw; color: #a3a09c; }
.ph-tabs span.on { color: var(--ink-ph); }
.ph-tabs svg { width: 6.2cqw; height: 6.2cqw; }
.ph-tabs small { font-size: 2.9cqw; font-weight: 500; }
.ph-bar { position: absolute; left: 50%; bottom: 2.2cqw; width: 35cqw; height: 1.3cqw; transform: translateX(-50%); border-radius: 2cqw; background: var(--ink-ph); }
/* notifications pop out at different spots around the phone */
.ph-toast { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; min-width: 188px; padding: 10px 16px 10px 10px; border-radius: 18px; background: rgba(255,255,255,.97); box-shadow: 0 0 0 1px rgba(0,0,0,.05), 0 18px 40px -18px rgba(10,24,56,.35); opacity: 0; pointer-events: none; }
.ph-toast .ev-ico { width: 34px; height: 34px; background: #f3f2ef; }
.ph-toast .ev-ico svg { width: 16px; height: 16px; }
.ph-toast b { display: block; font-size: 12.5px; font-weight: 600; color: #141414; }
.ph-toast span { display: block; font-size: 11px; color: #7a7773; }
.ph-toast.at-0 { right: calc(50% + 128px); top: 46%; }
.ph-toast.at-1 { left: calc(50% + 122px); top: 14%; }
.ph-toast.at-2 { right: calc(50% + 122px); top: 20%; }
.ph-toast.at-3 { left: calc(50% + 128px); top: 58%; }
.ph-toast.at-4 { right: calc(50% + 118px); top: 72%; }
.ph-toast.at-5 { left: calc(50% + 118px); top: 36%; }
.ph-toast.at-1, .ph-toast.at-3, .ph-toast.at-5 { --from: 12px; }
.ph-toast.show { animation: toastPop 1.9s var(--out) both; }
@keyframes toastPop { 0% { opacity: 0; transform: translateX(var(--from, -12px)) scale(.92); } 16%, 80% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-8px) scale(.98); } }
@media (max-width: 900px) { .ph-toast { display: none; } }
.ph-avatar { overflow: hidden; background: #ddd; padding: 0; }
.ph-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

/* ======================= Inner pages: shared components ======================= */
.pill.blue { background: var(--tint-2); color: var(--blue); }
/* --- mock-ups (src/mocks.mjs) --- */
.mx-inbox { width: min(100%, 460px); }
.mx-inbox ul { display: grid; gap: 8px; margin-top: 14px; }
.mx-inbox li { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: var(--tint); font-size: 13.5px; }
.mx-inbox li i { font-style: normal; font-size: 11.5px; font-weight: 600; color: var(--tx-3); }
.mx-inbox li span { font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mx-job { width: min(100%, 420px); }
.mx-sub { margin-top: 4px; font-size: 13px; color: var(--tx-2); }
.mx-job ul { display: grid; gap: 8px; margin: 14px 0; }
.mx-job li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--tx-2); }
.mx-job li i { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; box-shadow: inset 0 0 0 1.5px var(--line-2); color: #fff; }
.mx-job li.done { color: var(--ink); }
.mx-job li.done i { background: #16a34a; box-shadow: none; }
.mx-job li i svg { width: 13px; height: 13px; }
.mx-photos { display: flex; gap: 6px; }
.mx-photos span { width: 54px; height: 42px; border-radius: 8px; background: linear-gradient(135deg, #cfdcf5, #e9effb); }
.mx-photos span:nth-child(2) { background: linear-gradient(135deg, #d9d2c5, #efe9df); }
.mx-photos span:nth-child(3) { background: linear-gradient(135deg, #c9d8cf, #e6efe9); }
.mx-photos em { display: grid; place-items: center; width: 54px; height: 42px; border-radius: 8px; background: var(--tint); font-size: 12px; font-style: normal; font-weight: 600; color: var(--tx-2); }
.mx-report { display: grid; gap: 12px; width: min(100%, 440px); }
.mx-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mx-kpis .mk-card { padding: 12px 14px; }
.mx-kpis span { display: block; font-size: 12px; color: var(--tx-3); }
.mx-kpis b { font-size: 22px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.mx-call { width: min(100%, 400px); }
.mx-call header { justify-content: flex-start; gap: 12px; }
.mx-call-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--tint-2); color: var(--blue); }
.mx-call-ico svg { width: 20px; height: 20px; }
.mx-call header span:not(.mx-call-ico) { display: block; font-size: 12.5px; color: var(--tx-3); }
.mx-call ol { display: grid; gap: 8px; margin: 16px 0; }
.mx-call li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: var(--tint); font-size: 14px; font-weight: 600; color: var(--ink); }
.mx-call li b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 11.5px; }
.mx-call-out { display: flex; justify-content: space-between; align-items: baseline; padding-top: 12px; border-top: 1px dashed var(--line-2); font-size: 13px; color: var(--tx-3); }
.mx-call-out b { font-size: 14px; color: #15803d; }
.mx-stages { width: min(100%, 440px); display: grid; gap: 12px; }
.mx-stage { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px 16px; border-radius: 12px; background: var(--tint); overflow: hidden; }
.mx-stage span { display: block; font-size: 11.5px; color: var(--tx-3); }
.mx-stage b { font-size: 14.5px; color: var(--ink); }
.mx-stage > i { position: absolute; left: 14px; right: 14px; bottom: 7px; height: 4px; border-radius: 4px; background: var(--line); }
.mx-stage > i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--p); border-radius: inherit; background: var(--blue); }
.mx-review { width: min(100%, 420px); }
.mx-review ul { display: grid; gap: 8px; margin: 14px 0 12px; }
.mx-review li { display: flex; justify-content: space-between; padding: 11px 14px; border-radius: 10px; background: var(--tint); font-size: 14px; color: var(--tx-2); }
.mx-review li b { color: var(--ink); }
.mx-record { width: min(100%, 470px); padding: 22px 24px; border-radius: 20px; background: var(--white); box-shadow: 0 0 0 1px var(--line), var(--shadow-l); }
.mx-record header { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.mx-record header b { display: block; font-size: 17px; font-weight: 700; color: var(--ink); }
.mx-record ol { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; margin-top: 8px; }
.mx-record li { position: relative; display: grid; grid-template-columns: 22px 1fr; gap: 0 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.mx-record li i { grid-row: span 2; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #e7f6ec; color: #16a34a; }
.mx-record li i svg { width: 13px; height: 13px; }
.mx-record li b { font-size: 14px; color: var(--ink); }
.mx-record li span { font-size: 12.5px; color: var(--tx-2); }
.js .mx-record li { opacity: 0; transform: translateY(6px); transition: opacity .5s var(--out), transform .6s var(--out); transition-delay: calc(.2s + var(--i) * .07s); }
.js .in .mx-record li, .js .mx-record.in li, .js [data-reveal].in .mx-record li { opacity: 1; transform: none; }

/* --- "what you're buying" equation --- */
.eq { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; gap: 14px; }
.eq-card { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: 20px; background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.eq-card .label { color: var(--blue); font-weight: 600; }
.eq-card h3 { font-size: clamp(20px, 1.7vw, 24px); font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.eq-card p { font-size: 14.5px; color: var(--tx-2); }
.eq-card--main { background: var(--blue); box-shadow: var(--shadow-l); }
.eq-card--main .label, .eq-card--main p { color: rgba(255,255,255,.82); }
.eq-card--main h3 { color: #fff; }
.eq-op { align-self: center; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--tint); color: var(--blue); transform: scaleX(-1); }
.eq-op svg { width: 18px; height: 18px; }
.eq-bars { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: auto; padding-top: 16px; }
.eq-bars > div { position: relative; display: flex; align-items: flex-end; gap: 8px; height: 130px; padding-bottom: 24px; }
.eq-bars > div > span { position: absolute; left: 0; bottom: 0; font-size: 12px; color: rgba(255,255,255,.8); }
.eq-bars i { flex: 1; height: var(--h); border-radius: 8px 8px 4px 4px; background: rgba(255,255,255,.3); }
.eq-bars i.up { background: #fff; }
.eq-bars small { grid-column: 1 / -1; display: flex; align-items: center; gap: 6px; font-size: 12px; color: rgba(255,255,255,.8); }
.eq-bars small b { width: 10px; height: 10px; border-radius: 3px; background: rgba(255,255,255,.3); }
.eq-bars small b.up { margin-left: 10px; background: #fff; }
.eq-net { width: 100%; height: auto; margin-top: auto; padding-top: 12px; overflow: visible; }
.eq-net line { stroke: var(--line-2); stroke-width: 1.5; stroke-dasharray: 3 3; }
.eq-net rect { fill: var(--tint); stroke: var(--line-2); }
.eq-net text { font-size: 10px; font-weight: 600; fill: var(--ink); text-anchor: middle; dominant-baseline: central; }
.eq-net .hub rect { fill: var(--ink); stroke: none; }
.eq-net .hub text { fill: #fff; font-size: 11px; }
.eq-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 16px; }
.eq-chips span { padding: 7px 12px; border-radius: 999px; background: var(--tint); font-size: 13px; font-weight: 500; color: var(--tx-3); box-shadow: inset 0 0 0 1px var(--line); }
.eq-chips span.on { background: var(--tint-2); color: var(--blue); font-weight: 600; box-shadow: inset 0 0 0 1px #bcd3ff; }

/* --- explorer: pick an area, see it --- */
.explorer { display: grid; grid-template-columns: minmax(260px, 340px) 1fr; gap: 20px; }
.explorer-tabs { display: grid; gap: 6px; align-content: start; }
.explorer-tabs button { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; text-align: left; transition: background-color .2s, box-shadow .2s; }
.explorer-tabs button:hover { background: rgba(255,255,255,.6); }
.explorer-tabs button[aria-selected="true"] { background: var(--white); box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.explorer-ico { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 11px; background: var(--white); color: var(--tx-3); box-shadow: 0 0 0 1px var(--line); transition: background-color .2s, color .2s; }
.explorer-ico svg { width: 19px; height: 19px; }
.explorer-tabs button[aria-selected="true"] .explorer-ico { background: var(--blue); color: #fff; box-shadow: none; }
.explorer-tabs b { display: block; font-size: 16px; font-weight: 700; color: var(--ink); }
.explorer-tabs small { display: block; font-size: 13px; color: var(--tx-3); }
.explorer-panel { display: grid; grid-template-columns: 1.15fr .85fr; gap: 0; height: 100%; border-radius: 22px; background: var(--white); box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.explorer-panel[hidden] { display: none; }
.explorer-panel:not([hidden]) { animation: panelIn .45s var(--out); }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } }
.explorer-stage { display: grid; place-items: center; padding: 28px; background: var(--tint); background-image: radial-gradient(rgba(26,106,255,.08) 1px, transparent 1px); background-size: 16px 16px; }
.explorer-info { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 28px 30px; }
.explorer-info .label { color: var(--blue); font-weight: 600; }
.explorer-info h3 { font-size: clamp(22px, 1.9vw, 28px); font-weight: 700; letter-spacing: -.025em; line-height: 1.15; color: var(--ink); }

/* --- one shared record --- */
.record-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.record-points { display: grid; gap: 18px; margin-top: 30px; }
.record-points li { display: flex; gap: 14px; }
.record-ico { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--tint-2); color: var(--blue); }
.record-ico svg { width: 19px; height: 19px; }
.record-points b { font-size: 16px; color: var(--ink); }
.record-points p { margin-top: 2px; font-size: 14.5px; color: var(--tx-2); }
.record-wrap > div:last-child { display: grid; justify-items: center; }

/* --- components --- */
.comp-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.comp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.comp { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--white); box-shadow: 0 0 0 1px var(--line); font-size: 14.5px; font-weight: 600; color: var(--ink); }
.comp span { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--tint-2); color: var(--blue); }
.comp svg { width: 17px; height: 17px; }
.comp-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 30px; }
.comp-logos img { height: 24px; width: auto; filter: grayscale(1); opacity: .6; }

/* --- automation track --- */
.auto-track { display: grid; grid-template-columns: 120px repeat(9, 1fr); grid-template-rows: auto 40px auto; gap: 0 8px; }
.auto-lab { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; grid-column: 1; }
.auto-lab svg { width: 18px; height: 18px; }
.auto-lab--a { grid-row: 1; color: var(--sky); }
.auto-lab--h { grid-row: 3; color: #fff; }
.auto-track::before { content: ""; grid-column: 2 / -1; grid-row: 2; align-self: center; height: 2px; background: linear-gradient(90deg, rgba(143,184,255,.15), rgba(143,184,255,.6), rgba(143,184,255,.15)); }
.auto-step { position: relative; display: grid; gap: 4px; align-content: start; padding: 14px 14px 16px; border-radius: 14px; }
.auto-step b { font-size: 11.5px; color: var(--sky); font-variant-numeric: tabular-nums; }
.auto-step h3 { font-size: 15px; font-weight: 700; line-height: 1.25; color: #fff; }
.auto-step p { font-size: 12.5px; line-height: 1.4; color: rgba(255,255,255,.68); }
.auto-step--a { grid-row: 1; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.auto-step--h { grid-row: 3; background: var(--blue); }
.auto-step--h b { color: rgba(255,255,255,.8); }
.auto-step::after { content: ""; position: absolute; left: 50%; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 4px var(--navy); }
.auto-step--a::after { bottom: -24.5px; }
.auto-step--h::after { top: -24.5px; background: #fff; }

/* --- dashboards --- */
.dash-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 5vw, 80px); align-items: center; }
.dash-list { display: grid; gap: 0; margin-top: 28px; border-top: 1px solid var(--line); }
.dash-list li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.dash-list b { font-size: 16px; color: var(--ink); }
.dash-list span { font-size: 14.5px; color: var(--tx-2); text-align: right; }
.dash-shots { position: relative; padding: 0 0 70px 0; }
.dash-main { width: 92%; }
.dash-sub { position: absolute; right: 0; bottom: 0; width: 48%; }

@media (max-width: 1000px) {
  .eq { grid-template-columns: 1fr; }
  .eq-op { transform: rotate(-90deg); justify-self: center; }
  .explorer, .explorer-panel, .record-wrap, .comp-wrap, .dash-wrap { grid-template-columns: 1fr; }
  .explorer-tabs { grid-template-columns: 1fr 1fr; }
  .auto-track { grid-template-columns: 1fr; grid-template-rows: none; gap: 8px; }
  .auto-track::before, .auto-lab, .auto-step::after { display: none; }
  .auto-step { grid-column: auto !important; grid-row: auto; }
  .mx-record ol { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .explorer-tabs, .comp-grid { grid-template-columns: 1fr; } }
.theme-light .explorer-stage { background-color: #e8eefb; }

/* --- How it works: journey overview --- */
.journey { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.journey li { position: relative; display: flex; }
.journey-card { display: flex; flex-direction: column; gap: 8px; width: 100%; padding: 22px 22px 20px; border-radius: 20px; background: var(--white); box-shadow: 0 0 0 1px var(--line); transition: box-shadow .3s, transform .4s var(--out); }
.journey-card:hover { box-shadow: 0 0 0 1px var(--line-2), var(--shadow-l); transform: translateY(-4px); }
.journey-n { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 10px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 13px; font-weight: 700; }
.journey-card h3 { font-size: 20px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.journey-price { margin-top: 10px; font-size: clamp(24px, 2.1vw, 32px); font-weight: 700; letter-spacing: -.035em; color: var(--ink); }
.journey-card.is-free .journey-price { color: #15803d; }
.journey-card p { margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 1.5; color: var(--tx-2); }
.journey-go { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 14px; font-size: 13.5px; font-weight: 600; color: var(--blue); }
.journey-go svg { width: 13px; height: 13px; }
.journey-gate { position: absolute; z-index: 1; left: -9px; top: 32px; transform: translateX(-50%); padding: 4px 10px; border-radius: 999px; background: var(--tint-2); font-size: 11.5px; font-weight: 600; font-style: normal; white-space: nowrap; color: var(--blue); box-shadow: 0 0 0 3px var(--white); }
/* --- stage detail --- */
.stage-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.stage-wrap.flip > div:first-child { order: 2; }
.stage-incl { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.stage-incl .label { display: block; margin-bottom: 12px; color: var(--blue); font-weight: 600; }
.stage-incl .ticks { grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.stage-visual { display: grid; place-items: center; padding: clamp(28px, 4vw, 56px); border-radius: 28px; background: var(--tint); background-image: radial-gradient(rgba(26,106,255,.08) 1px, transparent 1px); background-size: 16px 16px; }
.theme-light .stage-visual { background-color: var(--white); box-shadow: 0 0 0 1px var(--line); }
.stage-visual .svc-bp { width: min(100%, 470px); }
/* --- why (two cards on navy) --- */
.why2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.why2 article { padding: 26px 28px; border-radius: 20px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.why2-ico { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 14px; border-radius: 12px; background: var(--blue); color: #fff; }
.why2-ico svg { width: 20px; height: 20px; }
.why2 h3 { margin-bottom: 14px; font-size: 20px; font-weight: 700; color: #fff; }
.why2 .ticks li { color: rgba(255,255,255,.8); }
.why2 .ticks li::before { background: var(--sky); }
@media (max-width: 1000px) {
  .journey { grid-template-columns: 1fr 1fr; }
  .journey-gate { display: none; }
  .stage-wrap, .why2 { grid-template-columns: 1fr; }
  .stage-wrap.flip > div:first-child { order: 0; }
}
@media (max-width: 560px) { .journey, .stage-incl .ticks { grid-template-columns: 1fr; } }
.journey-gate { top: -13px; }
.journey-price { font-size: clamp(21px, 1.75vw, 26px); white-space: nowrap; }
@media (min-width: 1100px) { .stage-visual > * { zoom: 1.12; } }

/* --- Who we help --- */
.gap-table { display: grid; border-radius: 22px; background: var(--white); box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.gap-row { display: grid; grid-template-columns: 1fr 1.2fr 1.2fr 1.2fr; }
.gap-row > * { padding: 18px 22px; border-top: 1px solid var(--line); font-size: 15px; color: var(--tx-2); }
.gap-row > b { font-weight: 700; color: var(--ink); }
.gap-head > * { border-top: 0; padding-top: 22px; font-size: 13px; font-weight: 600; color: var(--tx-3); }
.gap-row .gap-q { display: flex; align-items: flex-start; gap: 10px; background: var(--tint); color: var(--ink); font-weight: 600; }
.gap-head .gap-q { background: var(--blue); color: #fff; font-size: 15px; font-weight: 700; }
.gap-q svg { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--blue); }
.persona-wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.persona { display: grid; gap: 14px; }
.persona-card { padding: 22px 24px; border-radius: 20px; background: var(--white); box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.persona-card header { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.persona-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--blue); color: #fff; }
.persona-ico svg { width: 22px; height: 22px; }
.persona-card header b { display: block; font-size: 19px; font-weight: 700; color: var(--ink); }
.persona-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; margin-top: 16px; }
.persona-card dt { font-size: 12px; color: var(--tx-3); }
.persona-card dd { font-size: 15px; font-weight: 600; color: var(--ink); }
.persona-quotes { display: flex; flex-wrap: wrap; gap: 8px; }
.persona-quotes .label { width: 100%; margin: 6px 0 2px; color: var(--blue); font-weight: 600; }
.persona-quotes q { padding: 10px 14px; border-radius: 16px 16px 16px 4px; background: var(--white); box-shadow: 0 0 0 1px var(--line); font-size: 14.5px; color: var(--ink); quotes: "“" "”"; }
.persona-quotes q:nth-child(even) { background: var(--ink); color: #fff; box-shadow: none; border-radius: 16px 16px 4px 16px; }
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ind-card { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 18px; background: var(--white); box-shadow: 0 0 0 1px var(--line); transition: box-shadow .3s, transform .4s var(--out); }
.ind-card:hover { box-shadow: 0 0 0 1px var(--line-2), var(--shadow-l); transform: translateY(-3px); }
.ind-card > span { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 8px; border-radius: 12px; background: var(--tint-2); color: var(--blue); }
.ind-card svg { width: 21px; height: 21px; }
.ind-card h3 { font-size: 17px; font-weight: 700; letter-spacing: -.015em; line-height: 1.25; color: var(--ink); }
.ind-card p { font-size: 14px; line-height: 1.5; color: var(--tx-2); }
.ind-note { margin-top: 26px; max-width: 52em; font-size: 15px; color: var(--tx-2); }
.fit2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fit2 article { padding: 26px 28px; border-radius: 22px; }
.fit2-yes { background: #fff; color: var(--ink); }
.fit2-no { background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.fit2 h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-size: 19px; font-weight: 700; }
.fit2 h3 span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; }
.fit2 h3 svg { width: 16px; height: 16px; }
.fit2-yes h3 span { background: #e7f6ec; color: #16a34a; }
.fit2-no h3 { color: #fff; }
.fit2-no h3 span { background: rgba(255,255,255,.1); color: rgba(255,255,255,.7); }
.fit2 ul { display: grid; gap: 10px; }
.fit2 li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.45; }
.fit2-yes li { color: var(--tx-2); --tx-2: #4b5a7a; }
.fit2-yes li::before { content: ""; position: absolute; left: 2px; top: .3em; width: 10px; height: 6px; border-left: 2px solid #16a34a; border-bottom: 2px solid #16a34a; transform: rotate(-45deg); }
.fit2-no li { color: rgba(255,255,255,.7); }
.fit2-no li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 11px; height: 2px; border-radius: 2px; background: rgba(255,255,255,.4); }
@media (max-width: 1000px) {
  .gap-row { grid-template-columns: 1fr 1fr 1fr 1fr; font-size: 13px; }
  .persona-wrap, .fit2 { grid-template-columns: 1fr; }
  .ind-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .gap-head { display: none; }
  .gap-row { grid-template-columns: 1fr; padding: 6px 0; }
  .gap-row > * { border-top: 0; padding: 6px 18px; }
  .gap-row > b { padding-top: 16px; border-top: 1px solid var(--line); }
  .gap-row > span:nth-child(2)::before { content: "Off-the-shelf: "; color: var(--tx-3); }
  .gap-row > span:nth-child(4)::before { content: "Enterprise: "; color: var(--tx-3); }
  .gap-row .gap-q { border-radius: 10px; margin: 0 12px; }
  .ind-grid, .persona-card dl { grid-template-columns: 1fr; }
}

/* --- Work index --- */
.feat { display: grid; grid-template-columns: 1.15fr .85fr; border-radius: 28px; background: var(--white); box-shadow: 0 0 0 1px var(--line), var(--shadow-l); overflow: hidden; transition: transform .5s var(--out); }
.feat:hover { transform: translateY(-4px); }
.feat-img { min-height: 520px; background: var(--navy); overflow: hidden; }
.feat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--out); }
.feat:hover .feat-img img { transform: scale(1.03); }
.feat-body { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: clamp(28px, 3.4vw, 52px); }
.feat-body .label { color: var(--blue); font-weight: 600; }
.feat-body .h-l { font-size: clamp(30px, 3vw, 44px); }
.feat-body .body-l { color: var(--ink); font-weight: 500; }
.feat-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.feat-tags span { padding: 5px 11px; border-radius: 999px; background: var(--tint); font-size: 12.5px; font-weight: 500; color: var(--tx-2); }
.feat-go { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 15px; font-weight: 600; color: var(--blue); }
.feat-go svg { width: 14px; height: 14px; }
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.filter button { padding: 8px 16px; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1.5px var(--line-2); font-size: 14px; font-weight: 600; color: var(--tx-2); transition: background-color .2s, color .2s, box-shadow .2s; }
.filter button[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.work-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.wcard { display: flex; flex-direction: column; border-radius: 18px; background: var(--white); box-shadow: 0 0 0 1px var(--line); overflow: hidden; transition: box-shadow .3s, transform .4s var(--out), opacity .3s; }
.wcard:hover { box-shadow: 0 0 0 1px var(--line-2), var(--shadow-l); transform: translateY(-4px); }
.wcard[hidden] { display: none; }
.wcard-img { aspect-ratio: 16 / 10; overflow: hidden; }
.wcard-img img { width: 100%; height: 100%; transition: transform .8s var(--out); }
.wcard:hover .wcard-img img { transform: scale(1.04); }
.wcard-body { display: grid; align-content: start; gap: 6px; padding: 16px 18px 20px; }
.wcard-body h3 { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 17px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.wcard-body h3 svg { flex: none; width: 13px; height: 13px; color: var(--tx-3); }
.wcard-body p { font-size: 14px; line-height: 1.5; color: var(--tx-2); }
.wcard-body .pill { justify-self: start; margin-top: 4px; }
@media (max-width: 1100px) { .work-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .feat { grid-template-columns: 1fr; } .feat-img { min-height: 0; aspect-ratio: 16 / 10; } .work-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .work-grid { grid-template-columns: 1fr; } }

/* --- About --- */
.about-intro { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.about-big { margin-top: 26px; font-size: clamp(26px, 2.6vw, 40px); line-height: 1.25; letter-spacing: -.025em; font-weight: 600; color: var(--ink); }
.principles { display: grid; gap: 12px; }
.principles article { display: flex; gap: 16px; padding: 20px 22px; border-radius: 18px; background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.principles article > span { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--tint-2); color: var(--blue); }
.principles svg { width: 20px; height: 20px; }
.principles h3 { font-size: 17px; font-weight: 700; color: var(--ink); }
.principles p { margin-top: 4px; font-size: 14.5px; line-height: 1.5; color: var(--tx-2); }
.founders { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.founder { display: grid; grid-template-columns: 190px 1fr; margin: 0; border-radius: 22px; background: var(--white); box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.founder-img { background: var(--tint-2); }
.founder-img img { width: 100%; height: 100%; object-fit: cover; }
.founder-body { display: flex; flex-direction: column; gap: 18px; padding: 26px 28px; }
.founder blockquote { font-size: 16px; line-height: 1.55; color: var(--ink); }
.founder blockquote::before { content: "“"; display: block; height: 30px; font-size: 54px; line-height: 1; font-weight: 700; color: var(--blue); }
.founder figcaption { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.founder figcaption b { display: block; font-size: 16px; color: var(--ink); }
.founder figcaption span { font-size: 13.5px; color: var(--tx-3); }
.reach { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.reach .hold-stats { border-top-color: rgba(255,255,255,.14); }
.reach-cities { display: grid; gap: 12px; }
.reach-city { position: relative; display: flex; align-items: center; gap: 18px; padding: 12px; border-radius: 18px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.reach-city img { width: 120px; height: 84px; border-radius: 12px; object-fit: cover; }
.reach-city b { display: block; font-size: 22px; font-weight: 700; letter-spacing: -.02em; color: #fff; }
.reach-city span:not(.reach-dot) { font-size: 14px; color: rgba(255,255,255,.65); }
.reach-dot { position: absolute; right: 20px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: #22c55e; animation: livePulse 1.8s ease-out infinite; }
@media (max-width: 1000px) { .about-intro, .founders, .reach { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .founder { grid-template-columns: 1fr; } .founder-img { aspect-ratio: 4 / 3; } }
/* explorer visuals on service pages */
.explorer-stage .svc-shot { width: 100%; }
.explorer-img { width: 100%; height: auto; }
.explorer-phone { width: 180px; }
.explorer-phone .svc-shot--phone { width: 100%; }
.bp-grid { grid-template-columns: repeat(3, 1fr); }
.mx-form, .mx-editor, .mx-seo { width: min(100%, 400px); }
.mx-form-q { display: grid; gap: 8px; margin-top: 14px; }
.mx-form-q > span { font-size: 12.5px; font-weight: 600; color: var(--tx-3); }
.mx-form-q > div:not(.mx-range):not(.mx-photos) { display: flex; flex-wrap: wrap; gap: 6px; }
.mx-form-q em { padding: 6px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line-2); font-size: 13px; font-style: normal; font-weight: 600; color: var(--tx-2); }
.mx-form-q em.on { background: var(--blue); color: #fff; box-shadow: none; }
.mx-range { display: flex; align-items: center; gap: 12px; }
.mx-range i { position: relative; flex: 1; height: 6px; border-radius: 6px; background: var(--line); }
.mx-range i::after { content: ""; position: absolute; left: var(--p); top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px var(--blue); }
.mx-range i::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--p); border-radius: inherit; background: var(--blue); }
.mx-range b { font-size: 14px; color: var(--ink); }
.mx-form-go { margin-top: 18px; padding: 11px; border-radius: 999px; background: var(--blue); color: #fff; text-align: center; font-size: 14px; font-weight: 600; }
.mx-editor ul { display: grid; gap: 6px; margin: 14px 0; }
.mx-editor li { display: flex; justify-content: space-between; padding: 10px 12px; border-radius: 10px; background: var(--tint); font-size: 13.5px; }
.mx-editor li b { color: var(--ink); }
.mx-editor li span { color: var(--tx-3); }
.mx-editor li.on { background: var(--white); box-shadow: 0 0 0 1.5px var(--blue); }
.mx-editor li.on span { color: var(--blue); font-weight: 600; }
.mx-field { display: grid; gap: 4px; padding: 12px 14px; border-radius: 10px; box-shadow: inset 0 0 0 1.5px var(--line-2); }
.mx-field span { font-size: 11.5px; color: var(--tx-3); }
.mx-field b { display: flex; align-items: center; gap: 2px; font-size: 15px; color: var(--ink); }
.mx-field i { width: 2px; height: 18px; background: var(--blue); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.mx-rings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 16px 0; }
.mx-rings div { display: grid; place-items: center; aspect-ratio: 1; border-radius: 50%; background: conic-gradient(#16a34a calc(var(--v) * 1%), var(--line) 0); position: relative; }
.mx-rings div::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: #fff; }
.mx-rings b, .mx-rings span { position: relative; }
.mx-rings b { align-self: end; font-size: 20px; color: #15803d; }
.mx-rings span { align-self: start; font-size: 11px; color: var(--tx-3); }
.mx-seo ul { display: grid; gap: 8px; }
.mx-seo li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink); }
.mx-seo li svg { width: 16px; height: 16px; color: #16a34a; }
@media (max-width: 1000px) { .bp-grid { grid-template-columns: 1fr 1fr; } }
.mx-photos em { width: auto; padding: 0 12px; white-space: nowrap; }

/* ======================= Form pages ======================= */
.fpage { min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + clamp(24px, 4vh, 56px)) 0 clamp(32px, 5vh, 64px); background: linear-gradient(180deg, var(--tint) 0%, #fff 70%); }
.fpage-grid { display: grid; grid-template-columns: 1fr minmax(0, 560px); gap: clamp(40px, 6vw, 100px); align-items: center; width: 100%; }
.fpage-info .index a { color: inherit; }
.fpage-info h1 { margin-top: 20px; }
.fpage-info > .body-l { margin-top: 18px; max-width: 32em; }
.fpage-note { margin-top: 22px; font-size: 14.5px; color: var(--tx-2); }
.fcard { padding: clamp(22px, 2.4vw, 34px); border-radius: 26px; background: var(--white); box-shadow: 0 0 0 1px var(--line), 0 30px 70px -40px rgba(10,24,56,.35); }
.fcard-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.fcard-head b { font-size: 19px; font-weight: 700; letter-spacing: -.015em; color: var(--ink); }
.fcard-head span { font-size: 13px; color: var(--tx-3); }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fld { display: grid; gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; }
.fld--full { grid-column: 1 / -1; }
.fld > span, .fld > legend { padding: 0; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.fld i { font-style: normal; color: var(--blue); }
.fld em { margin-left: 4px; font-style: normal; font-weight: 500; font-size: 12px; color: var(--tx-3); }
.fld input:not([type=radio]):not([type=checkbox]):not([type=file]), .fld textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: 12px; background: #fff; font: inherit; font-size: 15px; color: var(--ink); outline: 0; transition: border-color .2s, box-shadow .2s; }
.fld textarea { min-height: 96px; resize: vertical; }
.fld input::placeholder, .fld textarea::placeholder { color: #9aa5bd; }
.fld input:focus, .fld textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(26,106,255,.12); }
.fld-file input { padding: 10px; border: 1.5px dashed var(--line-2); border-radius: 12px; font-size: 14px; color: var(--tx-2); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.pills label { position: relative; cursor: pointer; }
.pills input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pills span { display: inline-block; padding: 8px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line-2); font-size: 14px; font-weight: 500; color: var(--tx-2); transition: background-color .2s, color .2s, box-shadow .2s; }
.pills input:checked + span { background: var(--blue); color: #fff; box-shadow: none; }
.pills input:focus-visible + span { box-shadow: 0 0 0 3px rgba(26,106,255,.35); }
.f2 .check { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--tx-2); }
.f2 .f-submit { margin-top: 6px; }
.f-done { text-align: left; }
.f-done-ico { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px; border-radius: 50%; background: #e7f6ec; color: #16a34a; }
.f-done-ico svg { width: 22px; height: 22px; }
.f-done .body { margin-top: 8px; }
.fsteps { display: grid; gap: 14px; margin-top: 30px; }
.fsteps li { display: flex; gap: 14px; }
.fsteps li > b { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 13px; }
.fsteps strong { display: block; font-size: 16px; color: var(--ink); }
.fsteps span { font-size: 14.5px; color: var(--tx-2); }
/* contact */
.cways { display: grid; gap: 10px; margin-top: 30px; max-width: 520px; }
.cway { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: var(--white); box-shadow: 0 0 0 1px var(--line); transition: box-shadow .3s, transform .4s var(--out); }
.cway:hover { box-shadow: 0 0 0 1px var(--line-2), var(--shadow); transform: translateX(3px); }
.cway > span { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--tint-2); color: var(--blue); }
.cway > span svg { width: 19px; height: 19px; }
.cway div { flex: 1; min-width: 0; }
.cway b { display: block; font-size: 15.5px; color: var(--ink); }
.cway small { font-size: 13.5px; color: var(--tx-3); }
.cway > svg { flex: none; width: 14px; height: 14px; color: var(--tx-3); }
.cway--main { background: var(--blue); box-shadow: var(--shadow-l); }
.cway--main > span { background: rgba(255,255,255,.18); color: #fff; }
.cway--main b, .cway--main > svg { color: #fff; }
.cway--main small { color: rgba(255,255,255,.8); }
.offices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.office { border-radius: 20px; background: var(--white); box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.office-img { position: relative; aspect-ratio: 16 / 10; }
.office-img img { width: 100%; height: 100%; object-fit: cover; }
.office-time { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.92); font-size: 12.5px; color: var(--tx-2); }
.office-time i { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; }
.office-time time { font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.office-body { padding: 18px 20px 22px; }
.office-body .label { color: var(--blue); font-weight: 600; }
.office-body h3 { margin-top: 4px; font-size: 22px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.office-body p { margin-top: 4px; font-size: 14.5px; color: var(--tx-2); }
/* fit check */
.fc-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.fc-meta span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--white); box-shadow: 0 0 0 1px var(--line); font-size: 13.5px; font-weight: 600; color: var(--ink); }
.fc-meta svg { width: 16px; height: 16px; color: var(--blue); }
.fc-who { display: flex; align-items: center; gap: 14px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); max-width: 480px; }
.fc-who div { display: flex; flex: none; }
.fc-who img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #fff; }
.fc-who img + img { margin-left: -12px; }
.fc-who p { font-size: 14.5px; color: var(--tx-2); }
.fprog { grid-column: 1 / -1; margin-bottom: 6px; }
.fprog-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.fprog-top b { font-size: 19px; font-weight: 700; color: var(--ink); }
.fprog-top > span { font-size: 13px; color: var(--tx-3); }
.fprog-bar { height: 5px; border-radius: 5px; background: var(--line); overflow: hidden; }
.fprog-bar i { display: block; height: 100%; border-radius: inherit; background: var(--blue); transition: width .5s var(--out); }
.fstep { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fstep[hidden] { display: none; }
.fstep:not([hidden]) { animation: panelIn .4s var(--out); }
.fstep-nav { display: flex; gap: 10px; }
/* partners */
.pwho { margin-top: 28px; }
.pwho .label { display: block; margin-bottom: 10px; color: var(--blue); font-weight: 600; }
.pwho div { display: flex; flex-wrap: wrap; gap: 8px; }
.pwho div span { padding: 7px 13px; border-radius: 999px; background: var(--white); box-shadow: 0 0 0 1px var(--line); font-size: 13.5px; font-weight: 500; color: var(--ink); }
/* careers */
.roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.role { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 18px; background: var(--white); box-shadow: 0 0 0 1px var(--line); transition: box-shadow .3s, transform .4s var(--out); }
.role[hidden] { display: none; }
.role:hover { box-shadow: 0 0 0 1px var(--line-2), var(--shadow-l); transform: translateY(-3px); }
.role .label { color: var(--blue); font-weight: 600; }
.role h3 { font-size: 20px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.role p { font-size: 14.5px; line-height: 1.5; color: var(--tx-2); }
.role-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.role-go { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--blue); }
.role-go svg { width: 13px; height: 13px; }
.life { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.perks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.perks div { padding: 16px 18px; border-radius: 16px; background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.perks span { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 10px; border-radius: 10px; background: var(--tint-2); color: var(--blue); }
.perks svg { width: 18px; height: 18px; }
.perks b { display: block; font-size: 15.5px; color: var(--ink); }
.perks p { margin-top: 2px; font-size: 13.5px; line-height: 1.45; color: var(--tx-2); }
.life-media { aspect-ratio: 4 / 4.4; border-radius: 26px; overflow: hidden; background: var(--tint-2); box-shadow: var(--shadow-l); }
.life-media video { width: 100%; height: 100%; object-fit: cover; }
.way-cols--2 { grid-template-columns: repeat(2, 1fr); }
.theme-light .callout { background: var(--white); }
@media (max-width: 1000px) {
  .fpage-grid, .life { grid-template-columns: 1fr; }
  .offices, .roles { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .f2, .fstep, .offices, .roles, .perks, .way-cols--2 { grid-template-columns: 1fr; }
}
/* grids on inner pages: let columns shrink below their content's natural width */
.stage-wrap > *, .record-wrap > *, .comp-wrap > *, .dash-wrap > *, .persona-wrap > *, .about-intro > *, .reach > *, .life > *, .fpage-grid > *, .explorer > *, .explorer-panel > * { min-width: 0; }
.stage-visual { overflow: hidden; }
@media (max-width: 560px) { .stage-visual { padding: 18px; } .svc-bp { padding: 16px; } .svc-bp-list li { font-size: 12.5px; } }

/* --- Contact (editorial) --- */
.ct { min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + clamp(28px, 5vh, 64px)) 0 clamp(36px, 6vh, 72px); }
.ct-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 120px); align-items: start; width: 100%; }
.ct-h { margin-top: 18px; font-size: clamp(56px, 7vw, 104px); font-weight: 700; letter-spacing: -.045em; line-height: .98; color: var(--ink); }
.ct-lede { margin-top: 22px; max-width: 28em; }
.ct-list { margin-top: clamp(28px, 4.5vh, 48px); border-top: 1px solid var(--ink); }
.ct-list > div { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line-2); }
.ct-list dt { font-size: 14px; color: var(--tx-3); }
.ct-list dd { font-size: 17px; line-height: 1.4; color: var(--ink); }
.ct-list dd a { font-weight: 600; color: var(--ink); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .35s var(--out), color .2s; }
.ct-list dd a:hover { color: var(--blue); background-size: 100% 1.5px; }
.ct-list dd span { display: block; font-size: 13.5px; color: var(--tx-3); }
.ct-form { padding-top: clamp(4px, 1vh, 12px); }
.ct-form-h { font-size: clamp(22px, 2vw, 28px); font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
.f3 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 28px; margin-top: 28px; }
.uf { display: grid; gap: 4px; }
.uf--full { grid-column: 1 / -1; }
.uf > span { font-size: 13.5px; color: var(--tx-3); }
.uf em { font-style: normal; color: #a3adc2; }
.uf input, .uf textarea { width: 100%; padding: 8px 0 10px; border: 0; border-bottom: 1.5px solid var(--line-2); border-radius: 0; background: transparent; font: inherit; font-size: 18px; color: var(--ink); outline: 0; transition: border-color .2s; }
.uf textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.uf textarea::placeholder { color: #a3adc2; }
.uf input:focus, .uf textarea:focus { border-bottom-color: var(--blue); }
.ct-send { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.ct-offices { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.ct-offices > div { padding: 26px 28px 30px 0; }
.ct-offices > div + div { padding-left: 28px; border-left: 1px solid var(--line-2); }
.ct-offices .label { color: var(--blue); font-weight: 600; }
.ct-offices h3 { margin-top: 8px; font-size: clamp(30px, 3vw, 44px); font-weight: 700; letter-spacing: -.035em; color: var(--ink); }
.ct-offices p { margin-top: 2px; font-size: 15px; color: var(--tx-2); }
.ct-time { display: block; margin-top: clamp(28px, 5vh, 56px); font-size: clamp(40px, 4.4vw, 64px); font-weight: 300; letter-spacing: -.03em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.ct-offices small { font-size: 13px; color: var(--tx-3); }
/* --- Who we help: the owner (editorial) --- */
.owner { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.owner-story { font-size: clamp(22px, 2vw, 30px); line-height: 1.35; letter-spacing: -.02em; font-weight: 500; color: var(--ink); }
.owner-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(24px, 4vh, 40px); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line-2); }
.owner-facts > div { padding: 14px 16px 16px 0; }
.owner-facts > div + div { padding-left: 16px; border-left: 1px solid var(--line-2); }
.owner-facts dt { font-size: 13px; color: var(--tx-3); }
.owner-facts dd { margin-top: 2px; font-size: 15.5px; font-weight: 600; color: var(--ink); }
.owner-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: clamp(24px, 4vh, 40px); }
.owner-lists h3 { padding-bottom: 10px; font-size: 14px; font-weight: 600; color: var(--tx-3); }
.owner-lists li { padding: 11px 0; border-top: 1px solid var(--line-2); font-size: 15.5px; line-height: 1.4; color: var(--ink); }
.owner-lists div:first-child li { color: var(--tx-2); }
@media (max-width: 1000px) { .ct-grid, .owner { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .ct-list > div { grid-template-columns: 1fr; gap: 2px; }
  .f3, .ct-offices, .owner-facts, .owner-lists { grid-template-columns: 1fr; }
  .ct-offices > div + div, .owner-facts > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-2); }
}

/* --- Careers: video hero + editorial life section --- */
.vhero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 40px) 0 60px; overflow: hidden; background: var(--navy); color: #fff; }
.vhero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vhero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,26,74,.88) 0%, rgba(7,26,74,.62) 45%, rgba(7,26,74,.2) 100%), linear-gradient(0deg, rgba(7,26,74,.5), transparent 40%); }
.vhero-in { position: relative; z-index: 1; width: 100%; }
.vhero .index { color: var(--sky); }
.vhero h1 { margin-top: 20px; max-width: 11em; color: #fff; }
.vhero .lede { margin-top: 22px; max-width: 32em; color: rgba(255,255,255,.82); }
.vhero .btn-row { margin-top: 32px; }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn--ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.life2 { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.life-list { border-top: 1px solid var(--ink); }
.life-list li { display: grid; grid-template-columns: 56px 1fr 1.4fr; align-items: baseline; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line-2); }
.life-list span { font-size: 13px; color: var(--tx-3); font-variant-numeric: tabular-nums; }
.life-list h3 { font-size: clamp(20px, 1.7vw, 24px); font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
.life-list p { font-size: 15px; line-height: 1.5; color: var(--tx-2); }
@media (max-width: 1000px) { .life2 { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .life-list li { grid-template-columns: 40px 1fr; } .life-list p { grid-column: 2; } }

/* --- Fit Check: one question at a time --- */
.qf { display: flex; flex-direction: column; min-height: min(600px, calc(100svh - var(--nav-h) - 120px)); }
.qf-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.qf-back, .qf-spacer { flex: none; width: 44px; height: 44px; }
.qf-back { display: grid; place-items: center; border-radius: 50%; background: var(--tint); color: var(--ink); transition: background-color .2s, opacity .2s; }
.qf-back:hover { background: var(--tint-2); }
.qf-back:disabled { opacity: 0; pointer-events: none; }
.qf-back svg { width: 20px; height: 20px; }
.qf-count { flex: 1; display: grid; justify-items: center; gap: 6px; }
.qf-count > span { font-size: 12.5px; color: var(--tx-3); font-variant-numeric: tabular-nums; }
.qf-count b { font-weight: 600; color: var(--ink); }
.qf-count i { display: block; width: min(180px, 100%); height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.qf-count em { display: block; height: 100%; border-radius: inherit; background: var(--ink); transition: width .35s var(--out); }
.qf-stage { flex: 1; margin-top: 28px; }
.qf-q { margin: 0; padding: 0; border: 0; min-width: 0; }
.qf-q.is-entering { animation: qIn .26s var(--out); }
.qf-q.is-leaving { animation: qOut .17s ease-in forwards; }
@keyframes qIn { from { opacity: 0; transform: translateX(calc(var(--dir, 1) * 28px)); } }
@keyframes qOut { to { opacity: 0; transform: translateX(calc(var(--dir, 1) * -28px)); } }
.qf-q.is-shake { animation: qShake .35s; }
@keyframes qShake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.qf-tag { display: inline-block; padding: 3px 8px; border-radius: 6px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 500; }
.qf-title { display: block; float: none; width: 100%; margin-top: 12px; padding: 0; font-size: clamp(26px, 2.3vw, 34px); font-weight: 600; letter-spacing: -.025em; line-height: 1.15; color: var(--ink); }
.qf-hint { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--tx-2); }
.qf-body { display: grid; gap: 14px; margin-top: 22px; }
.qin { display: grid; gap: 6px; }
.qin > span { font-size: 13px; font-weight: 600; color: var(--tx-2); }
.qin em { font-style: normal; font-weight: 500; color: var(--tx-3); }
.qin input, .qin textarea { width: 100%; height: 56px; padding: 0 18px; border: 1.5px solid transparent; border-radius: 16px; background: var(--tint); font: inherit; font-size: 17px; color: var(--ink); outline: 0; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.qin textarea { height: auto; min-height: 130px; padding: 14px 18px; line-height: 1.5; resize: vertical; }
.qin input::placeholder, .qin textarea::placeholder { color: #9aa5bd; }
.qin input:focus, .qin textarea:focus { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(26,106,255,.12); }
.qopts { display: grid; gap: 10px; }
.qopt { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 12px 22px; border-radius: 999px; background: var(--tint); font-size: 15.5px; color: var(--ink); cursor: pointer; transition: background-color .18s, color .18s, transform .18s var(--out); }
.qopt:hover { background: var(--tint-2); }
.qopt:active { transform: scale(.985); }
.qopt input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.qopt i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--blue); color: #fff; opacity: 0; transform: scale(.6); transition: opacity .18s, transform .25s var(--spring); }
.qopt i svg { width: 14px; height: 14px; }
.qopt:has(input:checked) { background: var(--ink); color: #fff; }
.qopt:has(input:checked) i { opacity: 1; transform: none; }
.qopt:has(input:focus-visible) { box-shadow: 0 0 0 3px rgba(26,106,255,.4); }
.qcheck { display: flex; align-items: center; gap: 10px; margin-top: 2px; font-size: 15px; color: var(--tx-2); cursor: pointer; }
.qcheck input { width: 18px; height: 18px; accent-color: var(--blue); }
.qf-foot { margin-top: 24px; }
.qf-next { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 56px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 16px; font-weight: 600; transition: background-color .2s, transform .2s var(--out); }
.qf-next:hover { background: var(--blue); }
.qf-next:active { transform: scale(.99); }
.qf-next[hidden] { display: none; }
.qf-next svg { width: 15px; height: 15px; }
.qf .f-status:empty { display: none; }
.qf-q[data-solo] .qin > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.qf { min-height: min(560px, calc(100svh - var(--nav-h) - 120px)); }

/* ======================= Case study pages ======================= */
.cs-hero { min-height: 100svh; display: flex; padding: calc(var(--nav-h) + 28px) 0 clamp(40px, 7vh, 80px); background: var(--navy); background-image: radial-gradient(circle at 85% 10%, rgba(26,106,255,.35), transparent 45%), linear-gradient(rgba(143,184,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(143,184,255,.05) 1px, transparent 1px); background-size: auto, 48px 48px, 48px 48px; color: #fff; }
.cs-hero-in { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; width: 100%; }
.cs-hero-top { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: rgba(255,255,255,.7); }
.cs-back { color: #fff; font-weight: 600; }
.cs-back:hover { color: var(--sky); }
.cs-sector { font-size: 15px; color: rgba(255,255,255,.72); }
.cs-sector a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.cs-name { margin-top: 14px; font-size: clamp(72px, 12.5vw, 200px); font-weight: 700; letter-spacing: -.055em; line-height: .92; color: #fff; }
.cs-intro { display: block; }
.cs-headline { max-width: 17em; font-size: clamp(36px, 4.4vw, 64px); font-weight: 700; letter-spacing: -.04em; line-height: 1.04; color: var(--ink); }
.cs-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: clamp(28px, 4vh, 44px); padding-top: 14px; border-top: 1px solid var(--ink); }
.cs-meta dt { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--tx-3); }
.cs-meta dd { margin-top: 6px; font-size: 15.5px; line-height: 1.45; color: var(--ink); }
.cs-links { margin-top: 24px; }
.cs-links .btn svg { width: 13px; height: 13px; }
/* colour panels that hold the screens */
.cs-vis { position: relative; margin-top: clamp(32px, 5vh, 56px); padding: clamp(28px, 5vw, 72px); border-radius: 28px; overflow: hidden; display: grid; place-items: center; }
.cs-vis--blue { background: radial-gradient(120% 90% at 20% 0%, #8fb2ff 0%, #3d6ff0 45%, #1b46c9 100%); }
.cs-vis--navy { background: radial-gradient(120% 90% at 80% 0%, #24407e 0%, #0b1d4d 55%, #071434 100%); }
.cs-vis--ice { background: linear-gradient(160deg, #eef3ff 0%, #dce6fb 100%); }
.cs-shot { margin: 0; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px -24px rgba(7,20,52,.55), 0 0 0 1px rgba(255,255,255,.2); }
.cs-shot .bar { display: flex; gap: 6px; align-items: center; height: 26px; padding: 0 12px; background: #f4f6fb; border-bottom: 1px solid #e6eaf3; }
.cs-shot .bar i { width: 8px; height: 8px; border-radius: 50%; background: #d3d9e6; }
.cs-shot img { display: block; width: 100%; height: auto; }
.cs-raw { display: block; max-width: 100%; height: auto; border-radius: 12px; }
.cs-one { width: min(100%, 1040px); }
.cs-vis--stack { display: block; min-height: clamp(320px, 42vw, 620px); }
.cs-vis--stack .cs-a { position: relative; z-index: 1; width: 68%; }
.cs-vis--stack .cs-b { position: absolute; z-index: 2; right: clamp(28px, 5vw, 72px); bottom: clamp(28px, 5vw, 72px); width: 56%; }
.cs-vis--phones { display: flex; justify-content: center; align-items: flex-start; gap: clamp(14px, 2.4vw, 36px); }
.cs-phone { margin: 0; width: clamp(140px, 17vw, 250px); border-radius: 28px; overflow: hidden; background: #fff; box-shadow: 0 0 0 6px #0b1530, 0 30px 60px -24px rgba(7,20,52,.6); }
.cs-phone img { display: block; width: 100%; height: auto; }
.cs-vis--phones .cs-phone:nth-child(even) { margin-top: clamp(24px, 4vw, 60px); }
.cs-cover { min-height: clamp(360px, 46vw, 680px); }
.cs-cover[style*="--cover-bg"] { background: var(--cover-bg); }
.cs-cover-main { width: min(100%, 1060px); }
.cs-cover--phones { display: block; padding-right: clamp(120px, 18vw, 300px); }
.cs-cover--phones .cs-cover-main { width: 100%; }
.cs-cover-phone { position: absolute; z-index: 2; width: clamp(110px, 13vw, 200px); }
.cs-cover-phone--0 { right: clamp(110px, 12vw, 190px); bottom: clamp(24px, 4vw, 56px); }
.cs-cover-phone--1 { right: clamp(24px, 3vw, 48px); top: clamp(24px, 4vw, 56px); }
/* chapters */
.cs-sec { display: block; }
.cs-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px clamp(40px, 6vw, 100px); align-items: start; }
.cs-label { font-size: 14px; font-weight: 600; color: var(--blue); }
.cs-head h2 { margin-top: 16px; max-width: 13em; }
.cs-story { padding-top: 34px; }
.cs-story p { font-size: 17px; line-height: 1.65; color: var(--tx-2); }
.cs-story p + p { margin-top: 14px; }
.cs-story .ticks { margin-top: 16px; }
.cs-cols { margin-top: clamp(28px, 4vh, 44px); }
.cs-cols .cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; margin: 0 !important; }
.cs-cols .card { padding: 14px 0 0; border-radius: 0; background: none; box-shadow: none; border-top: 1px solid var(--ink); }
.cs-cols .card:hover { transform: none; box-shadow: none; }
.cs-cols .card h3 { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--tx-3); }
.cs-cols .ticks { gap: 8px; }
.cs-cols .ticks li { font-size: 15px; color: var(--ink); }
.cs-cols .ticks li::before { width: 5px; height: 5px; margin-top: .55em; border-radius: 50%; background: var(--ink); }
.cs-videos { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; width: 100%; }
.cs-videos video { width: 100%; border-radius: 16px; background: #000; }
.cs-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 22px; }
.cs-gallery .cs-vis { margin-top: 0; padding: clamp(22px, 3vw, 44px); }
.cs-gallery .cs-wide { grid-column: 1 / -1; }
.cs-quote figure { margin: 0; padding: clamp(32px, 5vw, 64px); border-radius: 28px; background: var(--navy); color: #fff; }
.cs-quote blockquote { font-size: clamp(22px, 2.3vw, 34px); line-height: 1.35; letter-spacing: -.02em; font-weight: 500; }
.cs-quote figcaption { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.cs-quote img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.cs-quote b { display: block; font-size: 16px; }
.cs-quote span { font-size: 14px; color: rgba(255,255,255,.65); }
.cs-end { display: block; }
.cs-scope { display: grid; grid-template-columns: 200px 1fr; gap: 20px; padding: 18px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line-2); }
.cs-scope div { display: flex; flex-wrap: wrap; gap: 8px; }
.cs-scope span { padding: 6px 12px; border-radius: 999px; background: var(--tint); font-size: 13.5px; font-weight: 500; color: var(--ink); }
.cs-more { margin-top: clamp(48px, 8vh, 90px); }
.cs-more-head h2 { margin-top: 14px; }
.cs-more-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.cs-pn { display: grid; grid-template-columns: 1fr 1fr; margin-top: clamp(40px, 6vh, 72px); border-top: 1px solid var(--ink); }
.cs-pn a { display: grid; gap: 6px; padding: 22px 0; transition: color .2s; }
.cs-pn a + a { padding-left: 28px; border-left: 1px solid var(--line-2); text-align: right; }
.cs-pn span { font-size: 13.5px; color: var(--tx-3); }
.cs-pn b { font-size: clamp(24px, 2.6vw, 38px); font-weight: 700; letter-spacing: -.03em; color: var(--ink); transition: color .2s; }
.cs-pn a:hover b { color: var(--blue); }
@media (max-width: 1000px) {
  .cs-head, .cs-gallery { grid-template-columns: 1fr; }
  .cs-story { padding-top: 0; }
  .cs-meta { grid-template-columns: 1fr 1fr; }
  .cs-more-grid { grid-template-columns: 1fr 1fr; }
  .cs-cover--phones { padding-right: clamp(28px, 5vw, 72px); }
  .cs-cover-phone { display: none; }
}
@media (max-width: 640px) {
  .cs-vis { padding: 18px; border-radius: 18px; }
  .cs-vis--stack { min-height: 0; }
  .cs-vis--stack .cs-a { width: 100%; }
  .cs-vis--stack .cs-b { position: relative; right: auto; bottom: auto; width: 86%; margin: -18% 0 0 auto; }
  .cs-vis--phones { overflow: hidden; justify-content: flex-start; }
  .cs-vis--phones .cs-phone:nth-child(n+3) { display: none; }
  .cs-videos, .cs-more-grid, .cs-pn, .cs-scope { grid-template-columns: 1fr; }
  .cs-pn a + a { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-2); text-align: left; }
}
.cs-vis .cs-raw { max-height: min(64vh, 620px); width: auto; margin: 0 auto; box-shadow: 0 30px 60px -28px rgba(7,20,52,.55); }
.cs-gallery .cs-raw { max-height: 420px; }
.cs-videos { display: flex; justify-content: center; align-items: center; gap: clamp(16px, 3vw, 40px); }
.cs-videos video { width: auto; max-width: 46%; height: min(62vh, 580px); object-fit: contain; border-radius: 22px; box-shadow: 0 30px 60px -24px rgba(7,20,52,.6); }
@media (max-width: 640px) { .cs-videos video { height: 360px; } }
.cs-vis--mock { padding: clamp(32px, 5vw, 64px); background-image: radial-gradient(rgba(26,106,255,.1) 1px, transparent 1px); background-size: 16px 16px; background-color: #eaf0fc; }
@media (min-width: 1100px) { .cs-vis--mock > * { zoom: 1.2; } }
.cs-name { font-size: clamp(44px, 12vw, 200px); overflow-wrap: break-word; }
/* case studies read as one continuous article: sections size to their content */
main > section.cs-intro, main > section.cs-sec, main > section.cs-more-shots, main > section.cs-quote, main > section.cs-end { min-height: 0; display: block; padding-top: clamp(64px, 10vh, 120px); padding-bottom: 0; }
main > section.cs-end { padding-bottom: clamp(64px, 10vh, 120px); }
.cs-hero { min-height: 86svh; }
main > section.cs-intro, main > section.cs-sec, main > section.cs-more-shots, main > section.cs-quote, main > section.cs-end { min-height: 0 !important; display: block !important; padding-top: clamp(64px, 10vh, 120px) !important; padding-bottom: 0 !important; }
main > section.cs-end { padding-bottom: clamp(64px, 10vh, 120px) !important; }
main > section.cs-hero { min-height: 86svh !important; padding-top: calc(var(--nav-h) + 28px) !important; }
.work-grid { grid-template-columns: repeat(3, 1fr); } @media (max-width: 900px) { .work-grid { grid-template-columns: 1fr 1fr; } } @media (max-width: 560px) { .work-grid { grid-template-columns: 1fr; } }

/* ======================= Work index ======================= */
main > section.wk-hero { min-height: 100svh; display: flex; align-items: flex-end; padding: calc(var(--nav-h) + 40px) 0 clamp(48px, 8vh, 96px); background: var(--navy); background-image: radial-gradient(circle at 85% 10%, rgba(26,106,255,.35), transparent 45%), linear-gradient(rgba(143,184,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(143,184,255,.05) 1px, transparent 1px); background-size: auto, 48px 48px, 48px 48px; color: #fff; }
.wk-hero .wrap { width: 100%; }
.wk-hero .index { color: var(--sky); }
.wk-title { margin-top: 18px; max-width: 9.5em; font-size: clamp(56px, 8.4vw, 132px); font-weight: 700; letter-spacing: -.05em; line-height: .95; color: #fff; }
.wk-hero-foot { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; margin-top: clamp(32px, 6vh, 64px); padding-top: 24px; border-top: 1px solid rgba(255,255,255,.2); }
.wk-hero .lede { max-width: 34em; color: rgba(255,255,255,.78); }
.wk-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.wk-facts dt { font-size: 13px; color: rgba(255,255,255,.6); }
.wk-facts dd { font-size: clamp(36px, 3.6vw, 56px); font-weight: 700; letter-spacing: -.04em; line-height: 1; color: #fff; }
main > section.wk-list-sec { min-height: 0 !important; display: block !important; padding-top: clamp(56px, 9vh, 110px) !important; padding-bottom: clamp(56px, 9vh, 110px) !important; }
.wk-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 20px; }
.wk-bar .filter { margin: 0; }
.wk-list { border-top: 1px solid var(--ink); }
.wk-row { display: grid; grid-template-columns: 64px 1fr minmax(0, 520px); gap: clamp(20px, 3vw, 48px); align-items: center; padding: clamp(24px, 3.6vh, 36px) 0; border-bottom: 1px solid var(--line-2); }
.wk-row[hidden] { display: none; }
.wk-n { align-self: start; padding-top: 14px; font-size: 15px; font-weight: 600; color: var(--tx-3); font-variant-numeric: tabular-nums; }
.wk-body h2 { font-size: clamp(36px, 4.2vw, 64px); font-weight: 700; letter-spacing: -.045em; line-height: 1; }
.wk-body h2 a { color: var(--ink); transition: color .2s; }
.wk-row:hover .wk-body h2 a { color: var(--blue); }
.wk-sector { margin-top: 14px; font-size: 12px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--tx-3); }
.wk-head { margin-top: 8px; max-width: 30em; font-size: 16.5px; line-height: 1.5; color: var(--tx-2); }
.wk-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 20px; }
.wk-btns .btn svg { width: 13px; height: 13px; }
.btn--quiet { background: transparent; border-color: var(--line-2); color: var(--tx-2); }
.btn--quiet:hover { border-color: var(--ink); color: var(--ink); background: transparent; }
.wk-thumb { margin: 0; padding: clamp(16px, 2vw, 28px); aspect-ratio: 16 / 10; border-radius: 20px; display: grid; place-items: center; overflow: hidden; transition: transform .5s var(--out); }
.wk-row:hover .wk-thumb { transform: translateY(-4px); }
.wk-thumb .cs-shot { width: 100%; }
.wk-thumb > img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 10px; }
.wk-thumb--photo { padding: 0; }
.wk-thumb--photo > img { width: 100%; height: 100%; max-height: none; object-fit: cover; border-radius: 0; }
@media (max-width: 1000px) {
  .wk-hero-foot { grid-template-columns: 1fr; }
  .wk-row { grid-template-columns: 44px 1fr; }
  .wk-thumb { grid-column: 2; }
}
@media (max-width: 600px) {
  .wk-row { grid-template-columns: 1fr; }
  .wk-n { padding-top: 0; }
  .wk-thumb { grid-column: auto; }
  .wk-facts dd { font-size: 34px; }
}

/* --- "Connected with QUELA●" sign-off --- */
.lockup { display: inline-grid; gap: 8px; margin-top: clamp(36px, 6vh, 64px); padding-top: 22px; border-top: 1px solid var(--line-2); }
.lockup-pre { font-size: clamp(13px, 1vw, 15px); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); clip-path: inset(0 100% 0 0); transition: clip-path .6s var(--out); }
.lockup-logo.qlogo { height: clamp(38px, 3.4vw, 52px); }
.lockup .qlogo-q { opacity: 0; transform: translateY(30%); transition: opacity .4s, transform .5s var(--out); }
.lockup.is-on .lockup-pre { clip-path: inset(0 0 0 0); }
.lockup.is-on .qlogo-q { opacity: 1; transform: none; transition-delay: .25s; }
.lockup.is-on .qlogo-rest { transform: none; transition-delay: .75s; }
.lockup.is-on .qlogo-dot { transform: none; transition-delay: .75s; }
/* the dot keeps a slow pulse once it has landed */
.lockup.is-on .qlogo-dot { animation: lockDot 2.4s ease-in-out 1.6s infinite; }
@keyframes lockDot { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
.lockup .qlogo-rest { clip-path: inset(0 13.5% 0 19.9%); }
@media (prefers-reduced-motion: reduce) { .lockup *, .lockup { transition: none !important; animation: none !important; } }

/* ======================= Next step (closing section, every page) ======================= */
main > section.next-sec { justify-content: center; background: var(--navy); background-image: radial-gradient(circle at 90% 0%, rgba(26,106,255,.38), transparent 50%), radial-gradient(circle at 0% 100%, rgba(143,184,255,.12), transparent 45%); color: #fff; }
.next-sec .index { color: var(--sky); }
.next-h { margin-top: 18px; max-width: 12em; font-size: clamp(48px, 6.6vw, 104px); font-weight: 700; letter-spacing: -.05em; line-height: .98; color: #fff; }
.next-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 100px); align-items: end; margin-top: clamp(32px, 6vh, 64px); padding-top: 28px; border-top: 1px solid rgba(255,255,255,.18); }
.next-side .body-l { max-width: 26em; color: rgba(255,255,255,.78); }
.next-side .btn-row { margin-top: 24px; }
/* lockup in white on navy */
.next-sec .lockup { border-top-color: rgba(255,255,255,.18); }
.next-sec .lockup-pre { color: #fff; }
.next-sec .lockup .qlogo { color: #fff; }
/* the ways in, as an editorial list */
.next-list { border-top: 1px solid rgba(255,255,255,.18); }
.next-row { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 20px; padding: clamp(18px, 2.6vh, 26px) 6px; border-bottom: 1px solid rgba(255,255,255,.18); color: #fff; transition: background-color .3s, padding .4s var(--out); }
.next-row:hover { padding-left: 18px; background: rgba(255,255,255,.04); }
.next-n { align-self: start; padding-top: 10px; font-size: 13px; color: rgba(255,255,255,.5); font-variant-numeric: tabular-nums; }
.next-txt { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 6px 14px; }
.next-txt b { font-size: clamp(24px, 2.4vw, 36px); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; color: #fff; transition: color .2s; }
.next-txt em { justify-self: start; padding: 3px 10px; border-radius: 999px; background: rgba(255,255,255,.1); font-size: 12.5px; font-weight: 600; font-style: normal; white-space: nowrap; color: rgba(255,255,255,.8); }
.next-txt small { grid-column: 1 / -1; max-width: 36em; font-size: 15px; line-height: 1.5; color: rgba(255,255,255,.65); }
.next-row.is-main em { background: var(--blue); color: #fff; }
.next-go { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.3); color: #fff; transition: background-color .25s, box-shadow .25s, transform .4s var(--out); }
.next-go svg { width: 16px; height: 16px; }
.next-row.is-main .next-go { background: var(--blue); box-shadow: none; }
.next-row:hover .next-go { background: #fff; color: var(--ink); box-shadow: none; transform: translateX(4px); }
.next-row:hover .next-txt b { color: var(--sky); }
@media (max-width: 1000px) { .next-grid { grid-template-columns: 1fr; align-items: start; } }
@media (max-width: 600px) {
  .next-row { grid-template-columns: 1fr auto; }
  .next-n { display: none; }
  .next-txt { grid-template-columns: 1fr; }
  .next-go { width: 40px; height: 40px; }
}
.next-list { border-top: 0; } .next-list li:first-child .next-row { padding-top: 6px; }
.next-h { text-wrap: balance; max-width: 13em; }
/* Next step: plain white, only the dividers between the options */
main > section.next-sec { background: #fff; background-image: none; color: var(--ink); }
.next-sec .index { color: var(--blue); }
.next-h { color: var(--ink); }
.next-grid { border-top: 0; padding-top: 0; }
.next-side .body-l { color: var(--tx-2); }
.next-sec .lockup { border-top: 0; padding-top: 0; }
.next-sec .lockup-pre, .next-sec .lockup .qlogo { color: var(--ink); }
.next-list li + li .next-row { border-top: 1px solid var(--line); }
.next-row { border-bottom: 0; color: var(--ink); }
.next-row:hover { background: var(--tint); }
.next-n { color: var(--tx-3); }
.next-txt b { color: var(--ink); }
.next-row:hover .next-txt b { color: var(--blue); }
.next-txt em { background: var(--tint); color: var(--tx-2); }
.next-row.is-main em { background: var(--blue); color: #fff; }
.next-txt small { color: var(--tx-2); }
.next-go { box-shadow: inset 0 0 0 1.5px var(--line-2); color: var(--ink); }
.next-row.is-main .next-go { background: var(--blue); color: #fff; box-shadow: none; }
.next-row:hover .next-go { background: var(--ink); color: #fff; box-shadow: none; }
.foot-about { margin-top: 16px; max-width: 30em; font-size: 14.5px; line-height: 1.6; color: rgba(255,255,255,.58); }

/* --- Legal: footer strip + disclosure page --- */
.foot-entities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 32px; margin-top: 36px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.12); }
.foot-entities div { display: grid; gap: 3px; font-size: 12.5px; line-height: 1.5; color: rgba(255,255,255,.5); }
.foot-entities b { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.85); }
main > section.legal { min-height: 0 !important; display: block !important; padding: calc(var(--nav-h) + clamp(40px, 8vh, 90px)) 0 clamp(64px, 10vh, 110px) !important; }
.legal .h-xl { margin-top: 18px; }
.legal-lede { margin-top: 20px; max-width: 36em; }
.legal-list { margin-top: clamp(36px, 6vh, 64px); border-top: 1px solid var(--ink); }
.legal-ent { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px clamp(32px, 5vw, 80px); padding: 32px 0; border-bottom: 1px solid var(--line-2); }
.legal-ent-head .label { color: var(--blue); font-weight: 600; }
.legal-ent h2 { margin-top: 8px; font-size: clamp(24px, 2.4vw, 34px); font-weight: 700; letter-spacing: -.03em; text-transform: uppercase; color: var(--ink); }
.legal-ent dl { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; }
.legal-ent dt { font-size: 12.5px; color: var(--tx-3); }
.legal-ent dd { margin-top: 3px; font-size: 15.5px; line-height: 1.5; color: var(--ink); font-variant-numeric: tabular-nums; }
.legal-contact { display: flex; flex-wrap: wrap; gap: 24px 64px; margin-top: 36px; }
.legal-contact p { margin-top: 4px; font-size: 16px; color: var(--ink); }
@media (max-width: 900px) { .foot-entities, .legal-ent { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .legal-ent dl { grid-template-columns: 1fr; } }
.foot-entities { margin-top: 44px; padding: 34px 0 38px; align-items: start; }
.foot-entities div { align-content: start; gap: 4px; }
.foot-entities b { margin-bottom: 4px; }

/* --- What we do: SAP-style cards (photo + floating product card, text below) --- */
.offer { gap: clamp(16px, 2vw, 28px); }
.offer-card { display: flex; flex-direction: column; background: none; box-shadow: none; border-radius: 0; overflow: visible; }
.offer-card:hover { box-shadow: none; transform: none; }
.offer-media { position: relative; height: clamp(200px, 27vh, 250px); border-radius: 20px; background: #eef2f9; overflow: hidden; }
.offer-photo { position: absolute; top: 9%; right: 7%; bottom: 9%; left: 30%; width: 63%; height: 82%; object-fit: cover; border-radius: 12px; transition: transform .8s var(--out); }
.offer-card:hover .offer-photo { transform: scale(1.03); }
.offer-body { display: grid; gap: 8px; padding: 18px 2px 0; }
.offer-body .label { color: var(--blue); font-weight: 600; }
.offer-body h3 { display: block; font-size: clamp(18px, 1.45vw, 21px); }
.offer-body p { font-size: 15px; line-height: 1.5; color: var(--tx-2); }
.offer-more { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; font-size: 15px; font-weight: 600; color: var(--blue); }
.offer-more svg { width: 14px; height: 14px; transition: transform .3s var(--out); }
.offer-card:hover .offer-more svg { transform: translateX(3px); }
.offer-card:hover h3 { color: var(--blue); }
.offer-media { height: clamp(190px, 25vh, 236px); }
.offer-body { gap: 6px; padding-top: 16px; }

/* --- Policy pages (terms, privacy, cookies) --- */
.policy-updated { margin-top: 14px; font-size: 13.5px; color: var(--tx-3); }
.policy-body { display: grid; grid-template-columns: 240px 1fr; gap: clamp(32px, 6vw, 96px); margin-top: clamp(36px, 6vh, 64px); padding-top: 28px; border-top: 1px solid var(--ink); }
.policy-toc { position: sticky; top: calc(var(--nav-h) + 24px); align-self: start; }
.policy-toc .label { display: block; margin-bottom: 12px; }
.policy-toc ol { display: grid; gap: 8px; counter-reset: toc; }
.policy-toc li { counter-increment: toc; font-size: 14px; }
.policy-toc a { color: var(--tx-2); transition: color .2s; }
.policy-toc a::before { content: counter(toc) ". "; color: var(--tx-3); }
.policy-toc a:hover { color: var(--blue); }
.policy-text { max-width: 44em; }
.policy-text h2 { margin: 36px 0 10px; font-size: clamp(20px, 1.7vw, 24px); font-weight: 700; letter-spacing: -.02em; color: var(--ink); scroll-margin-top: calc(var(--nav-h) + 24px); }
.policy-text h2:first-child { margin-top: 0; }
.policy-text p { font-size: 16px; line-height: 1.7; color: var(--tx-2); }
.policy-text p + p { margin-top: 12px; }
.policy-text ul { display: grid; gap: 6px; margin: 12px 0 0 1.2em; list-style: disc; }
.policy-text li { font-size: 16px; line-height: 1.6; color: var(--tx-2); }
.policy-text a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.policy-text code { padding: 1px 6px; border-radius: 6px; background: var(--tint); font-size: 14px; color: var(--ink); }
@media (max-width: 900px) { .policy-body { grid-template-columns: 1fr; } .policy-toc { position: static; } }

/* What we do: SAP-style product cards floating over each photo. Four different kinds of card,
   a gradient border that is strongest bottom-left, soft blue dots and a pale circle behind.
   Everything inside the overlay is sized in em off a font size tied to the box width (cqw),
   so the card always fits its photo at any screen size. */
.offer-media { --g: linear-gradient(28deg, #1a6aff 0%, #6f9dff 42%, #c9dafe 78%, #e9f0ff 100%); container-type: inline-size; height: auto; aspect-ratio: 5 / 4; min-height: 170px; max-height: 280px; background: #f1f4fa; isolation: isolate; }
.offer-media .offer-photo { z-index: 1; top: 9%; bottom: auto; right: 6%; left: auto; width: 60%; height: 82%; }
.offer-media--note .offer-photo { top: 13%; right: 8%; width: 56%; height: 74%; }
.offer-media--rec .offer-photo { top: 6%; right: 5%; width: 62%; height: 80%; }
.offer-media--rev .offer-photo { top: 12%; right: 9%; width: 56%; height: 76%; }
.oui { position: absolute; z-index: 3; left: 7%; top: 50%; width: 70%; max-height: 86%; overflow: hidden; font-size: clamp(9.5px, 4.5cqw, 13.5px); transform: translateY(-50%); border: 2px solid transparent; border-radius: 1.15em; background: linear-gradient(#fff, #fff) padding-box, var(--g) border-box; box-shadow: 0 20px 40px -22px rgba(10,24,56,.5); transition: transform .5s var(--out); }
.offer-card:hover .oui { transform: translateY(-54%); }
.oui b, .oui small, .oui p, .oui dd { min-width: 0; }
.oui-h { display: block; font-size: 1.1em; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.sk { display: block; height: .6em; border-radius: 99px; background: linear-gradient(90deg, #eef1f6 0%, #f8f9fc 50%, #eef1f6 100%) 0 0 / 200% 100%; animation: skShine 2.2s linear infinite; }
.sk--m { width: 78%; }
.sk--s { width: 52%; opacity: .55; }
@keyframes skShine { to { background-position: -200% 0; } }

/* 1. Timeline: the second step is cut off by the card's bottom edge */
.oui--tl { left: 6%; width: 74%; height: 8.6em; padding: .9em .9em 0 .7em; display: grid; align-content: start; gap: .6em; }
.oui-step { position: relative; display: grid; grid-template-columns: 1.9em 1fr; gap: .75em; align-items: center; }
.oui-ic { position: relative; z-index: 1; display: grid; place-items: center; width: 1.9em; height: 1.9em; color: var(--blue); }
.oui-ic svg { width: 1.4em; height: 1.4em; }
.oui-step:first-child::after { content: ""; position: absolute; left: .92em; top: calc(50% + 1.2em); height: 3.4em; border-left: 1.5px solid #c9d6f2; }
.oui-box { position: relative; display: grid; gap: .15em; padding: .65em .8em; border: 1px solid var(--line-2); border-radius: .75em; background: #fff; }
.oui-box::before { content: ""; position: absolute; left: -.42em; top: 50%; width: .7em; height: .7em; border: solid var(--line-2); border-width: 0 0 1px 1px; background: #fff; transform: translateY(-50%) rotate(45deg); }
.oui-box b { font-size: 1em; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.oui-box small { font-size: .85em; color: var(--tx-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.oui-step.is-next { opacity: .4; }

/* 2. Note */
.oui--note { width: 66%; padding: .95em 1.1em 1em; display: grid; gap: .5em; }
.oui--note p { font-size: .88em; line-height: 1.45; color: var(--tx-2); }
.oui-li { display: grid; grid-template-columns: auto 1fr; gap: .6em; align-items: center; margin-top: .2em; font-size: .88em; color: var(--tx-3); }

/* 3. Record */
.oui--rec { width: 72%; padding: .9em 1em .8em; }
.oui-rec-h { display: grid; grid-template-columns: auto 1fr auto; gap: .65em; align-items: start; }
.oui-doc { display: grid; place-items: center; width: 1.9em; height: 2.2em; color: var(--ink); }
.oui-doc svg { width: 1.75em; height: 1.75em; stroke-width: 2.1; }
.oui-rec-h div { display: grid; min-width: 0; }
.oui-rec-h b { font-size: 1.05em; font-weight: 600; color: var(--ink); white-space: nowrap; }
.oui-rec-h small { font-size: .88em; color: var(--tx-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.oui-rec-h em { font-size: .8em; font-style: normal; font-weight: 600; color: var(--blue); padding-top: .2em; white-space: nowrap; }
.oui--rec dl { display: grid; gap: .05em; margin-top: .6em; }
.oui--rec dt { font-size: .85em; color: var(--ink); }
.oui--rec dd { margin: 0 0 .3em; font-size: .85em; color: var(--tx-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 4. Review */
.oui--rev { left: 8%; width: 66%; padding: .95em 1.1em 1em; display: grid; gap: .2em; }
.oui--rev .oui-h { margin-bottom: .25em; }
.oui-k { font-size: .88em; color: var(--ink); }
.oui--rev strong { font-size: .92em; font-weight: 700; color: #8a9bb8; margin-bottom: .2em; }
.oui-pri { display: inline-flex; align-items: center; gap: .5em; font-size: .88em; color: var(--ink); margin-bottom: .45em; }
.oui-pri i { width: .7em; height: .7em; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 0 rgba(26,106,255,.45); animation: priPulse 2s ease-out infinite; }
.oui--rev .sk + .sk { margin-top: .35em; }
@keyframes priPulse { 70% { box-shadow: 0 0 0 7px rgba(26,106,255,0); } 100% { box-shadow: 0 0 0 0 rgba(26,106,255,0); } }

/* Soft blue dots and the pale circle behind */
.offer-spark { position: absolute; z-index: 4; pointer-events: none; border-radius: 50%; background: radial-gradient(circle at 35% 32%, #d4e2ff, #6f9bf8 70%, #5f8ff7); opacity: .6; animation: dotFloat 5s ease-in-out infinite; }
.offer-blob { position: absolute; z-index: 0; pointer-events: none; width: 44%; aspect-ratio: 1; left: -14%; bottom: -26%; border-radius: 50%; background: #e3e9fb; }
.offer-media--note .offer-blob { left: auto; right: -16%; bottom: auto; top: -24%; }
.offer-media--rec .offer-blob { left: -10%; bottom: auto; top: -30%; }
.offer-media--rev .offer-blob { left: auto; right: -12%; bottom: -28%; }
.sp-a1 { left: 4%; top: 13%; width: 11%; aspect-ratio: 1; }
.sp-a2 { right: -5%; bottom: -6%; width: 22%; aspect-ratio: 1; opacity: .35; animation-delay: -2.5s; }
.sp-b1 { left: 20%; top: 4%; width: 10%; aspect-ratio: 1; }
.sp-b2 { right: -4%; bottom: -5%; width: 18%; aspect-ratio: 1; opacity: .35; animation-delay: -1.5s; }
.sp-c1 { right: 3%; top: 3%; width: 9%; aspect-ratio: 1; }
.sp-c2 { left: -5%; bottom: -7%; width: 21%; aspect-ratio: 1; opacity: .35; animation-delay: -3s; }
.sp-d1 { left: 14%; top: 5%; width: 11%; aspect-ratio: 1; }
.sp-d2 { right: -6%; top: -6%; width: 20%; aspect-ratio: 1; opacity: .35; animation-delay: -2s; }
@keyframes dotFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@media (prefers-reduced-motion: reduce) { .offer-spark, .sk, .oui-pri i { animation: none; } }

/* Certifications on /legal/ and in the footer company strip */
.legal-ent dl .legal-certs { grid-column: 1 / -1; }
.legal-certs dd { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.legal-certs dd p { flex-basis: 100%; font-size: 13.5px; color: var(--tx-2); }
.cert { display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; }
.cert span { display: grid; gap: 1px; }
.cert b { font-size: 14.5px; font-weight: 700; color: var(--ink); }
.cert small { font-size: 12px; color: var(--tx-2); }
.cert--ico img { width: 36px; height: auto; border-radius: 3px; }
.foot-certs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 6px; color: rgba(255,255,255,.7); }
.foot-certs img { width: 22px; height: auto; border-radius: 2px; background: #fff; }

/* Policy pages: sub-headings and tables */
.policy-text h3 { margin: 22px 0 8px; font-size: 17px; font-weight: 700; color: var(--ink); }
.policy-text ul + p, .policy-text .policy-table + p { margin-top: 12px; }
.policy-text li b, .policy-text p b { color: var(--ink); font-weight: 600; }
.policy-table { margin: 16px 0 4px; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.policy-table table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.55; }
.policy-table th, .policy-table td { padding: 12px 16px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); color: var(--tx-2); }
.policy-table thead th { border-top: 0; background: var(--tint); font-size: 12.5px; font-weight: 600; letter-spacing: .02em; color: var(--tx-3); }
.policy-table tbody th { width: 32%; font-weight: 600; color: var(--ink); }
.policy-table code { white-space: nowrap; }
@media (max-width: 560px) { .policy-table table, .policy-table tbody, .policy-table tr, .policy-table th, .policy-table td { display: block; width: auto; } .policy-table thead { display: none; } .policy-table tbody th { border-top: 1px solid var(--line); padding-bottom: 2px; } .policy-table tbody tr:first-child th { border-top: 0; } .policy-table td { border-top: 0; padding-top: 2px; } .policy-table thead + tbody td[data-label]::before { content: attr(data-label); display: block; font-size: 12px; color: var(--tx-3); } .policy-table tr:has(td:only-of-type) td::before { display: none; } }

/* /sitemap/ */
.smap-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.smap-jump a { padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink); transition: border-color .2s, color .2s; }
.smap-jump a:hover { border-color: var(--blue); color: var(--blue); }
.smap-list { margin-top: clamp(36px, 6vh, 64px); border-top: 1px solid var(--ink); }
.smap-group { display: grid; grid-template-columns: minmax(220px, .8fr) 2fr; gap: 20px clamp(32px, 5vw, 80px); padding: 34px 0 30px; border-bottom: 1px solid var(--line-2); scroll-margin-top: calc(var(--nav-h) + 16px); }
.smap-group header { position: sticky; top: calc(var(--nav-h) + 24px); align-self: start; display: grid; gap: 6px; }
.smap-n { font-size: 13px; font-weight: 600; color: var(--blue); font-variant-numeric: tabular-nums; }
.smap-group h2 { font-size: clamp(24px, 2.3vw, 32px); font-weight: 700; letter-spacing: -.03em; color: var(--ink); }
.smap-group header p { font-size: 15px; color: var(--tx-2); }
.smap-count { margin-top: 6px; font-size: 12.5px; color: var(--tx-3); }
.smap-group ul { display: grid; }
.smap-group li + li { border-top: 1px solid var(--line); }
.smap-group li a { display: grid; grid-template-columns: minmax(0, 1fr) auto 16px; grid-template-areas: "t u ar" "d u ar"; gap: 2px 24px; align-items: center; padding: 14px 4px; transition: padding .3s var(--out); }
.smap-group li:first-child a { padding-top: 2px; }
.smap-t { grid-area: t; display: flex; align-items: center; gap: 10px; }
.smap-t b { font-size: 17.5px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); transition: color .2s; }
.smap-t em { padding: 2px 8px; border-radius: 999px; background: var(--tint); font-size: 11.5px; font-style: normal; font-weight: 600; color: var(--tx-2); }
.smap-d { grid-area: d; font-size: 14.5px; color: var(--tx-2); }
.smap-u { grid-area: u; font-size: 13px; color: var(--tx-3); font-variant-numeric: tabular-nums; }
.smap-group li a > svg { grid-area: ar; width: 14px; height: 14px; color: var(--tx-3); transition: color .2s, transform .3s var(--out); }
.smap-group li a:hover { padding-left: 10px; }
.smap-group li a:hover b, .smap-group li a:hover > svg { color: var(--blue); }
.smap-group li a:hover > svg { transform: translate(2px, -2px); }
.smap-foot { margin-top: 28px; font-size: 14px; color: var(--tx-3); }
.smap-foot a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { .smap-group { grid-template-columns: 1fr; } .smap-group header { position: relative; top: 0; } }
@media (max-width: 560px) { .smap-u { display: none; } .smap-group li a { grid-template-columns: minmax(0, 1fr) 16px; grid-template-areas: "t ar" "d ar"; } }

/* Forms: hidden honeypot field, and links inside error messages */
.f-trap { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.f-status a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
form[aria-busy="true"] [type=submit] { opacity: .7; cursor: progress; }

/* ---------------- Manufacturing page (/manufacturing-software/) ---------------- */
.pill.warn { background: #fef3e2; color: #b45309; }
.mf-tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); margin-top: clamp(28px, 4vh, 48px); }
.mf-tiers article { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; border-top: 2px solid var(--ink); min-width: 0; }
.mf-tiers .label { color: var(--blue); font-weight: 600; }
.mf-tiers h3 { font-size: clamp(20px, 1.7vw, 24px); font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.mf-tiers article > p { font-size: 15px; color: var(--tx-2); }
.mf-tiers .ticks { margin-top: 8px; }
.mf-tiers .ticks li { font-size: 14.5px; line-height: 1.5; }
.mf-infra { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px clamp(24px, 3vw, 48px); margin-top: clamp(28px, 4vh, 48px); }
.mf-infra > div { padding-top: 16px; border-top: 1px solid var(--line-2); min-width: 0; }
.mf-infra h3 { font-size: 17px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.mf-infra p { margin-top: 6px; font-size: 15px; line-height: 1.55; color: var(--tx-2); }
@media (max-width: 900px) { .mf-tiers, .mf-infra { grid-template-columns: 1fr; } }
.ind-card--link { color: inherit; }
.ind-card--link em { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-style: normal; font-weight: 600; color: var(--blue); }
.ind-card--link em .ar { width: 14px; height: 14px; }

/* Mock-ups */
.mf-dash, .mf-stock, .mf-bom, .mf-mrp, .mf-po, .mf-trace, .mf-portal, .mf-acct { width: min(100%, 440px); }
.mf-bar { display: block; height: 5px; border-radius: 99px; background: var(--tint-2); overflow: hidden; }
.mf-bar > i { display: block; width: var(--p); height: 100%; border-radius: inherit; background: var(--blue); }
.mf-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.mf-kpis div { padding: 10px 12px; border-radius: 12px; background: var(--tint); }
.mf-kpis b { display: block; font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.mf-kpis span { display: block; font-size: 11.5px; line-height: 1.3; color: var(--tx-2); }
.mf-kpis .warn { background: #fef3e2; }
.mf-kpis .warn b { color: #b45309; }
.mf-wos, .mf-portal ul { display: grid; gap: 10px; margin-top: 14px; }
.mf-wos li, .mf-portal li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 10px; align-items: center; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.mf-wos li > div, .mf-portal li > div { display: grid; min-width: 0; }
.mf-wos b, .mf-portal li b { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.mf-wos li span, .mf-portal li span { font-size: 12.5px; color: var(--tx-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mf-wos .mf-bar, .mf-portal .mf-bar { grid-column: 1 / -1; }
.mf-note { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: var(--tint-2); font-size: 13px; color: var(--ink); }
.mf-note svg { flex: none; width: 16px; height: 16px; color: var(--blue); }
.mf-table { width: 100%; margin-top: 12px; border-collapse: collapse; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.mf-table th { padding: 0 6px 8px 0; text-align: left; font-size: 11px; font-weight: 600; color: var(--tx-3); border-bottom: 1px solid var(--line); }
.mf-table td { padding: 8px 6px 8px 0; color: var(--ink); border-bottom: 1px solid var(--line); }
.mf-table th:not(:first-child), .mf-table td:not(:first-child) { text-align: right; }
.mf-table tr.low td { color: #b45309; font-weight: 600; }
.mf-table tr.low td:first-child { color: var(--ink); }
.mf-scan { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: #e7f6ec; }
.mf-scan-ico { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 8px; background: #16a34a; color: #fff; }
.mf-scan-ico svg { width: 15px; height: 15px; }
.mf-scan div { display: grid; min-width: 0; }
.mf-scan b { font-size: 13px; color: var(--ink); }
.mf-scan span { font-size: 12px; color: var(--tx-2); }
.mf-bom ul { display: grid; margin: 12px 0 4px; }
.mf-bom li { display: grid; grid-template-columns: minmax(0, 1fr) 44px 74px; gap: 8px; align-items: center; padding: 8px 0 8px calc(var(--l) * 18px); border-bottom: 1px solid var(--line); font-size: 13px; font-variant-numeric: tabular-nums; }
.mf-bom li span { position: relative; color: var(--ink); }
.mf-bom li[style*="--l:0"] span { font-weight: 700; }
.mf-bom li:not([style*="--l:0"]) span::before { content: ""; position: absolute; left: -12px; top: 50%; width: 8px; height: 1.5px; background: var(--line-2); }
.mf-bom li em { font-style: normal; color: var(--tx-2); text-align: right; }
.mf-bom li b { font-weight: 600; color: var(--ink); text-align: right; }
.mf-actions { display: grid; gap: 6px; margin-top: 12px; }
.mf-actions span { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 10px; background: var(--tint-2); font-size: 13px; font-weight: 600; color: var(--blue); }
.mf-actions svg { width: 15px; height: 15px; }
.mf-po-line { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 10px; align-items: center; margin-top: 12px; }
.mf-po-line > div { display: grid; }
.mf-po-line span { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.mf-po-line em { font-size: 12px; font-style: normal; color: var(--tx-2); }
.mf-po-line b { font-size: 13px; font-variant-numeric: tabular-nums; color: var(--ink); }
.mf-po-line .mf-bar { grid-column: 1 / -1; }
.mf-po .mk-line:first-of-type { margin-top: 8px; }
.mf-tablet { width: min(100%, 460px); padding: 12px; border-radius: 26px; background: #0a1838; box-shadow: var(--shadow-l); }
.mf-card { width: 100%; box-sizing: border-box; border-radius: 16px; box-shadow: none; }
.mf-card header > div { display: grid; }
.mf-card header .label { font-size: 11px; color: var(--tx-3); }
.mf-counts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.mf-counts div { padding: 10px 12px; border-radius: 12px; background: var(--tint); }
.mf-counts span { display: block; font-size: 11.5px; color: var(--tx-2); }
.mf-counts b { font-size: 18px; font-weight: 800; letter-spacing: -.01em; color: var(--ink); font-variant-numeric: tabular-nums; }
.mf-counts .warn { background: #fef3e2; }
.mf-counts .warn b { color: #b45309; }
.mf-qc { display: grid; gap: 8px; margin-top: 14px; }
.mf-qc li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--tx-2); }
.mf-qc li i { display: grid; place-items: center; flex: none; width: 20px; height: 20px; border-radius: 6px; box-shadow: inset 0 0 0 1.5px var(--line-2); color: #fff; }
.mf-qc li.done { color: var(--ink); }
.mf-qc li.done i { background: #16a34a; box-shadow: none; }
.mf-qc li i svg { width: 13px; height: 13px; }
.mf-btns { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; margin-top: 16px; }
.mf-btns span { display: grid; place-items: center; min-height: 44px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px var(--line-2); font-size: 14px; font-weight: 700; color: var(--ink); }
.mf-btns .go { background: var(--blue); color: #fff; box-shadow: none; }
.mf-trace ol { display: grid; margin-top: 14px; }
.mf-trace li { position: relative; display: grid; gap: 2px; padding: 0 0 16px 28px; }
.mf-trace li:last-child { padding-bottom: 0; }
.mf-trace li::before { content: ""; position: absolute; left: 0; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px var(--tint-2); }
.mf-trace li:not(:last-child)::after { content: ""; position: absolute; left: 5px; top: 20px; bottom: 2px; width: 2px; background: var(--tint-2); }
.mf-trace b { font-size: 14px; font-weight: 700; color: var(--ink); }
.mf-trace span { font-size: 13px; color: var(--tx-2); }
.mf-portal header > div { display: grid; }
.mf-portal header .label { font-size: 11px; color: var(--tx-3); }
.mf-btn { padding: 7px 14px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 12.5px; font-weight: 700; }
.mf-wa { margin-top: 12px; padding: 10px 12px; border-radius: 12px 12px 12px 4px; background: #e7f6ec; font-size: 13px; line-height: 1.45; color: var(--ink); }
.mf-wa span { display: block; margin-bottom: 2px; font-size: 11px; font-weight: 700; color: #15803d; }
.mf-sync { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.mf-sync div { display: grid; gap: 2px; padding: 10px 12px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); }
.mf-sync div.on { background: #e7f6ec; box-shadow: none; }
.mf-sync b { font-size: 13.5px; color: var(--ink); }
.mf-sync span { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--tx-2); }
.mf-sync div.on span { color: #15803d; font-weight: 600; }
.mf-sync svg { width: 13px; height: 13px; }
.svc-hero .mf-dash { width: min(100%, 470px); margin-inline: auto; }
