:root {
  --ink: #0c1118;
  --ink-2: #151c27;
  --fog: #9aa7b8;
  --paper: #eef2f6;
  --accent: #2ec4b6;
  --accent-dim: #1a8f85;
  --arcade: #f0a202;
  --line: rgba(238, 242, 246, 0.12);
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--paper);
  background:
    radial-gradient(1200px 700px at 80% -10%, rgba(46, 196, 182, 0.18), transparent 55%),
    radial-gradient(900px 600px at 10% 70%, rgba(46, 196, 182, 0.06), transparent 50%),
    linear-gradient(165deg, #0a0e14 0%, var(--ink) 45%, #101820 100%);
  font-family: "Instrument Sans", sans-serif;
  line-height: 1.55;
  min-height: 100vh;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.04;
  z-index: 50;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem clamp(1.2rem, 4vw, 2.5rem);
  backdrop-filter: blur(14px);
  background: rgba(12, 17, 24, 0.72);
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.wordmark img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: invert(1);
}

nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.92rem;
  color: var(--fog);
}

nav a:hover {
  color: var(--paper);
}

.nav-cta {
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(46, 196, 182, 0.45);
  border-radius: 999px;
  color: var(--accent) !important;
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  padding: clamp(2.5rem, 7vh, 5rem) clamp(1.2rem, 4vw, 2.5rem) 4rem;
  max-width: calc(var(--max) + 4rem);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}

.hero h1 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: 0.04em;
  font-weight: 700;
  font-stretch: expanded;
  transform: scaleX(1.06);
  transform-origin: left center;
}

.lede {
  margin: 1.25rem 0 0;
  max-width: 34rem;
  color: var(--fog);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.35s var(--ease), background 0.25s ease, border-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  background: var(--accent);
  color: #06211f;
}

.btn.ghost {
  border: 1px solid var(--line);
  color: var(--paper);
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
}

.hero-glow {
  position: absolute;
  width: 70%;
  height: 70%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 196, 182, 0.28), transparent 70%);
  filter: blur(8px);
  animation: pulse 5.5s ease-in-out infinite;
}

.hero-logo {
  position: relative;
  width: min(78%, 420px);
  filter: invert(1) drop-shadow(0 20px 50px rgba(0, 0, 0, 0.45));
  animation: float 7s var(--ease) infinite;
}

.wave-trace {
  position: absolute;
  bottom: 8%;
  left: 5%;
  width: 90%;
  height: 80px;
  color: rgba(46, 196, 182, 0.7);
  opacity: 0.85;
}

.wave-trace path {
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: draw 3.2s var(--ease) 0.3s forwards;
}

.band {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  max-width: calc(var(--max) + 4rem);
  margin: 0 auto;
  padding: clamp(3.5rem, 9vh, 6rem) clamp(1.2rem, 4vw, 2.5rem);
}

.band-arcade {
  grid-template-columns: 0.9fr 1.1fr;
}

.section-label {
  margin: 0 0 0.6rem;
  color: var(--accent);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 600;
}

.band-arcade .section-label {
  color: var(--arcade);
}

h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.section-lead {
  margin: 1rem 0 0;
  color: var(--fog);
  max-width: 36rem;
  font-size: 1.05rem;
}

.feature-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.feature-list li {
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.35rem;
}

.feature-list strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
}

.feature-list span {
  color: var(--fog);
  font-size: 0.98rem;
}

.band-panel {
  min-height: 320px;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  overflow: hidden;
  position: relative;
}

.audio-panel {
  display: grid;
  place-items: end stretch;
  padding: 2rem;
}

.oscope {
  display: flex;
  align-items: flex-end;
  gap: 0.55rem;
  height: 180px;
}

.oscope span {
  flex: 1;
  border-radius: 999px 999px 4px 4px;
  background: linear-gradient(180deg, var(--accent), rgba(46, 196, 182, 0.15));
  animation: bars 1.8s ease-in-out infinite;
}

.oscope span:nth-child(1) { height: 35%; animation-delay: 0s; }
.oscope span:nth-child(2) { height: 62%; animation-delay: 0.1s; }
.oscope span:nth-child(3) { height: 48%; animation-delay: 0.2s; }
.oscope span:nth-child(4) { height: 88%; animation-delay: 0.05s; }
.oscope span:nth-child(5) { height: 55%; animation-delay: 0.25s; }
.oscope span:nth-child(6) { height: 72%; animation-delay: 0.15s; }
.oscope span:nth-child(7) { height: 40%; animation-delay: 0.3s; }
.oscope span:nth-child(8) { height: 60%; animation-delay: 0.18s; }

.arcade-panel {
  display: grid;
  place-items: center;
  padding: 2rem;
}

.cabinet {
  width: min(100%, 260px);
  background: #1a1410;
  border: 2px solid rgba(240, 162, 2, 0.35);
  border-radius: 0.75rem 0.75rem 1.2rem 1.2rem;
  padding: 0.85rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.bezel {
  height: 10px;
  margin-bottom: 0.5rem;
  background: linear-gradient(90deg, #3a2a18, #6a4a22);
  border-radius: 4px;
}

.screen {
  aspect-ratio: 4 / 3;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.15) 0 2px,
      transparent 2px 4px
    ),
    radial-gradient(circle at 50% 40%, #13351f, #06140c 70%);
  border: 3px solid #2a2118;
  display: grid;
  place-items: center;
  color: #6dff8a;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  text-shadow: 0 0 12px rgba(109, 255, 138, 0.55);
  animation: blink 2.4s steps(2, end) infinite;
}

.controls {
  margin-top: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  justify-content: center;
}

.stick {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #777, #222);
  box-shadow: inset 0 -4px 0 #111;
}

.controls .btn {
  width: 16px;
  height: 16px;
  padding: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ff6b4a, #8a1f10);
}

.about {
  padding: clamp(3.5rem, 9vh, 6rem) clamp(1.2rem, 4vw, 2.5rem);
  max-width: calc(var(--max) + 4rem);
  margin: 0 auto;
}

.about-inner {
  max-width: 42rem;
  padding: 2.25rem;
  border-left: 3px solid var(--accent);
  background: linear-gradient(90deg, rgba(46, 196, 182, 0.08), transparent 70%);
}

.about p {
  color: var(--fog);
  margin: 1rem 0 0;
}

.contact {
  text-align: center;
  padding: clamp(4rem, 10vh, 7rem) clamp(1.2rem, 4vw, 2.5rem) 5rem;
  border-top: 1px solid var(--line);
}

.contact p {
  color: var(--fog);
  margin: 0.85rem auto 1.75rem;
  max-width: 30rem;
}

.site-footer {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.5rem clamp(1.2rem, 4vw, 2.5rem) 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--fog);
  font-size: 0.9rem;
}

.site-footer img {
  width: 36px;
  height: 36px;
  filter: invert(1);
  opacity: 0.9;
}

.site-footer strong {
  display: block;
  color: var(--paper);
  font-family: "Space Grotesk", sans-serif;
}

.site-footer a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes pulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}

@keyframes draw {
  to { stroke-dashoffset: 0; }
}

@keyframes bars {
  0%, 100% { transform: scaleY(0.75); }
  50% { transform: scaleY(1.15); }
}

@keyframes blink {
  50% { opacity: 0.55; }
}

@media (max-width: 900px) {
  .hero,
  .band,
  .band-arcade {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 2.5rem;
  }

  .hero-visual {
    min-height: 300px;
    order: -1;
  }

  .band-arcade .arcade-panel {
    order: -1;
  }

  nav a:not(.nav-cta) {
    display: none;
  }
}
