/* ==========================================================================
   GANUE Audio -- monochrome, product-forward minimalism.
   Implements site/DESIGN.md. ASCII-only source. No color accent by design.
   ========================================================================== */

@font-face {
  font-family: "MetaPro";
  src: url("../fonts/metapro_normal.otf") format("opentype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "MetaPro";
  src: url("../fonts/metapro_bold.otf") format("opentype");
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  --ink: #141414;
  --ink-soft: #3d3d3d;
  --muted: #6c6c6c;
  --faint: #9a9a98;
  --hairline: #e3e3e0;
  --surface: #ffffff;
  --canvas: #f6f6f4;
  --canvas-alt: #eeeeeb;
  --dark: #141414;
  --on-dark: #f4f4f2;
  --on-dark-muted: #a2a2a0;
  --hairline-dark: #2b2b2b;

  --font: "MetaPro", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --gutter: clamp(20px, 5vw, 40px);
  --maxw: 1120px;
  --maxtext: 620px;
  --section: clamp(72px, 12vw, 132px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

/* ---------- micro-label / eyebrow ---------- */
.micro {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246,246,244,0.85);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--hairline);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 66px; }

.wordmark { display: inline-flex; align-items: center; gap: 10px; }
.wordmark .mark { width: 22px; height: 22px; display: block; }
.wordmark .brand {
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink);
}

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); padding: 4px 0; border-bottom: 1px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.nav a:hover, .nav a.current { color: var(--ink); border-color: var(--ink); }

.nav-cta {
  font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink); border: 1px solid var(--ink);
  padding: 8px 15px; border-radius: 6px; transition: background .15s ease, color .15s ease;
}
.nav-cta:hover { background: var(--ink); color: var(--canvas); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.875rem; font-weight: 700; letter-spacing: 0.01em;
  border-radius: 6px; border: 1px solid transparent; cursor: pointer;
  transition: transform .12s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: var(--canvas); padding: 13px 22px; }
.btn-primary:hover { background: #000; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--hairline); padding: 12px 21px; }
.btn-ghost:hover { border-color: var(--ink); }
.btn.on-dark.btn-primary { background: var(--on-dark); color: var(--ink); }
.btn.on-dark.btn-primary:hover { background: #fff; }
.btn.on-dark.btn-ghost { color: var(--on-dark); border-color: var(--hairline-dark); }
.btn.on-dark.btn-ghost:hover { border-color: var(--on-dark); }

.arrow-link {
  font-size: 0.875rem; color: var(--muted);
  display: inline-flex; align-items: center; gap: 7px;
}
.arrow-link:hover { color: var(--ink); }

/* ---------- hero ---------- */
.hero { padding: clamp(56px, 10vw, 104px) 0 var(--section); }
.hero .eyebrow { margin-bottom: 22px; }
.hero h1 {
  font-size: clamp(2.75rem, 6vw, 5rem);
  font-weight: 700; line-height: 1.02; letter-spacing: -0.03em;
  margin: 0 0 22px; max-width: 12ch;
}
.hero .lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ink-soft);
  max-width: var(--maxtext); margin: 0 0 32px;
}
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* product mat: the white stage the product image sits on */
.product-mat {
  margin-top: clamp(40px, 7vw, 72px);
  background: var(--surface);
  border-radius: 10px;
  padding: clamp(16px, 2.5vw, 30px);
  box-shadow: 0 30px 60px -30px rgba(20,20,20,0.28);
}
.product-mat img { width: 100%; border-radius: 4px; }
.product-mat .cap { margin-top: 16px; text-align: center; font-size: 0.8125rem; color: var(--muted); }

/* ---------- statement ---------- */
.statement { padding: var(--section) 0; border-top: 1px solid var(--hairline); }
.statement blockquote {
  margin: 0; max-width: 20ch; font-weight: 700; letter-spacing: -0.02em;
  font-size: clamp(1.7rem, 3.6vw, 2.6rem); line-height: 1.12;
}
.statement .support {
  margin: 24px 0 0; max-width: var(--maxtext);
  color: var(--muted); font-size: 1rem;
}

/* ---------- spotlight (the one dark band) ---------- */
.spotlight { background: var(--dark); color: var(--on-dark); padding: var(--section) 0; }
.spotlight .eyebrow { color: var(--on-dark-muted); margin-bottom: 20px; }
.spotlight-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.spotlight-media img { width: 100%; border-radius: 10px; }
.spotlight h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 700;
  letter-spacing: -0.02em; line-height: 1.08; margin: 0 0 10px;
}
.spotlight .tagline { color: var(--on-dark-muted); font-size: 1.05rem; margin: 0 0 22px; }
.spotlight .desc { color: var(--on-dark-muted); max-width: 46ch; margin: 0 0 26px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 30px; }
.chip {
  font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--on-dark-muted); border: 1px solid var(--hairline-dark);
  padding: 6px 11px; border-radius: 4px;
}
.spotlight .actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- approach (numbered rules) ---------- */
.approach { padding: var(--section) 0; }
.approach .head { margin-bottom: clamp(36px, 6vw, 60px); }
.approach h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 700;
  letter-spacing: -0.02em; margin: 12px 0 0; max-width: 16ch;
}
.rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--hairline); }
.rule { padding: 32px 28px 32px 0; border-bottom: 1px solid var(--hairline); }
.rule .num { font-family: var(--mono); font-size: 0.8125rem; color: var(--faint); letter-spacing: 0.04em; }
.rule h3 { font-size: 1.1875rem; font-weight: 700; letter-spacing: -0.01em; margin: 16px 0 10px; }
.rule p { margin: 0; color: var(--muted); font-size: 0.9375rem; max-width: 34ch; }

/* ---------- spec strip (numbers) ---------- */
.specstrip { padding: var(--section) 0; border-top: 1px solid var(--hairline); }
.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); border-radius: 10px; overflow: hidden; }
.spec { background: var(--canvas); padding: 26px 26px; }
.spec .k { display: block; font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.spec .v { font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 1.0625rem; color: var(--ink); }

/* ---------- generic section head ---------- */
.section { padding: var(--section) 0; border-top: 1px solid var(--hairline); }
.sec-head { margin-bottom: clamp(32px, 5vw, 52px); }
.sec-head .eyebrow { margin-bottom: 12px; }
.sec-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 700; letter-spacing: -0.02em; margin: 0; max-width: 18ch; }
.sec-head p { margin: 14px 0 0; color: var(--muted); max-width: var(--maxtext); }

/* ---------- prose block ---------- */
.prose { max-width: var(--maxtext); }
.prose p { margin: 0 0 18px; color: var(--ink-soft); font-size: 1.0625rem; line-height: 1.75; }
.prose p:last-child { margin-bottom: 0; }
.prose p.strong { color: var(--ink); font-weight: 700; }

/* ---------- signal flow (monochrome) ---------- */
.signal-flow { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 6px; }
.signal-flow .stage {
  font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink);
  border: 1px solid var(--hairline); border-radius: 4px; padding: 9px 14px; background: var(--surface);
}
.signal-flow .arrow { color: var(--faint); font-size: 0.9375rem; padding: 0 4px; }

/* ---------- screenshot grid ---------- */
.shot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.shot { background: var(--surface); border-radius: 10px; padding: 12px; box-shadow: 0 20px 44px -28px rgba(20,20,20,0.25); }
.shot img { width: 100%; border-radius: 4px; }
.shot .cap { padding: 14px 4px 4px; font-size: 0.8125rem; color: var(--muted); line-height: 1.5; }
.shot .cap strong { color: var(--ink); font-weight: 700; }

/* ---------- feature list ---------- */
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 36px; }
.feature-list li { display: flex; align-items: flex-start; gap: 11px; font-size: 0.9375rem; color: var(--ink-soft); line-height: 1.6; }
.feature-list li .tick { color: var(--ink); flex-shrink: 0; margin-top: 1px; font-weight: 700; }

/* ---------- specs table ---------- */
.specs-table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--hairline); }
.specs-table tr { border-bottom: 1px solid var(--hairline); }
.specs-table th, .specs-table td { text-align: left; padding: 16px 4px; font-size: 0.9375rem; vertical-align: top; }
.specs-table th { color: var(--muted); font-weight: 400; width: 220px; }
.specs-table td { color: var(--ink); font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* download variant of the spotlight band: centered */
.spotlight.download .spotlight-inner { max-width: 640px; text-align: center; }
.spotlight.download .actions { justify-content: center; }
.spotlight.download .note { margin: 20px 0 0; color: var(--on-dark-muted); font-size: 0.8125rem; }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: flex; align-items: center; padding: var(--section) 0; }
.notfound .code { font-family: var(--mono); font-size: 0.8125rem; letter-spacing: 0.14em; color: var(--faint); margin-bottom: 16px; }
.notfound h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; letter-spacing: -0.02em; margin: 0 0 14px; }
.notfound p { color: var(--muted); max-width: 44ch; margin: 0 0 28px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--hairline); background: var(--canvas-alt); padding: clamp(48px, 8vw, 72px) 0 28px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-brand .cap { margin: 16px 0 0; color: var(--muted); font-size: 0.875rem; max-width: 32ch; }
.footer-brand .tagline { margin: 12px 0 0; color: var(--ink); font-size: 0.875rem; font-weight: 700; }
.footer-col h5 { font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; font-weight: 700; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 0.9375rem; color: var(--ink-soft); }
.footer-col a:hover { color: var(--ink); }
.footer-col .muted { color: var(--faint); font-size: 0.9375rem; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 22px; border-top: 1px solid var(--hairline); flex-wrap: wrap; gap: 12px; }
.footer-bottom .copy { font-size: 0.8125rem; color: var(--muted); }
.footer-bottom .free { font-size: 0.75rem; letter-spacing: 0.04em; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.footer-bottom .free .led { width: 6px; height: 6px; border-radius: 50%; background: var(--ink); display: inline-block; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .spotlight-grid { grid-template-columns: 1fr; }
  .spotlight-media { order: -1; }
  .rules { grid-template-columns: 1fr; }
  .rule { padding: 26px 0; }
  .specs { grid-template-columns: 1fr; }
  .shot-grid { grid-template-columns: 1fr 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
}
@media (max-width: 520px) {
  .shot-grid { grid-template-columns: 1fr; }
  .specs-table th { width: 130px; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .nav-cta { display: none; }
}
