/* ─────────────────────────────────────────────────────────────────────────
   Live Music — rebuilt to Ashton's mock-up (email 2026-07-25)
   navy hero → cream status band → soft-blue return band → line-up carousel
   → dashed info strip → navy closing CTA
   ───────────────────────────────────────────────────────────────────────── */

body[data-page="live-music"] {
  /* Pale marina blue for the italic hero/CTA lines — the mock's light blue.
     --c-marina itself is too dark to read as an accent on navy. */
  --lm-blue-light: color-mix(in oklch, var(--c-marina) 52%, var(--c-cream));
}

/* ── Hero ─────────────────────────────────────────────────────────────── */
.lm-hero {
  background: var(--c-navy);
  color: var(--fg-on-deep);
  --c-saffron: var(--c-cream);
  --c-on-saffron: var(--c-ink);
  position: relative;
  overflow: hidden;
}
.lm-hero .breadcrumbs {
  display: flex;
  gap: var(--s-2);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: color-mix(in oklch, var(--c-bone) 55%, transparent);
  margin-bottom: clamp(1.75rem, 3.5vw, 3rem);
}
.lm-hero .breadcrumbs a { color: inherit; text-decoration: none; }
.lm-hero .breadcrumbs a:hover { color: var(--c-clay); }
.lm-hero .breadcrumbs .sep { opacity: 0.5; }

.lm-hero .grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: stretch;
}
/* + var(--hh-h) on the top term for the Happy Hour ribbon (#239) — this hero
   is the most generous of the three and still lost 6-17px between 1024 and
   1200px. */
.lm-hero .text { padding-block: calc(clamp(6rem, 9vw, 8.5rem) + var(--hh-h)) clamp(3.5rem, 6vw, 5.5rem); }
.lm-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 1.4rem + 4.4vw, 5rem);
  line-height: 1.0;
  font-weight: 290;
  letter-spacing: -0.025em;
  font-variation-settings: 'opsz' 144, 'SOFT' 70, 'WONK' 1;
}
.lm-hero h1 em {
  font-style: italic;
  color: var(--lm-blue-light);
}
.lm-hero .rule {
  width: 3.25rem;
  height: 1px;
  background: var(--c-clay);
  margin-block: clamp(1.5rem, 3vw, 2.25rem);
}
.lm-hero .lead {
  font-size: 1rem;
  line-height: 1.75;
  max-width: 34ch;
  color: color-mix(in oklch, var(--c-cream) 88%, transparent);
}

.lm-facts {
  list-style: none;
  padding: 0;
  margin: clamp(1.75rem, 3.5vw, 2.75rem) 0 0;
  display: grid;
  gap: var(--s-4);
}
.lm-facts li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.98rem;
  color: var(--c-cream);
}
.lm-facts svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  color: var(--c-clay);
}

.lm-hero .photo { position: relative; min-height: clamp(20rem, 52vw, 100%); }
.lm-hero .photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}
/* Photo dissolves into the navy on its left edge, as in the mock-up. The
   second layer is a scrim under the fixed topbar so the nav stays legible
   where the photo runs bright. */
.lm-hero .photo::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, color-mix(in oklch, var(--c-navy) 80%, transparent), transparent 26%),
    linear-gradient(90deg, var(--c-navy), color-mix(in oklch, var(--c-navy) 35%, transparent) 22%, transparent 46%);
}
/* Release the wrap's right edge so the photo bleeds to the viewport, while the
   text column keeps its measure (same trick as About and the Menu hero).
   Gated at the stack point, not at --col-max: the wrap carries a right gutter
   at every width, so the old `min-width: 1377px` left 881-1376px showing a navy
   strip one gutter wide down the right edge (#265). The max() collapses to the
   gutter below 1376px and to the centring calc above it. Not unconditional,
   because below 881px the photo cancels the gutters with negative margins and a
   0 right padding then runs it past the viewport, clipped by overflow:hidden. */
@media (min-width: 881px) {
  .lm-hero .wrap {
    max-width: none;
    padding-inline: max(var(--gutter), calc((100vw - var(--col-max)) / 2 + var(--gutter))) 0;
  }
}
@media (max-width: 880px) {
  .lm-hero .grid { grid-template-columns: 1fr; }
  .lm-hero .photo {
    min-height: 62vw;
    order: -1;
    margin-inline: calc(var(--gutter) * -1);
  }
  .lm-hero .photo::before { background: linear-gradient(0deg, var(--c-navy), transparent 45%); }
  /* The photo moves above the copy and runs under the fixed topbar, as on
     the About hero — so the breadcrumb needs no extra top clearance. */
  .lm-hero .text { padding-block: clamp(2rem, 6vw, 3rem) clamp(3rem, 8vw, 4.5rem); }
  .lm-hero .breadcrumbs { margin-bottom: var(--s-4); }
}

/* ── Programme status band ────────────────────────────────────────────── */
.lm-status {
  background: var(--bg);
  border-block: 1px solid var(--line-soft);
  padding-block: clamp(2.5rem, 5vw, 3.75rem);
  text-align: center;
}
.lm-status__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.5rem, 6vw, 5rem);
}
.lm-status__ornament {
  flex: 0 0 auto;
  width: clamp(30px, 3.6vw, 46px);
  aspect-ratio: 1;
  background: color-mix(in oklch, var(--c-azul) 72%, transparent);
  -webkit-mask: url('/assets/img/ornament-zellige.svg?v=20260727-1') no-repeat center / contain;
          mask: url('/assets/img/ornament-zellige.svg?v=20260727-1') no-repeat center / contain;
}
.lm-status__copy { flex: 0 1 auto; }
.lm-status .eyebrow { justify-content: center; }
.lm-status h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 1.2rem + 2.4vw, 3rem);
  font-weight: 320;
  line-height: 1.1;
  letter-spacing: -0.015em;
  font-variation-settings: 'opsz' 96, 'SOFT' 40;
  margin-top: var(--s-3);
}
.lm-status h2 em { font-style: italic; }
.lm-status p {
  margin-top: var(--s-3);
  color: var(--fg-soft);
  font-size: 1rem;
}
@media (max-width: 700px) {
  .lm-status__ornament { display: none; }
}

/* ── Return band — soft blue, photo left / copy right ─────────────────── */
.lm-return {
  position: relative;
  overflow: hidden;
  background: var(--bg-sky);
  padding-block: clamp(3rem, 6vw, 5rem);
}
/* Palm line-art watermark, far right — decorative only */
.lm-return__illo {
  position: absolute;
  right: clamp(-2rem, 1vw, 2rem);
  bottom: 0;
  width: clamp(14rem, 22vw, 22rem);
  aspect-ratio: 420 / 400;
  background: color-mix(in oklch, var(--c-marina) 34%, transparent);
  -webkit-mask: url('/assets/img/illo-palms.svg?v=20260727-2') no-repeat bottom right / contain;
          mask: url('/assets/img/illo-palms.svg?v=20260727-2') no-repeat bottom right / contain;
  pointer-events: none;
}
.lm-return .wrap { position: relative; z-index: 1; }
.lm-return .grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.lm-return .photo {
  margin: 0;
  overflow: hidden;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-1);
  aspect-ratio: 4 / 3;
  max-width: 26rem;
}
.lm-return .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
  display: block;
}
.lm-return .rule {
  width: 2.75rem;
  height: 1px;
  background: var(--c-clay);
  margin-top: var(--s-4);
}
.lm-return h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.3rem + 2.8vw, 3.4rem);
  font-weight: 310;
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-variation-settings: 'opsz' 96, 'SOFT' 40;
  margin-top: var(--s-5);
}
.lm-return p {
  margin-top: var(--s-5);
  max-width: 42ch;
  color: var(--fg-soft);
  font-size: 1.02rem;
  line-height: 1.65;
}
.lm-return__cta { margin-top: clamp(1.75rem, 3.5vw, 2.5rem); }
@media (max-width: 880px) {
  .lm-return .grid { grid-template-columns: 1fr; }
  .lm-return .photo { max-width: none; }
  .lm-return__illo { opacity: 0.6; width: 12rem; }
}

/* ── Line-up ──────────────────────────────────────────────────────────── */
.lm-lineup {
  background: var(--bg);
  padding-block: clamp(3.5rem, 7vw, 6rem);
}
.lm-lineup__head { text-align: center; }
.lm-lineup__head .eyebrow { justify-content: center; }
.lm-lineup__head h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.3rem + 2.8vw, 3.4rem);
  font-weight: 310;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-variation-settings: 'opsz' 96, 'SOFT' 40;
  margin-top: var(--s-3);
}

/* Carousel: a native scroll-snap track with arrows either side. Arrows step
   one card; they disable themselves when the track has nothing to scroll,
   so the section works with any number of acts. */
.lm-carousel {
  margin-top: clamp(2rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(0.5rem, 2vw, 1.5rem);
}
.lm-carousel__arrow {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--fg);
  cursor: pointer;
  transition: background-color var(--d-base) var(--ease-out-expo),
              border-color var(--d-base) var(--ease-out-expo),
              opacity var(--d-base) var(--ease-out-expo);
}
.lm-carousel__arrow svg { width: 18px; height: 18px; }
.lm-carousel__arrow:hover:not(:disabled) {
  background: var(--c-azul);
  border-color: var(--c-azul);
  color: var(--c-bone);
}
.lm-carousel__arrow:disabled { opacity: 0.25; cursor: default; }

.lm-carousel__track {
  list-style: none;
  margin: 0;
  padding: 0.25rem 0 var(--s-4);
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * var(--s-5)) / 4);
  gap: var(--s-5);
  /* Cards sit centred whatever the count — the track is sized for four, so
     three would otherwise hug the left and leave a hole on the right.
     "safe" drops back to start-alignment once they overflow, which keeps the
     first card reachable instead of clipping it off the scrollable edge. */
  justify-content: safe center;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.lm-carousel__track::-webkit-scrollbar { display: none; }
@media (prefers-reduced-motion: reduce) {
  .lm-carousel__track { scroll-behavior: auto; }
}

/* The track stretches every card to the tallest, so the card itself has to
   pass that height down — otherwise a two-line artist name leaves the shorter
   cards' bodies ending early. Photo is fixed-ratio, body takes the rest. */
.lm-act {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
}
.lm-act__photo {
  flex: 0 0 auto;
  /* 3:2, matching the mock's landscape photo wells (and the crops taken
     from it) — a square well cropped the compositions in half. */
  aspect-ratio: 3 / 2;
  margin: 0;
  overflow: hidden;
  border-radius: var(--r-md) var(--r-md) 0 0;
  background: var(--c-charcoal);
}
.lm-act__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(1) contrast(1.05);
}
.lm-act__body {
  flex: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-content: start;
  gap: 0 var(--s-4);
  padding: var(--s-5);
  background: color-mix(in oklch, var(--c-shell) 55%, var(--c-bone));
  border: 1px solid var(--line-soft);
  border-top: 0;
  border-radius: 0 0 var(--r-md) var(--r-md);
}
/* "Can we make the actual date more prominent on each artist card rather than
   just showing 'Sun / Sep'? For example: SUN 6 SEP." — Ashton, 2026-08-08.
   The day-of-month is now the display numeral and the weekday and month sit
   above and below it, so the badge reads SUN 6 SEP top to bottom. Which act
   plays which Sunday is still unconfirmed — see the note on the page. */
.lm-act__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  color: var(--c-clay-text);
}
.lm-act__date b {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(2rem, 2.8vw, 2.6rem);
  font-weight: 400;
  font-variation-settings: 'opsz' 60, 'SOFT' 50, 'WONK' 1;
}
.lm-act__dow,
.lm-act__mon {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.lm-act__dow { margin-bottom: 0.35rem; }
.lm-act__mon { margin-top: 0.35rem; }
.lm-act__meta h3 {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.4vw, 1.3rem);
  font-weight: 400;
  font-variation-settings: 'opsz' 48, 'SOFT' 30;
  line-height: 1.15;
}
.lm-act__genre {
  margin-top: var(--s-3);
  font-size: 0.9rem;
  color: var(--fg-soft);
}
.lm-act__time {
  margin-top: var(--s-2);
  font-size: 0.9rem;
  color: var(--fg-mute);
}

/* The Spotify preview player lived here. Removed 2026-08-02 — Ashton
   confirmed none of the performers have Spotify. */
@media (max-width: 1080px) {
  .lm-carousel__track { grid-auto-columns: calc((100% - 2 * var(--s-5)) / 3); }
}
@media (max-width: 880px) {
  .lm-carousel { grid-template-columns: minmax(0, 1fr); }
  .lm-carousel__arrow { display: none; }
  .lm-carousel__track {
    grid-auto-columns: 72%;
    margin-inline: calc(var(--gutter) * -1);
    /* Inset by one gap width, matching the signature-dish carousel on home.
       scroll-padding is required — snap-align: start cancels plain padding. */
    padding-inline: var(--s-5);
    scroll-padding-inline: var(--s-5);
  }
}
@media (max-width: 560px) {
  .lm-carousel__track { grid-auto-columns: 82%; }
}

/* ── Dashed info strip ────────────────────────────────────────────────── */
.lm-strip {
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  padding: var(--s-4) var(--s-5);
  border: 1px dashed color-mix(in oklch, var(--c-clay) 65%, transparent);
  border-radius: var(--r-md);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--s-3) clamp(1rem, 3vw, 2.5rem);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-soft);
}
.lm-strip__item {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.lm-strip__item svg { width: 17px; height: 17px; color: var(--c-clay); }
.lm-strip__item b { font-weight: 500; margin-left: 0.5rem; }
.lm-strip__sep {
  width: 1px;
  height: 1.4rem;
  background: var(--line);
}
@media (max-width: 700px) {
  .lm-strip__sep { display: none; }
}

/* ── Closing CTA — navy, copy left / photo right ──────────────────────── */
/* Soft blue since 2026-08-13: "could we change the dark navy colour block to
   the light baby blue used elsewhere on the site?" (Ashton). --bg-sky is the
   token .lm-return already uses further up this page, and it resolves to the
   same --c-blue-soft as the /menu colour blocks — so "elsewhere on the site"
   and "elsewhere on this page" are the same colour.

   Turning it light is four coupled edits, not one:
     · .lm-day comes OUT of the dark-section list in tokens.css, or --c-saffron,
       --c-azul and --c-clay-text all resolve to cream on #D9E4EC
     · the inline --c-saffron/--c-on-saffron flip that duplicated it goes too
     · h2 em, p and the photo's edge gradients were all keyed to navy
     · the CTA moves from .btn--ghost to .btn--ink, which is what .lm-return
       uses for the same reason */
.lm-day {
  background: var(--bg-sky);
  color: var(--fg);
  position: relative;
  overflow: hidden;
}
.lm-day .grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.lm-day .text { padding-block: clamp(3.5rem, 7vw, 6rem); }
.lm-day h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.3rem + 2.8vw, 3.4rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-variation-settings: 'opsz' 96, 'SOFT' 60;
  margin-top: var(--s-4);
}
/* --lm-blue-light is marina mixed toward cream, built to sit on navy; on soft
   blue it is near-invisible. The client navy is the accent on light grounds. */
.lm-day h2 em { font-style: italic; color: var(--c-azul); }
.lm-day p {
  margin-top: var(--s-5);
  max-width: 38ch;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--fg-soft);
}
.lm-day .cta-row { margin-top: clamp(1.75rem, 3.5vw, 2.5rem); }
.lm-day .photo { position: relative; align-self: stretch; min-height: clamp(16rem, 34vw, 100%); }
.lm-day .photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Holds the guests' heads. The cell is narrower than the 4:3 source on
     desktop, so `cover` crops horizontally there and this Y does nothing; below
     880px the cell becomes 375x215 against a 375x281 scaled source and the crop
     flips to vertical, where a centred 33px trim off the top took the heads
     (they sit 30px down). 32% keeps them and gives up the shoes instead. */
  object-position: 50% 32%;
}
/* The band colour on both edges, so the photo sits in the middle of the band
   rather than butting against it — exactly as the mock-up has it. Reads off
   --bg-sky rather than naming a colour, so the two cannot drift apart again. */
.lm-day .photo::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, var(--bg-sky), color-mix(in oklch, var(--bg-sky) 30%, transparent) 24%, transparent 48%),
    /* The right-hand veil reached 22% and washed over the guest standing at
       that edge of Ashton's photo — she asked for this frame positioned "so you
       can see the best part of the photo properly", and the group sits at 78%
       of it, which no object-position can pull clear (the box only overflows
       the source by 91px). Shortened to 10%, which still lands the photo inside
       the band instead of butting against it. The left-hand veil is untouched
       at 48%: that edge faces the copy and has only water behind it. */
    linear-gradient(270deg, var(--bg-sky), color-mix(in oklch, var(--bg-sky) 40%, transparent) 3%, transparent 10%);
}
/* Zellige lattice over that right-hand edge, as in the mock-up.

   MASKED, NOT DRAWN. pattern-zellige.svg strokes itself in #ffffff at 0.55
   opacity — it was written to overlay marina blue. Painted as a background on
   the soft blue this band became on 2026-08-13 it is white on #D9E4EC, 1.29:1
   before the layer opacity, so the lattice simply vanished. Masking a navy fill
   puts the pattern on in the brand colour instead.

   This is the third time the same SVG has needed it: .menu-values::before and
   the /menu endnote band both carry the identical fix, both for the same
   reason. Anything that puts this file on a light ground needs it too.

   Two mask layers, intersected: the pattern, and the edge fade that keeps the
   lattice off the guest standing at the right of Ashton's photo (pulled in from
   76% to 88% for that reason, alongside the veil above). */
.lm-day__zellige {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-color: var(--c-azul);
  -webkit-mask-image: url('/assets/img/pattern-zellige.svg'), linear-gradient(90deg, transparent 88%, #000 99%);
          mask-image: url('/assets/img/pattern-zellige.svg'), linear-gradient(90deg, transparent 88%, #000 99%);
  -webkit-mask-repeat: repeat, no-repeat;
          mask-repeat: repeat, no-repeat;
  -webkit-mask-size: 150px, 100% 100%;
          mask-size: 150px, 100% 100%;
  -webkit-mask-composite: source-in;
          mask-composite: intersect;
  opacity: 0.16;
  pointer-events: none;
}
/* Same right-edge bleed as .lm-hero above, gated at the stack point rather than
   at --col-max for the same reason — see that block (#265). */
@media (min-width: 881px) {
  .lm-day .wrap {
    max-width: none;
    padding-inline: max(var(--gutter), calc((100vw - var(--col-max)) / 2 + var(--gutter))) 0;
  }
}
@media (max-width: 880px) {
  .lm-day .grid { grid-template-columns: 1fr; }
  .lm-day .photo {
    min-height: 55vw;
    margin-inline: calc(var(--gutter) * -1);
  }
  .lm-day .photo::before { background: linear-gradient(0deg, var(--bg-sky), transparent 55%); }
  .lm-day .text { padding-block: clamp(3rem, 8vw, 4rem) clamp(2rem, 5vw, 3rem); }
}


/* ── Book Sunday lunch, under the line-up ────────────────────────────── */
.lm-lineup__cta {
  display: flex;
  justify-content: center;
  margin-top: clamp(2rem, 4vw, 3rem);
}

/* ── Play at Azul — musician enquiries (Ashton, 2026-08-08) ──────────────
   Deliberately quiet and small: it sits between the navy closing CTA and the
   footer, and is addressed to performers rather than guests, so it must not
   compete with "Book a table" directly above it. Cream on the page's own
   light ground, centred, no card. */
.lm-play {
  background: var(--c-cream);
  padding-block: clamp(3rem, 6vw, 4.5rem);
  text-align: center;
}
.lm-play .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-3);
}
.lm-play h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 360;
  line-height: 1.1;
}
.lm-play h2 em { font-style: italic; color: var(--c-azul); }
.lm-play p {
  max-width: 42ch;
  color: var(--fg-soft);
}
.lm-play .link-arrow { margin-top: var(--s-3); }
