/* Layout: one dark scrolling page, left-aligned sections separated by hairlines; a bass staff is the recurring motif. Single committed dark theme. */
:root {
  --bg: #121417;          /* near-black, charcoal-biased */
  --surface: #1A1E22;
  --surface-2: #22272C;
  --line: #2C3237;
  --fg: #EDF1F1;
  --muted: #9AA5AB;
  --teal: #12A189;        /* brand teal */
  --teal-bright: #2FC7AB; /* teal for text on dark */
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Public Sans", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  --step-0: 1.0625rem;
  --step-1: 1.3rem;
  --step-2: 1.7rem;
  --step-3: clamp(2rem, 4vw, 2.7rem);
  --step-4: clamp(2.5rem, 6.5vw, 4.4rem);
  --wrap: 72rem;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--font-body); font-size: var(--step-0); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--bg); }
img { max-width: 100%; display: block; }
a { color: var(--teal-bright); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--teal-bright); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; margin: 0; }
h1 { font-size: var(--step-4); font-weight: 800; }
h2 { font-size: var(--step-3); font-weight: 750; }
h3 { font-size: var(--step-1); font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; max-width: 65ch; }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 1rem; top: 1rem; z-index: 50; background: var(--teal); color: #fff; padding: .5rem 1rem; border-radius: 8px; }
.wrap {
  max-width: var(--wrap); margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.eyebrow { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-bright); font-weight: 700; }
.lede { font-size: var(--step-1); color: var(--muted); line-height: 1.5; }
.muted { color: var(--muted); }
.stack { display: grid; gap: 1rem; }
.placeholder { background: color-mix(in srgb, var(--teal) 22%, transparent); border-radius: 4px; padding: 0 .25em; }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: .75rem 1rem; padding-block: 0.75rem; flex-wrap: wrap; }
.brand img { height: 44px; width: auto; }
.nav { display: flex; gap: .25rem 1.4rem; flex-wrap: wrap; align-items: center; }
.nav a { color: var(--fg); text-decoration: none; font-weight: 550; font-size: .95rem; padding-block: .3rem; border-bottom: 2px solid transparent; }
.nav a:not(.btn):hover { border-bottom-color: var(--teal); }
@media (max-width: 760px) { .nav a:not(.btn) { display: none; } .brand img { height: 38px; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5rem; padding: .75rem 1.25rem; border-radius: 999px;
  font-weight: 650; text-decoration: none; font-family: var(--font-body); font-size: 1rem;
  border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: #0F8C77; transform: translateY(-1px); }
.btn-ghost { border-color: var(--line); color: var(--fg); background: transparent; }
.btn-ghost:hover { border-color: var(--fg); }
.nav .btn { padding: .5rem 1rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Sections */
section { padding-block: clamp(3.5rem, 8vw, 6rem); border-top: 1px solid var(--line); }
section.hero { border-top: 0; }
.section-head { display: grid; gap: .75rem; margin-bottom: 2.5rem; }

/* Hero */
.hero { padding-block: clamp(3rem, 8vw, 6rem) clamp(3rem, 7vw, 5rem); background: radial-gradient(60rem 30rem at 85% 10%, color-mix(in srgb, var(--teal) 12%, transparent), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero-copy { display: grid; gap: 1.4rem; min-width: 0; }
.hero h1 em { font-style: normal; color: var(--teal-bright); }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }

/* Staff diagram */
.staff { width: 100%; height: auto; max-width: 100%; }
.staff .ln { stroke: color-mix(in srgb, var(--fg) 26%, transparent); stroke-width: 2; }
.staff .note { fill: var(--fg); }
.staff .note.win { fill: var(--teal-bright); }
.staff .stem { stroke: var(--fg); stroke-width: 3; }
.staff .lbl { fill: var(--muted); font-family: var(--font-mono); font-size: 15px; letter-spacing: .04em; }
.staff .lbl.win { fill: var(--teal-bright); font-weight: 700; }
.staff .clef { fill: var(--fg); }
.staff .clef path { stroke: var(--fg); }
.staff .clef .dot { fill: var(--teal-bright); }
.staff-caption { font-family: var(--font-mono); font-size: .78rem; color: var(--muted); margin-top: .5rem; }
.note-in { animation: rise .6s cubic-bezier(.2,.8,.2,1) both; }
@keyframes rise { from { transform: translateY(14px); opacity: .3; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .note-in { animation: none; } .btn { transition: none; } }

/* Problems */
.problems { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0; margin: 2.5rem 0 0; border-top: 1px solid var(--line); }
.problems li { list-style: none; padding: 1.4rem 1.4rem 1.4rem 0; border-bottom: 1px solid var(--line); display: grid; gap: .35rem; }
.problems li:nth-child(odd) { border-right: 1px solid var(--line); }
.problems li:nth-child(even) { padding-left: 1.4rem; }
.problems strong { font-family: var(--font-display); font-size: 1.12rem; }
.problems span { color: var(--muted); }
@media (max-width: 720px) { .problems { grid-template-columns: 1fr; } .problems li:nth-child(odd) { border-right: 0; } .problems li:nth-child(even) { padding-left: 0; } }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 960px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .services { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 1.5rem; display: grid; gap: .6rem; align-content: start; min-width: 0; }
.card .tag { font-family: var(--font-mono); font-size: .75rem; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.card p { color: var(--muted); }
.card ul { margin: .25rem 0 0; padding-left: 1.1rem; color: var(--muted); display: grid; gap: .2rem; font-size: .95rem; }
.card li::marker { color: var(--teal-bright); }
.platforms { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0; }
.platforms li { list-style: none; font-family: var(--font-mono); font-size: .85rem; border: 1px solid var(--line); border-radius: 999px; padding: .3rem .8rem; color: var(--muted); }
.platforms li.hl { border-color: var(--teal); color: var(--teal-bright); }
.engage { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-top: 2.5rem; }
@media (max-width: 860px) { .engage { grid-template-columns: 1fr; } }
.engage .card { background: transparent; }

/* Partners */
.partner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 820px) { .partner-grid { grid-template-columns: 1fr; } }
.partner-grid .card { padding: 1.75rem; background: var(--surface-2); }
.partner-grid .card.feature { border-color: color-mix(in srgb, var(--teal) 55%, var(--line)); }
.partner-grid .go { font-weight: 650; text-decoration: none; }
.partner-grid .go:hover { text-decoration: underline; }

/* Process */
.process { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.25rem; padding: 0; margin: 0; }
.process li { list-style: none; display: grid; gap: .5rem; align-content: start; border-top: 3px solid var(--fg); padding-top: 1rem; min-width: 0; }
.process li:last-child { border-top-color: var(--teal); }
.process .num { font-family: var(--font-mono); font-size: .8rem; color: var(--muted); }
.process p { color: var(--muted); font-size: .97rem; }
@media (max-width: 900px) { .process { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .process { grid-template-columns: 1fr; } }

/* Two columns (about, music, contact) */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.two-col > * { min-width: 0; }
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; } }
.prose { display: grid; gap: 1.1rem; }
.values { display: grid; gap: 1.25rem; padding: 0; margin: 0; }
.values li { list-style: none; display: grid; gap: .25rem; padding-left: 1rem; border-left: 3px solid var(--teal); }
.values span { color: var(--muted); }
.listen { display: grid; gap: .75rem; }
.listen a { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1rem 1.25rem; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--fg); background: var(--surface); }
.listen a:hover { border-color: var(--teal); }
.listen .kind { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

/* Contact */
.form { display: grid; gap: 1.1rem; background: var(--surface); border: 1px solid var(--line); padding: clamp(1.25rem, 3vw, 2rem); border-radius: 16px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: .35rem; min-width: 0; }
label { font-weight: 600; font-size: .95rem; }
.opt { color: var(--muted); font-weight: 400; }
input, select, textarea { font: inherit; color: var(--fg); background: var(--bg); width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: .7rem .85rem; }
input:focus, select:focus, textarea:focus { border-color: var(--teal); outline: none; }
textarea { min-height: 9rem; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.form-status { font-weight: 600; min-height: 1.5em; }
.form-status.ok { color: var(--teal-bright); }
.form-status.err { color: #F08A6E; }
.expect { padding: 0; margin: 0; display: grid; gap: 1rem; counter-reset: e; }
.expect li { list-style: none; display: grid; grid-template-columns: 2rem 1fr; gap: .75rem; color: var(--muted); }
.expect li::before { counter-increment: e; content: counter(e); font-family: var(--font-mono); font-weight: 700; color: var(--teal-bright); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 2.5rem; color: var(--muted); font-size: .92rem; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; align-items: center; }
.site-footer img { height: 34px; width: auto; }
.site-footer nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--fg); }

/* Music facts */
.facts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.facts div { padding: 1.25rem 0; border-bottom: 1px solid var(--line); display: grid; gap: .3rem; }
.facts div:nth-child(odd) { padding-right: 1.25rem; border-right: 1px solid var(--line); }
.facts div:nth-child(even) { padding-left: 1.25rem; }
.facts dt { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; }
.facts div:last-child dd { color: var(--teal-bright); font-family: var(--font-mono); }

/* Closing call to action */
.cta { background: var(--surface); }
.cta-grid { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; }
@media (max-width: 760px) { .cta-grid { grid-template-columns: 1fr; } }

/* Contact page */
.contact-page { border-top: 0; padding-block: clamp(3rem, 7vw, 5rem); }
.contact-page h1 { font-size: var(--step-3); }
