/* ============================================================
   STS HYDRAULICS — shared stylesheet
   Type: IBM Plex Sans / Condensed / Mono
   Accent: crimson red on charcoal + white canvas
============================================================ */

:root {
  --bg: #ffffff;
  --canvas: #f6f4ef;          /* warm off-white */
  --canvas-2: #ecebe5;
  --ink: #0e1116;             /* near-black */
  --ink-2: #2a2d33;
  --ink-3: #595c64;
  --ink-4: #8a8d94;
  --line: #e3dfd6;
  --line-2: #d6d1c4;
  --accent: #c0392b;          /* crimson red */
  --accent-deep: #8d1f15;
  --accent-soft: #f3d9d4;
  --accent-tint: #fbecea;
  --shadow-sm: 0 1px 2px rgba(14, 17, 22, 0.06);
  --shadow-md: 0 8px 24px rgba(14, 17, 22, 0.08);
  --shadow-lg: 0 24px 60px rgba(14, 17, 22, 0.14);
  --radius: 4px;
  --radius-lg: 8px;
  --maxw: 1280px;
  --pad: clamp(20px, 5vw, 64px);
}

/* Safe-area padding for notched devices */
@supports (padding: env(safe-area-inset-left)) {
  .wrap {
    padding-left: max(var(--pad), env(safe-area-inset-left));
    padding-right: max(var(--pad), env(safe-area-inset-right));
  }
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
}
@supports not (overflow: clip) {
  html, body { overflow-x: hidden; }
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* Type ---------------------------------------------------- */
.display, h1, h2, h3, h4 {
  font-family: "IBM Plex Sans Condensed", "IBM Plex Sans", system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}

.mono, .kicker, .spec-label, .nav-link, .meta {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.kicker {
  color: var(--accent);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.kicker::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}

p { margin: 0 0 1em; color: var(--ink-2); text-wrap: pretty; }
p.lead { font-size: 18px; line-height: 1.55; color: var(--ink-2); }

.h-xxl { font-size: clamp(48px, 7vw, 96px); }
.h-xl  { font-size: clamp(36px, 5vw, 64px); }
.h-lg  { font-size: clamp(28px, 3.4vw, 44px); }
.h-md  { font-size: clamp(22px, 2.2vw, 28px); }
.h-sm  { font-size: clamp(18px, 1.6vw, 20px); }

/* Layout helpers ----------------------------------------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: clamp(56px, 8vw, 128px) 0; position: relative; }
.section--canvas { background: var(--canvas); }
.section--ink { background: var(--ink); color: #f2f0eb; }
.section--ink p { color: #b4b6bb; }
.section--tight { padding: clamp(40px, 6vw, 96px) 0; }

.eyebrow-row {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.eyebrow-row .meta { color: var(--ink-3); }

/* Page banner (image hero for inner pages) -------------- */
.specs-row-light {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.specs-row-light .spec {
  padding: 22px 0;
  border-left: 1px solid var(--line);
  padding-left: clamp(20px, 3vw, 40px);
}
.specs-row-light .spec:first-child { border-left: none; padding-left: 0; }
.specs-row-light .spec .v {
  font-family: "IBM Plex Sans Condensed", sans-serif;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 600;
  color: var(--ink);
}
.specs-row-light .spec .l {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 6px;
}
@media (max-width: 720px) {
  .specs-row-light { grid-template-columns: 1fr 1fr; }
  .specs-row-light .spec { padding: 18px 0 18px 18px; border-left: 1px solid var(--line); }
  .specs-row-light .spec:nth-child(odd) { padding-left: 0; border-left: none; }
  .specs-row-light .spec:nth-child(-n+2) { border-bottom: 1px solid var(--line); padding-bottom: 18px; }
  .specs-row-light .spec:nth-child(n+3) { padding-top: 18px; }
}

.page-banner {
  position: relative;
  min-height: clamp(320px, 50vh, 520px);
  background-color: #1a1d24;
  color: #fff;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  border-bottom: 3px solid var(--accent);
}
.page-banner .bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 1;
  z-index: 0;
}
.page-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14,17,22,0.15) 0%, rgba(14,17,22,0.55) 60%, rgba(14,17,22,0.85) 100%),
    linear-gradient(90deg, rgba(14,17,22,0.65) 0%, rgba(14,17,22,0.25) 55%, rgba(14,17,22,0) 100%);
  z-index: 1;
}
.page-banner .wrap {
  position: relative;
  z-index: 2;
  padding-top: clamp(48px, 7vw, 96px);
  padding-bottom: clamp(40px, 6vw, 72px);
  width: 100%;
}
.page-banner .crumb {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 16px;
}
.page-banner .crumb a { color: rgba(255,255,255,0.8); transition: color 0.2s ease; }
.page-banner .crumb a:hover { color: var(--accent); }
.page-banner .kicker { color: #fff; }
.page-banner .kicker::before { background: var(--accent); }
.page-banner h1 {
  font-size: clamp(32px, 5.2vw, 68px);
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: #fff;
  max-width: 22ch;
  margin: 14px 0 0;
  text-wrap: balance;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}
.page-banner h1 em {
  font-style: normal;
  color: #fff;
  background: var(--accent);
  padding: 0.05em 0.32em 0.12em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}
.page-banner .lead {
  margin-top: 22px;
  max-width: 60ch;
  font-size: 17px;
  color: rgba(255,255,255,0.86);
}
.page-banner .banner-meta {
  margin-top: 28px;
  display: flex;
  gap: clamp(20px, 3vw, 36px);
  flex-wrap: wrap;
}
.page-banner .banner-meta .pill {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.page-banner .banner-meta .pill::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--accent);
  display: inline-block;
}
@media (max-width: 540px) {
  .page-banner { min-height: 320px; }
  .page-banner .lead { font-size: 15px; }
  .page-banner .banner-meta { gap: 14px 22px; margin-top: 22px; }
  .page-banner h1 { font-size: clamp(28px, 7vw, 36px); }
}

/* Brand marquee strip (traditional) --------------------- */
.brand-strip {
  background: var(--accent);
  color: #fff;
  padding: 10px 0;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.18);
}
.brand-strip::before,
.brand-strip::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 48px;
  z-index: 2;
  pointer-events: none;
}
.brand-strip::before { left: 0; background: linear-gradient(90deg, var(--accent), transparent); }
.brand-strip::after { right: 0; background: linear-gradient(270deg, var(--accent), transparent); }
.brand-strip .marquee-track {
  display: flex;
  gap: 0;
  animation: brand-marquee 50s linear infinite;
  width: max-content;
  white-space: nowrap;
}
.brand-strip:hover .marquee-track { animation-play-state: paused; }
.brand-strip .item {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  padding: 0 28px;
  color: rgba(255,255,255,0.96);
}
.brand-strip .item .dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: #fff;
  margin-right: 16px;
  opacity: 0.7;
  transform: rotate(45deg);
}
.brand-strip .item.star .dot {
  width: 4px;
  height: 4px;
  background: #ffd700;
  border-radius: 50%;
  opacity: 1;
  transform: none;
}
@keyframes brand-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .brand-strip .marquee-track { animation: none; }
}
@media (max-width: 540px) {
  .brand-strip { padding: 8px 0; }
  .brand-strip .item { font-size: 10px; padding: 0 18px; letter-spacing: 0.1em; }
  .brand-strip .item .dot { width: 4px; height: 4px; margin-right: 10px; }
  .brand-strip .marquee-track { animation-duration: 35s; }
  .brand-strip::before, .brand-strip::after { width: 28px; }
}

/* Notice bar --------------------------------------------- */
.notice {
  background: var(--ink);
  color: #d6d4cd;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.notice .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  padding-bottom: 10px;
  gap: 16px;
  flex-wrap: wrap;
}
.notice strong { color: #fff; font-weight: 600; }
.notice a { color: #fff; }
.notice .dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-right: 8px; vertical-align: middle; animation: pulse 2s ease-in-out infinite; }
@media (max-width: 540px) {
  .notice { font-size: 10px; letter-spacing: 0.08em; }
  .notice .wrap > span:last-child { display: none; }
  .notice .wrap > span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* Nav ---------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 16px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav-logo img { height: 40px; width: auto; display: block; }
@media (max-width: 540px) { .nav-logo img { height: 32px; } }
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-link {
  color: var(--ink-2);
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}
.nav-link:hover, .nav-link.is-active { color: var(--accent); }
.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -19px;
  height: 2px;
  background: var(--accent);
}
.nav-cta { display: flex; align-items: center; gap: 12px; }

/* Mobile hamburger button (hidden on desktop) */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  margin-left: 8px;
  flex-shrink: 0;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-x { display: none; }
.nav-toggle.is-open .icon-menu { display: none; }
.nav-toggle.is-open .icon-x { display: block; }

@media (max-width: 980px) {
  .nav-links {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    height: 100vh;
    height: 100dvh;
    background: #fff;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 84px 24px 32px;
    gap: 0;
    transform: translateY(-101%);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.32s;
    visibility: hidden;
    z-index: 100;
    overflow-y: auto;
    overscroll-behavior: contain;
    display: flex;
    -webkit-overflow-scrolling: touch;
  }
  .nav-links.is-open { transform: translateY(0); visibility: visible; }
  .nav-link {
    font-family: "IBM Plex Sans Condensed", sans-serif;
    font-size: 24px;
    text-transform: none;
    letter-spacing: -0.01em;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-weight: 600;
  }
  .nav-link.is-active::after { display: none; }
  .nav-link.is-active { color: var(--accent); }
  .nav-toggle { display: inline-flex; z-index: 101; position: relative; }
  .nav-toggle.is-open { background: #fff; border-color: var(--ink); }
  .nav-cta .btn { padding: 10px 14px; font-size: 11px; }
  .nav-cta .btn .arrow { display: none; }
}
@media (max-width: 420px) {
  .nav-cta .btn { padding: 9px 11px; font-size: 10px; letter-spacing: 0.08em; }
}

/* Buttons ------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: var(--radius);
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-deep);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: #fff;
}
.btn-light {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}
.btn-light:hover {
  border-color: var(--ink);
}
.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--accent);
  transition: gap 0.2s ease;
}
.btn-link:hover { gap: 14px; }
.btn .arrow { display: inline-block; transition: transform 0.2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* Hero --------------------------------------------------- */
.hero {
  padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 9vw, 120px);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero-headline {
  font-size: clamp(36px, 5.4vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.hero-headline em {
  font-style: normal;
  color: var(--accent);
  position: relative;
}
.hero-sub {
  margin-top: 28px;
  font-size: 17px;
  max-width: 48ch;
  color: var(--ink-2);
}
.hero-ctas {
  margin-top: 36px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-art {
  position: relative;
  aspect-ratio: 4 / 4.4;
  display: grid;
}
.hero-art .block {
  position: absolute;
  inset: auto 0 0 auto;
  width: 78%;
  height: 78%;
  background: var(--accent-soft);
}
.hero-art .frame {
  position: absolute;
  inset: 0 auto auto 0;
  width: 84%;
  height: 90%;
  background: var(--canvas);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-art .frame img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-art .tag {
  position: absolute;
  right: 0;
  top: 12%;
  background: #fff;
  border: 1px solid var(--line);
  padding: 14px 18px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: var(--shadow-md);
  max-width: 200px;
}
.hero-art .tag strong { color: var(--accent); font-weight: 600; font-size: 13px; display: block; }

@media (max-width: 980px) {
  .hero { padding: clamp(24px, 4vw, 48px) 0 clamp(40px, 6vw, 72px); }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-art { max-width: 100%; margin: 0 auto; width: 100%; aspect-ratio: 16/10; order: -1; }
  .hero-art .block { width: 70%; height: 70%; }
  .hero-art .frame { width: 90%; height: 84%; }
  .hero-art .tag { right: 0; top: auto; bottom: 8%; }
  .hero-sub { margin-top: 18px; font-size: 16px; }
  .hero-ctas { margin-top: 24px; }
  .eyebrow-row { margin-bottom: 18px; }
}
@media (max-width: 540px) {
  .hero { padding-top: 16px; }
  .hero-art { aspect-ratio: 4/3; }
  .hero-art .tag { right: -4px; bottom: 6%; padding: 10px 12px; max-width: 160px; font-size: 10px; }
  .hero-art .tag strong { font-size: 12px; }
  .hero-ctas .btn { flex: 1 1 100%; }
}

/* Stat strip --------------------------------------------- */
.stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: clamp(24px, 4vw, 48px);
  row-gap: 0;
}
.stat {
  padding: 36px 0;
  position: relative;
}
.stat + .stat {
  border-left: 1px solid var(--line);
  padding-left: clamp(24px, 4vw, 48px);
  margin-left: calc(-1 * clamp(24px, 4vw, 48px));
}
.stat-num {
  font-family: "IBM Plex Sans Condensed", sans-serif;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 600;
  line-height: 1;
  display: flex;
  align-items: baseline;
}
.stat-num sup {
  font-size: 0.45em;
  color: var(--accent);
  margin-left: 2px;
  font-weight: 500;
}
.stat-label {
  margin-top: 10px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
@media (max-width: 720px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); column-gap: 18px; }
  .stat { padding: 24px 0; }
  .stat + .stat { padding-left: 18px; margin-left: -18px; }
  .stat:nth-child(2n+1) { border-left: none; padding-left: 0; margin-left: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .stat-num { font-size: 36px; }
  .stat-label { margin-top: 6px; font-size: 10px; }
}

/* About --------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.about-art {
  position: relative;
  aspect-ratio: 4/4.6;
}
.about-art .block {
  position: absolute;
  inset: auto auto 0 0;
  width: 70%;
  height: 60%;
  background: var(--accent-soft);
}
.about-art .frame {
  position: absolute;
  inset: 0 0 auto auto;
  width: 88%;
  height: 88%;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.about-art .frame img { width: 100%; height: 100%; object-fit: cover; }
.about-art .badge {
  position: absolute;
  bottom: 0; left: 0;
  background: var(--ink);
  color: #fff;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow-md);
}
.about-art .badge .yr {
  font-family: "IBM Plex Sans Condensed", sans-serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
}
.about-art .badge .lbl {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #b4b6bb;
}
@media (max-width: 980px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-art { aspect-ratio: 4/3.4; max-width: 560px; margin: 0 auto; width: 100%; }
}

/* SPM feature -------------------------------------------- */
.spm {
  background: var(--ink);
  color: #f2f0eb;
  position: relative;
  overflow: hidden;
}
.spm::before {
  content: "SPM";
  position: absolute;
  bottom: -120px;
  right: -40px;
  font-family: "IBM Plex Sans Condensed", sans-serif;
  font-size: clamp(220px, 28vw, 420px);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.04);
  line-height: 0.8;
  letter-spacing: -0.04em;
  pointer-events: none;
}
.spm .wrap { position: relative; z-index: 1; }
.spm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: end;
}
.spm-grid h2 { color: #fff; max-width: 12ch; }
.spm-grid .kicker { color: var(--accent); }
.spm-grid p { color: #b4b6bb; }
.spm-cases {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 64px;
  background: #2a2d33;
  border: 1px solid #2a2d33;
}
.spm-case {
  background: var(--ink);
  padding: 36px 32px;
  transition: background 0.2s ease;
  cursor: pointer;
  position: relative;
}
.spm-case:hover { background: #1a1d23; }
.spm-case .icon {
  display: block;
  width: 44px;
  height: 44px;
  color: var(--accent);
  margin-bottom: 18px;
}
.spm-case .icon svg { width: 100%; height: 100%; }
.spm-case .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  height: 26px;
  padding: 0 12px;
  border-radius: 13px;
  background: var(--accent);
  color: #fff;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  font-weight: 500;
}
.spm-case h3 {
  font-size: 22px;
  margin-top: 12px;
  color: #fff;
}
.spm-case p {
  margin-top: 12px;
  font-size: 14px;
  color: #b4b6bb;
}
.spm-case .specs {
  margin-top: 20px;
  display: flex;
  gap: 24px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8a8d94;
}
.spm-case .specs span strong { display: block; color: #fff; font-size: 13px; margin-top: 2px; }
@media (max-width: 980px) {
  .spm-grid { grid-template-columns: 1fr; }
  .spm-cases { grid-template-columns: 1fr; }
  .spm-grid h2 { max-width: 24ch; }
}

/* Product preview grid (homepage) ------------------------ */
.products-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: clamp(36px, 5vw, 56px);
}
.product-tile {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}
.product-tile:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.product-tile .img {
  aspect-ratio: 4/3;
  background: var(--canvas-2);
  overflow: hidden;
}
.product-tile .img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.product-tile:hover .img img { transform: scale(1.04); }
.product-tile .body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.product-tile .body .meta { color: var(--ink-4); font-size: 11px; }
.product-tile .body h3 { font-size: 22px; }
.product-tile .body p { font-size: 14px; color: var(--ink-3); margin: 4px 0 0; }
.product-tile .arrow-cta {
  margin-top: auto;
  padding-top: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
@media (max-width: 980px) {
  .products-preview { grid-template-columns: 1fr 1fr; gap: 20px; }
}
@media (max-width: 540px) {
  .products-preview { grid-template-columns: 1fr; gap: 16px; }
  .product-tile .body { padding: 20px 20px 24px; }
  .product-tile .body h3 { font-size: 20px; }
}

/* Why STS pillars ---------------------------------------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3vw, 32px);
  margin-top: clamp(36px, 5vw, 56px);
}
.pillar {
  border-top: 2px solid var(--ink);
  padding-top: 24px;
}
.pillar .num {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.pillar h3 {
  font-size: 22px;
  margin-top: 12px;
}
.pillar p {
  font-size: 14px;
  margin-top: 12px;
  color: var(--ink-3);
}
.pillar .pain {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-4);
}
.pillar .pain s { color: var(--ink-4); text-decoration-color: var(--accent); }
@media (max-width: 980px) { .pillars { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .pillars { grid-template-columns: 1fr; gap: 20px; } }

/* Industries --------------------------------------------- */
.industries {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: clamp(36px, 5vw, 48px);
}
.industry {
  background: #fff;
  padding: 36px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 0.2s ease;
  cursor: default;
}
.industry:hover { background: var(--canvas); }
.industry svg { width: 36px; height: 36px; color: var(--accent); }
.industry .nm {
  font-family: "IBM Plex Sans Condensed", sans-serif;
  font-weight: 600;
  font-size: 17px;
}
.industry .sub {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-4);
}
@media (max-width: 1024px) { .industries { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 540px) { .industries { grid-template-columns: repeat(2, 1fr); } .industry { padding: 26px 18px; gap: 10px; } }

/* Process ------------------------------------------------ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  column-gap: 24px;
  row-gap: 0;
  margin-top: clamp(36px, 5vw, 56px);
  border-top: 1px solid var(--line-2);
}
.proc {
  padding: 32px 0 32px;
  position: relative;
}
.proc + .proc {
  border-left: 1px dashed var(--line-2);
  padding-left: 24px;
  margin-left: -24px;
}
.proc .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-family: "IBM Plex Sans Condensed", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.proc h4 {
  font-size: 18px;
  margin-top: 16px;
}
.proc p {
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 10px;
}
@media (max-width: 1024px) {
  .process-grid { grid-template-columns: 1fr 1fr 1fr; column-gap: 20px; }
  .proc { padding: 28px 0; }
  .proc + .proc { padding-left: 20px; margin-left: -20px; }
  .proc:nth-child(3n+1) { border-left: none; padding-left: 0; margin-left: 0; }
  .proc:nth-child(-n+3) { border-bottom: 1px dashed var(--line-2); }
}
@media (max-width: 640px) {
  .process-grid { grid-template-columns: 1fr 1fr; }
  .proc:nth-child(3n+1) { border-left: 1px dashed var(--line-2); padding-left: 20px; margin-left: -20px; }
  .proc:nth-child(2n+1) { border-left: none; padding-left: 0; margin-left: 0; }
  .proc:nth-child(-n+4) { border-bottom: 1px dashed var(--line-2); }
}
@media (max-width: 420px) {
  .process-grid { grid-template-columns: 1fr; }
  .proc, .proc + .proc { border-left: none; padding: 24px 0; margin-left: 0; }
  .proc { border-bottom: 1px dashed var(--line-2); }
  .proc:last-child { border-bottom: none; }
}

/* Testimonial -------------------------------------------- */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 48px;
}
.quote {
  background: #fff;
  padding: 40px 36px;
}
.quote .mark {
  font-family: "IBM Plex Sans Condensed", sans-serif;
  font-size: 56px;
  color: var(--accent);
  line-height: 0.4;
  font-weight: 700;
}
.quote p {
  font-size: 18px;
  line-height: 1.45;
  margin-top: 24px;
  color: var(--ink);
}
.quote .who {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.quote .who .nm { font-weight: 600; }
.quote .who .role {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
@media (max-width: 720px) { .quote-grid { grid-template-columns: 1fr; } }

/* Cities served ------------------------------------------ */
.cities {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  align-items: start;
}
.cities-list {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(32px, 5vw, 64px);
  row-gap: 0;
}
.cities-list li {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  font-family: "IBM Plex Sans Condensed", sans-serif;
  font-size: 22px;
  font-weight: 600;
}
.cities-list li span {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-4);
  font-weight: 400;
  text-align: right;
  white-space: nowrap;
}
@media (max-width: 980px) {
  .cities { grid-template-columns: 1fr; gap: 24px; }
  .cities-list { grid-template-columns: 1fr 1fr; column-gap: 32px; }
}
@media (max-width: 540px) {
  .cities-list { grid-template-columns: 1fr; column-gap: 0; }
  .cities-list li { padding: 16px 0; font-size: 19px; }
  .cities-list li span { white-space: normal; max-width: 50%; }
}

/* CTA banner --------------------------------------------- */
.cta-banner {
  background: var(--accent);
  color: #fff;
  padding: clamp(48px, 7vw, 88px) 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 50%, rgba(255,255,255,0.12), transparent 50%);
  pointer-events: none;
}
.cta-banner .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(20px, 4vw, 48px);
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.cta-banner > .wrap > div:first-child { flex: 1 1 320px; min-width: 0; }
.cta-banner h2 {
  color: #fff;
  font-size: clamp(26px, 3.4vw, 44px);
  max-width: 22ch;
  line-height: 1.08;
}
.cta-banner .sub {
  color: rgba(255,255,255,0.85);
  margin-top: 14px;
  font-size: 15px;
  max-width: 48ch;
}
.cta-banner .btn-light { background: #fff; color: var(--accent); border-color: #fff; }
.cta-banner .btn-light:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Footer ------------------------------------------------- */
.footer {
  background: var(--ink);
  color: #c8c9cd;
  padding: clamp(56px, 7vw, 72px) 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(32px, 4vw, 48px);
  padding-bottom: clamp(40px, 5vw, 56px);
  border-bottom: 1px solid #2a2d33;
}
.footer-brand img {
  height: 56px;
  width: auto;
  background: #fff;
  padding: 8px 12px;
  border-radius: 2px;
}
.footer-brand p {
  color: #8a8d94;
  font-size: 14px;
  margin-top: 20px;
  max-width: 36ch;
}
.footer-col h5 {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 20px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: #b4b6bb; transition: color 0.2s ease; font-size: 14px; }
.footer-col a:hover { color: var(--accent); }
.footer-col p { color: #b4b6bb; font-size: 14px; margin: 0 0 10px; }
.footer-col .contact-line { display: flex; gap: 10px; align-items: baseline; }
.footer-col .contact-line .lbl {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: #595c64;
  width: 36px;
  flex-shrink: 0;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  gap: 16px;
  flex-wrap: wrap;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #595c64;
}
@media (max-width: 980px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 540px) {
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { justify-content: flex-start; }
}

/* Section header reusable ------------------------------- */
.sec-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: end;
}
.sec-head h2 { max-width: 16ch; }
.sec-head .sec-sub {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sec-head .sec-sub p { font-size: 16px; margin: 0; }
.sec-head .sec-sub .btn-link { align-self: flex-start; }
@media (max-width: 880px) {
  .sec-head { grid-template-columns: 1fr; gap: 20px; align-items: start; }
  .sec-head h2 { max-width: 22ch; }
}

/* Mobile: full-width CTA buttons for consistency & better tap targets */
@media (max-width: 640px) {
  /* Page-banner CTAs (when present) */
  .page-banner .hero-ctas { flex-direction: column; align-items: stretch; gap: 12px; }
  .page-banner .hero-ctas .btn { width: 100%; }

  /* Product block CTAs */
  .product-block .copy-body > div:last-child,
  .product-block .copy > div:last-child {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
  }
  .product-block .copy-body .btn,
  .product-block .copy .btn {
    width: 100%;
  }

  /* CTA banner (red strip) */
  .cta-banner .wrap > div:last-child {
    width: 100%;
    flex-direction: column;
    gap: 12px;
  }
  .cta-banner .wrap > div:last-child .btn { width: 100%; }

  /* Hero CTAs on home (also full-width) */
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; flex: 0 0 auto; }
}

/* Scroll reveal ----------------------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* Engineering Capabilities ------------------------------ */
.capabilities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: clamp(36px, 5vw, 56px);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.cap {
  padding: 32px 28px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #fff;
  transition: background 0.2s ease;
}
.cap:hover { background: var(--canvas); }
.cap .icon {
  display: block;
  width: 36px;
  height: 36px;
  color: var(--accent);
  margin-bottom: 4px;
}
.cap .icon svg { width: 100%; height: 100%; }
.cap-hd {
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.cap-hd .num {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.cap-hd h4 {
  font-family: "IBM Plex Sans Condensed", sans-serif;
  font-size: 20px;
  font-weight: 600;
  margin: 0;
  line-height: 1.2;
}
.cap p {
  font-size: 14px;
  color: var(--ink-3);
  margin: 0;
}
.cap-meta {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--line-2);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-4);
}
@media (max-width: 980px) { .capabilities { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .capabilities { grid-template-columns: 1fr; } }

/* =========================================================
   PRODUCTS PAGE
========================================================= */
.subhero {
  padding: clamp(40px, 6vw, 64px) 0 clamp(32px, 5vw, 48px);
  border-bottom: 1px solid var(--line);
}
.subhero h1 {
  font-size: clamp(36px, 5vw, 72px);
  letter-spacing: -0.02em;
  max-width: 18ch;
  line-height: 1.02;
}
.subhero .crumb {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 20px;
}
.subhero .crumb a { color: var(--ink-4); }
.subhero .crumb a:hover { color: var(--accent); }
.subhero p.lead { margin-top: 24px; max-width: 60ch; font-size: 17px; }
.subhero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: end;
}
@media (max-width: 980px) {
  .subhero-grid { grid-template-columns: 1fr; gap: 20px; align-items: start; }
}
@media (max-width: 540px) {
  .subhero h1 { font-size: clamp(28px, 8vw, 40px); }
  .subhero p.lead { font-size: 16px; }
}

.cat-nav {
  position: sticky;
  top: 72px;
  z-index: 40;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.cat-nav .wrap {
  display: flex;
  gap: 4px;
  padding: 0 var(--pad);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.cat-nav .wrap::-webkit-scrollbar { display: none; }
.cat-nav a {
  padding: 16px 14px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}
.cat-nav a:hover, .cat-nav a.is-active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
@media (max-width: 540px) {
  .cat-nav a { padding: 14px 12px; }
}

.product-block {
  padding: clamp(56px, 8vw, 112px) 0;
  border-bottom: 1px solid var(--line);
}
.product-block:nth-child(even) { background: var(--canvas); }
.product-block .grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  grid-template-rows: auto 1fr;
  column-gap: clamp(40px, 6vw, 80px);
  row-gap: clamp(20px, 3vw, 32px);
  align-items: start;
}
/* Desktop layout: image on right, head+body stacked on left */
.product-block .copy-head { grid-column: 1; grid-row: 1; }
.product-block .copy-body { grid-column: 1; grid-row: 2; }
.product-block .image { grid-column: 2; grid-row: 1 / span 2; align-self: start; }
/* Reverse blocks: image on left */
.product-block.reverse .grid { grid-template-columns: 1fr 1.05fr; }
.product-block.reverse .copy-head { grid-column: 2; grid-row: 1; }
.product-block.reverse .copy-body { grid-column: 2; grid-row: 2; }
.product-block.reverse .image { grid-column: 1; grid-row: 1 / span 2; align-self: start; }
.product-block .copy-head .code {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 16px;
}
.product-block .copy-head h2 {
  font-size: clamp(32px, 3.8vw, 52px);
  margin: 0;
}
.product-block .image {
  position: relative;
  aspect-ratio: 4/3.4;
}
.product-block .image .block {
  position: absolute;
  inset: auto 0 0 auto;
  width: 76%;
  height: 76%;
  background: var(--accent-soft);
}
.product-block:nth-child(even) .image .block { background: #fff; }
.product-block .image .frame {
  position: absolute;
  inset: 0 auto auto 0;
  width: 86%;
  height: 88%;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.product-block .image .frame img { width: 100%; height: 100%; object-fit: cover; }
.product-block .code {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 16px;
}
.product-block h2 {
  font-size: clamp(32px, 3.8vw, 52px);
  margin-bottom: 24px;
}
.product-block .intro { font-size: 17px; max-width: 56ch; margin-bottom: 32px; color: var(--ink-2); }
.product-block .specs-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line-2);
  margin-bottom: 32px;
}
.product-block .specs-table .row {
  padding: 14px 0;
  border-bottom: 1px solid var(--line-2);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}
.product-block .specs-table .row:nth-child(odd) { padding-right: 32px; border-right: 1px solid var(--line-2); }
.product-block .specs-table .row:nth-child(even) { padding-left: 32px; }
.product-block .specs-table .lbl {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.product-block .specs-table .val {
  font-family: "IBM Plex Sans Condensed", sans-serif;
  font-weight: 600;
  font-size: 17px;
}
.product-block .applications {
  margin-bottom: 32px;
}
.product-block .applications h5 {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 14px;
}
.product-block .applications ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
}
.product-block .applications li {
  font-size: 15px;
  display: flex;
  gap: 10px;
  align-items: baseline;
}
.product-block .applications li::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--accent);
  display: inline-block;
  flex-shrink: 0;
  transform: translateY(-2px);
}
@media (max-width: 980px) {
  .product-block .grid, .product-block.reverse .grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 24px;
  }
  /* Mobile: title first, image second, body third */
  .product-block .copy-head, .product-block.reverse .copy-head { grid-column: 1; grid-row: 1; }
  .product-block .image, .product-block.reverse .image { grid-column: 1; grid-row: 2; max-width: 560px; margin: 0 auto; width: 100%; aspect-ratio: 4/3; }
  .product-block .copy-body, .product-block.reverse .copy-body { grid-column: 1; grid-row: 3; }
  .product-block .specs-table { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .product-block .specs-table { grid-template-columns: 1fr; }
  .product-block .specs-table .row:nth-child(odd) { padding-right: 0; border-right: none; }
  .product-block .specs-table .row:nth-child(even) { padding-left: 0; }
  .product-block .applications ul { grid-template-columns: 1fr; }
  .product-block h2 { font-size: clamp(28px, 8vw, 36px); }
}

/* =========================================================
   CONTACT PAGE
========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 88px);
  margin-top: 56px;
}
.contact-info { display: flex; flex-direction: column; gap: 32px; }
.contact-card {
  border: 1px solid var(--line);
  padding: 28px;
  background: #fff;
}
.contact-card h4 {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.contact-card h4 svg { width: 16px; height: 16px; }
.contact-card .big {
  font-family: "IBM Plex Sans Condensed", sans-serif;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 8px;
  color: var(--ink);
}
.contact-card .small { font-size: 14px; color: var(--ink-3); margin: 0; }

.form {
  background: var(--canvas);
  padding: clamp(32px, 4vw, 48px);
  border: 1px solid var(--line);
}
.form h3 { font-size: 26px; margin-bottom: 24px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form .row.solo { grid-template-columns: 1fr; }
.form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.form input, .form select, .form textarea {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 15px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  color: var(--ink);
  transition: border-color 0.2s ease;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form textarea { resize: vertical; min-height: 110px; }
.form .form-cta {
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.form .form-cta .note {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-4);
}
@media (max-width: 980px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr 1fr; }
  /* On mobile: show form FIRST (just below banner), info second */
  .contact-info { order: 2; }
  .form { order: 1; }
}
@media (max-width: 540px) {
  .form .row { grid-template-columns: 1fr; }
  .contact-card { padding: 22px; }
  .contact-card .big { font-size: 22px !important; }
  .form .form-cta { flex-direction: column; align-items: stretch; }
  .form .form-cta .btn { width: 100%; }
}

.map-block {
  margin-top: 64px;
  border: 1px solid var(--line);
  aspect-ratio: 16/6;
  overflow: hidden;
  background: var(--canvas);
}
.map-block iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.4) contrast(1.05); }

/* =========================================================
   Misc
========================================================= */
::selection { background: var(--accent); color: #fff; }

/* =========================================================
   PARTNERS MARQUEE STRIP
========================================================= */
.partners-strip {
  padding: clamp(48px, 6vw, 72px) 0 clamp(40px, 5vw, 56px);
  background: var(--canvas);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  position: relative;
}
.partners-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: clamp(28px, 4vw, 44px);
}
.partners-head h3 {
  font-family: "IBM Plex Sans Condensed", sans-serif;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 600;
  margin: 0;
  max-width: 26ch;
}
.partners-track-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.partners-track-wrap::before,
.partners-track-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.partners-track-wrap::before { left: 0; background: linear-gradient(90deg, var(--canvas), transparent); }
.partners-track-wrap::after { right: 0; background: linear-gradient(270deg, var(--canvas), transparent); }
.partners-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: partners-scroll 38s linear infinite;
}
.partners-strip:hover .partners-track { animation-play-state: paused; }
.logo-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 36px;
  height: 96px;
  background: #fff;
  border: 1px solid var(--line);
  margin-right: 16px;
  min-width: 220px;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.logo-item img {
  max-height: 56px;
  max-width: 180px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  filter: grayscale(0.15);
  transition: filter 0.2s ease, opacity 0.2s ease;
  opacity: 0.92;
}
.logo-item:hover {
  border-color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.logo-item:hover img {
  filter: grayscale(0);
  opacity: 1;
}
@keyframes partners-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .partners-track { animation: none; }
}
@media (max-width: 540px) {
  .partners-track-wrap::before, .partners-track-wrap::after { width: 40px; }
  .logo-item { padding: 0 22px; height: 78px; min-width: 170px; margin-right: 12px; }
  .logo-item img { max-height: 44px; max-width: 130px; }
  .partners-track { animation-duration: 28s; }
}

/* =========================================================
   SPM PAGE — Hero + Gallery
========================================================= */
.spm-hero {
  background: var(--ink);
  color: #f2f0eb;
  padding: clamp(64px, 9vw, 120px) 0 clamp(72px, 10vw, 140px);
  position: relative;
  overflow: hidden;
}
.spm-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 30%, rgba(192,57,43,0.18), transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(192,57,43,0.10), transparent 40%);
  pointer-events: none;
}
.spm-hero .wrap { position: relative; z-index: 1; }
.spm-hero .crumb { color: rgba(255,255,255,0.5); }
.spm-hero .crumb a { color: rgba(255,255,255,0.7); }
.spm-hero h1 {
  color: #fff;
  font-size: clamp(48px, 6.5vw, 88px);
  letter-spacing: -0.02em;
  line-height: 0.98;
  max-width: 18ch;
  margin-top: 18px;
}
.spm-hero h1 em { font-style: normal; color: var(--accent); }
.spm-hero p.lead {
  margin-top: 28px;
  color: rgba(255,255,255,0.78);
  max-width: 60ch;
  font-size: 18px;
}
.spm-hero .specs-row {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.spm-hero .spec {
  padding: 24px 24px 0 0;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.spm-hero .spec:last-child { border-right: none; }
.spm-hero .spec .v {
  font-family: "IBM Plex Sans Condensed", sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: #fff;
}
.spm-hero .spec .l {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 6px;
}
@media (max-width: 720px) {
  .spm-hero .specs-row { grid-template-columns: 1fr 1fr; }
  .spm-hero .spec:nth-child(2) { border-right: none; }
  .spm-hero .spec:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,0.12); padding-bottom: 24px; }
}

/* SPM application gallery */
.spm-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 56px;
}
.spm-app {
  background: #fff;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 0.2s ease;
  cursor: pointer;
  min-height: 220px;
  position: relative;
}
.spm-app:hover { background: var(--canvas); }
.spm-app .icon {
  display: block;
  width: 36px;
  height: 36px;
  color: var(--accent);
  margin-bottom: 6px;
}
.spm-app .icon svg { width: 100%; height: 100%; }
.spm-app .code {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.spm-app .nm {
  font-family: "IBM Plex Sans Condensed", sans-serif;
  font-weight: 600;
  font-size: 19px;
  line-height: 1.15;
  margin-top: auto;
}
.spm-app .tag {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-4);
}
@media (max-width: 980px) { .spm-gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .spm-gallery { grid-template-columns: 1fr; } .spm-app { min-height: 0; padding: 26px 22px; } }

/* SPM advantages */
.advantages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 56px;
}
.advantage {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 0;
  border-top: 2px solid var(--accent);
}
.advantage .num {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-4);
}
.advantage h4 {
  font-family: "IBM Plex Sans Condensed", sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
  margin: 0;
}
@media (max-width: 980px) { .advantages { grid-template-columns: 1fr 1fr; gap: 24px; } }
@media (max-width: 540px) { .advantages { grid-template-columns: 1fr; } }

/* Feature box (servo broaching highlight) */
.feature-box {
  background: var(--ink);
  color: #f2f0eb;
  padding: clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  margin-top: 32px;
}
.feature-box h5 {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 18px;
}
.feature-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature-box ul li {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  display: flex;
  gap: 12px;
  align-items: baseline;
}
.feature-box ul li::before {
  content: "→";
  color: var(--accent);
  font-family: "IBM Plex Mono", monospace;
}
@media (max-width: 980px) { .feature-box { grid-template-columns: 1fr; gap: 32px; padding: clamp(28px, 5vw, 48px); } }


/* Power-pack configuration cards (Products page) ------- */
.pp-configs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 14px;
}
.pp-config {
  position: relative;
  padding: 18px 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--ink);
  border-radius: 2px;
  transition: all 0.2s ease;
}
.pp-config:hover {
  border-color: var(--ink);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}
.pp-config.is-featured {
  border-top-color: var(--accent);
  background: var(--accent-tint);
  border-color: var(--accent-soft);
}
.pp-config.is-featured:hover {
  border-color: var(--accent);
}
.pp-config .pp-tag {
  position: absolute;
  top: -1px;
  right: 12px;
  transform: translateY(-50%);
  background: var(--accent);
  color: #fff;
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 8px;
  font-weight: 500;
}
.pp-config-hd {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 8px;
}
.pp-config .pp-num {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--ink-4);
}
.pp-config .pp-name {
  font-family: "IBM Plex Sans Condensed", sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.pp-config.is-featured .pp-num { color: var(--accent-deep); }
.pp-config .pp-desc {
  margin: 0;
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.4;
}
.pp-foot {
  margin: 16px 0 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-4);
}
@media (max-width: 640px) {
  .pp-configs { grid-template-columns: 1fr; }
  .pp-config { padding: 16px 16px 18px; }
}

/* Awaiting-photo placeholder ------------------------------ */
img[data-placeholder] {
  background: #ecebe5;
  position: relative;
  min-height: 200px;
}
img[data-placeholder]::after {
  content: "Awaiting product photo — " attr(data-placeholder);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8a8d94;
  background: #ecebe5;
  padding: 16px;
}


/* === CLIENTS GRID v1 === */
.clients-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin-top: 48px; background: var(--bg); }
@media (max-width: 960px) { .clients-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .clients-grid { grid-template-columns: repeat(2, 1fr); } }
.client-logo { aspect-ratio: 3 / 2; display: flex; align-items: center; justify-content: center; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(18px, 2.6vw, 32px); background: var(--bg); }
.client-logo img { max-width: 100%; max-height: 64px; width: auto; height: auto; object-fit: contain; filter: grayscale(100%); opacity: 0.72; transition: filter 220ms ease, opacity 220ms ease; }
.client-logo:hover img { filter: none; opacity: 1; }
/* === END CLIENTS GRID === */


/* === CANVAS-TO-CANVAS DIVIDER v1 === */
.section--canvas + .section--canvas { border-top: 1px solid var(--line-2); }
/* === END CANVAS DIVIDER === */
