/* ============================================================
   On Capacitor — Main Stylesheet
   Light, airy, rounded theme. Edit :root to retheme.
   ============================================================ */

/* Fonts are loaded via <link> in each page's <head> (injected by prerender)
   instead of a render-blocking CSS @import. */

:root {
  /* Background layers — cool paper (from onlystar reference) */
  --bg:          #f8f9fc;
  --bg-surface:  #eef2f8;
  --bg-card:     #ffffff;
  --bg-border:   #dce3eb;

  /* Accent — primary action colour (brand blue) */
  --red:         #2f88c8;
  --red-hover:   #1a6ba8;
  --red-dim:     rgba(47,136,200,0.08);

  /* Highlight accents — slightly-muted reference blue (dominant) +
     gold (fine detailing). Use these everywhere; never hardcode hex.
     Plus supporting tints (washes, deep navy, soft gold). */
  --accent-gold:     #b89f6a;
  --accent-gold-hover:#9a8550;
  --accent-gold-dim: rgba(184,159,106,0.16);
  --gold-soft:       #d8c49a;
  --accent-blue:     #2f88c8;
  --blue-bright:     #5aa0d0;
  --blue-wash:       #eaf3fb;
  --blue-light:      #cfe6f7;
  --blue-deep:       #0c3c5c;

  /* Light section palette */
  --light-bg:    #f8f9fc;
  --light-card:  #ffffff;
  --light-border:#dce3eb;

  /* Text — note: --white is repurposed as the primary ink colour
     so the many `color: var(--white)` rules become dark text on light. */
  --white:       #15191f;
  --text-light:  rgba(21,25,31,0.78);
  --text-muted:  #3c4651;
  --text-on-lt:  #15191f;
  --text-muted-lt:#3c4651;

  /* Compat aliases used elsewhere in the codebase */
  --navy:        #f8f9fc;
  --navy-mid:    #eef2f8;
  --blue:        var(--accent-blue);
  --gold:        var(--accent-gold);
  --off-white:   #f8f9fc;
  --gray-300:    #9aa1ab;
  --gray-500:    #6b7280;
  --gray-700:    #3f444c;
  --gray-900:    #16181d;
  --text-dark:   #16181d;

  /* Typography — reference three-font system */
  --font:         'Hanken Grotesk', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', system-ui, -apple-system, sans-serif;
  --font-display: 'Montserrat', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', system-ui, sans-serif;
  --font-mono:    'IBM Plex Mono', ui-monospace, monospace;

  /* Ink scale (reference) */
  --ink:         #15191f;
  --ink-2:       #3c4651;
  --ink-3:       #6c7884;
  --line:        #dce3eb;
  --line-2:      #eaf0f5;
  --paper:       #f8f9fc;

  /* Shape — soft rounded */
  --radius:      14px;
  --radius-lg:   22px;
  --shadow:      0 4px 24px rgba(18,22,28,0.06);
  --shadow-lg:   0 18px 50px rgba(18,22,28,0.10);
  --shadow-sm:   0 1px 2px rgba(20,40,60,.04), 0 6px 18px rgba(20,40,60,.05);
  --shadow-md:   0 2px 6px rgba(20,40,60,.05), 0 22px 50px rgba(16,44,72,.10);
  --transition:  0.2s ease;
  /* Motion / scroll-reveal system */
  --ease-reveal:  cubic-bezier(0.16, 1, 0.3, 1);
  --dur-reveal:   0.7s;
  --reveal-shift: 22px;
  --max-w:       1200px;
  --nav-h:       78px;
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--white);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Utility ──────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 96px 0; }
.section--first { padding-top: calc(var(--nav-h) + 64px); }


/* Dark surface variant (slightly lighter than body) */
.section--dark {
  background: var(--bg-surface);
  color: var(--white);
}

/* Light contrast sections */
.section--alt {
  background: var(--light-bg);
  color: var(--text-on-lt);
}
.section--white {
  background: var(--light-card);
  color: var(--text-on-lt);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 14px;
}
.tag::before {
  content: '';
  display: inline-block;
  width: 9px;
  height: 9px;
  background: radial-gradient(circle, var(--accent-gold) 0 1.4px, transparent 1.6px);
  flex-shrink: 0;
}
.section--alt .tag,
.section--white .tag { color: var(--ink-3); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.012em;
  text-transform: none;
  margin-bottom: 16px;
}
.section--alt .section-title,
.section--white .section-title { color: var(--text-on-lt); }

.section-lead {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 580px;
  margin-bottom: 48px;
  line-height: 1.7;
}
.section--alt .section-lead,
.section--white .section-lead { color: var(--text-muted-lt); }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  text-transform: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

/* Primary / Gold — same solid ink pill, white text */
.btn-primary,
.btn-gold {
  background: var(--red);
  color: #ffffff;
  border-color: var(--red);
}
.btn-primary:hover,
.btn-gold:hover {
  background: var(--red-hover);
  border-color: var(--red-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
/* Sheen sweep across primary buttons on hover */
.btn-primary::after,
.btn-gold::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: -130%; width: 55%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-18deg); pointer-events: none;
}
.btn-primary:hover::after,
.btn-gold:hover::after { animation: btn-sheen 0.75s var(--ease-reveal); }
@keyframes btn-sheen { from { left: -130%; } to { left: 150%; } }
@media (prefers-reduced-motion: reduce) {
  .btn-primary:hover::after,
  .btn-gold:hover::after { animation: none; }
}

/* Outline — hairline pill on light bg */
.btn-outline {
  background: #ffffff;
  border-color: #b0bac6;
  color: var(--white);
}
.btn-outline:hover {
  border-color: var(--red);
  background: var(--red-dim);
  color: var(--red);
}

/* Outline on light bg */
.btn-outline-dark {
  background: transparent;
  border-color: #6c7884;
  color: var(--text-on-lt);
}
.btn-outline-dark:hover {
  background: var(--text-on-lt);
  color: #ffffff;
}

/* ── Navigation ───────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background var(--transition), box-shadow var(--transition), height 0.28s var(--ease-reveal);
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--bg-border);
}
.nav.scrolled {
  background: rgba(255,255,255,0.95);
  box-shadow: 0 1px 0 var(--bg-border), 0 8px 28px rgba(18,22,28,0.06);
  height: 64px;
}
/* Scroll progress bar (blue → gold) along the nav's bottom edge */
.nav-progress {
  position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  transform: scaleX(0); transform-origin: left;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-gold));
  z-index: 2; pointer-events: none;
}

/* Home + inner page-hero: nav blends into the dark hero until the user scrolls. */
body:has(.home-hero, .page-hero) .nav:not(.scrolled) {
  background: linear-gradient(180deg, rgba(8,12,18,0.62) 0%, rgba(8,12,18,0) 100%);
  border-bottom-color: transparent;
  box-shadow: none;
}
body:has(.home-hero, .page-hero) .nav:not(.scrolled) .nav-logo,
body:has(.home-hero, .page-hero) .nav:not(.scrolled) .nav-logo-name { color: #fff; }
body:has(.home-hero, .page-hero) .nav:not(.scrolled) .nav-links a { color: rgba(255,255,255,0.82); }
body:has(.home-hero, .page-hero) .nav:not(.scrolled) .nav-links a:not(.nav-dropdown-item):hover,
body:has(.home-hero, .page-hero) .nav:not(.scrolled) .nav-links a:not(.nav-dropdown-item).active { color: var(--accent-gold); }
body:has(.home-hero, .page-hero) .nav:not(.scrolled) .lang-btn { color: rgba(255,255,255,0.7); }
body:has(.home-hero, .page-hero) .nav:not(.scrolled) .lang-btn.active { color: #fff; }
body:has(.home-hero, .page-hero) .nav:not(.scrolled) .lang-sep { color: rgba(255,255,255,0.45); }
body:has(.home-hero, .page-hero) .nav:not(.scrolled) .nav-hamburger span { background: #fff; }
/* Open hamburger menu matches the dark over-hero nav */
body:has(.home-hero, .page-hero) .nav:not(.scrolled) + .nav-mobile {
  background: rgba(10,15,22,0.95);
  border-top-color: rgba(255,255,255,0.10);
}
body:has(.home-hero, .page-hero) .nav:not(.scrolled) + .nav-mobile a { color: rgba(255,255,255,0.85); }
body:has(.home-hero, .page-hero) .nav:not(.scrolled) + .nav-mobile a:hover { background: rgba(255,255,255,0.08); color: #fff; }
body:has(.home-hero, .page-hero) .nav:not(.scrolled) + .nav-mobile .lang-switch-mobile { border-top-color: rgba(255,255,255,0.12); }
body:has(.home-hero, .page-hero) .nav:not(.scrolled) + .nav-mobile .nav-mobile-header { border-bottom-color: rgba(255,255,255,0.12); }
body:has(.home-hero, .page-hero) .nav:not(.scrolled) + .nav-mobile .nav-logo-name { color: #fff; }
body:has(.home-hero, .page-hero) .nav:not(.scrolled) + .nav-mobile .lang-btn { color: rgba(255,255,255,0.7); }
body:has(.home-hero, .page-hero) .nav:not(.scrolled) + .nav-mobile .lang-btn.active { color: #fff; }
body:has(.home-hero, .page-hero) .nav:not(.scrolled) .nav-cta {
  background: rgba(255,255,255,0.12) !important;
  border-color: rgba(255,255,255,0.45) !important;
  color: #fff !important;
}
body:has(.home-hero, .page-hero) .nav:not(.scrolled) .nav-cta:hover {
  background: #fff !important;
  border-color: #fff !important;
  color: var(--ink) !important;
}
/* Dropdown menus go dark to match the over-hero nav */
body:has(.home-hero, .page-hero) .nav:not(.scrolled) .nav-dropdown-menu {
  background: rgb(12, 18, 26);
  border-color: rgba(255,255,255,0.10);
  box-shadow: none;
}
body:has(.home-hero, .page-hero) .nav:not(.scrolled) .nav-dropdown-menu .nav-dropdown-item { color: rgba(255,255,255,0.80); }
body:has(.home-hero, .page-hero) .nav:not(.scrolled) .nav-dropdown-menu .nav-dropdown-item:hover { background: rgba(255,255,255,0.08); color: #fff; }
body:has(.home-hero, .page-hero) .nav:not(.scrolled) .nav-dropdown-menu .nav-dropdown-item:hover .nav-dropdown-text strong { color: #fff; }
body:has(.home-hero, .page-hero) .nav:not(.scrolled) .nav-dropdown-menu .nav-dropdown-item:hover .nav-dropdown-icon { background: rgba(255,255,255,0.16); color: #fff; }
body:has(.home-hero, .page-hero) .nav:not(.scrolled) .nav-dropdown-menu .nav-dropdown-text strong { color: rgba(255,255,255,0.95); }
body:has(.home-hero, .page-hero) .nav:not(.scrolled) .nav-dropdown-menu .nav-dropdown-text span { color: rgba(255,255,255,0.55); }
body:has(.home-hero, .page-hero) .nav:not(.scrolled) .nav-dropdown-menu .nav-dropdown-icon { background: rgba(255,255,255,0.10); color: rgba(255,255,255,0.75); }
body:has(.home-hero, .page-hero) .nav:not(.scrolled) .nav-dropdown-menu .nav-dropdown-simple-item { color: rgba(255,255,255,0.80); }
body:has(.home-hero, .page-hero) .nav:not(.scrolled) .nav-dropdown-menu .nav-dropdown-simple-item:hover { background: rgba(255,255,255,0.08); color: #fff; }

/* Smooth the light↔dark swap when scroll crosses the threshold */
.nav-logo, .nav-logo-name, .nav-links a, .lang-btn, .nav-cta { transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease; }
.nav-inner {
  width: 100%;
  height: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.nav-inner .nav-links { justify-self: center; align-self: stretch; }
.nav-inner .nav-end   { justify-self: end; display: flex; align-items: center; gap: 8px; }

.nav-cta {
  font-size: 0.8rem !important;
  padding: 9px 22px !important;
  background: var(--red) !important;
  border-color: var(--red) !important;
  color: #ffffff !important;
  border-radius: 999px !important;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.nav-cta:hover {
  background: var(--red-hover) !important;
  border-color: var(--red-hover) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(18,22,28,0.22) !important;
}
@media (max-width: 900px) { .nav-end .nav-cta { display: none; } }

/* Language switcher */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-right: 4px;
}
.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  padding: 4px 6px;
  border-radius: var(--radius);
  transition: color 0.15s ease;
}
.lang-btn:hover { color: var(--text); }
.lang-btn.active { color: var(--red); }
.lang-sep { color: var(--text-muted); opacity: 0.4; font-size: 0.8rem; }

/* In the mobile drop-down menu */
.lang-switch-mobile {
  padding: 16px 24px;
  border-top: 1px solid var(--border, rgba(0,0,0,0.08));
  margin-top: 8px;
}
@media (min-width: 901px) { .lang-switch-mobile { display: none; } }
@media (max-width: 900px) { .nav-end .lang-switch { display: none; } }

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nav-logo svg { width: auto; height: 28px; }
.nav-logo span.accent { color: var(--white); opacity: 0.6; }
.nav-logo-img { height: 50px; width: auto; display: block; }
.nav-logo-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.01em;
  color: var(--text-on-lt);
  white-space: nowrap;
}
@media (max-width: 420px) {
  .nav-logo-name { font-size: 0.9rem; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-links a {
  position: relative;
  color: var(--text-muted);
  font-size: 1.06rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: var(--radius);
  transition: color var(--transition);
}
.nav-links a:not(.nav-dropdown-item)::after {
  content: '';
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 2px;
  height: 2px;
  background: var(--accent-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}
.nav-links a:not(.nav-dropdown-item):hover,
.nav-links a:not(.nav-dropdown-item).active {
  color: var(--accent-gold);
}
.nav-links a:not(.nav-dropdown-item):hover::after,
.nav-links a:not(.nav-dropdown-item).active::after {
  transform: scaleX(1);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: all var(--transition);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(14px);
  padding: 16px 24px 24px;
  z-index: 999;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid var(--bg-border);
}
.nav-mobile.open { display: flex; }
.nav-mobile-header {
  padding: 4px 8px 12px;
  border-bottom: 1px solid var(--bg-border);
  margin-bottom: 4px;
}
.nav-mobile-header .nav-logo { padding: 0; }
.nav-mobile a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 11px 16px;
  border-radius: var(--radius);
  transition: background var(--transition);
}
.nav-mobile a:hover { background: rgba(18,22,28,0.04); color: var(--white); }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(180deg, #e8f1fb 0%, #f3f8fc 40%, #ffffff 100%);
  padding-top: var(--nav-h);
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img,
.hero-media video {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.18;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.92) 0%,
    rgba(255,255,255,0.55) 55%,
    rgba(255,255,255,0.1) 100%
  );
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 24px;
  width: 100%;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-bottom: 24px;
}
.hero-eyebrow::before {
  content: '/';
  font-size: 1rem;
  color: var(--red);
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6.8vw, 5.6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.0;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 24px;
  max-width: 680px;
}
.hero-title .highlight { color: var(--accent-blue); }
.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--text-muted);
  max-width: 500px;
  margin-bottom: 40px;
  line-height: 1.7;
  text-transform: none;
  font-family: var(--font);
}
.hero-location {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text-on-lt);
  margin: -8px 0 22px;
}
.hero-location svg { width: 17px; height: 17px; color: var(--accent-blue); flex-shrink: 0; }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-actions .btn {
  font-size: 1.05rem;
  padding: 16px 36px;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: bounce 2.5s infinite;
}
.hero-scroll svg { width: 18px; height: 18px; }
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(7px)} }

/* ── Features / Product category cards ───────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--light-border);
  border: 1px solid var(--light-border);
  border-radius: var(--radius);
  overflow: hidden;
}

/* Horizontal product category card (homepage) */
.feature-card {
  padding: 32px 28px;
  background: var(--light-card);
  transition: background var(--transition);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.feature-card:hover { background: var(--light-bg); }

.section--dark .feature-card {
  background: var(--bg-card);
  border-color: var(--bg-border);
  color: var(--white);
}
.section--dark .feature-card:hover { background: #222; }

.feature-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #f0f1f3;
  margin-bottom: 20px;
}
.section--dark .feature-card-img,
.section--dark .feature-card { background-color: var(--bg-card); }
.feature-card-img img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; display: block; }
.feature-card-img svg { width: 36px; height: 36px; }

.feature-card-label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 6px;
}

.feature-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius);
  background: var(--blue-wash);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--accent-blue);
}
.feature-icon svg { width: 22px; height: 22px; }

.feature-card h3 {
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: none;
  margin-bottom: 4px;
  color: var(--ink);
  line-height: 1.2;
}
.section--dark .feature-card h3 { color: var(--white); }

.feature-card-underline {
  width: 32px; height: 3px;
  background: var(--accent-gold);
  margin-bottom: 14px;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--text-muted-lt);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 18px;
}
.section--dark .feature-card p { color: var(--text-muted); }

.feature-card-link {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition);
}
.feature-card:hover .feature-card-link { gap: 10px; }
.feature-card-link svg { width: 14px; height: 14px; }

/* ── Split (text + image) ─────────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
.split-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.split-img .placeholder-img {
  width: 100%; height: 100%;
  background: var(--bg-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.15);
  min-height: 300px;
  border: 1px solid var(--bg-border);
}

/* ── Workshop gallery (about page manufacturing section) ───── */
.mfg-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.workshop-gallery {
  position: relative;
  height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.workshop-gallery-track {
  position: relative;
  height: 100%;
}
.workshop-gallery-track img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.7s ease;
}
.workshop-gallery-track img.active {
  opacity: 1;
}
.gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.2s;
}
.gallery-btn:hover { background: rgba(0, 0, 0, 0.6); }
.gallery-btn-prev { left: 12px; }
.gallery-btn-next { right: 12px; }
.gallery-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 2;
}
.gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
}
.gallery-dot.active { background: #fff; }
@media (max-width: 900px) {
  .mfg-split { grid-template-columns: 1fr; gap: 40px; }
  .workshop-gallery { height: 280px; }
}

/* ── Stats bar ────────────────────────────────────────────── */
.stats-bar {
  background: var(--bg-surface);
  color: var(--white);
  padding: 56px 0;
  border-top: 1px solid var(--bg-border);
  border-bottom: 1px solid var(--bg-border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 32px;
  text-align: center;
}
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1;
  margin-bottom: 6px;
  color: var(--accent-blue);
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ── Products grid (homepage preview) ───────────────────────*/
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1px;
  background: var(--bg-border);
  border: 1px solid var(--bg-border);
}
.product-card {
  background: var(--bg-surface);
  overflow: hidden;
  transition: background var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover { background: var(--bg-card); }
.product-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-card);
}
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .product-card-img img { transform: scale(1.04); }
.product-card-img .placeholder-img {
  width: 100%; height: 100%;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.15);
  min-height: 160px;
}
.product-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.product-card-tag {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 6px;
}
.product-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--white);
}
.product-card p { font-size: 0.85rem; color: var(--text-muted); flex: 1; margin-bottom: 18px; line-height: 1.6; }
.product-card .btn { align-self: flex-start; padding: 9px 18px; font-size: 0.78rem; }

/* ── Markdown content areas ───────────────────────────────── */
.md-content h1 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; letter-spacing: 0.01em; text-transform: none; line-height: 1.08; margin-bottom: 16px; color: var(--ink); }
.md-content h2 { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; letter-spacing: 0.01em; text-transform: none; line-height: 1.12; margin: 48px 0 16px; color: var(--ink); }
.md-content h3 { font-size: 1.1rem; font-weight: 700; margin: 32px 0 12px; }
.md-content p { margin-bottom: 18px; color: var(--text-muted); font-size: 1rem; line-height: 1.75; }
.md-content ul { margin: 0 0 18px 20px; list-style: disc; }
.md-content ul li { color: var(--text-muted); margin-bottom: 8px; }
.md-content strong { color: var(--white); font-weight: 700; }
.section--alt .md-content p,
.section--alt .md-content ul li { color: var(--text-muted-lt); }
.section--alt .md-content strong { color: var(--text-on-lt); }

/* ── Resources ────────────────────────────────────────────── */
.resource-categories {
  display: flex;
  flex-direction: column;
  gap: 56px;
  max-width: 880px;
  margin: 0 auto;
}
.resource-category-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--light-border);
}
.resource-category-icon {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  border-radius: var(--radius);
  background: var(--blue-wash);
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}
.resource-category-icon svg { width: 22px; height: 22px; }
.resource-category-text h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.012em;
  text-transform: none;
  color: var(--ink);
  margin-bottom: 6px;
}
.resource-category-text p {
  font-size: 0.95rem;
  color: var(--text-muted-lt);
  line-height: 1.6;
}

.resource-articles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.resource-article {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--light-border);
  border-radius: var(--radius);
  background: var(--light-card);
  text-decoration: none;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.resource-article:hover {
  background: var(--light-bg);
  border-color: var(--red);
  transform: translateY(-2px);
}
.resource-article-date {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 8px;
}
.resource-article h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-on-lt);
  line-height: 1.35;
  margin-bottom: 8px;
}
.resource-article p {
  font-size: 0.875rem;
  color: var(--text-muted-lt);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 16px;
}
.resource-article-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-blue);
}
.resource-article-link svg { width: 14px; height: 14px; }
.resource-empty {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text-muted-lt);
}

/* Article detail */
.article-container { max-width: 760px; margin: 0 auto; }
.article-meta { margin-bottom: 24px; }
.article-body blockquote { margin: 0 0 24px; padding: 0; border: none; font-size: 0.82rem; font-weight: 500; color: var(--text-muted); letter-spacing: 0.04em; }
.article-body blockquote p { margin: 0; }

/* ── Contact ──────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: center;
}
.contact-info h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.contact-info p { color: var(--text-muted); margin-bottom: 32px; }
.contact-detail {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.contact-detail-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--blue-wash);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
  border: 1px solid var(--blue-light);
}
.contact-detail-icon svg { width: 18px; height: 18px; }
.contact-detail-text strong { display: block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 4px; }
.contact-detail-text span { font-size: 0.95rem; color: var(--white); }

.contact-form {
  background: var(--bg-surface);
  border-radius: var(--radius);
  padding: 36px;
  border: 1px solid var(--bg-border);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 7px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--bg-border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--text-on-lt);
  background: var(--bg-card);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group select option { background: var(--bg-card); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(18,22,28,0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-success {
  display: none;
  text-align: center;
  padding: 20px;
  background: var(--light-card);
  border-radius: var(--radius);
  color: var(--text-on-lt);
  font-weight: 600;
  margin-top: 16px;
  border: 1px solid var(--light-border);
}

.form-success .check {
  color: #16a34a;
  font-weight: 700;
}

/* ── Page hero (inner pages) ──────────────────────────────── */
.page-hero {
  background: var(--ink);
  padding: calc(var(--nav-h) + 64px) 0 76px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(620px 360px at 88% 14%, rgba(90,160,208,0.22), transparent 70%),
    radial-gradient(560px 420px at 4% 92%, rgba(184,159,106,0.14), transparent 70%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.05;
  text-transform: none;
  color: #fff;
  margin-bottom: 16px;
}
.page-hero p {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Breadcrumb ───────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  justify-content: center;
}
.breadcrumb a { color: var(--text-muted); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb svg { width: 12px; height: 12px; }

/* ── Team ─────────────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 24px;
}
.team-card { text-align: center; }
.team-avatar {
  width: 88px; height: 88px;
  border-radius: 50%;
  margin: 0 auto 14px;
  overflow: hidden;
  background: var(--bg-card);
  border: 2px solid var(--bg-border);
}
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-avatar .placeholder-img {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.2);
  font-size: 1.8rem;
}
.team-card h4 { font-weight: 700; font-size: 0.95rem; margin-bottom: 4px; }
.team-card span { font-size: 0.8rem; color: var(--text-muted); }

/* ── CTA banner ───────────────────────────────────────────── */
/* Inner-page CTAs now reuse the homepage `.home-cta` panel (see ctaBanner in
   js/main.js); the old `.cta-banner` gradient container was removed to avoid a
   double-panel background when it wrapped a `.home-cta` block. */
.cta-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--bg-surface);
  color: var(--text-on-lt);
  padding: 56px 0 28px;
  border-top: 1px solid var(--bg-border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-brand .nav-logo { margin-bottom: 14px; }
.footer-brand .nav-logo-img { height: 58px; }
.footer-brand .nav-logo-name { font-size: 1.4rem; font-weight: 700; }
.footer-brand p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; max-width: 280px; }
.footer-col h5 {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-on-lt);
  margin-bottom: 14px;
}
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-col ul li a:hover { color: var(--text-on-lt); }
.footer-col ul li span { font-size: 0.875rem; color: var(--text-muted); display: inline-flex; align-items: center; gap: 8px; }
.footer-icon { display: inline-flex; align-items: center; flex-shrink: 0; }
.footer-icon svg { width: 15px; height: 15px; opacity: 0.6; }
.footer-bottom {
  border-top: 1px solid var(--bg-border);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.78rem; color: var(--text-muted); }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 32px; height: 32px;
  border-radius: var(--radius);
  background: rgba(18,22,28,0.05);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition);
}
.footer-social a:hover { background: var(--red); color: #ffffff; }
.footer-social svg { width: 14px; height: 14px; }

/* ── Nav dropdown ─────────────────────────────────────────── */
.nav-dropdown { position: relative; align-self: stretch; display: flex; align-items: center; }
/* keep the trigger highlighted while its dropdown is hovered/open */
.nav-dropdown:hover > a,
.nav-dropdown:has(.nav-dropdown-menu.open) > a {
  color: var(--accent-gold);
}
.nav-dropdown:hover > a::after,
.nav-dropdown:has(.nav-dropdown-menu.open) > a::after {
  transform: scaleX(1);
}
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-card);
  border-radius: 0;
  padding: 0;
  min-width: 320px;
  box-shadow: none;
  border: none;
  z-index: 100;
}
.nav-dropdown-menu.open { display: block; }
.nav-dropdown-menu .nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 24px;
  border-radius: 0;
  color: var(--text-muted-lt);
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: none;
  transition: all var(--transition);
}
.nav-dropdown-item:hover { background: var(--blue-wash); color: var(--accent-blue); }
.nav-dropdown-item:hover .nav-dropdown-text strong { color: var(--accent-blue); }
.nav-dropdown-item:hover .nav-dropdown-icon { background: var(--accent-blue); color: #fff; }
.nav-dropdown-icon {
  width: 28px; height: 28px; flex-shrink: 0;
  background: var(--blue-wash);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-blue);
}
.nav-dropdown-icon svg { width: 14px; height: 14px; }
.nav-dropdown-text strong { display: block; font-size: 1.1rem; color: var(--text-on-lt); line-height: 1.3; }
.nav-dropdown-text span { font-size: 0.92rem; color: var(--text-muted-lt); }

/* ── Category overview cards (unused, kept for compat) ───── */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
}
.category-tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 2px;
  background: var(--red-dim);
  color: var(--red);
}
.section--alt .category-tag {
  background: rgba(18,22,28,0.1);
}

/* ── Products browse: sidebar + listing ───────────────────── */
.products-browse-section { padding: 56px 0 96px; scroll-margin-top: var(--nav-h); }

.products-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 56px;
  align-items: start;
}

/* Sidebar */
.products-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  border-right: 1px solid var(--bg-border);
  padding-right: 24px;
}
.products-sidebar-label { display: none; }
.products-sidebar-section-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 16px 12px 6px;
}
.products-sidebar-section-label:first-child { padding-top: 4px; }
.products-sidebar-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: none;
  background: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font);
  color: var(--ink);
  border-left: none;
  transition: background var(--transition), color var(--transition);
  margin-bottom: 2px;
}
.products-sidebar-btn:hover {
  background: var(--bg-surface);
  color: var(--ink);
}
.products-sidebar-btn.active { background: var(--blue-wash); }
.products-sidebar-btn-icon {
  width: 32px; height: 32px; flex-shrink: 0;
  border-radius: 8px;
  background: var(--bg-surface);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: background var(--transition), color var(--transition);
}
.products-sidebar-btn.active .products-sidebar-btn-icon {
  background: var(--accent-blue);
  color: #fff;
}
.products-sidebar-btn-icon svg { width: 16px; height: 16px; }
.products-sidebar-btn-text strong { display: block; font-size: 0.9rem; font-weight: 700; letter-spacing: 0; }
.products-sidebar-btn.active .products-sidebar-btn-text strong { color: var(--accent-blue); }
.products-sidebar-btn-text span { font-size: 0.72rem; font-weight: 400; color: var(--text-muted); }
.products-sidebar-btn.active .products-sidebar-btn-text span { color: var(--accent-blue); }

/* Product panels */
.products-panel { display: none; }
.products-panel.active { display: block; }

.products-panel-header {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--bg-border);
}
.products-panel-header h2 {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: -0.012em;
  text-transform: none;
  color: var(--ink);
  margin-bottom: 6px;
}
.products-panel-header p { color: var(--text-muted); font-size: 0.9rem; }
/* "All Products" view: drop the per-category headers for one flat list. */
.products-main--all .products-panel-header { display: none; }

/* Product list rows */
.product-list { display: flex; flex-direction: column; gap: 1px; }

.product-list-item {
  display: grid;
  grid-template-columns: 192px 1fr;
  gap: 20px;
  align-items: center;
  padding: 16px;
  border-radius: var(--radius);
  border: none;
  background: var(--bg-card);
  box-shadow: 0 1px 3px rgba(18,22,28,0.04), 0 4px 14px rgba(18,22,28,0.06);
  transition: box-shadow var(--transition), transform var(--transition);
  text-decoration: none;
  color: inherit;
}
.product-list-item:hover { box-shadow: 0 6px 24px rgba(18,22,28,0.10), 0 2px 6px rgba(18,22,28,0.04); transform: translateY(-2px); }
.product-list-item:hover .product-list-name { color: var(--red); }

.product-list-thumb {
  width: 192px; height: 144px;
  border-radius: 10px;
  overflow: hidden;
  background: #f0f1f3;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.product-list-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
}
.product-list-thumb::after {
  content: '';
  display: block;
  width: 22px; height: 22px;
  opacity: 0.2;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M4 16l4.586-4.586a2 2 0 012.828 0L16 16m-2-2l1.586-1.586a2 2 0 012.828 0L20 14m-6-6h.01M6 20h12a2 2 0 002-2V6a2 2 0 00-2-2H6a2 2 0 00-2 2v12a2 2 0 002 2z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.product-list-thumb img ~ *,
.product-list-thumb:has(img)::after { display: none; }

.product-list-name {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--blue);
  margin-bottom: 5px;
  transition: color var(--transition);
}
.product-list-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Placeholder images ───────────────────────────────────── */
.placeholder-img {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 160px;
  background: var(--bg-surface);
  color: rgba(18,22,28,0.18);
}
.placeholder-img svg { width: 40px; height: 40px; }

/* ── Animations ───────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s var(--ease-reveal), transform 0.55s var(--ease-reveal);
}
.fade-up.visible { opacity: 1; transform: none; }

/* data-reveal — animation-based reveal. It uses `animation` (not `transition`)
   so it never clobbers a component's own hover/flip transitions. The element
   is hidden only while JS is active and before it has been revealed. */
html.js [data-reveal]:not(.revealed) { opacity: 0; }
html.js [data-reveal].visible {
  animation: rv-up var(--dur-reveal) var(--ease-reveal) both;
  animation-delay: var(--reveal-delay, 0ms);
}
html.js [data-reveal="fade"].visible  { animation-name: rv-fade; }
html.js [data-reveal="left"].visible  { animation-name: rv-left; }
html.js [data-reveal="right"].visible { animation-name: rv-right; }
html.js [data-reveal="zoom"].visible  { animation-name: rv-zoom; }
html.js [data-reveal="clip"].visible  { animation-name: rv-clip; }
/* Once the reveal finishes, drop the animation so component transforms
   (card hover-lift, patent flip, etc.) behave normally afterwards. */
html.js [data-reveal].revealed { animation: none; opacity: 1; }

@keyframes rv-up    { from { opacity: 0; transform: translateY(var(--reveal-shift)); } to { opacity: 1; transform: none; } }
@keyframes rv-fade  { from { opacity: 0; } to { opacity: 1; } }
@keyframes rv-left  { from { opacity: 0; transform: translateX(calc(-1 * var(--reveal-shift))); } to { opacity: 1; transform: none; } }
@keyframes rv-right { from { opacity: 0; transform: translateX(var(--reveal-shift)); } to { opacity: 1; transform: none; } }
@keyframes rv-zoom  { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: none; } }
@keyframes rv-clip  { from { opacity: 0; clip-path: inset(0 0 100% 0); } to { opacity: 1; clip-path: inset(0 0 0 0); } }

/* No-JS safety: if scripts never run, content must not stay hidden. */
html:not(.js) .fade-up,
html:not(.js) [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }

/* ── Brand loading overlay ───────────────────────── */
#site-loader {
  position: fixed; inset: 0; z-index: 9999;
  display: grid; place-items: center;
  background: #0a0f16;
  transition: opacity 0.6s var(--ease-reveal), visibility 0.6s;
}
#site-loader.loaded { opacity: 0; visibility: hidden; pointer-events: none; }
html:not(.js) #site-loader { display: none; }
.loader-badge { position: relative; width: 110px; height: 110px; display: grid; place-items: center; }
.loader-badge img { width: 66px; height: 66px; border-radius: 50%; display: block; }
.loader-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.28);
  animation: loader-pulse 1.5s var(--ease-reveal) infinite;
}
.loader-ring.b { animation-delay: 0.6s; }
@keyframes loader-pulse {
  0%   { transform: scale(0.55); opacity: 0.85; }
  100% { transform: scale(1.7);  opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { #site-loader { display: none !important; } }

/* ── Smooth scroll (Lenis) ───────────────────────── */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-smooth iframe { pointer-events: none; }

/* ── Micro-interactions ────────────────────────── */
/* Cursor-follow radial glow on dark panels */
.home-cta-glow, .app-feature-glow {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  opacity: 0; transition: opacity 0.35s var(--ease-reveal);
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,0.16), transparent 62%);
}
.home-cta:hover .home-cta-glow,
.app-feature:hover .app-feature-glow { opacity: 1; }

/* Back-to-top button */
#to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 900;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--bg-card); color: var(--ink-2);
  display: grid; place-items: center; cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity 0.3s var(--ease-reveal), transform 0.3s var(--ease-reveal), visibility 0.3s, background var(--transition), color var(--transition), border-color var(--transition);
}
#to-top.show { opacity: 1; visibility: visible; transform: none; }
#to-top:hover { background: var(--accent-blue); color: #fff; border-color: var(--accent-blue); }
#to-top svg { width: 20px; height: 20px; }
@media (prefers-reduced-motion: reduce) { #to-top { transition: opacity 0.3s, visibility 0.3s; } }

/* ── Chinese typography tuning ───────────────────────────────*/
/* Latin glyphs still use Hanken/Montserrat; CJK glyphs fall back to system
   PingFang / YaHei / Noto. These tweaks improve CJK rhythm and prevent the
   English-only nowrap highlight from overflowing Chinese hero titles. */
html[lang="zh-CN"] { line-height: 1.75; }
html[lang="zh-CN"] .home-hero-title,
html[lang="zh-CN"] .section-title,
html[lang="zh-CN"] .feature-split-title,
html[lang="zh-CN"] .home-cta h2 { letter-spacing: 0; }
html[lang="zh-CN"] .home-hero-title .highlight { white-space: normal; font-style: normal; }
html[lang="zh-CN"] .home-lead { line-height: 1.8; }

/* ── Mobile refinements ─────────────────────────────────────*/
@media (max-width: 560px) {
  .home-hero-meta { gap: 20px 26px; flex-wrap: wrap; }
  .home-hero-meta .n { font-size: 1.3rem; }
}
@media (hover: none) {
  .nav-mobile a { padding-top: 13px; padding-bottom: 13px; }
  .lang-btn { padding: 8px 10px; }
}

/* ── Section header utility ───────────────────────────────── */
.section-header {
  margin-bottom: 52px;
}
.section-header .section-title { margin-bottom: 12px; }

/* ── Hero split layout ────────────────────────────────────── */
.hero-content {
  display: flex;
  align-items: center;
  gap: 48px;
}
.hero-copy { flex: 1; min-width: 0; }
.hero-visual {
  display: none;
  flex: 0 0 440px;
  opacity: 0.9;
}
.hero-visual svg { width: 100%; height: auto; display: block; }

/* Hero proof chips */
.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 15px 6px 12px;
  border: 1px solid var(--bg-border);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(255,255,255,0.7);
}
.hero-chip::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

/* ── Applications / Who We Serve ──────────────────────────── */
.applications-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--bg-border);
  border-left: 1px solid var(--bg-border);
}
.application-tile {
  padding: 36px 28px;
  border-right: 1px solid var(--bg-border);
  border-bottom: 1px solid var(--bg-border);
  transition: background var(--transition);
}
.application-tile:hover { background: rgba(255,255,255,0.025); }
.application-icon {
  width: 36px;
  height: 36px;
  color: var(--red);
  margin-bottom: 16px;
  opacity: 0.9;
}
.application-icon svg { width: 100%; height: 100%; }
.application-tile h3 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 9px;
  letter-spacing: 0.01em;
}
.application-tile p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Trust / Quality cards ────────────────────────────────── */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.trust-card {
  padding: 32px;
  border: 1px solid var(--bg-border);
  background: var(--bg-surface);
  border-radius: var(--radius);
  transition: border-color var(--transition);
}
.trust-card:hover { border-color: rgba(18,22,28,0.3); }
.trust-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: var(--blue-wash);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
  margin-bottom: 18px;
}
.trust-icon svg { width: 20px; height: 20px; }
.trust-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}
.trust-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Process / Sourcing flow ──────────────────────────────── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--bg-border);
  border-left: 1px solid var(--bg-border);
}
.process-step {
  padding: 36px 28px;
  border-right: 1px solid var(--bg-border);
  border-bottom: 1px solid var(--bg-border);
}
.process-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
  opacity: 0.85;
}
.process-step h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
}
.process-step p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Light-section component overrides ────────────────────── */

/* Applications grid */
.section--alt .applications-grid,
.section--white .applications-grid {
  border-color: var(--light-border);
}
.section--alt .application-tile,
.section--white .application-tile {
  border-color: var(--light-border);
}
.section--alt .application-tile:hover,
.section--white .application-tile:hover {
  background: rgba(0,0,0,0.03);
}
.section--alt .application-tile h3,
.section--white .application-tile h3 {
  color: var(--text-on-lt);
}
.section--alt .application-tile p,
.section--white .application-tile p {
  color: var(--text-muted-lt);
}

/* Trust cards */
.section--alt .trust-card,
.section--white .trust-card {
  background: var(--light-card);
  border-color: var(--light-border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.section--alt .trust-card:hover,
.section--white .trust-card:hover {
  border-color: rgba(18,22,28,0.25);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.section--alt .trust-card h3,
.section--white .trust-card h3 {
  color: var(--text-on-lt);
}
.section--alt .trust-card p,
.section--white .trust-card p {
  color: var(--text-muted-lt);
}

/* Process steps */
.section--alt .process-steps,
.section--white .process-steps {
  border-color: var(--light-border);
}
.section--alt .process-step,
.section--white .process-step {
  border-color: var(--light-border);
}
.section--alt .process-step h3,
.section--white .process-step h3 {
  color: var(--text-on-lt);
}
.section--alt .process-step p,
.section--white .process-step p {
  color: var(--text-muted-lt);
}

/* Products grid on light */
.section--alt .products-grid,
.section--white .products-grid {
  background: var(--light-border);
  border-color: var(--light-border);
}
.section--alt .product-card,
.section--white .product-card {
  background: var(--light-card);
}
.section--alt .product-card:hover,
.section--white .product-card:hover {
  background: var(--light-bg);
}
.section--alt .product-card h3,
.section--white .product-card h3 {
  color: var(--text-on-lt);
}
.section--alt .product-card p,
.section--white .product-card p {
  color: var(--text-muted-lt);
}
.section--alt .product-card-img,
.section--white .product-card-img {
  background: #e8e8e8;
}
.section--alt .product-card-img .placeholder-img,
.section--white .product-card-img .placeholder-img {
  background: #e8e8e8;
  color: rgba(0,0,0,0.15);
}

/* Split (about teaser) on light */
.section--alt .split-img .placeholder-img,
.section--white .split-img .placeholder-img {
  background: #e8e8e8;
  color: rgba(0,0,0,0.15);
  border-color: var(--light-border);
}
.section--alt .split p,
.section--white .split p {
  color: var(--text-muted-lt);
}

/* md-content on light */
.section--white .md-content p,
.section--white .md-content ul li { color: var(--text-muted-lt); }
.section--white .md-content strong { color: var(--text-on-lt); }

/* Team cards on light */
.section--alt .team-avatar,
.section--white .team-avatar {
  background: #e8e8e8;
  border-color: var(--light-border);
}
.section--alt .team-card h4,
.section--white .team-card h4 { color: var(--text-on-lt); }
.section--alt .team-card span,
.section--white .team-card span { color: var(--text-muted-lt); }

/* Products browse sidebar + listing on light */
.section--alt .products-sidebar,
.section--white .products-sidebar { border-color: var(--light-border); }
.section--alt .products-sidebar-btn,
.section--white .products-sidebar-btn { color: var(--text-muted-lt); }
.section--alt .products-sidebar-btn:hover,
.section--white .products-sidebar-btn:hover {
  color: var(--text-on-lt);
  background: #f0f1f3;
}
.section--alt .products-sidebar-btn.active,
.section--white .products-sidebar-btn.active {
  color: var(--accent-blue);
  background: var(--blue-wash);
}
.section--alt .products-sidebar-btn-text strong,
.section--white .products-sidebar-btn-text strong { color: inherit; }
.section--alt .products-sidebar-btn.active .products-sidebar-btn-icon,
.section--white .products-sidebar-btn.active .products-sidebar-btn-icon {
  background: var(--accent-blue);
  color: #fff;
}
.section--alt .products-panel-header,
.section--white .products-panel-header { border-color: var(--light-border); }
.section--alt .products-panel-header h2,
.section--white .products-panel-header h2 { color: var(--text-on-lt); }
.section--alt .product-list-item:hover,
.section--white .product-list-item:hover { background: var(--light-bg); }
.section--alt .product-list-name,
.section--white .product-list-name { color: var(--text-on-lt); }
.section--alt .product-list-thumb,
.section--white .product-list-thumb {
  background: #f0f1f3;
}

/* Contact section on light */
.section--alt .contact-info h2,
.section--white .contact-info h2 { color: var(--text-on-lt); }
.section--alt .contact-info p,
.section--white .contact-info p { color: var(--text-muted-lt); }
.section--alt .contact-detail-text span,
.section--white .contact-detail-text span { color: var(--text-on-lt); }
.section--alt .contact-form,
.section--white .contact-form {
  background: var(--light-bg);
  border-color: var(--light-border);
}
.section--alt .form-group label,
.section--white .form-group label { color: var(--text-muted-lt); }
.section--alt .form-group input,
.section--alt .form-group textarea,
.section--alt .form-group select,
.section--white .form-group input,
.section--white .form-group textarea,
.section--white .form-group select {
  background: var(--light-card);
  color: var(--text-on-lt);
  border-color: rgba(0,0,0,0.12);
}
.section--alt .form-group select option,
.section--white .form-group select option {
  background: var(--light-card);
  color: var(--text-on-lt);
}

/* Footer alt name */
.footer-alt-name {
  font-family: var(--font-display);
  font-size: 1.05rem !important;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--text-on-lt) !important;
  margin-top: 4px;
  margin-bottom: 12px;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (min-width: 1024px) {
  .hero-visual { display: block; }
}

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse { direction: ltr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-grid > :first-child { order: 2; }
  .contact-grid > :last-child  { order: 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .applications-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .category-grid { grid-template-columns: 1fr; }
  .products-layout { grid-template-columns: 1fr; gap: 0; }
  .products-sidebar {
    position: static;
    border-right: none;
    border-bottom: 1px solid var(--bg-border);
    padding-right: 0;
    padding-bottom: 12px;
    margin-bottom: 28px;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .products-sidebar::-webkit-scrollbar { display: none; }
  .products-sidebar-section-label { display: none; }
  .products-sidebar-btn {
    flex: 0 0 auto;
    width: auto;
    border-left: none;
    border-radius: 999px;
    padding: 8px 14px;
    border: 1.5px solid var(--bg-border);
    gap: 8px;
    white-space: nowrap;
    min-width: 0;
  }
  .products-sidebar-btn.active {
    background: var(--blue-wash);
    border-color: var(--accent-blue);
  }
  .products-sidebar-btn-text span { display: none; }
  .products-sidebar-btn-icon { width: 24px; height: 24px; border-radius: 6px; }
  .products-sidebar-btn-icon svg { width: 13px; height: 13px; }
}

/* Nav collapses to hamburger before the bar gets cramped */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-inner { grid-template-columns: 1fr auto; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .section--first { padding-top: calc(var(--nav-h) + 40px); }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-title { font-size: 2.4rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn { width: 100%; max-width: 300px; justify-content: center; }
  .features-grid { grid-template-columns: 1fr; }
  .applications-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .hero-chips { gap: 6px; }
}

/* ════════════════════════════════════════════════════════════
   Light "mimic" refinements — sentence case, lighter display
   weights, dark footer anchor. Layered last so it wins.
   ════════════════════════════════════════════════════════════ */

/* Sentence case everywhere (reference uses no ALL-CAPS) */
/* De-uppercase the big serif headings + structural text (matches the
   homepage's lowercase serif). Small mono eyebrows/labels are intentionally
   left out — they stay UPPERCASE like the homepage's .home-eyebrow. */
.hero-title, .hero-eyebrow, .section-title, .nav-logo, .btn, .nav-cta,
.nav-links a, .nav-mobile a, .feature-card h3,
.feature-card-link, .product-card h3, .page-hero h1,
.cta-banner h2, .contact-info h2, .md-content h1, .md-content h2,
.product-list-name, .products-panel-header h2, .process-step h3,
.resource-category-text h3, .resource-article-link,
.form-group label, .contact-detail-text strong, .footer-col h5,
.hero-chip, .hero-scroll, .breadcrumb {
  text-transform: none;
  letter-spacing: 0.005em;
}

/* Display headings — match the homepage's light serif (Fraunces 380) */
.hero-title { font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; }
.section-title, .page-hero h1, .cta-banner h2, .contact-info h2,
.products-panel-header h2, .md-content h1, .md-content h2,
.resource-category-text h3 { font-weight: 700; letter-spacing: -0.012em; }
/* Card / list titles — match the homepage's sans 700 row & card titles */
.feature-card h3, .product-card h3, .product-list-name,
.process-step h3 { font-weight: 700; letter-spacing: -0.01em; }
.nav-links a, .nav-mobile a { font-weight: 500; }

/* Drop the leading "/" on the hero eyebrow for a cleaner look */
.hero-eyebrow::before { content: ''; }

/* Footer — colours now consolidated in base .footer rules above */
.footer .nav-logo,
.footer .nav-logo span.accent { color: var(--text-on-lt); }

/* ════════════════════════════════════════════════════════════
   HOMEPAGE REDESIGN — ONLYSTAR-style sections
   Self-contained; scoped to .home-* / section building blocks so
   it does not affect products/about/contact/resources pages.
   ════════════════════════════════════════════════════════════ */

/* Shared bits */
.serif {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.012em;
  line-height: 1.05;
}
.section.tight { padding: 72px 0; }

.home-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-gold-hover);          /* #9a8550 deep gold, keeps it legible */
  padding: 6px 13px;
  background: var(--accent-gold-dim);         /* rgba(184,159,106,0.16) soft gold wash */
  border: 1px solid rgba(184,159,106,0.32);
  border-radius: 999px;
}
.home-eyebrow::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(184,159,106,0.18);   /* glowing gold dot */
}

.sec-head { max-width: 700px; margin-bottom: 46px; }
.sec-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin: 16px 0 0;
  color: var(--ink);
  text-transform: none;
  letter-spacing: -0.012em;
  font-weight: 700;
}
.sec-head p {
  margin: 16px 0 0;
  font-size: 1.03rem;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 560px;
}
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.center .home-eyebrow { justify-content: center; }
.sec-head.center p { margin-left: auto; margin-right: auto; }

/* ── Hero (full-bleed image banner) ───────────────────────── */
.home-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 48px) 0 64px;
}
/* Bottom layer — background photograph */
.home-hero-media {
  position: absolute; inset: 0; z-index: 0;
  background: #0a0f16 url('../images/Logo/hero_visual_1.jpg') center / cover no-repeat;
}
/* Middle layer — dark scrim (heavier on the text side) for legibility */
.home-hero-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6,10,16,0.90) 0%, rgba(6,10,16,0.66) 40%, rgba(6,10,16,0.24) 74%, rgba(6,10,16,0.10) 100%),
    linear-gradient(180deg, rgba(6,10,16,0.55) 0%, rgba(6,10,16,0) 26%, rgba(6,10,16,0) 60%, rgba(6,10,16,0.72) 100%);
}
/* Top layer — content, left-biased on the page grid */
.home-hero .container { position: relative; z-index: 2; width: 100%; }
.home-hero-content { max-width: 560px; margin-right: auto; }
.home-hero-title {
  margin: 18px 0 0;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  color: #fff;
  text-transform: none;
}
.home-hero-title .highlight {
  font-style: italic;
  color: var(--gold-soft);
  font-weight: 700;
  white-space: nowrap;
}
.home-lead {
  margin: 22px 0 0;
  max-width: 520px;
  font-size: 1.08rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.82);
}
.home-lead .gold { color: var(--gold-soft); font-weight: 600; }
.home-hero-cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.home-hero-meta {
  display: flex; gap: 40px; margin-top: 44px;
  padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.18);
  text-align: center;
}
.home-hero-meta .n {
  font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; color: #fff;
}
.home-hero-meta .l {
  font-family: var(--font-mono);
  font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.6); margin-top: 4px;
  white-space: nowrap;
}
/* Eyebrow + buttons tuned for the dark hero */
.home-hero .home-eyebrow { color: rgba(255,255,255,0.72); }
.home-hero .btn-primary { background: #fff; color: var(--ink); border-color: #fff; }
.home-hero .btn-primary:hover { background: var(--blue-light); border-color: var(--blue-light); }
.home-hero .btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.home-hero .btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

/* ── Customers / trust logo bar ─────────────────────────────*/
.home-trust-sec { padding: 40px 0 12px; }
.home-trust { padding: 28px 0 4px; border-top: 1px solid var(--line); }
.home-trust-label {
  font-family: var(--font-mono);
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-3); text-align: center;
}
/* Continuous marquee of customer logos */
.home-marquee {
  margin-top: 24px;
  overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.home-marquee-track {
  display: flex;
  width: max-content;
  opacity: 0.62;
  animation: home-marquee 32s linear infinite;
}
.home-marquee:hover .home-marquee-track { animation-play-state: paused; }
.home-marquee-set { display: flex; align-items: center; }
.home-logo-item {
  display: flex; align-items: center; gap: 9px;
  margin: 0 36px;
  white-space: nowrap;
  color: #8a97a4; font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em;
}
.home-g { width: 18px; height: 18px; border-radius: 5px; background: #aebac6; flex-shrink: 0; }
.home-g.c { border-radius: 50%; }
.home-g.d { transform: rotate(45deg); border-radius: 3px; }
@keyframes home-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Feature split — story / why us ─────────────────────────*/
.feature-split { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 60px; align-items: center; }
.feature-split-visual {
  position: relative; aspect-ratio: 5/4.4; border-radius: 22px; overflow: hidden;
  background: radial-gradient(120% 120% at 70% 20%, var(--blue-wash), #dbe9f5);
  border: 1px solid var(--line); box-shadow: var(--shadow-md);
}
.feature-split-visual img,
.feature-split-visual .placeholder-img { width: 100%; height: 100%; object-fit: cover; }
.feature-split-visual .workshop-gallery { height: 100%; }
.feature-split-title { font-size: clamp(1.8rem, 3.6vw, 2.4rem); margin: 16px 0 8px; color: var(--ink); text-transform: none; }
.feature-split .frow { display: flex; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line); }
.feature-split .frow:first-of-type { margin-top: 14px; }
.feature-split .frow:last-of-type { border-bottom: 1px solid var(--line); }
.feature-split .idx {
  font-family: var(--font-mono); font-size: 0.78rem; color: var(--accent-gold);
  padding-top: 3px; min-width: 30px;
}
.feature-split .frow p { margin: 0; font-size: 0.95rem; color: var(--ink-2); line-height: 1.6; }

/* ── Applications / who we serve ────────────────────────────*/
.app-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 18px; }
.app-main {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden;
}
.app-row {
  border-bottom: 1px solid var(--line-2);
  transition: background 0.25s; color: var(--ink);
}
.app-row:last-child { border-bottom: none; }
.app-row:hover { background: var(--blue-wash); }
.app-face-front {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 22px 26px; color: var(--ink); text-decoration: none;
}
.app-face-back { display: none; }  /* shown only as the flip back on mobile */
.app-ic {
  width: 42px; height: 42px; border-radius: 11px;
  display: grid; place-items: center; flex: none;
  background: #f1f5fa; color: var(--accent-blue); transition: background 0.25s, color 0.25s;
}
.app-ic svg { width: 20px; height: 20px; }
.app-row:hover .app-ic { background: var(--accent-blue); color: #fff; }
.app-tx h4 { margin: 0 0 4px; font-size: 1.02rem; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
.app-tx p { margin: 0; font-size: 0.88rem; color: var(--ink-2); line-height: 1.5; }
.app-arr { margin-left: auto; color: var(--ink-3); align-self: center; }
.app-arr svg { width: 18px; height: 18px; }

/* Placeholder row — a muted "slot" for adding more product lines later */
.app-row-placeholder .app-ic {
  background: transparent;
  border: 1px dashed #c7d3df;
  color: var(--ink-3);
}
.app-row-placeholder:hover .app-ic {
  background: var(--ink-3);
  border-color: var(--ink-3);
  color: #fff;
}
.app-row-placeholder .app-tx h4 { color: var(--ink-2); }

/* Selected product line — feature card mirrors this row */
.app-row.active { background: var(--blue-wash); }
.app-row.active .app-ic { background: var(--accent-blue); color: #fff; }
.app-row.active .app-arr { color: var(--accent-blue); }
.app-row-placeholder.active .app-ic { background: var(--ink-3); border-color: var(--ink-3); color: #fff; }

.app-feature {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--blue-deep) 0%, #14557f 60%, #2f88c8 100%);
  color: #fff; padding: 32px; min-height: 260px;
  display: flex; text-decoration: none;
}
.app-feature-deco {
  position: absolute; inset: 0; opacity: 0.85;
  background:
    radial-gradient(260px 260px at 90% 90%, rgba(184,159,106,0.3), transparent 70%),
    radial-gradient(200px 180px at 10% 0%, rgba(255,255,255,0.16), transparent 70%);
}
/* Swappable content layer — fades when the highlighted product changes */
.app-feature-body {
  position: relative; z-index: 1; flex: 1;
  display: flex; flex-direction: column;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.app-feature-body.swap { opacity: 0; transform: translateY(8px); }
.app-tag {
  position: relative; display: inline-flex; align-self: flex-start; gap: 8px; align-items: center;
  font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 6px 11px; border: 1px solid rgba(255,255,255,0.3); border-radius: 999px; color: #fff;
}
.app-feat-label { position: relative; }
.app-feat-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.6rem; font-weight: 500;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--gold-soft);            /* #d8c49a bright gold, clearer on the dark card */
  margin-bottom: 10px;
}
.app-feat-kicker::before {
  content: ''; width: 20px; height: 1px; flex-shrink: 0;
  background: linear-gradient(90deg, var(--gold-soft), transparent);
}
.app-feat-name {
  position: relative; font-family: var(--font-display); font-weight: 700;
  font-size: 1.5rem; line-height: 1.25; margin: 0; letter-spacing: -0.01em; color: #fff;
}
.app-feature-desc { position: relative; font-size: 0.9rem; line-height: 2.00; color: rgba(255,255,255,0.78); margin-top: 22px; }
.app-feature-tags { position: relative; display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; padding-top: 16px; }
.app-feature-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; font-size: 0.7rem; line-height: 1.4;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.18);
  letter-spacing: 0.01em;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.app-feature-tag::before {
  content: ''; width: 4px; height: 4px; border-radius: 50%;
  background: var(--accent-gold); flex-shrink: 0;
}
.app-feature:hover .app-feature-tag {
  border-color: rgba(184,159,106,0.45);
  background: rgba(255,255,255,0.1);
}
.app-fnums { position: relative; display: flex; gap: 28px; margin-top: auto; }
.app-fnums .n { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; }
.app-fnums .u { font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.08em; color: rgba(255,255,255,0.72); margin-top: 3px; }

/* ── Quality cards ──────────────────────────────────────────*/
.q-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.q-card {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow-sm); transition: transform 0.3s, box-shadow 0.3s;
}
.q-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.q-seal {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--accent-gold); color: var(--accent-gold); margin-bottom: 18px;
}
.q-seal svg { width: 22px; height: 22px; }
.q-card h4 { margin: 0 0 8px; font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
.q-card p { margin: 0; font-size: 0.875rem; color: var(--ink-2); line-height: 1.55; }
.q-badge {
  margin-top: 16px; display: inline-flex;
  font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.06em;
  color: var(--ink-3); padding-top: 14px; border-top: 1px solid var(--line); width: 100%;
}

/* ── CTA ────────────────────────────────────────────────────*/
.home-cta-sec { padding: 36px 0 96px; }
.home-cta {
  position: relative; overflow: hidden; border-radius: 26px; padding: 60px;
  background: linear-gradient(150deg, #102e45 0%, #14557f 52%, #2f88c8 100%);
  color: #fff; box-shadow: var(--shadow-lg);
}
.home-cta-deco {
  position: absolute; inset: 0; opacity: 0.9;
  background:
    radial-gradient(360px 280px at 88% 18%, rgba(184,159,106,0.34), transparent 70%),
    radial-gradient(300px 300px at 8% 110%, rgba(255,255,255,0.14), transparent 70%);
}
.home-cta-ring { position: absolute; right: -90px; top: -90px; width: 320px; height: 320px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.22); }
.home-cta-ring.b { width: 430px; height: 430px; right: -150px; top: -150px; border-color: rgba(255,255,255,0.12); }
.home-cta-in { position: relative; max-width: 640px; }
.home-cta h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.06; letter-spacing: -0.015em;
  margin: 0; color: #fff; text-transform: none;
}
.home-cta p { margin: 18px 0 0; font-size: 1.03rem; line-height: 1.55; color: rgba(255,255,255,0.85); max-width: 480px; }
.home-cta-actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
/* Buttons read on the dark panel */
.home-cta .btn-primary, .home-cta .btn-gold {
  background: #fff; color: var(--ink); border-color: #fff;
}
.home-cta .btn-primary:hover, .home-cta .btn-gold:hover {
  background: var(--blue-light); border-color: var(--blue-light);
}
.home-cta .btn-outline {
  background: transparent; color: #fff; border-color: rgba(255,255,255,0.4);
}
.home-cta .btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

/* ── Animations ─────────────────────────────────────────────*/
@media (prefers-reduced-motion: reduce) {
  .home-marquee-track { animation: none !important; }
  .fade-up,
  html.js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    animation: none !important;
    transition: none !important;
  }
}

/* ── Responsive ─────────────────────────────────────────────*/
@media (max-width: 1000px) {
  .feature-split { grid-template-columns: 1fr; gap: 36px; }
  .app-grid { grid-template-columns: 1fr; }
  .q-grid { grid-template-columns: repeat(2, 1fr); }

  /* Applications become flip cards: product (front) ↔ application (back) */
  .app-feature { display: none; }
  .app-main {
    background: none; border: 0; box-shadow: none; overflow: visible;
    display: flex; flex-direction: column; gap: 14px;
  }
  .app-row {
    border-bottom: 0; background: none !important;
    height: 188px; perspective: 1200px; cursor: pointer;
  }
  .app-row-inner {
    position: relative; width: 100%; height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(.4,.15,.2,1);
  }
  .app-row.flipped .app-row-inner { transform: rotateY(180deg); }
  .app-face {
    position: absolute; inset: 0;
    -webkit-backface-visibility: hidden; backface-visibility: hidden;
    border-radius: var(--radius-lg); overflow: hidden;
  }
  .app-face-front {
    align-items: center; padding: 22px 24px;
    background: var(--bg-card); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  }
  .app-face-front .app-tx p {
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  }
  .app-face-back {
    display: flex; flex-direction: column; padding: 24px;
    transform: rotateY(180deg);
    background: linear-gradient(160deg, var(--blue-deep) 0%, #14557f 60%, #2f88c8 100%);
    color: #fff;
  }
  .app-face-back .app-feat-name { font-size: 1.2rem; }
  .app-go {
    margin-top: auto; display: inline-flex; align-items: center; gap: 6px;
    font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.12em;
    text-transform: uppercase; color: #fff;
  }
  .app-go svg { width: 15px; height: 15px; }
}
@media (max-width: 640px) {
  .home-hero { min-height: auto; padding: calc(var(--nav-h) + 56px) 0 64px; }
  .home-hero-meta { gap: 22px; }
  .q-grid { grid-template-columns: 1fr; }
  .home-cta { padding: 38px 24px; }
}

/* ── Simple nav dropdown (About Us / generic) ─────────────── */
.nav-dropdown-menu--simple {
  min-width: 180px;
  padding: 8px 0;
}
.nav-dropdown-simple-item {
  display: block;
  padding: 14px 24px;
  border-radius: 0;
  color: var(--text-muted-lt);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: background var(--transition), color var(--transition);
}
.nav-dropdown-simple-item:hover {
  background: var(--blue-wash);
  color: var(--accent-blue);
}

/* ── Certifications page ──────────────────────────────────── */
.cert-section-header { margin-bottom: 48px; }

/* Patent stats bar */
.patent-stats-bar {
  display: inline-grid;
  grid-template-columns: repeat(3, auto);
  gap: 48px;
  margin-top: 32px;
}
.patent-stats-bar.about-stats-bar {
  grid-template-columns: repeat(4, auto);
}
@media (max-width: 640px) {
  .patent-stats-bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .patent-stats-bar.about-stats-bar {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
  }
  .about-stats-bar .patent-stat { min-width: 0; }
  .about-stats-bar .stat-number { font-size: 1rem; }
  .about-stats-bar .stat-label  { font-size: 0.5rem; letter-spacing: 0.05em; }
}
.patent-stat { text-align: center; }
.patent-stat .stat-number {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1;
  margin-bottom: 6px;
  color: var(--accent-gold);
}
.patent-stat .stat-label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

/* Patent flip-card grid */
.patent-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 1100px) { .patent-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px)  { .patent-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px)  { .patent-grid { grid-template-columns: 1fr; } }

.patent-card {
  perspective: 1000px;
  cursor: pointer;
  height: 290px;
}
.patent-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.55s cubic-bezier(.4,0,.2,1);
  transform-style: preserve-3d;
}
.patent-card.flipped .patent-card-inner {
  transform: rotateY(180deg);
}
.patent-card-front,
.patent-card-back {
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Front */
.patent-card-front {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  box-shadow: var(--shadow-sm);
  padding: 18px 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.patent-card.flipped .patent-card-front {
  box-shadow: var(--shadow-md);
  border-color: var(--blue-light);
}
.patent-badge {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
}
.patent-badge--invention {
  background: var(--accent-gold-dim);
  color: var(--accent-gold-hover);
}
.patent-badge--utility {
  background: var(--blue-wash);
  color: var(--accent-blue);
}
.patent-card-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink-3);
  letter-spacing: 0.08em;
}
.patent-card-titles {
  display: flex;
  flex-direction: column;
  gap: 5px;
  overflow: hidden;
}
.patent-card-titles h4 {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-on-lt);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.patent-card-diagram {
  flex: 1;
  min-height: 0;
  width: 100%;
  object-fit: contain;
  border-radius: 4px;
}
.patent-card-titles p {
  font-size: 0.72rem;
  color: var(--ink-3);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.patent-card-date {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--ink-3);
  letter-spacing: 0.06em;
}
/* Back */
.patent-card-back {
  background: var(--bg-card);
  border: 1px solid var(--blue-light);
  box-shadow: var(--shadow-md);
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px;
  gap: 6px;
  overflow: hidden;
}
.patent-card-back img {
  flex: 1;
  min-height: 0;
  width: 100%;
  object-fit: contain;
  border-radius: calc(var(--radius) - 4px);
}
/* Lightbox */
.cert-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 14, 20, 0.88);
  backdrop-filter: blur(6px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.cert-lightbox.open { display: flex; }
.cert-lightbox-inner {
  position: relative;
  max-width: min(90vw, 860px);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.cert-lightbox-inner img {
  max-width: 100%;
  max-height: calc(90vh - 56px);
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 28px 80px rgba(0,0,0,0.5);
}
.cert-lightbox-inner p {
  color: rgba(255,255,255,0.72);
  font-size: 0.82rem;
  text-align: center;
  letter-spacing: 0.02em;
}
.cert-lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.cert-lightbox-close:hover { background: rgba(255,255,255,0.22); }

/* Certificate placeholder cards */
.cert-placeholder-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 900px) { .cert-placeholder-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .cert-placeholder-grid { grid-template-columns: 1fr; } }

.cert-placeholder {
  border: 2px dashed var(--bg-border);
  border-radius: var(--radius);
  padding: 32px 20px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  background: var(--bg-card);
  transition: border-color var(--transition);
  height: 100%;
  box-sizing: border-box;
}
.cert-placeholder:hover { border-color: var(--blue-light); }
.cert-placeholder-icon {
  width: 48px;
  height: 48px;
  background: var(--blue-wash);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
  margin-bottom: 4px;
}
.cert-placeholder-icon svg { width: 22px; height: 22px; }
.cert-placeholder strong {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-on-lt);
}
.cert-placeholder span {
  font-size: 0.82rem;
  color: var(--ink-3);
  line-height: 1.4;
}
.cert-placeholder-coming {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--bg-surface);
}
.cert-thumb-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.cert-thumb-link {
  display: flex;
  justify-content: center;
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
.cert-thumb {
  width: 50%;
  height: auto;
}
.cert-thumb--wide {
  width: 64%;
  height: auto;
  border-radius: calc(var(--radius) - 2px);
  display: block;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cert-thumb:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
}
.prose-link-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}
.prose-link-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--accent-blue);
  color: var(--accent-blue);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}
.prose-link-chip:hover {
  background: var(--accent-blue);
  color: #fff;
}
.cert-view-link {
  display: inline-block;
  margin-top: 4px;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--accent-blue);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity var(--transition);
}
.cert-view-link:hover { opacity: 0.85; }

/* ── Product Image Lightbox ──────────────────────────────────── */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}
.lightbox-overlay.open { display: flex; }
.lightbox-img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 80px rgba(0,0,0,0.5);
  cursor: zoom-in;
  animation: lightbox-in 0.25s ease;
  /* Zoom/pan (driven by inline transform from main.js) */
  transition: transform 0.25s ease;
  will-change: transform;
  touch-action: none;
  user-select: none;
  -webkit-user-drag: none;
}
.lightbox-img.zoomed { cursor: grab; }
.lightbox-img.dragging { cursor: grabbing; transition: none; }
@keyframes lightbox-in { from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: scale(1); } }
.lightbox-close {
  position: absolute;
  top: 20px; right: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }
.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.lightbox-arrow:hover { background: rgba(255,255,255,0.25); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.6);
  font-size: 0.82rem;
  font-family: var(--font-mono);
}
.product-image, .product-gallery-main { cursor: zoom-in; }

/* ── Breadcrumbs (product + category pages) ───────────── */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.breadcrumb a { color: var(--text-muted); text-decoration: none; transition: color 0.18s ease; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb span[aria-current] { color: var(--text-dark); font-weight: 600; }
.breadcrumb-sep { color: var(--gray-300); }
/* On the dark page-hero the muted ink would disappear. */
.page-hero .breadcrumb a { color: rgba(255,255,255,0.6); }
.page-hero .breadcrumb a:hover { color: var(--gold-soft, #d8c49a); }
.page-hero .breadcrumb span[aria-current] { color: rgba(255,255,255,0.92); }
.page-hero .breadcrumb-sep { color: rgba(255,255,255,0.32); }

/* ── Category landing page ─────────────────────── */
.category-prose { max-width: 76ch; margin-bottom: 48px; }
.category-prose p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 18px;
}
.category-selection { margin-bottom: 8px; }
.selection-list {
  display: grid;
  grid-template-columns: minmax(180px, 260px) 1fr;
  gap: 14px 32px;
  margin-top: 24px;
}
.selection-list dt {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 0.95rem;
}
.selection-list dd {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}
.category-apps { margin-top: 56px; }
.cat-app-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.cat-app-tag {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(14,122,254,0.08);
  color: var(--blue);
}

/* ── FAQ accordion (category + product pages) ─────────── */
.faq-list { max-width: 82ch; margin-top: 28px; }
.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.faq-item summary {
  cursor: pointer;
  padding: 18px 32px 18px 0;
  font-weight: 650;
  font-size: 1rem;
  color: var(--text-dark);
  position: relative;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--blue);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item summary:hover { color: var(--blue); }
.faq-answer {
  padding: 0 32px 20px 0;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.75;
}

/* ── Related products (product detail page) ──────────── */
.product-related { margin-top: 64px; }
.product-related h2 { font-size: 1.1rem; font-weight: 700; margin-bottom: 18px; }
.product-related-all {
  display: inline-block;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  text-decoration: none;
}
.product-related-all:hover { text-decoration: underline; }

/* ── Per-model enquiry link in SKU tables ───────────── */
.skus-table th.sku-enquire-col,
.skus-table td.sku-enquire-col { width: 1%; text-align: right; padding-right: 14px; }
.sku-enquire {
  display: inline-block;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 4px 10px;
  border: 1px solid rgba(14,122,254,0.35);
  border-radius: 999px;
  color: var(--blue);
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.sku-enquire:hover { background: var(--blue); border-color: var(--blue); color: #fff; }

@media (max-width: 700px) {
  .selection-list { grid-template-columns: 1fr; gap: 6px 0; }
  .selection-list dd { margin-bottom: 14px; }
}

