@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/BarlowCondensed-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/BarlowCondensed-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/Inter-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/Inter-600.woff2') format('woff2');
}
/* ============================================================
   THE TOOTA GROUP — site styles
   Modern, tactical, fast. No frameworks, no build step.
   ============================================================ */

:root {
  --bg: #0b0e13;
  --bg-2: #10141c;
  --panel: #151b26;
  --panel-2: #1a2130;
  --line: #26303f;
  --text: #eceae2;
  --muted: #9aa4b5;
  --gold: #d8a94a;
  --gold-bright: #f0c46a;
  --olive: #7c8a5b;
  --danger: #c8563e;
  --radius: 10px;
  --max: 1180px;
  --font-head: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --font-body: "Inter", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-bright); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.08;
}

h1 { font-size: clamp(2.6rem, 6.5vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: 1.35rem; letter-spacing: 0.04em; }

p { color: var(--muted); }
p strong { color: var(--text); }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.85rem;
  color: var(--gold);
  margin-bottom: 14px;
}
.kicker::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--gold);
}

.lead { font-size: 1.13rem; max-width: 62ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: #14100a; }
.btn-gold:hover { background: var(--gold-bright); color: #14100a; }
.btn-ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn svg { width: 16px; height: 16px; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 14, 19, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}
.brand:hover { color: var(--text); }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1;
  white-space: nowrap;
}
.brand-name small {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.34em;
  color: var(--gold);
  margin-top: 3px;
  font-weight: 600;
}

.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav a {
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.88rem;
  color: var(--muted);
  padding: 8px 8px;
  border-radius: 6px;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--text); }
.main-nav a.active { color: var(--gold); }
.main-nav a.btn-gold, .main-nav a.btn-gold:hover { color: #14100a; }
.main-nav .btn { margin-left: 12px; padding: 10px 20px; font-size: 0.9rem; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 9px 11px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  background: var(--text);
  margin: 4px 0;
  transition: transform .2s ease, opacity .2s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 500px at 78% -10%, rgba(216,169,74,0.13), transparent 60%),
    radial-gradient(800px 420px at 10% 110%, rgba(124,138,91,0.12), transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.16;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black, transparent);
}
.hero .wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding-top: 44px;
  padding-bottom: 40px;
}
.hero .wrap > div:first-child { max-width: 760px; }
.hero h1 .gold { color: var(--gold); }
.hero .lead { margin: 16px auto 20px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hero-art {
  position: relative;
  max-width: 520px;
  width: 100%;
  margin: 8px auto 0;
}
.hero-art svg { width: 100%; height: auto; }
.hero-art img.hero-cutaway {
  width: 100%; height: auto;
}
@keyframes heroSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hero-art img.hero-cutaway { animation: none; } }

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  justify-content: center;
}
.hero-badges span {
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 15px;
}
.hero-badges span b { color: var(--gold); font-weight: 600; }

/* Page hero (interior pages) */
.page-hero {
  background:
    radial-gradient(900px 380px at 80% -20%, rgba(216,169,74,0.12), transparent 60%),
    var(--bg-2);
  border-bottom: 1px solid var(--line);
  padding: 72px 0 56px;
}
.page-hero .lead { margin-top: 18px; }

/* ---------- Stat bar ---------- */
.stat-bar { background: var(--bg-2); border-bottom: 1px solid var(--line); }
.stat-bar .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 34px;
  padding-bottom: 34px;
}
.stat { text-align: left; border-left: 2px solid var(--gold); padding-left: 18px; }
.stat b {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2.3rem;
  line-height: 1;
  color: var(--text);
}
.stat b em { font-style: normal; color: var(--gold); }
.stat span {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .kicker { justify-content: center; }
.section-head p { margin-top: 16px; }

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .2s ease, border-color .2s ease;
}
a.card { color: var(--text); }
a.card:hover { transform: translateY(-4px); border-color: var(--gold); color: var(--text); }
.card .icon {
  width: 46px; height: 46px;
  color: var(--gold);
}
.card p { font-size: 0.95rem; }
.card .card-link {
  margin-top: auto;
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
  color: var(--gold);
}

/* ---------- Feature rows ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split.reverse > :first-child { order: 2; }
.split h2 { margin-bottom: 18px; }
.split ul.checks { list-style: none; margin-top: 22px; display: grid; gap: 12px; }
.split ul.checks li {
  display: flex; gap: 12px; align-items: flex-start;
  color: var(--muted);
}
.split ul.checks li::before {
  content: "";
  flex: none;
  width: 18px; height: 18px;
  margin-top: 4px;
  background: var(--gold);
  clip-path: polygon(14% 44%, 0 60%, 40% 100%, 100% 16%, 84% 2%, 40% 70%);
}
.split ul.checks li b { color: var(--text); }
.panel-art {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

/* ---------- Comparison table ---------- */
.compare-scroll { overflow-x: auto; }
.compare {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 640px;
}
.compare th, .compare td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.compare thead th {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1.05rem;
  border-bottom: 2px solid var(--line);
}
.compare thead th.us {
  color: var(--gold);
  background: rgba(216,169,74,0.07);
  border-bottom-color: var(--gold);
}
.compare tbody td { color: var(--muted); font-size: 0.97rem; }
.compare tbody td:first-child {
  color: var(--text);
  font-weight: 600;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.compare tbody td.us { background: rgba(216,169,74,0.07); color: var(--text); }
.compare .yes { color: var(--gold); font-weight: 700; }

/* ---------- Steps (numbered) ---------- */
.steps { counter-reset: step; display: grid; gap: 18px; }
.step-item {
  counter-increment: step;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
}
.step-item::before {
  content: "0" counter(step);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
}
.step-item h3 { margin-bottom: 6px; }
.step-item p { font-size: 0.95rem; }

/* ---------- Interactive installer demo ---------- */
.demo-shell {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.demo-stage {
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(216,169,74,0.08), transparent 70%),
    var(--bg-2);
  border-bottom: 1px solid var(--line);
  padding: 30px 20px 10px;
  display: flex;
  justify-content: center;
}
.demo-stage svg { width: min(560px, 100%); height: auto; }
.demo-controls { padding: 26px 28px 30px; }
.demo-progress {
  display: flex;
  gap: 6px;
  margin-bottom: 22px;
}
.demo-progress i {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: var(--line);
  transition: background .25s ease;
}
.demo-progress i.on { background: var(--gold); }
.demo-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.demo-step-label {
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--gold);
}
#demo-step-title { margin: 6px 0 10px; }
#demo-step-text { min-height: 3.2em; max-width: 60ch; }
.demo-buttons { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.demo-buttons .btn { padding: 11px 22px; font-size: 0.9rem; }

/* SVG demo step visibility */
.demo-stage [data-step] { opacity: 0; transition: opacity .5s ease, transform .5s ease; }
.demo-stage [data-step].vis { opacity: 1; }
.demo-stage .seg { transition: transform .7s cubic-bezier(.2,.7,.2,1), opacity .5s ease; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 14px; max-width: 820px; }
.faq details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 24px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1.1rem;
  padding: 20px 0;
  position: relative;
  padding-right: 36px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px; top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 1.5rem;
  font-family: var(--font-body);
  font-weight: 300;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 22px; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(700px 300px at 50% -40%, rgba(216,169,74,0.18), transparent 70%),
    var(--panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
  padding: 80px 0;
}
.cta-band h2 { max-width: 760px; margin: 0 auto 16px; }
.cta-band p { max-width: 560px; margin: 0 auto 32px; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- Spec / definition lists ---------- */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.spec {
  background: var(--panel);
  padding: 22px 24px;
}
.spec b {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--gold);
}
.spec span { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }

/* ---------- Tag list ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tags span {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ---------- Contact / forms ---------- */
/* Honeypot: hidden from humans, visible to bots */
.hp-wrap {
  position: absolute;
  left: -9999px;
  top: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.contact-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  display: grid;
  gap: 22px;
}
.contact-line { display: flex; gap: 16px; align-items: flex-start; }
.contact-line svg { width: 22px; height: 22px; color: var(--gold); flex: none; margin-top: 3px; }
.contact-line b { display: block; font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.95rem; }
.contact-line span, .contact-line a { color: var(--muted); font-size: 0.97rem; }
.contact-line a:hover { color: var(--gold); }

form.quote { display: grid; gap: 16px; }
form.quote .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
form.quote label {
  display: grid;
  gap: 7px;
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.82rem;
  color: var(--muted);
}
form.quote input, form.quote select, form.quote textarea {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.97rem;
  padding: 13px 14px;
  width: 100%;
}
form.quote input:focus, form.quote select:focus, form.quote textarea:focus {
  outline: none;
  border-color: var(--gold);
}
form.quote textarea { min-height: 130px; resize: vertical; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-grid h4 {
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  color: var(--text);
  margin-bottom: 16px;
}
.footer-grid ul { list-style: none; display: grid; gap: 10px; }
.footer-grid ul a, .footer-grid ul li { color: var(--muted); font-size: 0.93rem; }
.footer-grid ul a:hover { color: var(--gold); }
.footer-brand p { font-size: 0.93rem; margin-top: 14px; max-width: 34ch; }
.footer-meta {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--muted);
}
.footer-meta b { color: var(--gold); font-weight: 600; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Notice ---------- */
.notice {
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero .wrap { padding-top: 32px; padding-bottom: 32px; }
  .hero-art { max-width: 420px; margin: 8px auto 0; }
  .split, .split.reverse { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse > :first-child { order: 0; }
  .stat-bar .wrap { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1240px) {
  /* hide the header CTA before the nav can overflow; it returns inside the mobile menu */
  .main-nav .btn { display: none; }
}

@media (max-width: 1100px) {
  .main-nav .btn { display: inline-flex; }
  .main-nav {
    position: fixed;
    inset: 72px 0 auto 0;
    background: var(--bg-2);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 24px;
    gap: 6px;
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 10px; font-size: 1.1rem; }
  .main-nav .btn { margin: 12px 0 0; justify-content: center; }
  .nav-toggle { display: block; }
  .section { padding: 64px 0; }
  form.quote .row2 { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
  .stat-bar .wrap { grid-template-columns: 1fr 1fr; gap: 20px; }
  .stat b { font-size: 1.8rem; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Exploded view ---------- */
[data-ex] { transition: transform .08s linear; will-change: transform; }
#rf3d, #inst3d, #asm3d {
  height: 520px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9aa4b5;
  font: 600 15px 'Barlow Condensed', sans-serif;
  letter-spacing: 0.15em;
  touch-action: pan-y;
  overflow: hidden;
  z-index: 1;
  isolation: isolate;
}
#rf3d canvas, #inst3d canvas, #asm3d canvas {
  display: block;
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  outline: none;
  -webkit-user-select: none;
  user-select: none;
}
#rf3d img.fallback-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.explode-control {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 28px 18px;
  position: relative;
  z-index: 2;
  background: var(--panel);
}
.explode-control .ex-btn {
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  color: var(--muted);
  white-space: nowrap;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 16px;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
  min-height: 40px;
  min-width: 84px;
}
.explode-control .ex-btn.active {
  color: #14100a;
  background: var(--gold);
  border-color: var(--gold);
}
.explode-control .ex-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.viewer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px 22px;
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--muted);
  position: relative;
  z-index: 2;
  background: var(--panel);
}
input[type="range"].explode {
  -webkit-appearance: none;
  appearance: none;
  flex: 1;
  height: 6px;
  min-width: 0;
  background: var(--line);
  border-radius: 3px;
  outline: none;
  cursor: pointer;
}
input[type="range"].explode::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--bg-2);
  cursor: grab;
}
input[type="range"].explode::-moz-range-thumb {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--bg-2);
  cursor: grab;
}
@media (max-width: 768px) {
  #rf3d, #inst3d, #asm3d { height: 380px; }
  .explode-control { gap: 12px; padding: 16px 18px 14px; }
  .explode-control .ex-btn { font-size: 0.72rem; padding: 10px 12px; min-width: 72px; }
  .viewer-meta { padding: 0 18px 18px; font-size: 0.72rem; }
}
@media (max-width: 420px) {
  #rf3d, #inst3d, #asm3d { height: 320px; }
  .explode-control { flex-wrap: wrap; gap: 10px; }
  .explode-control .ex-btn { order: 0; }
  input[type="range"].explode { order: 1; flex-basis: 100%; }
  .viewer-meta { font-size: 0.7rem; }
}

/* Floating part labels inside the 3D exploded assembly */
.asm3d-label {
  position: absolute;
  transform: translate(-50%, -100%);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(8, 11, 16, 0.78);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 4px 9px;
  pointer-events: none;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 3;
}

/* ---------- Photo galleries ---------- */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.photo-grid figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
}
.photo-grid img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.photo-grid figure:hover img { transform: scale(1.04); }
.photo-grid figcaption {
  padding: 12px 16px;
  font-size: 0.85rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.photo-grid.tall img { height: 360px; }
.photo-feature {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
}
.photo-feature img { width: 100%; display: block; }
.photo-feature figcaption {
  padding: 12px 16px;
  font-size: 0.85rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

/* ---------- Quote form status ---------- */
#quote-status { font-size: 0.95rem; min-height: 1.4em; }
@media (max-width: 600px) {
  .photo-grid figure { grid-column: auto !important; }
  .photo-grid img, .photo-grid.tall img { height: 240px; }
}

/* ---------- Video embeds ---------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}
.video-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.video-frame {
  position: relative;
  padding-top: 56.25%;
  background: #000;
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-card figcaption {
  padding: 14px 18px;
}
.video-card figcaption b {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 1.05rem;
}
.video-card figcaption span {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ============================================================
   VIBRANCY LAYER — motion, glow, and life
   ============================================================ */

/* animated gold shimmer on the hero highlight word */
.hero h1 .gold {
  background: linear-gradient(100deg, #d8a94a, #f6d488, #b98a2e, #d8a94a);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 5s linear infinite;
}
@keyframes shimmer { to { background-position: 300% 0; } }

/* staggered headline entrance (words wrapped by JS) */
.hero h1 .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(.5em);
  animation: rise .7s cubic-bezier(.2, .7, .2, 1) forwards;
}
@keyframes rise { to { opacity: 1; transform: none; } }

/* drifting glow blobs behind the hero */
.hero .blob {
  position: absolute;
  width: 540px; height: 540px;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}
.hero .blob.b1 { background: rgba(216,169,74,.16); top: -180px; right: -80px; animation: drift 16s ease-in-out infinite alternate; }
.hero .blob.b2 { background: rgba(124,138,91,.13); bottom: -220px; left: -120px; animation: drift 19s ease-in-out infinite alternate-reverse; }
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(70px, 50px) scale(1.15); }
}

/* scrolling capability ticker */
.ticker {
  overflow: hidden;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 0;
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  padding: 15px 0;
  animation: tick 36s linear infinite;
}
.ticker-track span {
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .85rem;
  color: var(--muted);
  white-space: nowrap;
}
.ticker-track i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
  opacity: .7;
}
@keyframes tick { to { transform: translateX(-50%); } }
.ticker:hover .ticker-track { animation-play-state: paused; }

/* gold button shine sweep */
.btn-gold { position: relative; overflow: hidden; }
.btn-gold::after {
  content: "";
  position: absolute;
  top: 0; left: -70%;
  width: 45%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.5), transparent);
  transform: skewX(-20deg);
  transition: left .55s ease;
}
.btn-gold:hover::after { left: 130%; }

/* cards: lift with gold glow */
a.card:hover {
  box-shadow: 0 18px 48px -16px rgba(216,169,74,.35);
}
.card { transition: transform .25s ease, border-color .25s ease, box-shadow .3s ease; }

/* staggered grid reveals */
.card-grid .reveal:nth-child(2), .photo-grid .reveal:nth-child(2) { transition-delay: .08s; }
.card-grid .reveal:nth-child(3), .photo-grid .reveal:nth-child(3) { transition-delay: .16s; }
.card-grid .reveal:nth-child(4), .photo-grid .reveal:nth-child(4) { transition-delay: .24s; }
.stat-bar .reveal:nth-child(2) { transition-delay: .1s; }
.stat-bar .reveal:nth-child(3) { transition-delay: .2s; }
.stat-bar .reveal:nth-child(4) { transition-delay: .3s; }

/* photo cards glow on hover too */
.photo-grid figure { transition: box-shadow .3s ease; }
.photo-grid figure:hover { box-shadow: 0 18px 48px -16px rgba(216,169,74,.3); }

@media (prefers-reduced-motion: reduce) {
  .hero h1 span, .hero .blob, .ticker-track, .hero h1 .w { animation: none !important; }
  .hero h1 .w { opacity: 1; transform: none; }
}

/* ---------- Product cards (store) ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
}
.product-card {
  margin: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, border-color .25s ease, box-shadow .3s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 18px 48px -16px rgba(216,169,74,.3);
}
.product-media {
  background:
    radial-gradient(320px 220px at 50% 30%, rgba(36,147,184,0.14), transparent 70%),
    var(--bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  min-height: 300px;
}
.product-media img { max-height: 300px; width: auto; filter: drop-shadow(0 16px 26px rgba(0,0,0,.5)); }
.product-body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 10px; }
.product-body h3 { font-size: 1.4rem; }
.product-spec {
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  color: var(--gold);
}
.product-price {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2rem;
  color: var(--gold);
  letter-spacing: 0.02em;
  line-height: 1;
}
.product-body p { font-size: 0.95rem; }
.product-body .btn { margin-top: 8px; align-self: flex-start; }
