/* ==========================================================================
   i-AI — AI-First Software Engineering
   Palette: paper white / ice mist / azure / midnight, pulse-cyan for "thinking" only
   Type: Sora (display) · Figtree (body) · JetBrains Mono (labels & console)
   ========================================================================== */

:root {
  --paper:    #FFFFFF;
  --mist:     #F1F6FE;
  --line:     #D8E4F7;
  --ink:      #071430;
  --slate:    #45536F;
  --azure:    #0663E8;
  --azure-2:  #0446AD;
  --sky:      #61A6FF;
  --pulse:    #2FD4FF;
  --midnight: #04102A;
  --midnight-2:#0A1E42;

  --font-display: "Sora", "Figtree", sans-serif;
  --font-body:    "Figtree", -apple-system, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, monospace;

  --radius: 14px;
  --radius-sm: 10px;
  --radius-btn: 12px;
  --wrap: 1180px;
  --shadow-card: 0 18px 44px -26px rgba(7, 20, 48, .28);
  --ease-out: cubic-bezier(.22, .8, .3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--slate);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -.02em;
  font-weight: 700;
}

a { color: var(--azure); text-decoration: none; }

:focus-visible {
  outline: 3px solid var(--azure);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--azure); color: #fff; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--azure); color: #fff;
  padding: 10px 18px; z-index: 200; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* --- Shared bits ------------------------------------------------------- */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--azure);
  display: inline-block;
  margin-bottom: 16px;
}
.eyebrow-light { color: var(--pulse); }

.section { padding: 104px 0; }
.section-mist { background: var(--mist); }

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(29px, 3.8vw, 42px); margin-bottom: 14px; }
.section-head p { font-size: 18px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: 16px;
  padding: 14px 26px; border-radius: var(--radius-btn); border: 1.5px solid transparent;
  cursor: pointer; transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), background .2s, color .2s, border-color .2s;
}
.btn svg { width: 17px; height: 17px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-solid {
  background: var(--azure); color: #fff;
  box-shadow: 0 10px 24px -12px rgba(6, 99, 232, .55);
}
.btn-solid:hover { background: var(--azure-2); box-shadow: 0 14px 30px -12px rgba(6, 99, 232, .6); }

.btn-line { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-line:hover { border-color: var(--azure); color: var(--azure); }

.btn-white { background: #fff; color: var(--azure-2); }
.btn-white:hover { background: var(--mist); }

.btn-ghost-light { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; }

.btn-nav { padding: 10px 20px; font-size: 15px; }

/* --- Header ------------------------------------------------------------ */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(255,255,255,.94);
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px;
}

.logo {
  font-family: var(--font-display);
  font-weight: 800; font-size: 24px; letter-spacing: -.02em;
  color: var(--ink);
}
.logo-pulse {
  color: var(--azure);
  animation: pulse-think 1.6s ease-in-out infinite;
}
@keyframes pulse-think {
  0%, 100% { opacity: 1; color: var(--azure); }
  50%      { opacity: .35; color: var(--pulse); }
}

.site-nav { display: flex; align-items: center; gap: 34px; }
.site-nav > a:not(.btn) {
  color: var(--ink); font-weight: 500; font-size: 16px;
  position: relative; padding: 4px 0;
}
.site-nav > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 2px; background: var(--azure);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease-out);
}
.site-nav > a:not(.btn):hover::after,
.site-nav > a.is-active::after { transform: scaleX(1); }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; position: relative;
}
.nav-toggle span {
  position: absolute; left: 10px; width: 24px; height: 2px;
  background: var(--ink); transition: transform .3s var(--ease-out), top .3s;
}
.nav-toggle span:first-child { top: 18px; }
.nav-toggle span:last-child { top: 26px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

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

.hero {
  position: relative;
  padding: 84px 0 96px;
  overflow: hidden;
  background:
    radial-gradient(880px 460px at 82% -8%, rgba(97, 166, 255, .17), transparent 65%),
    var(--paper);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(6,99,232,.14) 1.2px, transparent 1.2px);
  background-size: 26px 26px;
  mask-image: radial-gradient(700px 540px at 76% 42%, #000 25%, transparent 75%);
  -webkit-mask-image: radial-gradient(700px 540px at 76% 42%, #000 25%, transparent 75%);
}

.hero-grid {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: 56px; align-items: center;
}

.hero h1 {
  font-size: clamp(38px, 5.2vw, 62px);
  font-weight: 800;
  margin-bottom: 22px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(115deg, var(--azure), var(--pulse));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero h1 .line { display: block; }

.hero-sub { font-size: 19px; max-width: 500px; margin-bottom: 34px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 44px; }

.hero-index {
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  font-family: var(--font-mono); font-size: 13px; color: var(--slate);
}
.hero-index a { color: var(--slate); transition: color .2s; }
.hero-index a:hover { color: var(--azure); }
.hero-index a::before { content: "/"; color: var(--sky); margin-right: 1px; }

/* --- Inference console (signature) --------------------------------------- */

.console-card {
  background: var(--midnight);
  border: 1px solid rgba(97,166,255,.25);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card), 0 0 80px -30px rgba(47,212,255,.35);
  overflow: hidden;
}
.console-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 13px 18px; background: var(--midnight-2);
  font-family: var(--font-mono); font-size: 12px; color: #7C93BE;
}
.console-bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.16); }
.console-bar i:first-child { background: #FF6159; }
.console-bar i:nth-child(2) { background: #FFBD2E; }
.console-bar i:nth-child(3) { background: #29C46B; }
.console-bar .console-title { margin-left: 10px; }
.console-bar .console-chip {
  margin-left: auto; display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid rgba(97,166,255,.3); border-radius: 999px; padding: 3px 11px;
  color: #A9C3EF;
}

.status-dot {
  width: 8px; height: 8px; border-radius: 50%; display: inline-block;
  background: #29C46B;
  box-shadow: 0 0 0 0 rgba(41,196,107,.5);
  animation: pulse-dot 2.2s infinite;
}
@keyframes pulse-dot {
  0%   { box-shadow: 0 0 0 0 rgba(41,196,107,.45); }
  70%  { box-shadow: 0 0 0 7px rgba(41,196,107,0); }
  100% { box-shadow: 0 0 0 0 rgba(41,196,107,0); }
}

.console-body {
  padding: 26px 26px 30px;
  font-family: var(--font-mono); font-size: 13.5px; line-height: 2.05;
  color: #A9C3EF;
  min-height: 300px;
}
.console-body .c-prompt { color: #fff; }
.console-body .c-prompt::before { content: "❯ "; color: var(--pulse); }
.console-body .c-ok { color: #8EE59F; }
.console-body .c-ok::before { content: "✓ "; }
.console-body .c-warn { color: #FFC66B; }
.console-body .c-warn::before { content: "⚠ "; }
.console-body .c-dim { color: #5A729E; }
.console-body .c-src { color: #5A729E; font-size: 12px; }
.console-body .c-src a { color: var(--sky); }
.console-cursor {
  display: inline-block; width: 8px; height: 16px; margin-left: 2px;
  background: var(--pulse); vertical-align: text-bottom;
  animation: caret-blink 1.1s steps(1) infinite;
}
@keyframes caret-blink { 50% { opacity: 0; } }

.console-caption {
  font-family: var(--font-mono); font-size: 11.5px; color: #7C93BE;
  text-align: center; padding: 12px 18px;
  border-top: 1px solid rgba(97,166,255,.14);
  background: var(--midnight-2);
}

/* --- Marquee ------------------------------------------------------------ */

.marquee-band { border-block: 1px solid var(--line); padding: 22px 0; overflow: hidden; }
.marquee { display: flex; gap: 0; width: max-content; animation: marquee 34s linear infinite; }
.marquee-band:hover .marquee { animation-play-state: paused; }
.marquee ul {
  display: flex; list-style: none; gap: 56px; padding-right: 56px;
  font-family: var(--font-mono); font-size: 14px; color: #71869F; white-space: nowrap;
}
.marquee li::before { content: "◆ "; color: var(--sky); font-size: 9px; vertical-align: 2px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* --- Capabilities grid --------------------------------------------------- */

.cap-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}

.cap-card {
  position: relative;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px;
  display: flex; flex-direction: column; gap: 12px;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), border-color .3s;
}
.cap-card:hover {
  transform: translateY(-5px);
  border-color: rgba(6,99,232,.4);
  box-shadow: var(--shadow-card);
}

.cap-card.cap-wide {
  grid-column: span 3;
  flex-direction: row; align-items: center; gap: 40px;
  background: linear-gradient(115deg, #fff 55%, #EEF5FF);
}
.cap-wide .cap-copy { flex: 1; display: flex; flex-direction: column; gap: 12px; }
.cap-wide .cap-aside {
  flex: 0 0 320px;
  font-family: var(--font-mono); font-size: 12.5px; line-height: 2.05;
  background: var(--midnight); color: #A9C3EF; border-radius: var(--radius-sm);
  padding: 20px 22px;
}
.cap-wide .cap-aside .c-key { color: var(--pulse); }
.cap-wide .cap-aside .c-str { color: #8EE59F; }
.cap-wide .cap-aside .c-dim { color: #5A729E; }

.cap-path {
  font-family: var(--font-mono); font-size: 12.5px; color: var(--azure);
}
.cap-card h3 { font-size: 20px; }
.cap-card p { font-size: 15.5px; }
.cap-more {
  margin-top: auto; padding-top: 8px;
  font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; gap: 8px;
}
.cap-more svg { width: 15px; height: 15px; transition: transform .25s var(--ease-out); }
.cap-card:hover .cap-more svg { transform: translateX(4px); }

/* --- Process (dark band) -------------------------------------------------- */

.process { background: var(--midnight); color: #A9C3EF; position: relative; overflow: hidden; }
.process::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(97,166,255,.12) 1.2px, transparent 1.2px);
  background-size: 26px 26px;
  pointer-events: none;
}
.process .wrap { position: relative; }
.process h2 { color: #fff; }
.process .section-head p { color: #A9C3EF; }

.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }

.step {
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(97,166,255,.22);
  border-radius: var(--radius-sm);
  padding: 24px 20px;
  transition: background .3s, border-color .3s, transform .3s var(--ease-out);
}
.step:hover { background: rgba(255,255,255,.08); border-color: rgba(97,166,255,.5); transform: translateY(-4px); }
.step-num {
  font-family: var(--font-mono); font-size: 12.5px; color: var(--pulse);
  display: block; margin-bottom: 14px;
}
.step h3 { color: #fff; font-size: 18px; margin-bottom: 8px; }
.step p { font-size: 14.5px; line-height: 1.6; }

.process-rail {
  height: 3px; background: rgba(97,166,255,.18); border-radius: 3px;
  margin: 0 4px 40px; overflow: hidden; position: relative;
}
.process-rail::after {
  content: ""; position: absolute; inset: 0; border-radius: 3px;
  background: linear-gradient(90deg, var(--azure), var(--pulse));
  transform: scaleX(0); transform-origin: left;
  transition: transform 1.6s var(--ease-out) .2s;
}
.process.is-inview .process-rail::after { transform: scaleX(1); }

/* --- Stats ---------------------------------------------------------------- */

.stats-band { padding: 72px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat {
  border-left: 2px solid var(--line); padding-left: 24px;
  transition: border-color .3s;
}
.stat:hover { border-color: var(--azure); }
.stat-num {
  font-family: var(--font-display); font-weight: 800; color: var(--ink);
  font-size: clamp(34px, 4vw, 46px); letter-spacing: -.02em; line-height: 1.1;
}
.stat-num sup { font-size: .55em; color: var(--azure); }
.stat-label { font-size: 15px; margin-top: 6px; }

/* --- Why / split ------------------------------------------------------------ */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

.checklist { list-style: none; display: grid; gap: 18px; margin-top: 28px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; font-size: 16.5px; }
.checklist .tick {
  flex: 0 0 26px; height: 26px; border-radius: 8px;
  background: rgba(6,99,232,.1); color: var(--azure);
  display: grid; place-items: center; margin-top: 2px;
}
.checklist .tick svg { width: 14px; height: 14px; }
.checklist strong { color: var(--ink); }

.terminal {
  background: var(--midnight); border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  font-family: var(--font-mono); font-size: 13.5px; line-height: 2;
  overflow: hidden;
}
.terminal-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 13px 18px; background: var(--midnight-2);
}
.terminal-bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.16); }
.terminal-bar i:first-child { background: #FF6159; }
.terminal-bar i:nth-child(2) { background: #FFBD2E; }
.terminal-bar i:nth-child(3) { background: #29C46B; }
.terminal-bar span { margin-left: 10px; font-size: 12px; color: #7C93BE; }
.terminal-body { padding: 22px 24px; color: #A9C3EF; }
.terminal-body .t-cmd { color: #fff; }
.terminal-body .t-cmd::before { content: "❯ "; color: var(--pulse); }
.terminal-body .t-ok { color: #8EE59F; }
.terminal-body .t-dim { color: #5A729E; }

/* --- CTA band ---------------------------------------------------------------- */

.cta-band {
  background:
    radial-gradient(700px 340px at 15% 0%, rgba(47,212,255,.16), transparent 60%),
    linear-gradient(120deg, var(--azure-2), var(--azure));
  padding: 88px 0;
}
.cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 48px;
}
.cta-title { color: #fff; font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 12px; max-width: 620px; }
.cta-sub { color: rgba(255,255,255,.82); max-width: 540px; font-size: 17px; }
.cta-actions { display: flex; gap: 14px; flex-shrink: 0; flex-wrap: wrap; }

/* --- Footer -------------------------------------------------------------------- */

.site-footer { background: var(--midnight); color: #8FA6CE; padding: 72px 0 36px; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 52px; border-bottom: 1px solid rgba(97,166,255,.16);
}
.footer-brand p { font-size: 15px; max-width: 320px; margin-top: 16px; }
.logo-footer { color: #fff; }
.footer-mono { font-family: var(--font-mono); font-size: 12.5px; color: #5A729E; }
.footer-col h3 {
  font-family: var(--font-mono); font-weight: 500; font-size: 13px;
  color: var(--pulse); margin-bottom: 18px;
}
.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { color: #A9C3EF; font-size: 15px; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-base {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding-top: 28px; font-size: 14px;
}

/* --- Page hero (inner pages) ------------------------------------------------------ */

.page-hero {
  padding: 84px 0 64px;
  background:
    radial-gradient(760px 400px at 90% -20%, rgba(97,166,255,.15), transparent 65%),
    var(--paper);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(34px, 4.6vw, 52px); font-weight: 800; margin-bottom: 18px; max-width: 780px; }
.page-hero .lede { font-size: 19px; max-width: 640px; }
.page-hero h1 em { font-style: normal; color: var(--azure); }

/* --- Services overview list -------------------------------------------------------- */

.svc-rows { display: grid; gap: 16px; }
.svc-row {
  display: grid; grid-template-columns: 200px 1fr auto; gap: 28px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 32px; color: inherit;
  transition: transform .3s var(--ease-out), border-color .3s, box-shadow .3s var(--ease-out);
}
.svc-row:hover { transform: translateX(6px); border-color: rgba(6,99,232,.4); box-shadow: var(--shadow-card); }
.svc-row .cap-path { font-size: 13px; }
.svc-row h3 { font-size: 21px; margin-bottom: 6px; }
.svc-row p { font-size: 15.5px; }
.svc-row .svc-arrow {
  width: 44px; height: 44px; border-radius: var(--radius-btn);
  border: 1.5px solid var(--line); color: var(--ink);
  display: grid; place-items: center; transition: background .25s, color .25s, border-color .25s;
}
.svc-row .svc-arrow svg { width: 18px; height: 18px; }
.svc-row:hover .svc-arrow { background: var(--azure); border-color: var(--azure); color: #fff; }

/* --- Service detail ------------------------------------------------------------------ */

.svc-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }

.deliver-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.deliver-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform .3s var(--ease-out), border-color .3s, box-shadow .3s var(--ease-out);
}
.deliver-card:hover { transform: translateY(-4px); border-color: rgba(6,99,232,.4); box-shadow: var(--shadow-card); }
.deliver-card h3 { font-size: 17px; margin-bottom: 8px; }
.deliver-card p { font-size: 14.5px; }
.deliver-num { font-family: var(--font-mono); font-size: 12px; color: var(--azure); display: block; margin-bottom: 12px; }

.tech-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.tech-tags span {
  font-family: var(--font-mono); font-size: 13px;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: 7px 16px; color: var(--slate);
  transition: border-color .2s, color .2s;
}
.tech-tags span:hover { border-color: var(--azure); color: var(--azure); }

/* --- About -------------------------------------------------------------------------------- */

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.prose { max-width: 700px; }
.prose p + p { margin-top: 18px; }
.prose strong { color: var(--ink); }

/* --- Contact --------------------------------------------------------------------------------- */

.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: start; }

.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 40px; box-shadow: var(--shadow-card);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 20px; }
.field label {
  display: block; font-weight: 600; font-size: 14.5px; color: var(--ink); margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 13px 16px; background: var(--paper);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--azure);
  box-shadow: 0 0 0 4px rgba(6,99,232,.12);
}
.hp-field { position: absolute; left: -9999px; }

.form-note { font-size: 13.5px; color: #71869F; margin-top: 14px; }

.alert-ok {
  background: rgba(41,196,107,.1); border: 1px solid rgba(41,196,107,.4);
  color: #14713D; border-radius: var(--radius-sm);
  padding: 16px 20px; margin-bottom: 24px; font-weight: 500;
}

.contact-side h2 { font-size: 25px; margin-bottom: 20px; }
.next-steps { list-style: none; display: grid; gap: 22px; }
.next-steps li { display: flex; gap: 18px; }
.next-steps .ns-num {
  font-family: var(--font-mono); color: var(--azure); font-size: 13px;
  flex: 0 0 44px; height: 44px; border: 1.5px solid var(--line); border-radius: var(--radius-btn);
  display: grid; place-items: center;
}
.next-steps h3 { font-size: 16.5px; margin-bottom: 4px; }
.next-steps p { font-size: 14.5px; }

/* --- Reveal animations -------------------------------------------------------------------------- */

.reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.reveal.d1 { transition-delay: .12s; }
.reveal.d2 { transition-delay: .24s; }
.reveal.d3 { transition-delay: .36s; }
.reveal.is-visible { opacity: 1; transform: none; }

/* --- Responsive -------------------------------------------------------------------------- */

@media (max-width: 1020px) {
  .section { padding: 80px 0; }
  .hero-grid, .svc-hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .cap-grid { grid-template-columns: 1fr 1fr; }
  .cap-card.cap-wide { grid-column: span 2; flex-direction: column; align-items: stretch; }
  .cap-wide .cap-aside { flex-basis: auto; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .svc-row { grid-template-columns: 1fr auto; }
  .svc-row .cap-path { grid-column: 1 / -1; }
  .deliver-grid, .values-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .hero { padding: 56px 0 64px; }
  .cap-grid { grid-template-columns: 1fr; }
  .cap-card.cap-wide { grid-column: span 1; }
  .steps { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .deliver-grid, .values-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 28px 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .svc-row { padding: 22px; }
  .console-body { min-height: 260px; padding: 20px 18px 24px; font-size: 12.5px; }

  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: 74px 0 auto 0; z-index: 99;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 18px 24px 26px;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform .3s var(--ease-out), opacity .3s;
  }
  .site-nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .site-nav > a:not(.btn) { padding: 12px 0; font-size: 18px; }
  .site-nav .btn-nav { margin-top: 12px; justify-content: center; }
}

/* --- Reduced motion -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .marquee { animation: none; }
}
