:root {
  --bg: #11100e;
  --bg-soft: #191815;
  --panel: #22211e;
  --panel-light: #d4d0c7;
  --line: rgba(255,255,255,.13);
  --line-dark: rgba(0,0,0,.28);
  --text: #efede6;
  --muted: #aaa69c;
  --ink: #171614;
  --orange: #ff9d00;
  --orange-soft: #ffc14d;
  --max: 1180px;
  --shadow: 0 24px 70px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 16% 0%, rgba(255,157,0,.06), transparent 24rem),
    var(--bg);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
::selection { background: var(--orange); color: var(--ink); }

.skip-link {
  position: fixed;
  z-index: 1000;
  left: 1rem;
  top: 1rem;
  padding: .7rem 1rem;
  color: #111;
  background: #fff;
  transform: translateY(-180%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.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;
}

.container { width: min(calc(100% - 2.4rem), var(--max)); margin-inline: auto; }
.narrow { max-width: 850px; }
.section { padding: clamp(5rem, 9vw, 8.5rem) 0; }

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
}
.site-header.scrolled {
  background: rgba(17,16,14,.86);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }

.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand-word {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.07em;
  color: transparent;
  background: linear-gradient(180deg, #f3f0e8 0%, #9b978e 45%, #e5e0d6 52%, #6e6a63 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 1px 0 #000) drop-shadow(0 2px 3px rgba(0,0,0,.65));
}
.brand-code {
  padding: .28rem .5rem;
  border: 1px solid #827e75;
  border-radius: .24rem;
  color: #c7c2b8;
  background: linear-gradient(#34332f, #171715);
  box-shadow: inset 0 0 0 1px #090909, 0 2px 5px rgba(0,0,0,.45);
  font-size: .68rem;
  letter-spacing: .14em;
}

.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav a { color: #c3bfb5; text-decoration: none; font-size: .86rem; letter-spacing: .03em; }
.site-nav a:hover, .site-nav a:focus-visible { color: #fff; }
.site-nav .nav-cta {
  padding: .55rem .82rem;
  border: 1px solid rgba(255,157,0,.55);
  color: var(--orange-soft);
}
.nav-toggle { display: none; }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 9rem 0 7rem;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(100deg, rgba(15,14,12,.98) 0%, rgba(15,14,12,.95) 48%, rgba(15,14,12,.72) 100%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.018) 0 1px, transparent 1px 4px),
    #11100e;
}
.hero-grid {
  position: absolute;
  inset: 0;
  opacity: .22;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, transparent, #000 60%, #000);
}
.hero-layout { position: relative; display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(3rem, 6vw, 6rem); align-items: center; }
.eyebrow, .section-index, .kicker {
  margin: 0 0 1rem;
  color: var(--orange-soft);
  font-size: .75rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 700;
}
.status-light {
  display: inline-block;
  width: .55rem;
  height: .55rem;
  margin-right: .5rem;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,157,0,.12), 0 0 16px rgba(255,157,0,.8);
}
.hero h1 {
  margin: 0;
  max-width: 680px;
  font-size: clamp(4rem, 9vw, 8.2rem);
  line-height: .83;
  letter-spacing: -.075em;
  text-transform: uppercase;
}
.hero h1 span {
  color: transparent;
  background: linear-gradient(180deg, #fff3da 0%, #c6b99f 48%, #777066 52%, #f0e9dc 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.hero-lead { max-width: 660px; margin: 2rem 0 0; color: #c8c4bb; font-size: clamp(1.05rem, 2vw, 1.26rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin: 2.2rem 0 0; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: .8rem 1.1rem;
  border: 1px solid transparent;
  text-decoration: none;
  text-transform: uppercase;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .09em;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-primary { color: #18130a; background: linear-gradient(180deg, #ffbd44, #ff9500); box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 8px 24px rgba(255,157,0,.16); }
.button-secondary { color: #e3ded4; border-color: #5e5a53; background: linear-gradient(#2d2c28, #181715); }
.microcopy { max-width: 600px; margin-top: 1rem; color: #77736c; font-size: .78rem; }

.audio-unit {
  position: relative;
  padding: clamp(1.1rem, 3vw, 1.6rem);
  border: 1px solid #3a3834;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.015) 0 1px, transparent 1px 3px),
    linear-gradient(145deg, #24231f, #0e0e0d 70%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), inset 0 -1px 0 #000, var(--shadow);
}
.audio-unit::before, .audio-unit::after { content: ""; position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #080808; box-shadow: inset 0 1px 1px #555; }
.audio-unit::before { top: 10px; left: 10px; }
.audio-unit::after { right: 10px; bottom: 10px; }
.unit-topline { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: 1rem; color: #8f8b82; font-size: .64rem; text-transform: uppercase; letter-spacing: .13em; }
.serial { color: #d5d0c7; }
.display-window { position: relative; overflow: hidden; min-height: 210px; border: 1px solid #4e493f; background: linear-gradient(180deg, #0b1a18, #08100f); box-shadow: inset 0 0 35px rgba(0,0,0,.9), 0 0 0 5px #111; }
.display-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,190,75,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,190,75,.08) 1px, transparent 1px); background-size: 24px 24px; }
.spectrum { position: absolute; inset: 26px 22px 28px; display: flex; align-items: end; gap: 5px; }
.spectrum i { display: block; flex: 1; min-width: 3px; height: var(--h); background: linear-gradient(180deg, #ffe5a7, #ff9d00 48%, #6f3f00); box-shadow: 0 0 8px rgba(255,157,0,.35); transform-origin: bottom; animation: pulse 1.25s ease-in-out infinite alternate; animation-delay: var(--d); }
.display-labels { position: absolute; inset: auto 12px 7px; display: flex; justify-content: space-between; color: #7f735f; font-size: .54rem; letter-spacing: .05em; }
@keyframes pulse { from { transform: scaleY(.52); opacity: .7; } to { transform: scaleY(1); opacity: 1; } }

.meter-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.3rem; }
.vu-meter { position: relative; min-height: 140px; overflow: hidden; padding: 1rem; border: 1px solid #5e594f; color: #27231d; background: linear-gradient(#e8e0cd, #bfb5a0); box-shadow: inset 0 0 26px rgba(255,185,73,.18), 0 0 0 5px #111; }
.vu-meter::before { content: ""; position: absolute; left: 10%; right: 10%; bottom: 24px; height: 82px; border-top: 1px solid rgba(35,30,23,.55); border-radius: 50% 50% 0 0; }
.vu-scale { display: flex; justify-content: space-between; font-size: .55rem; }
.vu-meter strong { position: absolute; left: 0; right: 0; bottom: 8px; text-align: center; font-size: .57rem; letter-spacing: .16em; }
.needle { position: absolute; left: 50%; bottom: 23px; width: 1px; height: 75px; background: #a53120; transform-origin: bottom; box-shadow: 0 0 2px rgba(165,49,32,.5); }
.needle-left { animation: needle-left 2.4s ease-in-out infinite alternate; }
.needle-right { animation: needle-right 1.9s ease-in-out infinite alternate; }
@keyframes needle-left { from { transform: rotate(-38deg); } to { transform: rotate(23deg); } }
@keyframes needle-right { from { transform: rotate(-24deg); } to { transform: rotate(34deg); } }
.unit-controls { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin-top: 1.3rem; }
.unit-controls div { display: flex; align-items: center; gap: .55rem; color: #77736c; text-transform: uppercase; letter-spacing: .07em; }
.control-dot { width: 11px; height: 11px; border: 1px solid #65615a; border-radius: 50%; background: #111; box-shadow: inset 0 1px 2px #000; }
.control-dot.active { background: var(--orange); box-shadow: 0 0 10px rgba(255,157,0,.7); }
.unit-controls small { font-size: .5rem; }
.hero-strip { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; gap: 2rem; padding: 1rem; border-top: 1px solid var(--line); color: #747068; font-size: .7rem; letter-spacing: .45em; }
.hero-strip i { width: 95px; height: 4px; align-self: center; border-radius: 3px; background: var(--orange); box-shadow: 0 0 10px rgba(255,157,0,.8); }

.section-index { margin-bottom: 1.25rem; }
h2 { margin: 0 0 1.4rem; font-size: clamp(2.4rem, 5vw, 4.8rem); line-height: 1; letter-spacing: -.055em; }
h3 { margin: 0; font-size: 1.4rem; line-height: 1.2; }
p { margin-top: 0; }
.large-copy { color: #eeeae2; font-size: clamp(1.35rem, 2.6vw, 2rem); line-height: 1.45; letter-spacing: -.02em; }
.intro { background: linear-gradient(180deg, #171613, #11100e); }
.intro p:not(.section-index) { color: #b8b4aa; }
.intro a { color: var(--orange-soft); }

.demos-section { border-block: 1px solid var(--line); background: #0e0e0d; }
.section-heading { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 3rem; margin-bottom: 3rem; }
.section-heading p:last-child { max-width: 500px; margin-left: auto; color: var(--muted); }
.demo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.35rem; }
.demo-card { position: relative; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(145deg, #24231f, #141311); transition: transform .25s ease, border-color .25s ease; }
.demo-card:hover { transform: translateY(-5px); border-color: rgba(255,157,0,.45); }
.demo-link { display: block; text-decoration: none; }
.demo-visual { position: relative; min-height: 320px; overflow: hidden; border-bottom: 1px solid var(--line); background: #0a0a09; }
.demo-number { position: absolute; top: 1rem; right: 1.2rem; z-index: 4; color: rgba(255,255,255,.28); font-size: .75rem; letter-spacing: .15em; }
.demo-content { padding: 2rem; }
.demo-content p { color: #a7a39a; }
.demo-content h3 { margin-bottom: .85rem; color: #f2efe8; font-size: clamp(1.7rem, 3vw, 2.5rem); letter-spacing: -.04em; }
.text-link { display: inline-flex; gap: .55rem; color: var(--orange-soft); text-transform: uppercase; font-size: .74rem; font-weight: 800; letter-spacing: .1em; }
.text-link b { transition: transform .2s ease; }
.demo-link:hover .text-link b { transform: translateX(5px); }
.dance-visual { background: radial-gradient(circle at 50% 50%, rgba(255,157,0,.17), transparent 24%), radial-gradient(circle at 55% 55%, #1c2a28, #080908 65%); }
.particle-core { position: absolute; left: 50%; top: 50%; width: 80px; height: 80px; border-radius: 50%; transform: translate(-50%,-50%); background: radial-gradient(circle at 35% 35%, #fff2cd, #ff9d00 25%, #4f2a00 70%); box-shadow: 0 0 30px rgba(255,157,0,.5), 0 0 80px rgba(255,157,0,.2); }
.orbit { position: absolute; left: 50%; top: 50%; border: 1px solid rgba(255,188,77,.35); border-radius: 50%; transform: translate(-50%,-50%) rotateX(65deg); }
.orbit::before, .orbit::after { content: ""; position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--orange-soft); box-shadow: 0 0 9px rgba(255,157,0,.9); }
.orbit-one { width: 250px; height: 250px; animation: orbit 9s linear infinite; }
.orbit-two { width: 390px; height: 390px; opacity: .58; animation: orbit-reverse 13s linear infinite; }
.orbit-one::before { left: 22px; top: 94px; }.orbit-one::after { right: 14px; bottom: 98px; }
.orbit-two::before { left: 76px; top: 14px; }.orbit-two::after { right: 62px; bottom: 30px; }
@keyframes orbit { to { transform: translate(-50%,-50%) rotateX(65deg) rotateZ(360deg); } }
@keyframes orbit-reverse { to { transform: translate(-50%,-50%) rotateX(65deg) rotateZ(-360deg); } }
.analyser-visual { background: linear-gradient(180deg, #0d1d1a, #080d0c); }
.analyser-visual::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,157,0,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,157,0,.08) 1px, transparent 1px); background-size: 28px 28px; }
.wave { position: absolute; left: -10%; width: 120%; height: 100px; border-top: 3px solid var(--orange); border-radius: 50%; filter: drop-shadow(0 0 7px rgba(255,157,0,.7)); }
.wave-one { top: 35%; transform: rotate(-5deg); animation: wave 2.2s ease-in-out infinite alternate; }
.wave-two { top: 50%; opacity: .55; transform: rotate(4deg) scaleY(.6); animation: wave 1.7s ease-in-out infinite alternate-reverse; }
.wave-three { top: 62%; opacity: .25; transform: rotate(-2deg) scaleY(.4); animation: wave 2.8s ease-in-out infinite alternate; }
@keyframes wave { from { border-radius: 40% 60% 35% 65%; } to { border-radius: 65% 35% 60% 40%; transform: rotate(3deg) scaleY(.72); } }

.technology { background: linear-gradient(180deg, #dad6cd, #bdb8ae); color: var(--ink); }
.technology .section-index { color: #8d4f00; }
.tech-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(3rem, 7vw, 7rem); align-items: start; }
.tech-copy p:not(.section-index) { color: #47433d; }
.signal-chain { list-style: none; margin: 0; padding: 0; border: 1px solid rgba(0,0,0,.22); background: rgba(255,255,255,.23); box-shadow: 0 18px 60px rgba(0,0,0,.12); }
.signal-chain li { display: grid; grid-template-columns: 56px 1fr; gap: 1rem; padding: 1.3rem; border-bottom: 1px solid rgba(0,0,0,.16); }
.signal-chain li:last-child { border-bottom: 0; }
.signal-chain li > span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: #1d160d; background: var(--orange); font-size: .72rem; font-weight: 800; }
.signal-chain strong, .signal-chain small { display: block; }
.signal-chain strong { margin-bottom: .15rem; }
.signal-chain small { color: #5f5a51; line-height: 1.4; }

.uses { background: #12110f; }
.uses-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.use-card { min-height: 270px; padding: 1.5rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.use-card > span { display: block; margin-bottom: 3rem; color: var(--orange); font-size: .67rem; letter-spacing: .12em; }
.use-card h3 { margin-bottom: .75rem; }
.use-card p { color: var(--muted); font-size: .92rem; }

.credit { padding-top: 0; }
.credit-panel { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; align-items: end; padding: clamp(2rem, 5vw, 4rem); border: 1px solid rgba(255,157,0,.34); background: linear-gradient(135deg, rgba(255,157,0,.12), rgba(255,157,0,.02)); }
.credit-panel h2 { margin-bottom: 0; font-size: clamp(2.3rem, 4vw, 4rem); }
.credit-panel > p { margin-bottom: 0; color: #c7c2b8; font-size: 1.08rem; }

.faq { border-top: 1px solid var(--line); background: #0d0d0c; }
.faq-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 5rem; }
.faq-heading { position: sticky; top: 120px; align-self: start; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; cursor: pointer; list-style: none; padding: 1.4rem 3rem 1.4rem 0; color: #f0ede6; font-weight: 700; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 0; top: 1.2rem; color: var(--orange); font-size: 1.5rem; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 760px; padding: 0 2rem 1.5rem 0; color: var(--muted); }

.final-cta { padding-top: 0; background: #0d0d0c; }
.final-panel { padding: clamp(2rem, 7vw, 6rem); text-align: center; border: 1px solid var(--line); background: radial-gradient(circle at 50% 0%, rgba(255,157,0,.12), transparent 43%), linear-gradient(#201f1c, #11100e); box-shadow: var(--shadow); }
.final-panel h2 { max-width: 920px; margin-inline: auto; }
.final-panel p:not(.eyebrow) { max-width: 680px; margin: 0 auto 2rem; color: #aaa69d; }

.site-footer { padding: 2rem 0; border-top: 1px solid var(--line); background: #090909; }
.footer-grid { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 2rem; }
.site-footer p { margin: 0; color: #77736c; font-size: .78rem; }
.site-footer a { color: #bcb7ad; }
.footer-brand .brand-word { font-size: 1.5rem; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in-view { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .site-nav {
    position: fixed;
    inset: 76px 1rem auto;
    display: grid;
    gap: 0;
    padding: .7rem;
    border: 1px solid var(--line);
    background: rgba(17,16,14,.98);
    box-shadow: var(--shadow);
    transform: translateY(-18px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .site-nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .site-nav a { padding: .9rem; border-bottom: 1px solid var(--line); }
  .site-nav a:last-child { border-bottom: 0; }
  .nav-toggle { display: grid; width: 44px; height: 44px; place-content: center; gap: 5px; border: 1px solid var(--line); color: white; background: #171614; }
  .nav-toggle span:not(.sr-only) { width: 20px; height: 1px; background: currentColor; }
  .hero-layout, .tech-layout { grid-template-columns: 1fr; }
  .hero { padding-top: 8rem; }
  .audio-unit { max-width: 700px; }
  .uses-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-layout { grid-template-columns: 1fr; gap: 2rem; }
  .faq-heading { position: static; }
}

@media (max-width: 720px) {
  .container { width: min(calc(100% - 1.4rem), var(--max)); }
  .section { padding: 4.5rem 0; }
  .hero h1 { font-size: clamp(3.5rem, 20vw, 6rem); }
  .hero-strip { justify-content: space-between; gap: .8rem; font-size: .55rem; letter-spacing: .23em; }
  .hero-strip i { width: 54px; }
  .button { width: 100%; }
  .meter-row { gap: .6rem; }
  .vu-meter { min-height: 120px; padding: .7rem; }
  .needle { height: 62px; }
  .section-heading { grid-template-columns: 1fr; gap: 0; }
  .section-heading p:last-child { margin-left: 0; }
  .demo-grid { grid-template-columns: 1fr; }
  .demo-visual { min-height: 260px; }
  .uses-grid { grid-template-columns: 1fr; }
  .use-card { min-height: 220px; }
  .credit-panel { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; text-align: left; gap: .8rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
