/* ==========================================================================
   simsolengsol — Design System
   ========================================================================== */

/* ----- 1. Tokens ---------------------------------------------------------- */
:root {
  /* Brand */
  --brand: #0E3B4A;
  --brand-2: #155264;
  --brand-3: #1B6B82;
  --accent: #E8A33D;
  --accent-2: #C68522;

  /* Surfaces — light */
  --bg: #FAFAF7;
  --surface: #FFFFFF;
  --surface-2: #F2F1EC;
  --surface-3: #E8E6DF;

  /* Text — light */
  --text: #0B1F27;
  --text-muted: #5A6770;
  --text-subtle: #8A9098;

  /* Lines */
  --border: #E5E3DC;
  --border-strong: #CFCCC2;

  /* Status */
  --success: #2D8B6A;
  --danger: #C0432A;

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(11, 31, 39, 0.04), 0 1px 1px rgba(11, 31, 39, 0.03);
  --shadow-md: 0 8px 24px -8px rgba(11, 31, 39, 0.10), 0 2px 6px rgba(11, 31, 39, 0.04);
  --shadow-lg: 0 24px 60px -16px rgba(11, 31, 39, 0.18), 0 8px 20px -8px rgba(11, 31, 39, 0.10);
  --shadow-glow: 0 0 0 1px rgba(232, 163, 61, 0.18), 0 20px 60px -20px rgba(14, 59, 74, 0.25);

  /* Type */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Sizing */
  --container: 1240px;
  --container-narrow: 880px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 160ms;
  --dur: 280ms;
  --dur-slow: 480ms;
}

[data-theme="dark"] {
  --brand: #2BB0CF;
  --brand-2: #56C3DC;
  --brand-3: #8AD6E8;
  --accent: #F4B958;
  --accent-2: #E8A33D;

  --bg: #07151B;
  --surface: #0E222B;
  --surface-2: #143040;
  --surface-3: #1B3D4F;

  --text: #ECF1F2;
  --text-muted: #97A4AB;
  --text-subtle: #6B7C84;

  --border: #1E3D49;
  --border-strong: #2A5566;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px -8px rgba(0, 0, 0, 0.5), 0 2px 6px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 24px 60px -16px rgba(0, 0, 0, 0.6), 0 8px 20px -8px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 0 1px rgba(244, 185, 88, 0.22), 0 20px 60px -20px rgba(43, 176, 207, 0.35);
}

/* ----- 2. Reset & Base ---------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv11", "ss01", "ss03";
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease);
}

button {
  font: inherit;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
}

input, textarea, select {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--accent);
  color: var(--brand);
}

/* ----- 3. Typography ------------------------------------------------------ */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

[data-theme="dark"] .eyebrow { color: var(--accent); }

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text);
}

h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); letter-spacing: -0.035em; line-height: 1.02; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); letter-spacing: -0.028em; line-height: 1.08; }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); }
h4 { font-size: 1.05rem; }

p { color: var(--text-muted); }

.lead {
  font-size: clamp(1.05rem, 1.25vw, 1.2rem);
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 60ch;
}

.mono {
  font-family: var(--font-mono);
  font-feature-settings: "tnum";
}

/* ----- 4. Layout ---------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}

.container--narrow { max-width: var(--container-narrow); }

section { padding-block: clamp(72px, 10vw, 128px); }
section.tight { padding-block: clamp(48px, 6vw, 80px); }

.section-head {
  max-width: 720px;
  margin-bottom: clamp(40px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
  align-items: center;
}

/* ----- 5. Buttons --------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: transform var(--dur-fast) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  white-space: nowrap;
  cursor: pointer;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn--primary:hover { background: var(--brand-2); box-shadow: var(--shadow-lg); }
[data-theme="dark"] .btn--primary { color: #07151B; }

.btn--accent {
  background: var(--accent);
  color: var(--brand);
  box-shadow: var(--shadow-md);
}
.btn--accent:hover { background: var(--accent-2); }

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn--ghost:hover { border-color: var(--text); background: var(--surface-2); }

.btn--light {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}
.btn--light:hover { background: var(--surface-2); }

.btn .arrow {
  transition: transform var(--dur) var(--ease);
}
.btn:hover .arrow { transform: translateX(3px); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-weight: 500;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}
.text-link:hover { color: var(--brand); border-color: currentColor; }
[data-theme="dark"] .text-link:hover { color: var(--brand-2); }
.text-link svg { transition: transform var(--dur) var(--ease); }
.text-link:hover svg { transform: translateX(3px); }

/* ----- 6. Navigation ------------------------------------------------------ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), backdrop-filter var(--dur) var(--ease), padding var(--dur) var(--ease);
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom-color: var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  transition: height var(--dur) var(--ease);
}

.nav.scrolled .nav__inner { height: 64px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.brand__mark {
  width: 34px;
  height: 34px;
  display: block;
  flex-shrink: 0;
  border-radius: 9px;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.brand:hover .brand__mark { transform: rotate(-6deg) scale(1.04); }
[data-theme="dark"] .brand__mark { box-shadow: 0 0 0 1px rgba(255,255,255,0.08); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav__links a {
  padding: 10px 14px;
  font-size: 0.94rem;
  color: var(--text-muted);
  border-radius: 8px;
  position: relative;
}
.nav__links a:hover { color: var(--text); background: var(--surface-2); }
.nav__links a.active { color: var(--text); }
.nav__links a.active::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 14px; right: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 10px;
  color: var(--text-muted);
  transition: color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.icon-btn:hover { color: var(--text); background: var(--surface-2); }

.nav__mobile-toggle { display: none; }

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  background: rgba(11, 31, 39, 0.4);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease), visibility var(--dur) var(--ease);
  z-index: 99;
}
.drawer.open { opacity: 1; visibility: visible; }
.drawer__panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(360px, 86vw);
  background: var(--bg);
  border-left: 1px solid var(--border);
  padding: 88px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transform: translateX(100%);
  transition: transform var(--dur-slow) var(--ease-out);
}
.drawer.open .drawer__panel { transform: translateX(0); }

.drawer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.drawer__links a {
  display: block;
  padding: 14px 4px;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.drawer__links a:hover { color: var(--brand); }
[data-theme="dark"] .drawer__links a:hover { color: var(--brand-2); }

/* ----- 7. Hero ------------------------------------------------------------ */
.hero {
  position: relative;
  padding-top: clamp(140px, 18vh, 200px);
  padding-bottom: clamp(80px, 10vw, 140px);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 640px;
}

.hero__title {
  font-size: clamp(2.8rem, 6.2vw, 5.2rem);
  font-weight: 700;
  letter-spacing: -0.042em;
  line-height: 0.98;
}

.hero__title .accent {
  background: linear-gradient(135deg, var(--brand), var(--brand-2) 55%, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
  font-weight: 600;
}

.hero__sub {
  font-size: clamp(1.05rem, 1.25vw, 1.18rem);
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 56ch;
}

.hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.hero__trust {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  font-size: 0.88rem;
  color: var(--text-subtle);
}
.hero__trust .dots {
  display: flex;
  margin-right: 4px;
}
.hero__trust .dot {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  background: linear-gradient(135deg, var(--brand-2), var(--accent));
  margin-left: -10px;
}
.hero__trust .dot:first-child { margin-left: 0; }
.hero__trust .dot:nth-child(2) { background: linear-gradient(135deg, var(--brand), var(--brand-3)); }
.hero__trust .dot:nth-child(3) { background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.hero__trust .dot:nth-child(4) { background: linear-gradient(135deg, var(--brand-3), var(--brand)); }

/* Hero visual — KPI card stack */
.hero__visual {
  position: relative;
  aspect-ratio: 1 / 1.05;
  display: grid;
  place-items: center;
}

.hero__panel {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-lg);
}

.hero__panel--main {
  inset: 8% 8% 22% 8%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(155deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #fff;
  border-color: transparent;
  overflow: hidden;
}

.hero__panel--main::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 10%, rgba(232,163,61,0.35), transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(43,176,207,0.25), transparent 50%);
  pointer-events: none;
}

.hero__panel--main > * { position: relative; }

.hero__panel-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

.hero__panel-stat {
  font-family: var(--font-mono);
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: #fff;
}
.hero__panel-stat .unit { color: var(--accent); margin-left: 6px; }

.hero__panel-desc {
  color: rgba(255,255,255,0.78);
  font-size: 0.9rem;
  line-height: 1.5;
}

.hero__panel-spark {
  display: flex;
  align-items: end;
  gap: 6px;
  height: 56px;
}
.hero__panel-spark span {
  width: 10px;
  background: rgba(255,255,255,0.18);
  border-radius: 3px;
  transition: background var(--dur) var(--ease);
}
.hero__panel-spark span.active { background: var(--accent); }

.hero__panel--float {
  background: var(--surface);
  bottom: 4%;
  right: 0;
  width: 56%;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hero__panel--float .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.84rem;
}
.hero__panel--float .row .k { color: var(--text-muted); }
.hero__panel--float .row .v { font-family: var(--font-mono); color: var(--text); }
.hero__panel--float .row .v.up::after { content: " ↑"; color: var(--success); }
.hero__panel--float .row .v.down::after { content: " ↓"; color: var(--danger); }

.hero__panel--pill {
  bottom: 18%;
  left: -4%;
  padding: 12px 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  font-weight: 500;
  border-radius: 999px;
  width: auto;
}
.hero__panel--pill .pulse {
  width: 8px; height: 8px;
  background: var(--success);
  border-radius: 50%;
  position: relative;
}
.hero__panel--pill .pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--success);
  opacity: 0.35;
  animation: pulse 2.2s ease-out infinite;
}

@keyframes pulse {
  0% { transform: scale(0.6); opacity: 0.5; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* Hero background — layered gradient mesh + grid overlay */
.hero::before {
  content: "";
  position: absolute;
  inset: -10% -10% -5% -10%;
  background:
    radial-gradient(45% 55% at 12% 25%, rgba(14, 59, 74, 0.22), transparent 65%),
    radial-gradient(40% 50% at 88% 15%, rgba(232, 163, 61, 0.28), transparent 65%),
    radial-gradient(50% 60% at 65% 85%, rgba(27, 107, 130, 0.22), transparent 65%),
    radial-gradient(40% 50% at 25% 95%, rgba(232, 163, 61, 0.14), transparent 65%),
    linear-gradient(180deg, color-mix(in srgb, var(--brand) 6%, transparent) 0%, transparent 55%);
  z-index: -2;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11, 31, 39, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 31, 39, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 40%, transparent 78%);
          mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 40%, transparent 78%);
  z-index: -1;
  pointer-events: none;
}

[data-theme="dark"] .hero::before {
  background:
    radial-gradient(45% 55% at 12% 25%, rgba(43, 176, 207, 0.18), transparent 65%),
    radial-gradient(40% 50% at 88% 15%, rgba(244, 185, 88, 0.18), transparent 65%),
    radial-gradient(50% 60% at 65% 85%, rgba(43, 176, 207, 0.15), transparent 65%),
    radial-gradient(40% 50% at 25% 95%, rgba(244, 185, 88, 0.10), transparent 65%);
}

[data-theme="dark"] .hero::after {
  background-image:
    linear-gradient(rgba(236, 241, 242, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(236, 241, 242, 0.05) 1px, transparent 1px);
}

/* ----- Hero testimonial badges ------------------------------------------ */
.hero__badges {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.hero__badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 12px 12px;
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.hero__badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.hero__badge__avatar {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  position: relative;
  overflow: hidden;
}
.hero__badge__avatar::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle, rgba(232,163,61,0.35), transparent 60%);
}
.hero__badge__avatar span { position: relative; }

.hero__badge__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.3;
}

.hero__badge__stars {
  color: var(--accent);
  letter-spacing: 1.5px;
  font-size: 0.78rem;
  line-height: 1;
}
[data-theme="dark"] .hero__badge__stars { color: var(--accent-2); }

.hero__badge__quote {
  color: var(--text);
  font-weight: 500;
  font-size: 0.88rem;
  letter-spacing: -0.005em;
}

.hero__badge__attr {
  color: var(--text-muted);
  font-size: 0.76rem;
}

/* ----- 8. Marquee / Trust strip ------------------------------------------- */
.marquee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  padding-block: 28px;
}

.marquee__track {
  display: flex;
  gap: 60px;
  animation: scroll 32s linear infinite;
  width: max-content;
}

.marquee__item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0.8;
}

.marquee__item svg { color: var(--brand); width: 22px; height: 22px; flex: 0 0 22px; }
[data-theme="dark"] .marquee__item svg { color: var(--brand-2); }

.marquee__item .sep {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--border-strong);
  margin: 0 24px 0 36px;
}

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Logo variant — client trust strip inside Partners section */
.marquee--logos {
  border: none;
  background: transparent;
  padding-block: 6px;
}
.marquee--logos .marquee__track {
  gap: 22px;
  animation-duration: 42s;
}
.marquee--logos:hover .marquee__track { animation-play-state: paused; }
.logo-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 10px 24px;
  border-radius: 10px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  flex: 0 0 auto;
}
[data-theme="dark"] .logo-chip {
  background: #FAFAF7;
  border-color: transparent;
}
.logo-chip img { height: 28px; width: auto; display: block; }
.logo-chip img.logo--tall { height: 44px; }

/* ----- 8b. Industrial process flow banner -------------------------------- */
.flow-section {
  padding-block: clamp(64px, 8vw, 112px);
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.flow-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11, 31, 39, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 31, 39, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 50%, black 35%, transparent 80%);
          mask-image: radial-gradient(ellipse 85% 75% at 50% 50%, black 35%, transparent 80%);
  pointer-events: none;
}

[data-theme="dark"] .flow-section::before {
  background-image:
    linear-gradient(rgba(236, 241, 242, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(236, 241, 242, 0.06) 1px, transparent 1px);
}

.flow-section > .container { position: relative; }

.flow-section__head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: end;
  margin-bottom: 48px;
}

.flow-section__head h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  max-width: 22ch;
  margin-top: 14px;
}

.flow-section__stamp {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--text-subtle);
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: right;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: color-mix(in srgb, var(--bg) 60%, transparent);
}
.flow-section__stamp span:first-child { color: var(--accent-2); font-weight: 500; }
[data-theme="dark"] .flow-section__stamp span:first-child { color: var(--accent); }

.flow-diagram-scroll {
  overflow-x: auto;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 4%, black 96%, transparent);
          mask-image: linear-gradient(90deg, transparent, black 4%, black 96%, transparent);
  scrollbar-width: thin;
}
.flow-diagram-scroll::-webkit-scrollbar { height: 4px; }
.flow-diagram-scroll::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 2px; }

.flow-diagram {
  width: 100%;
  min-width: 760px;
  height: auto;
  color: var(--text-muted);
  display: block;
}

.flow-diagram .pipe { opacity: 0.55; }
.flow-diagram .pipe-flow {
  animation: pipe-flow 1.6s linear infinite;
}

@keyframes pipe-flow {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -14; }
}

.flow-diagram text {
  font-family: var(--font-mono);
  fill: currentColor;
  opacity: 0.65;
  font-weight: 500;
}

.flow-diagram .inst-bubble {
  fill: var(--surface);
  stroke: currentColor;
  stroke-width: 1.1;
  opacity: 0.95;
}

.flow-diagram .inst-line {
  stroke: currentColor;
  stroke-width: 0.6;
  stroke-dasharray: 2 2;
  opacity: 0.45;
  fill: none;
}

.flow-legend {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-top: 48px;
  overflow: hidden;
}

.flow-legend__item {
  background: var(--surface);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
}

.flow-legend__item::before {
  content: attr(data-tag);
  position: absolute;
  top: 12px;
  right: 16px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--text-subtle);
}

.flow-legend__num {
  font-family: var(--font-mono);
  font-size: 1.75rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--text);
  line-height: 1;
  margin-top: 8px;
}

.flow-legend__num .unit { color: var(--accent-2); font-size: 0.8em; margin-left: 2px; }
[data-theme="dark"] .flow-legend__num .unit { color: var(--accent); }

.flow-legend__label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

@media (max-width: 720px) {
  .flow-section { padding-block: 56px; }
  .flow-section__head { grid-template-columns: 1fr; }
  .flow-section__stamp { text-align: left; align-self: start; }
  .flow-legend { grid-template-columns: 1fr 1fr; margin-top: 32px; }
}

/* ----- 8c. Engineering blueprint divider -------------------------------- */
.blueprint-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-subtle);
  padding-block: 6px;
  margin-bottom: 28px;
}

.blueprint-divider__rule {
  flex: 1;
  height: 1px;
  background-image: repeating-linear-gradient(to right, currentColor 0, currentColor 5px, transparent 5px, transparent 10px);
  opacity: 0.45;
}

.blueprint-divider__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.7;
}

.blueprint-divider__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.blueprint-divider__tag .id {
  color: var(--accent-2);
  font-weight: 500;
}
[data-theme="dark"] .blueprint-divider__tag .id { color: var(--accent); }

/* ----- 9. Pillars (Why us) ------------------------------------------------ */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.pillar {
  background: var(--surface);
  padding: clamp(28px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background var(--dur) var(--ease);
  position: relative;
}
.pillar:hover { background: var(--surface-2); }

.pillar__icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--brand);
  border: 1px solid var(--border);
}
[data-theme="dark"] .pillar__icon { color: var(--brand-2); }

.pillar__num {
  position: absolute;
  top: 28px; right: 28px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-subtle);
  letter-spacing: 0.1em;
}

.pillar h3 { font-size: 1.2rem; }
.pillar p { font-size: 0.95rem; line-height: 1.55; }

/* ----- 10. Solutions grid ------------------------------------------------- */
.solutions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.solution {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}

.solution::after {
  content: "";
  position: absolute;
  inset: auto -30% -60% auto;
  width: 200px; height: 200px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
  pointer-events: none;
}

.solution:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.solution:hover::after { opacity: 0.08; }

.solution__icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #fff;
}

.solution h3 { font-size: 1.15rem; line-height: 1.25; }
.solution p { font-size: 0.92rem; line-height: 1.55; flex-grow: 1; }

.solution__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--brand);
  margin-top: 4px;
}
[data-theme="dark"] .solution__link { color: var(--brand-2); }
.solution__link svg { transition: transform var(--dur) var(--ease); }
.solution:hover .solution__link svg { transform: translateX(4px); }

/* ----- 11. Industries strip ----------------------------------------------- */
.industries {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.industry {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all var(--dur) var(--ease);
}
.industry:hover { border-color: var(--brand); }
[data-theme="dark"] .industry:hover { border-color: var(--brand-2); }

.industry__icon {
  width: 36px; height: 36px;
  color: var(--brand);
}
[data-theme="dark"] .industry__icon { color: var(--brand-2); }

.industry h4 { font-size: 1rem; font-weight: 600; }
.industry p { font-size: 0.85rem; line-height: 1.5; }

/* ----- 12. Featured case ------------------------------------------------- */
.case {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  background: var(--brand);
  border-radius: var(--radius-xl);
  overflow: hidden;
  color: #fff;
  position: relative;
}

.case__media {
  background:
    radial-gradient(circle at 30% 20%, rgba(232,163,61,0.5), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(43,176,207,0.4), transparent 50%),
    linear-gradient(135deg, var(--brand-2), var(--brand));
  min-height: 360px;
  position: relative;
  display: grid;
  place-items: center;
  padding: 40px;
}

.case__metric {
  font-family: var(--font-mono);
  text-align: center;
}
.case__metric .num {
  font-size: clamp(3rem, 7vw, 5.4rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #fff;
}
.case__metric .num .pct { color: var(--accent); }
.case__metric .label {
  margin-top: 10px;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}

.case__content {
  padding: clamp(36px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: center;
}
.case__content .eyebrow { color: var(--accent); }
.case__content h2 { color: #fff; }
.case__content p { color: rgba(255,255,255,0.78); }
.case__meta {
  display: flex;
  gap: 28px;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.05em;
}
.case__meta span strong { color: #fff; font-weight: 500; }

/* ----- 13. Split (Training + Knowledge) ---------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.split-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: all var(--dur) var(--ease);
}
.split-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.split-card .tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface-2);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  width: fit-content;
}

.split-card h3 { font-size: 1.4rem; }

.split-card .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-top: 18px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.split-card .meta strong { color: var(--text); font-weight: 500; }

/* ----- 14. Testimonial --------------------------------------------------- */
.testimonial {
  text-align: center;
  max-width: 820px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.testimonial .quote-mark {
  width: 48px; height: 48px;
  color: var(--accent);
}

.testimonial blockquote {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--text);
  font-weight: 400;
}

.testimonial cite {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}
.testimonial cite .name { font-weight: 500; color: var(--text); }
.testimonial cite .role { font-size: 0.88rem; color: var(--text-muted); }

/* ----- 15. About snapshot ------------------------------------------------ */
.about-snap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.about-snap__visual {
  aspect-ratio: 4/5;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 30% 30%, rgba(232,163,61,0.6), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(43,176,207,0.4), transparent 50%),
    linear-gradient(160deg, var(--brand), var(--brand-2));
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.about-snap__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 32px 32px;
}

.about-snap__badge {
  font-family: var(--font-mono);
  text-align: center;
  color: #fff;
  position: relative;
  padding: 32px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
}
.about-snap__badge .since {
  font-size: 12px;
  letter-spacing: 0.16em;
  opacity: 0.8;
}
.about-snap__badge .year {
  font-size: 3.6rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}

.about-snap__content { display: flex; flex-direction: column; gap: 24px; }
.about-snap__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.about-snap__stat .num {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--text);
}
.about-snap__stat .label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ----- 16. CTA band ------------------------------------------------------ */
.cta-band {
  background: var(--brand);
  border-radius: var(--radius-xl);
  padding: clamp(40px, 6vw, 72px);
  color: #fff;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 90% 0%, rgba(232,163,61,0.35), transparent 40%),
    radial-gradient(circle at 0% 100%, rgba(43,176,207,0.25), transparent 50%);
  pointer-events: none;
}

.cta-band > * { position: relative; }

.cta-band h2 { color: #fff; max-width: 18ch; }
.cta-band p { color: rgba(255,255,255,0.78); margin-top: 12px; max-width: 50ch; }
.cta-band__actions { display: flex; gap: 12px; justify-content: end; flex-wrap: wrap; }

/* ----- 17. Footer -------------------------------------------------------- */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding-block: 64px 32px;
  margin-top: 96px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.footer__brand-block { display: flex; flex-direction: column; gap: 16px; max-width: 360px; }
.footer__brand-block p { font-size: 0.92rem; line-height: 1.6; }

.footer__col h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: 16px;
  font-weight: 500;
}
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer__col a { color: var(--text-muted); font-size: 0.94rem; }
.footer__col a:hover { color: var(--text); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 16px;
}

.footer__social { display: flex; gap: 8px; }
.footer__social a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: all var(--dur-fast) var(--ease);
}
.footer__social a:hover { color: var(--brand); border-color: var(--brand); transform: translateY(-2px); }
[data-theme="dark"] .footer__social a:hover { color: var(--brand-2); border-color: var(--brand-2); }

/* ----- 18. Page header (interior pages) ---------------------------------- */
.page-header {
  padding-top: clamp(140px, 18vh, 200px);
  padding-bottom: clamp(40px, 6vw, 72px);
  position: relative;
}
.page-header::after {
  content: "";
  display: block;
  margin-top: clamp(40px, 6vw, 72px);
  height: 1px;
  background: var(--border);
}
.page-header h1 { max-width: 18ch; }
.page-header .lead { margin-top: 24px; }

/* ----- 19. Services page ------------------------------------------------- */
.service-row {
  display: grid;
  grid-template-columns: 0.4fr 1fr 0.6fr;
  gap: 40px;
  padding: clamp(32px, 4vw, 56px) 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.service-row:last-child { border-bottom: none; }

.service-row__num {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--text-subtle);
  letter-spacing: 0.1em;
  padding-top: 8px;
}

.service-row__body h3 {
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.service-row__body p { font-size: 1rem; line-height: 1.6; max-width: 60ch; }

.service-row__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.service-row__tags span {
  font-size: 0.78rem;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--text-muted);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

.service-row__meta {
  font-size: 0.88rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-row__meta dl { display: grid; grid-template-columns: 90px 1fr; gap: 6px 12px; }
.service-row__meta dt { color: var(--text-subtle); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; padding-top: 4px; }
.service-row__meta dd { color: var(--text); }

/* ----- 20. About page ---------------------------------------------------- */
.story {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(40px, 6vw, 80px);
}
.story__aside { position: sticky; top: 120px; align-self: start; }
.story__aside h2 { font-size: 1.6rem; }
.story__body { display: flex; flex-direction: column; gap: 24px; max-width: 64ch; }
.story__body p { font-size: 1.05rem; line-height: 1.7; }
.story__body p:first-of-type::first-letter {
  font-family: var(--font-mono);
  font-size: 3.4rem;
  font-weight: 500;
  float: left;
  line-height: 0.9;
  padding: 6px 14px 0 0;
  color: var(--brand);
}
[data-theme="dark"] .story__body p:first-of-type::first-letter { color: var(--brand-2); }

.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.value {
  background: var(--surface);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.value .num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--text-subtle);
}
.value h4 { font-size: 1.05rem; }
.value p { font-size: 0.88rem; line-height: 1.55; }

.team {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all var(--dur) var(--ease);
}
.team-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.team-card__avatar {
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 500;
  color: var(--accent);
  position: relative;
  overflow: hidden;
}
.team-card__avatar::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle, rgba(232,163,61,0.3), transparent 60%);
}
.team-card__avatar span { position: relative; }
.team-card h4 { font-size: 1.05rem; }
.team-card .role { color: var(--text-muted); font-size: 0.9rem; }
.team-card .bio { font-size: 0.88rem; line-height: 1.55; margin-top: 8px; }

/* ----- 21. Contact page -------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.info-block { display: flex; gap: 16px; align-items: flex-start; }
.info-block__icon {
  width: 44px; height: 44px;
  flex: 0 0 44px;
  display: grid; place-items: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--brand);
}
[data-theme="dark"] .info-block__icon { color: var(--brand-2); }
.info-block h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-subtle);
  font-family: var(--font-mono);
  font-weight: 500;
  margin-bottom: 6px;
}
.info-block p, .info-block a { font-size: 1rem; color: var(--text); line-height: 1.5; }
.info-block a:hover { color: var(--brand); }
[data-theme="dark"] .info-block a:hover { color: var(--brand-2); }
.info-block .sub { color: var(--text-muted); font-size: 0.92rem; margin-top: 4px; }

.form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: var(--shadow-md);
}

.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 0.82rem;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}
.field input, .field textarea, .field select {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 0.98rem;
  color: var(--text);
  transition: all var(--dur-fast) var(--ease);
  font-family: var(--font-sans);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(14,59,74,0.12);
}
[data-theme="dark"] .field input:focus,
[data-theme="dark"] .field textarea:focus,
[data-theme="dark"] .field select:focus {
  border-color: var(--brand-2);
  box-shadow: 0 0 0 3px rgba(43,176,207,0.18);
}
.field textarea { resize: vertical; min-height: 130px; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form__note {
  font-size: 0.82rem;
  color: var(--text-subtle);
  text-align: center;
}

.form__submit { margin-top: 8px; align-self: flex-start; }

/* ----- 20a. Article (knowledge hub) ----------------------------------------- */
.article {
  max-width: 760px;
}
.article p {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 22px;
  font-size: 1.02rem;
}
.article h2 {
  font-size: 1.45rem;
  letter-spacing: -0.01em;
  margin: 40px 0 16px;
}
.article em { color: var(--text); font-style: italic; }
.article-meta {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-subtle);
  margin-top: 18px;
}

/* ----- 20b. Four-column pillars (homepage) --------------------------------- */
.pillars--four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) {
  .pillars--four { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .pillars--four { grid-template-columns: 1fr; }
}

/* ----- 21a2. Partners & clients ------------------------------------------- */
.partners {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 880px;
}
.partner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.partner:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}
.partner__logo {
  display: flex;
  align-items: center;
  min-height: 44px;
  margin: 14px 0 12px;
}
.partner__logo img {
  height: 32px;
  width: auto;
  display: block;
}
[data-theme="dark"] .partner__logo {
  background: #FAFAF7;
  width: fit-content;
  padding: 10px 16px;
  border-radius: 10px;
}
.partner .tier {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
  padding: 4px 10px;
  border: 1px solid var(--accent-2);
  border-radius: 999px;
}
[data-theme="dark"] .partner .tier { color: var(--accent); border-color: var(--accent); }
.partner p { color: var(--text-muted); font-size: 0.92rem; }

.client-strip {
  margin-top: 40px;
  text-align: center;
}
.client-strip__names {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 14px;
}
.client-strip__names span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 10px 20px;
  border-radius: 10px;
  background: #FFFFFF;
  border: 1px solid var(--border);
}
[data-theme="dark"] .client-strip__names span {
  background: #FAFAF7;
  border-color: transparent;
}
.client-strip__names img {
  height: 28px;
  width: auto;
  display: block;
}
.client-strip__names img.logo--tall { height: 44px; }
.client-strip__note {
  font-size: 0.82rem;
  font-style: italic;
  color: var(--text-subtle);
}
@media (max-width: 1024px) {
  .partners { grid-template-columns: 1fr; }
}

/* ----- 21b. Lifecycle filter chips ---------------------------------------- */
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 36px;
}
.chip {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text-muted);
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.chip:hover { border-color: var(--brand); color: var(--text); }
.chip.active { background: var(--brand); border-color: var(--brand); color: #FAFAF7; }
[data-theme="dark"] .chip.active { color: #07151B; }
.service-row.filtered-out { display: none; }
.service-row { scroll-margin-top: 110px; }

/* ----- 21c. Sticky consultation bar ---------------------------------------- */
.sticky-cta {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translate(-50%, calc(100% + 24px));
  width: min(920px, calc(100% - 32px));
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  border-radius: 16px;
  background: #0E3B4A;
  box-shadow: var(--shadow-lg);
  transition: transform var(--dur-slow) var(--ease-out);
}
[data-theme="dark"] .sticky-cta { background: #143040; border: 1px solid var(--border-strong); }
.sticky-cta.show { transform: translate(-50%, 0); }
.sticky-cta p { flex: 1; margin: 0; font-size: 0.9rem; color: #ECF1F2; }
.sticky-cta .btn { white-space: nowrap; }
.sticky-cta__close {
  background: none;
  border: none;
  color: #ECF1F2;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 6px;
  opacity: 0.75;
  transition: opacity var(--dur-fast) var(--ease);
}
.sticky-cta__close:hover { opacity: 1; }
@media (max-width: 720px) {
  .sticky-cta { flex-wrap: wrap; padding: 12px 16px; }
  .sticky-cta p { flex: 1 1 100%; font-size: 0.85rem; }
}

/* ----- 21d. FAQ accordion --------------------------------------------------- */
.faq-list { max-width: var(--container-narrow); }
details.faq { border-bottom: 1px solid var(--border); }
details.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  font-weight: 600;
  color: var(--text);
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+";
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1;
  color: var(--brand);
  transition: transform var(--dur-fast) var(--ease);
}
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq > p { padding: 0 0 20px; color: var(--text-muted); max-width: 70ch; }

/* ----- 22. Animations / reveal ------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.reveal[data-delay="1"] { transition-delay: 80ms; }
.reveal[data-delay="2"] { transition-delay: 160ms; }
.reveal[data-delay="3"] { transition-delay: 240ms; }
.reveal[data-delay="4"] { transition-delay: 320ms; }

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

/* ----- 23. Responsive ---------------------------------------------------- */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 480px; margin-inline: auto; width: 100%; }
  .pillars { grid-template-columns: 1fr; }
  .solutions { grid-template-columns: repeat(2, 1fr); }
  .industries { grid-template-columns: repeat(2, 1fr); }
  .case { grid-template-columns: 1fr; }
  .case__media { min-height: 240px; }
  .about-snap { grid-template-columns: 1fr; gap: 40px; }
  .about-snap__visual { max-width: 360px; margin-inline: auto; width: 100%; }
  .cta-band { grid-template-columns: 1fr; }
  .cta-band__actions { justify-content: flex-start; }
  .split { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
  .story { grid-template-columns: 1fr; }
  .story__aside { position: static; }
  .values { grid-template-columns: repeat(2, 1fr); }
  .team { grid-template-columns: repeat(2, 1fr); }
  .service-row { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav__cta-desktop { display: none; }
  .nav__mobile-toggle { display: grid; }
  .solutions { grid-template-columns: 1fr; }
  .industries { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .pillar__num { display: none; }
  .values { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; }
  .page-header { padding-top: 120px; }
  .about-snap__stats { grid-template-columns: 1fr; gap: 12px; }
  .case__meta { flex-direction: column; gap: 8px; }
}

/* Focus visible */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
