/* ==========================================================================
   LUXERA Track Lighting Systems
   Design language: European architectural minimal — generous whitespace,
   hairline structure, warm neutral surfaces, brass as the single accent.
   ========================================================================== */

:root {
  /* neutrals — warm, not blue-tinted */
  --ink: #101315;
  --ink-2: #4a5157;
  --muted: #7b828a;
  --paper: #ffffff;
  --paper-2: #f6f4f1;
  --paper-3: #edeae5;
  --line: #e3dfd8;
  --line-2: #cec8be;

  /* accent — brass, used sparingly */
  --accent: #a9823f;
  --accent-dark: #87662d;
  --brass-light: #d9be8b;

  /* dark surfaces */
  --dark: #0c0e10;
  --dark-2: #16191c;

  --max: 1240px;
  --gutter: 32px;
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1, "liga" 1;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--accent-dark); }

h1, h2, h3, h4 { margin: 0 0 .55em; font-weight: 500; letter-spacing: -0.022em; }
h1 { font-size: clamp(36px, 5vw, 62px); line-height: 1.06; }
h2 {
  font-size: clamp(26px, 3.1vw, 40px);
  line-height: 1.16;
  letter-spacing: -0.02em;
}
h2::before {
  content: ""; display: block; width: 38px; height: 2px;
  background: var(--accent); margin-bottom: 20px;
}
h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
h4 { font-size: 15px; font-weight: 600; }
p { margin: 0 0 1.05em; }
ul { margin: 0 0 1em; padding-left: 1.15em; }
li { margin-bottom: .45em; }
strong { font-weight: 600; }

/* ---------- layout primitives ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 104px 0; }
.section--tight { padding: 64px 0; }
.section--alt { background: var(--paper-2); }
.section--dark { background: var(--dark); color: #fff; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark h2::before { background: var(--brass-light); }
.section--dark a { color: #fff; }

.eyebrow {
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin-bottom: 18px;
}
.lede { font-size: 19px; line-height: 1.72; color: var(--ink-2); max-width: 60ch; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
  height: 76px; display: flex; align-items: center; gap: 34px;
}
.brand {
  font-weight: 600; font-size: 19px; letter-spacing: .22em; color: var(--ink);
}
.brand span { color: var(--accent); }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav-item { position: relative; }
.nav-link {
  font-size: 14px; letter-spacing: .02em; padding: 26px 0; display: inline-block;
  color: var(--ink-2); position: relative;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 22px; height: 1px;
  background: var(--accent); transition: right .3s var(--ease);
}
.nav-link:hover::after, .nav-link.is-active::after { right: 0; }
.nav-link:hover, .nav-link.is-active { color: var(--ink); }
.nav-drop {
  position: absolute; top: 100%; left: -18px; min-width: 232px;
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(16,19,21,.10);
  padding: 10px 0; display: none;
}
.nav-item:hover .nav-drop { display: block; }
.nav-drop a { display: block; padding: 9px 20px; font-size: 14px; color: var(--ink-2); }
.nav-drop a:hover { background: var(--paper-2); color: var(--accent-dark); }
.header-cta {
  font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  padding: 11px 20px; border: 1px solid var(--ink); border-radius: var(--radius); color: var(--ink);
}
.header-cta:hover { background: var(--ink); color: #fff; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; font-size: 24px; cursor: pointer; color: var(--ink); }

/* ---------- hero ---------- */
.hero {
  position: relative; background: var(--dark); color: #fff; overflow: hidden;
  min-height: min(86vh, 760px);
  display: flex; align-items: flex-end;
}
.hero-img { position: absolute; inset: 0; }
.hero-img img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  opacity: .58; transform: scale(1.02);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(96deg, rgba(8,10,12,.90) 0%, rgba(8,10,12,.66) 46%, rgba(8,10,12,.34) 100%),
    linear-gradient(180deg, rgba(8,10,12,.55) 0%, rgba(8,10,12,0) 38%, rgba(8,10,12,.85) 100%);
}
.hero-inner {
  position: relative; z-index: 2; width: 100%;
  max-width: var(--max); margin: 0 auto;
  padding: 200px var(--gutter) 84px;
}
.hero h1 { color: #fff; max-width: 17ch; font-weight: 500; }
.hero p.lede { color: #cfd3d7; max-width: 52ch; font-size: 18px; margin-top: 22px; }
.hero .eyebrow {
  color: var(--brass-light); display: flex; align-items: center; gap: 14px; margin-bottom: 22px;
}
.hero .eyebrow::before { content: ""; width: 42px; height: 1px; background: var(--brass-light); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; padding: 15px 30px; border-radius: var(--radius);
  font-size: 12px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase;
  border: 1px solid transparent; cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dark); color: #fff; }
.btn--ghost { border-color: rgba(255,255,255,.42); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.10); border-color: #fff; color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; color: #fff; }
.btn--outline { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn--outline:hover { border-color: var(--ink); background: var(--ink); color: #fff; }

/* ---------- figures strip ---------- */
.stat-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.stat {
  padding: 34px 26px; border-left: 1px solid var(--line);
}
.stat:first-child { border-left: 0; }
.stat-num {
  font-size: clamp(30px, 3.4vw, 40px); font-weight: 400; letter-spacing: -0.03em;
  line-height: 1; color: var(--ink); display: block; margin-bottom: 10px;
}
.stat-label {
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}

/* ---------- cards / grid ---------- */
.grid { display: grid; gap: 30px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  border: 1px solid var(--line); background: #fff; border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
}
.card:hover {
  border-color: var(--line-2);
  box-shadow: 0 16px 38px rgba(16,19,21,.08);
  transform: translateY(-2px);
}
.card-media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper-3); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card-media img { transform: scale(1.045); }
.card-body { padding: 26px 26px 28px; }
.card-body h3 { margin-bottom: 10px; font-size: 20px; }
.card-body p { font-size: 15px; color: var(--ink-2); margin-bottom: 14px; line-height: 1.62; }

/* borderless editorial tiles */
.tile {
  border-top: 1px solid var(--line-2); padding: 28px 0 0; background: transparent;
}
.tile h3 { margin-bottom: 12px; font-size: 19px; }
.tile p { font-size: 15px; color: var(--ink-2); line-height: 1.65; }
.tile ul { font-size: 15px; color: var(--ink-2); }
.tile .tile-index {
  display: block; font-size: 11px; letter-spacing: .18em; color: var(--accent);
  margin-bottom: 12px;
}

/* ---------- table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table.spec { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
table.spec th, table.spec td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.spec th {
  background: var(--paper-2); font-weight: 600; font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-2);
}
table.spec tbody tr:hover { background: #fcfbf9; }
table.spec tr:last-child td { border-bottom: 0; }

/* ---------- CTA / inquiry ---------- */
.cta-band { background: var(--dark); color: #fff; padding: 96px 0; }
.cta-band h2 { color: #fff; }
.cta-band .lede { color: #c3c8cd; }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.contact-lines { margin-top: 26px; font-size: 16px; color: #dfe3e7; }
.contact-lines div { margin-bottom: 8px; }
.contact-lines a { color: #fff; border-bottom: 1px solid rgba(255,255,255,.32); }

.form-card {
  background: #fff; color: var(--ink); border-radius: var(--radius); padding: 38px;
  box-shadow: 0 24px 60px rgba(0,0,0,.28);
}
.form-card h3 { margin-bottom: 6px; font-size: 22px; }
.field { margin-bottom: 16px; }
.field label {
  display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 7px; font-weight: 600;
}
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; font: inherit; font-size: 15px;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fdfcfa;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--accent); background: #fff;
}
.field textarea { min-height: 104px; resize: vertical; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 12px; }
.inquiry-form .btn { width: 100%; text-align: center; }

.path-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }

/* ---------- footer ---------- */
.site-footer { background: var(--dark); color: #9ea4ab; padding: 76px 0 34px; font-size: 15px; }
.site-footer h4 {
  color: #fff; font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  margin-bottom: 18px; font-weight: 600;
}
.site-footer p { line-height: 1.85; }
.site-footer a { color: #9ea4ab; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; }
.footer-bottom {
  border-top: 1px solid #23272b; margin-top: 56px; padding-top: 24px;
  font-size: 13px; color: #6f757c; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
}

/* ---------- misc ---------- */
.note {
  border-left: 2px solid var(--accent); background: var(--paper-2);
  padding: 18px 22px; font-size: 15px; color: var(--ink-2); line-height: 1.65;
}
.tbc {
  display: inline-block; font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  background: var(--paper-3); color: var(--muted); border: 1px solid var(--line);
  padding: 3px 8px; border-radius: 2px; vertical-align: middle; margin-left: 6px;
}
.breadcrumb {
  font-size: 12px; letter-spacing: .06em; color: var(--muted);
  padding: 22px 0 0; text-transform: uppercase;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent-dark); }
.scene-credit { font-size: 12px; color: var(--muted); margin-top: 14px; letter-spacing: .02em; }
.list-check { padding-left: 0; margin-left: 0; }
.list-check li { list-style: none; position: relative; padding-left: 22px; }
.list-check li::before {
  content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px;
  background: var(--accent); border-radius: 50%;
}
.kv { display: grid; grid-template-columns: 220px 1fr; gap: 10px 24px; font-size: 15px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }
hr.rule { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); }
.js .reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
  .hero-img img { transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- mobile ---------- */
.mobile-bar { display: none; }
@media (max-width: 1080px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  /* Collapse the top nav to a hamburger below ~1080px so 8 items + brand + CTA never overflow */
  .nav { display: none; }
  .nav-toggle { display: block; }
  .nav.is-open {
    display: flex; flex-direction: column; position: absolute; top: 76px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 18px; gap: 0;
    max-height: calc(100vh - 76px); overflow-y: auto;
  }
  .nav.is-open .nav-item { border-bottom: 1px solid var(--line); }
  .nav.is-open .nav-link { display: block; padding: 14px 0; }
  .nav.is-open .nav-link::after { display: none; }
  .nav.is-open .nav-drop { display: block !important; position: static; box-shadow: none; border: 0; padding: 0 0 10px; }
  .nav.is-open .nav-drop a { padding: 7px 0 7px 14px; font-size: 14px; }
}
@media (max-width: 1000px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-grid { gap: 44px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  :root { --gutter: 22px; }
  .header-cta { display: none; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .cta-grid, .path-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .section { padding: 64px 0; }
  .hero { min-height: 0; }
  .hero-inner { padding: 130px var(--gutter) 64px; }
  .hero h1 { max-width: none; }
  /* keep the hero caption clear of the slider dots on phones */
  .hero-tag { left: var(--gutter); right: var(--gutter); bottom: 54px; font-size: 10.5px; text-align: center; }
  .form-card { padding: 26px; }
  .kv { grid-template-columns: 1fr; gap: 2px 0; }
  .kv dd { margin-bottom: 10px; }
  .mobile-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: rgba(255,255,255,.97); backdrop-filter: blur(12px);
    border-top: 1px solid var(--line); padding: 9px 12px;
  }
  .mobile-bar a {
    flex: 1; text-align: center; padding: 12px 8px; font-size: 12px; font-weight: 600;
    letter-spacing: .12em; text-transform: uppercase; border-radius: var(--radius);
  }
  .mobile-bar a.wa { background: var(--ink); color: #fff; margin-right: 8px; }
  .mobile-bar a.em { border: 1px solid var(--line-2); }
  body { padding-bottom: 64px; }
}

/* ---------- product gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gallery-item {
  margin: 0; padding: 0; width: 100%; text-align: left; font: inherit; color: inherit;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; cursor: zoom-in;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
}
.gallery-item:hover { border-color: var(--line-2); box-shadow: 0 14px 34px rgba(16,19,21,.07); transform: translateY(-2px); }
.gallery-item:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
.gallery-item img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
.gallery-item .gallery-cap {
  display: block; padding: 12px 14px 14px; font-size: 13px; line-height: 1.5; color: var(--muted);
}
/* hero zoom affordance */
.hero-zoom { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.hero-zoom img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-zoom:focus-visible { outline: 3px solid var(--brass); outline-offset: -3px; }
@media (max-width: 960px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .gallery-grid { grid-template-columns: 1fr; } }

/* ---------- rail families (48V / 24V magnetic) ---------- */
.rail-family { margin-top: 52px; padding-top: 44px; border-top: 1px solid var(--line); }
.rail-family:first-of-type { border-top: 0; margin-top: 28px; padding-top: 0; }
.rail-family__head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.rail-family__head h3 { font-size: clamp(22px, 3vw, 30px); margin: 0; }
.tag {
  align-self: flex-start; font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); border: 1px solid var(--accent); border-radius: 999px;
  padding: 4px 12px; font-weight: 600;
}
.rail-family__tag { margin: 0; color: var(--muted, #6b6f74); font-size: 15px; line-height: 1.5; }
.rail-family__body { display: grid; grid-template-columns: 1.05fr .95fr; gap: 38px; align-items: start; }
.rail-family__text > p { margin: 0 0 18px; }
.spec-list { margin: 0 0 24px; border-top: 1px solid var(--line); }
.spec-list__row { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.spec-list__row dt { color: var(--muted, #6b6f74); margin: 0; }
.spec-list__row dd { margin: 0; text-align: right; font-weight: 500; }
.comp-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.comp-table caption, .comp-table .comp-table__cap { font-size: 12px; color: var(--muted, #6b6f74); }
.comp-table th, .comp-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.comp-table th { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted, #6b6f74); font-weight: 600; }
.rail-family__media .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
.rail-family__media .gallery-grid img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; transition: transform .3s var(--ease); }
.rail-family__media .gallery-grid img:hover { transform: scale(1.03); }
@media (max-width: 960px) { .rail-family__body { grid-template-columns: 1fr; gap: 26px; } }
@media (max-width: 520px) { .rail-family__media .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---- System components grid ---- */
.comp-heading {
  margin: 44px 0 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.comp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.comp-card {
  display: block;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 16px 18px;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.comp-card:hover {
  transform: translateY(-3px);
  border-color: var(--brass);
  box-shadow: 0 12px 30px rgba(20,18,14,.08);
}
.comp-card:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 2px;
}
.comp-img {
  display: block;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 12px;
}
.comp-img img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform .4s ease;
}
.comp-card:hover .comp-img img { transform: scale(1.04); }
.comp-name { display: block; font-weight: 600; font-size: 15px; line-height: 1.3; }
.comp-sku {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
  letter-spacing: .05em;
}

/* ---- Lightbox ---- */
.lb { position: fixed; inset: 0; z-index: 120; }
.lb-backdrop { position: absolute; inset: 0; background: rgba(14,13,11,.74); backdrop-filter: blur(3px); }
.lb-panel {
  position: relative;
  margin: 4vh auto;
  width: min(940px, calc(100% - 32px));
  max-height: 92vh;
  overflow: auto;
  background: var(--paper);
  border-radius: 12px;
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
}
.lb-img { background: #fff; min-height: 320px; }
.lb-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lb-info { padding: 36px 34px; }
.lb-eyebrow {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 600;
  margin-bottom: 8px;
}
.lb-info h3 { margin-bottom: 12px; }
.lb-info > p { font-size: 15.5px; color: var(--text-2, #444); }
.lb-specs { margin: 18px 0; width: 100%; }
.lb-specs th { width: 38%; text-align: left; font-weight: 600; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 8px 12px 8px 0; border-top: 1px solid var(--line); vertical-align: top; }
.lb-specs td { padding: 8px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.lb-close {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  color: var(--text);
}
.lb-close:hover { border-color: var(--brass); color: var(--brass); }
@media (max-width: 960px) { .comp-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) {
  .comp-grid { grid-template-columns: repeat(2, 1fr); }
  .lb-panel { grid-template-columns: 1fr; margin: 2vh auto; }
  .lb-img { min-height: 0; }
  .lb-info { padding: 26px 22px; }
}
@media (max-width: 540px) { .comp-grid { grid-template-columns: 1fr; } }

/* ---- Scene image lightbox (applications) ---- */
.scene-grid { display: grid; gap: 16px; margin-top: 22px; grid-template-columns: repeat(3, 1fr); }
.scene-grid--2 { grid-template-columns: repeat(2, 1fr); }
.scene-grid--1 { grid-template-columns: 1fr; max-width: 880px; }
.scene-thumb {
  position: relative; margin: 0; padding: 0; width: 100%; display: block;
  border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
  background: #fff; cursor: zoom-in; text-align: left;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.scene-thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.scene-thumb:hover { border-color: var(--brass); box-shadow: 0 14px 34px rgba(16,19,21,.12); transform: translateY(-2px); }
.scene-thumb-cap { display: block; padding: 10px 12px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.lb-panel--media { grid-template-columns: 1fr; max-width: min(1080px, calc(100% - 32px)); }
.lb-panel--media .lb-img { min-height: 0; background: #0e0d0b; }
.lb-panel--media .lb-img img { object-fit: contain; max-height: 82vh; width: 100%; }
.lb-panel--media .lb-caption { padding: 12px 20px 16px; color: var(--muted); }
@media (max-width: 760px) {
  .scene-grid, .scene-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .scene-grid--1 { grid-template-columns: 1fr; }
}
@media (max-width: 460px) { .scene-grid, .scene-grid--2 { grid-template-columns: 1fr; } }

/* ---- Hero slider (home) ---- */
.hero--slider .hero-imgs { position: absolute; inset: 0; }
.hero--slider .hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.1s ease;
  pointer-events: none;
}
.hero--slider .hero-slide.is-active { opacity: 1; pointer-events: auto; }
.hero--slider .hero-slide img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: .58;
}
.hero--slider .hero-slide::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,12,.42) 0%, rgba(10,10,12,.18) 40%, rgba(10,10,12,.72) 100%);
}
.hero-tag {
  position: absolute;
  right: max(24px, calc((100vw - 1200px)/2));
  bottom: 26px;
  z-index: 2;
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  background: rgba(16,15,13,.45);
  border: 1px solid rgba(255,255,255,.16);
  padding: 7px 14px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.hero-dots {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 22px;
  display: flex;
  gap: 10px;
  z-index: 3;
}
.hero-dot {
  width: 34px;
  height: 3px;
  border: none;
  border-radius: 2px;
  background: rgba(255,255,255,.32);
  cursor: pointer;
  padding: 0;
  transition: background .3s ease;
}
.hero-dot.is-active { background: #fff; }
@media (prefers-reduced-motion: reduce) {
  .hero--slider .hero-slide { transition: none; }
}
.inquiry-form input[aria-invalid="true"],
.inquiry-form select[aria-invalid="true"] { border-color: #b4552d; }

/* ---- Back to top (floating, right side) ---- */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 88px;
  z-index: 110;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(22,24,27,.88);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  box-shadow: 0 10px 26px rgba(10,10,10,.35);
  transition: opacity .3s var(--ease), transform .3s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
}
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--accent); border-color: var(--accent); }
@media (max-width: 760px) {
  .to-top { right: 14px; bottom: 76px; width: 42px; height: 42px; }
}

/* ---- Floating WhatsApp button (follows scroll) ---- */
.wa-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 109;
  display: inline-flex; align-items: center; gap: 8px;
  background: #25D366; color: #fff;
  padding: 12px 18px; border-radius: 999px;
  font-size: 13px; font-weight: 600; letter-spacing: .03em;
  box-shadow: 0 10px 26px rgba(37,211,102,.34);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.wa-fab:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(37,211,102,.45); color: #fff; }
.wa-fab svg { width: 20px; height: 20px; fill: currentColor; }
@media (max-width: 760px) { .wa-fab { display: none; } }

/* ---- Product hero (system pages) ---- */
.hero--product { background: #101214; }
.hero--product::after { content: none; }
.hero-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(860px 520px at 76% 26%, rgba(169,130,63,.30), transparent 62%),
    radial-gradient(680px 420px at 94% 88%, rgba(217,168,96,.14), transparent 58%),
    linear-gradient(180deg, #17191c 0%, #101214 100%);
}
.hero-inner--product {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 56px;
  align-items: center;
  padding-top: 150px;
  padding-bottom: 76px;
}
.hero--product .hero-copy { position: relative; z-index: 2; }
.hero-products { position: relative; min-height: 400px; z-index: 1; }
.hp {
  position: absolute;
  margin: 0;
  background: linear-gradient(180deg, #ffffff 0%, #f4f2ef 100%);
  border-radius: 14px;
  box-shadow: 0 34px 70px rgba(0,0,0,.5), 0 4px 14px rgba(0,0,0,.28);
  padding: 16px 16px 12px;
}
.hp-img { display: block; aspect-ratio: 4 / 3; }
.hp-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.hp figcaption {
  padding-top: 10px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #7a736b;
  text-align: center;
}
.hp-main { width: 60%; right: 0; top: 0; transform: rotate(.6deg); }
.hp-main .hp-img { aspect-ratio: 4 / 3; }
.hp-a { width: 36%; left: 0; bottom: 2%; transform: rotate(-1deg); }
.hp-b { width: 27%; left: 13%; top: 6%; z-index: -1; transform: rotate(1.4deg); opacity: .96; }
@media (max-width: 1080px) {
  .hero-inner--product { grid-template-columns: 1fr; gap: 40px; padding-top: 130px; }
  .hero-products { min-height: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .hp { position: static; transform: none; width: auto; }
  .hp-b { z-index: auto; }
}
@media (max-width: 640px) {
  .hero-products { grid-template-columns: repeat(2, 1fr); }
  .hp:nth-child(3) { display: none; }
}

/* ---- Lightbox refinements ---- */
.lb-media { display: flex; flex-direction: column; background: #fff; }
.lb-img {
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
}
.lb-img img {
  width: 100%; height: 100%;
  max-height: 58vh;
  object-fit: contain;
  display: block;
  image-rendering: -webkit-optimize-contrast;
}
.lb-caption { text-align: center; padding: 0 18px 14px; }
.lb-info { padding: 36px 34px 30px; overflow-y: auto; max-height: calc(92vh - 4px); }
.lb-short { font-weight: 600; font-size: 16px; margin-bottom: 10px; color: var(--ink); }
.lb-subhead {
  margin: 22px 0 10px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
table.lb-specs { margin: 0 0 6px; width: 100%; min-width: 0; }
table.lb-specs th { background: none; }
.lb-specs th, .lb-specs td { padding: 9px 10px 9px 0; font-size: 14px; }
.lb-specs td { overflow-wrap: anywhere; }
.lb-variants { line-height: 2; }
.lb-chip {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .02em;
  padding: 3px 10px;
  margin: 0 6px 6px 0;
  background: var(--paper-2, #f0ede8);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
}
.lb-note { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 16px; }
.lb-actions {
  display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px;
  position: sticky; bottom: -30px; margin-left: -34px; margin-right: -34px;
  padding: 16px 34px 6px;
  background: linear-gradient(180deg, rgba(246,244,241,0) 0%, var(--paper) 30%);
}
.lb-actions .btn { padding: 13px 22px; }
@media (max-width: 820px) {
  .lb-img { min-height: 0; padding: 16px; }
  .lb-img img { max-height: 44vh; }
  .lb-info { max-height: none; padding: 26px 22px; }
  .lb-actions { margin-left: -22px; margin-right: -22px; padding: 16px 22px 6px; }
}

/* ---- Compact enquiry form (2-col short fields) ---- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 480px) { .form-grid { grid-template-columns: 1fr; } }

/* ---- FOLLOW US / social row ---- */
.follow-us { margin-top: 26px; }
.follow-us__title {
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: #9aa1a8; margin-bottom: 12px; font-weight: 600;
}
.social-row { display: flex; gap: 12px; }
.social-link {
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.22); color: #fff;
  transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.social-link:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-2px); }

/* ---- Clickable rotating banner (Track Systems) ---- */
.hero--clickable .hero-slide { text-decoration: none; color: #fff; cursor: pointer; display: block; }
.hero--clickable .hero-slide-cap {
  position: absolute;
  left: max(24px, calc((100vw - var(--max)) / 2));
  bottom: 70px;
  z-index: 3;
  max-width: 580px;
  display: flex; flex-direction: column; gap: 8px;
  pointer-events: none;
}
.hero-slide-eyebrow { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--brass-light); }
.hero-slide-title { font-size: clamp(30px, 4.4vw, 56px); font-weight: 500; line-height: 1.04; }
.hero-slide-sub { font-size: 17px; color: #d7dbdf; max-width: 46ch; }
.hero-slide-cta {
  margin-top: 6px; align-self: flex-start;
  font-size: 12px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase;
  color: #fff; border-bottom: 1px solid var(--brass-light); padding-bottom: 4px;
}
@media (max-width: 760px) {
  .hero--clickable .hero-slide-cap { left: var(--gutter); right: var(--gutter); bottom: 64px; max-width: none; }
  .hero-slide-sub { display: none; }
}

/* ---- Blog article ---- */
.article-meta { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.article-meta + h3 { margin-top: 0; }
.wrap > h3:first-of-type { margin-top: 8px; }

/* ---------- System detail pages — compact layout ---------- */
.sys-page .section { padding: 60px 0; }
.sys-page .section--tight { padding: 44px 0; }
.sys-page .hero { min-height: 0; }
.sys-page .hero-inner { padding-top: 148px; padding-bottom: 52px; }
.sys-page .hero .lede { margin-top: 16px; font-size: 17px; }
.sys-page .grid { gap: 20px; }
.sys-page .grid[style] { margin-top: 16px !important; }
.sys-page .tile { padding: 20px 0 0; }
.sys-page .tile h3 { margin-bottom: 8px; font-size: 18px; }
.sys-page .card-body { padding: 18px 18px 20px; }
.sys-page .card-body h3 { font-size: 18px; margin-bottom: 8px; }
.sys-page .table-wrap[style] { margin-top: 16px !important; }
.sys-page table.spec th, .sys-page table.spec td { padding: 11px 14px; font-size: 14px; }
.sys-page .note { margin-top: 18px; padding: 16px 18px; }
.sys-page .lede { font-size: 16px; margin-bottom: 0; }

/* ---------- Module matrix (image grid of compatible modules) ---------- */
.mod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 22px; }
.mod-card {
  display: flex; flex-direction: column; background: #fff; color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: box-shadow .25s var(--ease), transform .25s var(--ease);
}
.mod-card:hover { box-shadow: 0 12px 30px rgba(20,24,28,.10); transform: translateY(-3px); }
.mod-card-media { aspect-ratio: 1 / 1; background: var(--paper-3); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.mod-card-media img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.mod-card-media--empty { background: repeating-linear-gradient(45deg, var(--paper-3), var(--paper-3) 9px, #fff 9px, #fff 18px); }
.mod-card-body { padding: 12px 14px 14px; border-top: 1px solid var(--line); }
.mod-card-body h4 { font-size: 15px; font-weight: 600; margin-bottom: 3px; line-height: 1.3; }
.mod-card-body p { font-size: 12.5px; color: var(--ink-2); line-height: 1.5; }
@media (max-width: 980px) { .mod-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) {
  .mod-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .sys-page .section { padding: 44px 0; }
  .sys-page .hero-inner { padding-top: 120px; padding-bottom: 40px; }
}

/* ---------- Products landing — category sections & 4-image cards ---------- */
.prod-cat { padding-top: 72px; padding-bottom: 8px; }
.prod-cat:first-of-type { padding-top: 64px; }
.prod-cat-head { max-width: 760px; margin-bottom: 26px; }
.prod-cat-head h2 { margin: 0 0 8px; font-size: 26px; }
.prod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(232px, 1fr));
  gap: 22px;
}
.prod-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
}
.prod-card:hover {
  border-color: var(--line-2);
  box-shadow: 0 16px 40px rgba(16,19,21,.08);
  transform: translateY(-3px);
}
.prod-card-imgs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  background: var(--line); aspect-ratio: 1 / 1;
}
.prod-card-imgs img { width: 100%; height: 100%; object-fit: cover; background: #f4f1ec; }
.prod-card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; }
.prod-card-body h3 { font-size: 16px; margin: 0; line-height: 1.3; }
.prod-card-body p { font-size: 13px; color: var(--muted); line-height: 1.5; margin: 0; }
.prod-card-link { margin-top: 4px; font-size: 13px; font-weight: 600; color: #a97b3c; }

/* ---- Blog article body (rich: lead / lists / figures / FAQ) ---- */
.article-meta { font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px; }
.article-lead { font-size: 19px; line-height: 1.6; color: var(--ink); margin: 0 0 26px; font-weight: 400; }
.article-list { margin: 6px 0 22px; padding-left: 0; list-style: none; }
.article-list li { position: relative; padding: 7px 0 7px 26px; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.6; }
.article-list li::before { content: ""; position: absolute; left: 4px; top: 15px; width: 7px; height: 7px; background: var(--accent); transform: rotate(45deg); }
.article-fig { margin: 26px 0; }
.article-fig img { width: 100%; height: auto; display: block; border: 1px solid var(--line); }
.article-fig figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; line-height: 1.5; }
.faq { margin: 30px 0 10px; padding: 22px 24px; background: var(--paper-2); border: 1px solid var(--line); }
.faq h3 { font-size: 17px; margin: 0 0 12px; }
.faq-item { padding: 12px 0; border-top: 1px solid var(--line); }
.faq-item:first-of-type { border-top: 0; }
.faq-item h4 { font-size: 15px; margin: 0 0 6px; color: var(--ink); line-height: 1.45; }
.faq-item p { font-size: 14px; color: var(--ink-2); margin: 0; line-height: 1.6; }

/* ---- In-section H1 (e.g. systems overview main heading) ---- */
.page-h1 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.14; letter-spacing: -0.02em; }
.page-h1::before { content: ""; display: block; width: 38px; height: 2px; background: var(--accent); margin-bottom: 20px; }
