/* =============================================================
   JX-HIDARI — Design System (Modern Business · dark)
   Tokens → Base → Layout → Header → Buttons → Heroes → Sections →
   Cards → Pages → Home → Footer → Reveal → Responsive
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700;800&display=swap');

/* 1 · DESIGN TOKENS
   ============================================================= */
:root {
  /* Neutral scale (zinc) */
  --z950: #09090b;
  --z900: #18181b;
  --z850: #1f1f23;
  --z800: #27272a;
  --z700: #3f3f46;
  --z600: #52525b;
  --z500: #71717a;
  --z400: #a1a1aa;
  --z300: #d4d4d8;
  --z200: #e4e4e7;

  /* Accent (amber — echoes the yellow machine frames) */
  --a:     oklch(70.5% 0.213 47.604);
  --a-h:   oklch(64.6% 0.222 41.116);
  --a-lt:  oklch(75% 0.183 55.934);
  --a-pale:oklch(90.1% 0.076 70.697);
  --a-10:  oklch(70.5% 0.213 47.604 / 0.10);
  --a-20:  oklch(70.5% 0.213 47.604 / 0.20);
  --a-50:  oklch(70.5% 0.213 47.604 / 0.50);

  /* Legacy token names (used by inline styles in page markup) */
  --ink:     #ffffff;
  --gold:    var(--a);
  --gold-2:  var(--a-lt);
  --paper:   var(--z950);
  --surface: var(--z900);
  --line:    var(--z800);
  --muted:   var(--z400);
  --white:   #ffffff;

  /* Type */
  --font-h: var(--font-b);
  --font-b: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Layout */
  --max-w:    1280px;
  --px:       clamp(16px, 4vw, 32px);
  --gutter:   max(var(--px), calc((100% - var(--max-w)) / 2));
  --py:       clamp(80px, 9vw, 128px);
  --header-h: 72px;

  /* Radius */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;

  /* Elevation */
  --glow:    0 10px 15px -3px oklch(70.5% 0.213 47.604 / 0.3), 0 4px 6px -4px oklch(70.5% 0.213 47.604 / 0.3);
  --glow-lg: 0 20px 40px -12px oklch(70.5% 0.213 47.604 / 0.25);
  --shadow:  0 25px 50px -12px rgba(0, 0, 0, 0.6);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --fast: 200ms var(--ease);
  --med:  300ms var(--ease);
  --slow: 800ms var(--ease);
}

/* 2 · BASE
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--z900);
  color: var(--z300);
  font-family: var(--font-b);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }
p, h1, h2, h3, h4 { margin-top: 0; }
button, input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--a); color: var(--z950); }
:focus-visible { outline: 2px solid var(--a); outline-offset: 3px; border-radius: 6px; }

/* 3 · TYPOGRAPHY
   ============================================================= */
h1, h2, h3, h4 {
  font-family: var(--font-h);
  color: #fff;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
  text-wrap: balance;
}

h2 {
  font-size: clamp(30px, 4.6vw, 48px);
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 0;
  text-wrap: balance;
}

h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
}

.section-kicker {
  display: inline-block;
  color: var(--a);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--a-20);
  border: 1px solid var(--a-50);
  color: var(--a-pale);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 0;
}

.eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--a);
  box-shadow: 0 0 0 3px oklch(70.5% 0.213 47.604 / 0.25);
}

/* 4 · LAYOUT
   ============================================================= */
.section-pad {
  padding: var(--py) var(--gutter);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}

.section-head.center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-head.center > div { max-width: 760px; }

.section-sub {
  color: var(--z400);
  font-size: 18px;
  margin: 18px 0 0;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--a-lt);
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  transition: gap var(--fast), color var(--fast);
}

.text-link::after { content: '→'; transition: transform var(--fast); }
.text-link:hover { color: #fff; }
.text-link:hover::after { transform: translateX(4px); }

/* 5 · TOP CONTACT BAR
   ============================================================= */
.top-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px 24px;
  padding: 8px var(--gutter);
  background: var(--z950);
  border-bottom: 1px solid var(--z800);
  color: var(--z400);
  font-size: 13px;
  font-weight: 500;
  position: relative;
  z-index: 101;
}

.top-contact a { color: var(--z200); transition: color var(--fast); }
.top-contact a:hover { color: var(--a-lt); }

/* 6 · SITE HEADER
   ============================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
  padding: 0 var(--gutter);
  border-bottom: 1px solid var(--z800);
  transition: border-color var(--med);
}

/* Background lives on a pseudo-element so the header never becomes a
   containing block for the fixed mobile drawer (backdrop-filter would). */
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(9, 9, 11, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background var(--med), backdrop-filter var(--med);
}

/* Home: header floats over the hero until the page scrolls */
.home .site-header:not(.is-scrolled) { border-bottom-color: transparent; }
.home .site-header:not(.is-scrolled)::before {
  background: linear-gradient(to bottom, rgba(9, 9, 11, 0.55), transparent);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  transition: opacity var(--fast);
}

.brand:hover { opacity: 0.85; }

.brand-logo {
  display: block;
  width: auto;
  height: 32px;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  background: var(--a-10);
  border: 1px solid oklch(70.5% 0.213 47.604 / 0.35);
  color: var(--a);
  display: grid;
  place-items: center;
  font-family: var(--font-h);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

/* Main nav */
.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 2px;
}

.main-nav a {
  padding: 8px 11px;
  border-radius: 6px;
  color: var(--z300);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: color var(--fast), background var(--fast);
}

.main-nav a:hover { color: #fff; }

.main-nav a.active { color: var(--a-lt); }

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-parent {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-parent::after {
  content: '';
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  opacity: 0.7;
}

.nav-submenu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 200px;
  padding: 8px;
  border: 1px solid var(--z700);
  border-radius: var(--r-md);
  background: rgba(24, 24, 27, 0.97);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity var(--fast), transform var(--fast), visibility var(--fast);
  z-index: 120;
}

.nav-submenu::before {
  content: '';
  position: absolute;
  inset: -8px 0 auto;
  height: 8px;
}

.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-submenu a {
  display: block;
  padding: 10px 12px;
  font-size: 14px;
  border-radius: 6px;
}

.nav-submenu a:hover { background: var(--z800); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 18px;
  background: var(--a);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--r-sm);
  white-space: nowrap;
  flex-shrink: 0;
  transition: background var(--fast), box-shadow var(--fast);
}

.nav-cta:hover { background: var(--a-h); box-shadow: var(--glow); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(24, 24, 27, 0.6);
  border: 1px solid var(--z700);
  border-radius: var(--r-sm);
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  pointer-events: none;
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--med), opacity var(--fast);
  transform-origin: center;
}

.nav-toggle[aria-expanded="true"] .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .hamburger span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 7 · BUTTONS
   ============================================================= */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: var(--r-sm);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--med);
}

.button.primary {
  background: var(--a);
  color: #fff;
  box-shadow: var(--glow);
}

.button.primary:hover {
  background: var(--a-h);
  transform: scale(1.04);
  box-shadow: 0 20px 40px -10px oklch(70.5% 0.213 47.604 / 0.5);
}

.button.ghost,
.button.outline {
  background: transparent;
  border-color: var(--z600);
  color: #fff;
}

.button.ghost:hover,
.button.outline:hover {
  border-color: var(--a);
  color: var(--a-lt);
  background: rgba(39, 39, 42, 0.6);
}

.button.lg { min-height: 56px; padding: 0 32px; font-size: 17px; }

.button[disabled] { opacity: 0.7; cursor: default; transform: none; }

/* 8 · HOME HERO
   ============================================================= */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(620px, 92svh, 1040px);
  margin-top: calc(-1 * var(--header-h));
  padding: calc(var(--header-h) + 72px) var(--px) 96px;
  overflow: hidden;
  background: var(--z900);
  text-align: center;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: 0.42;
  transform: scale(1.04);
  animation: heroZoom 18s ease-out forwards;
}

@keyframes heroZoom { to { transform: scale(1); } }

.hero-media::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, var(--z900), transparent 55%),
    linear-gradient(to bottom right, oklch(70.5% 0.213 47.604 / 0.2), rgba(24, 24, 27, 0.8), var(--z900));
}

.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto;
}

.hero h1 { margin: 28px 0 24px; }
.hero h1 span { color: var(--a); }

.hero-copy {
  font-size: clamp(17px, 2.2vw, 20px);
  color: var(--z300);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 40px;
}

.hero .fu { opacity: 0; animation: fadeUp 0.9s var(--ease) forwards; }
.hero .fu.d1 { animation-delay: 0.1s; }
.hero .fu.d2 { animation-delay: 0.25s; }
.hero .fu.d3 { animation-delay: 0.4s; }
.hero .fu.d4 { animation-delay: 0.55s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

/* 9 · INNER PAGE HERO
   ============================================================= */
.page-hero,
.solutions-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 400px;
  overflow: hidden;
  background: var(--z900);
  color: #fff;
}

.page-hero::before,
.solutions-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, var(--z900), transparent 60%),
    linear-gradient(100deg, rgba(9, 9, 11, 0.94) 10%, rgba(24, 24, 27, 0.72) 50%, oklch(40.8% 0.123 38.172 / 0.35));
}

.page-hero::after,
.solutions-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 70%);
  mask-image: linear-gradient(90deg, #000, transparent 70%);
}

.page-hero > div,
.solutions-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 96px var(--gutter) 72px;
}

.page-hero .section-kicker,
.solutions-hero .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--a-20);
  border: 1px solid var(--a-50);
  color: var(--a-pale);
  font-size: 12px;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
}

.page-hero h1,
.solutions-hero h1 {
  font-size: clamp(40px, 6vw, 64px);
  max-width: 820px;
  margin-bottom: 18px;
}

.page-hero p:not(.section-kicker) {
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--z300);
  line-height: 1.65;
  max-width: 680px;
  margin: 0;
}

.page-hero img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  opacity: 0.4;
}

.solutions-hero {
  background:
    var(--bg-image, url('../assets/products/ZS2025-A-A-link-04.webp')) center / cover no-repeat,
    var(--z900);
}

.solutions-hero::before {
  background:
    linear-gradient(to top, var(--z900), transparent 60%),
    linear-gradient(100deg, rgba(9, 9, 11, 0.96) 10%, rgba(24, 24, 27, 0.8) 50%, oklch(40.8% 0.123 38.172 / 0.45));
}

.solutions-hero-inner { margin: 0; max-width: none; }

.solutions-hero-rule {
  display: block;
  width: 64px;
  height: 3px;
  margin-top: 28px;
  border-radius: 3px;
  background: var(--a);
}

/* 10 · GENERIC SECTION BACKGROUNDS
   ============================================================= */
.intro,
.applications,
.service,
.cert-section,
.clients-section,
.industry-why,
.process-band {
  background: var(--z950);
}

.process-band {
  position: relative;
  overflow: hidden;
}

.process-band::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 384px;
  height: 384px;
  border-radius: 50%;
  background: var(--a-10);
  filter: blur(64px);
  pointer-events: none;
}

.process-band > * { position: relative; z-index: 1; }

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
}

.intro-copy {
  font-size: 17px;
  color: var(--z400);
  line-height: 1.78;
}

.intro-copy p:first-child { color: var(--z300); }

/* 11 · CARD SYSTEM
   Shared look for every "small card" grid on the site.
   ============================================================= */
.service-grid,
.timeline-grid,
.application-grid,
.region-grid,
.industry-benefit-grid,
.stats-grid,
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.region-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.application-grid { margin-top: 36px; }
.industry-benefit-grid { margin-top: 36px; }
.metric-grid { margin-top: 36px; }
.region-grid { margin-top: 36px; }

.service-grid article,
.timeline-grid article,
.application-grid > div,
.region-item,
.industry-benefit-grid article,
.culture-item,
.contact-card,
.download-card {
  background: rgba(39, 39, 42, 0.5);
  border: 1px solid var(--z700);
  border-radius: var(--r-md);
  padding: 28px;
  transition: border-color var(--med), box-shadow var(--med), transform var(--med);
}

.service-grid article:hover,
.timeline-grid article:hover,
.application-grid > div:hover,
.region-item:hover,
.industry-benefit-grid article:hover,
.culture-item:hover,
.download-card:hover {
  border-color: var(--a);
  box-shadow: var(--glow-lg);
  transform: translateY(-4px);
}

.service-grid strong,
.region-item strong,
.industry-benefit-grid strong,
.culture-item strong,
.application-grid strong {
  display: block;
  font-family: var(--font-h);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  margin-bottom: 10px;
}

/* Icons: inline SVG from the icon library (follows the theme colour) or an uploaded image */
.icon { display: inline-grid; place-items: center; flex: none; }
.icon > svg,
.icon > img { display: block; width: 100%; height: 100%; object-fit: contain; }

.card-icon {
  display: grid;
  width: 40px;
  height: 40px;
  padding: 10px;
  margin-bottom: 20px;
  border-radius: var(--r-sm);
  background: var(--a-10);
  color: var(--a);
  transition: background-color var(--med);
}

.service-grid p,
.timeline-grid p,
.industry-benefit-grid p,
.culture-item p,
.region-item span,
.application-grid span,
.contact-card p {
  color: var(--z400);
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
}

.application-grid > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.region-item span { display: block; }

/* Timeline (numbered steps) */
.timeline-grid span {
  display: block;
  font-family: var(--font-h);
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--z600);
  margin-bottom: 20px;
  transition: -webkit-text-stroke-color var(--med);
}

.timeline-grid article:hover span { -webkit-text-stroke-color: var(--a); }
.timeline-grid h3 { margin-bottom: 10px; }

/* Culture (bordered grid) */
.culture-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
}

/* Stats / metrics */
.stats-grid > div,
.metric-item {
  background: var(--z950);
  border: 1px solid var(--z800);
  border-radius: var(--r-md);
  padding: 32px 24px;
  text-align: center;
}

.stats-grid strong,
.metric-item strong {
  display: block;
  font-family: var(--font-h);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.metric-item em { font-style: normal; color: var(--a); }

.stats-grid span,
.metric-item span {
  display: block;
  color: var(--z400);
  font-size: 14px;
  line-height: 1.55;
}

/* 12 · FILTERS
   ============================================================= */
.filters {
  display: flex;
  flex-wrap: nowrap;
  flex-shrink: 0;
  gap: 8px;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  /* Room for the active button's glow, which overflow would otherwise clip */
  padding: 6px 4px 16px;
  margin: -6px -4px -16px;
}

.filters::-webkit-scrollbar { display: none; }

.filter { flex: none; white-space: nowrap; }

.section-head > div:first-child { min-width: 0; }

.filter {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--z700);
  background: rgba(39, 39, 42, 0.5);
  color: var(--z300);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--fast);
}

.filter:hover { border-color: var(--a); color: #fff; }

.filter.active {
  background: var(--a);
  border-color: var(--a);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 8px 20px -8px oklch(70.5% 0.213 47.604 / 0.6);
}

/* 13 · PRODUCT CARDS
   ============================================================= */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--z900);
  border: 1px solid var(--z800);
  border-radius: var(--r-md);
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--med), transform var(--med), box-shadow var(--med);
}

.product-card:hover {
  border-color: var(--a);
  transform: translateY(-4px);
  box-shadow: var(--glow-lg);
}

.product-card.is-hidden { display: none; }

.product-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  padding: 6%;
  background: #fff;
  transition: transform 600ms var(--ease);
}

.product-card:hover img { transform: scale(1.05); }

.product-card div {
  position: relative;
  flex: 1;
  padding: 18px 20px 20px;
  background: var(--z900);
}

.product-card span {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--a);
  margin-bottom: 6px;
}

.product-card h3 {
  font-size: 19px;
  margin: 0;
  padding-right: 24px;
}

.product-card h3::after {
  content: '→';
  position: absolute;
  right: 20px;
  bottom: 20px;
  color: var(--a);
  font-family: var(--font-b);
  transition: transform var(--fast);
}

.product-card:hover h3::after { transform: translateX(4px); }

.product-card p {
  color: var(--z400);
  font-size: 14px;
  line-height: 1.55;
  margin: 8px 0 0;
}

/* 14 · SOLUTION + INDUSTRY TILES (solutions / applications pages)
   ============================================================= */
.solutions-layout,
.industry-layout { background: var(--z900); }

/* Same side gutter as the header, page hero and footer so every edge lines up */
.solutions-container {
  width: 100%;
  padding: 0 var(--gutter);
}

.solutions-intro,
.industry-intro {
  padding: 64px 0 24px;
}

.solutions-intro p,
.industry-intro p {
  max-width: 860px;
  color: var(--z400);
  font-size: 17px;
  line-height: 1.78;
  margin: 0 0 16px;
}

.solutions-intro p:first-child,
.industry-intro p:first-child { color: var(--z300); font-size: 19px; }

.solutions-card-section { padding: 24px 0 112px; }
.industry-card-section  { padding: 24px 0 112px; }

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

.industry-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.solution-tile,
.industry-card {
  display: flex;
  flex-direction: column;
  background: var(--z950);
  border: 1px solid var(--z800);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--med), transform var(--med), box-shadow var(--med);
}

.solution-tile:hover,
.industry-card:hover {
  border-color: var(--a);
  transform: translateY(-4px);
  box-shadow: var(--glow-lg);
}

.solution-tile img,
.industry-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  padding: 18px;
  background: #fff;
}

.solution-tile h2,
.industry-card h2 {
  font-size: 22px;
  line-height: 1.3;
  margin: 24px 24px 6px;
}

.solution-tile strong {
  display: inline-flex;
  align-self: flex-start;
  margin: 6px 24px 14px;
  padding: 4px 10px;
  border-radius: 6px;
  background: oklch(70.5% 0.213 47.604 / 0.15);
  border: 1px solid oklch(70.5% 0.213 47.604 / 0.35);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.solution-tile p,
.industry-card p {
  color: var(--z400);
  font-size: 15px;
  line-height: 1.65;
  margin: 0 24px 28px;
}

.industry-card span {
  margin: auto 24px 28px;
  color: var(--a-lt);
  font-size: 14px;
  font-weight: 600;
}

.industry-card span::after { content: ' →'; }

.industry-why { padding: 96px 0; }

/* CTA strips used on solutions / applications */
.solutions-contact-strip,
.industry-partner {
  position: relative;
  padding: 112px 0;
  text-align: center;
  color: #fff;
  background:
    linear-gradient(to right, var(--z900), rgba(24, 24, 27, 0.9), oklch(40.8% 0.123 38.172 / 0.45)),
    var(--bg-image, url('../assets/products/ZS2025-A-A-link-04.webp')) center / cover no-repeat;
}

.solutions-contact-strip h2,
.industry-partner h2 {
  font-size: clamp(30px, 4.6vw, 48px);
  margin-bottom: 16px;
}

.solutions-contact-strip p,
.industry-partner p {
  color: var(--z300);
  font-size: 18px;
  margin: 0 auto 32px;
  max-width: 720px;
}

/* 15 · CASES
   ============================================================= */

.case-study-grid {
  display: grid;
  gap: 24px;
}

.case-study-grid article {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  background: rgba(39, 39, 42, 0.45);
  border: 1px solid var(--z700);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--med), box-shadow var(--med);
}

.case-study-grid article:hover { border-color: var(--a); box-shadow: var(--glow-lg); }

.case-study-grid img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.case-study-grid div {
  align-self: center;
  padding: clamp(28px, 4vw, 52px);
}

.case-study-grid h3 { font-size: clamp(22px, 2.4vw, 30px); margin-bottom: 14px; }
.case-study-grid p { color: var(--z400); }

.case-study-grid ul {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  color: var(--z200);
  font-size: 15px;
}

.case-study-grid li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.case-study-grid li::before {
  content: '✓';
  flex: none;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--a-20);
  color: var(--a);
  font-size: 11px;
  font-weight: 700;
}

/* 16 · CLIENTS + CERTS
   ============================================================= */
.client-strip {
  padding: 64px 0;
  background: var(--z950);
  border-top: 1px solid var(--z800);
  border-bottom: 1px solid var(--z800);
  overflow: hidden;
}

.client-strip-head {
  text-align: center;
  margin-bottom: 32px;
  padding: 0 var(--px);
}

.client-strip-head .section-kicker { color: var(--z500); margin-bottom: 0; }
.client-strip-head p { color: var(--z500); font-size: 15px; margin: 6px 0 0; }

.marquee-rail {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}

.marquee-rail:hover .marquee-track { animation-play-state: paused; }

.marquee-item {
  display: flex;
  align-items: center;
  gap: 36px;
  padding: 0 18px 0 36px;
  font-family: var(--font-h);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: var(--z500);
  white-space: nowrap;
  transition: color var(--med);
}

.marquee-item::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--z700);
}

.marquee-item:hover { color: #fff; }

@keyframes marquee { to { transform: translateX(-50%); } }

.cert-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.cert-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid var(--z700);
  border-radius: 999px;
  background: rgba(39, 39, 42, 0.5);
  color: var(--z200);
  font-size: 14px;
  font-weight: 600;
}

.cert-card::before {
  content: '✓';
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--a-20);
  color: var(--a);
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

/* 17 · CONTACT
   ============================================================= */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 64px);
  background: var(--z900);
}

.contact h2 { margin-bottom: 18px; }

.contact p,
.contact address {
  color: var(--z400);
  font-style: normal;
  font-size: 16px;
  line-height: 1.72;
}

.contact address { margin-top: 24px; color: var(--z300); }

.page-contact { padding-top: 0; }
.page-contact h1 { font-size: clamp(36px, 5vw, 56px); }

.contact .application-grid > div { padding: 20px; }
.contact .application-grid strong { font-size: 16px; }
.contact .application-grid span { font-size: 14px; }

.contact-form {
  display: grid;
  gap: 18px;
  align-self: start;
  padding: clamp(24px, 4vw, 40px);
  background: rgba(39, 39, 42, 0.5);
  border: 1px solid var(--z700);
  border-radius: var(--r-lg);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--z300);
  font-size: 13px;
  font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  background: var(--z950);
  border: 1px solid var(--z700);
  border-radius: var(--r-sm);
  color: #fff;
  font-size: 15px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color var(--fast), box-shadow var(--fast);
}

.contact-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23a1a1aa' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--z500); }

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--a);
  box-shadow: 0 0 0 3px var(--a-20);
}

.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form .button { justify-self: start; }

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 56px;
}

.contact-card-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--a);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.contact-card h3 { font-size: 17px; margin: 0 0 8px; }

.contact-card a {
  display: block;
  color: #fff;
  font-weight: 600;
  line-height: 1.85;
  transition: color var(--fast);
}

.contact-card a:hover { color: var(--a-lt); }

/* FAQ */
.faq-list {
  margin-top: 36px;
  border: 1px solid var(--z800);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.faq-item {
  padding: 26px 30px;
  background: var(--z900);
  border-bottom: 1px solid var(--z800);
  transition: background var(--fast);
}

.faq-item:last-child { border-bottom: 0; }
.faq-item:hover { background: var(--z850); }

.faq-item h3 {
  position: relative;
  padding-left: 36px;
  margin: 0 0 10px;
  font-size: 17px;
}

.faq-item h3::before {
  content: 'Q';
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--a-10);
  color: var(--a);
  font-size: 12px;
  font-weight: 700;
}

.faq-item p {
  padding-left: 36px;
  margin: 0;
  color: var(--z400);
  font-size: 15px;
  line-height: 1.75;
}

/* 18 · VIDEOS + DOWNLOADS
   ============================================================= */
.video-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.video-grid article {
  background: var(--z900);
  border: 1px solid var(--z800);
  border-radius: var(--r-md);
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--med), transform var(--med), box-shadow var(--med);
}

.video-grid article:hover {
  border-color: var(--a);
  transform: translateY(-4px);
  box-shadow: var(--glow-lg);
}

.video-thumb {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.video-grid img {
  width: 100%;
  aspect-ratio: 1.28;
  object-fit: contain;
  padding: 20px;
  background: #fff;
  transition: transform 400ms var(--ease);
}

.video-grid article:hover .video-thumb img { transform: scale(1.05); }

.video-grid div:not(.video-thumb) { padding: 20px 22px; }

.video-grid span {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--a);
  margin-bottom: 6px;
}

.video-grid .play-btn { margin: 0; }
.video-grid h3 { font-size: 18px; margin-bottom: 8px; }
.video-grid p { color: var(--z400); font-size: 14px; margin: 0; }

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--a);
  box-shadow: 0 0 0 8px oklch(70.5% 0.213 47.604 / 0.25), var(--glow);
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition: transform var(--fast);
}

.play-btn::after {
  content: '';
  margin-left: 4px;
  border-style: solid;
  border-width: 9px 0 9px 16px;
  border-color: transparent transparent transparent var(--z950);
}

.video-grid article:hover .play-btn { transform: translate(-50%, -50%) scale(1.1); }

.download-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.download-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
}

.download-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: var(--r-sm);
  background: var(--a-10);
  color: var(--a);
  font-size: 20px;
}

.download-icon .icon { width: 22px; height: 22px; }

.download-card h3 { font-size: 16px; margin: 0 0 3px; }
.download-card span { font-size: 13px; color: var(--z400); }

/* 19 · CTA BAND
   ============================================================= */
.cta-band {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 48px;
  padding: var(--py) var(--gutter);
  overflow: hidden;
  background:
    linear-gradient(to right, var(--z900), rgba(24, 24, 27, 0.92), oklch(40.8% 0.123 38.172 / 0.45)),
    var(--bg-image, url('../assets/products/ZS2025-A-A-link-04.webp')) center / cover no-repeat;
}

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

.cta-band h2 {
  max-width: 640px;
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
}

.cta-band p {
  color: var(--z300);
  margin: 14px 0 0;
  font-size: 17px;
  max-width: 640px;
}

.cta-band-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* 20 · PRODUCT DETAIL
   ============================================================= */
.product-detail-page { background: var(--z900); }

.product-hero-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  padding: 72px var(--gutter) 96px;
  background:
    radial-gradient(ellipse at top left, oklch(70.5% 0.213 47.604 / 0.12), transparent 55%),
    var(--z900);
  border-bottom: 1px solid var(--z800);
}

.detail-copy { align-self: center; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  color: var(--z400);
  font-size: 14px;
  font-weight: 500;
  transition: gap var(--fast), color var(--fast);
}

.back-link::before { content: '←'; }
.back-link:hover { color: var(--a-lt); gap: 4px; }

.product-hero-detail .section-kicker { display: block; }

.product-hero-detail h1 {
  font-size: clamp(40px, 5.5vw, 72px);
  margin-bottom: 20px;
}

.detail-lead {
  color: var(--z300);
  font-size: 18px;
  line-height: 1.7;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.detail-image {
  display: grid;
  align-items: center;
  min-height: 460px;
  padding: clamp(20px, 4vw, 48px);
  background: #fff;
  border: 1px solid var(--z800);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
}

.detail-image img {
  margin: auto;
  max-height: 560px;
  object-fit: contain;
}

.detail-section { padding: 88px var(--gutter); }
.detail-section:nth-of-type(odd) { background: var(--z950); }
.detail-section + .detail-section { border-top: 1px solid var(--z800); }

.parameter-list {
  margin: 0;
  padding: 0;
  border: 1px solid var(--z800);
  border-radius: var(--r-lg);
  background: var(--z900);
  overflow: hidden;
}

.parameter-list div {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 16px;
  padding: 16px 24px;
}

.parameter-list div + div { border-top: 1px solid var(--z800); }
.parameter-list dt { color: var(--z400); font-weight: 500; }
.parameter-list dd { margin: 0; color: #fff; font-weight: 600; }

.product-feature-text {
  color: var(--z300);
  font-size: 17px;
  line-height: 1.8;
  max-width: 1000px;
}

.spec-table-grid { display: grid; gap: 24px; margin-top: 8px; }

.spec-table-block {
  background: var(--z900);
  border: 1px solid var(--z800);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.spec-table-block h3 {
  margin: 0;
  padding: 20px 24px;
  font-size: 19px;
  border-bottom: 1px solid var(--z800);
}

.table-scroll { overflow-x: auto; }

.spec-table-block table,
.detail-section table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.spec-table-block th,
.spec-table-block td,
.detail-section th,
.detail-section td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--z800);
  color: var(--z300);
  font-size: 14px;
  line-height: 1.45;
  text-align: left;
  vertical-align: top;
}

.spec-table-block th,
.detail-section th {
  background: var(--a-10);
  color: #fff;
  font-weight: 600;
}

.spec-table-block tbody tr:hover td { background: rgba(39, 39, 42, 0.5); }
.spec-table-block tfoot td { color: var(--z500); font-size: 13px; font-style: italic; }

.spec-sheet {
  width: min(100%, 920px);
  margin-top: 8px;
  border-radius: var(--r-lg);
  border: 1px solid var(--z800);
  background: #fff;
}

/* 21 · HOME
   ============================================================= */

/* Stats band */
.home-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px 16px;
  padding: 56px var(--gutter);
  background: var(--z950);
  border-top: 1px solid var(--z800);
  border-bottom: 1px solid var(--z800);
  text-align: center;
}

.home-stats .icon {
  display: block;
  width: 26px;
  height: 26px;
  margin: 0 auto 12px;
  color: var(--a);
}

.home-stats strong {
  display: block;
  font-family: var(--font-h);
  font-size: clamp(30px, 4.2vw, 44px);
  font-weight: 700;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.03em;
}

.home-stats span {
  display: block;
  margin-top: 8px;
  color: var(--z400);
  font-size: 14px;
}

/* Equipment families */
.family-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.family-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--z950);
  border: 1px solid var(--z800);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--med), transform var(--med), box-shadow var(--med);
}

.family-card:hover {
  border-color: var(--a);
  transform: translateY(-6px);
  box-shadow: var(--glow-lg);
}

.family-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #fff;
  overflow: hidden;
}

.family-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8%;
  transition: transform 700ms var(--ease);
}

.family-card:hover .family-media img { transform: scale(1.07); }

.family-count {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--z950);
  color: var(--a-lt);
  font-size: 12px;
  font-weight: 600;
}

.family-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 22px 24px;
}

.family-body h3 { font-size: 22px; margin-bottom: 8px; }

.family-body p {
  flex: 1;
  margin: 0 0 18px;
  color: var(--z400);
  font-size: 15px;
  line-height: 1.6;
}

.family-body .text-link { font-size: 14px; }

.section-foot {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

/* About + why */
.home-about { background: var(--z950); overflow: hidden; position: relative; }

.home-about::before {
  content: '';
  position: absolute;
  bottom: -160px;
  left: -160px;
  width: 384px;
  height: 384px;
  border-radius: 50%;
  background: oklch(70.5% 0.213 47.604 / 0.06);
  filter: blur(64px);
  pointer-events: none;
}

.about-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.about-grid h2 { margin-bottom: 24px; }

.about-text p {
  color: var(--z400);
  font-size: 17px;
  line-height: 1.7;
  margin: 0 0 16px;
}

.about-text p:first-of-type { color: var(--z300); font-size: 18px; }

.why-label {
  display: block;
  margin: 32px 0 14px;
  color: var(--z500);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.why-list {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 20px;
}

.why-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--z200);
  font-size: 15px;
  line-height: 1.45;
}

.why-list li::before {
  content: '';
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff6900' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat,
    var(--a-20);
}

.why-list small {
  display: block;
  margin-top: 2px;
  color: var(--z500);
  font-size: 13px;
}

.about-media { position: relative; }

.about-media img {
  width: 100%;
  aspect-ratio: 4 / 3.3;
  object-fit: cover;
  border-radius: var(--r-lg);
  border: 1px solid var(--z800);
}

.about-badge {
  position: absolute;
  left: -16px;
  bottom: -24px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--z900);
  border: 1px solid var(--z700);
  border-radius: var(--r-md);
  box-shadow: var(--shadow);
}

.about-badge .icon {
  display: grid;
  flex: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 10px;
  background: var(--a-10);
  color: var(--a);
}

.about-badge strong {
  display: block;
  font-family: var(--font-h);
  color: #fff;
  font-size: 17px;
}

.about-badge span { color: var(--z400); font-size: 13px; }

/* Solutions strip */
.line-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--z800);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--z800);
  gap: 1px;
}

.line-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 32px 28px 30px;
  background: var(--z900);
  transition: background var(--med);
}

.line-item:hover { background: var(--z850); }

.line-item::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--a);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 400ms var(--ease);
}

.line-item:hover::after { transform: scaleX(1); }

.line-num {
  font-family: var(--font-h);
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--z600);
  transition: -webkit-text-stroke-color var(--med);
}

.line-item:hover .line-num { -webkit-text-stroke-color: var(--a); }

.line-item h3 { margin: 10px 0 0; font-size: 20px; }

.line-range {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 6px;
  background: oklch(70.5% 0.213 47.604 / 0.15);
  border: 1px solid oklch(70.5% 0.213 47.604 / 0.35);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.line-item p { margin: 0; color: var(--z400); font-size: 15px; line-height: 1.6; }

/* Industries */
.home-industries { background: var(--z950); }

.industry-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.industry-item {
  padding: 28px;
  background: rgba(39, 39, 42, 0.5);
  border: 1px solid var(--z700);
  border-radius: var(--r-md);
  transition: border-color var(--med), transform var(--med), box-shadow var(--med);
}

.industry-item:hover {
  border-color: var(--a);
  transform: translateY(-4px);
  box-shadow: var(--glow-lg);
}

.industry-item .icon {
  display: grid;
  width: 52px;
  height: 52px;
  padding: 13px;
  margin-bottom: 20px;
  border-radius: var(--r-sm);
  background: var(--a-10);
  color: var(--a);
}

.industry-item h3 { font-size: 19px; margin-bottom: 8px; }
.industry-item p { margin: 0; color: var(--z400); font-size: 15px; line-height: 1.6; }

/* Featured cases (bento) */
.case-bento {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}

.case-tile {
  position: relative;
  display: block;
  min-height: 480px;
  border-radius: var(--r-lg);
  border: 1px solid var(--z800);
  overflow: hidden;
  isolation: isolate;
  background: var(--z800);
}

.case-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease);
}

.case-tile:hover img { transform: scale(1.08); }

.case-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(9, 9, 11, 0.97), rgba(9, 9, 11, 0.75) 45%, rgba(9, 9, 11, 0.1) 80%);
}

.case-tile div {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: clamp(24px, 3vw, 40px);
}

.case-tile span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--a);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.case-tile h3 { font-size: clamp(22px, 2.6vw, 32px); margin-bottom: 10px; }
.case-tile p { margin: 0; color: var(--z300); font-size: 15px; max-width: 560px; }

/* Home CTA */
.home-cta {
  position: relative;
  padding: clamp(96px, 11vw, 144px) var(--gutter);
  overflow: hidden;
  text-align: center;
}

.home-cta > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
}

.home-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--z900), rgba(24, 24, 27, 0.9), oklch(40.8% 0.123 38.172 / 0.4));
}

.home-cta > div {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
}

.home-cta h2 { font-size: clamp(32px, 5.4vw, 56px); }

.home-cta p {
  margin: 20px auto 40px;
  max-width: 640px;
  color: var(--z300);
  font-size: 19px;
}

.home-cta .hero-actions { margin-top: 0; }

/* 22 · FOOTER
   ============================================================= */
.site-footer {
  padding: 72px var(--gutter) 32px;
  background: var(--z950);
  border-top: 1px solid var(--z800);
  color: var(--z400);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.3fr) repeat(3, minmax(0, 1fr));
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand .brand-mark { margin-bottom: 18px; }

.footer-brand p {
  max-width: 340px;
  margin: 0 0 20px;
  color: var(--z400);
  font-size: 15px;
  line-height: 1.65;
}

.footer-contact { display: flex; flex-direction: column; gap: 6px; }

.footer-contact a {
  color: var(--z200);
  font-size: 15px;
  transition: color var(--fast);
}

.footer-contact a:hover { color: var(--a-lt); }

.footer-col h4 {
  margin: 0 0 18px;
  font-family: var(--font-b);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}

.footer-col a {
  display: block;
  margin-bottom: 11px;
  color: var(--z400);
  font-size: 15px;
  transition: color var(--fast);
}

.footer-col a:hover { color: var(--a-lt); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--z800);
  color: var(--z500);
  font-size: 13px;
}

.footer-certs { display: flex; gap: 8px; }

.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border: 1px solid var(--z700);
  border-radius: var(--r-sm);
  background: rgba(39, 39, 42, 0.4);
  color: var(--z200);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.cert-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--a);
}

/* 23 · SCROLL REVEAL
   ============================================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--slow), transform var(--slow), border-color var(--med), box-shadow var(--med);
}

[data-reveal].is-visible { opacity: 1; transform: none; }

[data-reveal="d1"] { transition-delay: 60ms; }
[data-reveal="d2"] { transition-delay: 140ms; }
[data-reveal="d3"] { transition-delay: 220ms; }
[data-reveal="d4"] { transition-delay: 300ms; }
[data-reveal="d5"] { transition-delay: 380ms; }
[data-reveal="d6"] { transition-delay: 460ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal], .hero .fu { opacity: 1 !important; transform: none !important; }
  .marquee-track { animation: none !important; flex-wrap: wrap; width: auto; justify-content: center; }
}

/* 24 · RESPONSIVE — 1200px (tablet / hamburger)
   ============================================================= */
@media (max-width: 1200px) {
  .nav-toggle { display: inline-flex; }
  .nav-cta { display: none; }

  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: calc(var(--header-h) + 56px) var(--px) 40px;
    background: var(--z950);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity var(--med), transform var(--med), visibility var(--med);
  }

  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .main-nav a {
    padding: 15px 4px;
    border-radius: 0;
    border-bottom: 1px solid var(--z800);
    font-size: 18px;
    color: var(--z200);
  }

  .nav-dropdown { display: block; width: 100%; }
  .nav-parent { width: 100%; justify-content: space-between; }

  .nav-submenu {
    position: static;
    min-width: 0;
    padding: 4px 0 8px 16px;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }

  .nav-submenu a { font-size: 16px; padding: 11px 4px; color: var(--z400); }
  .nav-submenu a:hover { background: none; color: #fff; }

  .product-grid,
  .service-grid,
  .timeline-grid,
  .application-grid,
  .industry-benefit-grid,
  .stats-grid,
  .metric-grid,
  .video-grid,
  .family-grid,
  .line-grid,
  .industry-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  
  .download-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }

  .cta-band { grid-template-columns: 1fr; gap: 28px; }
  .cta-band-actions { flex-direction: row; flex-wrap: wrap; }
  
}

/* 25 · RESPONSIVE — 900px
   ============================================================= */
@media (max-width: 900px) {
  .about-grid,
  .intro-grid,
  .contact,
  .product-hero-detail,
  .case-study-grid article,
  .case-bento { grid-template-columns: 1fr; }

  .solutions-card-grid,
  .culture-grid,
  .region-grid,
  .contact-info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .about-media { margin-bottom: 24px; }
  .case-tile { min-height: 420px; }
}

/* 26 · RESPONSIVE — 768px (mobile)
   ============================================================= */
@media (max-width: 768px) {
  :root { --header-h: 64px; }

  .top-contact { justify-content: center; font-size: 12px; }

  .section-head { flex-direction: column; align-items: flex-start; margin-bottom: 36px; }
  .section-head.center { align-items: center; }

  .filters { width: calc(100% + 8px); }
  .filter { flex: none; }

  .hero { min-height: 640px; }
  .hero-actions .button { width: 100%; }

  .home-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .service-grid,
  .timeline-grid,
  .application-grid,
  .industry-benefit-grid,
  .industry-card-grid,
  .solutions-card-grid,
  .culture-grid,
  .region-grid,
  .contact-info-grid,
  .download-grid,
  .line-grid,
  .industry-row,
  .footer-grid { grid-template-columns: 1fr; }

  .product-grid,
  .video-grid,
  .family-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

  .product-card div { padding: 14px; }
  .product-card h3 { font-size: 16px; padding-right: 0; }
  .product-card h3::after { display: none; }
  .product-card span { font-size: 10.5px; }
  .product-card p { display: none; }

  .family-body { padding: 16px; }
  .family-body h3 { font-size: 18px; }
  .family-body p { display: none; }

  .why-list { grid-template-columns: 1fr; }
  .about-badge { left: 12px; right: 12px; bottom: -28px; }

  .stats-grid,
  .metric-grid { grid-template-columns: 1fr 1fr; }

  

  .contact .application-grid { grid-template-columns: 1fr !important; }
  .product-grid[style] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }

  .page-hero, .solutions-hero { min-height: 320px; }
  .page-hero > div, .solutions-hero-inner { padding: 64px var(--px) 48px; }

  .parameter-list div { grid-template-columns: 1fr; gap: 4px; }
  .product-hero-detail { padding: 48px var(--px) 64px; }
  .detail-section { padding: 64px var(--px); }
  .detail-image { min-height: 280px; }

  
  

  .cta-band-actions { flex-direction: column; }
  .cta-band-actions .button { width: 100%; }

  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .case-tile { min-height: 380px; }
}

