/* ============================================================
   joelmathis.com — "Joel's Jukebox"
   Retro Wurlitzer design system. Plain CSS, no build step.
   ============================================================ */

@font-face {
  font-family: "Yellowtail";
  src: url("../fonts/yellowtail.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Rye";
  src: url("../fonts/rye.woff2") format("woff2");
  font-display: swap;
}

:root {
  --ink: #f7eedd;
  --ink-dim: #cbb99a;
  --bg0: #140b1e;
  --bg1: #221233;
  --panel: #2a1740;
  --wood1: #4a2c17;
  --wood2: #2c190d;
  --paper: #f6ead2;
  --paper-ink: #33241a;
  --pink: #ff4f8b;
  --amber: #ffb350;
  --teal: #37e6d0;
  --red: #e8443c;
  --gold: #d9a441;
  --chrome-hi: #f2f5f8;
  --chrome-md: #aeb6c2;
  --chrome-lo: #6d7684;
  --font-script: "Yellowtail", cursive;
  --font-display: "Rye", "Georgia", serif;
  --font-body: "Georgia", "Times New Roman", serif;
  --font-ui: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --glow-pink: 0 0 6px rgba(255, 79, 139, .9), 0 0 18px rgba(255, 79, 139, .55), 0 0 42px rgba(255, 79, 139, .3);
  --glow-teal: 0 0 6px rgba(55, 230, 208, .9), 0 0 18px rgba(55, 230, 208, .5), 0 0 40px rgba(55, 230, 208, .28);
  --glow-amber: 0 0 6px rgba(255, 179, 80, .9), 0 0 16px rgba(255, 179, 80, .5);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  background: var(--bg0);
  min-height: 100vh;
  padding-bottom: 96px; /* room for the now-playing bar */
}

/* fixed backdrop layer (background-attachment:fixed repaints badly on
   mobile Safari and some renderers) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1200px 500px at 50% -100px, #3b2158 0%, transparent 60%),
    radial-gradient(900px 700px at 85% 110%, #251437 0%, transparent 55%),
    linear-gradient(var(--bg1), var(--bg0) 55%);
}

img { max-width: 100%; }

a { color: var(--teal); }
a:hover { color: var(--amber); }

/* ---------- Header: the jukebox arch ---------- */

.arch {
  max-width: 860px;
  margin: 26px auto 0;
  padding: 34px 28px 22px;
  text-align: center;
  position: relative;
  border-radius: 260px 260px 18px 18px;
  background:
    radial-gradient(140% 110% at 50% -8%, #3d2059 0%, #2a1740 48%, #1d0f2e 100%);
  border: 6px solid transparent;
  background-clip: padding-box;
  box-shadow:
    0 0 0 6px #191024,
    0 0 0 8px var(--chrome-lo),
    0 0 0 11px var(--chrome-hi),
    0 0 0 13px var(--chrome-md),
    0 0 0 14px #3a3f49,
    0 18px 60px rgba(0, 0, 0, .6);
}

/* the glowing neon tube that lines the arch */
.arch::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 240px 240px 12px 12px;
  border: 3px solid var(--pink);
  box-shadow: var(--glow-pink), inset 0 0 14px rgba(255, 79, 139, .55);
  animation: tubehue 14s linear infinite;
  pointer-events: none;
}
@keyframes tubehue {
  0%   { filter: hue-rotate(0deg); }
  50%  { filter: hue-rotate(-42deg); }
  100% { filter: hue-rotate(0deg); }
}

.nameplate {
  font-family: var(--font-script);
  font-size: clamp(3rem, 9vw, 5.4rem);
  line-height: 1.05;
  margin: 0;
  color: #ffe9f1;
  text-shadow: var(--glow-pink);
  font-weight: 400;
}

/* Joel's hand-lettered logo (vectorized from his original artwork) */
.nameplate img {
  display: block;
  width: min(440px, 82%);
  margin: 0 auto;
  filter:
    drop-shadow(0 0 5px rgba(255, 79, 139, .85))
    drop-shadow(0 0 16px rgba(255, 79, 139, .5))
    drop-shadow(0 0 38px rgba(255, 79, 139, .3));
}

.arch .years {
  font-family: var(--font-display);
  font-size: clamp(.95rem, 2.6vw, 1.25rem);
  letter-spacing: .35em;
  margin: .4em 0 0;
  color: var(--amber);
  text-shadow: var(--glow-amber);
}

.arch .tagline {
  font-style: italic;
  color: var(--ink-dim);
  margin: 1.1em auto .2em;
  max-width: 34em;
  font-size: .95rem;
}
.arch .tagline cite { font-style: normal; color: var(--gold); }

/* ---------- Nav: pushbuttons ---------- */

.jukenav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  max-width: 880px;
  margin: 20px auto 26px;
  padding: 0 12px;
}

.jukenav a {
  font-family: var(--font-ui);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--paper-ink);
  background: linear-gradient(#fdf6e6, #e8d9b8 45%, #d9c69c);
  border: 1px solid #a08c62;
  border-bottom-width: 4px;
  border-radius: 9px;
  padding: 9px 14px 8px;
  box-shadow: inset 0 1px 0 #fff, 0 3px 8px rgba(0, 0, 0, .45);
  position: relative;
  transition: transform .08s ease, box-shadow .08s ease;
}
.jukenav a:hover { color: var(--paper-ink); filter: brightness(1.05); }
.jukenav a:active { transform: translateY(2px); border-bottom-width: 2px; }

.jukenav a.active {
  background: linear-gradient(#ffd9e6, #ffadc8 50%, #ff8bb1);
  border-color: #b23e63;
  box-shadow: inset 0 1px 0 #fff, 0 0 14px rgba(255, 79, 139, .8), 0 3px 8px rgba(0, 0, 0, .45);
}

/* ---------- Main panel ---------- */

main {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 14px;
}

.panel-card {
  background: linear-gradient(#2f1b46, #241338);
  border: 1px solid #4b3067;
  border-radius: 14px;
  padding: 26px clamp(16px, 4vw, 40px) 34px;
  box-shadow: 0 14px 44px rgba(0, 0, 0, .45);
}

h2.marquee {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 4.5vw, 2.2rem);
  text-align: center;
  color: var(--teal);
  text-shadow: var(--glow-teal);
  letter-spacing: .06em;
  margin: .2em 0 1em;
}

h3 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--amber);
  letter-spacing: .05em;
}

.lead { font-size: 1.06rem; line-height: 1.65; }
p { line-height: 1.65; }

.center { text-align: center; }
.dim { color: var(--ink-dim); }

/* ---------- Jukebox: category tabs ---------- */

.cat-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 18px;
}
.cat-tabs button {
  font-family: var(--font-ui);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #26160c;
  border: 1px solid rgba(0, 0, 0, .4);
  border-radius: 4px;
  padding: 7px 13px;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 2px 6px rgba(0, 0, 0, .4);
  opacity: .78;
}
.cat-tabs button:nth-child(5n+1) { background: linear-gradient(#ffd27a, #f2a93b); }
.cat-tabs button:nth-child(5n+2) { background: linear-gradient(#8ff0e2, #3ecfba); }
.cat-tabs button:nth-child(5n+3) { background: linear-gradient(#ffa6c5, #f56a97); }
.cat-tabs button:nth-child(5n+4) { background: linear-gradient(#bfa7ff, #8f6fe8); }
.cat-tabs button:nth-child(5n+5) { background: linear-gradient(#a8e08a, #6fbf4f); }
.cat-tabs button.active {
  opacity: 1;
  outline: 2px solid var(--ink);
  outline-offset: 1px;
  box-shadow: 0 0 16px rgba(255, 230, 170, .55), inset 0 1px 0 rgba(255, 255, 255, .5);
}

/* ---------- Jukebox: title strips ---------- */

.strip-window {
  background: linear-gradient(#20140f, #171310);
  border: 4px solid;
  border-image: linear-gradient(#7c5a33, #4a2c17) 1;
  border-radius: 8px;
  padding: 14px;
  perspective: 900px;
}

.strip-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
  transform-origin: 50% 0;
}
.strip-grid.flip-out { animation: flipOut .18s ease-in forwards; }
.strip-grid.flip-in { animation: flipIn .22s ease-out; }
@keyframes flipOut { to { transform: rotateX(78deg); opacity: 0; } }
@keyframes flipIn { from { transform: rotateX(-78deg); opacity: 0; } }

.strip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(#fbf3df, #eddcb8);
  color: var(--paper-ink);
  border: 1px solid #b9a37a;
  border-radius: 3px;
  padding: 7px 10px;
  cursor: pointer;
  font-family: var(--font-body);
  text-align: left;
  width: 100%;
  transition: box-shadow .15s ease, transform .15s ease;
}
.strip:hover {
  box-shadow: 0 0 0 1px var(--amber), 0 0 16px rgba(255, 179, 80, .55);
  transform: translateY(-1px);
}
.strip .code {
  font-family: var(--font-ui);
  font-weight: 800;
  font-size: .72rem;
  color: #fff;
  background: var(--red);
  border-radius: 3px;
  padding: 3px 6px;
  min-width: 2.4em;
  text-align: center;
  flex-shrink: 0;
}
.strip .t { font-weight: 700; font-size: .95rem; line-height: 1.25; }
.strip .d { margin-left: auto; font-family: var(--font-ui); font-size: .74rem; color: #7a6748; flex-shrink: 0; }

.strip.playing {
  background: linear-gradient(#fff3c8, #ffe191);
  box-shadow: 0 0 0 2px var(--amber), 0 0 22px rgba(255, 179, 80, .8);
}
.strip.playing .code { background: #b3822b; }

.flip-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 14px;
  font-family: var(--font-ui);
}
.flip-controls .page-ind { font-size: .8rem; color: var(--ink-dim); letter-spacing: .12em; }
.flip-btn {
  font-size: 1.05rem;
  color: var(--paper-ink);
  background: linear-gradient(#f2f5f8, #aeb6c2 60%, #8a93a2);
  border: 1px solid #5c6572;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  cursor: pointer;
  box-shadow: inset 0 1px 0 #fff, 0 3px 7px rgba(0, 0, 0, .5);
}
.flip-btn:active { transform: translateY(1px); }
.flip-btn:disabled { opacity: .35; cursor: default; }

.coin-row { text-align: center; margin-top: 20px; }
.coin-btn {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--paper);
  background: linear-gradient(#b3402f, #7e2317);
  border: 2px solid var(--gold);
  border-radius: 999px;
  padding: 11px 26px;
  cursor: pointer;
  letter-spacing: .06em;
  box-shadow: 0 0 18px rgba(217, 164, 65, .35), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.coin-btn:hover { box-shadow: 0 0 26px rgba(217, 164, 65, .6), inset 0 1px 0 rgba(255, 255, 255, .25); }

/* ---------- 45s wall ---------- */

.wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 26px 20px;
  margin-top: 10px;
}

.disc45 { text-align: center; cursor: pointer; background: none; border: none; color: var(--ink); padding: 0; }

.disc45 .vinyl {
  position: relative;
  width: min(180px, 78%);
  aspect-ratio: 1;
  margin: 0 auto 10px;
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle at 50% 50%, #191919 0 1.5px, #232323 1.5px 3.5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .6), inset 0 0 12px rgba(255, 255, 255, .06);
  display: grid;
  place-items: center;
}
.disc45 .vinyl img {
  width: 58%;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .6);
}
.disc45 .vinyl::after { /* spindle hole */
  content: "";
  position: absolute;
  width: 7%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--bg0);
  box-shadow: inset 0 1px 2px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.12);
}
.disc45:hover .vinyl { box-shadow: 0 6px 18px rgba(0, 0, 0, .6), 0 0 22px rgba(55, 230, 208, .45); }
.disc45.playing .vinyl { animation: spin 1.8s linear infinite; box-shadow: 0 6px 18px rgba(0,0,0,.6), 0 0 26px rgba(255, 179, 80, .65); }
@keyframes spin { to { transform: rotate(360deg); } }

.disc45 .label-name {
  font-family: var(--font-display);
  font-size: .8rem;
  color: var(--amber);
  display: block;
}
.disc45 .song-name { font-weight: 700; font-size: .95rem; }
.disc45 .chart-note { font-size: .8rem; color: var(--ink-dim); font-style: italic; display: block; margin-top: 2px; }

/* ---------- Timeline ---------- */

.timeline { list-style: none; margin: 0; padding: 0 0 0 14px; position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  left: 52px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(var(--teal), var(--pink));
  box-shadow: 0 0 8px rgba(55, 230, 208, .5);
}
.timeline li { display: flex; gap: 22px; margin-bottom: 18px; }
.timeline .yr {
  font-family: var(--font-display);
  color: var(--teal);
  text-shadow: var(--glow-teal);
  min-width: 72px;
  text-align: right;
  font-size: .95rem;
  padding-top: 1px;
}
.timeline .what { flex: 1; line-height: 1.55; }

/* ---------- Long read (autobiography) ---------- */

.longread { max-width: 640px; margin: 0 auto; font-size: 1.05rem; line-height: 1.75; }
.longread p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-size: 3.1em;
  float: left;
  line-height: .9;
  padding-right: .12em;
  color: var(--pink);
  text-shadow: var(--glow-pink);
}
.editors-note {
  font-style: italic;
  color: var(--ink-dim);
  border-left: 3px solid var(--gold);
  padding-left: 14px;
  margin: 1.6em 0;
}

/* ---------- Photos ---------- */

.album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 18px;
}
.album-cover {
  cursor: pointer;
  background: linear-gradient(#3a2417, #241308);
  border: 1px solid #67492c;
  border-radius: 10px;
  padding: 12px 12px 10px;
  color: var(--ink);
  text-align: center;
  transition: transform .12s ease, box-shadow .12s ease;
}
.album-cover:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(0, 0, 0, .5), 0 0 18px rgba(255, 179, 80, .25); }
.album-cover img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 6px;
  border: 3px solid var(--paper);
  box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
}
.album-cover .a-title { font-family: var(--font-display); font-size: .92rem; margin: 9px 0 2px; color: var(--amber); }
.album-cover .a-count { font-size: .78rem; color: var(--ink-dim); font-family: var(--font-ui); }

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
}
.photo-grid figure {
  margin: 0;
  cursor: pointer;
  background: var(--paper);
  padding: 7px 7px 9px;
  border-radius: 3px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .45);
  transform: rotate(var(--tilt, 0deg));
  transition: transform .12s ease;
}
.photo-grid figure:nth-child(3n)   { --tilt: 1.2deg; }
.photo-grid figure:nth-child(3n+1) { --tilt: -1.1deg; }
.photo-grid figure:hover { transform: rotate(0deg) scale(1.04); z-index: 2; position: relative; }
.photo-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.photo-grid figcaption {
  font-family: var(--font-ui);
  font-size: .7rem;
  color: #5a4a35;
  padding-top: 6px;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.back-link {
  display: inline-block;
  margin-bottom: 14px;
  font-family: var(--font-ui);
  font-size: .85rem;
  text-decoration: none;
}

dialog.lightbox {
  background: #17101f;
  border: 2px solid var(--gold);
  border-radius: 10px;
  padding: 14px;
  max-width: min(92vw, 900px);
  color: var(--ink);
}
dialog.lightbox::backdrop { background: rgba(8, 4, 14, .88); }
dialog.lightbox img { max-height: 70vh; display: block; margin: 0 auto; border-radius: 4px; }
dialog.lightbox figcaption { text-align: center; padding: 10px 4px 2px; font-style: italic; }
.lb-controls { display: flex; justify-content: space-between; margin-top: 8px; }
.lb-controls button {
  background: none;
  border: 1px solid var(--chrome-lo);
  color: var(--ink);
  border-radius: 6px;
  padding: 6px 14px;
  cursor: pointer;
  font-family: var(--font-ui);
}
.lb-controls button:hover { border-color: var(--amber); color: var(--amber); }

/* ---------- Fan posts ---------- */

.fanpost {
  background: var(--paper);
  color: var(--paper-ink);
  border-radius: 4px;
  padding: 18px 22px;
  margin-bottom: 18px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .4);
  position: relative;
}
.fanpost::before {
  content: "❝";
  position: absolute;
  top: 4px;
  left: 10px;
  font-size: 2rem;
  color: var(--red);
  opacity: .55;
}
.fanpost p { margin: .3em 0 .6em; line-height: 1.6; }
.fanpost .who { font-family: var(--font-display); font-size: .85rem; color: #7d5a2e; text-align: right; display: block; }

/* ---------- Forms ---------- */

form.juke-form { max-width: 460px; margin: 0 auto; font-family: var(--font-ui); }
.juke-form label { display: block; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-dim); margin: 14px 0 5px; }
.juke-form input, .juke-form textarea {
  width: 100%;
  background: #1a0f26;
  color: var(--ink);
  border: 1px solid #4b3067;
  border-radius: 7px;
  padding: 10px 12px;
  font-family: inherit;
  font-size: .95rem;
}
.juke-form input:focus, .juke-form textarea:focus { outline: 2px solid var(--teal); border-color: transparent; }
.juke-form .hp { position: absolute; left: -9999px; }
.juke-form button[type=submit] { margin-top: 20px; }

.notice {
  border: 1px solid var(--teal);
  color: var(--teal);
  border-radius: 8px;
  padding: 12px 16px;
  font-family: var(--font-ui);
  font-size: .9rem;
  margin-bottom: 16px;
}
.notice.err { border-color: var(--red); color: #ff9a94; }

/* ---------- Now playing bar ---------- */

#nowplaying[hidden] { display: none; }

#nowplaying {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 50;
  background: linear-gradient(#241631, #170e22);
  border-top: 2px solid;
  border-image: linear-gradient(90deg, var(--pink), var(--amber), var(--teal)) 1;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, .55);
  font-family: var(--font-ui);
  padding: 8px 14px calc(8px + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 12px;
}

#np-disc {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  background: repeating-radial-gradient(circle, #151515 0 1.5px, #222 1.5px 3px);
  display: grid;
  place-items: center;
  position: relative;
}
#np-disc img, #np-disc .np-label {
  width: 55%;
  height: 55%;
  border-radius: 50%;
  object-fit: cover;
  background: var(--red);
}
#np-disc::after {
  content: "";
  position: absolute;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--bg0);
}
.playing #np-disc { animation: spin 1.8s linear infinite; }

#np-info { min-width: 0; flex: 1; }
#np-title {
  font-weight: 700;
  font-size: .92rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#np-sub { font-size: .74rem; color: var(--ink-dim); }

#np-seek {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: #43305c;
  margin-top: 6px;
  cursor: pointer;
}
#np-seek::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: var(--glow-amber);
}

.np-btn {
  background: none;
  border: none;
  color: var(--ink);
  font-size: 1.15rem;
  cursor: pointer;
  padding: 6px;
  line-height: 1;
}
.np-btn:hover { color: var(--amber); }
#np-play {
  font-size: 1.5rem;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: linear-gradient(#b3402f, #7e2317);
  color: var(--paper);
  flex-shrink: 0;
}
#np-time { font-size: .72rem; color: var(--ink-dim); font-variant-numeric: tabular-nums; }

/* ---------- Footer ---------- */

footer {
  text-align: center;
  color: var(--ink-dim);
  font-size: .82rem;
  font-family: var(--font-ui);
  padding: 34px 16px 18px;
}
footer .memory { font-family: var(--font-script); font-size: 1.5rem; color: var(--gold); display: block; margin-bottom: 6px; }
footer .site-by { display: inline-block; margin-top: 10px; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }

/* ---------- Home hero ---------- */

.hero-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  margin-top: 22px;
}
.hero-tiles a {
  display: block;
  text-decoration: none;
  color: var(--ink);
  background: linear-gradient(#31204a, #251437);
  border: 1px solid #4b3067;
  border-radius: 12px;
  padding: 18px;
  text-align: center;
  transition: transform .1s ease, box-shadow .1s ease;
}
.hero-tiles a:hover { transform: translateY(-3px); box-shadow: 0 0 22px rgba(55, 230, 208, .3); }
.hero-tiles .tile-icon { font-size: 1.7rem; display: block; margin-bottom: 8px; }
.hero-tiles .tile-name { font-family: var(--font-display); color: var(--amber); }
.hero-tiles .tile-desc { font-size: .82rem; color: var(--ink-dim); margin-top: 6px; font-family: var(--font-ui); line-height: 1.45; }

.hero-portrait {
  float: right;
  width: min(230px, 38%);
  margin: 0 0 12px 18px;
  border: 4px solid var(--paper);
  border-radius: 4px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .55);
  transform: rotate(1.6deg);
}

/* ---------- Responsive ---------- */

@media (max-width: 680px) {
  .arch { margin-top: 12px; border-radius: 150px 150px 12px 12px; padding: 26px 14px 16px; }
  .arch::before { border-radius: 136px 136px 8px 8px; }
  .strip-grid { grid-template-columns: 1fr; }
  .timeline::before { left: 47px; }
  .timeline li { gap: 16px; }
  .timeline .yr { min-width: 62px; }
  .hero-portrait { float: none; display: block; margin: 0 auto 16px; width: 60%; }
  #np-time { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .arch::before, .disc45.playing .vinyl, .playing #np-disc { animation: none; }
  .strip-grid.flip-out, .strip-grid.flip-in { animation: none; }
}
