/* ====================================================================
   GR8T Sphere — Master Stylesheet
   ==================================================================== */
:root {
  color-scheme: dark;
  --bg: #050505;
  --surface: #0d0e0f;
  --line: rgba(255,255,255,.12);
  --line-strong: rgba(255,138,0,.42);
  --text: #f5f5f5;
  --muted: #a8adb5;
  --dim: #6b7280;
  --accent: #ff8a00;
  --production: #ff3d8b;
  --academy: #7c4dff;
  --acoustics: #00b894;
  --apps: #00d4ff;
  --success: #3dff8f;
  --radius: 10px;
  --shadow: 0 28px 80px rgba(0,0,0,.5);
  --max: 1280px;
  --font: Inter, "Segoe UI", Arial, sans-serif;
  --ease-out: cubic-bezier(.16,1,.3,1);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: #030303;
  line-height: 1.55;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

/* ===== BACKGROUND GRAIN + AMBIENT ===== */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(255,138,0,.022) 1px, transparent 1px),
    linear-gradient(0deg, rgba(0,212,255,.015) 1px, transparent 1px),
    radial-gradient(circle at 75% 8%, rgba(255,138,0,.11), transparent 32rem),
    radial-gradient(circle at 20% 20%, rgba(255,138,0,.055), transparent 28rem),
    linear-gradient(180deg, #030303 0%, #050505 50%, #020202 100%);
  background-size: 74px 74px, 74px 74px, auto, auto, auto;
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--cx,50%) var(--cy,20%), rgba(255,138,0,.09), transparent 20rem),
    radial-gradient(circle at 80% 55%, rgba(0,184,148,.06), transparent 18rem),
    radial-gradient(circle at 12% 80%, rgba(124,77,255,.06), transparent 16rem);
}

/* ===== CURSOR GLOW ===== */
.cursor-glow {
  position: fixed;
  left: var(--cx,50%);
  top: var(--cy,50%);
  z-index: 99;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  pointer-events: none;
  translate: -50% -50%;
  opacity: .28;
  background: radial-gradient(circle, rgba(255,138,0,.18), transparent 60%);
  mix-blend-mode: screen;
  transition: opacity .3s ease;
}

/* ===== SCROLL PROGRESS ===== */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  z-index: 300;
  width: var(--scroll-pct, 0%);
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, #ff3d8b 50%, var(--apps) 100%);
  pointer-events: none;
  transition: width .1s linear;
}

/* ===== TOP LINE ===== */
.top-line {
  height: 5px;
  background: linear-gradient(90deg, var(--accent), var(--production), var(--academy), var(--acoustics), var(--apps));
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(3,3,3,.82);
  backdrop-filter: blur(22px) saturate(1.6);
  transition: background .3s ease;
}

.site-header.scrolled { background: rgba(3,3,3,.96); }

.nav-wrap {
  width: min(var(--max), calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand-logo {
  height: 56px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  display: block;
}

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  color: var(--text);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.nav-toggle span {
  display: block;
  width: 18px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .25s var(--ease-out), opacity .2s ease;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: .91rem;
  font-weight: 700;
}
.site-nav a { color: rgba(245,245,245,.78); transition: color .18s ease; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--accent); }

.nav-cta {
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .87rem;
  font-weight: 800;
  white-space: nowrap;
  transition: border-color .18s, background .18s, transform .18s;
}
.nav-cta:hover {
  border-color: var(--accent);
  background: rgba(255,138,0,.08);
  transform: translateY(-1px);
}

/* ===== LAYOUT ===== */
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.section { padding: 28px 0; }

/* ===== BUTTONS ===== */
.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 7px;
  cursor: pointer;
  font-size: .92rem;
  font-weight: 900;
  transition: transform .18s var(--ease-out), border-color .18s, background .18s, box-shadow .18s;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.08);
  opacity: 0;
  transition: opacity .2s ease;
}
.btn:hover::after { opacity: 1; }

.btn-primary {
  color: #140900;
  background: linear-gradient(135deg, #ffaa20, #ff6000);
  box-shadow: 0 12px 32px rgba(255,138,0,.28);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(255,138,0,.38);
}
.btn-secondary {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.24);
  color: var(--text);
}
.btn-secondary:hover {
  border-color: var(--accent);
  background: rgba(255,255,255,.07);
  transform: translateY(-2px);
}

.link-arrow {
  color: var(--card-accent, var(--accent));
  font-weight: 900;
  font-size: .88rem;
  white-space: nowrap;
  transition: letter-spacing .2s ease, opacity .2s ease;
}
.link-arrow:hover { letter-spacing: .5px; opacity: .8; }

/* ===== KICKERS & HEADINGS ===== */
.hero-kicker, .section-kicker {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: .8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* ===== HERO ===== */
.hero {
  min-height: 740px;
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0,.9fr) minmax(420px,1.1fr);
  gap: 40px;
  padding: 60px 0 32px;
  position: relative;
}

.hero-copy { position: relative; z-index: 1; }

.hero h1 {
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: .96;
  font-weight: 950;
  letter-spacing: -.02em;
  margin-top: 0;
  margin-bottom: 20px;
}
.hero h1 span { color: var(--accent); }

.hero-desc {
  max-width: 440px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

/* ===== PROOF ROW ===== */
.proof-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 10px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.09);
}
.proof {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: .75rem;
  line-height: 1.3;
}
.proof-icon {
  width: 34px; height: 34px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--accent);
}
.proof-icon::before {
  content: "";
  width: 16px; height: 16px;
  display: block;
  background: currentColor;
}
.proof-ai::before { mask: radial-gradient(circle at 50% 50%, transparent 0 4px, #000 4.5px 7px, transparent 7.5px), linear-gradient(#000 0 0); }
.proof-expert::before { mask: linear-gradient(#000 0 0) center 0 / 5px 16px no-repeat, linear-gradient(#000 0 0) 0 center / 16px 5px no-repeat, radial-gradient(circle, #000 0 6px, transparent 6.5px); }
.proof-creator::before { clip-path: polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%); }
.proof-future::before { clip-path: polygon(50% 0,100% 24%,50% 48%,0 24%); box-shadow: 0 8px 0 currentColor; }
.proof strong { display: block; color: var(--text); font-size: .83rem; }

/* ===== HERO VISUAL — IMAGE MOSAIC ===== */
.hero-visual {
  min-height: 560px;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.1);
  background: #060708;
  box-shadow: 0 40px 100px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,138,0,.06);
  transform-style: preserve-3d;
  isolation: isolate;
}

.hero-img-mosaic {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.4fr .6fr;
  gap: 3px;
  overflow: hidden;
  border-radius: inherit;
  z-index: 0;
}
.him-main, .him-sm { overflow: hidden; }
.him-main-inner, .him-sm-inner {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 1s cubic-bezier(.25,1,.5,1);
  will-change: transform;
}
.him-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 3px;
}
.home-hero-media:hover .him-main-inner { transform: scale(1.06); }
.home-hero-media:hover .him-sm-inner { transform: scale(1.08); }

/* Cinematic overlay on mosaic */
.hero-img-mosaic::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(3,3,3,.88) 0%, rgba(3,3,3,.42) 38%, rgba(3,3,3,.08) 100%),
    linear-gradient(0deg, rgba(3,3,3,.88) 0%, transparent 44%);
  pointer-events: none;
}

/* EQ bars */
.hero-eq {
  position: absolute;
  left: 5%; right: 5%;
  bottom: 24%;
  height: 68px;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  z-index: 3;
  opacity: .55;
  mix-blend-mode: screen;
  pointer-events: none;
}
.hero-eq span {
  flex: 1;
  min-width: 3px;
  background: linear-gradient(180deg, var(--accent) 0%, rgba(255,138,0,.08) 100%);
  border-radius: 3px 3px 1px 1px;
  transform-origin: bottom center;
  animation: eqPulse var(--eq-dur,1.3s) ease-in-out var(--eq-del,0ms) infinite alternate;
}
@keyframes eqPulse {
  from { transform: scaleY(var(--eq-min,.08)); }
  to   { transform: scaleY(var(--eq-max,1)); }
}

/* Glass card */
.hero-glass-card {
  position: absolute;
  right: 7%; bottom: 7%;
  z-index: 5;
  width: min(340px, 52%);
  padding: 16px 20px;
  border: 1px solid rgba(255,138,0,.32);
  border-radius: 10px;
  background: rgba(4,4,4,.65);
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0,0,0,.4);
}
.hero-glass-card strong, .hero-glass-card small { display: block; }
.hero-glass-card small { margin-top: 4px; color: var(--muted); font-size: .8rem; }
.pulse-dot {
  width: 9px; height: 9px;
  display: inline-block;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulseDot 2s ease-out infinite;
}
@keyframes pulseDot {
  0%   { box-shadow: 0 0 0 0 rgba(255,138,0,.5); }
  100% { box-shadow: 0 0 0 14px rgba(255,138,0,0); }
}

/* ===== SECTION HEAD ===== */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}
.section-head h2, .panel-copy h2, .cta-band h2 {
  margin: 0;
  font-size: 2.1rem;
  line-height: 1.06;
}
.section-head p, .panel-copy > p, .cta-band > div > p { color: var(--muted); }

/* ===== DIVISION CARDS ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 16px;
}

.feature-card {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  background: #0a0b0c;
  cursor: pointer;
  transition: transform .3s var(--ease-out), border-color .3s, box-shadow .3s;
}
.feature-card:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: color-mix(in srgb, var(--card-accent,var(--accent)) 60%, transparent);
  box-shadow:
    0 32px 70px rgba(0,0,0,.6),
    0 0 0 1px color-mix(in srgb, var(--card-accent,var(--accent)) 50%, transparent),
    0 0 60px color-mix(in srgb, var(--card-accent,var(--accent)) 18%, transparent);
}

/* Image background */
.image-card {
  isolation: isolate;
}
.image-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--card-image) center / cover no-repeat;
  transition: transform .7s cubic-bezier(.25,1,.5,1), filter .4s ease;
  filter: saturate(.9) brightness(.75);
}
.image-card:hover::before {
  transform: scale(1.07);
  filter: saturate(1.15) brightness(.9);
}
/* Gradient scrim */
.image-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 20% 15%, color-mix(in srgb, var(--card-accent,var(--accent)) 30%, transparent), transparent 10rem),
    linear-gradient(180deg, rgba(0,0,0,.04) 0%, rgba(0,0,0,.38) 50%, rgba(0,0,0,.85) 100%);
  transition: opacity .3s ease;
}
.image-card:hover::after {
  background:
    radial-gradient(circle at 20% 15%, color-mix(in srgb, var(--card-accent,var(--accent)) 45%, transparent), transparent 12rem),
    linear-gradient(180deg, rgba(0,0,0,.0) 0%, rgba(0,0,0,.2) 50%, rgba(0,0,0,.72) 100%);
}
.image-card > * { position: relative; z-index: 2; }

/* Bottom accent line */
.feature-card::before.accent-line,
.feature-card .accent-bar {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 4px;
  background: var(--card-accent, var(--accent));
  z-index: 3;
}
/* Use after for non-image cards, use separate div approach for image cards */
.feature-card:not(.image-card)::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 4px;
  background: var(--card-accent, var(--accent));
  z-index: 3;
}

.state-icon {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border: 1px solid color-mix(in srgb, var(--card-accent,var(--accent)) 60%, transparent);
  border-radius: 9px;
  background: rgba(0,0,0,.52);
  color: var(--card-accent, var(--accent));
  box-shadow: 0 0 30px color-mix(in srgb, var(--card-accent,var(--accent)) 20%, transparent);
  backdrop-filter: blur(6px);
}
.state-icon::before { content: ""; width: 22px; height: 22px; background: currentColor; }
.icon-production::before { mask: repeating-linear-gradient(90deg, #000 0 3px, transparent 3px 7px); }
.icon-academy::before { clip-path: polygon(50% 0,100% 22%,50% 45%,0 22%,50% 0,20% 35%,20% 70%,50% 90%,80% 70%,80% 35%); }
.icon-acoustics::before { mask: repeating-radial-gradient(circle, #000 0 2px, transparent 2px 5px); }
.icon-apps::before { mask: linear-gradient(#000 0 0) 0 0/9px 9px no-repeat, linear-gradient(#000 0 0) 13px 0/9px 9px no-repeat, linear-gradient(#000 0 0) 0 13px/9px 9px no-repeat, linear-gradient(#000 0 0) 13px 13px/9px 9px no-repeat; }

.feature-card h3 { margin: 0 0 8px; font-size: 1.18rem; font-weight: 800; }
.feature-card p { margin: 0 0 14px; color: rgba(245,245,245,.78); font-size: .9rem; }

/* ===== PANELS ===== */
.panel {
  position: relative;
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 20px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  background: rgba(7,8,9,.92);
  overflow: hidden;
}
.panel + .panel { margin-top: 16px; }

/* Panel colour tints */
.panel.academy  { border-color: rgba(124,77,255,.22); }
.panel.production { border-color: rgba(255,61,139,.18); }
.panel.acoustics  { border-color: rgba(0,184,148,.22); }
.panel.apps       { border-color: rgba(0,212,255,.18); }

/* Panel image background */
.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-size: cover;
  background-position: center;
  opacity: .18;
  filter: saturate(.8) blur(2px);
  transition: opacity .4s ease;
}
.panel:hover::before { opacity: .24; }

.panel.academy::before    { background-image: url('./home/panel-academy.png'); }
.panel.production::before { background-image: url('./home/panel-production.png'); }
.panel.acoustics::before  { background-image: url('./home/panel-acoustics.png'); }
.panel.apps::before       { background-image: none; background: radial-gradient(circle at 90% 10%, rgba(0,212,255,.1), transparent 22rem); }

/* Ambient glow overlay */
.panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.panel.academy::after    { background: linear-gradient(135deg, rgba(124,77,255,.1) 0%, transparent 50%); }
.panel.production::after { background: linear-gradient(135deg, rgba(255,61,139,.08) 0%, transparent 50%); }
.panel.acoustics::after  { background: linear-gradient(135deg, rgba(0,184,148,.1) 0%, transparent 50%); }
.panel.apps::after       { background: radial-gradient(circle at 90% 10%, rgba(0,212,255,.1), transparent 22rem); }

.panel > * { position: relative; z-index: 1; }

.panel-copy { min-width: 0; }
.panel-copy h2 { margin-bottom: 10px; }
.panel-copy em { font-style: normal; }

/* ===== ACADEMY PANEL — 3-col ===== */
.panel.academy {
  grid-template-columns: .62fr 1fr auto;
}

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

.mini-card {
  padding: 16px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  background: rgba(255,255,255,.03);
  transition: transform .25s var(--ease-out), border-color .25s, box-shadow .25s;
}
.mini-card:hover {
  transform: translateY(-3px);
  border-color: rgba(124,77,255,.4);
  box-shadow: 0 12px 30px rgba(0,0,0,.3);
}
.mini-card h3 { margin: 0 0 5px; font-size: .98rem; font-weight: 800; }
.mini-card p  { margin: 0; color: var(--muted); font-size: .82rem; }

.icon-box {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  margin-bottom: 11px;
  border: 1px solid color-mix(in srgb, var(--accent-local,var(--accent)) 40%, rgba(255,255,255,.14));
  border-radius: 7px;
  color: var(--accent-local, var(--accent));
  background: color-mix(in srgb, var(--accent-local,var(--accent)) 10%, transparent);
}

/* Chat bubble */
.panel-chat-preview {
  display: flex;
  align-items: flex-start;
  padding-top: 8px;
}
.chat-bubble {
  width: 210px;
  padding: 16px;
  border: 1px solid rgba(124,77,255,.3);
  border-radius: 12px;
  background: rgba(124,77,255,.08);
  backdrop-filter: blur(8px);
  animation: floatChat 4s ease-in-out infinite alternate;
}
@keyframes floatChat {
  from { transform: translateY(0); }
  to   { transform: translateY(-6px); }
}
.chat-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 9px;
  font-size: .78rem;
}
.chat-header small { color: var(--acoustics); margin-left: auto; font-size: .72rem; }
.chat-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--acoustics);
  box-shadow: 0 0 8px rgba(0,184,148,.6);
  animation: pulseDot 2s ease-out infinite;
}
.chat-bubble p { margin: 0; color: rgba(245,245,245,.8); font-size: .83rem; line-height: 1.45; }

/* ===== PRODUCTION PANEL — media rail ===== */
.media-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 12px;
}

.media-card {
  min-height: 200px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  background: #080909;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform .3s var(--ease-out), border-color .3s, box-shadow .3s;
}
.media-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,61,139,.4);
  box-shadow: 0 20px 50px rgba(0,0,0,.5);
}

.image-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--media-image) center / cover no-repeat;
  transition: transform .7s cubic-bezier(.25,1,.5,1), filter .4s ease;
  filter: saturate(.9) brightness(.85);
}
.image-media:hover::before {
  transform: scale(1.08);
  filter: saturate(1.15) brightness(1.0);
}
.image-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.04) 0%, rgba(0,0,0,.82) 100%);
  z-index: 1;
}
/* Animated bottom shine */
.image-media .shine {
  position: absolute;
  bottom: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,61,139,.08), transparent);
  z-index: 2;
  animation: mediaShine 4s ease-in-out infinite;
}
@keyframes mediaShine {
  0%   { left: -100%; }
  50%  { left: 130%; }
  100% { left: 130%; }
}

.media-card strong, .media-card p {
  position: relative; z-index: 3;
}
.media-card strong { font-size: 1rem; font-weight: 800; }
.media-card p { margin: 3px 0 0; color: var(--muted); font-size: .8rem; }

/* Float animation stagger */
@keyframes mediaFloat {
  from { transform: translateY(0); }
  to   { transform: translateY(-8px); }
}
.image-media { animation: mediaFloat 6s ease-in-out infinite alternate; }
.image-media:nth-child(2) { animation-delay: -1.5s; }
.image-media:nth-child(3) { animation-delay: -3s; }
.image-media:nth-child(4) { animation-delay: -4.5s; }
.media-card:hover { animation-play-state: paused; }

/* ===== ACOUSTICS PANEL ===== */
.acoustics-dashboard {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 14px;
}

.acou-visual {
  min-height: 220px;
  border: 1px solid rgba(0,184,148,.2);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: #040a09;
}

.acou-heatmap-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .85;
  filter: saturate(1.2) brightness(.9);
  transition: transform .8s var(--ease-out), filter .4s ease;
}
.acou-visual:hover .acou-heatmap-img {
  transform: scale(1.04);
  filter: saturate(1.4) brightness(1);
}

.acou-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.12) 0%, rgba(0,0,0,.5) 100%),
    linear-gradient(90deg, rgba(0,184,148,.08), transparent 50%);
  pointer-events: none;
}

.metric-strip-inline { display: flex; flex-direction: column; gap: 10px; }

.metric-card-inline {
  padding: 14px 16px;
  border: 1px solid rgba(0,184,148,.2);
  border-radius: var(--radius);
  background: rgba(0,184,148,.05);
  transition: border-color .2s ease, background .2s ease;
}
.metric-card-inline:hover {
  border-color: rgba(0,184,148,.45);
  background: rgba(0,184,148,.09);
}
.metric-card-inline small {
  display: block;
  color: var(--muted);
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 4px;
}
.metric-value {
  color: var(--acoustics);
  font-size: 2rem;
  font-weight: 950;
  line-height: 1;
}
.metric-unit { color: var(--acoustics); font-size: .95rem; font-weight: 700; margin-left: 2px; }
.metric-label { display: block; margin-top: 5px; color: var(--muted); font-size: .76rem; }
.metric-label.good      { color: var(--acoustics); }
.metric-label.excellent { color: var(--success); }

/* ===== APPLICATIONS ===== */
.app-showcase {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 12px;
}
.app-card {
  min-height: 200px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  background: rgba(10,11,12,.92);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform .3s var(--ease-out), border-color .3s, box-shadow .3s;
}
.app-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,212,255,.4);
  box-shadow: 0 16px 40px rgba(0,0,0,.4), 0 0 30px rgba(0,212,255,.08);
}
.app-screen {
  height: 140px;
  margin-bottom: 14px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 7px;
  overflow: hidden;
  background: var(--app-image, #060708) center / cover no-repeat;
  transition: transform .6s cubic-bezier(.25,1,.5,1), filter .3s ease;
  position: relative;
}
.app-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.55) 100%);
  pointer-events: none;
}
.app-card:hover .app-screen {
  transform: scale(1.04);
  filter: brightness(1.12) saturate(1.15);
}

.app-card h3 { margin: 0 0 4px; font-size: .98rem; font-weight: 800; }
.app-card p  { margin: 0; color: var(--muted); font-size: .8rem; }

/* ===== CTA BAND ===== */
.cta-band {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 32px;
  border: 1px solid color-mix(in srgb, var(--accent) 55%, rgba(255,255,255,.12));
  border-radius: 14px;
  background:
    radial-gradient(circle at 0% 50%, rgba(255,138,0,.12), transparent 20rem),
    linear-gradient(90deg, rgba(255,255,255,.04), rgba(255,138,0,.06));
  transition: border-color .3s ease;
}
.cta-band:hover { border-color: var(--accent); }
.cta-band h2 { margin-bottom: 10px; }

/* ===== LOGO ROW ===== */
.logo-row {
  display: grid;
  grid-template-columns: repeat(8, minmax(0,1fr));
  gap: 12px;
  align-items: center;
  padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.38);
  font-weight: 800;
  font-size: .78rem;
  text-align: center;
}
.logo-row span {
  min-height: 36px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  transition: color .2s ease;
}
.logo-row span:hover { color: rgba(255,255,255,.7); }

/* ===== FORMS ===== */
.smart-form { display: grid; gap: 14px; }
.form-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 14px;
}
.form-field label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 800;
}
.smart-form input,
.smart-form textarea,
.smart-form select {
  min-height: 48px;
  width: 100%;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 7px;
  background: rgba(255,255,255,.04);
  color: var(--text);
  padding: 0 14px;
  outline: none;
  transition: border-color .18s, box-shadow .18s;
}
.smart-form textarea {
  min-height: 120px;
  padding-top: 12px;
  resize: vertical;
}
.smart-form input:focus,
.smart-form textarea:focus,
.smart-form select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255,138,0,.15);
}
.form-status { min-height: 22px; color: var(--success); font-size: .87rem; }

/* ===== FOOTER ===== */
.site-footer {
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,.1);
  background: #020202;
}
.footer-grid {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 44px 0 36px;
  display: grid;
  grid-template-columns: 1.3fr repeat(3,.8fr) 1.2fr;
  gap: 36px;
}
.footer-grid h3 {
  margin: 0 0 14px;
  font-size: .78rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1.2px;
}
.footer-grid a, .footer-grid p { color: var(--muted); font-size: .88rem; }
.footer-grid a { display: block; margin: 7px 0; transition: color .18s ease; }
.footer-grid a:hover { color: var(--text); }
.footer-signature { margin: 18px 0 6px; font-size: .9rem !important; color: rgba(255,255,255,.65) !important; }
.footer-copy { font-size: .8rem !important; color: var(--dim) !important; line-height: 1.5; }

.subscribe {
  display: grid;
  grid-template-columns: 1fr 48px;
  margin-top: 14px;
}
.subscribe input {
  min-height: 46px;
  border: 1px solid rgba(255,255,255,.18);
  border-right: none;
  border-radius: 7px 0 0 7px;
  background: rgba(255,255,255,.04);
  color: var(--text);
  padding: 0 13px;
  outline: none;
  transition: border-color .18s;
  font-size: .88rem;
}
.subscribe input:focus { border-color: var(--accent); }
.subscribe button {
  border: 0;
  border-radius: 0 7px 7px 0;
  background: var(--accent);
  color: #100600;
  font-weight: 950;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background .18s ease;
}
.subscribe button:hover { background: #ffaa20; }

.social-row {
  display: flex;
  gap: 9px;
  margin-top: 16px;
}
.social-row a {
  width: 35px; height: 35px;
  display: grid !important;
  place-items: center;
  margin: 0 !important;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
  color: var(--muted);
  transition: color .18s, border-color .18s, transform .18s, background .18s;
}
.social-row a:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(255,138,0,.08);
  transform: translateY(-2px);
}

/* ===== UTILITIES ===== */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.accent-text { color: var(--accent); font-style: normal; }

/* ===== REVEAL & STAGGER ===== */
body:not(.reveals-initialized) [data-reveal],
body:not(.reveals-initialized) [data-stagger] > * {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

[data-stagger] > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .55s var(--ease-out), transform .55s var(--ease-out);
}
[data-stagger].is-stagger > * { opacity: 1; transform: none; }
[data-stagger].is-stagger > *:nth-child(1) { transition-delay: 0ms; }
[data-stagger].is-stagger > *:nth-child(2) { transition-delay: 90ms; }
[data-stagger].is-stagger > *:nth-child(3) { transition-delay: 180ms; }
[data-stagger].is-stagger > *:nth-child(4) { transition-delay: 270ms; }
[data-stagger].is-stagger > *:nth-child(5) { transition-delay: 360ms; }

/* Image cards get a slight scale start */
.card-grid[data-stagger] .feature-card {
  transform: translateY(28px) scale(.98);
}
.card-grid[data-stagger].is-stagger .feature-card {
  transform: translateY(0) scale(1);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

/* ===== RESPONSIVE ===== */
@media (min-width: 961px) and (max-width: 1200px) {
  .hero { grid-template-columns: minmax(0,.9fr) minmax(380px,1.1fr); min-height: 660px; }
  .hero h1 { font-size: 3.8rem; }
}

@media (max-width: 1160px) {
  .card-grid, .app-showcase { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .logo-row { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .media-rail { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .panel.academy { grid-template-columns: .65fr 1fr; }
  .panel-chat-preview { display: none; }
  .acoustics-dashboard { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 40px;
  }
  .hero-visual { min-height: 380px; }
  .hero h1 { font-size: 3rem; }
  .him-side { display: none; }
  .hero-img-mosaic { grid-template-columns: 1fr; }
}

@media (max-width: 840px) {
  .nav-wrap { width: min(100% - 24px, var(--max)); min-height: 66px; }
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    left: 12px; right: 12px;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--radius);
    background: rgba(5,5,5,.98);
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a, .site-nav .nav-cta { min-height: 44px; display: flex; align-items: center; }
  .hero h1 { font-size: 2.6rem; }
  .panel, .panel.academy, .cta-band, .form-grid { grid-template-columns: 1fr; }
  .panel-chat-preview { display: none; }
  .acoustics-dashboard { grid-template-columns: 1fr; }
  .metric-strip-inline { flex-direction: row; flex-wrap: wrap; }
  .metric-card-inline { flex: 1; min-width: 90px; }
  .footer-grid, .card-grid, .panel-grid, .app-showcase, .media-rail, .logo-row { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; }
  .section-head h2, .panel-copy h2, .cta-band h2 { font-size: 1.7rem; }
}
