/* ==========================================================================
   KULAYAN BATTERY INDUSTRIES — Design System v4 (canonical refresh)
   Refresh date: 2026-05-15
   ----------------------------------------------------------------------------
   Restores the canonical brand language defined in STRATEGY.md and the
   Kulayan Design System. The previous "Industrial High-Impact" override
   promoted heritage red to primary, which the strategy doc explicitly warns
   against — it would make a 31-year ISO-certified manufacturer read like a
   discount retailer. This refresh:

     · Foundation     : warm off-white #FAF8F3 + charcoal #0C0D0F
     · Primary accent : heritage amber #D4A017 (section nums, italics, CTAs)
     · Sparing red    : #B82728 — required-field markers + logo surfaces only
     · Type           : Bricolage Grotesque (display) · Manrope (body)
                        · JetBrains Mono (labels — section nums, FIG.NN,
                          capacity values, eyebrows — the "engineered voice")
     · Shape          : 4px / 8px / pill, sharp grids for industrial panels
     · Logo red       : preserved on logo surfaces (--logo-red)

   No structural HTML / JS changes; every component already references these
   tokens, so the cascade carries the refresh.
   ========================================================================== */

/* ==========================================================================
   1. RESET & BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select, button { font: inherit; color: inherit; }
ul, ol { list-style: none; }
table { border-collapse: collapse; width: 100%; }
sup { font-size: 0.5em; vertical-align: super; line-height: 0; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute; top: -100px; left: 8px;
  background: var(--ink); color: var(--paper);
  padding: 12px 18px; z-index: 9999;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 8px; }

/* ==========================================================================
   2. DESIGN TOKENS — Kulayan canonical
   ========================================================================== */
:root {
  /* === FOUNDATION ===================================================== */
  /* Warm off-white paper, charcoal ink. The foundation that lets heritage
     amber + red read as accents, not wallpaper. */
  --paper:        #FAF8F3;   /* primary page bg */
  --paper-2:      #F3EFE5;   /* tint — cards, table headers */
  --paper-3:      #E8E2D4;   /* deeper tint — hatching, dividers */

  --ink:          #0C0D0F;   /* primary text + dark sections */
  --ink-2:        #17181C;   /* topbar, ticker — slightly lifted black */
  --ink-3:        #32333A;   /* body copy */
  --ink-muted:    #68696E;   /* labels, captions, mono eyebrows */

  --line:         rgba(12,13,15,0.09);    /* hairlines */
  --line-strong:  rgba(12,13,15,0.16);    /* section separators, image frames */

  /* === HERITAGE AMBER (primary accent) =============================== */
  --amber:        #D4A017;   /* primary accent — section nums, dots, highlights */
  --amber-2:      #B6880C;   /* italic emphasis text, hover */
  --amber-3:      #F5C84F;   /* lighter — on dark bg */
  --amber-paper:  #F5E9C2;   /* tinted bg fills */
  --amber-dark:   #E8B120;   /* slightly richer amber for CTAs */

  /* === HERITAGE RED (sparing — markers & logo only) ================== */
  --red:          #B82728;   /* required-field markers, key emphasis */
  --red-2:        #971D1E;
  --logo-red:     #E11A1A;   /* logo / brand mark surfaces ONLY */

  /* === ON-DARK INVERSIONS ============================================ */
  --ink-paper:    #F3EFE5;
  --ink-paper-2:  rgba(243,239,229,0.74);
  --ink-paper-3:  rgba(243,239,229,0.46);
  --line-dark:    rgba(243,239,229,0.11);

  /* === STATUS (form messages — minimal, sober) ======================= */
  --ok:           #1F7A4A;
  --ok-bg:        rgba(31,122,74,0.08);
  --warn:         #B6880C;
  --err:          var(--red);
  --err-bg:       rgba(184,39,40,0.08);

  /* === TYPOGRAPHY ==================================================== */
  --font-display: 'Bricolage Grotesque', ui-sans-serif, system-ui, sans-serif;
  --font-body:    'Manrope', ui-sans-serif, system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --font-ne:      'Mukta', 'Noto Sans Devanagari', var(--font-display);

  /* Type scale (4px unit) */
  --fs-xs:   0.75rem;    /* 12px — mono labels, eyebrows */
  --fs-sm:   0.875rem;   /* 14px */
  --fs-base: 1rem;       /* 16px — body */
  --fs-md:   1.125rem;   /* 18px — lede */
  --fs-lg:   1.375rem;   /* 22px — small heading */
  --fs-xl:   1.875rem;   /* 30px */
  --fs-2xl:  2.5rem;     /* 40px */
  --fs-3xl:  3.5rem;     /* 56px */
  --fs-4xl:  5rem;       /* 80px */
  --fs-5xl:  6.5rem;     /* 104px */

  /* === SPACING ======================================================= */
  --s-1: 4px;   --s-2: 8px;   --s-3: 12px;  --s-4: 16px;
  --s-5: 24px;  --s-6: 32px;  --s-7: 48px;  --s-8: 64px;
  --s-9: 96px;  --s-10:128px; --s-11:160px;

  /* === LAYOUT ======================================================== */
  --container: 1240px;
  --container-narrow: 960px;

  /* Shape — small radii on inputs/buttons/cards, 0 on image frames.
     The website document calls for 4px default, 8px on large cards,
     14px reserved. Industrial = sharp panels with tiny corner softening. */
  --radius-sm: 4px;
  --radius:    8px;
  --radius-lg: 14px;

  /* === MOTION ======================================================== */
  --ease:   cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 160ms;
  --t-base: 240ms;
  --t-slow: 420ms;

  /* === HEADER ======================================================== */
  --header-h: 88px;
  --topbar-h: 36px;

  scroll-padding-top: calc(var(--header-h) + var(--topbar-h) + 16px);
}

@media (max-width: 1024px) {
  :root {
    --header-h: 72px;
    --topbar-h: 0px;
    --fs-2xl:  2rem;
    --fs-3xl:  2.5rem;
    --fs-4xl:  3.25rem;
    --fs-5xl:  4rem;
  }
}

/* ==========================================================================
   3. TYPOGRAPHY
   ========================================================================== */
.section-title,
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.04;
  font-variation-settings: 'opsz' 32;
}
h1, .section-title { font-variation-settings: 'opsz' 64; }
h3 { font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; font-variation-settings: 'opsz' 18; }

.eyebrow,
.section-label,
.product-line-tag,
.form-eyebrow,
.placeholder-tag,
.caption-num,
.figcap-num,
.cap-label,
.stat-label,
.col-title,
.block-label,
.benefit-num,
.value-num,
.section-num,
.featured-tag,
.future-stamp,
.cap,
.cert-card span,
.spec-meta dt {
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: var(--fs-xs);
  color: var(--ink-muted);
}
.timeline-year .year-bs { font-family: var(--font-display); font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--ink); }
.timeline-year .year-ad { font-family: var(--font-mono); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); }

.lede {
  font-size: var(--fs-md);
  line-height: 1.6;
  color: var(--ink-3);
  max-width: 62ch;
}
.lede strong { color: var(--ink); font-weight: 600; }

p { color: var(--ink-3); max-width: 70ch; }
p strong { color: var(--ink); font-weight: 600; }

.title-emph {
  font-style: italic;
  font-weight: 500;
  font-family: var(--font-display);
  color: var(--amber-2);
  font-variation-settings: 'opsz' 64;
}

/* Devanagari / Nepali text */
.ne {
  font-family: var(--font-ne);
  font-size: var(--fs-sm);
  letter-spacing: 0;
  text-transform: none;
  color: var(--amber-3);
  font-weight: 500;
}

/* ==========================================================================
   4. LAYOUT PRIMITIVES
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--s-5);
}
@media (min-width: 720px) { .container { padding-inline: var(--s-7); } }
@media (min-width: 1100px) { .container { padding-inline: var(--s-8); } }

.section {
  padding-block: var(--s-10);
  border-top: 1px solid var(--line);
  position: relative;
}
@media (max-width: 720px) { .section { padding-block: var(--s-8); } }

.section-meta {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-7);
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--line);
}
.section-num {
  font-family: var(--font-mono);
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--amber-2);
  letter-spacing: 0;
}
.section-label { color: var(--ink-muted); }

.section-header { margin-bottom: var(--s-8); max-width: 880px; }
.section-header .lede { margin-top: var(--s-4); }

.section-title {
  font-size: clamp(2rem, 5vw, var(--fs-3xl));
}

/* ==========================================================================
   5. BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition:
    background var(--t-base) var(--ease),
    color var(--t-base) var(--ease),
    border-color var(--t-base) var(--ease),
    box-shadow var(--t-base) var(--ease),
    transform var(--t-fast) var(--ease);
  text-decoration: none;
  white-space: nowrap;
}
.btn:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
.btn svg { transition: transform var(--t-base) var(--ease); flex-shrink: 0; }
.btn:hover svg { transform: translateX(3px); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn:disabled:hover svg { transform: none; }

.btn-primary {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.btn-primary:hover {
  background: var(--ink-2);
  box-shadow: 0 4px 16px rgba(12,13,15,0.18);
}

.btn-amber {
  background: var(--amber-dark);
  color: var(--ink);
  border-color: var(--amber-dark);
  font-weight: 600;
}
.btn-amber:hover {
  background: var(--amber-3);
  border-color: var(--amber-3);
  box-shadow: 0 4px 20px rgba(212,160,23,0.30);
}
.btn-amber svg { color: var(--ink); }
.btn-amber:hover svg { transform: translateX(3px); }

/* Ghost for dark hero */
.btn-ghost-light {
  background: transparent;
  color: var(--ink-paper);
  border-color: rgba(243,239,229,0.28);
}
.btn-ghost-light:hover {
  background: rgba(243,239,229,0.10);
  border-color: rgba(243,239,229,0.55);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline:hover {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--ink);
}

.btn-lg { padding: 18px 28px; font-size: var(--fs-base); }
.btn-block { width: 100%; }

/* ==========================================================================
   6. TOP UTILITY BAR
   ========================================================================== */
.topbar {
  background: var(--ink-2);
  color: var(--ink-paper-2);
  font-size: 11px;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--line-dark);
  height: var(--topbar-h);
  display: flex;
  align-items: center;
}
@media (max-width: 1024px) { .topbar { display: none; } }

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.topbar-heritage {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.05em;
  color: var(--ink-paper-3);
}
.topbar-dot {
  width: 6px; height: 6px;
  background: var(--amber);
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
  animation: pulse-amber 2.5s ease-in-out infinite;
}
@keyframes pulse-amber {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.5; }
}
.topbar-heritage .sep { color: rgba(243,239,229,0.2); margin: 0 2px; }

.topbar-actions {
  display: flex;
  gap: var(--s-5);
  align-items: center;
}
.topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-paper-2);
  transition: color var(--t-fast) var(--ease);
}
.topbar-link:hover { color: var(--amber-3); }
.topbar-divider {
  width: 1px; height: 14px;
  background: var(--line-dark);
}
.topbar-cert { color: var(--ink-paper-3); letter-spacing: 0.08em; }

/* ==========================================================================
   7. HEADER / NAV
   ========================================================================== */
.site-header {
  background: rgba(250,248,243,0.98);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  transition:
    box-shadow var(--t-base) var(--ease),
    background var(--t-base) var(--ease);
}
.site-header.scrolled {
  box-shadow: 0 1px 0 var(--line), 0 8px 32px rgba(12,13,15,0.07);
  background: rgba(250,248,243,0.97);
  -webkit-backdrop-filter: saturate(130%) blur(12px);
  backdrop-filter: saturate(130%) blur(12px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--s-5);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  flex-shrink: 0;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  height: 36px;
  width: auto;
}
.logo-wordmark {
  height: 36px;
  width: auto;
  display: block;
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* Topbar Devanagari override — undo mono uppercase inherited from .topbar-heritage */
.topbar-heritage .ne {
  font-family: var(--font-ne);
  text-transform: none;
  letter-spacing: 0;
  color: var(--amber-3);
  font-size: var(--fs-xs);
}

/* Footer logo sizing */
.footer-brand .logo-wordmark { height: 40px; }
.footer-brand .brand-sub { color: var(--ink-paper-3); margin-top: 4px; }
.footer-brand .ne { display: block; margin-top: var(--s-4); font-size: var(--fs-sm); }

.nav-primary { display: none; }
@media (min-width: 1024px) {
  .nav-primary {
    display: block;
    margin-left: auto;
    margin-right: var(--s-5);
  }
  .nav-primary ul { display: flex; gap: var(--s-6); }
  .nav-primary a {
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--ink-3);
    position: relative;
    padding: 8px 0;
    transition: color var(--t-fast) var(--ease);
    letter-spacing: 0.01em;
  }
  .nav-primary a::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 2px;
    height: 1.5px;
    background: var(--amber-2);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--t-base) var(--ease);
  }
  .nav-primary a:hover { color: var(--ink); }
  .nav-primary a:hover::after,
  .nav-primary a.active::after { transform: scaleX(1); }
  .nav-primary a.active { color: var(--ink); }
}

.nav-cta { display: none; }
@media (min-width: 1024px) { .nav-cta { display: inline-flex; } }

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
}
.menu-toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--ink);
  transition:
    transform var(--t-base) var(--ease),
    opacity var(--t-fast) var(--ease);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}
@media (min-width: 1024px) { .menu-toggle { display: none; } }

.mobile-menu {
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: var(--s-5) var(--s-5) var(--s-7);
  box-shadow: 0 16px 32px rgba(12,13,15,0.08);
}
.mobile-menu ul { display: flex; flex-direction: column; gap: 0; }
.mobile-menu li { border-bottom: 1px solid var(--line); }
.mobile-menu li:last-child { border: 0; padding-top: var(--s-4); }
.mobile-menu a {
  display: block;
  padding: var(--s-4) 0;
  font-size: var(--fs-md);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.mobile-cta { width: 100%; margin-top: var(--s-3); }

/* Fix: .mobile-menu a (specificity 0,1,1) was overriding .btn-primary color (0,1,0),
   producing dark text on a dark background — "black button" bug.
   These overrides restore btn styling inside the mobile menu. */
.mobile-menu a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: var(--radius-sm);
}
.mobile-menu a.btn-primary {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.mobile-menu a.btn-primary:hover {
  background: var(--ink-2);
  color: var(--paper);
  box-shadow: 0 4px 16px rgba(12,13,15,0.18);
}
.mobile-menu a.mobile-cta {
  width: 100%;
  display: flex;
  justify-content: center;
}

/* ==========================================================================
   8. HERO — CINEMATIC DARK
   ========================================================================== */
.hero {
  padding-block: var(--s-10) var(--s-9);
  position: relative;
  overflow: hidden;
}

/* Cinematic dark hero */
.hero-dark {
  background: var(--ink);
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding-block: var(--s-11) var(--s-10);
}
@media (max-width: 720px) {
  .hero-dark { min-height: auto; padding-block: var(--s-9) var(--s-8); }
}

.hero-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.65;
  pointer-events: none;
  mask-image: linear-gradient(180deg, transparent 0%, black 20%, black 80%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 20%, black 80%, transparent 100%);
}

.hero-accent-orb {
  position: absolute;
  top: -220px; right: -120px;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,160,23,0.14), rgba(212,160,23,0.04) 50%, transparent 75%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-8);
  position: relative;
  z-index: 2;
}
@media (min-width: 980px) {
  .hero-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: var(--s-9);
    align-items: center;
  }
}

.hero-text { padding-top: var(--s-4); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: var(--s-5);
  padding: 7px 14px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 100px;
}
.eyebrow .dot {
  width: 6px; height: 6px;
  background: var(--amber);
  border-radius: 50%;
  display: inline-block;
}
.dot-amber {
  width: 6px; height: 6px;
  background: var(--amber);
  border-radius: 50%;
  display: inline-block;
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.65; transform: scale(0.8); }
}

.eyebrow-light {
  background: rgba(243,239,229,0.06);
  border-color: rgba(243,239,229,0.14);
  color: var(--ink-paper-3);
}

.hero-title {
  font-size: clamp(2.75rem, 7.5vw, var(--fs-5xl));
  line-height: 0.96;
  font-weight: 700;
  letter-spacing: -0.035em;
  margin-bottom: var(--s-6);
  color: var(--ink);
  font-variation-settings: 'opsz' 96;
}
.hero-dark .hero-title { color: var(--ink-paper); }

.title-emph-light {
  font-style: italic;
  font-weight: 500;
  font-family: var(--font-display);
  color: var(--amber-3);
  font-variation-settings: 'opsz' 96;
}

.hero-lede {
  font-size: var(--fs-md);
  line-height: 1.6;
  color: var(--ink-3);
  max-width: 54ch;
  margin-bottom: var(--s-6);
}
.hero-lede-light { color: var(--ink-paper-2); }
.hero-lede-light strong { color: var(--amber-3); font-weight: 600; }

.hero-cta { display: flex; gap: var(--s-3); flex-wrap: wrap; }

.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  z-index: 2;
}
.hero-image-frame {
  aspect-ratio: 4 / 5;
  width: 100%;
  border: 1px solid var(--line-strong);
}
.hero-placeholder { border-color: rgba(243,239,229,0.16); }

.hero-image-caption {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  display: flex;
  gap: 12px;
  align-items: center;
}
.hero-caption-light { color: var(--ink-paper-3); }
.caption-num {
  background: var(--ink);
  color: var(--paper);
  padding: 4px 8px;
  border-radius: 2px;
  font-size: 0.6rem;
}
.hero-dark .caption-num {
  background: rgba(243,239,229,0.14);
  color: var(--ink-paper-2);
}

.hero-stats {
  margin-top: var(--s-9);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
  position: relative;
  z-index: 2;
}
@media (min-width: 720px) { .hero-stats { grid-template-columns: repeat(4, 1fr); } }

.hero-stats-dark {
  border-top-color: var(--line-dark);
  border-left-color: var(--line-dark);
}

.hero-stat {
  padding: var(--s-5) var(--s-5);
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.hero-stats-dark .hero-stat {
  border-right-color: var(--line-dark);
  border-bottom-color: var(--line-dark);
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, var(--fs-2xl));
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  font-variation-settings: 'opsz' 32;
}
.stat-num sup { color: var(--amber-2); }
.stat-light { color: var(--ink-paper); }
.stat-light sup { color: var(--amber-3); }

.stat-label {
  font-size: var(--fs-xs);
  color: var(--ink-muted);
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.4;
}
.stat-label-light { color: var(--ink-paper-3); }

/* ==========================================================================
   9. ENERGY INFORMATION TICKER
   ========================================================================== */
.ticker-bar {
  overflow: hidden;
  background: var(--ink-2);
  border-bottom: 1px solid var(--line-dark);
  padding-block: 11px;
  position: relative;
}
.ticker-bar::before,
.ticker-bar::after {
  content: '';
  position: absolute; top: 0; bottom: 0;
  width: 72px; z-index: 2; pointer-events: none;
}
.ticker-bar::before {
  left: 0;
  background: linear-gradient(90deg, var(--ink-2), transparent);
}
.ticker-bar::after {
  right: 0;
  background: linear-gradient(270deg, var(--ink-2), transparent);
}

.ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: ticker-scroll 80s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }

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

.ticker-item {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-paper-3);
  white-space: nowrap;
  padding: 0 28px;
}
.ticker-sep {
  color: var(--amber-2);
  font-size: 10px;
  flex-shrink: 0;
}

/* ==========================================================================
   10. PLACEHOLDER (image stand-ins)
   ========================================================================== */
.placeholder {
  position: relative;
  background:
    repeating-linear-gradient(45deg,
      transparent 0, transparent 18px,
      var(--paper-3) 18px, var(--paper-3) 19px);
  background-color: var(--paper-2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.placeholder::before {
  content: '';
  position: absolute; inset: 12px;
  border: 1px dashed var(--line-strong);
  pointer-events: none;
}
.hero-placeholder {
  background:
    repeating-linear-gradient(45deg,
      transparent 0, transparent 18px,
      rgba(243,239,229,0.04) 18px, rgba(243,239,229,0.04) 19px);
  background-color: rgba(243,239,229,0.04);
}
.hero-placeholder::before { border-color: rgba(243,239,229,0.14); }

.placeholder-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 1;
  padding: var(--s-4);
  text-align: center;
}
.placeholder-tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  border-radius: 2px;
}
.placeholder-desc {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--ink-3);
  letter-spacing: 0.04em;
  max-width: 80%;
}

/* ==========================================================================
   11. SECTION 01 — ABOUT US
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-7);
  align-items: start;
}
@media (min-width: 980px) {
  .about-grid { grid-template-columns: 1.15fr 1fr; gap: var(--s-9); }
}

.about-content .section-title {
  font-size: clamp(2rem, 4.5vw, var(--fs-3xl));
  margin-bottom: var(--s-5);
}
.about-content .lede { margin-bottom: var(--s-4); }
.about-content p { margin-bottom: var(--s-4); }

.company-meta {
  margin-top: var(--s-6);
  border-top: 1px solid var(--line);
  padding-top: var(--s-5);
  display: grid;
  gap: var(--s-3);
}
.company-meta div { display: flex; gap: var(--s-4); align-items: baseline; }
.company-meta dt {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--ink-muted);
  flex: 0 0 130px;
}
.company-meta dd { color: var(--ink); font-weight: 500; }

.figure-card {
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line-strong);
  position: relative;
}
.figure-card figcaption {
  position: absolute;
  bottom: -36px; left: 0;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--ink-muted);
  letter-spacing: 0.05em;
  display: flex;
  gap: 12px;
  align-items: center;
}
.figcap-num {
  background: var(--ink);
  color: var(--paper);
  padding: 4px 8px;
  border-radius: 2px;
  font-size: 0.6rem;
}

/* Leadership */
.leadership-section {
  margin-top: var(--s-10);
  padding-top: var(--s-7);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
}
@media (min-width: 640px) {
  .leadership-section { grid-template-columns: 180px 1fr; align-items: start; }
}

.strip-label {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
  padding-top: 4px;
}

.leadership-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
}
@media (min-width: 720px) { .leadership-grid { grid-template-columns: repeat(2, 1fr); } }

.leader-card {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  padding: var(--s-6);
  border: 1.5px solid var(--line-strong);
  border-left: 3px solid var(--amber);
  border-radius: var(--radius-sm);
  background: var(--paper);
  transition: border-color var(--t-base) var(--ease), background var(--t-base) var(--ease);
}
.leader-card:hover { border-color: var(--amber-2); border-left-color: var(--amber); background: var(--amber-paper); }
.leader-info { display: flex; flex-direction: column; gap: var(--s-2); }

.leader-name {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.leader-role {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-2);
  background: var(--amber-paper);
  border: 1px solid rgba(212,160,23,0.22);
  padding: 3px 8px;
  border-radius: 2px;
  width: fit-content;
}
.leader-bio {
  font-size: var(--fs-sm);
  color: var(--ink-3);
  line-height: 1.55;
  max-width: 100%;
  margin-top: var(--s-2);
}

/* Values */
.values-strip {
  margin-top: var(--s-9);
  padding-top: var(--s-6);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
}
@media (min-width: 640px) {
  .values-strip { grid-template-columns: 180px 1fr; align-items: start; }
}
.values-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
}
@media (min-width: 720px) { .values-list { grid-template-columns: repeat(3, 1fr); } }
.value-item {
  display: flex;
  gap: var(--s-3);
  padding-left: var(--s-4);
  border-left: 2px solid var(--amber);
}
.value-num {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--amber-2);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: lowercase;
  flex-shrink: 0;
}
.value-text { font-size: var(--fs-sm); color: var(--ink-3); }
.value-text strong {
  color: var(--ink);
  display: block;
  font-size: var(--fs-md);
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-weight: 600;
}

/* ==========================================================================
   12. SECTION 02 — PRODUCTS
   ========================================================================== */
.product-block {
  border-top: 1px solid var(--line);
  padding-top: var(--s-7);
  margin-bottom: var(--s-8);
}
.product-block:last-of-type { margin-bottom: 0; }

.product-block-meta {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  flex-wrap: wrap;
  margin-bottom: var(--s-4);
}

.badge {
  display: inline-block;
  padding: 5px 10px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 2px;
}
.badge-flagship { background: var(--amber); color: var(--ink); }
.badge-secondary { background: var(--paper-3); color: var(--ink); }

.product-line-tag {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.product-block-title {
  font-size: clamp(1.625rem, 3.5vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.022em;
  margin-bottom: var(--s-3);
  line-height: 1.06;
}

.product-block-tagline {
  font-size: var(--fs-md);
  color: var(--ink-3);
  max-width: 60ch;
  margin-bottom: var(--s-6);
  line-height: 1.6;
}

.product-block-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
  align-items: start;
}
@media (min-width: 980px) {
  .product-block-body { grid-template-columns: 1.6fr 1fr; gap: var(--s-7); }
}

.product-spec-table {
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  overflow-x: auto;
}
.product-spec-table table {
  width: 100%;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-variant-numeric: tabular-nums;
  min-width: 480px;
}
.product-spec-table thead th {
  text-align: left;
  padding: 12px 16px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}
.product-spec-table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  color: var(--ink);
}
.product-spec-table tbody tr:last-child td { border-bottom: 0; }
.product-spec-table tbody tr:hover { background: var(--paper-2); }
.product-spec-table .cap {
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  font-size: var(--fs-sm);
}

.product-spec-table tr.featured {
  background: linear-gradient(90deg, rgba(212,160,23,0.09), transparent 60%);
}
.product-spec-table tr.featured td:first-child { font-weight: 600; }
.featured-marker { color: var(--amber); margin-right: 6px; }
.featured-tag {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  background: var(--amber);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  border-radius: 2px;
  vertical-align: middle;
}

.product-side { display: flex; flex-direction: column; gap: var(--s-4); }
.product-side-image { aspect-ratio: 1 / 1; border: 1px solid var(--line-strong); }

.spec-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line-strong);
}
.spec-meta div {
  padding: var(--s-3) var(--s-4);
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}
.spec-meta div:nth-child(2n) { border-right: 0; }
.spec-meta div:nth-last-child(-n+2) { border-bottom: 0; }
.spec-meta dt {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 4px;
}
.spec-meta dd {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-md);
  color: var(--ink);
}

.product-block.flagship {
  border-top: 2px solid var(--ink);
  background: linear-gradient(180deg, rgba(212,160,23,0.04), transparent 160px);
}
.product-block.compact .product-block-tagline { margin-bottom: 0; }

.product-block.future {
  background: var(--ink);
  color: var(--paper);
  padding: var(--s-8);
  border-radius: var(--radius);
  border: 0;
  margin-top: var(--s-8);
  position: relative;
  overflow: hidden;
}
.product-block.future::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at top right, rgba(212,160,23,0.18), transparent 60%),
    radial-gradient(circle at bottom left, rgba(212,160,23,0.06), transparent 50%);
  pointer-events: none;
}
.product-block.future .product-block-title {
  color: var(--paper);
  position: relative; z-index: 2;
  font-size: clamp(2rem, 4.5vw, 3rem);
}
.title-emph-amber { color: var(--amber-3); font-style: italic; font-weight: 500; }

.future-stamp {
  display: inline-block;
  padding: 6px 12px;
  background: var(--amber);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 2px;
  margin-bottom: var(--s-5);
  position: relative; z-index: 2;
}
.future-text {
  color: var(--ink-paper-2);
  font-size: var(--fs-md);
  line-height: 1.6;
  max-width: 60ch;
  margin: var(--s-4) 0 var(--s-5);
  position: relative; z-index: 2;
}
.future-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  position: relative; z-index: 2;
}
.future-bullets li {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--ink-paper-2);
  letter-spacing: 0.04em;
  padding: 8px 14px;
  border: 1px solid var(--line-dark);
  border-radius: 100px;
  transition: border-color var(--t-fast) var(--ease);
}
.future-bullets li:hover { border-color: var(--amber-2); }

/* ==========================================================================
   13. SECTION 03 — MANUFACTURING
   ========================================================================== */
.mfg-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-7);
}
@media (min-width: 980px) { .mfg-grid { grid-template-columns: 1fr 1fr; gap: var(--s-9); } }
.mfg-content .lede { margin-bottom: var(--s-4); }
.mfg-content p { margin-bottom: var(--s-5); }

.cert-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-3);
  margin-top: var(--s-6);
}
@media (min-width: 480px) { .cert-row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 640px) { .cert-row { grid-template-columns: repeat(3, 1fr); } }

.cert-card {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  padding: var(--s-4) var(--s-5);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color var(--t-base) var(--ease), background var(--t-base) var(--ease);
}
.cert-card:hover { border-color: var(--amber-2); background: var(--amber-paper); }
.cert-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: var(--ink);
  color: var(--amber);
  border-radius: 50%;
  flex-shrink: 0;
}
.cert-card div { display: flex; flex-direction: column; gap: 2px; }
.cert-card strong {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  color: var(--ink);
  font-weight: 600;
}
.cert-card span {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.mfg-image-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-3);
}
@media (min-width: 480px) {
  .mfg-image-stack { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr; }
  .mfg-image { grid-row: 1; aspect-ratio: 3 / 4; }
  .mfg-image-small { grid-row: 1; aspect-ratio: 1 / 1; align-self: end; }
}
.mfg-image, .mfg-image-small { border: 1px solid var(--line-strong); }
.mfg-image { aspect-ratio: 4 / 3; }
.mfg-image-small { aspect-ratio: 1 / 1; }

.capability-strip {
  margin-top: var(--s-9);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}
@media (min-width: 720px) { .capability-strip { grid-template-columns: repeat(4, 1fr); } }
.cap-item {
  padding: var(--s-6) var(--s-5);
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.cap-num {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.022em;
  font-variation-settings: 'opsz' 32;
}
.cap-num sup { color: var(--amber-2); font-size: 0.45em; }
.cap-num .pct { font-size: 0.55em; color: var(--amber-2); margin-left: 1px; }
.cap-label {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  line-height: 1.5;
}

/* ==========================================================================
   14. SECTION 04 — DEALERS
   ========================================================================== */
.dealer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-7);
  margin-bottom: var(--s-9);
}
@media (min-width: 980px) { .dealer-grid { grid-template-columns: 1fr 1fr; gap: var(--s-8); } }

.block-title {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: var(--s-5);
  color: var(--ink);
}

.benefit-list { display: flex; flex-direction: column; gap: var(--s-4); }
.benefit-list li {
  display: flex;
  gap: var(--s-4);
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--line);
}
.benefit-list li:last-child { border-bottom: 0; }
.benefit-num {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--amber-2);
  background: var(--amber-paper);
  padding: 4px 10px;
  border-radius: 2px;
  height: fit-content;
}
.benefit-list li strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-md);
  color: var(--ink);
  margin-bottom: 4px;
  font-weight: 600;
}
.benefit-list li span { font-size: var(--fs-sm); color: var(--ink-3); }

.dealer-map {
  background: var(--ink);
  color: var(--paper);
  padding: var(--s-6);
  border-radius: var(--radius);
}
.dealer-map .block-title { color: var(--paper); }
.map-intro { color: var(--ink-paper-2); font-size: var(--fs-sm); margin-bottom: var(--s-5); }

.province-list { display: flex; flex-direction: column; gap: var(--s-3); }
.province-row {
  display: grid;
  grid-template-columns: 120px 1fr 90px;
  gap: var(--s-3);
  align-items: center;
}
.province-name { color: var(--paper); font-weight: 500; font-family: var(--font-display); font-size: var(--fs-sm); }
.province-bar { height: 6px; background: var(--line-dark); border-radius: 100px; overflow: hidden; }
.bar-fill { display: block; height: 100%; background: var(--amber); border-radius: 100px; }
.province-tag {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-paper-3);
  text-align: right;
}
.province-row.strong .province-tag { color: var(--amber-3); }
.province-row.mid .bar-fill { background: var(--amber-2); }
.province-row.low .bar-fill { background: rgba(243,239,229,0.28); }

.map-note {
  margin-top: var(--s-6);
  padding-top: var(--s-5);
  border-top: 1px solid var(--line-dark);
  font-size: var(--fs-sm);
  color: var(--ink-paper-2);
  line-height: 1.6;
}
.map-note strong { color: var(--amber-3); display: block; margin-bottom: 4px; font-family: var(--font-display); font-weight: 600; }

.dealer-application {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--s-7);
  margin-top: var(--s-7);
}
@media (min-width: 980px) { .dealer-application { padding: var(--s-8) var(--s-9); } }

.dealer-app-header { margin-bottom: var(--s-7); max-width: 56ch; }
.form-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber-2);
  margin-bottom: var(--s-3);
}
.form-title {
  font-size: clamp(1.625rem, 3.5vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: var(--s-3);
  line-height: 1.06;
}
.form-lede { color: var(--ink-3); font-size: var(--fs-md); }

.dealer-form fieldset {
  border: 0; padding: 0;
  margin-bottom: var(--s-6);
  padding-bottom: var(--s-5);
  border-bottom: 1px solid var(--line);
}
.dealer-form fieldset:last-of-type { border-bottom: 0; }
.dealer-form legend {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: var(--s-4);
  padding: 0; width: 100%;
}

.form-row { display: grid; grid-template-columns: 1fr; gap: var(--s-4); }
.form-row.two-col { grid-template-columns: 1fr; }
@media (min-width: 720px) { .form-row.two-col { grid-template-columns: 1fr 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: var(--s-4); }
.form-field:last-child { margin-bottom: 0; }
.form-field label { font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
.req { color: var(--red); margin-left: 2px; }

.form-field input,
.form-field select,
.form-field textarea {
  padding: 14px 16px;
  background: var(--paper);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-size: var(--fs-base);
  color: var(--ink);
  font-family: var(--font-body);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 0;
  border-color: var(--amber-2);
  box-shadow: 0 0 0 3px rgba(212,160,23,0.18);
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--ink-muted); }
.form-field input:invalid:not(:placeholder-shown),
.form-field textarea:invalid:not(:placeholder-shown) { border-color: var(--red); }

.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-2);
}
@media (min-width: 480px) { .checkbox-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 720px) { .checkbox-grid { grid-template-columns: repeat(3, 1fr); } }
.check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  cursor: pointer;
  transition: all var(--t-fast) var(--ease);
}
.check:hover { border-color: var(--amber-2); background: var(--amber-paper); }
.check input {
  appearance: none;
  width: 16px; height: 16px;
  border: 1.5px solid var(--line-strong);
  border-radius: 2px;
  background: var(--paper);
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}
.check input:checked { background: var(--ink); border-color: var(--ink); }
.check input:checked::after {
  content: '';
  position: absolute;
  left: 4px; top: 1px;
  width: 5px; height: 9px;
  border: solid var(--amber);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.form-footer {
  margin-top: var(--s-6);
  padding-top: var(--s-5);
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}
@media (min-width: 720px) { .form-footer { flex-direction: row; align-items: center; gap: var(--s-6); } }
.form-disclaimer { font-size: var(--fs-xs); color: var(--ink-muted); flex: 1; max-width: 50ch; line-height: 1.6; }

.form-status { margin-top: var(--s-4); padding: var(--s-4); border-radius: var(--radius-sm); font-size: var(--fs-sm); line-height: 1.5; }
.form-status.success { background: var(--ok-bg); color: var(--ok); border: 1px solid rgba(31,122,74,0.22); }
.form-status.error   { background: var(--err-bg); color: var(--err); border: 1px solid rgba(184,39,40,0.22); }

/* ==========================================================================
   15. SECTION 05 — SERVICES
   ========================================================================== */
.service-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}
@media (min-width: 720px) { .service-list { grid-template-columns: 1fr 1fr; } }

.service-card {
  padding: var(--s-7) var(--s-6);
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  background: var(--paper);
  transition: background var(--t-base) var(--ease);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-slow) var(--ease);
}
.service-card:hover { background: var(--paper-2); }
.service-card:hover::before { transform: scaleX(1); }

.service-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--amber-2);
  margin-bottom: var(--s-4);
  padding-bottom: var(--s-2);
  border-bottom: 1px solid rgba(212,160,23,0.3);
  letter-spacing: 0;
}
.service-title {
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--s-3);
  font-family: var(--font-display);
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.service-card p { font-size: var(--fs-sm); color: var(--ink-3); line-height: 1.6; }

/* ==========================================================================
   16. SECTION 06 — WHY KULAYAN
   ========================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-7);
}
@media (min-width: 980px) {
  .why-grid { grid-template-columns: 1fr 1.3fr; gap: var(--s-9); align-items: start; }
  .why-grid .section-title { position: sticky; top: calc(var(--header-h) + var(--s-6)); }
}

.why-list { display: flex; flex-direction: column; gap: 0; }
.why-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: var(--s-4);
  padding: var(--s-5) 0;
  border-bottom: 1px solid var(--line);
}
.why-item:first-child { border-top: 1px solid var(--line-strong); }
.why-num { font-family: var(--font-mono); font-size: var(--fs-md); font-weight: 500; color: var(--amber-2); letter-spacing: 0; }
.why-item h3 {
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--s-2);
  font-family: var(--font-display);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.why-item p { font-size: var(--fs-sm); color: var(--ink-3); line-height: 1.6; }

/* ==========================================================================
   17. SECTION 07 — MILESTONES
   ========================================================================== */
.timeline { position: relative; padding-left: 0; display: flex; flex-direction: column; gap: 0; }

.timeline-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
  padding: var(--s-5) 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}
@media (min-width: 720px) {
  .timeline-item { grid-template-columns: 190px 1fr; gap: var(--s-6); padding: var(--s-6) 0; }
}
.timeline-item:first-child { border-top: 1px solid var(--line-strong); }

.timeline-year { display: flex; flex-direction: column; gap: 2px; position: relative; }
.timeline-year::before {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 18px; height: 1.5px;
  background: var(--amber);
}
@media (max-width: 720px) { .timeline-year::before { display: none; } }

.year-bs {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--ink);
  padding-left: 28px;
  letter-spacing: 0;
}
@media (max-width: 720px) { .year-bs { padding-left: 0; } }
.year-ad { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: 0.08em; color: var(--ink-muted); padding-left: 28px; }
@media (max-width: 720px) { .year-ad { padding-left: 0; } }

.timeline-body h3 {
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--s-2);
  font-family: var(--font-display);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.timeline-body p { font-size: var(--fs-sm); color: var(--ink-3); max-width: 60ch; line-height: 1.6; }

.timeline-item.future .year-bs { color: var(--amber-2); }
.timeline-item.future .timeline-year::before { background: var(--amber-2); width: 32px; }

/* ==========================================================================
   18. SECTION 08 — CONTACT
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-7);
}
@media (min-width: 980px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: var(--s-9); } }

.contact-info .lede { margin-bottom: var(--s-6); }

.contact-blocks {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
  margin-top: var(--s-5);
}
@media (min-width: 480px) { .contact-blocks { grid-template-columns: 1fr 1fr; } }

.contact-block {
  padding: var(--s-4);
  border-left: 2px solid var(--amber);
  background: var(--paper-2);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.block-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 5px;
}
.block-value {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: 500;
  color: var(--ink);
  display: block;
  line-height: 1.4;
}
a.block-value { transition: color var(--t-fast) var(--ease); }
a.block-value:hover { color: var(--amber-2); }

.contact-form {
  background: var(--ink);
  color: var(--paper);
  padding: var(--s-6);
  border-radius: var(--radius);
}
@media (min-width: 720px) { .contact-form { padding: var(--s-7); } }

.contact-form .form-eyebrow { color: var(--amber-3); }
.contact-form .form-title { color: var(--paper); margin-bottom: 0; }
.contact-form .form-header { margin-bottom: var(--s-5); padding-bottom: var(--s-5); border-bottom: 1px solid var(--line-dark); }
.contact-form .form-field label { color: var(--paper); }
.contact-form .form-field input,
.contact-form .form-field select,
.contact-form .form-field textarea {
  background: var(--ink-2);
  border-color: var(--line-dark);
  color: var(--paper);
}
.contact-form .form-field input::placeholder,
.contact-form .form-field textarea::placeholder { color: var(--ink-paper-3); }
.contact-form .form-field input:focus,
.contact-form .form-field select:focus,
.contact-form .form-field textarea:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(212,160,23,0.22);
}
.contact-form .btn-primary {
  background: var(--amber-dark);
  color: var(--ink);
  border-color: var(--amber-dark);
  font-weight: 700;
  margin-top: var(--s-5);
}
.contact-form .btn-primary:hover {
  background: var(--amber-3);
  border-color: var(--amber-3);
  box-shadow: 0 4px 16px rgba(212,160,23,0.28);
}

/* ==========================================================================
   19. FOOTER
   ========================================================================== */
.site-footer {
  background: var(--ink);
  color: var(--ink-paper-2);
  padding-block: var(--s-9) var(--s-5);
  margin-top: var(--s-10);
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-7);
  padding-bottom: var(--s-7);
  border-bottom: 1px solid var(--line-dark);
}
@media (min-width: 980px) { .footer-top { grid-template-columns: 1.2fr 2fr; gap: var(--s-9); } }

.footer-brand .brand .brand-name { color: var(--paper); }
.footer-brand .brand .brand-sub { color: var(--ink-paper-3); }
.footer-tagline {
  margin-top: var(--s-5);
  font-size: var(--fs-sm);
  color: var(--ink-paper-2);
  max-width: 42ch;
  line-height: 1.7;
}

.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-6); }
@media (min-width: 720px) { .footer-cols { grid-template-columns: repeat(3, 1fr); } }

.col-title {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-3);
  margin-bottom: var(--s-4);
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a, .footer-col li { font-size: var(--fs-sm); color: var(--ink-paper-2); transition: color var(--t-fast) var(--ease); line-height: 1.5; }
.footer-col a:hover { color: var(--amber-3); }

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  margin-top: var(--s-5);
  padding-top: var(--s-4);
}
@media (min-width: 720px) { .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; } }
.footer-copy, .footer-legal {
  font-size: var(--fs-xs);
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  color: var(--ink-paper-3);
}

/* ==========================================================================
   20. MOTION / REVEAL
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity var(--t-slow) var(--ease),
    transform var(--t-slow) var(--ease);
}
@media (min-width: 1024px) {
  .reveal { will-change: opacity, transform; }
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}

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

/* ==========================================================================
   21. RESPONSIVE FINE-TUNES
   ========================================================================== */
@media (max-width: 720px) {
  .section-meta { margin-bottom: var(--s-5); }
  .product-block.future { padding: var(--s-6); }
  .dealer-application { padding: var(--s-5); }
  .contact-form { padding: var(--s-5); }
  .topbar-actions { gap: var(--s-3); }
  .province-row { grid-template-columns: 100px 1fr 72px; }
}

@media (max-width: 480px) {
  body { font-size: 15px; }
  .hero-title { font-size: clamp(2.5rem, 10vw, 3.5rem); }
  .stat-num { font-size: var(--fs-xl); }
  .product-spec-table thead th,
  .product-spec-table tbody td { padding: 10px 12px; }
  .featured-tag { display: block; margin: 4px 0 0; width: fit-content; }
  .service-card { padding: var(--s-5); }
  .hero-accent-orb { display: none; }
  /* leader-card is now single-column flex, no portrait override needed */
}

/* ==========================================================================
   SCROLL-TO-TOP
   ========================================================================== */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
  z-index: 900;
}
.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
}
.scroll-top:hover {
  box-shadow: 0 4px 16px rgba(12,13,15,0.12);
}

/* ==========================================================================
   NEW STRUCTURAL COMPONENTS — redesign additions
   ========================================================================== */

/* --------------------------------------------------------------------------
   TRUST STRIP
   -------------------------------------------------------------------------- */
.trust-strip {
  background: var(--ink-2);
  border-bottom: 1px solid var(--line-dark);
  padding-block: var(--s-5);
  overflow-x: auto;
}
.trust-strip-inner {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  min-width: max-content;
}
.trust-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-inline: var(--s-5);
}
.trust-num {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--ink-paper);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  font-variation-settings: 'opsz' 32;
}
.trust-num sup { color: var(--amber-3); font-size: 0.5em; }
.trust-label {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-paper-3);
  white-space: nowrap;
}
.trust-div {
  width: 1px;
  height: 40px;
  background: var(--line-dark);
  flex-shrink: 0;
}
.trust-cert-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-inline: var(--s-5);
}
.trust-cert-badge {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber-3);
  white-space: nowrap;
}
.trust-cert-sub {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-paper-3);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   PRODUCT CARD PHOTOS — flagship side-by-side + body banner variants
   -------------------------------------------------------------------------- */
.prod-card__photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--paper);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 0;
}
.prod-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: var(--s-4);
}
.prod-card--flagship .prod-card__head {
  background: var(--ink);
  color: var(--ink-paper);
}
.prod-card__head-text { display: flex; flex-direction: column; }

.prod-card__body-photo {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 0 0 var(--s-4) 0;
}
.prod-card__body-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: var(--s-3);
  transition: transform var(--t-base) var(--ease);
}
.prod-card:hover .prod-card__body-photo img { transform: scale(1.04); }

/* --------------------------------------------------------------------------
   MFG IMAGE FIGURES — about-page production & service captions
   -------------------------------------------------------------------------- */
.mfg-image, .mfg-image-small {
  margin: 0;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--paper-2);
}
.mfg-image img, .mfg-image-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.02) saturate(0.96);
}
.mfg-image-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 10px 14px;
  background: linear-gradient(180deg, transparent, rgba(12,13,15,0.75));
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-paper);
  z-index: 2;
}
.mfg-num {
  background: var(--amber);
  color: var(--ink);
  padding: 3px 6px;
  border-radius: 2px;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   SECTION IMAGE BACKGROUNDS
   -------------------------------------------------------------------------- */
.section-img-bg {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.section-img-bg > .container { position: relative; z-index: 1; }
/* iOS / Android do not support background-attachment:fixed on non-body elements */
@media (max-width: 1024px) {
  .section-img-bg { background-attachment: scroll; }
}

/* --------------------------------------------------------------------------
   HERO PHOTO — already exists, append responsive tweak
   -------------------------------------------------------------------------- */
.hero-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid rgba(243,239,229,0.16);
  background: rgba(243,239,229,0.04);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.02) saturate(0.96);
}
.hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(12,13,15,0.7) 100%);
  pointer-events: none;
}
.hero-photo-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: var(--s-4) var(--s-5);
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-paper);
  z-index: 2;
}
.hero-photo-num {
  background: var(--amber);
  color: var(--ink);
  padding: 4px 8px;
  border-radius: 2px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  flex-shrink: 0;
}
.hero-photo-desc { color: var(--ink-paper-2); }
@media (max-width: 720px) {
  .hero-photo { aspect-ratio: 4 / 3; }
}

/* --------------------------------------------------------------------------
   HERO STAT FRAME — legacy fallback (2x2 grid behind hero-photo)
   -------------------------------------------------------------------------- */
.hero-stat-frame {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid rgba(243,239,229,0.14);
  width: 100%;
}
.hero-stat-box {
  padding: var(--s-6) var(--s-5);
  border-right: 1px solid rgba(243,239,229,0.14);
  border-bottom: 1px solid rgba(243,239,229,0.14);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.hero-stat-box:nth-child(2n) { border-right: 0; }
.hero-stat-box:nth-last-child(-n+2) { border-bottom: 0; }

.hero-cert-strip {
  display: flex;
  align-items: center;
  border: 1px solid rgba(243,239,229,0.14);
  border-top: 0;
  background: rgba(243,239,229,0.04);
}
.hero-cert-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: var(--s-4) var(--s-5);
}
.hero-cert-name {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber-3);
}
.hero-cert-desc {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  color: var(--ink-paper-3);
}
.hero-cert-div {
  width: 1px;
  height: 36px;
  background: rgba(243,239,229,0.1);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   ABOUT FACT GRID
   -------------------------------------------------------------------------- */
.about-fact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}
.fact-card {
  padding: var(--s-5);
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--paper);
  transition: background var(--t-base) var(--ease);
}
.fact-card:hover { background: var(--paper-2); }
.fact-card--wide { grid-column: 1 / -1; }
.fact-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.fact-value {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.fact-sub {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.04em;
  color: var(--ink-muted);
}

/* --------------------------------------------------------------------------
   PRODUCT CARD GRID
   -------------------------------------------------------------------------- */
.prod-grid {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 2px solid var(--ink);
  border-left: 1px solid var(--line-strong);
}
@media (min-width: 720px) { .prod-grid { grid-template-columns: 1fr 1fr; } }

.prod-card {
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  display: flex;
  flex-direction: column;
  background: var(--paper);
  transition: background var(--t-base) var(--ease);
}
.prod-card:hover { background: var(--paper-2); }

.prod-card--flagship {
  grid-column: 1 / -1;
}
.prod-card--flagship .prod-card__head {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-3);
}
@media (min-width: 980px) {
  .prod-card--flagship .prod-card__head {
    grid-template-columns: 1.4fr 1fr;
    align-items: start;
    gap: var(--s-6);
  }
}
.prod-card--flagship .prod-card__meta { grid-column: 1 / -1; }

.prod-card--future {
  grid-column: 1 / -1;
  background: var(--ink);
  color: var(--ink-paper);
  border-color: var(--ink);
}
.prod-card--future:hover { background: var(--ink-2); }
.prod-card--future .prod-card__foot { border-top-color: var(--line-dark); }

.prod-card__head {
  padding: var(--s-6) var(--s-6) var(--s-4);
  border-bottom: 1px solid var(--line);
  background: var(--ink);
}
.prod-card__head--future { background: transparent; border-bottom-color: var(--line-dark); }

.prod-card__meta {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  flex-wrap: wrap;
  margin-bottom: var(--s-3);
}
.prod-voltage {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-paper-3);
}
.prod-card__title {
  font-size: clamp(1.375rem, 3vw, var(--fs-xl));
  font-weight: 700;
  color: var(--ink-paper);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.prod-card__title--future { color: var(--ink-paper); }
.prod-card__tagline {
  font-size: var(--fs-sm);
  color: var(--ink-paper-2);
  line-height: 1.55;
  max-width: 50ch;
}
.prod-card__body {
  padding: var(--s-5) var(--s-6);
  flex: 1;
}
.prod-card__foot {
  padding: var(--s-4) var(--s-6);
  border-top: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  flex-wrap: wrap;
}

.prod-model-list { display: flex; flex-direction: column; }
.prod-model-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: var(--s-3) var(--s-5);
  align-items: center;
  padding: var(--s-3) 0;
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-sm);
}
.prod-model-row:last-child { border-bottom: 0; }
.prod-model-row--featured {
  background: rgba(212,160,23,0.07);
  padding-inline: var(--s-3);
  margin-inline: calc(-1 * var(--s-3));
  border-bottom-color: var(--line-strong);
}
.prod-model-name { font-weight: 600; color: var(--ink); font-family: var(--font-display); }
.prod-cap {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  color: var(--ink-3);
  white-space: nowrap;
}
.prod-app {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  text-align: right;
  white-space: nowrap;
}

.prod-foot-meta { display: flex; align-items: center; gap: var(--s-2); flex-wrap: wrap; }
.prod-meta-chip {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 4px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  white-space: nowrap;
}

@media (max-width: 719px) {
  .prod-model-row { grid-template-columns: 1fr; gap: var(--s-1); }
  .prod-app { text-align: left; }
}

/* --------------------------------------------------------------------------
   WHY CARD GRID
   -------------------------------------------------------------------------- */
.why-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 2px solid var(--ink);
  border-left: 1px solid var(--line-strong);
}
@media (min-width: 640px) { .why-card-grid { grid-template-columns: 1fr 1fr; } }
/* Fix: 4 cards in a 3-col grid left an orphaned card spanning 1/3 of the row.
   2-col at desktop gives a clean 2×2 layout with balanced card widths. */
@media (min-width: 980px) { .why-card-grid { grid-template-columns: repeat(2, 1fr); } }

.why-card {
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  display: flex;
  flex-direction: column;
  background: var(--paper);
  transition: background var(--t-base) var(--ease);
}
.why-card:hover { background: var(--paper-2); }

.why-card__num {
  padding: var(--s-4) var(--s-5);
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--amber);
  background: var(--ink);
  letter-spacing: -0.02em;
  border-bottom: 1px solid var(--line-dark);
}
.why-card__body {
  padding: var(--s-5);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.why-card__body h3 {
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.why-card__body p { font-size: var(--fs-sm); color: var(--ink-3); line-height: 1.6; max-width: 100%; }

/* ==========================================================================
   WHATSAPP FLOATING BUTTON
   ========================================================================== */
.whatsapp-fab {
  position: fixed;
  bottom: 5.5rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  box-shadow: 0 4px 16px rgba(37,211,102,0.35);
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.whatsapp-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
}

/* ==========================================================================
   FOOTER SOCIAL LINKS
   ========================================================================== */
.footer-social {
  display: flex;
  gap: var(--s-3);
  margin-bottom: var(--s-5);
}
.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--line-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-paper-2);
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.social-link:hover {
  color: var(--amber-3);
  border-color: var(--amber);
  background: rgba(212,160,23,0.08);
}


/* ==========================================================================
   MULTI-PAGE ADDITIONS — added during redesign
   ========================================================================== */

/* --------------------------------------------------------------------------
   PAGE HERO (inner pages)
   -------------------------------------------------------------------------- */
.page-hero {
  background: var(--ink);
  color: var(--ink-paper);
  padding: var(--s-9) 0 var(--s-8);
  border-bottom: 1px solid var(--line-dark);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: linear-gradient(90deg, var(--amber) 0%, var(--amber) 120px, var(--line-dark) 120px, var(--line-dark) 100%);
}
.page-hero .eyebrow {
  background: rgba(243,239,229,0.06);
  border-color: rgba(243,239,229,0.14);
  color: var(--ink-paper-3);
}
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--ink-paper);
  margin-bottom: var(--s-5);
  font-variation-settings: 'opsz' 64;
}
.page-hero-title .emph { color: var(--amber-3); font-style: italic; font-weight: 500; font-variation-settings: 'opsz' 64; }
.page-hero-lede {
  color: var(--ink-paper-2);
  font-size: var(--fs-md);
  max-width: 60ch;
  line-height: 1.6;
}
@media (max-width: 720px) {
  .page-hero { padding: var(--s-8) 0 var(--s-7); }
  .page-hero-title { font-size: clamp(2rem, 8vw, 3rem); }
}

/* --------------------------------------------------------------------------
   PRODUCT TEASER (homepage)
   -------------------------------------------------------------------------- */
.prod-teaser-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
  margin-top: var(--s-7);
}
@media (min-width: 640px) { .prod-teaser-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .prod-teaser-grid { grid-template-columns: repeat(3, 1fr); } }

.prod-teaser-card {
  background: var(--paper);
  border: 1.5px solid var(--line-strong);
  border-radius: 4px;
  padding: var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  transition: border-color var(--t-base) var(--ease), transform var(--t-base) var(--ease);
  text-decoration: none;
  color: inherit;
}
.prod-teaser-card:hover {
  border-color: var(--amber);
  transform: translateY(-2px);
}
.prod-teaser-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.prod-teaser-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: var(--s-3);
  transition: transform var(--t-base) var(--ease);
}
.prod-teaser-card:hover .prod-teaser-photo img { transform: scale(1.04); }
.prod-teaser-icon {
  width: 48px;
  height: 48px;
  background: var(--ink);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber);
  flex-shrink: 0;
}
.prod-teaser-name {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.05;
}
.prod-teaser-desc {
  font-size: var(--fs-sm);
  color: var(--ink-3);
  line-height: 1.6;
  flex: 1;
}
.prod-teaser-link {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--amber);
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   SUSTAINABILITY TEASER (homepage)
   -------------------------------------------------------------------------- */
.sustain-teaser {
  background-color: var(--ink);
  color: var(--paper);
  padding: var(--s-10) 0;
  position: relative;
  overflow: hidden;
}
.sustain-teaser::before {
  content: 'SUSTAINABILITY';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(4rem, 15vw, 12rem);
  font-weight: 700;
  color: rgba(255,255,255,0.03);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: -0.02em;
}
.sustain-teaser-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-8);
  align-items: center;
}
@media (min-width: 840px) {
  .sustain-teaser-inner { grid-template-columns: 1fr 1fr; }
}
.sustain-teaser-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 0.95;
  color: var(--paper);
  margin-bottom: var(--s-5);
}
.sustain-teaser-title .emph { color: var(--amber-3); font-style: italic; font-weight: 500; font-variation-settings: 'opsz' 64; }
.sustain-teaser-body { color: rgba(243,239,229,0.65); font-size: var(--fs-md); line-height: 1.7; margin-bottom: var(--s-6); }
.sustain-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-3);
}
.sustain-pill {
  background: rgba(243,239,229,0.04);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  padding: var(--s-5);
  transition: border-color var(--t-base) var(--ease), background var(--t-base) var(--ease);
}
.sustain-pill:hover { border-color: var(--amber-2); background: rgba(245,200,79,0.04); }
.sustain-pill-icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(245,200,79,0.10);
  color: var(--amber-3);
  margin-bottom: var(--s-3);
}
.sustain-pill-name {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--paper);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.sustain-pill-sub { font-size: 0.75rem; color: rgba(243,239,229,0.5); margin-top: 2px; }

/* --------------------------------------------------------------------------
   CONTACT CTA BAND (homepage) — charcoal with amber accents
   -------------------------------------------------------------------------- */
.cta-band {
  background: var(--ink);
  color: var(--ink-paper);
  padding: var(--s-8) 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% 50%, rgba(212,160,23,0.10), transparent 55%);
  pointer-events: none;
}
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-6);
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}
.cta-band-title {
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 3vw, 2.5rem);
  font-weight: 600;
  color: var(--ink-paper);
  line-height: 1.05;
  letter-spacing: -0.022em;
  font-variation-settings: 'opsz' 32;
}
.cta-band-sub { font-size: var(--fs-sm); color: var(--ink-paper-2); margin-top: var(--s-2); max-width: 56ch; line-height: 1.55; }
.cta-band .btn-dark {
  background: var(--amber);
  color: var(--ink);
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-sm);
  letter-spacing: 0.02em;
  text-transform: none;
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  border: 1.5px solid var(--amber);
  transition: background var(--t-base) var(--ease), border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.cta-band .btn-dark:hover {
  background: var(--amber-3);
  border-color: var(--amber-3);
  box-shadow: 0 4px 20px rgba(212,160,23,0.30);
}
.cta-band .btn-dark + .btn-dark {
  background: transparent;
  color: var(--ink-paper);
  border-color: rgba(243,239,229,0.24);
}
.cta-band .btn-dark + .btn-dark:hover {
  background: rgba(243,239,229,0.06);
  border-color: rgba(243,239,229,0.5);
  box-shadow: none;
}
@media (max-width: 640px) {
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
  .cta-band .btn-dark { width: 100%; justify-content: center; }
}

/* --------------------------------------------------------------------------
   FILTER TABS (products page)
   -------------------------------------------------------------------------- */
.filter-tabs {
  display: flex;
  gap: var(--s-2);
  flex-wrap: wrap;
  margin-bottom: var(--s-7);
}
.filter-tab {
  padding: var(--s-2) var(--s-5);
  border: 1.5px solid var(--line-strong);
  border-radius: 100px;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  background: transparent;
  cursor: pointer;
  transition: all var(--t-fast) var(--ease);
}
.filter-tab:hover { border-color: var(--amber); color: var(--ink); }
.filter-tab.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--amber);
}
.prod-group { margin-bottom: var(--s-9); }
.prod-group-title {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
  border-bottom: 2px solid var(--ink);
  padding-bottom: var(--s-3);
  margin-bottom: var(--s-6);
}

/* --------------------------------------------------------------------------
   SUSTAINABILITY PAGE — PILLAR GRID
   -------------------------------------------------------------------------- */
.sustain-page-pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
  margin-top: var(--s-7);
}
@media (min-width: 720px) { .sustain-page-pillars { grid-template-columns: 1fr 1fr; } }

.sustain-pillar-card {
  background: var(--paper);
  border: 1.5px solid var(--line-strong);
  border-radius: 4px;
  padding: var(--s-6);
  transition: border-color var(--t-base) var(--ease);
}
.sustain-pillar-card:hover { border-color: var(--amber); }
.sustain-pillar-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(12,13,15,0.06);
  line-height: 1;
  margin-bottom: var(--s-2);
}
.sustain-pillar-icon {
  font-size: 1.8rem;
  margin-bottom: var(--s-3);
}
.sustain-pillar-title {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin-bottom: var(--s-3);
}
.sustain-pillar-desc {
  font-size: var(--fs-sm);
  color: var(--ink-3);
  line-height: 1.65;
  margin-bottom: var(--s-4);
}
.sustain-pillar-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.sustain-pillar-points li {
  font-size: var(--fs-sm);
  color: var(--ink-2);
  display: flex;
  align-items: flex-start;
  gap: var(--s-2);
  padding: var(--s-2) 0;
  border-bottom: 1px solid var(--line);
  line-height: 1.5;
}
.sustain-pillar-points li:last-child { border-bottom: none; }
.sustain-pillar-points li::before {
  content: '→';
  color: var(--amber);
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Impact Stats */
.impact-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-4);
  margin: var(--s-8) 0;
}
@media (min-width: 720px) { .impact-stats { grid-template-columns: repeat(4, 1fr); } }
.impact-stat {
  background: var(--ink);
  color: var(--paper);
  padding: var(--s-6);
  text-align: center;
  border-radius: 4px;
}
.impact-stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--amber-3);
  line-height: 1;
  display: block;
  margin-bottom: var(--s-2);
}
.impact-stat-label { font-size: var(--fs-xs); color: rgba(243,239,229,0.6); letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.4; }

/* --------------------------------------------------------------------------
   ABOUT CONTEXT PHOTO — full-width strip between about-grid and leadership
   -------------------------------------------------------------------------- */
.about-context-photo {
  margin-top: var(--s-9);
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 6;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
}
.about-context-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  filter: contrast(1.02) saturate(0.94);
}
.about-context-photo figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 8px 16px;
  background: rgba(14,15,17,0.7);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: rgba(243,239,229,0.6);
  letter-spacing: 0.1em;
}
@media (max-width: 720px) { .about-context-photo { aspect-ratio: 16 / 7; } }
@media (max-width: 600px) { .about-photos-row { grid-template-columns: 1fr !important; } }

/* --------------------------------------------------------------------------
   SECTION DARK BG — sustainability take-back (photo + dark overlay)
   -------------------------------------------------------------------------- */
.section-dark-text .section-title,
.section-dark-text h2,
.section-dark-text h3 { color: var(--ink-paper); }
.section-dark-text .section-num,
.section-dark-text .section-label { color: rgba(243,239,229,0.5); }
.section-dark-text .lede,
.section-dark-text p { color: rgba(243,239,229,0.75); }
.section-dark-text .title-emph { color: var(--amber-3); }

/* --------------------------------------------------------------------------
   GALLERY PAGE
   -------------------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-3);
  margin-top: var(--s-7);
}
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 980px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }

.gallery-thumb {
  aspect-ratio: 4/3;
  background: var(--paper-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  display: block;
  text-decoration: none;
  color: inherit;
  transition: border-color var(--t-fast) var(--ease);
}
.gallery-thumb:hover { border-color: var(--amber); }
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--t-slow) var(--ease), filter var(--t-base) var(--ease);
  filter: contrast(1.02) saturate(0.96);
}
.gallery-thumb:hover img { transform: scale(1.04); filter: contrast(1.05) saturate(1.05); }
.gallery-thumb--product { background: var(--paper); }
.gallery-thumb--product img { object-fit: contain; padding: var(--s-3); filter: none; }
.gallery-thumb--product:hover img { filter: none; }
.gallery-thumb-meta {
  position: absolute;
  inset: auto 0 0 0;
  padding: var(--s-3) var(--s-4);
  display: flex;
  align-items: center;
  gap: var(--s-3);
  background: linear-gradient(180deg, transparent, rgba(12,13,15,0.82));
  color: var(--ink-paper);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  z-index: 2;
  pointer-events: none;
}
.gallery-thumb-tag {
  display: inline-block;
  background: var(--amber);
  color: var(--ink);
  padding: 3px 7px;
  border-radius: 2px;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}
.gallery-thumb-label {
  color: var(--ink-paper-2);
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-transform: none;
  font-weight: 500;
}
.gallery-thumb[hidden] { display: none; }
.gallery-note {
  margin-top: var(--s-7);
  padding: var(--s-5);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-left: 2px solid var(--amber);
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  color: var(--ink-3);
  font-style: italic;
}

/* Certificate thumbnails */
.gallery-thumb--cert { background: #fff; }
.gallery-thumb--cert img {
  object-fit: contain;
  padding: var(--s-3);
  filter: none !important;
}
.gallery-thumb--cert:hover img {
  transform: none !important;
  filter: none !important;
}

/* --------------------------------------------------------------------------
   GALLERY LIGHTBOX
   -------------------------------------------------------------------------- */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(10,8,6,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 200ms var(--ease), visibility 200ms var(--ease);
  cursor: zoom-out;
}
.gallery-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}
.gallery-lightbox-inner {
  position: relative;
  width: min(90vw, 1100px);
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: default;
  padding: 0 52px;
}
.gallery-lightbox-img {
  max-width: 100%;
  max-height: 72vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
  display: block;
}
.gallery-lightbox-close {
  position: absolute;
  top: -48px;
  right: 0;
  background: none;
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.65);
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: color 150ms, background 150ms, border-color 150ms;
}
.gallery-lightbox-close:hover {
  color: #fff;
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.3);
}
.gallery-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.7);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 150ms, color 150ms;
  flex-shrink: 0;
}
.gallery-lightbox-nav:hover { background: rgba(255,255,255,0.18); color: #fff; }
.gallery-lightbox-nav:disabled { opacity: 0.2; cursor: default; pointer-events: none; }
.gallery-lightbox-prev { left: 4px; }
.gallery-lightbox-next { right: 4px; }
.gallery-lightbox-meta {
  margin-top: var(--s-4);
  text-align: center;
  color: rgba(243,239,229,0.65);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  max-width: 60ch;
}
.gallery-lightbox-counter {
  margin-top: var(--s-2);
  text-align: center;
  color: rgba(243,239,229,0.3);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
}
@media (max-width: 480px) {
  .gallery-lightbox-inner { padding: 0 40px; }
  .gallery-lightbox-nav { width: 34px; height: 34px; }
  .gallery-lightbox-img { max-height: 60vh; }
  .gallery-lightbox-close { top: -44px; width: 32px; height: 32px; }
}

/* --------------------------------------------------------------------------
   404 PAGE
   -------------------------------------------------------------------------- */
.page-404 {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--s-9) 0;
}
.page-404-num {
  font-family: var(--font-display);
  font-size: clamp(6rem, 20vw, 14rem);
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
  letter-spacing: -0.04em;
  display: block;
}
.page-404-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--s-4);
}
.page-404-sub { color: var(--ink-3); font-size: var(--fs-md); margin-bottom: var(--s-7); }

/* --------------------------------------------------------------------------
   BREADCRUMB
   -------------------------------------------------------------------------- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--fs-xs);
  color: var(--ink-3);
  margin-bottom: var(--s-5);
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--ink-3); text-decoration: none; }
.breadcrumb a:hover { color: var(--amber); }
.breadcrumb-sep { color: var(--line-strong); }
.breadcrumb-current { color: var(--amber); font-weight: 600; }

/* --------------------------------------------------------------------------
   ACTIVE NAV LINK (page-based)
   -------------------------------------------------------------------------- */
@media (min-width: 1024px) {
  .nav-primary a[data-page].active::after { transform: scaleX(1); }
  .nav-primary a[data-page].active { color: var(--ink); }
}

/* --------------------------------------------------------------------------
   MOBILE: ensure no horizontal overflow on any page
   -------------------------------------------------------------------------- */
html { overflow-x: hidden; }
/* Removed: * { max-width: 100% } — universal selector broke table cell natural
   widths, flex item sizing, and inline elements. html overflow-x:hidden already
   prevents viewport overflow; specific rules below handle media. */
img, video, iframe { max-width: 100%; height: auto; }

/* ==========================================================================
   LANGUAGE SWITCHER
   ========================================================================== */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 100px;
  padding: 3px;
  flex-shrink: 0;
}
.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 11px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-family: var(--font-mono);
  text-decoration: none;
  color: var(--ink-muted);
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
  white-space: nowrap;
  line-height: 1;
}
.lang-btn:hover { color: var(--ink); }
.lang-btn--active {
  background: var(--ink);
  color: var(--paper) !important;
  pointer-events: none;
  cursor: default;
}
.lang-item-mobile {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-4) 0 var(--s-2);
  border-top: 1px solid var(--line);
  margin-top: var(--s-2);
}
/* Fix: .lang-btn-mob was styled for dark backgrounds (rgba white colors) but
   .mobile-menu has a light paper background — buttons were invisible.
   Swapped to ink-on-paper color scheme to match the menu surface. */
.lang-btn-mob {
  padding: 6px 14px;
  border-radius: 100px;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  font-family: var(--font-mono);
  text-decoration: none;
  color: var(--ink-3);
  border: 1px solid var(--line-strong);
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.lang-btn-mob:hover { color: var(--ink); border-color: var(--amber); background: var(--amber-paper); }
.lang-btn-mob--active {
  background: var(--ink);
  color: var(--paper) !important;
  border-color: var(--ink);
  pointer-events: none;
}
@media (max-width: 860px) {
  .lang-switcher { display: none; }
}

/* --------------------------------------------------------------------------
   DEALER SECTION COMPACT (for products page)
   -------------------------------------------------------------------------- */
.dealer-teaser {
  background: var(--ink);
  color: var(--paper);
  padding: var(--s-8) var(--s-7);
  border-radius: 4px;
  margin-top: var(--s-9);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
  align-items: center;
}
@media (min-width: 720px) {
  .dealer-teaser { grid-template-columns: 1fr auto; }
}
.dealer-teaser-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--paper);
  margin-bottom: var(--s-3);
}
.dealer-teaser-sub { color: rgba(243,239,229,0.65); font-size: var(--fs-sm); line-height: 1.6; }

/* ==========================================================================
   MOBILE IMPROVEMENTS
   ========================================================================== */

/* --- Sections & layout -------------------------------------------------- */
@media (max-width: 480px) {
  .section { padding-block: var(--s-7); }
  .section-header { margin-bottom: var(--s-6); }
  .container { padding-inline: var(--s-4); }
}

/* --- Homepage hero photo: swap to landscape on mobile ------------------- */
@media (max-width: 719px) {
  .hero-image-frame { aspect-ratio: 16 / 9; }
  .hero-text { padding-top: 0; }
}

/* --- Hero stat cells: tighter padding on small phones ------------------- */
@media (max-width: 480px) {
  .hero-stat { padding: var(--s-4) var(--s-3); }
  .hero-cert-item { padding: var(--s-3) var(--s-4); }
  .hero-cert-desc { display: none; }
}

/* --- Page hero (inner pages) -------------------------------------------- */
@media (max-width: 480px) {
  .page-hero { padding: var(--s-7) 0 var(--s-6); }
  .page-hero-title { font-size: clamp(1.75rem, 9vw, 2.5rem); }
}

/* --- About: figure card landscape on mobile (avoids very tall portrait) - */
@media (max-width: 719px) {
  .figure-card { aspect-ratio: 4 / 3; }
  .figure-card figcaption { bottom: -28px; }
}

/* --- About: company-meta label narrower on small phones ----------------- */
@media (max-width: 480px) {
  .company-meta dt { flex: 0 0 100px; font-size: 0.7rem; }
  .cap-item { padding: var(--s-4) var(--s-3); }
  .cap-num { font-size: clamp(1.25rem, 5vw, 1.6rem); }
}

/* --- Products: filter tab smaller padding on narrow screens ------------- */
@media (max-width: 480px) {
  .filter-tab { padding: 7px 10px; font-size: 0.68rem; letter-spacing: 0.04em; }
  .prod-group-title { font-size: var(--fs-lg); }
  .prod-card__head { padding: var(--s-4) var(--s-4) var(--s-3); }
  .prod-card__body { padding: var(--s-4) var(--s-4); }
  .prod-card__foot { padding: var(--s-3) var(--s-4); }
  .dealer-teaser { padding: var(--s-6) var(--s-5); }
}

/* --- Contact: prevent long email/address values from overflowing -------- */
.block-value { overflow-wrap: break-word; word-break: break-word; min-width: 0; }

/* --- Ticker bar: hide on mobile (saves vertical space) ------------------ */
@media (max-width: 640px) {
  .ticker-bar { display: none; }
}

/* --- Province table: tighter columns on very small phones --------------- */
@media (max-width: 380px) {
  .province-row { grid-template-columns: 80px 1fr 58px; font-size: 0.75rem; }
}

/* --- Footer: single-column on very small phones ------------------------- */
@media (max-width: 360px) {
  .footer-cols { grid-template-columns: 1fr; gap: var(--s-4); }
}

/* --- FABs: reduce size and separate WhatsApp + scroll-to-top on mobile -- */
@media (max-width: 720px) {
  .whatsapp-fab { width: 40px; height: 40px; right: 1rem; bottom: 4.5rem; }
  .scroll-top   { right: 1rem; bottom: 1rem; width: 40px; height: 40px; }
}

/* --- Sustainability: reduce pillar grid gap on mobile ------------------- */
@media (max-width: 480px) {
  .sustain-page-pillars { gap: var(--s-4); }
  .impact-stats { grid-template-columns: 1fr 1fr; }
}

/* --- Universal: no element should cause horizontal overflow -------------- */
img, video, iframe { max-width: 100%; height: auto; }
/* Removed display:block from table — it forced ALL tables into block context,
   breaking responsive table layouts. .product-spec-table already has its own
   overflow-x:auto wrapper, so no scrolling capability is lost. */
table { max-width: 100%; }

/* --- Very small phones (≤360px) typography ------------------------------ */
@media (max-width: 360px) {
  .section-title { font-size: clamp(1.5rem, 8vw, 2rem); }
  .hero-title    { font-size: clamp(2rem, 10vw, 3rem); }
}

/* ==========================================================================
   ANDROID / MID-RANGE GPU RENDERING FIXES
   Fixes visual glitches on Chrome Android (Redmi 12, Helio G85 class devices)
   ========================================================================== */

/* Fix 3 — backdrop-filter flickering on Android
   GPU compositing of blur+saturate causes white flickers on mid-range devices.
   On mobile we use a solid fallback — the blur is invisible at 97% opacity anyway. */
@media (max-width: 1024px) {
  .site-header.scrolled {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: rgba(250,248,243,0.99);
  }
}

/* Fix 4 — mask-image on hero grid rendering as solid black on some MIUI builds
   CSS masking is GPU-composited; on Android it can produce a solid overlay.
   On mobile we reduce opacity instead — same visual intent, no compositing. */
@media (max-width: 720px) {
  .hero-bg-grid {
    -webkit-mask-image: none;
    mask-image: none;
    opacity: 0.2;
  }
}

/* Fix 5 — gallery image filter + transform on touch devices
   CSS filter forces a new compositing layer on every thumbnail.
   With 55+ images on mobile, this overwhelms GPU memory.
   Touch devices don't hover anyway so the effect is wasted. */
@media (hover: none) {
  .gallery-thumb img {
    filter: none;
    transition: none;
  }
  .gallery-thumb:hover img {
    transform: none;
    filter: none;
  }
  .prod-card:hover .prod-card__body-photo img {
    transform: none;
  }
}

/* Fix 6 — font-variation-settings on Android variable font rendering
   MIUI's font renderer can produce blurry or misaligned glyphs with opsz axis.
   Fall back to normal on mobile. */
@media (max-width: 768px) {
  .hero-title, .trust-num, .section-title, .sustain-teaser-title .emph {
    font-variation-settings: normal;
  }
}

/* Fix 7 — Sustainability teaser compositing glitch on Android
   overflow:hidden + position:relative + background-image = white flash on
   mid-range GPUs. The ::before pseudo-element (large watermark text with
   transform) nests a second compositing layer inside, causing white rectangles.
   On mobile: remove overflow (clip ::before with clip-path instead) and hide
   the watermark entirely — it's rgba(255,255,255,0.03) and invisible anyway. */
@media (max-width: 1024px) {
  .sustain-teaser {
    overflow: visible;
  }
  .sustain-teaser::before {
    display: none;
  }
}

/* ==========================================================================
   PRODUCTION AUDIT FIXES — 2026-05-26
   ========================================================================== */

/* --- Dealer form section divs (used instead of fieldset/legend) ----------- */
.form-section {
  margin-bottom: var(--s-6);
  padding-bottom: var(--s-5);
  border-bottom: 1px solid var(--line);
}
.form-section:last-of-type { border-bottom: 0; }

.form-section-title {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: var(--s-4);
  display: block;
}

/* --- Checkbox item — alias for .check, used in dealer form labels --------- */
.checkbox-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  cursor: pointer;
  transition: all var(--t-fast) var(--ease);
}
.checkbox-item:hover { border-color: var(--amber-2); background: var(--amber-paper); }
.checkbox-item input {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--line-strong);
  border-radius: 2px;
  background: var(--paper);
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}
.checkbox-item input:checked { background: var(--ink); border-color: var(--ink); }
.checkbox-item input:checked::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 9px;
  border: solid var(--amber);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.checkbox-item input:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

/* --- Form note — disclaimer text below submit button ---------------------- */
.form-note {
  font-size: var(--fs-xs);
  color: var(--ink-muted);
  line-height: 1.6;
  max-width: 50ch;
}
