/* Visit and book page. The shared look is in site.css, fields and buttons in forms.css; the booking
   form's behaviour is in book.js.
   Order: title and photo > Book a table (the form, and what to know before booking) > Opening hours
   > Finding us (address, how to get here, map) > Good to know (FAQ). */

.visit { padding: 0 var(--sc-gutter) clamp(4rem, 7vw, 7rem); }

/* ---- Head: same pattern as the menu page (title left, photo right), plus links to each part ---- */
.page-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); column-gap: clamp(2rem, 4vw, 5rem); align-items: end; padding-top: clamp(2rem, 6vh, 4rem); }
.page-head h1 { margin: 0; font-size: clamp(5rem, 11vw, 12rem); }
.page-intro { margin: 1rem 0 0; max-width: 40ch; font-size: var(--sc-t-lg); line-height: 1.5; color: var(--sc-ink-soft); }
.jump { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; }
.jump a { display: inline-flex; align-items: center; height: 2.75rem; padding: 0 1.1rem; box-shadow: inset 0 0 0 1px var(--sc-hairline-strong); text-decoration: none; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.78rem; font-weight: 600; transition: background-color var(--sc-d-fast) var(--sc-ease-out); }
@media (hover: hover) and (pointer: fine) { .jump a:hover { background: color-mix(in oklab, var(--sc-ink) 9%, transparent); } }
.page-head__photo { margin: 0; }
.page-head__photo img { width: 100%; height: clamp(16rem, 44vh, 28rem); object-fit: cover; object-position: 50% 62%; }

/* ---- Sections ---- */
.v-section { padding-top: clamp(5rem, 9vw, 8rem); scroll-margin-top: 1.5rem; }
.v-section h2.poster { margin: 0; font-size: clamp(3rem, 5vw, 5.4rem); }
.v-section :where(h3) { margin: 0; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.82rem; font-weight: 600; }

/* ---- Book a table: the form in a raised panel, what to know beside it ---- */
.v-book { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(16rem, 1fr); gap: clamp(2rem, 5vw, 6rem); align-items: start; }
.v-book__panel { padding: clamp(2rem, 3.5vw, 3.5rem); background: var(--sc-surface); box-shadow: var(--sc-edge); }
.v-book__panel .hours-now { margin: 1.1rem 0 0; color: var(--sc-ink-soft); }
#book-form { margin-top: 2.25rem; }
.v-book__aside { padding-top: 0.5rem; }
.v-book__aside ul { display: grid; gap: 1.4rem; margin: 1.25rem 0 0; padding: 0; list-style: none; }
.v-book__aside li { color: var(--sc-ink-soft); line-height: 1.55; }
.v-book__aside li b { display: block; margin-bottom: 0.15rem; color: var(--sc-ink); }
.v-book__aside .talk { margin: 2rem 0 0; padding-top: 1.5rem; box-shadow: 0 -1px 0 var(--sc-hairline); color: var(--sc-ink-soft); }
.v-book__aside .talk a { color: var(--sc-ink); font-weight: 600; }

/* When and how many: guests as buttons, a two-week calendar (Monday first, closed days marked),
   then the day's times as buttons, split into lunch and dinner. Buttons and fields: forms.css. */
.picker--chips { display: grid; gap: 2rem; }
.chip-input:checked + .cal__day .cal__why { color: inherit; }
.chip-input:disabled + .cal__day { cursor: not-allowed; color: color-mix(in oklab, var(--sc-ink) 38%, transparent); box-shadow: inset 0 0 0 1px var(--sc-hairline); background: transparent; }
.cal__nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.cal__nav button { height: 2.75rem; padding: 0 1rem; border: 0; background: transparent; box-shadow: inset 0 0 0 1px var(--field-line); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; }
.cal__nav button:disabled { opacity: 0.35; cursor: not-allowed; }
.cal__range { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; font-weight: 600; }
.cal__grid { position: relative; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0.4rem; margin-top: 0.9rem; }
.cal__head { padding-bottom: 0.2rem; text-align: center; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.75rem; color: var(--sc-ink-soft); }
.cal__day { display: grid; place-content: center; justify-items: center; gap: 0.15rem; height: 4.25rem; background: var(--sc-canvas); box-shadow: inset 0 0 0 1px var(--field-line); cursor: pointer; transition: background-color var(--sc-d-fast) var(--sc-ease-out); }
.cal__dow { display: none; }
.cal__num { font-size: 1.3rem; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.cal__why { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.cal__off { display: grid; place-items: center; height: 4.25rem; color: color-mix(in oklab, var(--sc-ink) 22%, transparent); font-variant-numeric: tabular-nums; }

/* ---- Opening hours ---- */
.v-hours { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 6rem); align-items: start; }
.v-hours .hours-now { margin: 1.5rem 0 0; }
.v-hours__more { display: grid; gap: 2rem; padding-top: 0.5rem; }
.v-hours__more p, .v-hours__more ul { margin: 0.6rem 0 0; color: var(--sc-ink-soft); line-height: 1.6; }
.v-hours__more ul { padding: 0; list-style: none; }

/* ---- Finding us: address and how to get here, the map beside it ---- */
.v-find { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(2rem, 5vw, 6rem); align-items: start; }
.v-address { margin: 1.75rem 0 0; font-style: normal; font-size: clamp(1.4rem, 2vw, 1.9rem); font-weight: 600; line-height: 1.3; }
.v-door { margin: 0.75rem 0 0; color: var(--sc-ink-soft); font-size: var(--sc-t-lg); }
.v-facts { display: grid; grid-template-columns: auto 1fr; margin: 2rem 0 0; }
.v-facts dt, .v-facts dd { margin: 0; padding: 0.9rem 0; box-shadow: 0 1px 0 var(--sc-hairline); }
.v-facts dt { padding-right: 2rem; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.75rem; font-weight: 600; color: var(--sc-ink-soft); }
.v-find .ctas { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 2rem; }
.v-map { margin: 0; }
.v-map svg { display: block; width: 100%; height: auto; background: var(--sc-surface); }
.v-map figcaption { margin-top: 0.75rem; font-size: var(--sc-t-sm); color: var(--sc-ink-soft); }

/* ---- Good to know: questions that open in place ---- */
.faq { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(2rem, 5vw, 5rem); margin-top: 2rem; align-items: start; }
.faq details { box-shadow: 0 1px 0 var(--sc-hairline); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.3rem 0; font-weight: 600; font-size: 1.1rem; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 1.5rem; font-weight: 400; line-height: 1; color: var(--sc-accent); transition: transform var(--sc-d-fast) var(--sc-ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 1.3rem; max-width: 52ch; color: var(--sc-ink-soft); }
.faq-more { margin: 2.5rem 0 0; color: var(--sc-ink-soft); }
.faq-more a { color: var(--sc-ink); font-weight: 600; }

@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }

/* ---- Tablet (1099px and narrower): the form takes the full width, "Before you book" goes under
   it; finding us puts the map under the address. ---- */
@media (max-width: 1099px) {
  .v-book, .v-find { grid-template-columns: minmax(0, 1fr); }
  .v-book__panel { max-width: 46rem; }
  .v-book__aside { max-width: 40rem; padding-top: 0; }
  .v-map { max-width: 46rem; }
}

/* ---- Phone (640px and narrower) ---- */
@media (max-width: 640px) {
  .page-head { grid-template-columns: 1fr; }
  .page-head h1 { font-size: clamp(4rem, 20vw, 5.5rem); }
  .page-intro { font-size: 1.1rem; }
  .page-head__photo { margin-top: 2rem; }
  .page-head__photo img { height: 62vw; }
  .jump a { padding: 0 0.9rem; }
  .v-section h2.poster { font-size: clamp(2.6rem, 12vw, 3.4rem); }
  .v-book__panel { padding: 1.75rem 1.1rem; margin-inline: calc(var(--sc-gutter) * -1 + 0.5rem); }
  /* The calendar: seven narrow days, so closed days show by being greyed out, not by a word */
  .cal__grid { gap: 0.3rem; }
  .cal__day, .cal__off { height: 3.25rem; }
  .cal__num { font-size: 1.15rem; }
  .cal__why { display: none; }
  .cal__nav button { padding: 0 0.8rem; }
  .chip { min-width: 3rem; padding: 0 0.85rem; }
  .v-hours, .faq { grid-template-columns: minmax(0, 1fr); }
  .v-hours .hours-table th, .v-hours .hours-table td { font-size: 0.95rem; }
  .v-facts { grid-template-columns: 1fr; }
  .v-facts dt { padding-bottom: 0; box-shadow: none; }
  .v-find .ctas .btn { flex: 1 1 100%; }
}
