/* AVO editorial refresh — inspired by the high-contrast, immersive visual language of the supplied reference. */
:root {
  --avo-black: #0b0b0a;
  --avo-dark: #11110f;
  --avo-surface: #171614;
  --avo-light: #f3efe6;
  --avo-white: #fffaf1;
  --avo-muted: #a7a198;
  --avo-border: rgba(243,239,230,.16);
  --avo-accent: #e66a43;
  --avo-accent-deep: #a8432c;
  --avo-gold-grad: linear-gradient(135deg, #f08a5d 0%, #e66a43 55%, #b74a32 100%);
  --avo-shadow: 0 24px 80px rgba(0,0,0,.34);
}

html { background: var(--avo-black); }
body { background: var(--avo-black); color: var(--avo-light); }
::selection { background: var(--avo-accent); color: #111; }
:focus-visible { outline-color: var(--avo-accent); }

.site-header.is-scrolled {
  background: rgba(11,11,10,.78);
  border-bottom-color: var(--avo-border);
}
.nav__logo img { filter: none; }
.nav__links a:hover,
.nav__links button:hover,
.nav__links a[aria-current='page'] { color: var(--avo-light); }

.section--tinted { background: rgba(255,255,255,.018); }
.section--bordered { border-color: var(--avo-border); }
.section-label .bar { background: var(--avo-border); }

.btn--solid {
  background: var(--avo-accent);
  color: #111;
  box-shadow: 0 14px 40px rgba(230,106,67,.16);
}
.btn--solid:hover { background: #f17b53; box-shadow: 0 18px 50px rgba(230,106,67,.28); }
.btn--ghost { border-color: rgba(230,106,67,.45); }
.btn--ghost:hover { border-color: var(--avo-accent); color: var(--avo-accent); }

.artist-reel { background: #090908; }
.artist-reel__video { background: #090908; }
.artist-reel__veil {
  background:
    linear-gradient(180deg, rgba(8,8,7,.48) 0%, rgba(8,8,7,.03) 35%, rgba(8,8,7,.14) 55%, rgba(8,8,7,.90) 100%),
    linear-gradient(90deg, rgba(8,8,7,.34), transparent 55%, rgba(8,8,7,.12));
}
.artist-reel__name { color: var(--avo-light); }
.artist-reel__name span { color: var(--avo-accent); }
.artist-reel__topline { color: rgba(243,239,230,.68); }
.artist-reel__arrow {
  border-color: rgba(243,239,230,.28);
  background: rgba(10,10,9,.32);
}
.artist-reel__arrow:hover { border-color: var(--avo-accent); color: var(--avo-accent); }
.artist-reel__dot { background: rgba(243,239,230,.28); }
.artist-reel__dot.is-active { background: var(--avo-accent); }
.artist-reel__scroll:hover { color: var(--avo-accent); }

/* Auto-slider progress indicator */
.artist-reel__progress {
  position: absolute;
  left: max(var(--gutter), 28px);
  right: max(var(--gutter), 28px);
  bottom: max(env(safe-area-inset-bottom), 18px);
  height: 1px;
  z-index: 8;
  background: rgba(243,239,230,.18);
  overflow: hidden;
}
.artist-reel__progress-bar {
  width: 0;
  height: 100%;
  background: var(--avo-accent);
  transform-origin: left center;
}
.artist-reel.is-paused .artist-reel__progress-bar { animation-play-state: paused; }
.artist-reel__slide.is-active .artist-reel__progress-bar { animation: reelProgress 6500ms linear forwards; }
@keyframes reelProgress { from { width: 0; } to { width: 100%; } }

/* Large editorial type — closer to the supplied reference */
.display,
.mobile-nav__links a,
.artist-reel__name { letter-spacing: -.045em; }
.display { line-height: .94; }
.h-lg { font-size: clamp(48px, 8vw, 132px); }
.h-xl { font-size: clamp(58px, 9.5vw, 150px); }

/* Stronger editorial rhythm on major content blocks */
.section { padding-block: clamp(78px, 10vw, 150px); }
.section-label { margin-bottom: clamp(28px, 4vw, 56px); }

@media (max-width: 767px) {
  .section { padding-block: 72px; }
  .artist-reel__progress { bottom: calc(16px + env(safe-area-inset-bottom)); }
  .artist-reel__controls { bottom: calc(32px + env(safe-area-inset-bottom)); }
  .artist-reel__scroll { display: none; }
  .artist-reel__name { font-size: clamp(48px, 16vw, 84px); }
  .display { line-height: .93; }
}

/* Text-free showreel: lighter veil (kept only for header legibility + control contrast) */
.artist-reel__veil {
  background:
    linear-gradient(180deg, rgba(5,8,18,.42) 0%, rgba(5,8,18,0) 26%, rgba(5,8,18,0) 62%, rgba(5,8,18,.62) 100%);
}
@media (max-width: 767px) {
  .artist-reel__veil {
    background:
      linear-gradient(180deg, rgba(5,8,18,.50) 0%, rgba(5,8,18,0) 28%, rgba(5,8,18,0) 60%, rgba(5,8,18,.68) 100%);
  }
}

/* ---------- Showreel hero block (CTA + meta over the video) ---------- */
.artist-reel__hero {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(max(env(safe-area-inset-bottom), 28px) + 46px);
  z-index: 8;
  pointer-events: none;
}
.artist-reel__hero > * { pointer-events: auto; }

.artist-reel__lede {
  max-width: 40ch;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.55;
  margin: 0;
  text-shadow: 0 2px 20px rgba(5, 8, 18, 0.5);
}
.artist-reel__hero .hero__actions { margin-top: 26px; }
.artist-reel__hero .hero__meta { margin-top: 30px; max-width: 640px; justify-content: flex-start; gap: 30px; }

.reel-sound,
.reel-scroll {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 0;
  padding: 0;
  color: var(--avo-muted);
  cursor: pointer;
  transition: color .3s ease;
}
.reel-sound:hover,
.reel-scroll:hover { color: var(--avo-light); }

/* Controls move to the right edge, clear of the hero copy */
@media (min-width: 768px) {
  .artist-reel__hero { padding-right: 210px; }
}

@media (max-width: 767px) {
  .artist-reel__hero {
    bottom: calc(max(env(safe-area-inset-bottom), 18px) + 78px);
  }
  .artist-reel__lede { font-size: 15px; max-width: none; }
  .artist-reel__hero .hero__actions { margin-top: 20px; }
  .artist-reel__hero .hero__meta {
    margin-top: 20px;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
  }
  .artist-reel__controls {
    left: var(--gutter, 20px);
    right: var(--gutter, 20px);
    bottom: calc(max(env(safe-area-inset-bottom), 18px) + 16px);
    justify-content: space-between;
  }
}

/* ---------- Showreel hero: mobile ---------- */

/* The fixed CTA bar duplicates the hero button and sits on top of the
   slider controls. Hide it while the reel is on screen. */
body.at-hero-reel .sticky-cta {
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
}

/* The bar itself never respected the iPhone home indicator. */
.sticky-cta { padding-bottom: calc(12px + env(safe-area-inset-bottom)); }

@media (max-width: 767px) {
  .artist-reel__hero {
    bottom: calc(max(env(safe-area-inset-bottom), 16px) + 74px);
    padding-right: var(--gutter);
  }
  .artist-reel__lede {
    font-size: 15px;
    line-height: 1.5;
    max-width: 30ch;
  }
  .artist-reel__hero .hero__actions {
    margin-top: 18px;
    flex-direction: row;
    gap: 10px;
  }
  /* Side by side, not stacked — stacking pushed the meta row off screen. */
  .artist-reel__hero .hero__actions .btn {
    flex: 1 1 0;
    min-width: 0;
    justify-content: center;
    padding: 14px 12px;
    font-size: 9px;
    letter-spacing: .14em;
    min-height: 46px;
  }
  .artist-reel__hero .hero__meta {
    margin-top: 16px;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
  }
  .artist-reel__hero .hero__meta .eyebrow { font-size: 8px; letter-spacing: .14em; }
  /* Comfortable tap target without changing the visual size */
  .reel-sound { min-height: 44px; }
  /* Same three-item meta row as desktop, just tighter */
  .reel-scroll { display: inline-flex; }

  .artist-reel__controls {
    left: auto;
    right: var(--gutter);
    bottom: calc(max(env(safe-area-inset-bottom), 16px) + 14px);
  }
  .artist-reel__progress {
    bottom: calc(max(env(safe-area-inset-bottom), 16px) - 2px);
  }
}

/* Short phones (SE, older Androids) — reclaim vertical space */
@media (max-width: 767px) and (max-height: 700px) {
  .artist-reel__lede { font-size: 14px; max-width: 26ch; }
  .artist-reel__hero .hero__actions { margin-top: 14px; }
  .artist-reel__hero .hero__meta { margin-top: 12px; }
}

@media (max-width: 360px) {
  .artist-reel__hero .hero__actions .btn { font-size: 8px; padding-inline: 8px; }
  .artist-reel__lede { font-size: 13.5px; }
}

/* Landscape phones: the reel has almost no height, so drop to CTAs only */
@media (max-width: 900px) and (orientation: landscape) and (max-height: 500px) {
  .artist-reel { min-height: 420px; }
  .artist-reel__lede { display: none; }
  .artist-reel__hero .hero__meta { display: none; }
  .artist-reel__hero { bottom: calc(max(env(safe-area-inset-bottom), 14px) + 12px); }
  .artist-reel__hero .hero__actions .btn { flex: 0 0 auto; }
}

/* ---------- Contact form + value list: mobile ---------- */
@media (max-width: 767px) {
  /* Artist chips: full-width taps rather than a cramped inline row */
  [data-artist-chips] { gap: 8px; }
  /* Two across on every phone; the last chip ("Recommend an artist")
     takes its own full-width row. */
  [data-artist-chips] .chip {
    flex: 1 1 calc(50% - 4px);
    min-width: 0;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px 10px;
    font-size: 13px;
    line-height: 1.25;
  }
  [data-artist-chips] .chip:last-child { flex-basis: 100%; }
}

@media (max-width: 767px) {
  .booking-form-submit--compact {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .booking-form-submit--compact .btn {
    width: 100%;
    justify-content: center;
    min-height: 52px;
  }
}

/* ==========================================================================
   SHOWREEL HERO — full viewport ladder
   Covers the gaps between the mobile (<=767) and desktop (>=768) rules above:
   tablet, the 768–1099 range where .sticky-cta is still on screen, and
   very large screens where the copy would otherwise sit in the far corner.
   ========================================================================== */

/* --- Tablet portrait 768–1023 --- */
@media (min-width: 768px) and (max-width: 1023px) {
  .artist-reel__hero {
    bottom: calc(max(env(safe-area-inset-bottom), 24px) + 68px);
    padding-right: 190px;
  }
  .artist-reel__lede { font-size: 17px; max-width: 36ch; }
  .artist-reel__hero .hero__actions { margin-top: 22px; gap: 12px; }
  .artist-reel__hero .hero__meta { margin-top: 24px; gap: 24px; }
  .artist-reel__controls { bottom: calc(max(env(safe-area-inset-bottom), 24px) + 12px); }
}

/* --- Tablet landscape / small laptop 1024–1099 ---
   .sticky-cta is still visible below 1100px, so keep clearing it. */
@media (min-width: 1024px) and (max-width: 1099px) {
  .artist-reel__hero {
    bottom: calc(max(env(safe-area-inset-bottom), 28px) + 64px);
  }
}

/* --- Desktop 1100–1439 --- */
@media (min-width: 1100px) and (max-width: 1439px) {
  .artist-reel__hero { padding-right: 230px; }
  .artist-reel__lede { max-width: 42ch; }
}

/* --- Large desktop 1440+ ---
   .wrap caps at --container, so the block stays with the rest of the grid
   instead of drifting to the screen edge. */
@media (min-width: 1440px) {
  .artist-reel__lede { font-size: 20px; max-width: 44ch; }
  .artist-reel__hero .hero__actions { margin-top: 30px; }
  .artist-reel__hero .hero__meta { margin-top: 34px; }
}

/* --- Ultra-wide 1920+ : cap growth so it never looks sparse --- */
@media (min-width: 1920px) {
  .artist-reel__lede { font-size: 21px; max-width: 46ch; }
}

/* --- Short desktop windows (laptops at 1280x720, split screens) --- */
@media (min-width: 1024px) and (max-height: 760px) {
  .artist-reel__lede { font-size: 16px; }
  .artist-reel__hero .hero__actions { margin-top: 20px; }
  .artist-reel__hero .hero__meta { margin-top: 22px; }
}

/* --- Any pointer-coarse device: no hover transforms, bigger targets --- */
@media (hover: none) and (pointer: coarse) {
  .valuelist__item:hover { transform: none; background: rgba(255,255,255,.018); }
  .artist-reel__arrow { min-width: 44px; min-height: 44px; }
}

/* ---------- Value list: full ladder ---------- */
@media (min-width: 768px) and (max-width: 1023px) {
  .valuelist { max-width: none; }
  .valuelist__item { padding: 16px 18px; }
}
@media (min-width: 1440px) {
  .valuelist { max-width: 50ch; }
  .valuelist__text b { font-size: 15px; }
  .valuelist__text em { font-size: 15px; }
}

/* ---------- Contact form: tablet ---------- */
@media (min-width: 768px) and (max-width: 1023px) {
  [data-artist-chips] .chip { flex: 1 1 calc(33.333% - 8px); justify-content: center; min-height: 50px; }
}

/* ---------- Phone: same composition as desktop ----------
   Left-aligned lede, both CTAs, full three-item meta row —
   scaled rather than restructured. */
@media (max-width: 767px) {
  .artist-reel__hero .hero__meta { justify-content: flex-start; }
  .artist-reel__hero .hero__meta .reel-scroll span { transform: translateY(1px); }
}

/* Very narrow: let the meta row wrap to two lines rather than shrink further */
@media (max-width: 400px) {
  .artist-reel__hero .hero__meta { gap: 6px 12px; }
  .artist-reel__hero .hero__meta .eyebrow { font-size: 7.5px; letter-spacing: .12em; }
}

/* Landscape phones keep the meta row too, just without the lede */
@media (max-width: 900px) and (orientation: landscape) and (max-height: 500px) {
  .artist-reel__hero .hero__meta { display: flex; margin-top: 12px; }
}
