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

/* ============================================================
   DUMPY DEFENSE — DESIGN SYSTEM
   ============================================================ */

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

/* ── 1. DESIGN TOKENS ─────────────────────────────────────── */

:root {
  /* Background Layers */
  --bg:           #07070a;
  --surface:      #0f0f14;
  --surface-2:    #161620;
  --surface-3:    #1e1e2a;

  /* Borders */
  --border:       #252530;
  --border-sub:   #1a1a24;

  /* Text */
  --text-1:       #f0f0f5;
  --text-2:       #9090aa;
  --text-3:       #555568;

  /* Accent — precision bronze */
  --accent:       #c49a3c;
  --accent-hi:    #d4aa52;
  --accent-lo:    rgba(196,154,60,.10);
  --accent-bd:    rgba(196,154,60,.28);

  /* Status */
  --ok:    #2d9e6b;
  --warn:  #e09b2d;
  --err:   #e05252;

  /* Type */
  --font: 'Inter', 'Helvetica Neue', Arial, sans-serif;

  /* Spacing scale */
  --s1:  0.5rem;
  --s2:  1rem;
  --s3:  1.5rem;
  --s4:  2rem;
  --s5:  3rem;
  --s6:  5rem;
  --s7:  8rem;

  /* Radius */
  --r1:  2px;
  --r2:  4px;
  --r3:  8px;
  --r4:  12px;

  /* Transitions */
  --ease: cubic-bezier(.4,0,.2,1);
  --t1:  120ms;
  --t2:  220ms;
  --t3:  380ms;

  /* Container */
  --max:   1280px;
  --gutter: clamp(1.25rem, 5vw, 2.5rem);

  /* Z */
  --z-nav:    100;
  --z-modal:  200;
  --z-toast:  300;
}

/* ── 2. RESET ─────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-1);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.15; letter-spacing: -0.025em; }

/* ── 3. TYPOGRAPHY ────────────────────────────────────────── */

.display-1 {
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.0;
}
.display-2 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
}
.headline {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}
.subhead {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.label-lg {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.body-lg { font-size: 1.1rem; line-height: 1.7; }
.body-sm { font-size: 0.875rem; line-height: 1.6; }
.mono {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.85em;
}

/* ── 4. LAYOUT ────────────────────────────────────────────── */

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s4); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s3); }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-1 { gap: var(--s1); }
.gap-2 { gap: var(--s2); }
.gap-3 { gap: var(--s3); }

.section { padding-block: var(--s6); }
.section-sm { padding-block: var(--s5); }
.section-lg { padding-block: var(--s7); }

/* ── 5. UTILITIES ─────────────────────────────────────────── */

.accent   { color: var(--accent); }
.muted    { color: var(--text-2); }
.sr-only  { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }

.text-center { text-align: center; }
.text-right  { text-align: right; }

.divider {
  height: 1px;
  background: var(--border);
  border: none;
}
.divider-accent {
  height: 1px;
  background: linear-gradient(90deg, var(--accent) 0%, transparent 100%);
  border: none;
  width: 3rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.25em 0.75em;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r1);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
}
.tag-accent {
  background: var(--accent-lo);
  border-color: var(--accent-bd);
  color: var(--accent);
}
.tag-ok {
  background: rgba(45,158,107,.1);
  border-color: rgba(45,158,107,.3);
  color: var(--ok);
}
.tag-warn {
  background: rgba(224,155,45,.1);
  border-color: rgba(224,155,45,.3);
  color: var(--warn);
}

/* ── 6. BUTTONS ───────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85em 1.75em;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--r1);
  cursor: pointer;
  transition: background var(--t1) var(--ease),
              border-color var(--t1) var(--ease),
              color var(--t1) var(--ease),
              transform var(--t1) var(--ease),
              box-shadow var(--t1) var(--ease);
  white-space: nowrap;
  user-select: none;
  -webkit-user-select: none;
  position: relative;
  overflow: hidden;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #07070a;
}
.btn-primary:hover {
  background: var(--accent-hi);
  border-color: var(--accent-hi);
  box-shadow: 0 0 24px rgba(196,154,60,.3);
}

.btn-outline {
  background: transparent;
  border-color: var(--accent-bd);
  color: var(--accent);
}
.btn-outline:hover {
  background: var(--accent-lo);
  border-color: var(--accent);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text-1);
}
.btn-ghost:hover {
  background: var(--surface-2);
  border-color: var(--border);
}

.btn-white {
  background: var(--text-1);
  border-color: var(--text-1);
  color: var(--bg);
}
.btn-white:hover {
  background: #fff;
  border-color: #fff;
}

.btn-lg {
  padding: 1em 2.4em;
  font-size: 0.88rem;
}
.btn-sm {
  padding: 0.6em 1.2em;
  font-size: 0.75rem;
}
.btn-full { width: 100%; }

.btn-icon {
  padding: 0.75em;
  aspect-ratio: 1;
}
.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

/* ── 7. ANNOUNCEMENT BAR ──────────────────────────────────── */

.announcement-bar {
  position: relative;
  z-index: var(--z-nav);
  /* "Dumpy Defense" centered both horizontally and vertically */
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.5rem var(--gutter);
  overflow: hidden;
  /* luxurious gold with a soft radiant shine lit from the top */
  background:
    radial-gradient(75% 165% at 50% -25%, rgba(255,247,222,.55) 0%, rgba(255,247,222,0) 55%),
    linear-gradient(180deg, #d8af55 0%, #c69b3d 48%, #b6892e 100%);
  border-bottom: 1px solid rgba(0,0,0,.14);
}
/* a soft sheen layer over the gold — luminous, never flashy */
.announcement-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg,
    transparent 38%, rgba(255,252,243,.32) 50%, transparent 62%);
  background-size: 250% 100%;
  background-position: 135% 0;
}
/* the brand wordmark — the star */
.ann-brand {
  position: relative;          /* above the sheen */
  z-index: 1;
  font-weight: 800;
  font-size: clamp(0.86rem, 2.7vw, 1.04rem);
  letter-spacing: clamp(0.14em, 1vw, 0.26em);
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
  text-decoration: none;
  color: #1a1206;              /* deep warm near-black — rich, readable on gold */
}

/* ── 8. NAVIGATION ────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  background: rgba(7,7,10,.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-sub);
  transition: background var(--t2) var(--ease),
              border-color var(--t2) var(--ease);
}
.site-header.scrolled {
  background: rgba(7,7,10,.97);
  border-color: var(--border);
}

.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 68px;
  gap: var(--s3);
}

.nav-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-logo img {
  height: 36px;
  width: auto;
  filter: brightness(1.1);
}
.nav-logo-text {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-1);
}
.nav-logo-text span { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  order: -1;
}
.nav-links a {
  padding: 0.5rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-2);
  border-radius: var(--r2);
  transition: color var(--t1) var(--ease),
              background var(--t1) var(--ease);
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text-1);
  background: var(--surface-2);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  justify-content: flex-end;
}
.nav-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--r2);
  color: var(--text-2);
  border: none;
  background: transparent;
  cursor: pointer;
  transition: color var(--t1) var(--ease),
              background var(--t1) var(--ease);
  position: relative;
}
.nav-action-btn:hover {
  color: var(--text-1);
  background: var(--surface-2);
}
.nav-action-btn svg { width: 18px; height: 18px; }

.cart-count {
  position: absolute;
  top: 4px; right: 4px;
  min-width: 16px;
  height: 16px;
  background: var(--accent);
  color: #07070a;
  font-size: 0.6rem;
  font-weight: 800;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  line-height: 1;
  pointer-events: none;
}
.cart-count[data-count="0"] { display: none; }

.nav-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-1);
  border-radius: var(--r2);
}
.nav-menu-btn:hover { background: var(--surface-2); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: calc(var(--z-nav) + 10);
  flex-direction: column;
  padding: var(--s4) var(--gutter);
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--s5);
}
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: var(--s1);
  flex: 1;
}
.mobile-nav-links a {
  display: block;
  padding: var(--s2) 0;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-2);
  border-bottom: 1px solid var(--border-sub);
  transition: color var(--t1) var(--ease);
}
.mobile-nav-links a:hover { color: var(--text-1); }
.mobile-nav-footer {
  padding-top: var(--s4);
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}
.mobile-nav-footer .btn { justify-content: center; }

/* ── 9. HERO ──────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--bg);
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 50%,
    rgba(196,154,60,.07) 0%,
    transparent 70%);
  pointer-events: none;
}
.hero-bg-image {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.18;
  filter: grayscale(80%) contrast(1.1);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: var(--s3);
}
.hero-eyebrow-line {
  width: 2.5rem;
  height: 1px;
  background: var(--accent);
}
.hero-eyebrow-text {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1 {
  font-size: clamp(3.2rem, 8vw, 7rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin-bottom: var(--s3);
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-2);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: var(--s4);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--s2);
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: var(--gutter);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-3);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero-scroll-line {
  width: 2rem;
  height: 1px;
  background: var(--text-3);
}

/* ── 10. SECTION HEADERS ──────────────────────────────────── */

.section-header {
  margin-bottom: var(--s5);
}
.section-header.centered {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: var(--s5);
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: var(--s2);
}
.section-eyebrow .line {
  width: 1.5rem;
  height: 1px;
  background: var(--accent);
}
.section-eyebrow-text {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-bottom: var(--s2);
}
.section-desc {
  font-size: 1.05rem;
  color: var(--text-2);
  line-height: 1.75;
  max-width: 600px;
}
.centered .section-desc {
  margin-inline: auto;
}

/* ── 11. FEATURE GRID ─────────────────────────────────────── */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r3);
  overflow: hidden;
}
.feature-item {
  background: var(--surface);
  padding: var(--s4) var(--s3);
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  transition: background var(--t2) var(--ease);
}
.feature-item:hover { background: var(--surface-2); }
.feature-icon {
  width: 42px;
  height: 42px;
  background: var(--accent-lo);
  border: 1px solid var(--accent-bd);
  border-radius: var(--r2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.feature-icon svg { width: 18px; height: 18px; }
.feature-title {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.feature-desc {
  font-size: 0.82rem;
  color: var(--text-2);
  line-height: 1.65;
}

/* ── 12. PRODUCT CARDS ────────────────────────────────────── */

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

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r3);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--t2) var(--ease),
              transform var(--t2) var(--ease),
              box-shadow var(--t2) var(--ease);
  position: relative;
}
.product-card:hover {
  border-color: var(--accent-bd);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,0,0,.4), 0 0 0 1px var(--accent-bd);
}
.product-card:hover .product-image { opacity: 1; }

.product-image-wrap {
  position: relative;
  aspect-ratio: 1/1;
  background: var(--surface-2);
  overflow: hidden;
}
.product-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.9;
  transition: opacity var(--t2) var(--ease), transform var(--t3) var(--ease);
}
.product-card:hover .product-image { transform: scale(1.03); }

.product-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s1);
  color: var(--text-3);
}
.product-image-placeholder svg { width: 32px; height: 32px; opacity: 0.5; }

.product-badge {
  position: absolute;
  top: var(--s2);
  left: var(--s2);
}

.product-body {
  padding: var(--s3);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--s1);
}

.product-platform {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.product-name {
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: var(--text-1);
}

.product-desc {
  font-size: 0.82rem;
  color: var(--text-2);
  line-height: 1.6;
  flex: 1;
  margin-top: var(--s1);
}

.product-footer {
  padding: var(--s2) var(--s3) var(--s3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s2);
  border-top: 1px solid var(--border-sub);
}

.product-price {
  display: flex;
  flex-direction: column;
  gap: 0.1em;
}
.product-price-value {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-1);
}
.product-price-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* ── 13. PRODUCT DETAIL PAGE ──────────────────────────────── */

.product-detail {
  padding-block: var(--s5);
}
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s6);
  align-items: start;
}
.product-gallery {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}
.product-main-image {
  position: relative;
  aspect-ratio: 1/1;
  max-height: 600px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r3);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-main-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.product-main-image-placeholder {
  color: var(--text-3);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s2);
  padding: var(--s5);
}
.product-main-image-placeholder svg { width: 48px; height: 48px; opacity: 0.4; }

/* ── Product gallery: thumbnail strip + prev/next arrows ─────────────
   Rendered by renderProductPage() in main.js only when a product has
   more than one photo (product.images.length > 1). ─────────────── */
.product-thumbs {
  display: flex;
  gap: var(--s1);
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
}
.product-thumbs::-webkit-scrollbar { display: none; }
.product-thumb {
  width: 68px;
  height: 68px;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: var(--r2);
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  opacity: .65;
  scroll-snap-align: start;
  transition: opacity var(--t1) var(--ease), border-color var(--t1) var(--ease), box-shadow var(--t1) var(--ease);
}
.product-thumb:hover { opacity: 1; border-color: var(--border-sub); }
.product-thumb.active {
  opacity: 1;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent-bd);
}
.product-thumb:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.product-gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(10,10,14,.68);
  color: var(--text-1);
  font-size: 1.2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color var(--t1) var(--ease), background var(--t1) var(--ease), color var(--t1) var(--ease);
}
.product-gallery-arrow:hover,
.product-gallery-arrow:focus-visible {
  border-color: var(--accent-bd);
  background: rgba(10,10,14,.85);
  color: var(--accent);
}
.product-gallery-arrow-prev { left: var(--s2); }
.product-gallery-arrow-next { right: var(--s2); }

@media (max-width: 480px) {
  .product-thumb { width: 56px; height: 56px; }
  .product-gallery-arrow { width: 30px; height: 30px; font-size: 1rem; }
}

.product-info {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  position: sticky;
  top: calc(68px + var(--s3));
}

.product-category-badge {
  display: inline-flex;
}

.product-info h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.product-price-display {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.product-price-main {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-1);
}
.product-price-note {
  font-size: 0.8rem;
  color: var(--text-2);
}

.product-status-row {
  display: flex;
  align-items: center;
  gap: var(--s2);
  flex-wrap: wrap;
}

.product-desc-block {
  font-size: 0.95rem;
  color: var(--text-2);
  line-height: 1.75;
  border-top: 1px solid var(--border-sub);
  padding-top: var(--s3);
}

.product-variants {
  display: flex;
  flex-direction: column;
  gap: var(--s1);
}
.product-variants-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
}
.variant-options {
  display: flex;
  gap: var(--s1);
  flex-wrap: wrap;
}
.variant-btn {
  padding: 0.5em 1.2em;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-2);
  cursor: pointer;
  transition: all var(--t1) var(--ease);
}
.variant-btn:hover,
.variant-btn.selected {
  background: var(--accent-lo);
  border-color: var(--accent-bd);
  color: var(--accent);
}

.product-features-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  border-top: 1px solid var(--border-sub);
  padding-top: var(--s3);
}
.product-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: var(--text-2);
}
.product-features-list li::before {
  content: '';
  display: block;
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
  margin-top: 0.55em;
  flex-shrink: 0;
}

.product-materials {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: var(--s2) var(--s3);
  display: flex;
  gap: var(--s2);
  align-items: flex-start;
}
.product-materials-icon { color: var(--accent); margin-top: 1px; flex-shrink: 0; }
.product-materials-icon svg { width: 16px; height: 16px; }
.product-materials-text {
  font-size: 0.82rem;
  color: var(--text-2);
  line-height: 1.6;
}
.product-materials-text strong {
  display: block;
  color: var(--text-1);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.25em;
}

.add-to-cart-section {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  border-top: 1px solid var(--border-sub);
  padding-top: var(--s3);
}
.quantity-row {
  display: flex;
  align-items: center;
  gap: var(--s2);
}
.qty-control {
  display: flex;
  align-items: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  overflow: hidden;
}
.qty-btn {
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-2);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t1) var(--ease);
}
.qty-btn:hover { background: var(--surface-3); color: var(--text-1); }
.qty-display {
  width: 44px;
  text-align: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-1);
  border: none;
  background: transparent;
  pointer-events: none;
}

.shipping-note {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  color: var(--text-2);
}
.shipping-note svg { color: var(--ok); flex-shrink: 0; }
.shipping-note strong { color: var(--text-1); }

.product-compliance {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--border);
  border-radius: var(--r2);
  padding: var(--s2) var(--s3);
  font-size: 0.78rem;
  color: var(--text-3);
  line-height: 1.65;
}

/* ── 14. SHOP PAGE FILTERS ────────────────────────────────── */

.shop-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--s5);
  align-items: start;
}

.shop-sidebar {
  position: sticky;
  top: calc(68px + var(--s3));
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}

/* ── Shop mobile category quick-filter strip ───────────────────
   Horizontal, scrollable chip row. Each chip keeps its natural
   width (flex:0 0 auto) so labels are never squished or clipped —
   the row scrolls instead. */
.mobile-cats {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  padding-bottom: var(--s2);
  margin-bottom: var(--s3);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
}
.mobile-cats::-webkit-scrollbar { display: none; }
.mobile-cats > .btn {
  flex: 0 0 auto;          /* never shrink — prevents squishing/truncation */
  scroll-snap-align: start;
}

@media (max-width: 768px) {
  .mobile-cats {
    gap: 0.55rem;
    /* bleed to the screen edges so the first/last chip isn't cramped */
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
  }
  .mobile-cats > .btn {
    font-size: 0.85rem;     /* up from 0.75rem — legible */
    padding: 0.7em 1.05em;  /* clear padding around each label */
    min-height: 42px;       /* comfortable tap target */
    letter-spacing: 0.03em; /* relax the 0.08em uppercase tracking */
  }
}

.filter-group {
  border: 1px solid var(--border);
  border-radius: var(--r3);
  overflow: hidden;
}
.filter-group-title {
  padding: var(--s2) var(--s3);
  background: var(--surface);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
  border-bottom: 1px solid var(--border);
}
.filter-options {
  background: var(--surface);
}
.filter-option {
  display: flex;
  align-items: center;
  gap: var(--s2);
  padding: 0.65rem var(--s3);
  cursor: pointer;
  transition: background var(--t1) var(--ease);
  border-bottom: 1px solid var(--border-sub);
}
.filter-option:last-child { border-bottom: none; }
.filter-option:hover { background: var(--surface-2); }
.filter-option input[type="radio"],
.filter-option input[type="checkbox"] {
  accent-color: var(--accent);
  width: 14px;
  height: 14px;
  cursor: pointer;
}
.filter-option-label {
  font-size: 0.82rem;
  color: var(--text-2);
  flex: 1;
  cursor: pointer;
}
.filter-option:hover .filter-option-label { color: var(--text-1); }
.filter-option-count {
  font-size: 0.7rem;
  color: var(--text-3);
}

.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--s3);
  flex-wrap: wrap;
  gap: var(--s2);
}
.shop-count {
  font-size: 0.82rem;
  color: var(--text-2);
}
.shop-count strong { color: var(--text-1); }

.shop-sort {
  padding: 0.5em 1em;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  font-size: 0.82rem;
  color: var(--text-1);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23555568' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75em center;
  padding-right: 2.5em;
}
.shop-sort:focus { outline: none; border-color: var(--accent-bd); }

/* ── 15. WHY CHOOSE GRID ──────────────────────────────────── */

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s3);
}
.why-item {
  padding: var(--s4);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r3);
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  transition: border-color var(--t2) var(--ease),
              background var(--t2) var(--ease);
}
.why-item:hover {
  border-color: var(--accent-bd);
  background: var(--surface-2);
}
.why-item-number {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.why-item h3 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.why-item p {
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.7;
}

/* ── 16. SPLIT SECTION ────────────────────────────────────── */

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s6);
  align-items: center;
}
.split-section.reverse .split-content { order: 1; }
.split-section.reverse .split-visual { order: 0; }

.split-visual {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r3);
  overflow: hidden;
}
.split-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  filter: grayscale(30%);
}
.split-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(196,154,60,.05) 0%, transparent 60%);
}

.split-content {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}
.split-content .section-desc {
  max-width: 100%;
}

.spec-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--r2);
  overflow: hidden;
}
.spec-row {
  display: flex;
  align-items: baseline;
  padding: 0.75rem var(--s3);
  border-bottom: 1px solid var(--border-sub);
  gap: var(--s3);
}
.spec-row:last-child { border-bottom: none; }
.spec-key {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  flex: 0 0 140px;
}
.spec-val {
  font-size: 0.85rem;
  color: var(--text-1);
  font-weight: 500;
}

/* ── 17. TESTIMONIALS ─────────────────────────────────────── */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--s3);
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r3);
  overflow: hidden;
  transition: border-color var(--t2) var(--ease);
}
.testimonial-card:hover { border-color: var(--accent-bd); }

.testimonial-image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  opacity: 0.85;
  filter: grayscale(20%);
  display: block;
}
.testimonial-body {
  padding: var(--s3);
}
.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: var(--s1);
  color: var(--accent);
}
.testimonial-quote {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.7;
  font-style: italic;
}
.testimonial-author {
  margin-top: var(--s2);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* ── 18. FAQ ──────────────────────────────────────────────── */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--r3);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--border-sub);
}
.faq-item:last-child { border-bottom: none; }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  padding: var(--s3) var(--s4);
  cursor: pointer;
  background: var(--surface);
  transition: background var(--t1) var(--ease);
  user-select: none;
  -webkit-user-select: none;
}
.faq-question:hover { background: var(--surface-2); }
.faq-question-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-1);
  letter-spacing: -0.01em;
}
.faq-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--accent);
  transition: transform var(--t2) var(--ease);
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 var(--s4) var(--s4);
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.75;
  background: var(--surface);
}
.faq-item.open .faq-answer { display: block; }

/* ── 19. NEWSLETTER / CTA ─────────────────────────────────── */

.newsletter-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s5);
  align-items: center;
  padding-block: var(--s5);
}
.newsletter-form {
  display: flex;
  gap: var(--s1);
}
.newsletter-input {
  flex: 1;
  padding: 0.85em 1.2em;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r1);
  color: var(--text-1);
  font-size: 0.88rem;
  transition: border-color var(--t1) var(--ease);
  outline: none;
}
.newsletter-input::placeholder { color: var(--text-3); }
.newsletter-input:focus { border-color: var(--accent-bd); }

.cta-section {
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse 80% 100% at 80% 50%, rgba(196,154,60,.06) 0%, transparent 70%);
  pointer-events: none;
}
.cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--s5);
  align-items: center;
  padding-block: var(--s6);
}

/* ── 20. FORMS ────────────────────────────────────────────── */

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
}
.form-label span { color: var(--err); margin-left: 0.2em; }
.form-input,
.form-textarea,
.form-select {
  padding: 0.85em 1.1em;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  color: var(--text-1);
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--t1) var(--ease),
              box-shadow var(--t1) var(--ease);
  width: 100%;
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--text-3); }
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--accent-bd);
  box-shadow: 0 0 0 3px var(--accent-lo);
}
.form-textarea { resize: vertical; min-height: 130px; }
.form-hint {
  font-size: 0.75rem;
  color: var(--text-3);
  line-height: 1.5;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s3);
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r3);
  padding: var(--s5);
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}

/* ── 21. FOOTER ───────────────────────────────────────────── */

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding-top: var(--s6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--s5);
  padding-bottom: var(--s5);
  border-bottom: 1px solid var(--border-sub);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}
.footer-logo img {
  height: 32px;
  width: auto;
  filter: brightness(0.8);
}
.footer-tagline {
  font-size: 0.82rem;
  color: var(--text-3);
  line-height: 1.65;
  max-width: 280px;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-contact a {
  font-size: 0.82rem;
  color: var(--text-2);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color var(--t1) var(--ease);
}
.footer-contact a:hover { color: var(--accent); }
.footer-contact svg { width: 13px; height: 13px; flex-shrink: 0; }

.footer-social {
  display: flex;
  gap: var(--s1);
  margin-top: var(--s1);
}
.footer-social a {
  width: 34px;
  height: 34px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  transition: all var(--t1) var(--ease);
}
.footer-social a:hover {
  background: var(--accent-lo);
  border-color: var(--accent-bd);
  color: var(--accent);
}
.footer-social svg { width: 15px; height: 15px; }

.footer-col-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-1);
  margin-bottom: var(--s2);
}
.footer-col-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-col-links a {
  font-size: 0.82rem;
  color: var(--text-3);
  transition: color var(--t1) var(--ease);
}
.footer-col-links a:hover { color: var(--text-1); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--s3);
  flex-wrap: wrap;
  gap: var(--s2);
}
.footer-copy {
  font-size: 0.75rem;
  color: var(--text-3);
}
.footer-payment img {
  height: 22px;
  opacity: 0.5;
  filter: grayscale(1);
  transition: opacity var(--t1) var(--ease), filter var(--t1) var(--ease);
}
.footer-payment img:hover { opacity: 0.8; filter: none; }

/* ── 22. CART PAGE ────────────────────────────────────────── */

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: var(--s4);
  align-items: start;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--r3);
  overflow: hidden;
}
.cart-header-row {
  display: grid;
  grid-template-columns: 1fr 100px 100px 40px;
  gap: var(--s2);
  padding: var(--s2) var(--s3);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  align-items: center;
}
.cart-item {
  display: grid;
  grid-template-columns: 1fr 100px 100px 40px;
  gap: var(--s2);
  padding: var(--s3);
  background: var(--surface);
  border-bottom: 1px solid var(--border-sub);
  align-items: center;
}
.cart-item:last-child { border-bottom: none; }
.cart-item-info {
  display: flex;
  gap: var(--s2);
  align-items: center;
}
.cart-item-img {
  width: 60px;
  height: 60px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  flex-shrink: 0;
  overflow: hidden;
  object-fit: contain;
}
.cart-item-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-1);
  letter-spacing: -0.01em;
}
.cart-item-variant {
  font-size: 0.75rem;
  color: var(--text-3);
  margin-top: 0.2em;
}
.cart-item-price {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-1);
}
.cart-remove-btn {
  background: transparent;
  border: none;
  color: var(--text-3);
  cursor: pointer;
  padding: 0.25rem;
  border-radius: var(--r1);
  transition: color var(--t1) var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-remove-btn:hover { color: var(--err); }
.cart-remove-btn svg { width: 16px; height: 16px; }

.cart-empty {
  padding: var(--s7);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s3);
}
.cart-empty svg {
  width: 56px;
  height: 56px;
  color: var(--text-3);
  opacity: 0.5;
}
.cart-empty h3 { font-size: 1.2rem; font-weight: 700; }
.cart-empty p { color: var(--text-2); font-size: 0.9rem; }

.cart-summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r3);
  padding: var(--s4);
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  position: sticky;
  top: calc(68px + var(--s3));
}
.cart-summary-title {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-2);
}
.summary-row.total {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-1);
  padding-top: var(--s2);
  border-top: 1px solid var(--border);
}
.summary-shipping-note {
  font-size: 0.75rem;
  color: var(--ok);
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.summary-shipping-note svg { width: 12px; height: 12px; }

/* ── 23. PAGE HERO (inner pages) ──────────────────────────── */

.page-hero {
  padding: var(--s6) 0 var(--s5);
  border-bottom: 1px solid var(--border-sub);
  position: relative;
  overflow: hidden;
}
/* Content sits above the ambient WebGL canvas (z-index: 0) */
.page-hero > .container {
  position: relative;
  z-index: 1;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse 70% 100% at 90% 50%, rgba(196,154,60,.04) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: var(--s3);
}
.page-hero-breadcrumb a:hover { color: var(--accent); }
.page-hero-breadcrumb span { color: var(--text-1); }
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: var(--s2);
}
.page-hero p {
  font-size: 1rem;
  color: var(--text-2);
  max-width: 560px;
  line-height: 1.75;
}

/* ── 24. POLICY PAGES ─────────────────────────────────────── */

.policy-body {
  max-width: 760px;
}
.policy-body h2 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-top: var(--s5);
  margin-bottom: var(--s2);
  color: var(--text-1);
}
.policy-body h2:first-child { margin-top: 0; }
.policy-body p {
  font-size: 0.92rem;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: var(--s2);
}
.policy-body ul,
.policy-body ol {
  list-style: disc;
  padding-left: 1.5em;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: var(--s3);
}
.policy-body li {
  font-size: 0.92rem;
  color: var(--text-2);
  line-height: 1.7;
}
.policy-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── 25. CONTACT PAGE ─────────────────────────────────────── */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s6);
  align-items: start;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--s4);
}
.contact-info-item {
  display: flex;
  gap: var(--s2);
  align-items: flex-start;
}
.contact-info-icon {
  width: 38px;
  height: 38px;
  background: var(--accent-lo);
  border: 1px solid var(--accent-bd);
  border-radius: var(--r2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.contact-info-icon svg { width: 16px; height: 16px; }
.contact-info-text h3 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 0.3em;
}
.contact-info-text p,
.contact-info-text a {
  font-size: 0.92rem;
  color: var(--text-1);
  transition: color var(--t1) var(--ease);
}
.contact-info-text a:hover { color: var(--accent); }

.hours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
}
.hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-2);
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border-sub);
}

/* ── 26. HOW TARS WORK ────────────────────────────────────── */

.mechanism-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--r3);
  overflow: hidden;
}
.mechanism-step {
  display: grid;
  grid-template-columns: 60px 1fr;
  align-items: start;
  background: var(--surface);
  border-bottom: 1px solid var(--border-sub);
  overflow: hidden;
}
.mechanism-step:last-child { border-bottom: none; }
.step-number {
  padding: var(--s3);
  background: var(--surface-2);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: var(--text-3);
  text-align: center;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--border-sub);
}
.step-content {
  padding: var(--s3) var(--s4);
}
.step-content h3 {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}
.step-content p {
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.7;
}

/* ── 27. INSTALLATIONS ────────────────────────────────────── */

.installations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--s3);
}
.install-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r3);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--t2) var(--ease),
              transform var(--t2) var(--ease);
}
.install-card:hover {
  border-color: var(--accent-bd);
  transform: translateY(-2px);
}
.install-thumb {
  aspect-ratio: 16/9;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.install-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}
.play-btn {
  position: absolute;
  width: 50px;
  height: 50px;
  background: rgba(196,154,60,.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #07070a;
  transition: transform var(--t2) var(--ease), background var(--t2) var(--ease);
}
.install-card:hover .play-btn {
  transform: scale(1.1);
  background: var(--accent-hi);
}
.play-btn svg { width: 20px; height: 20px; margin-left: 3px; }
.install-body {
  padding: var(--s3);
  display: flex;
  flex-direction: column;
  gap: var(--s1);
  flex: 1;
}
.install-body h3 {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.install-body p {
  font-size: 0.8rem;
  color: var(--text-2);
}

/* ── 28. ACCOUNT PAGE ─────────────────────────────────────── */

.account-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--s4);
  gap: var(--s1);
}
.account-tab {
  padding: 0.75rem 1.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-2);
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color var(--t1) var(--ease), border-color var(--t1) var(--ease);
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
  margin-bottom: -1px;
}
.account-tab:hover { color: var(--text-1); }
.account-tab.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* ── 29. WHOLESALE / AFFILIATES ───────────────────────────── */

.program-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s3);
}
.benefit-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r3);
  padding: var(--s4);
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}
.benefit-num {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: var(--accent-bd);
  line-height: 1;
}
.benefit-title {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.benefit-desc {
  font-size: 0.82rem;
  color: var(--text-2);
  line-height: 1.7;
}

/* ── 30. TOAST NOTIFICATIONS ──────────────────────────────── */

.toast-container {
  position: fixed;
  bottom: var(--s4);
  right: var(--gutter);
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: var(--s1);
  pointer-events: none;
}
.toast {
  padding: var(--s2) var(--s3);
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-radius: var(--r3);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-1);
  display: flex;
  align-items: center;
  gap: var(--s2);
  pointer-events: auto;
  animation: slideIn var(--t2) var(--ease);
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
}
.toast.success { border-left: 3px solid var(--ok); }
.toast.error   { border-left: 3px solid var(--err); }
.toast svg { width: 16px; height: 16px; flex-shrink: 0; }
.toast.success svg { color: var(--ok); }
.toast.error svg   { color: var(--err); }

@keyframes slideIn {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ── 31. STATES ───────────────────────────────────────────── */

.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s6);
  color: var(--text-3);
}
.spinner {
  width: 24px;
  height: 24px;
  border: 2px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.empty-state {
  text-align: center;
  padding: var(--s7) var(--s4);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s3);
}
.empty-state svg { width: 48px; height: 48px; color: var(--text-3); opacity: 0.4; }
.empty-state h3 { font-size: 1.1rem; }
.empty-state p { font-size: 0.88rem; color: var(--text-2); }

/* ── 32. SCROLL ANIMATIONS ────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--t3) var(--ease), transform var(--t3) var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }
.reveal-delay-4 { transition-delay: 320ms; }

/* ── 33. RESTRICTED STATES NOTICE ────────────────────────── */

.state-restriction-notice {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r3);
  padding: var(--s3) var(--s4);
  display: flex;
  gap: var(--s3);
  align-items: flex-start;
}
.state-restriction-icon {
  color: var(--warn);
  flex-shrink: 0;
  margin-top: 2px;
}
.state-restriction-icon svg { width: 18px; height: 18px; }
.state-restriction-text h4 {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.state-restriction-text p {
  font-size: 0.8rem;
  color: var(--text-2);
  line-height: 1.65;
}

/* ── 34. RESPONSIVE ───────────────────────────────────────── */

@media (max-width: 1024px) {
  .shop-layout {
    grid-template-columns: 1fr;
  }
  .shop-sidebar {
    position: static;
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--s4);
  }
  .product-detail-grid {
    grid-template-columns: 1fr;
  }
  .product-info {
    position: static;
  }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-menu-btn { display: flex; }

  .nav-inner {
    grid-template-columns: auto 1fr auto;
  }
  .nav-logo { justify-content: flex-start; }

  .hero {
    min-height: 85vh;
  }

  .split-section,
  .contact-layout,
  .newsletter-inner,
  .cta-inner,
  .why-grid,
  .program-benefits,
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

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

  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .cart-header-row { display: none; }
  .cart-item {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
  }
  .cart-item-info { grid-column: 1 / -1; }

  .form-grid-2 { grid-template-columns: 1fr; }

  .product-detail-grid { gap: var(--s4); }
}

@media (max-width: 480px) {
  :root { --gutter: 1rem; }
  .hero h1 { font-size: 2.8rem; }
  .products-grid { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
}

/* ── 35. PRINT ────────────────────────────────────────────── */
@media print {
  .site-header, .site-footer, .newsletter-section, .cta-section { display: none; }
  body { background: white; color: black; }
}

/* ── 36. PREMIUM DESIGN ENHANCEMENTS ─────────────────────── */

/* Extended design tokens */
:root {
  --ease-spring: cubic-bezier(.34,1.56,.64,1);
  --ease-expo:   cubic-bezier(.19,1,.22,1);
  --t4: 600ms;
  --glow-sm: 0 0 20px rgba(196,154,60,.15);
  --glow-md: 0 0 40px rgba(196,154,60,.2), 0 0 80px rgba(196,154,60,.08);
}

/* ── Hero depth: grid overlay ──────────────────────────────── */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(196,154,60,.038) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196,154,60,.038) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 65% at 62% 46%, black 20%, transparent 72%);
  mask-image: radial-gradient(ellipse 80% 65% at 62% 46%, black 20%, transparent 72%);
  pointer-events: none;
}

/* ── Hero depth: ambient orbs ──────────────────────────────── */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
}
.hero-orb-1 {
  width: clamp(420px, 62vw, 960px);
  height: clamp(420px, 62vw, 960px);
  right: -14%;
  top: -18%;
  background: radial-gradient(ellipse at center, rgba(196,154,60,.075) 0%, transparent 60%);
}
.hero-orb-2 {
  width: clamp(260px, 38vw, 580px);
  height: clamp(260px, 38vw, 580px);
  left: 8%;
  bottom: -12%;
  background: radial-gradient(ellipse at center, rgba(196,154,60,.045) 0%, transparent 58%);
}

/* ── Hero HUD corner brackets ──────────────────────────────── */
.hero-hud {
  position: absolute;
  inset: clamp(1.5rem, 4vw, 3.5rem);
  pointer-events: none;
  z-index: 1;
}
.hero-hud::before,
.hero-hud::after {
  content: '';
  position: absolute;
  width: 26px;
  height: 26px;
  border-color: rgba(196,154,60,.22);
  border-style: solid;
}
.hero-hud::before {
  top: 0; left: 0;
  border-width: 1px 0 0 1px;
}
.hero-hud::after {
  bottom: 0; right: 0;
  border-width: 0 1px 1px 0;
}

/* ── Hero entrance animations (CSS-driven, no JS required) ─── */
@media (prefers-reduced-motion: no-preference) {
  .hero-eyebrow { animation: heroSlideUp .85s var(--ease-expo) .08s both; }
  .hero h1      { animation: heroSlideUp .95s var(--ease-expo) .24s both; }
  .hero-sub     { animation: heroSlideUp .85s var(--ease-expo) .42s both; }
  .hero-actions { animation: heroSlideUp .8s  var(--ease-expo) .58s both; }
  .hero-scroll  { animation: heroFadeIn  .7s  var(--ease-expo) .9s  both; }

  .hero-orb-1   { animation: orbDrift1 11s ease-in-out infinite; }
  .hero-orb-2   { animation: orbDrift2 15s ease-in-out infinite; }
}

@keyframes heroSlideUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes orbDrift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(22px, -34px) scale(1.03); }
  66%  { transform: translate(-14px, 16px) scale(0.98); }
}
@keyframes orbDrift2 {
  0%, 100% { transform: translate(0, 0); }
  50%  { transform: translate(26px, -22px); }
}

/* ── Hero bg image: extra height for parallax ──────────────── */
.hero-bg-image {
  height: 130%;
  bottom: auto;
  will-change: transform;
  transform-origin: top center;
}

/* ── Product card: enhanced hover physics ──────────────────── */
.product-card {
  transition: border-color var(--t2) var(--ease),
              transform .35s var(--ease-spring),
              box-shadow .35s var(--ease);
}
.product-card:hover {
  border-color: rgba(196,154,60,.38);
  transform: translateY(-9px);
  box-shadow: 0 20px 50px rgba(0,0,0,.5),
              0 0 0 1px rgba(196,154,60,.22);
}
.product-card:hover .product-image {
  transform: scale(1.07);
}

/* ── Image shimmer sweep on card hover ─────────────────────── */
.product-image-wrap::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(105deg, transparent 0%, rgba(255,255,255,.07) 50%, transparent 100%);
  transform: translateX(-120%);
  pointer-events: none;
  z-index: 1;
}
.product-card:hover .product-image-wrap::after {
  transform: translateX(280%);
  transition: transform .72s var(--ease-expo);
}

/* ── Button shimmer ────────────────────────────────────────── */
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 44%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.16), transparent);
  transform: translateX(-120%);
  pointer-events: none;
}
.btn-primary:hover {
  box-shadow: 0 0 28px rgba(196,154,60,.28), 0 4px 14px rgba(0,0,0,.25);
  transform: translateY(-1px);
}
.btn-primary:hover::before {
  transform: translateX(280%);
  transition: transform .6s var(--ease-expo);
}
.btn-primary:active {
  transform: translateY(0);
  box-shadow: none;
}

/* ── Why items: elevation on hover ─────────────────────────── */
.why-item {
  transition: border-color var(--t2) var(--ease),
              background var(--t2) var(--ease),
              transform .28s var(--ease-spring),
              box-shadow .28s var(--ease);
}
.why-item:hover {
  border-color: rgba(196,154,60,.28);
  background: var(--surface-2);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,.35);
}

/* ── Feature items: elevation ──────────────────────────────── */
.feature-item {
  transition: background var(--t2) var(--ease),
              transform .28s var(--ease-spring);
}
.feature-item:hover {
  background: var(--surface-3);
  transform: translateY(-2px);
}

/* ── Testimonial cards: elevation ──────────────────────────── */
.testimonial-card {
  transition: border-color var(--t2) var(--ease),
              transform .28s var(--ease-spring),
              box-shadow .28s var(--ease);
}
.testimonial-card:hover {
  border-color: rgba(196,154,60,.28);
  transform: translateY(-5px);
  box-shadow: 0 18px 54px rgba(0,0,0,.42);
}

/* ── Product main image: hover glow ────────────────────────── */
.product-main-image {
  transition: box-shadow var(--t3) var(--ease);
}
.product-main-image:hover {
  box-shadow: 0 0 0 1px var(--accent-bd),
              0 24px 60px rgba(0,0,0,.5),
              0 0 60px rgba(196,154,60,.08);
}

/* ── Spec rows: micro-interaction ──────────────────────────── */
.spec-row {
  transition: background var(--t1) var(--ease), padding-left var(--t1) var(--ease);
}
.spec-row:hover {
  background: rgba(196,154,60,.03);
  padding-left: calc(var(--s3) + 4px);
}

/* ── Nav logo: glow on hover ───────────────────────────────── */
.nav-logo {
  transition: filter var(--t2) var(--ease);
}
.nav-logo:hover {
  filter: drop-shadow(0 0 10px rgba(196,154,60,.45));
}

/* ── Active nav: accent treatment ──────────────────────────── */
.nav-links a.active {
  color: var(--accent);
  background: var(--accent-lo);
}

/* ── Product platform label glow on card hover ─────────────── */
.product-card:hover .product-platform {
  color: var(--accent-hi);
}

/* ── Cart count pulse ──────────────────────────────────────── */
@keyframes cartPulse {
  0%   { transform: scale(1); }
  45%  { transform: scale(1.55); }
  100% { transform: scale(1); }
}
.cart-count.pulse {
  animation: cartPulse .38s var(--ease-spring);
}

/* ── Scroll reveal: improved easing ────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .72s var(--ease-expo), transform .72s var(--ease-expo);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 90ms; }
.reveal-delay-2 { transition-delay: 180ms; }
.reveal-delay-3 { transition-delay: 270ms; }
.reveal-delay-4 { transition-delay: 360ms; }

/* Directional reveals for split layouts */
.reveal-left {
  opacity: 0;
  transform: translateX(-22px);
  transition: opacity .72s var(--ease-expo), transform .72s var(--ease-expo);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(22px);
  transition: opacity .72s var(--ease-expo), transform .72s var(--ease-expo);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ── Install cards: elevation ──────────────────────────────── */
.install-card:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,.4);
}

/* ── Page hero: subtle gradient ────────────────────────────── */
.page-hero {
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
}

/* ── Section: bronze accent divider ────────────────────────── */
.section-divider-accent {
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(196,154,60,.5) 20%,
    rgba(196,154,60,.7) 50%,
    rgba(196,154,60,.5) 80%,
    transparent 100%);
  border: none;
  margin: 0;
}

/* ── prefers-reduced-motion: disable all extra motion ─────── */
@media (prefers-reduced-motion: reduce) {
  .hero-eyebrow,
  .hero h1,
  .hero-sub,
  .hero-actions,
  .hero-scroll   { animation: none !important; }

  .hero-orb-1,
  .hero-orb-2    { animation: none !important; }

  .hero-bg-image { will-change: auto; }

  .product-card  { transition: border-color var(--t1) var(--ease),
                               box-shadow var(--t1) var(--ease) !important; }
  .product-card:hover { transform: none !important; }

  .why-item:hover,
  .testimonial-card:hover,
  .feature-item:hover { transform: none; }

  .reveal,
  .reveal-left,
  .reveal-right  { transition: opacity .3s; }

  .btn-primary:hover { transform: none; }
  .btn-primary::before,
  .product-image-wrap::after { display: none; }
}

/* ── 37. CUSTOM CURSOR ────────────────────────────────────── */

.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  will-change: transform;
  backface-visibility: hidden;
}

/* Centered via negative margin so transform translate(mx,my) works */
.cursor-dot {
  width: 8px;
  height: 8px;
  background: rgba(255,255,255,.88);
  margin: -4px 0 0 -4px;
  z-index: 10000;
  transition: width .12s var(--ease), height .12s var(--ease),
              margin .12s var(--ease), background .15s var(--ease),
              opacity .2s;
}
.cursor-ring {
  width: 28px;
  height: 28px;
  border: 1.5px solid rgba(196,154,60,.5);
  margin: -14px 0 0 -14px;
  transition: width .18s var(--ease), height .18s var(--ease),
              margin .18s var(--ease), border-color .18s var(--ease),
              opacity .18s var(--ease);
}

/* Hover state — ring expands, dot goes bronze */
.cursor-dot.cursor-hover {
  width: 11px;
  height: 11px;
  margin: -5.5px 0 0 -5.5px;
  background: var(--accent);
}
.cursor-ring.cursor-hover {
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  border-color: var(--accent);
  opacity: .75;
}

/* Click state — ring contracts, dot shrinks */
.cursor-dot.cursor-click {
  width: 5px;
  height: 5px;
  margin: -2.5px 0 0 -2.5px;
}
.cursor-ring.cursor-click {
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  opacity: .3;
}

/* Replace native cursor on desktop when custom cursor is active */
body.has-custom-cursor,
body.has-custom-cursor * { cursor: none !important; }

/* Ensure cursor is hidden on touch/mobile regardless */
@media (hover: none), (max-width: 767px) {
  .cursor-dot, .cursor-ring { display: none !important; }
  body.has-custom-cursor,
  body.has-custom-cursor * { cursor: auto !important; }
}

/* ── 38. THREE.JS CANVAS LAYERS ──────────────────────────── */
/*
   Stacking order within .hero / .page-hero (position: relative):
   z-index 0  — #ambient-canvas  (WebGL, alpha=true)
   z-index 1  — .hero-content, .container       (text, CTAs)
   z-index 2  — .hero-hud                       (corner brackets)
   z-index 10000 — .cursor-dot, .cursor-ring    (cursor)
*/

#ambient-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: block;
  z-index: 0;
}

#ambient-canvas {
  opacity: 0.7;
  mix-blend-mode: screen;  /* screen blends additively with dark bg */
}

/* ── 39. MAGNETIC BUTTON CSS HOOKS ───────────────────────── */
/* motion.js sets --mag-x / --mag-y via CSS custom properties */

.btn-primary.btn-lg,
.btn-outline.btn-lg {
  transform: translate(var(--mag-x, 0px), var(--mag-y, 0px));
  transition: transform .35s var(--ease-expo),
              background var(--t1) var(--ease),
              border-color var(--t1) var(--ease),
              color var(--t1) var(--ease),
              box-shadow var(--t2) var(--ease);
}
.btn-primary.btn-lg:hover {
  transform: translate(var(--mag-x, 0px), calc(var(--mag-y, 0px) - 1px));
}

/* ── 40. NAV SCROLLED GLOW ───────────────────────────────── */

.site-header.scrolled {
  box-shadow: 0 1px 0 var(--border), 0 8px 32px rgba(0,0,0,.4);
}

/* ── 41. HERO TYPOGRAPHY BOOST ───────────────────────────── */

.hero h1 {
  font-size: clamp(3.4rem, 9vw, 8rem);
  letter-spacing: -0.045em;
  line-height: 0.9;
  text-shadow: 0 0 80px rgba(196,154,60,.08);
}

/* Accent word in hero */
.hero h1 em {
  display: inline-block;
  color: var(--accent);
  text-shadow: 0 0 40px rgba(196,154,60,.25);
}

/* ── 42. PRODUCT CARD BADGE ───────────────────────────────── */
/* Removed backdrop-filter (expensive: forces compositing layer
   per card). Solid semi-transparent background looks identical. */
.product-badge {
  background: rgba(10, 10, 14, 0.82);
}

/* ── 43. WHY NUMBERS — LARGER, MORE IMPACTFUL ────────────── */

.why-item-number {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.06em;
  color: rgba(196,154,60,.12);
  line-height: 1;
  margin-bottom: -0.25rem;
  transition: color var(--t2) var(--ease);
}
.why-item:hover .why-item-number {
  color: rgba(196,154,60,.25);
}

/* ── 44. PRODUCT INFO PANEL — STICKY BORDER GLOW ─────────── */

.product-info {
  background: rgba(12,12,18,.72);
  border: 1px solid var(--border-sub);
  border-radius: var(--r4);
  padding: var(--s4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: border-color var(--t3) var(--ease), box-shadow var(--t3) var(--ease);
}
.product-info:focus-within,
.product-info:hover {
  border-color: rgba(196,154,60,.18);
  box-shadow: 0 0 40px rgba(196,154,60,.05), 0 24px 60px rgba(0,0,0,.35);
}

/* ── 45. ANNOUNCEMENT BAR — LUXE GOLD + RADIANT SHINE ─────── */

/* soft sheen slowly drifting across the gold, with a long pause between
   passes so it reads as a gentle glint of light — motion-safe only */
@media (prefers-reduced-motion: no-preference) {
  .announcement-bar::before {
    animation: annGoldSheen 11s ease-in-out infinite;
  }
  @keyframes annGoldSheen {
    0%        { background-position: 135% 0; }
    55%, 100% { background-position: -35% 0; }
  }
}

/* ── 46. COMPLIANCE BLOCK — LEFT ACCENT ──────────────────── */

.product-compliance {
  border-left-color: rgba(196,154,60,.3);
  background: rgba(15,15,20,.6);
}

/* ── 47. SPEC TABLE — ENHANCED ───────────────────────────── */

.spec-list {
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--border);
}
.spec-key {
  color: var(--text-3);
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.68rem;
}

/* ── 48. TOAST — INFO TYPE STYLE ─────────────────────────── */

.toast.info {
  border-left: 3px solid var(--accent);
}
.toast.info svg { color: var(--accent); }

/* ── 49. MOBILE REDUCED PARTICLE NOTE ────────────────────── */
/* On mobile, the WebGL canvas is auto-hidden by the tier() check
   in three-scene.js. The CSS layers (orbs, grid) still animate
   at mobile sizes but the ::after shimmer is disabled. */

@media (max-width: 767px) {
  #ambient-canvas { display: none !important; }
  .product-image-wrap::after { display: none; }
  .btn-primary::before { display: none; }
}

/* ── 50. CINEMATIC ENTRY LOADER ──────────────────────────── */
/* Created dynamically by experience.js on first visit.
   sessionStorage prevents replay on subsequent page loads.
   Full skip for prefers-reduced-motion. */

#dd-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #07070a;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
}

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.loader-logo {
  width: 148px;
  opacity: 0;
  transform: translateY(10px) scale(0.9);
  will-change: opacity, transform;
  transition:
    opacity   0.55s var(--ease-expo) 0.08s,
    transform 0.75s var(--ease-expo) 0.08s;
}
#dd-loader.loader-reveal .loader-logo {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.loader-scan {
  width: 148px;
  height: 1px;
  background: var(--accent);
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 0.58s var(--ease-expo) 0.52s;
}
#dd-loader.loader-reveal .loader-scan {
  transform: scaleX(1);
}

.loader-sub {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(196, 154, 60, 0.45);
  opacity: 0;
  transition: opacity 0.45s ease 0.88s;
  margin: 0;
}
#dd-loader.loader-reveal .loader-sub {
  opacity: 1;
}

#dd-loader.loader-exit {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease-expo);
}

@media (prefers-reduced-motion: reduce) {
  .loader-logo, .loader-scan, .loader-sub { transition: none; opacity: 1; transform: none; }
  #dd-loader.loader-exit { transition: none; }
}

/* ── 51. PAGE TRANSITIONS ────────────────────────────────── */
/* experience.js adds these classes to <main> on load/navigate. */

main.page-entering {
  opacity: 0;
  transform: translateY(8px);
}
main.page-entered {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.42s var(--ease-expo), transform 0.42s var(--ease-expo);
}
main.page-exiting {
  opacity: 0;
  transform: translateY(-5px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  main.page-entering,
  main.page-entered,
  main.page-exiting {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ══════════════════════════════════════════════════════════════
   52. HOMEPAGE CINEMA — NEW SECTIONS
   Hero Cinema, Statement, Catalog, Engineering, Proof, CTA
   ══════════════════════════════════════════════════════════════ */

/* ── Hero Cinema ─────────────────────────────────────────────── */

.hero-cinema {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg);
}

/* ── Hero video background ───────────────────────────────────── */

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: url('/assets/images/hero-poster.jpg') center center / cover no-repeat;
}

.hero-video-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(7,7,10,.82) 0%, rgba(7,7,10,.04) 30%, rgba(7,7,10,.0) 56%, rgba(7,7,10,.72) 100%),
    linear-gradient(to right,  rgba(7,7,10,.58) 0%, rgba(7,7,10,.0) 58%),
    radial-gradient(ellipse 58% 48% at 82% 10%, rgba(196,154,60,.06) 0%, transparent 100%);
}

.hero-video-el {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  display: block;
}

.hero-cinema canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  display: block;
}

/* ── HUD corner markers ──────────────────────────────────────── */

.hud-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.hud-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: rgba(196,154,60,.35);
  border-style: solid;
}

.hud-tl {
  top: clamp(1.5rem, 4vw, 2.5rem);
  left: clamp(1.5rem, 4vw, 2.5rem);
  border-width: 1px 0 0 1px;
}
.hud-tr {
  top: clamp(1.5rem, 4vw, 2.5rem);
  right: clamp(1.5rem, 4vw, 2.5rem);
  border-width: 1px 1px 0 0;
}
.hud-bl {
  bottom: clamp(1.5rem, 4vw, 2.5rem);
  left: clamp(1.5rem, 4vw, 2.5rem);
  border-width: 0 0 1px 1px;
}
.hud-br {
  bottom: clamp(1.5rem, 4vw, 2.5rem);
  right: clamp(1.5rem, 4vw, 2.5rem);
  border-width: 0 1px 1px 0;
}

/* ── Hero inner content ──────────────────────────────────────── */

.hero-inner {
  position: relative;
  z-index: 3;
  padding-block: max(10vh, 5rem);
}

.hero-kicker {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--s4);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.hero-kicker::before {
  content: '';
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--accent);
  opacity: 0.6;
}

.hero-display {
  font-size: clamp(4rem, 11vw, 9rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.92;
  margin-bottom: var(--s4);
}
.hero-display em {
  font-style: normal;
  color: var(--accent);
  display: inline-block;
  text-shadow: 0 0 40px rgba(196,154,60,.3);
}

.hero-sub {
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  color: var(--text-2);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: var(--s4);
}

/* ── Hero ambient bar ────────────────────────────────────────── */

.hero-ambient-bar {
  position: absolute;
  bottom: var(--s4);
  left: var(--gutter);
  right: var(--gutter);
  z-index: 3;
  display: flex;
  gap: var(--s4);
  pointer-events: none;
}
.hero-ambient-bar span {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(144,144,170,.45);
  font-family: 'SF Mono', 'Fira Code', monospace;
}

/* ── Hero scroll cue ─────────────────────────────────────────── */

.hero-scroll-cue {
  position: absolute;
  bottom: var(--s4);
  right: var(--gutter);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.hero-scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, transparent, rgba(196,154,60,.5));
  animation: scrollPulse 2s ease-in-out infinite;
  transform-origin: top center;
}

@keyframes scrollPulse {
  0%   { transform: scaleY(0); opacity: 0; }
  50%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(0); opacity: 0; }
}

.hero-scroll-cue span {
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(144,144,170,.35);
  font-family: 'SF Mono', 'Fira Code', monospace;
}

/* Hero entrance animations */
@media (prefers-reduced-motion: no-preference) {
  .hero-kicker    { animation: heroSlideUp .85s var(--ease-expo) .08s both; }
  .hero-display   { animation: heroSlideUp .95s var(--ease-expo) .24s both; }
  .hero-sub       { animation: heroSlideUp .85s var(--ease-expo) .42s both; }
  .hero-actions   { animation: heroSlideUp .8s  var(--ease-expo) .58s both; }
  .hero-scroll-cue { animation: heroFadeIn .7s  var(--ease-expo) .9s  both; }
  .hud-corner     { animation: heroFadeIn  .6s  var(--ease-expo) .3s  both; }
  .hero-ambient-bar { animation: heroFadeIn .6s var(--ease-expo) 1.1s both; }
}

/* ── Hero atmospheric layers ─────────────────────────────────── */

/* Film grain — canvas is sized 200×200; browser scales it up.
   mix-blend-mode:overlay adds texture to both darks and lights. */
.hero-grain {
  z-index: 2;
  opacity: 0.5;
  mix-blend-mode: overlay;
}

/* Diagonal light sweep — slow ambient pass, like reflected atmosphere */
.hero-sweep {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(
    110deg,
    transparent       0%,
    transparent      38%,
    rgba(196,154,60,.018) 46%,
    rgba(255,248,220,.014) 50%,
    rgba(196,154,60,.018) 54%,
    transparent      62%,
    transparent     100%
  );
  animation: heroSweepPass 18s cubic-bezier(.4,0,.6,1) infinite;
  will-change: transform;
}

@keyframes heroSweepPass {
  0%   { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

/* Cursor-reactive spotlight — GPU-composited transform only */
.hero-spotlight {
  position: absolute;
  width: 700px;
  height: 700px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(
    circle at center,
    rgba(196,154,60,.10) 0%,
    rgba(196,154,60,.035) 42%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.75s cubic-bezier(.4,0,.2,1);
  will-change: transform;
  mix-blend-mode: screen;
}

/* ── Hero display: breathing accent glow ─────────────────────── */

@media (prefers-reduced-motion: no-preference) {
  .hero-display em {
    animation: accentBreath 5s ease-in-out infinite;
  }
}

@keyframes accentBreath {
  0%, 100% { text-shadow: 0 0 32px rgba(196,154,60,.22), 0 0 80px rgba(196,154,60,.08); }
  50%       { text-shadow: 0 0 60px rgba(196,154,60,.48), 0 0 140px rgba(196,154,60,.18); }
}

/* ── Mobile: suppress expensive effects ──────────────────────── */
@media (max-width: 767px) {
  .hero-grain   { display: none; }
  .hero-sweep   { display: none; }
  .hero-spotlight { display: none; }
  .hero-orb-1   { opacity: 0.5; }
  .hero-orb-2   { opacity: 0.4; }
}

/* ── Reduced motion: strip all hero atmosphere animations ─────── */
@media (prefers-reduced-motion: reduce) {
  .hero-sweep { animation: none; }
  .hero-grain { display: none; }
}

/* ── Statement section ───────────────────────────────────────── */

.section-statement {
  padding-block: clamp(5rem, 12vh, 8rem);
  border-top: 1px solid var(--border-sub);
}

.statement-kicker {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--s3);
}

.statement-head {
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.98;
  margin-bottom: var(--s4);
}

.statement-divider {
  width: 3rem;
  height: 2px;
  background: rgba(196,154,60,.5);
  margin-bottom: var(--s4);
}

.statement-desc {
  font-size: 1.05rem;
  color: var(--text-2);
  line-height: 1.75;
  max-width: 600px;
}

/* ── Metrics row ─────────────────────────────────────────────── */

.metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
  margin-top: var(--s6);
}

.metric-item {
  padding: var(--s4) var(--s3);
  border-right: 1px solid var(--border);
}
.metric-item:last-child { border-right: none; }

.metric-val {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.3rem;
  color: var(--text-1);
}

.metric-key {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
  font-family: 'SF Mono', 'Fira Code', monospace;
}

/* ── Catalog section ─────────────────────────────────────────── */

.section-catalog {
  padding-block: clamp(5rem, 10vh, 7rem);
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.catalog-meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--s5);
  flex-wrap: wrap;
  gap: var(--s3);
}

.section-kicker {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: var(--s2);
}

.section-display {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

/* ── Engineering section ─────────────────────────────────────── */

.section-engineering {
  padding-block: clamp(5rem, 10vh, 8rem);
}

.engineering-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s6);
  align-items: center;
}

.engineering-copy {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}

.engineering-desc {
  font-size: 1rem;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: var(--s4);
}

.engineering-specs {
  display: flex;
  flex-direction: column;
}

.engineering-specs .spec-row {
  display: flex;
  justify-content: space-between;
  padding: var(--s2) 0;
  border-bottom: 1px solid var(--border-sub);
  gap: var(--s3);
}
.engineering-specs .spec-row:last-child { border-bottom: none; }

.engineering-specs .spec-key {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-3);
  flex: 0 0 auto;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.engineering-specs .spec-val {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-1);
  text-align: right;
}

.engineering-visual {
  position: relative;
  border-radius: var(--r3);
  overflow: hidden;
}

.engineering-visual img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  filter: brightness(0.9) contrast(1.05);
  display: block;
}

.engineering-visual-frame {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(196,154,60,.15);
  border-radius: var(--r3);
  pointer-events: none;
}

/* ── Proof / Reviews section ─────────────────────────────────── */

.section-proof {
  padding-block: clamp(5rem, 10vh, 7rem);
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.proof-meta {
  margin-bottom: var(--s5);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s3);
  margin-bottom: var(--s6);
}

.proof-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r3);
  overflow: hidden;
  transition: border-color var(--t2) var(--ease),
              transform .28s var(--ease-spring),
              box-shadow .28s var(--ease);
}
.proof-card:hover {
  border-color: rgba(196,154,60,.28);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,.4);
}

.proof-card-image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: top;
  display: block;
}
.proof-card-video {
  background: #0f0f14;
  pointer-events: none;
}

.proof-card-body {
  padding: var(--s3);
}

.proof-stars {
  color: var(--accent);
  font-size: 0.78rem;
  margin-bottom: var(--s1);
  letter-spacing: 0.1em;
}

.proof-quote {
  font-size: 0.82rem;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: var(--s1);
  font-style: italic;
}

.proof-author {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* ── Trust strip ─────────────────────────────────────────────── */

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s3);
  padding-top: var(--s5);
  border-top: 1px solid var(--border);
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--s2);
}

.trust-icon {
  width: 40px;
  height: 40px;
  color: var(--accent);
}

.trust-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.trust-desc {
  font-size: 0.75rem;
  color: var(--text-2);
  line-height: 1.5;
}

/* ── CTA section ─────────────────────────────────────────────── */

.section-cta {
  padding-block: clamp(5rem, 12vh, 9rem);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(196,154,60,.05) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
}

.cta-headline {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: var(--s3);
}

.cta-sub {
  font-size: 1.05rem;
  color: var(--text-2);
  max-width: 520px;
  margin-inline: auto;
  margin-bottom: var(--s4);
  line-height: 1.75;
}

.cta-actions {
  display: flex;
  gap: var(--s2);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--s6);
}

.cta-newsletter {
  max-width: 480px;
  margin-inline: auto;
}

.cta-newsletter-label {
  font-size: 0.82rem;
  color: var(--text-3);
  margin-bottom: var(--s2);
}

.cta-privacy {
  font-size: 0.72rem;
  color: var(--text-3);
  margin-top: var(--s1);
}
.cta-privacy a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── Loader status line ──────────────────────────────────────── */

.loader-status {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(196,154,60,.4);
  margin-top: var(--s3);
  opacity: 0;
  transition: opacity 0.4s ease 1.2s;
}
#dd-loader.loader-reveal .loader-status { opacity: 1; }

/* ── Enhanced product card (homepage overrides) ──────────────── */

.section-catalog .product-card,
.section-proof ~ * .product-card {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,.05);
}

/* ── Responsive: 1024px ──────────────────────────────────────── */

@media (max-width: 1024px) {
  .engineering-layout {
    grid-template-columns: 1fr;
  }
  .engineering-visual {
    order: 1;
  }
  .engineering-copy {
    order: 0;
  }
  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .metrics-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .metric-item:nth-child(2) { border-right: none; }
  .metric-item:nth-child(3) { border-right: 1px solid var(--border); border-top: 1px solid var(--border); }
  .metric-item:nth-child(4) { border-top: 1px solid var(--border); border-right: none; }
}

/* ── Responsive: 768px ───────────────────────────────────────── */

@media (max-width: 768px) {
  .proof-grid {
    grid-template-columns: 1fr;
  }
  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .metrics-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-cinema .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── Responsive: 480px ───────────────────────────────────────── */

@media (max-width: 480px) {
  .hero-kicker { display: none; }
  .hero-ambient-bar { display: none; }
  .hero-scroll-cue { display: none; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .metrics-row { grid-template-columns: repeat(2, 1fr); }
}

/* ── prefers-reduced-motion: disable new animations ─────────── */

@media (prefers-reduced-motion: reduce) {
  .hero-kicker,
  .hero-display,
  .hero-sub,
  .hero-actions,
  .hero-scroll-cue,
  .hud-corner,
  .hero-ambient-bar { animation: none !important; }

  .hero-scroll-line { animation: none !important; }

  .proof-card:hover { transform: none; }
}

/* ================================================================
   ===== REDESIGN UPLIFT LAYER =====
   Additive override layer only. Nothing above this line is edited —
   every rule below restyles EXISTING classes (later rule wins) to
   match the new /assets/css/theme.css "cinematic black + gold
   tactical" redesign used on the homepage. No HTML/JS changes were
   made or are required; every selector here already exists in the
   markup that ships today.
   ================================================================ */

/* ── R0. Extra tokens (additive — existing tokens are untouched) ── */
:root {
  --font-display: 'Oswald', 'Inter', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --border-hi:    #33333f;
  --gold-1:       #f3dd9a;
  --gold-2:       #d4aa52;
  --gold-3:       #c49a3c;
  --gold-4:       #8a6a24;
  --glow-gold:    0 0 0 1px var(--accent-bd), 0 10px 44px -10px rgba(196,154,60,.38);
}

/* ── R1. Display headlines — Oswald, uppercase. Body copy (p, product
   descriptions, nav/footer link text, etc.) is left on Inter. ── */
h1, h2,
.headline,
.section-title {
  font-family: var(--font-display);
  text-transform: uppercase;
}

/* ── R2. Kicker / eyebrow / breadcrumb / micro-label treatment —
   short uppercase labels adopt the same display face as theme.css's
   .kicker, .pcard-eyebrow, .breadcrumb, .footer-col-title, etc. ── */
.section-eyebrow-text,
.hero-eyebrow-text,
.page-hero-breadcrumb,
.filter-group-title,
.shop-count,
.cart-summary-title,
.account-tab,
.footer-col-title,
.product-platform,
.product-variants-label,
.variant-btn,
.tag,
.form-label,
.spec-key,
.why-item-number {
  font-family: var(--font-display);
}
.page-hero-breadcrumb { letter-spacing: .08em; }
.footer-col-title, .product-platform { letter-spacing: .14em; }

/* ── R3. Announcement bar — shiny metallic 3D gold, mirrors
   theme.css's .ann-bar: brushed-metal vertical gradient (top
   highlight → deep gold → bottom shadow), inset bevel shadows, and a
   slow specular sweep via ::before. ── */
.announcement-bar {
  background: linear-gradient(180deg, #f7e6ad 0%, #e6c56d 15%, #d3a83f 40%, #b8862c 55%, #d3a83f 78%, #9c7626 100%);
  border-bottom: 1px solid rgba(0,0,0,.42);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.6),
    inset 0 -3px 6px rgba(92,62,10,.42),
    0 2px 10px rgba(0,0,0,.5);
}
.announcement-bar::before {
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.62) 47%, rgba(255,255,255,.16) 54%, transparent 70%);
  background-size: auto;
  background-position: 0 0;
  transform: translateX(-130%);
  animation: none;
}
@media (prefers-reduced-motion: no-preference) {
  .announcement-bar::before {
    animation: annSweepUplift 6.5s ease-in-out infinite;
  }
}
@keyframes annSweepUplift {
  0%        { transform: translateX(-130%); }
  55%, 100% { transform: translateX(130%); }
}
@media (prefers-reduced-motion: reduce) {
  .announcement-bar::before { animation: none; opacity: .3; transform: translateX(0); }
}
.ann-brand {
  font-family: var(--font-display);
  font-weight: 700;
  color: #3a2907;
  text-shadow: 0 1px 0 rgba(255,255,255,.5);
}

/* ── R4. Header / nav — sticky translucent blur like .dd-header;
   nav links get an Oswald uppercase label and a gold underline that
   grows on hover (replaces the old hover/active pill background). ── */
.site-header {
  background: rgba(7,7,10,.72);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
}
.site-header.scrolled {
  background: rgba(7,7,10,.94);
  box-shadow: 0 12px 32px -16px rgba(0,0,0,.6);
}
.nav-links a {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: .75rem; right: .75rem; bottom: .3rem;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t2) var(--ease);
  pointer-events: none;
}
.nav-links a:hover,
.nav-links a.active {
  background: transparent;
  color: var(--text-1);
}
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.mobile-nav-links a {
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .02em;
}

/* ── R5. Buttons — metallic gold primary gradient + hover sheen/glow,
   matching theme.css's .btn-primary. The existing shimmer ::before
   sweep and :active state (section 36 above) are left intact and
   layer on top of this. Padding/sizing is untouched. ── */
.btn {
  font-family: var(--font-display);
  letter-spacing: .1em;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold-2), var(--gold-3));
  border-color: var(--gold-3);
  color: #170f02;
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-2), var(--gold-1));
  border-color: var(--gold-1);
  box-shadow: var(--glow-gold);
}
.btn-outline:hover { border-color: var(--accent); }
.btn-ghost:hover { border-color: var(--text-2); }

/* ── R6. Product cards (shop grid + product-page "related" grid) —
   refined dark card gradient with gold-accent hover, like .pcard.
   The existing hover lift/shadow/shimmer (section 36 above) is left
   intact; this only refines the base surface + key numerals. ── */
.product-card {
  background: linear-gradient(160deg, var(--surface) 0%, var(--surface) 60%, var(--surface-2) 100%);
}
.product-price-value,
.product-price-main {
  font-family: var(--font-display);
  font-weight: 600;
}

/* ── R7. Footer — refined like .dd-footer (structure/colors already
   match; column titles pick up the display face for cohesion). ── */
.footer-col-title {
  font-family: var(--font-display);
}

/* ── R8. Forms — subtle polish only. Padding, font-size and height
   are untouched so hit-areas and legibility stay exactly as-is. ── */
.form-input, .form-textarea, .form-select,
.newsletter-input, .shop-sort {
  box-shadow: inset 0 1px 2px rgba(0,0,0,.35);
  transition: border-color var(--t1) var(--ease),
              box-shadow var(--t2) var(--ease),
              background var(--t1) var(--ease);
}
.form-input:hover, .form-textarea:hover, .form-select:hover,
.newsletter-input:hover, .shop-sort:hover {
  border-color: var(--border-hi);
}
.form-input:focus, .form-textarea:focus, .form-select:focus,
.newsletter-input:focus, .shop-sort:focus {
  border-color: var(--accent);
  background: var(--surface-3);
  box-shadow: inset 0 1px 2px rgba(0,0,0,.35), 0 0 0 3px var(--accent-lo);
}

/* ── R9. Reduced-motion safety net for the new rules above. ── */
@media (prefers-reduced-motion: reduce) {
  .announcement-bar::before { animation: none !important; transform: translateX(0); }
  .nav-links a::after { transition: none; }
}

/* ── Inner-page header wordmark (company name next to the logo) ── */
.nav-logo { display: inline-flex; align-items: center; gap: 9px; }
.nav-logo-word {
  font-family: var(--font-display, 'Oswald'), 'Inter', system-ui, sans-serif;
  font-weight: 600; font-size: 1.02rem; letter-spacing: .04em; text-transform: uppercase;
  color: var(--text-1); white-space: nowrap; line-height: 1;
}
.nav-logo-word em { font-style: normal; color: var(--accent); }
@media (max-width: 620px) { .nav-logo-word { font-size: .82rem; } }
@media (max-width: 380px) { .nav-logo-word { font-size: .72rem; letter-spacing: .02em; } }

/* Account page: stack the login/register two-column grid on mobile so the
   right column isn't cut off (overrides the inline grid-template-columns). */
@media (max-width: 760px) {
  #tab-login { grid-template-columns: 1fr !important; }
}
