/* Conversion additions (restaurant-waas 1.0.0).

   Everything the conversion added on top of the vendored source CSS, in ONE
   auditable sheet loaded after global.css:

   1. The seven "required source edits" of static/ASSET-POLICY.md, which the
      vendoring pass recorded in assets.manifest.json but never applied.
   2. The D-73 alias/support styles for class names the converted templates
      emit that the pinned source CSS does not define (cards, pager elements,
      empty states, generated pages).
   3. The .visually-hidden utility eleven templates rely on (the form
      honeypot rendered VISIBLE without it).

   Rules here either extend the source system with its own tokens or override
   a literal the policy replaces (corner radius); nothing restyles what the
   source already styles. */

/* ===== Utility: visually hidden (a11y text, honeypot) ===== */

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ===== ASSET-POLICY edit 1: operator corner radius (D-04) ===== */

.btn,
.newsletter__input,
.newsletter__actions .btn--white,
.floating-reserve,
.chat-fab__link,
.chat-fab__close,
.chat-fab__toggle,
.back-to-top,
.language-picker__select {
  border-radius: var(--ui-radius, 0);
}

/* ===== ASSET-POLICY edit 2: language picker as links (D-01) ===== */

/* D-89: the wrapper's own layout rule went out of global.css with the source's
   <select> family during vendoring, leaving the picker with no flex sizing in
   the header row.
   Front #387: a <details> dropdown. The closed control reads like the header
   around it - white over the transparent home header, the text colour once
   the header turns solid (scrolled, or a solid-header page) - and the panel
   of links opens under it, right-aligned to the control. */
.language-picker {
  position: relative;
  flex: 0 0 auto;
  color: var(--color-white);
  transition: color 220ms ease;
}

.site-header.is-scrolled .language-picker,
.page-solid-header .site-header .language-picker {
  color: var(--color-font);
}

/* 1.0.16 (Front #387 follow-up): the picker follows the site's corner radius
   like every other control (square at None, a pill at Extra large, matching
   the Reserve button beside it), with a flag beside each language and a
   quieter outline that firms up on hover and while open. */
.language-picker__toggle {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 4.4rem;
  padding: 0 1.2rem;
  border: 1px solid color-mix(in srgb, currentColor 45%, transparent);
  border-radius: var(--ui-radius, 0);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  transition: border-color 160ms ease, background-color 160ms ease;
}

.language-picker__toggle::-webkit-details-marker {
  display: none;
}

.language-picker__toggle:hover,
.language-picker[open] .language-picker__toggle {
  border-color: currentColor;
  background: color-mix(in srgb, currentColor 8%, transparent);
}

.language-picker__toggle:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.language-picker__current {
  display: inline-block;
}

.language-picker__flag {
  display: inline-flex;
  flex: 0 0 auto;
  line-height: 0;
  /* A hairline edge, so white-field flags (Japan, Korea) keep their shape on
     a white panel. */
  box-shadow: 0 0 0 1px rgb(23 23 23 / 14%);
}

.language-picker__flag .flag {
  display: block;
  width: 2.1rem;
  height: 1.4rem;
}

.language-picker__chevron {
  flex: 0 0 auto;
  transition: transform 180ms ease;
}

.language-picker[open] .language-picker__chevron {
  transform: rotate(180deg);
}

.language-picker__panel {
  /* The panel rounds with the site but stops at 16px: a 50px corner on a
     list a few rows tall would cut into the first and last rows. Rows round
     to the inner curve (panel radius minus its padding) and the panel clips
     them, so no highlight or row edge pokes past a corner. */
  --language-picker-radius: min(var(--ui-radius, 0px), 1.6rem);
  position: absolute;
  top: calc(100% + 0.4rem);
  inset-inline-end: 0;
  z-index: 10;
  min-width: max(100%, 22rem);
  /* A long list (eleven languages) scrolls inside the panel instead of
     running off the bottom of a short screen. */
  max-height: min(42rem, calc(100vh - 10rem));
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0.4rem;
  border: 1px solid rgb(23 23 23 / 10%);
  border-radius: var(--language-picker-radius);
  background: var(--color-background);
  color: var(--color-font);
  box-shadow: 0 18px 40px -12px rgb(23 23 23 / 30%), 0 2px 6px rgb(23 23 23 / 8%);
  animation: language-picker-in 160ms ease-out;
}

@keyframes language-picker-in {
  from {
    opacity: 0;
    transform: translateY(-0.4rem);
  }
}

.language-picker__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.2rem;
}

.language-picker__item {
  margin: 0;
}

.language-picker__link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.2rem;
  padding: 1rem 1.2rem;
  border-radius: max(calc(var(--language-picker-radius, 0px) - 0.4rem), 0px);
  font-size: 1.4rem;
  white-space: nowrap;
  color: inherit;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}

/* No flag artwork for this locale: name and code still line up. */
.language-picker__link > .language-picker__name:first-child {
  grid-column: 1 / 3;
}

.language-picker__link:hover,
.language-picker__link:focus-visible {
  background: color-mix(in srgb, var(--color-primary) 8%, transparent);
}

.language-picker__link:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: -2px;
}

.language-picker__code {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  opacity: 0.5;
}

/* The current language: marked, not a link. */
.language-picker__link--current {
  font-weight: 700;
  color: var(--color-primary);
  background: color-mix(in srgb, var(--color-primary) 10%, transparent);
}

.language-picker__check {
  flex: 0 0 auto;
}

/* Under 900px the vendored `auto 1fr auto` grid sized the brand at its full
   nowrap width, so a long restaurant name pushed the picker and the hamburger
   past the edge of a phone. The name now takes what is left and ends in an
   ellipsis; a logo keeps its own sizing. */
@media (max-width: 899px) {
  .site-header__inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .site-header__logo-section {
    min-width: 0;
  }

  .site-header__brand:not(.site-header__brand--logo) {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* On a phone the closed control is the flag alone; the code stays in the
   accessible name (visually hidden, not removed). A locale without a flag
   keeps its code on screen. */
@media (max-width: 479px) {
  .language-picker__toggle {
    gap: 0.6rem;
    padding: 0 1rem;
  }

  .language-picker__flag + .language-picker__current {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .language-picker,
  .language-picker__toggle,
  .language-picker__chevron,
  .language-picker__link {
    transition: none;
  }

  .language-picker__panel {
    animation: none;
  }
}

/* ===== ASSET-POLICY edit 3: button variants ===== */

.btn--ghost {
  background: transparent;
  border: 1px solid currentcolor;
  color: inherit;
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: color-mix(in srgb, currentcolor 12%, transparent);
}

.btn--block {
  display: block;
  width: 100%;
  text-align: center;
}

/* ===== ASSET-POLICY edit 4: form status + Turnstile slot ===== */

.form-status {
  margin-top: 1.2rem;
}

.form-status__message {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 600;
}

.form-status__message--success {
  color: #2e7d32;
}

.form-status__message--error,
.form-status__message--rate_limited,
.form-status__message--provider_error,
.form-status__message--required,
.form-status__message--invalid_email,
.form-status__message--invalid_phone,
.form-status__message--spam {
  color: #b3261e;
}

.form-turnstile {
  margin-top: 1.6rem;
}

.form-turnstile__noscript {
  font-size: 1.3rem;
  opacity: 0.75;
}

/* ===== ASSET-POLICY edit 5: listing empty state (D-59) ===== */

.empty-state {
  padding: 4rem 1.6rem;
  text-align: center;
}

.empty-state__title {
  margin: 0 0 0.8rem;
  font-family: var(--font-heading);
  font-size: 2.4rem;
}

.empty-state__text {
  margin: 0 auto 1.6rem;
  max-width: 52rem;
  opacity: 0.8;
}

/* ===== ASSET-POLICY edit 6: static contact map (D-35) ===== */

.contact-map__image {
  display: block;
  margin-top: 1.6rem;
  width: 100%;
  height: auto;
  border: 1px solid rgb(23 23 23 / 14%);
}

/* ===== D-73: pagination elements the macro emits (all three families) ===== */

.offers-pagination__item,
.events-pagination__item,
.blog-pagination__item {
  list-style: none;
}

.offers-pagination__prev,
.offers-pagination__next,
.offers-pagination__current,
.events-pagination__prev,
.events-pagination__next,
.events-pagination__current,
.blog-pagination__prev,
.blog-pagination__next,
.blog-pagination__current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.2rem;
  height: 4.2rem;
  padding-inline: 1.2rem;
  border: 1px solid color-mix(in srgb, var(--color-black) 12%, transparent);
  background: var(--color-background);
  color: var(--color-font);
  font-size: 1.4rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--ui-radius, 0);
}

.offers-pagination__prev:hover,
.offers-pagination__next:hover,
.events-pagination__prev:hover,
.events-pagination__next:hover,
.blog-pagination__prev:hover,
.blog-pagination__next:hover,
.offers-pagination__prev:focus-visible,
.offers-pagination__next:focus-visible,
.events-pagination__prev:focus-visible,
.events-pagination__next:focus-visible,
.blog-pagination__prev:focus-visible,
.blog-pagination__next:focus-visible {
  background: var(--color-primary-light);
  border-color: var(--color-primary-light);
  color: var(--color-white);
}

.offers-pagination__current,
.events-pagination__current,
.blog-pagination__current {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

/* ===== D-73: shared listing cards (offer-card / event-card / blog-card) ===== */

.offer-card,
.event-card,
.blog-card {
  background: var(--color-white);
  border: 1px solid color-mix(in srgb, var(--color-black) 10%, transparent);
  border-radius: var(--ui-radius, 0);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.offer-card:hover,
.event-card:hover,
.blog-card:hover {
  transform: translateY(-0.4rem);
  box-shadow: 0 1.2rem 2.8rem rgb(23 23 23 / 12%);
}

.offer-card__link,
.event-card__link,
.blog-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
  height: 100%;
}

.offer-card picture,
.event-card picture,
.blog-card picture {
  display: block;
}

.offer-card img,
.event-card img,
.blog-card img {
  display: block;
  width: 100%;
  height: auto;
  /* D-104: the profile's own ratio (`wide` 32:21), not 3 / 2 - the box is the
     crop, so the framing an operator chose is what the card shows. */
  aspect-ratio: 32 / 21;
  object-fit: cover;
}

.offer-card__body,
.event-card__body,
.blog-card__body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.offer-card__accent,
.event-card__date,
.blog-card__category {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.offer-card__title,
.event-card__title,
.blog-card__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  line-height: 1.25;
}

.offer-card__summary,
.event-card__summary,
.blog-card__excerpt {
  margin: 0;
  opacity: 0.85;
}

.offer-card__validity,
.event-card__location,
.event-card__status,
.blog-card__meta {
  margin: 0;
  font-size: 1.3rem;
  opacity: 0.7;
}

.event-card--cancelled,
.event-card--postponed {
  opacity: 0.75;
}

/* ===== D-73: team cards ===== */

.team-card {
  text-align: center;
}

.team-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--ui-radius, 0);
}

.team-card__body {
  padding-top: 1.2rem;
}

.team-card__name {
  margin: 0 0 0.2rem;
  font-family: var(--font-heading);
  font-size: 2rem;
}

.team-card__role {
  margin: 0 0 0.8rem;
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
}

/* ===== D-73: gallery list wrapper ===== */

.gallery-grid__item {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ===== D-73: bands and blocks with no source counterpart ===== */

.blog-listing {
  padding-block: var(--section-padding-block);
}

.content__row--media-right .content__media {
  order: 2;
}

.content__row--media-right .content__text {
  order: 1;
}

/* D-106: the side the operator picked wins on the two-column layout. The
   vendored content.css alternates sides with `.content__row:nth-child(odd|even)`
   (three classes' weight, linked after this sheet), so the two rules above lost
   on every other row and "left" had no rule at all - and the band's own
   heading counts as a child, so the first row was already "even". Four
   classes' weight, both sides, whatever the order the sheets load in. */
@media (min-width: 768px) {
  .content__inner .content__row.content__row--media-left .content__media,
  .content__inner .content__row.content__row--media-right .content__text {
    order: 1;
  }

  .content__inner .content__row.content__row--media-left .content__text,
  .content__inner .content__row.content__row--media-right .content__media {
    order: 2;
  }
}

/* D-105: a row whose picture is not there yet keeps its words at a reading
   measure instead of squeezing them into half of a two-column grid. Two
   classes, because content.css is linked after this sheet. */
.content__row.content__row--text-only {
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
}

.blog-single__paragraph,
.offer-single__intro,
.offer-single__terms-block,
.event-single__notice {
  margin-block: 1.2rem;
}

.event-single__notice {
  padding: 1.2rem 1.6rem;
  border-left: 4px solid var(--color-primary);
  background: var(--color-bg-surface);
  font-weight: 600;
}

/* ===== D-73: share bars on detail routes ===== */

.share__list,
.share-bottom__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.share__heading,
.share-bottom__heading {
  margin: 0 0 0.6rem;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
}

/* ===== Generated pages (D-38): legal + not-found heroes ===== */

.legal-hero,
.notfound-hero {
  padding-block: clamp(4rem, 6vw, 7rem);
  background: var(--color-bg-surface);
}

.legal-hero__accent,
.notfound-hero__accent {
  margin: 0 0 0.6rem;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.notfound-suggestions {
  padding-block: var(--section-padding-block);
}

/* ── D-82: hero backdrops on the listing pages, the gallery and the contact
   hero. D-40 renders each required hero placement as a backdrop, but no
   vendored sheet ever styled the classes - a chosen photo rendered as a raw
   in-flow image. These bands keep the source's dark-on-light text, so the
   photo reads as a soft texture: a fading strip behind the header, never a
   full-bleed hero. (blog | events | offers - gallery and previous-events
   reuse the offers/events stems.) ── */
.blog,
.events,
.offers,
.contact-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.blog__media,
.events__media,
.offers__media,
.contact-hero__media {
  position: absolute;
  inset: 0 0 auto 0;
  height: 420px;
  z-index: 0;
  opacity: 0.18;
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent);
  mask-image: linear-gradient(to bottom, #000 55%, transparent);
  pointer-events: none;
}

.blog__image,
.events__image,
.offers__image,
.contact-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog__content,
.events__inner,
.offers__inner,
.contact-hero__inner {
  position: relative;
  z-index: 1;
}

/* ===========================================================================
   Conversion completion pass
   ---------------------------------------------------------------------------
   D-73 recorded that the foundation macros emit BEM element names the pinned
   source CSS does not define, and D-76 put the aliases for them in this sheet.
   Only a fraction of them ever landed: a render of all fourteen routes found
   159 emitted classes that no selector in the package names, including every
   element of both detail-page article bodies, both share bars, the language
   picker, and the two routes that have no source design at all.

   Everything below carries the pinned source's own declarations across to the
   renamed selector. Where no source rule exists (the elements the deltas
   invented, and the legal / not-found routes), the styling is authored from
   the token set so it sits inside the same visual system.

   Run `PYTHONPATH=. python scripts/check_class_coverage.py` after touching a
   macro or a route template; that is the check this pass exists to satisfy.
   =========================================================================== */

/* ---- D-83: sections.band's own elements -----------------------------------
   band emits {modifier}__accent / __title / __lead before caller(). The source
   spells the same three elements {block}__accent / __title / __description and
   repeats one uniform declaration set per section sheet. Bands whose modifier
   has no source sheet had no rule at all. */

.blog-listing__accent,
.offers__grid__accent,
.events__list__accent,
.events__switch__accent,
.offers__switch__accent,
.gallery-tabs__accent,
.contact-form__accent,
.contact-info__accent,
.contact-map__accent,
.notfound-suggestions__accent,
.offer-single__intro__accent,
.offer-single__sections__accent,
.offer-single__quote__accent,
.offer-single__panel__accent,
.offer-single__terms-block__accent,
.event-single__intro__accent,
.event-single__sections__accent,
.event-single__notes__accent,
.event-single__notice__accent,
.event-single__quote__accent,
.event-single__panel__accent {
  margin: 0;
  font-size: 1.5rem;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.blog-listing__title,
.offers__grid__title,
.events__list__title,
.events__switch__title,
.offers__switch__title,
.notfound-suggestions__title,
.offer-single__intro__title,
.offer-single__sections__title,
.offer-single__quote__title,
.offer-single__panel__title,
.offer-single__terms-block__title,
.event-single__intro__title,
.event-single__sections__title,
.event-single__notes__title,
.event-single__notice__title,
.event-single__quote__title,
.event-single__panel__title {
  margin: 0;
  color: var(--color-font);
}

.blog-listing__lead,
.blog-listing__description,
.offers__grid__lead,
.offers__grid__description,
.events__list__lead,
.events__list__description,
.events__switch__lead,
.events__switch__description,
.offers__switch__lead,
.offers__switch__description,
.gallery-tabs__lead,
.gallery-tabs__description,
.contact-info__lead,
.contact-info__description,
.contact-map__lead,
.contact-map__description,
.notfound-suggestions__lead,
.notfound-suggestions__description,
.offer-single__intro__lead,
.offer-single__intro__description,
.offer-single__sections__lead,
.offer-single__sections__description,
.offer-single__quote__lead,
.offer-single__quote__description,
.offer-single__panel__lead,
.offer-single__panel__description,
.offer-single__terms-block__lead,
.offer-single__terms-block__description,
.event-single__intro__lead,
.event-single__intro__description,
.event-single__sections__lead,
.event-single__sections__description,
.event-single__notes__lead,
.event-single__notes__description,
.event-single__notice__lead,
.event-single__notice__description,
.event-single__quote__lead,
.event-single__quote__description,
.event-single__panel__lead,
.event-single__panel__description {
  margin: 2.4rem auto 0;
  max-width: 68ch;
  font-size: 1.6rem;
  line-height: 1.75;
  color: var(--color-light-grey);
}

/* ---- D-84: listing band centring ------------------------------------------
   Every band the source centres, centred. The source spells the wrapper
   `{block}__content` and `sections.band` emits `{block}__inner`, so the rule
   simply never reached them: offers-index, events-index and previous-events
   rendered flush left, and so did the gallery, reviews, chef-favourites, blog
   and FAQ bands on `home` and the team band on `about`. Only `intro` is
   genuinely left-aligned in the source, which is why it is not in this list.

   Caught by comparing a real render against the source design - not by
   check_class_coverage.py, which sees that these classes HAVE a rule (the
   backdrop's position, further up this sheet) and cannot see that the rule is
   incomplete. */

.offers__inner,
.events__inner,
.gallery__inner,
.reviews__inner,
.favourites__inner,
.blog__inner,
.faq__inner,
.team__inner {
  text-align: center;
}

/* Two of them also carry a measure the source set on the same wrapper. */
.gallery__inner {
  max-width: 980px;
  margin-inline: auto;
}

/* Front #378: the measure holds the words above the team, not the grid - the
   cards take the container's full width. */
.team__inner > :not(.team__grid) {
  max-width: 64ch;
  margin-inline: auto;
}

/* ---- D-85: record cards in the listing grids ------------------------------
   The source's `.offers__card` / `.events__card` are full-width banners
   (`width: min(100%, 980px)`). D-14 replaced them with the shared card macros,
   whose alias block sets no width -- and the vendored grids use
   `justify-items: center`, so an auto-width item shrank to its content. */

/* Front #225/#227: a list of offers or events is a grid of cards, the same
   card and the same grid as the blog, not a column of 980px banners whose
   picture filled the screen. One column on a phone, two on a tablet, three
   from a laptop up - the home page's previews included. */
.offers__grid,
.events__grid,
.events__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.4rem;
  justify-items: stretch;
  align-items: start;
}

.offers__grid > .offer-card,
.events__grid > .event-card,
.events__list > .event-card {
  width: 100%;
}

@media (min-width: 640px) {
  .offers__grid,
  .events__grid,
  .events__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .offers__grid,
  .events__grid,
  .events__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* The detail pages' side panel of facts (#225/#227). */
.offer-single__facts,
.event-single__facts {
  margin: 1.6rem 0 0;
  display: grid;
  gap: 1.2rem;
}

.offer-single__facts dt,
.event-single__facts dt {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.offer-single__facts dd,
.event-single__facts dd {
  margin: 0.2rem 0 0;
  color: var(--color-font);
  line-height: 1.6;
}

.event-single__facts a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.event-single__panel,
.offer-single__panel {
  margin-bottom: 1.6rem;
}

.offer-card__media,
.event-card__media,
.blog-card__media,
.team-card__media {
  display: block;
  overflow: hidden;
}

.offer-card__image,
.event-card__image,
.blog-card__image,
.team-card__image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.team-card__bio {
  margin: 1.4rem 0 0;
  font-size: 1.6rem;
  line-height: 1.75;
  color: var(--color-light-grey);
}

/* Front #377: "Read more" under the short biography, and the dialog holding
   the long one. */
.team-card__more {
  margin: 1.2rem 0 0;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
}

.team-card__more:focus-visible,
.team-card__dialog-close:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

.team-card__dialog {
  width: min(100% - 3.2rem, 64rem);
  max-height: min(100% - 6.4rem, 80rem);
  padding: 3.2rem;
  border: none;
  border-radius: var(--ui-radius, 0);
  background: var(--color-background);
  color: var(--color-font);
  text-align: left;
}

.team-card__dialog::backdrop {
  background: rgb(0 0 0 / 55%);
}

.team-card__dialog[open] {
  animation: team-card-dialog-in 200ms ease;
}

@keyframes team-card-dialog-in {
  from {
    opacity: 0;
    transform: translate3d(0, 1.6rem, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .team-card__dialog[open] {
    animation: none;
  }
}

.team-card__dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.6rem;
}

.team-card__dialog-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.25;
}

.team-card__dialog-close {
  flex-shrink: 0;
  padding: 0 0.4rem;
  border: none;
  background: none;
  font-size: 3.2rem;
  line-height: 1;
  color: var(--color-font);
  cursor: pointer;
}

.team-card__dialog-body {
  margin-top: 2rem;
  font-size: 1.6rem;
  line-height: 1.75;
  color: var(--color-light-grey);
}

/* ---- D-86: detail-page article bodies -------------------------------------
   `offers-single.css` / `events-single.css` are loaded but name none of the
   elements the converted templates emit: the source's __kicker / __excerpt /
   __content / __panel-title / __terms-meta became __accent / __lead /
   __section-body / __panel__title / __terms-meta--updated, and D-64, D-68 to
   D-71 added a price, an event meta line, a venue, an organizer, performers, a
   ticket action and a status notice that no source design had. */

.offer-single__accent,
.event-single__accent {
  margin: 0;
  font-size: 1.5rem;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.offer-single__lead,
.offer-single__description,
.event-single__lead,
.event-single__description {
  margin: 2.4rem 0 0;
  font-size: 1.9rem;
  line-height: 1.7;
  color: var(--color-font);
  font-style: italic;
}

.offer-single__sections,
.event-single__sections,
.event-single__intro,
.event-single__notes {
  margin-top: 3.2rem;
}

.offer-single__intro-body,
.offer-single__section-body,
.offer-single__terms-body,
.event-single__intro-body,
.event-single__section-body,
.event-single__notes-body {
  color: var(--color-light-grey);
}

.offer-single__intro-body > * + *,
.offer-single__section-body > * + *,
.offer-single__terms-body > * + *,
.event-single__intro-body > * + *,
.event-single__section-body > * + *,
.event-single__notes-body > * + * {
  margin-top: 1.8rem;
}

.offer-single__intro-body p,
.offer-single__intro-body li,
.offer-single__section-body p,
.offer-single__section-body li,
.offer-single__terms-body p,
.offer-single__terms-body li,
.event-single__intro-body p,
.event-single__intro-body li,
.event-single__section-body p,
.event-single__section-body li,
.event-single__notes-body p,
.event-single__notes-body li {
  font-size: 1.7rem;
  line-height: 1.8;
}

.offer-single__price {
  margin: 1.8rem 0 0;
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-font);
}

.offer-single__terms-meta--updated,
.event-single__updated {
  margin-top: 1.2rem;
  font-size: 1.4rem;
  color: var(--color-light-grey);
}

/* The event meta line: two <time>s and a place, each with a visually hidden
   label (D-68), so the row needs to wrap rather than run together. */
.event-single__meta {
  margin: 2rem 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.2rem;
  font-size: 1.5rem;
  color: var(--color-light-grey);
}

.event-single__meta-label {
  font-weight: 700;
}

.event-single__location,
.event-single__attendance,
.event-single__organizer,
.event-single__performers,
.event-single__venue {
  margin: 1.2rem 0 0;
  font-size: 1.6rem;
  line-height: 1.75;
  color: var(--color-light-grey);
}

.event-single__venue-address {
  margin: 0.4rem 0 0;
  font-style: normal;
  color: var(--color-light-grey);
}

.event-single__venue-link,
.event-single__ticket {
  display: inline-block;
  margin-top: 1.2rem;
  font-weight: 700;
  color: var(--color-font);
  text-decoration: none;
}

.event-single__venue-link:hover,
.event-single__venue-link:focus-visible,
.event-single__ticket:hover,
.event-single__ticket:focus-visible {
  color: var(--color-primary);
}

/* D-69: a non-scheduled event says so on the page, not only in the graph. */
.event-single__notice {
  margin-top: 2.4rem;
  padding: 1.8rem 2rem;
  border-left: 4px solid var(--color-primary);
  background: color-mix(in srgb, var(--color-primary) 8%, var(--color-background));
}

.event-single-related {
  display: block;
}

/* ---- D-87: share bars -----------------------------------------------------
   D-50 and D-63 route both bars through `share.bar`, which derives its class
   stem from `class_name` -- so the emitted stems are `share` and `share-bottom`
   on blog-detail and `{block}__share` on the two record routes, none of which
   the source's `__share-list` / `__share-btn` rules reach. */

.share,
.share-bottom,
.offer-single__share,
.event-single__share {
  margin-top: 2.2rem;
}

.share-bottom {
  margin-top: 3rem;
}

.share__heading,
.share-bottom__heading,
.offer-single__share__heading,
.event-single__share__heading {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-light-grey);
}

.share__list,
.share-bottom__list,
.offer-single__share__list,
.event-single__share__list {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.share__link,
.share__copy,
.share-bottom__link,
.share-bottom__copy,
.offer-single__share__link,
.offer-single__share__copy,
.event-single__share__link,
.event-single__share__copy {
  position: relative;
  width: 4rem;
  height: 4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-font);
  background: var(--color-font);
  color: var(--color-white);
  cursor: pointer;
  text-decoration: none;
  transition: border-color 160ms ease, background-color 160ms ease;
}

.share__link svg,
.share__copy svg,
.share-bottom__link svg,
.share-bottom__copy svg,
.offer-single__share__link svg,
.offer-single__share__copy svg,
.event-single__share__link svg,
.event-single__share__copy svg {
  width: 1.8rem;
  height: 1.8rem;
  fill: currentColor;
}

.share__link:hover,
.share__link:focus-visible,
.share__copy:hover,
.share__copy:focus-visible,
.share-bottom__link:hover,
.share-bottom__link:focus-visible,
.share-bottom__copy:hover,
.share-bottom__copy:focus-visible,
.offer-single__share__link:hover,
.offer-single__share__link:focus-visible,
.offer-single__share__copy:hover,
.offer-single__share__copy:focus-visible,
.event-single__share__link:hover,
.event-single__share__link:focus-visible,
.event-single__share__copy:hover,
.event-single__share__copy:focus-visible {
  border-color: var(--color-primary);
  background: var(--color-primary);
}

.share__link:focus-visible,
.share__copy:focus-visible,
.share-bottom__link:focus-visible,
.share-bottom__copy:focus-visible,
.offer-single__share__link:focus-visible,
.offer-single__share__copy:focus-visible,
.event-single__share__link:focus-visible,
.event-single__share__copy:focus-visible {
  outline: 2px solid var(--color-black);
  outline-offset: 2px;
}

/* The copy-link status is announced, not shown: `share.bar` pairs it with the
   button through aria-describedby, and the source showed the same string in a
   ::after tooltip. */
.share__copy-status,
.share-bottom__copy-status,
.offer-single__share__copy-status,
.event-single__share__copy-status {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---- D-88: elements the deltas invented -----------------------------------
   Markup that shipped with a delta but never got a rule. */

/* D-43: the lightbox gained previous / next controls. */
.gallery-lightbox__nav {
  position: fixed;
  top: 50%;
  z-index: 2;
  width: 5.4rem;
  height: 5.4rem;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  color: var(--color-white);
  cursor: pointer;
}

.gallery-lightbox__nav--prev {
  left: 2rem;
}

.gallery-lightbox__nav--next {
  right: 2rem;
}

.gallery-lightbox__nav svg {
  width: 3.4rem;
  height: 3.4rem;
}

.gallery-lightbox__nav:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 2px;
}

/* D-41: the grid became a <ul> of tile macros, moving the source's
   `gallery-grid__trigger` / `__image` down one BEM level. */
.gallery-grid__item__trigger {
  border: none;
  padding: 0;
  margin: 0;
  background: transparent;
  cursor: zoom-in;
}

.gallery-grid__item__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease, filter 220ms ease;
}

.gallery-grid__item__trigger:hover .gallery-grid__item__image,
.gallery-grid__item__trigger:focus-visible .gallery-grid__item__image {
  transform: scale(1.04);
  filter: brightness(0.92);
}

.gallery-grid__item__trigger:focus-visible {
  outline: 2px solid var(--color-black);
  outline-offset: 3px;
}

/* D-60: the bare switch link gained a band wrapper. */
.events__switch {
  margin: 0;
  text-align: center;
}

/* D-107: the offers pages' switch link, the events one's twin (Front #231). */
.offers__switch {
  margin: 0;
  text-align: center;
}

.offers__switch-link {
  display: inline-block;
  margin-top: 1.6rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-font);
  text-decoration: none;
}

.offers__switch-link:hover,
.offers__switch-link:focus-visible {
  color: var(--color-primary);
}

/* D-110: the blog's category links above the grid (Front #200). */
.blog-categories {
  margin: 0 0 3.2rem;
}

.blog-categories__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.blog-categories__link {
  display: inline-block;
  padding: 0.6rem 1.6rem;
  border: 1px solid var(--color-light-grey);
  border-radius: 999px;
  font-size: 1.4rem;
  line-height: 1.4;
  color: var(--color-font);
  text-decoration: none;
}

.blog-categories__link:hover,
.blog-categories__link:focus-visible {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.blog-categories__link[aria-current="page"] {
  border-color: var(--color-font);
  background: var(--color-font);
  color: var(--color-white);
}

/* D-109: the author's own links under the author box's biography (Front #201). */
.blog-author__social {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
}

.blog-author__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.6rem;
  height: 3.6rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: var(--color-font);
}

.blog-author__social-link:hover,
.blog-author__social-link:focus-visible {
  color: var(--color-primary);
}

.blog-author__social-link svg {
  width: 1.6rem;
  height: 1.6rem;
}

/* D-108: the FAQ page's categories, each a heading and a text over its
   questions (Front #236), in the question list's own column. */
/* Front #374: the category heading and text are centred over the questions. */
.faq__group {
  max-width: 72rem;
  margin: 5.6rem auto 0;
  text-align: center;
}

.faq__group .faq__list {
  margin-top: 2rem;
}

.faq__group-title {
  margin: 0;
  font-size: 2.8rem;
  line-height: 1.25;
  font-weight: 700;
  color: var(--color-font);
}

.faq__group-text {
  margin: 1.2rem 0 0;
  font-size: 1.6rem;
  line-height: 1.75;
  color: var(--color-light-grey);
}

/* D-107: an ended offer says so above everything else on its page. */
.offer-single__notice {
  margin: 0 0 2rem;
  padding: 1.2rem 1.6rem;
  border-left: 4px solid var(--color-primary);
  background: var(--color-bg-surface);
  font-weight: 600;
}

.offer-single__notice-link {
  margin-inline-start: 0.6rem;
  color: var(--color-primary);
}

/* The chef-favourite card became a link. */
.favourites__item-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.favourites__item-link:hover .favourites__item-title,
.favourites__item-link:focus-visible .favourites__item-title {
  color: var(--color-primary);
}

/* The floating reserve action carries a visible label. */
.floating-reserve__label {
  font-weight: 700;
}

.blog-author__content {
  min-width: 0;
}

/* D-52: the author box shows the author's role where the source had a bio. */
.blog-author__role {
  margin: 0.6rem 0 0;
  font-size: 1.5rem;
  line-height: 1.6;
  color: var(--color-light-grey);
}

/* The reserve band exists twice: hand-authored on home and about (D-07), where
   it keeps the source's `reserve__content` wrapper and its own dark overlay
   element, and through `sections.band` on menu (D-39), where the macro emits
   `reserve__inner` and cannot write an overlay. The second spelling had neither
   the source's white text nor anything to darken the photo behind it, so the
   menu page's reservation band was white text on a white page. The band gets
   the overlay as a background layer instead of an element - the one place the
   macro's fixed structure has to be met from CSS. */
/* Front #372: the wrapper is NOT positioned, so the photo (absolute, inset 0)
   is laid against the full-bleed `.reserve` section rather than the 1240px
   container: the picture runs edge to edge and fills the section's own
   padding, which becomes the content's padding instead of two white bands
   above and below it. */
.reserve__inner {
  text-align: center;
  color: var(--color-white);
  width: min(100%, 1240px);
}

/* On the band-rendered spelling the photo is a CHILD of `__inner` rather than a
   sibling of it, so the overlay goes on the picture itself, and everything else
   in the wrapper is lifted above the pair inside the section's isolated
   stacking context. */
.reserve__inner > .reserve__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--color-overlay);
}

.reserve__inner > *:not(.reserve__media) {
  position: relative;
  z-index: 1;
}

.reserve__body {
  margin: 2.4rem auto 0;
  max-width: 68ch;
  line-height: 1.45;
}

/* ---- D-90: the two routes with no source design ---------------------------
   `manifest.json` -> routes[].source_design is "generated" for legal-detail
   and not-found (D-38), so no vendored sheet was ever going to name their
   elements. Authored from the token set, reusing the `.content` family's
   measure and colour so a policy page reads like the rest of the site. */

.legal-hero__inner,
.notfound-hero__inner,
.notfound-suggestions__inner {
  text-align: center;
}

.legal-hero__title {
  margin: 0;
  color: var(--color-font);
}

.legal-hero__meta {
  margin: 1.6rem 0 0;
  font-size: 1.4rem;
  color: var(--color-light-grey);
}

.notfound-hero__title {
  margin: 0;
  color: var(--color-font);
}

.notfound-hero__lead {
  margin: 2.4rem auto 0;
  max-width: 68ch;
  font-size: 1.6rem;
  line-height: 1.75;
  color: var(--color-light-grey);
}

.notfound-suggestions__list {
  list-style: none;
  margin: 2.4rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem 2rem;
}

.notfound-suggestions__link {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-font);
  text-decoration: none;
}

.notfound-suggestions__link:hover,
.notfound-suggestions__link:focus-visible {
  color: var(--color-primary);
}



/* List items inside the flex/inline lists above: the <li> carries no styling
   of its own, but it does need the browser's default marker box gone in the
   one list whose parent is not already list-style: none. */
.share__item,
.share-bottom__item,
.offer-single__share__item,
.event-single__share__item,
.notfound-suggestions__item {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* D-35: the scripted map canvas became a static image plus a directions link. */
.contact-map__figure {
  margin: 0;
}

.contact-map__figure img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---- D-91: the page canvas ------------------------------------------------
   Ten of the source's route stylesheets paint the page with a per-route
   `<main>` class -- `.offers-main`, `.blog-main`, `.contact-main` and so on --
   each carrying the identical `background: var(--color-background)`. D-09
   dropped those per-route classes because `pages/base.html` owns <main> and
   exposes no hook for them, so nothing painted the page at all: every route
   rendered on the browser's bare canvas, which is white or dark depending on
   the visitor's system theme rather than on the design.

   `body` is the right owner here, not `#main-content`: D-08 moved the hero out
   of <main> to sit beside it, so a rule on <main> would leave the hero band
   unpainted. The newsletter band, the footer and every hero paint themselves
   on top of this. */

body {
  background: var(--color-background);
}

/* ---- D-99: the restaurant's logo -----------------------------------------
   The header brand is a wordmark until the restaurant uploads a logo in its
   settings, at which point the same <a> carries the image instead. Height is
   fixed and width follows, so a logo of any aspect ratio sits on the header's
   baseline grid and reserves its box before the file arrives - there are no
   generated derivatives for this asset and therefore no intrinsic width and
   height to hand the browser. */

.site-header__brand--logo {
  display: inline-flex;
  align-items: center;
}

.site-header__logo-image {
  display: block;
  height: 3.6rem;
  width: auto;
  max-width: 22rem;
  object-fit: contain;
}

.site-footer__logo-image {
  display: block;
  height: 6.4rem;
  width: auto;
  max-width: 18rem;
  object-fit: contain;
}

/* ─────────────────────────────────────────────────────────────────────────
   D-104 — a site with no photographs is still a site.

   Every hero placement was manifest-`required`, so a brand-new site could not
   be published until somebody had uploaded pictures — and the pages that
   rendered the backdrop unconditionally crashed without one. The placements are
   optional now, and these rules give the four full-bleed heroes their own
   ground so a light-on-dark title does not become white text on white paper
   while the operator is still choosing photographs.

   Not a placeholder image: a flat brand ground reads as a deliberate design,
   and a grey box with a mountain icon in it reads as a broken page.

   Two classes each, not one: every page links its own sheets AFTER this one,
   and the family's single-class `.offers` / `.blog { background }` came later
   and won - the ground went back to the page colour while the text below
   stayed white. White on white, on the FAQ, gallery, offers and blog pages
   of any site without a hero picture.
   ───────────────────────────────────────────────────────────────────────── */
.hero.hero--plain,
.about-hero.about-hero--plain,
.blog.blog--plain,
.offers.offers--plain {
  background:
    linear-gradient(160deg,
      color-mix(in srgb, var(--color-primary) 92%, black) 0%,
      color-mix(in srgb, var(--color-primary) 70%, black) 100%);
}

/* The overlay exists to darken a photograph. Over the flat ground it only
   flattens the gradient, so it steps aside. */
.hero--plain .hero__overlay,
.about-hero--plain .about-hero__overlay {
  background: transparent;
}

/* The listing heroes paint their text dark-on-light when there is a photo
   (D-82 fades the strip out under the copy). On the brand ground the same
   copy has to invert, or it is charcoal on green. */
.blog--plain .blog__title,
.blog--plain .blog__accent,
.blog--plain .blog__description,
.offers--plain .offers__title,
.offers--plain .offers__accent,
.offers--plain .offers__description {
  color: var(--color-primary-foreground, #fff);
}

/* ===== D-104: a fixed picture box is the profile's own ratio ===== */

/* The intro's right-hand picture is a `tall` (2:3) crop; the vendored rule
   reserves 520 / 745, a hair taller, so `object-fit: cover` shaved the sides.
   Two classes to beat the vendored single-class rule whatever the sheet order,
   inside and outside its media query. */
.intro .intro__media--right {
  aspect-ratio: 2 / 3;
}

/* The latest-posts thumbnail on a post page is the post's `wide` (32:21)
   featured picture; the vendored rule reserved 16 / 11. */
.blog-single .blog-single__latest-thumb {
  aspect-ratio: 32 / 21;
}

/* ---- D-111: the header's side columns fit their content -------------------
   The vendored header grid gives the brand and the actions 20% of the row
   each. The wordmark is `white-space: nowrap` at 3.2rem and the actions hold
   the language picker and the Reserve button, so a restaurant name of three
   words, or a picker with three languages, overflowed its column and ran under
   the nav - at 904px the brand needed 288px of a 172px column and the actions
   245px of 172px. Each side now takes at least its own content and the two
   share what is left equally, which keeps the nav centred whenever there is
   room; the nav (minimum 0) wraps inside what remains instead of being
   overlapped. Scoped to 900px and up: under that the vendored `auto 1fr auto`
   grid with the hamburger stands, and this sheet loads after global.css, so an
   unscoped rule would replace it. */

@media (min-width: 900px) {
  .site-header__inner {
    grid-template-columns: minmax(max-content, 1fr) minmax(0, auto) minmax(max-content, 1fr);
  }
}

/* ---- D-112: the contact bands' kickers are centred with their titles ------
   D-83 gave the `contact-form`, `contact-info` and `contact-map` kickers their
   rule, but the vendored contact.css centres each of those bands on the title
   itself - the bands have no centred wrapper - so the kicker sat at the start
   of the row above a centred heading. */

.contact-form__accent,
.contact-info__accent,
.contact-map__accent {
  text-align: center;
}

/* ---- D-113: social icon rows wrap -----------------------------------------
   The footer, the contact page's "Follow us" card and the mobile drawer lay
   their social links on one flex line, so a restaurant with more than five or
   six networks pushed the row out of its column: over the footer's opening
   hours, past the card's edge. contact.css and global.css set no `flex-wrap`,
   so this holds whatever the sheet order. */

.site-footer__social,
.contact-info__icon-list,
.nav-drawer__social {
  flex-wrap: wrap;
}

/* ---- D-114: the contact bands' leads are centred with their titles --------
   D-83's shared lead rule centres the lead's 68ch box (`margin: auto`) but not
   its text, and the vendored contact.css centres only the contact-form lead.
   On `contact-info` and `contact-map` a short lead therefore started at the
   left edge of a centred box, visibly off-centre under a centred heading and
   (since D-112) a centred kicker. */

.contact-info__lead,
.contact-map__lead {
  text-align: center;
}

/* Footer headings follow the site accent without changing layout. */
.site-footer__heading {
  text-decoration-line: underline;
  text-decoration-color: var(--color-primary);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.35em;
}

/* ---- D-115: one small page hero (Front #357) ------------------------------
   Gallery, contact, booking request, FAQ, blog, blog category, offers,
   previous offers, events, previous events, a policy page and the not-found
   page each drew their title band from a different family - `offers` (whose
   vendored `padding-top: 0` left the gallery, FAQ and offers titles touching
   the header), `blog`, `events` (a surface ground), `contact-hero`,
   `legal-hero` - so the gap under the header, the eyebrow / title / text
   rhythm and the gap to the content below changed from page to page.
   `sections.page_hero` now draws all of them, with the contact hero's look:
   page ground, centred copy, the D-82 picture strip fading out behind it.
   The listing heroes' flat brand ground for a page with no picture (D-104)
   is gone with them: a small hero is dark-on-light whether or not it has a
   picture, like the contact hero always was. */

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: var(--section-padding-block);
  background: var(--color-background);
}

.page-hero__media {
  position: absolute;
  inset: 0 0 auto 0;
  height: 420px;
  z-index: 0;
  opacity: 0.18;
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent);
  mask-image: linear-gradient(to bottom, #000 55%, transparent);
  pointer-events: none;
}

.page-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 88rem;
  text-align: center;
}

.page-hero__accent {
  margin: 0 0 0.8rem;
  font-size: 1.5rem;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.page-hero__title {
  margin: 0;
  color: var(--color-font);
}

.page-hero__text {
  margin: 1.8rem auto 0;
  max-width: 64ch;
  font-size: 1.6rem;
  line-height: 1.75;
  color: var(--color-light-grey);
}

.page-hero__text > :first-child {
  margin-top: 0;
}

.page-hero__text > :last-child {
  margin-bottom: 0;
}

.page-hero__action {
  margin: 2.8rem 0 0;
}

/* The gap to the content below is the same on every page: the first band of
   <main> keeps its full top padding. Some vendored bands zero it because the
   source stacked them under a hero inside the same band (`.gallery-tabs`,
   `.offers`); the id outranks those single-class rules whatever the sheet
   order. */
.page-hero + #main-content > section:first-child {
  padding-top: var(--section-padding-block);
}

/* A listing page's cards, switch link and pager, under the page hero. */
.page-listing {
  padding-block: var(--section-padding-block);
}

/* The gallery tab band's own kicker and lead sat flush left under a centred
   title - the D-112 / D-114 fix, for the one band they missed. */
.gallery-tabs__accent,
.gallery-tabs__lead {
  text-align: center;
}

/* ---- D-117: the contact details card (Front #355) --------------------------
   The phone and email links read like the address beside them - regular
   weight, the text colour - and say they are links on hover and focus, with
   an outline for the keyboard. Follow us and Chat with us share one card, the
   chat icons under a smaller heading, so the cards fill the three columns. */

.contact-info__subheading {
  margin: 2.4rem 0 0;
  font-size: 2rem;
  color: var(--color-font);
}

/* ---- D-118: the gallery grid is a list with no bullet indent (Front #356) --
   D-41 made the grid a <ul>; no sheet reset its list padding, so every tile
   sat 40px in from the band's edge. */

.gallery-grid {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ---- D-122: one eyebrow for every kicker (Front #388) ----------------------
   The reserve band's kicker had a short line either side; every other kicker
   was bare text. `sections.kicker`, `sections.band` and `sections.page_hero`
   now add `eyebrow` to the kicker they emit (the home, about, menu and page
   heroes included), and this one rule draws the lines in the kicker's own
   colour. The lines are inline boxes, not flex items, so an eyebrow follows
   its band's own text alignment - centred under a centred title, flush left
   in the intro - instead of every band having to say which it is. */
.eyebrow::before,
.eyebrow::after {
  content: "";
  display: inline-block;
  width: var(--eyebrow-line-width);
  border-top: 2px solid currentColor;
  /* Mid-height of the capitals the kickers are set in. */
  vertical-align: calc(0.35em - 1px);
}

.eyebrow::before {
  margin-inline-end: var(--eyebrow-gap);
}

.eyebrow::after {
  margin-inline-start: var(--eyebrow-gap);
}

:root {
  --eyebrow-line-width: min(var(--reserve-accent-line-width, 5rem), 10vw);
  --eyebrow-gap: 1.6rem;
}

@media (min-width: 768px) {
  :root {
    --eyebrow-gap: 2.4rem;
  }
}

/* The intro sets its kicker over a left-hand column. */
.intro__accent {
  text-align: start;
}

/* ---- D-123: one corner radius for the whole inventory (Front #386) --------
   D-04 rounded the buttons, inputs and floating controls only; the cards,
   picture boxes and pagers beside them stayed square, so a rounded theme
   read as half applied. `--ui-radius` (css/global.css) is the design editor's
   corner radius capped at 50px. Buttons, inputs and the listing cards and
   pagers already take it above (edit 1, D-73). */

/* Cards and panels. */
.reviews__card,
.menu-item,
.menu-category__header,
.menu-item__details-block,
.contact-form__card,
.contact-info__card,
.notfound-suggestions__item,
.blog-single__panel,
.offer-single__panel,
.event-single__panel,
.blog-pagination__link,
.offers-pagination__link,
.events-pagination__link,
.gallery-tabs__tab,
.menu-modal__close,
.team-card__dialog-close {
  border-radius: var(--ui-radius, 0);
}

/* Picture boxes: rounded and clipped, so the picture follows the corner. */
.gallery__media,
.intro__media,
.content__media,
.menu-item__media,
.team-card__media,
.gallery-grid__item__trigger,
.blog-single__featured,
.blog-single__gallery-item img,
.blog-single__latest-thumb,
.contact-map__frame,
.contact-map__image {
  border-radius: var(--ui-radius, 0);
  overflow: hidden;
}

/* Small chips: a 50px corner would turn a 2.5rem chip into a pill. */
.menu-item__badge,
.menu-item__signal,
.menu-item__micro-chip,
.menu-content__nav-list a,
.blog-card__category,
.event-card__status {
  border-radius: var(--ui-radius-sm, 0);
}

/* From 768px the newsletter's input and button are one joined control: only
   its outer corners are rounded. */
@media (min-width: 768px) {
  .newsletter__input {
    border-start-end-radius: 0;
    border-end-end-radius: 0;
  }

  .newsletter__actions .btn--white {
    border-start-start-radius: 0;
    border-end-start-radius: 0;
  }
}
