/* POPR MUSIC · Distribution — layout + components */

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: var(--hot); text-decoration: none; }
a:hover { color: var(--ink); }

img { max-width: 100%; display: block; }

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

.eyebrow {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--hot);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--hot);
  box-shadow: 0 0 8px var(--hot-glow);
}

.lede {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.6;
  color: var(--ink-dim);
  max-width: 56ch;
}

/* ── buttons ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 15px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--hot);
  color: #0a0808;
  box-shadow: 0 0 0 0 var(--hot-glow);
}
.btn-primary:hover { color: #0a0808; box-shadow: 0 8px 30px var(--hot-glow); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule-2);
}
.btn-ghost:hover { color: var(--ink); border-color: var(--hot); }

/* ── top nav ─────────────────────────────────────────────────────────── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6,7,13,.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink);
}
.brand .mark {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, var(--bg) 0 18%, var(--saffron) 19% 23%, var(--bg) 24% 44%, var(--saffron) 45% 49%, var(--bg) 50%);
  box-shadow: 0 0 12px var(--saffron-glow);
  flex: none;
}
.brand small {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 400;
  font-size: 10px;
  letter-spacing: .22em;
  color: var(--ink-dim);
}
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--ink-dim); }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-toggle { display: none; background: none; border: 0; color: var(--ink); cursor: pointer; }
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-cta .btn-ghost { display: none; }
}

/* ── hero ────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding-top: clamp(56px, 10vh, 120px);
  padding-bottom: var(--section-y);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.hero h1 { margin: 22px 0 0; }
.hero h1 .hot { color: var(--hot); }
.hero .lede { margin-top: 26px; }
.hero-cta { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.hero-visual { display: flex; justify-content: center; }
.lady {
  width: 100%;
  max-width: 440px;
  height: auto;
  /* art ships as black line-work — invert to cool off-white for the dark ground */
  filter: invert(1) brightness(.95)
          drop-shadow(0 0 50px var(--saffron-glow))
          drop-shadow(0 26px 70px rgba(0,0,0,.5));
}

.hero-glow {
  position: absolute;
  width: 60vw; height: 60vw;
  max-width: 720px; max-height: 720px;
  right: -10vw; top: -10vw;
  background: radial-gradient(circle, var(--saffron-glow) 0, transparent 62%);
  filter: blur(20px);
  pointer-events: none;
  z-index: -1;
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .lady { max-width: 300px; }
}

/* ── section scaffolding ─────────────────────────────────────────────── */
.section { padding-block: var(--section-y); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 { margin: 16px 0 0; }
.section-head p { margin: 18px 0 0; }

/* ── service cards ───────────────────────────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.card {
  position: relative;
  background: var(--bg-raised);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 30px 28px 32px;
  overflow: hidden;
  transition: border-color .2s ease, transform .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--rule-2); }
.card::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--c, var(--hot));
  box-shadow: 0 0 18px var(--c, var(--hot));
  opacity: .85;
}
.card .num {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--c, var(--hot));
}
.card h3 {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 21px;
  letter-spacing: .02em;
  text-transform: uppercase;
  margin: 16px 0 10px;
}
.card p { margin: 0; color: var(--ink-dim); font-family: "IBM Plex Mono", monospace; font-size: 13.5px; line-height: 1.6; }

/* ── process steps ───────────────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
}
.step {
  background: var(--bg-raised);
  padding: 28px 24px 34px;
  position: relative;
}
.step .idx {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 34px;
  color: var(--ink-faint);
  line-height: 1;
}
.step h4 {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 14px 0 8px;
}
.step p { margin: 0; font-family: "IBM Plex Mono", monospace; font-size: 12.5px; line-height: 1.55; color: var(--ink-dim); }

/* ── format spec table ───────────────────────────────────────────────── */
.specs-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td {
  text-align: left;
  padding: 15px 12px;
  border-bottom: 1px solid var(--rule);
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
}
.spec-table th {
  color: var(--ink-dim);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.spec-table td:first-child { color: var(--ink); }
.spec-table td { color: var(--ink-dim); }
.spec-table tr:hover td { color: var(--ink); }

.format-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.tag {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--rule-2);
  color: var(--ink-dim);
}
@media (max-width: 760px) { .specs-grid { grid-template-columns: 1fr; } }

/* ── why / value list ────────────────────────────────────────────────── */
.value-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.value-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px 0;
  border-top: 1px solid var(--rule);
}
.value-list li:last-child { border-bottom: 1px solid var(--rule); }
.value-list .vk {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--ink);
  min-width: 0;
}
.value-list .vv { font-family: "IBM Plex Mono", monospace; font-size: 13.5px; line-height: 1.6; color: var(--ink-dim); }

/* ── FAQ accordion ───────────────────────────────────────────────────── */
.faq { border-top: 1px solid var(--rule); }
.faq details {
  border-bottom: 1px solid var(--rule);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  font-size: clamp(16px, 2vw, 21px);
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { flex: none; color: var(--hot); transition: transform .2s ease; font-family: "IBM Plex Mono", monospace; font-size: 20px; }
.faq details[open] summary .ico { transform: rotate(45deg); }
.faq .ans { padding: 0 0 26px; max-width: 70ch; font-family: "IBM Plex Mono", monospace; font-size: 14px; line-height: 1.7; color: var(--ink-dim); }

/* ── intake form / CTA ───────────────────────────────────────────────── */
.cta-band {
  background:
    radial-gradient(120% 140% at 100% 0%, var(--hot-glow) 0, transparent 55%),
    var(--bg-raised);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: clamp(32px, 5vw, 60px);
}
.cta-band .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 32px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.field label .req { color: var(--hot); }
.field input, .field select, .field textarea {
  background: var(--bg);
  border: 1px solid var(--rule-2);
  border-radius: 10px;
  padding: 13px 15px;
  color: var(--ink);
  font-family: "IBM Plex Mono", monospace;
  font-size: 14px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--hot);
  box-shadow: 0 0 0 3px var(--hot-glow);
}
.field select { appearance: none; cursor: pointer; }
.form-foot { display: flex; align-items: center; gap: 20px; margin-top: 28px; flex-wrap: wrap; }
.form-note { font-family: "IBM Plex Mono", monospace; font-size: 12px; color: var(--ink-dim); }
.form-msg { font-family: "IBM Plex Mono", monospace; font-size: 13px; }
.form-msg.ok { color: var(--lime); }
.form-msg.err { color: var(--magenta); }
@media (max-width: 640px) { .cta-band .form-grid { grid-template-columns: 1fr; } }

/* ── footer ──────────────────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--rule); padding-block: 56px 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer h5 { font-family: "Oswald", sans-serif; font-weight: 600; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-dim); margin: 0 0 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { color: var(--ink-dim); font-family: "IBM Plex Mono", monospace; font-size: 13px; }
.footer a:hover { color: var(--ink); }
.footer .col-brand p { font-family: "IBM Plex Mono", monospace; font-size: 13px; line-height: 1.6; color: var(--ink-dim); max-width: 40ch; margin: 16px 0 0; }
.footer-base { display: flex; justify-content: space-between; gap: 20px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--rule); flex-wrap: wrap; }
.footer-base p { font-family: "IBM Plex Mono", monospace; font-size: 11px; color: var(--ink-faint); margin: 0; letter-spacing: .04em; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer .col-brand { grid-column: 1 / -1; } }

/* ── scroll reveal ───────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
