/* ==========================================================================
   NEXYNUS — SHARED STYLESHEET
   ========================================================================== */
:root {
  --bg-dark: #080C14;
  --bg-dark-2: #0B111C;
  --text-light: #F1F5F9;
  --text-muted: #94A3B8;

  --emerald: #00FFB3;
  --emerald-dark: #032219;
  --orange: #FF5E3A;
  --orange-dark: #220A05;
  --violet: #A855F7;
  --violet-dark: #0D0822;
  --gold: #FFD000;
  --blue: #3AA0FF;

  --font-sans: 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --header-h: 68px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background-color: var(--bg-dark);
  background-image:
    radial-gradient(ellipse 900px 500px at 15% -5%, rgba(0,255,179,0.07), transparent 60%),
    radial-gradient(ellipse 900px 500px at 90% 10%, rgba(168,85,247,0.08), transparent 60%);
  color: var(--text-light);
  font-family: var(--font-sans);
  overflow-x: hidden;
  transition: background-color 0.6s ease;
  cursor: default;
}

/* Custom cursor only on real pointer devices (mouse/trackpad) */
@media (hover: hover) and (pointer: fine) {
  body.has-fine-pointer { cursor: none; }
  body.has-fine-pointer a, body.has-fine-pointer button,
  body.has-fine-pointer input, body.has-fine-pointer select,
  body.has-fine-pointer .quiz-option, body.has-fine-pointer .tech-card { cursor: none; }
}

::selection { background: var(--gold); color: var(--bg-dark); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------------- Floating Background Geometry Canvas ---------------- */
#bgGeometryCanvas {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: -1;
  pointer-events: none;
}

/* ---------------- Smooth Shaded Cursor (desktop only) ---------------- */
#cursor-shade, #cursor-dot { display: none; }
@media (hover: hover) and (pointer: fine) {
  body.has-fine-pointer #cursor-shade {
    display: block;
    position: fixed; top: 0; left: 0;
    width: 140px; height: 140px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(0, 255, 179, 0.3) 0%, rgba(168, 85, 247, 0.2) 50%, transparent 75%);
    filter: blur(20px);
    transition: width 0.3s ease, height 0.3s ease, background 0.4s ease;
    will-change: transform;
  }
  body.has-fine-pointer #cursor-dot {
    display: block;
    position: fixed; top: 0; left: 0;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--emerald);
    pointer-events: none;
    z-index: 100000;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px var(--emerald);
  }
}
body.engineer-mode #cursor-shade {
  background: radial-gradient(circle, rgba(255, 208, 0, 0.45) 0%, rgba(255, 94, 58, 0.3) 60%, transparent 80%);
}

/* ---------------- Header HUD / Nav ---------------- */
header {
  position: fixed;
  top: 0; left: 0; width: 100%;
  height: var(--header-h);
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(8, 12, 20, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 1000;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  gap: 1rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--text-light);
  white-space: nowrap;
}
.brand-logo svg { width: 26px; height: 26px; flex-shrink: 0; }

.brand-badge {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s;
  white-space: nowrap;
}
body.engineer-mode .brand-badge {
  background: var(--gold);
  color: var(--bg-dark);
  font-weight: 800;
  box-shadow: 0 0 15px rgba(255, 208, 0, 0.4);
}

/* Subdomain-style nav */
.subdomain-nav {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 4px;
  border-radius: 10px;
}
.subdomain-nav a {
  padding: 0.5rem 0.9rem;
  border-radius: 7px;
  font-weight: 700;
  color: var(--text-muted);
  transition: all 0.2s;
  font-size: 0.8rem;
}
.subdomain-nav a:hover { color: var(--text-light); background: rgba(255,255,255,0.06); }
.subdomain-nav a.active { color: var(--bg-dark); background: var(--emerald); }
.subdomain-nav a .dim { opacity: 0.55; font-weight: 500; }

.hud-stats { display: flex; gap: 1.2rem; align-items: center; }

.unit-toggle .short { display: none; }

.unit-toggle, .cart-toggle {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-light);
  padding: 0.5rem 0.9rem;
  font-family: var(--font-mono);
  font-weight: 700;
  border-radius: 8px;
  font-size: 0.78rem;
  transition: all 0.2s;
  position: relative;
}
.unit-toggle:hover, .cart-toggle:hover {
  background: var(--emerald);
  color: var(--bg-dark);
  border-color: var(--emerald);
}
.cart-count {
  position: absolute; top: -8px; right: -8px;
  background: var(--orange); color: white;
  font-size: 0.65rem; font-weight: 800;
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

/* Hamburger (mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  z-index: 1002;
}
.hamburger span {
  width: 24px; height: 2px;
  background: var(--text-light);
  transition: all 0.25s;
}
body.nav-open .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .hamburger span:nth-child(2) { opacity: 0; }
body.nav-open .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------- Section Containers ---------------- */
section {
  min-height: 100vh;
  padding: calc(var(--header-h) + 2.5rem) 2rem 5rem 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.section-inner { max-width: 1280px; margin: 0 auto; width: 100%; }

.section-tag {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

h1, h2, h3 { font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; }
h1 { font-size: clamp(2.4rem, 7vw, 5.5rem); }
h2 { font-size: clamp(1.8rem, 4.5vw, 3.2rem); margin-bottom: 0.6rem; }

p.section-desc {
  color: var(--text-muted);
  max-width: 620px;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

/* ---------------- Hero / Slideshow ---------------- */
#hero { padding-top: var(--header-h); }
.hero-slideshow {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: -1;
}
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.6s ease, transform 8s linear;
  filter: saturate(1.1) brightness(0.55);
}
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero-slideshow::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8,12,20,0.55) 0%, rgba(8,12,20,0.75) 55%, var(--bg-dark) 100%),
    linear-gradient(90deg, rgba(8,12,20,0.5) 0%, transparent 40%);
}
.slide-dots {
  position: absolute;
  bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 2;
}
.slide-dots button {
  width: 26px; height: 4px; border-radius: 3px;
  background: rgba(255,255,255,0.25);
  border: none; padding: 0; transition: all 0.3s;
}
.slide-dots button.active { background: var(--emerald); width: 40px; }

.hero-title span {
  display: inline-block;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.2s;
  will-change: transform;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
  margin-top: 3rem;
}
.metric-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.4rem;
  border-radius: 18px;
  backdrop-filter: blur(10px);
  transition: transform 0.3s, border-color 0.3s;
}
.metric-card:hover { transform: translateY(-5px); border-color: var(--emerald); }
.metric-value { font-family: var(--font-mono); font-size: clamp(1.5rem,3vw,2.1rem); font-weight: 800; margin-top: 0.4rem; }

.hero-cta { display: flex; gap: 1rem; margin-top: 2.2rem; flex-wrap: wrap; }
.pill-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.9rem 1.6rem; border-radius: 100px;
  font-family: var(--font-mono); font-weight: 800; font-size: 0.85rem;
  border: 1px solid rgba(255,255,255,0.2);
  transition: all 0.25s;
}
.pill-btn.solid { background: var(--emerald); color: var(--bg-dark); border-color: var(--emerald); }
.pill-btn.solid:hover { box-shadow: 0 10px 30px rgba(0,255,179,0.35); transform: translateY(-2px); }
.pill-btn.ghost:hover { background: rgba(255,255,255,0.08); transform: translateY(-2px); }

/* ---------------- Playable Section Lock State ---------------- */
.playable-section { position: relative; transition: filter 0.5s ease, opacity 0.5s ease; }
body:not(.engineer-mode) .playable-section { filter: blur(8px) grayscale(0.8); pointer-events: none; user-select: none; }
.lock-overlay {
  position: absolute; inset: 0; z-index: 100;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: rgba(8, 12, 20, 0.75); backdrop-filter: blur(6px);
  text-align: center; padding: 2rem; border-radius: 24px;
  border: 1px dashed rgba(255, 255, 255, 0.2);
}
body.engineer-mode .lock-overlay { display: none; }

#aerodynamics { background: var(--emerald-dark); border-top: 1px solid rgba(0, 255, 179, 0.2); border-bottom: 1px solid rgba(0, 255, 179, 0.2); }
#aerodynamics .section-tag { color: var(--emerald); }
#aerodynamics .btn-action { background: var(--emerald); color: var(--bg-dark); }
#aerodynamics .canvas-window { background: #082822; border: 1px solid rgba(0, 255, 179, 0.3); }

#tensile { background: var(--orange-dark); border-top: 1px solid rgba(255, 94, 58, 0.2); border-bottom: 1px solid rgba(255, 94, 58, 0.2); }
#tensile .section-tag { color: var(--orange); }
#tensile .btn-action { background: var(--orange); color: white; }

#cnc { background: var(--violet-dark); border-top: 1px solid rgba(168, 85, 247, 0.2); border-bottom: 1px solid rgba(168, 85, 247, 0.2); }
#cnc .section-tag { color: var(--violet); }
#cnc .btn-action { background: var(--violet); color: white; }

.lab-node { display: grid; grid-template-columns: 1fr 340px; gap: 1.6rem; align-items: stretch; }
@media (max-width: 968px) { .lab-node { grid-template-columns: 1fr; } }

.canvas-window {
  background: #05080E; border-radius: 20px; position: relative; overflow: hidden;
  min-height: 380px; border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 15px 35px rgba(0,0,0,0.4);
  touch-action: none;
}
canvas { display: block; width: 100%; height: 100%; }

.controls-beside {
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px; padding: 1.6rem; display: flex; flex-direction: column;
  justify-content: space-between; gap: 1.1rem; backdrop-filter: blur(12px);
}
.control-group { display: flex; flex-direction: column; gap: 0.5rem; }
.control-group label { font-family: var(--font-mono); font-size: 0.82rem; font-weight: 700; display: flex; justify-content: space-between; }

input[type="range"] { appearance: none; -webkit-appearance: none; background: rgba(255, 255, 255, 0.15); height: 7px; border-radius: 4px; outline: none; width: 100%; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--text-light); transition: transform 0.15s; }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--text-light); border: none; }

select {
  background:#0F172A; color:var(--text-light); border:1px solid rgba(255,255,255,0.2);
  padding:0.7rem; border-radius:10px; font-family:var(--font-mono); font-weight:700; width: 100%;
}

.btn-action {
  border: none; padding: 0.95rem 1.4rem; font-family: var(--font-mono); font-weight: 800;
  border-radius: 12px; transition: all 0.2s ease; text-transform: uppercase; letter-spacing: 0.5px;
  font-size: 0.85rem;
}
.btn-action:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2); }

.readout-box {
  font-family: var(--font-mono); font-size: 0.85rem; display: flex; flex-direction: column;
  gap: 0.55rem; padding: 1.1rem; border-radius: 12px;
}
.readout-box div { display: flex; justify-content: space-between; gap: .5rem; }

/* ---------------- Quiz ---------------- */
.quiz-section {
  background: rgba(255, 255, 255, 0.03); border: 2px solid var(--gold); border-radius: 24px;
  padding: clamp(1.5rem,4vw,3rem) clamp(1.2rem,4vw,2.5rem); box-shadow: 0 0 30px rgba(255, 208, 0, 0.15);
  position: relative; overflow: hidden;
}
.quiz-container { display: flex; flex-direction: column; gap: 1.1rem; max-width: 680px; }
.quiz-option {
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1rem 1.3rem; border-radius: 12px; font-family: var(--font-mono); font-weight: 700;
  transition: all 0.2s; display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  font-size: 0.92rem;
}
.quiz-option:hover { border-color: var(--gold); background: rgba(255, 208, 0, 0.1); transform: translateX(6px); }
.quiz-option.correct { background: rgba(0, 255, 179, 0.25) !important; border-color: var(--emerald) !important; color: var(--emerald) !important; }
.quiz-option.wrong { background: rgba(255, 94, 58, 0.25) !important; border-color: var(--orange) !important; color: var(--orange) !important; }

/* ---------------- Tech Cards ---------------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.6rem; width: 100%; }
.tech-card {
  background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px; padding: 2rem; position: relative;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1); will-change: transform;
}
.tech-card .icon-badge { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 1.2rem; }
.tech-card h3 { font-size: 1.25rem; margin-bottom: 0.6rem; }
.tech-card p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.5; margin-bottom: 1.2rem; }
.tech-card .spec-tag { font-family: var(--font-mono); font-size: 0.75rem; font-weight: 700; padding: 6px 12px; border-radius: 8px; display: inline-block; }

/* ---------------- Testimonials ---------------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 1.5rem; }
.testimonial-card {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px; padding: 1.8rem; font-size: 0.95rem; line-height: 1.6; color: var(--text-muted);
}
.testimonial-card .stars { color: var(--gold); margin-bottom: .8rem; letter-spacing: 2px; }
.testimonial-card .who { margin-top: 1rem; font-family: var(--font-mono); font-weight: 700; color: var(--text-light); font-size: 0.85rem; }

/* ---------------- Finale ---------------- */
.finale-container { text-align: center; align-items: center; justify-content: center; padding: 5rem 2rem 6rem 2rem; margin-top: 1rem; }
.burst-btn {
  padding: 1.3rem 3rem; font-size: 1.05rem; font-family: var(--font-mono); font-weight: 800;
  color: var(--bg-dark); background: linear-gradient(135deg, var(--gold), var(--emerald));
  border: none; border-radius: 100px; box-shadow: 0 15px 35px rgba(255, 208, 0, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}
.burst-btn:hover { transform: scale(1.05); box-shadow: 0 20px 45px rgba(255, 208, 0, 0.5); }

footer { border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 3rem 1.5rem 2rem; font-family: var(--font-mono); font-size: 0.85rem; color: var(--text-muted); }
.footer-grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); gap: 2rem; margin-bottom: 2rem; }
.footer-grid h4 { color: var(--text-light); font-size: 0.8rem; letter-spacing: 1px; margin-bottom: 1rem; text-transform: uppercase; }
.footer-grid a { display: block; margin-bottom: 0.6rem; transition: color .2s; }
.footer-grid a:hover { color: var(--emerald); }
.footer-bottom { max-width: 1280px; margin: 0 auto; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.06); text-align: center; }

/* ---------------- Shop ---------------- */
.shop-hero { min-height: 60vh; padding-top: calc(var(--header-h) + 3rem); }
.category-tabs { display: flex; gap: .6rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.category-tab {
  padding: .7rem 1.3rem; border-radius: 100px; border: 1px solid rgba(255,255,255,0.15);
  font-family: var(--font-mono); font-weight: 700; font-size: .8rem; color: var(--text-muted); transition: all .2s;
}
.category-tab.active, .category-tab:hover { background: var(--blue); color: white; border-color: var(--blue); }

.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.8rem; }
.product-card {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.09);
  border-radius: 22px; overflow: hidden; display: flex; flex-direction: column;
  transition: transform .3s, border-color .3s;
}
.product-card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,0.25); }
.product-img-wrap { height: 220px; overflow: hidden; position: relative; background: #0d1420; }
.product-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product-card:hover .product-img-wrap img { transform: scale(1.06); }
.product-badge {
  position: absolute; top: 12px; left: 12px; background: rgba(8,12,20,0.85);
  padding: 5px 10px; border-radius: 8px; font-family: var(--font-mono); font-size: .7rem; font-weight: 700;
  border: 1px solid rgba(255,255,255,0.15);
}
.product-body { padding: 1.5rem; display: flex; flex-direction: column; gap: .8rem; flex: 1; }
.product-brand { font-family: var(--font-mono); font-size: .72rem; color: var(--text-muted); letter-spacing: 1px; text-transform: uppercase; }
.product-body h3 { font-size: 1.2rem; }
.product-tagline { color: var(--text-muted); font-size: .88rem; line-height: 1.5; }
.spec-list { display: flex; flex-direction: column; gap: .35rem; font-family: var(--font-mono); font-size: .78rem; color: var(--text-muted); margin: .4rem 0; }
.spec-list li { list-style: none; display: flex; gap: .5rem; }
.spec-list li::before { content: '▸'; color: var(--emerald); }
.product-footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding-top: .6rem; }
.price-tag { font-family: var(--font-mono); font-weight: 800; font-size: 1.15rem; }
.price-tag small { display: block; font-size: .65rem; color: var(--text-muted); font-weight: 500; }
.add-cart-btn {
  background: var(--emerald); color: var(--bg-dark); border: none; padding: .7rem 1.1rem;
  border-radius: 10px; font-family: var(--font-mono); font-weight: 800; font-size: .78rem; transition: all .2s;
  white-space: nowrap;
}
.add-cart-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,255,179,.3); }
.add-cart-btn.added { background: var(--gold); }
.official-link { font-size: .72rem; color: var(--text-muted); font-family: var(--font-mono); }
.official-link:hover { color: var(--blue); }

/* Cart drawer */
.cart-drawer {
  position: fixed; top: 0; right: -400px; width: min(400px, 92vw); height: 100vh;
  background: rgba(10,14,22,0.98); backdrop-filter: blur(20px);
  border-left: 1px solid rgba(255,255,255,0.1); z-index: 2000;
  transition: right .35s cubic-bezier(.2,.9,.3,1); display: flex; flex-direction: column;
  padding: 1.5rem; gap: 1rem;
}
.cart-drawer.open { right: 0; }
.cart-drawer-header { display: flex; justify-content: space-between; align-items: center; margin-top: calc(var(--header-h) - 1rem); }
.cart-items { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: .8rem; }
.cart-item { display: flex; gap: .8rem; background: rgba(255,255,255,0.04); border-radius: 12px; padding: .7rem; align-items: center; }
.cart-item img { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; }
.cart-item-info { flex: 1; font-size: .82rem; }
.cart-item-info .name { font-weight: 700; }
.cart-item-info .price { color: var(--text-muted); font-family: var(--font-mono); font-size: .78rem; }
.cart-remove { background: none; border: none; color: var(--orange); font-size: 1.1rem; }
.cart-total { font-family: var(--font-mono); font-weight: 800; display: flex; justify-content: space-between; padding-top: .8rem; border-top: 1px solid rgba(255,255,255,0.1); }
.cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1999; opacity: 0; pointer-events: none; transition: opacity .3s; }
.cart-overlay.open { opacity: 1; pointer-events: auto; }
.checkout-note { font-size: .75rem; color: var(--text-muted); text-align: center; line-height: 1.5; }

/* ---------------- Mobile ---------------- */
@media (max-width: 860px) {
  .subdomain-nav { display: none; position: fixed; top: var(--header-h); left: 0; right: 0;
    background: rgba(8,12,20,0.97); flex-direction: column; align-items: stretch;
    padding: 1rem; gap: .3rem; border-radius: 0; border: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  body.nav-open .subdomain-nav { display: flex; }
  .subdomain-nav a { text-align: center; padding: .9rem; font-size: .85rem; }
  .hamburger { display: flex; }
  .unit-toggle .full { display: none; }
  .unit-toggle .short { display: inline; }
  section { padding: calc(var(--header-h) + 1.5rem) 1.1rem 3.5rem; }
  .hero-metrics { grid-template-columns: 1fr 1fr; }
  .canvas-window { min-height: 300px; }
}
@media (max-width: 480px) {
  .hero-metrics { grid-template-columns: 1fr; }
  header { padding: 0 1rem; }
  .brand-logo span.brand-text { font-size: 1rem; }
}
