/* ============================================================
   F1 Performance × La Mamawhiski — collab page + homepage teaser.
   Reuses design tokens, fonts, .btn*, and .gallery-* from style.css.
   ============================================================ */

/* ── Standalone page shell ─────────────────────────────────── */
.collab-body { background: var(--color-bg); color: var(--color-text); font-family: var(--font-body); }

.collab-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.85rem clamp(1.25rem, 5vw, 3rem);
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-glass-border);
}
.collab-brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.collab-brand img { height: 1.5rem; width: auto; filter: drop-shadow(0 0 6px rgba(var(--color-gold-rgb), 0.4)); }
.collab-brand span {
  font-family: var(--font-heading); font-weight: 600; font-size: 1.05rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55);
}

/* ── Hero ──────────────────────────────────────────────────── */
.collab-hero { position: relative; overflow: hidden; padding: clamp(2.5rem, 6vw, 5rem) clamp(1.25rem, 5vw, 3rem) clamp(3rem, 7vw, 6rem); }
.collab-hero__backdrop {
  position: absolute; inset: 0; z-index: 0;
  background: url('images/collab/backdrop.jpg') center/cover no-repeat;
  filter: blur(26px) brightness(0.4) saturate(1.1); transform: scale(1.15);
}
.collab-hero__backdrop::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 40%, rgba(11, 11, 11, 0.25), rgba(11, 11, 11, 0.88));
}
.collab-hero__inner {
  position: relative; z-index: 1; max-width: 1150px; margin-inline: auto;
  display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: center;
}
@media (min-width: 880px) { .collab-hero__inner { grid-template-columns: 1.05fr 0.95fr; } }

.collab-eyebrow {
  font-family: var(--font-heading); font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--color-gold); margin: 0 0 1rem;
}
.collab-lockup {
  font-family: var(--font-display); font-weight: 800; line-height: 0.92;
  text-transform: uppercase; letter-spacing: 0.01em; margin: 0 0 1.25rem;
  font-size: clamp(2.6rem, 7vw, 5rem);
}
.collab-lockup .amp { color: var(--color-gold); display: inline-block; margin: 0 0.08em; }
.collab-hero__sub { font-size: clamp(1rem, 2vw, 1.2rem); line-height: 1.7; color: var(--color-text-2, #CCC); max-width: 46ch; margin: 0 0 2rem; }
.collab-hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ── Reel player (vertical 9:16) ──────────────────────────── */
.collab-reel {
  position: relative; width: 100%; max-width: 360px; margin-inline: auto;
  aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; background: #000;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--color-glass-border);
}
.collab-reel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; cursor: pointer; }
.collab-reel__sound {
  position: absolute; z-index: 2; bottom: 14px; right: 14px; width: 44px; height: 44px;
  border: none; border-radius: 50%; background: rgba(0, 0, 0, 0.55); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background 0.2s ease;
}
.collab-reel__sound:hover, .collab-reel__sound:focus-visible { background: rgba(0, 0, 0, 0.85); }
.collab-reel .snd-on { display: none; }
.collab-reel:not(.is-muted) .snd-on { display: inline; }
.collab-reel:not(.is-muted) .snd-off { display: none; }
.collab-reel__play {
  position: absolute; z-index: 2; inset: 0; margin: auto; width: 76px; height: 76px;
  border: none; border-radius: 50%; background: rgba(204, 20, 28, 0.92); color: #fff; cursor: pointer;
  display: none; align-items: center; justify-content: center; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}
.collab-reel.is-paused .collab-reel__play { display: flex; }

/* ── Story ─────────────────────────────────────────────────── */
.collab-story { max-width: 760px; margin-inline: auto; padding: clamp(3rem, 7vw, 5.5rem) clamp(1.25rem, 5vw, 2rem); text-align: center; }
.collab-story h2 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1; margin: 0.6rem 0 1.4rem; }
.collab-story p { font-size: 1.05rem; line-height: 1.8; color: var(--color-text-2, #CCC); margin: 0 auto 1.3rem; max-width: 60ch; }
.collab-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin-top: 2rem; }
.collab-chip {
  font-family: var(--font-heading); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--color-text); padding: 0.5rem 1rem;
  border: 1px solid rgba(var(--color-gold-rgb), 0.4); border-radius: var(--radius-pill, 999px);
  background: rgba(var(--color-gold-rgb), 0.06);
}

/* ── Process video section ─────────────────────────────────── */
.collab-process { max-width: 760px; margin-inline: auto; text-align: center; padding: clamp(1.5rem, 4vw, 3rem) clamp(1.25rem, 5vw, 2rem) clamp(3rem, 7vw, 5rem); }
.collab-process .collab-section-head { margin-bottom: clamp(1.5rem, 4vw, 2.5rem); }
.collab-process .note { color: var(--color-text-2, #CCC); max-width: 46ch; margin: 1.6rem auto 0; line-height: 1.7; }

/* ── Gallery (reuses .gallery-grid / .gallery-item) ────────── */
.collab-gallery { padding: clamp(1rem, 3vw, 2rem) clamp(1.25rem, 5vw, 2rem) clamp(3rem, 7vw, 5rem); max-width: 1100px; margin-inline: auto; }
.collab-section-head { text-align: center; margin: 0 auto clamp(1.5rem, 4vw, 2.5rem); }
.collab-section-head .collab-eyebrow { margin-bottom: 0.5rem; }
.collab-section-head h2 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.8rem, 4.5vw, 2.8rem); margin: 0; }

/* ── Credit / cross-link ───────────────────────────────────── */
.collab-credit { text-align: center; padding: clamp(2.5rem, 6vw, 4rem) 1.25rem; border-top: 1px solid var(--color-divider, rgba(255, 255, 255, 0.08)); }
.collab-credit .label { color: var(--color-text-muted); margin: 0 0 0.6rem; letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.8rem; }
.collab-credit a.handle { font-family: var(--font-display); font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; text-transform: uppercase; color: var(--color-text); text-decoration: none; }
.collab-credit a.handle:hover, .collab-credit a.handle:focus-visible { color: var(--color-gold-bright); }
.collab-credit .ig-link { display: inline-block; margin-top: 1rem; color: var(--color-gold-bright); text-decoration: none; font-weight: 600; letter-spacing: 0.04em; }
.collab-credit .ig-link:hover { text-decoration: underline; }

/* ── CTA band ──────────────────────────────────────────────── */
.collab-cta { text-align: center; padding: clamp(3rem, 7vw, 5rem) 1.25rem; background: linear-gradient(180deg, rgba(var(--color-gold-rgb), 0.12), rgba(11, 11, 11, 0)); border-top: 1px solid rgba(var(--color-gold-rgb), 0.25); }
.collab-cta h2 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1; margin: 0 0 1.5rem; }

/* ── Homepage teaser (#collab) ─────────────────────────────── */
.collab-teaser { position: relative; overflow: hidden; }
.collab-teaser__bg { position: absolute; inset: 0; background: url('images/collab/build-4.jpg') center/cover no-repeat; filter: brightness(0.42); }
.collab-teaser__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 11, 11, 0.92), rgba(11, 11, 11, 0.5)); }
.collab-teaser__inner { position: relative; z-index: 1; max-width: var(--container-max, 1200px); margin-inline: auto; padding: clamp(3rem, 7vw, 5.5rem) clamp(1.25rem, 5vw, 3rem); }
.collab-teaser__tag { font-family: var(--font-heading); letter-spacing: 0.3em; text-transform: uppercase; color: var(--color-gold); font-size: 0.8rem; font-weight: 600; margin: 0 0 1rem; }
.collab-teaser__title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; line-height: 0.95; font-size: clamp(2.2rem, 6vw, 4rem); margin: 0 0 1rem; max-width: 20ch; }
.collab-teaser__title .amp { color: var(--color-gold); }
.collab-teaser p { color: var(--color-text-2, #CCC); max-width: 48ch; line-height: 1.7; margin: 0 0 2rem; }

@media (prefers-reduced-motion: reduce) {
  .collab-hero__backdrop { transform: none; }
}
