/* Raw Underground: industrial warehouse. Black and concrete grey, off-white type,
   one accent (signal orange) used sparingly. Hard edges, thin rules, condensed type. */
:root {
  color-scheme: dark;
  --bg: #0A0A0A;
  --bg-2: #111111;
  --bg-3: #171717;
  --rule: #2A2A2A;
  --rule-2: #3A3A3A;
  --ink: #EDEBE6;
  --text: #CFCCC6;
  --muted: #9A9893;
  --dim: #6E6C67;
  --accent: #FF5A1F;
  --accent-hi: #FF7540;
  --on-accent: #0A0A0A;
  --error: #FF6B5E;
  --gut: 16px;
  --max: 1360px;
  --bar-h: 56px;
  --panel-w: 400px;
  --peek: 120px;
  --display: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
  --stencil: 'Big Shoulders Stencil Display', 'Big Shoulders Display', 'Arial Narrow', sans-serif;
  --cond: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --sans: 'Barlow', system-ui, sans-serif;
  /* concrete grain: a tiny fractal-noise tile, white at very low alpha */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.075 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --grain-strong: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.16 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (min-width: 768px) { :root { --gut: 32px; --bar-h: 64px; } }

* { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--bar-h) + 8px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; min-height: 100vh; overflow-x: hidden;
  background: var(--bg) var(--grain) repeat; color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased;
}
body.lb-open { overflow: hidden; }
button { font: inherit; color: inherit; background: none; border: 0; border-radius: 0; cursor: pointer; padding: 0; }
a { color: inherit; }
img { max-width: 100%; }
h1, h2, h3, p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
[tabindex="-1"]:focus:not(:focus-visible) { outline: none; }
.skip {
  position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 12px 16px;
  background: var(--accent); color: var(--on-accent); font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; text-decoration: none;
}
.skip:focus { left: 16px; }
.noscript { padding: 24px var(--gut); color: var(--muted); }

/* small uppercase label, used all over */
.label { display: block; font-family: var(--cond); font-weight: 600; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }

/* buttons */
.btn, .more, .clear {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px;
  font-family: var(--cond); font-weight: 700; font-size: 17px; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none;
  background: var(--ink); color: var(--on-accent); border: 1px solid var(--ink);
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.btn:hover { background: var(--accent); border-color: var(--accent); }
.btn:disabled { opacity: 0.6; cursor: progress; }
.btn.ghost, .more, .clear { background: transparent; color: var(--ink); border-color: var(--rule-2); }
.btn.ghost:hover, .more:hover, .clear:hover { border-color: var(--accent); color: var(--accent); background: transparent; }

/* ---------- page: shifts left when the details panel is open on laptop ---------- */
.page { container: page / inline-size; transition: margin-right 0.3s ease; }
@media (min-width: 768px) { body[data-panel="open"] .page { margin-right: var(--panel-w); } }
@media (max-width: 767px) { body[data-panel="peek"] .page { padding-bottom: var(--peek); } }

/* ---------- top bar ---------- */
.bar {
  position: sticky; top: 0; z-index: 20; height: var(--bar-h);
  display: flex; align-items: center; gap: 12px;
  padding: 0 max(var(--gut), calc((100% - var(--max)) / 2 + var(--gut)));
  background: rgba(10, 10, 10, 0.94); border-bottom: 1px solid var(--rule);
}
.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; flex: none; text-decoration: none; }
.brand img { width: 32px; height: 32px; display: block; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 21px; letter-spacing: 0.05em; text-transform: uppercase; white-space: nowrap; }
.nav { margin-left: auto; display: flex; }
.nav a {
  display: flex; align-items: center; height: 44px; padding: 0 10px; text-decoration: none;
  font-family: var(--cond); font-weight: 600; font-size: 15px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text);
}
.nav a:hover { color: var(--accent); }
@media (min-width: 768px) { .nav { gap: 8px; } .nav a { padding: 0 14px; font-size: 16px; } .nav a:last-child { padding-right: 0; } }
@media (max-width: 419px) { .brand-name { display: none; } .nav a { padding: 0 9px; } .nav a:last-child { padding-right: 0; } }

/* ---------- hero ---------- */
.hero { position: relative; display: grid; max-width: var(--max); margin: 0 auto; }
.hero-photo { position: relative; overflow: hidden; background: var(--bg-2); aspect-ratio: 4 / 5; }
.hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 60% 60%; filter: grayscale(1) contrast(1.06); }
.hero-photo::after { content: ''; position: absolute; inset: auto 0 0 0; height: 38%; background: linear-gradient(to bottom, rgba(10, 10, 10, 0), rgba(10, 10, 10, 0.92)); pointer-events: none; }
.hero-text { position: relative; z-index: 1; margin-top: -84px; padding: 0 var(--gut) 40px; }
.hero-kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-family: var(--cond); font-weight: 600; font-size: 14px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink); }
.hero-kicker .dot { width: 10px; height: 10px; background: var(--accent); flex: none; }
.hero-title {
  font-family: var(--stencil); font-weight: 800; text-transform: uppercase; letter-spacing: 0.005em;
  font-size: min(17cqi, 120px); line-height: 0.84; color: var(--ink);
}
.hero-sub { margin-top: 16px; font-size: 17px; line-height: 1.45; color: var(--text); max-width: 30ch; }
.hero-cta { margin-top: 24px; }
.hero-cta { display: inline-flex; align-items: center; min-height: 52px; padding: 0 28px; background: var(--ink); color: var(--on-accent); border: 1px solid var(--ink); text-decoration: none; font-family: var(--cond); font-weight: 700; font-size: 17px; letter-spacing: 0.14em; text-transform: uppercase; transition: background-color 0.15s, border-color 0.15s; }
.hero-cta:hover { background: var(--accent); border-color: var(--accent); }
.hero-cta::after { content: ''; width: 9px; height: 9px; margin-left: 12px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }

@container page (min-width: 760px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: end; gap: 0 40px; padding: 40px var(--gut) 56px; }
  .hero-photo { grid-column: 2; grid-row: 1; aspect-ratio: auto; height: min(80vh, 760px); }
  .hero-photo::after { display: none; }
  .hero-text { grid-column: 1; grid-row: 1; margin: 0; padding: 0 0 8px; border-top: 1px solid var(--rule); padding-top: 24px; }
  .hero-title { font-size: min(7.8cqi, 132px); }
  .hero-sub { font-size: 19px; margin-top: 22px; }
}

/* the one hazard stripe */
.hazard { height: 10px; background: repeating-linear-gradient(-45deg, var(--accent) 0 12px, var(--bg) 12px 24px); opacity: 0.9; }

/* ---------- sections ---------- */
.sec { max-width: var(--max); margin: 0 auto; padding: 48px var(--gut) 72px; }
.sec + .sec { border-top: 1px solid var(--rule); }
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; padding-bottom: 14px; margin-bottom: 24px; border-bottom: 1px solid var(--rule); }
.sec-h { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(48px, 9cqi, 104px); line-height: 0.88; letter-spacing: 0.01em; }
.sec-no { color: var(--accent); }
.sec-sl { color: var(--dim); font-weight: 700; margin: 0 0.12em; }
.sec-note { font-family: var(--cond); font-weight: 600; font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 768px) { .sec { padding-top: 72px; padding-bottom: 96px; } .sec-head { margin-bottom: 32px; } }

/* ---------- 01 / music ---------- */
.filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  height: 44px; padding: 0 16px; border: 1px solid var(--rule-2); color: var(--text);
  font-family: var(--cond); font-weight: 600; font-size: 15px; letter-spacing: 0.12em; text-transform: uppercase;
  transition: border-color 0.15s, color 0.15s, background-color 0.15s;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.search { position: relative; flex: 1 1 280px; max-width: 380px; }
.search svg { position: absolute; left: 14px; top: 50%; width: 17px; height: 17px; margin-top: -8.5px; color: var(--muted); pointer-events: none; }
.search input {
  width: 100%; height: 44px; padding: 0 12px 0 42px; border: 1px solid var(--rule-2); border-radius: 0; background: var(--bg-2);
  color: var(--ink); font: inherit; font-size: 16px; -webkit-appearance: none; appearance: none;
}
.search input::placeholder { color: var(--dim); }
.search input:focus-visible { outline: 2px solid var(--accent); outline-offset: -1px; border-color: var(--accent); }
@media (max-width: 767px) { .chip { padding: 0 12px; font-size: 14px; } .search { flex-basis: 100%; max-width: none; } }
.count { margin: 18px 0 14px; font-family: var(--cond); font-weight: 600; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); }

.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
@container page (min-width: 700px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 20px; } }
@container page (min-width: 1100px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; } }
.card { position: relative; display: block; text-decoration: none; color: inherit; }
.card:focus-visible { outline-offset: 4px; }
.art { container-type: inline-size; position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--bg-3); box-shadow: 0 0 0 1px var(--rule); transition: box-shadow 0.15s; }
.art img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* YouTube stills are 4:3 with black bars around a 16:9 picture: zoom past the bars */
.art img.yt, .p-cover img.yt { transform: scale(1.34); }
.card:hover .art { box-shadow: 0 0 0 1px var(--rule), 0 4px 0 var(--accent); }
.card:hover .c-t { color: var(--accent); }
.new {
  position: absolute; top: 0; left: 0; padding: 4px 8px 3px; background: var(--accent); color: var(--on-accent);
  font-family: var(--cond); font-weight: 700; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; line-height: 1.3;
}
.c-text { display: flex; flex-direction: column; gap: 2px; padding-top: 12px; }
.c-t {
  font-family: var(--cond); font-weight: 700; font-size: 18px; line-height: 1.12; color: var(--ink); transition: color 0.15s;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.c-a { font-size: 14px; line-height: 1.35; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-meta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 10px; margin-top: 6px;
  font-family: var(--cond); font-weight: 600; font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); font-variant-numeric: tabular-nums;
}
.c-cat { padding: 1px 5px 0; border: 1px solid var(--rule-2); color: var(--muted); letter-spacing: 0.08em; }
@media (max-width: 767px) { .c-t { font-size: 16.5px; } .c-a { font-size: 13.5px; } .c-meta { font-size: 11.5px; letter-spacing: 0.1em; } }

/* dark concrete tile for items without artwork */
.tile {
  display: flex; flex-direction: column; width: 100%; height: 100%; padding: 8cqi;
  background: var(--grain-strong), linear-gradient(160deg, #1D1D1D, #121212 70%); color: var(--ink);
}
.tile { position: relative; overflow: hidden; }
.tile-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 60%; filter: grayscale(1) contrast(1.1); opacity: 0.6; }
.tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.2), rgba(0,0,0,0.75) 85%); }
.tile > span { position: relative; z-index: 1; }
.tile > .tile-mark { position: absolute; color: rgba(255,255,255,0.35); }
.tile-label { display: flex; align-items: center; gap: 8px; font-family: var(--cond); font-weight: 700; font-size: max(11px, 6cqi); letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.tile-label::before { content: ''; width: 0.7em; height: 0.7em; background: var(--accent); flex: none; }
.tile-t {
  margin-top: auto; font-family: var(--display); font-weight: 800; font-size: 11cqi; line-height: 0.95; text-transform: uppercase; letter-spacing: 0.01em;
  display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere;
}
.tile-mark { position: absolute; top: 6cqi; right: 7cqi; font-family: var(--display); font-weight: 900; font-size: 8cqi; color: #343434; letter-spacing: 0.04em; }

.empty { padding: 48px 0 16px; text-align: center; }
.empty p { font-family: var(--display); font-weight: 800; font-size: 34px; text-transform: uppercase; margin-bottom: 16px; }
.more-wrap { display: flex; justify-content: center; margin-top: 48px; }
.more { min-width: 260px; }
.more[hidden] { display: none; }

/* ---------- 02 / about ---------- */
.about-grid { display: grid; gap: 36px; }
@container page (min-width: 900px) { .about-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; } }
.about-lead { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 4cqi, 44px); line-height: 0.98; text-transform: uppercase; margin-bottom: 20px; }
.about-p { font-size: 17px; line-height: 1.65; color: var(--text); max-width: 62ch; margin-bottom: 16px; }
.about-text .label { margin: 32px 0 12px; }
.about-text .btn { margin-top: 32px; }
.plat-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.plat-links a {
  display: inline-flex; align-items: center; height: 44px; padding: 0 14px; border: 1px solid var(--rule-2); text-decoration: none;
  font-family: var(--cond); font-weight: 600; font-size: 15px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text);
  transition: border-color 0.15s, color 0.15s;
}
.plat-links a:hover { border-color: var(--accent); color: var(--accent); }
.about-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ph-main, .ph-thumb { display: block; width: 100%; overflow: hidden; background: var(--bg-3); cursor: zoom-in; }
.ph-main { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
.ph-thumb { aspect-ratio: 1; }
.about-photos img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter 0.3s; }
.ph-main:hover img, .ph-thumb:hover img, .ph-main:focus-visible img, .ph-thumb:focus-visible img { filter: none; }

/* ---------- 03 / booking ---------- */
.booking-grid { display: grid; gap: 32px; }
@container page (min-width: 900px) { .booking-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; } }
.booking-lead { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 4cqi, 44px); line-height: 0.98; text-transform: uppercase; }
.booking-mail { margin-top: 28px; }
.booking-mail .label { margin-bottom: 6px; }
.booking-mail a { display: inline-flex; align-items: center; min-height: 44px; font-size: 18px; text-decoration-color: var(--accent); text-underline-offset: 4px; overflow-wrap: anywhere; }
.booking-mail a:hover { color: var(--accent); }
.booking { max-width: 680px; }

.f { display: flex; flex-direction: column; gap: 20px; }
.f-row { display: flex; flex-direction: column; gap: 8px; }
.f label:not(.pill), .f-label { font-family: var(--cond); font-weight: 600; font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.f-opt { color: var(--dim); text-transform: none; letter-spacing: 0.04em; }
.f input[type="text"], .f input[type="email"], .f input[type="url"], .f textarea {
  width: 100%; min-width: 0; font: inherit; font-size: 16px; color: var(--ink); background: var(--bg-2);
  border: 1px solid var(--rule-2); border-radius: 0; padding: 13px 14px; -webkit-appearance: none; appearance: none;
}
.f textarea { resize: vertical; min-height: 150px; line-height: 1.5; }
.f input::placeholder, .f textarea::placeholder { color: var(--dim); font-size: 14px; }
.f input:focus-visible, .f textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: -1px; border-color: var(--accent); }
.f input[aria-invalid="true"], .f textarea[aria-invalid="true"] { border-color: var(--error); }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill span {
  display: inline-flex; align-items: center; height: 44px; padding: 0 16px; border: 1px solid var(--rule-2); color: var(--text);
  font-family: var(--cond); font-weight: 600; font-size: 15px; letter-spacing: 0.1em; text-transform: uppercase;
}
.pill:hover span { border-color: var(--ink); color: var(--ink); }
.pill input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.pill input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.pills[aria-invalid="true"] .pill span { border-color: var(--error); }
.f-hint { font-size: 14px; color: var(--muted); }
.f-err { font-size: 14px; color: var(--error); }
.f-form-err { padding: 12px 14px; border: 1px solid var(--error); background: rgba(255, 107, 94, 0.08); }
.f-form-err a { color: var(--ink); }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.f-submit { align-self: flex-start; min-width: 240px; margin-top: 4px; }
@media (max-width: 767px) { .f-submit { align-self: stretch; } }
.f-thanks { padding: 20px; border: 1px solid var(--accent); background: rgba(255, 90, 31, 0.07); }
.f-thanks p { margin-bottom: 12px; font-size: 17px; line-height: 1.5; }
.linkish { min-height: 44px; color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; font-size: 16px; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--rule); }
.foot-in {
  max-width: var(--max); margin: 0 auto; padding: 40px var(--gut) calc(40px + env(safe-area-inset-bottom));
  display: grid; gap: 18px;
}
.foot-brand { font-family: var(--display); font-weight: 900; font-size: 40px; line-height: 0.9; text-transform: uppercase; }
.foot-mail a { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--cond); font-weight: 600; font-size: 19px; letter-spacing: 0.04em; text-decoration-color: var(--accent); text-underline-offset: 4px; overflow-wrap: anywhere; }
.foot-mail a:hover { color: var(--accent); }
.foot-copy { font-family: var(--cond); font-weight: 600; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
@container page (min-width: 900px) {
  .foot-in { grid-template-columns: auto 1fr auto; align-items: end; gap: 18px 40px; }
  .foot-links { grid-column: 2; grid-row: 1; justify-self: end; }
  .foot-mail { grid-column: 3; grid-row: 1; }
  .foot-copy { grid-column: 1 / -1; padding-top: 18px; border-top: 1px solid var(--rule); }
}

/* ---------- details panel: right column on laptop, bottom sheet on phones ---------- */
.panel { position: fixed; z-index: 30; display: flex; flex-direction: column; background: #0E0E0E; border-left: 1px solid var(--rule-2); }
.panel-body { flex: 1; min-width: 0; width: 100%; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; padding: 20px 24px 32px; }
.panel-body > * { max-width: 100%; }
.panel .close {
  position: absolute; top: 12px; right: 12px; z-index: 2; width: 44px; height: 44px; display: grid; place-items: center;
  font-size: 28px; line-height: 1; background: #0E0E0E; border: 1px solid var(--rule-2); color: var(--ink);
}
.panel .close:hover { border-color: var(--accent); color: var(--accent); }
.grab, .mini { display: none; }
@media (min-width: 768px) {
  .panel { top: 0; right: 0; bottom: 0; width: var(--panel-w); transform: translateX(100%); transition: transform 0.3s ease; }
  .panel[data-state="open"], .panel[data-state="full"], .panel[data-state="peek"] { transform: none; }
  .panel-body { padding-top: 24px; }
}
@media (max-width: 767px) {
  .panel {
    left: 0; right: 0; bottom: 0; height: 86vh; border-left: 0; border-top: 2px solid var(--accent);
    transform: translateY(100%); transition: transform 0.3s ease;
  }
  @supports (height: 1dvh) { .panel { height: 86dvh; } }
  .panel[data-state="peek"] { transform: translateY(calc(100% - var(--peek))); }
  .panel[data-state="full"] { transform: none; }
  .panel.dragging { transition: none; }
  .grab { display: block; height: 22px; flex: none; touch-action: none; cursor: grab; }
  .grab span { display: block; width: 40px; height: 4px; background: var(--rule-2); margin: 9px auto 0; }
  .mini { display: flex; align-items: center; gap: 12px; width: 100%; flex: none; height: 86px; padding: 0 16px 8px; touch-action: none; }
  .mini-open { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; height: 100%; text-align: left; }
  .mini-thumb { flex: none; width: 56px; height: 56px; object-fit: cover; display: block; background: var(--bg-3); }
  .mini-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
  .mini-kicker { font-family: var(--cond); font-weight: 700; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
  .mini-title { font-family: var(--cond); font-weight: 700; font-size: 18px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mini-play { flex: none; width: 52px; height: 52px; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); }
  .mini-play svg { width: 20px; height: 20px; display: block; margin-left: 3px; }
  .panel[data-state="full"] .mini { display: none; }
  .panel[data-state="peek"] .close { display: none; }
  .panel .close { top: 14px; right: 14px; }
  .panel-body { padding: 8px 16px 28px; }
  .panel[data-state="peek"] .panel-body { visibility: hidden; }
}

.p-head {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; min-height: 44px; margin: 0 56px 14px 0;
  font-family: var(--cond); font-weight: 700; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase;
}
.p-kind { color: var(--accent); }
.p-cat { padding: 1px 6px 0; border: 1px solid var(--rule-2); color: var(--muted); font-weight: 600; letter-spacing: 0.08em; }
.p-cover { container-type: inline-size; position: relative; width: 100%; aspect-ratio: 1; overflow: hidden; background: var(--bg-3); margin-bottom: 20px; box-shadow: 0 0 0 1px var(--rule); }
.p-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 767px) { .p-cover { width: min(100%, 260px); margin-left: auto; margin-right: auto; } }
.p-title { font-family: var(--display); font-weight: 800; font-size: 36px; line-height: 0.95; text-transform: uppercase; letter-spacing: 0.01em; margin-bottom: 8px; overflow-wrap: anywhere; }
.p-artists { font-size: 16px; color: var(--ink); margin-bottom: 4px; }
.p-meta { font-family: var(--cond); font-weight: 600; font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; font-variant-numeric: tabular-nums; }
.player { margin: 0 0 24px; overflow: hidden; background: var(--bg-3); }
.player iframe { display: block; width: 100%; max-width: 100%; border: 0; }
.play-btn {
  display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; height: 56px;
  background: var(--accent); color: var(--on-accent); font-family: var(--cond); font-weight: 700; font-size: 18px; letter-spacing: 0.16em; text-transform: uppercase;
  transition: background-color 0.15s;
}
.play-btn:hover { background: var(--accent-hi); }
.play-btn svg { width: 16px; height: 16px; display: block; }
.no-player { font-size: 14px; color: var(--muted); padding: 14px 16px; }
.p-sub { margin: 0 0 10px; font-family: var(--cond); font-weight: 600; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.platforms { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px; margin: 0 0 24px; padding: 0; list-style: none; }
.platforms a {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 44px; padding: 0 12px; text-decoration: none; border: 1px solid var(--rule-2);
  font-family: var(--cond); font-weight: 600; font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text);
  transition: border-color 0.15s, color 0.15s;
}
.platforms a:hover { border-color: var(--accent); color: var(--accent); }
.platforms a::after { content: '\2197'; color: var(--dim); font-size: 14px; }
.nav-row { display: flex; gap: 6px; padding-top: 18px; border-top: 1px solid var(--rule); }
.nav-row button {
  flex: 1 1 0; min-width: 0; min-height: 56px; padding: 8px 12px; border: 1px solid var(--rule-2); text-align: left;
  font-family: var(--cond); font-weight: 600; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); line-height: 1.3;
}
.nav-row button span {
  display: block; margin-top: 2px; font-family: var(--sans); font-weight: 500; font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.nav-row button.next { text-align: right; }
.nav-row button:hover:not(:disabled) { border-color: var(--accent); }
.nav-row button:disabled { opacity: 0.35; cursor: default; }

/* ---------- photo viewer (About photos) ---------- */
.lb { position: fixed; inset: 0; z-index: 60; background: rgba(6, 6, 6, 0.98); display: flex; align-items: center; justify-content: center; animation: lb-in 0.18s ease-out; }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
.lb-stage { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 64px 12px 64px; touch-action: pan-y; }
.lb-img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.lb-count { position: absolute; left: 0; right: 0; bottom: calc(18px + env(safe-area-inset-bottom)); text-align: center; font-family: var(--cond); font-weight: 600; font-size: 15px; letter-spacing: 0.16em; color: var(--muted); pointer-events: none; }
.lb-close, .lb-prev, .lb-next { position: absolute; width: 48px; height: 48px; background: rgba(10, 10, 10, 0.7); border: 1px solid var(--rule-2); color: var(--ink); display: grid; place-items: center; line-height: 1; }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { border-color: var(--accent); color: var(--accent); }
.lb-close { top: calc(12px + env(safe-area-inset-top)); right: 12px; font-size: 30px; }
.lb-prev, .lb-next { top: 50%; margin-top: -24px; font-size: 34px; padding-bottom: 4px; }
.lb-prev { left: 12px; }
.lb-next { right: 12px; }
.lb-prev[hidden], .lb-next[hidden] { display: none; }
@media (max-width: 767px) {
  .lb-stage { padding: 72px 0 72px; }
  .lb-prev, .lb-next { top: auto; bottom: calc(6px + env(safe-area-inset-bottom)); margin-top: 0; width: 44px; height: 44px; }
}

.booting *, .booting *::before, .booting *::after { transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
