/* ---------------------------------------------------------
   KESTREL — reference audio
   --------------------------------------------------------- */
:root {
  --bg: #08090b;
  --surface: #12151a;
  --surface-2: #171b21;
  --text: #e9edf1;
  --dim: #93a1ac;
  --dimmer: #5f6b76;
  --accent: #f2c94c;
  --line: rgba(255, 255, 255, 0.12);
  --line-soft: rgba(255, 255, 255, 0.07);
  --font-display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --maxw: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
.hero-media img, .card img, .split-media img, .band img { width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 32px; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--accent); color: #000; padding: 12px 18px; z-index: 300; }
.skip-link:focus { left: 0; }

/* ---------- type ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin: 0;
  color: #fff;
}
h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h3 { font-size: clamp(1.1rem, 1.7vw, 1.35rem); }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.eyebrow, .mono {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 400;
}
.lead { font-size: clamp(1rem, 1.3vw, 1.12rem); color: var(--dim); line-height: 1.7; }
.muted { color: var(--dim); }
.serif-italic { font-style: normal; color: var(--accent); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 22px; border-radius: 6px; border: 1px solid transparent;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn-accent { background: var(--accent); color: #0a0a0a; }
.btn-accent:hover { background: #ffd85e; }
.btn-dark { background: #1c2026; color: #fff; border-color: var(--line); }
.btn-dark:hover { background: #262b33; }
.btn-outline { border-color: var(--line); color: var(--text); background: transparent; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-light { border-color: rgba(255,255,255,.25); color: #fff; background: transparent; }
.btn-light:hover { background: #fff; color: #000; }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 14px; font-size: 10px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent);
  border-bottom: 1px solid rgba(242,201,76,.35); padding-bottom: 4px;
  transition: gap .2s ease, border-color .2s ease;
}
.link-arrow:hover { gap: 14px; border-color: var(--accent); }

/* ---------- header ---------- */
.announce { background: #000; border-bottom: 1px solid var(--line-soft); }
.announce .wrap { display: flex; align-items: center; justify-content: center; gap: 18px; min-height: 36px; flex-wrap: wrap; text-align: center; }
.announce span { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dimmer); }
.announce b { color: var(--accent); font-weight: 400; }
.announce .dot { width: 3px; height: 3px; background: var(--dimmer); }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(8,9,11,.9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line-soft); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-display); font-size: 16px; font-weight: 600; letter-spacing: 0.18em; color: #fff; }
.brand-mark { width: 24px; height: 24px; color: var(--accent); flex: 0 0 auto; }
.brand-text { display: block; line-height: 1; }
.brand-text small { display: block; font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.16em; color: var(--dimmer); margin-top: 6px; font-weight: 400; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); padding: 4px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.nav a[aria-current="page"] { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 38px; height: 38px; border: 1px solid var(--line); background: transparent; cursor: pointer; align-items: center; justify-content: center; border-radius: 6px; }
.nav-toggle span { display: block; width: 14px; height: 1.5px; background: #fff; position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 14px; height: 1.5px; background: #fff; }
.nav-toggle span::before { top: -4px; } .nav-toggle span::after { top: 4px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line-soft); }
.hero::before {
  content: ""; position: absolute; right: -10%; top: -20%; width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(242,201,76,.14), transparent 62%);
  pointer-events: none;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 64px); align-items: center; padding-block: clamp(48px, 6vw, 88px); }
.hero h1 { margin: 18px 0 20px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { max-width: 46ch; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.hero-specs { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); }
.hero-specs div { background: var(--bg); padding: 14px 16px; }
.hero-specs dt { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dimmer); }
.hero-specs dd { margin: 6px 0 0; font-family: var(--font-display); font-size: 18px; color: #fff; }
.hero-media { position: relative; aspect-ratio: 4 / 4.2; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); }
.hero-media img { object-position: center; }

/* ---------- spec strip ---------- */
.spec-strip { border-bottom: 1px solid var(--line-soft); background: var(--surface); }
.spec-strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.spec { padding: 22px 26px; border-left: 1px solid var(--line-soft); }
.spec:first-child { border-left: 0; padding-left: 0; }
.spec b { display: block; font-family: var(--font-display); font-size: 22px; font-weight: 500; color: #fff; }
.spec span { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dimmer); }

/* ---------- sections ---------- */
.section { padding: clamp(56px, 7vw, 96px) 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head h2 { margin-top: 12px; }
.section-head p { max-width: 46ch; color: var(--dim); margin: 12px 0 0; }

/* ---------- cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { border: 1px solid var(--line-soft); background: var(--surface); transition: border-color .25s ease, transform .25s ease; display: block; }
.card:hover { border-color: rgba(242,201,76,.4); transform: translateY(-3px); }
.card .media { aspect-ratio: 4 / 3.4; overflow: hidden; background: #0d0f12; border-bottom: 1px solid var(--line-soft); }
.card .media img { transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.card:hover .media img { transform: scale(1.04); }
.card .body { padding: 22px; }
.card h3 { margin-bottom: 6px; }
.card .cat { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.card p { font-size: 13.5px; color: var(--dim); margin-top: 10px; }
.card .row { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; color: var(--dimmer); text-transform: uppercase; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-soft); }

/* ---------- features ---------- */
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); }
.feature { background: var(--bg); padding: 30px; }
.feature .no { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; color: var(--accent); }
.feature h3 { margin: 14px 0 8px; }
.feature p { font-size: 14px; color: var(--dim); margin: 0; }

/* ---------- band ---------- */
.band { position: relative; height: clamp(320px, 50vh, 520px); overflow: hidden; }
.band img { position: absolute; inset: 0; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,9,11,.9), rgba(8,9,11,.2)); }
.band .wrap { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; }
.band blockquote { margin: 0; max-width: 24ch; font-family: var(--font-display); font-size: clamp(1.5rem, 2.8vw, 2.4rem); line-height: 1.12; color: #fff; letter-spacing: -0.03em; }
.band cite { display: block; margin-top: 16px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); font-style: normal; }

/* ---------- table ---------- */
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 10px; }
.spec-table th, .spec-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line-soft); }
.spec-table th { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dimmer); font-weight: 400; border-bottom-color: var(--line); }
.spec-table td { color: var(--dim); }
.spec-table td:first-child { color: #fff; }

/* ---------- cta ---------- */
.cta { background: var(--accent); color: #0a0a0a; padding: clamp(44px, 5vw, 68px) 0; }
.cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta h2 { color: #0a0a0a; max-width: 20ch; }
.cta p { color: rgba(10,10,10,.72); margin-top: 8px; }
.cta .btn-dark { background: #0a0a0a; color: #fff; border-color: #0a0a0a; }
.cta .btn-outline { border-color: rgba(10,10,10,.35); color: #0a0a0a; }
.cta .btn-outline:hover { background: #0a0a0a; color: var(--accent); border-color: #0a0a0a; }

/* ---------- footer ---------- */
.site-footer { background: #000; border-top: 1px solid var(--line-soft); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.1fr; gap: 34px; }
.footer-brand .brand { color: #fff; }
.footer-brand p { font-size: 13px; color: var(--dimmer); margin-top: 16px; max-width: 34ch; line-height: 1.7; }
.footer-col h4 { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dimmer); margin-bottom: 14px; font-weight: 400; }
.footer-col a { display: block; font-size: 13px; line-height: 2; color: var(--dim); }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid var(--line-soft); margin-top: 38px; padding-top: 20px; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.05em; color: var(--dimmer); }
.pay-line { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.pay-line span { letter-spacing: 0.14em; text-transform: uppercase; }
.pay-line b { color: var(--dim); font-weight: 400; }

/* ---------- content pages ---------- */
.page-hero { padding: clamp(44px, 6vw, 76px) 0 clamp(28px, 4vw, 40px); border-bottom: 1px solid var(--line-soft); background: var(--surface); }
.page-hero h1 { margin: 14px 0 16px; }
.page-hero .lead { max-width: 64ch; }
.breadcrumb { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dimmer); display: flex; gap: 8px; flex-wrap: wrap; }
.meta-pill { display: inline-block; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; margin-top: 18px; color: var(--dim); }

.legal-layout { display: grid; grid-template-columns: 250px 1fr; gap: clamp(30px, 5vw, 66px); padding-block: clamp(36px, 5vw, 60px) clamp(60px, 7vw, 92px); align-items: start; }
.toc { position: sticky; top: 96px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.04em; border-left: 1px solid var(--line); padding-left: 18px; }
.toc h4 { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dimmer); margin-bottom: 12px; font-weight: 400; }
.toc a { display: block; padding: 6px 0; color: var(--dim); }
.toc a:hover { color: var(--accent); }
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.25rem, 1.9vw, 1.55rem); margin: 42px 0 12px; scroll-margin-top: 96px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-family: var(--font-display); font-size: 15px; font-weight: 500; letter-spacing: 0; margin: 24px 0 8px; color: #fff; }
.prose p, .prose li { color: #b8c2cb; font-size: 15px; line-height: 1.78; }
.prose ul, .prose ol { padding-left: 20px; margin: 0 0 1.1em; }
.prose li { margin-bottom: 7px; }
.prose a { color: var(--accent); border-bottom: 1px solid rgba(242,201,76,.35); }
.prose strong { color: #fff; font-weight: 500; }
.callout { background: var(--surface); border: 1px solid var(--line-soft); border-left: 2px solid var(--accent); padding: 20px 24px; margin: 26px 0; font-size: 14.5px; color: #b8c2cb; }
.callout p:last-child { margin-bottom: 0; }
table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 14px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line-soft); vertical-align: top; color: #b8c2cb; }
th { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dimmer); font-weight: 400; border-bottom-color: var(--line); }
tbody tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; max-width: 100%; }

.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(30px, 5vw, 62px); padding-block: clamp(40px, 5vw, 64px) clamp(60px, 7vw, 92px); align-items: start; }
.contact-cards { display: grid; gap: 12px; }
.contact-card { border: 1px solid var(--line-soft); background: var(--surface); padding: 22px; border-radius: 8px; }
.contact-card h3 { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 8px; font-weight: 400; color: var(--accent); }
.contact-card p { font-size: 14px; color: var(--dim); margin: 0; }
.contact-card a { color: #fff; border-bottom: 1px solid var(--line); }
.form-card { border: 1px solid var(--line-soft); background: var(--surface); padding: clamp(24px, 4vw, 40px); border-radius: 8px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dimmer); margin-bottom: 7px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
input, select, textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 6px;
  background: #0b0d10; font: inherit; font-size: 14px; color: var(--text);
}
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 2px rgba(242,201,76,.18); }
.form-note { font-size: 11.5px; color: var(--dimmer); margin-top: 12px; }
.form-note a { color: var(--accent); text-decoration: underline; }

details.acc { border-bottom: 1px solid var(--line-soft); }
details.acc summary { cursor: pointer; padding: 18px 0; font-size: 15px; color: #fff; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
details.acc summary::-webkit-details-marker { display: none; }
details.acc summary::after { content: "+"; font-family: var(--font-mono); color: var(--accent); }
details.acc[open] summary::after { content: "–"; }
details.acc .acc-body { padding: 0 0 18px; font-size: 14.5px; color: #b8c2cb; max-width: 66ch; }
.pill-row { display: flex; gap: 8px; flex-wrap: wrap; }
.pill { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px; color: var(--dim); }
.note-box { border: 1px solid var(--line-soft); border-left: 2px solid var(--accent); background: var(--surface); padding: 20px 24px; font-size: 13.5px; color: var(--dim); margin-top: 30px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 16px); background: var(--accent); color: #000; padding: 12px 22px; border-radius: 6px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; z-index: 300; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- split + stats ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.split-media { aspect-ratio: 4 / 4.2; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-copy h2 { margin: 14px 0 16px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); margin-top: 28px; }
.stat { background: var(--bg); padding: 18px; }
.stat strong { display: block; font-family: var(--font-display); font-size: 24px; font-weight: 500; color: #fff; letter-spacing: -0.02em; }
.stat span { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dimmer); }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header.menu-open .nav {
    display: flex; position: absolute; top: 100%; left: 0; right: 0; background: #0b0d10;
    flex-direction: column; align-items: flex-start; gap: 0; padding: 6px 32px 20px; border-bottom: 1px solid var(--line);
  }
  .site-header.menu-open .nav a { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-media { order: -1; aspect-ratio: 16 / 10; }
  .spec-strip .wrap { grid-template-columns: 1fr 1fr; }
  .spec { padding: 18px; border-top: 1px solid var(--line-soft); }
  .spec:nth-child(odd) { border-left: 0; }
  .cards { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .contact-grid, .legal-layout { grid-template-columns: 1fr; }
  .toc { position: static; border-left: 0; border-top: 1px solid var(--line); padding: 14px 0 0; }
  .toc a { display: inline-block; margin-right: 14px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding-inline: 20px; }
  .hero-specs { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .announce .wrap { gap: 8px; padding-block: 8px; }
  .announce .dot { display: none; }
  .header-actions .btn { display: none; }
}
