/* ─── Tokens ────────────────────────────────────────────────────────────── */
:root {
  --bg:        #000;
  --bg-2:      #0a0908;
  --fg:        #f5f3ee;
  --fg-soft:   #d4cfc4;
  --muted:     #7a756c;
  --muted-2:   #4a463f;
  --hairline:  rgba(245,243,238,.08);
  --error:     #d97757;
  --success:   #7fa67f;

  --font-display: 'Epilogue', 'Helvetica Neue', system-ui, sans-serif;
  --font-body:    'Epilogue', 'Helvetica Neue', system-ui, sans-serif;
  --font-mark:    'Epilogue', 'Helvetica Neue', sans-serif;

  --body-size:    14px;
  --body-leading: 1.7;

  --section-gap:  64px;
  --block-gap:    36px;

  --col-pad:      24px;
  --max-w:        1280px;

  /* Easing tokens (Emil Kowalski / Ionic) — stronger than built-in CSS keywords */
  --ease:         cubic-bezier(0.23, 1, 0.32, 1);     /* default ease-out-strong */
  --ease-io:      cubic-bezier(0.77, 0, 0.175, 1);    /* movement on-screen */
  --ease-drawer:  cubic-bezier(0.32, 0.72, 0, 1);     /* iOS-like drawer/modal */
}

@media (min-width: 900px) {
  :root {
    --body-size:    15px;
    --body-leading: 1.75;
    --section-gap:  120px;
    --block-gap:    22px;
    --col-pad:      80px;
  }
}

/* ─── Base ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--body-size);
  line-height: var(--body-leading);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px; left: 16px;
  background: var(--fg); color: var(--bg);
  padding: 10px 16px;
  z-index: 200;
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 16px; }

/* ─── Wordmark ──────────────────────────────────────────────────────────── */
.bb-mark {
  --bb-scale: 1;
  display: inline-flex;
  align-items: baseline;
  gap: calc(8px * var(--bb-scale));
  color: var(--fg);
  line-height: 0.85;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.bb-mark .bb-the {
  font-family: var(--font-display);
  font-style: italic; font-weight: 400;
  font-size: calc(28px * var(--bb-scale));
  transform: translateY(calc(-14px * var(--bb-scale)));
  opacity: .95;
}
.bb-mark .bb-big {
  font-family: var(--font-mark);
  font-weight: 900;
  font-size: calc(64px * var(--bb-scale));
  letter-spacing: -0.02em;
}
.bb-mark .bb-band {
  font-family: var(--font-display);
  font-style: italic; font-weight: 500;
  font-size: calc(72px * var(--bb-scale));
  letter-spacing: -0.01em;
  margin-left: calc(-4px * var(--bb-scale));
}
.bb-mark--hero  { --bb-scale: 1.0; }
.bb-mark--footer { --bb-scale: 0.5; }

@media (min-width: 900px) {
  .bb-mark--hero   { --bb-scale: 2.3; }
}

/* ─── Header ────────────────────────────────────────────────────────────── */
.bb-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  transition: background .35s ease, backdrop-filter .35s ease, border-color .35s ease;
}
.bb-header.is-scrolled {
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline);
}

/* Topbar (mobile only) */
.bb-topbar {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px var(--col-pad);
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  background: rgba(0, 0, 0, .35);
  border-bottom: 1px solid var(--hairline);
  transition: color .25s ease;
}
/* Only the text is a link, not the whole bar */
.bb-topbar-link {
  color: inherit;
  text-decoration: none;
  padding: 4px 0;
}
.bb-topbar-link:hover { color: var(--fg-soft); }

/* Main row */
.bb-header-main {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--col-pad);
  transition: padding .35s ease;
}
.bb-header.is-scrolled .bb-header-main { padding: 10px var(--col-pad); }

@media (min-width: 900px) {
  .bb-topbar { display: none; }
  .bb-header-main { padding: 32px var(--col-pad); }
  .bb-header.is-scrolled .bb-header-main { padding: 18px var(--col-pad); }
}

.bb-rinaldi { height: 22px; width: auto; opacity: .92; }

/* Rinaldi logo: hidden on mobile (replaced by topbar text), visible desktop */
.bb-logo-link {
  display: none;
  transition: opacity .25s ease, transform 220ms var(--ease);
}
.bb-logo-link:active { transform: scale(0.95); }
@media (min-width: 900px) {
  .bb-logo-link { display: inline-flex; }
}

/* Brand mark: normal flex item on mobile, absolute-centered on desktop */
.bb-brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  opacity: .95;
  transition: opacity .25s ease, transform 220ms var(--ease);
}
.bb-brand-link:hover { opacity: 1; }
.bb-brand-link:active { transform: scale(0.97); }
.bb-brand-mark {
  height: 28px;
  width: auto;
  display: block;
}
@media (min-width: 900px) {
  .bb-brand-link {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
  .bb-brand-link:active {
    transform: translate(-50%, -50%) scale(0.97);
  }
  .bb-brand-mark { height: 44px; }
}

.bb-header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.bb-lang {
  font-family: var(--font-body);
  font-size: 11px; font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--fg);
  opacity: .85;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: opacity .25s ease, transform 140ms var(--ease);
}
.bb-lang:hover { opacity: 1; }
.bb-lang:active { transform: scale(0.93); }
.bb-lang .bb-lang-it,
.bb-lang .bb-lang-en {
  opacity: .45;
  transition: opacity .25s ease;
}
.bb-lang .bb-lang-sep { opacity: .45; }
html[lang="it"] .bb-lang .bb-lang-it { opacity: 1; }
html[lang="en"] .bb-lang .bb-lang-en { opacity: 1; }

/* ─── Hero ──────────────────────────────────────────────────────────────── */
.bb-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.bb-hero-media { position: absolute; inset: 0; overflow: hidden; }
.bb-hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
/* Hero video controls (replace native controls, which sat under the header on mobile) */
.bb-hero-controls {
  position: absolute;
  left: calc(var(--col-pad) + env(safe-area-inset-left, 0px));
  right: calc(var(--col-pad) + env(safe-area-inset-right, 0px));
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 14px;
}
@media (min-width: 900px) {
  .bb-hero-controls { bottom: 40px; gap: 20px; }
}

.bb-ctrl {
  flex: none;
  width: 48px; height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(245,243,238,.35);
  border-radius: 50%;
  background: rgba(0,0,0,.45);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--fg);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background .25s ease, border-color .25s ease, transform 140ms var(--ease);
}
.bb-ctrl:hover { background: rgba(0,0,0,.65); border-color: rgba(245,243,238,.6); }
.bb-ctrl:active { transform: scale(0.93); }
.bb-ctrl:focus-visible { outline: 1px solid var(--fg); outline-offset: 3px; }

.bb-play .bb-pause-icon { display: none; }
.bb-play.is-playing .bb-pause-icon { display: block; }
.bb-play.is-playing .bb-play-icon { display: none; }

.bb-sound .bb-sound-on { display: none; }
.bb-sound.is-on .bb-sound-on { display: block; }
.bb-sound.is-on .bb-sound-off { display: none; }

/* Seek bar: hairline track, filled part in --fg, small round thumb */
.bb-seek-wrap {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
.bb-seek {
  --progress: 0%;
  flex: 1;
  min-width: 0;
  height: 32px;           /* generous touch target, thin visual track */
  margin: 0;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.bb-seek:focus { outline: none; }
.bb-seek::-webkit-slider-runnable-track {
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(to right, var(--fg) var(--progress), rgba(245,243,238,.28) var(--progress));
}
.bb-seek::-moz-range-track {
  height: 2px;
  border-radius: 2px;
  background: rgba(245,243,238,.28);
}
.bb-seek::-moz-range-progress {
  height: 2px;
  border-radius: 2px;
  background: var(--fg);
}
.bb-seek::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px; height: 12px;
  margin-top: -5px;
  border: 0;
  border-radius: 50%;
  background: var(--fg);
  box-shadow: 0 0 0 4px rgba(0,0,0,.25);
  transition: transform 140ms var(--ease);
}
.bb-seek::-moz-range-thumb {
  width: 12px; height: 12px;
  border: 0;
  border-radius: 50%;
  background: var(--fg);
  box-shadow: 0 0 0 4px rgba(0,0,0,.25);
}
.bb-seek:active::-webkit-slider-thumb { transform: scale(1.25); }
.bb-seek:focus-visible::-webkit-slider-thumb { outline: 1px solid var(--fg); outline-offset: 3px; }

.bb-time {
  flex: none;
  min-width: 3.2em;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.18em;
  font-variant-numeric: tabular-nums;
  color: var(--fg-soft);
  text-shadow: 0 1px 6px rgba(0,0,0,.6);
  text-align: right;
}

.bb-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 var(--col-pad);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.bb-hero-tag {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 17px;
  color: var(--fg-soft);
  margin: 28px 0 0;
  letter-spacing: 0.01em;
}
@media (min-width: 900px) {
  .bb-hero-tag { font-size: 20px; }
}

.bb-placeholder-label {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 10px 18px;
  border: 1px dashed var(--muted-2);
  background: rgba(0,0,0,.65);
  text-align: center;
  line-height: 1.7;
}

.bb-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.bb-eyebrow {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--fg-soft);
  opacity: .8;
}
.bb-scroll-line {
  width: 1px;
  height: 60px;
  background: rgba(245,243,238,.2);
  position: relative;
  overflow: hidden;
}
.bb-scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--fg), transparent 60%);
  animation: bb-scroll 2.6s ease-in-out infinite;
}
@keyframes bb-scroll {
  0%   { transform: translateY(-100%); opacity: 1; }
  60%  { opacity: 1; }
  100% { transform: translateY(100%); opacity: 0; }
}

/* ─── Sections base ─────────────────────────────────────────────────────── */
.bb-sect {
  padding: 0 var(--col-pad);
  margin-top: var(--section-gap);
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}

/* ─── Typography blocks ─────────────────────────────────────────────────── */
.bb-display {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 40px;
  line-height: 1.0;
  letter-spacing: -0.01em;
  color: var(--muted);
  margin: 0;
}
.bb-display em { font-style: italic; color: var(--fg); }
@media (min-width: 900px) {
  .bb-display {
    font-size: 64px;
    text-align: right;
    padding-right: 8%;
  }
}

.bb-body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--body-size);
  line-height: var(--body-leading);
  letter-spacing: 0.005em;
  color: var(--fg-soft);
  margin: 0 0 var(--block-gap);
  text-wrap: pretty;
}
.bb-body:last-child { margin-bottom: 0; }
.bb-body strong { color: var(--fg); font-weight: 500; }
.bb-body--center { text-align: center; }
.bb-body--em { color: var(--fg); }

.bb-pullquote {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg);
  text-align: center;
  margin: 48px auto 0;
  max-width: 880px;
}
@media (min-width: 900px) {
  .bb-pullquote { font-size: 18px; margin-top: 120px; }
}

.bb-intro-body { margin-top: 28px; }

.bb-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}
@media (min-width: 900px) {
  .bb-grid-2 {
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
  }
  .bb-intro-body { margin-top: 0; }
}

/* ─── Section heading ───────────────────────────────────────────────────── */
.bb-section-head {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: 24px;
  color: var(--muted);
  text-align: center;
  margin: 0;
  line-height: 1.3;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}
.bb-section-head em { font-style: italic; color: var(--fg); }
.bb-section-mark {
  height: 30px;
  width: auto;
  display: block;
}
@media (min-width: 900px) {
  .bb-section-head { font-size: 44px; gap: 14px; }
  .bb-section-mark { height: 56px; }
}

.bb-repertoire-intro,
.bb-repertoire-outro {
  max-width: 760px;
  margin: 36px auto 0;
  text-align: center;
}
.bb-repertoire-outro {
  margin-top: 56px;
  max-width: 880px;
}
.bb-repertoire-intro .bb-body--em {
  font-size: 18px;
  line-height: 1.55;
}
@media (min-width: 900px) {
  .bb-repertoire-intro { margin-top: 56px; }
  .bb-repertoire-outro { margin-top: 96px; }
  .bb-repertoire-outro .bb-body { text-align: left; }
  .bb-repertoire-intro .bb-body--em { font-size: 22px; }
}

/* ─── Song list ─────────────────────────────────────────────────────────── */
.bb-songlist {
  list-style: none;
  padding: 0;
  margin: 56px auto 0;
  max-width: 1000px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.bb-songlist > li { display: contents; }

.bb-song {
  position: relative;
  display: grid;
  /* Mobile: titolo (riga 1, sinistra) + autore (riga 2, sinistra) | play centrato a destra */
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 16px;
  row-gap: 4px;
  width: 100%;
  padding: 0 0 14px;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  filter: blur(6px);
  transition:
    opacity   700ms var(--ease) calc(var(--idx, 0) * 55ms),
    transform 700ms var(--ease) calc(var(--idx, 0) * 55ms),
    filter    700ms var(--ease) calc(var(--idx, 0) * 55ms);
}
.bb-song::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--hairline);
  transform: scaleX(0);
  transform-origin: left center;
  transition:
    transform 800ms var(--ease-io)  calc(var(--idx, 0) * 55ms + 80ms),
    background-color .4s ease       0ms;
}

.bb-songlist.is-visible .bb-song {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
.bb-songlist.is-visible .bb-song::after {
  transform: scaleX(1);
}

@media (hover: hover) and (pointer: fine) {
  .bb-song:hover::after { background: var(--fg-soft); }
}
.bb-song:focus-visible {
  outline: none;
}
.bb-song:focus-visible::after { background: var(--fg); }

/* Stagger index — inherited from <li> down to .bb-song and its ::after */
.bb-songlist > li:nth-child(1)  { --idx: 0;  }
.bb-songlist > li:nth-child(2)  { --idx: 1;  }
.bb-songlist > li:nth-child(3)  { --idx: 2;  }
.bb-songlist > li:nth-child(4)  { --idx: 3;  }
.bb-songlist > li:nth-child(5)  { --idx: 4;  }
.bb-songlist > li:nth-child(6)  { --idx: 5;  }
.bb-songlist > li:nth-child(7)  { --idx: 6;  }
.bb-songlist > li:nth-child(8)  { --idx: 7;  }
.bb-songlist > li:nth-child(9)  { --idx: 8;  }
.bb-songlist > li:nth-child(10) { --idx: 9;  }
.bb-songlist > li:nth-child(11) { --idx: 10; }
.bb-songlist > li:nth-child(12) { --idx: 11; }
.bb-songlist > li:nth-child(13) { --idx: 12; }
.bb-songlist > li:nth-child(14) { --idx: 13; }
.bb-songlist > li:nth-child(15) { --idx: 14; }
.bb-songlist > li:nth-child(16) { --idx: 15; }
.bb-songlist > li:nth-child(17) { --idx: 16; }
.bb-songlist > li:nth-child(18) { --idx: 17; }

.bb-song-title {
  grid-column: 1;
  grid-row: 1;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  color: var(--fg-soft);
  letter-spacing: 0.005em;
  text-align: left;
  min-width: 0;
  transition: color .35s ease;
}
.bb-song:focus-visible .bb-song-title { color: var(--fg); }
@media (hover: hover) and (pointer: fine) {
  .bb-song:hover .bb-song-title { color: var(--fg); }
}

/* Simbolo play — mobile: cerchio tap-friendly 44px a destra, centrato sulle due righe.
   Desktop: piccolo glifo nella colonna centrale (ripristinato nel media query). */
.bb-song-play {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  color: var(--fg-soft);
  transition: color .35s ease, border-color .35s ease, transform .35s var(--ease), background-color .35s ease;
}
.bb-song-play svg { width: 17px; height: 17px; }
.bb-song:focus-visible .bb-song-play { color: var(--fg); }
@media (hover: hover) and (pointer: fine) {
  .bb-song:hover .bb-song-play { color: var(--fg); transform: scale(1.18); }
}

.bb-song-artist {
  grid-column: 1;
  grid-row: 2;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: left;
  min-width: 0;
}
@media (min-width: 900px) {
  .bb-songlist { margin-top: 80px; }
  /* Desktop: ripristina il layout originale a 3 colonne */
  .bb-song {
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: auto;
    column-gap: 28px;
    row-gap: 0;
  }
  .bb-song-title  { grid-column: auto; grid-row: auto; text-align: right; font-size: 26px; }
  .bb-song-artist { grid-column: auto; grid-row: auto; font-size: 11px; white-space: nowrap; }
  .bb-song-play {
    grid-column: auto;
    grid-row: auto;
    align-self: auto;
    width: auto;
    height: auto;
    border: 0;
    border-radius: 0;
    color: var(--muted);
  }
  .bb-song-play svg { width: 12px; height: 12px; }
}

/* ─── Il Perché ────────────────────────────────────────────────────────── */
.bb-grid-perche {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}
@media (min-width: 900px) {
  .bb-grid-perche {
    grid-template-columns: 1fr 1fr;
    gap: 100px;
  }
}
.bb-perche-text { display: flex; flex-direction: column; gap: 28px; }
.bb-perche-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 48px;
  letter-spacing: 0.04em;
  color: var(--fg);
  margin: 0 0 8px;
}
@media (min-width: 900px) { .bb-perche-title { font-size: 68px; } }

.bb-portrait { margin: 0; }
.bb-portrait-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: repeating-linear-gradient(135deg, #1a1816 0 2px, #14120f 2px 14px);
  border: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.bb-portrait-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.bb-portrait-cap {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13px;
  color: var(--fg);
  letter-spacing: 0.02em;
  margin-top: 20px;
}
.bb-portrait-cap strong { font-weight: 500; }
.bb-muted { color: var(--muted); font-weight: 300; }

.bb-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 22px;
  line-height: 1.3;
  color: var(--fg);
  margin: 28px 0 0;
  padding-left: 24px;
  border-left: 1px solid var(--muted-2);
}
@media (min-width: 900px) {
  .bb-quote { font-size: 30px; padding-left: 32px; margin-top: 32px; }
}

/* ─── CTA + outro section ──────────────────────────────────────────────── */
.bb-cta-sect {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.bb-cta-text,
.bb-outro {
  max-width: 880px;
  margin: 0 auto;
  text-align: left;
}
.bb-outro { margin-top: 64px; }
@media (min-width: 900px) { .bb-outro { margin-top: 120px; } }

/* ─── CTA pill / form submit ───────────────────────────────────────────── */
.bb-cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 18px 36px;
  border: 1px solid var(--fg);
  color: var(--fg);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 400;
  position: relative;
  overflow: hidden;
  transition: color .45s ease, transform 160ms var(--ease);
  cursor: pointer;
}
.bb-cta:active {
  transform: scale(0.98);
  transition: color .45s ease, transform 80ms var(--ease);
}
@media (min-width: 900px) {
  .bb-cta { padding: 22px 56px; font-size: 13px; letter-spacing: 0.28em; gap: 18px; }
}
.bb-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--fg);
  transform: translateX(-101%);
  transition: transform .55s var(--ease);
  z-index: 0;
}
.bb-cta > * { position: relative; z-index: 1; }
.bb-cta:hover { color: var(--bg); }
.bb-cta:hover::before { transform: translateX(0); }
.bb-cta-arrow {
  display: inline-block;
  transition: transform .4s var(--ease);
}
.bb-cta:hover .bb-cta-arrow { transform: translateX(6px); }
.bb-cta[disabled] { opacity: .5; pointer-events: none; }

/* ─── Form ─────────────────────────────────────────────────────────────── */
.bb-form {
  margin: 64px auto 0;
  width: 100%;
  max-width: 720px;
  text-align: left;
  border-top: 1px solid var(--hairline);
  padding-top: 56px;
}
@media (min-width: 900px) { .bb-form { margin-top: 120px; padding-top: 96px; } }

.bb-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 36px;
}
@media (min-width: 900px) {
  .bb-form-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .bb-field--full { grid-column: 1 / -1; }
}

.bb-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bb-field-label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}
.bb-field-label em {
  font-style: normal;
  text-transform: none;
  letter-spacing: 0.05em;
  font-size: 10px;
  color: var(--muted-2);
  margin-left: 6px;
}
.bb-field input,
.bb-field select,
.bb-field textarea {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15px;
  color: var(--fg);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--muted-2);
  padding: 10px 0;
  width: 100%;
  transition: border-color .3s ease;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
}
.bb-field textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
  border: 1px solid var(--muted-2);
  padding: 14px 16px;
}
.bb-field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
                    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 14px) center, calc(100% - 8px) center;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 28px;
}
.bb-field option {
  background: var(--bg-2);
  color: var(--fg);
}
.bb-field input:focus,
.bb-field select:focus,
.bb-field textarea:focus {
  outline: none;
  border-color: var(--fg);
}
.bb-field input:invalid:not(:placeholder-shown),
.bb-field textarea:invalid:not(:placeholder-shown) {
  border-color: var(--error);
}

.bb-field--check {
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  color: var(--fg-soft);
  cursor: pointer;
}
.bb-field--check input {
  -webkit-appearance: none;
          appearance: none;
  width: 16px; height: 16px;
  flex: 0 0 auto;
  margin-top: 2px;
  border: 1px solid var(--muted);
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease;
}
/* Spuntata → quadrato bianco pieno, nessun segno di spunta */
.bb-field--check input:checked {
  background: var(--fg);
  border-color: var(--fg);
}
.bb-field--check input:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 2px;
}
@media (hover: hover) and (pointer: fine) {
  .bb-field--check:hover input:not(:checked) { border-color: var(--fg-soft); }
}
.bb-link {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bb-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.bb-cta--submit {
  display: flex;
  width: fit-content;
  margin: 0 auto;
}

.bb-form-status {
  margin: 24px 0 0;
  text-align: center;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--muted);
  min-height: 1.4em;
}
.bb-form-status.is-success { color: var(--success); }
.bb-form-status.is-error   { color: var(--error); }

/* ─── Footer ───────────────────────────────────────────────────────────── */
.bb-footer {
  margin-top: var(--section-gap);
  padding: 56px var(--col-pad) 32px;
  border-top: 1px solid var(--hairline);
}
@media (min-width: 900px) { .bb-footer { padding: 80px var(--col-pad) 48px; } }

.bb-footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.bb-footer-mark { opacity: .7; }
.bb-footer-logo {
  height: 30px;
  width: auto;
  display: block;
}
@media (min-width: 900px) {
  .bb-footer-logo { height: 40px; }
}

.bb-socials { display: flex; gap: 28px; }
.bb-social {
  color: var(--fg);
  opacity: .8;
  transition: opacity .25s ease, transform 220ms var(--ease);
  display: inline-flex;
}
.bb-social:hover { opacity: 1; transform: translateY(-2px); }
.bb-social:active {
  transform: translateY(-2px) scale(0.92);
  transition: opacity .25s ease, transform 100ms var(--ease);
}

.bb-legal {
  display: flex;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}
.bb-legal a {
  color: inherit;
  text-decoration: none;
  transition: color .25s ease;
}
.bb-legal a:hover { color: var(--fg); }
.bb-copy {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
  text-align: center;
}

/* ─── Reveal animations ────────────────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  filter: blur(4px);
  transition:
    opacity 650ms var(--ease),
    transform 650ms var(--ease),
    filter 650ms var(--ease);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ─── Video modal ──────────────────────────────────────────────────────── */
.bb-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, .82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 250ms var(--ease);
}
.bb-modal[hidden] { display: none; }
.bb-modal[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}

.bb-modal-inner {
  position: relative;
  width: 100%;
  max-width: 980px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  opacity: 0;
  transform: translateY(20px) scale(0.98);
  transition:
    opacity 360ms var(--ease-drawer),
    transform 460ms var(--ease-drawer);
}
.bb-modal[aria-hidden="false"] .bb-modal-inner {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.bb-modal-meta {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bb-modal-artist {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
.bb-modal-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.2;
  color: var(--fg);
  margin: 0;
  letter-spacing: 0.005em;
}
@media (min-width: 900px) {
  .bb-modal-artist { font-size: 11px; }
  .bb-modal-title  { font-size: 34px; }
}

.bb-modal-player {
  width: 100%;
  background: #000;
  border: 1px solid var(--hairline);
  overflow: hidden;
}
.bb-modal-player mux-player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  --media-object-fit: contain;
}

.bb-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--fg);
  border: 1px solid var(--hairline);
  border-radius: 50%;
  background: rgba(0, 0, 0, .4);
  opacity: .85;
  transition: opacity .25s ease, border-color .25s ease, transform 260ms var(--ease);
}
.bb-modal-close:hover,
.bb-modal-close:focus-visible {
  opacity: 1;
  border-color: var(--fg-soft);
  transform: rotate(90deg);
  outline: none;
}
.bb-modal-close:active {
  transform: rotate(90deg) scale(0.92);
  transition: opacity .25s ease, border-color .25s ease, transform 100ms var(--ease);
}
@media (min-width: 900px) {
  .bb-modal-close { top: 28px; right: 28px; width: 48px; height: 48px; }
}

/* Body scroll lock helper */
body.bb-modal-open { overflow: hidden; }

