/* ============================================================
   DESIGN THE MEDIA — shared stylesheet
   Dark broadcast editorial · category color coding · no frameworks
   ============================================================ */

:root {
  /* palette */
  --bg: #0b0b0a;
  --bg-2: #121210;
  --bg-3: #1a1a17;
  --line: #262622;
  --text: #f4f2ec;
  --text-2: #b7b4a9;
  --text-3: #7d7a70;

  /* channel colors */
  --green: #24eb4f;   /* DJ gear + brand accent */
  --purple: #b49bd8;  /* visuals */
  --orange: #e2703a;  /* sound */
  --cream: #f5e6b8;   /* guides */

  --accent: var(--green);

  /* type */
  --font-main: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;

  /* spacing */
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(56px, 9vw, 120px);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-main);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

::selection { background: var(--green); color: #0b0b0a; }

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

/* ---------- type utilities ---------- */
.mono {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.display {
  font-family: var(--font-main);
  font-stretch: 125%;
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}

/* ---------- ticker ---------- */
.ticker {
  background: var(--green);
  color: #0b0b0a;
  overflow: hidden;
  white-space: nowrap;
  border-bottom: 1px solid var(--line);
}
.ticker__track {
  display: inline-flex;
  gap: 0;
  padding: 7px 0;
  animation: ticker-scroll 60s linear infinite;
  will-change: transform;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  gap: 28px;
}
.ticker__item::after { content: "//"; opacity: 0.55; }
@keyframes ticker-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; }
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 11, 10, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px var(--gutter);
  max-width: 1440px;
  margin: 0 auto;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-stretch: 125%;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  line-height: 1;
}
.wordmark .dot {
  width: 9px; height: 9px;
  background: var(--green);
  border-radius: 50%;
  flex: none;
  animation: pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(36, 235, 79, 0.5); }
  50% { opacity: 0.55; box-shadow: 0 0 0 6px rgba(36, 235, 79, 0); }
}
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2);
  padding: 10px 14px;
  position: relative;
  transition: color 0.2s ease-out;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 6px;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease-out;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 10px 0;
    min-height: 44px;
  }
  .nav-toggle .bars { display: inline-flex; flex-direction: column; gap: 5px; }
  .nav-toggle .bars span { display: block; width: 22px; height: 2px; background: var(--text); transition: transform 0.2s ease-out, opacity 0.2s ease-out; }
  .nav-toggle[aria-expanded="true"] .bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .bars span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg-2);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 16px;
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 13px; }
  .site-nav a::after { display: none; }
}

/* ---------- layout ---------- */
.wrap { max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0 0; }

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
  margin-bottom: 32px;
}
.section-head h2 {
  font-stretch: 125%;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(22px, 3.4vw, 34px);
  letter-spacing: -0.01em;
  line-height: 1;
}
.section-head .mono { color: var(--text-3); }

/* ---------- kicker / channel chips ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.kicker .chip { width: 9px; height: 9px; flex: none; background: var(--accent); }
.kicker--dj      { color: var(--green); }
.kicker--visuals { color: var(--purple); }
.kicker--sound   { color: var(--orange); }
.kicker--guides  { color: var(--cream); }
.kicker--dj      .chip { background: var(--green); }
.kicker--visuals .chip { background: var(--purple); }
.kicker--sound   .chip { background: var(--orange); }
.kicker--guides  .chip { background: var(--cream); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero__media { position: relative; aspect-ratio: 21 / 9; min-height: 420px; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,11,10,0.05) 30%, rgba(11,11,10,0.88) 100%);
}
.hero__body {
  position: relative;
  margin-top: clamp(-220px, -16vw, -120px);
  padding: 0 var(--gutter) clamp(32px, 5vw, 64px);
  max-width: 1440px;
  margin-left: auto; margin-right: auto;
}
.hero__title {
  font-size: clamp(34px, 6.2vw, 88px);
  max-width: 14ch;
  margin: 14px 0 18px;
}
.hero__title a {
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 3px;
  background-repeat: no-repeat;
  background-position: 0 96%;
  transition: background-size 0.35s ease-out;
}
.hero__title a:hover { background-size: 100% 3px; }
.hero__dek { max-width: 56ch; color: var(--text-2); font-size: clamp(15px, 1.6vw, 18px); }
.hero__meta { margin-top: 18px; color: var(--text-3); display: flex; gap: 20px; flex-wrap: wrap; }
@media (max-width: 700px) {
  .hero__media { aspect-ratio: 4 / 3; min-height: 0; }
  .hero__body { margin-top: -90px; }
}

/* ---------- article grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 28px 24px;
}
.card { grid-column: span 2; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.card--wide { grid-column: span 3; }
.card--feature { grid-column: span 6; display: grid; grid-template-columns: 1.25fr 1fr; gap: 28px; align-items: end; }
.card__media {
  position: relative;
  overflow: hidden;
  background: var(--bg-3);
  aspect-ratio: 16 / 10;
}
.card--feature .card__media { aspect-ratio: 16 / 9; }
.card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease-out;
}
.card:hover .card__media img { transform: scale(1.045); }
.card__body { display: flex; flex-direction: column; gap: 10px; }
.card__title {
  font-stretch: 110%;
  font-weight: 700;
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: -0.005em;
  text-transform: none;
}
.card--feature .card__title { font-size: clamp(26px, 3.2vw, 42px); font-stretch: 125%; font-weight: 800; text-transform: uppercase; line-height: 1.0; }
.card__title a {
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 2px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 0.3s ease-out;
}
.card:hover .card__title a { background-size: 100% 2px; }
.card__dek { color: var(--text-2); font-size: 15px; line-height: 1.6; }
.card__meta { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); display: flex; gap: 14px; flex-wrap: wrap; }
.card__meta .read { color: var(--text-3); }
@media (max-width: 1000px) {
  .card { grid-column: span 3; }
  .card--wide, .card--feature { grid-column: span 6; }
  .card--feature { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 620px) {
  .card { grid-column: span 6; }
}

/* ---------- category index rows ---------- */
.channel-list { border-top: 1px solid var(--line); }
.channel-row {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s ease-out;
}
.channel-row:hover { background: var(--bg-2); }
.channel-row__cat { display: flex; align-items: center; gap: 10px; }
.channel-row__cat .chip { width: 10px; height: 10px; }
.channel-row h3 {
  font-stretch: 115%;
  font-weight: 700;
  font-size: clamp(18px, 2.2vw, 26px);
  line-height: 1.15;
}
.channel-row h3 a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.channel-row .arrow { font-size: 22px; color: var(--text-3); transition: transform 0.22s ease-out, color 0.22s ease-out; }
.channel-row:hover .arrow { transform: translateX(6px); color: var(--text); }
@media (max-width: 760px) {
  .channel-row { grid-template-columns: 1fr auto; }
  .channel-row__cat { grid-column: 1 / -1; }
}

/* ---------- newsletter ---------- */
.newsletter {
  margin-top: var(--section);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(48px, 7vw, 96px) 0;
  background:
    repeating-linear-gradient(90deg, transparent 0 119px, rgba(36,235,79,0.05) 119px 120px),
    var(--bg-2);
}
.newsletter__inner { max-width: 720px; }
.newsletter h2 { font-size: clamp(28px, 4.6vw, 52px); margin: 12px 0 14px; }
.newsletter p { color: var(--text-2); max-width: 52ch; }
.newsletter form { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.newsletter input[type="email"] {
  flex: 1 1 280px;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--text);
  font: inherit;
  font-size: 15px;
  padding: 14px 16px;
  min-height: 52px;
}
.newsletter input[type="email"]::placeholder { color: var(--text-3); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--green);
  color: #0b0b0a;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 26px;
  min-height: 52px;
  transition: transform 0.15s ease-out, background 0.15s ease-out;
}
.btn:hover { background: #6cff8a; }
.btn:active { transform: scale(0.96); }
.form-note { margin-top: 12px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; color: var(--green); display: none; }
.form-note.show { display: block; }

/* ---------- footer ---------- */
.site-footer { padding: clamp(40px, 6vw, 80px) 0 32px; }
.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.site-footer .wordmark { font-size: 24px; margin-bottom: 16px; }
.site-footer p { color: var(--text-2); font-size: 14px; max-width: 40ch; }
.site-footer h4 { color: var(--text-3); margin-bottom: 14px; }
.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.site-footer ul a { color: var(--text-2); font-size: 14px; transition: color 0.15s ease-out; }
.site-footer ul a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }
.site-footer__base {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--text-3);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
@media (max-width: 760px) {
  .site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ============================================================
   ARTICLE PAGE
   ============================================================ */
.article-hero { border-bottom: 1px solid var(--line); padding: clamp(32px, 6vw, 80px) 0 0; }
.article-hero__inner { max-width: 880px; margin: 0 auto; padding: 0 var(--gutter); }
.article-hero h1 {
  font-stretch: 118%;
  font-weight: 800;
  font-size: clamp(30px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 18px 0 20px;
  text-wrap: balance;
}
.article-hero .dek { color: var(--text-2); font-size: clamp(16px, 1.8vw, 20px); max-width: 60ch; }
.article-meta {
  display: flex; gap: 22px; flex-wrap: wrap;
  margin-top: 24px; padding-bottom: 32px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-3);
}
.article-hero figure { max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter) 0; }
.article-hero figure img { width: 100%; aspect-ratio: 21/9; object-fit: cover; }
.article-hero figcaption {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-3); padding: 10px 0 24px;
}

.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) var(--gutter);
}
.article-body > p { margin-bottom: 1.4em; color: #d8d5cb; font-size: 17.5px; line-height: 1.75; }
.article-body > p.lede { font-size: 21px; line-height: 1.6; color: var(--text); }
.article-body h2 {
  font-stretch: 115%;
  font-weight: 800;
  font-size: clamp(23px, 3vw, 30px);
  line-height: 1.15;
  margin: 2.2em 0 0.8em;
  text-wrap: balance;
}
.article-body h2 .no { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; color: var(--accent); display: block; margin-bottom: 10px; font-weight: 600; }
.article-body h3 { font-size: 19px; font-weight: 700; font-stretch: 108%; margin: 1.8em 0 0.6em; }
.article-body ul, .article-body ol { margin: 0 0 1.4em 1.3em; color: #d8d5cb; }
.article-body li { margin-bottom: 0.55em; line-height: 1.65; }
.article-body li::marker { color: var(--accent); }
.article-body strong { color: var(--text); }
.article-body a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: background 0.15s ease-out;
}
.article-body a:hover { background: rgba(36, 235, 79, 0.12); }
.article-body blockquote {
  margin: 2em 0;
  padding: 4px 0 4px 24px;
  border-left: 3px solid var(--accent);
  font-stretch: 110%;
  font-weight: 700;
  font-size: clamp(19px, 2.4vw, 24px);
  line-height: 1.35;
  color: var(--text);
}
.article-body figure { margin: 2em 0; }
.article-body figcaption { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); padding-top: 10px; }

/* key-takeaway box */
.keybox {
  margin: 2.2em 0;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  padding: 26px 28px;
}
.keybox .mono { color: var(--accent); display: block; margin-bottom: 12px; }
.keybox ul { margin: 0 0 0 1.2em; }
.keybox li { color: #d8d5cb; font-size: 15.5px; }

/* data table */
.table-wrap { overflow-x: auto; margin: 1.8em 0 2.2em; border: 1px solid var(--line); }
table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  min-width: 560px;
}
table.data caption {
  text-align: left;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-3);
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}
table.data th {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent);
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  white-space: nowrap;
}
table.data td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
  color: #d8d5cb;
  vertical-align: top;
}
table.data tr:last-child td { border-bottom: none; }
table.data td.num, table.data th.num { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.02em; white-space: nowrap; }
table.data tr:hover td { background: rgba(255,255,255,0.025); }

/* checklist */
.checklist { list-style: none; margin: 0 0 1.6em !important; }
.checklist li {
  display: flex; gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0 !important;
  align-items: baseline;
}
.checklist li::before {
  content: "";
  flex: none;
  width: 12px; height: 12px;
  border: 1.5px solid var(--accent);
  transform: translateY(1px);
}
.checklist li span { color: #d8d5cb; line-height: 1.6; }

/* faq */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 20px 0;
  font-weight: 700;
  font-stretch: 108%;
  font-size: 17px;
  min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--accent);
  transition: transform 0.2s ease-out;
  flex: none;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--text-2); font-size: 15.5px; line-height: 1.7; max-width: 62ch; }

/* further reading */
.further { border-top: 1px solid var(--line); }
.further .grid { padding: 32px 0 var(--section); }

/* breadcrumbs */
.crumbs { padding: 20px 0 0; }
.crumbs ol { list-style: none; display: flex; gap: 10px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 10px; color: var(--text-3); }
.crumbs a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- about page ---------- */
.page-head { max-width: 880px; margin: 0 auto; padding: clamp(48px, 8vw, 110px) var(--gutter) 0; }
.page-head h1 { font-size: clamp(38px, 7vw, 84px); margin: 16px 0 20px; }
.page-head .dek { color: var(--text-2); font-size: clamp(17px, 2vw, 21px); max-width: 54ch; }
.prose { max-width: 720px; margin: 0 auto; padding: clamp(40px, 6vw, 72px) var(--gutter); }
.prose > p { margin-bottom: 1.4em; color: #d8d5cb; font-size: 17.5px; line-height: 1.75; }
.prose h2 { font-stretch: 115%; font-weight: 800; font-size: clamp(23px, 3vw, 30px); margin: 2em 0 0.8em; }
.prose ul { margin: 0 0 1.4em 1.3em; color: #d8d5cb; }
.prose li { margin-bottom: 0.55em; }
.prose li::marker { color: var(--accent); }
.prose a { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.prose a:hover { background: rgba(36,235,79,0.12); }
