/* =====================================================================
   MRP TECHNOLOGIES — Core Stylesheet
   Light theme · Indigo + Teal with vibrant gradient accents
   ===================================================================== */

/* ----------------------------- 1. Tokens ---------------------------- */
:root {
  /* Primary — Material Indigo */
  --primary:     #3949ab;
  --primary-d:   #283593;
  --primary-l:   #5c6bc0;
  --primary-50:  #e8eaf6;
  --primary-100: #c5cae9;

  /* Accent — Material Teal */
  --accent:      #00897b;
  --accent-d:    #00695c;
  --accent-l:    #26a69a;
  --accent-50:   #e0f2f1;

  /* Extra accent colours for a richer, more colourful palette */
  --violet:      #7b42bc;
  --violet-50:   #f3e8ff;
  --blue:        #1e88e5;
  --blue-50:     #e3f2fd;
  --pink:        #ec407a;
  --pink-50:     #fce4ec;
  --amber:       #ffb300;
  --amber-50:    #fff8e1;

  /* Gradients — used for hero, CTA, buttons, accents */
  --grad-primary: linear-gradient(135deg, #3949ab 0%, #5c6bc0 55%, #7b42bc 100%);
  --grad-accent:  linear-gradient(135deg, #00897b 0%, #26a69a 50%, #1e88e5 100%);
  --grad-warm:    linear-gradient(135deg, #ec407a 0%, #7b42bc 55%, #3949ab 100%);
  --grad-text:    linear-gradient(120deg, #3949ab 0%, #7b42bc 45%, #00897b 100%);
  --grad-hero:    linear-gradient(135deg, #283593 0%, #3949ab 40%, #5c6bc0 70%, #7b42bc 100%);

  /* Surfaces */
  --bg-0: #ffffff;
  --bg-1: #f5f7fa;
  --bg-2: #eef1f6;
  --bg-3: #e4e9f2;
  --line: #e3e7ee;
  --line-strong: #ccd3e0;

  /* Text — Material grey scale */
  --tx-0: #1a1e2b;
  --tx-1: #454d5e;
  --tx-2: #6b7280;
  --tx-3: #98a0af;

  /* Status */
  --ok:   #2e7d32;
  --warn: #ef6c00;
  --crit: #c62828;

  /* Metrics */
  --nav-h: 76px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 22px;
  --maxw: 1240px;
  --ease: cubic-bezier(.22, 1, .36, 1);

  /* Material elevation */
  --e1: 0 1px 2px rgba(26, 30, 43, .06), 0 1px 3px rgba(26, 30, 43, .07);
  --e2: 0 3px 6px rgba(26, 30, 43, .07), 0 3px 10px rgba(26, 30, 43, .08);
  --e3: 0 10px 20px rgba(26, 30, 43, .08), 0 6px 6px rgba(26, 30, 43, .06);
  --e4: 0 18px 38px rgba(26, 30, 43, .12), 0 12px 12px rgba(26, 30, 43, .06);

  --f-sans: 'Inter', 'Segoe UI', system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --f-display: 'Space Grotesk', 'Inter', 'Segoe UI', system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, "SF Mono", Consolas, monospace;
}

/* ----------------------------- 2. Reset ----------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--f-sans);
  background: var(--bg-0);
  color: var(--tx-1);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }

::selection { background: var(--primary-100); color: var(--tx-0); }

::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bg-1); }
::-webkit-scrollbar-thumb { background: #c9d0dd; border-radius: 20px; border: 3px solid var(--bg-1); }
::-webkit-scrollbar-thumb:hover { background: #aab3c4; }

:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 4px; }

/* --------------------------- 3. Typography -------------------------- */
h1, h2, h3, h4, h5 {
  font-family: var(--f-display);
  color: var(--tx-0);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.025em;
}

h1 { font-size: clamp(2.5rem, 5.6vw, 4.2rem); }
h2 { font-size: clamp(1.95rem, 3.8vw, 2.9rem); }
h3 { font-size: clamp(1.22rem, 2vw, 1.55rem); letter-spacing: -.018em; }
h4 { font-size: 1.08rem; letter-spacing: -.012em; }

p { color: var(--tx-1); }
strong { color: var(--tx-0); font-weight: 600; }

/* Gradient accent text — indigo → violet → teal */
.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--primary);
}
/* Fallback for browsers without background-clip:text */
@supports not (background-clip: text) { .grad-text { color: var(--primary); } }

.lead { font-size: clamp(1.04rem, 1.5vw, 1.2rem); color: var(--tx-2); line-height: 1.7; }

/* ----------------------------- 4. Layout ---------------------------- */
.wrap { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }
.section { padding: clamp(68px, 8.5vw, 124px) 0; position: relative; }
.section--tight { padding: clamp(48px, 6vw, 78px) 0; }

.grid { display: grid; gap: 24px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.mt-1 { margin-top: 10px; } .mt-2 { margin-top: 20px; } .mt-3 { margin-top: 32px; } .mt-4 { margin-top: 50px; }

.sec-head { max-width: 720px; margin-bottom: 52px; }
.sec-head.center { margin-inline: auto; }
.sec-head p { margin-top: 16px; font-size: 1.06rem; color: var(--tx-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  flex-wrap: wrap; max-width: 100%; line-height: 1.8;
  font-family: var(--f-mono);
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--primary);
  padding: 6px 13px; margin-bottom: 18px;
  border: 1px solid var(--primary-100); border-radius: 4px;
  background: var(--primary-50);
}
.eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }

/* ------------------------------ 5. Buttons -------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 26px;
  border-radius: var(--r-sm);
  font-weight: 600; font-size: .95rem;
  transition: background .25s, color .25s, border-color .25s, box-shadow .25s, transform .25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn--primary { background: var(--grad-primary); color: #fff; box-shadow: var(--e2); }
.btn--primary:hover { background: linear-gradient(135deg, #283593 0%, #3949ab 55%, #5c6bc0 100%); box-shadow: var(--e3); transform: translateY(-1px); }

.btn--ghost { border: 1px solid var(--line-strong); color: var(--tx-0); background: #fff; }
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-50); }

/* Used on the solid primary CTA panel */
.btn--light { background: #fff; color: var(--primary); box-shadow: var(--e2); }
.btn--light:hover { background: var(--primary-50); box-shadow: var(--e3); transform: translateY(-1px); }

.btn--sm { padding: 9px 18px; font-size: .87rem; }
.btn--lg { padding: 16px 32px; font-size: 1rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row.center { justify-content: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: .92rem; color: var(--primary);
  transition: gap .3s var(--ease), color .25s;
}
.link-arrow svg { width: 15px; height: 15px; }
.link-arrow:hover { gap: 13px; color: var(--primary-d); }

/* ------------------------------ 6. Header --------------------------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 900;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, height .3s, box-shadow .3s;
}
.header.is-stuck { border-bottom-color: var(--line); box-shadow: var(--e1); height: 66px; }
.header__inner { display: flex; align-items: center; gap: 34px; width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }

.logo { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.logo__mark { width: 38px; height: 38px; flex-shrink: 0; }
.logo__txt { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-family: var(--f-display); font-weight: 700; font-size: 1.3rem; letter-spacing: -.04em; color: var(--primary); }
.logo__sub { font-family: var(--f-mono); font-size: .56rem; letter-spacing: .3em; text-transform: uppercase; color: var(--tx-2); margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav__link {
  position: relative; padding: 9px 14px; border-radius: var(--r-sm);
  font-size: .93rem; font-weight: 500; color: var(--tx-1);
  transition: color .2s, background .2s;
}
.nav__link:hover { color: var(--primary); background: var(--primary-50); }
.nav__link.is-active { color: var(--primary); font-weight: 600; }
.nav__link.is-active::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 1px; height: 2px; background: var(--primary); border-radius: 2px; }
.header__cta { display: flex; align-items: center; gap: 12px; margin-left: 12px; }

.burger { display: none; width: 42px; height: 42px; border-radius: var(--r-sm); border: 1px solid var(--line-strong); background: #fff; margin-left: auto; }
.burger span { display: block; width: 18px; height: 2px; background: var(--tx-0); margin: 4px auto; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 890;
  background: #fff; padding: 26px 0 50px; overflow-y: auto;
  transform: translateY(-10px); opacity: 0; pointer-events: none;
  transition: opacity .25s, transform .3s var(--ease);
}
.mobile-nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
.mobile-nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 17px 4px; font-family: var(--f-display); font-size: 1.45rem; font-weight: 600; color: var(--tx-0);
  border-bottom: 1px solid var(--line);
}
.mobile-nav a span { color: var(--tx-3); font-size: .88rem; font-family: var(--f-mono); }
.mobile-nav .btn { margin-top: 28px; border-bottom: 0; color: #fff; }

/* ------------------------------ 7. Hero ----------------------------- */
.hero { position: relative; padding: calc(var(--nav-h) + 88px) 0 96px; overflow: hidden; background: var(--bg-1); border-bottom: 1px solid var(--line); }
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background: var(--grad-hero);
  opacity: .04;
}

.bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(57,73,171,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57,73,171,.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, #000, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
}
/* Soft colour fields — multi-hue for a richer, more colourful hero */
.bg-orb { position: absolute; border-radius: 50%; filter: blur(8px); animation: orbfloat 14s ease-in-out infinite; }
.orb-1 { width: 520px; height: 520px; top: -200px; left: -140px; background: radial-gradient(circle at 30% 30%, #5c6bc0, #3949ab); opacity: .14; }
.orb-2 { width: 420px; height: 420px; top: -120px; right: -110px; background: radial-gradient(circle at 30% 30%, #26a69a, #00897b); opacity: .16; animation-delay: -3s; }
.orb-3 { width: 560px; height: 380px; bottom: -260px; left: 40%; background: radial-gradient(circle at 50% 50%, #7b42bc, #3949ab); opacity: .10; animation-delay: -6s; }
.orb-4 { width: 300px; height: 300px; bottom: -120px; right: 18%; background: radial-gradient(circle at 30% 30%, #ec407a, #7b42bc); opacity: .08; animation-delay: -9s; }
@keyframes orbfloat { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(20px,-18px) scale(1.05); } }

.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.02fr .98fr; gap: 58px; align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero__sub { font-size: clamp(1.02rem, 1.4vw, 1.16rem); color: var(--tx-2); max-width: 560px; line-height: 1.72; }
.hero .btn-row { margin-top: 34px; }

.hero__meta { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line-strong); }
.hero__meta div { display: flex; flex-direction: column; }
.hero__meta b { font-family: var(--f-display); font-size: 1.6rem; color: var(--primary); letter-spacing: -.03em; }
.hero__meta span { font-size: .8rem; color: var(--tx-3); }

/* Console mock */
.console { border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; box-shadow: var(--e4); overflow: hidden; }
.console__bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--bg-1); }
.console__dots { display: flex; gap: 6px; }
.console__dots i { width: 10px; height: 10px; border-radius: 50%; background: #d5dbe6; display: block; }
.console__dots i:nth-child(1) { background: #ef5350; } .console__dots i:nth-child(2) { background: #ffa726; } .console__dots i:nth-child(3) { background: #66bb6a; }
.console__title { font-family: var(--f-mono); font-size: .73rem; color: var(--tx-3); margin-left: 6px; }
.console__live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: .67rem; color: var(--accent); letter-spacing: .1em; }
.console__live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
.console__body { padding: 16px; display: grid; gap: 14px; }

.kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { padding: 13px; border-radius: var(--r-md); background: var(--bg-1); border: 1px solid var(--line); }
.kpi span { font-family: var(--f-mono); font-size: .63rem; letter-spacing: .1em; text-transform: uppercase; color: var(--tx-3); }
.kpi b { display: block; font-family: var(--f-display); font-size: 1.45rem; color: var(--tx-0); margin-top: 4px; letter-spacing: -.03em; }
.kpi small { font-size: .72rem; color: var(--ok); }
.kpi small.down { color: var(--crit); }

.feed { border-radius: var(--r-md); border: 1px solid var(--line); background: #fff; overflow: hidden; }
.feed__head { display: flex; justify-content: space-between; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--bg-1); font-family: var(--f-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--tx-3); }
.feed__list { max-height: 208px; overflow: hidden; }
.feed__item { display: flex; align-items: center; gap: 11px; padding: 11px 14px; border-bottom: 1px solid var(--line); font-size: .82rem; animation: feedIn .45s var(--ease) backwards; }
@keyframes feedIn { from { opacity: 0; transform: translateY(-8px); } }
.feed__item:last-child { border-bottom: 0; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.dot--crit { background: var(--crit); }
.dot--warn { background: var(--warn); }
.dot--ok   { background: var(--ok); }
.feed__item p { flex: 1; color: var(--tx-1); font-size: .82rem; line-height: 1.4; }
.feed__item time { font-family: var(--f-mono); font-size: .67rem; color: var(--tx-3); }
.tag { font-family: var(--f-mono); font-size: .62rem; padding: 3px 8px; border-radius: 3px; letter-spacing: .06em; text-transform: uppercase; }
.tag--crit { background: #ffebee; color: var(--crit); }
.tag--warn { background: #fff3e0; color: var(--warn); }
.tag--ok   { background: var(--accent-50); color: var(--accent-d); }

/* --------------------------- 8. Trust strip ------------------------- */
.trust { padding: 40px 0; border-bottom: 1px solid var(--line); background: #fff; }
.trust p { text-align: center; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--tx-3); margin-bottom: 24px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 64px; width: max-content; animation: scroll 34s linear infinite; }
.trust:hover .marquee__track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }
.marquee__track span { font-family: var(--f-display); font-size: 1.25rem; font-weight: 600; color: var(--tx-3); transition: color .25s; white-space: nowrap; }
.marquee__track span:hover { color: var(--primary); }

/* ------------------------------ 9. Cards ---------------------------- */
.card {
  position: relative; padding: 28px; border-radius: var(--r-lg);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--e1);
  transition: transform .3s var(--ease), border-color .25s, box-shadow .3s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: var(--primary-100); box-shadow: var(--e3); }
.card h3 { margin-bottom: 11px; }
.card p { font-size: .93rem; color: var(--tx-2); line-height: 1.66; }

.card__icon {
  width: 50px; height: 50px; border-radius: var(--r-md); display: grid; place-items: center;
  margin-bottom: 20px; background: var(--primary-50);
}
.card__icon svg { width: 24px; height: 24px; stroke: var(--primary); fill: none; stroke-width: 1.6; }
.card:nth-child(even) .card__icon { background: var(--accent-50); }
.card:nth-child(even) .card__icon svg { stroke: var(--accent); }

.card__list { margin-top: 18px; display: grid; gap: 9px; }
.card__list li { display: flex; gap: 10px; font-size: .88rem; color: var(--tx-2); }
.card__list li::before {
  content: ''; flex-shrink: 0; width: 16px; height: 16px; margin-top: 4px; border-radius: 3px;
  background-color: var(--accent-50);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300897b' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 10px; background-repeat: no-repeat; background-position: center;
}

.card--num { padding-top: 30px; }
.card__num { font-family: var(--f-display); font-size: 2.6rem; font-weight: 700; line-height: 1; color: var(--primary-100); margin-bottom: 14px; }

.card--flat:hover { transform: none; box-shadow: var(--e1); border-color: var(--line); }

.card--rule::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 3px;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  background: var(--grad-primary); opacity: 0; transition: opacity .3s;
}
.card--rule:nth-child(even)::before { background: var(--grad-accent); }
.card--rule:hover::before { opacity: 1; }

/* ---------------------------- 10. Stat band -------------------------- */
.stats { border-block: 1px solid var(--line); background: var(--bg-1); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.stat { padding: 36px 26px; background: #fff; text-align: center; }
.stat b { display: block; font-family: var(--f-display); font-size: clamp(2.1rem, 3.8vw, 3rem); letter-spacing: -.04em; color: var(--primary); }
.stat:nth-child(even) b { color: var(--accent); }
.stat span { display: block; margin-top: 6px; font-size: .86rem; color: var(--tx-2); }

/* --------------------------- 11. Split media ------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 62px; align-items: center; }
.split--rev .split__media { order: -1; }
.split--form { grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: start; }

.frame { position: relative; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; padding: 22px; box-shadow: var(--e3); }

/* Radar / posture visual */
.radar { aspect-ratio: 1; max-width: 380px; margin-inline: auto; position: relative; }
.radar__ring { position: absolute; inset: 0; border: 1px solid var(--line); border-radius: 50%; }
.radar__ring:nth-child(2) { inset: 13%; } .radar__ring:nth-child(3) { inset: 26%; } .radar__ring:nth-child(4) { inset: 39%; }
.radar__sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0deg, rgba(57,73,171,.14) 40deg, transparent 70deg); animation: spin 5s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.radar__blip { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); animation: blip 3s infinite; }
@keyframes blip { 0%,100% { opacity: .3; } 50% { opacity: 1; } }
.radar__core { position: absolute; inset: 45%; border-radius: 50%; background: var(--primary); }

/* Bar chart mock */
.bars { display: flex; align-items: flex-end; gap: 9px; height: 180px; padding-top: 10px; }
.bars i { flex: 1; border-radius: 3px 3px 0 0; background: var(--primary); display: block; animation: grow 1s var(--ease) backwards; }
.bars i:nth-child(even) { background: var(--accent); }
@keyframes grow { from { height: 4px !important; opacity: 0; } }

/* ------------------------ 12. Process timeline ----------------------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps::before { content: ''; position: absolute; top: 26px; left: 8%; right: 8%; height: 2px; background: var(--line); }
.step { position: relative; text-align: center; }
.step__dot {
  width: 52px; height: 52px; margin: 0 auto 18px; border-radius: 50%;
  display: grid; place-items: center; position: relative; z-index: 2;
  background: #fff; border: 2px solid var(--line-strong);
  font-family: var(--f-display); font-weight: 700; color: var(--tx-2);
  transition: all .3s var(--ease);
}
.step:hover .step__dot { border-color: var(--primary); background: var(--primary); color: #fff; box-shadow: var(--e2); }
.step h4 { margin-bottom: 7px; }
.step p { font-size: .87rem; color: var(--tx-2); }

/* ------------------ 13. Sticky scroll story section ------------------ */
.scroller__inner { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: 60px; align-items: start; }

.scroller__left { position: sticky; top: 106px; }
.scroller__meter { height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; margin-top: 26px; }
.scroller__meter span { display: block; height: 100%; width: 25%; background: var(--primary); border-radius: 3px; transition: width .5s var(--ease); }

.scroller__nav { margin-top: 22px; display: grid; gap: 4px; }
.scroller__nav button {
  display: flex; align-items: flex-start; gap: 15px; width: 100%; text-align: left;
  padding: 15px 16px; border-radius: var(--r-md);
  border: 1px solid transparent; transition: background .3s, border-color .3s;
}
.scroller__nav button:hover { background: var(--bg-1); }
.scroller__nav li.is-active button { background: #fff; border-color: var(--line); box-shadow: var(--e1); }
.scroller__num {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: var(--r-sm);
  display: grid; place-items: center;
  font-family: var(--f-mono); font-size: .74rem; font-weight: 500;
  background: var(--bg-2); color: var(--tx-2); transition: background .3s, color .3s;
}
.scroller__nav li.is-active .scroller__num { background: var(--primary); color: #fff; }
.scroller__nav b { display: block; font-family: var(--f-display); font-size: 1.02rem; color: var(--tx-2); transition: color .3s; }
.scroller__nav li.is-active b { color: var(--tx-0); }
.scroller__nav small { display: block; font-size: .85rem; color: var(--tx-3); margin-top: 3px; line-height: 1.55; }

.scroller__right { position: relative; }
/* The stage stays in flow (so its sticky travel is correctly bounded by the
   column) and the trigger track is pulled up underneath it instead. */
.scroller__stage { position: sticky; top: 106px; height: 470px; z-index: 2; }
.scroller__visual {
  position: absolute; inset: 0;
  opacity: 0; transform: translateY(16px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
  pointer-events: none;
}
.scroller__visual.is-active { opacity: 1; transform: none; pointer-events: auto; }
.scroller__visual .frame { height: 100%; display: flex; flex-direction: column; overflow: hidden; }
.scroller__vhead { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.scroller__vhead h4 { font-size: 1rem; }
.scroller__vhead span { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--tx-3); }
.scroller__triggers { position: relative; z-index: 1; margin-top: -470px; }
.scroller__trigger { height: 78vh; }
.scroller__triggers::after { content: ''; display: block; height: 470px; }

/* --------------------------- 14. Case cards -------------------------- */
.case { display: block; position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--e1); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .25s; }
.case:hover { transform: translateY(-4px); box-shadow: var(--e3); border-color: var(--primary-100); }
.case__top { height: 180px; position: relative; background: var(--primary-50); overflow: hidden; }
.case:nth-child(even) .case__top { background: var(--accent-50); }
.case__top img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.case:hover .case__top img { transform: scale(1.06); }
.case__top::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background-image: linear-gradient(rgba(26,30,43,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(26,30,43,.05) 1px, transparent 1px);
  background-size: 24px 24px;
}
/* Gradient wash over the thumbnail so the badge stays readable and the colour pops */
.case__top::after {
  content: ''; position: absolute; inset: 0; z-index: 1; opacity: .55;
  background: linear-gradient(135deg, rgba(57,73,171,.85) 0%, rgba(91,107,192,.7) 55%, rgba(123,66,188,.8) 100%);
  transition: opacity .4s var(--ease);
}
.case:nth-child(even) .case__top::after { background: linear-gradient(135deg, rgba(0,137,123,.85) 0%, rgba(38,166,154,.7) 50%, rgba(30,136,229,.8) 100%); }
.case:hover .case__top::after { opacity: .4; }
.case__badge {
  position: absolute; top: 14px; left: 14px; z-index: 3;
  font-family: var(--f-mono); font-size: .65rem; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 3px; background: #fff; border: 1px solid var(--line); color: var(--tx-1);
}
.case__body { padding: 24px; }
.case__body h3 { font-size: 1.18rem; margin-bottom: 9px; }
.case__body p { font-size: .89rem; color: var(--tx-2); }
.case__stats { display: flex; gap: 24px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.case__stats b { display: block; font-family: var(--f-display); font-size: 1.25rem; color: var(--primary); }
.case__stats span { font-size: .73rem; color: var(--tx-3); }

/* -------------------------- 15. Testimonials ------------------------- */
.quotes { position: relative; }
.quote { display: none; text-align: center; max-width: 840px; margin-inline: auto; }
.quote.is-active { display: block; animation: fadeUp .5s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } }
.quote blockquote { font-family: var(--f-display); font-size: clamp(1.28rem, 2.3vw, 1.85rem); line-height: 1.45; color: var(--tx-0); letter-spacing: -.022em; font-weight: 500; }
.quote blockquote::before, .quote blockquote::after { content: '“'; color: var(--primary-100); }
.quote blockquote::after { content: '”'; }
.quote__who { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 30px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-display); font-weight: 700; color: #fff; background: var(--primary); font-size: .95rem; }
.card:nth-child(even) .avatar { background: var(--accent); }
.quote__who div { text-align: left; }
.quote__who b { display: block; color: var(--tx-0); font-size: .94rem; }
.quote__who span { font-size: .83rem; color: var(--tx-3); }
.quotes__dots { display: flex; justify-content: center; gap: 8px; margin-top: 36px; }
.quotes__dots button { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); transition: all .3s var(--ease); }
.quotes__dots button.is-active { width: 28px; border-radius: 5px; background: var(--primary); }

/* ---------------------------- 16. Accordion -------------------------- */
.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 22px 4px; text-align: left; font-family: var(--f-display); font-size: 1.06rem; font-weight: 600; color: var(--tx-0); transition: color .25s; }
.acc__btn:hover { color: var(--primary); }
.acc__ico { width: 26px; height: 26px; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--line-strong); position: relative; transition: transform .35s var(--ease), background .25s, border-color .25s; }
.acc__ico::before, .acc__ico::after { content: ''; position: absolute; inset: 50% 7px auto; height: 2px; background: var(--tx-2); transform: translateY(-50%); transition: background .25s; }
.acc__ico::after { transform: translateY(-50%) rotate(90deg); transition: opacity .25s; }
.acc__item.is-open .acc__ico { transform: rotate(180deg); background: var(--primary); border-color: var(--primary); }
.acc__item.is-open .acc__ico::before { background: #fff; }
.acc__item.is-open .acc__ico::after { opacity: 0; }
.acc__panel { overflow: hidden; height: 0; transition: height .35s var(--ease); }
.acc__panel p { padding: 0 4px 24px; max-width: 78ch; color: var(--tx-2); font-size: .94rem; }

/* ------------------------------ 17. CTA ------------------------------ */
.cta { position: relative; overflow: hidden; border-radius: var(--r-lg); padding: clamp(44px, 6vw, 72px); text-align: center; background: var(--grad-warm); box-shadow: var(--e3); }
.cta::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 42px 42px;
}
.cta::after {
  content: ''; position: absolute; top: -40%; right: -10%; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,137,123,.45), transparent 70%); pointer-events: none;
}
.cta > * { position: relative; z-index: 2; }
.cta h2 { max-width: 720px; margin-inline: auto; color: #fff; }
.cta p { max-width: 560px; margin: 16px auto 0; color: rgba(255,255,255,.9); }
.cta .btn-row { margin-top: 32px; justify-content: center; }
.cta .btn--ghost { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.cta .btn--ghost:hover { background: rgba(255,255,255,.16); border-color: #fff; color: #fff; }
.cta__note { margin-top: 20px; font-size: .82rem; color: rgba(255,255,255,.7); }

/* ---------------------------- 18. Page hero -------------------------- */
.phero { position: relative; padding: calc(var(--nav-h) + 74px) 0 58px; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--bg-1); }
.phero__bg { position: absolute; inset: 0; z-index: 0; }
.phero__bg .bg-grid { mask-image: linear-gradient(180deg, #000, transparent 75%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 75%); }
.phero__bg .bg-orb { filter: blur(10px); }
.phero__inner { position: relative; z-index: 2; max-width: 800px; }
.phero h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); }
.phero p { margin-top: 18px; font-size: 1.08rem; color: var(--tx-2); max-width: 640px; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: .8rem; color: var(--tx-3); margin-bottom: 20px; font-family: var(--f-mono); }
.crumbs a:hover { color: var(--primary); }

/* ---------------------- 18b. Image / media utilities ----------------- */
.media-img { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--e3); }
.media-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-img--tall img { aspect-ratio: 4 / 3; }
.media-img--pano img { aspect-ratio: 16 / 7; }
.media-img__cap { position: absolute; left: 14px; bottom: 14px; z-index: 2; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; padding: 6px 11px; border-radius: 4px; background: rgba(255,255,255,.92); color: var(--tx-1); backdrop-filter: blur(4px); }
.media-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(26,30,43,.18)); pointer-events: none; }

/* Service / solution feature image inside a frame */
.feature-img { border-radius: var(--r-md); overflow: hidden; margin-bottom: 18px; border: 1px solid var(--line); }
.feature-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.feature-img:hover img { transform: scale(1.04); }

/* Inline team / office photo card */
.photo-card { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--e2); background: #fff; }
.photo-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.photo-card__body { padding: 18px 20px; }
.photo-card__body h4 { margin-bottom: 4px; }
.photo-card__body p { font-size: .87rem; color: var(--tx-2); }

/* ------------------------------ 19. Forms ---------------------------- */
.field { display: grid; gap: 7px; }
.field label { font-size: .84rem; font-weight: 600; color: var(--tx-1); }
.field label span { color: var(--crit); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 15px; border-radius: var(--r-sm);
  background: #fff; border: 1px solid var(--line-strong);
  color: var(--tx-0); font-size: .94rem;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: var(--tx-3); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-50);
}
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center; background-size: 16px; padding-right: 40px; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--crit); }
.field__err { font-size: .78rem; color: var(--crit); display: none; }
.field.has-error .field__err { display: block; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.form-note { font-size: .8rem; color: var(--tx-3); }
.form-note a { color: var(--primary); }

.form-success { display: none; padding: 20px; border-radius: var(--r-md); text-align: center; border: 1px solid var(--accent-l); background: var(--accent-50); color: var(--accent-d); }
.form-success strong { color: var(--accent-d); }
.form-success.is-on { display: block; animation: fadeUp .35s var(--ease); }

.checkline { display: flex; gap: 11px; align-items: flex-start; font-size: .85rem; color: var(--tx-2); }
.checkline input { width: 17px; height: 17px; margin-top: 3px; flex-shrink: 0; accent-color: var(--primary); }
.checkline.has-error label { color: var(--crit); }

/* ---------------------------- 20. Contact aside ---------------------- */
.contact-card { padding: 24px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--bg-1); }
.contact-card + .contact-card { margin-top: 16px; }
.contact-card h4 { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.contact-card h4 svg { width: 18px; height: 18px; stroke: var(--primary); fill: none; stroke-width: 1.7; }
.contact-card p, .contact-card a { font-size: .91rem; color: var(--tx-2); }
.contact-card a:hover { color: var(--primary); }

/* ------------------------------ 21. Footer --------------------------- */
.footer { position: relative; border-top: 3px solid var(--primary); background: var(--bg-1); padding: 66px 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 40px; padding-bottom: 50px; }
.footer__brand p { font-size: .89rem; color: var(--tx-2); margin-top: 16px; max-width: 300px; line-height: 1.7; }
.footer h5 { font-family: var(--f-display); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--tx-0); margin-bottom: 16px; }
.footer ul { display: grid; gap: 10px; }
.footer ul a { font-size: .89rem; color: var(--tx-2); transition: color .2s; }
.footer ul a:hover { color: var(--primary); }

.footer__contact { display: grid; gap: 12px; margin-top: 20px; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--tx-2); line-height: 1.5; }
.footer__contact svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; stroke: var(--primary); fill: none; stroke-width: 1.7; }
.footer__contact a { transition: color .2s; }
.footer__contact a:hover { color: var(--primary); }

.socials { display: flex; gap: 9px; margin-top: 22px; }
.socials a { width: 38px; height: 38px; border-radius: var(--r-sm); display: grid; place-items: center; border: 1px solid var(--line); background: #fff; transition: all .25s var(--ease); }
.socials a svg { width: 17px; height: 17px; fill: var(--tx-2); transition: fill .25s; }
.socials a:hover { background: var(--primary); border-color: var(--primary); }
.socials a:hover svg { fill: #fff; }

.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.badges span { font-family: var(--f-mono); font-size: .67rem; letter-spacing: .06em; padding: 5px 10px; border-radius: 3px; border: 1px solid var(--line); color: var(--tx-2); background: #fff; }

.footer__bottom { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; padding: 22px 0 28px; border-top: 1px solid var(--line); font-size: .83rem; color: var(--tx-3); }
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer__bottom a:hover { color: var(--primary); }

/* --------------------------- 22. Utilities --------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .07s; }
.reveal[data-d="2"] { transition-delay: .14s; }
.reveal[data-d="3"] { transition-delay: .21s; }
.reveal[data-d="4"] { transition-delay: .28s; }
.reveal[data-d="5"] { transition-delay: .35s; }

.divider { height: 1px; background: var(--line); border: 0; }

.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 800;
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--primary); box-shadow: var(--e3);
  opacity: 0; pointer-events: none; transform: translateY(12px);
  transition: opacity .3s, transform .3s var(--ease), background .25s;
}
.to-top:hover { background: var(--primary-d); }
.to-top.is-on { opacity: 1; pointer-events: auto; transform: none; }
.to-top svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2.2; }

.noise { display: none; }

/* Logo lockup image (641x372) — sized by height so it always fits the bar */
.logo__img { height: 48px; width: auto; display: block; transition: height .3s var(--ease); }
.header.is-stuck .logo__img { height: 38px; }
.footer .logo__img { height: 56px; }
@media (max-width: 640px) { .logo__img { height: 38px; } }

/* ------------------- 24. Motion & tech-flavour extras ---------------- */

/* Scroll progress bar pinned above the header */
.progress-top { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 950; background: transparent; pointer-events: none; }
.progress-top span { display: block; height: 100%; width: 0; background: var(--primary); transition: width .1s linear; }
.progress-top span::after { content: ''; float: right; width: 42px; height: 100%; background: var(--accent); }

/* Rotating word — cycles through what we build */
.rotator { display: inline-block; position: relative; color: var(--accent); font-weight: 600; white-space: nowrap; }
.rotator.is-out { opacity: 0; transform: translateY(-6px); }
.rotator { transition: opacity .28s var(--ease), transform .28s var(--ease); }

/* Terminal-style typing with a blinking caret */
.typed::after { content: '▌'; margin-left: 1px; color: var(--accent); animation: caret 1s steps(1) infinite; }
.typed.is-done::after { animation: caret 1.2s steps(1) infinite; }
@keyframes caret { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }

/* Animated node network behind the hero */
.hero__net { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; }
.hero__net path { fill: none; stroke: var(--primary); stroke-width: 1.2; stroke-opacity: .35; stroke-dasharray: 5 9; animation: dashflow 22s linear infinite; }
.hero__net path:nth-child(even) { stroke: var(--accent); animation-duration: 30s; animation-direction: reverse; }
@keyframes dashflow { to { stroke-dashoffset: -280; } }
.hero__net circle { fill: var(--primary); animation: nodepulse 3.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.hero__net circle:nth-child(3n) { fill: var(--accent); }
@keyframes nodepulse { 0%, 100% { opacity: .35; transform: scale(.7); } 50% { opacity: 1; transform: scale(1.15); } }

/* Technology chips marquee */
.chip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 16px; border-radius: 100px;
  border: 1px solid var(--line); background: #fff;
  font-size: .88rem; font-weight: 500; color: var(--tx-1);
  white-space: nowrap; box-shadow: var(--e1);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.chip:hover { transform: translateY(-3px); box-shadow: var(--e3); border-color: var(--line-strong); }
.chip i { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; background: var(--tx-3); }
.marquee__track--chips { gap: 14px; align-items: center; }

/* Micro-interactions */
.card__icon { transition: transform .35s var(--ease), background .3s; }
.card:hover .card__icon { transform: translateY(-3px) scale(1.06); }
.card:hover .card__icon svg { animation: nudge .5s var(--ease); }
@keyframes nudge { 50% { transform: scale(1.12); } }

.stat { transition: background .3s, transform .3s var(--ease); }
.stat:hover { background: var(--primary-50); transform: translateY(-2px); }
.stat:nth-child(even):hover { background: var(--accent-50); }

/* Tinted section variants — a little colour between the white bands */
.section--tint { background: linear-gradient(180deg, #f4f6fd, #eef1fb); border-block: 1px solid var(--line); }
.section--tint-accent { background: linear-gradient(180deg, #f1faf8, #eef9f6); border-block: 1px solid var(--line); }

/* Accent underline used on section headings */
.rule-accent { display: block; width: 56px; height: 4px; border-radius: 2px; background: var(--grad-text); margin-bottom: 20px; }
.rule-accent--teal { background: var(--grad-accent); }
.sec-head.center .rule-accent { margin-inline: auto; }

/* --------------------------- 23. Responsive -------------------------- */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; gap: 50px; }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .scroller__inner { gap: 40px; }
}

@media (max-width: 900px) {
  .nav, .header__cta { display: none; }
  .burger { display: block; }
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .g-3 { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .split, .split--form { grid-template-columns: 1fr; gap: 38px; }
  .split--rev .split__media { order: 0; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .steps::before { display: none; }

  /* Sticky scroll collapses to a simple stacked list */
  .scroller__inner { grid-template-columns: 1fr; gap: 32px; }
  .scroller__left { position: static; }
  .scroller__stage { position: static; height: auto; margin-bottom: 0; display: grid; gap: 18px; }
  .scroller__visual { position: static; opacity: 1; transform: none; pointer-events: auto; }
  .scroller__visual .frame { height: auto; }
  .scroller__triggers { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 15.8px; }
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .kpi-row { grid-template-columns: 1fr; }
  .hero { padding-top: calc(var(--nav-h) + 50px); }
  .hero__meta { gap: 18px; }
  .hero__meta div { min-width: 44%; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .case__stats { gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Longer eyebrow text stays to two tidy lines on small screens */
@media (max-width: 640px) { .eyebrow { letter-spacing: .1em; font-size: .68rem; } }
