/* =========================================================
   DEF ACRES — late-night radio booth, Edinburgh grunge
   ========================================================= */
:root {
  --bg: #0d0b0a;
  --bg-2: #161210;
  --panel: #1e1915;
  --panel-2: #2a231d;
  --line: #3a3029;
  --amber: #ffb347;
  --amber-dim: #8a5a1c;
  --amber-glow: rgba(255, 179, 71, .55);
  --red: #ff3b2f;
  --red-glow: rgba(255, 59, 47, .6);
  --paper: #e8dcc4;
  --paper-ink: #1b1612;
  --text: #e9e1d4;
  --muted: #a39584;
  --lcd-bg: #1a1305;
  --font-head: "Bebas Neue", Impact, sans-serif;
  --font-zine: "Special Elite", "Courier New", monospace;
  --font-lcd: "VT323", "Courier New", monospace;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
  --radius: 14px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background:
    radial-gradient(1200px 600px at 70% -10%, rgba(255,179,71,.08), transparent 60%),
    radial-gradient(900px 500px at 0% 30%, rgba(255,59,47,.05), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.55;
  overflow-x: hidden;
}
img { max-width: 100%; }
a { color: var(--amber); }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

/* film grain + scanlines */
.grain {
  position: fixed; inset: -50%; z-index: 100; pointer-events: none; opacity: .09;
  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='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 99;
  background: repeating-linear-gradient(to bottom, rgba(0,0,0,.18) 0 1px, transparent 1px 3px);
  mix-blend-mode: multiply; opacity: .5;
}
@keyframes grain {
  0% { transform: translate(0,0) } 20% { transform: translate(-3%,2%) } 40% { transform: translate(2%,-3%) }
  60% { transform: translate(-2%,-1%) } 80% { transform: translate(3%,3%) } 100% { transform: translate(0,0) }
}

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 12px clamp(16px, 4vw, 48px);
  background: rgba(13,11,10,.82); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1; }
.brand-mark { font-family: var(--font-head); font-size: 30px; letter-spacing: 3px; color: var(--paper); }
.brand-sub { font-family: var(--font-zine); font-size: 11px; color: var(--amber); letter-spacing: 1px; }
.nav { display: flex; gap: 20px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; }
.nav a:hover { color: var(--amber); }
.onair {
  font-family: var(--font-head); letter-spacing: 3px; font-size: 18px;
  padding: 4px 12px; border: 2px solid #3d1512; border-radius: 6px; color: #4a1a16;
  transition: all .4s;
}
.onair.live { color: #fff; border-color: var(--red); background: var(--red); box-shadow: 0 0 24px var(--red-glow), inset 0 0 8px rgba(255,255,255,.4); }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(32px, 6vw, 72px) clamp(16px, 4vw, 48px) 180px; max-width: 1200px; margin: 0 auto; }
.hero-copy { max-width: 760px; margin-bottom: 36px; }
.kicker { font-family: var(--font-zine); color: var(--amber); margin: 0 0 8px; letter-spacing: 1px; }
h1, h2, h3 { font-family: var(--font-head); letter-spacing: 1.5px; font-weight: 400; margin: 0; }
h1 { font-size: clamp(44px, 7vw, 88px); line-height: .95; color: var(--paper); }
h1 em { font-style: normal; color: var(--amber); text-shadow: 0 0 30px var(--amber-glow); }
.lede { color: var(--muted); font-size: 18px; max-width: 620px; }
.skyline { position: absolute; left: 50%; bottom: 0; width: 100vw; height: 200px; transform: translateX(-50%); z-index: -1; }
.skyline path { fill: #070605; }
.hero::after { /* haar (Edinburgh sea fog) */
  content: ""; position: absolute; left: 50%; bottom: 0; width: 100vw; height: 260px; transform: translateX(-50%); z-index: -2;
  background: linear-gradient(to top, rgba(255,179,71,.10), transparent);
}

/* ---------- radio body ---------- */
.radio {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), transparent 30%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.015) 0 2px, transparent 2px 5px),
    linear-gradient(180deg, #2b241e, #17130f);
  border: 1px solid #4a3d32;
  border-radius: 22px;
  padding: clamp(14px, 2.5vw, 28px);
  box-shadow: 0 40px 80px rgba(0,0,0,.7), 0 0 0 6px #0f0c0a, 0 0 0 7px #3a3029, inset 0 1px 0 rgba(255,255,255,.08);
}
.radio-badge { text-align: center; font-family: var(--font-zine); font-size: 11px; letter-spacing: 3px; color: #6b5a4a; margin-top: 14px; }
.radio-top { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; }

.grille {
  position: relative; border-radius: 12px; overflow: hidden; min-height: 180px;
  background: #0a0807; border: 1px solid #000; box-shadow: inset 0 0 30px #000;
}
#viz { position: absolute; inset: 0; width: 100%; height: 100%; }
.grille-holes {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, transparent 2.2px, #14100d 2.8px);
  background-size: 9px 9px;
  box-shadow: inset 0 0 40px rgba(0,0,0,.9);
}

.panel { display: flex; flex-direction: column; gap: 14px; }
.lcd {
  font-family: var(--font-lcd); color: var(--amber); background: var(--lcd-bg);
  border-radius: 10px; padding: 12px 16px; border: 1px solid #000;
  box-shadow: inset 0 0 24px rgba(0,0,0,.9), inset 0 0 2px var(--amber-dim);
  text-shadow: 0 0 8px var(--amber-glow);
  min-height: 132px; display: flex; flex-direction: column; justify-content: space-between;
  transition: opacity .4s, filter .4s;
}
.radio:not(.on) .lcd { opacity: .35; filter: saturate(.3); text-shadow: none; }
.lcd-row { display: flex; justify-content: space-between; gap: 10px; }
.lcd-top { font-size: 26px; }
.lcd-title { font-size: 30px; overflow: hidden; white-space: nowrap; }
.lcd-title span { display: inline-block; }
.lcd-title.scroll span { animation: marquee 14s linear infinite; padding-left: 100%; }
@keyframes marquee { to { transform: translateX(-100%); } }
.lcd-bottom { font-size: 22px; color: #c98a35; }

.lamps { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.signal { display: flex; align-items: flex-end; gap: 3px; margin-right: auto; }
.signal i { width: 7px; background: #2c241d; border-radius: 2px; transition: background .15s, box-shadow .15s; }
.signal i:nth-child(1){height:8px}.signal i:nth-child(2){height:12px}.signal i:nth-child(3){height:16px}.signal i:nth-child(4){height:20px}.signal i:nth-child(5){height:24px}
.signal i.on { background: var(--amber); box-shadow: 0 0 8px var(--amber-glow); }
.signal small { font-family: var(--font-zine); font-size: 10px; color: #6b5a4a; margin-left: 6px; }
.lamp {
  font-family: var(--font-zine); font-size: 11px; letter-spacing: 1px; color: #5a4a3c;
  border: 1px solid #3a3029; border-radius: 4px; padding: 3px 7px; transition: all .25s;
}
.lamp.on { color: #1a1305; background: var(--amber); border-color: var(--amber); box-shadow: 0 0 12px var(--amber-glow); }
.lamp-red.on { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 0 12px var(--red-glow); }

/* ---------- dial ---------- */
.dial-wrap { margin: 22px 0 6px; }
.dial {
  position: relative; height: 110px; border-radius: 10px; overflow: hidden; cursor: ew-resize; touch-action: none;
  background: linear-gradient(180deg, #2a1c08, #3a2609 40%, #2a1c08);
  border: 2px solid #0a0807;
  box-shadow: inset 0 0 40px rgba(0,0,0,.8), 0 1px 0 rgba(255,255,255,.06);
  transition: filter .5s;
}
.radio:not(.on) .dial { filter: brightness(.45) saturate(.4); }
.radio.on .dial { background: linear-gradient(180deg, #3d2709, #6b4210 45%, #3d2709); box-shadow: inset 0 0 40px rgba(0,0,0,.7), 0 0 30px rgba(255,179,71,.15); }
.dial-scale, .dial-stations { position: absolute; left: 3%; right: 3%; top: 0; bottom: 0; }
.tick { position: absolute; bottom: 14px; width: 1px; height: 10px; background: rgba(26,19,5,.85); }
.tick.major { height: 22px; width: 2px; }
.tick-label {
  position: absolute; bottom: 38px; transform: translateX(-50%);
  font-family: var(--font-lcd); font-size: 20px; color: #1a1305; font-weight: bold;
}
.dial-band { position: absolute; left: 0; bottom: 4px; font-family: var(--font-zine); font-size: 10px; color: #1a1305; }
.station {
  position: absolute; top: 8px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  background: none; border: 0; padding: 0; color: #1a1305;
}
.station-dot { width: 7px; height: 7px; border-radius: 50%; background: #1a1305; transition: all .2s; }
.station-name { font-family: var(--font-zine); font-size: 10px; white-space: nowrap; max-width: 90px; overflow: hidden; text-overflow: ellipsis; opacity: .8; }
.station.live .station-dot { background: var(--red); }
.station.active .station-dot { background: #fff4dc; box-shadow: 0 0 10px #fff4dc, 0 0 20px var(--amber); }
.needle {
  position: absolute; top: 0; bottom: 0; width: 3px; margin-left: -1.5px;
  background: var(--red); box-shadow: 0 0 10px var(--red-glow), 0 0 2px #fff;
  left: 3%; pointer-events: none; transition: box-shadow .3s;
}
.dial-glass {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(170deg, rgba(255,255,255,.14), transparent 35%, transparent 70%, rgba(255,255,255,.05));
}
.dial-hint { font-size: 12px; color: #6b5a4a; text-align: center; margin: 8px 0 0; font-family: var(--font-zine); }

/* ---------- controls ---------- */
.controls { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; margin-top: 16px; }
.btn-power {
  width: 72px; height: 72px; border-radius: 50%; border: 2px solid #0a0807;
  background: radial-gradient(circle at 35% 30%, #4a3d32, #1a1512);
  box-shadow: 0 6px 14px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.15);
  color: #6b5a4a; font-size: 30px; transition: all .3s;
}
.btn-power:hover { color: var(--amber); }
.btn-power[aria-pressed="true"] { color: var(--red); text-shadow: 0 0 12px var(--red-glow); box-shadow: 0 2px 6px rgba(0,0,0,.6), inset 0 2px 6px rgba(0,0,0,.6), 0 0 18px rgba(255,59,47,.25); }
.btn-power.pulse { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 10px rgba(255,179,71,.15), 0 0 30px rgba(255,179,71,.35); color: var(--amber); } }

.transport { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.transport-buttons { display: flex; gap: 6px; flex-wrap: wrap; }
.key {
  background: linear-gradient(180deg, #3a3029, #241d18); color: var(--paper);
  border: 1px solid #0a0807; border-radius: 6px; padding: 9px 12px;
  font-family: var(--font-zine); font-size: 13px; letter-spacing: 1px;
  box-shadow: 0 3px 0 #0a0807, inset 0 1px 0 rgba(255,255,255,.1);
  transition: transform .05s, box-shadow .05s, color .2s;
}
.key:hover { color: var(--amber); }
.key:active { transform: translateY(2px); box-shadow: 0 1px 0 #0a0807; }
.key:disabled { opacity: .35; cursor: not-allowed; }
.key-play { min-width: 56px; font-size: 16px; color: var(--amber); }
.progress { position: relative; height: 10px; background: #0a0807; border-radius: 5px; cursor: pointer; overflow: hidden; border: 1px solid #000; }
.progress.disabled { cursor: default; opacity: .5; }
.progress-fill { position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(90deg, var(--amber-dim), var(--amber)); box-shadow: 0 0 10px var(--amber-glow); }
.transport-extra { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.vol { display: flex; align-items: center; gap: 8px; font-family: var(--font-zine); font-size: 12px; color: var(--muted); }
.vol input { accent-color: var(--amber); width: 130px; }
.share-wrap { position: relative; }
.share-pop {
  position: absolute; right: 0; bottom: calc(100% + 8px); z-index: 10;
  background: var(--panel-2); border: 1px solid var(--line); border-radius: 10px; padding: 6px;
  display: flex; flex-direction: column; min-width: 210px; box-shadow: 0 20px 40px rgba(0,0,0,.6);
}
.share-pop button { background: none; border: 0; color: var(--text); text-align: left; padding: 9px 12px; border-radius: 6px; }
.share-pop button:hover { background: rgba(255,179,71,.12); color: var(--amber); }

.knob-wrap { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.knob-wrap small { font-family: var(--font-zine); font-size: 10px; color: #6b5a4a; letter-spacing: 2px; }
.knob {
  width: 110px; height: 110px; border-radius: 50%; cursor: grab; touch-action: none; position: relative;
  background:
    repeating-conic-gradient(from 0deg, #2a231d 0deg 6deg, #1a1512 6deg 12deg);
  box-shadow: 0 10px 20px rgba(0,0,0,.7), inset 0 0 0 10px #241d18, inset 0 2px 0 12px rgba(255,255,255,.04);
  border: 2px solid #0a0807;
}
.knob::after { content: ""; position: absolute; inset: 22px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #4a3d32, #15110e); box-shadow: inset 0 1px 0 rgba(255,255,255,.12); }
.knob:active { cursor: grabbing; }
.knob-mark { position: absolute; left: 50%; top: 6px; width: 4px; height: 18px; margin-left: -2px; background: var(--amber); border-radius: 2px; z-index: 1; box-shadow: 0 0 6px var(--amber-glow); }

/* ---------- now playing ---------- */
.now {
  margin-top: 28px; padding: 24px; border-radius: var(--radius);
  background: rgba(30,25,21,.75); border: 1px solid var(--line); backdrop-filter: blur(6px);
  animation: rise .5s ease;
}
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
.now-head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.now-freq { font-family: var(--font-lcd); font-size: 28px; color: var(--amber); }
.now h2 { font-size: 40px; line-height: 1; color: var(--paper); }
.now p { color: var(--muted); max-width: 760px; }
.now-meta { display: flex; gap: 32px; flex-wrap: wrap; margin: 16px 0 0; }
.now-meta dt { font-family: var(--font-zine); font-size: 12px; color: var(--amber); }
.now-meta dd { margin: 2px 0 0; }
.now-kofi {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; padding: 8px 14px;
  border: 1px dashed var(--amber-dim); border-radius: 999px; font-size: 14px; text-decoration: none; color: var(--amber);
  transition: all .2s;
}
.now-kofi:hover { border-style: solid; border-color: var(--amber); background: rgba(255,179,71,.08); }
.now-tracks h3 { font-size: 20px; margin-top: 18px; color: var(--amber); }
.now-tracks ol { margin: 6px 0 0; padding-left: 20px; color: var(--muted); columns: 2; }

/* ---------- sections ---------- */
.section { max-width: 1200px; margin: 0 auto; padding: 96px clamp(16px, 4vw, 48px) 40px; }
.section-head { margin-bottom: 32px; }
.section-head h2 { font-size: clamp(48px, 7vw, 80px); color: var(--paper); line-height: .95; }
.section-lede { color: var(--muted); max-width: 640px; font-size: 17px; }
.sub { font-size: 32px; margin: 48px 0 16px; color: var(--paper); }

/* listings: photocopied gig flyers */
.filters { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 26px; }
.filters input[type=search] {
  flex: 1 1 260px; background: var(--panel); border: 1px solid var(--line); color: var(--text);
  padding: 12px 16px; border-radius: 10px; font: inherit;
}
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { background: transparent; border: 1px solid var(--line); color: var(--muted); padding: 6px 14px; border-radius: 999px; font-size: 13px; text-transform: lowercase; }
.chip.active, .chip:hover { border-color: var(--amber); color: var(--amber); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 28px; }
.card {
  position: relative; text-align: left; border: 0; padding: 22px 20px 20px; color: var(--paper-ink);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .25 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    var(--paper);
  border-radius: 3px; box-shadow: 0 14px 30px rgba(0,0,0,.55);
  transform: rotate(var(--rot, -1deg)); transition: transform .25s, box-shadow .25s;
  font-family: var(--font-body);
}
.card::before { /* tape */
  content: ""; position: absolute; top: -10px; left: 50%; width: 90px; height: 22px; transform: translateX(-50%) rotate(-3deg);
  background: rgba(255,240,200,.55); box-shadow: 0 1px 2px rgba(0,0,0,.2);
}
.card:hover, .card:focus-visible { transform: rotate(0) translateY(-6px) scale(1.02); box-shadow: 0 24px 40px rgba(0,0,0,.6); }
.card.playing { outline: 3px solid var(--amber); outline-offset: 4px; }
.card-freq { font-family: var(--font-head); font-size: 54px; line-height: .9; letter-spacing: 1px; }
.card-freq small { font-size: 20px; margin-left: 4px; }
.card-ep { position: absolute; top: 18px; right: 18px; font-family: var(--font-zine); font-size: 12px; border: 1.5px solid var(--paper-ink); padding: 2px 6px; transform: rotate(4deg); }
.card h3 { font-size: 28px; line-height: 1; margin: 10px 0 8px; }
.card p { font-size: 14px; margin: 0 0 12px; color: #3b3128; }
.card-meta { font-family: var(--font-zine); font-size: 12px; display: flex; justify-content: space-between; gap: 8px; border-top: 1.5px dashed rgba(27,22,18,.4); padding-top: 10px; }
.card-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.card-tags span { font-size: 11px; background: var(--paper-ink); color: var(--paper); padding: 2px 7px; }
.card-cta { position: absolute; bottom: -14px; right: 16px; background: var(--red); color: #fff; font-family: var(--font-head); letter-spacing: 1.5px; padding: 6px 12px; font-size: 16px; transform: rotate(-3deg); box-shadow: 0 6px 12px rgba(0,0,0,.4); }
.card.live-card { background: #1a1512; color: var(--paper); border: 2px dashed var(--red); }
.card.live-card p { color: var(--muted); }
.card.live-card .card-meta { border-color: rgba(232,220,196,.25); }
.empty { color: var(--muted); font-family: var(--font-zine); }

/* phone-in: answering machine */
.machine { display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; }
.machine-deck {
  background: linear-gradient(180deg, #2b241e, #17130f); border: 1px solid #4a3d32; border-radius: 18px; padding: 26px;
  display: flex; flex-direction: column; gap: 18px; align-items: center; box-shadow: 0 30px 60px rgba(0,0,0,.6);
}
.tape { width: 100%; max-width: 300px; height: 120px; background: #0a0807; border-radius: 10px; border: 1px solid #000; display: flex; justify-content: space-around; align-items: center; box-shadow: inset 0 0 20px #000; }
.reel { width: 74px; height: 74px; border-radius: 50%; background: repeating-conic-gradient(#3a3029 0 30deg, #1a1512 30deg 60deg); border: 6px solid #241d18; position: relative; }
.reel::after { content: ""; position: absolute; inset: 24px; border-radius: 50%; background: #0a0807; }
.tape.spin .reel { animation: spin 2s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.machine-led { font-family: var(--font-lcd); color: var(--red); text-shadow: 0 0 10px var(--red-glow); display: flex; align-items: baseline; gap: 8px; }
.msg-count { font-size: 56px; line-height: 1; }
.machine-led small { font-size: 20px; color: #7a2a24; text-shadow: none; }
.meter { width: 100%; max-width: 300px; height: 8px; background: #0a0807; border-radius: 4px; overflow: hidden; }
.meter div { height: 100%; width: 0; background: linear-gradient(90deg, #4caf50, var(--amber) 70%, var(--red)); transition: width .05s; }
.machine-buttons { display: flex; gap: 10px; align-items: center; }
.rec {
  display: flex; align-items: center; gap: 10px; background: linear-gradient(180deg, #3a3029, #241d18); color: var(--paper);
  border: 1px solid #0a0807; border-radius: 999px; padding: 12px 24px; font-family: var(--font-head); font-size: 22px; letter-spacing: 2px;
  box-shadow: 0 4px 0 #0a0807;
}
.rec .dot { width: 16px; height: 16px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red-glow); }
.rec.recording .dot { animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
#recPreview { width: 100%; max-width: 320px; }
.machine-note { font-size: 13px; color: var(--muted); text-align: center; margin: 0; font-family: var(--font-zine); }
.machine-form { display: flex; flex-direction: column; gap: 14px; }
.machine-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--muted); }
.machine-form label small { color: #6b5a4a; }
.machine-form input:not([type=checkbox]), .machine-form textarea, .sub-form input {
  background: var(--panel); border: 1px solid var(--line); color: var(--text); padding: 12px 14px; border-radius: 10px; font: inherit;
}
.machine-form input:focus, .machine-form textarea:focus, .sub-form input:focus { border-color: var(--amber); outline: none; }
.machine-form .check { flex-direction: row; align-items: flex-start; gap: 10px; }
.check input { accent-color: var(--amber); margin-top: 4px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-msg { min-height: 1.4em; margin: 0; font-size: 14px; }
.form-msg.ok { color: #9be39b; } .form-msg.err { color: #ff8a80; }

.btn-primary, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none;
  font-family: var(--font-head); letter-spacing: 2px; font-size: 20px; padding: 12px 22px; border-radius: 10px; border: 2px solid var(--amber);
  transition: all .2s;
}
.btn-primary { background: var(--amber); color: #1a1305; }
.btn-primary:hover { box-shadow: 0 0 24px var(--amber-glow); transform: translateY(-1px); }
.btn-primary:disabled { opacity: .5; cursor: wait; }
.btn-ghost { background: transparent; color: var(--amber); }
.btn-ghost:hover { background: rgba(255,179,71,.1); }

/* booth */
.hosts { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.host { display: flex; gap: 20px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.host-photo { flex: 0 0 110px; width: 110px; height: 110px; border-radius: 10px; background: #0a0807 center/cover; filter: grayscale(1) contrast(1.2); display: grid; place-items: center; font-family: var(--font-head); font-size: 44px; color: var(--amber); border: 1px solid var(--line); }
.host h3 { font-size: 30px; color: var(--paper); }
.host .role { font-family: var(--font-zine); color: var(--amber); font-size: 13px; margin: 0 0 8px; }
.host p { color: var(--muted); margin: 0; font-size: 15px; }
.guests { display: flex; flex-wrap: wrap; gap: 12px; }
.guest { background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; color: var(--text); text-align: left; }
.guest:hover { border-color: var(--amber); }
.guest b { font-weight: 600; }
.guest span { color: var(--muted); font-size: 13px; margin-left: 6px; }
.guest em { font-style: normal; font-family: var(--font-lcd); color: var(--amber); font-size: 18px; margin-left: 8px; }

/* support */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.tier { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.tier h3 { font-size: 34px; color: var(--paper); }
.tier p, .tier li { color: var(--muted); }
.tier ul { padding-left: 18px; margin: 0 0 auto; }
.tier li b { color: var(--paper); font-weight: 600; }
.tier .btn-primary, .tier .btn-ghost { margin-top: auto; }
.tier .btn-ghost { margin-top: 0; }
.tier-tag { font-family: var(--font-zine); font-size: 12px; color: var(--amber); }
.tier-feature { border-color: var(--amber); box-shadow: 0 0 40px rgba(255,179,71,.12); background: linear-gradient(180deg, rgba(255,179,71,.08), var(--panel) 40%); }
.sub-form { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
.sub-inline { flex-direction: row; flex-wrap: wrap; max-width: 620px; margin-top: 32px; }
.sub-inline input[type=email] { flex: 1 1 260px; }
.sub-inline .form-msg { flex-basis: 100%; }

/* merch */
.merch-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.merch-item { background: var(--panel); border: 1px dashed var(--line); border-radius: var(--radius); padding: 18px; }
.merch-item h3 { font-size: 26px; color: var(--paper); margin-top: 12px; }
.merch-item p { color: var(--muted); font-size: 14px; margin: 4px 0 0; }
.merch-art { height: 150px; border-radius: 10px; position: relative; overflow: hidden; background: #0a0807; }
.art-tape::before { content: "ACRES TAPES · VOL.1"; position: absolute; inset: 30px 20px; background: var(--paper); color: var(--paper-ink); font-family: var(--font-zine); font-size: 12px; padding: 8px; border-radius: 6px; }
.art-tape::after { content: ""; position: absolute; left: 50%; top: 70px; width: 110px; height: 34px; transform: translateX(-50%); border-radius: 20px; background: radial-gradient(circle at 20% 50%, #0a0807 10px, transparent 11px), radial-gradient(circle at 80% 50%, #0a0807 10px, transparent 11px), #3a3029; }
.art-tee { background: radial-gradient(ellipse at 50% 120%, #2a231d 60%, #0a0807 61%); }
.art-tee::after { content: "88 · 92 · 96 · 100 · 104"; position: absolute; left: 50%; top: 80px; transform: translateX(-50%); font-family: var(--font-lcd); color: var(--amber); font-size: 18px; white-space: nowrap; border-top: 2px solid var(--red); padding-top: 4px; }
.art-flyer { background: var(--paper); }
.art-flyer::before { content: "DEF\A ACRES"; white-space: pre; position: absolute; left: 14px; top: 10px; font-family: var(--font-head); font-size: 56px; line-height: .85; color: var(--paper-ink); transform: rotate(-4deg); }
.art-flyer::after { content: "ADMIT ONE · LATE"; position: absolute; right: 10px; bottom: 10px; background: var(--red); color: #fff; font-family: var(--font-zine); font-size: 11px; padding: 4px 8px; transform: rotate(3deg); }
.art-pin::after { content: "ON AIR"; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 100px; height: 100px; border-radius: 50%; background: var(--red); color: #fff; font-family: var(--font-head); font-size: 26px; display: grid; place-items: center; box-shadow: 0 0 30px var(--red-glow), inset 0 -6px 0 rgba(0,0,0,.25); }

/* footer */
.footer { text-align: center; padding: 80px 20px 120px; color: var(--muted); border-top: 1px solid var(--line); margin-top: 80px; }
.footer-brand { font-family: var(--font-head); font-size: 64px; letter-spacing: 6px; color: #2a231d; margin: 0; }
.footer-links a { margin: 0 10px; }
.footer .small { font-size: 12px; color: #6b5a4a; }

/* mini player */
.mini {
  position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 60;
  display: flex; align-items: center; gap: 14px; padding: 8px 10px 8px 8px; max-width: calc(100vw - 32px);
  background: rgba(30,25,21,.95); border: 1px solid var(--amber-dim); border-radius: 999px; box-shadow: 0 20px 40px rgba(0,0,0,.6);
  backdrop-filter: blur(8px); animation: rise .3s ease;
}
.mini .key-play { border-radius: 50%; width: 44px; height: 44px; min-width: 44px; padding: 0; }
.mini-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.mini-text b { font-family: var(--font-lcd); color: var(--amber); font-size: 20px; font-weight: 400; }
.mini-up { font-size: 13px; white-space: nowrap; text-decoration: none; padding-right: 8px; }

.toast {
  position: fixed; left: 50%; top: 84px; transform: translate(-50%, -20px); opacity: 0; z-index: 200; pointer-events: none;
  background: var(--amber); color: #1a1305; padding: 10px 18px; border-radius: 8px; font-weight: 600; transition: all .3s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .nav { display: none; }
  .onair { margin-left: auto; }
  .tiers, .machine { grid-template-columns: 1fr; }
  .merch-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .radio-top { grid-template-columns: 1fr; }
  .grille { min-height: 120px; }
  .controls { grid-template-columns: auto 1fr; }
  .knob-wrap { grid-column: 1 / -1; flex-direction: row; justify-content: center; }
  .knob { width: 90px; height: 90px; }
  .station-name { display: none; }
  .tick-label { font-size: 16px; }
  .now-tracks ol { columns: 1; }
  .merch-grid { grid-template-columns: 1fr; }
  .mini-up { display: none; }
  .vol input { width: 90px; }
  .host { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* =========================================================
   STEVO'S GIG GUIDE
   ========================================================= */
.gig-toolbar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.gig-sub-btn {
  background: transparent; border: 1px dashed var(--amber-dim); color: var(--amber); border-radius: 999px;
  padding: 8px 16px; font: 500 14px var(--font-body); cursor: pointer;
}
.gig-sub-btn:hover { border-style: solid; background: rgba(255,179,71,.08); }
.gig-subscribe .gig-cal-pop { left: auto; right: 0; min-width: 260px; }
.gig-sub-note { margin: 4px 12px 8px; font-size: 13px; color: var(--muted); }
.tip-off { margin-top: 28px; background: var(--panel); border: 1px dashed var(--line); border-radius: var(--radius); padding: 16px 20px; }
.tip-off[open] { border-style: solid; }
.tip-off summary { cursor: pointer; color: var(--muted); }
.tip-off summary b { color: var(--paper); font-weight: 600; }
.tip-off summary:hover { color: var(--amber); }
.tip-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; margin-top: 16px; }
.tip-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--muted); }
.tip-form label small { color: #6b5a4a; }
.tip-form input, .tip-form textarea { background: var(--bg-2); border: 1px solid var(--line); color: var(--text); padding: 10px 12px; border-radius: 8px; font: inherit; }
.tip-form input:focus, .tip-form textarea:focus { border-color: var(--amber); outline: none; }
.tip-wide { grid-column: 1 / -1; }
.tip-send { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.gigs { display: grid; gap: 22px; }
.gig {
  position: relative; display: grid; grid-template-columns: 104px 1fr;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    var(--paper);
  color: var(--paper-ink); border-radius: 6px; overflow: visible;
  box-shadow: 0 14px 30px rgba(0,0,0,.5);
}
.gig::before, .gig::after { /* ticket-stub notches */
  content: ""; position: absolute; left: 96px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg);
}
.gig::before { top: -8px; } .gig::after { bottom: -8px; }
.gig.flash { animation: flash 1.6s ease 2; }
@keyframes flash { 50% { box-shadow: 0 0 0 4px var(--amber), 0 0 40px var(--amber-glow); } }
.gig-date {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  background: var(--paper-ink); color: var(--paper); border-radius: 6px 0 0 6px; padding: 16px 6px;
  border-right: 3px dashed var(--paper);
}
.gig-own .gig-date { background: #2a0e0b; }
.gig-dow { font-family: var(--font-zine); font-size: 13px; text-transform: uppercase; color: var(--amber); }
.gig-day { font-family: var(--font-head); font-size: 56px; line-height: .9; }
.gig-mon { font-family: var(--font-head); font-size: 22px; letter-spacing: 2px; text-transform: uppercase; }
.gig-body { padding: 18px 22px 18px 26px; min-width: 0; }
.gig-stamp {
  display: inline-block; font-family: var(--font-zine); font-size: 12px; letter-spacing: 1px;
  border: 2px solid currentColor; padding: 2px 8px; transform: rotate(-2deg); margin-bottom: 8px;
}
.gig-own .gig-stamp { color: #c62a20; }
.gig-pick .gig-stamp { color: #9a5a12; }
.gig h3 { font-size: 32px; line-height: 1; margin-bottom: 6px; }
.gig-where { font-size: 14px; margin: 0 0 8px; color: #3b3128; }
.gig-blurb { margin: 0 0 14px; font-size: 15px; color: #3b3128; max-width: 720px; }
.gig-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.gig-btn {
  display: inline-flex; align-items: center; gap: 6px; font: 600 13px var(--font-body);
  border: 1.5px solid var(--paper-ink); color: var(--paper-ink); background: transparent; border-radius: 999px;
  padding: 7px 14px; text-decoration: none; cursor: pointer; transition: all .15s;
}
.gig-btn:hover { background: var(--paper-ink); color: var(--paper); }
.gig-btn-main { background: var(--paper-ink); color: var(--amber); }
.gig-btn-main:hover { background: #000; color: var(--amber); }
.gig-cal { position: relative; }
.gig-cal-pop {
  position: absolute; left: 0; top: calc(100% + 6px); z-index: 5; min-width: 210px;
  background: var(--panel-2); border: 1px solid var(--line); border-radius: 10px; padding: 6px;
  display: flex; flex-direction: column; box-shadow: 0 20px 40px rgba(0,0,0,.6);
}
.gig-cal-pop button, .gig-cal-pop a {
  background: none; border: 0; color: var(--text); text-align: left; padding: 9px 12px; border-radius: 6px;
  font: 14px var(--font-body); text-decoration: none; cursor: pointer;
}
.gig-cal-pop button:hover, .gig-cal-pop a:hover { background: rgba(255,179,71,.12); color: var(--amber); }

.past-gigs { margin-top: 28px; border-top: 1px dashed var(--line); padding-top: 14px; }
.past-gigs summary { cursor: pointer; font-family: var(--font-zine); color: var(--muted); }
.past-gigs summary:hover { color: var(--amber); }
.past-gigs ul { list-style: none; padding: 0; margin: 12px 0 0; }
.past-gigs li { display: flex; gap: 14px; flex-wrap: wrap; align-items: baseline; padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.past-gigs time { font-family: var(--font-lcd); font-size: 18px; color: var(--amber-dim); min-width: 110px; }
.past-gigs b { color: var(--text); font-weight: 500; }
.past-gigs em { font-style: normal; font-family: var(--font-zine); font-size: 11px; margin-left: auto; }
.past-gigs em.gig-own { color: var(--red); } .past-gigs em.gig-pick { color: var(--amber-dim); }

.notes { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.note {
  display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--text);
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; overflow: hidden;
  transition: transform .2s, border-color .2s;
}
.note:hover { transform: translateY(-4px); border-color: var(--amber-dim); }
.note-img { height: 150px; margin: -20px -20px 6px; background: #0a0807 center/cover; filter: grayscale(.4) contrast(1.1); }
.note-type { font-family: var(--font-zine); font-size: 12px; color: var(--amber); }
.note h3 { font-size: 28px; line-height: 1; color: var(--paper); }
.note p { margin: 0; color: var(--muted); font-size: 14px; }
.note .note-track { color: var(--amber); font-family: var(--font-zine); }
.note-meta { margin-top: auto; font-size: 13px; color: var(--amber-dim); }
.note:hover .note-meta { color: var(--amber); }

/* ----- individual post pages ----- */
.post-wrap { max-width: 780px; margin: 0 auto; padding: 48px clamp(16px, 4vw, 32px) 40px; }
.post-back { font-family: var(--font-zine); font-size: 14px; text-decoration: none; }
.post { margin-top: 24px; }
.post h1 { font-size: clamp(44px, 8vw, 76px); margin-bottom: 20px; }
.post-type { text-transform: uppercase; }
.post-hero { margin: 0 0 28px; }
.post-hero img, .post-body img { width: 100%; border-radius: 10px; display: block; }
.post-body { font-size: 18px; line-height: 1.7; color: #d9cfbf; }
.post-body h2 { font-size: 36px; color: var(--paper); margin: 36px 0 8px; }
.post-body h3 { font-size: 26px; color: var(--paper); margin: 28px 0 6px; }
.post-body blockquote { margin: 28px 0; padding: 6px 0 6px 22px; border-left: 4px solid var(--amber); font-family: var(--font-zine); font-size: 22px; color: var(--paper); }
.post-body code { background: var(--panel); padding: 1px 6px; border-radius: 4px; font-size: .85em; }
.post-body figure { margin: 28px 0; }
.post-body figcaption { font-family: var(--font-zine); font-size: 13px; color: var(--muted); margin-top: 8px; }
.post-track {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 0 0 28px; padding: 16px 20px;
  background: var(--lcd-bg); border-radius: 10px; font-family: var(--font-lcd); color: var(--amber);
  text-shadow: 0 0 8px var(--amber-glow); box-shadow: inset 0 0 20px rgba(0,0,0,.8);
}
.post-track span { font-size: 18px; color: #c98a35; }
.post-track b { font-size: 30px; font-weight: 400; }
.post-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin: 28px 0; }
.post-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; display: block; }
.post-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; padding-top: 24px; border-top: 1px dashed var(--line); }
.post-page .nav-post { display: flex; }

@media (max-width: 720px) {
  .gig { grid-template-columns: 76px 1fr; }
  .gig::before, .gig::after { left: 68px; }
  .gig-day { font-size: 42px; }
  .gig h3 { font-size: 26px; }
  .gig-body { padding: 14px 14px 16px 18px; }
  .past-gigs em { margin-left: 0; }
  .tip-form { grid-template-columns: 1fr; }
  .gig-subscribe .gig-cal-pop { left: 0; right: auto; }
}
