/* The Street Deacons: a record sleeve you scroll. Warm black, cream paper, oxblood label, brass gold. */
@font-face { font-family: "Anton"; src: url("fonts/anton-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Serif Display"; src: url("fonts/dm-serif-display-latin-400-italic.woff2") format("woff2"); font-style: italic; font-weight: 400; font-display: swap; }
@font-face { font-family: "Karla"; src: url("fonts/karla-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Karla"; src: url("fonts/karla-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
/* Closest free match to the lettering in the band's logo, used only when redrawing the logo. */
@font-face { font-family: "Jost"; src: url("fonts/jost-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-display: swap; }

:root {
  --bg: #120e0b;
  --bg-2: #1b1511;
  --ink: #efe4cf;
  --muted: #b9aa91;
  --gold: #d0a955;
  --red: #b8361f;
  --label: #8a2318;
  --line: rgba(239, 228, 207, .14);
  --head: "Anton", Impact, "Arial Narrow", sans-serif;
  --serif: "DM Serif Display", Georgia, serif;
  --body: "Karla", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 5.5vw, 88px);
  --col: min(46vw, 640px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 18px/1.6 var(--body); overflow-x: clip; }
body::before { /* paper grain, very faint */
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .5;
  background: radial-gradient(120% 80% at 80% 40%, rgba(184, 54, 31, .10), transparent 60%), radial-gradient(90% 70% at 0% 100%, rgba(208, 169, 85, .06), transparent 60%);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--head); font-weight: 400; line-height: .95; letter-spacing: .01em; text-transform: uppercase; margin: 0 0 .4em; }
h2 { font-size: clamp(2.6rem, 5.6vw, 5rem); }
h2 em, h1 em { font-family: var(--serif); font-style: italic; text-transform: none; color: var(--gold); letter-spacing: 0; }
h3 { font-size: clamp(1.8rem, 2.6vw, 2.4rem); }
p { margin: 0 0 1em; }
.eyebrow { font-weight: 700; font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }

.skip { position: absolute; left: 8px; top: -60px; padding: 10px 14px; background: var(--ink); color: var(--bg); z-index: 100; }
.skip:focus { top: 8px; }

/* Header: the tracklist */
.site-head { position: fixed; inset: 0 0 auto 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 76px; padding: 0 var(--gutter); transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.site-head.scrolled { background: rgba(18, 14, 11, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-color: var(--line); }
.logo { min-height: 44px; align-content: center; font-family: var(--head); text-transform: uppercase; text-decoration: none; font-size: 1.35rem; line-height: .9; letter-spacing: .03em; display: grid; }
.logo span:last-child { color: var(--gold); }
.tracklist { display: flex; gap: clamp(14px, 2.4vw, 34px); }
.tracklist a { text-decoration: none; font-weight: 700; font-size: .92rem; padding: 12px 0; min-height: 44px; display: inline-flex; align-items: center; gap: 7px; }
.tracklist a b { font-size: .7rem; color: var(--gold); letter-spacing: .1em; }
.tracklist a:hover, .tracklist a.on { color: var(--gold); }
.tracklist .book-link { border: 1px solid var(--gold); border-radius: 999px; padding: 10px 18px; }

/* The deck: one fixed canvas for the record, sleeve and tonearm */
.deck { position: fixed; inset: 0; z-index: 35; pointer-events: none; }
.deck canvas { width: 100%; height: 100%; display: block; }
.no-deck .deck, .no-deck .spin-toggle { display: none; }
.spin-toggle { position: fixed; z-index: 36; right: var(--gutter); bottom: 22px; min-height: 44px; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: rgba(18, 14, 11, .7); color: var(--muted); font: 700 .8rem/1 var(--body); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; opacity: 0; transition: opacity .4s, color .2s; }
.spin-toggle.show { opacity: 1; }
.spin-toggle:hover { color: var(--ink); }
.st-icon { width: 10px; height: 10px; background: currentColor; }
.spin-toggle[aria-pressed="true"] .st-icon { width: 0; height: 0; background: none; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }

main { position: relative; z-index: 1; }

/* Hero: the sleeve */
.hero { position: relative; min-height: 100svh; padding: 130px var(--gutter) 80px; display: flex; align-items: center; }
.hero-copy { width: var(--col); position: relative; z-index: 2; }
.hero h1 { font-size: clamp(4rem, 10vw, 9.4rem); line-height: .86; margin-bottom: 26px; }
.hero h1 span { display: block; }
.hero h1 em { font-size: .62em; display: inline-block; margin: -.05em 0; }
.hero h1 .h1-c { font-family: var(--body); font-weight: 700; text-transform: uppercase; letter-spacing: .3em; font-size: clamp(.8rem, 1.2vw, 1rem); color: var(--muted); margin-top: 18px; line-height: 1.3; }
.lede { font-size: 1.12rem; color: var(--muted); max-width: 52ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 1px solid var(--red); background: var(--red); color: #fff7ea; font: 700 .95rem/1 var(--body); letter-spacing: .04em; text-decoration: none; cursor: pointer; transition: transform .2s, background .2s; }
.btn:hover { transform: translateY(-2px); background: #cf4026; }
.btn.ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn.ghost:hover { border-color: var(--gold); color: var(--gold); }
.needle-hint { margin-top: 44px; font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }

/* The sleeve is a layout box. With the deck running, the canvas paints it; without, the picture shows. */
.sleeve { position: absolute; right: calc(var(--gutter) + min(8vw, 120px)); top: 50%; width: min(36vw, 62vh); aspect-ratio: 1; transform: translateY(-46%); box-shadow: 0 40px 80px rgba(0, 0, 0, .55); }
.sleeve img { width: 100%; height: 100%; object-fit: cover; }
.sleeve-title { position: absolute; left: 6%; bottom: 13%; font: 400 clamp(1.6rem, 3.8vw, 3.6rem)/.88 var(--head); text-transform: uppercase; color: var(--ink); text-shadow: 0 2px 20px rgba(0, 0, 0, .6); }
.sleeve-cat { position: absolute; left: 6%; bottom: 6%; font: 700 .72rem/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.has-deck .sleeve { visibility: hidden; }

/* Chapters share the left column; the turntable keeps the right. */
.chapter { padding: clamp(90px, 14vh, 160px) var(--gutter); scroll-margin-top: 60px; }
.chapter > * { width: var(--col); }
.copy p { color: var(--muted); max-width: 54ch; }
.pull { font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.15; color: var(--ink) !important; margin-top: 28px; }
figure { margin: 34px 0 0; }
figure img, .member img, .strip img, .video img { border-radius: 4px; }
figcaption { margin-top: 10px; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

.members { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 70px; }
.member img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 22px; }
.member p { color: var(--muted); }
.trk { font-weight: 700; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold) !important; margin-bottom: 8px; }

.video { position: relative; display: block; margin-top: 30px; text-decoration: none; }
.video img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; filter: saturate(.9); }
.play { position: absolute; left: 50%; top: 42%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: var(--red); box-shadow: 0 10px 40px rgba(0, 0, 0, .5); transition: transform .2s; }
.play::after { content: ""; position: absolute; left: 34px; top: 26px; border-left: 22px solid #fff7ea; border-top: 16px solid transparent; border-bottom: 16px solid transparent; }
.video:hover .play { transform: scale(1.07); }
.video-meta { display: block; margin-top: 12px; color: var(--muted); font-size: .95rem; }
.video-meta b { color: var(--ink); margin-right: 8px; }
.strip { display: grid; grid-template-columns: 1fr 1.5fr; gap: 12px; margin-top: 40px; }
.strip img { width: 100%; height: 100%; object-fit: cover; }
.strip img:nth-child(1) { grid-row: span 2; }
.strip img:nth-child(4) { display: none; }

/* Shows: a tracklist */
.residency { margin: 26px 0 10px; padding: 18px 20px; border: 1px solid rgba(208, 169, 85, .45); border-radius: 6px; background: rgba(208, 169, 85, .06); }
.residency b { color: var(--gold); }
.residency p { margin: 0; color: var(--muted); }
.show-list { list-style: none; padding: 0; margin: 18px 0 0; border-top: 1px solid var(--line); }
.show { display: grid; grid-template-columns: 3.4rem 1fr auto; gap: 4px 18px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); }
.show .no { font: 700 .74rem/1 var(--body); letter-spacing: .14em; color: var(--gold); }
.show .when { font-family: var(--head); text-transform: uppercase; font-size: 1.45rem; letter-spacing: .02em; line-height: 1.05; }
.show .when small { display: block; font-family: var(--body); font-size: .85rem; letter-spacing: 0; text-transform: none; color: var(--muted); margin-top: 4px; }
.show .where { grid-column: 2; color: var(--muted); font-size: .98rem; }
.show .map { grid-row: 1 / span 2; grid-column: 3; align-self: center; display: inline-flex; align-items: center; min-height: 44px; font-size: .85rem; font-weight: 700; color: var(--gold); text-decoration: none; }
.show .map:hover { text-decoration: underline; }
.show-empty { padding: 18px 0; color: var(--muted); }
.cal-link { margin-top: 22px; }
.cal-link a, .mail a { display: inline-flex; align-items: center; min-height: 44px; color: var(--gold); font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.mail { font-size: 1.2rem; }

/* Booking */
.book-form { display: grid; gap: 14px; margin-top: 30px; }
.book-form label { display: grid; gap: 6px; font-weight: 700; font-size: .9rem; }
.book-form input, .book-form textarea { font: inherit; font-weight: 400; color: var(--ink); background: var(--bg-2); border: 1px solid var(--line); border-radius: 4px; padding: 12px 14px; min-height: 48px; width: 100%; color-scheme: dark; }
.book-form input:focus, .book-form textarea:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(208, 169, 85, .3); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.book-form .btn { justify-self: start; }
.form-note { font-size: .88rem; color: var(--muted); margin: 0; }

.site-foot { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 40px; padding: 50px var(--gutter) 90px; border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem; }
.site-foot p { margin: 0; }
.foot-name { font-family: var(--head); text-transform: uppercase; font-size: 1.5rem; color: var(--ink); }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.site-foot nav a { min-height: 44px; display: inline-flex; align-items: center; }
.site-foot .concept { width: 100%; font-size: .8rem; opacity: .7; }

/* Phones: the sleeve sits on top, the record shrinks into the header and keeps spinning there. */
@media (max-width: 760px) {
  :root { --col: 100%; }
  body { font-size: 17px; }
  .site-head { height: 64px; padding-right: 72px; }
  .logo { font-size: 1.15rem; }
  .tracklist a:not(.book-link) { display: none; }
  .tracklist .book-link { padding: 8px 14px; }
  .tracklist .book-link b { display: none; }
  .hero { flex-direction: column; align-items: stretch; padding-top: 92px; min-height: auto; }
  .sleeve { position: relative; right: auto; top: auto; transform: none; width: 64vw; margin: 0 0 44px; }
  .hero h1 { font-size: clamp(3.6rem, 19vw, 5.4rem); }
  .chapter { padding-top: 80px; padding-bottom: 80px; }
  .two { grid-template-columns: 1fr; }
  .show { grid-template-columns: 2.6rem 1fr; }
  .show .map { grid-row: auto; grid-column: 2; }
  .spin-toggle { bottom: 14px; width: 44px; padding: 0; justify-content: center; }
  .spin-toggle .st-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .play { transition: none; }
}

/* The logo badge (fallback when the canvas isn't running) */
.badge { box-shadow: none; border-radius: 50%; overflow: hidden; }
.badge img { border-radius: 50%; }

/* Tap a Deac on the stage photo */
.stage-photo { position: relative; }
.spot { position: absolute; left: var(--x); top: var(--y); width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; display: grid; place-items: center; text-decoration: none; }
.spot::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 6px rgba(208, 169, 85, .28); animation: spot-pulse 2.4s ease-in-out infinite; }
.spot span { position: absolute; bottom: calc(100% + 4px); left: 50%; transform: translateX(-50%); white-space: nowrap; font: 700 .72rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); background: rgba(18, 14, 11, .88); padding: 7px 9px; border-radius: 4px; opacity: 0; transition: opacity .2s; pointer-events: none; }
.spot:hover span, .spot:focus-visible span { opacity: 1; }
.spot:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
@media (hover: none) { .spot span { opacity: 1; } }
@keyframes spot-pulse { 50% { box-shadow: 0 0 0 11px rgba(208, 169, 85, .08); } }
@media (prefers-reduced-motion: reduce) { .spot::before { animation: none; } }
.member { scroll-margin-top: 90px; }
.member:target h3 { color: var(--gold); }
.spot span i { font-style: normal; }
@media (max-width: 760px) { .spot span i { display: none; } }
