/* ============================================================
   KOLDCONVERT - Minimal, premium, light design system
   Quiet chrome · hairline borders · one accent used sparingly.
   Brand: deep navy ink + raspberry accent (from logo).
   ============================================================ */

:root {
  --navy:        #11103d;
  --navy-700:    #20204f;
  --accent:      #f23557;
  --accent-700:  #d81e45;

  --canvas:      #ffffff;
  --soft:        #fafafb;
  --card:        #f6f6f9;
  --hairline:    #ebebf1;
  --hairline-2:  #e0e0e8;

  --ink:         #14132e;
  --body:        #54546e;
  --mute:        #82829a;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-full: 999px;

  --container: 1160px;
  --section: clamp(48px, 10vw, 132px);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  font-family: var(--font);
  color: var(--body);
  background: var(--canvas);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 3px; }

/* Type */
h1, h2, h3, h4 { color: var(--ink); font-weight: 600; line-height: 1.12; letter-spacing: -.025em; }
.display { font-size: clamp(2.5rem, 5.4vw, 4.1rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.04; }
.h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); letter-spacing: -.035em; }
.h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); letter-spacing: -.02em; }
.eyebrow { display: inline-block; font-size: .76rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--body); max-width: 60ch; line-height: 1.6; }
.muted { color: var(--mute); }
.accent-text { color: var(--accent); }
strong { color: var(--ink); font-weight: 600; }

/* Layout */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 28px; }
section { padding-block: var(--section); }
.section-head { max-width: 680px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-bottom: 18px; }
.bg-soft { background: var(--soft); }
.bg-card { background: var(--card); }
.divider { border: none; border-top: 1px solid var(--hairline); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 50px; padding-inline: 26px;
  font-weight: 600; font-size: .96rem; letter-spacing: -.01em;
  border-radius: var(--r-full); white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-700); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-700); }
.btn-outline { background: transparent; border: 1px solid var(--hairline-2); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); }
.btn-ghost { background: var(--card); color: var(--ink); }
.btn-ghost:hover { background: #ededf3; }
.btn-lg { height: 54px; padding-inline: 30px; }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }
.link-arrow { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: .94rem; color: var(--accent); }
.link-arrow .arrow { transition: transform .2s; }
.link-arrow:hover .arrow { transform: translateX(3px); }

/* Navbar */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav.scrolled { border-color: var(--hairline); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 70px; }
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 42px; width: auto; display: block; }
.brand .mark { width: 30px; height: 30px; flex: 0 0 auto; }
.brand b { color: var(--navy); font-weight: 600; }
.brand span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 2px; margin-left: 6px; }
.nav-links a { padding: 8px 14px; border-radius: var(--r-full); font-weight: 500; font-size: .94rem; color: var(--body); transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); font-weight: 600; }
.mobile-menu a.active { color: var(--accent); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: var(--r-sm); align-items: center; justify-content: center; }
.nav-toggle span { position: relative; width: 19px; height: 1.5px; background: var(--ink); transition: background .3s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 19px; height: 1.5px; background: var(--ink); transition: transform .3s; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span::after { transform: translateY(-6px) rotate(-45deg); }

/* Mega Menu */
.nav-item-mega { position: static; display: inline-block; }
.nav-trigger { display: inline-block; padding: 8px 14px; border-radius: var(--r-full); font-weight: 500; font-size: .94rem; color: var(--body); transition: color .2s; cursor: pointer; }
.nav-trigger:hover { color: var(--ink); }
.mega-menu {
  position: fixed; top: 70px; left: 50%;
  transform: translateX(-50%) translateY(-10px);
  width: min(1260px, calc(100vw - 32px));
  background: var(--canvas); border: 1px solid var(--hairline);
  border-radius: var(--r-md); box-shadow: 0 12px 48px rgba(0,0,0,.12);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .22s ease, visibility .22s ease, transform .22s ease;
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 24px; padding: 28px 32px; z-index: 500;
}
.nav-item-mega:hover .mega-menu,
.nav-item-mega.open .mega-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.mega-col h4 { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); margin-bottom: 10px; margin-top: 0; }
.mega-col h4 a { color: var(--accent); text-decoration: none; font-size: inherit; font-weight: inherit; padding: 0; display: inline; }
.mega-col h4 a:hover { color: var(--ink); font-weight: 700; }
.mega-col a { display: block; padding: 4px 0; font-size: .875rem; color: var(--body); transition: color .15s; text-decoration: none; }
.mega-col a:hover { color: var(--ink); font-weight: 600; }
.mega-divider { height: 1px; background: var(--hairline); margin: 14px 0 12px; }

@media (max-width: 1100px) {
  .mega-menu { grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 22px 24px; }
}

/* Mobile Services Accordion */
.mob-svc-wrap { border-bottom: 1px solid var(--hairline); }
.mob-svc-trigger { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 14px 2px; font-size: 1.05rem; font-weight: 500; color: var(--ink); background: none; border: none; cursor: pointer; text-align: left; font-family: inherit; }
.mob-svc-arrow { display: inline-block; font-size: 1rem; line-height: 1; transition: transform .25s; color: var(--mute); }
.mob-svc-wrap.open .mob-svc-arrow { transform: rotate(90deg); }
.mob-svc-panel { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.mob-svc-wrap.open .mob-svc-panel { max-height: 1400px; }
.mob-cat { padding: 2px 0 6px 8px; }
.mob-cat-head { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); padding: 10px 0 4px; }
.mob-cat-links a { display: block; padding: 7px 0; font-size: .94rem; color: var(--body); border: none; }
.mob-cat-links a:hover { color: var(--ink); }
.mob-svc-all { display: block; padding: 12px 2px; font-size: .9rem; font-weight: 600; color: var(--accent); border-top: 1px solid var(--hairline); margin-top: 4px; }

@media (max-width: 940px) {
  .nav-links, .nav-cta .btn-outline { display: none; }
  .nav-toggle { display: flex; }
  .mobile-menu {
    position: fixed; inset: 0;
    padding: 82px 28px 48px;
    background: var(--canvas);
    transform: translateY(-100%);
    transition: transform .35s cubic-bezier(.2,.7,.3,1);
    z-index: 98;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  .mobile-menu.open { transform: translateY(0); }
  .mobile-menu > a { display: block; padding: 14px 2px; font-size: 1.05rem; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--hairline); }
}
@media (min-width: 941px) { .mobile-menu { display: none; } }

/* Hero */
.hero { padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(56px, 8vw, 104px); }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(40px, 6vw, 72px); align-items: start; }
.hero-visual { margin-top: -48px; }
.hero h1 { margin: 0 0 24px; }
.hero .lead { margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.tag-line { display: inline-flex; align-items: center; gap: 10px; font-size: .82rem; font-weight: 600; letter-spacing: .04em;
  color: var(--mute); margin-bottom: 26px; }
.tag-line::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.hero-trust { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--hairline); }
.hero-trust .stat b { display: block; font-size: 1.7rem; font-weight: 600; color: var(--ink); letter-spacing: -.03em; line-height: 1; margin-bottom: 6px; }
.hero-trust .stat span { font-size: .85rem; color: var(--mute); }
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: 1; max-width: 100%; margin-top: 0; }
}

/* Flat minimal funnel (replaces 3D) */
.funnel { display: flex; flex-direction: column; gap: 10px; }
.f-row { display: flex; align-items: center; gap: 16px; }
.f-bar { height: 60px; border-radius: var(--r-md); display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px; color: #fff; transition: width .2s; }
.f-bar .f-name { font-weight: 600; font-size: .98rem; letter-spacing: -.01em; }
.f-bar .f-pct { font-weight: 600; font-size: .9rem; opacity: .82; }
.f-row:nth-of-type(1) .f-bar { width: 100%; background: #11103d; }
.f-row:nth-of-type(2) .f-bar { width: 86%;  background: #232255; }
.f-row:nth-of-type(3) .f-bar { width: 70%;  background: #3a2a6e; }
.f-row:nth-of-type(4) .f-bar { width: 54%;  background: #7a2a5e; }
.f-row:nth-of-type(5) .f-bar { width: 38%;  background: var(--accent); }
.f-meta { font-size: .82rem; color: var(--mute); white-space: nowrap; }
.f-caption { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--hairline); display: flex; justify-content: space-between;
  font-size: .82rem; color: var(--mute); }
.f-caption b { color: var(--ink); font-weight: 600; }
@media (max-width: 480px) { .f-meta { display: none; } .f-bar { padding: 0 16px; } }

/* Logo / ecosystem strip */
.logos { padding-block: 44px; border-block: 1px solid var(--hairline); }
.logos p { text-align: center; color: var(--mute); font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 26px; }
.logos-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 44px; }
.logos-row span { font-weight: 600; font-size: 1.08rem; color: #b6b6c6; letter-spacing: -.02em; transition: color .25s; }
.logos-row span:hover { color: var(--navy); }
.logos-row img { height: 16px; width: auto; opacity: 0.4; filter: grayscale(1); transition: opacity .25s, filter .25s; }
.logos-row img:hover { opacity: 0.8; filter: grayscale(0); }
.eco-logo { height: 22px; width: auto; margin-bottom: 16px; display: block; align-self: flex-start; }

/* Generic service cards (home preview) */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--hairline); border-radius: var(--r-lg); overflow: hidden; }
.card { background: var(--canvas); padding: 34px 32px; border-right: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); transition: background .25s; }
.card:hover { background: var(--soft); }
.cards .card:nth-child(3n) { border-right: none; }
.cards .card:nth-last-child(-n+3) { border-bottom: none; }
.card .ico { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; color: var(--accent); margin-bottom: 22px; }
.card .ico svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.12rem; margin-bottom: 9px; }
.card p { font-size: .95rem; color: var(--mute); line-height: 1.6; }
.card .via { display: block; margin-top: 14px; font-size: .82rem; color: var(--body); }
.card .via b { color: var(--accent); font-weight: 600; }
@media (max-width: 880px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .cards .card:nth-child(3n) { border-right: 1px solid var(--hairline); }
  .cards .card:nth-child(2n) { border-right: none; }
  .cards .card:nth-last-child(-n+3) { border-bottom: 1px solid var(--hairline); }
  .cards .card:nth-last-child(-n+2) { border-bottom: none; }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .cards .card { border-right: none !important; border-bottom: 1px solid var(--hairline) !important; }
  .cards .card:last-child { border-bottom: none !important; }
}

/* Ecosystem cards */
.eco-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; background: var(--hairline); border: 1px solid var(--hairline); border-radius: var(--r-lg); overflow: hidden; }
.eco-card { display: flex; flex-direction: column; padding: 36px; background: var(--canvas); text-decoration: none; transition: background .18s; }
.eco-card:hover { background: var(--soft); }
.eco-type { display: block; font-size: .65rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); margin-bottom: 20px; }
.eco-name { display: block; font-size: 1.55rem; font-weight: 700; color: var(--ink); letter-spacing: -.04em; line-height: 1; margin-bottom: 5px; }
.eco-domain { display: block; font-size: .76rem; color: var(--mute); font-weight: 500; margin-bottom: 18px; }
.eco-card > p { color: var(--mute); font-size: .88rem; line-height: 1.7; flex: 1; }
.eco-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; }
.eco-tags span { font-size: .7rem; font-weight: 500; color: var(--body); border: 1px solid var(--hairline-2); padding: 4px 10px; border-radius: 3px; }
.eco-card .visit { display: inline-flex; align-items: center; gap: 5px; margin-top: 18px; font-weight: 600; font-size: .82rem; color: var(--accent); letter-spacing: .01em; }
.eco-card .visit .arrow { transition: transform .18s; }
.eco-card:hover .visit .arrow { transform: translate(2px,-2px); }
.badge-soft { font-size: .68rem; color: var(--accent); border: 1px solid var(--hairline-2); padding: 3px 9px; border-radius: var(--r-full); vertical-align: middle; margin-left: 8px; font-weight: 600; }

/* Services taxonomy (detailed) */
.svc-group { padding-block: clamp(48px, 6vw, 76px); border-top: 1px solid var(--hairline); }
.svc-group-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 40px; }
.svc-group-head .num { font-size: .8rem; font-weight: 600; color: var(--accent); letter-spacing: .1em; }
.svc-group-head h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.svc-group-head p { color: var(--mute); font-size: .96rem; max-width: 46ch; margin-left: auto; }
.svc-cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.svc-cat { border: 1px solid var(--hairline); border-radius: 4px; padding: 28px 30px; transition: border-color .25s; }
.svc-cat:hover { border-color: var(--hairline-2); }
.svc-cat h3 { font-size: 1.1rem; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.svc-cat h3 .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: 0 0 auto; }
.svc-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.svc-list li { font-size: .85rem; color: var(--body); background: var(--soft); border: 1px solid var(--hairline); padding: 10px 13px; border-radius: 3px; transition: border-color .2s, background .2s; }
.svc-list li:hover { border-color: var(--hairline-2); background: var(--canvas); }
@media (max-width: 480px) { .svc-list { grid-template-columns: 1fr; } }
.svc-via { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--hairline); font-size: .84rem; color: var(--mute); }
.svc-via b { color: var(--accent); font-weight: 600; }
.svc-view-link { display: inline-block; margin-top: 16px; font-size: .82rem; font-weight: 600; color: var(--accent); text-decoration: none; letter-spacing: .01em; transition: color .15s; }
.svc-view-link:hover { color: var(--navy); }
.svc-cat .svc-tag { display: inline-block; font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.svc-cat h3 { margin-bottom: 10px; }
.svc-desc { font-size: .92rem; color: var(--mute); line-height: 1.55; margin-bottom: 16px; }
.svc-sub { font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin: 2px 0 10px; }
.svc-list + .svc-sub { margin-top: 16px; }
@media (max-width: 760px) { .svc-cats { grid-template-columns: 1fr; } .svc-group-head { flex-wrap: wrap; } .svc-group-head p { margin-left: 0; } }

/* Company architecture diagram */
.arch { display: flex; flex-direction: column; align-items: center; }
.arch-parent { width: 100%; max-width: 460px; text-align: center; border: 1px solid var(--hairline-2); border-radius: var(--r-lg); padding: 26px 28px; background: var(--navy); color: #fff; }
.arch-parent .role { color: rgba(255,255,255,.6); font-size: .85rem; margin-top: 6px; }
.arch-parent b { font-size: 1.3rem; font-weight: 600; letter-spacing: -.02em; }
.arch-line { width: 1px; height: 34px; background: var(--hairline-2); }
.arch-label { font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); margin: 26px 0 14px; align-self: center; }
.arch-children { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; width: 100%; }
.arch-node { border: 1px solid var(--hairline); border-radius: var(--r-md); padding: 22px 24px; transition: border-color .25s; }
.arch-node:hover { border-color: var(--hairline-2); }
.arch-node .top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.arch-node b { font-size: 1.08rem; font-weight: 600; color: var(--ink); letter-spacing: -.02em; }
.arch-node .dom { font-size: .78rem; color: var(--accent); font-weight: 600; }
.arch-node p { font-size: .88rem; color: var(--mute); line-height: 1.5; }
.arch-node .kind { font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
@media (max-width: 680px) { .arch-children { grid-template-columns: 1fr; } }

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--hairline); border-radius: var(--r-lg); overflow: hidden; }
.step { padding: 30px 28px; border-right: 1px solid var(--hairline); }
.step:last-child { border-right: none; }
.step .num { font-size: .82rem; font-weight: 600; color: var(--accent); letter-spacing: .08em; margin-bottom: 18px; }
.step h3 { font-size: 1.12rem; margin-bottom: 10px; }
.step p { font-size: .92rem; color: var(--mute); line-height: 1.6; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(2n) { border-right: none; } .step:nth-child(-n+2) { border-bottom: 1px solid var(--hairline); } }
@media (max-width: 460px) { .steps { grid-template-columns: 1fr; } .step { border-right: none; border-bottom: 1px solid var(--hairline); } .step:last-child { border-bottom: none; } }

/* Split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 84px); align-items: center; }
.split.rev .split-media { order: 2; }
.feature-list { display: grid; gap: 22px; margin-top: 30px; }
.feature-list li { display: flex; gap: 14px; }
.feature-list .check { flex: 0 0 auto; width: 22px; height: 22px; color: var(--accent); margin-top: 2px; }
.feature-list b { color: var(--ink); display: block; margin-bottom: 3px; font-weight: 600; }
.feature-list p { font-size: .94rem; color: var(--mute); line-height: 1.55; }

/* Minimal stat panel (light, bordered) */
.stat-panel { border: 1px solid var(--hairline); border-radius: var(--r-lg); overflow: hidden; }
.stat-panel .sp-head { padding: 24px 28px; border-bottom: 1px solid var(--hairline); }
.stat-panel .sp-head .eyebrow { margin-bottom: 8px; }
.stat-panel .sp-head h3 { font-size: 1.15rem; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; }
.stat-grid .sg { padding: 26px 28px; border-right: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.stat-grid .sg:nth-child(2n) { border-right: none; }
.stat-grid .sg:nth-last-child(-n+2) { border-bottom: none; }
.stat-grid b { display: block; font-size: 1.9rem; font-weight: 600; color: var(--ink); letter-spacing: -.03em; line-height: 1; margin-bottom: 8px; }
.stat-grid span { font-size: .85rem; color: var(--mute); }

/* Stat band (light) */
.statband { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.statband .s { text-align: center; padding: 12px 16px; border-right: 1px solid var(--hairline); }
.statband .s:last-child { border-right: none; }
.statband .s b { display: block; font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 600; color: var(--ink); letter-spacing: -.03em; line-height: 1; margin-bottom: 10px; }
.statband .s span { color: var(--mute); font-size: .9rem; }
@media (max-width: 700px) { .statband { grid-template-columns: 1fr 1fr; gap: 36px 0; }
  .statband .s:nth-child(2n) { border-right: none; } }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quote { border: 1px solid var(--hairline); border-radius: 3px; padding: 30px; }
.quote p { color: var(--ink); font-size: 1.02rem; line-height: 1.6; font-weight: 400; }
.quote .who { display: flex; align-items: center; gap: 12px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--hairline); }
.quote .avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: .85rem; }
.quote .who b { display: block; color: var(--ink); font-size: .9rem; font-weight: 600; }
.quote .who span { font-size: .82rem; color: var(--mute); }
@media (max-width: 880px) { .quotes { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 800px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-item:first-child { border-top: 1px solid var(--hairline); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: left;
  padding: 26px 4px; font-weight: 600; font-size: 1.06rem; color: var(--ink); }
.faq-q .ic { flex: 0 0 auto; width: 22px; height: 22px; position: relative; }
.faq-q .ic::before, .faq-q .ic::after { content: ""; position: absolute; background: var(--accent); border-radius: 2px; transition: transform .3s, opacity .3s; }
.faq-q .ic::before { top: 50%; left: 0; width: 100%; height: 1.5px; transform: translateY(-50%); }
.faq-q .ic::after { left: 50%; top: 0; width: 1.5px; height: 100%; transform: translateX(-50%); }
.faq-item.open .faq-q .ic::after { transform: translateX(-50%) scaleY(0); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding: 0 4px 26px; color: var(--mute); line-height: 1.65; }

/* CTA (minimal navy block) */
.cta-band { border-radius: var(--r-lg); padding: clamp(48px, 6vw, 80px) clamp(28px, 5vw, 64px); background: var(--navy); text-align: center; }
.cta-band h2 { color: #fff; margin-bottom: 16px; }
.cta-band p { color: rgba(255,255,255,.66); max-width: 54ch; margin: 0 auto 32px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 13px; justify-content: center; align-items: center; }
.cta-band .btn-ghost { background: rgba(255,255,255,.08); color: #fff; }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,.14); }
.cta-band input { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); color: #fff; }
.cta-band input::placeholder { color: rgba(255,255,255,.5); }

/* Footer */
.footer { border-top: 1px solid var(--hairline); padding-block: 72px 36px; }
.footer-top { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.footer .brand { margin-bottom: 18px; }
.footer-about p { color: var(--mute); font-size: .94rem; max-width: 32ch; line-height: 1.6; }
.footer-about .addr { margin-top: 20px; font-size: .9rem; color: var(--body); font-style: normal; line-height: 1.7; }
.footer-about .addr b { color: var(--ink); font-weight: 600; }
.footer-about .addr a { color: var(--accent); }
.foot-col h4 { font-size: .76rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink); margin-bottom: 18px; font-weight: 600; }
.foot-col a { display: block; padding: 6px 0; color: var(--mute); font-size: .92rem; transition: color .2s; }
.foot-col a:hover { color: var(--accent); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--hairline); }
.footer-bottom p { font-size: .84rem; color: var(--mute); }
.social { display: flex; gap: 8px; }
.social a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--hairline); display: flex; align-items: center; justify-content: center;
  color: var(--body); transition: border-color .2s, color .2s; }
.social a:hover { border-color: var(--ink); color: var(--ink); }
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 460px) { .footer-top { grid-template-columns: 1fr; } }

/* Inner page hero */
.page-hero { padding-top: clamp(52px, 6vw, 84px); padding-bottom: clamp(36px, 4vw, 52px); }
.breadcrumb { display: flex; gap: 8px; font-size: .84rem; color: var(--mute); margin-bottom: 26px; }
.breadcrumb a:hover { color: var(--accent); }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); letter-spacing: -.035em; margin-bottom: 20px; }

/* Prose */
.prose { max-width: 700px; }
.prose p { margin-bottom: 20px; color: var(--body); font-size: 1.05rem; line-height: 1.75; }
.prose h2 { font-size: 1.5rem; margin: 44px 0 16px; }
.prose h3 { font-size: 1.2rem; margin: 32px 0 12px; }
.prose ul { margin: 0 0 22px; padding-left: 2px; }
.prose ul li { position: relative; padding-left: 24px; margin-bottom: 11px; color: var(--body); }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.prose blockquote { border-left: 2px solid var(--accent); padding: 4px 0 4px 22px; margin: 28px 0; color: var(--ink); font-size: 1.18rem; font-weight: 500; line-height: 1.5; }
.prose a { color: var(--accent); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

/* Blog grid */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-card { display: flex; flex-direction: column; border: 1px solid var(--hairline); border-radius: 3px; overflow: hidden; background: var(--canvas); transition: border-color .25s; }
.post-card:hover { border-color: var(--hairline-2); }
.post-thumb { height: 150px; background: var(--navy); position: relative; display: flex; align-items: flex-end; padding: 16px; }
.post-thumb.alt1 { background: #232255; } .post-thumb.alt2 { background: #3a2a6e; }
.post-thumb span { background: rgba(255,255,255,.14); color: #fff; font-size: .72rem; font-weight: 600; padding: 5px 11px; border-radius: var(--r-full); backdrop-filter: blur(4px); }
.post-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-body .meta { font-size: .8rem; color: var(--mute); margin-bottom: 12px; }
.post-body h3 { font-size: 1.12rem; margin-bottom: 10px; line-height: 1.3; }
.post-body p { font-size: .92rem; color: var(--mute); flex: 1; line-height: 1.6; }
.post-body .more { margin-top: 18px; font-weight: 600; font-size: .86rem; color: var(--accent); }
@media (max-width: 880px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .blog-grid { grid-template-columns: 1fr; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr .9fr; gap: clamp(36px, 5vw, 64px); align-items: start; }
.form-wrap { border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: 34px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 500; font-size: .9rem; color: var(--ink); margin-bottom: 8px; }
.field input, .field select, .field textarea { width: 100%; font-family: inherit; font-size: 1rem; color: var(--ink);
  background: var(--canvas); border: 1px solid var(--hairline-2); border-radius: var(--r-md); padding: 13px 15px; transition: border-color .2s; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.contact-info .ci { display: flex; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--hairline); }
.contact-info .ci:first-child { padding-top: 0; }
.contact-info .ci .ico { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--hairline); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.contact-info .ci b { color: var(--ink); display: block; margin-bottom: 3px; font-weight: 600; }
.contact-info .ci p, .contact-info .ci a { color: var(--mute); font-size: .95rem; line-height: 1.6; }
.contact-info .ci a:hover { color: var(--accent); }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }

/* 3D scenes (Three.js) */
.scene3d { position: relative; width: 100%; aspect-ratio: 1 / 1; touch-action: pan-y; }
.scene3d canvas { display: block; width: 100% !important; height: 100% !important; }
.scene3d.wide { aspect-ratio: 5 / 4; }
.scene-label { position: absolute; left: 0; bottom: 0; display: flex; gap: 18px; font-size: .8rem; color: var(--mute); pointer-events: none; }
.scene-label b { color: var(--ink); font-weight: 600; }
.scene-wrap { position: relative; }
.scene-tags { position: absolute; inset: 0; pointer-events: none; }
.scene-tags span { position: absolute; font-size: .74rem; font-weight: 600; color: var(--body); background: rgba(255,255,255,.82);
  border: 1px solid var(--hairline); padding: 5px 11px; border-radius: var(--r-full); backdrop-filter: blur(4px); white-space: nowrap; }
.feature-3d { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 84px); align-items: center; }
.feature-3d.rev .scene-col { order: 2; }
@media (max-width: 820px) { .feature-3d { grid-template-columns: 1fr; } .feature-3d.rev .scene-col { order: 0; }
  .scene3d { max-width: 440px; margin-inline: auto; } }

/* Founder */
.founder { display: grid; grid-template-columns: 260px 1fr; gap: clamp(28px, 4vw, 52px); align-items: center;
  border: 1px solid var(--hairline); border-radius: 4px; padding: clamp(26px, 4vw, 44px); }
.founder-photo { aspect-ratio: 1 / 1; border-radius: 4px; overflow: hidden; background: linear-gradient(160deg, #20204f, #11103d);
  display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 600; font-size: 3.4rem; letter-spacing: -.02em; }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder .eyebrow { margin-bottom: 10px; }
.founder h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.founder .role { color: var(--accent); font-weight: 600; font-size: .92rem; margin-top: 6px; }
.founder p { margin-top: 16px; color: var(--body); font-size: 1rem; line-height: 1.7; }
.founder p + p { margin-top: 12px; }
.founder .socials { display: flex; gap: 8px; margin-top: 22px; }
.founder .socials a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--hairline); display: flex; align-items: center; justify-content: center; color: var(--body); transition: border-color .2s, color .2s; }
.founder .socials a:hover { border-color: var(--ink); color: var(--ink); }
@media (max-width: 640px) { .founder { grid-template-columns: 1fr; text-align: left; } .founder-photo { max-width: 160px; } }

/* Asset / resource cards (boxes) */
.asset-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.asset-card { border: 1px solid var(--hairline); border-radius: 4px; padding: 28px 28px 26px; display: flex; flex-direction: column; transition: border-color .25s; }
.asset-card:hover { border-color: var(--hairline-2); }
.asset-card .svc-tag { display: inline-block; font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.asset-card h3 { font-size: 1.12rem; margin-bottom: 10px; }
.asset-card .svc-desc { font-size: .92rem; color: var(--mute); line-height: 1.55; margin-bottom: 16px; }
.asset-card .svc-list { grid-template-columns: 1fr; }
.asset-card .svc-via { margin-top: auto; }
@media (max-width: 880px) { .asset-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .asset-grid { grid-template-columns: 1fr; } }

/* Reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .07s; } .reveal.d2 { transition-delay: .14s; }
.reveal.d3 { transition-delay: .21s; } .reveal.d4 { transition-delay: .28s; }

/* ── Responsive grid utilities (replaces inline grid styles) ─────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 880px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* cards modifier classes */
.cards.cards-2 { grid-template-columns: repeat(2, 1fr); border: none; overflow: visible; }
.cards.cards-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 760px) { .cards.cards-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards.cards-2, .cards.cards-4 { grid-template-columns: 1fr; } }

/* steps modifier classes */
.steps.steps-2 { grid-template-columns: repeat(2, 1fr); }
.steps.steps-2 .step:nth-child(2n) { border-right: none; }
.steps.steps-2 .step:nth-child(-n+2) { border-bottom: 1px solid var(--hairline); }
.steps.steps-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 560px) { .steps.steps-2, .steps.steps-3 { grid-template-columns: 1fr; }
  .steps.steps-2 .step, .steps.steps-3 .step { border-right: none; border-bottom: 1px solid var(--hairline); }
  .steps.steps-2 .step:last-child, .steps.steps-3 .step:last-child { border-bottom: none; } }

/* Fix .split on mobile */
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } .split.rev .split-media { order: 0; } }

/* Fix .eco-grid on small screens */
@media (max-width: 600px) { .eco-grid { grid-template-columns: 1fr; } }

/* Fix .quotes — 2 col at medium before going to 1 */
@media (max-width: 880px) and (min-width: 561px) { .quotes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .quotes { grid-template-columns: 1fr; } }

/* vs-card — competitive comparison component */
.vs-card { border-radius: var(--r-lg); padding: 36px 40px; }
.vs-them { background: var(--card); border: 1px solid var(--hairline); }
.vs-us { background: var(--navy); }
.vs-label { font-size: .68rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; margin-bottom: 22px; }
.vs-them .vs-label { color: var(--mute); }
.vs-us .vs-label { color: rgba(255,255,255,.55); }
.vs-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.vs-list li { display: flex; align-items: flex-start; gap: 12px; font-size: .92rem; line-height: 1.55; }
.vs-list li::before { flex-shrink: 0; font-weight: 700; margin-top: 1px; }
.vs-them .vs-list li::before { content: "✕"; color: #c0392b; }
.vs-us .vs-list li::before { content: "✓"; color: #4cd964; }
.vs-them .vs-list li { color: var(--body); }
.vs-us .vs-list li { color: rgba(255,255,255,.82); }

/* related-services cross-link bar */
.related-services { display: flex; align-items: center; gap: 8px 28px; flex-wrap: wrap; padding: 24px 0; border-top: 1px solid var(--hairline); }
.related-services .rs-label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--mute); white-space: nowrap; margin-right: 8px; }
.related-services a { font-size: .88rem; color: var(--body); text-decoration: none; border-bottom: 1px solid transparent; padding-bottom: 1px; transition: color .2s, border-color .2s; }
.related-services a:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* blog category filter */
.blog-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.filter-btn { font-family: inherit; font-size: .78rem; font-weight: 600; padding: 7px 16px; border-radius: 3px; border: 1px solid var(--hairline); background: transparent; color: var(--body); cursor: pointer; transition: background .15s, color .15s, border-color .15s; letter-spacing: .02em; }
.filter-btn:hover { border-color: var(--hairline-2); background: var(--card); }
.filter-btn.active { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Prose mobile fix */
@media (max-width: 480px) {
  .prose h2 { font-size: 1.3rem; }
  .prose blockquote { font-size: 1.05rem; padding-left: 16px; }
  .cta-band { border-radius: var(--r-md); }
  .blog-filter { gap: 6px; }
  .filter-btn { padding: 6px 12px; font-size: .75rem; }
}

/* Stat metrics strip — 3-col bar used across service pages */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}
@media (max-width: 640px) { .stat-strip { grid-template-columns: 1fr; } }

/* ── Global mobile overrides (≤480px) ───────────────────────────────── */
@media (max-width: 480px) {
  :root { --section: 48px; }
  .container { padding-inline: 16px; }
  .statband { grid-template-columns: 1fr; gap: 0; }
  .statband .s { border-right: none; border-bottom: 1px solid var(--hairline); }
  .statband .s:last-child { border-bottom: none; }
}
