/* fonts, served from this site (fonts/ folder) */
@font-face {
  font-family: 'Special Elite';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/special-elite.woff2) format('woff2');
}
@font-face {
  font-family: 'Stardos Stencil';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/stardos-stencil.woff2) format('woff2');
}
@font-face {
  font-family: 'UnifrakturCook';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/unifrakturcook.woff2) format('woff2');
}
@font-face {
  font-family: 'Pirata One';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/pirata-one.woff2) format('woff2');
  unicode-range: U+4b, U+6b;
}
@font-face {
  font-family: 'New Rocker';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/new-rocker.woff2) format('woff2');
  unicode-range: U+53, U+73;
}
/* Dunka Dunka — raw concrete, typewriter, wärdshus banner lettering */
:root {
  --line: #45423c;
  --text: #d8d2c4;
  --muted: #8f897c;
  --amber: #ffaa49;
  --banner: #ffaa49;   /* highlight text: same amber as the menu */
  --ink: #0d0c0b;
  --heart: #a8242c;
  --frak: "Pirata One", "New Rocker", "UnifrakturCook", "Old English Text MT", serif; /* Pirata supplies k/K, New Rocker supplies s/S */
  --type: "Special Elite", "Courier New", monospace;
  --stencil: "Stardos Stencil", "Bodoni Moda", serif;
  --poster-red: #ff3a1e;
  /* fine grain laid over the page photos */
  --grit: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='.8 .8 .8 0 -.7 .8 .8 .8 0 -.7 .8 .8 .8 0 -.7 0 0 0 0 1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
body {
  font-synthesis: none;
  margin: 0;
  background: #0b0a09;
  color: var(--text);
  font-family: var(--type);
  font-size: 17px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
/* vignette, like an old photo */
body::after {
  content: "";
  position: fixed; inset: 0;
  z-index: 0;
  pointer-events: none;
  /* negative space: the middle stays darker, where the text sits */
  background:
    linear-gradient(90deg, transparent 0%, rgba(4,4,4,.35) 25%, rgba(4,4,4,.55) 50%, rgba(4,4,4,.35) 75%, transparent 100%),
    linear-gradient(180deg, rgba(4,4,4,.35), transparent 30%, transparent 70%, rgba(4,4,4,.45));
}
a { color: var(--amber); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #ffe2bd; }

/* ---------- header ---------- */
header.site {
  text-align: center;
  padding: 18px 16px 0;
  position: relative;
  z-index: 1;
}
nav.top {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 30px;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 15px;
}
nav.top a { text-decoration: none; padding: 4px 0; }
nav.top a:hover, nav.top a[aria-current="page"] { color: var(--amber); border-bottom: 1px solid var(--amber); }
/* home page: full-bleed live photo, fading into the concrete */
header.hero {
  display: flex;
  flex-direction: column;
  isolation: isolate;
}
header.hero::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(28,27,25,.6) 0%, rgba(28,27,25,0) 20%),
    transparent;
          mask-image: linear-gradient(180deg, #000 50%, transparent 100%);
}
header.hero nav.top a { color: var(--banner); }
header.hero nav.top a[aria-current="page"], header.hero nav.top a:hover { color: var(--amber); }

/* ---------- heart-shaped vinyl logo ---------- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.deck {
  --size: min(74vw, 400px);
  --heart-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M54 99C45 88 30 76 18 62 9 52 3 44 4 33 5 17 15 7 29 6 39 6 45 12 48 21 52 10 61 3 73 4 88 5 98 17 97 33 96 52 77 72 62 86 58 90 56 94 54 99Z'/%3E%3C/svg%3E");
  display: block;
  position: relative;
  width: var(--size);
  height: var(--size);
  margin: 0 auto;
  perspective: 900px;
}
.deck > span, .wobble > span { position: absolute; inset: 0; }

/* Technics-style platter with strobe dots */
.platter {
  inset: -6% !important;
  border-radius: 50%;
  box-shadow: 0 30px 60px rgba(0,0,0,.6);
}
.platter::before { /* strobe dot ring */
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  background: repeating-conic-gradient(#d7d7d7 0 1.4deg, #2b2b2b 1.4deg 4deg);
          mask: radial-gradient(circle closest-side, transparent 89%, #000 89.5% 93%, transparent 93.5%);
  opacity: .85;
}

/* warped-record wobble: the tilt goes round once per revolution */
.wobble {
  transform-style: preserve-3d;
  animation: wobble 5s linear infinite;
}
@keyframes wobble {
  0%   { transform: rotateX(1.8deg)  rotateY(0)       translateY(0); }
  25%  { transform: rotateX(0)       rotateY(1.6deg)  translateY(-1px); }
  50%  { transform: rotateX(-1.4deg) rotateY(0)       translateY(0); }
  75%  { transform: rotateX(0)       rotateY(-1.6deg) translateY(1px); }
  100% { transform: rotateX(1.8deg)  rotateY(0)       translateY(0); }
}
@keyframes spin { to { transform: rotate(360deg); } }

/* the record itself */
.disc {
          mask: var(--heart-shape) center / contain no-repeat;
  background:
    /* lead-out + gaps between tracks */
    radial-gradient(circle closest-side,
      transparent 0 37%, rgba(255,255,255,.05) 37.3% 38.5%, transparent 39%,
      transparent 55%, rgba(255,255,255,.06) 55.3%, transparent 55.9%,
      transparent 70%, rgba(255,255,255,.06) 70.3%, transparent 70.9%,
      transparent 84%, rgba(255,255,255,.05) 84.3%, transparent 84.9%),
    /* grooves */
    repeating-radial-gradient(circle at 50% 50%, #0c0c0c 0 1px, #191919 1px 1.6px, #0f0f0f 1.6px 2.4px),
    #0b0b0b;
  animation: spin 5s linear infinite;
}
.vlabel {
  position: absolute;
  inset: 33%;
  border-radius: 50%;
  color: var(--ink);
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.spindle {
  inset: 48.6% !important;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, #b8b8b8 40%, #555 80%);
  box-shadow: 0 1px 2px rgba(0,0,0,.8);
}

/* ---------- main ---------- */
main {
  flex: 1;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: 56px 16px 80px;
  position: relative;
  z-index: 1;
}
h1 {
  margin: 0 0 36px;
  font-size: clamp(34px, 7vw, 60px);
  font-weight: 700;
}
h2, .label {
  font-family: var(--stencil);
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--poster-red);
  font-size: 30px;
  line-height: 1.05;
  margin: 0 0 18px;
}

/* concrete slab sections */
.board {
  background: rgba(0,0,0,.28);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 30px 24px;
}
.board + .board, .gap { margin-top: 48px; }

.btn {
  display: inline-block;
  font-family: var(--type);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid var(--amber);
  padding: 11px 18px 9px;
  margin: 6px 10px 6px 0;
  transition: background .2s, color .2s;
}
.btn:hover { background: var(--amber); color: var(--ink); }

.track-title { font-size: clamp(20px, 3.5vw, 26px); margin: 0 0 12px; }
.track-title em { font-style: normal; }
.meta { text-transform: uppercase; letter-spacing: .12em; font-size: 13px; color: var(--muted); margin: 0; }

/* ---------- events ---------- */
.event {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 22px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.event:first-child { border-top: 1px solid var(--line); }
.date-stamp { white-space: nowrap; }
.date-stamp .day { font-family: var(--stencil); font-weight: 700; font-size: 40px; line-height: 1; color: var(--poster-red); display: block; }
.date-stamp .mon { text-transform: uppercase; letter-spacing: .12em; font-size: 12px; color: var(--muted); }
.event h3 { margin: 0 0 2px; font-weight: normal; font-size: 21px; line-height: 1.25; }
.event .where { text-transform: uppercase; letter-spacing: .08em; font-size: 13px; color: var(--muted); }
.empty { color: var(--muted); }

/* ---------- footer ---------- */
footer.site {
  border-top: 1px solid var(--line);
  text-align: center;
  padding: 26px 16px 34px;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 14px;
  color: var(--muted);
  position: relative;
  z-index: 1;
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  nav.top { gap: 4px 18px; font-size: 14px; }
    .event { grid-template-columns: 64px 1fr; gap: 14px; }
  .event .btn { grid-column: 2; justify-self: start; }
  }
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  .platter, .disc, .wobble { animation-duration: 12s; }
}

.year {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.year-num {
  font-family: var(--stencil);
  font-weight: 700;
  line-height: 1;
}
.gigs { list-style: none; margin: 0; padding: 0; }
.gigs li {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 14px;
  align-items: baseline;
  padding: 6px 0;
  border-bottom: 1px dotted rgba(255,255,255,.08);
}
.gigs li:last-child { border-bottom: 0; }
.gigs .d { color: var(--muted); font-size: 14px; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
.gigs .w { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; text-align: right; }
@media (max-width: 640px) {
  .year { grid-template-columns: 1fr; gap: 6px; }
  .gigs li { grid-template-columns: 60px 1fr; }
  .gigs .w { grid-column: 2; text-align: left; margin-top: -4px; }
}

/* ---------- contact form ---------- */
.form { display: grid; gap: 18px; margin-top: 24px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label {
  display: grid; gap: 6px;
  text-transform: uppercase; letter-spacing: .12em; font-size: 13px; color: var(--muted);
}
.form input, .form select, .form textarea {
  font: inherit; font-size: 16px; 
  background: rgba(0,0,0,.45);
  border: 1px solid var(--line);
  padding: 11px 12px;
  width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--amber); }
.form .btn { justify-self: start; cursor: pointer; background: transparent; }
.form .honey { position: absolute; left: -9999px; }
@media (max-width: 640px) { .form .row { grid-template-columns: 1fr; } }

/* ---------- home: drone video of the jetty party ---------- */
header.hero { justify-content: flex-start; padding-bottom: 0; overflow: hidden; }
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 40% 50%;
  z-index: -2;
}
/* darken the top for the menu, fade the bottom into the wall */
header.hero::after {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,.55) 0%, transparent 18%, transparent 70%, #0b0a09 100%);
}
.hero-logo { position: relative; }
.hero-logo .deck { --size: min(44vw, 210px); }
@media (min-width: 900px) {
  .hero-logo {
    position: absolute;
    right: 7vw; top: 50%;
    transform: translateY(-50%);
    margin: 0;
  }
  .hero-logo .deck { --size: min(26vw, 340px); }
}
@media (max-width: 899px) {
    .hero-logo { margin-top: 30px; }
}

/* ---------- photo backgrounds on Contact, Events, Mixes (image set in site.js) ---------- */
.backdrop {
  position: fixed; inset: -60px;      /* bleed past the edges so the blur has no hard rim */
  z-index: 0;
  pointer-events: none;
  background-color: #050505;
  background-size: cover;
  background-repeat: no-repeat;
}
/* grain over the glow so it stays gritty (its own layer, so the blur doesn't smear it) */
body[data-page="contact"]::before,
body[data-page="events"]::before,
body[data-page="mixes"]::before {
  content: "";
  position: fixed; inset: 0;
  z-index: 0;
  pointer-events: none;
  background: var(--grit) 0 0 / 400px 400px;
  mix-blend-mode: overlay;
  opacity: .45;
}

/* ---------- dark SoundCloud player ---------- */
.scp { position: relative; margin-top: 8px; }
.scp-now {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px;
  background: rgba(0,0,0,.5);
  border: 1px solid var(--line);
}
.scp-play {
  width: 58px; height: 58px;
  border-radius: 50%;
  border: 1px solid var(--poster-red);
  background: transparent;
  color: var(--poster-red);
  font-size: 18px;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.scp-play:hover:not(:disabled) { background: var(--poster-red); color: var(--ink); }
.scp-play:disabled { opacity: .4; cursor: default; }
.scp-art { width: 58px; height: 58px; object-fit: cover; filter: grayscale(.3) contrast(1.05); }
.scp-meta { min-width: 0; }
.scp-title { color: var(--banner); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 10px; }
.scp-bar { height: 4px; background: rgba(255,255,255,.12); cursor: pointer; position: relative; }
.scp-bar::before { content: ""; position: absolute; inset: -8px 0; }
.scp-bar i { display: block; height: 100%; width: 0; background: var(--poster-red); }
.scp-time { display: flex; justify-content: space-between; margin-top: 6px; font-size: 12px; color: var(--muted); letter-spacing: .08em; }
.scp-list { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.scp-list:empty { display: none; }
.scp-list li { border-bottom: 1px solid var(--line); }
.scp-list button {
  display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: baseline;
  width: 100%; padding: 11px 18px;
  background: transparent; border: 0; color: var(--text); text-align: left;
  font: inherit; font-size: 15px; cursor: pointer;
}
.scp-list button:hover { background: rgba(255,58,30,.08); }
.scp-list .n, .scp-list .d { color: var(--muted); font-size: 13px; }
.scp-list li.on .t { color: var(--poster-red); }
@media (max-width: 640px) {
  .scp-now { grid-template-columns: auto 1fr; }
  .scp-art { display: none; }
}
/* ---------- home: the colour grade is baked into video/jetty.mp4 ---------- */
/* stage-light glows that slowly breathe and drift */
.hero-glow {
  position: absolute; inset: 0;
  z-index: -2;
  pointer-events: none;
  mix-blend-mode: screen;
  overflow: hidden;
}
.hero-glow i {
  position: absolute;
  width: 70vmax; height: 70vmax;
  border-radius: 50%;
  /* no blur: the gradient already fades out softly, and a moving 1000px blur is expensive */
}
.hero-glow i:first-child {
  left: -25vmax; bottom: -30vmax;
  background: radial-gradient(circle, rgba(255,30,45,.18), rgba(255,30,45,0) 65%);
  animation: glowRed 9s ease-in-out infinite;
}
.hero-glow i:last-child {
  right: -25vmax; top: -30vmax;
  background: radial-gradient(circle, rgba(40,90,255,.18), rgba(40,90,255,0) 65%);
  animation: glowBlue 11s ease-in-out infinite;
}
@keyframes glowRed  { 0%,100% { opacity: .75; transform: translate(0,0); }   50% { opacity: 1; transform: translate(6vw,-4vh); } }
@keyframes glowBlue { 0%,100% { opacity: .9;  transform: translate(0,0); }   50% { opacity: .6; transform: translate(-5vw,5vh); } }
@media (prefers-reduced-motion: reduce) { .hero-glow i { animation: none; } }

/* Track ID: no track today */
.sleeping {
  font-family: var(--frak);
  font-size: clamp(34px, 7vw, 58px);
  opacity: .75;
  margin: 10px 0;
}

/* ---------- home: just the opening, no scrolling ---------- */
body[data-page="home"] { height: 100svh; overflow: hidden; }
body[data-page="home"] header.hero { min-height: 100svh; }
body[data-page="home"] main, body[data-page="home"] footer.site { display: none; }

/* ---------- Instagram page ---------- */
main.wide { max-width: 1180px; }
.ig-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
}
.ig-post {
  background: #000;
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0,0,0,.55);
}
/* crop Instagram's white header and footer: show just the photo / video (4:5) */
.ig-post { position: relative; aspect-ratio: 4 / 5; }
.ig-post.square { aspect-ratio: 1 / 1; }

/* backgrounds: red silhouette (Mixes, Track ID, Events), blue room (Instagram, Contact) */
body[data-page="mixes"] .backdrop, body[data-page="track"] .backdrop, body[data-page="events"] .backdrop {
  background-position: center 40%;
}
body[data-page="track"]::before, body[data-page="instagram"]::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: var(--grit) 0 0 / 400px 400px; mix-blend-mode: overlay; opacity: .45; 
}
.year-num { font-size: 22px; }

/* ---------- now playing bar (follows you across pages) ---------- */
#np {
  position: fixed; left: 0; right: 0; bottom: 0;
  z-index: 50;
  display: flex; align-items: center; gap: 16px;
  padding: 12px max(16px, 3vw);
  background: rgba(8, 7, 7, .92);   /* nearly solid, so no blur of what is behind it */
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 30px rgba(0,0,0,.5);
}
#np[hidden] { display: none; }
.np-bar { position: absolute; left: 0; right: 0; top: -1px; height: 3px; background: rgba(255,255,255,.08); cursor: pointer; }
.np-bar::before { content: ""; position: absolute; inset: -6px 0; }
.np-bar i { display: block; height: 100%; width: 0; background: var(--poster-red); }
.np-label {
  font-family: var(--stencil); font-weight: 700; text-transform: uppercase;
  color: var(--poster-red); font-size: 15px; letter-spacing: .04em; white-space: nowrap;
}
.np-play {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--poster-red); background: transparent; color: var(--poster-red);
  cursor: pointer; font-size: 13px;
}
.np-play:hover { background: var(--poster-red); color: var(--ink); }
.np-title { flex: 1; min-width: 0; color: var(--banner); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np-time { color: var(--muted); font-size: 13px; }
.np-vol { flex: none; display: flex; align-items: center; gap: 8px; color: var(--muted); }
.np-vol svg { width: 18px; height: 18px; }
.np-vol input {
  -webkit-appearance: none; appearance: none; width: 90px; height: 3px; margin: 0; cursor: pointer;
  background: linear-gradient(var(--poster-red), var(--poster-red)) 0 0 / var(--v, 80%) 100% no-repeat, rgba(255,255,255,.15);
}
.np-vol input::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 12px; border-radius: 50%; background: var(--poster-red); border: 0; }
.np-vol input::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: var(--poster-red); border: 0; }
.np-vol:hover { color: var(--banner); }
.np-close { flex: none; background: none; border: 0; color: var(--muted); font-size: 16px; cursor: pointer; padding: 6px; }
.np-close:hover { color: var(--banner); }
body.np-on { padding-bottom: 66px; }
@media (max-width: 640px) {
  #np { gap: 10px; }
  .np-label, .np-time { display: none; }
  .np-vol { display: none; }   /* phones use their own volume buttons */
}

/* soft shadow under all the amber (orange) text */
nav.top a, a, .btn, h1.banner, .banner, .track-artist, .event h3, .gigs .t,
.scp-title, .np-title, .scp-list li.on .t, .sleeping, .vlabel .l-small, .form input, .form textarea {
  text-shadow: 0 2px 6px rgba(0,0,0,.75), 0 0 1px rgba(0,0,0,.6);
}
.btn:hover { text-shadow: none; }      /* filled button: dark text on amber */

/* Contact page: red like the "Inquiries?" heading instead of orange */
body[data-page="contact"] main h1.banner,
body[data-page="contact"] main a,
body[data-page="contact"] .form input,
body[data-page="contact"] .form textarea { color: var(--poster-red); }
body[data-page="contact"] .btn { color: var(--poster-red); border-color: var(--poster-red); }
body[data-page="contact"] .btn:hover { background: var(--poster-red); color: var(--ink); }
body[data-page="contact"] .form input:focus,
body[data-page="contact"] .form textarea:focus { border-color: var(--poster-red); }

/* red-background pages get blue accents (the opposite of Contact's red on blue) */
/* (blue accents on red pages removed) */

/* === TRIAL: cobalt blue instead of amber/peach everywhere (delete this block to undo) === */
:root { --amber: #2f63e0; --banner: #2f63e0; }   /* small text: brighter blue */
nav.top a { color: rgba(47, 99, 224, .9); }
h1.banner, .banner, .track-artist, .sleeping { }   /* big titles: deep stage-light blue */
a:hover, nav.top a:hover, nav.top a[aria-current="page"] { color: #6f8fe8; }
nav.top a[aria-current="page"] { border-bottom-color: #6f8fe8; }
.btn:hover { background: #2f63e0; color: #fff; }
/* === end TRIAL === */

.vlabel, .vlabel * { text-shadow: none; }          /* the record label is printed, no shadow */
.btn:hover { text-shadow: none; }

.btn:hover { text-shadow: none; }

/* Track ID: the artist name is a second-level heading, styled like "LATEST ON SOUNDCLOUD" */
.track-artist {
  margin: 10px 0 6px;
}

/* ---------- home: small Track ID of the day card, bottom left ---------- */
.home-track {
  position: absolute; left: max(16px, 3vw); bottom: max(18px, 3vh);
  z-index: 2;
  display: flex; align-items: center; gap: 14px;
  max-width: min(420px, calc(100vw - 32px));
  padding: 12px 18px 12px 12px;
  background: rgba(6, 6, 8, .75);   /* solid-ish instead of a live blur of the video behind it */
  border: 1px solid rgba(255,255,255,.12);
  text-align: left;
}
body.np-on .home-track { bottom: calc(max(18px, 3vh) + 66px); }   /* sit above the now-playing bar */
.ht-play {
  flex: none; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--poster-red); background: transparent; color: var(--poster-red);
  font-size: 15px; cursor: pointer; text-decoration: none;
  animation: htPulse 2.4s ease-in-out infinite;
}
.ht-play:hover { background: var(--poster-red); color: var(--ink); text-shadow: none; }
@keyframes htPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(255,58,30,.45); } 50% { box-shadow: 0 0 0 8px rgba(255,58,30,0); } }
.ht-text { display: flex; flex-direction: column; min-width: 0; }
.ht-label {
  font-family: var(--stencil); font-weight: 700; text-transform: uppercase;
  color: var(--poster-red); font-size: 14px; letter-spacing: .04em;
}
.ht-name { color: var(--banner); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ht-sleep { font-size: 14px; }
.home-track:has(.ht-sleep) { flex-direction: column; align-items: flex-start; gap: 2px; padding-left: 18px; }
@media (prefers-reduced-motion: reduce) { .ht-play { animation: none; } }

/* vinyl label: classic 70s pressing look (orange-red paper, gold rim text, black print) */
.vlabel {
  background: none;
  box-shadow: 0 0 0 1px rgba(0,0,0,.6);
  display: block;
}
.vlabel svg { display: block; }
.rim-text { font-family: "Times New Roman", Georgia, serif; font-weight: 700; font-size: 13px; fill: #f2c230; letter-spacing: .5px; }
.lbl-title { font-family: var(--frak); font-weight: 700; font-size: 23px; fill: #0b0b0b; }
.lbl-sub { font-family: Helvetica, Arial, sans-serif; font-weight: 700; font-size: 6.5px; letter-spacing: .6px; fill: #0b0b0b; }
.lbl-side { font-family: Helvetica, Arial, sans-serif; font-weight: 700; font-size: 5.5px; letter-spacing: .3px; fill: #0b0b0b; }
.lbl-track { font-family: Helvetica, Arial, sans-serif; font-size: 5px; letter-spacing: .3px; fill: #0b0b0b; opacity: .85; }

.platter::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.4' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E") 0 0 / 160px 160px;
          mask: radial-gradient(circle closest-side, #000 0 85.5%, transparent 86%);
}
/* keep the black heart readable on the black felt */
.wobble { filter: drop-shadow(0 0 1.5px rgba(255,255,255,.4)) drop-shadow(0 8px 10px rgba(0,0,0,.85)); }

/* black velvet slipmat with deep-blue highlights (Batman: TAS look) */
.platter {
  background:
    radial-gradient(circle closest-side, transparent 0 86%, #05070e 86.5% 88%, transparent 88.5%),
    radial-gradient(circle closest-side, transparent 93.5%, #b9b9b9 94.5%, #5d5d5d 98%, #2a2a2a 100%, transparent 100.5%),
    radial-gradient(circle closest-side, #05070f 0 86%, transparent 86.5%);
}
.platter::after { opacity: .35; }                 /* finer, softer pile */
/* the blue sheen sits still while the platter turns, like light on velvet */
.deck::after {
  content: "";
  position: absolute; inset: -6%;
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 40% at 28% 22%, rgba(52, 92, 210, .55), transparent 70%),
    radial-gradient(ellipse 45% 35% at 78% 82%, rgba(30, 60, 170, .4), transparent 70%),
    radial-gradient(ellipse 30% 22% at 85% 30%, rgba(90, 130, 255, .18), transparent 70%);
          mask: radial-gradient(circle closest-side, #000 0 85.5%, transparent 86%);
  mix-blend-mode: screen;
}
.deck .wobble { z-index: 2; }

/* ===== page titles, redesigned: slim gothic, printed ink, number tag + hairline ===== */
h1.banner {
  position: relative;
  align-items: center; gap: 22px;
  /* faint ink grain, like it was screen-printed */
}
/* small typewriter tag above: "Nº 01 — DUNKA DUNKA" */
h1.banner::before {
  position: absolute; 
  font-family: var(--type); font-weight: normal;
  font-size: 11px; letter-spacing: .32em; text-transform: uppercase;
  color: var(--muted); -webkit-text-fill-color: var(--muted);
  text-shadow: none;
}
/* hairline running from the title across the page, fading out */
h1.banner::after {
  flex: 1;
}
@media (max-width: 640px) {
  h1.banner { gap: 14px; }
  h1.banner::before { font-size: 10px; letter-spacing: .25em; }
}
h1.banner::before { white-space: nowrap; }
h1.banner::after { opacity: .9; }
h1.banner::before { top: 0; left: 1px; }

/* ===== page titles: old-style black blackletter, thinner, worn print ===== */
h1.banner,
body[data-page="instagram"] main h1.banner,
body[data-page="contact"] main h1.banner {
  margin: 40px 0 30px;
  font-size: clamp(36px, 6vw, 62px);
  line-height: 1;
  /* faint pale edge so the black ink reads against the dark photos */
  /* worn print: speckles and small breaks in the ink */
}
h1.banner::before, h1.banner::after { display: none; }
/* page titles: exactly the vinyl label's font (UnifrakturCook + Pirata's k), clean, no worn texture */
h1.banner,
body[data-page="instagram"] main h1.banner,
body[data-page="contact"] main h1.banner {
  font-family: var(--frak); 
}

/* page titles: black, slimmed down with the thin-ink filter, pale edge so they read on dark photos */
h1.banner,
body[data-page="instagram"] main h1.banner,
body[data-page="contact"] main h1.banner {
  color: #0b0a09; 
}
/* titles: no pale edge, just the slimmed black letters */
h1.banner,
body[data-page="instagram"] main h1.banner,
body[data-page="contact"] main h1.banner { filter: url(#thin-ink); }
/* borrowed New Rocker s: lift it onto the same line as the other letters */
.fs { position: relative; top: -.045em; }

/* Events: red years and gig names — deeper red for the names, brighter red to highlight the years */
body[data-page="events"] .year-num { color: #ff3b24; }
body[data-page="events"] .gigs .t,
body[data-page="events"] .gigs .t a,
body[data-page="events"] .event h3 { color: #d42a1f; }
body[data-page="events"] .gigs li:hover .t,
body[data-page="events"] .gigs .t a:hover { color: #ff3b24; }

/* heading 1: double printer's rule underneath so the title sits on something */
h1.banner,
body[data-page="instagram"] main h1.banner,
body[data-page="contact"] main h1.banner { display: inline-block; }
h1.banner::after { height: 3px; margin: 2px -.06em 0; background: #0b0a09; }
h1.banner,
body[data-page="instagram"] main h1.banner,
body[data-page="contact"] main h1.banner { margin-bottom: 10px; }
/* Instagram only: shift the blue room photo so its bright wall light sits behind the title */
body[data-page="instagram"] .backdrop { background-position: center 30%; }
/* a hidden box (Contact's "Thank you") shouldn't push the next box down */
.board[hidden] + .board { margin-top: 0; }
/* blue pages: plain black titles, made readable by a soft lamp-glow on the wall behind them */
body[data-page="instagram"] main h1.banner,
body[data-page="contact"] main h1.banner {
  text-shadow: none;
}
/* Instagram title: roomier box so the glow fades out softly on all sides (no hard edge) */
body[data-page="instagram"] main h1.banner {
  padding: 30px 70px 26px;
  margin: 8px 0 -6px -70px;
  background:
    radial-gradient(ellipse 25% 34% at 31% 41%, rgba(120, 225, 210, .5) 0%, rgba(100, 200, 220, .2) 55%, transparent 100%),
    radial-gradient(ellipse 44% 40% at 48% 48%, rgba(110, 185, 240, .28) 0%, rgba(90, 150, 235, .1) 55%, transparent 100%);
}
/* Contact title: same blended teal glow as Instagram */
body[data-page="contact"] main h1.banner {
  padding: 30px 70px 26px;
  margin: 8px 0 -6px -70px;
  background:
    radial-gradient(ellipse 25% 34% at 31% 41%, rgba(120, 225, 210, .5) 0%, rgba(100, 200, 220, .2) 55%, transparent 100%),
    radial-gradient(ellipse 44% 40% at 48% 48%, rgba(110, 185, 240, .28) 0%, rgba(90, 150, 235, .1) 55%, transparent 100%);
}
/* Contact: same framing of the blue room photo as Instagram, so it does not jump between the two pages */
body[data-page="contact"] .backdrop { background-position: center 30%; }
.ig-post img { position: absolute; width: 100%; height: 100%; object-fit: cover; transition: transform .4s, filter .4s; }
.ig-post:hover img { transform: scale(1.03); filter: brightness(1.08); }

/* Track ID "still sleeping": red stencil, like the other red headings */
.sleeping {
  font-family: var(--stencil); font-weight: 700; text-transform: uppercase; letter-spacing: .02em;
  color: var(--poster-red); font-size: clamp(26px, 4vw, 36px); line-height: 1.15;
  opacity: 1; filter: none;
}
.np-frame { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; border: 0; }
body, nav.top a, a, .btn, h1.banner, .banner, h2, .label, .track-artist, .event h3, .gigs .t,
.scp-title, .np-title, .scp-list li.on .t, .sleeping, .year-num, .date-stamp .day {
  text-shadow: 0 2px 8px rgba(0,0,0,.9), 0 0 2px rgba(0,0,0,.8);
}

/* home video: never show a play button (e.g. iPhone Low Power Mode shows the still frame instead) */
.hero-video::-webkit-media-controls, .hero-video::-webkit-media-controls-start-playback-button { display: none !important; -webkit-appearance: none; }

/* note shown when a track won't play outside soundcloud.com */
.scp-note { margin: 12px 0 0; font-size: 14px; color: var(--muted); }
.scp-note a, .ht-note a, .np-title a { color: var(--poster-red); }
.ht-note { display: block; margin-top: 4px; font-size: 12px; }

/* tab hidden: freeze every animation (see site.js) */
body.paused *, body.paused *::before, body.paused *::after { animation-play-state: paused !important; }

/* dark boxes: no warm-grey line on top and bottom */
.board { border-top: 0; border-bottom: 0; }

/* home vinyl: stands still until music plays, stops again on pause */
body:not(.is-playing) .disc, body:not(.is-playing) .wobble { animation-play-state: paused; }

/* blue pages (Instagram, Contact): full-weight titles, without the thin-ink filter */
body[data-page="instagram"] main h1.banner,
body[data-page="contact"] main h1.banner { filter: none; }

/* page titles: no dark shadow (it smudged the thin black letters on the red pages) */
h1.banner { text-shadow: none; }

/* ---------- home: see-through arrows to switch drone clips ---------- */
.hero-video { transition: opacity .6s ease; }
.hero-video.entering { opacity: 0; }
.hero-arrow {
  position: absolute; top: 50%; z-index: 3;
  transform: translateY(-50%);
  width: 56px; height: 96px; padding: 24px 16px;
  background: none; border: 0; cursor: pointer;
  color: rgba(255, 255, 255, .38);
  transition: color .25s;
  -webkit-tap-highlight-color: transparent;
}
.hero-arrow svg { width: 100%; height: 100%; display: block; overflow: visible;
  fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,.6)); }
.hero-arrow:hover, .hero-arrow:focus-visible { color: rgba(255, 255, 255, .85); outline: none; }
.hero-arrow.prev { left: max(4px, 1vw); }
.hero-arrow.next { right: max(4px, 1vw); }
@media (max-width: 640px) { .hero-arrow { width: 40px; height: 72px; padding: 18px 10px; } }

/* ---------- vinyl: round turntable, heart record reaching out to the rim ---------- */
.wobble > .disc { inset: -2%; }

/* now-playing bar: only the progress line on top, no extra grey border line */
#np { border-top: 0; }
.np-bar { top: 0; }
