:root {
  --font-fraunces: "Fraunces", ui-serif, Georgia, serif;
  --font-inter: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-jetbrains-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --gh-canvas: #091526;
  --gh-canvas-elevated: #0f213a;
  --gh-canvas-warm: #132946;
  --gh-canvas-deep: #050c17;
  --gh-ink: #eef2f8;
  --gh-ink-soft: #a4b5cc;
  --gh-ink-muted: #7286a3;
  --gh-brass: #3b82f6;
  --gh-brass-soft: #7dd3fc;
  --gh-brass-deep: #1d4ed8;
  --gh-champagne: #e0f2fe;
  --gh-pop: #f59e0b;
  --gh-pop-soft: #fbbf24;
  --gh-pop-deep: #d97706;
  --gh-paper: #f7f2e8;
  --gh-line: rgba(148, 197, 255, 0.14);
  --gh-line-strong: rgba(148, 197, 255, 0.28);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  background-color: var(--gh-canvas);
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-inter);
  color: var(--gh-ink);
  background-color: var(--gh-canvas);
  background-image:
    radial-gradient(80% 60% at 20% 0px, rgba(59, 130, 246, 0.09) 0px, rgba(0, 0, 0, 0) 60%),
    radial-gradient(60% 50% at 90% 100%, rgba(245, 158, 11, 0.06) 0px, rgba(0, 0, 0, 0) 60%);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Accessibility skip link */
.skip-link {
  transform: translateY(-200%);
  transition: transform 0.2s ease;
}
.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid var(--gh-brass-soft);
  outline-offset: 2px;
}

/* Header scroll glass state + hover/open dropdowns */
#gh-site-header.is-scrolled {
  background-color: rgba(5, 12, 23, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gh-line);
}

.gh-nav-group:hover > [role="menu"],
.gh-nav-group.is-open > [role="menu"] {
  display: block !important;
}
.gh-nav-group:hover > button svg,
.gh-nav-group.is-open > button svg {
  transform: rotate(180deg);
}

@keyframes dropdownIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-dropdownIn {
  animation: dropdownIn 220ms cubic-bezier(0.2, 0.8, 0.3, 1) both;
}

/* Trust-Band Counter-Directional Continuous Infinite Marquees */
@keyframes gh-marquee {
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}
@keyframes gh-marquee-reverse {
  0%   { transform: translate3d(-50%, 0, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

.gh-marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  will-change: transform;
  animation: gh-marquee 45s linear infinite !important;
}
.gh-marquee-track-reverse {
  display: flex;
  align-items: stretch;
  width: max-content;
  will-change: transform;
  animation: gh-marquee-reverse 60s linear infinite !important;
}
.gh-marquee-track:hover,
.gh-marquee-track-reverse:hover,
.gh-marquee-track:focus-within,
.gh-marquee-track-reverse:focus-within {
  animation-play-state: paused !important;
}

/* Hero Choreography Keyframes (BOYI AUDIO Midnight Cobalt Editorial) */
@keyframes heroFade {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-heroFade {
  animation: heroFade 900ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes heroProgress {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
.animate-heroProgress {
  animation: heroProgress 8000ms linear forwards !important;
  overflow: hidden;
}
.animate-heroProgress::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(125, 211, 252, 0.85) 50%, transparent 100%);
  animation: heroProgressShimmer 1.4s linear infinite !important;
}
@keyframes heroProgressShimmer {
  from { transform: translateX(-100%); }
  to   { transform: translateX(150%); }
}

@keyframes heroWordRise {
  from { opacity: 0; transform: translateY(48px) rotate(2deg); }
  to   { opacity: 1; transform: translateY(0) rotate(0); }
}
.animate-heroWord {
  display: inline-block;
  margin-right: 0.24em;
  animation: heroWordRise 1.1s cubic-bezier(0.16, 0.85, 0.25, 1) both !important;
  animation-delay: var(--word-delay, 0ms) !important;
  will-change: opacity, transform;
}

@keyframes heroKenBurns {
  from { transform: scale(1.02) translate3d(-1.2%, 1.2%, 0); }
  to   { transform: scale(1.12) translate3d(1.2%, -1.2%, 0); }
}
.animate-heroKenBurns {
  animation: heroKenBurns 11s cubic-bezier(0.45, 0, 0.55, 1) forwards !important;
  will-change: transform;
}

@keyframes heroStepEnter {
  from { opacity: 0; transform: translateX(72px) scale(0.92); filter: blur(10px); }
  to   { opacity: 1; transform: translateX(0) scale(1); filter: blur(0); }
}
.animate-heroStepEnter {
  animation: heroStepEnter 1s cubic-bezier(0.2, 0.8, 0.3, 1) both !important;
  animation-delay: var(--step-delay, 0ms) !important;
  will-change: opacity, transform, filter;
}

@keyframes heroBurst {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(0.4); }
  25%  { opacity: 0.7; }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(2.4); }
}
.animate-heroBurst {
  animation: heroBurst 2.4s cubic-bezier(0.22, 1, 0.36, 1) forwards !important;
  will-change: opacity, transform;
}

.hero-particle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(125, 211, 252, 0.95) 0%, rgba(59, 130, 246, 0.55) 50%, transparent 100%);
  pointer-events: none;
  will-change: transform, opacity;
}
@keyframes heroDriftA {
  0%   { transform: translate3d(0, 0, 0); opacity: 0; }
  10%, 90% { opacity: 1; }
  100% { transform: translate3d(38vw, -22vh, 0); opacity: 0; }
}
@keyframes heroDriftB {
  0%   { transform: translate3d(0, 0, 0); opacity: 0; }
  10%, 90% { opacity: 0.8; }
  100% { transform: translate3d(-26vw, -28vh, 0); opacity: 0; }
}
@keyframes heroDriftC {
  0%   { transform: translate3d(0, 0, 0); opacity: 0; }
  10%, 90% { opacity: 0.6; }
  100% { transform: translate3d(18vw, -38vh, 0); opacity: 0; }
}
.hero-particle-a { animation: heroDriftA 16s linear infinite !important; }
.hero-particle-b { animation: heroDriftB 22s linear infinite !important; }
.hero-particle-c { animation: heroDriftC 28s linear infinite !important; }

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}
.animate-heroFloat { animation: heroFloat 6s ease-in-out infinite !important; }

@keyframes heroGlow {
  0%, 100% { opacity: 0.55; }
  50%      { opacity: 1; }
}
.animate-heroGlow { animation: heroGlow 4.5s ease-in-out infinite !important; }

.hero-parallax-bg {
  transform: translate3d(calc(var(--mx, 0) * -18px), calc(var(--my, 0) * -12px), 0);
  transition: transform 600ms cubic-bezier(0.2, 0.8, 0.3, 1);
}
.hero-parallax-steps {
  transform: translate3d(calc(var(--mx, 0) * 14px), calc(var(--my, 0) * 8px), 0);
  transition: transform 500ms cubic-bezier(0.2, 0.8, 0.3, 1);
}
.hero-parallax-headline {
  transform: translate3d(calc(var(--mx, 0) * 6px), calc(var(--my, 0) * 4px), 0);
  transition: transform 700ms cubic-bezier(0.2, 0.8, 0.3, 1);
}

/* Native <details> FAQ rotation */
details > summary::-webkit-details-marker { display: none; }
details[open] > summary .gh-plus-icon { transform: rotate(45deg); }

/* Floating Chat Puck Pulse */
@keyframes gh-pulse {
  0%   { opacity: 0.5; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.55); }
}
.gh-chat-puck-pulse { position: fixed; }
.gh-chat-puck-pulse::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 9999px;
  border: 1px solid var(--gh-brass);
  opacity: 0.4;
  pointer-events: none;
  animation: gh-pulse 2.2s ease-out infinite !important;
}

/* Full Interactive Storefront Views & Modals */
.gh-view-hidden { display: none !important; }

.gh-overlay-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(5, 12, 23, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.gh-overlay-backdrop.is-open { display: flex; }

.gh-modal-panel {
  background: var(--gh-canvas-elevated);
  border: 1px solid var(--gh-line-strong);
  max-width: 960px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.65);
}

.gh-side-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(440px, 100vw);
  z-index: 85;
  background: var(--gh-canvas-elevated);
  border-left: 1px solid var(--gh-line-strong);
  padding: 28px;
  display: none;
  flex-direction: column;
  overflow-y: auto;
  box-shadow: -24px 0 60px rgba(0, 0, 0, 0.6);
}
.gh-side-drawer.is-open { display: flex; }

.gh-account-badge {
  position: absolute;
  top: 2px; right: 2px;
  min-width: 15px; height: 15px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--gh-pop);
  color: var(--gh-canvas-deep);
  font-family: var(--font-jetbrains-mono);
  font-size: 9px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* BOYI AUDIO Inline Flagship 88-SKU Showcase Enhancements */
.boyi-pill {
  padding: 8px 16px;
  font-family: var(--font-jetbrains-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  border: 1px solid var(--gh-line-strong);
  color: var(--gh-ink-soft);
  background: rgba(15, 33, 58, 0.65);
  transition: all 0.22s ease;
  cursor: pointer;
}
.boyi-pill:hover, .boyi-pill.is-active {
  border-color: var(--gh-brass-soft);
  color: var(--gh-canvas-deep);
  background: var(--gh-pop);
  font-weight: 700;
}
.boyi-sku-card {
  background: var(--gh-canvas-elevated);
  border: 1px solid var(--gh-line);
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.3, 1), border-color 0.28s ease, box-shadow 0.28s ease;
  display: flex;
  flex-direction: column;
}
.boyi-sku-card:hover {
  transform: translateY(-4px);
  border-color: var(--gh-brass-soft);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.45);
}

/* BOYI AUDIO Inline Flagship 88-SKU Showcase Enhancements */
.boyi-pill {
  padding: 8px 16px;
  font-family: var(--font-jetbrains-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  border: 1px solid var(--gh-line-strong);
  color: var(--gh-ink-soft);
  background: rgba(15, 33, 58, 0.65);
  transition: all 0.22s ease;
  cursor: pointer;
}
.boyi-pill:hover, .boyi-pill.is-active {
  border-color: var(--gh-brass-soft);
  color: var(--gh-canvas-deep);
  background: var(--gh-pop);
  font-weight: 700;
}
.boyi-sku-card {
  background: var(--gh-canvas-elevated);
  border: 1px solid var(--gh-line);
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.3, 1), border-color 0.28s ease, box-shadow 0.28s ease;
  display: flex;
  flex-direction: column;
}
.boyi-sku-card:hover {
  transform: translateY(-4px);
  border-color: var(--gh-brass-soft);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.45);
}

/* BOYI AUDIO Inline Flagship 88-SKU Showcase Enhancements */
.boyi-pill {
  padding: 8px 16px;
  font-family: var(--font-jetbrains-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  border: 1px solid var(--gh-line-strong);
  color: var(--gh-ink-soft);
  background: rgba(15, 33, 58, 0.65);
  transition: all 0.22s ease;
  cursor: pointer;
}
.boyi-pill:hover, .boyi-pill.is-active {
  border-color: var(--gh-brass-soft);
  color: var(--gh-canvas-deep);
  background: var(--gh-pop);
  font-weight: 700;
}
.boyi-sku-card {
  background: var(--gh-canvas-elevated);
  border: 1px solid var(--gh-line);
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.3, 1), border-color 0.28s ease, box-shadow 0.28s ease;
  display: flex;
  flex-direction: column;
}
.boyi-sku-card:hover {
  transform: translateY(-4px);
  border-color: var(--gh-brass-soft);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.45);
}

/* BOYI AUDIO Inline Flagship 88-SKU Showcase Enhancements */
.boyi-pill {
  padding: 8px 16px;
  font-family: var(--font-jetbrains-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  border: 1px solid var(--gh-line-strong);
  color: var(--gh-ink-soft);
  background: rgba(15, 33, 58, 0.65);
  transition: all 0.22s ease;
  cursor: pointer;
}
.boyi-pill:hover, .boyi-pill.is-active {
  border-color: var(--gh-brass-soft);
  color: var(--gh-canvas-deep);
  background: var(--gh-pop);
  font-weight: 700;
}
.boyi-sku-card {
  background: var(--gh-canvas-elevated);
  border: 1px solid var(--gh-line);
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.3, 1), border-color 0.28s ease, box-shadow 0.28s ease;
  display: flex;
  flex-direction: column;
}
.boyi-sku-card:hover {
  transform: translateY(-4px);
  border-color: var(--gh-brass-soft);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.45);
}

/* BOYI AUDIO Inline Flagship 88-SKU Showcase Enhancements */
.boyi-pill {
  padding: 8px 16px;
  font-family: var(--font-jetbrains-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  border: 1px solid var(--gh-line-strong);
  color: var(--gh-ink-soft);
  background: rgba(15, 33, 58, 0.65);
  transition: all 0.22s ease;
  cursor: pointer;
}
.boyi-pill:hover, .boyi-pill.is-active {
  border-color: var(--gh-brass-soft);
  color: var(--gh-canvas-deep);
  background: var(--gh-pop);
  font-weight: 700;
}
.boyi-sku-card {
  background: var(--gh-canvas-elevated);
  border: 1px solid var(--gh-line);
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.3, 1), border-color 0.28s ease, box-shadow 0.28s ease;
  display: flex;
  flex-direction: column;
}
.boyi-sku-card:hover {
  transform: translateY(-4px);
  border-color: var(--gh-brass-soft);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.45);
}

/* BOYI AUDIO Inline Flagship 88-SKU Showcase Enhancements */
.boyi-pill {
  padding: 8px 16px;
  font-family: var(--font-jetbrains-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  border: 1px solid var(--gh-line-strong);
  color: var(--gh-ink-soft);
  background: rgba(15, 33, 58, 0.65);
  transition: all 0.22s ease;
  cursor: pointer;
}
.boyi-pill:hover, .boyi-pill.is-active {
  border-color: var(--gh-brass-soft);
  color: var(--gh-canvas-deep);
  background: var(--gh-pop);
  font-weight: 700;
}
.boyi-sku-card {
  background: var(--gh-canvas-elevated);
  border: 1px solid var(--gh-line);
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.3, 1), border-color 0.28s ease, box-shadow 0.28s ease;
  display: flex;
  flex-direction: column;
}
.boyi-sku-card:hover {
  transform: translateY(-4px);
  border-color: var(--gh-brass-soft);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.45);
}
