/* ============================================================
   PLUGGED AFRICA — redesign
   Design system + layout
   ============================================================ */

:root {
  /* ink palette (deep indigo-charcoal) */
  --bg:       oklch(0.135 0.022 274);
  --bg-2:     oklch(0.185 0.026 274);
  --bg-3:     oklch(0.235 0.030 274);
  --fg:       oklch(0.960 0.012 280);
  --muted:    oklch(0.72 0.020 278);
  --faint:    oklch(0.54 0.022 276);
  --accent:   oklch(0.725 0.155 52);   /* brand terracotta / ochre */
  --accent-2: oklch(0.78 0.13 135);    /* warm green */
  --line:     oklch(0.30 0.022 274);
  --line-2:   oklch(0.38 0.026 274);

  --font-display: "Bricolage Grotesque", "Arial Narrow", sans-serif;
  --font-body:    "Hanken Grotesk", system-ui, sans-serif;
  --font-mono:    "Space Mono", ui-monospace, monospace;

  --maxw: 1380px;
  --gutter: clamp(20px, 5vw, 80px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.5;
  overflow-x: hidden;
  cursor: default;
}

::selection { background: var(--accent); color: var(--bg); }

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

a { color: inherit; text-decoration: none; }

/* ---------- shared layout helpers ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--accent);
  display: inline-block;
}

.section { padding-block: clamp(80px, 12vh, 160px); position: relative; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 800; line-height: 0.96; letter-spacing: -0.02em; }

/* reveal animation base — VISIBLE by default; hidden pre-state only applied
   once JS verifies motion actually runs (html.motion). Guarantees content is
   never stuck invisible in environments that suppress CSS motion. */
[data-reveal] { opacity: 1; transform: none; }
html.motion [data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  will-change: opacity, transform;
}
html.motion [data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: 0.08s; }
[data-reveal][data-delay="2"] { transition-delay: 0.16s; }
[data-reveal][data-delay="3"] { transition-delay: 0.24s; }
[data-reveal][data-delay="4"] { transition-delay: 0.32s; }
[data-reveal][data-delay="5"] { transition-delay: 0.40s; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--gutter);
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: color-mix(in oklch, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px);
  padding-block: 14px;
  border-bottom: 1px solid var(--line);
}
.nav__brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 800; font-size: 21px; letter-spacing: -0.02em; }
.nav__brand .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--accent); }
.nav__logo { width: 36px; height: 36px; object-fit: contain; display: block; }
.nav__brand b { color: var(--accent); font-weight: 800; }
.nav__links { display: flex; align-items: center; gap: 36px; }
.nav__links a { font-size: 15px; color: var(--muted); transition: color 0.25s; position: relative; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -5px; height: 1px; width: 0; background: var(--accent); transition: width 0.3s var(--ease);
}
.nav__links a:hover { color: var(--fg); }
.nav__links a:hover::after { width: 100%; }
.nav__cta {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.05em;
  padding: 11px 20px; border: 1px solid var(--line-2); border-radius: 100px;
  color: var(--fg); transition: all 0.3s var(--ease);
}
.nav__cta:hover { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.nav__burger { display: none; }
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 115%; object-fit: cover; filter: grayscale(0.25) brightness(0.55) contrast(1.05); }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, var(--bg) 2%, transparent 45%),
    linear-gradient(to right, color-mix(in oklch, var(--bg) 70%, transparent), transparent 60%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(48px, 8vh, 96px); }
.hero__kicker { margin-bottom: 28px; }
.hero h1 {
  font-size: clamp(48px, 11.5vw, 188px);
  line-height: 0.86;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line span { display: inline-block; }
html.motion .hero h1 .line span { transform: translateY(105%); animation: heroLineUp 1.05s var(--ease) forwards; }
html.motion .hero h1 .line:nth-child(1) span { animation-delay: 0.12s; }
html.motion .hero h1 .line:nth-child(2) span { animation-delay: 0.26s; }
html.motion .hero h1 .line:nth-child(3) span { animation-delay: 0.40s; }
@keyframes heroLineUp { to { transform: translateY(0); } }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-top: 40px; flex-wrap: wrap; }
.hero__lead { max-width: 460px; color: var(--muted); font-size: clamp(16px, 2vw, 20px); }
.hero__scroll { display: flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); }
.hero__scroll .arrow { width: 1px; height: 46px; background: var(--line-2); position: relative; overflow: hidden; }
.hero__scroll .arrow::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform: translateY(-100%); animation: scrolldown 2.2s var(--ease) infinite; }
@keyframes scrolldown { 0% { transform: translateY(-100%); } 50% { transform: translateY(0); } 100% { transform: translateY(100%); } }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee { border-block: 1px solid var(--line); padding-block: 22px; overflow: hidden; white-space: nowrap; background: var(--bg-2); }
.marquee__track { display: inline-flex; gap: 56px; animation: marquee 32s linear infinite; will-change: transform; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 3vw, 38px); text-transform: uppercase; letter-spacing: -0.01em; color: var(--fg); display: inline-flex; align-items: center; gap: 56px; }
.marquee__track span::after { content: "✦"; color: var(--accent); font-size: 0.6em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   MANIFESTO
   ============================================================ */
.manifesto { background: var(--bg); }
.manifesto__grid { display: grid; grid-template-columns: 1fr; gap: clamp(40px, 6vw, 90px); }
.manifesto__statement { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 4.6vw, 64px); line-height: 1.02; letter-spacing: -0.025em; max-width: 18ch; }
.manifesto__statement em { font-style: normal; color: var(--accent); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.pillar { background: var(--bg); padding: 40px 32px; transition: background 0.4s var(--ease); }
.pillar:hover { background: var(--bg-2); }
.pillar__num { font-family: var(--font-mono); font-size: 13px; color: var(--accent); margin-bottom: 28px; }
.pillar h3 { font-size: clamp(20px, 2.4vw, 30px); margin-bottom: 12px; }
.pillar p { color: var(--muted); font-size: 16px; }
@media (max-width: 760px) { .pillars { grid-template-columns: 1fr; } }

/* ============================================================
   SERVICES (cursor-follow list)
   ============================================================ */
.services { background: var(--bg); }
.services__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 56px; flex-wrap: wrap; }
.services h2 { font-size: clamp(40px, 7vw, 104px); text-transform: uppercase; }
.svc-list { border-top: 1px solid var(--line); }
.svc {
  display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 24px;
  padding: clamp(22px, 3vw, 38px) 0; border-bottom: 1px solid var(--line);
  position: relative; transition: padding 0.4s var(--ease);
}
.svc__num { font-family: var(--font-mono); font-size: 13px; color: var(--faint); transition: color 0.35s; }
.svc__name { font-family: var(--font-display); font-weight: 800; font-size: clamp(26px, 4.6vw, 60px); letter-spacing: -0.02em; text-transform: uppercase; color: var(--fg); transition: transform 0.45s var(--ease), color 0.35s; }
.svc__tag { font-family: var(--font-mono); font-size: 13px; color: var(--faint); text-align: right; max-width: 240px; transition: color 0.35s; }
.svc:hover .svc__name { transform: translateX(28px); color: var(--accent); }
.svc:hover .svc__num { color: var(--accent); }
.svc:hover .svc__tag { color: var(--fg); }
@media (max-width: 720px) {
  .svc { grid-template-columns: 40px 1fr; gap: 14px; }
  .svc__tag { display: none; }
}
/* floating preview image following cursor */
.svc-preview {
  position: fixed; top: 0; left: 0; width: 300px; height: 380px; z-index: 60;
  pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(0.9);
  transition: opacity 0.35s var(--ease), transform 0.5s var(--ease);
  border-radius: 4px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,0.55);
}
.svc-preview.show { opacity: 1; }
.svc-preview img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .svc-preview { display: none; } }

/* ============================================================
   WORK (filterable grid)
   ============================================================ */
.work { background: var(--bg-2); }
.work__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 40px; flex-wrap: wrap; }
.work h2 { font-size: clamp(40px, 7vw, 104px); text-transform: uppercase; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; }
.filter {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.03em;
  padding: 9px 18px; border: 1px solid var(--line-2); border-radius: 100px;
  color: var(--muted); background: transparent; cursor: pointer; transition: all 0.3s var(--ease);
}
.filter:hover { color: var(--fg); border-color: var(--fg); }
.filter.active { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.work-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.work-card {
  position: relative; overflow: hidden; border-radius: 4px; cursor: pointer;
  grid-column: span 4; aspect-ratio: 4/5; background: var(--bg-3);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), filter 0.5s var(--ease);
}
.work-card.big { grid-column: span 6; aspect-ratio: 16/11; }
.work-card.wide { grid-column: span 8; aspect-ratio: 16/9; }
.work-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease), filter 0.6s var(--ease); filter: grayscale(0.4) brightness(0.82); }
.work-card:hover img { transform: scale(1.06); filter: grayscale(0) brightness(0.92); }
.work-card__meta { position: absolute; inset: auto 0 0 0; padding: 22px; z-index: 2; background: linear-gradient(to top, rgba(0,0,0,0.78), transparent); }
.work-card__cat { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.work-card__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(18px, 1.6vw, 24px); margin-top: 6px; letter-spacing: -0.01em; }
.work-card .arrow-tag { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 50%; background: var(--bg); color: var(--fg); display: grid; place-items: center; opacity: 0; transform: scale(0.6) rotate(-30deg); transition: all 0.4s var(--ease); z-index: 2; }
.work-card:hover .arrow-tag { opacity: 1; transform: none; }
.work-card.hide { display: none; }
@media (max-width: 900px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .work-card, .work-card.big, .work-card.wide { grid-column: span 1; aspect-ratio: 4/5; }
}
@media (max-width: 560px) { .work-grid { grid-template-columns: 1fr; } }

/* ============================================================
   SHOWREEL — retro CRT TV
   ============================================================ */
.showreel { background: var(--bg); }
.showreel__head { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 5vw, 70px); align-items: end; margin-bottom: clamp(48px, 7vw, 84px); }
.showreel h2 { font-size: clamp(40px, 7vw, 104px); text-transform: uppercase; }
.showreel__intro { max-width: 420px; }
.showreel__intro p { color: var(--muted); font-size: clamp(16px, 1.7vw, 19px); margin-top: 16px; }
@media (max-width: 760px) { .showreel__head { grid-template-columns: 1fr; } }

.tv-stage { display: flex; flex-direction: column; align-items: center; margin-bottom: 44px; }

/* glow behind the set */
.crt { position: relative; width: clamp(300px, 62vw, 680px); }
.crt::before {
  content: ""; position: absolute; inset: -18% -10% -6% -10%; z-index: 0;
  background: radial-gradient(60% 55% at 50% 42%, color-mix(in oklch, var(--accent) 34%, transparent), transparent 70%);
  filter: blur(20px); opacity: 0.55; pointer-events: none;
}

/* rabbit-ear antenna */
.crt__antenna { position: absolute; top: -54px; left: 50%; transform: translateX(-50%); width: 140px; height: 56px; z-index: 1; }
.crt__antenna span { position: absolute; bottom: 0; left: 50%; width: 3px; height: 64px; background: linear-gradient(var(--line-2), var(--bg-3)); transform-origin: bottom center; border-radius: 3px; }
.crt__antenna span:first-child { transform: rotate(-32deg); }
.crt__antenna span:last-child { transform: rotate(32deg); }

/* cabinet */
.crt__body {
  position: relative; z-index: 2; display: flex; gap: 16px; padding: 20px;
  background: linear-gradient(160deg, oklch(0.30 0.02 60), oklch(0.20 0.018 55) 60%, oklch(0.16 0.015 50));
  border-radius: 22px;
  box-shadow: inset 0 2px 0 rgba(255,255,255,0.08), inset 0 -10px 24px rgba(0,0,0,0.5), 0 40px 80px rgba(0,0,0,0.55);
}
.crt__screenwrap { flex: 1; padding: 14px; background: linear-gradient(#0c0c10, #000); border-radius: 18px; box-shadow: inset 0 0 0 2px rgba(0,0,0,0.6); }
.crt__screen {
  position: relative; aspect-ratio: 4/3; border-radius: 16px / 12px; overflow: hidden; background: #05060a;
  box-shadow: inset 0 0 60px 20px rgba(0,0,0,0.85), inset 0 0 12px 2px rgba(0,0,0,0.9);
}
.crt__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.crt__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; cursor: pointer; display: none; }
.crt__embed { position: absolute; inset: 0; display: none; z-index: 2; }
.crt__embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.crt__static { display: none; }
.crt__play { position: absolute; inset: 0; margin: auto; width: 74px; height: 74px; border-radius: 50%; border: none; cursor: pointer; display: none; place-items: center; z-index: 4; background: color-mix(in oklch, var(--bg) 52%, transparent); backdrop-filter: blur(4px); box-shadow: 0 10px 34px rgba(0,0,0,0.55); transition: transform 0.25s var(--ease), background 0.25s; }
.crt__play span { color: var(--fg); font-size: 24px; margin-left: 4px; }
.crt__play:hover { transform: scale(1.08); background: var(--accent); }
.crt__play:hover span { color: var(--bg); }
.crt__badge { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; flex-direction: column; gap: 3px; padding: 14px 16px; background: linear-gradient(to top, rgba(0,0,0,0.72), transparent); pointer-events: none; }
.crt__badge-cat { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.crt__badge-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(15px, 1.7vw, 22px); color: #fff; letter-spacing: -0.01em; line-height: 1.05; }
.crt--drag .crt__screen { outline: 2px dashed var(--accent); outline-offset: -6px; }
.crt__scan { position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(to bottom, rgba(0,0,0,0) 0px, rgba(0,0,0,0) 2px, rgba(0,0,0,0.22) 3px, rgba(0,0,0,0) 4px); mix-blend-mode: multiply; }
.crt__glass { position: absolute; inset: 0; pointer-events: none; border-radius: 16px / 12px;
  background: radial-gradient(120% 90% at 28% 12%, rgba(255,255,255,0.16), rgba(255,255,255,0) 42%);
  box-shadow: inset 0 0 40px 8px rgba(0,0,0,0.6); }

/* side control panel */
.crt__panel { width: clamp(54px, 8vw, 84px); display: flex; flex-direction: column; align-items: center; gap: 14px; padding-top: 8px; }
.crt__knob { width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, oklch(0.42 0.02 60), oklch(0.18 0.015 55)); box-shadow: inset 0 2px 3px rgba(255,255,255,0.18), 0 3px 6px rgba(0,0,0,0.5); position: relative; }
.crt__knob::after { content: ""; position: absolute; top: 5px; left: 50%; width: 2px; height: 11px; background: var(--accent); transform: translateX(-50%); border-radius: 2px; }
.crt__knob--sm { width: 24px; height: 24px; }
.crt__knob--sm::after { height: 7px; }
.crt__grille { width: 100%; flex: 1; min-height: 70px; border-radius: 5px; background: repeating-linear-gradient(to bottom, oklch(0.14 0.012 50) 0 3px, oklch(0.24 0.016 55) 3px 6px); box-shadow: inset 0 0 6px rgba(0,0,0,0.6); }
.crt__label { font-family: var(--font-display); font-weight: 800; font-size: 11px; letter-spacing: 0.08em; color: var(--muted); }

/* feet + console */
.crt__feet { position: relative; z-index: 1; display: flex; justify-content: space-between; width: 80%; margin: 0 auto; }
.crt__feet span { width: 26px; height: 18px; background: linear-gradient(oklch(0.20 0.018 55), oklch(0.12 0.012 50)); border-radius: 0 0 6px 6px; }
.tv-console { width: min(94%, 760px); height: 26px; margin-top: -2px; border-radius: 6px; background: linear-gradient(180deg, oklch(0.30 0.025 58), oklch(0.18 0.02 52)); box-shadow: 0 26px 50px rgba(0,0,0,0.5); }
.tv-soundhint { margin-top: 22px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; color: var(--faint); }

/* controls */
.tv-controls { display: grid; grid-template-columns: 1fr; gap: 18px; max-width: 760px; margin: 0 auto; }
.channels { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.channels:empty { display: none; }
.channel { display: inline-flex; align-items: center; gap: 10px; padding: 9px 12px 9px 14px; border: 1px solid var(--line-2); border-radius: 100px; background: var(--bg-2); color: var(--muted); cursor: pointer; font-family: var(--font-mono); font-size: 13px; transition: all 0.25s var(--ease); }
.channel:hover { color: var(--fg); border-color: var(--fg); }
.channel.active { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.channel__num { font-weight: 700; }
.channel__name { max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.channel__x { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: rgba(255,255,255,0.12); font-size: 13px; line-height: 1; }
.channel.active .channel__x { background: rgba(0,0,0,0.2); }
.channel__x:hover { background: oklch(0.62 0.2 25); color: #fff; }

.channel--add { border-style: dashed; color: var(--accent); border-color: var(--line-2); }
.channel--add:hover { border-color: var(--accent); }
.channel__soon { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.12em; padding: 2px 7px; border-radius: 100px; background: color-mix(in oklch, var(--accent) 22%, transparent); color: var(--accent); }
.channel.active .channel__soon { background: rgba(0,0,0,0.2); color: var(--bg); }
.tv-teamnote { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--faint); text-align: center; cursor: pointer; margin-top: 4px; }
.tv-teamnote b { color: var(--accent); font-weight: 700; }
.tv-teamnote:hover b { text-decoration: underline; }

/* ============================================================
   STATS
   ============================================================ */
.stats { background: var(--bg); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.stat { background: var(--bg); padding: clamp(32px, 5vw, 64px) 28px; }
.stat__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(48px, 7vw, 104px); line-height: 1; letter-spacing: -0.03em; color: var(--fg); }
.stat__num .sfx { color: var(--accent); }
.stat__label { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.06em; color: var(--muted); margin-top: 16px; text-transform: uppercase; }
@media (max-width: 820px) { .stats__grid { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   PLUGGED PLAYLIST — see-through cassette deck
   ============================================================ */
.playlist { background: var(--bg-2); }
.playlist__head { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 5vw, 70px); align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.playlist h2 { font-size: clamp(40px, 7vw, 104px); text-transform: uppercase; }
.playlist__intro { max-width: 440px; }
.playlist__intro p { color: var(--muted); font-size: clamp(16px, 1.7vw, 19px); margin-top: 14px; }
.playlist__spotify { display: inline-block; margin-top: 18px; font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.05em; color: var(--accent); border-bottom: 1px solid color-mix(in oklch, var(--accent) 50%, transparent); padding-bottom: 3px; transition: color 0.25s; }
.playlist__spotify:hover { color: var(--fg); }
@media (max-width: 760px) { .playlist__head { grid-template-columns: 1fr; } }

.deck { max-width: 560px; margin: 0 auto; }

/* the cassette */
.cassette { position: relative; aspect-ratio: 8/5; border-radius: 16px; padding: clamp(14px, 3vw, 22px);
  background: linear-gradient(158deg, rgba(56,56,72,0.5), rgba(18,18,26,0.62));
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(7px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), inset 0 -18px 40px rgba(0,0,0,0.35), 0 36px 80px rgba(0,0,0,0.5); }
.cassette__shell { position: relative; height: 100%; }
.cassette__screws span { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle at 34% 32%, #9a9a9a, #1c1c1c); box-shadow: inset 0 0 0 1px rgba(0,0,0,0.4); }
.cassette__screws span:nth-child(1) { top: 0; left: 0; }
.cassette__screws span:nth-child(2) { top: 0; right: 0; }
.cassette__screws span:nth-child(3) { bottom: 0; left: 0; }
.cassette__screws span:nth-child(4) { bottom: 0; right: 0; }
.cassette__label { position: relative; text-align: center; padding-top: 2px; }
.cassette__brand { font-family: var(--font-mono); font-size: clamp(9px, 1.4vw, 11px); letter-spacing: 0.26em; color: var(--accent); display: block; }
.cassette__vol { font-family: var(--font-display); font-weight: 800; font-size: clamp(20px, 3.4vw, 32px); color: #fff; display: block; margin-top: 1px; letter-spacing: -0.01em; }
.cassette__label .cassette__line { display: block; height: 1px; background: rgba(255,255,255,0.16); margin: 6px clamp(16px, 6vw, 44px); }

/* tape window */
.cassette__window { position: absolute; left: 50%; bottom: 6%; transform: translateX(-50%);
  width: 80%; height: 50%; display: flex; align-items: center; justify-content: space-between; gap: 4px; padding: 0 clamp(10px, 3vw, 20px);
  background: linear-gradient(180deg, rgba(8,8,12,0.9), rgba(0,0,0,0.78));
  border-radius: 12px; border: 1px solid rgba(255,255,255,0.1);
  box-shadow: inset 0 5px 16px rgba(0,0,0,0.75); overflow: hidden; }
.reel { width: 30%; max-width: 96px; aspect-ratio: 1; border-radius: 50%; position: relative; display: grid; place-items: center; flex: none;
  background: repeating-conic-gradient(from 0deg, #4a3727 0deg 6deg, #3a2b1e 6deg 12deg);
  border: 2px solid rgba(255,255,255,0.14); box-shadow: 0 0 0 4px rgba(0,0,0,0.5), inset 0 0 14px rgba(0,0,0,0.6); }
.reel__hub { width: 42%; aspect-ratio: 1; border-radius: 50%;
  background: repeating-conic-gradient(#d8d2c4 0deg 16deg, #15140f 16deg 24deg);
  box-shadow: 0 0 0 3px #15140f, inset 0 0 4px rgba(0,0,0,0.5); }
.tape { flex: 1; height: 3px; background: linear-gradient(90deg, #6a513a, #7c5f43, #6a513a); border-radius: 3px; opacity: 0.85; box-shadow: 0 0 6px rgba(0,0,0,0.5); }
.cassette.is-playing .reel__hub { box-shadow: 0 0 0 3px #15140f, inset 0 0 4px rgba(0,0,0,0.5), 0 0 10px color-mix(in oklch, var(--accent) 60%, transparent); }

/* transport */
.transport { display: flex; justify-content: center; gap: clamp(8px, 2vw, 13px); margin-top: clamp(22px, 4vw, 30px); }
.tbtn { width: clamp(50px, 13vw, 62px); height: 46px; border-radius: 9px; border: 1px solid var(--line-2); background: linear-gradient(180deg, var(--bg-3), var(--bg-2)); color: var(--fg); font-size: 14px; cursor: pointer; display: grid; place-items: center; font-family: var(--font-mono); box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 3px 7px rgba(0,0,0,0.45); transition: transform 0.1s, background 0.2s, box-shadow 0.2s; }
.tbtn:hover { background: var(--bg-3); }
.tbtn:active { transform: translateY(2px); box-shadow: inset 0 2px 5px rgba(0,0,0,0.5); }
.tbtn.is-active { color: var(--accent); box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 0 0 2px var(--accent); }
.tbtn--rec { background: linear-gradient(180deg, #e5443e, #b51e1a); border-color: #7c1411; color: #fff; font-size: 17px; }
.tbtn--rec:hover { background: linear-gradient(180deg, #ef4f49, #c2231e); }
.tbtn--rec.is-active { box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 0 0 2px #ff6b66, 0 0 16px rgba(229,68,62,0.55); }

.nowplaying { text-align: center; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--faint); margin-top: 14px; }
.nowplaying b { color: var(--fg); font-weight: 400; }

.volumes { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: clamp(22px, 4vw, 30px); }
.vol-btn { min-width: 46px; padding: 9px 12px; border-radius: 8px; border: 1px solid var(--line-2); background: transparent; color: var(--muted); font-family: var(--font-mono); font-size: 13px; cursor: pointer; transition: all 0.22s var(--ease); }
.vol-btn:hover { color: var(--fg); border-color: var(--fg); }
.vol-btn.active { background: var(--accent); border-color: var(--accent); color: var(--bg); }

.spotify-mount { margin-top: 22px; border-radius: 12px; }
.spotify-mount:empty { display: none; }
.spotify-mount iframe { display: block; width: 100%; border: 0; border-radius: 12px; }

/* ============================================================
   ABOUT
   ============================================================ */
.about { background: var(--bg); }
.about__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.about__media { position: relative; aspect-ratio: 3/4; overflow: hidden; border-radius: 4px; }
.about__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.2); }
.about__badge { position: absolute; bottom: 22px; left: 22px; right: 22px; background: color-mix(in oklch, var(--bg) 70%, transparent); backdrop-filter: blur(8px); border: 1px solid var(--line-2); border-radius: 4px; padding: 18px 20px; font-family: var(--font-mono); font-size: 12px; color: var(--fg); letter-spacing: 0.04em; }
.about h2 { font-size: clamp(36px, 5.5vw, 76px); text-transform: uppercase; margin-bottom: 28px; }
.about p { color: var(--muted); font-size: clamp(17px, 1.6vw, 21px); margin-bottom: 20px; max-width: 52ch; }
.about p em { color: var(--fg); font-style: normal; }
.about__cta { display: inline-flex; align-items: center; gap: 12px; margin-top: 18px; font-family: var(--font-mono); font-size: 14px; letter-spacing: 0.05em; padding: 14px 26px; border: 1px solid var(--line-2); border-radius: 100px; transition: all 0.3s var(--ease); }
.about__cta:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
@media (max-width: 820px) { .about__grid { grid-template-columns: 1fr; } }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--bg-2); position: relative; }
.contact__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px, 7vw, 110px); }
.contact h2 { font-size: clamp(44px, 9vw, 150px); text-transform: uppercase; line-height: 0.9; }
.contact h2 em { color: var(--accent); font-style: normal; }
.contact__lead { color: var(--muted); font-size: clamp(17px, 1.8vw, 22px); margin-top: 24px; max-width: 38ch; }
.contact__meta { margin-top: 48px; display: flex; flex-direction: column; gap: 22px; }
.contact__meta a, .contact__meta div { font-family: var(--font-mono); font-size: 14px; color: var(--fg); display: flex; gap: 14px; align-items: baseline; }
.contact__meta .k { color: var(--faint); min-width: 90px; }
.form { display: flex; flex-direction: column; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 9px; }
.field label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea, .field select {
  background: transparent; border: none; border-bottom: 1px solid var(--line-2);
  color: var(--fg); font-family: var(--font-body); font-size: 18px; padding: 12px 2px;
  transition: border-color 0.3s; resize: none;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field select { cursor: pointer; }
.field select option { background: var(--bg-2); color: var(--fg); }
.field.invalid input, .field.invalid textarea { border-color: oklch(0.65 0.18 25); }
.field .err { font-family: var(--font-mono); font-size: 11px; color: oklch(0.7 0.16 25); display: none; }
.field.invalid .err { display: block; }
.submit {
  align-self: flex-start; margin-top: 8px; font-family: var(--font-mono); font-size: 14px; letter-spacing: 0.05em;
  padding: 16px 34px; border-radius: 100px; border: none; background: var(--accent); color: var(--bg);
  cursor: pointer; transition: transform 0.3s var(--ease), background 0.3s; display: inline-flex; gap: 10px; align-items: center;
}
.submit:hover { transform: translateY(-2px); background: var(--fg); }
.form__success { font-family: var(--font-mono); font-size: 14px; color: var(--accent-2); display: none; }
.form.sent .form__success { display: block; }
.form.sent .form__fields { display: none; }
@media (max-width: 820px) { .contact__grid { grid-template-columns: 1fr; } }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--bg); border-top: 1px solid var(--line); padding-block: 56px; }
.footer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; margin-bottom: 56px; }
.footer__brand { font-family: var(--font-display); font-weight: 800; font-size: clamp(40px, 8vw, 120px); letter-spacing: -0.03em; line-height: 0.9; text-transform: uppercase; }
.footer__logo { display: block; width: clamp(64px, 9vw, 104px); height: auto; aspect-ratio: 1; object-fit: contain; margin-bottom: 26px; }
.footer__brand b { color: var(--accent); }
.footer__socials { display: flex; flex-direction: column; gap: 12px; }
.footer__socials a { font-family: var(--font-mono); font-size: 14px; color: var(--muted); display: flex; gap: 10px; align-items: center; transition: color 0.25s; }
.footer__socials a:hover { color: var(--accent); }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 26px; font-family: var(--font-mono); font-size: 12px; color: var(--faint); }

/* ============================================================
   TWEAKS visibility
   ============================================================ */
#tweaks-root { position: fixed; z-index: 9999; }
