/* Shirazi — reservation (W4). Mechanic 6: sage inset card, bottom-anchored on a
   full-bleed film band. Consumes base.css tokens + primitives; never restyles chrome.
   The card shares the capsule header's --cap measure so both read as one system. */

/* ---- full-bleed media band ---- */
.m6-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: min(100svh, 60rem);
  display: grid;
  align-items: end;
  justify-items: center;
  background: var(--ink);
  /* no padding here: an abspos child's inset:0 resolves against the PADDING box,
     so padding would un-bleed the media. The card carries the offsets instead. */
}

.m6-media {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  filter: saturate(.9) brightness(.82);
}

.m6-band::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 13, 15, .58), rgba(10, 13, 15, .14) 36%, rgba(10, 13, 15, .46));
}

/* ---- the inset card ---- */
.m6-inset {
  width: min(var(--cap), calc(100% - var(--pad) * 2));
  margin-top: calc(var(--hdr-h) + var(--pad));
  margin-bottom: clamp(2rem, 1.4rem + 2vw, 3.25rem);
  min-height: clamp(19rem, 11rem + 21vw, 30rem);
  padding: clamp(1.4rem, .9rem + 1.7vw, 2.6rem);
  background: var(--sage);
  color: var(--cream);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 21rem);
  grid-template-rows: auto 1fr auto auto;
  column-gap: clamp(1.25rem, .8rem + 2vw, 3rem);
}

.m6-eyebrow {
  grid-area: 1 / 1 / 2 / -1;
}

/* bottom-left: the claim, then the (placeholder) reservation action */
.m6-lead {
  grid-area: 3 / 1 / 4 / 2;
  align-self: end;
  display: grid;
  justify-items: start;
  gap: clamp(1.25rem, .9rem + 1.2vw, 2rem);
}

.m6-display {
  font-size: var(--display-sm);
}

/* bottom-right: caps meta column */
.m6-meta {
  grid-area: 3 / 2 / 4 / 3;
  align-self: end;
  display: grid;
  gap: clamp(.85rem, .6rem + .5vw, 1.25rem);
}

.m6-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .25em .7em;
  font-size: .75rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  line-height: 1.5;
}

.m6-row dt {
  font-weight: 400;
}

.m6-row dd {
  font-weight: 300;
}

/* hairline base: the honest TBC / walk-ins microtype */
.m6-foot {
  grid-area: 4 / 1 / 5 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .4rem 2rem;
  margin-top: clamp(1.5rem, 1rem + 1.6vw, 2.5rem);
  padding-top: clamp(.9rem, .7rem + .5vw, 1.2rem);
  border-top: 1px solid var(--line-cream);
  font-size: .625rem;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  line-height: 1.4;
}

@media (max-width: 800px) {
  .m6-inset {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    min-height: 0;
    row-gap: clamp(1.75rem, 1rem + 4vw, 2.75rem);
  }

  .m6-eyebrow,
  .m6-lead,
  .m6-meta,
  .m6-foot {
    grid-area: auto;
  }

  .m6-foot {
    margin-top: .25rem;
  }
}
