/* ==========================================================================
   Infixify theme — main stylesheet
   1  Tokens            9  Hero                17 Work & case cards
   2  Base              10 Clients              18 Process
   3  Background        11 Page hero            19 Industries & stack
   4  Layout            12 Section head         20 Testimonials
   5  Typography        13 About & video        21 FAQ
   6  UI elements       14 Services & visuals   22 CTA
   7  Header & nav      15 Capabilities         23 Footer
   8  Curtain & cursor  16 Automation demo      24 Inner pages
   25 Blog  26 Case study  27 Contact  28 Legal & 404  29 Motion  30 Responsive
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --ink: #07090c;
  --ink-2: #0b1220;
  --ink-3: #0f1828;
  --ink-4: #131f33;
  --text: #f5f7fa;
  --muted: #a5afbd;
  --dim: #8b95a5;
  --line: rgba(32, 43, 59, .75);
  --line-2: #202b3b;
  --line-3: #2c3a4f;
  --green: #0866f5;
  --green-2: #258bff;
  --mint: #7cb8ff;
  --emerald: #0752c4;
  --deep: #063f99;
  --glow: rgba(8, 102, 245, .16);
  --grad: linear-gradient(100deg, #f5f7fa 0%, #d6e8ff 30%, #7cb8ff 60%, #4aa0ff 100%);
  --grad-soft: linear-gradient(135deg, rgba(8, 102, 245, .14), rgba(7, 82, 196, .03) 60%);

  --f-display: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --f-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

  --fs-display: clamp(2.9rem, 6.6vw, 7rem);
  --fs-h1: clamp(2.6rem, 5.6vw, 5.75rem);
  --fs-h2: clamp(2.1rem, 4.4vw, 4.25rem);
  --fs-h3: clamp(1.3rem, 1.7vw, 1.6rem);
  --fs-lead: clamp(1.08rem, 1.35vw, 1.28rem);
  --fs-body: 1.0625rem;
  --fs-small: .9375rem;
  --fs-label: .74rem;

  --gutter: clamp(20px, 4vw, 56px);
  --max: 1400px;
  --section: clamp(88px, 11vw, 168px);
  --r: 14px;
  --r-lg: 24px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --header-h: 80px;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--ink); color: var(--text);
  font-family: var(--f-body); font-size: var(--fs-body); line-height: 1.65;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--green); color: var(--ink); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }
.sr-only, .screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 1000; padding: 10px 16px;
  background: var(--green); color: var(--ink); border-radius: 8px; font-weight: 600;
  transform: translateY(-160%); transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; }
.icon { width: 1em; height: 1em; flex-shrink: 0; }
.muted { color: var(--muted); }

/* ---------- 3. Background: near-black + technical grid ---------- */
.site-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.site-bg::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 88px 88px;
  background-position: center top;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, rgba(0,0,0,.55), rgba(0,0,0,.18) 70%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, rgba(0,0,0,.55), rgba(0,0,0,.18) 70%);
}
.site-bg::after {
  content: ""; position: absolute; inset: 0; opacity: .045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- 4. Layout ---------- */
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: calc(var(--section) * .6); }
.section--line { border-top: 1px solid var(--line); }
.site-main { position: relative; z-index: 1; }

/* ---------- 5. Typography ---------- */
.display, .h1, .h2, .h3 { font-family: var(--f-display); font-weight: 600; letter-spacing: -.045em; line-height: .98; }
.display { font-size: var(--fs-display); }
.h1 { font-size: var(--fs-h1); }
.h2 { font-size: var(--fs-h2); letter-spacing: -.04em; line-height: 1.02; }
.h3 { font-size: var(--fs-h3); letter-spacing: -.025em; line-height: 1.2; }
.display em, .h1 em, .h2 em, .h3 em, .grad {
  font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .06em; margin-right: -.02em;
}
.grad--sans { font-family: inherit; font-style: normal; font-weight: inherit; letter-spacing: inherit; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--muted); max-width: 46ch; letter-spacing: -.01em; }
.lead strong { color: var(--text); font-weight: 500; }
.label {
  font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); display: inline-flex; align-items: center; gap: 10px; line-height: 1.4;
}
.label .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--glow); animation: pulse 2.4s ease-in-out infinite; flex-shrink: 0; }
.label .idx { color: var(--green-2); }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(8, 102, 245, 0); } }
.line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.line > span { display: inline-block; will-change: transform; }

/* ---------- 6. UI elements ---------- */
.btn {
  --bg: var(--text); --fg: var(--ink);
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  min-height: 54px; padding: 0 22px 0 26px; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-family: var(--f-display); font-weight: 600; font-size: .96rem; letter-spacing: -.01em;
  overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: color .5s var(--ease), box-shadow .5s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--green);
  border-radius: inherit; transform: translateY(101%); transition: transform .55s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn:hover { color: var(--ink); }
.btn .arrow {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: var(--text); margin-right: -8px; transition: transform .5s var(--ease);
}
.btn .arrow .icon { width: 14px; height: 14px; }
.btn:hover .arrow { transform: rotate(-45deg); }
.btn--ghost { --bg: rgba(245, 247, 250, .02); --fg: var(--text); box-shadow: inset 0 0 0 1px var(--line-3); }
.btn--ghost .arrow { background: var(--text); color: var(--ink); }
.btn--small { min-height: 44px; padding: 0 16px 0 20px; font-size: .9rem; }
.btn--small .arrow { width: 26px; height: 26px; margin-right: -6px; }
.btn[disabled] { opacity: .6; pointer-events: none; }

.text-link { position: relative; display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-display); font-weight: 600; letter-spacing: -.01em; }
.text-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform-origin: right; transform: scaleX(0); transition: transform .6s var(--ease); }
.text-link:hover::after { transform-origin: left; transform: scaleX(1); }
.text-link .icon { width: 16px; height: 16px; transition: transform .5s var(--ease); }
.text-link:hover .icon { transform: translate(3px, -3px); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li, .chip-static { font-size: .8rem; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: rgba(245, 247, 250, .78); }
.badge {
  position: absolute; left: 16px; top: 16px; z-index: 2;
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  padding: 7px 11px; border-radius: 999px; background: rgba(7, 9, 12, .66);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid var(--line-3);
}
.checklist { display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: baseline; font-size: var(--fs-small); color: rgba(245, 247, 250, .86); }
.checklist li::before {
  content: ""; width: 16px; height: 16px; flex-shrink: 0; border-radius: 50%; transform: translateY(3px);
  background: rgba(8, 102, 245, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23258bff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.panel { background: linear-gradient(180deg, rgba(245, 247, 250,.035), rgba(245, 247, 250,.01)); border: 1px solid var(--line-2); border-radius: var(--r-lg); }

/* ---------- 7. Header & navigation ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 500; height: var(--header-h); transition: transform .6s var(--ease); }
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(7, 9, 12, .7); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line); opacity: 0; transition: opacity .5s;
}
.site-header.is-scrolled::before, .menu-open .site-header::before { opacity: 1; }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand__img { width: clamp(118px, 10vw, 146px); height: auto; }
.progress { position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--grad); transform-origin: left; transform: scaleX(0); }

.nav .menu { display: flex; align-items: center; gap: clamp(4px, 1vw, 14px); }
.nav .menu > li { position: relative; display: flex; align-items: center; }
.nav .menu > li > a {
  display: inline-flex; align-items: center; padding: 10px 10px; border-radius: 10px;
  font-size: .92rem; font-weight: 500; color: rgba(245, 247, 250, .76); transition: color .3s, background .3s;
}
.nav .menu > li > a:hover, .nav .menu > li:focus-within > a,
.nav .menu > li.current-menu-item > a, .nav .menu > li.current-menu-ancestor > a, .nav .menu > li.current-page-ancestor > a { color: var(--text); }
.nav .menu > li.current-menu-item > a, .nav .menu > li.current-menu-ancestor > a, .nav .menu > li.current-page-ancestor > a { background: rgba(245, 247, 250,.05); }
.submenu-toggle { display: grid; place-items: center; width: 22px; height: 22px; margin-left: -6px; color: var(--muted); border-radius: 6px; }
.submenu-toggle .icon { width: 14px; height: 14px; transition: transform .4s var(--ease); }
.nav .sub-menu {
  position: absolute; top: calc(100% + 10px); left: 50%; z-index: 10;
  width: min(560px, 80vw); padding: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  background: rgba(10, 13, 11, .96); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border: 1px solid var(--line-2); border-radius: 18px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.8);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .3s, transform .4s var(--ease), visibility .3s;
}
.nav .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav .menu > li:hover > .sub-menu, .nav .menu > li:focus-within > .sub-menu, .nav .menu > li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav .menu > li:hover > .submenu-toggle .icon, .nav .menu > li.is-open > .submenu-toggle .icon { transform: rotate(180deg); }
.nav .sub-menu a { display: grid; gap: 3px; padding: 12px 14px; border-radius: 12px; font-weight: 600; font-family: var(--f-display); font-size: .93rem; letter-spacing: -.01em; transition: background .25s; }
.nav .sub-menu a:hover, .nav .sub-menu a:focus-visible { background: rgba(245, 247, 250, .05); }
.nav .sub-menu .current-menu-item > a { background: rgba(8, 102, 245, .08); }
.menu-desc { font-family: var(--f-body); font-weight: 400; font-size: .8rem; color: var(--muted); line-height: 1.45; letter-spacing: 0; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-3); position: relative; }
.menu-toggle span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--text); transition: transform .5s var(--ease), top .5s var(--ease); }
.menu-toggle span:nth-child(1) { top: 19px; }
.menu-toggle span:nth-child(2) { top: 26px; }
.menu-open .menu-toggle span:nth-child(1) { top: 22.5px; transform: rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { top: 22.5px; transform: rotate(-45deg); }

/* ---------- 8. Curtain & cursor ---------- */
.curtain {
  position: fixed; inset: 0; z-index: 800; pointer-events: none; background: var(--ink-2);
  display: grid; place-items: center; transform: translateY(-100%);
  animation: curtain-out .9s var(--ease-io) .05s backwards;
}
.curtain__mark { width: 60px; height: 60px; animation: mark-in .6s var(--ease) both; }
.curtain.is-leaving { animation: curtain-in .6s var(--ease-io) forwards; }
.curtain.is-leaving .curtain__mark { animation: mark-in .5s var(--ease) .15s both; }
@keyframes curtain-out { from { transform: none; } to { transform: translateY(-100%); } }
@keyframes curtain-in { from { transform: translateY(100%); } to { transform: none; } }
@keyframes mark-in { from { opacity: 0; transform: scale(.7) rotate(-45deg); } to { opacity: 1; transform: none; } }
html:not(.js) .curtain { display: none; }
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor {
    display: block; position: fixed; left: 0; top: 0; z-index: 950; pointer-events: none;
    width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--green);
    mix-blend-mode: difference; opacity: 0;
    transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), background-color .3s, opacity .3s;
  }
  .cursor.is-visible { opacity: 1; }
  .cursor.is-hover { width: 48px; height: 48px; margin: -24px 0 0 -24px; background: var(--text); }
  .cursor.is-view { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--green); mix-blend-mode: normal; }
  .cursor span { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; color: var(--ink); opacity: 0; transition: opacity .3s; }
  .cursor.is-view span { opacity: 1; }
}

/* ---------- 9. Hero ---------- */
.scroll-cue { display: inline-flex; align-items: center; gap: 14px; font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.scroll-cue__line { width: 1px; height: 48px; background: var(--line-2); position: relative; overflow: hidden; }
.scroll-cue__line::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--green); animation: cue 2.2s var(--ease-io) infinite; }
@keyframes cue { to { top: 100%; } }

@keyframes blink { 50% { opacity: .2; } }

/* ---------- 10. Clients ---------- */
.clients { border-block: 1px solid var(--line); background: rgba(7, 9, 12,.6); }
.clients__inner { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: center; padding-block: clamp(22px, 3vw, 34px); }
.clients__label { font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); max-width: 16ch; line-height: 1.5; }
.clients__viewport { display: flex; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.clients__track { display: flex; align-items: center; gap: clamp(40px, 6vw, 88px); padding-right: clamp(40px, 6vw, 88px); flex-shrink: 0; animation: marquee 36s linear infinite; }
.clients__item img { height: clamp(24px, 2.6vw, 34px); width: auto; max-width: 170px; object-fit: contain; opacity: .62; transition: opacity .4s; }
.clients__item img:hover { opacity: 1; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- 11. Page hero ---------- */
.page-hero { position: relative; padding-top: calc(var(--header-h) + clamp(48px, 9vh, 112px)); padding-bottom: clamp(48px, 8vh, 96px); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; width: 70vw; height: 70vw; max-width: 1000px; max-height: 1000px; right: -20vw; top: -35vw; border-radius: 50%; background: radial-gradient(circle, rgba(8, 102, 245,.12), transparent 60%); pointer-events: none; }
.page-hero__inner { position: relative; display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
.page-hero--split .page-hero__inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.page-hero .label { margin-bottom: 26px; }
.page-hero .h1 { max-width: 15ch; }
.page-hero .lead { margin-top: 28px; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.page-hero__visual { position: relative; }
.page-hero__meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0; margin-top: clamp(40px, 6vh, 72px); border-top: 1px solid var(--line-2); }
.page-hero__meta > div { padding: 20px 20px 0 0; }
.page-hero__meta > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.page-hero__meta dt { font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.page-hero__meta dd { font-family: var(--f-display); font-weight: 600; letter-spacing: -.01em; }
.crumbs { margin-bottom: 28px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; font-size: .82rem; color: var(--muted); }
.crumbs li { display: inline-flex; align-items: center; gap: 8px; }
.crumbs li + li::before { content: "/"; color: var(--dim); }
.crumbs a:hover { color: var(--text); }
.crumbs [aria-current] { color: rgba(245, 247, 250, .82); }

/* ---------- 12. Section head ---------- */
.section-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: end; margin-bottom: clamp(48px, 7vw, 96px); }
.section-head__title { grid-column: 1 / span 7; }
.section-head__title .label { margin-bottom: 24px; }
.section-head__aside { grid-column: 9 / span 4; display: grid; gap: 22px; justify-items: start; }
.section-head__aside p { color: var(--muted); max-width: 38ch; }
.section-head--center { text-align: center; justify-items: center; }
.section-head--center .section-head__title { grid-column: 1 / -1; }
.section-head--center .label { justify-content: center; }

/* ---------- 13. About & video ---------- */
.about-video__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.about-video__copy .label { margin-bottom: 24px; }
.about-video__copy .lead { margin: 28px 0 32px; }
.pillars { display: grid; gap: 18px; margin-bottom: 32px; }
.pillars li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.pillars .icon { width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: rgba(8, 102, 245,.08); border: 1px solid rgba(8, 102, 245,.2); color: var(--green-2); }
.pillars strong { display: block; font-family: var(--f-display); font-weight: 600; letter-spacing: -.01em; }
.pillars span { color: var(--muted); font-size: var(--fs-small); }
.video { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-2); background: var(--ink-3); aspect-ratio: 16 / 10; }
.video__poster, .video__frame, .video__art { position: absolute; inset: 0; }
.video__poster img { width: 100%; height: 100%; object-fit: cover; }
.video__art { background: radial-gradient(ellipse at 70% 20%, rgba(8, 102, 245,.28), transparent 55%), radial-gradient(ellipse at 10% 100%, rgba(11,143,85,.25), transparent 50%), var(--ink-2); }
.video__grid { position: absolute; inset: 0; background-image: linear-gradient(to right, var(--line) 1px, transparent 1px), linear-gradient(to bottom, var(--line) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); }
.video__ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px solid var(--line-2); transform: translate(-50%, -50%); }
.video__ring--1 { width: 44%; aspect-ratio: 1; }
.video__ring--2 { width: 66%; aspect-ratio: 1; border-style: dashed; animation: spin-c 60s linear infinite; }
@keyframes spin-c { to { transform: translate(-50%, -50%) rotate(360deg); } }
.video__mark { position: absolute; left: 50%; top: 50%; width: 22%; transform: translate(-50%, -50%); filter: drop-shadow(0 10px 30px rgba(8, 102, 245,.5)); }
.video__chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; font-size: .78rem; background: rgba(7, 9, 12,.6); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.video__chip .icon { color: var(--green-2); }
.video__chip--1 { left: 8%; top: 14%; } .video__chip--2 { right: 8%; top: 30%; } .video__chip--3 { left: 14%; bottom: 26%; }
.video__caption { position: absolute; left: 22px; bottom: 20px; display: grid; gap: 4px; }
.video__caption strong { font-family: var(--f-display); font-weight: 600; letter-spacing: -.01em; }
.video__play { position: absolute; right: 22px; bottom: 20px; display: inline-flex; align-items: center; gap: 12px; padding: 6px 18px 6px 6px; border-radius: 999px; background: rgba(7, 9, 12,.6); border: 1px solid var(--line-3); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-family: var(--f-display); font-weight: 600; transition: background .3s; }
.video__play:hover { background: rgba(8, 102, 245,.2); }
.video__play-btn { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: var(--ink); position: relative; }
.video__play-btn::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid var(--green); animation: halo 2.4s var(--ease-io) infinite; }
.video__play-btn .icon { width: 18px; height: 18px; margin-left: 3px; }
.video__frame iframe, .video__frame video { width: 100%; height: 100%; border: 0; background: #000; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 18px; border: 1px solid var(--line-2); border-radius: var(--r-lg); overflow: hidden; }
.stat { padding: 22px 22px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat dd { display: grid; gap: 4px; }
.stat strong { font-family: var(--f-display); font-weight: 600; font-size: clamp(2.2rem, 3.6vw, 3.25rem); letter-spacing: -.05em; line-height: 1; }
.stat strong sup { font-size: .45em; vertical-align: top; margin-left: 2px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat dd > span { color: var(--muted); font-size: .88rem; }

/* ---------- 14. Services & visuals ---------- */
.visual { position: relative; border-radius: var(--r-lg); border: 1px solid var(--line-2); background: radial-gradient(ellipse at 80% 0%, rgba(8, 102, 245,.16), transparent 60%), linear-gradient(180deg, var(--ink-3), var(--ink-2)); aspect-ratio: 3 / 2; display: grid; place-items: center; padding: clamp(18px, 3vw, 40px); overflow: hidden; }
.visual__grid { position: absolute; inset: 0; background-image: linear-gradient(to right, var(--line) 1px, transparent 1px), linear-gradient(to bottom, var(--line) 1px, transparent 1px); background-size: 32px 32px; mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%); }
.visual > svg { position: relative; width: 100%; height: auto; overflow: visible; }
.v-panel { fill: rgba(245, 247, 250,.035); stroke: rgba(245, 247, 250,.18); stroke-width: 1; }
.v-panel2 { fill: rgba(245, 247, 250,.025); stroke: rgba(245, 247, 250,.1); stroke-width: 1; }
.v-line { fill: none; stroke: rgba(245, 247, 250,.3); stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.v-wire { fill: none; stroke: rgba(245, 247, 250,.2); stroke-width: 1.4; }
.v-accent { fill: none; stroke: var(--green-2); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.v-accent.pulse { stroke-dasharray: 16 260; animation: wire 2.8s var(--ease-io) infinite; filter: drop-shadow(0 0 5px rgba(8, 102, 245,.8)); }
.v-fill { fill: var(--green); }
.v-dim { fill: rgba(245, 247, 250,.2); }
.v-text { fill: var(--text); }
.v-soft { fill: rgba(8, 102, 245,.14); }
.v-area { fill: rgba(8, 102, 245,.12); }
.v-done { fill: rgba(8, 102, 245,.14); stroke: var(--green); stroke-width: 1.2; }
.v-label { fill: rgba(245, 247, 250,.62); font-family: var(--f-mono); font-size: 9px; letter-spacing: .1em; text-anchor: middle; }
.v-label--lg { font-family: var(--f-display); font-size: 11.5px; font-weight: 600; letter-spacing: 0; fill: var(--text); }
.v-num { fill: var(--green-2); font-family: var(--f-mono); font-size: 8.5px; letter-spacing: .1em; text-anchor: middle; }
.v-blink { animation: blink 1.6s ease-in-out infinite; }
.v-spin { transform-box: fill-box; transform-origin: center; animation: spin 50s linear infinite; }
.visual--flow { aspect-ratio: auto; padding: clamp(16px, 2.5vw, 32px); }
.visual--layers, .visual--industry { aspect-ratio: 1 / 1; max-width: 520px; margin-inline: auto; width: 100%; }
.v-layers { position: relative; display: grid; gap: 10px; width: 100%; perspective: 900px; }
.v-layer { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(245, 247, 250,.03); font-family: var(--f-display); font-weight: 600; letter-spacing: -.01em; transform: rotateX(18deg); transition: transform .6s var(--ease); }
.v-layer i { width: 40%; height: 6px; border-radius: 3px; background: rgba(245, 247, 250,.12); position: relative; overflow: hidden; }
.v-layer i::after { content: ""; position: absolute; inset: 0; width: 30%; background: var(--green); animation: load 2.6s var(--ease-io) infinite; animation-delay: calc(var(--i) * .2s); }
@keyframes load { from { transform: translateX(-100%); } to { transform: translateX(340%); } }
.v-layer.is-active { border-color: var(--green); background: var(--grad-soft); box-shadow: 0 20px 50px -20px rgba(8, 102, 245,.6); transform: rotateX(0) scale(1.04); }
.v-layer.is-active span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.v-orbit { position: relative; width: 80%; aspect-ratio: 1; }
.v-ring { position: absolute; inset: 0; margin: auto; border-radius: 50%; border: 1px solid var(--line-2); }
.v-ring--1 { width: 40%; height: 40%; } .v-ring--2 { width: 70%; height: 70%; border-style: dashed; animation: spin 60s linear infinite; } .v-ring--3 { width: 100%; height: 100%; }
.v-core { position: absolute; inset: 0; margin: auto; width: 28%; height: 28%; border-radius: 30%; display: grid; place-items: center; background: var(--grad-soft); border: 1px solid var(--green); color: var(--green-2); box-shadow: 0 0 60px -10px rgba(8, 102, 245,.6); }
.v-core .icon { width: 44%; height: 44%; }
.v-sat { position: absolute; width: 14%; height: 14%; border-radius: 30%; display: grid; place-items: center; background: var(--ink-3); border: 1px solid var(--line-3); color: var(--text); animation: float 6s ease-in-out infinite; }
.v-sat .icon { width: 46%; height: 46%; }
.v-sat--1 { left: 8%; top: 18%; } .v-sat--2 { right: 4%; top: 38%; animation-delay: -2s; } .v-sat--3 { left: 30%; bottom: 0; animation-delay: -4s; }
@keyframes float { 50% { transform: translateY(-10px); } }



/* ---------- 16. Automation demo ---------- */
.automation__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.automation__copy .label { margin-bottom: 24px; }
.automation__copy .lead { margin: 26px 0 28px; }
.automation__copy .checklist { margin-bottom: 34px; }
.workflow { border-radius: var(--r-lg); border: 1px solid var(--line-2); background: linear-gradient(180deg, var(--ink-3), var(--ink-2)); overflow: hidden; box-shadow: 0 40px 100px -40px rgba(8, 102, 245,.3); }
.workflow__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.workflow__title { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 600; }
.workflow__title .icon { color: var(--green-2); }
.workflow__demo { font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line-2); }
.workflow__steps { padding: 22px; display: grid; gap: 0; position: relative; }
.wf-step { position: relative; display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(245, 247, 250,.02); transition: border-color .4s, background .4s, box-shadow .4s; }
.wf-step + .wf-step { margin-top: 26px; }
.wf-step + .wf-step::before { content: ""; position: absolute; left: 35px; top: -27px; width: 1px; height: 26px; background: var(--line-3); transition: background .4s; }
.wf-step__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(245, 247, 250,.05); border: 1px solid var(--line-2); color: var(--muted); transition: all .4s; }
.wf-step__icon .icon { width: 18px; height: 18px; }
.wf-step__text { display: grid; font-family: var(--f-display); font-weight: 600; letter-spacing: -.01em; }
.wf-step__text small { font-family: var(--f-mono); font-weight: 400; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.wf-step__state { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line-3); position: relative; }
.wf-step.is-running { border-color: rgba(8, 102, 245,.6); background: rgba(8, 102, 245,.06); box-shadow: 0 0 0 4px rgba(8, 102, 245,.06); }
.wf-step.is-running .wf-step__state { border-color: var(--green); border-top-color: transparent; animation: spin .8s linear infinite; }
.wf-step.is-done .wf-step__icon { background: rgba(8, 102, 245,.14); border-color: rgba(8, 102, 245,.5); color: var(--green-2); }
.wf-step.is-done .wf-step__state { background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2307090c' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; border-color: var(--green); }
.wf-step.is-done + .wf-step::before { background: var(--green); }
.workflow__foot { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; padding: 16px 20px 20px; border-top: 1px solid var(--line); }
.workflow__log { font-family: var(--f-mono); font-size: .76rem; line-height: 1.6; color: var(--mint); min-height: 1.6em; max-height: 5em; overflow: hidden; }
.workflow__log .t { color: var(--dim); margin-right: 8px; }

/* ---------- 17. Work, case cards & results ---------- */
.case-card { --accent: var(--green); position: relative; }
.case-card__link { display: grid; gap: 22px; }
.case-card__media { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-2); background: var(--ink-3); aspect-ratio: 16 / 10; }
.case-card__img, .case-card__img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 1.1s var(--ease); }
.case-card__link:hover .case-card__img img { transform: scale(1.04); }
.case-card__body { display: grid; gap: 10px; }
.case-card__meta { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.case-card__metric { color: var(--accent); }
.case-card__title { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.3rem, 1.8vw, 1.7rem); letter-spacing: -.03em; line-height: 1.15; transition: color .3s; }
.case-card__link:hover .case-card__title { color: var(--mint); }
.case-card__excerpt { color: var(--muted); font-size: var(--fs-small); max-width: 60ch; }
.case-card__more { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-display); font-weight: 600; font-size: .92rem; margin-top: 6px; }
.case-card__more .icon { width: 15px; height: 15px; transition: transform .4s var(--ease); }
.case-card__link:hover .case-card__more .icon { transform: translate(3px, -3px); }
.case-card--feature .case-card__link { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: end; }
.case-card--feature .case-card__media { aspect-ratio: 16 / 10; box-shadow: 0 50px 120px -50px color-mix(in srgb, var(--accent) 60%, transparent); }
.case-card--feature .case-card__title { font-size: clamp(1.6rem, 2.6vw, 2.5rem); }
.case-cover { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 6px; background: radial-gradient(ellipse at 70% 10%, color-mix(in srgb, var(--accent) 34%, transparent), transparent 60%), radial-gradient(ellipse at 0% 100%, rgba(11,143,85,.2), transparent 50%), var(--ink-2); overflow: hidden; }
.case-cover__grid { position: absolute; inset: 0; background-image: linear-gradient(to right, var(--line) 1px, transparent 1px), linear-gradient(to bottom, var(--line) 1px, transparent 1px); background-size: 40px 40px; mask-image: radial-gradient(ellipse at center, #000 20%, transparent 80%); -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 80%); }
.case-cover__metric { position: relative; font-family: var(--f-display); font-weight: 600; font-size: clamp(3rem, 6vw, 5.5rem); letter-spacing: -.06em; line-height: 1; color: var(--accent); }
.case-cover__label { position: relative; font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: .14em; text-transform: uppercase; color: rgba(245, 247, 250,.75); }
.case-cover__mono { position: relative; font-family: var(--f-serif); font-style: italic; font-size: clamp(5rem, 10vw, 9rem); line-height: 1; color: var(--accent); }
.case-cover__mark { position: absolute; right: 18px; bottom: 18px; width: 34px; opacity: .8; }
.post-cover { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(ellipse at 70% 10%, rgba(8, 102, 245,.24), transparent 60%), var(--ink-2); }
.post-cover__mark { position: relative; width: 22%; opacity: .9; }


/* ---------- 18. Process ---------- */
.process__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.process__sticky { grid-column: 1 / span 5; position: sticky; top: calc(var(--header-h) + 40px); align-self: start; }
.process__sticky .label { margin-bottom: 24px; }
.process__sticky .lead { margin-top: 26px; }
.process__steps { grid-column: 7 / span 6; position: relative; padding-left: clamp(32px, 4vw, 60px); }
.process__rail { position: absolute; left: 0; top: 8px; bottom: 8px; width: 1px; background: var(--line-2); }
.process__rail i { position: absolute; inset: 0; background: var(--grad); transform-origin: top; transform: scaleY(0); }
.step { position: relative; padding-bottom: clamp(56px, 8vw, 104px); }
.step:last-child { padding-bottom: 0; }
.step::before { content: ""; position: absolute; left: calc(clamp(32px, 4vw, 60px) * -1 - 6px); top: 8px; width: 13px; height: 13px; border-radius: 50%; background: var(--ink); box-shadow: inset 0 0 0 1px var(--line-3); transition: background .4s, box-shadow .4s; }
.step.is-active::before { background: var(--green); box-shadow: 0 0 0 6px var(--glow); }
.step__num { font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.step h3 { font-family: var(--f-display); font-weight: 600; letter-spacing: -.045em; line-height: 1; font-size: clamp(2.2rem, 4.4vw, 4rem); margin: 12px 0 18px; color: rgba(245, 247, 250,.2); transition: color .5s; }
.step.is-active h3 { color: var(--text); }
.step p { color: var(--muted); max-width: 46ch; }
.step .tags { margin-top: 20px; }

/* ---------- 19. Industries & stack ---------- */
.ind-list { border-top: 1px solid var(--line-2); }
.ind-row { display: grid; grid-template-columns: 56px 52px minmax(0, 1fr) minmax(0, 1.1fr) 44px; gap: clamp(12px, 2vw, 28px); align-items: center; padding: clamp(18px, 2.2vw, 28px) 0; border-bottom: 1px solid var(--line-2); position: relative; transition: padding .5s var(--ease); }
.ind-row::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 102, 245,.08), transparent 70%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.ind-row:hover { padding-left: 14px; }
.ind-row:hover::before { opacity: 1; }
.ind-row__num { font-family: var(--f-mono); font-size: var(--fs-label); color: var(--dim); }
.ind-row__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--green-2); }
.ind-row__icon .icon { width: 20px; height: 20px; }
.ind-row__name { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.3rem, 2.4vw, 2.1rem); letter-spacing: -.035em; }
.ind-row__desc { color: var(--muted); font-size: var(--fs-small); }
.ind-row__arrow { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-2); transition: background .4s, color .4s, transform .5s var(--ease); }
.ind-row:hover .ind-row__arrow { background: var(--green); color: var(--ink); transform: rotate(45deg); box-shadow: none; }

/* ---------- 20. Testimonials ---------- */
.carousel-nav { display: flex; gap: 10px; }
.carousel-btn { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-3); transition: background .3s, color .3s; }
.carousel-btn:hover { background: var(--text); color: var(--ink); }
.carousel-btn .icon { width: 18px; height: 18px; }
.carousel { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); scroll-padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); }
.carousel::-webkit-scrollbar { display: none; }
.carousel__track { display: flex; gap: clamp(14px, 1.6vw, 22px); width: max-content; padding-bottom: 6px; }
.quote-card { scroll-snap-align: start; width: clamp(290px, 31vw, 430px); }
.quote-card figure { height: 100%; display: flex; flex-direction: column; gap: 22px; padding: clamp(24px, 2.6vw, 36px); border-radius: var(--r-lg); border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(245, 247, 250,.035), rgba(245, 247, 250,.005)); }
.quote-card__stars { color: var(--green-2); letter-spacing: .2em; font-size: .9rem; }
.quote-card blockquote { flex: 1; font-family: var(--f-display); font-weight: 500; font-size: clamp(1.05rem, 1.3vw, 1.2rem); line-height: 1.5; letter-spacing: -.015em; }
.quote-card figcaption { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.quote-card figcaption span { display: grid; font-size: .86rem; color: var(--muted); }
.quote-card figcaption strong { color: var(--text); font-family: var(--f-display); font-weight: 600; font-size: .98rem; }
.quote-card__avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; background: var(--grad-soft); border: 1px solid rgba(8, 102, 245,.4); color: var(--mint); font-family: var(--f-display); font-weight: 700; font-size: .85rem; object-fit: cover; }

/* ---------- 21. FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.faq__head { grid-column: 1 / span 4; }
.faq__head .label { margin-bottom: 24px; }
.faq__head .muted { margin-top: 24px; max-width: 32ch; }
.faq__list { grid-column: 6 / span 7; border-top: 1px solid var(--line-2); }
.faq-item { border-bottom: 1px solid var(--line-2); }
.faq-item__h { font: inherit; }
.faq-item__q { width: 100%; display: grid; grid-template-columns: 40px 1fr 36px; gap: 14px; align-items: center; padding: 26px 0; text-align: left; font-family: var(--f-display); font-weight: 600; font-size: clamp(1.05rem, 1.5vw, 1.32rem); letter-spacing: -.025em; transition: color .3s; }
.faq-item__q:hover { color: var(--mint); }
.faq-item__n { font-family: var(--f-mono); font-weight: 400; font-size: var(--fs-label); color: var(--dim); }
.faq-item__icon { position: relative; width: 36px; height: 36px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-3); transition: background .4s, transform .5s var(--ease); }
.faq-item__icon::before, .faq-item__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: currentColor; transition: transform .5s var(--ease); }
.faq-item__icon::after { transform: rotate(90deg); }
.faq-item.is-open .faq-item__icon { background: var(--green); color: var(--ink); box-shadow: none; transform: rotate(180deg); }
.faq-item.is-open .faq-item__icon::after { transform: rotate(0); }
.faq-item__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.faq-item.is-open .faq-item__a { grid-template-rows: 1fr; }
.faq-item__a > div { overflow: hidden; }
.faq-item__a p { color: var(--muted); padding: 0 50px 26px 54px; max-width: 70ch; }

/* ---------- 22. CTA ---------- */

/* ---------- 23. Footer ---------- */
.site-footer { position: relative; z-index: 1; border-top: 1px solid var(--line); padding-top: clamp(64px, 8vw, 104px); overflow: hidden; background: linear-gradient(180deg, transparent, rgba(7, 9, 12,.9)); }
.footer__top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; padding-bottom: clamp(48px, 6vw, 80px); }
.footer__intro { grid-column: 1 / span 4; display: grid; gap: 22px; align-content: start; justify-items: start; }
.footer__intro p { color: var(--muted); max-width: 34ch; }
.footer__contact { display: grid; gap: 10px; font-size: var(--fs-small); }
.footer__contact a, .footer__contact span { display: inline-flex; align-items: center; gap: 10px; color: rgba(245, 247, 250,.85); }
.footer__contact a:hover { color: var(--mint); }
.footer__contact .icon { color: var(--green-2); width: 16px; height: 16px; }
.footer__col { grid-column: span 2; display: grid; gap: 14px; align-content: start; }
.footer__col:nth-of-type(2) { grid-column: 6 / span 3; }
.footer__col:nth-of-type(3) { grid-column: span 2; }
.footer__title { font-family: var(--f-mono); font-size: var(--fs-label); font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.footer__col ul { display: grid; gap: 10px; }
.footer__col a { color: rgba(245, 247, 250,.8); font-size: var(--fs-small); transition: color .3s; }
.footer__col a:hover { color: var(--mint); }
.footer__explore { margin-top: 10px; }
.footer__word { padding-inline: var(--gutter); }
.footer__word img { width: 100%; max-width: var(--max); margin-inline: auto; opacity: .95; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-block: 26px 30px; margin-top: clamp(28px, 4vw, 48px); border-top: 1px solid var(--line); font-size: .86rem; color: var(--muted); }
.footer__bottom .menu { display: flex; gap: 22px; }
.footer__bottom a:hover { color: var(--text); }
.to-top { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- 24. Inner pages ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 18px); }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { position: relative; display: grid; gap: 12px; align-content: start; padding: clamp(22px, 2.4vw, 32px); border-radius: var(--r-lg); border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(245, 247, 250,.03), rgba(245, 247, 250,.005)); transition: border-color .4s, transform .5s var(--ease); }
a.card:hover { border-color: rgba(8, 102, 245,.45); transform: translateY(-4px); }
.card__num { font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: .14em; color: var(--green-2); }
.card__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(8, 102, 245,.1); color: var(--green-2); margin-bottom: 6px; }
.card__icon .icon { width: 20px; height: 20px; }
.card__title { font-family: var(--f-display); font-weight: 600; font-size: 1.15rem; letter-spacing: -.02em; line-height: 1.25; }
.card p { color: var(--muted); font-size: var(--fs-small); }
.card__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-family: var(--f-display); font-weight: 600; font-size: .9rem; }
.card__more .icon { width: 14px; height: 14px; }

.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: start; }
.split__a { grid-column: 1 / span 5; }
.split__a--sticky { position: sticky; top: calc(var(--header-h) + 40px); }
.split__a .label { margin-bottom: 22px; }
.split__a .lead { margin-top: 22px; }
.split__b { grid-column: 7 / span 6; }

.numbered { counter-reset: n; border-top: 1px solid var(--line-2); }
.numbered li { counter-increment: n; display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--line-2); }
.numbered li::before { content: counter(n, decimal-leading-zero); font-family: var(--f-mono); font-size: var(--fs-label); color: var(--green-2); padding-top: 6px; }
.numbered strong { display: block; font-family: var(--f-display); font-weight: 600; font-size: 1.2rem; letter-spacing: -.02em; margin-bottom: 6px; }
.numbered span { color: var(--muted); }

.outcomes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.outcomes li { display: flex; gap: 14px; align-items: center; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--line-2); background: rgba(245, 247, 250,.02); font-family: var(--f-display); font-weight: 600; letter-spacing: -.01em; }
.outcomes li .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--green); color: var(--ink); stroke-width: 3; }

.ps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 18px); }
.ps__item { padding: clamp(24px, 2.6vw, 36px); border-radius: var(--r-lg); border: 1px solid var(--line-2); display: grid; gap: 14px; align-content: start; }
.ps__item--accent { background: var(--grad-soft); border-color: rgba(8, 102, 245,.4); }
.ps__item p { color: var(--muted); }
.ps__item .label { color: var(--green-2); }

.matrix { border-top: 1px solid var(--line-2); }
.matrix__row { display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1fr) 44px; gap: clamp(14px, 2vw, 32px); align-items: center; padding: clamp(22px, 2.6vw, 34px) 0; border-bottom: 1px solid var(--line-2); transition: background .4s; }
.matrix__row:hover { background: linear-gradient(90deg, rgba(8, 102, 245,.06), transparent); }
.matrix__num { font-family: var(--f-mono); font-size: var(--fs-label); color: var(--green-2); padding-left: 6px; }
.matrix__title { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.25rem, 2vw, 1.75rem); letter-spacing: -.03em; line-height: 1.15; }
.matrix__problem { color: var(--muted); font-size: var(--fs-small); }
.matrix__problem b, .matrix__outcome b { display: block; font-family: var(--f-mono); font-weight: 400; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 6px; }
.matrix__outcome { font-size: var(--fs-small); color: rgba(245, 247, 250,.88); }
.matrix__arrow { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-2); transition: background .4s, color .4s, transform .5s var(--ease); }
.matrix__row:hover .matrix__arrow { background: var(--green); color: var(--ink); transform: rotate(45deg); box-shadow: none; }

.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 18px); }
.tile { position: relative; display: grid; gap: 14px; align-content: space-between; min-height: 300px; padding: clamp(24px, 2.6vw, 34px); border-radius: var(--r-lg); border: 1px solid var(--line-2); overflow: hidden; background: linear-gradient(180deg, rgba(245, 247, 250,.03), rgba(245, 247, 250,.005)); transition: border-color .4s, transform .5s var(--ease); }
.tile::after { content: ""; position: absolute; right: -40%; top: -40%; width: 90%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(8, 102, 245,.18), transparent 60%); opacity: 0; transition: opacity .5s; }
.tile:hover { border-color: rgba(8, 102, 245,.5); transform: translateY(-4px); }
.tile:hover::after { opacity: 1; }
.tile__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; border: 1px solid var(--line-3); color: var(--green-2); }
.tile__icon .icon { width: 24px; height: 24px; }
.tile__title { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.4rem, 2vw, 1.85rem); letter-spacing: -.035em; line-height: 1.1; }
.tile p { color: var(--muted); font-size: var(--fs-small); }
.tile__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; }

.tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 18px); }
.tool { display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start; padding: clamp(20px, 2.2vw, 28px); border-radius: var(--r-lg); border: 1px solid var(--line-2); background: rgba(245, 247, 250,.02); }
.tool__mono { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--grad-soft); border: 1px solid rgba(8, 102, 245,.35); font-family: var(--f-display); font-weight: 700; color: var(--mint); font-size: 1.05rem; }
.tool strong { display: block; font-family: var(--f-display); font-weight: 600; font-size: 1.15rem; letter-spacing: -.02em; margin-bottom: 4px; }
.tool span { color: var(--muted); font-size: var(--fs-small); }

.stack-map { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 18px); }
.stack-map__item { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: clamp(20px, 2.4vw, 30px); border-radius: var(--r-lg); border: 1px solid var(--line-2); transition: border-color .4s, background .4s; }
.stack-map__item:hover { border-color: rgba(8, 102, 245,.45); background: rgba(8, 102, 245,.03); }
.stack-map__item .tile__icon { width: 56px; height: 56px; }
.stack-map__item .tags { margin-top: 10px; }

.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(12px, 1.4vw, 18px); }
.band { padding: clamp(28px, 3.6vw, 48px); border-radius: var(--r-lg); border: 1px solid rgba(8, 102, 245,.35); background: radial-gradient(ellipse at 100% 0%, rgba(8, 102, 245,.18), transparent 60%), rgba(245, 247, 250,.02); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; }
.band .h3 { max-width: 30ch; }
.band p { color: var(--muted); margin-top: 8px; }

.prose { max-width: 72ch; font-size: 1.08rem; line-height: 1.75; color: rgba(245, 247, 250,.86); }
.prose--wide { max-width: 90ch; }
.prose > * + * { margin-top: 1.25em; }
.prose h2, .prose h3, .prose h4 { font-family: var(--f-display); font-weight: 600; color: var(--text); letter-spacing: -.03em; line-height: 1.2; margin-top: 2em; scroll-margin-top: calc(var(--header-h) + 20px); }
.prose h2 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
.prose h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); }
.prose a { color: var(--mint); text-decoration: underline; text-decoration-color: rgba(154,245,189,.4); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: currentColor; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul li { position: relative; padding-left: 1.5em; }
.prose ul li + li, .prose ol li + li { margin-top: .5em; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.prose ol { list-style: decimal; }
.prose ol li::marker { color: var(--green-2); font-family: var(--f-mono); }
.prose strong { color: var(--text); font-weight: 600; }
.prose blockquote, .prose .wp-block-quote { padding: 6px 0 6px 24px; border-left: 2px solid var(--green); font-family: var(--f-display); font-size: 1.3rem; letter-spacing: -.02em; color: var(--text); }
.prose blockquote cite { display: block; margin-top: 10px; font-size: .9rem; color: var(--muted); font-style: normal; }
.prose img, .prose figure img { border-radius: var(--r); }
.prose figcaption, .wp-caption-text { font-size: .86rem; color: var(--muted); margin-top: 10px; text-align: center; }
.prose code { font-family: var(--f-mono); font-size: .88em; padding: 2px 6px; border-radius: 6px; background: rgba(245, 247, 250,.07); }
.prose pre { font-family: var(--f-mono); font-size: .88rem; padding: 20px 22px; border-radius: var(--r); background: var(--ink-3); border: 1px solid var(--line-2); overflow-x: auto; }
.prose pre code { padding: 0; background: none; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prose th, .prose td { padding: 12px 14px; border-bottom: 1px solid var(--line-2); text-align: left; }
.prose th { font-family: var(--f-display); color: var(--text); }
.prose hr { border: 0; border-top: 1px solid var(--line-2); margin-block: 2.5em; }
.prose .alignwide { max-width: none; }
.alignleft { float: left; margin: .3em 1.5em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.5em; }
.aligncenter { margin-inline: auto; }
.sticky, .bypostauthor, .gallery-caption { }

/* ---------- 25. Blog ---------- */
.blog-tools { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(40px, 5vw, 64px); }
.cat-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-pills a { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .88rem; transition: background .3s, color .3s, border-color .3s; }
.cat-pills a:hover { border-color: var(--text); }
.cat-pills a.is-active { background: var(--text); color: var(--ink); border-color: var(--text); }
.search-form { position: relative; display: flex; align-items: center; min-width: min(100%, 320px); }
.search-form .search-field { width: 100%; height: 48px; padding: 0 52px 0 20px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(245, 247, 250,.03); color: var(--text); transition: border-color .3s; }
.search-form .search-field:focus { outline: none; border-color: var(--green); }
.search-form .search-field::placeholder { color: var(--dim); }
.search-form .search-submit { position: absolute; right: 5px; top: 5px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--text); color: var(--ink); }
.search-form .search-submit .icon { width: 16px; height: 16px; }
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(16px, 2vw, 28px); }
.post-card { display: grid; gap: 18px; align-content: start; }
.post-card__media { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-2); aspect-ratio: 16 / 10; background: var(--ink-3); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__body { display: grid; gap: 10px; }
.post-card__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.post-card__meta a { color: var(--green-2); }
.post-card__title { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.2rem, 1.6vw, 1.45rem); letter-spacing: -.025em; line-height: 1.25; }
.post-card__title a:hover { color: var(--mint); }
.post-card__excerpt { color: var(--muted); font-size: var(--fs-small); }
.post-card--feature { grid-column: 1 / -1; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; margin-bottom: clamp(16px, 2vw, 24px); }
.post-card--feature .post-card__title { font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.1; letter-spacing: -.035em; }
.empty { padding: clamp(40px, 6vw, 80px); border-radius: var(--r-lg); border: 1px dashed var(--line-3); text-align: center; display: grid; gap: 16px; justify-items: center; }
.empty p { color: var(--muted); max-width: 46ch; }
.pagination { margin-top: clamp(56px, 7vw, 96px); }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pagination .page-numbers { min-width: 46px; height: 46px; padding: 0 14px; border-radius: 999px; display: inline-grid; place-items: center; border: 1px solid var(--line-2); font-family: var(--f-display); font-weight: 600; font-size: .92rem; transition: background .3s, color .3s; }
.pagination a.page-numbers:hover { background: rgba(245, 247, 250,.06); }
.pagination .current { background: var(--text); color: var(--ink); border-color: var(--text); }
.pagination .dots { border: 0; }

.article { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 72ch) minmax(0, 1fr); gap: 0 clamp(24px, 4vw, 56px); }
.article__toc { grid-column: 1; justify-self: end; position: sticky; top: calc(var(--header-h) + 40px); align-self: start; width: min(240px, 100%); }
.article__toc .label { margin-bottom: 14px; }
.article__toc ol { display: grid; gap: 8px; border-left: 1px solid var(--line-2); }
.article__toc a { display: block; padding: 2px 0 2px 14px; margin-left: -1px; border-left: 1px solid transparent; font-size: .86rem; color: var(--muted); transition: color .3s, border-color .3s; }
.article__toc a:hover, .article__toc a.is-active { color: var(--text); border-color: var(--green); }
.article__body { grid-column: 2; }
.article__cover { margin-bottom: clamp(36px, 5vw, 64px); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-2); }
.article__cover img { width: 100%; }
.article__foot { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line-2); display: grid; gap: 22px; }
.share { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: .88rem; color: var(--muted); }
.share a, .share button { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text); font-size: .85rem; transition: border-color .3s; }
.share a:hover, .share button:hover { border-color: var(--green); }
.author-box { display: flex; gap: 16px; align-items: center; padding: 22px; border-radius: var(--r-lg); border: 1px solid var(--line-2); }
.author-box img { border-radius: 50%; }
.author-box strong { font-family: var(--f-display); }
.author-box p { color: var(--muted); font-size: var(--fs-small); }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.post-nav a { display: grid; gap: 6px; padding: 20px 22px; border-radius: var(--r-lg); border: 1px solid var(--line-2); transition: border-color .3s; }
.post-nav a:hover { border-color: rgba(8, 102, 245,.45); }
.post-nav span { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.post-nav strong { font-family: var(--f-display); font-weight: 600; letter-spacing: -.01em; }
.post-nav .next { text-align: right; }
.reading-bar { position: fixed; left: 0; top: 0; z-index: 600; height: 2px; width: 100%; background: var(--grad); transform-origin: left; transform: scaleX(0); }

.comments { margin-top: 64px; }
.comments h2 { font-family: var(--f-display); font-weight: 600; font-size: 1.6rem; letter-spacing: -.03em; margin-bottom: 24px; }
.comment-list { display: grid; gap: 18px; }
.comment-list .children { margin: 18px 0 0 28px; display: grid; gap: 18px; }
.comment-body { padding: 20px 22px; border-radius: var(--r-lg); border: 1px solid var(--line-2); }
.comment-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font-size: .86rem; color: var(--muted); margin-bottom: 10px; }
.comment-author { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; }
.comment-author img { border-radius: 50%; }
.comment-author .says { display: none; }
.comment-content { color: rgba(245, 247, 250,.86); }
.reply a { font-size: .85rem; color: var(--green-2); }
.comment-respond { margin-top: 36px; }
.comment-form { display: grid; gap: 16px; }
.comment-form label { display: block; font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(245, 247, 250,.03); color: var(--text); }
.comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--green); }
.comment-form .submit { min-height: 50px; padding: 0 26px; border-radius: 999px; background: var(--text); color: var(--ink); font-family: var(--f-display); font-weight: 600; border: 0; cursor: pointer; }
.comment-form-cookies-consent { display: flex; gap: 10px; align-items: center; font-size: .88rem; color: var(--muted); }
.comment-form-cookies-consent label { margin: 0; text-transform: none; letter-spacing: 0; font-family: var(--f-body); font-size: .88rem; }

/* ---------- 26. Case study ---------- */
.cs-cover { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-2); aspect-ratio: 16 / 9; background: var(--ink-3); transform-origin: 50% 0; }
.cs-cover img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.cs-cover .case-cover { --accent: inherit; }
.cs-body { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.cs-aside { grid-column: 1 / span 4; position: sticky; top: calc(var(--header-h) + 40px); align-self: start; display: grid; gap: 22px; }
.cs-main { grid-column: 6 / span 7; }
.cs-facts { display: grid; gap: 0; border-top: 1px solid var(--line-2); }
.cs-facts div { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.cs-facts dt { font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.cs-facts dd { font-family: var(--f-display); font-weight: 600; letter-spacing: -.01em; }
.cs-metric { padding: 24px; border-radius: var(--r-lg); background: var(--grad-soft); border: 1px solid rgba(8, 102, 245,.4); }
.cs-metric strong { display: block; font-family: var(--f-display); font-weight: 600; font-size: clamp(3rem, 5vw, 4.4rem); letter-spacing: -.06em; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cs-metric span { font-family: var(--f-display); font-weight: 600; }
.cs-highlights { margin-top: 48px; }
.cs-highlights h2 { font-family: var(--f-display); font-weight: 600; font-size: 1.5rem; letter-spacing: -.03em; margin-bottom: 18px; }
.cs-gallery { margin-top: clamp(48px, 6vw, 80px); display: grid; gap: 18px; }
.cs-gallery img { border-radius: var(--r-lg); border: 1px solid var(--line-2); width: 100%; }
.cs-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(36px, 5vw, 56px); }
.cs-filter button { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .88rem; transition: background .3s, color .3s, border-color .3s; }
.cs-filter button:hover { border-color: var(--text); }
.cs-filter button[aria-pressed="true"] { background: var(--text); color: var(--ink); border-color: var(--text); }
.cs-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 5vw, 72px) clamp(16px, 2.4vw, 32px); }
.cs-grid .case-card.is-hidden { display: none; }
.cs-grid .case-card:first-child { grid-column: 1 / -1; }
.cs-grid .case-card:first-child .case-card__link { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: end; }
.cs-grid .case-card:first-child .case-card__title { font-size: clamp(1.6rem, 2.6vw, 2.4rem); }

/* ---------- 27. Contact ---------- */
.contact { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.contact__info { grid-column: 1 / span 4; display: grid; gap: 40px; align-content: start; }
.contact__block { display: grid; gap: 10px; }
.contact__block a { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.15rem, 1.6vw, 1.4rem); letter-spacing: -.03em; width: fit-content; }
.contact__block a:hover { color: var(--mint); }
.next-steps { display: grid; gap: 18px; counter-reset: s; }
.next-steps li { counter-increment: s; display: grid; grid-template-columns: 36px 1fr; gap: 12px; color: var(--muted); font-size: var(--fs-small); }
.next-steps li::before { content: "0" counter(s); font-family: var(--f-mono); font-size: var(--fs-label); color: var(--green-2); padding-top: 3px; }
.next-steps strong { color: var(--text); font-weight: 600; display: block; }
.form { grid-column: 6 / span 7; display: grid; gap: 34px; padding: clamp(24px, 3.4vw, 48px); border-radius: var(--r-lg); border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(245, 247, 250,.035), rgba(245, 247, 250,.008)); scroll-margin-top: calc(var(--header-h) + 20px); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 30px; }
.field { position: relative; display: grid; min-width: 0; }
.field > label, .field legend { font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.field input, .field textarea, .field select { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-3); padding: 12px 0; font-size: 1.08rem; color: var(--text); border-radius: 0; transition: border-color .3s; -webkit-appearance: none; appearance: none; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23a5afbd' stroke-width='1.5'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 4px center; padding-right: 24px; }
.field select option { background: var(--ink-2); color: var(--text); }
.field textarea { resize: vertical; min-height: 130px; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: rgba(245, 247, 250,.26); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--green); }
.field.has-error input, .field.has-error textarea { border-color: #e5675b; }
.field__error { font-size: .82rem; color: #f19a90; margin-top: 6px; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.chip { position: relative; }
.chip input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; margin: 0; opacity: 0; }
.chip span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-3); font-size: .9rem; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.chip span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--line-3); transition: background .3s; }
.chip:hover span { border-color: var(--text); }
.chip input:checked + span { background: var(--text); color: var(--ink); border-color: var(--text); }
.chip input:checked + span::before { background: var(--green); }
.chip input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 3px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--muted); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--green); flex-shrink: 0; }
.consent a { color: var(--mint); text-decoration: underline; text-underline-offset: 3px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.form__note { color: var(--muted); font-size: .85rem; max-width: 40ch; }
.form__status { font-size: var(--fs-small); padding: 16px 20px; border-radius: 12px; display: none; }
.form__status.is-success { display: block; background: rgba(8, 102, 245,.12); color: var(--mint); border: 1px solid rgba(8, 102, 245,.3); }
.form__status.is-error { display: block; background: rgba(229,103,91,.1); color: #f19a90; border: 1px solid rgba(229,103,91,.3); }

/* ---------- 28. Legal & 404 ---------- */
.legal { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.legal__toc { grid-column: 1 / span 3; position: sticky; top: calc(var(--header-h) + 40px); align-self: start; }
.legal__body { grid-column: 5 / span 8; }
.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 40px) var(--gutter) 80px; position: relative; overflow: hidden; }
.notfound__code { font-family: var(--f-display); font-weight: 600; font-size: clamp(7rem, 24vw, 20rem); letter-spacing: -.07em; line-height: .9; }
.notfound p { color: var(--muted); margin: 24px auto 36px; max-width: 44ch; }
.notfound__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }
.notfound .search-form { margin: 0 auto; max-width: 420px; }

/* ---------- 29. Motion initial states (only when JS + motion allowed) ---------- */
.js-anim [data-reveal], .js-anim [data-hero] { opacity: 0; transform: translateY(36px); }
.js-anim [data-reveal="fade"] { transform: none; }
.js-anim [data-lines] .line > span { transform: translateY(110%); }

/* ---------- 30. Responsive ---------- */
@media (max-width: 1180px) {
  .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .matrix__row { grid-template-columns: 48px minmax(0, 1fr) minmax(0, 1.2fr) 44px; }
  .matrix__outcome { display: none; }
}

@media (max-width: 1023px) {
  :root { --header-h: 70px; }
  .menu-toggle { display: block; }
  .header-actions .btn, .header-actions .hbtn { display: none; }
  .nav {
    position: fixed; inset: 0; z-index: -1; padding: calc(var(--header-h) + 18px) var(--gutter) 40px;
    background: var(--ink-2); overflow-y: auto; overscroll-behavior: contain;
    clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .7s var(--ease-io), visibility .7s;
  }
  .menu-open .nav { clip-path: inset(0); visibility: visible; }
  .nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
  .nav .menu > li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav .menu > li > a { flex: 1; padding: 18px 0; font-family: var(--f-display); font-weight: 600; font-size: clamp(1.6rem, 6vw, 2.2rem); letter-spacing: -.035em; color: var(--text); background: none !important; }
  .submenu-toggle { width: 44px; height: 44px; margin: 0; border: 1px solid var(--line-2); border-radius: 50%; }
  .nav .sub-menu { position: static; width: 100%; transform: none; opacity: 1; visibility: visible; display: none; grid-template-columns: 1fr; padding: 0 0 14px; background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav .menu > li:hover > .sub-menu, .nav .menu > li:focus-within > .sub-menu { transform: none; }
  .nav .menu > li.is-open > .sub-menu { display: grid; transform: none; }
  .nav .sub-menu a { padding: 10px 0; }
  .nav .sub-menu .menu-desc { display: none; }

  .hero__inner, .page-hero--split .page-hero__inner, .about-video__grid, .automation__grid, .case-card--feature .case-card__link, .cs-grid .case-card:first-child .case-card__link, .post-card--feature { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .section-head__title, .section-head__aside { grid-column: 1 / -1; }
  .process__sticky, .process__steps, .faq__head, .faq__list, .split__a, .split__b, .cs-aside, .cs-main, .contact__info, .form, .legal__toc, .legal__body { grid-column: 1 / -1; }
  .process__sticky, .split__a--sticky, .cs-aside, .legal__toc { position: relative; top: 0; }
  .process__sticky { margin-bottom: 48px; }
  .faq__head { margin-bottom: 16px; }
  .cards, .ps, .tiles, .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ind-row { grid-template-columns: 44px minmax(0, 1fr) 40px; }
  .ind-row__num, .ind-row__desc { display: none; }
  .footer__intro { grid-column: 1 / -1; margin-bottom: 20px; }
  .footer__col, .footer__col:nth-of-type(2), .footer__col:nth-of-type(3) { grid-column: span 4; }
  .article { grid-template-columns: 1fr; }
  .article__toc { display: none; }
  .article__body { grid-column: 1; max-width: 72ch; margin-inline: auto; width: 100%; }
  .clients__inner { grid-template-columns: 1fr; gap: 16px; }
  .clients__label { max-width: none; }
}

@media (max-width: 767px) {
  .cards, .cards--2, .cards--4, .ps, .tiles, .posts, .tools, .stack-map, .outcomes, .cs-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr 1fr; }
  .stat { padding: 16px 12px; }
  .stat strong { font-size: 1.9rem; }
  .matrix__row { grid-template-columns: minmax(0, 1fr) 40px; }
  .matrix__num, .matrix__problem { display: none; }
  .footer__col, .footer__col:nth-of-type(2), .footer__col:nth-of-type(3) { grid-column: span 6; }
  .footer__col:nth-of-type(3) { grid-column: 1 / -1; }
  .form__row { grid-template-columns: 1fr; }
  .band { grid-template-columns: 1fr; }
  .page-hero__meta > div + div { padding-left: 0; border-left: 0; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav .next { text-align: left; }
  .faq-item__q { grid-template-columns: 28px 1fr 32px; }
  .faq-item__a p { padding: 0 0 22px 42px; }
  .workflow__foot { grid-template-columns: 1fr; }
  .wf-step { grid-template-columns: 38px 1fr auto; padding: 10px; }
  .wf-step__icon { width: 38px; height: 38px; }
  .wf-step + .wf-step::before { left: 29px; }
  .video__chip { display: none; }
  .video__play-label { display: none; }
  .video__play { padding: 6px; }
}

@media (max-width: 420px) {
  .stats { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- 31. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .curtain { display: none; }
  .clients__track { animation: none; flex-wrap: wrap; }
  .clients__track[aria-hidden] { display: none; }
}

/* ---------- Late additions ---------- */
.cs-grid--more .case-card:first-child { grid-column: auto; }
.cs-grid--more .case-card:first-child .case-card__link { grid-template-columns: 1fr; }
.cs-grid--more .case-card:first-child .case-card__title { font-size: clamp(1.3rem, 1.8vw, 1.7rem); }
.card .visual { margin-bottom: 10px; }
.numbered a { display: block; }
.numbered a:hover strong { color: var(--mint); }
.chip-static { display: inline-block; transition: border-color .3s, color .3s; }
a.chip-static:hover { border-color: var(--green); color: var(--text); }
.tags a:hover { color: var(--mint); }
.legal .article__toc { justify-self: start; }
.footer__title a { font-size: inherit; color: inherit; }
.footer__title a:hover { color: var(--text); }
.footer__col, .footer__col:nth-of-type(2), .footer__col:nth-of-type(3) { grid-column: span 3; }
.footer__col:last-child { grid-column: span 2; }
@media (max-width: 1023px) {
  .footer__col, .footer__col:nth-of-type(2), .footer__col:nth-of-type(3), .footer__col:last-child { grid-column: span 4; }
}
@media (max-width: 767px) {
  .footer__col, .footer__col:nth-of-type(2), .footer__col:nth-of-type(3) { grid-column: span 6; }
  .footer__col:last-child { grid-column: 1 / -1; }
}
.cs-grid--more .case-card:first-child .case-card__link { gap: 22px; align-items: start; }
.v-flow .v-label--lg { font-size: 13px; }
.card .label, .card p.label { font-size: var(--fs-label); color: var(--muted); }
.notfound .notfound__code { color: var(--text); margin: 0; max-width: none; }
.comment-notes, .logged-in-as { color: var(--muted); font-size: .9rem; }
.comment-reply-title { font-family: var(--f-display); font-weight: 600; font-size: 1.4rem; letter-spacing: -.02em; }
.nav__mobile { display: none; }
@media (max-width: 1023px) {
  .nav__mobile { display: grid; gap: 18px; justify-items: start; margin-top: 32px; }
  .nav__mail { color: var(--muted); font-size: var(--fs-small); }
}
.step h3 { color: rgba(245, 247, 250, .46); }
html:not(.js-anim) .step h3 { color: var(--text); }
html:not(.js-anim) .step::before { background: var(--green); }
html:not(.js-anim) .process__rail i { transform: none; }
/* Logged-in admin bar */
.admin-bar .site-header { top: var(--wp-admin--admin-bar--height, 32px); }
@media screen and (max-width: 600px) { .admin-bar .site-header { top: 0; } }
@keyframes wire { from { stroke-dashoffset: 26; } to { stroke-dashoffset: -330; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes halo { 0% { opacity: .9; transform: scale(.86); } 100% { opacity: 0; transform: scale(1.25); } }

/* ==========================================================================
   32. Homepage refinement — light sections, editorial components
   ========================================================================== */
:root {
  --paper: #f3f3ef;
  --paper-2: #e8e9e3;
  --paper-ink: #0c0f0d;
  --paper-muted: #59605b;
  --paper-line: rgba(12, 15, 13, .1);
  --paper-line-2: rgba(12, 15, 13, .18);
  --deep: #0752c4;
  --grad-paper: linear-gradient(100deg, #063f99 0%, #0a5bd8 55%, #0752c4 100%);
}

/* ---- Light "paper" sections ---- */
.paper-wrap { position: relative; z-index: 1; padding-inline: clamp(8px, 1.1vw, 16px); }
.paper {
  position: relative; background-color: var(--paper); color: var(--paper-ink);
  border-radius: 32px; transform-origin: 50% 0; overflow: hidden;
  background-image:
    linear-gradient(to right, rgba(12, 15, 13, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(12, 15, 13, .045) 1px, transparent 1px);
  background-size: 88px 88px; background-position: center top;
}
.paper .label { color: var(--paper-muted); }
.paper .label .idx { color: var(--deep); }
.paper .label .dot { background: var(--deep); box-shadow: 0 0 0 4px rgba(7, 82, 196, .14); }
.paper .h1 em, .paper .h2 em, .paper .h3 em, .paper .display em { background: var(--grad-paper); -webkit-background-clip: text; background-clip: text; color: transparent; }
.paper .lead { color: var(--paper-muted); }
.paper .lead strong { color: var(--paper-ink); }
.paper .tags li { border-color: var(--paper-line-2); color: var(--paper-muted); }
.paper .btn { --bg: var(--paper-ink); --fg: var(--paper); }
.paper .btn .arrow { background: var(--paper); color: var(--paper-ink); }
.paper .btn--ghost { --bg: transparent; --fg: var(--paper-ink); box-shadow: inset 0 0 0 1px var(--paper-line-2); }
.paper .btn--ghost .arrow { background: var(--paper-ink); color: var(--paper); }
.paper .carousel-btn { box-shadow: inset 0 0 0 1px var(--paper-line-2); color: var(--paper-ink); }
.paper .carousel-btn:hover { background: var(--paper-ink); color: var(--paper); }
.paper ::selection { background: var(--paper-ink); color: var(--paper); }

/* Line illustrations on paper */
.paper .visual { background: transparent; border-color: var(--paper-line); }
.paper .v-panel { fill: rgba(12, 15, 13, .025); stroke: rgba(12, 15, 13, .24); }
.paper .v-panel2 { fill: rgba(12, 15, 13, .02); stroke: rgba(12, 15, 13, .13); }
.paper .v-line { stroke: rgba(12, 15, 13, .38); }
.paper .v-wire { stroke: rgba(12, 15, 13, .22); }
.paper .v-accent { stroke: #1f6fe0; }
.paper .v-accent.pulse { filter: none; }
.paper .v-fill { fill: #0a5bd8; }
.paper .v-dim { fill: rgba(12, 15, 13, .18); }
.paper .v-text { fill: var(--paper-ink); }
.paper .v-soft, .paper .v-area { fill: rgba(10, 91, 216, .12); }
.paper .v-done { fill: rgba(10, 91, 216, .1); stroke: #1f6fe0; }
.paper .v-label { fill: rgba(12, 15, 13, .62); }
.visual--bare { background: none !important; border: 0; padding: 0; aspect-ratio: auto; overflow: visible; }
.visual--bare .visual__grid { display: none; }

/* Header over light sections */
.site-header.on-light { color: var(--paper-ink); }
.site-header.on-light::before { background: rgba(243, 243, 239, .8); border-color: var(--paper-line); }
.site-header.on-light .brand__img { filter: invert(1) hue-rotate(180deg) saturate(1.35); }
.site-header.on-light .nav .menu > li > a { color: rgba(12, 15, 13, .72); }
.site-header.on-light .nav .menu > li > a:hover,
.site-header.on-light .nav .menu > li.current-menu-item > a { color: var(--paper-ink); background: rgba(12, 15, 13, .05); }
.site-header.on-light .submenu-toggle { color: var(--paper-muted); }
.site-header.on-light .header-actions .btn { --bg: var(--paper-ink); --fg: var(--paper); }
.site-header.on-light .header-actions .btn .arrow { background: var(--paper); color: var(--paper-ink); }
.site-header.on-light .menu-toggle { box-shadow: inset 0 0 0 1px var(--paper-line-2); }
.site-header.on-light .menu-toggle span { background: var(--paper-ink); }
.site-header .brand__img { transition: filter .4s; }
.nav .sub-menu { color: var(--text); }

/* ---- Hero ---- */

/* ---- Services (paper) ---- */
.also { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; margin-top: clamp(56px, 7vw, 96px); }
.also__label { grid-column: 1 / span 3; font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: .14em; text-transform: uppercase; color: var(--paper-muted); padding-top: 22px; }
.also__list { grid-column: 4 / -1; border-top: 1px solid var(--paper-line-2); }
.also__list a { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) 32px; gap: 24px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--paper-line-2); transition: padding .45s var(--ease); }
.also__list a:hover { padding-left: 10px; }
.also__list strong { font-family: var(--f-display); font-weight: 600; font-size: 1.15rem; letter-spacing: -.02em; }
.also__list span { color: var(--paper-muted); font-size: var(--fs-small); }
.also__list .icon { width: 18px; height: 18px; color: var(--deep); transition: transform .45s var(--ease); }
.also__list a:hover .icon { transform: rotate(45deg); }

/* ---- Product engineering spec sheet ---- */
.spec__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.spec__aside { grid-column: 1 / span 5; position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
.spec__aside .label { margin-bottom: 24px; }
.spec__aside .h2 { margin-bottom: clamp(32px, 4vw, 48px); }
.spec__list { grid-column: 7 / span 6; border-top: 1px solid var(--line-2); }
.spec__item { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: clamp(22px, 2.6vw, 32px) 0; border-bottom: 1px solid var(--line-2); outline: none; }
.spec__item::before { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.spec__item.is-active::before, .spec__item:hover::before, .spec__item:focus-visible::before { transform: scaleX(1); }
.spec__num { font-family: var(--f-mono); font-size: var(--fs-label); color: var(--dim); padding-top: 6px; transition: color .3s; }
.spec__title { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.2rem, 1.7vw, 1.5rem); letter-spacing: -.025em; margin-bottom: 6px; color: rgba(245, 247, 250, .78); transition: color .3s; }
.spec__item p { color: var(--muted); font-size: var(--fs-small); max-width: 52ch; }
.spec__item.is-active .spec__num, .spec__item:hover .spec__num, .spec__item:focus-visible .spec__num { color: var(--green-2); }
.spec__item.is-active .spec__title, .spec__item:hover .spec__title, .spec__item:focus-visible .spec__title { color: var(--text); }
.arch { padding: clamp(18px, 2vw, 26px); border-radius: 20px; border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(245, 247, 250, .03), rgba(245, 247, 250, .005)); }
.arch__cap { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 16px; }
.arch__row { display: flex; gap: 8px; }
.arch__row span { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 8px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(7, 9, 12, .6); font-family: var(--f-mono); font-size: .72rem; letter-spacing: .03em; text-align: center; color: var(--muted); transition: color .4s, border-color .4s, background-color .4s; }
.arch__row span .icon { width: 14px; height: 14px; }
.arch__row.is-on span { color: var(--mint); border-color: rgba(8, 102, 245, .6); background-color: rgba(8, 102, 245, .08); }
.arch__link { height: 18px; width: 1px; margin: 0 auto; background: var(--line-3); }

/* ---- Selected work: pinned horizontal showcase ---- */
.showcase { position: relative; padding-block: var(--section); overflow: hidden; }
.showcase__head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: clamp(36px, 4vw, 56px); }
.showcase__head .label { margin-bottom: 22px; }
.showcase__meta { display: grid; gap: 20px; justify-items: end; max-width: 380px; text-align: right; }
.showcase__meta p { color: var(--muted); font-size: var(--fs-small); }
.showcase__progress { display: flex; align-items: center; gap: 14px; font-family: var(--f-mono); font-size: var(--fs-label); color: var(--muted); letter-spacing: .1em; }
.showcase__progress i { position: relative; width: 120px; height: 1px; background: var(--line-3); overflow: hidden; }
.showcase__progress b { position: absolute; inset: 0; background: var(--grad); transform-origin: left; transform: scaleX(.2); }
.showcase__track { display: grid; gap: clamp(56px, 8vw, 96px); padding-inline: var(--gutter); max-width: var(--max); margin-inline: auto; }
.project { --accent: var(--green); }
.project__link { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(24px, 3.4vw, 56px); align-items: end; }
.project__frame { border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); background: #0b1220; box-shadow: 0 50px 100px -50px rgba(0, 0, 0, .9); }
.project__shot { aspect-ratio: 16 / 10; overflow: hidden; }
.project__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 1.2s var(--ease); }
.project__link:hover .project__shot img { transform: scale(1.035); }
.project__info { display: grid; gap: 14px; padding-bottom: 6px; }
.project__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.project__status { display: inline-flex; align-items: center; gap: 8px; color: var(--text); }
.project__status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.project__title { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.5rem, 2.4vw, 2.2rem); letter-spacing: -.035em; line-height: 1.1; transition: color .3s; }
.project__link:hover .project__title { color: var(--mint); }
.project__text { color: var(--muted); font-size: var(--fs-small); }
.project__more { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-display); font-weight: 600; margin-top: 4px; }
.project__more .icon { width: 15px; height: 15px; transition: transform .45s var(--ease); }
.project__link:hover .project__more .icon { transform: translate(3px, -3px); }
.project--end { display: grid; place-items: center; }
.project__all { display: inline-flex; align-items: center; gap: 18px; padding: 18px 18px 18px 28px; border-radius: 999px; border: 1px solid var(--line-3); transition: background-color .4s, color .4s; }
.project__all:hover { background: var(--text); color: var(--ink); }
.project__all-arrow { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: var(--ink); }
.project__all-arrow .icon { width: 18px; height: 18px; }
@media (min-width: 1024px) {
  .js-anim .showcase { padding-block: 0; }
  .js-anim .showcase__pin { height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-top: var(--header-h); }
  .js-anim .showcase__track { display: flex; gap: clamp(32px, 4vw, 64px); width: max-content; max-width: none; margin: 0; }
  .js-anim .project { width: min(1180px, 82vw); flex-shrink: 0; }
  .js-anim .project--end { width: 360px; }
  .js-anim .project__shot { aspect-ratio: auto; height: min(52vh, 560px); }
}

/* ---- Results + timeline (paper) ---- */
.results-home { padding-bottom: calc(var(--section) * .55); }
.results-home__head { margin-bottom: clamp(40px, 5vw, 72px); }
.results-home__head .label { margin-bottom: 22px; }
.figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--paper-line-2); }
.figure + .figure { border-left: 1px solid var(--paper-line-2); }
.figure a { display: grid; gap: 8px; height: 100%; padding: clamp(24px, 2.6vw, 36px) clamp(18px, 2.4vw, 32px) 8px; transition: background-color .5s; }
.figure:first-child a { padding-left: 0; }
.figure a:hover { background-color: rgba(255, 255, 255, .55); }
.figure__value { font-family: var(--f-display); font-weight: 600; font-size: clamp(3.4rem, 7.4vw, 7rem); letter-spacing: -.07em; line-height: .95; background: var(--grad-paper); -webkit-background-clip: text; background-clip: text; color: transparent; }
.figure__label { font-family: var(--f-display); font-weight: 600; font-size: 1.1rem; letter-spacing: -.02em; }
.figure__project { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--paper-line); font-size: .92rem; font-weight: 600; }
.figure__desc { color: var(--paper-muted); font-size: .88rem; }
.steps-home { padding-top: calc(var(--section) * .55); border-top: 1px solid var(--paper-line); }
.steps-home__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
.steps-home__head > div { grid-column: 1 / span 7; }
.steps-home__head .label { margin-bottom: 22px; }
.steps-home__head .lead { grid-column: 9 / span 4; }
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 40px); }
.timeline__rail { position: absolute; left: 0; right: 0; top: 6px; height: 1px; background: var(--paper-line-2); }
.timeline__rail i { position: absolute; inset: 0; background: var(--deep); transform-origin: left; transform: scaleX(0); }
.timeline__step { position: relative; padding-top: 40px; display: grid; gap: 10px; align-content: start; }
.timeline__dot { position: absolute; left: 0; top: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--paper-line-2); transition: background-color .4s, box-shadow .4s; }
.timeline__step.is-active .timeline__dot { background: var(--deep); box-shadow: 0 0 0 6px rgba(7, 82, 196, .14); }
.timeline__num { font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: .14em; color: var(--deep); }
.timeline__title { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.6rem, 2.4vw, 2.2rem); letter-spacing: -.04em; line-height: 1.05; }
.timeline__step p { color: var(--paper-muted); font-size: var(--fs-small); }
.timeline__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.timeline__tags li { font-size: .76rem; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--paper-line-2); color: var(--paper-muted); }
html:not(.js-anim) .timeline__rail i { transform: none; }
html:not(.js-anim) .timeline__dot { background: var(--deep); }

/* ---- Technology table ---- */
.stack-table { border-top: 1px solid var(--line-2); }
.stack-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) 40px; gap: 24px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line-2); transition: padding .45s var(--ease); }
.stack-row:hover { padding-left: 12px; }
.stack-row__name { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.15rem, 1.6vw, 1.4rem); letter-spacing: -.02em; }
.stack-row__tools { color: var(--muted); font-size: var(--fs-small); transition: color .3s; }
.stack-row:hover .stack-row__tools { color: var(--text); }
.stack-row__arrow { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color .4s, color .4s, transform .5s var(--ease); }
.stack-row__arrow .icon { width: 15px; height: 15px; }
.stack-row:hover .stack-row__arrow { background: var(--green); color: var(--ink); transform: rotate(45deg); box-shadow: none; }

/* ---- Testimonials (paper) ---- */
.voices__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: start; }
.voices__side { grid-column: 1 / span 4; display: grid; gap: 22px; justify-items: start; }
.voices__side .h3 { font-size: clamp(1.4rem, 2vw, 1.9rem); }
.voices__nav { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.voices__count { font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: .1em; color: var(--paper-muted); min-width: 64px; text-align: center; }
.voices__stage { grid-column: 6 / span 7; position: relative; }
.voice blockquote { position: relative; font-family: var(--f-display); font-weight: 500; font-size: clamp(1.5rem, 2.7vw, 2.5rem); line-height: 1.22; letter-spacing: -.03em; }
.voice blockquote::before { content: "\201C"; position: absolute; left: -.55em; top: -.12em; font-family: var(--f-serif); font-size: 1.6em; line-height: 1; color: var(--deep); }
.voice figcaption { display: flex; align-items: center; gap: 14px; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--paper-line); }
.voice figcaption span:last-child { display: grid; color: var(--paper-muted); font-size: .9rem; }
.voice figcaption strong { color: var(--paper-ink); font-family: var(--f-display); font-weight: 600; font-size: 1rem; }
.voice__avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-ink); color: var(--paper); font-family: var(--f-display); font-weight: 700; font-size: .85rem; }
.voice.is-entering { animation: voice-in .7s var(--ease) both; }
@keyframes voice-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Calmer details elsewhere */
.video__ring--2 { animation: none; }

/* ---- Responsive ---- */
@media (max-width: 1023px) {
  .also__label, .also__list { grid-column: 1 / -1; }
  .also__label { padding-top: 0; }
  .spec__aside, .spec__list { grid-column: 1 / -1; }
  .spec__aside { position: relative; top: 0; margin-bottom: 24px; }
  .showcase__head { flex-direction: column; align-items: start; }
  .showcase__meta { justify-items: start; text-align: left; }
  .showcase__progress { display: none; }
  .project__link { grid-template-columns: 1fr; }
  .project--end { justify-items: start; }
  .figures { grid-template-columns: 1fr; }
  .figure + .figure { border-left: 0; border-top: 1px solid var(--paper-line-2); }
  .figure a { padding-left: 0; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .timeline__rail { display: none; }
  .voices__side, .voices__stage { grid-column: 1 / -1; }
  .voices__stage { margin-top: 20px; padding-left: 28px; }
}
@media (max-width: 767px) {
  .paper { border-radius: 22px; }
  .also__list a { grid-template-columns: 1fr 24px; }
  .also__list span { grid-column: 1; grid-row: 2; }
  .also__list .icon { grid-column: 2; grid-row: 1 / span 2; }
  .timeline { grid-template-columns: 1fr; }
  .stack-row { grid-template-columns: 1fr 32px; gap: 6px 16px; }
  .stack-row__tools { grid-column: 1; grid-row: 2; }
  .stack-row__arrow { grid-column: 2; grid-row: 1 / span 2; }
  .spec__item { grid-template-columns: 40px 1fr; }
}

/* ==========================================================================
   33. Plum identity — background, type, buttons, header, hero, services, CTA
   ========================================================================== */
:root {
  --paper: #f5f1f8;
  --paper-2: #ece5f2;
  --paper-ink: #160f1d;
  --paper-muted: #5e5368;
  --paper-line: rgba(22, 15, 29, .1);
  --paper-line-2: rgba(22, 15, 29, .17);
  --deep: #0752c4;
  --grad-paper: linear-gradient(100deg, #063f99 0%, #0a5bd8 55%, #0752c4 100%);
  --violet: #0866f5;
  --lavender: #7cb8ff;
}
body { background: var(--ink); }

/* ---- One consistent background: plum-black, quiet atmosphere, fine grain (no grid) ---- */
.site-bg::before {
  background-image:
    radial-gradient(ellipse 70% 45% at 50% -8%, rgba(8, 102, 245, .13), transparent 70%),
    radial-gradient(ellipse 50% 40% at 100% 40%, rgba(7, 82, 196, .05), transparent 70%),
    radial-gradient(ellipse 50% 40% at 0% 75%, rgba(7, 82, 196, .04), transparent 70%);
  background-size: auto; mask-image: none; -webkit-mask-image: none;
}
.site-bg::after { opacity: .06; }

/* ---- Typography: thin serif headlines, clean sans UI ---- */
.display, .h1, .h2 { font-family: var(--f-serif); font-weight: 300; letter-spacing: -.012em; line-height: 1.02; }
.display { font-size: clamp(3rem, 7vw, 6.6rem); }
.h1 { font-size: clamp(2.8rem, 6vw, 5.6rem); }
.h2 { font-size: clamp(2.4rem, 4.8vw, 4.4rem); line-height: 1.04; }
.display em, .h1 em, .h2 em, .h3 em, .grad {
  font-family: var(--f-serif); font-style: italic; font-weight: 300; letter-spacing: -.005em;
  background: linear-gradient(100deg, #f5f7fa 0%, #cfe3ff 40%, #258bff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em;
}
.h3 { letter-spacing: -.02em; }
.label { font-family: var(--f-body); font-size: .72rem; font-weight: 500; letter-spacing: .16em; }
.label .idx { color: var(--lavender); font-family: var(--f-mono); }
.label .dot { background: var(--violet); box-shadow: 0 0 0 4px rgba(8, 102, 245, .16); }
.lead { color: var(--muted); }

/* ---- Buttons: restrained, rectangular-rounded ---- */
.btn { border-radius: 12px; min-height: 50px; padding: 0 18px 0 22px; font-family: var(--f-body); font-weight: 500; font-size: .94rem; letter-spacing: 0; --bg: #f5f7fa; --fg: #160f1d; box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 10px 30px -12px rgba(124, 184, 255, .35); }
.btn::before { background: linear-gradient(100deg, #cfe3ff, #258bff); }
.btn:hover { color: #160f1d; }
.btn .arrow { width: 26px; height: 26px; border-radius: 8px; margin-right: -6px; background: #160f1d; color: #f5f7fa; }
.btn--ghost { --bg: rgba(15, 24, 40, .7); --fg: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--ghost::before { background: #131f33; }
.btn--ghost:hover { color: var(--text); }
.btn--ghost .arrow { background: rgba(245, 247, 250, .08); color: var(--text); }
.btn--small { min-height: 42px; padding: 0 14px 0 18px; font-size: .88rem; }
.btn--small .arrow { width: 22px; height: 22px; border-radius: 6px; }

/* ---- Header: logo · centred navigation · CTA ---- */
.site-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; }
.site-header .header-actions { justify-self: end; }
.site-header::before { background: rgba(7, 9, 12, .72); border-bottom-color: rgba(32, 43, 59, .7); }
.nav .menu > li > a { font-family: var(--f-body); font-size: .9rem; font-weight: 500; color: rgba(245, 247, 250, .74); }
.nav .menu > li > a:hover { color: var(--text); }
.nav .sub-menu { background: rgba(11, 18, 32, .97); border-color: var(--line-2); }
.nav .sub-menu a { font-family: var(--f-body); font-weight: 500; }
.nav .sub-menu a:hover, .nav .sub-menu a:focus-visible { background: rgba(8, 102, 245, .08); }
.progress { background: linear-gradient(90deg, #0866f5, #7cb8ff); }
@media (max-width: 1023px) { .site-header__inner { display: flex; } }

/* ---- Hero ---- */
  background: radial-gradient(ellipse 38% 26% at 50% 70%, rgba(8, 102, 245, .26), transparent 72%), radial-gradient(ellipse 60% 38% at 50% 0%, rgba(124, 184, 255, .06), transparent 70%); }
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(11, 18, 32, .7);
  font-size: .8rem; font-weight: 500; color: rgba(245, 247, 250, .86); margin-bottom: clamp(28px, 4vh, 40px);
}

  background: linear-gradient(180deg, rgba(15, 24, 40, .9), rgba(7, 9, 12, .6) 70%); padding: 10px; isolation: isolate; }
  background: linear-gradient(180deg, rgba(124, 184, 255, .35), rgba(32, 43, 59, 0) 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }

/* ---- Client strip ---- */
.clients { border-color: rgba(32, 43, 59, .7); background: rgba(11, 18, 32, .45); }
.clients__item { display: flex; align-items: center; gap: clamp(40px, 6vw, 88px); }
.clients__track { gap: 0; padding-right: 0; }
.clients__item { padding-right: clamp(40px, 6vw, 88px); }
.clients__item::after { content: "✦"; font-size: 10px; color: rgba(124, 184, 255, .45); }
.clients__item img { opacity: .55; }
.clients__label { font-family: var(--f-body); letter-spacing: .16em; font-weight: 500; }

/* ---- Services: stacked editorial panels ---- */
.services-x__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
.services-x__head .label { grid-column: 1 / -1; margin: 0; }
.services-x__head .h2 { grid-column: 1 / span 7; }
.services-x__head .lead { grid-column: 9 / span 4; }
.panels { display: grid; gap: clamp(20px, 2.4vw, 32px); }
.panel { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: clamp(28px, 4.5vw, 72px); align-items: center;
  padding: clamp(28px, 4.4vw, 64px); border-radius: 28px; border: 1px solid var(--line-2); overflow: hidden; transform-origin: 50% 0; }
.panel--saas { background: radial-gradient(ellipse 60% 70% at 100% 0%, rgba(8, 102, 245, .16), transparent 70%), linear-gradient(180deg, #0f1828, #0b1220); }
.panel--web { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); background: var(--paper); color: var(--paper-ink); border-color: transparent; }
.panel--auto { background: radial-gradient(ellipse 70% 80% at 0% 100%, rgba(7, 82, 196, .22), transparent 70%), linear-gradient(160deg, #1a1123, #0f0916); }
.panel__num { display: flex; align-items: center; gap: 12px; font-family: var(--f-mono); font-size: .74rem; letter-spacing: .14em; color: var(--lavender); margin-bottom: 22px; }
.panel__num span { font-family: var(--f-body); font-weight: 500; text-transform: uppercase; color: var(--muted); letter-spacing: .16em; }
.panel__title { font-family: var(--f-serif); font-weight: 300; font-size: clamp(2.2rem, 3.6vw, 3.4rem); line-height: 1.04; letter-spacing: -.01em; margin-bottom: 18px; }
.panel__lead { color: var(--muted); max-width: 48ch; margin-bottom: 26px; }
.panel-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; margin-bottom: 32px; border-top: 1px solid var(--line-2); }
.panel-list li { display: grid; gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.panel-list strong { font-weight: 600; font-size: .95rem; }
.panel-list span { color: var(--muted); font-size: .84rem; line-height: 1.5; }
.panel__media { margin: 0; position: relative; }
.panel__media figcaption { margin-top: 14px; font-size: .78rem; letter-spacing: .06em; color: var(--muted); }
.panel__frame { border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); background: #0b1220; box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(124, 184, 255, .05); transition: transform .8s var(--ease); transform-style: preserve-3d; }
.panel__frame img { width: 100%; height: auto; }
.window__bar { display: flex; align-items: center; gap: 7px; height: 32px; padding: 0 14px; background: #0a111d; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.window__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(245, 247, 250, .16); }
.window__bar span { flex: 1; text-align: center; margin-right: 44px; font-family: var(--f-mono); font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* web panel (light) */
.panel--web .panel__num { color: var(--deep); }
.panel--web .panel__num span, .panel--web .panel__lead, .panel--web .panel-list span, .panel--web figcaption { color: var(--paper-muted); }
.panel--web .panel-list, .panel--web .panel-list li { border-color: var(--paper-line-2); }
.panel--web .btn { --bg: var(--paper-ink); --fg: var(--paper); box-shadow: none; }
.panel--web .btn:hover { color: var(--paper-ink); }
.panel--web .btn .arrow { background: var(--paper); color: var(--paper-ink); }
.panel__media--collage { aspect-ratio: 1.12; }
.panel__media--collage img { position: absolute; border-radius: 12px; object-fit: cover; object-position: top; box-shadow: 0 30px 60px -28px rgba(22, 15, 29, .55); border: 1px solid rgba(22, 15, 29, .08); transition: transform .9s var(--ease), z-index 0s .3s; }
.collage__a { left: 0; top: 4%; width: 68%; aspect-ratio: 16 / 10; z-index: 2; }
.collage__b { right: 0; top: 30%; width: 62%; aspect-ratio: 16 / 10; z-index: 3; }
.collage__c { left: 12%; bottom: 6%; width: 50%; aspect-ratio: 16 / 10; z-index: 1; }
.panel__media--collage:hover .collage__a { transform: translate(-10px, -8px) rotate(-1.2deg); }
.panel__media--collage:hover .collage__b { transform: translate(10px, 4px) rotate(1deg); }
.panel__media--collage:hover .collage__c { transform: translate(-4px, 12px); }
.panel__media--collage figcaption { position: absolute; left: 0; bottom: -6px; }
/* automation panel */
.panel__media--flow .visual { aspect-ratio: auto; }
.panel__media--flow .v-panel { fill: rgba(11, 18, 32, .9); stroke: rgba(124, 184, 255, .3); transition: stroke .3s, fill .3s; }
.panel__media--flow .v-label { fill: rgba(245, 247, 250, .7); font-size: 10px; }
.panel__media--flow .visual > svg { max-width: 560px; margin-inline: auto; }
.panel__media--flow svg rect.v-panel:hover { stroke: #7cb8ff; fill: rgba(8, 102, 245, .12); }
.flow-legend { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.flow-legend li { padding: 14px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(7, 9, 12, .45); font-size: .82rem; color: var(--muted); line-height: 1.45; transition: border-color .3s; }
.flow-legend li:hover { border-color: rgba(124, 184, 255, .5); }
.flow-legend span { display: block; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--lavender); margin-bottom: 6px; }
.services-x .also { margin-top: clamp(56px, 7vw, 96px); }
.services-x .also__label { color: var(--muted); }
.services-x .also__list { border-color: var(--line-2); }
.services-x .also__list a { border-color: var(--line-2); }
.services-x .also__list strong { font-family: var(--f-serif); font-weight: 400; font-size: 1.5rem; letter-spacing: 0; }
.services-x .also__list span { color: var(--muted); }
.services-x .also__list .icon { color: var(--lavender); }
@media (min-width: 1024px) {
  .js-anim .panel { position: sticky; top: calc(var(--header-h) + 24px); min-height: min(640px, calc(100vh - var(--header-h) - 48px)); }
}

/* ---- Light sections: lavender paper, no grid ---- */
.paper { background-color: var(--paper); background-image: radial-gradient(ellipse 60% 50% at 100% 0%, rgba(124, 184, 255, .35), transparent 70%); background-size: auto; }
.paper .label { color: var(--paper-muted); }
.figure__value { font-family: var(--f-serif); font-weight: 300; letter-spacing: -.03em; }
.timeline__title, .project__title, .spec__title { font-family: var(--f-serif); font-weight: 400; letter-spacing: -.01em; }
.timeline__title { font-size: clamp(1.9rem, 2.8vw, 2.6rem); }
.project__title { font-size: clamp(1.9rem, 2.8vw, 2.6rem); line-height: 1.05; }
.spec__title { font-size: clamp(1.45rem, 2vw, 1.8rem); }
.voice blockquote { font-family: var(--f-serif); font-weight: 400; font-size: clamp(1.8rem, 3.2vw, 3rem); letter-spacing: -.01em; line-height: 1.15; }
.ind-row__name, .stack-row__name { font-family: var(--f-serif); font-weight: 400; letter-spacing: 0; }
.ind-row__name { font-size: clamp(1.7rem, 2.8vw, 2.5rem); }
.stack-row__name { font-size: clamp(1.4rem, 1.9vw, 1.7rem); }
.case-card__title, .tile__title, .matrix__title { font-family: var(--f-serif); font-weight: 400; letter-spacing: 0; }

/* ---- Closing CTA with enquiry form ---- */
.cta { position: relative; overflow: hidden; padding-block: clamp(96px, 12vw, 180px); border-top: 1px solid rgba(32, 43, 59, .7); }
.cta__atmos { position: absolute; left: 50%; top: 10%; width: 90vw; height: 80%; max-width: 1400px; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(ellipse 40% 40% at 25% 40%, rgba(8, 102, 245, .16), transparent 70%); }
.cta__grid { position: relative; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.cta__intro .label { margin-bottom: 26px; }
.cta__title { font-size: clamp(3rem, 6vw, 5.8rem); max-width: 10ch; }
.cta__text { color: var(--muted); font-size: var(--fs-lead); max-width: 40ch; margin-top: 26px; }
.cta__steps { display: grid; gap: 14px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line-2); }
.cta__steps li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; color: var(--muted); font-size: .94rem; }
.cta__steps span { font-family: var(--f-mono); font-size: .74rem; color: var(--lavender); padding-top: 3px; }
.cta__form .form { grid-column: auto; }

/* ---- Forms (shared) ---- */
.form { position: relative; gap: 22px; padding: clamp(24px, 3.2vw, 44px); border-radius: 24px; border: 1px solid var(--line-2);
  background: linear-gradient(180deg, rgba(15, 24, 40, .92), rgba(11, 18, 32, .92)); box-shadow: 0 50px 100px -50px rgba(0, 0, 0, .8); }
.form::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(180deg, rgba(124, 184, 255, .3), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.form__row { gap: 18px 20px; }
.field > label, .field legend { font-family: var(--f-body); font-size: .8rem; font-weight: 500; letter-spacing: .02em; text-transform: none; color: rgba(245, 247, 250, .82); margin-bottom: 8px; }
.field__opt { color: var(--dim); font-weight: 400; }
.field input, .field textarea, .field select {
  padding: 13px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: rgba(7, 9, 12, .55); font-size: .98rem;
  transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.field select { background-position: right 14px center; padding-right: 36px; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--line-3); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: #258bff; box-shadow: 0 0 0 4px rgba(8, 102, 245, .16); background-color: rgba(7, 9, 12, .8); }
.field textarea { min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(165, 175, 189, .55); }
.chip span { border-radius: 10px; border-color: var(--line-2); padding: 9px 14px; font-size: .86rem; background: rgba(7, 9, 12, .4); }
.chip input:checked + span { background: #f5f7fa; color: #160f1d; border-color: #f5f7fa; }
.chip input:checked + span::before { background: var(--violet); }
.consent { font-size: .86rem; }
.consent input { accent-color: var(--violet); }
.consent a { color: var(--lavender); }
.form__note { font-size: .82rem; }
.form__status.is-success { background: rgba(8, 102, 245, .12); color: #cfe3ff; border-color: rgba(8, 102, 245, .35); }

/* ---- Responsive ---- */
@media (max-width: 1023px) {
  .services-x__head .h2, .services-x__head .lead { grid-column: 1 / -1; }
  .panel, .panel--web { grid-template-columns: 1fr; }
  .panel--web .panel__media { order: 2; }
  .cta__grid { grid-template-columns: 1fr; }
  .cta__title { max-width: 14ch; }
}
@media (max-width: 767px) {
  .panel { padding: 24px; border-radius: 22px; }
  .panel-list { grid-template-columns: 1fr; }
  .flow-legend { grid-template-columns: 1fr; }
  .panel__media--collage { aspect-ratio: .95; }
  .collage__a { width: 82%; } .collage__b { width: 76%; top: 34%; } .collage__c { width: 64%; left: 4%; bottom: 8%; }
}
@media (prefers-reduced-motion: reduce) {
}
.display, .h1, .h2, .figure__value, .panel__title, .timeline__title, .project__title, .stack-row__name { font-variant-numeric: lining-nums; }
.consent input { appearance: auto; }

/* ==========================================================================
   34. Reference hero + compact header
   ========================================================================== */
:root { --ink: #07090c; --header-h: 64px; }
body { background: #07090c; }
.site-bg::before { background-image: radial-gradient(ellipse 60% 35% at 50% -5%, rgba(8, 102, 245, .07), transparent 70%); }

/* Header */
.site-header::before { background: rgba(13, 6, 21, .78); border-bottom-color: rgba(32, 43, 59, .55); }
.brand__img { width: clamp(112px, 8.6vw, 128px); }
.nav .menu { gap: clamp(2px, .5vw, 8px); }
.nav .menu > li > a { padding: 8px 10px; font-size: .84rem; font-weight: 500; color: #f5f7fa; letter-spacing: 0; }
.nav .menu > li > a:hover { color: #7cb8ff; background: none; }
.nav .menu > li.current-menu-item > a, .nav .menu > li.current-menu-ancestor > a, .nav .menu > li.current-page-ancestor > a { background: none; color: #7cb8ff; }
@media (min-width: 1024px) {
  .submenu-toggle { width: 14px; margin-left: -8px; color: rgba(245, 247, 250, .45); }
  .submenu-toggle .icon { width: 11px; height: 11px; }
}
.hbtn { display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 20px; border-radius: 7px; font-family: var(--f-body); font-size: .9rem; font-weight: 500; white-space: nowrap; transition: background-color .3s, border-color .3s, color .3s, box-shadow .3s, transform .3s var(--ease); }
.hbtn:hover { transform: translateY(-1px); }
.hbtn--light { background: #f6e9ff; color: #1d0f29; box-shadow: 0 0 0 1px rgba(255, 255, 255, .5) inset, 0 8px 28px -10px rgba(124, 184, 255, .6); }
.hbtn--light:hover { background: #fff; }
.hbtn--dark { background: #23162f; color: #f5f7fa; border: 1px solid #3c2a4c; }
.hbtn--dark:hover { background: #2e1d3e; border-color: #5a3f70; }
.hbtn--header { height: 36px; padding: 0 16px; font-size: .84rem; background: #1d1724; color: #f5f7fa; border: 1px solid #332a3d; }
.hbtn--header:hover { background: #271e31; border-color: #4a3d57; }
.site-header.on-light .hbtn--header { background: var(--paper-ink); color: var(--paper); border-color: transparent; }

/* Hero */
.hero { position: relative; padding: calc(var(--header-h) + clamp(64px, 12vh, 112px)) 0 0; text-align: center; overflow: hidden; background: #07090c; }
.hero__inner { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: center; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 15px 6px 13px; border-radius: 999px; background: #120a1a; border: 1px solid #2e2238; color: #f5f7fa; font-family: var(--f-body); font-size: .8rem; font-weight: 500; margin: 0 0 28px; }
.hero__bolt { width: 13px; height: 13px; color: #fb923c; fill: #fb923c; stroke: #fb923c; }
.hero__title { font-family: var(--f-serif); font-weight: 500; font-size: clamp(2.5rem, 4.4vw, 4.15rem); line-height: 1.12; letter-spacing: -.005em; margin: 0; font-variant-numeric: lining-nums; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.hero__title .line > span {
  display: inline-block;
  background: linear-gradient(90deg, rgba(245, 247, 250, .26) 0%, rgba(245, 247, 250, .82) 26%, #f5f7fa 50%, rgba(245, 247, 250, .82) 74%, rgba(245, 247, 250, .26) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__title em { font-style: normal; background: none; color: inherit; padding: 0; }
.hero__lead { max-width: 46ch; margin: 22px auto 0; font-size: .92rem; line-height: 1.55; letter-spacing: .01em;
  background: linear-gradient(90deg, rgba(165, 175, 189, .35), #b9afc2 30%, #c9c0d1 50%, #b9afc2 70%, rgba(165, 175, 189, .35));
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }

.hero__stage { position: relative; z-index: 2; margin-top: 40px; padding: 0 var(--gutter); perspective: 1600px; }
.hero__glow { position: absolute; left: 50%; top: -30px; width: min(820px, 90vw); height: 170px; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(ellipse 50% 55% at 50% 100%, rgba(150, 40, 200, .85), rgba(110, 30, 160, .35) 45%, transparent 75%); filter: blur(28px); }
.dash-frame { position: relative; width: min(880px, 100%); margin: 0 auto; padding: 22px 22px 0; border-radius: 14px 14px 0 0; background: #1b1620; box-shadow: 0 -1px 0 rgba(255, 255, 255, .04) inset; transform-origin: 50% 0; }
.dash { border: 2px solid #38313f; border-bottom: 0; border-radius: 14px 14px 0 0; background: #141017; padding: 16px 20px 0; font-family: var(--f-body); color: #e9e4ee; text-align: left; overflow: hidden; }
.dash .icon { width: 13px; height: 13px; }
.dash__top { display: flex; align-items: center; gap: 18px; padding: 4px 4px 14px; font-size: 12.5px; }
.dash__brand { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-display); font-weight: 600; font-size: 14px; letter-spacing: -.01em; width: 120px; }
.dash__mark { width: 18px; height: 18px; }
.dash__title { font-weight: 600; flex: 1; }
.dash__search { display: inline-flex; align-items: center; gap: 8px; width: 160px; padding: 6px 10px; border-radius: 6px; background: #1e1922; border: 1px solid #2c2631; color: #8e8598; font-size: 11.5px; }
.dash__bell { position: relative; color: #c9c0d1; }
.dash__bell i { position: absolute; right: -2px; top: -2px; width: 6px; height: 6px; border-radius: 50%; background: #ef4444; }
.dash__user { display: inline-flex; align-items: center; gap: 10px; margin-left: 24px; font-size: 12px; }
.dash__user b { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 9.5px; background: linear-gradient(135deg, #3fa2ff, #0866f5); color: #fff; }
.dash__body { display: grid; grid-template-columns: 132px minmax(0, 1fr) 190px; gap: 14px; padding-bottom: 18px; }
.dash__side { display: grid; gap: 6px; align-content: start; font-size: 11.5px; color: #cfc8d6; }
.dash__nav { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 6px; }
.dash__nav.is-on { background: linear-gradient(90deg, #5b3df5, #0a5bd8); color: #fff; }
.dash__card { border-radius: 10px; border: 1px solid #2a2530; background: #1a161e; padding: 14px; }
.dash__tabs { display: flex; gap: 6px; font-size: 10px; color: #a5afbd; }
.dash__tabs span { padding: 3px 8px; border-radius: 4px; }
.dash__tabs .is-on { background: #231d33; border: 1px solid #3a3260; color: #b9b4ff; }
.dash__h { font-size: 13px; font-weight: 600; margin: 14px 0 10px; color: #f1ecf5; }
.dash__usage .dash__h { margin-top: 2px; margin-bottom: 14px; }
.dash__usage { background: linear-gradient(180deg, #221c29, #1a161e); }
.dash__svg { width: 100%; height: 170px; display: block; overflow: visible; }
.dash__grid path { stroke: rgba(245, 247, 250, .06); stroke-width: 1; vector-effect: non-scaling-stroke; }
.dash__axis text { fill: #6f6679; font-size: 8px; font-family: var(--f-body); }
.dash__line { fill: none; stroke-width: 2.2; stroke-linecap: round; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 6px rgba(8, 102, 245, .6)); }
.dash__pts circle { fill: #f5f7fa; stroke: #0866f5; stroke-width: 2; vector-effect: non-scaling-stroke; }
.dash__pts circle:first-child { fill: #3b3fd0; stroke: #3fa2ff; }
.dash__row { display: grid; grid-template-columns: 1fr auto; gap: 8px 6px; align-items: center; font-size: 11px; color: #d9d2e0; margin-bottom: 16px; }
.dash__row span { display: inline-flex; align-items: center; gap: 8px; }
.dash__row span .icon { width: 20px; height: 20px; padding: 4px; border-radius: 5px; background: #2a2238; color: #c4b5fd; }
.dash__row b { font-weight: 600; font-size: 11.5px; color: #fff; }
.dash__row i { grid-column: 1 / -1; height: 4px; border-radius: 4px; background: #2c2633; position: relative; overflow: hidden; }
.dash__row i::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, #3fa2ff, #0866f5, #7cb8ff); }

/* Hero motion initial states */
.js-anim .dash-frame { opacity: 0; }

@media (max-width: 1023px) {
  .site-header__inner { display: flex; }
  .dash__body { grid-template-columns: minmax(0, 1fr) 180px; }
  .dash__side { display: none; }
}
@media (max-width: 767px) {
  .hero { padding-top: calc(var(--header-h) + 48px); }
  .hero__title { font-size: clamp(2rem, 8.4vw, 2.5rem); }
  .hero__title .line { display: inline; overflow: visible; }
  .hero__title .line > span { display: inline; }
  .hero__title .line::after { content: " "; }
  .hero__eyebrow { font-size: .72rem; }
  .hero__lead { font-size: .88rem; }
  .hbtn { height: 42px; }
  .dash-frame { padding: 10px 10px 0; }
  .dash { padding: 10px 12px 0; }
  .dash__top { gap: 10px; }
  .dash__title, .dash__search, .dash__user { display: none; }
  .dash__bell { margin-left: auto; }
  .dash__body { grid-template-columns: 1fr; }
  .dash__usage { display: none; }
  .dash__svg { height: 130px; }
}

/* ---- Generated illustrations ---- */
.tile { padding-top: 0; }
.tile__img { width: calc(100% + 2 * clamp(24px, 2.6vw, 34px)); max-width: none; margin: 0 calc(-1 * clamp(24px, 2.6vw, 34px)) 6px; aspect-ratio: 16 / 10; object-fit: cover; border-bottom: 1px solid var(--line-2); transition: transform 1s var(--ease); }
.tile { overflow: hidden; }
.tile:hover .tile__img { transform: scale(1.04); }
.page-hero__image { margin: 0; border-radius: 22px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 50px 100px -50px rgba(0, 0, 0, .9); }
.page-hero__image img { width: 100%; height: auto; display: block; }
.ind-preview { position: fixed; left: 0; top: 0; z-index: 60; width: 340px; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.85); border: 1px solid var(--line-3); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9); transition: opacity .35s, transform .5s var(--ease); }
.ind-preview.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.ind-preview img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: none), (max-width: 1023px) { .ind-preview { display: none; } }
.video__poster img { object-fit: cover; }
.hero__glow { top: -150px; height: 230px; width: min(900px, 92vw); z-index: 0; filter: blur(34px);
  background: radial-gradient(ellipse 50% 60% at 50% 100%, rgba(160, 45, 210, .9), rgba(120, 32, 170, .4) 45%, transparent 75%); }
.dash-frame { z-index: 1; }
.site-header .container { max-width: 1720px; }
.hero__glow { top: -170px; height: 210px; width: min(860px, 92vw); filter: blur(26px);
  background: radial-gradient(ellipse 46% 58% at 50% 100%, rgba(170, 50, 220, .95), rgba(125, 35, 175, .5) 42%, rgba(90, 20, 130, .12) 68%, transparent 80%); }
.hero__glow { top: -196px; height: 220px; background: radial-gradient(ellipse 48% 70% at 50% 100%, rgba(175, 55, 225, 1), rgba(130, 38, 180, .55) 40%, rgba(90, 20, 130, .14) 66%, transparent 80%); }
.dash-frame { box-shadow: 0 -1px 0 rgba(124, 184, 255, .18), 0 -30px 80px -40px rgba(170, 50, 220, .6); }

/* ==========================================================================
   35. Black & electric-blue identity (overrides earlier sections)
   ========================================================================== */
:root {
  --ink: #07090c; --ink-2: #0b1220; --ink-3: #0f1828; --ink-4: #131f33;
  --navy: #08152b;
  --text: #f5f7fa; --muted: #a5afbd; --dim: #8b95a5;
  --line: rgba(32, 43, 59, .7); --line-2: #202b3b; --line-3: #2c3a4f;
  --blue: #0866f5; --blue-2: #258bff; --sky: #7cb8ff;
  --green: #0866f5; --green-2: #258bff; --mint: #7cb8ff; --violet: #0866f5; --lavender: #7cb8ff;
  --glow: rgba(8, 102, 245, .2);
  --grad: linear-gradient(100deg, #258bff, #0866f5);
  --grad-soft: linear-gradient(135deg, rgba(8, 102, 245, .16), rgba(8, 21, 43, .2) 60%);
  --f-serif: "Manrope", system-ui, sans-serif;
  --header-h: 72px;
  --paper: #f5f7fa; --paper-2: #e8edf4; --paper-ink: #07090c; --paper-muted: #566173;
  --paper-line: rgba(7, 9, 12, .1); --paper-line-2: rgba(7, 9, 12, .16);
  --deep: #0866f5; --grad-paper: linear-gradient(100deg, #0866f5, #258bff);
}
body { background: var(--ink); }

/* ---- Site-wide atmosphere: near-black, upper-right navy/blue glow, fine grid, grain, vignette ---- */
.site-bg { background: #07090c; }
.site-bg::before {
  background-image:
    radial-gradient(ellipse 42% 38% at 74% 8%, rgba(8, 72, 190, .38), transparent 70%),
    radial-gradient(ellipse 30% 30% at 82% 30%, rgba(8, 102, 245, .32), transparent 72%),
    radial-gradient(ellipse 60% 55% at 85% 15%, rgba(8, 21, 43, .9), transparent 75%),
    linear-gradient(to right, rgba(32, 43, 59, .22) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(32, 43, 59, .22) 1px, transparent 1px);
  background-size: auto, auto, auto, 72px 72px, 72px 72px;
  mask-image: none; -webkit-mask-image: none;
}
.site-bg::after { opacity: .07; }
.site-main::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 120% 90% at 70% 10%, transparent 55%, rgba(0, 0, 0, .55)); }
.section-glow { position: relative; }
.section-glow::before { content: ""; position: absolute; right: -10%; top: -10%; width: 60%; height: 80%; pointer-events: none; z-index: -1;
  background: radial-gradient(ellipse at 70% 30%, rgba(8, 102, 245, .16), transparent 65%); }

/* ---- Typography: bold geometric sans, blue emphasis ---- */
.display, .h1, .h2, .hero__title, .panel__title, .cta__title {
  font-family: var(--f-display); font-weight: 700; letter-spacing: -.035em; line-height: 1.04; font-style: normal;
}
.h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); line-height: 1.08; }
.h1 { font-size: clamp(2.4rem, 4.8vw, 4.4rem); }
.display em, .h1 em, .h2 em, .h3 em, .grad, .hero__title em, .cta__title em {
  font-family: inherit; font-style: normal; font-weight: inherit; letter-spacing: inherit; padding: 0;
  background: linear-gradient(100deg, #258bff, #0866f5 70%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.kicker, .label { font-family: var(--f-body); font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-2); }
.label .idx { display: none; }
.label .dot { background: var(--blue); box-shadow: 0 0 0 4px rgba(8, 102, 245, .2); }
.kicker { display: block; margin-bottom: 14px; }
.lead, .muted { color: var(--muted); }
.figure__value, .timeline__title, .project__title, .spec__title, .ind-row__name, .stack-row__name, .case-card__title, .tile__title, .matrix__title, .voice blockquote {
  font-family: var(--f-display); font-weight: 600; letter-spacing: -.025em; font-style: normal;
}
.voice blockquote { font-size: clamp(1.3rem, 2.2vw, 1.9rem); font-weight: 500; line-height: 1.35; }

/* ---- Buttons ---- */
.btn { --bg: var(--blue); --fg: #fff; border-radius: 999px; min-height: 48px; padding: 0 20px 0 24px; font-family: var(--f-body); font-weight: 600; font-size: .92rem;
  box-shadow: 0 10px 30px -10px rgba(8, 102, 245, .8), inset 0 1px 0 rgba(255, 255, 255, .2); }
.btn::before { background: linear-gradient(100deg, #258bff, #0866f5); }
.btn:hover { color: #fff; }
.btn .arrow { width: auto; height: auto; background: none; color: currentColor; margin: 0; border-radius: 0; }
.btn .arrow .icon { width: 16px; height: 16px; }
.btn:hover .arrow { transform: translateX(3px); }
.btn--ghost { --bg: rgba(11, 18, 32, .6); --fg: var(--text); box-shadow: inset 0 0 0 1px var(--line-3); }
.btn--ghost::before { background: rgba(8, 102, 245, .14); }
.btn--ghost:hover { color: var(--text); }
.paper .btn { --bg: var(--blue); --fg: #fff; }

/* ---- Header ---- */
.site-header::before { background: rgba(7, 9, 12, .72); border-bottom-color: rgba(32, 43, 59, .6); }
.nav .menu > li > a { font-size: .86rem; color: rgba(245, 247, 250, .82); }
.nav .menu > li > a:hover, .nav .menu > li.current-menu-item > a, .nav .menu > li.current-menu-ancestor > a, .nav .menu > li.current-page-ancestor > a { color: #fff; }
.nav .sub-menu { background: rgba(8, 14, 26, .97); border-color: var(--line-2); }
.nav .sub-menu a:hover, .nav .sub-menu a:focus-visible { background: rgba(8, 102, 245, .1); }
.hbtn--header { gap: 8px; height: 40px; padding: 0 18px; border-radius: 999px; background: var(--blue); border: 0; color: #fff; font-weight: 600; box-shadow: 0 8px 24px -8px rgba(8, 102, 245, .9); }
.hbtn--header .icon { width: 15px; height: 15px; }
.hbtn--header:hover { background: var(--blue-2); }
.progress { background: linear-gradient(90deg, #0866f5, #7cb8ff); }

/* ---- Hero ---- */
.hero { text-align: left; background: none; padding: calc(var(--header-h) + clamp(48px, 9vh, 96px)) 0 clamp(56px, 8vh, 96px); min-height: min(100svh, 920px); display: flex; align-items: center; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 4vw, 64px); align-items: center; width: 100%; }
.hero__copy { position: relative; z-index: 2; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 26px; padding: 5px 14px 5px 5px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(11, 18, 32, .7); font-family: var(--f-body); font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(245, 247, 250, .86); }
.hero__chip { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); }
.hero__chip svg { width: 15px; height: 15px; }
.hero__title { font-size: clamp(2.6rem, 5.2vw, 4.9rem); line-height: 1.02; letter-spacing: -.04em; text-transform: uppercase; margin: 0; }
.hero__title .line > span { background: none; color: #fff; -webkit-background-clip: border-box; background-clip: border-box; }
.hero__lead { margin: 24px 0 0; max-width: 48ch; text-align: left; font-size: clamp(1rem, 1.2vw, 1.12rem); line-height: 1.6; color: var(--muted); background: none; -webkit-background-clip: border-box; background-clip: border-box; }
.hero__actions { justify-content: flex-start; margin-top: 34px; }
.hero__stats { display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 56px); margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line-2); }
.hero__stats div { display: flex; flex-direction: column; gap: 4px; }
.hero__stats dd { order: -1; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.7rem, 2.4vw, 2.2rem); letter-spacing: -.04em; line-height: 1; }
.hero__stats dt { color: var(--muted); font-size: .84rem; }
.hero__art { position: relative; aspect-ratio: 1; width: 100%; max-width: 600px; justify-self: end; }
.glass { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 30px 80px rgba(8, 102, 245, .45)); }
.glass__grid path { stroke: rgba(124, 184, 255, .07); stroke-width: 1; }
.glass__notes path { fill: none; stroke: rgba(124, 184, 255, .45); stroke-width: 1; }
.glass__notes circle { fill: #258bff; }
.glass__core { animation: corepulse 5s ease-in-out infinite; transform-origin: 332px 318px; }
@keyframes corepulse { 50% { opacity: .6; transform: scale(.9); } }
.glass__label { position: absolute; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(245, 247, 250, .75); }
.glass__label--1 { left: 13%; top: 3%; } .glass__label--2 { right: 3%; top: 3%; } .glass__label--3 { left: 4%; top: 70%; } .glass__label--4 { right: 0; top: 66%; }
.hero__aside { position: absolute; right: 0; bottom: -2%; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); display: grid; gap: 10px; justify-items: end; max-width: 12ch; text-align: right; }
.hero__aside span { width: 54px; height: 1px; background: linear-gradient(90deg, transparent, #258bff); }
.js-anim .hero__art { opacity: 0; }

/* ---- Client strip ---- */
.clients { background: rgba(7, 9, 12, .6); border-color: var(--line-2); }
.clients__label { color: var(--dim); }
.clients__item::after { content: ""; width: 1px; height: 22px; background: var(--line-3); }
.clients__item img { opacity: .7; filter: grayscale(1) brightness(1.4); transition: opacity .3s, filter .3s; }
.clients__item img:hover { opacity: 1; filter: none; }

/* ---- Shared split heading ---- */
.svc__head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 32px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.svc__aside { display: grid; gap: 18px; justify-items: start; }
.svc__aside p { color: var(--muted); max-width: 42ch; }
.text-link { color: var(--blue-2); font-family: var(--f-body); font-weight: 600; font-size: .92rem; }

/* ---- Services ---- */
.svc__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.svc-card { position: relative; display: flex; flex-direction: column; border-radius: 18px; border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(15, 24, 40, .85), rgba(8, 12, 20, .9)); overflow: hidden; transition: border-color .4s, transform .5s var(--ease), box-shadow .5s; }
.svc-card:hover { border-color: rgba(37, 139, 255, .55); transform: translateY(-6px); box-shadow: 0 30px 70px -30px rgba(8, 102, 245, .55); }
.svc-card__media { aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1px solid var(--line-2); }
.svc-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.svc-card:hover .svc-card__media img { transform: scale(1.06); }
.svc-card__body { display: flex; flex-direction: column; gap: 12px; padding: 24px; flex: 1; }
.svc-card__top { display: flex; justify-content: space-between; align-items: center; }
.svc-card__icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(8, 102, 245, .14); border: 1px solid rgba(37, 139, 255, .35); color: var(--blue-2); }
.svc-card__icon .icon { width: 19px; height: 19px; }
.svc-card__num { font-family: var(--f-mono); font-size: .74rem; color: var(--dim); }
.svc-card__title { font-family: var(--f-display); font-weight: 700; font-size: 1.35rem; letter-spacing: -.02em; }
.svc-card__outcome { color: var(--muted); font-size: .94rem; }
.svc-card__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.svc-card__tags li { font-size: .74rem; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); }
.svc-card__more { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 8px; color: var(--blue-2); font-weight: 600; font-size: .9rem; }
.svc-card__more .icon { width: 15px; height: 15px; transition: transform .4s var(--ease); }
.svc-card:hover .svc-card__more .icon { transform: translateX(4px); }
.svc__support { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.svc-mini { display: grid; grid-template-columns: 44px 1fr 18px; gap: 14px; align-items: center; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--line-2); background: rgba(11, 18, 32, .6); transition: border-color .3s, background .3s; }
.svc-mini:hover { border-color: rgba(37, 139, 255, .5); background: rgba(8, 102, 245, .07); }
.svc-mini__icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-3); color: var(--blue-2); }
.svc-mini__icon .icon { width: 18px; height: 18px; }
.svc-mini span:nth-child(2) { display: grid; gap: 2px; font-size: .84rem; color: var(--muted); }
.svc-mini strong { color: var(--text); font-size: .98rem; }
.svc-mini > .icon { width: 16px; height: 16px; color: var(--blue-2); }

/* ---- Product engineering ---- */
.arch { background: rgba(11, 18, 32, .7); border-color: var(--line-2); }
.arch__row span { background: rgba(7, 9, 12, .7); border-color: var(--line-2); }
.arch__row.is-on span { color: #fff; border-color: #258bff; background-color: rgba(8, 102, 245, .18); box-shadow: 0 0 24px -6px rgba(8, 102, 245, .8); }
.spec__item::before { background: linear-gradient(90deg, #0866f5, #7cb8ff); }
.spec__title { font-size: clamp(1.15rem, 1.6vw, 1.4rem); }

/* ---- Work showcase ---- */
.project__frame { border-color: var(--line-2); background: #0b1220; }
.project__title { font-size: clamp(1.6rem, 2.4vw, 2.2rem); }
.project__status::before { background: var(--blue-2); }

/* ---- Automation ---- */
.workflow { background: linear-gradient(180deg, rgba(15, 24, 40, .9), rgba(8, 12, 20, .9)); border-color: var(--line-2); box-shadow: 0 40px 100px -40px rgba(8, 102, 245, .45); }
.wf-step.is-running { border-color: #258bff; background: rgba(8, 102, 245, .1); }

/* ---- Process ---- */
.line-steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 36px); }
.line-steps__rail { position: absolute; left: 22px; right: 22px; top: 22px; height: 1px; border-top: 1px dashed var(--line-3); }
.line-steps__rail i { position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: linear-gradient(90deg, #0866f5, #7cb8ff); transform-origin: left; transform: scaleX(0); }
.line-steps__item { position: relative; display: grid; gap: 8px; align-content: start; }
.line-steps__node { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #0b1220; border: 1px solid var(--line-3); color: var(--muted); margin-bottom: 14px; transition: background .4s, color .4s, border-color .4s, box-shadow .4s; position: relative; z-index: 1; }
.line-steps__node .icon { width: 19px; height: 19px; }
.line-steps__item.is-active .line-steps__node { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 0 0 6px rgba(8, 102, 245, .18), 0 0 30px rgba(8, 102, 245, .6); }
.line-steps__num { font-family: var(--f-mono); font-size: .74rem; color: var(--blue-2); }
.line-steps__title { font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; letter-spacing: -.02em; }
.line-steps__item p { color: var(--muted); font-size: .9rem; }
html:not(.js-anim) .line-steps__rail i { transform: none; }
html:not(.js-anim) .line-steps__node { background: var(--blue); color: #fff; border-color: var(--blue); }

/* ---- Technology stack ---- */
.stack-x__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.stack-x__chips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.stack-x__chips a { display: flex; align-items: center; gap: 10px; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(11, 18, 32, .65); font-size: .86rem; font-weight: 500; transition: border-color .3s, background .3s, transform .3s var(--ease); }
.stack-x__chips a:hover { border-color: rgba(37, 139, 255, .55); background: rgba(8, 102, 245, .08); transform: translateY(-2px); }
.stack-x__chips .icon { width: 17px; height: 17px; color: var(--blue-2); flex-shrink: 0; }

/* ---- Results (the one light band) ---- */
.paper { background-color: var(--paper); background-image: radial-gradient(ellipse 50% 60% at 100% 0%, rgba(37, 139, 255, .16), transparent 70%); }
.figure__value { font-weight: 700; background: linear-gradient(100deg, #0866f5, #258bff); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---- Testimonials (dark) ---- */
.voices { border-top: 1px solid var(--line); }
.voices .voices__side .h3 { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.6rem, 2.6vw, 2.3rem); letter-spacing: -.03em; }
.voices .voices__stage { padding: clamp(24px, 3vw, 40px); border-radius: 20px; border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(15, 24, 40, .85), rgba(8, 12, 20, .85)); }
.voices .voice blockquote::before { color: var(--blue-2); font-family: Georgia, serif; left: -.1em; top: -.6em; position: relative; display: block; height: .6em; }
.voices .voice figcaption { border-color: var(--line-2); }
.voices .voice figcaption span:last-child { color: var(--muted); }
.voices .voice figcaption strong { color: var(--text); }
.voices .voice__avatar { background: var(--blue); color: #fff; }
.voices .voices__count { color: var(--muted); }
.voices .carousel-btn { box-shadow: inset 0 0 0 1px var(--line-3); color: var(--text); }

/* ---- FAQ ---- */
.faq-item { border-color: var(--line-2); }
.faq-item__icon { box-shadow: inset 0 0 0 1px var(--line-3); }
.faq-item.is-open .faq-item__icon { background: var(--blue); color: #fff; }
.faq-item__q:hover { color: var(--sky); }
.faq__list { border-color: var(--line-2); }

/* ---- Enquiry CTA ---- */
.cta { padding-block: clamp(72px, 9vw, 120px); border-top: 0; }
.cta__grid { padding: clamp(28px, 4vw, 56px); border-radius: 24px; border: 1px solid var(--line-2);
  background: radial-gradient(ellipse 60% 80% at 0% 0%, rgba(8, 102, 245, .2), transparent 60%), linear-gradient(180deg, rgba(11, 18, 32, .92), rgba(7, 10, 16, .92)); align-items: center; }
.cta__atmos { display: none; }
.cta__title { font-size: clamp(2rem, 3.6vw, 3.2rem); max-width: 14ch; }
.cta__steps span { color: var(--blue-2); }
.form { background: rgba(7, 9, 12, .55); border-color: var(--line-2); box-shadow: none; }
.form::before { background: linear-gradient(180deg, rgba(37, 139, 255, .3), transparent 45%); }
.field input, .field textarea, .field select { background: rgba(7, 9, 12, .6); border-color: var(--line-2); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: #258bff; box-shadow: 0 0 0 4px rgba(8, 102, 245, .18); }
.chip input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.chip input:checked + span::before { background: #fff; }
.form .btn { width: auto; }
.form__status.is-success { background: rgba(8, 102, 245, .12); color: #cfe3ff; border-color: rgba(37, 139, 255, .35); }
.consent input { accent-color: var(--blue); }
.consent a { color: var(--sky); }

/* ---- Footer ---- */
.site-footer { background: linear-gradient(180deg, rgba(7, 9, 12, 0), #05070a 40%); border-color: var(--line-2); }
.footer__word img { opacity: .9; }
.footer__col a:hover, .footer__contact a:hover { color: var(--sky); }

/* ---- Inner pages: shared tokens ---- */
.page-hero::before { background: radial-gradient(circle, rgba(8, 102, 245, .2), transparent 60%); }
.card, .tile, .ps__item, .tool, .stack-map__item, .result, .post-card__media, .case-card__media, .cs-cover { border-color: var(--line-2); }
a.card:hover, .tile:hover, .stack-map__item:hover { border-color: rgba(37, 139, 255, .55); }
.card__icon, .tile__icon { color: var(--blue-2); }
.ps__item--accent { border-color: rgba(37, 139, 255, .45); }
.crumbs [aria-current] { color: var(--text); }

/* ---- Responsive ---- */
@media (max-width: 1023px) {
  .hero { min-height: 0; }
  .hero__grid, .svc__head, .stack-x__grid { grid-template-columns: 1fr; }
  .hero__art { max-width: 460px; justify-self: center; margin-top: 12px; }
  .svc__grid, .svc__support { grid-template-columns: 1fr 1fr; }
  .line-steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .line-steps__rail { display: none; }
  .stack-x__chips { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .hero__title { font-size: clamp(2.2rem, 10vw, 2.9rem); }
  .hero__title .line, .hero__title .line > span { display: block; }
  .hero__title .line::after { content: none; }
  .hero__stats { gap: 20px 28px; }
  .svc__grid, .svc__support { grid-template-columns: 1fr; }
  .line-steps { grid-template-columns: 1fr; }
  .stack-x__chips { grid-template-columns: 1fr 1fr; }
  .glass__label { font-size: .58rem; }
  .hero__aside { display: none; }
}
@media (prefers-reduced-motion: reduce) { .glass__core { animation: none; } }
@media (min-width: 768px) { [data-lines] .line > span { white-space: nowrap; } }
.hero__title { font-size: clamp(2.4rem, 3.75vw, 3.9rem); line-height: 1.04; }
.hero__copy { min-width: 0; }
.cta__title { max-width: none; font-size: clamp(2rem, 3.3vw, 3rem); }
.cta__intro { min-width: 0; }
.page-hero [data-lines] .line > span { white-space: normal; }
.page-hero .h1 { max-width: 20ch; font-size: clamp(2.3rem, 4.4vw, 4rem); }

/* ==========================================================================
   36. Serif typography (previous version) + centred hero, blue palette
   ========================================================================== */
:root { --f-serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif; }

/* Headlines: thin elegant serif; accent words italic with an electric-blue gradient */
.display, .h1, .h2, .cta__title, .panel__title {
  font-family: var(--f-serif); font-weight: 400; letter-spacing: -.01em; line-height: 1.04; font-variant-numeric: lining-nums;
}
.h2 { font-size: clamp(2.4rem, 4.4vw, 4rem); }
.h1, .page-hero .h1 { font-size: clamp(2.8rem, 5.4vw, 5rem); }
.display em, .h1 em, .h2 em, .h3 em, .cta__title em, .grad {
  font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.005em; padding-right: .08em;
  background: linear-gradient(100deg, #cfe3ff 0%, #7cb8ff 35%, #258bff 75%, #0866f5 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.paper .h2 em { background: linear-gradient(100deg, #0866f5, #258bff); -webkit-background-clip: text; background-clip: text; }
.figure__value, .timeline__title, .project__title, .spec__title, .ind-row__name, .stack-row__name,
.case-card__title, .tile__title, .matrix__title, .voice blockquote, .svc-card__title, .line-steps__title,
.voices .voices__side .h3 {
  font-family: var(--f-serif); font-weight: 500; letter-spacing: -.005em; font-variant-numeric: lining-nums;
}
.svc-card__title { font-size: 1.75rem; line-height: 1.1; }
.line-steps__title { font-size: 1.6rem; }
.spec__title { font-size: clamp(1.45rem, 2vw, 1.8rem); }
.project__title { font-size: clamp(1.9rem, 2.8vw, 2.6rem); line-height: 1.05; }
.voice blockquote { font-size: clamp(1.6rem, 2.8vw, 2.4rem); font-weight: 400; line-height: 1.2; }
.voices .voices__side .h3 { font-size: clamp(2rem, 3vw, 2.8rem); font-weight: 400; }
.figure__value { font-weight: 400; }
.hero__stats dd { font-family: var(--f-serif); font-weight: 500; }

/* ---- Centred hero ---- */
.hero--center { display: block; text-align: center; min-height: 0; padding: calc(var(--header-h) + clamp(56px, 11vh, 112px)) 0 0; overflow: hidden; }
.hero__beams { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero__beams i { position: absolute; top: -20%; width: 1px; height: 80%; background: linear-gradient(180deg, transparent, rgba(37, 139, 255, .55), transparent); transform: rotate(18deg); opacity: .5; animation: beam 9s ease-in-out infinite; }
.hero__beams i:nth-child(1) { left: 22%; }
.hero__beams i:nth-child(2) { left: 64%; animation-delay: -3s; height: 60%; }
.hero__beams i:nth-child(3) { left: 82%; animation-delay: -6s; }
@keyframes beam { 0%, 100% { opacity: .15; transform: rotate(18deg) translateY(-6%); } 50% { opacity: .6; transform: rotate(18deg) translateY(6%); } }
.hero--center .hero__inner { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: center; }
.hero--center .hero__eyebrow { margin: 0 0 30px; }
.hero--center .hero__title {
  font-family: var(--f-serif); font-weight: 500; text-transform: none; letter-spacing: -.01em;
  font-size: clamp(2.8rem, 5.6vw, 5.4rem); line-height: 1.06; max-width: none; margin: 0 auto;
}
.hero--center .hero__title .line > span {
  display: inline-block;
  background: linear-gradient(90deg, rgba(245, 247, 250, .3) 0%, rgba(245, 247, 250, .85) 22%, #f5f7fa 50%, rgba(245, 247, 250, .85) 78%, rgba(245, 247, 250, .3) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero--center .hero__title em {
  font-style: italic; font-weight: 500; padding-right: .06em;
  background: linear-gradient(100deg, #cfe3ff, #7cb8ff 35%, #258bff 70%, #0866f5);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero--center .hero__lead { margin: 26px auto 0; max-width: 54ch; text-align: center; font-size: clamp(1rem, 1.15vw, 1.1rem); color: var(--muted); }
.hero--center .hero__actions { justify-content: center; margin-top: 34px; }
.hero--center .hero__stats { justify-content: center; gap: 0; margin-top: 40px; padding: 0; border: 0; }
.hero--center .hero__stats div { padding: 0 clamp(20px, 3vw, 40px); align-items: center; }
.hero--center .hero__stats div + div { border-left: 1px solid var(--line-2); }
.hero--center .hero__stats dd { font-size: clamp(1.9rem, 2.6vw, 2.4rem); }

.hero--center .hero__stage { margin-top: clamp(48px, 7vw, 80px); }
.hero--center .hero__glow { top: -190px; height: 230px; width: min(980px, 92vw);
  background: radial-gradient(ellipse 48% 70% at 50% 100%, rgba(37, 139, 255, .95), rgba(8, 102, 245, .55) 40%, rgba(8, 21, 43, .2) 66%, transparent 80%); filter: blur(28px); }
.dash-frame { background: #0c1422; box-shadow: 0 -1px 0 rgba(124, 184, 255, .25), 0 -30px 90px -40px rgba(8, 102, 245, .8); }
.dash { background: #0a101b; border-color: #1f2a3b; }
.dash__search { background: #0f1828; border-color: #1f2a3b; }
.dash__card { background: #0e1726; border-color: #1c2738; }
.dash__usage { background: linear-gradient(180deg, #111c2e, #0e1726); }
.dash__nav.is-on { background: linear-gradient(90deg, #0866f5, #258bff); }
.dash__tabs .is-on { background: #0d2247; border-color: #1d4ea0; color: #9cc8ff; }
.dash__row span .icon { background: #0d2247; color: #7cb8ff; }
.dash__row i { background: #1a2433; }
.dash__row i::after { background: linear-gradient(90deg, #0866f5, #258bff, #7cb8ff); }
.dash__user b { background: linear-gradient(135deg, #258bff, #0866f5); }
.dash__line { filter: drop-shadow(0 0 6px rgba(37, 139, 255, .7)); }
.dash__pts circle { stroke: #258bff; }
.dash__pts circle:first-child { fill: #0b3a8f; stroke: #3fa2ff; }
.hero__float { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px; border-radius: 12px;
  background: rgba(10, 16, 27, .9); border: 1px solid #22314a; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .9), 0 0 0 1px rgba(124, 184, 255, .06);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: .82rem; font-weight: 600; color: var(--text); }
.hero__float .dot { width: 8px; height: 8px; border-radius: 50%; background: #258bff; box-shadow: 0 0 10px 2px rgba(37, 139, 255, .7); }
.hero__float .icon { width: 16px; height: 16px; padding: 2px; border-radius: 50%; background: #0866f5; color: #fff; stroke-width: 3; }
.hero__float--l { left: calc(50% - min(440px, 46vw) - 70px); top: 120px; }
.hero__float--r { right: calc(50% - min(440px, 46vw) - 60px); top: 300px; }
.js-anim .hero__float { opacity: 0; }

/* ---- Client carousel: always running, no hover pause ---- */
.clients__inner { grid-template-columns: 1fr; gap: 18px; text-align: center; }
.clients__label { max-width: none; justify-self: center; }
.clients__viewport:hover .clients__track { animation-play-state: running; }
.clients__track { animation-duration: 30s; }

@media (max-width: 1100px) { .hero__float { display: none; } }
@media (max-width: 767px) {
  .hero--center .hero__title { font-size: clamp(2.3rem, 10vw, 3rem); }
  .hero--center .hero__title .line, .hero--center .hero__title .line > span { display: inline; }
  .hero--center .hero__title .line::after { content: " "; }
  .hero--center .hero__stats div { padding: 0 14px; }
  .hero--center .hero__stats dd { font-size: 1.7rem; }
}
@media (prefers-reduced-motion: reduce) { .hero__beams { display: none; } }

/* ==========================================================================
   37. Mobile: horizontal carousels & tighter rhythm (less vertical scrolling)
   ========================================================================== */
.swipe-ui { display: none; }
@media (max-width: 767px) {
  :root { --section: 64px; }
  .svc__head { margin-bottom: 28px; gap: 16px; }
  .svc__aside p { font-size: .95rem; }

  /* Shared swipe track */
  .svc__grid, .svc__support, .line-steps, .figures, .spec__list {
    display: flex !important; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 6px; scroll-padding-inline: var(--gutter);
    border: 0;
  }
  .svc__grid::-webkit-scrollbar, .svc__support::-webkit-scrollbar, .line-steps::-webkit-scrollbar,
  .figures::-webkit-scrollbar, .spec__list::-webkit-scrollbar, .stack-x__chips::-webkit-scrollbar { display: none; }
  .svc__grid > *, .line-steps > li, .figures > *, .spec__list > * { flex: 0 0 84%; scroll-snap-align: start; }
  .svc__support > * { flex: 0 0 78%; scroll-snap-align: start; }

  /* Services cards: compact */
  .svc-card__media { aspect-ratio: 16 / 9; }
  .svc-card__body { padding: 18px; gap: 10px; }
  .svc-card__outcome { font-size: .9rem; }
  .svc-card__tags li:nth-child(n+3) { display: none; }
  .svc__support { margin-top: 14px; }

  /* Product engineering: diagram + swipeable capability cards */
  .spec__aside .h2 { margin-bottom: 20px; }
  .arch { padding: 14px; }
  .arch__row span { padding: 9px 6px; font-size: .64rem; }
  .arch__link { height: 10px; }
  .spec__list { margin-top: 4px; }
  .spec__item { grid-template-columns: 1fr; gap: 8px; padding: 18px; border: 1px solid var(--line-2); border-radius: 16px; background: rgba(11, 18, 32, .7); }
  .spec__item::before { display: none; }
  .spec__item.is-active { border-color: rgba(37, 139, 255, .55); }

  /* Process: swipeable step cards */
  .line-steps__rail { display: none; }
  .line-steps > li { padding: 20px; border: 1px solid var(--line-2); border-radius: 16px; background: rgba(11, 18, 32, .7); }
  .line-steps__node { margin-bottom: 6px; }

  /* Results */
  .figures > * { border: 1px solid var(--paper-line-2) !important; border-radius: 16px; background: rgba(255, 255, 255, .6); }
  .figure a { padding: 22px !important; }
  .figure__value { font-size: 3.4rem; }
  .results-home__head { margin-bottom: 24px; }

  /* Tools: two-row horizontal strip */
  .stack-x__chips { display: grid; grid-auto-flow: column; grid-template-rows: repeat(2, auto); grid-auto-columns: max-content;
    grid-template-columns: none; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter); }
  .stack-x__chips li { scroll-snap-align: start; }

  /* Swipe progress + hint (added by JS) */
  .swipe-ui { display: flex; align-items: center; gap: 12px; margin-top: 14px; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
  .swipe-ui__bar { position: relative; flex: 1; height: 2px; border-radius: 2px; background: var(--line-2); overflow: hidden; }
  .swipe-ui__bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 30%; border-radius: inherit; background: linear-gradient(90deg, #0866f5, #7cb8ff); transition: transform .2s linear; }
  .paper .swipe-ui__bar { background: var(--paper-line-2); }

  /* Selected work: pinned, moves horizontally as you scroll (see JS) */
  .js-anim .showcase { padding-block: 0; }
  .js-anim .showcase__pin { height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: calc(var(--header-h) - 8px); }
  .js-anim .showcase__head { margin-bottom: 18px; gap: 10px; }
  .js-anim .showcase__head .h2 { font-size: 2.1rem; }
  .js-anim .showcase__meta p { display: none; }
  .js-anim .showcase__progress { display: flex; }
  .js-anim .showcase__track { display: flex; gap: 16px; width: max-content; max-width: none; margin: 0; }
  .js-anim .project { width: 84vw; flex-shrink: 0; }
  .js-anim .project--end { width: 60vw; }
  .js-anim .project__link { gap: 14px; }
  .js-anim .project__shot { aspect-ratio: auto; height: 28svh; }
  .js-anim .project__info { gap: 8px; }
  .js-anim .project__title { font-size: 1.5rem; }
  .js-anim .project__text { font-size: .86rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .js-anim .project .tags { display: none; }

  /* Other sections: tighter */
  .automation__copy .checklist { display: none; }
  .automation__copy .lead { margin: 16px 0 20px; }
  .faq-item__q { padding: 18px 0; }
  .cta { padding-block: 56px; }
  .cta__steps { display: none; }
  .cta__grid { padding: 22px; gap: 24px; }
}
