:root {
  --yellow: #F1D145;
  --yellow-soft: #F8E68C;
  --yellow-deep: #E3BF2B;
  --orange: #F05A28;
  --ink: #100F0F;
  --muted-on-ink: #E9DDA3;
  --slab: "Alfa Slab One", "Rockwell Extra Bold", Rockwell, "Georgia", serif;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1200px;
  --cut: clamp(28px, 4.5vw, 72px);      /* slope height between sections */
  --chamfer: 34px;                       /* corner cut on panels */
  --deck-shadow: var(--yellow);
}

*, *::before, *::after { box-sizing: border-box; border-radius: 0; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--yellow);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 4px solid var(--ink); outline-offset: 4px; }
.on-ink :focus-visible, .on-orange :focus-visible { outline-color: var(--yellow); }
.on-orange :focus-visible { outline-color: var(--ink); }

.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; position: relative; }
section[id] { scroll-margin-top: 70px; }

h1, h2 { font-family: var(--slab); font-weight: 400; margin: 0; letter-spacing: -.005em; text-wrap: balance; }
h2 { font-size: clamp(2.3rem, 5.2vw, 4rem); line-height: 1; }

/* ---------- Sloped section edges ---------- */
.slope-a, .slope-b { position: relative; margin-top: calc(var(--cut) * -1); padding-top: calc(var(--cut) + clamp(3rem, 6vw, 5rem)); padding-bottom: calc(var(--cut) + clamp(2.5rem, 5vw, 4.5rem)); }
.slope-a { clip-path: polygon(0 0, 100% var(--cut), 100% 100%, 0 100%); }
.slope-b { clip-path: polygon(0 var(--cut), 100% 0, 100% 100%, 0 100%); }

/* ---------- Buttons: square, hard shadow ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
  font: 800 1rem/1 var(--sans); font-stretch: 112%;
  padding: 1.05rem 1.6rem;
  border: 3px solid var(--ink);
  background: var(--ink); color: var(--yellow);
  box-shadow: 6px 6px 0 var(--orange);
  text-decoration: none; cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 9px 9px 0 var(--orange); }
.btn:active { transform: translate(4px, 4px); box-shadow: 2px 2px 0 var(--orange); }
.btn.ghost { background: var(--yellow); color: var(--ink); box-shadow: 6px 6px 0 var(--ink); }
.btn.ghost:hover { box-shadow: 9px 9px 0 var(--ink); }
.btn.ghost:active { box-shadow: 2px 2px 0 var(--ink); }
.btn.small { padding: .7rem 1.1rem; font-size: .95rem; box-shadow: 4px 4px 0 var(--orange); }
.btn.small:hover { box-shadow: 6px 6px 0 var(--orange); }
.btn svg { width: 1.05em; height: 1.05em; flex: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: var(--yellow); border-bottom: 4px solid var(--ink); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 70px; }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; }
.brand img { width: 52px; }
.brand-name { font-family: var(--slab); font-size: 1.5rem; line-height: 1; }
.nav { display: flex; align-items: center; gap: 1.8rem; }
.nav a:not(.btn) { text-decoration: none; font-weight: 800; font-stretch: 108%; }
.nav a:not(.btn):hover { text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 7px; text-decoration-color: var(--orange); }

/* ---------- Hero ---------- */
.hero { position: relative; z-index: 1; padding: clamp(2.4rem, 5vw, 4.5rem) 0 clamp(2.8rem, 5vw, 4.2rem); overflow: hidden; }
.hero::before {   /* the orange slab behind the deck, slanted like the bolt in the logo */
  content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 46%;
  background: var(--orange);
  clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
}
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero-logo { width: min(520px, 100%); margin-bottom: clamp(1.4rem, 3vw, 2.4rem); }
.hero h1 { font-size: clamp(2.7rem, 6.6vw, 5.6rem); line-height: .98; }
.hero-sub { max-width: 31rem; font-size: 1.25rem; line-height: 1.5; margin: 1.4rem 0 2.2rem; font-weight: 500; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1.2rem; }

/* ---------- The deck (the one memorable object) ---------- */
.deck-wrap { filter: drop-shadow(12px 12px 0 var(--deck-shadow)); }
.deck {
  --c: var(--chamfer);
  background: var(--ink); color: var(--yellow);
  padding: clamp(1.4rem, 2.6vw, 2.2rem);
  clip-path: polygon(0 0, calc(100% - var(--c)) 0, 100% var(--c), 100% 100%, var(--c) 100%, 0 calc(100% - var(--c)));
}
.deck-top { display: flex; justify-content: space-between; align-items: center; font-weight: 800; font-stretch: 112%; font-size: .98rem; }
.onair { display: inline-flex; align-items: center; gap: .6rem; }
.onair i { width: 14px; height: 14px; background: var(--orange); display: block; }
.deck.playing .onair i { animation: blink 1.1s steps(2, jump-none) infinite; }
@keyframes blink { 50% { opacity: .2; } }

.wave { display: flex; align-items: flex-end; gap: 4px; height: clamp(110px, 16vw, 170px); margin: 1.4rem 0 1.5rem; }
.wave span {
  flex: 1; min-width: 0; height: var(--h, 30%);
  background: var(--orange);
}
.wave span:nth-child(4n) { background: var(--yellow); }
.deck.playing .wave span { animation: bar var(--d, .8s) ease-in-out infinite alternate; animation-delay: var(--dl, 0s); }
@keyframes bar { from { height: var(--lo, 12%); } to { height: var(--hi, 100%); } }

.deck-bottom { display: flex; align-items: center; gap: 1.3rem; }
.play {
  flex: none; width: clamp(84px, 9vw, 104px); aspect-ratio: 1;
  background: var(--yellow); color: var(--ink);
  border: 0; display: grid; place-items: center; cursor: pointer;
  box-shadow: 6px 6px 0 var(--orange);
  transition: transform .12s ease, box-shadow .12s ease;
}
.play:hover { transform: translate(-2px, -2px); box-shadow: 9px 9px 0 var(--orange); }
.play:active { transform: translate(4px, 4px); box-shadow: 2px 2px 0 var(--orange); }
.play svg { width: 46%; height: 46%; margin-left: 6%; }
.deck .play:focus-visible { outline-color: var(--yellow); }
.deck-title { font-family: var(--slab); font-size: clamp(1.4rem, 2.3vw, 1.9rem); line-height: 1.05; margin: 0 0 .35rem; }
.deck-status { margin: 0; color: var(--muted-on-ink); font-size: .98rem; line-height: 1.4; }

/* ---------- Rewind band ---------- */
.band {
  position: relative; z-index: 2;
  background: var(--ink); color: var(--yellow);
  border-block: 4px solid var(--ink);
  overflow: hidden; cursor: w-resize; user-select: none; touch-action: pan-y;
}
.band-track { display: flex; width: max-content; will-change: transform; padding: .55rem 0; }
.band-group { display: flex; flex: none; align-items: center; }
.band-item { display: flex; align-items: center; gap: 1.2rem; padding-right: 1.6rem; font-family: var(--slab); font-size: clamp(2rem, 5.2vw, 4.2rem); line-height: 1; white-space: nowrap; }
.band-item svg { width: 1.05em; height: .72em; flex: none; color: var(--orange); }
.band-hint {
  position: absolute; right: 0; top: 0; bottom: 0; z-index: 3;
  display: flex; align-items: center; padding: 0 1.3rem 0 2.2rem;
  background: var(--orange); color: var(--ink);
  clip-path: polygon(1.1rem 0, 100% 0, 100% 100%, 0 100%);
  font-weight: 800; font-stretch: 112%; font-size: .95rem; pointer-events: none;
}
.band-hint .touch { display: none; }
@media (hover: none) { .band-hint .touch { display: inline; } .band-hint .mouse { display: none; } }

/* ---------- Ads ---------- */
.ad-row { background: var(--yellow); padding-top: clamp(2.2rem, 4vw, 3rem); padding-bottom: calc(var(--cut) + 2.4rem); position: relative; z-index: 1; }
.ad-row.bottom { padding-bottom: 2.8rem; padding-top: calc(var(--cut) + 2.2rem); background: var(--yellow); z-index: 6; }
.ad-label { display: block; text-align: center; font-size: .82rem; font-weight: 700; font-stretch: 112%; margin-bottom: .55rem; opacity: .8; }
.ad {
  display: grid; place-items: center; text-align: center; margin-inline: auto; overflow: hidden;
  border: 3px solid currentColor;
  background: repeating-linear-gradient(135deg, transparent 0 11px, rgba(16,15,15,.1) 11px 14px);
  font-weight: 800; font-stretch: 110%; font-size: 1rem; line-height: 1.3;
}
.ad > span { background: var(--yellow); padding: .35rem .9rem; }
.ad small { display: block; font-weight: 500; opacity: .75; }
.ad img { width: 100%; height: 100%; object-fit: contain; }
.ad a { display: block; width: 100%; height: 100%; }
.ad-leader { width: min(728px, 100%); aspect-ratio: 728 / 90; min-height: 72px; }
.ad-rect { width: min(300px, 100%); aspect-ratio: 300 / 250; }
.ad.filled { border: 0; background: none; }
.ad.has-banner { width: min(640px, 100%); aspect-ratio: auto; min-height: 0; border: 3px solid var(--ink); background: #fff; display: block; }
.ad.has-banner img { display: block; width: 100%; height: auto; }

/* ---------- Listen ---------- */
.listen { background: var(--ink); color: var(--yellow); z-index: 3; }
.listen .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.listen h2 { margin-bottom: 1.1rem; }
.lede { max-width: 36rem; margin: 0 0 1.8rem; font-size: 1.2rem; color: var(--muted-on-ink); }
.frame-wrap { filter: drop-shadow(12px 12px 0 var(--orange)); }
.frame { --c: 30px; background: var(--yellow); padding: 6px;
  clip-path: polygon(0 0, calc(100% - var(--c)) 0, 100% var(--c), 100% 100%, var(--c) 100%, 0 calc(100% - var(--c))); }
.frame-in { --c: 25px; background: var(--yellow-soft);
  clip-path: polygon(0 0, calc(100% - var(--c)) 0, 100% var(--c), 100% 100%, var(--c) 100%, 0 calc(100% - var(--c))); }
.frame iframe { display: block; width: 100%; height: 380px; border: 0; background: var(--yellow-soft); }
.player-help { margin: 1.8rem 0 0; font-size: 1rem; color: var(--muted-on-ink); }
.player-help a { font-weight: 800; color: var(--yellow); text-underline-offset: 5px; text-decoration-thickness: 3px; text-decoration-color: var(--orange); }
.listen .ad-label, .listen .ad { color: var(--muted-on-ink); }
.listen .ad { background: repeating-linear-gradient(135deg, transparent 0 11px, rgba(241,209,69,.12) 11px 14px); }
.listen .ad > span { background: var(--ink); }

/* ---------- About ---------- */
.about { background: var(--yellow-soft); z-index: 4; }
.about .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.about h2 { margin-bottom: 1.4rem; }
.about .ad > span { background: var(--yellow-soft); }
.about-text { font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.5; max-width: 40rem; margin: 0; font-weight: 500; }
.about-text strong { font-weight: 900; }
.rewind-line { display: flex; align-items: center; gap: .9rem; font-family: var(--slab); font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1; margin: 1.8rem 0 0; }
.rewind-line svg { width: 1.2em; height: .8em; color: var(--orange); flex: none; }
.facts { margin: 2.6rem 0 0; padding: 0; list-style: none; border-top: 4px solid var(--ink); max-width: 44rem; }
.facts li { display: grid; grid-template-columns: minmax(7.5rem, 13rem) 1fr; gap: 1.4rem; align-items: baseline; padding: 1.1rem 0; border-bottom: 4px solid var(--ink); }
.facts b { font-family: var(--slab); font-weight: 400; font-size: 1.7rem; line-height: 1.05; }
.facts span { font-size: 1.05rem; font-weight: 500; }

/* ---------- Connect ---------- */
.connect { background: var(--orange); z-index: 5; }
.connect h2 { margin-bottom: 1rem; }
.connect .lede { color: var(--ink); font-weight: 500; }
.social { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.social a { display: block; text-decoration: none; filter: drop-shadow(0 0 0 var(--yellow)); transition: filter .14s ease, transform .14s ease; }
.social a:hover { transform: translate(-5px, -5px); filter: drop-shadow(10px 10px 0 var(--yellow)); }
.social-in {
  --c: 30px;
  display: flex; align-items: center; gap: 1.3rem;
  background: var(--ink); color: var(--yellow); padding: 1.9rem 1.8rem;
  clip-path: polygon(0 0, calc(100% - var(--c)) 0, 100% var(--c), 100% 100%, var(--c) 100%, 0 calc(100% - var(--c)));
}
.social-in .ico { width: 64px; height: 64px; flex: none; }
.social-in .go { width: 34px; height: 34px; flex: none; margin-left: auto; color: var(--orange); }
.social .name { display: block; font-family: var(--slab); font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.05; }
.social .handle { display: block; font-size: 1.05rem; color: var(--muted-on-ink); overflow-wrap: anywhere; }

/* ---------- Footer ---------- */
.site-footer { position: relative; z-index: 6; background: var(--ink); color: var(--yellow); padding: 2.4rem 0; border-top: 4px solid var(--ink); }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.4rem; }
.foot-brand { display: flex; align-items: center; gap: 1rem; }
.foot-brand img { width: 52px; }
.foot-brand strong { display: block; font-family: var(--slab); font-weight: 400; font-size: 1.4rem; line-height: 1.1; }
.foot-brand p { margin: 0; font-size: .95rem; color: var(--muted-on-ink); }
.support { margin: 0; font-size: 1rem; color: var(--muted-on-ink); }
.support a { color: var(--yellow); font-weight: 800; text-underline-offset: 5px; text-decoration-thickness: 3px; text-decoration-color: var(--orange); }
.site-footer :focus-visible { outline-color: var(--yellow); }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  :root { --deck-shadow: var(--orange); }
  .hero::before { display: none; }
  .hero .wrap, .listen .wrap, .about .wrap { grid-template-columns: 1fr; }
  .ad-wrap { justify-self: center; }
  .nav a:not(.btn) { display: none; }
}
@media (max-width: 640px) {
  .social { grid-template-columns: 1fr; }
  .facts li { grid-template-columns: 1fr; gap: .3rem; }
  .frame iframe { height: 430px; }
  .brand-name { font-size: 1.25rem; }
  .deck-wrap, .frame-wrap { filter: drop-shadow(8px 8px 0 var(--orange)); }
  .deck-bottom { flex-direction: column; align-items: flex-start; }
  .band-hint { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
