/* ==========================================================================
   GrooveForte World — site stylesheet

   Palette is taken from the channel logo: a gold treble clef, a chrome "Groove",
   a flame-gradient "Forte", and the blue→magenta→orange spectrum globe behind
   them. Tokens live in :root so the whole site re-skins from one block.
   ========================================================================== */

:root {
  /* Surfaces — the logo sits on true black, so the site does too */
  --ink: #050507;
  --ink-2: #0d0d12;
  --ink-3: #15151d;
  --line: #26262f;
  --line-warm: #3a2f2a;

  /* Type */
  --text: #f6f5f8;
  --muted: #a7a4b4;
  --faint: #6d6a7c;

  /* Brand accents, sampled from the logo */
  --gold: #d4a24a;
  --gold-soft: #f0c87f;
  --chrome: #d9dee6;
  --flame: #ff4e1a;
  --flame-soft: #ff8a3d;
  --magenta: #e02a8c;
  --electric: #2b7fff;
  --cyan: #19c8e6;

  --container: 1140px;
  --radius: 14px;
  --radius-lg: 22px;

  --step-0: 1rem;
  --step-1: 1.15rem;
  --step-2: 1.4rem;
  --step-3: 1.9rem;
  --step-4: clamp(2.1rem, 4.5vw, 3.2rem);
  --step-5: clamp(3rem, 9vw, 6.5rem);

  --font-display: 'Bebas Neue', 'Archivo', system-ui, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--gold-soft);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.01em;
  margin: 0 0 0.4em;
}

h1 {
  font-size: var(--step-5);
}
h2 {
  font-size: var(--step-4);
}
h3 {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: var(--step-2);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1.1em;
}

code {
  font-size: 0.88em;
  background: var(--ink-3);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 1px 5px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: var(--ink);
  padding: 10px 16px;
  font-weight: 700;
  z-index: 100;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

/* Flame gradient lifted from the "Forte" wordmark. */
.flame-text {
  background: linear-gradient(95deg, var(--flame) 10%, var(--flame-soft) 55%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.spectrum-rule {
  height: 3px;
  border: 0;
  border-radius: 3px;
  margin: 0 0 28px;
  background: linear-gradient(90deg, var(--electric), var(--magenta) 45%, var(--flame) 75%, var(--gold));
}

/* ===== Header / nav ===================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 5, 7, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  flex: none;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: 0.02em;
  line-height: 1;
}

.brand-tag {
  display: block;
  font-family: var(--font-body);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--faint);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-links a:hover {
  color: var(--text);
  text-decoration: none;
}

.nav-links a[aria-current='page'] {
  color: var(--text);
}

.nav-links a[aria-current='page']::after {
  content: '';
  display: block;
  height: 2px;
  margin-top: 6px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--flame), var(--gold));
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  width: 42px;
  height: 42px;
  font-size: 1.2rem;
  cursor: pointer;
}

/* ===== Buttons ========================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.12s ease, opacity 0.12s ease, border-color 0.12s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(95deg, var(--flame), var(--flame-soft));
  color: #12060a;
}

.btn-gold {
  background: var(--gold);
  color: #130e05;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--gold);
}

/* ===== Sections ========================================================= */

.section {
  padding-block: clamp(56px, 9vw, 108px);
}

.section-alt {
  background: var(--ink-2);
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 680px;
  margin-bottom: 44px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.lede {
  font-size: var(--step-1);
  color: var(--muted);
  max-width: 62ch;
}

/* Elegant serif aside — the "jazz club" voice against the poster headings. */
.serif-note {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--step-2);
  color: var(--gold-soft);
  line-height: 1.45;
}

/* ===== Hero ============================================================= */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(64px, 11vw, 132px);
  border-bottom: 1px solid var(--line);
}

/* Spectrum washes echoing the globe in the logo. */
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.hero::before {
  width: 520px;
  height: 520px;
  background: var(--magenta);
  opacity: 0.32;
  top: -200px;
  right: -110px;
}

.hero::after {
  width: 470px;
  height: 470px;
  background: var(--electric);
  opacity: 0.26;
  bottom: -250px;
  left: -150px;
}

.hero .container {
  position: relative;
}

.hero h1 {
  max-width: 16ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.page-hero {
  padding-block: clamp(52px, 7vw, 86px);
}

/* ===== Cards & grids ==================================================== */

.grid {
  display: grid;
  gap: 22px;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
}

.card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
}

.card h3 {
  margin-bottom: 8px;
}

.card p:last-child {
  margin-bottom: 0;
}

.meta {
  color: var(--faint);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
}

/* ===== Album entries ==================================================== */

.album {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  margin-bottom: 22px;
  position: relative;
  overflow: hidden;
}

/* Rank numeral, set oversized and low-contrast like a magazine countdown. */
.album-rank {
  position: absolute;
  top: 6px;
  right: 18px;
  font-family: var(--font-display);
  font-size: 6.5rem;
  line-height: 1;
  color: var(--ink-3);
  pointer-events: none;
  user-select: none;
}

.album-body {
  position: relative;
}

.album h3 {
  font-size: var(--step-3);
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.01em;
  margin-bottom: 4px;
}

.album-artist {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--step-1);
  color: var(--gold-soft);
  margin-bottom: 14px;
}

.album-facts {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  gap: 6px;
  font-size: 0.92rem;
  color: var(--muted);
}

.album-facts strong {
  color: var(--text);
  font-weight: 700;
}

.player {
  border-radius: 12px;
  overflow: hidden;
  min-height: 152px;
  background: var(--ink-3);
  border: 1px solid var(--line);
}

.player iframe {
  display: block;
  width: 100%;
  border: 0;
}

/* Shown where a release has no verified streaming link. */
.player-missing {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 26px 20px;
  color: var(--faint);
  font-size: 0.9rem;
  gap: 12px;
}

@media (min-width: 880px) {
  .album {
    grid-template-columns: 1fr 340px;
    align-items: start;
    gap: 30px;
  }
}

/* ===== Events =========================================================== */

.event {
  display: grid;
  gap: 16px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
}

.event-when {
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--flame-soft);
  letter-spacing: 0.02em;
}

.event h3 {
  margin-bottom: 4px;
}

.event-where {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}

.tags li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
}

@media (min-width: 760px) {
  .event {
    grid-template-columns: 170px 1fr;
    align-items: start;
    gap: 26px;
  }
}

/* ===== Source / verification notes ====================================== */

.note {
  border: 1px dashed var(--line-warm);
  border-radius: var(--radius);
  padding: 16px 18px;
  background: rgba(212, 162, 74, 0.05);
  color: var(--muted);
  font-size: 0.88rem;
}

.note strong {
  color: var(--gold-soft);
}

.sources {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 7px;
  font-size: 0.86rem;
}

.sources a {
  color: var(--muted);
}

/* ===== About page ======================================================= */

.about-logo {
  border-radius: 20px;
  border: 1px solid var(--line);
  width: 100%;
  max-width: 380px;
}

.pillars {
  columns: 2;
  column-gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pillars li {
  break-inside: avoid;
  padding: 9px 0 9px 22px;
  position: relative;
  color: var(--muted);
}

.pillars li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--flame), var(--gold));
}

/* Waveform strip, echoing the bars either side of the logo globe. */
.waveform {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 56px;
  margin: 30px 0;
}

.waveform span {
  flex: 1;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--electric), var(--magenta), var(--flame));
  opacity: 0.55;
}

/* ===== Forms ============================================================ */

.form {
  display: grid;
  gap: 18px;
  max-width: 560px;
}

.field label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 7px;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  font: inherit;
  padding: 13px 15px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--faint);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--gold);
  outline: none;
}

.form-note {
  color: var(--faint);
  font-size: 0.85rem;
}

/* ===== Footer =========================================================== */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--ink-2);
  padding-block: 44px;
  margin-top: 40px;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  color: var(--faint);
  font-size: 0.84rem;
}

/* ===== Reveal on scroll ================================================= */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ===== Mobile =========================================================== */

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    position: absolute;
    inset: 76px 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--ink-2);
    border-bottom: 1px solid var(--line);
    padding: 8px 20px 20px;
  }

  .nav-links[hidden] {
    display: none;
  }

  .nav-links a {
    display: block;
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.95rem;
  }

  .nav-links a[aria-current='page']::after {
    display: none;
  }

  .album-rank {
    font-size: 4.5rem;
  }

  .pillars {
    columns: 1;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn:hover {
    transform: none;
  }
}

/* ==========================================================================
   MAGAZINE LAYER
   Print-inspired furniture for the homepage and contact page. The reference
   points are DownBeat's late-1940s newspaper format and the stylised
   illustration era that followed — including the David Stone Martin covers of
   1961, whose spidery ink line defined how jazz looked on paper.

   All artwork here is original and drawn in CSS/SVG: concentric vinyl grooves,
   halftone dots, print grain, piano keys and calligraphic strokes. No
   photography, so nothing is licensed from anyone.
   ========================================================================== */

/* ---- Print grain, laid over dark panels -------------------------------- */
.grain::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.16;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---- Halftone dot field ------------------------------------------------- */
.halftone {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: radial-gradient(var(--line) 1px, transparent 1.6px);
  background-size: 11px 11px;
  mask-image: linear-gradient(180deg, #000, transparent 72%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 72%);
}

/* ---- Masthead ----------------------------------------------------------- */
.masthead {
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid var(--line);
  padding-block: clamp(40px, 7vw, 86px) clamp(48px, 8vw, 104px);
}

.dateline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  align-items: center;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--faint);
  border-block: 1px solid var(--line);
  padding-block: 10px;
  margin-bottom: clamp(26px, 5vw, 48px);
}

.dateline span:not(:last-child)::after {
  content: '·';
  margin-left: 20px;
  color: var(--line);
}

.masthead-grid {
  position: relative;
  display: grid;
  gap: 38px;
  align-items: center;
}

@media (min-width: 940px) {
  .masthead-grid {
    grid-template-columns: 1.25fr 0.75fr;
    gap: 56px;
  }
}

.masthead h1 {
  font-size: clamp(3.2rem, 11vw, 8rem);
  line-height: 0.86;
  margin-bottom: 20px;
}

.masthead h1 .line {
  display: block;
}

/* Hairline rule with a centred diamond, straight out of a print contents page */
.rule-diamond {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--line);
  margin: 34px 0;
}

.rule-diamond::before,
.rule-diamond::after {
  content: '';
  flex: 1;
  height: 1px;
  background: currentColor;
}

.rule-diamond i {
  width: 7px;
  height: 7px;
  transform: rotate(45deg);
  background: var(--gold);
}

/* ---- Vinyl record ------------------------------------------------------- */
.vinyl {
  width: min(100%, 420px);
  margin-inline: auto;
  aspect-ratio: 1;
  position: relative;
  animation: spin 24s linear infinite;
}

.vinyl svg {
  width: 100%;
  height: 100%;
  display: block;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---- Ticker ------------------------------------------------------------- */
.ticker {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--ink-2);
  padding-block: 13px;
}

.ticker-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: slide 44s linear infinite;
}

.ticker-track span {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  white-space: nowrap;
}

.ticker-track span::before {
  content: '◆';
  color: var(--gold);
  margin-right: 48px;
  font-size: 0.6rem;
  vertical-align: middle;
}

@keyframes slide {
  to {
    transform: translateX(-50%);
  }
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

/* ---- Contents / departments --------------------------------------------- */
.contents {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.dept {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  align-items: baseline;
  padding: 22px 6px;
  border-bottom: 1px solid var(--line);
  transition: background 0.18s ease, padding-left 0.18s ease;
}

.dept:hover {
  background: var(--ink-2);
  padding-left: 16px;
}

.dept-no {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold);
  line-height: 1;
}

.dept h3 {
  font-size: 1.12rem;
  margin-bottom: 3px;
}

.dept p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

@media (min-width: 760px) {
  .contents {
    grid-template-columns: 1fr 1fr;
    column-gap: 44px;
  }
}

/* ---- Star ratings ------------------------------------------------------- */
.stars {
  display: inline-flex;
  gap: 3px;
  vertical-align: middle;
}

.stars svg {
  width: 15px;
  height: 15px;
  fill: var(--gold);
}

.stars .empty {
  fill: var(--line);
}

/* ---- Feature block ------------------------------------------------------ */
.feature {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--ink-2), var(--ink));
  padding: clamp(26px, 5vw, 52px);
}

.kicker {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--flame-soft);
  margin-bottom: 8px;
}

.feature-list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

.feature-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: baseline;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.feature-list .pos {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.2rem;
  min-width: 26px;
}

.feature-list .title {
  font-weight: 800;
}

.feature-list .by {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--muted);
}

/* ---- Piano keys strip --------------------------------------------------- */
.keys {
  display: flex;
  height: 60px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.keys i {
  flex: 1;
  background: linear-gradient(180deg, #e8e9ee, #b9bcc6);
  border-right: 1px solid #0a0a0d;
  position: relative;
}

.keys i.sharp::after {
  content: '';
  position: absolute;
  top: 0;
  right: -22%;
  width: 44%;
  height: 62%;
  background: linear-gradient(180deg, #23232b, #0b0b10);
  border-radius: 0 0 3px 3px;
  z-index: 2;
}

/* ---- Pull quote --------------------------------------------------------- */
.pullquote {
  position: relative;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.4rem, 3.4vw, 2.3rem);
  line-height: 1.32;
  color: var(--text);
  border-left: 3px solid var(--gold);
  padding: 6px 0 6px 26px;
  margin: 0;
  max-width: 24ch;
}

/* ---- Community stats ---------------------------------------------------- */
.stat {
  text-align: center;
  padding: 22px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-2);
}

.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 1;
  margin-bottom: 6px;
}

.stat span {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 700;
}

/* ---- Slogan tiles (contact) --------------------------------------------- */
.slogans {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.slogans li {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
  background: var(--ink-2);
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1;
  letter-spacing: 0.02em;
}

.slogans li small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-top: 10px;
  line-height: 1.5;
}

.slogans li:nth-child(1) {
  border-left: 3px solid var(--flame);
}
.slogans li:nth-child(2) {
  border-left: 3px solid var(--magenta);
}
.slogans li:nth-child(3) {
  border-left: 3px solid var(--electric);
}
.slogans li:nth-child(4) {
  border-left: 3px solid var(--gold);
}

/* ---- Motion preferences -------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .vinyl,
  .ticker-track {
    animation: none;
  }

  .dept:hover {
    padding-left: 6px;
  }
}

/* ===== Educator profile (about page) ==================================== */

.educator {
  display: grid;
  gap: 36px;
  align-items: center;
}

@media (min-width: 900px) {
  .educator {
    grid-template-columns: minmax(280px, 400px) 1fr;
    gap: 56px;
  }
}

.educator-photo {
  position: relative;
  max-width: 400px;
}

/* Offset gold frame behind the portrait, a nod to a matted print. */
.educator-photo::before {
  content: '';
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 1px solid var(--gold);
  border-radius: 20px;
  opacity: 0.55;
}

.educator-photo img {
  position: relative;
  width: 100%;
  /* Slightly shorter than the source's 4:5, anchored to the top so the trim
     comes off the bottom only. */
  aspect-ratio: 1 / 1.18;
  object-fit: cover;
  object-position: top center;
  border-radius: 20px;
  border: 1px solid var(--line);
}

.educator-name {
  font-size: clamp(2.6rem, 6vw, 4rem);
  margin-bottom: 8px;
}

/* The title uses the body face rather than a display or script font so it
   stays clear at a glance. */
.educator-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 26px;
}

.educator-title::before {
  content: '';
  width: 32px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--flame), var(--gold));
}

.educator-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
}

@media (max-width: 520px) {
  .educator-stats {
    grid-template-columns: 1fr;
  }
}

/* ===== Social links ===================================================== */

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--ink-3);
  color: var(--text);
  font-weight: 700;
  font-size: 0.92rem;
  transition: border-color 0.15s ease, transform 0.12s ease;
}

.social-links a:hover {
  border-color: var(--gold);
  text-decoration: none;
  transform: translateY(-1px);
}

.social-links svg,
.btn svg {
  width: 22px;
  height: 22px;
  flex: none;
}

.social-links--compact {
  margin: 0;
  gap: 10px;
}

.social-links--compact a {
  padding: 7px 14px 7px 10px;
  font-size: 0.84rem;
}

.social-links--compact svg {
  width: 18px;
  height: 18px;
}

@media (prefers-reduced-motion: reduce) {
  .social-links a:hover {
    transform: none;
  }
}

/* ===== Music countdown (20-album list) =================================== */

/* Keep anchored albums clear of the sticky header when jumped to. */
.album[id],
.side-break[id] {
  scroll-margin-top: 96px;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.countdown a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--ink-2);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.3;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.countdown a:hover {
  border-color: var(--gold);
  color: var(--text);
  text-decoration: none;
}

.countdown b {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--gold);
  flex: none;
}

/* Divider between each run of five, styled as the side of a record. */
.side-break {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: center;
  margin: 64px 0 30px;
}

.side-break:first-of-type {
  margin-top: 8px;
}

.side-disc {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--ink) 0 4px, transparent 5px),
    radial-gradient(circle, var(--gold) 0 13px, transparent 14px),
    repeating-radial-gradient(circle, #121218 0 2px, #1c1c24 2px 4px);
  border: 1px solid var(--line);
}

.side-break h2 {
  margin: 0;
}

.side-break p {
  margin: 4px 0 0;
  color: var(--faint);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.flip {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}

.album-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 0.88rem;
}

/* On wide screens the player fills the right column, so the rank numeral sits
   at the top-right of the text column instead, and the player stays on top. */
.player {
  position: relative;
  z-index: 1;
}

@media (min-width: 880px) {
  .album-rank {
    right: calc(26px + 340px + 30px + 4px);
  }
}

/* Second headline line, set in the display face beneath a page's h1. */
.headline-sub {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: var(--gold-soft);
  margin: -6px 0 22px;
}
