/* RAT HOLE — taken from the band's own artwork: black walls, blood-red
   paint splatter, dripping lettering and yellow gaffer-tape labels. */
:root {
  --bg: #0f0d0d;
  --bg-2: #1c1817;
  --bone: #efe9e2;
  --muted: #aaa29b;
  --red: #d3262b;
  --red-deep: #7a1418;
  --yellow: #f0c22b;
  --ink: #0f0d0d;

  --f-display: "Rubik Dirt", "Arial Black", Impact, sans-serif;
  --f-type: "Special Elite", "Courier New", Courier, monospace;
  --f-body: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --wrap: 72rem;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--bone);
  font: 1rem/1.6 var(--f-body);
  /* faint spray-paint grit */
  background-image:
    radial-gradient(rgba(211,38,43,.10) 1px, transparent 1.4px),
    radial-gradient(rgba(239,233,226,.04) 1px, transparent 1.2px);
  background-size: 23px 19px, 7px 7px;
}
img { max-width: 100%; display: block; }
main { overflow-x: clip; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
[hidden] { display: none !important; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

h1, h2, h3 { font-family: var(--f-display); font-weight: 400; line-height: 1.05; text-wrap: balance; margin: 0; text-transform: uppercase; letter-spacing: .02em; }
h1 { font-size: clamp(2.4rem, 8vw, 4.8rem); }
h2 { font-size: clamp(1.6rem, 4.5vw, 2.6rem); }
h3 { font-size: 1.15rem; }
p { margin: 0; max-width: 65ch; }

.label {
  font-family: var(--f-type);
  font-size: .85rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* yellow gaffer tape, as on the tour poster */
.tape {
  display: inline-block;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--f-type);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: .1em .45em;
  transform: rotate(-1.5deg);
  box-shadow: 2px 2px 0 rgba(0,0,0,.6);
  clip-path: polygon(0 4%, 3% 0, 97% 3%, 100% 0, 99% 96%, 96% 100%, 2% 97%, 0 100%);
}

/* ---------- placeholder notice ---------- */
.notice {
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--f-type);
  font-size: .85rem;
  padding-block: .4rem;
  text-align: center;
}
.example-tag {
  display: inline-block;
  font-family: var(--f-type);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 1.5px dashed currentColor;
  padding: 0 .4em;
  transform: rotate(-3deg);
  vertical-align: middle;
}

/* ---------- header ---------- */
.site-header {
  background: rgba(15,13,13,.94);
  border-bottom: 3px solid var(--red);
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: .6rem 1rem; padding-block: .5rem; flex-wrap: wrap;
}
.logo { display: inline-block; text-decoration: none; }
.logo img { height: 3.1rem; width: auto; }
.nav { display: flex; gap: .25rem 1.1rem; flex-wrap: wrap; align-items: center; }
.nav a {
  font-family: var(--f-type);
  text-transform: uppercase; letter-spacing: .1em;
  text-decoration: none; font-size: .95rem;
  padding: .15rem .1rem;
}
.nav a:hover { color: var(--yellow); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--yellow); padding-inline: .4rem; }
.cart-link { display: inline-flex; gap: .35rem; align-items: center; }
.cart-count {
  background: var(--red); color: var(--bone);
  border-radius: 999px; min-width: 1.4em; text-align: center;
  font-family: var(--f-body); font-weight: 700; font-size: .8rem; padding: 0 .35em;
}

/* ---------- hero ---------- */
.hero { overflow: hidden; }
.hero .wrap { display: grid; gap: 2rem 3rem; padding-block: clamp(1.5rem, 5vw, 3.5rem); grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: center; }
.hero-art {
  display: grid; place-items: center;
  padding: clamp(1rem, 4vw, 2.5rem);
  /* a red spray-paint glow behind the logo */
  background:
    radial-gradient(ellipse 55% 50% at 50% 52%, rgba(211,38,43,.38), transparent 70%),
    radial-gradient(circle at 18% 22%, rgba(211,38,43,.5) 0 4px, transparent 5px),
    radial-gradient(circle at 84% 30%, rgba(211,38,43,.45) 0 6px, transparent 7px),
    radial-gradient(circle at 74% 84%, rgba(211,38,43,.4) 0 3px, transparent 4px);
}
.hero-art img { width: 100%; max-width: 40rem; height: auto; }
.hero-side { display: grid; gap: 1.2rem; }
.hero-sub { font-family: var(--f-type); font-size: 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* tour box, styled like the poster's date strip */
.tour-box {
  background: var(--ink);
  border: 2px solid var(--red-deep);
  padding: 1.2rem 1.2rem 1.3rem;
  display: grid; gap: .8rem;
  transform: rotate(-1deg);
  box-shadow: 6px 6px 0 var(--red-deep);
}
.tour-box .tour-name { display: grid; gap: .3rem; justify-items: start; }
.tour-box .tour-name .pre, .tour-box .tour-name .post { font-family: var(--f-display); font-size: 1.3rem; text-transform: uppercase; }
.tour-box .tour-name .tape { font-size: clamp(1.1rem, 3vw, 1.4rem); }
.tour-dates { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.tour-dates li { display: grid; grid-template-columns: 4.6rem auto minmax(0, 1fr); gap: .6rem; align-items: center; font-family: var(--f-type); text-transform: uppercase; letter-spacing: .06em; }
.tour-dates .tape { font-size: .95rem; justify-self: start; }
.tour-dates .venue { min-width: 0; overflow-wrap: anywhere; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  font-family: var(--f-display); font-size: .95rem; text-transform: uppercase; letter-spacing: .04em;
  text-decoration: none; cursor: pointer;
  background: var(--red); color: var(--bone);
  border: 2px solid var(--red);
  padding: .65rem 1.1rem;
  box-shadow: 4px 4px 0 var(--ink), 4px 4px 0 2px var(--red-deep);
  transition: transform .08s, box-shadow .08s;
}
.btn:hover { transform: translate(-2px, -2px); }
.btn:active { transform: translate(2px, 2px); box-shadow: none; }
.btn.alt { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.btn.ghost { background: transparent; color: var(--bone); border-color: var(--bone); box-shadow: none; }
.btn[disabled], .btn.is-disabled { opacity: .45; cursor: not-allowed; transform: none; }

/* ---------- sections ---------- */
.section { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.section-head a { font-family: var(--f-type); text-transform: uppercase; letter-spacing: .1em; color: var(--yellow); }
/* blood-red band with splatter */
.band {
  background:
    radial-gradient(ellipse at 20% 0%, var(--red) 0%, transparent 60%),
    var(--red-deep);
  color: var(--bone);
}
.band .label { color: var(--bone); opacity: .8; }
.band .section-head a { color: var(--bone); }
/* ragged top edge */
.torn { position: relative; }
/* ripped paper: the section's own background runs up into a torn edge (mask),
   with the pale torn core of the paper drawn along the rip (torn-fibre.png) */
.torn {
  margin-top: -32px; border-block: 32px solid transparent; background-origin: border-box;
  -webkit-mask: url(../images/torn-mask.png) 0 0 / 1600px 32px repeat-x, url(../images/torn-mask-bottom.png) 0 100% / 1600px 32px repeat-x,
                linear-gradient(#000 0 0) 0 31px / 100% calc(100% - 62px) no-repeat;
          mask: url(../images/torn-mask.png) 0 0 / 1600px 32px repeat-x, url(../images/torn-mask-bottom.png) 0 100% / 1600px 32px repeat-x,
                linear-gradient(#000 0 0) 0 31px / 100% calc(100% - 62px) no-repeat;
}
.torn::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -32px; height: 32px; pointer-events: none;
  background: url(../images/torn-fibre-bottom.png) 0 0 / 1600px 32px repeat-x;
}
.torn::before {
  content: ""; position: absolute; left: 0; right: 0; top: -32px; height: 32px; pointer-events: none;
  background: url(../images/torn-fibre.png) 0 0 / 1600px 32px repeat-x;
}

.page-head { padding-block: clamp(2.2rem, 6vw, 4rem) 1rem; display: grid; gap: .8rem; }
.page-head h1 { color: var(--bone); }
.page-head p { font-size: 1.1rem; }

/* ---------- gigs ---------- */
.gigs-layout { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: 2.5rem; align-items: start; }
.poster { border: 2px solid var(--red-deep); transform: rotate(1.5deg); box-shadow: 8px 8px 0 var(--red-deep); }
.poster-cap { margin-top: 1rem; }
.gig-list { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--red); }
.gig {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr) auto;
  gap: 1rem 1.4rem; align-items: center;
  padding-block: 1rem;
  border-bottom: 1.5px dashed rgba(239,233,226,.35);
}
.gig-date { font-family: var(--f-display); line-height: 1; text-align: center; }
.gig-date .d { font-size: 2.2rem; display: block; color: var(--red); }
.band .gig-date .d { color: var(--bone); }
.gig-date .m { font-size: .85rem; display: block; margin-top: .2rem; }
.gig-date .y { font-family: var(--f-type); font-size: .75rem; display: block; margin-top: .2rem; opacity: .7; }
.gig-info { min-width: 0; display: grid; gap: .2rem; justify-items: start; }
.gig-city { font-family: var(--f-display); font-size: 1.25rem; text-transform: uppercase; }
.gig-venue { font-weight: 600; font-family: var(--f-type); text-transform: uppercase; letter-spacing: .06em; }
.gig-meta { font-family: var(--f-type); font-size: .85rem; opacity: .8; }
.gig-actions { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; justify-content: end; }
.status {
  font-family: var(--f-type); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em;
  padding: .15rem .5rem; border: 2px solid currentColor;
}
.status.sold-out { background: var(--red); color: var(--bone); border-color: var(--red); transform: rotate(-4deg); }
.status.few-left { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.gig.past { opacity: .55; }
.gig-filter { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.chip {
  font-family: var(--f-type); text-transform: uppercase; letter-spacing: .06em; font-size: .85rem;
  background: transparent; color: var(--bone); border: 2px solid var(--bone); padding: .3rem .7rem; cursor: pointer;
}
.chip[aria-pressed="true"] { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.empty { font-family: var(--f-type); padding-block: 1.5rem; }

/* ---------- releases ---------- */
.release-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); gap: 2rem 1.6rem; }
.release { display: grid; gap: .6rem; align-content: start; }
.cover {
  aspect-ratio: 1; max-width: 100%; width: 100%;
  border: 2px solid var(--bone);
  display: grid; place-items: center; text-align: center;
  font-family: var(--f-display); text-transform: uppercase;
  padding: 1rem; position: relative; overflow: hidden;
}
.cover span { position: relative; font-size: clamp(1rem, 3vw, 1.5rem); line-height: 1.05; }
.release .meta { font-family: var(--f-type); font-size: .85rem; color: var(--muted); }
.band .release .meta { color: var(--bone); }

.featured { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(1.5rem, 5vw, 3.5rem); align-items: start; }
.featured .cover { box-shadow: 8px 8px 0 var(--ink); }
.featured .cover span { font-size: clamp(1.6rem, 5vw, 2.8rem); }
.featured-body { display: grid; gap: 1rem; min-width: 0; }
.tracklist { margin: 0; padding-left: 1.8rem; font-family: var(--f-type); display: grid; gap: .2rem; }
.tracklist li::marker { font-family: var(--f-display); font-size: .85rem; }
.links { display: flex; flex-wrap: wrap; gap: .5rem; }
.links a {
  font-family: var(--f-type); text-transform: uppercase; letter-spacing: .06em; font-size: .85rem;
  border: 2px solid currentColor; padding: .3rem .7rem; text-decoration: none;
}
.links a:hover { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }

/* ---------- merch ---------- */
.shop-layout { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: 2rem; align-items: start; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 9.5rem), 1fr)); gap: 1.6rem 1rem; }
.product { display: grid; gap: .55rem; align-content: start; }
.product-img {
  aspect-ratio: 1; max-width: 100%;
  background:
    radial-gradient(circle at 25% 30%, rgba(211,38,43,.22) 0 18%, transparent 19%),
    radial-gradient(circle at 78% 75%, rgba(211,38,43,.16) 0 12%, transparent 13%),
    var(--bg-2);
  border: 2px solid rgba(239,233,226,.25);
  display: grid; place-items: center; position: relative; overflow: hidden;
}
.product-img svg { width: 76%; height: auto; }
.product-img .example-tag { position: absolute; top: .6rem; left: .6rem; background: var(--bg); }
.product h3 { font-size: 1rem; }
.price { font-family: var(--f-display); font-size: 1.1rem; font-variant-numeric: tabular-nums; color: var(--yellow); }
.product-row { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.product select {
  font: inherit; font-family: var(--f-type);
  border: 2px solid var(--bone); background: var(--bg); color: var(--bone); padding: .45rem .5rem;
}
.product .btn { flex: 1; font-size: .8rem; padding: .55rem .7rem; }
.badge-sold { font-family: var(--f-type); text-transform: uppercase; color: var(--red); font-weight: 700; }

.cart {
  position: sticky; top: calc(env(safe-area-inset-top, 0px) + 5.5rem);
  background: var(--bg-2); border: 2px solid var(--yellow); box-shadow: 8px 8px 0 var(--red-deep);
  padding: 1.2rem; display: grid; gap: 1rem;
}
.cart h2 { font-size: 1.4rem; }
.cart-items { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.cart-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .2rem .6rem; border-bottom: 1.5px dashed rgba(239,233,226,.35); padding-bottom: .7rem; }
.cart-item .name { font-weight: 700; }
.cart-item .opt { font-family: var(--f-type); font-size: .8rem; color: var(--muted); }
.qty { display: inline-flex; align-items: center; gap: .3rem; }
.qty button {
  width: 1.8rem; height: 1.8rem; border: 2px solid var(--bone); background: var(--bg); color: var(--bone);
  font-weight: 700; cursor: pointer; line-height: 1;
}
.qty output { min-width: 1.4em; text-align: center; font-variant-numeric: tabular-nums; }
.line-total { font-variant-numeric: tabular-nums; text-align: right; font-weight: 700; }
.cart-total { display: flex; justify-content: space-between; font-family: var(--f-display); font-size: 1.2rem; font-variant-numeric: tabular-nums; }
.cart-note { font-family: var(--f-type); font-size: .85rem; }
.checkout-msg { font-family: var(--f-type); font-size: .85rem; background: var(--yellow); color: var(--ink); padding: .6rem .7rem; }

/* ---------- forms ---------- */
.signup { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1rem; }
.signup input {
  flex: 1 1 14rem; min-width: 0;
  font: inherit; padding: .7rem .8rem;
  border: 2px solid var(--bone); background: rgba(15,13,13,.55); color: var(--bone);
}
.signup input::placeholder { color: var(--muted); }
.form-msg { font-family: var(--f-type); margin-top: .7rem; }

/* ---------- about ---------- */
.two-col { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 3.5rem); align-items: start; }
.prose { display: grid; gap: 1rem; font-size: 1.05rem; }
.photo-ph {
  aspect-ratio: 4 / 3; max-width: 100%;
  border: 2px solid var(--bone);
  background:
    repeating-linear-gradient(45deg, transparent 0 10px, rgba(239,233,226,.07) 10px 12px),
    var(--bg-2);
  display: grid; place-items: center; text-align: center;
  font-family: var(--f-type); text-transform: uppercase; letter-spacing: .1em; padding: 1rem;
  transform: rotate(-1.5deg);
}
.members { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 12rem), 1fr)); gap: 1rem; }
.members li { border-top: 3px solid currentColor; padding-top: .6rem; display: grid; gap: .1rem; }
.members strong { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: 1.2rem; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.contact-list li { display: grid; gap: .1rem; }
.contact-list .addr { font-family: var(--f-type); font-size: 1.05rem; user-select: all; word-break: break-word; }
.ig-link { color: var(--yellow); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--bone); padding-block: 2.5rem; border-top: 2px solid var(--red-deep); }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; align-items: center; }
.site-footer .logo img { height: 4.5rem; }
.site-footer .socials { display: flex; gap: 1rem; flex-wrap: wrap; font-family: var(--f-type); text-transform: uppercase; letter-spacing: .08em; }
.site-footer .socials a:hover { color: var(--yellow); }
.site-footer small { font-family: var(--f-type); color: var(--muted); }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .hero .wrap, .featured, .two-col, .shop-layout, .gigs-layout { grid-template-columns: minmax(0, 1fr); }
  .cart { position: static; }
  .gigs-layout .poster-col { max-width: 24rem; }
}
@media (max-width: 560px) {
  .site-header .wrap { justify-content: center; }
  .nav { justify-content: center; }
  .gig { grid-template-columns: 4rem minmax(0, 1fr); }
  .gig-actions { grid-column: 1 / -1; justify-content: start; }
  .gig-date .d { font-size: 1.7rem; }
  .tour-dates li { grid-template-columns: 4rem minmax(0, 1fr); }
  .tour-dates .venue { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* product photos and SumUp store mode */
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-img .art { display: grid; place-items: center; width: 100%; height: 100%; }
.product-img .art[hidden] { display: none !important; }
.was { font-family: var(--f-type); color: var(--muted); font-size: .9rem; }
.shop-layout.no-cart { grid-template-columns: minmax(0, 1fr); }
.shop-layout.no-cart .product-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); }
.store-note { font-family: var(--f-type); border-left: 4px solid var(--yellow); padding: .3rem 0 .3rem .8rem; margin-bottom: 1.6rem; }
.store-note a { color: var(--yellow); }
.product a.btn { justify-self: start; }

/* ransom-note headings: each letter cut from a different "magazine".
   Built by js/main.js; the plain text stays in the heading for screen readers. */
.ransom .w { display: inline-block; white-space: nowrap; margin-right: .32em; }
.ransom .w:last-child { margin-right: 0; }
.ransom .c {
  display: inline-block;
  line-height: 1;
  padding: .06em .1em .04em;
  margin: .06em .025em;
  text-transform: none;
  box-shadow: 2px 2px 0 rgba(0,0,0,.55);
}
.ransom .v0 { font-family: "Rubik Dirt", var(--f-display); background: var(--bone); color: var(--ink); }
.ransom .v1 { font-family: var(--f-type); background: var(--yellow); color: var(--ink); }
.ransom .v2 { font-family: "Abril Fatface", Georgia, serif; background: var(--red); color: var(--bone); }
.ransom .v3 { font-family: "Bungee", var(--f-display); background: var(--ink); color: var(--bone); outline: 1.5px solid var(--bone); outline-offset: -3px; }
.ransom .v4 { font-family: var(--f-body); font-weight: 900; background: transparent; color: var(--bone); box-shadow: none; }
.ransom .v5 { font-family: "Abril Fatface", Georgia, serif; background: var(--bone); color: var(--red); }
.band .ransom .v2 { background: var(--ink); color: var(--red); }
.poster { width: 100%; height: auto; }

/* ---------- band photos ---------- */
img.cover { padding: 0; height: auto; object-fit: cover; }
.photo-strip { display: grid; grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr); gap: 1.4rem; align-items: stretch; }
.photo-strip figure { margin: 0; }
.photo-main img { width: 100%; height: 100%; object-fit: cover; border: 2px solid var(--bone); filter: contrast(1.05); }
.tv-tile { position: relative; display: block; text-decoration: none; border: 2px solid var(--red); overflow: hidden; }
.tv-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s; }
.tv-tile:hover img { transform: scale(1.03); }
.tv-label { position: absolute; left: .7rem; top: .7rem; display: grid; gap: .3rem; justify-items: start; }
.tv-label .tape { font-size: 1.1rem; }
.tv-label .label { background: var(--ink); color: var(--bone); padding: .1rem .4rem; }
.polaroid { margin: 0; background: var(--bone); padding: .6rem .6rem 2.2rem; transform: rotate(-2deg); box-shadow: 8px 8px 0 rgba(0,0,0,.5); max-width: 100%; }
.polaroid img { width: 100%; height: auto; }
.polaroid.tilt-r { transform: rotate(3deg); }
.members-wrap { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 16rem); gap: 2rem; align-items: center; }
.poster-col { display: grid; gap: 2rem; }
.poster-fig { margin: 0; display: grid; gap: .8rem; }
.poster-fig:nth-child(even) .poster { transform: rotate(-1.5deg); }
@media (max-width: 860px) {
  .photo-strip { grid-template-columns: minmax(0, 1fr) minmax(0, 10rem); }
  .members-wrap { grid-template-columns: minmax(0, 1fr); }
  .members-wrap .polaroid { max-width: 16rem; }
}
@media (max-width: 560px) {
  .photo-strip { grid-template-columns: minmax(0, 1fr); }
  .tv-tile { max-width: 14rem; }
}

/* ---------- homepage: band photo with gigs and merch beside it ---------- */
.home-top .home-grid {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 1.5rem 2.5rem; padding-block: 1.5rem 2.5rem; align-items: stretch;
}
.home-photo { margin: 0; position: relative; min-height: 26rem; }
.home-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; border: 2px solid var(--bone); }
.home-photo figcaption { position: absolute; left: 1rem; bottom: 1rem; }
.home-photo .tape { font-size: 1.15rem; }
.home-teasers { display: grid; gap: 1.6rem; align-content: start; min-width: 0; }
.home-teasers .section-head { margin-bottom: .7rem; }
.home-teasers h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); }

.gig-list.compact .gig { grid-template-columns: 3.2rem minmax(0, 1fr) auto; gap: .3rem 1rem; padding-block: .5rem; }
.gig-list.compact .gig-date .d { font-size: 1.45rem; }
.gig-list.compact .gig-date .m { font-size: .7rem; }
.gig-list.compact .gig-date .y, .gig-list.compact .gig-meta { display: none; }
.gig-list.compact .gig-info { gap: 0; }
.gig-list.compact .gig-city { font-size: 1.05rem; }
.gig-list.compact .gig-venue { font-size: .85rem; }
.gig-list.compact .status { font-size: .7rem; }
.gig-list.compact .btn { font-size: .75rem; padding: .4rem .7rem; }

.merch-teaser { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; }
.teaser-item { display: grid; gap: .3rem; align-content: start; text-decoration: none; }
.teaser-item .product-img { display: grid; }
.teaser-item:hover .product-img { border-color: var(--yellow); }
.teaser-name { font-family: var(--f-display); text-transform: uppercase; font-size: .8rem; line-height: 1.15; }
.teaser-item .price { font-size: .95rem; }

.photo-strip.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.photo-strip.three figure img, .photo-strip.three .tv-tile img { width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; border: 2px solid var(--bone); }
.photo-strip.three .tv-tile img { border: none; }

@media (max-width: 860px) {
  .home-top .home-grid { grid-template-columns: minmax(0, 1fr); }
  .home-photo { min-height: 0; aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) {
  .merch-teaser { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .photo-strip.three { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .photo-strip.three .tv-tile { grid-column: 1 / -1; max-width: none; }
  .photo-strip.three .tv-tile img { aspect-ratio: 4 / 3; object-position: 50% 30%; }
  .gig-list.compact .gig-actions { grid-column: auto; }
  .gig-list.compact .gig { grid-template-columns: 3rem minmax(0, 1fr) auto; }
}

/* ---------- about page ---------- */
.prose .lede { font-size: 1.25rem; font-weight: 600; }
.members li p { font-size: .95rem; margin-top: .3rem; }
.photo-live-about { margin: 0; transform: rotate(1.5deg); }
.photo-live-about img { width: 100%; height: auto; border: 3px solid var(--bone); box-shadow: 8px 8px 0 var(--ink); }
.about-members .members { grid-template-columns: minmax(0, 1fr); }
.members-wrap:has(.photo-live-about) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: start; }
.members-wrap:has(.photo-live-about) .members { grid-template-columns: minmax(0, 1fr); gap: 1.4rem; }
.ben-card {
  background: var(--yellow); color: var(--ink);
  padding: 1.4rem 1.4rem 1.2rem; display: grid; gap: .9rem; justify-items: start;
  transform: rotate(-1.5deg); box-shadow: 8px 8px 0 var(--red-deep);
  clip-path: polygon(0 3%, 4% 0, 96% 2%, 100% 0, 99% 97%, 95% 100%, 3% 98%, 0 100%);
}
.ben-card .label { color: var(--ink); opacity: .8; }
.ben-story { font-family: var(--f-display); text-transform: uppercase; font-size: clamp(1.2rem, 2.6vw, 1.6rem); line-height: 1.2; min-height: 3.6em; }
.ben-card .btn.alt { background: var(--ink); color: var(--yellow); border-color: var(--ink); box-shadow: 4px 4px 0 var(--red); }

/* ---------- homepage: Rat Hole TV ---------- */
.tv-section { display: grid; grid-template-columns: minmax(0, 18rem) minmax(0, 1fr); gap: 2rem 3rem; align-items: center; }
.tv-section .tv-tile img { aspect-ratio: 335 / 597; }
.tv-section .prose { display: grid; gap: 1rem; justify-items: start; }
.home-photo img { object-position: 50% 30%; }
@media (max-width: 860px) {
  .members-wrap:has(.photo-live-about) { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .tv-section { grid-template-columns: minmax(0, 1fr); }
  .tv-section .tv-tile { max-width: 14rem; }
}

/* ---------- releases: compact album, latest singles ---------- */
.featured { grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); }
.featured.compact { grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); align-items: center; }
.featured .cover span { font-size: clamp(1.2rem, 3vw, 1.8rem); }
.cover-wrap { display: grid; }
.cover-wrap .art { display: block; }
.album-singles { font-size: .95rem; }
.album-singles .label { display: block; margin-bottom: .2rem; }
.tracklist { display: block; columns: 2; column-gap: 2.2rem; font-size: .92rem; }
.tracklist li { break-inside: avoid; margin-bottom: .2rem; }
.singles-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: 1.4rem; margin-bottom: 2.4rem; }
.single-card { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 1.1rem; align-items: center; background: rgba(15,13,13,.35); padding: .8rem; border: 2px solid rgba(239,233,226,.25); }
.single-card .cover { box-shadow: none; }
.single-card .cover span { font-size: .8rem; }
.single-body { display: grid; gap: .5rem; justify-items: start; min-width: 0; }
.single-body h3 { font-size: 1.15rem; }
.singles-row.big .single-card { grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); padding: 1rem; }
.singles-row.big .single-body h3 { font-size: clamp(1.3rem, 2.6vw, 1.8rem); }
.singles-row.big { margin-bottom: 0; }
.release-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 12.5rem), 1fr)); gap: 1.8rem 1.4rem; }
.release h3 { font-size: 1rem; }
.release .cover span { font-size: 1rem; }

/* ---------- gigs: posters side by side under the list ---------- */
.gigs-layout.stacked { grid-template-columns: minmax(0, 1fr); }
.gigs-layout.stacked .poster-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 2.5rem; max-width: 52rem; margin-top: 1.5rem; }
.gigs-layout.stacked .poster-col { max-width: 52rem; }

/* ---------- about: smaller opener photo, bios ---------- */
.polaroid.small { max-width: 17rem; justify-self: center; padding-bottom: .8rem; }
.polaroid figcaption { font-family: var(--f-type); color: var(--ink); text-align: center; font-size: .9rem; padding-top: .5rem; }
.members .look { font-size: .9rem; }
.members .look .label { display: block; color: var(--yellow); }
.relationship { margin-top: 1.6rem; grid-column: 1; font-size: 1rem; }
.members-wrap:has(.photo-live-about) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.members-wrap:has(.photo-live-about) .relationship { grid-column: 1; grid-row: 2; margin-top: 0; }
.members-wrap:has(.photo-live-about) .photo-live-about { grid-column: 2; grid-row: 1 / span 2; align-self: center; }

@media (max-width: 860px) {
  .featured, .featured.compact { grid-template-columns: minmax(0, 1fr); }
  .featured .cover-wrap, .featured > .cover { max-width: 18rem; }
  .members-wrap:has(.photo-live-about) .relationship, .members-wrap:has(.photo-live-about) .photo-live-about { grid-column: 1; grid-row: auto; }
}
@media (max-width: 560px) {
  .tracklist { columns: 1; }
  .singles-row.big .single-card { grid-template-columns: 8rem minmax(0, 1fr); }
  .single-card { grid-template-columns: 6rem minmax(0, 1fr); }
}

/* ---------- about: bio beside photo, who's who across the full width ---------- */
.about-intro { display: grid; grid-template-columns: minmax(0, 40rem) minmax(0, 17rem); justify-content: start; gap: 2rem 3rem; align-items: start; }
.about-intro .polaroid.small { justify-self: start; margin-top: .4rem; }
.members-wrap.full { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
.members-wrap.full .members { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 3rem; }
.members-wrap.full .photo-live-about { grid-column: 1; grid-row: auto; transform: rotate(-.8deg); }
.members-wrap.full .photo-live-about img { aspect-ratio: 21 / 9; object-fit: cover; object-position: 50% 45%; }
@media (max-width: 700px) {
  .about-intro { grid-template-columns: minmax(0, 1fr); }
  .members-wrap.full .members { grid-template-columns: minmax(0, 1fr); }
  .members-wrap.full .photo-live-about img { aspect-ratio: 4 / 3; }
}

/* ---------- press: cuttings stuck to the wall ---------- */
.press-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; align-items: start; margin-top: 1.5rem; }
.press-card { position: relative; background: var(--bone); color: var(--ink); padding: 1.6rem 1.4rem 1.3rem; box-shadow: 6px 6px 0 rgba(0,0,0,.45); }
.press-card.t0 { transform: rotate(-1.2deg); }
.press-card.t1 { transform: rotate(.9deg); margin-top: .8rem; }
.press-card.t2 { transform: rotate(-.5deg); }
.press-card::before { content: ""; position: absolute; top: -.7rem; left: 50%; width: 5.5rem; height: 1.5rem; margin-left: -2.75rem; background: rgba(240,194,43,.85); transform: rotate(-3deg); }
.press-kind { font-family: "Special Elite", monospace; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--red-deep); }
.press-card blockquote { margin: .5rem 0 1rem; }
.press-card blockquote p { font-family: "Archivo", sans-serif; font-weight: 900; font-size: 1.4rem; line-height: 1.15; text-transform: uppercase; margin: 0; }
.press-more { list-style: none; margin: 0 0 1rem; padding: .8rem 0 0; border-top: 2px dashed rgba(15,13,13,.35); }
.press-more li { font-family: "Special Elite", monospace; font-size: .95rem; line-height: 1.4; margin-bottom: .55rem; }
.press-source { margin: 0 0 .8rem; font-size: .9rem; line-height: 1.35; }
.press-source strong { display: block; font-weight: 800; }
.press-source span { display: block; color: #4a4340; }
.press-link { display: inline-block; font-family: "Special Elite", monospace; color: var(--ink); background: var(--yellow); padding: .25rem .6rem; text-decoration: none; font-size: .9rem; }
.press-link:hover, .press-link:focus-visible { background: var(--red); color: var(--bone); }
.press-intro { max-width: 40rem; margin: 0; }
.release-quote { margin: 0 0 1.2rem; padding-left: 1rem; border-left: 4px solid var(--yellow); }
.release-quote p { margin: 0; font-weight: 800; font-size: 1.15rem; }
.release-quote cite { font-family: "Special Elite", monospace; font-style: normal; font-size: .85rem; }
.release-quote cite a { color: var(--yellow); }
@media (max-width: 860px) {
  .press-grid { grid-template-columns: minmax(0, 1fr); gap: 2.2rem; max-width: 30rem; }
  .press-card.t1 { margin-top: 0; }
}

/* ---------- mobile polish ---------- */
.menu-toggle { display: none; }
@media (max-width: 560px) {
  .notice { font-size: .72rem; padding-block: .3rem; }
  .section { padding-block: 2.2rem; }
  .page-head { padding-block: 1.6rem .4rem; }

  /* header: small logo left, menu button right, nav drops down */
  .site-header .wrap { justify-content: space-between; flex-wrap: nowrap; padding-block: .35rem; }
  .site-header .logo img { height: 2.5rem; }
  .js-menu .menu-toggle {
    display: inline-flex; align-items: center; gap: .55rem;
    font-family: var(--f-type); text-transform: uppercase; letter-spacing: .1em; font-size: .95rem;
    background: var(--yellow); color: var(--ink); border: 0; padding: .45rem .8rem; cursor: pointer;
    box-shadow: 3px 3px 0 var(--red);
  }
  .menu-toggle .bars, .menu-toggle .bars::before, .menu-toggle .bars::after { display: block; width: 1.05rem; height: 2px; background: currentColor; position: relative; }
  .menu-toggle .bars::before, .menu-toggle .bars::after { content: ""; position: absolute; left: 0; }
  .menu-toggle .bars::before { top: -5px; }
  .menu-toggle .bars::after { top: 5px; }
  .menu-toggle[aria-expanded="true"] .bars { background: transparent; }
  .menu-toggle[aria-expanded="true"] .bars::before { top: 0; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .bars::after { top: 0; transform: rotate(-45deg); }
  .js-menu .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--bg); border-bottom: 3px solid var(--red); padding: .5rem 1rem 1rem;
    flex-direction: column; align-items: stretch; gap: 0;
  }
  .js-menu .nav.open { display: flex; }
  .js-menu .nav a { font-size: 1.15rem; padding: .8rem .4rem; border-bottom: 1.5px dashed rgba(239,233,226,.25); }
  .js-menu .nav a:last-child { border-bottom: 0; }
  .js-menu .nav a[aria-current="page"] { padding-inline: .6rem; }

  /* gigs: ticket status lines up under the venue */
  .gig { gap: .5rem 1rem; padding-block: .85rem; }
  .gig-actions { grid-column: 2; }
  .gigs-layout.stacked .poster-col { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
  .gigs-layout.stacked .poster-col .poster { box-shadow: 5px 5px 0 var(--red-deep); }

  /* home: merch and press scroll sideways instead of stacking */
  .merch-teaser, .press-grid:not(.full) {
    display: grid; grid-auto-flow: column; grid-template-columns: none; overflow-x: auto;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none;
    margin-inline: -1rem; padding: .3rem 1rem 1rem; scroll-padding-inline: 1rem;
  }
  .merch-teaser::-webkit-scrollbar, .press-grid:not(.full)::-webkit-scrollbar { display: none; }
  .merch-teaser { grid-auto-columns: 42%; gap: .8rem; }
  .press-grid:not(.full) { grid-auto-columns: 80%; gap: 1.2rem; padding-top: 1.2rem; max-width: none; }
  .merch-teaser > *, .press-grid:not(.full) > * { scroll-snap-align: start; }
  .press-grid:not(.full) .press-card { transform: none; margin-top: 0; }
  .press-grid:not(.full) .press-card blockquote p { font-size: 1.2rem; }

  /* Rat Hole TV: still and text side by side */
  .tv-section { grid-template-columns: 7.5rem minmax(0, 1fr); gap: 1rem 1.2rem; align-items: start; }
  .tv-section .tv-tile { max-width: none; }
  .tv-section .prose { gap: .7rem; }
  .tv-section .prose p { font-size: .95rem; }

  /* releases */
  .featured .cover-wrap, .featured > .cover { max-width: 14rem; }
  .featured.compact .album-singles { display: none; }
  .single-card, .singles-row.big .single-card { grid-template-columns: 6.5rem minmax(0, 1fr); gap: .9rem; padding: .7rem; }
  .single-card .links, .single-card .release-links { gap: .4rem; }
  .single-card .btn, .single-card a.chip, .single-card .links a { font-size: .75rem; padding: .3rem .5rem; }
  .release-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem 1rem; }
  .release-grid h3 { font-size: .95rem; }
  .release-grid .links a, .release-grid .btn { font-size: .7rem; padding: .3rem .45rem; }

  /* merch page: two products per row */
  .shop-layout.no-cart .product-grid, .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem .9rem; }
  .product h3 { font-size: .85rem; }

  /* about */
  .about-intro .polaroid.small { max-width: 13rem; justify-self: center; }
  .press-card blockquote p { font-size: 1.25rem; }
}
@media (max-width: 560px) {
  .product a.btn { justify-self: stretch; text-align: center; padding-block: .7rem; }
  .signup input { font-size: 16px; } /* stops iPhones zooming in on the email box */
}
@media (min-width: 561px) and (max-width: 860px) {
  .home-photo { aspect-ratio: 16 / 10; }   /* shorter photo on tablets; the tape stays on it */
}
@media (max-width: 560px) {
  .home-photo .tape { font-size: .95rem; max-width: calc(100% - 1.5rem); }
}
@media (max-width: 560px) {
  /* Rat Hole TV: still beside the heading and blurb, links as one even row underneath */
  .tv-section { grid-template-columns: 7rem minmax(0, 1fr); grid-template-rows: auto auto 1fr auto; gap: .6rem 1.1rem; }
  .tv-section .prose { display: contents; }
  .tv-section .tv-tile { grid-column: 1; grid-row: 1 / 4; align-self: start; }
  .tv-section .prose > .label { grid-column: 2; grid-row: 1; }
  .tv-section .prose > h2 { grid-column: 2; grid-row: 2; margin: 0; }
  .tv-section .prose > p { grid-column: 2; grid-row: 3; margin: 0; }
  .tv-section .links { grid-column: 1 / -1; grid-row: 4; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; margin-top: .6rem; }
  .tv-section .links a { text-align: center; padding: .65rem .3rem; font-size: .8rem; margin: 0; }

  /* gigs page: one slim row per show, ticket status on the right */
  .gig-list:not(.compact) .gig { grid-template-columns: 3.2rem minmax(0, 1fr) auto; gap: .2rem .9rem; padding-block: .75rem; align-items: center; }
  .gig-list:not(.compact) .gig-actions { grid-column: 3; justify-content: end; }
  .gig-list:not(.compact) .gig-date .d { font-size: 1.5rem; }
  .gig-list:not(.compact) .gig-date .m { font-size: .72rem; margin-top: .1rem; }
  .gig-list:not(.compact) .gig-date .y { font-size: .65rem; margin-top: .1rem; }
  .gig-list:not(.compact) .gig-info { gap: .1rem; }
  .gig-list:not(.compact) .gig-city { font-size: 1.05rem; }
  .gig-list:not(.compact) .gig-venue { font-size: .85rem; }
  .gig-list:not(.compact) .gig-meta { font-size: .75rem; line-height: 1.35; }
  .gig-list:not(.compact) .status { font-size: .68rem; padding: .15rem .4rem; white-space: nowrap; }
  .gig-list:not(.compact) .btn { font-size: .75rem; padding: .4rem .65rem; }
}
@media (max-width: 560px) { .tv-section .tv-label .tape { font-size: .62rem; white-space: nowrap; padding: .2rem .4rem; } }
/* bolder small-format logo can sit a touch larger */
.site-header .logo img { height: 3.6rem; }
@media (max-width: 560px) { .site-header .logo img { height: 2.9rem; } }

/* ---------- about: easter eggs on the stairs photo (desktop hover only) ---------- */
@media (min-width: 701px) {
  .about-intro { grid-template-columns: minmax(0, 40rem) minmax(0, 22rem); }
  .about-intro .polaroid.small { max-width: 22rem; }
}
.egg-wrap { position: relative; }
.egg { display: none; }
@media (hover: hover) and (pointer: fine) and (min-width: 861px) {
  .egg { display: block; position: absolute; top: 0; bottom: 0; width: 50%; cursor: help; }
  .egg-left { left: 0; }
  .egg-right { right: 0; }
  .egg-quote {
    position: absolute; bottom: calc(100% - 2.5rem); width: 17rem; margin: 0; z-index: 5;
    background: var(--yellow); color: var(--ink); padding: .9rem 1rem; box-shadow: 5px 5px 0 var(--ink);
    font-family: var(--f-type); font-size: .9rem; line-height: 1.4; text-align: left;
    opacity: 0; visibility: hidden; transform: translateY(6px) rotate(-1.5deg); transition: opacity .15s, transform .15s, visibility .15s;
    pointer-events: none;
  }
  .egg-left .egg-quote { left: -3rem; }
  .egg-right .egg-quote { right: -3rem; transform: translateY(6px) rotate(1.5deg); }
  .egg-quote cite { display: block; margin-top: .5rem; font-style: normal; font-weight: 700; font-family: var(--f-body); text-transform: uppercase; letter-spacing: .06em; font-size: .75rem; color: var(--red-deep); }
  .egg-quote::after { content: ""; position: absolute; top: 100%; border: 10px solid transparent; border-top-color: var(--yellow); }
  .egg-left .egg-quote::after { left: 4.5rem; }
  .egg-right .egg-quote::after { right: 4.5rem; }
  .egg:hover .egg-quote { opacity: 1; visibility: visible; transform: translateY(0) rotate(-1.5deg); }
  .egg-right:hover .egg-quote { transform: translateY(0) rotate(1.5deg); }
}
/* mailing list thank-you */
.mum-quote { display: block; font-size: 1.05rem; margin-bottom: .4rem; }
.mum-quote cite { font-style: normal; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .8rem; opacity: .85; }
.form-note { display: block; font-size: .8rem; opacity: .75; }
/* desktop: polaroid sits beside the bio with the photo's bottom level with the last line of text */
@media (min-width: 861px) {
  .about-intro { position: relative; }
  .about-intro .polaroid.small.has-eggs { position: absolute; left: calc(min(40rem, 100% - 25rem) + 3rem); bottom: -2.6rem; width: 22rem; margin: 0; }
}

/* ---------- review fixes ---------- */
.home-top + .section { padding-top: 2rem; }          /* closes the empty band under the hero */
@media (max-width: 560px) {
  .home-top + .section { padding-top: .6rem; }
  .home-top .home-grid { padding-bottom: 1rem; }
  .tv-section .tv-label .tape { font-size: .7rem; }   /* "Rat Hole TV" tape was under 10px */
  /* more singles: buttons stacked the same way on every card */
  .release-grid .links { display: grid; gap: .4rem; justify-self: stretch; }
  .release-grid .links a { text-align: center; margin: 0; }
}
@media (min-width: 561px) and (max-width: 860px) {
  .singles-row.big { grid-template-columns: minmax(0, 1fr); }   /* one card per row so the text isn't squeezed beside the cover */
  .singles-row.big .single-card { grid-template-columns: 10rem minmax(0, 1fr); }
  .press-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; gap: 2rem 1.6rem; }
}

/* ---------- homepage: Rat Hole TV as a slim broadcast strip ---------- */
.tv-section { grid-template-columns: 10rem minmax(0, 1fr) auto; gap: 1rem 2rem; align-items: center;
  border: 2px solid var(--red); background: rgba(211,38,43,.08); padding: 1rem 1.4rem 1rem 1rem; }
.tv-section .tv-tile { border: 2px solid var(--bone); max-width: none; }
.tv-section .tv-tile img { aspect-ratio: 1 / 1; object-position: 50% 50%; }
.tv-play { position: absolute; right: .4rem; bottom: .4rem; width: 2.6rem; height: 2.6rem; border-radius: 50%;
  background: var(--red); box-shadow: 3px 3px 0 var(--ink); transition: transform .15s; }
.tv-play::after { content: ""; position: absolute; left: 1rem; top: .7rem; border-style: solid; border-width: .6rem 0 .6rem .95rem; border-color: transparent transparent transparent var(--bone); }
.tv-tile:hover .tv-play { transform: scale(1.1); }
.tv-section .prose { display: contents; }
.tv-section .prose > .label, .tv-section .prose > h2, .tv-section .prose > p { grid-column: 2; margin: 0; }
.tv-section .prose > .label { grid-row: 1; align-self: end; }
.tv-section .prose > h2 { grid-row: 2; }
.tv-section .prose > p { grid-row: 3; align-self: start; max-width: 34rem; }
.tv-section .tv-tile { grid-column: 1; grid-row: 1 / 4; }
.tv-section { grid-template-columns: 10rem minmax(0, 1fr); grid-template-rows: auto auto auto auto; gap: .55rem 2rem; }
.tv-section .tv-tile { grid-row: 1 / 5; align-self: center; }
.tv-section .links { grid-column: 2; grid-row: 4; display: flex; gap: .5rem; margin-top: .3rem; }
.tv-section .links a { text-align: center; margin: 0; }
@media (max-width: 860px) {
  .tv-section { grid-template-columns: 8rem minmax(0, 1fr); }
  .tv-section .links { grid-column: 1 / -1; grid-row: 4; grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .tv-section { grid-template-columns: 6.5rem minmax(0, 1fr); grid-template-rows: none; gap: .5rem 1rem; padding: .8rem; }
  .tv-section .tv-tile { grid-row: 1 / 4; align-self: start; }
  .tv-section .prose > p { font-size: .9rem; }
  .tv-section .prose > h2 { font-size: 1.45rem; }
  .tv-play { width: 1.8rem; height: 1.8rem; right: .25rem; bottom: .25rem; }
  .tv-play::after { left: .7rem; top: .5rem; border-width: .4rem 0 .4rem .62rem; }
}

@media (max-width: 860px) {
  .tv-section .tv-tile { grid-row: 1 / 4; align-self: start; }
  .tv-section .links { grid-column: 1 / -1; grid-row: 4; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: .4rem; }
}
@media (max-width: 560px) {
  .tv-section .links a { padding: .45rem .3rem; font-size: .78rem; }
  .home-photo .tape { font-size: clamp(.6rem, 3.1vw, .95rem); white-space: nowrap; max-width: none; padding: .25rem .5rem; }
  .home-photo figcaption { left: .6rem; bottom: .6rem; }
}

/* ---------- footer joke line and 404 page ---------- */
.site-footer .footer-tag { flex-basis: 100%; order: 3; margin: 0; max-width: none; font-family: var(--f-type); color: var(--bone); font-size: .9rem; }
.site-footer small { order: 4; flex-basis: 100%; }
.notfound { padding-block: 3rem 5rem; display: grid; gap: 1.2rem; justify-items: start; }
.notfound p { max-width: 36rem; font-size: 1.15rem; }
.notfound .notfound-links { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: .6rem; }
/* hero tape sits across the top of the photo */
.home-photo figcaption { top: 1rem; bottom: auto; }
@media (max-width: 560px) { .home-photo figcaption { top: .6rem; bottom: auto; } }
/* homepage: album in the gigs spot when no gigs are coming up */
.home-album .featured.compact { grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); gap: 1.4rem; align-items: start; padding-top: 1rem; border-top: 3px solid var(--red); }
.home-album .featured-body { gap: .7rem; }
.home-album .featured-body > p { font-size: .95rem; }
@media (max-width: 560px) { .home-album .featured.compact { grid-template-columns: 7.5rem minmax(0, 1fr); gap: 1rem; } .home-album .featured-body > p { display: none; } }
@media (max-width: 560px) { .home-album .release-quote p { font-size: 1rem; } .home-album .links a { font-size: .72rem; padding: .3rem .5rem; } }

/* Rat Hole TV: content spread across the whole box */
@media (min-width: 861px) {
  .tv-section { grid-template-columns: 13rem minmax(0, 1fr); gap: .7rem 2.4rem; padding: 1.2rem 1.6rem 1.2rem 1.2rem; }
  .tv-section .prose > p { max-width: none; font-size: 1.05rem; text-wrap: pretty; }
  .tv-section .links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; margin-top: .5rem; }
  .tv-section .links a { padding-block: .6rem; }
}
/* hero tape: midway between the top of the photo and Smackpot's head */
.home-photo figcaption { top: 3rem; }
@media (min-width: 561px) and (max-width: 860px) { .home-photo figcaption { top: 1.2rem; } }
@media (max-width: 560px) { .home-photo figcaption { top: .45rem; } }
@media (max-width: 860px) { .home-photo img { object-position: 50% 8%; } }  /* leaves headroom above Smackpot for the tape */
/* when the page ends on a red section, its bottom rip tears straight into the footer */
main:has(> .torn:last-child) + .site-footer { margin-top: -32px; padding-top: calc(var(--rip-gap) + 19px); border-top: 0; }

/* spacing around the ripped sections: the rip sits about 13px into each 32px edge,
   so the gap from the tear to the text is the same inside and outside the red */
:root { --rip-gap: clamp(2.6rem, 5vw, 4rem); }
.torn { padding-block: calc(var(--rip-gap) - 19px); }
main > :not(.torn):has(+ .torn) { padding-bottom: calc(var(--rip-gap) + 19px); }
.torn + .section:not(.torn) { padding-top: calc(var(--rip-gap) - 13px); }
.band .form-msg:empty { margin: 0; }
/* the about polaroid hangs 2.6rem below the bio on desktop: keep it clear of the rip */
@media (min-width: 861px) { main > .section:has(> .about-intro) { padding-bottom: calc(var(--rip-gap) + 19px + 2.6rem); } }
/* names and small headings (gig cities, release titles, merch names) use the clean heavy font;
   the rough lettering stays on the ransom-note headings, buttons, prices and dates */
:root { --f-clean: "Archivo", "Arial Black", "Helvetica Neue", Arial, sans-serif; }
h3, .gig-city, .teaser-name, .members strong { font-family: var(--f-clean); font-weight: 900; letter-spacing: .01em; }
