/* Takt Audio Labs — one stylesheet for the whole site.
   Dark, committed. Near-black ground, one cold accent used sparingly,
   Inter at light weights with wide tracking.

   Motion rules: slow, few, and never blocking. Everything is legible with
   JavaScript off and with animation off. */

:root {
  --ground:   #05070A;
  --raise:    #0C1014;
  --sunk:     #090C10;
  --line:     #1C2228;
  --line-soft:#12171C;

  --ink:      #E0E4E8;
  --dim:      rgba(224, 228, 232, 0.45);
  --faint:    rgba(224, 228, 232, 0.28);
  --ghost:    rgba(224, 228, 232, 0.12);

  --accent:   #6FAFC6;
  --accent-hi:#BFE0EA;
  --accent-lo:rgba(111, 175, 198, 0.26);
  --accent-xl:rgba(111, 175, 198, 0.08);
  --on-accent:#04080A;

  --f: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --gutter: clamp(20px, 5vw, 64px);
  --max: 1180px;

  color-scheme: dark;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--f);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--accent-lo); color: var(--ink); }
:focus-visible { outline: 1px solid var(--accent); outline-offset: 3px; }

.shell { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }

/* ---------------------------------------------------------- typography */
.eyebrow {
  font-size: 9.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  margin-right: -0.3em;
  color: var(--accent);
}
.eyebrow.quiet { color: var(--faint); }

h1, h2, h3 { font-weight: 200; margin: 0; text-wrap: balance; }
h2.section {
  font-size: clamp(20px, 3.4vw, 28px);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-right: -0.2em;
  line-height: 1.3;
}
h3.item {
  font-size: 15px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-right: -0.18em;
}

p { margin: 0 0 1.1em; color: var(--dim); max-width: 62ch; }
p.lead { font-size: 16.5px; color: rgba(224,228,232,0.6); }
strong { color: var(--ink); font-weight: 400; }
.num { font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------- nav */
.nav {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: rgba(5, 7, 10, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-in {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.nav-brand {
  font-size: 10px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.36em;
  margin-right: -0.36em;
  color: rgba(224, 228, 232, 0.55);
  text-decoration: none;
  white-space: nowrap;
  transition: color .5s ease;
}
.nav-brand:hover { color: var(--ink); }

.nav-links { display: flex; align-items: center; gap: clamp(14px, 3vw, 28px); flex-wrap: wrap; }
.nav-links a {
  position: relative;
  font-size: 9.5px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  margin-right: -0.24em;
  color: rgba(224, 228, 232, 0.4);
  text-decoration: none;
  white-space: nowrap;
  padding-block: 4px;
  transition: color .45s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 1px; width: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.cta {
  color: var(--accent);
  border: 1px solid var(--accent-lo);
  padding: 8px 15px;
  transition: background .5s ease, border-color .5s ease;
}
.nav-links a.cta::after { display: none; }
.nav-links a.cta:hover { background: var(--accent-xl); border-color: var(--accent); }

/* --------------------------------------------------------------- hero */
.hero {
  padding-block: clamp(80px, 14vh, 150px) clamp(60px, 10vh, 110px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
/* the ambient wash behind the name, breathing very slowly */
.hero::before {
  content: "";
  position: absolute;
  left: 50%; top: 40%;
  width: min(1100px, 130%);
  aspect-ratio: 2 / 1;
  translate: -50% -50%;
  background: radial-gradient(ellipse at center, var(--accent-xl), transparent 62%);
  pointer-events: none;
  animation: breathe 13s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { opacity: .55; scale: 1;    }
  50%      { opacity: 1;   scale: 1.12; }
}
.hero > * { position: relative; }

/* The name. A cold sheen travels through the letters and the whole thing
   glows a little in and out. Two effects on one element, both slow. */
.hero-name {
  font-weight: 200;
  font-size: clamp(25px, 6.2vw, 52px);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  padding-right: 0.3em;
  margin: 0 0 22px;
  line-height: 1.16;
  color: var(--accent);
  background-image: linear-gradient(
    100deg,
    var(--accent) 34%,
    var(--accent-hi) 46%,
    var(--accent) 58%
  );
  background-size: 260% 100%;
  background-position: 130% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: sheen 11s ease-in-out infinite, glow 7s ease-in-out infinite;
}
@keyframes sheen {
  0%       { background-position: 130% 0; }
  55%, 100%{ background-position: -30% 0; }
}
@keyframes glow {
  0%, 100% { filter: drop-shadow(0 0 14px rgba(111,175,198,.12)); }
  50%      { filter: drop-shadow(0 0 30px rgba(111,175,198,.34)); }
}

.hero-sub {
  font-size: clamp(9px, 1.6vw, 10.5px);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  padding-right: 0.32em;
  color: rgba(224, 228, 232, 0.34);
  margin: 0;
}
.hero-rule {
  width: 1px; height: 54px;
  background: linear-gradient(var(--ghost), transparent);
  margin: 46px auto 0;
  transform-origin: top;
  animation: drop 2.4s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes drop { from { scale: 1 0; opacity: 0 } to { scale: 1 1; opacity: 1 } }

/* ------------------------------------------------------------ product */
.band { padding-block: clamp(56px, 9vw, 104px); border-top: 1px solid var(--line-soft); }
.band.sunk { background: var(--sunk); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.split.wide-left { grid-template-columns: 1.05fr 0.95fr; }
@media (max-width: 820px) { .split, .split.wide-left { grid-template-columns: 1fr; } }
.split > * { min-width: 0; }

.prod-name {
  font-weight: 200;
  font-size: clamp(30px, 5.4vw, 46px);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  padding-right: 0.2em;
  line-height: 1.1;
  margin: 14px 0 16px;
}
.pills { display: flex; gap: 7px; flex-wrap: wrap; margin: 0 0 26px; padding: 0; list-style: none; }
.pills li {
  font-size: 8.5px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  padding: 5px 11px;
  color: var(--faint);
  border: 1px solid var(--line);
  border-radius: 999px;
  white-space: nowrap;
  transition: color .5s ease, border-color .5s ease;
}
.pills li:hover { color: var(--dim); border-color: var(--accent-lo); }

.price { display: flex; align-items: baseline; gap: 14px; margin-bottom: 24px; flex-wrap: wrap; }
.price .was { font-size: 13px; color: var(--faint); text-decoration: line-through; }
.price .now { font-weight: 200; font-size: clamp(26px, 4.6vw, 34px); letter-spacing: 0.02em; }

.actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn {
  position: relative;
  display: inline-block;
  font-size: 9.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  padding: 15px 28px;
  text-decoration: none;
  border: 1px solid transparent;
  white-space: nowrap;
  overflow: hidden;
  transition: background .5s ease, border-color .5s ease, color .5s ease;
}
/* a single pass of light across the button on hover, not a loop */
.btn::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 -60%;
  width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.22), transparent);
  transform: translateX(0);
  transition: transform .8s cubic-bezier(.3,.7,.3,1);
}
.btn:hover::before { transform: translateX(370%); }
.btn-solid { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.btn-solid:hover { background: var(--accent-hi); border-color: var(--accent-hi); }
.btn-line { color: rgba(224,228,232,0.72); border-color: var(--line); }
.btn-line:hover { color: var(--ink); border-color: var(--accent-lo); }

/* -------------------------------------------------- the panel drawing */
.panel-wrap { position: relative; padding: 18px; }
.panel-wrap::before {
  content: "";
  position: absolute;
  inset: 12%;
  background: var(--accent);
  filter: blur(70px);
  opacity: 0.16;
  pointer-events: none;
  animation: breathe 13s ease-in-out infinite;
}
.panel {
  position: relative;
  background: linear-gradient(#11161A, #0B0F13);
  border: 1px solid var(--line);
  padding: 16px;
}
.panel-top {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px; margin-bottom: 14px; flex-wrap: wrap;
}
.panel-name { font-size: 9px; text-transform: uppercase; letter-spacing: 0.3em; color: rgba(224,228,232,0.55); }
.panel-read { font-size: 8.5px; letter-spacing: 0.12em; color: var(--accent); }

.grid16 {
  position: relative;
  display: grid; grid-template-columns: repeat(16, 1fr); gap: 2px;
  height: 92px; margin-bottom: 14px;
}
.grid16 i { background: rgba(224,228,232,0.045); display: block; }
.grid16 i.on { background: rgba(224,228,232,0.22); }
.grid16 i.hit { background: var(--accent); }
/* the playhead, stepping across sixteen steps like the real thing */
.grid16::after {
  content: "";
  position: absolute;
  top: -5px; bottom: -5px; left: 0;
  width: calc(100% / 16);
  border-left: 1px solid var(--accent);
  background: linear-gradient(90deg, rgba(111,175,198,.20), transparent);
  animation: step 5.2s steps(16, end) infinite;
  pointer-events: none;
}
@keyframes step { to { transform: translateX(1600%); } }

.panel-row { display: flex; gap: 14px; }
.ctrl { flex: 1; min-width: 0; }
.ctrl-bar { height: 3px; background: rgba(224,228,232,0.09); position: relative; }
.ctrl-bar span { position: absolute; inset: 0 auto 0 0; background: var(--accent); }
.ctrl-lab { font-size: 7.5px; text-transform: uppercase; letter-spacing: 0.2em; color: rgba(224,228,232,0.3); margin-top: 8px; }

/* ------------------------------------------------------------- lists */
.cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(22px, 4vw, 44px);
  margin-top: 40px;
}
.cols > div { min-width: 0; }
.cols h3.item { margin-bottom: 10px; }
.cols p { font-size: 14px; margin-bottom: 0; }

.spec { width: 100%; border-collapse: collapse; margin-top: 34px; font-size: 14px; }
.spec th, .spec td { text-align: left; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.spec th {
  font-size: 9px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.22em;
  color: var(--faint); width: 34%; white-space: nowrap;
}
.spec td { color: var(--dim); }

/* ------------------------------------------------------------ footer */
.foot { border-top: 1px solid var(--line-soft); padding-block: 48px 56px; }
.foot-in { display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; align-items: flex-start; }
.foot-mark { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.foot-mark .t { font-weight: 200; font-size: 20px; text-transform: uppercase; letter-spacing: 0.24em; padding-right: 0.24em; }
.foot-mark .d { font-weight: 500; font-size: 8.5px; text-transform: uppercase; letter-spacing: 0.4em; padding-right: 0.4em; color: var(--faint); }
.foot-links { display: flex; gap: 24px; flex-wrap: wrap; }
.foot-links a { font-size: 9px; text-transform: uppercase; letter-spacing: 0.22em; color: var(--faint); text-decoration: none; transition: color .5s ease; }
.foot-links a:hover { color: var(--ink); }
.foot-legal { margin-top: 34px; font-size: 11px; color: rgba(224,228,232,0.22); }
.foot-legal p { color: inherit; margin: 0; max-width: none; }

/* ------------------------------------------------------------- misc */
.note-line { border-left: 1px solid var(--accent-lo); padding-left: 20px; margin-top: 30px; }
.note-line p:last-child { margin-bottom: 0; }

/* ----------------------------------------------------- scroll reveal
   The class is added by motion.js, so with JavaScript off nothing is
   hidden and the page reads exactly as it should. */
.js .reveal { opacity: 0; transform: translateY(18px); }
.js .reveal.in {
  opacity: 1; transform: none;
  transition: opacity 1.1s cubic-bezier(.2,.7,.2,1), transform 1.1s cubic-bezier(.2,.7,.2,1);
}
.js .reveal.d1.in { transition-delay: .09s; }
.js .reveal.d2.in { transition-delay: .18s; }
.js .reveal.d3.in { transition-delay: .27s; }

/* --------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition-duration: .01ms !important;
  }
  .hero-name { background: none; -webkit-text-fill-color: var(--accent); color: var(--accent); }
  .js .reveal { opacity: 1; transform: none; }
}
