/* Raffles homepage: hero, today (hours and the map), the menu tabs, the offer card, the booking form,
   the reviews. Layout families, one each: a masthead hero, a two-cell bento, tabs beside a photo, a coloured
   highlight card, a form beside a sticky intro, an asymmetric quote trio. */

/* ------------------------------------------------------------------ 1. Hero */
/* The headline runs across the page on two lines; under it the line (start) and both buttons (end), then the
   photo across the content width. The photo settles from a 4% zoom on load (transform, off under reduced
   motion). */
.hero { padding-block: clamp(24px, 3.5vw, 44px) clamp(56px, 7vw, 96px); }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(20px, 2.4vw, 32px); }
.hero__title { font-size: clamp(2.5rem, 1.1rem + 3.7vw, 4.5rem); font-weight: 700; line-height: 1.04; letter-spacing: -0.022em; text-wrap: balance; font-variation-settings: "opsz" 72; }
.hero__side { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.hero__line { display: flex; flex-wrap: wrap; column-gap: 0.4em; font-size: 1.1875rem; font-weight: 500; color: var(--ink-2); }
.hero__line span { white-space: nowrap; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__photo { overflow: hidden; aspect-ratio: 2.2; margin-top: 8px; border-radius: var(--r-card); background: var(--china); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: no-preference) {
  .hero__photo img { animation: settle 1.4s var(--ease) both; }
  @keyframes settle { from { transform: scale(1.04); } }
}
@media (max-width: 47.99rem) {
  .hero__dot { display: none; }
  .hero__line { display: grid; }
  .hero__line span { white-space: normal; }
  .hero__actions { display: grid; width: 100%; }
  .hero__actions .btn { width: 100%; }
  .hero__photo { aspect-ratio: 3 / 2; margin-top: 4px; }
}

/* ------------------------------------------------------------------ 2. Today */
.today { padding-top: 0; }
.today__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px; }
.today__hours { padding: clamp(24px, 3vw, 40px); border-radius: var(--r-card); background: var(--china); }
.today__status { min-height: 34px; margin-top: 14px; }
.open-now--big { padding: 5px 14px; background: var(--surface); font-size: 1rem; }
.hours { display: grid; gap: 2px; margin-top: 18px; }
.hours__row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 12px; min-height: 44px; padding: 6px 16px; border-radius: 999px; }
.hours__time { text-align: end; font-variant-numeric: tabular-nums; }
/* Today's row: the cobalt pill, with a small "Today" label. */
.hours__row.is-today { background: var(--accent); color: var(--on-accent); font-weight: 600; }
.hours__today { padding: 1px 10px; border-radius: 999px; background: var(--on-accent); color: var(--accent-deep); font-size: 0.8125rem; font-weight: 700; }
.today__note { margin-top: 16px; font-size: 0.9375rem; color: var(--ink-2); }
.today__find { display: grid; grid-template-rows: minmax(260px, 1fr) auto; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); }
.today__map { position: relative; min-height: 260px; overflow: hidden; }
.today__map img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.today__map figcaption { position: absolute; inset: auto 12px 12px auto; padding: 2px 10px; border-radius: 999px; background: color-mix(in srgb, var(--surface) 92%, transparent); color: var(--ink-2); font-size: 0.75rem; }
.pin { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: var(--accent); color: var(--on-accent); box-shadow: 0 0 0 6px rgb(251 251 249 / 0.9), 0 10px 24px rgb(20 28 56 / 0.3); }
.pin .icon { width: 26px; height: 26px; }
.today__where { display: grid; gap: 10px; padding: clamp(20px, 2.5vw, 30px); }
.today__title { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; }
.today__address { font-size: 1.0625rem; }
.today__entrance { display: flex; align-items: flex-start; gap: 10px; color: var(--ink-2); }
.today__entrance > .icon { margin-top: 3px; color: var(--accent); }
.today__entrance .tbc { white-space: normal; }
.today__actions { margin-top: 6px; }
@media (max-width: 61.99rem) {
  .today__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 47.99rem) {
  .today__grid { grid-template-columns: minmax(0, 1fr); }
}

/* ------------------------------------------------------------------ 3. Menu */
.menu__head { max-width: 640px; }
.menu__tabs { display: flex; gap: 8px; margin-top: 30px; padding: 4px 2px; overflow-x: auto; scrollbar-width: none; }
.menu__tabs::-webkit-scrollbar { display: none; }
.menu__tab { flex: none; min-height: 46px; padding: 0 20px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); font-weight: 600; transition: transform 0.2s var(--ease); }
.menu__tab:hover { border-color: var(--ink); }
.menu__tab:active { transform: scale(0.97); }
.menu__tab[aria-selected="true"] { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.menu__panels { display: grid; gap: 64px; margin-top: 28px; }
.menu__panel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4.5vw, 72px); align-items: center; }
.menu__photo { overflow: hidden; max-width: 460px; aspect-ratio: 4 / 5; border-radius: var(--r-card); background: var(--china); }
.menu__photo img { width: 100%; height: 100%; object-fit: cover; }
.menu__title { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.menu__list { display: grid; gap: 2px; margin-top: 18px; }
.menu__item { display: flex; align-items: baseline; gap: 12px; padding-block: 10px; font-size: 1.1875rem; }
.menu__leader { flex: 1; min-width: 24px; border-bottom: 2px dotted color-mix(in srgb, var(--ink) 28%, transparent); transform: translateY(-5px); }
.menu__dish, .menu__price { flex: none; }
.menu__confirmed { font-weight: 600; }
.menu__foot { margin-top: 32px; font-size: 0.9375rem; color: var(--ink-2); }
/* Tabbed (with scripts): one panel at a time, fading in as it is chosen. */
@media (prefers-reduced-motion: no-preference) {
  .menu__panel.is-entering { animation: panel-in 0.4s var(--ease); }
  @keyframes panel-in { from { opacity: 0; transform: translateY(8px); } }
}
@media (max-width: 47.99rem) {
  .menu__tabs { margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); scroll-padding-inline: var(--pad); }
  .menu__panel { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .menu__photo { max-width: none; aspect-ratio: 4 / 3; }
  .menu__item { font-size: 1.0625rem; }
}

/* ------------------------------------------------------------------ 4. Current offer */
/* The page's one cobalt block, with a round price stamp tilted on its corner. */
.offer__card { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(14px, 1.6vw, 20px); padding-inline-end: clamp(24px, 6vw, 96px); border-radius: var(--r-card); background: var(--accent); color: var(--on-accent); }
.offer__photo { overflow: hidden; aspect-ratio: 1; border-radius: 12px; }
.offer__photo img { width: 100%; height: 100%; object-fit: cover; }
.offer__body { display: grid; justify-items: start; gap: 14px; padding-block: 16px; }
.offer__title { font-size: clamp(2.25rem, 1.5rem + 2.8vw, 4rem); font-weight: 700; line-height: 1.02; letter-spacing: -0.02em; }
.offer .tbc { border-color: currentColor; color: var(--on-accent); }
.offer__what .tbc { font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); font-weight: 600; }
.offer__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.btn--on-accent { border-color: rgb(247 248 252 / 0.7); color: var(--on-accent); }
.btn--on-accent:hover { background: rgb(247 248 252 / 0.14); }
.offer__card :focus-visible { outline-color: var(--on-accent); }
.offer__stamp { position: absolute; top: -26px; inset-inline-end: clamp(16px, 4vw, 48px); display: grid; place-content: center; justify-items: center; gap: 2px; width: 124px; height: 124px; border-radius: 50%; background: var(--surface); color: var(--accent-deep); font-size: 0.875rem; font-weight: 600; text-align: center; box-shadow: var(--shadow); transform: rotate(-8deg); }
.offer__stamp .tbc { border-color: var(--accent); color: var(--accent-deep); font-size: 1.125rem; }
@media (max-width: 61.99rem) {
  .offer__stamp { top: -18px; inset-inline: -10px auto; width: 104px; height: 104px; }
}
@media (max-width: 47.99rem) {
  .offer__card { grid-template-columns: minmax(0, 1fr); padding-inline-end: clamp(14px, 1.6vw, 20px); }
  .offer__photo { aspect-ratio: 16 / 10; }
  .offer__body { padding: 4px 8px 16px; }
}

/* ------------------------------------------------------------------ 5. Book a table */
.book__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.book__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.book__direct { display: grid; gap: 10px; margin-top: 24px; }
.book__direct li { display: flex; align-items: center; gap: 10px; }
.book__direct .icon { color: var(--accent); }
.book__card { padding: clamp(20px, 3vw, 40px); border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow); }
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form__row--3 { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr); }
.field { display: grid; align-content: start; gap: 6px; }
.field__label { font-size: 0.9375rem; font-weight: 600; }
.field__opt, .field__hint { color: var(--ink-2); font-weight: 400; }
.field__hint { font-size: 0.875rem; }
/* Inputs: 12px corners (the cards' 20px, less the padding they sit in). */
.input { width: 100%; min-height: 50px; padding: 10px 14px; border: 1.5px solid color-mix(in srgb, var(--ink) 30%, transparent); border-radius: 12px; background: var(--paper); font-size: 1rem; }
.input:focus-visible { border-color: var(--accent); outline: 2px solid var(--accent); outline-offset: 1px; }
.textarea { min-height: 96px; resize: vertical; }
/* The time dropdown, styled like the page (house rule: every dropdown matches the site). Where the browser
   supports a styleable native select (appearance: base-select), the closed field and the open list are
   drawn here: a surface card with a soft shadow, rows as pills, the chosen time in cobalt with a check. It
   stays a real <select> (keyboard, screen readers, autofill, reset all native). Elsewhere: the field above
   with the page's caret, and the browser's own list. */
.select-wrap { position: relative; }
.select { appearance: none; padding-inline-end: 40px; cursor: pointer; }
.select-wrap__caret { position: absolute; inset-inline-end: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); pointer-events: none; }
.select__button { display: none; }
@supports (appearance: base-select) {
  .select, .select::picker(select) { appearance: base-select; }
  .select { display: flex; align-items: stretch; padding: 0; }
  .select-wrap__caret { display: none; }
  /* Taps go to the select itself (the button only draws the closed field), so the whole field is one target. */
  .select__button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 47px; padding: 0 14px; border: 0; background: transparent; font: inherit; color: inherit; text-align: start; pointer-events: none; }
  .select::picker-icon { display: none; }
  .select selectedcontent { flex: 1; min-width: 0; white-space: nowrap; }
  .select:has(.select__placeholder:checked) selectedcontent { color: var(--ink-2); }
  .select__caret { width: 18px; height: 18px; margin-inline-start: auto; transition: rotate 0.2s var(--ease); }
  .select:open .select__caret { rotate: 180deg; }
  .select:open { border-color: var(--accent); }
  .select::picker(select) { margin-block: 6px; padding: 6px; max-height: min(320px, 50dvh); min-inline-size: 150px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); color: var(--ink); box-shadow: 0 2px 4px rgb(20 28 56 / 0.06), 0 18px 40px rgb(20 28 56 / 0.16); opacity: 0; transform: translateY(-6px) scale(0.98); transform-origin: top center; transition: opacity 0.18s ease-out, transform 0.22s var(--ease), display 0.22s allow-discrete, overlay 0.22s allow-discrete; }
  .select:open::picker(select) { opacity: 1; transform: none; }
  @starting-style { .select:open::picker(select) { opacity: 0; transform: translateY(-6px) scale(0.98); } }
  .select option { display: flex; align-items: center; min-height: 44px; padding: 8px 14px; border-radius: 999px; font-weight: 500; font-variant-numeric: tabular-nums; cursor: pointer; }
  .select option + option { margin-top: 2px; }
  .select option:hover, .select option:focus-visible { background: var(--china); outline: none; }
  .select option:checked { background: var(--accent); color: var(--on-accent); font-weight: 600; }
  .select option::checkmark { order: 2; margin-inline-start: auto; font-weight: 800; }
  /* "Choose" only labels the closed field; it is not a choice in the list. */
  .select option.select__placeholder { display: none; }
}

/* The date picker (datepicker.js; the native date input shows without scripts): a button like the other
   fields, and a calendar card under it. Days are round, like the stepper's buttons: today ringed in cobalt,
   the chosen day filled, past days dimmed and switched off. */
.datepick { position: relative; }
.datepick__btn { display: flex; align-items: center; justify-content: space-between; gap: 10px; text-align: start; cursor: pointer; }
.datepick__btn.is-empty .datepick__value { color: var(--ink-2); }
.datepick__btn[aria-expanded="true"] { border-color: var(--accent); }
.datepick__icon { width: 20px; height: 20px; color: var(--accent); }
.field.is-invalid .datepick__btn { border-color: var(--error); }
.datepick__panel { position: absolute; z-index: 6; top: calc(100% + 6px); inset-inline-start: 0; width: 320px; max-width: calc(100vw - 2 * var(--pad)); padding: 14px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); box-shadow: 0 2px 4px rgb(20 28 56 / 0.06), 0 18px 40px rgb(20 28 56 / 0.16); }
@media (prefers-reduced-motion: no-preference) {
  .datepick__panel.is-entering { animation: cal-in 0.22s var(--ease); }
  @keyframes cal-in { from { opacity: 0; transform: translateY(-6px) scale(0.98); } }
}
.datepick__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.datepick__month { font-size: 1.0625rem; font-weight: 700; }
.datepick__nav { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--china); transition: transform 0.15s var(--ease); }
.datepick__nav:active { transform: scale(0.92); }
.datepick__nav:disabled { opacity: 0.35; cursor: default; }
.datepick__nav .icon { width: 18px; height: 18px; }
.datepick__grid { width: 100%; border-collapse: collapse; table-layout: fixed; }
.datepick__grid th { padding: 4px 0 6px; font-size: 0.75rem; font-weight: 600; color: var(--ink-2); text-align: center; }
.datepick__grid td { padding: 2px; text-align: center; }
.datepick__day { display: grid; place-items: center; width: 100%; max-width: 40px; aspect-ratio: 1; margin-inline: auto; border: 0; border-radius: 50%; background: transparent; font-weight: 500; font-variant-numeric: tabular-nums; transition: transform 0.15s var(--ease); }
.datepick__day:hover:not(:disabled) { background: var(--china); }
.datepick__day:active:not(:disabled) { transform: scale(0.92); }
.datepick__day:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.is-outside .datepick__day { color: var(--ink-2); }
.datepick__day[aria-current="date"] { box-shadow: inset 0 0 0 1.5px var(--accent); color: var(--accent-deep); font-weight: 700; }
.datepick__day[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); font-weight: 700; }
.datepick__day:disabled { opacity: 0.4; cursor: default; }
.datepick__hint { margin-top: 8px; font-size: 0.8125rem; color: var(--ink-2); }
@media (pointer: coarse) { .datepick__hint { display: none; } }
@media (max-width: 47.99rem) { .datepick__panel { width: 100%; min-width: 280px; } }
.stepper { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; gap: 6px; }
.stepper__btn { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--china); transition: transform 0.15s var(--ease); }
.stepper__btn:active { transform: scale(0.92); }
.stepper__btn:disabled { opacity: 0.4; cursor: default; }
.stepper__input { padding-inline: 4px; text-align: center; -moz-appearance: textfield; appearance: textfield; }
.stepper__input::-webkit-inner-spin-button, .stepper__input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.field.is-invalid .input { border-color: var(--error); }
.field__error { color: var(--error); font-size: 0.875rem; font-weight: 500; }
.form__fail { padding: 12px 16px; border-radius: 12px; background: var(--error-bg); color: var(--error); }
.form__submit { justify-self: start; }
.form .spinner { display: none; }
.form.is-sending .spinner { display: block; }
.form.is-sending .form__submit { pointer-events: none; opacity: 0.85; }
@media (prefers-reduced-motion: no-preference) {
  .form.is-sending .spinner { animation: spin 0.8s linear infinite; }
  @keyframes spin { to { transform: rotate(1turn); } }
}
.form__privacy, .form__note { font-size: 0.875rem; color: var(--ink-2); }
.form__done { display: grid; justify-items: start; gap: 12px; }
.form__done:focus { outline: none; }
.form__done-icon { width: 48px; height: 48px; color: var(--accent); }
.form__done-title { font-size: 1.75rem; font-weight: 700; letter-spacing: -0.01em; }
@media (max-width: 61.99rem) {
  .book__inner { grid-template-columns: minmax(0, 1fr); }
  .book__intro { position: static; }
}
@media (max-width: 47.99rem) {
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .form__row--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form__row--3 [data-field="date"] { grid-column: 1 / -1; }
  .form__submit { justify-self: stretch; }
}

/* ------------------------------------------------------------------ 6. Reviews */
/* Centred heading and links; the three quotes as one large (spanning two rows) and two small. */
.reviews__head { display: grid; justify-items: center; text-align: center; }
.reviews__head .section__lede { margin-inline: auto; }
.reviews__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 20px; margin-top: 40px; }
.review { display: grid; align-content: start; gap: 16px; padding: clamp(22px, 3vw, 36px); border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); }
.review--lead { grid-row: span 2; align-content: center; border-color: transparent; background: var(--china); }
.review__mark { width: 36px; height: 36px; color: var(--accent); }
.review--lead .review__mark { width: 56px; height: 56px; }
.review__quote { font-size: 1.25rem; font-weight: 500; line-height: 1.4; }
.review--lead .review__quote { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem); }
.review__by { color: var(--ink-2); font-size: 0.9375rem; }
.reviews__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
@media (max-width: 47.99rem) {
  .reviews__grid { grid-template-columns: minmax(0, 1fr); }
  .review--lead { grid-row: auto; }
  .reviews__links { display: grid; }
}
