:root {
  --ink: #17150f;
  --paper: #f2ead8;
  --cream: #fff9ea;
  --acid: #d7ff45;
  --orange: #ff5c35;
  --brown: #44281e;
  --muted: #7d776b;
  --line: 3px solid var(--ink);
  font-family: Arial, "Helvetica Neue", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  font-size: 16px;
}
.site-header {
  height: 74px;
  border-bottom: var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 64px);
  background: var(--cream);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  font: 900 14px/1 Arial;
  letter-spacing: 0.14em;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: var(--ink);
  color: var(--acid);
  border-radius: 50%;
  letter-spacing: -0.08em;
}
.live-pill {
  font: 800 11px/1 Arial;
  letter-spacing: 0.12em;
  border: 2px solid var(--ink);
  padding: 10px 14px;
  background: var(--acid);
  box-shadow: 4px 4px 0 var(--ink);
}
.live-pill i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  margin-right: 7px;
  animation: pulse 1.5s infinite;
}
.grid-noise {
  background-color: var(--cream);
  background-image:
    linear-gradient(rgba(23, 21, 15, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 21, 15, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
}
.hero {
  min-height: 560px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  border-bottom: var(--line);
  overflow: hidden;
}
.hero-copy {
  padding: clamp(50px, 8vw, 110px) clamp(24px, 6vw, 90px);
  position: relative;
  z-index: 2;
}
.eyebrow {
  text-transform: uppercase;
  font: 900 12px/1 Arial;
  letter-spacing: 0.16em;
  margin: 0 0 18px;
}
.hero h1,
.admin-shell h1 {
  font:
    1000 clamp(48px, 7vw, 100px) / 0.85 Arial,
    sans-serif;
  letter-spacing: -0.075em;
  margin: 0;
  max-width: 900px;
}
.hero h1 em,
.admin-shell h1 em,
.manifesto h2 em {
  font-style: normal;
  color: var(--orange);
  -webkit-text-stroke: 2px var(--ink);
  text-shadow: 5px 5px 0 var(--ink);
}
.lede {
  font: 700 clamp(17px, 1.7vw, 23px) / 1.4 Arial;
  max-width: 660px;
  margin: 38px 0;
}
.timestamp {
  font: 900 11px/1 Arial;
  letter-spacing: 0.13em;
}
.timestamp span {
  color: var(--muted);
  margin-left: 10px;
}
.pot-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 460px;
  background: var(--acid);
  border-left: var(--line);
}
.burst {
  position: absolute;
  width: 530px;
  height: 530px;
  background: repeating-conic-gradient(
    var(--ink) 0deg 5deg,
    transparent 5deg 11deg
  );
  border-radius: 50%;
  opacity: 0.11;
}
.pot {
  position: relative;
  width: 250px;
  height: 290px;
  z-index: 2;
  filter: drop-shadow(14px 16px 0 rgba(23, 21, 15, 0.25));
}
.pot-body {
  position: absolute;
  bottom: 0;
  left: 20px;
  width: 205px;
  height: 220px;
  border: 8px solid var(--ink);
  border-radius: 24px 24px 70px 70px;
  background: rgba(255, 249, 234, 0.88);
  overflow: hidden;
}
.coffee-level {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0;
  background: var(--brown);
  transition: height 0.7s ease;
}
.coffee-level:before {
  content: "";
  position: absolute;
  top: -9px;
  left: -10%;
  width: 120%;
  height: 18px;
  border-radius: 50%;
  background: #754a32;
}
.pot-face {
  position: absolute;
  left: 0;
  right: 0;
  top: 70px;
  text-align: center;
  font: bold 35px/1 monospace;
  z-index: 2;
}
.pot-lid {
  position: absolute;
  top: 40px;
  left: 7px;
  width: 225px;
  height: 30px;
  background: var(--ink);
  border-radius: 50%;
}
.pot-lid:after {
  content: "";
  position: absolute;
  left: 92px;
  top: -25px;
  width: 45px;
  height: 28px;
  background: var(--orange);
  border: 6px solid var(--ink);
  border-radius: 50% 50% 0 0;
}
.pot-handle {
  position: absolute;
  right: -36px;
  top: 92px;
  width: 85px;
  height: 130px;
  border: 16px solid var(--ink);
  border-left: 0;
  border-radius: 0 55px 55px 0;
}
.stamp {
  position: absolute;
  right: 22px;
  bottom: 24px;
  background: var(--orange);
  color: var(--cream);
  border: 3px solid var(--ink);
  padding: 12px;
  transform: rotate(-7deg);
  font: 1000 14px/0.9 Arial;
  text-align: center;
  box-shadow: 5px 5px 0 var(--ink);
  z-index: 3;
}
.status-strip {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  background: var(--ink);
  color: var(--cream);
}
.status-strip > div {
  padding: 28px clamp(20px, 3vw, 50px);
  border-right: 1px solid #5e594f;
}
.status-strip .label {
  display: block;
  color: var(--acid);
  font: 900 10px/1 Arial;
  letter-spacing: 0.15em;
  margin-bottom: 10px;
}
.status-strip strong {
  font: 1000 clamp(24px, 3vw, 42px) / 1 Arial;
  letter-spacing: -0.05em;
}
.status-strip small {
  font-size: 14px;
  margin-left: 4px;
}
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: clamp(24px, 5vw, 72px);
  max-width: 1500px;
  margin: auto;
}
.panel {
  background: var(--cream);
  border: var(--line);
  box-shadow: 8px 8px 0 var(--ink);
}
.panel-heading {
  padding: 25px;
  border-bottom: var(--line);
  position: relative;
}
.panel-heading .eyebrow {
  margin-bottom: 8px;
  color: var(--orange);
}
.panel h2 {
  margin: 0;
  font: 1000 clamp(30px, 4vw, 50px) / 0.9 Arial;
  letter-spacing: -0.06em;
}
.wave {
  position: absolute;
  right: 20px;
  bottom: 24px;
  color: var(--orange);
  font: 900 22px/1 monospace;
  letter-spacing: 3px;
}
.now-playing {
  display: grid;
  grid-template-columns: 190px 1fr;
  align-items: center;
  min-height: 360px;
}
.now-playing .panel-heading {
  grid-column: 1/-1;
}
.record {
  width: 150px;
  height: 150px;
  margin: 25px;
  background: repeating-radial-gradient(
    circle,
    var(--ink) 0 5px,
    #3e3b35 6px 8px
  );
  border-radius: 50%;
  display: grid;
  place-items: center;
  animation: spin 5s linear infinite;
}
.record-center {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--acid);
  border: 3px solid var(--ink);
  display: grid;
  place-items: center;
  font: 1000 20px/0.8 Arial;
}
.record-center small {
  font-size: 8px;
  letter-spacing: 0.1em;
}
.track-copy {
  padding: 25px 35px 25px 10px;
}
.track-kind {
  font: 900 10px/1 Arial;
  letter-spacing: 0.13em;
  color: var(--orange);
}
.track-copy h3 {
  font: 1000 30px/1 Arial;
  margin: 12px 0;
  letter-spacing: -0.04em;
}
.track-copy p {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.4;
}
.timeline {
  list-style: none;
  margin: 0;
  padding: 12px 25px 20px;
}
.timeline li {
  position: relative;
  padding: 18px 10px 18px 34px;
  border-bottom: 2px solid var(--ink);
  font-weight: 700;
}
.timeline li:before {
  content: "";
  position: absolute;
  left: 4px;
  top: 23px;
  width: 11px;
  height: 11px;
  background: var(--acid);
  border: 2px solid var(--ink);
  border-radius: 50%;
}
.timeline time {
  display: block;
  color: var(--muted);
  font: 900 10px/1 Arial;
  letter-spacing: 0.1em;
  margin-top: 7px;
}
.empty-row {
  color: var(--muted);
}
.manifesto {
  padding: clamp(60px, 8vw, 120px) clamp(24px, 7vw, 100px);
  background: var(--orange);
  border-top: var(--line);
  border-bottom: var(--line);
}
.catalog-shell {
  padding: clamp(45px, 7vw, 90px) clamp(24px, 5vw, 72px);
  max-width: 1500px;
  margin: auto;
}
.catalog-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.catalog-title h2 {
  margin: 0;
  font: 1000 clamp(42px, 6vw, 78px) / 0.9 Arial;
  letter-spacing: -0.065em;
}
.catalog-title span,
.catalog-track > span {
  font: 900 10px/1.2 Arial;
  letter-spacing: 0.12em;
  color: var(--orange);
}
.catalog {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.catalog-track {
  border: var(--line);
  background: var(--cream);
  box-shadow: 6px 6px 0 var(--ink);
  padding: 24px;
}
.catalog-track h3 {
  font: 1000 27px/1 Arial;
  letter-spacing: -0.04em;
  margin: 12px 0;
}
.catalog-track p { color: var(--muted); font-weight: 700; min-height: 2.8em; }
.catalog-track audio { width: 100%; }
.manifesto h2 {
  font: 1000 clamp(46px, 7vw, 94px) / 0.88 Arial;
  letter-spacing: -0.07em;
  margin: 0;
  max-width: 1000px;
}
.manifesto h2 em {
  color: var(--acid);
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 70px;
  border: var(--line);
  background: var(--cream);
}
.steps > div {
  padding: 35px;
  border-right: var(--line);
}
.steps > div:last-child {
  border: 0;
}
.steps b {
  font: 1000 50px/1 Arial;
  color: var(--orange);
}
.steps h3 {
  font: 1000 28px/1 Arial;
  margin: 15px 0;
}
.steps p {
  font-weight: 700;
  line-height: 1.45;
}
footer {
  padding: 30px clamp(20px, 4vw, 64px);
  display: flex;
  justify-content: space-between;
  background: var(--cream);
  font: 900 11px/1 Arial;
  letter-spacing: 0.1em;
}
footer a,
.back-link {
  color: inherit;
  font-weight: 900;
}
.admin-shell {
  max-width: 1500px;
  margin: auto;
  padding: clamp(30px, 5vw, 70px);
}
.login-card {
  border: var(--line);
  box-shadow: 12px 12px 0 var(--ink);
  padding: clamp(35px, 7vw, 90px);
  max-width: 1000px;
  margin: 6vh auto;
}
.login-card p:not(.eyebrow) {
  font-size: 20px;
  font-weight: 700;
  max-width: 600px;
}
.login-card form {
  margin-top: 40px;
}
.input-row {
  display: flex;
  gap: 10px;
}
.input-row input {
  flex: 1;
}
label {
  display: block;
  font: 900 11px/1.3 Arial;
  letter-spacing: 0.1em;
  margin: 15px 0 8px;
}
input,
select {
  width: 100%;
  border: 3px solid var(--ink);
  background: var(--cream);
  padding: 14px;
  font: 800 16px Arial;
  border-radius: 0;
}
button {
  border: 3px solid var(--ink);
  background: var(--acid);
  padding: 13px 18px;
  font: 1000 12px/1 Arial;
  letter-spacing: 0.06em;
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--ink);
}
button:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}
.button-secondary {
  background: var(--cream);
}
.form-error {
  color: #b12216;
  font-weight: 800;
  min-height: 1.2em;
}
.admin-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 38px;
}
.admin-title h1 {
  font-size: clamp(50px, 7vw, 90px);
}
.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}
.control-panel {
  padding-bottom: 28px;
}
.control-panel form,
.song-controls,
.admin-status {
  padding: 0 25px;
}
.admin-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--ink);
  color: var(--cream);
  padding-top: 20px;
  padding-bottom: 20px;
  font: 900 18px Arial;
}
.admin-status span {
  color: var(--acid);
  font-size: 28px;
}
.wide {
  margin: 20px 25px;
  width: calc(100% - 50px);
}
.song-controls {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}
.song-control-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}
.song-button {
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.song-button small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
}
.song-button b {
  white-space: nowrap;
}
.browser-song-button {
  min-width: 112px;
}
.admin-browser-audio {
  width: 100%;
  margin: 16px 0;
}
.song-form-panel form {
  padding: 0 25px;
}
.form-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.song-form-panel button {
  margin-top: 12px;
}
.toast {
  position: fixed;
  right: 30px;
  top: 90px;
  z-index: 10;
  background: var(--acid);
  border: var(--line);
  box-shadow: 6px 6px 0 var(--ink);
  padding: 18px 24px;
  font-weight: 900;
}
.toast.error {
  background: var(--orange);
}
[hidden] {
  display: none !important;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes pulse {
  50% {
    opacity: 0.25;
    transform: scale(0.75);
  }
}
@media (max-width: 850px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .pot-stage {
    border-left: 0;
    border-top: var(--line);
  }
  .status-strip {
    grid-template-columns: 1fr 1fr;
  }
  .content-grid,
  .admin-grid {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .steps > div {
    border-right: 0;
    border-bottom: var(--line);
  }
  .now-playing {
    grid-template-columns: 150px 1fr;
  }
  .record {
    width: 120px;
    height: 120px;
    margin: 15px;
  }
  .site-header {
    height: 64px;
  }
  .live-pill {
    display: none;
  }
}
@media (max-width: 540px) {
  .hero-copy {
    padding: 50px 22px;
  }
  .hero h1 {
    font-size: 48px;
  }
  .admin-shell h1 {
    font-size: 40px;
  }
  .status-strip {
    grid-template-columns: 1fr;
  }
  .status-strip > div {
    border-bottom: 1px solid #5e594f;
  }
  .now-playing {
    display: block;
  }
  .record {
    margin: 25px auto;
  }
  .track-copy {
    padding: 5px 25px 30px;
  }
  .input-row {
    display: grid;
  }
  .back-link {
    font-size: 10px;
  }
  .form-pair {
    grid-template-columns: 1fr;
  }
  .song-control-row {
    grid-template-columns: 1fr;
  }
  footer {
    gap: 20px;
    flex-direction: column;
  }
}
