/* ==========================================================================
   SCHUMADE — Design System
   B2B industrial palette: deep space blue + pure white / light grey,
   with a low-frequency warm gold accent (data, CTAs, key tags).
   Low saturation, high contrast.
   ========================================================================== */

/* ------------------------------------------------------------- fonts */

@font-face {
  font-family: 'Space Grotesk';
  src: url('../fonts/space-grotesk-var.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-var.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ------------------------------------------------------------- tokens */

:root {
  /* surfaces — pure white / light grey base */
  --bg: #ffffff;
  --bg-2: #f5f7fa;
  --bg-3: #eef2f6;
  --panel: #ffffff;
  --panel-2: #f9fbfd;

  /* hairlines */
  --line: #e3e9f0;
  --line-2: #d1dbe6;

  /* ink — deep blue-tinted text, high contrast on white */
  --text: #0b2439;
  --text-2: #46586c;
  --text-3: #5a6e83;   /* muted — kept ≥4.7:1 on white & light grey (small text) */

  /* deep space blue — primary brand color (headings, nav, dark sections) */
  --navy: #0f3b5c;
  --navy-deep: #0a2b45;
  --navy-700: #16507a;
  --on-navy: #eef4fa;
  --on-navy-2: rgba(219, 232, 246, 0.84);
  --on-navy-3: rgba(199, 219, 238, 0.68);
  --line-navy: rgba(255, 255, 255, 0.14);

  /* accent — warm gold, used sparingly: core data, CTA buttons, key tags */
  --accent: #c8b68e;          /* base gold — fills (buttons, tag backgrounds) */
  --accent-deep: #8a713f;     /* deep gold — text on light surfaces (AA contrast) */
  --accent-hover: #d6c6a4;
  --accent-dim: rgba(200, 182, 142, 0.16);
  --accent-line: rgba(200, 182, 142, 0.55);
  --accent-ink: #0f3b5c;      /* text on gold fills = deep space blue */
  --accent-on-navy: #d9c9a3;  /* bright gold on dark sections */

  /* semantic */
  --danger: #c0392b;
  --ok: #17794f;

  /* elevation */
  --shadow-s: 0 1px 2px rgba(11, 36, 57, 0.06);
  --shadow: 0 12px 32px -18px rgba(11, 36, 57, 0.18);
  --shadow-l: 0 28px 64px -30px rgba(11, 36, 57, 0.26);

  --font-display: 'Space Grotesk', 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB',
    'Microsoft YaHei', 'Source Han Sans SC', sans-serif;
  --font-mono: 'Space Grotesk', ui-monospace, 'SF Mono', Consolas, monospace;

  --radius-s: 8px;
  --radius: 14px;
  --radius-l: 20px;

  --container: 1200px;
  --nav-h: 72px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ------------------------------------------------------------- reset */

*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--text);
}

p { margin: 0; }

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

ul, ol { margin: 0; padding: 0; list-style: none; }

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

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 6px;
  border: 2px solid #f1f5f9;
}
::-webkit-scrollbar-thumb:hover { background: #a8b8cc; }

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

/* ------------------------------------------------------------- layout */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.section { padding: clamp(72px, 9vw, 128px) 0; position: relative; }
.section[id] { scroll-margin-top: 84px; }
.section--tight { padding: clamp(52px, 6vw, 84px) 0; }
.section--soft { background: var(--bg-2); }
.section--line { border-top: 1px solid var(--line); }

.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 20px;
}

.eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--accent);
  opacity: 0.7;
}

.section-head--center .eyebrow::after {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--accent);
  opacity: 0.7;
}

.h-display { font-size: clamp(2.5rem, 5.2vw, 4.1rem); }
.h-xl { font-size: clamp(2rem, 3.6vw, 2.9rem); }
.h-lg { font-size: clamp(1.55rem, 2.6vw, 2.1rem); }
.h-md { font-size: clamp(1.2rem, 1.7vw, 1.4rem); }

.lead {
  font-size: clamp(1.02rem, 1.35vw, 1.16rem);
  color: var(--text-2);
  line-height: 1.8;
}

.muted { color: var(--text-3); }
.accent { color: var(--accent-deep); }

.grid { display: grid; gap: 24px; }
.grid > * { min-width: 0; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
}
.split > * { min-width: 0; }

/* ------------------------------------------------------------- backdrop */

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(14, 36, 57, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 36, 57, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 0%, transparent 75%);
}

.bg-glow {
  position: fixed;
  z-index: -1;
  width: 900px;
  height: 900px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(22, 104, 201, 0.06) 0%, transparent 62%);
  top: -420px;
  left: 50%;
  transform: translateX(-50%);
}

.bg-glow--sub {
  top: auto;
  bottom: -520px;
  left: auto;
  right: -320px;
  background: radial-gradient(circle, rgba(18, 50, 84, 0.05) 0%, transparent 62%);
}

/* ------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 26px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all 0.28s var(--ease);
  white-space: nowrap;
}

.btn svg { width: 17px; height: 17px; flex: 0 0 auto; transition: transform 0.28s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(11, 36, 57, 0.08);
}
.btn--primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 10px 26px -12px rgba(200, 182, 142, 0.7);
  transform: translateY(-1px);
}

.btn--ghost {
  border-color: var(--line-2);
  color: var(--text);
  background: #ffffff;
}
.btn--ghost:hover {
  border-color: var(--accent-line);
  color: var(--accent-deep);
  background: var(--accent-dim);
  transform: translateY(-1px);
}

.btn--on-navy {
  background: transparent;
  border-color: var(--line-navy);
  color: var(--on-navy);
}
.btn--on-navy:hover {
  border-color: var(--accent-on-navy);
  color: var(--accent-on-navy);
  background: rgba(108, 178, 255, 0.1);
  transform: translateY(-1px);
}

.btn--sm { height: 42px; padding: 0 20px; font-size: 14px; }
.btn--block { width: 100%; }

.btn[disabled] { opacity: 0.5; pointer-events: none; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-deep);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.28s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ------------------------------------------------------------- nav */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), backdrop-filter 0.35s;
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(14, 36, 57, 0.02), 0 8px 24px -20px rgba(14, 36, 57, 0.25);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}

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

.brand__mark {
  width: 30px;
  height: 30px;
  color: var(--accent-deep);
}

.brand__sub {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-2);
  line-height: 1.2;
  margin-top: 3px;
}

/* custom logo uploaded via the admin console */
.brand__mark--img {
  width: auto;
  height: 30px;
  max-width: 210px;
  object-fit: contain;
  border-radius: 4px;
}
.brand__mark--wide { height: 28px; }

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

.nav__link {
  position: relative;
  padding: 9px 15px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-2);
  white-space: nowrap;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}
.nav__link:hover { color: var(--text); background: rgba(14, 36, 57, 0.05); }
.nav__link.is-active { color: var(--accent-deep); }
.nav__link.is-active::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 1px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-deep);
  transform: translateX(-50%);
}

.nav__side { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }

.lang-switch {
  display: inline-flex;
  flex: 0 0 auto;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
  background: #ffffff;
}

.lang-switch button {
  border: 0;
  background: transparent;
  color: var(--text-3);
  font-size: 13px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s var(--ease);
  font-family: var(--font-display);
}

.lang-switch button.is-active {
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
}

.nav__burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  position: relative;
  z-index: 130;
}
.nav__burger span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: var(--text);
  transition: all 0.3s var(--ease);
}
.nav__burger span:nth-child(1) { top: 16px; }
.nav__burger span:nth-child(2) { top: 22px; }
.nav__burger span:nth-child(3) { top: 28px; }
.nav__burger.is-open span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(255, 255, 255, 0.98);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 32px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text-2);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mobile-menu a.is-active, .mobile-menu a:hover { color: var(--accent-deep); }
.mobile-menu a span { font-size: 13.5px; font-family: var(--font-mono); color: var(--text-3); }

/* while the mobile menu is open, keep the nav (burger = close button) above the overlay */
body.menu-open .nav { z-index: 130; }

/* ------------------------------------------------------------- hero */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 40px) 0 80px;
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero h1 { margin-bottom: 26px; }

.hero__lead {
  max-width: 560px;
  margin-bottom: 38px;
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__meta {
  margin-top: 52px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: clamp(24px, 4vw, 56px);
  flex-wrap: wrap;
}

.hero__meta-item b {
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  color: var(--accent-deep);
  letter-spacing: -0.01em;
}
.hero__meta-item b span { color: inherit; font-size: inherit; }
.hero__meta-item > span { font-size: 13.5px; color: var(--text-3); }

.hero__visual { position: relative; }

.hero__visual img {
  width: 100%;
  border-radius: var(--radius-l);
  border: 1px solid var(--line-2);
}

.hero__ring {
  position: absolute;
  inset: -7% -5%;
  border: 1px solid var(--line);
  border-radius: 32px;
  pointer-events: none;
}
.hero__ring::before {
  content: '';
  position: absolute;
  inset: 24px;
  border: 1px dashed rgba(14, 36, 57, 0.1);
  border-radius: 24px;
}

.wave-strip {
  margin-top: 26px;
  height: 54px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(22, 104, 201, 0.06), rgba(22, 104, 201, 0.01));
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
}
.wave-strip i {
  display: block;
  width: 3px;
  border-radius: 3px;
  background: var(--accent);
  opacity: 0.75;
  animation: wavePulse 3.2s ease-in-out infinite;
}
@keyframes wavePulse {
  0%, 100% { transform: scaleY(0.24); }
  50% { transform: scaleY(1); }
}

/* ------------------------------------------------------------- cards */

.card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-s);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease),
    background 0.3s var(--ease), box-shadow 0.3s var(--ease);
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-line), transparent);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.card:hover {
  border-color: var(--line-2);
  background: var(--panel-2);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.card:hover::before { opacity: 1; }

.card__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--accent-line);
  background: var(--accent-dim);
  color: var(--accent-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.card__icon svg { width: 22px; height: 22px; }

.card__metric {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--accent-deep);
  line-height: 1;
  margin-bottom: 6px;
}
.card__metric-label {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  font-family: var(--font-mono);
  margin-bottom: 20px;
}

.card h3 { font-size: 18px; margin-bottom: 12px; }
.card p { color: var(--text-2); font-size: 14.5px; line-height: 1.75; }

/* ------------------------------------------------------------- product cards */

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

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-s);
  transition: all 0.35s var(--ease);
}
.product-card:hover {
  border-color: var(--accent-line);
  transform: translateY(-5px);
  box-shadow: var(--shadow-l);
}

.product-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0a1424;
}
.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.product-card:hover .product-card__media img { transform: scale(1.045); }

.product-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-on-navy);
  background: rgba(9, 23, 39, 0.72);
  border: 1px solid rgba(217, 201, 163, 0.42);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.product-card__body { padding: 24px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.product-card__model {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: var(--text-3);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.product-card h3 { font-size: 18.5px; margin-bottom: 10px; }
.product-card__tagline {
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.7;
  flex: 1;
}
.product-card__more {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
  font-family: var(--font-display);
  color: var(--accent-deep);
}
.product-card__more svg { width: 15px; height: 15px; transition: transform 0.3s var(--ease); }
.product-card:hover .product-card__more svg { transform: translateX(4px); }

/* filter tabs */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--text-2);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.filter-btn:hover { border-color: var(--accent-line); color: var(--text); }
.filter-btn.is-active {
  background: var(--accent);
  border-color: var(--accent-deep);
  color: var(--accent-ink);
  font-weight: 600;
}

/* ------------------------------------------------------------- modal */

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.modal.is-open { opacity: 1; visibility: visible; }

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 39, 67, 0.52);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.modal__panel {
  position: relative;
  width: min(880px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  background: var(--panel);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-l);
  transform: translateY(18px) scale(0.985);
  transition: transform 0.35s var(--ease);
}
.modal.is-open .modal__panel { transform: none; }

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 5;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(9, 23, 39, 0.62);
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s var(--ease);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.modal__close:hover { color: var(--accent-on-navy); border-color: var(--accent-on-navy); }

.modal__media { aspect-ratio: 16 / 8; overflow: hidden; background: #0a1424; }
.modal__media img { width: 100%; height: 100%; object-fit: cover; }
.modal__body { padding: clamp(24px, 4vw, 44px); }

.spec-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.spec-table tr { border-bottom: 1px solid var(--line); }
.spec-table tr:last-child { border-bottom: 0; }
.spec-table td { padding: 12px 0; font-size: 14.5px; vertical-align: top; }
.spec-table td:first-child { color: var(--text-3); width: 42%; padding-right: 20px; }
.spec-table td:last-child { color: var(--text); font-weight: 500; }

.feature-list { display: grid; gap: 10px; }
.feature-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--text-2);
  font-size: 14.5px;
}
.feature-list li::before {
  content: '';
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--accent-deep);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.modal-section-title {
  font-size: 12.5px;
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 34px 0 14px;
}

/* ------------------------------------------------------------- forms */

.form { display: grid; gap: 18px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.field { display: grid; gap: 8px; }

.field label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  font-family: var(--font-display);
  letter-spacing: 0.01em;
}
.field label .req { color: var(--accent-deep); }

.field input,
.field select,
.field textarea {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-s);
  padding: 13px 16px;
  font-size: 15px;
  color: var(--text);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
  outline: none;
  appearance: none;
}

.field textarea { resize: vertical; min-height: 130px; line-height: 1.65; }

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235a6e83' stroke-width='2.4'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
  cursor: pointer;
}
.field select option { background: #ffffff; color: var(--text); }

.field input::placeholder,
.field textarea::placeholder { color: var(--text-3); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent-line);
  background: #ffffff;
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.field--error input,
.field--error textarea { border-color: rgba(192, 57, 43, 0.55); }

.field__hint { font-size: 13px; color: var(--text-3); }
.field__error { font-size: 13px; color: var(--danger); display: none; }
.field--error .field__error { display: block; }

/* upload zone */
.upload-zone {
  border: 1px dashed var(--line-2);
  border-radius: var(--radius);
  padding: 26px;
  text-align: center;
  cursor: pointer;
  transition: all 0.28s var(--ease);
  background: var(--panel-2);
  position: relative;
}
.upload-zone:hover, .upload-zone.is-drag {
  border-color: var(--accent-line);
  background: var(--accent-dim);
}
.upload-zone svg { width: 26px; height: 26px; color: var(--accent-deep); margin: 0 auto 12px; }
.upload-zone b {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 5px;
}
.upload-zone span { font-size: 13px; color: var(--text-3); }
.upload-zone input[type='file'] { display: none; }

.upload-list { display: grid; gap: 8px; margin-top: 14px; }
.upload-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: var(--bg-2);
  font-size: 13.5px;
}
.upload-item svg { width: 15px; height: 15px; color: var(--text-3); flex: 0 0 auto; }
.upload-item b { font-weight: 500; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upload-item span { color: var(--text-3); font-size: 12.5px; flex: 0 0 auto; margin-left: auto; }
.upload-item button {
  border: 0;
  background: transparent;
  color: var(--text-3);
  cursor: pointer;
  padding: 2px 4px;
  flex: 0 0 auto;
  transition: color 0.2s;
}
.upload-item button:hover { color: var(--danger); }

/* form status */
.form-status {
  display: none;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  border-radius: var(--radius-s);
  font-size: 14px;
  line-height: 1.6;
}
.form-status.is-visible { display: flex; }
.form-status--ok {
  background: rgba(23, 121, 79, 0.06);
  border: 1px solid rgba(23, 121, 79, 0.28);
  color: #15603f;
}
.form-status--err {
  background: rgba(192, 57, 43, 0.05);
  border: 1px solid rgba(192, 57, 43, 0.26);
  color: #9c3327;
}
.form-status svg { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 2px; }

/* ------------------------------------------------------------- timeline */

.timeline { position: relative; margin-top: 12px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, var(--accent-line), var(--line) 60%, transparent);
}

.timeline__item {
  position: relative;
  padding: 0 0 42px 44px;
}
.timeline__item:last-child { padding-bottom: 0; }

.timeline__item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1px solid var(--accent-line);
  background: var(--bg);
}
.timeline__item::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 12px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-deep);
  box-shadow: 0 0 0 4px var(--accent-dim);
}

.timeline__year {
  font-family: var(--font-mono);
  font-size: 13.5px;
  letter-spacing: 0.12em;
  color: var(--accent-deep);
  margin-bottom: 8px;
}
.timeline__item h3 { font-size: 18px; margin-bottom: 8px; }
.timeline__item p { color: var(--text-2); font-size: 14.5px; max-width: 620px; }

/* ------------------------------------------------------------- steps */

.steps { display: grid; gap: 0; counter-reset: step; }

.step {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.step:first-child { border-top: 1px solid var(--line); }

.step__num {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--accent-deep);
  display: flex;
  align-items: center;
  gap: 12px;
}
.step__num::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line-2);
}

.step h3 { font-size: 19px; margin-bottom: 10px; }
.step p { color: var(--text-2); font-size: 14.5px; max-width: 640px; }

/* ------------------------------------------------------------- stats band */

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
}

.stat {
  padding: 34px 30px;
  border-right: 1px solid var(--line);
  text-align: left;
}
.stat:last-child { border-right: 0; }
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--accent-deep);
  line-height: 1.1;
  margin-bottom: 6px;
}
.stat b span { color: inherit; font-size: inherit; }
.stat > span { font-size: 14px; color: var(--text-3); }

/* ------------------------------------------------------------- certs */

.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.cert {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  transition: border-color 0.3s var(--ease);
}
.cert:hover { border-color: var(--accent-line); }
.cert svg { width: 26px; height: 26px; color: var(--accent-deep); flex: 0 0 auto; }
.cert b { display: block; font-family: var(--font-display); font-size: 15px; font-weight: 600; }
.cert span { font-size: 12.5px; color: var(--text-3); }

/* ------------------------------------------------------------- page head */

.page-head {
  padding: calc(var(--nav-h) + clamp(56px, 8vw, 96px)) 0 clamp(44px, 6vw, 72px);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.page-head__crumbs {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.page-head__crumbs a:hover { color: var(--accent-deep); }
.page-head__crumbs .sep { opacity: 0.5; }
.page-head__crumbs .cur { color: var(--accent-deep); }

.page-head p { max-width: 640px; margin-top: 20px; }

/* ------------------------------------------------------------- cta band */

.cta-band {
  position: relative;
  border: 1px solid var(--navy-deep);
  border-radius: var(--radius-l);
  padding: clamp(44px, 6vw, 76px);
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 130% at 88% 12%, rgba(217, 201, 163, 0.14), transparent 62%),
    radial-gradient(ellipse 45% 110% at 6% 96%, rgba(15, 59, 92, 0.55), transparent 62%),
    var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); margin-bottom: 14px; color: var(--on-navy); }
.cta-band p { color: var(--on-navy-2); max-width: 520px; }
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ------------------------------------------------------------- footer */

.footer {
  border-top: 1px solid var(--line);
  background: var(--navy);
  padding: clamp(56px, 7vw, 88px) 0 0;
  margin-top: clamp(64px, 8vw, 110px);
  color: var(--on-navy-2);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 56px;
}

.footer .brand { color: var(--on-navy); }
.footer .brand__mark { color: var(--accent-on-navy); }
.footer .brand__sub { color: var(--on-navy-3); }

.footer__brand p { color: var(--on-navy-3); font-size: 14.5px; max-width: 320px; margin-top: 18px; }

.footer h4 {
  font-size: 13.5px;
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-navy-3);
  margin-bottom: 20px;
}

.footer__links { display: grid; gap: 11px; }
.footer__links a { color: var(--on-navy-2); font-size: 14.5px; }
.footer__links a:hover { color: var(--accent-on-navy); }

.footer__contact { display: grid; gap: 13px; }
.footer__contact div { display: flex; gap: 10px; align-items: flex-start; color: var(--on-navy-2); font-size: 14px; }
.footer__contact svg { width: 16px; height: 16px; color: var(--accent-on-navy); flex: 0 0 auto; margin-top: 4px; }
.footer__contact a { color: var(--on-navy-2); }
.footer__contact a:hover { color: var(--accent-on-navy); }

.footer .cert-mini span { border-color: var(--line-navy); color: var(--on-navy-2); }
.footer .u-dim { color: var(--on-navy-3); }

.footer__bottom {
  border-top: 1px solid var(--line-navy);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--on-navy-3);
}
.footer__bottom .mono { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.06em; }

/* ------------------------------------------------------------- reveal */

/* Progressive enhancement: content is visible unless JS is running.
   The inline head script adds .js to <html> before first paint. */
.reveal { opacity: 1; transform: none; }
html.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--d, 0ms);
}
html.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .wave-strip i { animation: none; transform: scaleY(0.5); }
}

/* ------------------------------------------------------------- loader / empty */

.empty-note {
  padding: 40px;
  text-align: center;
  color: var(--text-3);
  border: 1px dashed var(--line-2);
  border-radius: var(--radius);
  font-size: 14px;
}

.skeleton {
  border-radius: var(--radius);
  background: linear-gradient(100deg, #eef3f8 40%, #f8fafc 50%, #eef3f8 60%);
  background-size: 200% 100%;
  animation: shimmer 1.6s infinite linear;
  min-height: 150px;
}
@keyframes shimmer {
  to { background-position: -200% 0; }
}

/* ------------------------------------------------------------- utilities */

.mt-14 { margin-top: 14px; }
.mt-16 { margin-top: 16px; }
.mt-18 { margin-top: 18px; }
.mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; }
.mt-28 { margin-top: 28px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }

.u-dim { color: var(--text-2); }
.u-xs { font-size: 13.5px; }
.u-center { text-align: center; }

.img-frame {
  width: 100%;
  border-radius: var(--radius-l);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow);
}

/* Product photography shipped with the site carries a teal accent light; rotate
   it into the brand blue family. Only bundled assets (src starts with "assets/")
   receive this correction — images uploaded through the admin console (media/…)
   keep their true colors. */
.hero__visual img[src^="assets/"],
.img-frame[src^="assets/"],
.product-card__media img[src^="assets/"],
.modal__media img[src^="assets/"],
.article-card__media img[src^="assets/"],
.cedit-item__thumb[src^="assets/"],
.cf__image img[src^="assets/"] {
  filter: hue-rotate(52deg) saturate(0.88);
}

.center-actions {
  display: flex;
  justify-content: center;
  margin-top: 44px;
}

.eyebrow--center { justify-content: center; }
.eyebrow--center::after {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--accent);
  opacity: 0.7;
}

.cert-mini { display: flex; flex-wrap: wrap; gap: 8px; }
.cert-mini span {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--text-2);
}

/* region list (about / contact) */
.region-list { display: grid; gap: 0; }

.region-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text-2);
  font-size: 15px;
}
.region-item:first-child { border-top: 1px solid var(--line); }
.region-item .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-deep);
  box-shadow: 0 0 0 4px var(--accent-dim);
  flex: 0 0 auto;
}
.region-item b { color: var(--text); font-weight: 600; font-family: var(--font-display); margin-right: 6px; }

/* capability grid card */
.cap-card { display: flex; gap: 18px; align-items: flex-start; }
.cap-card .card__icon { margin-bottom: 0; flex: 0 0 auto; }
.cap-card h3 { font-size: 16.5px; margin-bottom: 8px; }
.cap-card p { font-size: 14px; }

/* contact info list */
.info-list { display: grid; gap: 26px; }
.info-item { display: flex; gap: 16px; align-items: flex-start; }
.info-item .card__icon { margin-bottom: 0; width: 42px; height: 42px; flex: 0 0 auto; }
.info-item h4 {
  font-size: 13.5px;
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 6px;
}
.info-item p, .info-item a { color: var(--text-2); font-size: 15px; line-height: 1.65; }
.info-item a:hover { color: var(--accent-deep); }

/* location map (contact page) */
.map-card {
  border: 1px solid var(--line-2);
  border-radius: var(--radius-l);
  overflow: hidden;
  background: var(--panel);
  box-shadow: var(--shadow-s);
}
/* the map container needs an explicit height for the GL renderer */
.map-card__canvas { width: 100%; height: 460px; }

.map-card__fallback {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding: 32px 34px;
}
.map-card__pin {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  color: var(--accent-deep);
  flex: 0 0 auto;
}
.map-card__pin svg { width: 26px; height: 26px; }
.map-card__info { flex: 1 1 260px; min-width: 0; }
.map-card__info b {
  display: block;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.map-card__info p { color: var(--text-2); font-size: 14.5px; line-height: 1.65; }
.map-card__coords {
  display: inline-block;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--text-3);
}
.map-card__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.map-card__actions .btn svg { width: 14px; height: 14px; }

/* faq */
.faq { display: grid; gap: 0; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 6px 0;
}
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 300;
  color: var(--accent-deep);
  transition: transform 0.3s var(--ease);
  line-height: 1;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--text-2); font-size: 14.5px; max-width: 680px; }

/* admin */
.admin-shell { padding: calc(var(--nav-h) + 48px) 0 80px; min-height: 100vh; }
.admin-login {
  max-width: 420px;
  margin: 8vh auto 0;
  padding: 36px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-l);
  background: var(--panel);
}
.admin-topbar {
  /* sticky menu bar — stays pinned right below the site nav while scrolling */
  position: sticky;
  top: var(--nav-h);
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  background: var(--bg);
  padding: 10px 0;
  margin-bottom: 18px;
}
.admin-tabs { display: flex; gap: 8px; }
.admin-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.badge-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  margin-left: 8px;
  border-radius: 999px;
  font-size: 12.5px;
  font-family: var(--font-mono);
  background: #eef3f8;
  color: var(--text-2);
}
.filter-btn.is-active .badge-count {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}
.admin-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}
table.admin-table { width: 100%; border-collapse: collapse; min-width: 860px; }
.admin-table th, .admin-table td {
  text-align: left;
  padding: 13px 16px;
  font-size: 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  color: var(--text-2);
}
.admin-table th {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  background: var(--bg-2);
  white-space: nowrap;
}
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table td b { color: var(--text); font-weight: 600; }
.admin-table .file-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-deep);
  font-size: 13.5px;
  margin: 2px 0;
}
.admin-table .file-link:hover { text-decoration: underline; }
.admin-empty { padding: 48px; text-align: center; color: var(--text-3); font-size: 14px; }

/* ------------------------------------------------------------- content editor */

.cedit__nav {
  /* sticky category menu — parks right under the pinned admin topbar */
  position: sticky;
  top: calc(var(--nav-h) + var(--admin-topbar-h, 64px));
  z-index: 29;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  background: var(--bg);
  padding: 8px 0;
  margin-bottom: 10px;
}

.cedit__hint {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid var(--accent-line);
  background: var(--accent-dim);
  border-radius: var(--radius-s);
  color: var(--text-2);
  font-size: 14px;
  margin-bottom: 20px;
}
.cedit__hint svg { width: 16px; height: 16px; color: var(--accent-deep); flex: 0 0 auto; }

.cedit__list { display: grid; gap: 12px; }

.cedit-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
  transition: border-color 0.25s var(--ease);
}
.cedit-item:has([data-form]:not([hidden])) { border-color: var(--accent-line); }

.cedit-item__row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
}

.cedit-item__thumb {
  width: 56px;
  height: 42px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #0a1424;
  flex: 0 0 auto;
}
.cedit-item__thumb--empty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-2);
  color: var(--text-3);
}
.cedit-item__thumb--empty svg { width: 18px; height: 18px; }

.cedit-item__info { flex: 1; min-width: 0; }
.cedit-item__info b {
  display: block;
  font-size: 15px;
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cedit-item__info span {
  display: block;
  font-size: 13px;
  color: var(--text-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* edit form */
.cf {
  display: grid;
  gap: 16px;
  padding: 20px 16px 18px;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}

.cf__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cf__row--single { grid-template-columns: 1fr; }

.cf__cell { display: grid; gap: 6px; min-width: 0; }
.cf__cell label {
  font-size: 13px;
  color: var(--text-3);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}
.cf__cell input[type='text'],
.cf__cell textarea {
  width: 100%;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  color: var(--text);
  outline: none;
  resize: vertical;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.cf__cell input[type='text']:focus,
.cf__cell textarea:focus {
  border-color: var(--accent-line);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.cf__image {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}
.cf__image img {
  width: 200px;
  height: 134px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: #0a1424;
}
.cf__image-empty {
  width: 200px;
  height: 134px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--line-2);
  border-radius: 10px;
  color: var(--text-3);
  font-size: 13.5px;
  background: #fff;
}
.cf__image-side { display: grid; gap: 8px; align-content: start; }
.cf__image-path {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-3);
  max-width: 320px;
  word-break: break-all;
}

.cf__footer {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 4px;
}
.cf__status { font-size: 13.5px; color: var(--text-3); }
.cf__status--ok { color: #15603f; }
.cf__status--err { color: var(--danger); }

.cf__note {
  padding: 12px 16px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-s);
  background: #fff;
  color: var(--text-2);
  font-size: 13.5px;
  line-height: 1.7;
  white-space: pre-line;
}

/* guide */
.guide { max-width: 960px; }
.guide h2 { font-size: 22px; margin-bottom: 24px; }
.guide__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.guide__card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 22px 24px;
}
.guide__card h4 {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--accent-deep);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}
.guide__card p { color: var(--text-2); font-size: 14px; line-height: 1.75; }

/* ------------------------------------------------------------- home funnel blocks */

/* hero with blurred industrial backdrop */
.hero { min-height: 88vh; }

.hero__bg {
  position: absolute;
  inset: -24px;
  z-index: 0;
  background: url('../img/factory-smt.jpg') center / cover no-repeat;
  filter: blur(2px) saturate(0.55);
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg,
    #ffffff 0%,
    rgba(255, 255, 255, 0.97) 34%,
    rgba(255, 255, 255, 0.82) 58%,
    rgba(255, 255, 255, 0.34) 100%);
}

.hero__inner { position: relative; z-index: 2; display: block; }

.hero__copy { max-width: 660px; }

.hero__brandline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 16px;
}
.hero__brandline .brand__mark { width: 34px; height: 34px; color: var(--accent-deep); }
.hero__brandline .brand__mark--img { width: auto; height: 34px; max-width: 250px; }

.hero__company {
  font-family: var(--font-mono);
  font-size: 13.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 18px;
}

.hero h1 { margin-bottom: 24px; max-width: 720px; text-wrap: balance; }
.hero__lead { max-width: 540px; margin-bottom: 36px; }

/* lightweight service card — top hairline, no box */
.card--bare {
  background: transparent;
  border: 0;
  border-top: 2px solid var(--line-2);
  border-radius: 0;
  padding: 28px 0 0;
  box-shadow: none;
}
.card--bare::before { display: none; }
.card--bare:hover {
  border-top-color: var(--accent-deep);
  background: transparent;
  transform: none;
  box-shadow: none;
}
.card__icon--bare {
  border: 0;
  background: transparent;
  width: 40px;
  height: 40px;
  justify-content: flex-start;
  color: var(--accent-deep);
  margin-bottom: 18px;
}
.card__icon--bare svg { width: 28px; height: 28px; }

/* customer case cards */
.case-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-s);
  transition: all 0.3s var(--ease);
}
.case-card:hover {
  border-color: var(--accent-line);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.case-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--accent-deep);
}
.case-card__tag svg { width: 14px; height: 14px; flex: 0 0 auto; }
.case-card__quote {
  margin: 0;
  flex: 1;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.75;
}
.case-card__metric {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.case-card__metric b {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--accent-deep);
  line-height: 1;
}
.case-card__metric span { font-size: 13.5px; color: var(--text-3); }

/* insight / article cards */
.article-card {
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-s);
  transition: all 0.3s var(--ease);
}
.article-card:hover {
  border-color: var(--accent-line);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.article-card__media { aspect-ratio: 16 / 9; overflow: hidden; background: #0a1424; }
.article-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.article-card:hover .article-card__media img { transform: scale(1.04); }
.article-card__body { padding: 22px 24px 26px; }
.article-card__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.article-card__cat {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-deep);
  border: 1px solid var(--accent-line);
  background: var(--accent-dim);
  padding: 4px 10px;
  border-radius: 999px;
}
.article-card__date { font-family: var(--font-mono); font-size: 12.5px; color: var(--text-3); }
.article-card h3 { font-size: 16.5px; line-height: 1.5; }

/* centered CTA band */
.cta-band--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
  padding: clamp(52px, 7vw, 88px) clamp(28px, 5vw, 64px);
}
.cta-band--center h2 { max-width: 760px; font-size: clamp(1.6rem, 2.7vw, 2.25rem); margin-bottom: 0; }
.cta-band--center .cta-band__actions { justify-content: center; }
.cta-band__note { color: var(--on-navy-3); font-size: 14.5px; max-width: 560px; margin: -10px 0 0; }

.btn--lg { height: 58px; padding: 0 34px; font-size: 16px; }

/* footer extras */
.footer__label {
  display: block;
  font-size: 12px;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-navy-3);
  margin-bottom: 2px;
}
.footer__legal { display: inline-flex; align-items: center; gap: 10px; }
.footer__legal a:hover { color: var(--accent-on-navy); }
.footer__legal .sep { opacity: 0.45; }

/* prose (privacy and similar text pages) */
.prose { max-width: 780px; }
.prose p { color: var(--text-2); font-size: 15.5px; line-height: 1.85; margin-bottom: 20px; }
.prose .updated {
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--text-3);
  letter-spacing: 0.06em;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

/* sitemap list */
.sitemap-list { display: grid; gap: 0; margin-top: 8px; }
.sitemap-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text-2);
  font-size: 15.5px;
  transition: color 0.25s var(--ease), padding-left 0.25s var(--ease);
}
.sitemap-list a:first-child { border-top: 1px solid var(--line); }
.sitemap-list a:hover { color: var(--accent-deep); padding-left: 6px; }
.sitemap-list .arrow { width: 16px; height: 16px; display: inline-flex; flex: 0 0 auto; }
.sitemap-list .arrow svg { width: 16px; height: 16px; }

/* 404 */
.err-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 24px) 24px 24px;
}
.err-code {
  font-family: var(--font-display);
  font-size: clamp(88px, 16vw, 160px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(180deg, var(--navy), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 18px;
}

/* Screenshot / visual-regression mode (?shots=1): render final state instantly */
html.shots { scroll-behavior: auto !important; }
html.shots .hero { min-height: 880px; }
html.shots .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
html.shots .wave-strip i { animation: none !important; transform: scaleY(0.5); }
html.shots .skeleton { animation: none !important; }

/* ------------------------------------------------------------- responsive */

@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .nav__side .btn { display: none; }
  .grid-4, .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .hero { min-height: auto; padding-top: calc(var(--nav-h) + 64px); }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__inner > * { min-width: 0; }
  .hero__visual { order: -1; }
  .split { grid-template-columns: 1fr; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cf__row { grid-template-columns: 1fr; }
  .guide__grid { grid-template-columns: 1fr; }
  .cedit-item__row { flex-wrap: wrap; }
  .cf__image img, .cf__image-empty { width: 100%; height: auto; aspect-ratio: 3 / 2; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .grid-4 { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: 1fr 1fr; }
  .stat { padding: 24px 18px; }
  .stat b { font-size: clamp(22px, 7.4vw, 30px); }
  .stat > span { font-size: 13px; }
  .cta-band { padding: 34px 26px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .step { grid-template-columns: 1fr; gap: 10px; }
  .step__num::after { display: none; }
  .modal { padding: 12px; }
  .hero__meta { gap: 22px; }
  .hero__meta-item b { font-size: 21px; }
  .card { padding: 24px 22px; }
  .map-card__canvas { height: 340px; }
  .map-card__fallback { padding: 24px 22px; gap: 18px; }
  .stats-band .stat:nth-child(2) { border-right: 0; }
}

@media (max-width: 480px) {
  .brand { font-size: 17px; gap: 9px; }
  .brand__mark { width: 26px; height: 26px; }
  .brand__mark--img { width: auto; height: 26px; max-width: 160px; }
  .hero__brandline .brand__mark--img { width: auto; height: 30px; max-width: 200px; }
  .brand__sub { font-size: 9.5px; letter-spacing: 0.16em; }
  .nav__inner { gap: 10px; }
  .lang-switch button { padding: 5px 10px; font-size: 12.5px; }
  .nav__burger { width: 40px; height: 40px; }
  .nav__burger span { left: 10px; right: 10px; }
  .h-display { font-size: clamp(2.05rem, 8.6vw, 2.6rem); }
  .h-xl { font-size: clamp(1.65rem, 7vw, 2.1rem); }
  .lead { font-size: 15px; }
  .btn { height: 48px; padding: 0 20px; font-size: 14.5px; }
  .hero__meta { gap: 18px; }
  .hero__meta-item b { font-size: 19px; }
  .hero__meta-item > span { font-size: 12.5px; }
  .mobile-menu a { font-size: 26px; }
  .info-item .card__icon { width: 38px; height: 38px; }
  .timeline__item { padding-left: 36px; }
}
