/* SPOT - spotevent.be/blog
 *
 * The article list and the article page, in both languages. Loaded after
 * site.css, which already brings the nav, menu, footer, colours and the
 * store buttons. The homepage does not load this file.
 */

/* ── Article list ─────────────────────────────────────────────────── */
.blog { max-width: 780px; margin: 0 auto; padding: 40px var(--gutter) 90px; }
.blog h1 {
  font-family: 'Bricolage Grotesque', 'Geist', sans-serif;
  font-weight: 700; font-size: clamp(38px, 6vw, 56px);
  letter-spacing: -0.04em; line-height: 1; margin: 0 0 14px;
}
.blog .intro { color: var(--muted); font-size: 17px; line-height: 1.6; margin: 0 0 44px; }
.posts { display: flex; flex-direction: column; gap: 14px; list-style: none; margin: 0; padding: 0; }
.posts a {
  display: block; padding: 20px 22px; border-radius: 14px;
  border: 1px solid var(--line); background: var(--panel);
  color: var(--text); text-decoration: none;
  transition: border-color 0.15s ease;
}
.posts a:hover { border-color: var(--neon); }
.posts time, .posts .kind {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--faint);
}
.posts .kind { color: var(--neon); margin-left: 10px; }
.posts h2 { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; margin: 6px 0 4px; }
.posts p { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.5; }

/* ── Article ──────────────────────────────────────────────────────── */
.post { max-width: 720px; margin: 0 auto; padding: 40px var(--gutter) 90px; }
.post .back { display: inline-block; margin-bottom: 20px; font-size: 14px; text-decoration: none; }

/* Kicker, date, reading time. One mono line, so the headline below it is
   the first thing that reads as text. */
.post .meta {
  display: flex; flex-wrap: wrap; gap: 6px 14px;
  margin: 28px 0 12px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--faint);
}
.post .meta .kind { color: var(--neon); }

.post h1 {
  font-family: 'Bricolage Grotesque', 'Geist', sans-serif;
  font-weight: 700; font-size: clamp(34px, 5.5vw, 50px);
  letter-spacing: -0.04em; line-height: 1.05; margin: 0 0 18px;
  text-wrap: balance;
}
.post .lead { color: var(--muted); font-size: 19px; line-height: 1.55; margin: 0 0 32px; }
.post figure { margin: 0 0 36px; }
.post figure img { display: block; width: 100%; height: auto; border-radius: 14px; }
.post figcaption { margin-top: 10px; font-size: 13px; color: var(--faint); }
/* A phone screenshot. It is portrait, so at full column width it would be
   taller than the screen; keep it about the size of a real phone. Not
   called .phone, which site.css already uses for the homepage hero. */
.post figure.mockup { max-width: 340px; margin: 28px auto 36px; }
.post figure.mockup img { border-radius: 0; }
.post figure.mockup figcaption { text-align: center; }
/* Room above a heading reached through the table of contents, so it does
   not land flush against the top of the screen. */
.post h2 {
  font-size: 22px; font-weight: 600; letter-spacing: -0.02em;
  margin: 44px 0 12px; scroll-margin-top: 24px;
}
.post p, .post li { font-size: 17px; line-height: 1.7; }
.post ul { padding-left: 20px; }
.post blockquote {
  margin: 28px 0; padding: 4px 0 4px 20px;
  border-left: 3px solid var(--neon);
  font-size: 19px; line-height: 1.55;
}
.post blockquote footer { margin-top: 8px; font-size: 13px; color: var(--faint); }

/* Table of contents. Plain anchor links, which is also what lets Google
   show "jump to" links under the result. */
.toc {
  margin: 0 0 8px; padding: 18px 22px; border-radius: 14px;
  border: 1px solid var(--line); background: var(--panel);
}
.toc .title {
  margin: 0 0 8px; font-size: 11px; line-height: 1.4;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint);
}
.toc ol { margin: 0; padding-left: 20px; }
.toc li { font-size: 15.5px; line-height: 1.5; padding: 3px 0; }
.toc a { color: var(--text); text-decoration: none; border-bottom: 1px solid rgba(216, 255, 0, 0.45); }
.toc a:hover { color: var(--neon); }

/* A short sequence that reads better as steps than as a sentence. */
.steps {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 22px 0; padding: 0; list-style: none; counter-reset: step;
}
.steps li {
  counter-increment: step;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 16px 9px 12px; border-radius: 99px;
  border: 1px solid var(--line); background: var(--panel);
  font-size: 15px; font-weight: 600; line-height: 1.2;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px; font-weight: 400; color: var(--neon);
}

/* An aside inside the article: worth knowing, not the main point. */
.note {
  margin: 24px 0; padding: 18px 22px; border-radius: 14px;
  border: 1px solid rgba(216, 255, 0, 0.28);
  background: rgba(216, 255, 0, 0.05);
}
.note b {
  display: block; margin-bottom: 6px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px; font-weight: 400; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--neon);
}
.note p { margin: 0; font-size: 16px; line-height: 1.65; color: var(--muted); }

/* Closing download block. Its store buttons also give the nav's Download
   pill a target, so on a phone that pill goes straight to the right store
   (see the download block in site.js). */
.cta {
  margin-top: 52px; padding: 28px 26px; border-radius: 16px; text-align: center;
  border: 1px solid var(--line); background: var(--panel);
  scroll-margin-top: 24px;
}
.post .cta h2 { margin: 0 0 8px; font-size: 24px; }
.cta p { margin: 0 auto; max-width: 46ch; color: var(--muted); font-size: 16px; line-height: 1.6; }
.cta .stores { margin-top: 20px; }

.source, .related {
  margin-top: 48px; padding: 22px 24px; border-radius: 14px;
  border: 1px solid var(--line); background: var(--panel);
}
.source p { margin: 0 0 12px; font-size: 15px; color: var(--muted); }
.source a.read { font-weight: 600; }

/* "Read next": one link to another article, so no page is a dead end. */
.related { margin-top: 20px; }
.related span {
  display: block; margin-bottom: 6px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--faint);
}
.related a { font-size: 17px; font-weight: 600; text-decoration: none; }
.related a:hover { text-decoration: underline; }

/* ── House Sessions ───────────────────────────────────────────────────
   The interview series: a "listen on SoundCloud" pill under the lead, a
   guest portrait that floats beside the text on a wide screen, and the
   track cards that hold the guest's selection (Spotify / YouTube embeds). */
.listen {
  display: inline-flex; align-items: center; gap: 12px;
  margin: -12px 0 36px; padding: 12px 20px; border-radius: 99px;
  border: 1px solid var(--line); background: var(--panel);
  font-size: 15px; font-weight: 500; line-height: 1.3;
  text-decoration: none; color: var(--text);
  transition: border-color 0.15s ease;
}
.listen:hover { border-color: var(--neon); color: var(--text); }
.listen::before {
  content: ""; flex: none; width: 8px; height: 8px;
  border-radius: 50%; background: var(--neon);
}

/* The cover sits at full column width and is square, so it is not a phone
   screenshot: no .mockup cap, and the whole figure links to the mixtape. */
.post figure.cover { max-width: none; margin: 0 0 36px; }
.post figure.cover img { aspect-ratio: 1 / 1; object-fit: cover; }

/* Guest portrait: beside the text on a wide screen, full column on a phone.
   Its caption carries the name and the photo credit on one mono line. */
.post figure.portrait { float: right; width: min(42%, 280px); margin: 6px 0 20px 32px; }
.post figure.portrait img { aspect-ratio: 2 / 3; object-fit: cover; object-position: center 25%; }
.post figure.portrait figcaption {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
}
.post figure.portrait figcaption b { color: var(--text); font-weight: 400; }
@media (max-width: 560px) {
  .post figure.portrait { float: none; width: auto; margin: 28px 0; }
}

/* The track selection: one card per track, each with its embedded player. */
.tracks { display: flex; flex-direction: column; gap: 16px; margin: 8px 0 0; }
.track {
  padding: 22px; border-radius: 16px;
  border: 1px solid var(--line); background: var(--panel);
}
.track .head { display: flex; gap: 14px; align-items: baseline; }
.track .num {
  flex: none;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px; letter-spacing: 0.12em; color: var(--neon);
}
.track .title {
  margin: 0;
  font-family: 'Bricolage Grotesque', 'Geist', sans-serif;
  font-size: 20px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25;
}
.track .title span { color: var(--muted); font-weight: 600; }
.track iframe { display: block; width: 100%; border: 0; border-radius: 12px; margin-top: 16px; }
.track iframe.spotify { height: 152px; }
.track iframe.youtube { aspect-ratio: 16 / 9; }
.track .open { display: inline-block; margin: 14px 0 0; font-size: 14px; font-weight: 500; }
.track p { margin: 14px 0 0; font-size: 16px; line-height: 1.65; color: var(--muted); }
