/* The sections of the home page, in page order. */

/* Hero: title, scene and search panel fit the first screen together. The scene grows upwards and may pass behind the header
   (owner 2026-11-23); its empty sides fade into the page. --finder-h is the measured height of the search panel. */
.hero-band { --finder-h: 172px; --fold-gap: 20px; --stage-floor: 240px; overflow-x: clip; }
.hero { container-type: inline-size; }
.hero__stage {
  --stage-h: max(var(--stage-floor), calc(100svh - var(--header-h) - var(--finder-h) - var(--fold-gap)));
  --scene-w: min(86cqw, calc((var(--stage-h) + var(--header-h)) * 16 / 9));
  position: relative;
  display: flex;
  align-items: center;
  height: var(--stage-h);
}
.hero__scene {
  position: absolute;
  left: calc(70.4cqw - var(--scene-w) / 2);
  bottom: max(calc(var(--scene-w) * -0.015), calc((var(--stage-h) - var(--scene-w) * 9 / 16) / 2)); /* centred when it is shorter than the stage */
  width: var(--scene-w);
  aspect-ratio: 16 / 9;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 13%, #000 87%, transparent), linear-gradient(180deg, transparent, #000 7%, #000 92%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 13%, #000 87%, transparent), linear-gradient(180deg, transparent, #000 7%, #000 92%, transparent);
  mask-composite: intersect;
}
.hero__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__text { position: relative; z-index: 1; width: 43cqw; }
.hero h1 { font-size: clamp(56px, min(9.45cqw, 15svh), 136px); line-height: 0.92; }
.hero p { max-width: 420px; margin-top: clamp(12px, 2.6svh, 24px); font-size: 18px; line-height: 1.55; color: var(--soft); }

.search-trigger { display: none; }
.tonight { display: none; }

/* Statement */
.statement { padding-top: clamp(64px, 6.7vw, 96px); text-align: center; }
.statement h2 { font-size: clamp(40px, 5.3vw, 76px); line-height: 1.02; text-transform: uppercase; }
.statement p { max-width: 640px; margin: 16px auto 0; font-size: 17px; line-height: 1.55; color: var(--soft); }

/* The list after a filter or a sort changed it in place */
@keyframes list-in { from { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: no-preference) {
  .list-fresh .restaurant-grid, .list-fresh .empty-list { animation: list-in 0.24s var(--ease); }
}

/* Collections */
.collections {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) minmax(0, 0.9fr);
  gap: 24px;
  align-items: end;
}
.collections__intro h2 { font-size: clamp(60px, 6.1vw, 88px); line-height: 1.06; }
.collections__intro h2 span { display: block; }
.collections__intro p { max-width: 330px; margin-top: 22px; font-size: 16.5px; line-height: 1.55; color: var(--soft); }
.collections__side { display: grid; gap: 14px; }

.collection { display: block; min-width: 0; }
.collection__photo { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 20px; background: var(--surface-2); }
.collection--large .collection__photo { aspect-ratio: 1 / 1; }
.collection__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
@media (hover: hover) {
  .collection:hover img { transform: scale(1.025); }
}
.collection__name { display: block; margin-top: 10px; font-family: var(--serif); font-size: 24px; line-height: 1.15; }
.collection__count { display: block; font-size: 14px; color: var(--muted); }

/* Events */
.events { background: var(--surface-2); }
.event-list { margin-top: 22px; border-bottom: 1px solid var(--line); }
.event {
  display: grid;
  grid-template-columns: 110px minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 0.9fr) auto;
  align-items: center;
  gap: 20px;
  padding-block: 20px;
  border-top: 1px solid var(--line);
  color: var(--soft);
  font-size: 15px;
}
.event__date { font-size: 14px; color: var(--muted); }
.event__date b { font-family: var(--serif); font-size: 48px; font-weight: 400; line-height: 1; color: var(--ink); }
.event h3 { font-size: 29px; line-height: 1.12; color: var(--ink); }

/* Reviews */
.reviews__arrows { display: none; gap: 8px; }
.review-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 32px;
}
.review { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding-top: 20px; border-top: 1px solid var(--ink); }
.review blockquote { font-family: var(--serif); font-size: 27px; line-height: 1.24; }
.review figcaption { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 15px; }
.review figcaption b { font-weight: 600; }

/* Showcase */
.showcase { background: var(--dark); color: var(--bg); }
.showcase__head { max-width: 720px; margin-inline: auto; text-align: center; }
.showcase__head h2 { font-size: clamp(37px, 4.2vw, 60px); }
.showcase__head p { max-width: 560px; margin: 14px auto 0; font-size: 16.5px; line-height: 1.55; color: var(--dark-muted); }
.showcase__stage { position: relative; min-height: 640px; margin-top: 44px; overflow: hidden; border-radius: 24px; }
.showcase__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.showcase__booking {
  position: absolute;
  left: 32px;
  top: 32px;
  display: grid;
  gap: 10px;
  width: 360px;
  padding: 22px;
  border-radius: 22px;
  background: var(--bg);
  color: var(--ink);
}
.showcase__booking h3 { font-size: 30px; }
.showcase__facts { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 4px; font-size: 14px; color: var(--soft); }
.showcase__line {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 13px;
  border: 1px solid var(--field);
  border-radius: 13px;
  background: var(--surface);
  font-size: 15px;
  font-weight: 500;
}
.showcase__booking small { font-size: 13.5px; color: var(--muted); text-align: center; }
.menu-card {
  position: absolute;
  right: 28px;
  bottom: 28px;
  display: grid;
  gap: 8px;
  width: 300px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
  transform: rotate(-1.4deg);
}
.menu-card h3 { margin-bottom: 4px; font-size: 26px; text-align: center; }
.menu-card p { display: flex; align-items: baseline; gap: 6px; font-size: 13px; line-height: 1.3; }
.menu-card i { flex: 1; min-width: 10px; border-bottom: 1px dotted var(--field); }
.menu-card span:last-child { font-variant-numeric: tabular-nums; }


@media (max-width: 1160px) {
  .hero-band { --finder-h: 282px; }
  .event { grid-template-columns: 96px minmax(0, 1fr) auto; }
  .event__place, .event__price { grid-column: 2; }
  .event .button { grid-column: 3; grid-row: 1 / span 3; }
  .menu-card { display: none; }
}

/* A short window with the taller two-row search panel: the title shrinks and the lead gives way. */
@media (min-width: 721px) and (max-width: 1160px) and (max-height: 680px) {
  .hero-band { --stage-floor: 150px; }
  .hero h1 { font-size: clamp(44px, min(7cqw, 11svh), 76px); }
  .hero p { display: none; }
}

/* A computer: the whole section fits one window, however short (owner, 2026-11-23). */
@media (min-width: 961px) {
  .collections { --collections-h: clamp(380px, calc(100svh - 230px), 640px); --caption-h: 58px; }
  .collections__intro h2 { font-size: clamp(48px, min(6.1vw, 12svh), 88px); }
  .collection__photo, .collection--large .collection__photo { aspect-ratio: auto; }
  .collection--large .collection__photo { height: calc(var(--collections-h) - var(--caption-h)); }
  .collections__side .collection__photo { height: calc((var(--collections-h) - 2 * var(--caption-h) - 14px) / 2); }
  .showcase__stage { min-height: clamp(520px, calc(100svh - 240px), 640px); }
}

@media (max-width: 960px) {
  .collections { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .collections__intro { grid-column: 1 / -1; }
  .review-row { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}

@media (max-width: 720px) {
  .hero__stage { display: block; height: auto; padding-top: 8px; }
  .hero__text { width: auto; padding-bottom: 0; }
  .hero h1 { font-size: 52px; line-height: 0.98; }
  .hero p { display: none; }
  .hero__scene { position: relative; left: -10%; bottom: auto; width: 120%; max-width: none; margin-top: 2px; }

  .search-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 54px;
    padding: 0 8px 0 16px;
    border: 1px solid var(--field);
    border-radius: 999px;
    background: var(--surface);
    color: var(--muted);
    font-size: 15px;
    text-align: left;
  }
  .search-trigger > span:first-of-type { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .search-trigger__when {
    flex: none;
    display: inline-flex;
    align-items: center;
    height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--surface-2);
    color: var(--ink);
    font-size: 13.5px;
    font-weight: 500;
  }

  .tonight { display: block; padding-top: 24px; }
  .tonight .section-head h2 { font-size: 27px; }
  .tonight__row {
    display: flex;
    gap: 12px;
    margin-top: 10px;
    padding-inline: var(--gutter);
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scroll-padding-inline: var(--gutter);
  }
  .tonight__row .restaurant-card { flex: none; width: 276px; scroll-snap-align: start; }

  .statement { padding-top: 48px; }
  .statement p { font-size: 15.5px; }

  .collections { display: block; }
  .collections__intro h2 { font-size: 52px; }
  .collection--large { margin-top: 22px; }
  .collections__side { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
  .collection__name { font-size: 21px; }

  .event { grid-template-columns: 62px minmax(0, 1fr); gap: 2px 12px; padding-block: 15px; font-size: 14px; }
  .event__date { grid-row: 1 / span 4; }
  .event__date b { display: block; font-size: 38px; }
  .event h3 { font-size: 22px; }
  .event__place, .event__price { grid-column: 2; }
  .event .button { grid-column: 2; grid-row: auto; justify-self: start; margin-top: 8px; }

  .reviews__arrows { display: inline-flex; }
  .review-row {
    display: flex;
    gap: 16px;
    margin: 20px calc(-1 * var(--gutter)) 0;
    padding-inline: var(--gutter);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
  }
  .review { flex: none; width: 100%; scroll-snap-align: start; }
  .review blockquote { font-size: 25px; }

  .showcase__head p { font-size: 15.5px; }
  .showcase__stage { display: grid; gap: 14px; min-height: 0; margin-top: 26px; overflow: visible; border-radius: 0; }
  .showcase__photo { position: static; aspect-ratio: 16 / 11; border-radius: 18px; }
  .showcase__booking { position: static; width: 100%; }
}
