/* ─────────────────────────────────────────────────────────────────────────
   Home page — cinematic, scroll-driven, type-led
   ───────────────────────────────────────────────────────────────────────── */

/* ── Scroll-driven Hero (manlyboathire-style) ─────────────────────────── */
.scroll-hero {
  position: relative;
  /* Scroll distance: enough room for the content phases to breathe, not so
     much that users feel they're scrolling forever. Roughly one viewport per
     phase — it was 280vh for three, and is 200vh since Ashton cut the hero to
     two messages on 2026-08-08. Re-tune it if a phase is ever added back. */
  height: 200vh;
  background: var(--bg-night);
  color: var(--c-bone);
}
/* Mobile cycles the phases on a timer instead of scroll, so the stage
   collapses to a single viewport height. No scroll dead-zone. */
@media (max-width: 880px) { .scroll-hero { height: 100vh; } }
@media (max-width: 480px) { .scroll-hero { height: 100vh; } }
.scroll-hero__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100lvh;        /* large viewport — always at least visible viewport, covers iOS chrome */
  overflow: hidden;
  isolation: isolate;
  contain: layout paint;
}
/* DO NOT add overflow:hidden to .scroll-hero — it creates a scroll container
   that breaks position:sticky on the child. The sticky needs the page itself
   as its nearest scroll ancestor. */

/* How much of a 100lvh hero the browser chrome covers.
   `lvh` is the viewport measured with the bars retracted, `svh` with them
   showing, and both are static — so their difference is exactly the height of
   the chrome, whatever state it is currently in. Anything positioned from the
   bottom of this hero is that far under the browser bar while the bars show,
   which is what hid the "Read the menu" button on iOS Chrome.
   Zero on desktop, so no media query is needed. */
.scroll-hero { --chrome-inset: 0px; }
@supports (height: 100svh) {
  .scroll-hero { --chrome-inset: calc(100lvh - 100svh); }
}
/* max(), not a sum: when the bars are hidden the chrome inset is still the full
   bar height while the home indicator wants its own 34px, and adding both
   floats the buttons a long way up. Clear whichever is larger.

   --cookie-h joins them for the same reason they are here — it is bottom-edge
   space the rail cannot use. main.js publishes it only while the consent banner
   is showing and removes it on dismissal, so the 0px fallback is what almost
   every visit gets and the rail sits exactly where it always has. Without it
   the banner covered "Reserve a table" on first visit (#255); shrinking the
   banner was not enough on its own, because the rail and a bottom-pinned
   banner want the same band of the screen whatever height it is. */
.scroll-hero {
  --bottom-safe: max(var(--chrome-inset), env(safe-area-inset-bottom, 0px), var(--cookie-h, 0px));
}
@supports (height: 100lvh) {
  .scroll-hero { height: calc(280 * 1lvh); }
  @media (max-width: 880px) { .scroll-hero { height: 100lvh; } }
  @media (max-width: 480px) { .scroll-hero { height: 100lvh; } }
}

/* Background media layer */
.scroll-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.scroll-hero__bg img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Bias the crop low: the restaurant, deck and beach sit in the lower half
     of the aerial. Centring it would fill the frame with empty marina. */
  object-position: center 62%;
  /* Force GPU compositing layer so the drift doesn't cascade layout work. */
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform;
}
/* One frame per phase, cross-fading on the phase change. Only the active one
   is opaque; they are stacked, so the outgoing frame is still painted through
   the fade and there is no flash of the gradient fallback between them.
   `.is-active` is set from main.js off the same index that drives the phases. */
.scroll-hero__frame {
  opacity: 0;
  transition: opacity 900ms var(--ease-out-expo);
}
.scroll-hero__frame.is-active { opacity: 1; }

/* Keep the bride in frame on portrait viewports.

   The celebration still is a wide ceremony shot with the couple a third of the
   way in from the left — the bride sits at 30.9%—34.3% of the image width, the
   whole group at 25%—34.5%. `cover` crops horizontally once the viewport goes
   portrait, and a centred crop on a 390x844 phone shows only 34.9%—65.1%: she
   lands just off the left edge and the phase reads as backs of heads. 28% holds
   the whole group with ~4% of margin at every phone width down to 320, and
   survives the ken-burns drift, whose 1.08 scale takes another 1.5% off each
   side. Vertical stays at 62% — irrelevant in portrait, where there is no
   vertical overflow, but a landscape phone still needs it.

   Aspect query rather than the usual max-width, because the trigger is geometry:
   horizontal object-position does nothing above the image's own 3:2, where
   there is no horizontal overflow, and the hero box is 100vw x 100lvh so
   viewport aspect is box aspect. 4/5 rather than the 5/7 where the bride herself
   starts to go — between the two (tablet portrait, 768x1024) she survives a
   centred crop but the groom and celebrant beside her do not, clipping 8px at
   the start of the drift and 40px at the end. */
@media (max-aspect-ratio: 4 / 5) {
  .scroll-hero__bg img[data-phase-bg="1"] { object-position: 28% 62%; }
}

/* Slow ken-burns push on the stills — keeps a frame alive under the scroll
   phases without asking the user to wait on video. */
@media (prefers-reduced-motion: no-preference) {
  .scroll-hero__bg img {
    animation: heroDrift 32s ease-in-out infinite alternate;
  }
}
@keyframes heroDrift {
  from { transform: translate3d(0, 0, 0) scale(1.02); }
  to   { transform: translate3d(-1.2%, -0.8%, 0) scale(1.08); }
}
.scroll-hero__bg .scroll-hero__fallback {
  z-index: -1;
  background:
    radial-gradient(70% 60% at 75% 12%, color-mix(in oklch, var(--c-saffron) 45%, transparent), transparent 55%),
    radial-gradient(60% 50% at 18% 80%, color-mix(in oklch, var(--c-clay) 40%, transparent), transparent 60%),
    linear-gradient(180deg, var(--c-navy-2) 0%, var(--c-navy) 60%, color-mix(in oklch, var(--c-navy) 80%, black) 100%);
}
.scroll-hero__veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg,
      rgba(11,22,40,0.55) 0%,
      rgba(11,22,40,0.05) 22%,
      rgba(11,22,40,0.05) 60%,
      rgba(11,22,40,0.75) 100%);
  pointer-events: none;
}

/* Phase content layer — headings only.
   CTAs live in a separate persistent rail below the phases. */
.scroll-hero__content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  align-items: end;
  padding:
    clamp(7rem, 13vh, 11rem)
    var(--gutter)
    /* leave room for the CTA rail underneath, which is itself lifted clear
       of the browser chrome */
    calc(clamp(11rem, 22vh, 16rem) + var(--bottom-safe));
  pointer-events: none;
}
@media (max-width: 720px) {
  .scroll-hero__content {
    padding:
      clamp(6rem, 14vh, 8rem)
      var(--gutter)
      calc(clamp(11rem, 26vh, 14rem) + var(--bottom-safe));
  }
}
.scroll-hero__phase {
  grid-row: 1;
  grid-column: 1 / -1;
  align-self: end;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  opacity: 0;
  transform: translate3d(0, 40px, 0);
  transition:
    opacity 700ms var(--ease-out-expo),
    transform 700ms var(--ease-out-expo);
  pointer-events: none;
  will-change: opacity, transform;
}
.scroll-hero__phase.is-active {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
}

/* Both phases are eyebrow + heading now (Ashton's two hero messages,
   2026-08-08). Phase 1 lost the "Welcome home." mega treatment with the line
   itself — its `.lead-line` block came off rather than being left as dead CSS,
   because nothing else on the site used it. Phase 1 carries the h1, so it is
   listed alongside the h2s wherever the heading rules apply. */
.scroll-hero__phase--p1 .eyebrow,
.scroll-hero__phase--p2 .eyebrow {
  color: color-mix(in oklch, var(--c-saffron) 95%, white);
}
.scroll-hero__phase--p1 h1,
.scroll-hero__phase--p2 h2 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 5.5rem);
  font-weight: 300;
  line-height: 0.96;
  letter-spacing: -0.025em;
  font-variation-settings: 'opsz' 144, 'SOFT' 60, 'WONK' 1;
  margin-top: var(--s-3);
  max-width: 18ch;
}
.scroll-hero__phase--p1 h1 em,
.scroll-hero__phase--p2 h2 em { font-style: italic; }
@media (max-width: 880px) {
  .scroll-hero__phase--p1 h1,
  .scroll-hero__phase--p2 h2 { max-width: none; }
}

/* Persistent CTA rail — sticks to the bottom of the sticky stage so
   Reserve + Read menu stay reachable through both phases. */
.scroll-hero__cta-rail {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(clamp(3rem, 6vh, 5rem) + var(--bottom-safe));
  z-index: 4;
  pointer-events: none;
}
.scroll-hero__cta-rail .wrap {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--s-5);
  pointer-events: none;
}
.scroll-hero__cta-rail .wrap > * { pointer-events: auto; }
.scroll-hero__cta-rail .meta {
  display: inline-flex;
  align-items: center;
  gap: var(--s-5);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: color-mix(in oklch, var(--c-bone) 80%, transparent);
}
.scroll-hero__cta-rail .meta::before {
  content: '';
  width: 2.5rem;
  height: 1px;
  background: currentColor;
}
.scroll-hero__cta-rail .actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  justify-content: flex-end;
}
@media (max-width: 880px) {
  .scroll-hero__cta-rail .wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--s-4);
  }
  .scroll-hero__cta-rail .actions { justify-content: flex-start; }
}
@media (max-width: 480px) {
  .scroll-hero__cta-rail { bottom: calc(clamp(2rem, 5vh, 3.5rem) + var(--bottom-safe)); }
  .scroll-hero__cta-rail .meta { display: none; }
  .scroll-hero__cta-rail .actions {
    width: 100%;
    flex-wrap: wrap;
  }
  .scroll-hero__cta-rail .actions .btn { flex: 1 1 auto; justify-content: center; }
}

/* Live music pill (sticky inside hero) */
.scroll-hero__live {
  position: absolute;
  /* + --hh-h so the pill still clears the topbar now that the Happy Hour
     ribbon sits above it (#239). Without the term it lands 24px inside the
     topbar's controls at 1024px and directly across the Reserve button at
     1440px — measured, not assumed. */
  top: calc(clamp(5rem, 10vh, 7rem) + var(--hh-h));
  right: var(--gutter);
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 0.6ch;
  padding: 0.5em 0.95em;
  background: color-mix(in oklch, var(--c-bone) 12%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid color-mix(in oklch, var(--c-bone) 25%, transparent);
  border-radius: var(--r-pill);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-bone);
  animation: heroFade 1500ms var(--ease-out-expo) 900ms both;
  white-space: nowrap;
}
@media (max-width: 720px) {
  .scroll-hero__live {
    top: calc(4.5rem + var(--hh-h));
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    padding: 0.4em 0.7em;
  }
  .scroll-hero__live .pulse { width: 6px; height: 6px; }
}
@media (max-width: 480px) {
  .scroll-hero__live { display: none; }
}
.scroll-hero__live .pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--c-saffron);
  box-shadow: 0 0 0 0 color-mix(in oklch, var(--c-saffron) 70%, transparent);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 color-mix(in oklch, var(--c-saffron) 50%, transparent); }
  70%  { box-shadow: 0 0 0 12px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
@keyframes heroFade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* Scroll-progress indicator */
.scroll-hero__progress {
  position: absolute;
  bottom: clamp(1.5rem, 3vh, 2.5rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-3);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: color-mix(in oklch, var(--c-bone) 60%, transparent);
  pointer-events: none;
}
@media (max-width: 880px) {
  /* No scrubbing on mobile — the auto-cycle indicator is the dots. */
  .scroll-hero__progress { display: none; }
}
.scroll-hero__progress .label { font-feature-settings: 'tnum'; }
.scroll-hero__progress .track {
  width: clamp(60px, 8vw, 110px);
  height: 1px;
  background: color-mix(in oklch, var(--c-bone) 22%, transparent);
  position: relative;
  overflow: hidden;
}
.scroll-hero__progress .track::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--c-saffron);
  transform-origin: left;
  transform: scaleX(var(--progress, 0));
  transition: transform 80ms linear;
}

/* The .scroll-hero__pause chip that sat here was removed on 2026-08-11
   (Thomas) — a floating play/pause pill over the hero photograph read as
   clutter on a phone, same objection as the phase dots on 2026-08-08. The
   tap-anywhere pause in main.js stays; nothing on screen indicates it. */

/* Phase markers (small dots that fill as you scroll) */
.scroll-hero__phase-markers {
  position: absolute;
  top: 50%;
  right: var(--gutter);
  transform: translateY(-50%);
  z-index: 4;
  display: grid;
  gap: var(--s-3);
  pointer-events: none;
}
.scroll-hero__phase-markers .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: color-mix(in oklch, var(--c-bone) 22%, transparent);
  border: 1px solid color-mix(in oklch, var(--c-bone) 18%, transparent);
  transition: background var(--d-fast) ease, transform var(--d-fast) var(--ease-out-expo);
}
.scroll-hero__phase-markers .dot.is-active {
  background: var(--c-saffron);
  transform: scale(1.4);
}
@media (max-width: 880px) {
  /* They sat in a horizontal row above the CTA rail as the auto-cycle
     indicator; off entirely on mobile from 2026-08-08 (Thomas) — three dots
     stacked on top of the reserve buttons read as clutter over the photograph.
     The markup stays so main.js keeps toggling is-active without a guard, and
     the desktop rail on the right is unchanged. */
  .scroll-hero__phase-markers { display: none; }
}
@media (max-width: 480px) {
  .scroll-hero__phase-markers {
    bottom: calc(clamp(2rem, 5vh, 3.5rem) + clamp(7rem, 14vh, 9rem));
  }
}

/* Reduced motion: collapse to single static state */
@media (prefers-reduced-motion: reduce) {
  .scroll-hero { height: 100vh; }
  .scroll-hero__phase { opacity: 1; transform: none; }
  .scroll-hero__phase--p2 { display: none; }
}

/* ═══════════════════════════════════════════════════════════════════════
   Band rhythm — Ashton's mock, 2026-08-05
   hero(navy) → manifesto(cream) → our-world(soft blue) → featured(warm white)
   → home-about(cream) → home-music(navy) → testimony(cream) → footer(navy).
   The soft-blue pull-quote panel that made home-about a three-column band came
   off on 2026-08-07 at Ashton's request; the alternation still holds without it.
   Two neighbouring bands must never share a background. Sections that turn
   dark also have to be listed in the dark-section override in tokens.css, or
   --c-saffron stays navy and the accents vanish into the background.

   The three photo bands — .featured, .home-about, .home-music — share one
   height (--band-h) and one photo treatment: inset on every side by
   --band-pad, rounded, soft shadow, so no photo touches a band edge or the
   photo in the band next to it. They ran 544 / 498 / 1058px before.
   Retune --band-h, not the individual sections.
   ═══════════════════════════════════════════════════════════════════════ */

:root {
  /* The floor is set by the Sundays band, which carries the most copy of the
     three: below 40rem its heading, lead, time and button no longer fit, and it
     grows past the other two instead of matching them. Measured — at 1200px it
     needs 604px, at 1440px 635px. Don't lower it without re-measuring that band. */
  --band-h:   clamp(40rem, 44vw, 42rem);
  /* The visible breathing room around each photo — the gap, set directly, with
     everything else derived from it. */
  --band-gap: clamp(1.25rem, 2.2vw, 2.75rem);
  --band-pad: var(--band-gap);
  /* One height for all three photos: the band minus the gap top and bottom.
     Sizing them by width instead let them drift apart — at 1024px the Featured
     shot was 346px tall against About Omar's 287 and Sundays' 448, which read
     as three unrelated sizes. The 46vw ceiling stops a photo outgrowing its
     column on a narrow desktop, where a full-height crop goes tall and thin. */
  --band-photo-h: min(calc(var(--band-h) - 2 * var(--band-gap)), 50vw);
  /* The space between a band's photo and its text. Both bands use it, which is
     what keeps their pacing identical — before 2026-08-07 .featured used
     --gutter here and .home-about a wider clamp, so the same layout read as two
     different rhythms. */
  --band-text-gap:  clamp(1.75rem, 4vw, 3rem);
  /* The outer inset, on the text side and the photo side alike. This is exactly
     .wrap's left padding, so these full-bleed bands line their content up with
     the Sundays band — which is inside a .wrap — instead of running to the page
     edge. Thomas asked for that balance on 2026-08-07; uncapped, the two bands
     were reaching x=20px at 2000px wide against Sundays' 312px.
     Safe uncapped here because both bands are true 50/50 grids: the
     `(100vw - col-max)/2 + gutter` form only cancels out on a 50% column, which
     is why the old .ha-text rule (a 1fr of three tracks) had to cap it. */
  --band-edge: max(var(--gutter), calc((100vw - var(--col-max)) / 2 + var(--gutter)));
}

/* Shared inset-photo treatment for the three bands. The cell is a centring box;
   the image inside it is sized by aspect-ratio and a max-width, never by
   filling the cell — that is what keeps it clear of every edge. */
.featured__photo,
.ha-photo,
.home-music .right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--band-pad);
  min-width: 0;
}
/* The outer side of each photo cell takes the same inset as the text side, so
   the whole band sits inside the .wrap container the Sundays band uses and the
   photo stops short of the page edge rather than running to it. */
.featured__photo { padding-right: var(--band-edge); }
.ha-photo { padding-left: var(--band-edge); }
/* Stacked treatment: full-width photo, page gutter both sides. Gated at the
   stack point the three bands share — this sat at 980px until 2026-08-19,
   left behind by the three-column .home-about that came off in #160, so
   between 881 and 980 it was replacing .featured's inner --band-pad with the
   wider --gutter (20px against 36px at 900) on a band that was still side by
   side. Move it with the stack point, not on its own. */
@media (max-width: 880px) {
  .featured__photo, .ha-photo { padding-inline: var(--gutter); }
}
.featured__photo img,
.ha-photo img,
.home-music .plate {
  /* Height is the constant; each photo's own aspect-ratio gives the width, and
     max-width caps it where a column is too narrow to grant that width — the
     crop tightens rather than the photo shrinking out of step with the others. */
  height: var(--band-photo-h);
  width: auto;
  max-width: 100%;
  /* Square corners. `.plate`, the photo primitive the rest of the site uses,
     carries no radius — photography here is sharp-edged. */
  box-shadow: var(--shadow-2);
}

/* ── Manifesto strip — "Welcome home" (cream) ────────────────────────── */
.manifesto {
  background: var(--bg);
  /* Tightened 2026-08-07. The band lost its second paragraph, so the photo
     became the tallest thing in it and the old 6–9rem padding left a lot of
     empty cream above and below. */
  padding-block: clamp(3.25rem, 5.5vw, 5rem);
  position: relative;
  overflow: hidden;
}
/* Oversized Azul "A", bleeding off the left edge — the watermark in the mock. */
.manifesto__mark {
  position: absolute;
  left: clamp(-6rem, -4vw, -2rem);
  top: 50%;
  transform: translateY(-50%);
  width: clamp(14rem, 22vw, 24rem);
  aspect-ratio: 194 / 324;
  background-color: var(--c-azul);
  opacity: 0.05;
  -webkit-mask: url('/assets/img/logo-mark.svg') no-repeat center / contain;
          mask: url('/assets/img/logo-mark.svg') no-repeat center / contain;
  pointer-events: none;
  z-index: 0;
}
@media (max-width: 880px) { .manifesto__mark { display: none; } }
.manifesto .wrap { position: relative; z-index: 1; }
.manifesto .row {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}
/* Text leads, photo follows — the mock's order, and the reverse of what this
   section used to do. */
.manifesto-text   { grid-column: 1 / 7; }
.manifesto-photo  { grid-column: 8 / 13; }
/* Square, not 4/5. With one paragraph of text beside it the portrait crop was
   what made the band tall, and the shorter frame sits level with the copy. */
.manifesto-photo .plate { aspect-ratio: 1 / 1; }
.manifesto-text .eyebrow { margin-bottom: var(--s-5); }
.manifesto p {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.4rem);
  line-height: 1.22;
  letter-spacing: -0.012em;
  font-weight: 320;
  font-variation-settings: 'opsz' 96, 'SOFT' 50, 'WONK' 1;
  max-width: 26ch;
}
.manifesto p em { font-style: italic; color: var(--c-azul); }
.manifesto p + p { margin-top: var(--s-5); }
.manifesto .placeholder { margin-top: var(--s-5); }
.manifesto-link { margin-top: var(--s-6); }
@media (max-width: 880px) {
  .manifesto-photo, .manifesto-text { grid-column: 1 / -1; }
  .manifesto-photo { margin-top: var(--s-6); }
  .manifesto-photo .plate { aspect-ratio: 16 / 10; max-height: 50vh; }
}

/* ── Our world — three photo cards (soft blue) ───────────────────────── */
.our-world {
  background: var(--bg-sky);
  /* Tightened 2026-08-07 alongside .manifesto. The three cards are short, so
     5–7.5rem left more empty soft blue above and below them than the band
     needed. */
  padding-block: clamp(3rem, 5vw, 4.5rem);
  position: relative;
  overflow: hidden;
}
.our-world__palms {
  position: absolute;
  right: 0;
  top: 8%;
  width: clamp(10rem, 18vw, 18rem);
  aspect-ratio: 1 / 1.2;
  background-color: var(--c-azul);
  opacity: 0.12;
  -webkit-mask: url('/assets/img/illo-palms.svg?v=20260727-2') no-repeat top right / contain;
          mask: url('/assets/img/illo-palms.svg?v=20260727-2') no-repeat top right / contain;
  pointer-events: none;
  z-index: 0;
}
@media (max-width: 880px) { .our-world__palms { display: none; } }
.our-world .wrap { position: relative; z-index: 1; }
.our-world .eyebrow { margin-bottom: var(--s-6); }

.ow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.4vw, 2rem);
}
.ow-card {
  position: relative;
  display: block;
  overflow: hidden;
  color: var(--c-cream);
  isolation: isolate;
  transition: transform var(--d-base) var(--ease-out-expo),
              box-shadow var(--d-base) var(--ease-out-expo);
}
.ow-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.ow-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
/* The scrim spans the whole photo, not just the text box. Ramped across the
   text box alone it reaches `transparent` exactly where the card title sits —
   measured at ~0.3 alpha behind the title, which put the cream heading under
   2.7:1 on the lighter photos. Over the full media height the fade happens in
   the top third where there is no text, and the title band stays >= 0.75. */
.ow-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgb(from var(--c-navy) r g b / 0.94) 0%,
    rgb(from var(--c-navy) r g b / 0.86) 38%,
    rgb(from var(--c-navy) r g b / 0.42) 72%,
    transparent 100%);
  pointer-events: none;
}
.ow-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--d-cinema) var(--ease-out-expo);
}
.ow-card:hover .ow-card__media img { transform: scale(1.04); }
/* Text sits over the photo. The scrim it relies on is on .ow-card__media::after
   above, so this box only handles position and spacing. */
.ow-card__body {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: clamp(1.1rem, 2.2vw, 1.75rem);
}
.ow-card__body h2 {
  font-family: var(--font-body);
  font-size: clamp(0.86rem, 1.3vw, 1rem);
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--c-cream);
}
.ow-card__body p {
  margin-top: var(--s-2);
  font-size: 0.92rem;
  line-height: 1.45;
  color: color-mix(in oklch, var(--c-cream) 88%, transparent);
}
.ow-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.6ch;
  margin-top: var(--s-4);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-cream);
}
.ow-card__link .arr { transition: transform var(--d-base) var(--ease-out-expo); }
.ow-card:hover .ow-card__link .arr { transform: translateX(5px); }

.ow-also {
  margin-top: var(--s-6);
  font-size: 0.9rem;
  color: var(--fg-soft);
}
.ow-also .link { color: var(--c-azul); }
/* Atomic inline: the three links are placed as one box, so they move to the
   next line together instead of breaking mid-list and orphaning "· what's on"
   under the row above (Thomas, 2026-08-11). Shrink-to-fit against the
   paragraph width, so where the whole sentence fits on one line it still does
   — this needs no breakpoint and none should be added. */
.ow-also__links { display: inline-block; }

@media (max-width: 880px) {
  /* Same scroll-snap carousel the other card rows on this page use. */
  .ow-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: var(--s-3);
    padding: var(--s-2) var(--gutter) var(--s-4);
    margin-inline: calc(-1 * var(--gutter));
    /* Both properties are required. padding-inline sets the resting inset;
       scroll-padding-inline is what a snap point respects. Without it,
       scroll-snap-align: start on the card aligns it to the bare scrollport
       edge, the padding scrolls out of sight, and the first card sits flush
       against the screen — which is exactly how this shipped. The inset is
       --gutter, so the card's left edge lines up with the "Our world" heading
       above it. Same fix as .c-grid .grid, .lm-carousel__track,
       .set-cards-row and .carousel__track. */
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .ow-grid::-webkit-scrollbar { display: none; }
  .ow-card { flex: 0 0 78%; scroll-snap-align: start; }
  .ow-card__media { aspect-ratio: 3 / 2; }
}

/* ── Featured dish — inset photo, warm white ─────────────────────────── */
.featured {
  background: var(--bg-lift);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: var(--band-h);
  position: relative;
  overflow: hidden;
}
/* Sized by aspect-ratio + max-width, never by filling the cell. A portrait
   source left to fill would stretch the band to its own ratio — this section
   was 1339px tall before the image stopped driving the height. */
.featured__photo img {
  /* 4:5, the same ratio .ha-photo img takes in the band below, so the two
     photos claim the same width at the height they share and the pair reads as
     one rhythm. Both are 470x588 at 1200px wide.

     5/4 with `object-position: center 78%` until 2026-08-13, which was there to
     rescue a *portrait* tagine source — it let the cell's max-width do the
     cropping and held the dish low in the frame. Ashton's paella replaced it
     and is cropped to 4:5 in the file, so a second crop here only ate the pan:
     the image was landing 521x588 (0.886) instead of its own ratio, with the
     top of the pan cut off. Anything dropped in here should be pre-cropped 4:5
     — don't re-add a ratio override to fix a source that is the wrong shape. */
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  display: block;
}
/* Text leads this band, photo trails — mirrored by .home-about below. */
.featured__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: var(--s-4);
  padding-block: clamp(2.5rem, 6vw, 5rem);
  padding-left: var(--band-edge);
  padding-right: var(--band-text-gap);
  position: relative;
}
.featured__text h2 { max-width: 12ch; }
.featured__text p {
  color: var(--fg-soft);
  max-width: 34ch;
}
.featured__price {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--c-clay-text) !important;
}
.featured__ornament {
  position: absolute;
  /* Aligned to the text column's own left edge, not an arbitrary offset —
     otherwise it reads as a stray mark floating in the white space. */
  left: var(--gutter);
  bottom: clamp(1.5rem, 4vw, 3rem);
  width: clamp(1.5rem, 2.4vw, 2.25rem);
  aspect-ratio: 1;
  background-color: var(--c-azul);
  opacity: 0.28;
  -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;
  pointer-events: none;
}
@media (max-width: 880px) {
  /* Stacked, so the shared band height stops applying — the two rows would
     otherwise leave a large gap under the text. */
  .featured { grid-template-columns: 1fr; min-height: 0; }
  /* 4:5 here too, not the 4:3 this carried until 2026-08-13. The landscape
     override existed to stop a portrait tagine running full-bleed down a phone;
     against the pre-cropped 4:5 paella it cut the pan to a letterbox slice —
     315x236 measured at 370px wide. Matching .ha-photo's ratio keeps the two
     stacked bands the same shape on a phone, which is what the desktop rule
     above is doing as well. */
  .featured__photo img { height: auto; width: 100%; max-width: 30rem; aspect-ratio: 4 / 5; }
  /* Photo above text when stacked, matching .home-about, so both bands read
     the same way down a phone. */
  .featured__photo { order: 1; }
  .featured__text {
    order: 2;
    padding: clamp(2rem, 6vw, 3rem) var(--gutter) clamp(2.5rem, 8vw, 3.5rem);
  }
  .featured__ornament { display: none; }
}

/* ── About Omar — portrait · text (soft blue) ────────────────────────── */
/* The mirror of .featured directly above: that band runs text-left/photo-right,
   this one photo-left/text-right, so the two never stack their photos down the
   same edge. Both share --band-text-gap and --band-edge. */
/* Cream until 2026-08-13, when Ashton asked for "the baby blue used elsewhere
   across the website" behind this band. --c-blue-soft is that colour, the same
   token .menu-section--blue and the Our World band take.

   The band rhythm still alternates either side of it: warm-white .featured
   above, navy .home-music below, so no two neighbours share a background. It
   stays a light section, so neither the dark-section list nor the h2 em
   highlight list in tokens.css changes — both are keyed to dark backgrounds. */
.home-about {
  background: var(--c-blue-soft);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: var(--band-h);
}
.ha-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: var(--s-4);
  padding-block: clamp(3rem, 6vw, 5.5rem);
  /* Mirror of .featured__text: the gap faces the photo, the capped edge faces
     the page. --band-text-edge stays capped at 7rem because the uncapped
     `(100vw - col-max)/2 + gutter` form only cancels out on a true 50% column —
     uncapped it outgrew the track and the content box shrank as the viewport
     widened, 377px at 1440 down to 237px at 2560. */
  padding-left: var(--band-text-gap);
  padding-right: var(--band-edge);
}
.ha-text h2 { max-width: 12ch; }
.ha-text h2 em { font-style: italic; color: var(--c-azul-glow); }
.ha-text p { color: var(--fg-soft); max-width: 30ch; }
/* Sized, not filled — see .featured__photo img above. */
.ha-photo img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}
/* .ha-photo needs no side padding of its own: it shares the inset treatment
   above with .featured__photo, which pads the cell evenly with --band-pad. The
   photo-to-text distance on both bands is therefore --band-pad plus
   --band-text-gap, which is what makes the two pace alike. */
/* 880px, the same stack point as .featured above and .home-music below — the
   three photo bands share a rhythm, so they have to break together. This read
   980px until 2026-08-19 (#308): it was the threshold of the *three*-column
   band this used to be (portrait, text, pull-quote panel), and when the panel
   came off in #160 the query was rewritten in place rather than re-chosen for
   the two-column layout it now governs. The cost was a 100px zone where the
   page ran two-column, one-column, two-column: the band grew to 864-886px
   against its neighbours' 640, and the portrait was pinned at the 22rem
   stacked cap while the Featured photo above it — which shares --band-photo-h
   with it by design — was 50px taller. */
@media (max-width: 880px) {
  /* Portrait over text — the band stacks, so the shared height no longer
     applies and the portrait takes the gutter on both sides. */
  .home-about { grid-template-columns: 1fr; min-height: 0; }
  .ha-photo { order: 1; }
  .ha-text { order: 2; padding-inline: var(--gutter); }
  .ha-photo img { height: auto; width: 100%; max-width: 22rem; }
}

/* ── Sundays · live music (navy) ─────────────────────────────────────── */
.home-music {
  background: var(--bg-deep);
  color: var(--fg-on-deep);
  /* No padding-block here. This band's photo already carries --band-gap on its
     own cell, and a section padding on top of that double-counted: the band came
     out 768px against the other two at 672. The text column pads itself instead. */
  padding-block: 0;
  min-height: var(--band-h);
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.home-music__zellige {
  position: absolute;
  inset-block: 0;
  right: 0;
  width: clamp(12rem, 26vw, 26rem);
  background: url('/assets/img/pattern-zellige.svg') repeat;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
  -webkit-mask: linear-gradient(90deg, transparent, #000 55%);
          mask: linear-gradient(90deg, transparent, #000 55%);
}
.home-music .wrap { position: relative; z-index: 1; }
/* .eyebrow is --fg-mute (#6D6D6D) and the dark-section block in tokens.css only
   remaps --c-saffron/--c-azul, so turning this section navy left the eyebrow at
   3.5:1. base.css keys its dark-eyebrow override to .section--ink/.section--night,
   which this section is not — so match that override's value here. */
.home-music .eyebrow { color: color-mix(in oklch, var(--c-bone) 70%, transparent); }
.home-music .split { align-items: center; }
.home-music .left { padding-right: var(--s-5); padding-block: var(--band-gap); align-self: center; }
.home-music h2 { margin-block: var(--s-3) var(--s-5); max-width: 16ch; }
.home-music h2 em { font-style: italic; }
.home-music .lead {
  color: color-mix(in oklch, var(--c-bone) 78%, transparent);
  max-width: 40ch;
}
.home-music__when {
  margin-top: var(--s-4);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-saffron);
}
.home-music__cta { margin-top: var(--s-7); display: flex; flex-wrap: wrap; gap: var(--s-3); }
/* .right is a centring box (shared rule at the top of this file); the plate is
   sized by aspect-ratio + max-width so it clears every edge of the band. */
.home-music .plate {
  min-height: 0;
  aspect-ratio: 3 / 4;
}
@media (max-width: 880px) {
  /* Stacked — the shared band height no longer applies. */
  .home-music { min-height: 0; padding-block: clamp(3.5rem, 9vw, 5rem); }
  .home-music .left { padding-block: 0; }
  .home-music__zellige { display: none; }
  .home-music .left { padding-right: 0; }
  /* Sized like the About Omar photo one band up (.ha-photo img): column width,
     capped at 22rem, portrait. Same treatment, same reading weight.

     align-items must be reset with it. The desktop rule centres the two split
     children; once the split turns into a column flex, that centring makes
     .right shrink-to-fit, and a shrink-to-fit parent gives `width: 100%` on an
     aspect-ratio box nothing to resolve against — the photo collapsed to
     117x88px on a 390px phone, which is how it shipped. Setting the width
     without the stretch fixes nothing. Same failure as .about-story .photo. */
  .home-music .split { display: flex; flex-direction: column; align-items: stretch; }
  .home-music .plate {
    height: auto;
    width: 100%;
    max-width: 22rem;
    margin-inline: auto;
    aspect-ratio: 4 / 5;
  }
  .home-music .plate img { object-position: center center; }
  .home-music .right { order: -1; margin-bottom: var(--s-5); padding: 0 0 var(--s-4); }
}

/* ── Testimonials — three columns, hairline rules (cream) ────────────── */
.testimony {
  background: var(--bg);
  color: var(--fg);
  /* Tightened 2026-08-07, same pass as .manifesto and .our-world. The marquee
     is a single short row, so the band did not need 5–7.5rem of cream at each
     end — it read as a gap between the Sundays band and the footer. */
  padding-block: clamp(3rem, 5vw, 4.5rem);
  position: relative;
}
.testimony__head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-4);
  margin-bottom: var(--s-6);
}
.testimony__head .eyebrow { margin: 0; }
/* Zellige diamonds flanking the heading, as in the mock. */
.testimony__ornament {
  width: clamp(1.1rem, 2vw, 1.6rem);
  aspect-ratio: 1;
  flex: none;
  background-color: var(--c-azul);
  opacity: 0.3;
  -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;
}

/* ── Reviews marquee ─────────────────────────────────────────────────────
   Mechanics live in .marquee (components.css). This sets the size, the speed
   and the edge fade, and takes the row full-bleed out of .wrap so the reviews
   use the whole width (Thomas, 2026-08-07). */
.t-marquee {
  /* Stays inside .wrap — it is not full-bleed. Sized so four cards show whole
     and the fifth is a third visible, which is what signals "this scrolls"
     without the row reaching the page edges (Thomas, 2026-08-07).

     container-type makes 100cqw the marquee's own width, so the card size is
     derived from the container rather than re-deriving .wrap's formula from
     the viewport — the two can't drift apart that way. Each card carries a
     trailing margin, so one slot is (item + gap) and 4⅓ slots fill the row. */
  container-type: inline-size;
  --marquee-gap: clamp(1rem, 2vw, 1.75rem);
  --marquee-item: calc(100cqw / 4.3333 - var(--marquee-gap));
  --marquee-duration: 60s;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
}

/* Hairline separators between columns rather than boxed cards — the cards
   read as three panels on cream, which the mock does not do. */
.t-card {
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
  padding-inline: clamp(0.5rem, 2vw, 1.5rem);
  border-left: 1px solid var(--line);
}
.t-stars {
  color: var(--c-clay-text);
  font-size: 0.9rem;
  letter-spacing: 0.28em;
  line-height: 1;
}
.t-card blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  font-weight: 340;
  font-style: italic;
  line-height: 1.45;
  letter-spacing: -0.01em;
  font-variation-settings: 'opsz' 60, 'SOFT' 50, 'WONK' 1;
  color: var(--fg);
}
.t-card blockquote::before { content: '“'; }
.t-card blockquote::after  { content: '”'; }
.t-card figcaption {
  margin-top: auto;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.t-rating {
  margin-top: var(--s-8);
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
/* The stars here took --fg-mute with the rest of the line, so they read grey
   against the terracotta stars on every review card above. Same token as
   .t-stars now, on Ashton's instruction (2026-08-08). */
.t-rating__stars { color: var(--c-clay-text); }
@media (max-width: 880px) {
  /* Four across is unreadable on a phone — one card at a time, with the next
     one just showing. */
  .t-marquee {
    --marquee-gap: var(--s-5);
    --marquee-item: calc(100cqw / 1.2 - var(--marquee-gap));
  }
}

/* visit-cta now lives in components.css (shared by home, restaurant, about) */


/* ═══════════════════════════════════════════════════════════════════════
   Omar-prototype port — sections below mirror the layout Omar showed
   Harry. Copy is verbatim from his prototype. Photos in /from-omar/.
   ═══════════════════════════════════════════════════════════════════════ */

