/* ============================================================
   Bharat Technologies — Enterprise Glass Design System  v2
   Brand: gold #D4A24C on near-black #0B0B0D, dark-first.
   Glass recipe: translucent gold-tinted fills + backdrop blur
                 + 1px rgba(212,162,76,0.18) hairline edges.
   All values centralized in :root tokens (dark + light).
   ============================================================ */

/* OD-LAYOUT-PRIMITIVES v1 — structure only: display, flex/grid, overflow, wrapping, ratio.
   Product CSS outside the layer always wins. */
@layer od-layout {
  :where(.od-stack, .od-row, .od-row-top, .od-cluster, .od-grid, .od-field, .od-stat, .od-cell, .od-tile)> :where(*) {
    min-width: 0;
  }

  .od-stack {
    display: flex;
    flex-direction: column;
    gap: var(--od-gap, 8px);
  }

  .od-row {
    display: flex;
    align-items: center;
    gap: var(--od-gap, 8px);
  }

  .od-row-top {
    display: flex;
    align-items: flex-start;
    gap: var(--od-gap, 8px);
  }

  .od-cluster {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--od-gap, 8px);
  }

  .od-fill {
    flex: 1 1 0;
    min-width: 0;
  }

  .od-fixed {
    flex: none;
  }

  .od-grid {
    display: grid;
    gap: var(--od-gap, 12px);
    grid-template-columns: repeat(var(--od-cols, 3), minmax(0, 1fr));
  }

  .od-stat,
  .od-field,
  .od-cell {
    display: grid;
    gap: var(--od-gap, 2px);
  }

  :where(.od-stat, .od-field, .od-cell)> :where(*) {
    display: block;
  }

  .od-tile {
    display: grid;
    grid-template-rows: auto 1fr;
  }

  :where(.od-tile)> :where(*) {
    display: block;
  }

  .od-media {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: var(--od-ratio, auto);
  }

  .od-media-cover {
    object-fit: cover;
  }

  .od-truncate {
    display: block;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .od-clamp-2,
  .od-clamp-3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: anywhere;
  }

  .od-clamp-2 {
    -webkit-line-clamp: 2;
  }

  .od-clamp-3 {
    -webkit-line-clamp: 3;
  }

  .od-lines-2 {
    min-height: calc(2 * 1.4em);
  }

  .od-nowrap {
    white-space: nowrap;
  }

  .od-keep {
    word-break: keep-all;
    overflow-wrap: anywhere;
  }

  .od-screen {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    height: 100%;
  }

  .od-scroll {
    overflow-y: auto;
    overscroll-behavior: contain;
    min-height: 0;
  }

  .od-rail {
    display: flex;
    gap: var(--od-gap, 8px);
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    padding-inline: var(--od-rail-pad, 16px);
    scroll-padding-inline: var(--od-rail-pad, 16px);
  }

  .od-rail::-webkit-scrollbar {
    display: none;
  }

  :where(.od-rail)> :where(*) {
    flex: none;
    scroll-snap-align: start;
  }

  :where(.od-rail)> :where(:last-child) {
    margin-inline-end: var(--od-rail-pad, 16px);
  }

  .od-spacer {
    flex: none;
    visibility: hidden;
    pointer-events: none;
  }

  .od-touch {
    min-width: 44px;
    min-height: 44px;
  }
}

/* ============================================================
   1. TOKENS — dark (default) + light (independent)
   ============================================================ */
:root {
  color-scheme: dark;

  /* Brand & neutrals */
  --bg: #0B0B0D;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-solid: #16161A;
  --surface-2: rgba(255, 255, 255, 0.03);
  --surface-warm: rgba(212, 162, 76, 0.12);
  --fg: #F5F1E8;
  --fg-2: #D8D1C1;
  --muted: #A8A29E;
  --meta: #D4A24C;

  /* Hairlines & borders */
  --border: rgba(255, 255, 255, 0.09);
  --border-soft: rgba(255, 255, 255, 0.05);
  --hairline: rgba(212, 162, 76, 0.18);
  --hairline-strong: rgba(212, 162, 76, 0.4);

  /* Gold accent family */
  --accent: #D4A24C;
  --accent-on: #0B0B0D;
  --accent-hover: #C08F35;
  --accent-active: #A87B28;
  --gold-1: #F5D98B;
  --gold-2: #D4A24C;
  --gold-3: #8C6318;
  --gold-grad: linear-gradient(135deg, #F5D98B 0%, #D4A24C 45%, #8C6318 100%);
  --ink: #0B0B0D;
  --teal: #2DD4BF;
  --success: #2DD4BF;
  --warn: #c4872c;
  --danger: #E06C6C;

  /* Vibrant accent kit — applied in small, purposeful touches */
  --blue: #5BB8FF;
  --teal: #3DD9C4;
  --coral: #FF8A7A;
  --violet: #B49AFF;
  --blue-soft: rgba(91, 184, 255, 0.15);
  --teal-soft: rgba(61, 217, 196, 0.15);
  --coral-soft: rgba(255, 138, 122, 0.17);
  --violet-soft: rgba(180, 154, 255, 0.17);

  /* Glass system */
  --glass-blur: 18px;
  --glass-blur-sm: 12px;
  --glow-gold: 0 10px 34px rgba(212, 162, 76, 0.16);

  /* Type */
  --font-display: "Poppins", "IBM Plex Mono", "Segoe UI", sans-serif;
  --font-body: "Poppins", "IBM Plex Mono", "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --text-xs: 11.5px;
  --text-sm: 13.5px;
  --text-base: 15.5px;
  --text-lg: 18px;
  --text-xl: 24px;
  --text-2xl: 36px;
  --text-3xl: 54px;
  --text-4xl: 72px;
  --leading-body: 1.65;
  --leading-tight: 1.14;
  --tracking-display: -0.025em;

  /* Space */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --section-y-desktop: 88px;
  --section-y-tablet: 64px;
  --section-y-phone: 40px;

  /* Radii — 10 / 14 / 20 / pill */
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;

  /* Elevation */
  --elev-flat: none;
  --elev-ring: 0 0 0 1px var(--hairline);
  --elev-raised: 0 18px 48px rgba(0, 0, 0, 0.5);
  --elev-soft: 0 2px 6px rgba(0, 0, 0, 0.35), 0 16px 40px rgba(0, 0, 0, 0.25);

  /* Focus & motion */
  --focus-ring: 0 0 0 3px rgba(212, 162, 76, 0.45);
  --motion-fast: 160ms;
  --motion-base: 260ms;
  --ease-standard: cubic-bezier(0.22, 1, 0.36, 1);

  /* Layout */
  --container-max: 1240px;
  --container-gutter-desktop: 24px;
  --container-gutter-tablet: 20px;
  --container-gutter-phone: 12px;
}

/* 1b. LIGHT THEME — independently derived from brand neutrals */
[data-theme="light"] {
  color-scheme: light;
  --bg: #f7f4ef;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-solid: #ffffff;
  --surface-2: rgba(255, 255, 255, 0.5);
  --surface-warm: rgba(138, 106, 61, 0.12);
  --fg: #17150f;
  --fg-2: #4a4642;
  --muted: #7a756f;
  --meta: #8a6a3d;
  --border: rgba(23, 21, 15, 0.12);
  --border-soft: rgba(23, 21, 15, 0.07);
  --hairline: rgba(138, 106, 61, 0.22);
  --hairline-strong: rgba(138, 106, 61, 0.45);
  --accent: #17150f;
  --accent-on: #ffffff;
  --accent-hover: #000000;
  --accent-active: #000000;
  --glow-gold: 0 10px 34px rgba(138, 106, 61, 0.14);
  --focus-ring: 0 0 0 3px rgba(138, 106, 61, 0.35);
  --elev-raised: 0 18px 44px rgba(23, 21, 15, 0.12);
  --elev-soft: 0 1px 2px rgba(0, 0, 0, 0.05), 0 14px 36px rgba(0, 0, 0, 0.06);
  --teal: #0E9382;
  --blue: #1A6FC4;
  --violet: #6B3FA8;
  --coral: #D44040;
  --blue-soft: rgba(26, 111, 196, 0.12);
  --teal-soft: rgba(14, 147, 130, 0.12);
  --coral-soft: rgba(212, 64, 64, 0.12);
  --violet-soft: rgba(107, 63, 168, 0.12);
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatSlow {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

body {
  min-height: 100vh;
  /* Ambient gold glow so glass surfaces read as translucent panels */
  background:
    radial-gradient(1100px 560px at 84% -8%, rgba(212, 162, 76, 0.11), transparent 62%),
    radial-gradient(900px 520px at -8% 34%, rgba(212, 162, 76, 0.07), transparent 60%),
    radial-gradient(1000px 600px at 50% 118%, rgba(212, 162, 76, 0.06), transparent 55%),
    var(--bg);
  background-attachment: fixed;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased;
  /* removed fadeUp animation — it creates a containing block that breaks position:fixed lightbox */
  animation: none;
}

img {
  max-width: 100%;
  display: block;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

[data-theme="light"] body {
  background:
    radial-gradient(1100px 560px at 84% -8%, rgba(138, 106, 61, 0.12), transparent 62%),
    radial-gradient(900px 520px at -8% 34%, rgba(138, 106, 61, 0.07), transparent 60%),
    var(--bg);
  background-attachment: fixed;
}

/* Contain horizontal overflow without breaking position:sticky */

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: visible;
}

html {
  scrollbar-gutter: stable;
}

body {
  overflow-x: visible;
  position: relative;
}

main,
.container,
.catalog-layout,
.catalog-groups {
  overflow: visible !important;
}

/* Text-overflow guards (home / services / contact): keep sticky intact by
   wrapping long strings inside their containers instead of clipping pages.
   Covers emails, GST/phone strings, tile copy, and narrow 375px grids. */
.hero-copy,
.hero-copy h1,
.hero-copy .lead,
.page-hero h1,
.page-hero p,
.section-head h2,
.section-head p,
.tile,
.tile h3,
.tile p,
.info-row,
.info-row>div,
.info-row .v,
.info-list,
.contact-grid>*,
.form-card,
.fact .v,
.tile-grid>*,
.gallery-grid>*,
.g-item,
.g-cap,
.metric,
.hero-media,
.panel,
.footer-grid>*,
.footer a {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.hero-copy h1,
.page-hero h1,
.section-head h2 {
  text-wrap: balance;
}

img,
video,
iframe {
  max-width: 100%;
}

section {
  padding-block: var(--section-y-desktop);
}

.page-hero,
.section-head,
.g-item,
.fact,
.info-row,
.form-card,
.footer {
  animation: none;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-display);
  color: var(--fg);
  font-weight: 700;
}

.eyebrow {
  color: var(--gold-2);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: block;
}

.eyebrow.accent {
  color: var(--blue);
}

.section-head h2 {
  position: relative;
  display: inline-block;
}

.section-head h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 40px;
  height: 3px;
  background: var(--gold-grad);
  border-radius: var(--radius-pill);
}

.lead {
  color: var(--fg-2);
  font-size: 17px;
  max-width: 60ch;
  line-height: 1.7;
}

.lead+.lead {
  margin-top: 16px;
}

/* Prose rhythm — even, professional vertical spacing between stacked text */
h1,
h2,
h3,
h4,
p {
  text-wrap: pretty;
}

p+p {
  margin-block-start: 0.75em;
}

/* Section-level display heading (was inline clamp) — centralized */
.display-h2 {
  font-size: clamp(30px, 3.5vw, 48px);
  margin: 12px 0;
}

.hidden {
  display: none !important;
}

/* ============================================================
   3. CONTAINER
   ============================================================ */
.container {
  max-width: var(--container-max);
  width: 100%;
  margin-inline: auto;
  padding-inline: var(--container-gutter-desktop);
}

/* ============================================================
   4. HEADER & NAV — glass brand bar
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in oklab, var(--bg), transparent 16%);
  border-bottom: 1px solid var(--hairline);
  backdrop-filter: blur(var(--glass-blur-sm)) saturate(1.4);
  -webkit-backdrop-filter: blur(var(--glass-blur-sm)) saturate(1.4);
  width: 100%;
  max-width: 100%;
  overflow: visible;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  height: 68px;
  width: 100%;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-right: auto;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: block;
  flex: none;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: transparent;
}

.brand-logo {
  height: 44px;
  width: auto;
  display: block;
  flex: none;
  background: transparent;
}

.brand-name {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--fg);
  white-space: nowrap;
}

/* Header brand stays large; footer brand keeps compact so grid columns never overlap */
.header .brand-name {
  font-size: 28px;
}

.brand-sub {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  padding: 6px 4px;
  border-bottom: 2px solid transparent;
  transition: color var(--motion-fast) var(--ease-standard), border-color var(--motion-fast) var(--ease-standard), text-shadow var(--motion-fast) var(--ease-standard);
}

.nav a:hover {
  color: var(--fg);
}

.nav a.active {
  color: var(--gold-2);
  font-weight: 600;
  border-bottom-color: var(--hairline-strong);
  text-shadow: 0 0 24px rgba(212, 162, 76, 0.35);
}

/* ============================================================
   5. BUTTONS — glass + gold accent (CTAs only)
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font: 600 14px/1 var(--font-body);
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background-color var(--motion-fast) var(--ease-standard), border-color var(--motion-fast) var(--ease-standard), transform var(--motion-fast) var(--ease-standard), box-shadow var(--motion-fast) var(--ease-standard), color var(--motion-fast) var(--ease-standard), filter var(--motion-fast) var(--ease-standard);
}

.btn-primary {
  background: linear-gradient(135deg, #F5D98B 0%, #D4A24C 50%, #C08F35 100%);
  color: var(--ink);
  border-color: rgba(245, 217, 139, 0.45);
  box-shadow: 0 6px 22px rgba(212, 162, 76, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(212, 162, 76, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  filter: saturate(1.08) brightness(1.04);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: none;
}

.btn-secondary {
  background: var(--surface);
  color: var(--fg);
  border-color: var(--hairline);
  backdrop-filter: blur(var(--glass-blur-sm));
  -webkit-backdrop-filter: blur(var(--glass-blur-sm));
}

.btn-secondary:hover {
  border-color: var(--hairline-strong);
  background: color-mix(in oklab, var(--surface), var(--fg) 6%);
  transform: translateY(-1px);
}

.btn-block {
  width: 100%;
}

/* Theme toggle — persistent, branded */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: none;
  background: var(--surface);
  color: var(--gold-2);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(var(--glass-blur-sm));
  -webkit-backdrop-filter: blur(var(--glass-blur-sm));
  cursor: pointer;
  transition: border-color var(--motion-fast) var(--ease-standard), transform var(--motion-fast) var(--ease-standard), color var(--motion-fast) var(--ease-standard), box-shadow var(--motion-fast) var(--ease-standard);
}

.theme-toggle:hover {
  border-color: var(--hairline-strong);
  color: var(--gold-1);
  transform: translateY(-1px);
  box-shadow: var(--glow-gold);
}

.theme-toggle svg {
  display: block;
}

.mobile-menu-btn {
  display: none;
  background: var(--surface);
  color: var(--gold-2);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
  backdrop-filter: blur(var(--glass-blur-sm));
  -webkit-backdrop-filter: blur(var(--glass-blur-sm));
}

/* Fullscreen glass mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: color-mix(in oklab, var(--bg), var(--surface-solid) 14%);
  backdrop-filter: blur(var(--glass-blur)) saturate(1.3);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.3);
  z-index: 200;
  padding: 20px var(--container-gutter-phone) 24px;
  overflow-y: auto;
  flex-direction: column;
  gap: 6px;
  animation: fadeUp 0.22s var(--ease-standard);
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--hairline);
}

.mobile-nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 700 15px/1 var(--font-display);
  letter-spacing: -0.02em;
  color: var(--fg);
}

.mobile-nav-close {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--fg);
  display: grid;
  place-items: center;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  flex: none;
  transition: border-color var(--motion-fast) var(--ease-standard), transform var(--motion-fast) var(--ease-standard), color var(--motion-fast) var(--ease-standard);
}

.mobile-nav-close:hover {
  border-color: var(--hairline-strong);
  color: var(--gold-2);
  transform: rotate(90deg);
}

.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--fg-2);
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  transition: border-color var(--motion-fast) var(--ease-standard), background var(--motion-fast) var(--ease-standard), color var(--motion-fast) var(--ease-standard);
}

.mobile-nav a:hover,
.mobile-nav a:focus-visible {
  border-color: var(--hairline-strong);
  color: var(--fg);
  background: color-mix(in oklab, var(--surface), var(--fg) 5%);
}

.mobile-nav a.active {
  background: var(--gold-grad);
  color: var(--ink);
  border-color: transparent;
  box-shadow: var(--glow-gold);
}

.mobile-nav .mobile-nav-cta {
  margin-top: 10px;
  display: grid;
  gap: 10px;
}

.mobile-nav .mobile-nav-cta .btn {
  width: 100%;
  min-height: 46px;
  font-size: 14px;
}

/* Mega column menu (Products / product pages) */
.mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: 12px;
  margin: 4px 0 8px;
}

.mega-col {
  display: grid;
  gap: 2px;
  align-content: start;
}

.mega-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 6px;
}

.mega-products {
  display: grid;
  gap: 2px;
  align-content: start;
}

.mega-grid a,
.mega-products a {
  background: transparent !important;
  border: 0 !important;
  justify-content: flex-start;
  padding: 8px 6px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
}

.mega-grid a:hover,
.mega-products a:hover,
.mega-grid a:focus-visible,
.mega-products a:focus-visible {
  color: var(--gold-2);
  background: color-mix(in oklab, var(--surface), var(--gold-2) 8%) !important;
}

/* ============================================================
   6. PAGE HERO
   ============================================================ */

.page-hero {
  background: var(--bg);
  border-bottom: 1px solid var(--border-soft);
  padding-block: 52px 40px;
}

.breadcrumb {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 14px;
  font-family: var(--font-body);
}

.breadcrumb a {
  color: var(--muted);
  font-weight: 500;
}

.breadcrumb a:hover {
  color: var(--gold-2);
}

.page-hero h1 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  max-width: 760px;
  letter-spacing: -0.03em;
  line-height: var(--leading-tight);
  padding-bottom: 1rem;
}

.page-hero p {
  color: var(--muted);
  font-size: 16px;
  margin-top: 12px;
  line-height: 1.6;
}

/* ============================================================
   7. HOME HERO
   ============================================================ */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 44px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(24px, 3.6vw, 24px);
  font-weight: 700;
  max-width: 20ch;
  margin-block: 18px 0;
  letter-spacing: -0.03em;
}

.hero-copy h1+.lead {
  margin-top: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-actions.center {
  justify-content: center;
}

.products-link {
  margin-top: 24px;
}

/* Glass snapshot panel */
.panel {
  background: color-mix(in oklab, var(--bg), transparent 12%);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--elev-soft), var(--glow-gold);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  overflow: hidden;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  padding: 20px;
  border-bottom: 1px solid var(--hairline);
}

.panel-head h3 {
  font-size: 18px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font: 700 11px/1 var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.status::before {
  width: 7px;
  height: 7px;
  border-radius: var(--radius-pill);
  background: var(--success);
  box-shadow: 0 0 12px rgba(45, 212, 191, 0.7);
  content: "";
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--hairline);
}

.metric {
  padding: 18px 20px;
  border-right: 1px solid var(--hairline);
  display: grid;
  gap: 4px;
}

.metric:last-child {
  border-right: 0;
}

.metric strong {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.1;
  white-space: nowrap;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--gold-2);
  text-shadow: 0 0 24px rgba(212, 162, 76, 0.28);
}

.metric strong.metric-word {
  font-size: 22px;
}

/* Vibrant metric trio — blue, coral, violet */
.metric:nth-child(1) strong {
  color: var(--blue);
  text-shadow: 0 0 24px rgba(91, 184, 255, 0.3);
}

.metric:nth-child(2) strong {
  color: var(--teal);
  text-shadow: 0 0 24px rgba(61, 217, 196, 0.3);
}

.metric:nth-child(3) strong {
  color: var(--violet);
  text-shadow: 0 0 24px rgba(180, 154, 255, 0.3);
}

.metric span {
  display: block;
  color: var(--muted);
  font-size: 12.5px;
}

.hero-media {
  padding: 16px;
  background: transparent;
}

.hero-media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--hairline);
  aspect-ratio: 1;
  object-fit: cover;
}

/* ============================================================
   8. SECTION HEADS & ICON BOARDS
   ============================================================ */
.section-head {
  text-align: left;
  max-width: 90vw;
  margin-bottom: 32px;
}

.section-head.center {
  text-align: center;
  margin-inline: auto;
}

.section-head h2 {
  font-size: clamp(26px, 3vw, 36px);
  margin-block: 14px 0;
  letter-spacing: -0.025em;
}

.section-head p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  margin-top: 14px;
}

.icon-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 10px;
  background: color-mix(in oklab, var(--bg), transparent 10%);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  backdrop-filter: blur(var(--glass-blur-sm));
  -webkit-backdrop-filter: blur(var(--glass-blur-sm));
  align-content: normal;
  height: 100%;
}

.icon-tile {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 10px 8px;
  display: grid;
  gap: 4px;
  justify-items: center;
  align-content: center;
  text-align: center;
  transition: border-color var(--motion-fast) var(--ease-standard), background var(--motion-fast) var(--ease-standard), transform var(--motion-fast) var(--ease-standard);
}

.icon-tile:hover {
  border-color: var(--hairline-strong);
  background: color-mix(in oklab, var(--surface), var(--gold-2) 5%);
  transform: translateY(-2px);
}

.icon-tile svg {
  width: 32px;
  height: 32px;
  color: var(--gold-2);
  opacity: 0.92;
}

/* Vibrant wash across the four tiles — blue, teal, coral, violet */
.icon-tile:nth-child(4n + 1) svg {
  color: var(--blue);
}

.icon-tile:nth-child(4n + 2) svg {
  color: var(--teal);
}

.icon-tile:nth-child(4n + 3) svg {
  color: var(--coral);
}

.icon-tile:nth-child(4n + 4) svg {
  color: var(--violet);
}

.icon-tile:nth-child(4n + 1):hover {
  border-color: color-mix(in oklab, var(--blue), transparent 35%);
}

.icon-tile:nth-child(4n + 2):hover {
  border-color: color-mix(in oklab, var(--teal), transparent 35%);
}

.icon-tile:nth-child(4n + 3):hover {
  border-color: color-mix(in oklab, var(--coral), transparent 35%);
}

.icon-tile:nth-child(4n + 4):hover {
  border-color: color-mix(in oklab, var(--violet), transparent 35%);
}

.icon-tile span {
  font-weight: 600;
  font-size: 12px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--fg);
}

.icon-tile small {
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.2;
}

/* ============================================================
   9. PRODUCT CARDS — glass, crisp photos
   ============================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
  justify-content: start;
}

.product-card {
  cursor: pointer;
  background: linear-gradient(180deg, color-mix(in oklab, var(--surface), var(--bg) 30%) 0%, var(--surface) 100%);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  backdrop-filter: blur(var(--glass-blur-sm));
  -webkit-backdrop-filter: blur(var(--glass-blur-sm));
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  max-width: 320px;
  width: 100%;
  justify-self: start;
  transition: border-color var(--motion-base) var(--ease-standard), box-shadow var(--motion-base) var(--ease-standard), transform var(--motion-base) var(--ease-standard);
}

.product-card:hover {
  box-shadow: var(--elev-soft), var(--glow-gold);
  transform: translateY(-4px);
  border-color: var(--hairline-strong);
}

.product-media {
  background: #fff;
  border-bottom: 1px solid var(--border-soft);
}

.product-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  padding: 12px;
  background: #fff;
  transition: transform var(--motion-base) var(--ease-standard);
}

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

.product-body {
  padding: 12px 12px 14px;
  display: grid;
  gap: 7px;
  align-content: start;
}

.chip {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--surface-warm);
  border-color: color-mix(in oklab, var(--blue), transparent 50%);
  color: var(--blue);
  font: 700 9.5px/1 var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.product-body h3 {
  font-size: 13.5px;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--fg);
}

.product-body p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.spec-list {
  list-style: none;
  display: grid;
  gap: 4px;
  border-top: 1px solid var(--border-soft);
  padding-top: 10px;
  margin-top: 4px;
}

.spec-list li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 11.5px;
  line-height: 1.45;
}

.spec-list dt,
.spec-k {
  color: var(--muted);
  font-weight: 500;
  display: block;
}

.spec-list dd,
.spec-v {
  color: var(--fg);
  font-weight: 600;
  display: block;
  text-align: right;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.card-actions .btn {
  flex: 1 1 100px;
  min-height: 44px;
  padding-inline: 10px;
  font-size: 12.5px;
  border-radius: var(--radius-sm);
}

/* ============================================================
   10. SPLIT / TILES / FACTS
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}

.split img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--hairline);
}

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

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

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.testimonial-card {
  padding: 20px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  background: color-mix(in oklab, var(--surface), var(--bg) 20%);
  backdrop-filter: blur(var(--glass-blur-sm));
  -webkit-backdrop-filter: blur(var(--glass-blur-sm));
  display: grid;
  gap: 10px;
  align-content: start;
  transition: border-color var(--motion-base) var(--ease-standard), box-shadow var(--motion-base) var(--ease-standard), transform var(--motion-base) var(--ease-standard);
}

.testimonial-card:hover {
  border-color: var(--hairline-strong);
  box-shadow: var(--elev-soft), var(--glow-gold);
  transform: translateY(-3px);
}

.testimonial-stars {
  color: var(--gold-1);
  font-size: 15px;
  letter-spacing: 2px;
  line-height: 1;
}

.testimonial-text {
  color: var(--fg-2);
  font-size: 13.5px;
  line-height: 1.55;
  margin: 0;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-top: 1px solid var(--border-soft);
  padding-top: 10px;
  margin-top: 4px;
}

.testimonial-author strong {
  color: var(--fg);
  font-size: 13px;
  font-weight: 600;
}

.testimonial-author span {
  color: var(--muted);
  font-size: 11.5px;
}

.tile {
  padding: 16px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  background: color-mix(in oklab, var(--bg), transparent 14%);
  backdrop-filter: blur(var(--glass-blur-sm));
  -webkit-backdrop-filter: blur(var(--glass-blur-sm));
  display: grid;
  gap: 6px;
  align-content: start;
  transition: border-color var(--motion-fast) var(--ease-standard), box-shadow var(--motion-fast) var(--ease-standard), transform var(--motion-fast) var(--ease-standard);
}

.tile:hover {
  border-color: var(--hairline-strong);
  box-shadow: var(--elev-soft);
}

.tile h3 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.tile p {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.55;
}

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

.fact {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  backdrop-filter: blur(var(--glass-blur-sm));
  -webkit-backdrop-filter: blur(var(--glass-blur-sm));
  padding: 14px;
  display: grid;
  gap: 4px;
  transition: border-color var(--motion-fast) var(--ease-standard);
}

.fact:hover {
  border-color: var(--hairline-strong);
}

.fact .k {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-2);
  font-family: var(--font-mono);
  font-weight: 700;
  display: block;
}

.fact .v {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--fg);
  display: block;
}

/* ============================================================
   11. GALLERY
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.g-item {
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
  display: block;
  transition: border-color var(--motion-fast) var(--ease-standard), box-shadow var(--motion-fast) var(--ease-standard), transform var(--motion-fast) var(--ease-standard);
}

.g-item:hover {
  border-color: var(--hairline-strong);
  box-shadow: var(--elev-soft), var(--glow-gold);
  transform: translateY(-3px);
}

.g-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  object-position: center;
  background: #fff;
  padding: 6px;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: auto;
}

.g-cap {
  position: relative;
  z-index: 1;
  isolation: isolate;
  padding: 10px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  display: block;
  border-top: 1px solid var(--hairline);
  line-height: 1.3;
  color: var(--fg);
  background: var(--surface-solid);
  overflow-wrap: anywhere;
  word-break: break-word;
  min-width: 0;
}

.g-cap small {
  display: block;
  color: var(--fg-2);
  font-weight: 400;
  font-size: var(--text-xs);
  margin-top: 2px;
  line-height: 1.4;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Skeleton shimmer must never sit above the caption text */
.g-item.skeleton .g-cap {
  background: var(--surface-solid);
}

.g-item.img-error .g-cap {
  color: var(--fg);
  background: var(--surface-solid);
}

/* ============================================================
   12. CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: start;
}

.info-list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.info-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  min-width: 0;
  overflow: hidden;
  backdrop-filter: blur(var(--glass-blur-sm));
  -webkit-backdrop-filter: blur(var(--glass-blur-sm));
  transition: border-color var(--motion-fast) var(--ease-standard);
}

.info-row:hover {
  border-color: var(--hairline-strong);
}

.info-row>div {
  min-width: 0;
  flex: 1 1 0;
}

.info-ic {
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: var(--radius-sm);
  background: var(--surface-warm);
  border: 1px solid rgba(212, 162, 76, 0.24);
  display: grid;
  place-items: center;
  font-size: 20px;
  color: var(--gold-3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Vibrant row icons — blue, teal, coral, violet */
.info-list .info-row:nth-child(1) .info-ic {
  color: var(--blue);
  background: var(--blue-soft);
  border-color: color-mix(in oklab, var(--blue), transparent 62%);
}

.info-list .info-row:nth-child(2) .info-ic {
  color: var(--teal);
  background: var(--teal-soft);
  border-color: color-mix(in oklab, var(--teal), transparent 62%);
}

.info-list .info-row:nth-child(3) .info-ic {
  color: var(--coral);
  background: var(--coral-soft);
  border-color: color-mix(in oklab, var(--coral), transparent 62%);
}

.info-list .info-row:nth-child(4) .info-ic {
  color: var(--violet);
  background: var(--violet-soft);
  border-color: color-mix(in oklab, var(--violet), transparent 62%);
}

.info-row .k {
  display: block;
  font-size: 11px;
  color: var(--gold-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-mono);
  font-weight: 700;
}

.info-row .v {
  display: block;
  font-weight: 600;
  font-size: 13px;
  margin-top: 3px;
  line-height: 1.4;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
  color: var(--fg);
}

a.v {
  color: var(--fg);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

a.v:hover {
  border-bottom-color: var(--hairline-strong);
  color: var(--gold-2);
}

.form-card {
  background: color-mix(in oklab, var(--bg), transparent 12%);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--elev-soft), var(--glow-gold);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  padding: 20px;
}

.form-card h3 {
  font-size: 18px;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.field {
  display: grid;
  gap: 4px;
  margin-bottom: 10px;
}

.field>span {
  display: block;
}

label {
  color: var(--fg);
  font-size: 12px;
  font-weight: 600;
  display: block;
  line-height: 1.2;
}

input,
select,
textarea {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: color-mix(in oklab, var(--bg), transparent 28%);
  color: var(--fg);
  font: inherit;
  font-size: 13.5px;
  transition: border-color var(--motion-fast) var(--ease-standard), box-shadow var(--motion-fast) var(--ease-standard);
}

input::placeholder,
textarea::placeholder {
  color: var(--muted);
  opacity: 0.8;
}

textarea {
  padding: 10px 12px;
  min-height: 72px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--hairline-strong);
  outline: none;
  box-shadow: 0 0 0 3px rgba(212, 162, 76, 0.18);
}

.form-note {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
}

#count {
  margin: 28px 0 0;
  font-size: 14px;
}

.success-box {
  display: none;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--fg);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-top: 14px;
  font-size: 13.5px;
  line-height: 1.5;
}

.direct-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--hairline);
}

.direct-row>span {
  flex: 1 1 100%;
  font-size: 12.5px;
  color: var(--muted);
}

.icon-btn {
  flex: 1 1 110px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  color: var(--fg);
  font: 600 13px/1 var(--font-body);
  transition: border-color var(--motion-fast) var(--ease-standard), background var(--motion-fast) var(--ease-standard), color var(--motion-fast) var(--ease-standard);
}

.icon-btn:hover {
  border-color: var(--hairline-strong);
  background: color-mix(in oklab, var(--surface), var(--fg) 5%);
  color: var(--gold-2);
}

.icon-btn svg {
  flex: none;
  color: var(--muted);
}

/* ============================================================
   13. FOOTER — glass
   ============================================================ */
.footer {
  border-top: 1px solid var(--hairline);
  background: linear-gradient(180deg, transparent, color-mix(in oklab, var(--surface-solid), var(--surface) 20%));
  backdrop-filter: blur(var(--glass-blur-sm));
  -webkit-backdrop-filter: blur(var(--glass-blur-sm));
  padding-block: 32px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.65fr 1fr 1.05fr 0.9fr;
  gap: 28px;
  padding-block: 32px 8px;
  align-items: start;
}

@media (max-width: 1280px) {
  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.f-brand {
  display: grid;
  gap: 12px;
  align-content: start;
}

.f-brand .brand-logo {
  height: 36px;
}

/* Footer brand must wrap inside its column — never overlay neighbouring text */
.footer .brand {
  flex-wrap: wrap;
  row-gap: 8px;
  max-width: 100%;
}

.footer .brand-logo {
  max-width: 100%;
}

.footer .brand-name {
  white-space: normal;
  overflow-wrap: anywhere;
}

.f-brand p {
  font-size: 13.5px;
  color: var(--muted);
  max-width: 36ch;
  line-height: 1.6;
}

.f-col {
  display: grid;
  gap: 2px;
  align-content: start;
}

.f-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 10px;
}

.f-col a {
  display: block;
  width: fit-content;
  padding: 4px 0;
  font-size: 13.5px;
  font-weight: 400;
  color: var(--muted);
  transition: color var(--motion-fast) var(--ease-standard);
}

.f-col a:hover {
  color: var(--gold-2);
}

.f-contact {
  display: grid;
  gap: 10px;
  font-size: 13.5px;
}

.f-contact strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-2);
}

.f-contact span {
  display: block;
  color: var(--fg-2);
  font-weight: 400;
  font-size: 13.5px;
}

.footer-bar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  border-top: 1px solid var(--hairline);
  margin-top: 32px;
  padding-block: 16px;
}

.footer-bar p {
  font-size: 12.5px;
  color: var(--muted);
}

/* ============================================================
   14. PERFORMANCE & SKELETON SYSTEM (photo-safe, JS hooks)
   ============================================================ */
@keyframes skeleton-shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

@keyframes skeleton-pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.85;
  }
}

.skeleton,
.product-media.skeleton,
.g-item.skeleton,
.pd-main.skeleton,
.pd-thumb.skeleton {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg,
      var(--surface) 25%,
      color-mix(in oklab, var(--surface), var(--border) 40%) 37%,
      var(--surface) 63%);
  background-size: 400% 100%;
  animation: skeleton-shimmer 1.4s ease infinite;
}

.product-media.skeleton::after,
.g-item.skeleton::after,
.pd-main.skeleton::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.05) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.2s linear infinite;
  pointer-events: none;
}

.product-media img,
.g-item img,
.pd-main img,
.pd-thumb img,
.pd-cat img,
.brand-logo {
  opacity: 1;
  transition: opacity 0.45s var(--ease-standard), filter 0.35s var(--ease-standard), transform 0.45s var(--ease-standard);
  image-rendering: -webkit-optimize-contrast;
  image-rendering: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transform: translateZ(0);
}

.product-media img[data-loading],
.g-item img[data-loading],
.pd-main img[data-loading],
.pd-thumb img[data-loading] {
  opacity: 0;
  filter: blur(8px) saturate(0.9);
}

.product-media img.is-loaded,
.g-item img.is-loaded,
.pd-main img.is-loaded,
.pd-thumb img.is-loaded {
  opacity: 1;
  filter: blur(0) saturate(1) contrast(1.04);
  animation: fadeUp 0.35s var(--ease-standard);
}

.product-media.skeleton.is-loaded,
.g-item.skeleton.is-loaded,
.pd-main.skeleton.is-loaded {
  background: #fff;
  animation: none;
}

.product-media.skeleton.is-loaded::after,
.g-item.skeleton.is-loaded::after,
.pd-main.skeleton.is-loaded::after {
  display: none;
}

.products-grid,
.gallery-grid,
.pd-sections {
  content-visibility: auto;
  contain-intrinsic-size: 1px 600px;
}

img {
  content-visibility: auto;
}

/* Crisp white product-photo tiles (never tinted) */
.product-media,
.g-item,
.pd-main,
.pd-thumb {
  background: #fff !important;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.product-card.is-img-loading .product-body h3,
.product-card.is-img-loading .product-body p,
.product-card.is-img-loading .spec-list {
  position: relative;
  color: transparent !important;
}

.product-card.is-img-loading .product-body h3::after,
.product-card.is-img-loading .product-body p::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--border-soft) 25%, var(--border) 37%, var(--border-soft) 63%);
  background-size: 400% 100%;
  animation: skeleton-shimmer 1.4s ease infinite;
  border-radius: 6px;
}

.g-item.is-img-loading .g-cap {
  position: relative;
  color: var(--fg) !important;
  background: var(--surface-solid) !important;
}

.img-error {
  display: grid !important;
  place-items: center;
  background: var(--surface-solid) !important;
  color: var(--muted);
  font: 700 11px/1 var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.img-error::before {
  content: "⚠ Image unavailable";
}

/* ============================================================
   15. PRODUCTS CATALOG PAGE — glass additions to inline styles
   ============================================================ */
.cat-sidebar {
  backdrop-filter: blur(var(--glass-blur-sm)) saturate(1.3);
  -webkit-backdrop-filter: blur(var(--glass-blur-sm)) saturate(1.3);
  box-shadow: var(--elev-soft);
}

.prod-search-wrap {
  backdrop-filter: blur(var(--glass-blur-sm)) saturate(1.3);
  -webkit-backdrop-filter: blur(var(--glass-blur-sm)) saturate(1.3);
}

.prod-search {
  backdrop-filter: blur(var(--glass-blur-sm)) saturate(1.3);
  -webkit-backdrop-filter: blur(var(--glass-blur-sm)) saturate(1.3);
  box-shadow: var(--elev-flat);
}

.prod-empty {
  backdrop-filter: blur(var(--glass-blur-sm));
  -webkit-backdrop-filter: blur(var(--glass-blur-sm));
}

.filter-rail button:hover {
  border-color: var(--hairline-strong);
  color: var(--gold-2);
}

/* ============================================================
   16. PRODUCT DETAIL PAGE
   ============================================================ */
.pd-hero {
  padding-block: var(--space-8) var(--space-5);
}

.pd-hero h1 {
  font-size: clamp(30px, 4vw, 52px);
}

.pd-wrap {
  padding-block: 28px 48px;
  display: grid;
  gap: 36px;
}

.pd-grid {
  display: grid;
  grid-template-columns: 40% 1fr;
  gap: 28px;
  align-items: start;
}

.pd-gallery {
  background: color-mix(in oklab, var(--bg), transparent 12%);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(var(--glass-blur-sm)) saturate(1.2);
  -webkit-backdrop-filter: blur(var(--glass-blur-sm)) saturate(1.2);
  padding: 16px;
  display: grid;
  gap: 14px;
  position: sticky;
  top: 84px;
  width: 100%;
  max-width: 100%;
  justify-self: start;
}

.pd-gallery-stage {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  justify-content: center;
}

.pd-main {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: zoom-in;
  flex: 1 1 auto;
  width: 100%;
  max-width: 380px;
  max-height: 380px;
  min-width: 0;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.pd-main img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  padding: 8px;
  background: #fff;
  transition: transform 0.25s var(--ease-standard);
  display: block;
  max-width: 380px;
  max-height: 380px;
}

.pd-zoom-hint {
  position: absolute;
  left: 10px;
  bottom: 10px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font: 600 11px/1 var(--font-body);
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  pointer-events: none;
  border: 1px solid rgba(212, 162, 76, 0.25);
}

.pd-thumbs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 64px;
  flex: none;
  max-height: 420px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 2px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.pd-thumbs::-webkit-scrollbar {
  width: 4px;
}

.pd-thumbs::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: var(--radius-pill);
}

.pd-thumb {
  width: 60px;
  height: 60px;
  flex: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
  padding: 0;
  display: grid;
  place-items: center;
  transition: border-color var(--motion-fast) var(--ease-standard), box-shadow var(--motion-fast) var(--ease-standard);
}

.pd-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
  background: #fff;
  display: block;
}

.pd-thumb:hover {
  border-color: var(--gold-2);
}

.pd-thumb.on {
  border-color: var(--gold-2);
  border-width: 1.5px;
  box-shadow: 0 0 0 2px rgba(212, 162, 76, 0.28);
}

.pd-thumb:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(212, 162, 76, 0.35);
}

.pd-more-photos {
  width: 100%;
}

.pd-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--hairline);
  padding-top: 14px;
  gap: 12px;
}

.pd-trust div {
  display: grid;
  gap: 2px;
  text-align: center;
}

.pd-trust strong {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--gold-2);
}

.pd-trust span {
  font-size: 11.5px;
  color: var(--muted);
}

.pd-info {
  display: grid;
  gap: 12px;
  align-content: start;
}

.pd-info h2 {
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -0.025em;
  font-weight: 700;
}

.pd-short {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.pd-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  background: color-mix(in oklab, var(--coral), var(--surface) 88%);
  border: 1px solid color-mix(in oklab, var(--coral), transparent 35%);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  backdrop-filter: blur(var(--glass-blur-sm));
  -webkit-backdrop-filter: blur(var(--glass-blur-sm));
}

.pd-price {
  font: 700 28px/1.1 var(--font-display);
  color: var(--coral);
  letter-spacing: -0.02em;
  text-shadow: 0 0 20px rgba(255, 138, 122, 0.25);
  white-space: nowrap;
}

.pd-unit {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
  white-space: nowrap;
}

.pd-cta-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pd-cta-row .btn {
  flex: 1 1 132px;
  min-height: 44px;
  padding: 0 14px;
  font-size: 13px;
  border-radius: var(--radius-sm);
}

.pd-brochure {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border: 2px solid var(--hairline-strong);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-weight: 600;
  font-size: 15px;
  background: var(--surface-warm);
  box-shadow: var(--glow-gold);
  backdrop-filter: blur(var(--glass-blur-sm));
  -webkit-backdrop-filter: blur(var(--glass-blur-sm));
}

.pd-brochure a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 48px;
  padding: 0 26px;
  background: var(--gold-grad);
  color: var(--ink);
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-sm);
  font: 800 15px/1 var(--font-body);
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 24px rgba(212, 162, 76, 0.5);
  transition: transform var(--motion-fast) var(--ease-standard), box-shadow var(--motion-fast) var(--ease-standard), filter var(--motion-fast) var(--ease-standard);
  animation: pd-brochure-glow 2.2s ease-in-out infinite;
}

@keyframes pd-brochure-glow {

  0%,
  100% {
    box-shadow: 0 4px 24px rgba(212, 162, 76, 0.5);
  }

  50% {
    box-shadow: 0 4px 36px rgba(212, 162, 76, 0.85);
  }
}

.pd-brochure a:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(212, 162, 76, 0.28);
  filter: brightness(1.05);
}

.pd-brochure a:active {
  transform: translateY(0);
  box-shadow: none;
}

.pd-h3 {
  font-size: 11px;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.pd-h3::before {
  content: "";
  width: 16px;
  height: 1.5px;
  border-radius: var(--radius-pill);
  background: var(--hairline-strong);
  flex: none;
}

.pd-spec-head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.pd-spec-icon {
  width: 32px;
  height: 32px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--surface-warm);
  border: 1px solid rgba(212, 162, 76, 0.24);
  color: var(--gold-2);
}

.pd-spec-icon svg {
  display: block;
}

.pd-spec-title {
  font-size: 20px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--fg);
}

.pd-spec-title small {
  display: block;
  font: 700 10.5px/1 var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 3px;
}

.pd-spec-badge {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  background: var(--surface-warm);
  border: 1px solid rgba(212, 162, 76, 0.24);
  color: var(--gold-2);
  font: 600 11px/1 var(--font-mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pd-table-wrap {
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--elev-soft);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.pd-table {
  width: 100%;
  min-width: 420px;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--surface);
  font-size: 13.5px;
}

.pd-table thead th {
  text-align: left;
  padding: 12px 14px;
  font: 700 11px/1 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--surface-warm);
  border-bottom: 1px solid var(--hairline);
  white-space: nowrap;
  position: sticky;
  top: 0;
  z-index: 1;
}

.pd-table thead th:last-child {
  color: var(--gold-2);
}

.pd-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-soft);
  vertical-align: top;
  line-height: 1.55;
}

.pd-table tr:last-child td {
  border-bottom: 0;
}

.pd-table td:first-child {
  color: var(--muted);
  width: 38%;
  font: 600 12.5px/1.4 var(--font-mono);
  letter-spacing: 0.01em;
}

.pd-table td:last-child {
  color: var(--fg);
  font-weight: 600;
  font-size: 13.5px;
}

.pd-table tbody tr:nth-child(even) td {
  background: var(--surface-2);
}

.pd-table tbody tr:hover td {
  background: color-mix(in oklab, var(--surface), var(--gold-2) 4%);
}

.pd-mini-wrap .pd-table td:first-child {
  width: 42%;
}

.pd-mini-wrap .pd-table td {
  padding: 10px 12px;
  font-size: 13px;
}

.pd-interest {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: grid;
  gap: 12px;
  backdrop-filter: blur(var(--glass-blur-sm));
  -webkit-backdrop-filter: blur(var(--glass-blur-sm));
}

.pd-interest p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
}

.pd-sections {
  display: grid;
  gap: 14px;
}

.pd-block {
  background: color-mix(in oklab, var(--bg), transparent 12%);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: 16px;
  display: grid;
  gap: 12px;
  backdrop-filter: blur(var(--glass-blur-sm));
  -webkit-backdrop-filter: blur(var(--glass-blur-sm));
  box-shadow: var(--elev-soft);
}

.pd-block h2 {
  font-size: 22px;
  letter-spacing: -0.02em;
}

.pd-block h2 span {
  color: var(--gold-2);
  font: 700 11px/1 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}

.pd-feats {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.pd-feats li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--fg-2);
  font-size: 13.5px;
  line-height: 1.5;
}

.pd-feats li::before {
  content: "";
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: var(--radius-pill);
  background: var(--surface-warm);
  border: 1px solid color-mix(in oklab, var(--teal), transparent 55%);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/12px 12px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/12px 12px no-repeat;
  background-color: var(--teal);
}

.pd-desc {
  color: var(--fg-2);
  font-size: 14px;
  line-height: 1.75;
  display: grid;
  gap: 14px;
  align-content: start;
}

.pd-desc-lead {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--fg);
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--gold-2);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  box-shadow: var(--elev-soft);


}

.pd-desc p {
  background: transparent;
  border: 0;
  border-radius: 0;
  margin: 0;
  color: var(--fg-2);
  font-size: 14px;
  line-height: 1.78;
  overflow-wrap: anywhere;
  padding: 1rem 1rem;

}

.pd-desc p:not(.pd-desc-lead) {
  padding-left: 2px;
}

.pd-desc-text {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-left: 2px solid var(--hairline-strong);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--fg-2);
  font-size: 14px;
  line-height: 1.75;
  box-shadow: var(--elev-soft);
}

.pd-desc-text p {
  color: var(--fg-2);
  font-size: 14px;
  line-height: 1.75;
  margin: 0;
}

.pd-desc-text-card {
  background: var(--surface);
}

.pd-desc-card-body {
  margin: 0;
  color: var(--fg-2);
  font-size: 14px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.pd-desc-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: grid;
  gap: 12px;
  box-shadow: var(--elev-soft);
}

.pd-desc-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 700 11px/1 var(--font-mono);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--fg);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-soft);
}

.pd-desc-card-head::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--gold-2);
  flex: none;
  box-shadow: 0 0 0 4px rgba(212, 162, 76, 0.15);
}

.pd-desc-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.pd-desc-spec {
  background: var(--surface-2);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 10px 11px;
  display: grid;
  gap: 3px;
}

.pd-desc-spec dt {
  font: 700 10.5px/1 var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pd-desc-spec dd {
  font: 500 13px/1.4 var(--font-body);
  color: var(--fg);
  margin: 0;
  overflow-wrap: anywhere;
}

.pd-desc-quote {
  border-left: 2px solid var(--border);
  padding-left: 12px;
  font-style: italic;
  color: var(--muted);
}

.pd-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 12.5px;
}

.pd-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  background: var(--surface-warm);
  border: 1px solid rgba(212, 162, 76, 0.24);
  color: var(--fg-2);
  font: 600 12px/1 var(--font-body);
}

.pd-meta-badge svg {
  color: var(--gold-2);
  flex: none;
}

.pd-cats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.pd-cat {
  display: flex;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: 10px;
  background: var(--surface);
  backdrop-filter: blur(var(--glass-blur-sm));
  -webkit-backdrop-filter: blur(var(--glass-blur-sm));
  transition: transform var(--motion-fast) var(--ease-standard), box-shadow var(--motion-fast) var(--ease-standard), border-color var(--motion-fast) var(--ease-standard);
}

.pd-cat:hover {
  transform: translateY(-3px);
  box-shadow: var(--elev-soft), var(--glow-gold);
  border-color: var(--hairline-strong);
}

.pd-cat img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--surface-warm);
  flex: none;
}

.pd-cat span {
  font-weight: 700;
  font-size: 14px;
  color: var(--fg);
  display: grid;
  gap: 2px;
}

.pd-cat small {
  color: var(--muted);
  font-weight: 400;
  font-size: 12px;
}

/* ============================================================
   17. LIGHTBOX — always dark UI, isolated from animations
   ============================================================ */
.lb {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-width: 100vw;
  max-height: 100vh;
  max-height: 100dvh;
  overflow: hidden;
  z-index: 400;
  display: grid !important;
  grid-template-rows: minmax(0, 1fr) auto;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  will-change: auto !important;
}

.lb[hidden] {
  display: none !important;
}

.lb-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(4, 4, 6, 0.93);
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.lb-stage {
  position: relative;
  z-index: 1;
  grid-row: 1;
  grid-column: 1;
  display: flex !important;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 0;
  padding: 70px 84px 10px;
  min-height: 0;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.lb-stage img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--radius-sm);
  border: 1px solid #26262C;
  cursor: grab;
  user-select: none;
  -webkit-user-drag: none;
  touch-action: none;
}

.lb-stage.zoomed img {
  cursor: grabbing;
}

.lb-tools {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex !important;
  gap: 8px;
  z-index: 2;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.lb-tools button {
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  border: 1px solid #26262C;
  background: rgba(22, 22, 26, 0.78);
  backdrop-filter: blur(var(--glass-blur-sm));
  -webkit-backdrop-filter: blur(var(--glass-blur-sm));
  color: #F5F1E8;
  font: 700 16px/1 var(--font-body);
  cursor: pointer;
  transition: border-color var(--motion-fast) var(--ease-standard), color var(--motion-fast) var(--ease-standard);
}

.lb-tools button:hover {
  border-color: #D4A24C;
  color: #D4A24C;
}

.lb-nav {
  position: absolute;
  top: 44%;
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-pill);
  border: 1px solid #26262C;
  background: rgba(22, 22, 26, 0.78);
  backdrop-filter: blur(var(--glass-blur-sm));
  -webkit-backdrop-filter: blur(var(--glass-blur-sm));
  color: #F5F1E8;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  display: grid !important;
  place-items: center;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  transition: border-color var(--motion-fast) var(--ease-standard), color var(--motion-fast) var(--ease-standard);
}

.lb-prev {
  left: 16px;
}

.lb-next {
  right: 16px;
}

.lb-nav:hover {
  border-color: #D4A24C;
  color: #D4A24C;
}

.lb-bar {
  position: relative;
  z-index: 1;
  grid-row: 2;
  grid-column: 1;
  display: grid !important;
  gap: 8px;
  justify-items: center;
  padding: 2px 16px 16px;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.lb-count {
  font: 700 12px/1 var(--font-mono);
  letter-spacing: 0.1em;
  color: #A8A29E;
}

.lb-thumbs {
  display: flex;
  gap: 8px;
  max-width: 100%;
  overflow-x: auto;
  padding: 2px;
}

.lb-thumbs button {
  flex: none;
  width: 62px;
  height: 62px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  background: #16161A;
  padding: 0;
  cursor: pointer;
  opacity: 0.6;
  transition: border-color var(--motion-fast) var(--ease-standard), opacity var(--motion-fast) var(--ease-standard);
}

.lb-thumbs button.on {
  border-color: #D4A24C;
  opacity: 1;
}

.lb-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.lb-hint {
  margin: 0;
  font-size: 12px;
  color: #A8A29E;
  opacity: 1 !important;
  visibility: visible !important;
}

#lb *,
.lb * {
  animation: none !important;
}

#lb .lb-stage,
#lb .lb-stage img,
#lb .lb-thumbs,
#lb .lb-thumbs button,
#lb .lb-count,
#lb .lb-hint {
  opacity: 1 !important;
  visibility: visible !important;
}

#lb .lb-thumbs button:not(.on) {
  opacity: 0.6 !important;
}

#lb .lb-thumbs button.on {
  opacity: 1 !important;
}

/* ============================================================
   18. SCROLL TO TOP — glass gold pill
   ============================================================ */
#scrollToTop {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--hairline);
  background: color-mix(in oklab, var(--surface-solid), var(--surface) 40%);
  backdrop-filter: blur(var(--glass-blur-sm));
  -webkit-backdrop-filter: blur(var(--glass-blur-sm));
  color: var(--gold-2);
  box-shadow: var(--elev-soft), var(--glow-gold);
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--motion-fast) var(--ease-standard), visibility var(--motion-fast) var(--ease-standard), transform var(--motion-fast) var(--ease-standard), border-color var(--motion-fast) var(--ease-standard), background var(--motion-fast) var(--ease-standard), color var(--motion-fast) var(--ease-standard);
}

#scrollToTop.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#scrollToTop:hover {
  border-color: var(--hairline-strong);
  color: var(--gold-1);
  background: var(--surface-solid);
  transform: translateY(-2px);
}

#scrollToTop:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

#scrollToTop svg {
  display: block;
}

/* ============================================================
   19. LIGHT THEME FINE-TUNES
   ============================================================ */
[data-theme="light"] .chip {
  background: var(--surface-warm);
  border-color: rgba(138, 106, 61, 0.25);
  color: var(--gold-3);
}

[data-theme="light"] .pd-thumb.on {
  border-color: var(--gold-2);
  box-shadow: 0 0 0 2px rgba(138, 106, 61, 0.25);
}

[data-theme="light"] .pd-price,
[data-theme="light"] .metric strong {
  color: var(--gold-3);
  text-shadow: none;
}

[data-theme="light"] .icon-tile svg,
[data-theme="light"] .icon-btn svg {
  color: #8C6318;
}

[data-theme="light"] .theme-toggle,
[data-theme="light"] .mobile-menu-btn {
  color: var(--gold-3);
}

[data-theme="light"] .theme-toggle:hover {
  border-color: var(--hairline-strong);
  color: var(--gold-3);
}

[data-theme="light"] .nav a.active {
  color: var(--gold-3);
  border-bottom-color: var(--hairline-strong);
}

[data-theme="light"] .mobile-nav a.active {
  background: var(--gold-grad);
  color: var(--ink);
}

[data-theme="light"] .pd-desc-lead {
  border-left-color: var(--gold-2);
}

[data-theme="light"] .pd-zoom-hint {
  background: rgba(28, 27, 25, 0.78);
}

/* Lightbox stays dark in both themes */
[data-theme="light"] .lb-backdrop {
  background: rgba(4, 4, 6, 0.93);
}

[data-theme="light"] .lb-tools button,
[data-theme="light"] .lb-nav {
  background: rgba(22, 22, 26, 0.78);
  color: #F5F1E8;
  border-color: #26262C;
}

[data-theme="light"] .lb-tools button:hover,
[data-theme="light"] .lb-nav:hover {
  border-color: #D4A24C;
  color: #D4A24C;
}

[data-theme="light"] .lb-stage img {
  border-color: #26262C;
}

[data-theme="light"] .lb-thumbs button {
  background: #16161A;
  border-color: transparent;
}

[data-theme="light"] .lb-thumbs button.on {
  border-color: #D4A24C;
}

[data-theme="light"] .lb-count,
[data-theme="light"] .lb-hint {
  color: #A8A29E;
}

[data-theme="light"] .metric:nth-child(1) strong {
  color: var(--blue);
  text-shadow: none;
}

[data-theme="light"] .metric:nth-child(2) strong {
  color: var(--teal);
  text-shadow: none;
}

[data-theme="light"] .metric:nth-child(3) strong {
  color: var(--violet);
  text-shadow: none;
}

[data-theme="light"] .icon-tile:nth-child(4n + 1) svg {
  color: var(--blue);
}

[data-theme="light"] .icon-tile:nth-child(4n + 2) svg {
  color: var(--teal);
}

[data-theme="light"] .icon-tile:nth-child(4n + 3) svg {
  color: var(--coral);
}

[data-theme="light"] .icon-tile:nth-child(4n + 4) svg {
  color: var(--violet);
}

/* ============================================================
   19b. VIBRANT ACCENT APPLICATION — dark- & light-safe var() hues
   ============================================================ */
/* Product chips cycle the accent kit — blue, teal, coral, violet */
.product-card:nth-of-type(4n + 1) .chip {
  color: var(--blue);
  background: var(--blue-soft);
  border-color: color-mix(in oklab, var(--blue), transparent 72%);
}

.product-card:nth-of-type(4n + 2) .chip {
  color: var(--teal);
  background: var(--teal-soft);
  border-color: color-mix(in oklab, var(--teal), transparent 72%);
}

.product-card:nth-of-type(4n + 3) .chip {
  color: var(--coral);
  background: var(--coral-soft);
  border-color: color-mix(in oklab, var(--coral), transparent 72%);
}

.product-card:nth-of-type(4n + 4) .chip {
  color: var(--violet);
  background: var(--violet-soft);
  border-color: color-mix(in oklab, var(--violet), transparent 72%);
}

/* Tile eyebrows — the blueprint vocabulary rows (Make · Move · Serve) */
.tile:nth-child(4n + 1) .eyebrow {
  color: var(--blue);
}

.tile:nth-child(4n + 2) .eyebrow {
  color: var(--teal);
}

.tile:nth-child(4n + 3) .eyebrow {
  color: var(--coral);
}

.tile:nth-child(4n + 4) .eyebrow {
  color: var(--violet);
}

/* Product-detail spec-group icons rotate the same kit */
.pd-spec-head:nth-of-type(4n + 1) .pd-spec-icon {
  color: var(--blue);
}

.pd-spec-head:nth-of-type(4n + 2) .pd-spec-icon {
  color: var(--teal);
}

.pd-spec-head:nth-of-type(4n + 3) .pd-spec-icon {
  color: var(--coral);
}

.pd-spec-head:nth-of-type(4n + 4) .pd-spec-icon {
  color: var(--violet);
}

/* 19c. CHARGES — the price row carries the vibrant coral kit, anchored on
   the one real charge surface: product.html .pd-info .pd-price-row.
   Coral pairs with the gold CTA below it; gold stays the CTA
   accent and is never usurped by the charge row.
   Contrast: --coral is theme-bound (dark #FF8A7A / light #D44040),
   both ≥4.5:1 on their own --surface. */
.pd-price-row {
  grid-template-columns: 1fr auto;
  border-color: color-mix(in oklab, var(--coral), transparent 40%);
  background: color-mix(in oklab, var(--coral), var(--surface) 88%);
}

.pd-price {
  color: var(--coral);
  text-shadow: 0 0 20px rgba(255, 138, 122, 0.25);
}

.pd-price-row:hover {
  border-color: color-mix(in oklab, var(--coral), transparent 20%);
  box-shadow: 0 10px 30px color-mix(in oklab, var(--coral), transparent 70%), 0 0 40px rgba(255, 138, 122, 0.08);
}

/* Light theme: keep the charge row on the resolved coral kit. Gold still owns the CTA directly under the row — it is never imported into the charge. */
[data-theme="light"] .pd-info .pd-price-row {
  border-color: color-mix(in oklab, var(--coral), transparent 40%);
  background: color-mix(in oklab, var(--coral), var(--surface) 92%);
}

[data-theme="light"] .pd-info .pd-price {
  color: var(--coral);
  text-shadow: 0 0 20px rgba(212, 64, 64, 0.2);
}

[data-theme="light"] .pd-info .pd-price-row:hover {
  border-color: color-mix(in oklab, var(--coral), transparent 18%);
  box-shadow: 0 12px 34px color-mix(in oklab, var(--coral), transparent 68%), 0 0 40px rgba(212, 64, 64, 0.06);
}

/* Charge-row text rhythm — the "charges" stack is an even, aligned baseline row */
.pd-price-row .pd-price,
.pd-price-row .pd-unit {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* ============================================================
   20. RESPONSIVE — tablet + phone (2025-2026 matrix)
      Breakpoints: 640(phone→tablet), 860(tablet nav), 1023(tablet→desktop)
   ============================================================ */
/* ---------- Tablet: 640px – 1023px (covers 600×960, 820×1180, 1024×768) ---------- */
@media (max-width: 1023px) {
  .container {
    padding-inline: var(--container-gutter-tablet);
  }

  section {
    padding-block: var(--section-y-tablet);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-grid>div:first-child {
    order: 2;
  }

  .contact-grid>.form-card {
    order: 1;
  }

  .info-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
  }

  .info-row {
    padding: 12px 12px;
    border-radius: var(--radius-sm);
  }

  .form-card {
    padding: 18px;
  }

  /* Tablets up to 1023 should let cards fill grid — remove capped 280px that leaves gaps */
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
  }

  .product-card {
    max-width: none;
    justify-self: stretch;
  }

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

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

  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .pd-grid {
    grid-template-columns: 1fr;
  }

  .pd-gallery {
    position: static;
    max-width: 640px;
    margin-inline: auto;
    width: 100%;
  }

  .pd-gallery-stage {
    gap: 10px;
  }

  .pd-thumbs {
    width: 64px;
    max-height: 420px;
  }

  .pd-thumb {
    width: 60px;
    height: 60px;
  }

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

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

/* Tablet portrait + small tablet: stack hero/split only at true narrow tablet */
@media (max-width: 860px) {

  .hero-grid,
  .split {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  /* At 640-860 gallery 3-col is too tight -> 2-col */
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  /* Contact info 2-col still fits at 640-860, but prevent overflow */
  .info-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Header: hide desktop nav early — iPad portrait 820px & foldable 600px must use hamburger */
  .nav,
  .header .btn-primary {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .header-inner {
    gap: 10px;
  }

  .header .brand-name {
    font-size: 20px;
  }

  .brand-logo {
    height: 40px;
  }
}

/* Tablet landscape 861–1023: keep 2-col hero/split with balanced proportions */
@media (min-width: 861px) and (max-width: 1023px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 28px;
    align-items: center;
  }

  .split {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 32px;
    align-items: center;
  }

  .hero-copy h1 {
    font-size: clamp(26px, 3vw, 34px);
  }

  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  /* Header fits without wrapping at 900–1023 */
  .header-inner {
    gap: 12px;
  }

  .nav {
    gap: 12px;
  }

  .nav a {
    font-size: 12.5px;
  }

  .header .btn-primary {
    padding: 0 14px;
    font-size: 13px;
    white-space: nowrap;
  }

  .header .brand-name {
    font-size: 22px;
  }
}

/* Small tablet 640–720: avoid 2-col footer fragmentation */
@media (min-width: 640px) and (max-width: 720px) {

  .tile-grid,
  .fact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .footer-grid {
    gap: 20px;
  }
}

@media (max-width: 639px) {
  .container {
    padding-inline: var(--container-gutter-phone);
  }

  section {
    padding-block: var(--section-y-phone);
  }

  .nav,
  .header .btn {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .brand-logo {
    height: 38px;
  }

  .btn {
    min-height: 36px;
    padding: 0 14px;
    font-size: 12.5px;
    border-radius: 9px;
  }

  .header-inner {
    height: 60px;
    gap: 12px;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .product-card {
    max-width: none;
  }

  .product-body {
    padding: 10px 11px 10px;
  }

  .product-body h3 {
    font-size: 13px;
    line-height: 1.32;
  }

  .product-body p {
    font-size: 12px;
    line-height: 1.45;
  }

  .spec-list li {
    gap: 6px;
    font-size: 11px;
    line-height: 1.35;
  }

  .tile-grid,
  .fact-grid,
  .quality-grid {
    grid-template-columns: 1fr;
  }

  .info-list {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

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

  .metric {
    border-right: 0;
    border-bottom: 1px solid var(--hairline);
  }

  .metric:last-child {
    border-bottom: 0;
  }

  .card-actions {
    flex-direction: column;
    gap: 6px;
  }

  .card-actions .btn {
    flex: none;
    width: 100%;
    min-height: 30px;
    padding-inline: 10px;
    font-size: 11px;
  }

  .page-hero {
    padding-block: 28px 20px;
  }

  .page-hero h1 {
    font-size: clamp(28px, 8vw, 32px);
  }

  .page-hero p {
    font-size: 15px;
    line-height: 1.6;
    margin-top: 12px;
    color: var(--muted);
  }

  .pd-hero {
    padding-block: 20px 16px;
  }

  .pd-hero h1 {
    font-size: clamp(26px, 7vw, 30px);
  }

  .section-head {
    margin-bottom: 18px;
  }

  .section-head h2 {
    font-size: clamp(22px, 6vw, 26px);
  }

  .pd-block {
    padding: 12px;
    gap: 10px;
  }

  .pd-block h2 {
    font-size: 18px;
  }

  .form-card {
    padding: 14px;
  }

  .contact-grid {
    gap: 12px;
  }

  .info-list {
    grid-template-columns: 1fr !important;
    gap: 8px;
  }

  .info-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 12px 10px;
    border-radius: var(--radius-sm);
    gap: 6px;
  }

  .info-row>div {
    text-align: center;
    width: 100%;
  }

  .info-ic {
    width: 44px;
    height: 44px;
    font-size: 26px;
  }

  .info-row .k {
    text-align: center;
    font-size: 9.5px;
  }

  .info-row .v {
    text-align: center;
    font-size: 13px;
    justify-content: center;
  }

  .direct-row {
    gap: 8px;
  }

  .direct-row .icon-btn {
    flex: 1 1 100%;
    min-height: 40px;
    justify-content: center;
  }

  .footer-grid {
    gap: 18px;
  }

  .icon-board {
    padding: 10px;
    gap: 8px;
  }

  .icon-tile {
    padding: 12px 8px;
  }

  .icon-tile svg {
    width: 34px;
    height: 34px;
  }

  .pd-table {
    min-width: 0;
  }

  .pd-table thead {
    display: none;
  }

  .pd-table,
  .pd-table tbody,
  .pd-table tr,
  .pd-table td {
    display: block;
    width: 100%;
  }

  .pd-table tr {
    border-bottom: 1px solid var(--border-soft);
    padding: 10px 14px;
    display: grid;
    gap: 4px;
  }

  .pd-table tr:last-child {
    border-bottom: 0;
  }

  .pd-table td {
    border: 0;
    padding: 0;
  }

  .pd-table td:first-child {
    width: 100%;
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
  }

  .pd-table td:last-child {
    font-size: 14px;
  }

  .pd-table tbody tr:nth-child(even) td {
    background: transparent;
  }

  .pd-table tbody tr:nth-child(even) {
    background: var(--surface-2);
  }

  .pd-feats {
    grid-template-columns: 1fr;
  }

  .pd-desc-specs {
    grid-template-columns: 1fr;
  }

  .pd-cats {
    grid-template-columns: 1fr;
  }

  .pd-cta-row {
    flex-direction: column;
    gap: 6px;
  }

  .pd-cta-row .btn {
    width: 100%;
    flex: none;
    min-height: 32px;
    font-size: 12px;
    padding: 0 12px;
  }

  .pd-gallery-stage {
    flex-direction: column;
  }

  .pd-main {
    width: 100%;
    aspect-ratio: 1;
    order: 1;
  }

  .pd-thumbs {
    order: 2;
    width: 100%;
    max-height: none;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 4px;
  }

  .pd-thumb {
    width: 56px;
    height: 56px;
  }

  .mega-grid {
    grid-template-columns: 1fr;
  }

  .lb-stage {
    padding: 64px 8px 6px;
  }

  .lb-nav {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .lb-prev {
    left: 8px;
  }

  .lb-next {
    right: 8px;
  }

  .lb-hint {
    display: none;
  }

  #scrollToTop {
    right: 12px;
    bottom: 12px;
    width: 40px;
    height: 40px;
  }
}

.pd-brochure-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.pd-brochure-open {
  background: transparent !important;
  border: 1px solid var(--hairline) !important;
  color: inherit !important;
  box-shadow: none !important;
  font-weight: 600 !important;
}

.pd-brochure-open:hover {
  border-color: var(--gold-2) !important;
  filter: none !important;
}

/* In-page PDF viewer: same-tab drawer beside content */
.pdfv {
  position: fixed;
  inset: 0;
  z-index: 450;
  display: flex !important;
  justify-content: flex-end;
  align-items: stretch;
}

.pdfv[hidden] {
  display: none !important;
}

.pdfv-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 4, 6, 0.62);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.pdfv-panel {
  position: relative;
  z-index: 1;
  width: min(880px, 62vw);
  max-width: 94vw;
  height: 100vh;
  height: 100dvh;
  background: var(--surface, #141416);
  border-left: 1px solid var(--hairline);
  box-shadow: -24px 0 64px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  animation: pdfv-in 0.22s ease-out;
}

@keyframes pdfv-in {
  from {
    transform: translateX(24px);
    opacity: 0.6;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.pdfv-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--hairline);
  flex-wrap: wrap;
}

.pdfv-eyebrow {
  display: block;
  font: 700 11px/1 var(--font-mono, monospace);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-2, #D4A24C);
  margin-bottom: 6px;
}

.pdfv-title {
  display: block;
  font-size: 15px;
  line-height: 1.3;
}

.pdfv-tools {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.pdfv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: var(--radius-sm, 8px);
  border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
  font: 700 12px/1 var(--font-body, inherit);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

a.pdfv-btn:hover,
button.pdfv-btn:hover {
  border-color: var(--gold-2, #D4A24C);
}

.pdfv-close {
  background: var(--gold-grad, #D4A24C);
  color: var(--ink, #111);
  border-color: transparent;
}

.pdfv-body {
  flex: 1;
  min-height: 0;
  background: #0e0e10;
}

.pdfv-body iframe {
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
  display: block;
}

.pdfv-hint {
  margin: 0;
  padding: 10px 16px;
  font-size: 12px;
  color: var(--muted, #A8A29E);
  border-top: 1px solid var(--hairline);
}

@media (max-width: 900px) {
  .pdfv {
    justify-content: stretch;
  }

  .pdfv-panel {
    width: 100vw;
    max-width: 100vw;
    border-left: 0;
    animation: none;
  }

  .pdfv-head {
    padding: 12px;
  }
}

/* ============================================================
   20b. CONTACT REDESIGN (ct-*) — contact.html only
   ============================================================ */
.ct-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr);
  gap: 28px;
  align-items: end;
  margin-top: 18px;
}

.ct-status {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: 16px;
  backdrop-filter: blur(var(--glass-blur-sm));
  -webkit-backdrop-filter: blur(var(--glass-blur-sm));
}

.ct-status ul {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.ct-status li strong {
  display: block;
  font-size: 14px;
}

.ct-status li span {
  font-size: 12px;
  color: var(--muted);
}

.ct-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--hairline-strong);
  background: color-mix(in oklab, var(--surface), var(--fg) 4%);
}

.ct-pill i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #f59e0b;
  flex: none;
}

.ct-pill.on i {
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18);
}

/* Inquiry form first on the page, centered */
.ct-top {
  padding-block: 28px 0;
}

.ct-top-inner {
  max-width: 720px;
}

/* Contact content stacks below the top form */
.ct-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: start;
  max-width: 920px;
  margin-inline: auto;
}

.ct-grid .ct-form {
  order: -1;
  width: 100%;
  max-width: 680px;
  margin-inline: auto;
}

.ct-side .lead {
  margin-bottom: 0;
}

.ct-cards {
  display: grid;
  gap: 10px;
  margin: 18px 0 20px;
}

.ct-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--fg);
  transition: border-color var(--motion-fast) var(--ease-standard), transform var(--motion-fast) var(--ease-standard);
}

.ct-card:hover {
  border-color: var(--hairline-strong);
  transform: translateY(-1px);
}

.ct-card:hover .ct-go {
  color: var(--gold-2);
  transform: translateX(2px);
}

.ct-ic {
  width: 44px;
  height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--surface-warm);
  border: 1px solid rgba(212, 162, 76, 0.24);
  color: var(--gold-2);
}

.ct-card-tx {
  flex: 1;
  min-width: 0;
}

.ct-card-tx strong {
  display: block;
  font-size: 14px;
}

.ct-card-tx small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
  overflow-wrap: anywhere;
}

.ct-go {
  flex: none;
  font-size: 18px;
  color: var(--muted);
  transition: color var(--motion-fast) var(--ease-standard), transform var(--motion-fast) var(--ease-standard);
}

/* Square contact tiles — mobile first: 1 col → 2 col → 3 col */
.ct-tiles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 18px 0 14px;
}

.ct-tile {
  display: grid;
  gap: 6px;
  align-content: start;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 20px 18px;
  color: var(--fg);
  text-decoration: none;
  backdrop-filter: blur(var(--glass-blur-sm));
  -webkit-backdrop-filter: blur(var(--glass-blur-sm));
  transition: border-color var(--motion-fast) var(--ease-standard), transform var(--motion-fast) var(--ease-standard), box-shadow var(--motion-fast) var(--ease-standard);
}

a.ct-tile:hover {
  border-color: var(--hairline-strong);
  transform: translateY(-3px);
  box-shadow: var(--elev-soft), var(--glow-gold);
}

.ct-tile-ic {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--surface-warm);
  border: 1px solid rgba(212, 162, 76, 0.24);
  color: var(--gold-2);
  margin-bottom: 6px;
}

.ct-tile strong {
  font-size: 15px;
  letter-spacing: -0.01em;
}

.ct-tile small {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.ct-tile em {
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-2);
  margin-top: 4px;
}

a.ct-tile:hover em {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ct-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
  background: color-mix(in oklab, var(--surface), var(--gold-2) 6%);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 12px 16px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--fg-2);
}

.ct-strip span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ct-strip span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-2);
  flex: none;
}

@media (min-width: 600px) {
  .ct-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .ct-tiles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Contact template layout (two cards + full-width map), mobile first */
.ct-tpl-head {
  padding-block: 44px 8px;
}

.ct-tpl-head-grid {
  display: grid;
  gap: 12px;
}

.ct-tpl-head h1 {
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1.02;
}

.ct-tpl-head p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  max-width: 52ch;
  align-self: center;
}

.ct-tpl-grid {
  display: grid;
  gap: 22px;
  padding-block: 26px 8px;
}

.ct-tpl-formcard,
.ct-tpl-card {
  background: #f7f7f8;
  color: #17150f;
  border: 1px solid #ececef;
  border-radius: 12px;
  padding: 26px;
  box-shadow: 0 14px 40px rgba(20, 25, 45, 0.06);
}

.ct-tpl-formcard .form-card {
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 0;
}

.ct-tpl-formcard h3,
.ct-tpl-card h2 {
  color: #141414;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid #e2e2e6;
}

.ct-tpl-formcard label {
  color: #141414;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ct-tpl-formcard input,
.ct-tpl-formcard select,
.ct-tpl-formcard textarea {
  background: #fff;
  border: 1px solid #e0e0e4;
  border-radius: 8px;
  color: #141414;
}

.ct-tpl-formcard .form-note,
.ct-tpl-formcard .ct-form-head p {
  color: #6b6b72;
}

.ct-tpl-side {
  display: grid;
  gap: 22px;
  align-content: start;
}

.ct-tpl-rows {
  display: grid;
  gap: 18px;
}

.ct-tpl-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.ct-tpl-ic {
  width: 30px;
  height: 30px;
  flex: none;
  display: grid;
  place-items: center;
  color: #c8102e;
}

.ct-tpl-row strong {
  display: block;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #141414;
}

.ct-tpl-row span {
  display: block;
  font-size: 14px;
  color: #6f6f76;
  margin-top: 3px;
  overflow-wrap: anywhere;
}

.ct-tpl-row a {
  color: #6f6f76;
}

.ct-tpl-row a:hover {
  color: #c8102e;
}

.ct-tpl-branches {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #e2e2e6;
}

.ct-tpl-branches strong {
  display: block;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #141414;
}

.ct-tpl-branches span {
  font-size: 13.5px;
  color: #6f6f76;
}

.ct-tpl-branches a {
  color: #6f6f76;
}

.ct-tpl-branches a:hover {
  color: #c8102e;
}

.ct-tpl-hours {
  display: grid;
  gap: 14px;
}

.ct-tpl-hours strong {
  display: block;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #141414;
}

.ct-tpl-hours span {
  font-size: 14px;
  color: #6f6f76;
}

@media (min-width: 700px) {
  .ct-tpl-head-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .ct-tpl-rows {
    grid-template-columns: 1fr 1fr;
  }

  .ct-tpl-hours {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .ct-tpl-grid {
    grid-template-columns: 1.05fr 1fr;
    align-items: start;
  }
}

/* Contact page stacks on small screens (mobile first) */
@media (max-width: 900px) {

  .ct-grid,
  .ct-hero-grid {
    grid-template-columns: 1fr;
  }

  /* Form first on mobile */
  .ct-grid .ct-form {
    order: -1;
  }
}

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

.ct-trust>div {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  padding: 12px 10px;
  text-align: center;
}

.ct-trust strong {
  display: block;
  font-size: 15px;
}

.ct-trust span {
  font-size: 11.5px;
  color: var(--muted);
}

.ct-form-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.ct-form-head h3 {
  margin: 4px 0 6px;
}

.ct-form-head p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.ct-sla {
  flex: none;
  font: 700 11px/1 var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--gold-grad);
  border-radius: var(--radius-pill);
  padding: 9px 12px;
  white-space: nowrap;
}

.ct-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.ct-prefill {
  margin: 0 0 12px;
  padding: 10px 12px;
  font-size: 13px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--hairline-strong);
  background: var(--surface-warm);
}

.ct-prefill[hidden] {
  display: none;
}

.ct-sticky {
  display: none;
}

@media (max-width: 1024px) {
  .ct-hero-grid {
    grid-template-columns: 1fr;
  }

  .ct-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  body:has(.ct-sticky) .footer {
    margin-bottom: 60px;
  }

  .ct-sticky {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 300;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: color-mix(in oklab, var(--surface-solid), transparent 8%);
    border-top: 1px solid var(--hairline);
    backdrop-filter: blur(var(--glass-blur-sm));
    -webkit-backdrop-filter: blur(var(--glass-blur-sm));
  }

  .ct-sticky a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    border-radius: var(--radius-sm);
    font: 700 14px/1 var(--font-body);
    text-decoration: none;
  }

  .ct-sticky a:first-child {
    background: var(--gold-grad);
    color: var(--ink);
  }

  .ct-sticky a:last-child {
    background: var(--surface);
    border: 1px solid var(--hairline-strong);
    color: var(--fg);
  }
}

@media (max-width: 560px) {
  .ct-row {
    grid-template-columns: 1fr;
  }

  .ct-trust {
    grid-template-columns: 1fr 1fr;
  }

  .ct-trust>div:last-child {
    grid-column: 1 / -1;
  }

  .ct-form-head {
    flex-direction: column;
  }
}

.pd-share {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--muted);
}

.pd-share a {
  color: var(--fg);
  text-decoration: none;
  border-bottom: 1px solid var(--hairline-strong);
}

.pd-share a:hover {
  color: var(--gold-2);
}

/* Fullscreen success popup (contact form) */
.ct-popup {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.ct-popup[hidden] {
  display: none !important;
}

.ct-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 4, 6, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.ct-popup-card {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  background: var(--surface-solid, #16161a);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-lg, 16px);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5), var(--glow-gold);
  padding: 36px 28px 28px;
  text-align: center;
  animation: ct-popup-in 0.25s ease-out;
}

@keyframes ct-popup-in {
  from {
    transform: translateY(16px) scale(0.97);
    opacity: 0;
  }

  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.ct-popup-ic {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold-grad);
  color: var(--ink);
}

.ct-popup-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.ct-popup-card p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 14.5px;
}

/* ============================================================
   21. REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .bt-big .bl {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ============================================================
   23. HITECH-STYLE PRODUCT + PHOTOS GRID (image + navy bar)
   ============================================================ */
.products-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.product-card {
  max-width: none;
  border: 0;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(20, 30, 70, 0.1);
  overflow: hidden;
}

.product-media {
  position: relative;
  overflow: hidden;
  background: #f1f2f4;
}

.product-media img {
  aspect-ratio: 4 / 3;
  object-fit: contain;
  padding: 0;
  transition: transform 0.5s ease;
}

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

.product-media::after {
  content: "View Details →";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #141414;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 1;
  transform: translateY(100%);
  transition: transform 0.35s ease;
  pointer-events: none;
  white-space: nowrap;
}

.product-card:hover .product-media::after,
.product-card:focus-within .product-media::after {
  transform: none;
}

.product-body {
  background: var(--gold-2);
  padding: 18px 14px;
  text-align: center;
}

.product-body h3 {
  color: #141414;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.product-body .chip,
.product-body p,
.product-body .spec-list,
.product-body .card-actions {
  display: none;
}

.gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.g-item {
  border: 0;
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(20, 30, 70, 0.1);
}

.g-item img {
  aspect-ratio: 4 / 3;
  object-fit: contain;
  padding: 0;
  transition: transform 0.5s ease;
}

.g-item .product-media,
.g-item {
  position: relative;
}

.g-item::after {
  content: "View Details →";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #141414;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transform: translateY(100%);
  transition: transform 0.35s ease;
  pointer-events: none;
  white-space: nowrap;
}

.g-item:hover::after,
.g-item:focus-visible::after {
  transform: none;
}

.g-item:hover img {
  transform: scale(1.06);
}

.g-cap {
  background: var(--gold-2);
  color: #141414;
  border: 0;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  padding: 18px 14px;
}

.g-cap small {
  display: none;
}

@media (max-width: 960px) {

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

/* Home product manual slider */
.bt-prodwrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bt-prodwrap .bt-prodvp {
  flex: 1;
  min-width: 0;
}

.bt-prod-arrow {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--hairline-strong);
  background: var(--gold-2);
  color: #141414;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.bt-prod-arrow:hover {
  filter: brightness(1.08);
  transform: scale(1.06);
}

.bt-prod-arrow:disabled {
  opacity: 0.35;
  cursor: default;
  transform: none;
}

/* Home product auto-slider: 3 / 2 / 1 visible, steps every 2s */
.bt-prodvp {
  overflow: hidden;
}

.bt-prodtrack {
  display: flex;
  gap: 26px;
  transition: transform 0.55s ease;
  will-change: transform;
}

.bt-prodtrack .product-card {
  flex: 0 0 calc((100% - 52px) / 3);
  max-width: none;
}

.bt-prodtrack.is-static {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  transform: none !important;
}

.bt-prodtrack.is-static .product-card {
  flex: none;
}

@media (max-width: 960px) {
  .bt-prodtrack {
    gap: 18px;
  }

  .bt-prodtrack .product-card {
    flex-basis: calc((100% - 18px) / 2);
  }
}

@media (max-width: 600px) {
  .bt-prodtrack .product-card {
    flex-basis: 100%;
  }
}

@media (max-width: 600px) {

  .products-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* Touch screens: no hover — remove the slide-up View Details overlay */
@media (hover: none) {

  .product-media::after,
  .g-item::after {
    display: none;
  }
}

/* ============================================================
   22. FULL-SCREEN GALLERY HERO (hitech-style showcase)
   ============================================================ */
.bt-hero {
  position: relative;
  height: calc(100svh - 68px);
  min-height: 560px;
  max-height: 1000px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0b0b0d;
  border-bottom: 1px solid var(--border-soft);
}

.bt-slides {
  position: absolute;
  inset: 0;
  display: flex;
  height: 100%;
  transition: transform 5s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.bt-slide {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
  opacity: 1;
  transform: none;
  transition: none;
  overflow: hidden;
}

.bt-slide.is-active {
  opacity: 1;
  transform: none;
  z-index: 1;
}

.bt-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #0b0b0d;
  transform: scale(1.05);
}

.bt-slide.is-active img {
  animation: bt-kenburns 2.2s ease-in-out forwards;
}

@keyframes bt-kenburns {
  0% {
    transform: scale(1.05);
  }

  50% {
    transform: scale(0.99);
  }

  100% {
    transform: scale(1.02);
  }
}

.bt-shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(5, 5, 8, 0.62) 0%, rgba(5, 5, 8, 0.25) 32%, rgba(5, 5, 8, 0.28) 58%, rgba(5, 5, 8, 0.82) 100%),
    radial-gradient(80% 60% at 20% 80%, rgba(212, 162, 76, 0.16), transparent 70%);
}

.bt-hero-inner {
  position: relative;
  z-index: 3;
  padding-top: 32px;
  padding-bottom: 56px;
  color: #fff;
  width: 100%;
}

.bt-crumb a,
.bt-crumb span {
  color: rgba(255, 255, 255, 0.75);
}

.bt-big {
  color: #fff;
  font-size: clamp(18px, 4.5vw, 68px);
  line-height: 1.05;
  letter-spacing: 0;
  text-transform: uppercase;
  margin: 18px 0 0;
  white-space: nowrap;
  max-width: 100%;
  overflow: visible;
}

.bt-big .bl {
  display: inline-block;
  opacity: 0;
  background: linear-gradient(100deg, #fff 30%, var(--gold-2) 50%, #fff 70%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bt-big .bl.on {
  opacity: 1;
  animation:
    bt-glow 1.6s ease forwards,
    bt-shine 1.4s ease forwards;
}

.bt-big .bt-caret {
  display: inline-block;
  width: 4px;
  height: 0.9em;
  margin-left: 8px;
  vertical-align: -0.08em;
  background: var(--gold-2);
  box-shadow: 0 0 14px rgba(212, 162, 76, 0.9);
  animation: bt-caret 0.7s steps(1) infinite;
}

@keyframes bt-type {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes bt-glow {
  0% {
    text-shadow: 0 0 0 rgba(212, 162, 76, 0);
  }

  30% {
    text-shadow: 0 0 26px rgba(212, 162, 76, 0.85), 0 0 60px rgba(212, 162, 76, 0.35);
  }

  100% {
    text-shadow: 0 0 14px rgba(212, 162, 76, 0.35);
  }
}

@keyframes bt-bl {
  from {
    opacity: 0;
    transform: translateY(40%) rotate(2deg);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes bt-caret {

  0%,
  49% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}

@keyframes bt-shine {
  from {
    background-position: 120% 0;
  }

  to {
    background-position: -120% 0;
  }
}

.bt-tagline {
  margin: 12px 0 0 !important;
  animation: bt-rise 0.4s 0.1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.bt-tagline span {
  display: inline-block;
  background: var(--gold-2);
  color: #141414;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 6px 14px;
  border-radius: 999px;
}

.bt-welcome {
  margin: 10px 0 0 !important;
  color: rgba(255, 255, 255, 0.85) !important;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  animation: bt-rise 0.4s 0.08s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.bt-hero-inner h1 {
  color: #fff;
  font-size: clamp(40px, 7vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 14ch;
  margin: 14px 0 0;
  animation: bt-rise 0.4s 0.16s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.bt-sub {
  color: rgba(255, 255, 255, 0.82) !important;
  max-width: 62ch;
  animation: bt-rise 0.4s 0.24s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.bt-hero-inner .hero-actions {
  animation: bt-rise 0.4s 0.32s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

@keyframes bt-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.bt-hero.swap .bt-big,
.bt-hero.swap .bt-tagline,
.bt-hero.swap .bt-welcome,
.bt-hero.swap .bt-hero-inner h1,
.bt-hero.swap .bt-sub,
.bt-hero.swap .bt-hero-inner .hero-actions {
  animation: bt-rise 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.bt-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.bt-count strong {
  color: #fff;
  font-size: 15px;
}

.bt-cap {
  padding-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bt-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.18);
  z-index: 4;
}

.bt-bar i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--gold-2);
}

.bt-bar.go i {
  animation: bt-progress 5s linear forwards;
}

@keyframes bt-progress {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

.bt-arrow {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  z-index: 5;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(8, 8, 10, 0.45);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background 0.25s, transform 0.25s;
}

.bt-arrow:hover {
  background: rgba(212, 162, 76, 0.85);
  color: #111;
}

.bt-prev {
  left: 18px;
}

.bt-next {
  right: 18px;
}

.bt-dots {
  position: absolute;
  z-index: 5;
  right: 22px;
  bottom: 22px;
  display: flex;
  gap: 8px;
}

.bt-dots button {
  width: 26px;
  height: 4px;
  border-radius: 4px;
  border: 0;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  padding: 0;
}

.bt-dots button.is-on {
  background: var(--gold-2);
}

@media (max-width: 720px) {
  .bt-hero {
    height: calc(100svh - 60px);
    min-height: 520px;
  }

  .bt-hero-inner {
    padding-top: 24px;
    padding-bottom: 52px;
  }

  .bt-company span {
    letter-spacing: 0.22em;
  }

  .bt-big {
    font-size: 18px;
    letter-spacing: 0.02em;
  }

  .bt-tagline span {
    font-size: 13px;
  }

  .bt-big .bt-caret {
    height: 0.95em;
    margin-left: 5px;
  }

  @media (max-width: 380px) {
    .bt-big {
      font-size: 16px;
    }
  }

  .bt-arrow {
    display: none !important;
  }

  .bt-cap {
    display: none;
  }
}

/* Below-hero redesigned layout */
.bt-below {
  position: relative;
  z-index: 5;
  margin-top: 0;
  padding-block: 48px;
}

.bt-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.bt-stat {
  position: relative;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 18px 50px rgba(20, 30, 70, 0.1);
  padding: 34px 30px 30px;
  overflow: hidden;
}

.bt-stat-num {
  display: flex;
  align-items: flex-start;
  color: #f26522;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(38px, 3.6vw, 52px);
  line-height: 1;
  letter-spacing: -0.02em;
}

.bt-stat-num em {
  font-style: normal;
  font-size: 0.75em;
  margin-top: 2px;
  margin-left: 2px;
}

.bt-stat span {
  display: block;
  margin-top: 10px;
  color: #1b2a6b;
  font-weight: 600;
  font-size: 15px;
}

.bt-stat svg {
  position: absolute;
  right: -14px;
  top: 50%;
  translate: 0 -50%;
  width: 130px;
  height: 130px;
  color: #e8eaf1;
  pointer-events: none;
}

[data-theme="light"] .bt-stat {
  box-shadow: 0 18px 50px rgba(20, 30, 70, 0.12);
}

.bt-tiles-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin: 30px 0 14px;
}

.bt-tiles-head h2 {
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: -0.02em;
}

.bt-tiles-head p {
  color: var(--muted);
  font-size: 14px;
  max-width: 52ch;
}

.bt-ranges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  border: 1px solid #e5ddc9;
  border-radius: 18px;
  padding: 16px;
  background: rgba(250, 247, 240, 0.6);
}

.bt-range {
  background: #fff;
  border: 1px solid #eee9db;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(30, 25, 10, 0.06);
  padding: 20px 18px 18px;
  text-align: center;
  display: grid;
  gap: 4px;
  align-content: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.bt-range:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(30, 25, 10, 0.1);
}

.bt-range span {
  color: #111;
  font-weight: 700;
  font-size: 15px;
}

.bt-range small {
  color: #8a8577;
  font-size: 13px;
}

[data-theme="light"] .bt-ranges {
  background: #faf7f0;
}

@media (max-width: 960px) {
  .bt-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .bt-below {
    padding-block: 36px;
  }

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

  .bt-ranges {
    grid-template-columns: 1fr;
  }

  .bt-tiles-head {
    flex-direction: column;
    align-items: start;
  }
}