/* Al Bear site: nocturnal hip-hop, Collective Kit controls. Provisional visuals until G1 boards lock. */
/* Hard lock: no em dashes in copy or comments */

:root {
  --bg: #0a0a0a;
  --bg-raised: #121212;
  --bg-strip: #161616;
  --bone: #e8e2d6;
  --bone-dim: #b8b0a2;
  --white: #f5f5f5;
  --muted: #8a8580;
  --line: #2a2a2a;
  --kit-primary: #252b33;
  --kit-border: #38404a;
  --kit-radius: 6px;
  --kit-on: #fbfcfd;
  --radius: 10px;
  --max: 42rem;
  --pad: 1.25rem;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "UnifrakturCook", "Times New Roman", serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  overflow-x: hidden;
  margin: 0;
  background: var(--bg);
  color: var(--bone);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--white);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
a:hover { color: var(--bone); }

h1, h2, h3 {
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
}
h1 { font-size: clamp(1.85rem, 7vw, 2.6rem); margin: 0 0 0.75rem; }
h2 { font-size: clamp(1.35rem, 5vw, 1.75rem); margin: 0 0 0.75rem; }
h3 { font-size: 1.1rem; margin: 0 0 0.5rem; }
p { margin: 0 0 1rem; color: var(--bone-dim); }

.display-party {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.05;
  color: var(--white);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.kicker,
.status-line {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.6rem;
}
.status-line { color: var(--bone); }

.wrap {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 0 var(--pad);
  max-width: 100%;
  overflow-x: clip;
}

/* Header: cross mark and wordmark, inline links on wide screens, hamburger on phones */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.5rem var(--pad);
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
  font-size: 0.95rem;
  z-index: 2;
}
.logo-mark {
  display: block;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid rgba(232, 226, 214, 0.3);
  object-fit: cover;
}
.nav-toggle {
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border-radius: var(--kit-radius);
  border: 1px solid var(--kit-border);
  background: var(--kit-primary);
  color: var(--kit-on);
  cursor: pointer;
}
.nav-toggle-bars {
  display: grid;
  gap: 4px;
  width: 1rem;
}
.nav-toggle-bars span {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-links {
  display: none;
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  right: 0;
  background: #0e1013;
  border-bottom: 1px solid var(--kit-border);
  border-radius: 0 0 8px 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.45);
  padding: 0.35rem 0;
  flex-direction: column;
  gap: 0;
  z-index: 50;
}
.nav-links.is-open { display: flex; }
.nav-links a {
  display: flex;
  align-items: center;
  min-height: 3rem;
  padding: 0.75rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--bone);
  border-bottom: 1px solid #1c2128;
}
.nav-links a:last-child { border-bottom: 0; }
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: rgba(56, 64, 74, 0.35);
  color: var(--white);
}
.nav-links .nav-cta { font-weight: 700; color: var(--white); }

@media (min-width: 768px) {
  .nav-toggle { display: none; }
  .nav-links {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 0.25rem;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    border-radius: 0;
  }
  .nav-links a {
    min-height: 2.25rem;
    padding: 0.35rem 0.7rem;
    border-bottom: 0;
    border-radius: var(--kit-radius);
    font-size: 0.88rem;
  }
  .nav-links a:hover,
  .nav-links a[aria-current="page"] { background: rgba(56, 64, 74, 0.35); }
  .nav-links .nav-cta {
    margin-left: 0.5rem;
    border: 1px solid var(--kit-border);
    background: var(--kit-primary);
    color: var(--kit-on);
  }
  .nav-links .nav-cta:hover { background: #2e3640; border-color: #4a5562; }
}

/* Project hero: the release is the hero, one line under the title, one primary action */
.hero-project {
  position: relative;
  min-height: 82vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #0a0a0a;
}
.hero-project-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
  filter: brightness(0.72) contrast(1.05);
}
.hero-project-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.15) 0%, rgba(10,10,10,0.35) 45%, rgba(10,10,10,0.94) 100%);
}
.hero-project-copy {
  position: relative;
  z-index: 2;
  padding: 3.5rem var(--pad) 2.25rem;
  /* same column as the header and the sections below, so the headline is not pinned to the screen edge */
  width: min(100%, var(--max));
  margin-inline: auto;
}
.hero-title {
  font-size: clamp(3rem, 13vw, 5.75rem);
  margin: 0 0 0.5rem;
  text-shadow: 0 2px 18px rgba(0,0,0,0.55);
}
.hero-sub {
  font-size: clamp(1rem, 3.4vw, 1.15rem);
  color: var(--bone);
  max-width: 30rem;
  margin-bottom: 1.2rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.1rem 0 0.4rem;
}

/* Kit button: charcoal primary, 6px radius, Inter */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  padding: 0.5rem 0.9rem;
  border-radius: var(--kit-radius);
  border: 1px solid var(--kit-border);
  background: var(--kit-primary);
  color: var(--kit-on);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.12s ease, border-color 0.12s ease;
}
.btn:hover { background: #2e3640; color: var(--kit-on); border-color: #4a5562; }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--bone); color: #0a0a0a; border-color: var(--bone); font-weight: 600; }
.btn-primary:hover { background: var(--white); color: #0a0a0a; border-color: var(--white); }
.btn-ghost { background: rgba(255, 255, 255, 0.04); color: var(--white); border-color: rgba(232, 226, 214, 0.55); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--bone); color: var(--white); }
.btn-block { width: 100%; }
.btn-lg { min-height: 3.1rem; padding: 0.6rem 1.25rem; font-size: 1rem; }
.hero-project .btn-ghost { background: rgba(10,10,10,0.45); backdrop-filter: blur(6px); }
.cta-row-strong .btn { flex: 1 1 0; min-height: 3.1rem; padding: 0.6rem 1rem; font-size: 1rem; font-weight: 600; white-space: nowrap; }

.section { padding: 2.75rem 0; border-top: 1px solid var(--line); }
.section-tight { padding: 1.75rem 0; }
.section-title { font-size: clamp(1.6rem, 6vw, 2.1rem); margin-bottom: 0.4rem; }
.section-lead { font-size: 1.02rem; max-width: 34rem; margin-bottom: 1.4rem; }
.sub-title {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 1.75rem 0 0.75rem;
}

/* Party strip */
.party-strip {
  background: var(--bg-strip);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.party-title {
  font-size: clamp(1.8rem, 8vw, 2.8rem);
  margin-bottom: 1rem;
}
.party-card { display: grid; gap: 1.25rem; align-items: start; }
.party-name { font-size: clamp(2.4rem, 9vw, 3.4rem); line-height: 1; margin: 0.2rem 0 0.35rem; }
.party-name-sm { font-size: clamp(1.7rem, 6.8vw, 2.3rem); margin: 0.1rem 0 0.25rem; }
.party-card img {
  width: 100%;
  border-radius: var(--kit-radius);
  border: 1px solid var(--kit-border);
}
.party-meta {
  display: grid;
  gap: 0.35rem;
  font-size: 0.95rem;
  color: var(--bone);
}
.party-meta strong { color: var(--white); font-weight: 700; }
.party-note { margin: 0; font-size: 0.92rem; color: var(--bone-dim); }
.themes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.85rem;
}
.theme-chip {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.6rem;
  border: 1px solid var(--kit-border);
  border-radius: var(--kit-radius);
  color: var(--bone-dim);
  background: var(--kit-primary);
}

/* Music: Spotify embed and release cards */
.embed-wrap {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--kit-border);
  background: var(--bg-raised);
}
.embed-wrap iframe { display: block; width: 100%; height: 352px; border: 0; }
.releases {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}
.release {
  display: grid;
  gap: 0.4rem;
  text-decoration: none;
  color: var(--white);
  min-width: 0;
}
.release img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--kit-radius);
  border: 1px solid var(--kit-border);
  background: var(--bg-raised);
  transition: border-color 0.12s ease, transform 0.12s ease;
}
.release:hover img { border-color: var(--bone-dim); transform: translateY(-2px); }
.release-title {
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Thesis: motion band with the headline, then copy and real photos */
.thesis-section { padding-top: 0; }
.thesis-band {
  position: relative;
  min-height: 62vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #0a0a0a;
  margin-bottom: 0.75rem;
}
/* The still under the loop is a CSS background, so phones and wide screens each fetch only their
   own frame. It carries the same filter as the video, so nothing jumps when the loop starts. */
.thesis-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("images/thesis-loop-scenes-tall.webp") 50% 40% / cover no-repeat;
  filter: brightness(0.82) contrast(1.05);
}
@media (min-aspect-ratio: 3/4) {
  .thesis-band::before { background-image: url("images/thesis-loop-scenes.webp"); }
}
.thesis-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  filter: brightness(0.82) contrast(1.05);
}
/* iPhones in Low Power Mode refuse autoplay and paint a play glyph instead; keep the clean still */
.thesis-video::-webkit-media-controls-start-playback-button { display: none !important; -webkit-appearance: none; }
.thesis-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.2) 0%, rgba(10,10,10,0.45) 50%, rgba(10,10,10,0.97) 100%);
}
.thesis-band-copy {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max));
  margin-inline: auto;
  padding-top: 4rem;
  padding-bottom: 1rem;
}
.thesis-band .lead { max-width: 32rem; margin-bottom: 0; }
.thesis-copy p { margin-bottom: 1rem; }
.thesis-copy .cta-row { margin-top: 0.25rem; }
.thesis { display: grid; gap: 1.75rem; }
.thesis-title {
  font-size: clamp(2.2rem, 10vw, 3.6rem);
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  text-shadow: 0 2px 18px rgba(0,0,0,0.55);
}
.lead { font-size: 1.08rem; color: var(--bone); }
.thesis-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  align-items: start;
}
.thesis-photos img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--kit-radius);
  border: 1px solid var(--kit-border);
}
.thesis-photos img:nth-child(2) { margin-top: 2rem; aspect-ratio: 5 / 4; }

/* Tiles: Book, Story, Merch as photo doors */
.tiles { display: grid; gap: 0.75rem; }
.tile {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--kit-radius);
  border: 1px solid var(--kit-border);
  text-decoration: none;
  color: var(--white);
  background: var(--bg-raised);
}
.tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  filter: brightness(0.62);
  transition: transform 0.35s ease, filter 0.2s ease;
}
.tile:hover img { transform: scale(1.03); filter: brightness(0.75); }
.tile-book img { object-position: 50% 38%; }
.tile-merch img { object-position: 50% 14%; }
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0) 40%, rgba(10,10,10,0.85) 100%);
}
.tile-label,
.tile-sub {
  position: absolute;
  left: 1rem;
  z-index: 1;
}
.tile-label {
  bottom: 2.1rem;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}
.tile-sub {
  bottom: 0.9rem;
  font-size: 0.8rem;
  color: var(--bone-dim);
}

/* Quotes, cards, stacks */
.quote {
  font-size: 1.15rem;
  color: var(--white);
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 0.5rem;
}
.quote-attr { font-size: 0.8rem; color: var(--muted); margin: 0; }
/* a readable line length for the story on wide screens */
.story-flow > p,
.story-flow > .card { max-width: 42rem; }
.story-lede { font-size: clamp(1.1rem, 4.2vw, 1.3rem); line-height: 1.4; color: var(--bone); max-width: 30rem; margin-bottom: 0; }
.card {
  background: var(--bg-raised);
  border: 1px solid var(--kit-border);
  border-radius: var(--kit-radius);
  padding: 1.15rem;
}
.stack { display: grid; gap: 1rem; }
.sources { font-size: 0.82rem; line-height: 1.5; color: var(--muted); }
.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}
.proof-strip img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--kit-radius);
  border: 1px solid var(--kit-border);
}

/* Link lists (Music page platforms, Links page) */
.platform-list,
.link-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}
.link-list a,
.platform-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 3.1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--kit-radius);
  border: 1px solid var(--kit-border);
  background: var(--kit-primary);
  text-decoration: none;
  color: var(--kit-on);
  font-weight: 500;
}
.link-list a:hover,
.platform-list a:hover { border-color: #4a5562; background: #2e3640; }
.link-list .hint,
.platform-list .hint {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--bone-dim);
}
.list-label {
  margin: 0 0 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Forms: kit fields */
.form { display: grid; gap: 0.9rem; }
label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--bone);
}
input,
select,
textarea {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.7rem 0.8rem;
  border-radius: var(--kit-radius);
  border: 1px solid var(--kit-border);
  background: #0e1013;
  color: var(--white);
  font: inherit;
}
textarea { min-height: 7rem; resize: vertical; }
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #4a5562;
  outline-offset: 1px;
  border-color: #4a5562;
}
::placeholder { color: var(--muted); opacity: 1; }
.field-hint { margin: 0; font-size: 0.78rem; font-weight: 400; color: var(--bone-dim); }
.form-note {
  font-size: 0.88rem;
  color: var(--bone-dim);
  background: #141414;
  border: 1px solid var(--kit-border);
  border-radius: var(--kit-radius);
  padding: 0.9rem 1rem;
}
.check-row {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.9rem;
  color: var(--bone-dim);
}
.check-row input { width: auto; min-height: auto; margin-top: 0.25rem; }
.facts-list { margin: 0; padding-left: 1.1rem; color: var(--bone-dim); }

/* Page heroes and small pages */
.page-hero { padding: 2.25rem 0 1.25rem; }
.page-hero .display-party { font-size: clamp(2.4rem, 10vw, 3.6rem); }
.muted { color: var(--muted); }
.hr { border: 0; border-top: 1px solid var(--line); margin: 1.5rem 0; }
/* Book page photos: a pair side by side on phones; stacked beside the form on wider screens,
   where the second photo stretches to end level with the form */
.live-proof { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.live-proof img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 30%;
  border-radius: var(--kit-radius);
  border: 1px solid var(--kit-border);
}
.live-proof img:last-child { object-position: 68% 40%; }
.two-col { display: grid; gap: 1.25rem; align-items: start; }
.links-hero { text-align: center; }
.links-avatar {
  width: 5.5rem;
  height: 5.5rem;
  object-fit: cover;
  border-radius: 999px;
  margin: 0 auto 1rem;
  border: 1px solid var(--kit-border);
}
.links-name { font-size: 1.5rem; }
.links-tag { margin-bottom: 0; }

/* IG feed: near full-size cards with the real caption, swipe sideways */
.ig-section { margin-top: 2.5rem; }
.ig-feed-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.75rem;
}
.ig-feed {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  margin-inline: calc(var(--pad) * -1);
  padding: 0.25rem var(--pad) 0.5rem;
}
.ig-viewport { position: relative; }
.ig-feed::-webkit-scrollbar { display: none; }
.ig-feed.is-dragging { cursor: grabbing; }
.ig-feed.is-dragging .ig-card { pointer-events: none; }
.ig-card {
  flex: 0 0 min(82vw, 21rem);
  user-select: none;
  -webkit-user-select: none;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--kit-border);
  background: var(--bg-raised);
  color: var(--bone);
  text-decoration: none;
  transition: border-color 0.12s ease;
}
.ig-card:hover { border-color: var(--bone-dim); color: var(--bone); }
.ig-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--kit-primary);
  pointer-events: none;
  -webkit-user-drag: none;
}
.ig-card-body {
  display: grid;
  gap: 0.4rem;
  padding: 0.8rem 0.95rem 1rem;
}
.ig-card-meta { font-size: 0.78rem; color: var(--muted); }
.ig-card-handle { color: var(--white); font-weight: 600; }
.ig-card-caption {
  font-size: 0.92rem;
  line-height: 1.4;
  color: var(--bone);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ig-card-link {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--bone-dim);
}
.ig-card:hover .ig-card-link { color: var(--white); }

/* Videos: same row mechanics as the Instagram strip, but it only moves when someone moves it.
   Thumbnails are links to YouTube; with scripts on, a tap swaps in the player right there. */
.row-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 0.9rem; }
.row-head .section-title, .row-head .sub-title { margin-bottom: 0; }
.row-arrows { display: none; gap: 0.4rem; }
.row-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--kit-radius);
  border: 1px solid rgba(232, 226, 214, 0.55);
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}
.row-arrow:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--bone); }
.row-arrow:disabled { opacity: 0.35; cursor: default; }
.video-row {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--pad);
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  margin-inline: calc(var(--pad) * -1);
  padding: 0.25rem var(--pad) 0.5rem;
}
.video-row::-webkit-scrollbar { display: none; }
.video-row.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.video-row.is-dragging .video-card { pointer-events: none; }
.video-card {
  flex: 0 0 min(84vw, 24rem);
  scroll-snap-align: start;
  user-select: none;
  -webkit-user-select: none;
}
.video-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--kit-radius);
  border: 1px solid var(--kit-border);
  background: var(--kit-primary);
}
.video-thumb img,
.video-thumb iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-thumb img {
  object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
  transition: transform 0.4s ease, filter 0.3s ease;
  filter: brightness(0.88);
}
.video-thumb:hover img { transform: scale(1.03); filter: brightness(1); }
.video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 3.6rem;
  height: 3.6rem;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--bone);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s ease;
}
.video-play::after {
  content: "";
  position: absolute;
  left: 54%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 0.62rem 0 0.62rem 1rem;
  border-color: transparent transparent transparent #0a0a0a;
}
.video-thumb:hover .video-play { transform: translate(-50%, -50%) scale(1.08); }
.video-card.is-playing .video-play { display: none; }
.video-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem; padding: 0.6rem 0.1rem 0; }
.video-title { font-weight: 700; color: var(--white); font-size: 1rem; }
.video-sub { font-size: 0.8rem; color: var(--muted); text-align: right; }

/* Footer: bear badge, wordmark and platforms, Text Al Bear, Notes from the Bear */
.site-footer {
  border-top: 1px solid var(--line);
  background: #050505;
  padding: 2.5rem 0 2rem;
  color: var(--muted);
  font-size: 0.85rem;
}
.footer-grid { display: grid; gap: 2rem; }
/* On phones the badge and the platform icons close the footer, under Notes from the Bear. The markup keeps the desktop order. */
.footer-brand { order: 3; }
.footer-lockup {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.footer-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
  margin-bottom: 0.2rem;
}
.footer-badge { display: block; width: 8.75rem; height: auto; }
.footer-tag { margin: 0 0 1rem; font-size: 0.85rem; color: var(--muted); }
.footer-heading {
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  margin: 0 0 0.45rem;
  text-transform: uppercase;
}
.footer-copy { margin: 0 0 0.9rem; font-size: 0.95rem; color: var(--bone-dim); max-width: 22rem; }
.footer-copy .sms-number {
  white-space: nowrap;
  color: var(--white);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
/* Text Al Bear sits on the cross photo. The words land on the dark of the bear, under the ears. */
.footer-text-cross {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-items: end;
  min-height: 28rem;
  padding: 1.15rem;
  border: 1px solid var(--kit-border);
  border-radius: var(--radius);
  background: #02080a;
}
.footer-text-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0%;
}
.footer-text-cross::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(2, 8, 10, 0) 46%, rgba(2, 8, 10, 0.82) 64%, #02080a 100%);
}
.footer-text-cross .footer-copy { color: var(--bone); margin-bottom: 1rem; }
.footer-form { display: grid; gap: 0.5rem; max-width: 26rem; }
/* email and button share one line at every width; the button takes about a quarter */
.footer-form-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(5.75rem, 27%); gap: 0.5rem; }
.footer-form-row .btn { padding-inline: 0.5rem; white-space: nowrap; }
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  color: var(--bone-dim);
  text-decoration: none;
}
.social-icon img {
  width: 22px;
  height: 22px;
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(0.78);
}
.social-icon:hover img { filter: brightness(0) invert(1); }
.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.footer-bottom p { margin: 0; color: var(--muted); font-size: 0.8rem; }

/* Browser surfaces and keyboard focus */
::selection { background: var(--bone); color: var(--bg); }
.btn:focus-visible,
.nav-toggle:focus-visible,
.nav-links a:focus-visible,
.link-list a:focus-visible,
.platform-list a:focus-visible,
.ig-card:focus-visible,
.ig-feed:focus-visible,
.video-thumb:focus-visible,
.video-row:focus-visible,
.row-arrow:focus-visible,
.release:focus-visible,
.tile:focus-visible,
.social-icon:focus-visible,
.logo:focus-visible,
.footer-logo:focus-visible {
  outline: 2px solid var(--bone);
  outline-offset: 2px;
}
section[id],
.footer-block[id] { scroll-margin-top: 4.25rem; }
.footer-block:target .footer-heading { text-decoration: underline; text-underline-offset: 0.2em; text-decoration-color: var(--bone-dim); }

/* Wider screens */
@media (min-width: 640px) {
  .party-card { grid-template-columns: 0.9fr 1.1fr; align-items: center; }
  .cta-row-strong .btn { flex: 0 1 auto; min-width: 14rem; }
  .two-col { grid-template-columns: 1fr 1fr; }
  .book-cols { align-items: stretch; }
  .book-cols > .stack { display: flex; flex-direction: column; }
  .book-cols .live-proof { flex: 1; display: flex; flex-direction: column; gap: 1rem; }
  .book-cols .live-proof img:first-child { aspect-ratio: auto; }
  .book-cols .live-proof img:last-child { flex: 1 1 0; height: 0; min-height: 14rem; aspect-ratio: auto; }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .tile { aspect-ratio: 4 / 5; }
}
@media (min-width: 768px) {
  :root { --max: 48rem; }
  .hero-project { min-height: 86vh; }
  .thesis-band { min-height: 68vh; margin-bottom: 0; }
  /* the band text moves up and the copy below climbs the same distance, so the video runs on behind it */
  .thesis-band-copy { padding-bottom: 12rem; }
  .thesis { position: relative; z-index: 2; margin-top: -11rem; }
  .thesis-scrim { background: linear-gradient(180deg, rgba(10,10,10,0.2) 0%, rgba(10,10,10,0.45) 40%, rgba(10,10,10,0.92) 72%, #0a0a0a 100%); }
  .ig-card { flex-basis: 18rem; }
  .ig-feed { margin-inline: 0; padding-inline: 0; }
  .video-row { margin-inline: 0; padding-inline: 0; scroll-padding-inline: 0; }
  .video-card { flex-basis: calc((100% - 0.85rem) / 2); }
  .row-arrows { display: flex; }
  .ig-viewport::before,
  .ig-viewport::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 3rem;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
  }
  .ig-viewport::before { left: 0; background: linear-gradient(90deg, var(--bg), rgba(10, 10, 10, 0)); }
  .ig-viewport::after { right: 0; background: linear-gradient(270deg, var(--bg), rgba(10, 10, 10, 0)); }
  .ig-viewport.is-scrolled::before,
  .ig-viewport.is-scrolled::after { opacity: 1; }
  .hero-project-copy { padding-bottom: 3rem; }
  .thesis { grid-template-columns: 1.15fr 0.85fr; gap: 2.5rem; align-items: center; }
  .thesis-photos img:nth-child(2) { margin-top: 3rem; }
}
@media (min-width: 900px) {
  :root { --max: 56rem; }
  .ig-card { flex-basis: calc((100% - 1.7rem) / 3); }
  .footer-grid { grid-template-columns: 1fr 1fr 1.2fr; gap: 2.5rem; align-items: center; }
  .footer-brand { order: 0; }
  .footer-text-cross { min-height: 30.5rem; }
  .releases { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  #music .releases { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (min-width: 900px) and (max-width: 1099px) {
  .releases { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  #music .releases { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tile img, .release img, .btn, .ig-card, .video-thumb img, .video-play, .row-arrow { transition: none; }
}
/* Bot trap. People never see or reach this field. */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
/* Small print the phone carriers require beside the Text BEAR call to action */
.footer-fine { margin: 0.9rem 0 0; font-size: 0.72rem; line-height: 1.5; color: var(--bone-dim); max-width: 24rem; }
.footer-fine a { color: var(--bone); text-underline-offset: 0.18em; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; align-items: center; }
.footer-legal { display: flex; gap: 1.25rem; }
.footer-legal a { color: var(--muted); text-decoration: none; }
.footer-legal a:hover, .footer-legal a:focus-visible { color: var(--bone); text-decoration: underline; text-underline-offset: 0.18em; }
/* Privacy and terms pages: plain reading column */
.legal > p, .legal > h2 { max-width: 42rem; }
.legal > h2 { font-size: 1.05rem; letter-spacing: 0.04em; text-transform: uppercase; margin: 1.4rem 0 0; color: var(--white); }
.legal > p { margin: 0; color: var(--bone-dim); }
.legal a { color: var(--bone); text-underline-offset: 0.18em; }
/* Consent small print inside forms */
.form-fine { margin: -0.35rem 0 0; font-size: 0.72rem; line-height: 1.5; font-weight: 400; color: var(--bone-dim); }
.form-fine a { color: var(--bone); text-underline-offset: 0.18em; }

/* Desktop footer: badge, name and two rows of three icons share one centre line */
@media (min-width: 900px) {
  .footer-brand { display: flex; flex-direction: column; align-items: center; text-align: center; }
  .footer-tag { margin-bottom: 1.1rem; }
  .footer-social { display: grid; grid-template-columns: repeat(3, 28px); gap: 0.9rem 1.4rem; justify-content: center; }
}

/* Desktop: the listening party and the music share one row that runs edge to edge of the screen.
   Each half keeps its normal layout: flyer beside the details, player over six releases. */
@media (min-width: 1200px) {
  .duo {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: clamp(2.5rem, 4vw, 5rem);
    align-items: start;
    padding-inline: max(clamp(1.75rem, 3vw, 4rem), calc((100% - 112rem) / 2));
    background: var(--bg-strip);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .duo > .section { background: none; border: 0; }
  .duo .wrap { width: 100%; max-width: none; padding-inline: 0; }
  /* a larger flyer, so the left half carries as much weight as the player and releases on the right */
  .duo .party-card { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 1.75rem; }
  .duo .party-title { line-height: 1.15; }
  .duo .section-title { line-height: 1.15; }
  .duo .section-lead { max-width: none; }
  .duo + .section { border-top: 0; }
  /* six covers share half a screen here, so a long title wraps instead of being cut off */
  .duo .release-title { white-space: normal; overflow: visible; }
}

/* Footer, round 20. The Text Al Bear card is centred like the cross above it, and the words
   "Text BEAR" in its sentence are the button. */
.footer-text-body { text-align: center; }
.footer-text-cross .footer-copy, .footer-text-cross .footer-fine { margin-inline: auto; }
.footer-text-cross .footer-copy { margin-bottom: 0; line-height: 2.1; }
.sms-pill {
  display: inline-block;
  padding: 0.32rem 0.95rem;
  margin-right: 0.15rem;
  border-radius: 999px;
  background: var(--bone);
  color: #0a0a0a;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 0 0 1px rgba(232, 226, 214, 0.35), 0 4px 14px rgba(0, 0, 0, 0.45);
  transition: transform 0.12s ease, filter 0.12s ease;
}
.sms-pill:hover { filter: brightness(1.06); transform: translateY(-1px); }
.sms-pill:active { transform: translateY(0); }
.sms-pill:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
.narrow-only { display: none; }
/* Phones and small tablets: the whole footer sits on one centre line */
@media (max-width: 899.98px) {
  .wide-only { display: none; }
  .narrow-only { display: inline; }
  .footer-brand { display: flex; flex-direction: column; align-items: center; text-align: center; }
  .footer-social { justify-content: center; }
  .footer-notes { text-align: center; }
  .footer-notes .footer-copy, .footer-notes .footer-form { margin-inline: auto; }
  .footer-notes .field-hint { text-align: center; }
}

/* Desktop: rows of media (videos, Instagram) use the whole screen, like the party and music row.
   Text and forms stay in the page column. Add "full" to a section to opt in. */
@media (min-width: 1200px) {
  .full > .wrap { width: 100%; max-width: 112rem; padding-inline: clamp(1.75rem, 3vw, 4rem); }
  .full .video-card { flex-basis: calc((100% - 2 * 0.85rem) / 3); }
  .full .ig-card { flex-basis: calc((100% - 3 * 0.85rem) / 4); }
}
@media (min-width: 1700px) {
  .full .video-card { flex-basis: calc((100% - 3 * 0.85rem) / 4); }
  .full .ig-card { flex-basis: calc((100% - 4 * 0.85rem) / 5); }
}
