/* Food & Drinks page — "A taste of blue" (minimal edition, v5)
   Hi-fi recreation of design_handoff Food & Drinks v5 / README.md.
   All classes are scoped under .food-drinks-page / fd- to avoid leaking into
   other pages (see CLAUDE.md "Scope new rules"). Tokens are locally prefixed
   (--fd-*) so this file is self-contained even though the Vite build merges
   every page's CSS into one bundle (cssCodeSplit: false). Values mirror the
   theme's global --color-* and --font-* tokens (main.css) plus two v5-only
   accents (cream band, gold dot) not in the global palette yet. */

:root {
  --fd-color-navy: #003764;
  --fd-color-navy-dark: #002542;
  --fd-color-off-white: #FDFDFC;
  --fd-color-cream: #FAF9F2;
  --fd-color-sand: #F2F0E7;
  --fd-color-gold: #B9A88D;
  /* This page uses the always-scrolled (light/compact) header — see
     headerConfig.js. Measured compact height is ~88px; 8px of breathing
     room on top so the masthead never touches the header shadow. */
  --fd-header-clear: 96px;
}

.food-drinks-page {
  width: 100%;
  overflow-x: hidden;
  background: var(--fd-color-off-white);
  font-family: var(--font-body);
  color: var(--fd-color-navy-dark);
}

/* Scope to FD sections — never `.food-drinks-page a` on an ancestor of
   sibling homepage blocks (kitchen-sink / mixed pages). */
.food-drinks-page :is(.fd-masthead, .fd-index, .fd-venue, .fd-reserve, .fd-offer, .fd-info) a {
  color: var(--fd-color-navy);
  text-decoration: none;
}
.food-drinks-page :is(.fd-masthead, .fd-index, .fd-venue, .fd-reserve, .fd-offer, .fd-info) a:hover {
  opacity: .65;
}

/* ============ EYEBROW ============ */

.fd-eyebrow { display: flex; align-items: center; gap: 20px; }

.fd-eyebrow__line {
  height: 1px;
  background: rgba(0, 55, 100, .4);
  flex-shrink: 0;
}

.fd-eyebrow__text {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--fd-color-navy);
  white-space: nowrap;
}

/* ============ BUTTON ============ */

.fd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 32px;
  border-radius: 32px;
  border: none;
  font-family: var(--font-body);
  font-size: var(--btn-font-size, 16px);
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: opacity .2s ease, transform .15s ease;
}
.fd-btn:hover { opacity: .8; }
.fd-btn:active { transform: scale(.98); }
.fd-btn--primary { background: #003764 !important; color: #fff !important; }

/* ============ TEXT LINK ============ */

.fd-textlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 55, 100, .18);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--fd-color-navy);
  transition: opacity .2s ease;
}
.fd-textlink:hover { opacity: .7; }
.fd-textlink__arrow { font-size: 13px; }

/* ============ MASTHEAD ============ */

.fd-masthead {
  position: relative;
  overflow: hidden;
  padding-top: var(--fd-header-clear);
  /* Same photo the homepage's dining teaser uses (--theme-img-dining is set
     globally in main.jsx from bluebayData.themeAssetsUrl). */
  background-color: #23201A;
  background-image: var(--theme-img-dining);
  background-size: cover;
  background-position: center;
}

.fd-masthead::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(35, 32, 26, .7);
}

.fd-masthead__fx {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  opacity: .18;
  z-index: 1;
  pointer-events: none;
  user-select: none;
}

.fd-masthead__inner {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  padding: 120px 48px 96px;
}

/* Masthead sits on a dark photo now (see .fd-masthead background) — the
   shared navy-on-light eyebrow/type needs a light-on-dark override here. */
.fd-masthead .fd-eyebrow__line { background: rgba(255, 255, 255, .55); }
.fd-masthead .fd-eyebrow__text { color: var(--color-off-white); }

/* main.css ships a sitewide ".page--content h1 { font-size: clamp(2rem,
   5vw, var(--text-display)); margin-bottom: var(--space-8); }" rule whose
   specificity (0,2,1) beats a plain ".fd-masthead__title" (0,1,0) and was
   silently shrinking this heading to ~43px. Qualify with two ancestor
   classes (0,3,0) so this page's own type always wins regardless of load
   order. */
.food-drinks-page .fd-masthead .fd-masthead__title {
  margin: 40px 0 0;
  font-family: var(--font-display);
  font-weight: 400;
  /* Fluid like the site's other big display headings (.hero-carousel__title
     uses clamp(3rem, 8vw, var(--text-hero))); capped at the handoff's 96px
     spec value instead of --text-hero(120px) since this isn't a full hero. */
  font-size: clamp(2.75rem, 8vw, 96px);
  line-height: .92;
  letter-spacing: -.035em;
  color: var(--color-off-white);
}

.fd-masthead__lede {
  margin: 40px 0 0;
  max-width: 620px;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.35;
  color: rgba(253, 253, 252, .85);
  text-wrap: pretty;
}

.fd-masthead__trust {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 44px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(253, 253, 252, .65);
}

.fd-dot { width: 4px; height: 4px; border-radius: 9999px; background: var(--fd-color-gold); flex-shrink: 0; }

/* ============ VENUE INDEX ============ */

.fd-index {
  position: relative;
  background: var(--fd-color-cream);
  border-top: 1px solid rgba(0, 55, 100, .1);
  border-bottom: 1px solid rgba(0, 55, 100, .1);
  overflow: hidden;
  scroll-margin-top: var(--fd-header-clear);
}

.fd-index__fx {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  opacity: .22;
  transform: rotate(180deg);
  pointer-events: none;
  user-select: none;
}

.fd-index__inner {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 72px 48px 76px;
}

.fd-index__labels {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 20px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(0, 37, 66, .45);
}

.fd-index__row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 32px;
  padding: 22px 0;
  border-top: 1px solid rgba(0, 55, 100, .14);
  transition: opacity .2s ease;
}
.fd-index__row:hover { opacity: .6; }

.fd-index__name-kind { display: flex; align-items: baseline; gap: 20px; }

.fd-index__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--fd-color-navy-dark);
}

.fd-index__kind {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: rgba(0, 37, 66, .5);
}

.fd-index__close { border-top: 1px solid rgba(0, 55, 100, .14); }

/* ============ VENUE DETAIL BLOCKS ============ */

.fd-venue {
  max-width: 1240px;
  margin: 0 auto;
  padding: 104px 48px 0;
  scroll-margin-top: var(--fd-header-clear);
}

.fd-venue__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.fd-venue__body { display: flex; flex-direction: column; gap: 24px; }

.fd-venue__kind {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(0, 55, 100, .6);
}

.fd-venue__name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 52px;
  line-height: .98;
  letter-spacing: -.03em;
  color: var(--fd-color-navy-dark);
}

.fd-venue__tagline {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.3;
  color: var(--fd-color-navy);
}

.fd-venue__blurb {
  --rich-text-gap: 1em; /* the paragraph spacing it had before rich text */
  margin: 0;
  max-width: 520px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.75;
  color: rgba(0, 37, 66, .75);
  text-wrap: pretty;
}

.fd-venue__actions {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.fd-venue__media { display: flex; flex-direction: column; gap: 28px; }

.fd-venue__photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  background-color: var(--fd-color-sand);
  border-radius: 0;
}

.fd-venue__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 55, 100, .14);
}

.fd-info-col { display: flex; flex-direction: column; gap: 8px; }

.fd-info__label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(0, 55, 100, .45);
}

.fd-info__hours-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--fd-color-navy-dark);
}
.fd-info__hours-day { color: rgba(0, 37, 66, .55); }

/* Backend-driven venues carry a single free-text hours string (the CPT has
   no per-day structure) — render it like a contact line rather than a
   day/time row. */
.fd-info__hours-text {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--fd-color-navy-dark);
}

.fd-info__contact {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--fd-color-navy-dark);
}

.fd-info__note {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: rgba(0, 37, 66, .5);
}
/* Walk-in note in the actions row: lines up with the menu text links
   (their 16px padding + 1px hairline). */
.fd-venue__actions .fd-info__note { padding-top: 17px; }

/* ============ RESERVATIONS ============ */

.fd-reserve {
  max-width: 1240px;
  margin: 120px auto 0;
  padding: 0 48px;
  scroll-margin-top: var(--fd-header-clear);
}

.fd-reserve__rule { border-top: 1px solid rgba(0, 55, 100, .14); }

.fd-reserve__grid {
  padding-top: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.fd-reserve__intro { display: flex; flex-direction: column; gap: 20px; }

.fd-reserve__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -.025em;
  color: var(--fd-color-navy-dark);
}

/* The intro is a flex column: keep the button at its own width. */
.fd-reserve__btn { align-self: flex-start; margin-top: 8px; }

.fd-reserve__body {
  margin: 0;
  max-width: 460px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
  color: rgba(0, 37, 66, .7);
}

.fd-reserve__contact { display: flex; flex-direction: column; gap: 20px; }

.fd-reserve__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
}

.fd-reserve__address {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 55, 100, .14);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: rgba(0, 37, 66, .6);
}

/* ============ OFFER ============ */

.fd-offer {
  max-width: 1240px;
  margin: 88px auto 0;
  padding: 0 48px;
}

.fd-offer__rule { border-top: 1px solid rgba(0, 55, 100, .14); }

.fd-offer__row {
  padding-top: 40px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}

.fd-offer__text { display: flex; flex-direction: column; gap: 12px; max-width: 620px; }

.fd-offer__eyebrow {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(0, 55, 100, .6);
}

.fd-offer__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: -.02em;
  color: var(--fd-color-navy-dark);
}

.fd-offer__body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.65;
  color: rgba(0, 37, 66, .65);
}

.fd-tail { height: 120px; }

/* ============ RESPONSIVE ============ */
/* Breakpoints per the handoff's own "Responsive" guidance: collapse at
   1024px, tighten further at 720px. */

@media (max-width: 1024px) {
  .fd-masthead__inner,
  .fd-index__inner,
  .fd-venue,
  .fd-reserve,
  .fd-offer { padding-left: 32px; padding-right: 32px; }

  .fd-masthead__inner { padding-top: 80px; padding-bottom: 80px; }
  .fd-index__inner { padding-top: 56px; padding-bottom: 56px; }
  .fd-venue { padding-top: 80px; }

  .fd-venue__grid { grid-template-columns: 1fr; gap: 40px; }
  /* Single column: text + menus, then hours/contact, then the photo. */
  .fd-venue__meta { order: -1; }

  .fd-reserve__grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 720px) {
  .fd-masthead__inner,
  .fd-index__inner,
  .fd-venue,
  .fd-reserve,
  .fd-offer { padding-left: 20px; padding-right: 20px; }

  .fd-masthead__inner { padding-top: 64px; padding-bottom: 64px; }
  .fd-index__inner { padding-top: 48px; padding-bottom: 48px; }
  .fd-venue { padding-top: 64px; }

  .fd-masthead__lede { font-size: 19px; }

  /* Trust line: one item per line on phones, without the separator dots. */
  .fd-masthead__trust {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 32px;
  }
  .fd-masthead__trust .fd-dot { display: none; }

  .fd-index__row { grid-template-columns: 1fr; gap: 6px; padding: 18px 0; }
  .fd-index__name-kind { flex-direction: column; align-items: flex-start; gap: 2px; }

  .fd-venue__name { font-size: 36px; }
  .fd-venue__meta { grid-template-columns: 1fr; gap: 20px; }

  .fd-reserve { margin-top: 88px; }
  .fd-reserve__title { font-size: 36px; }

  .fd-offer__row { padding-top: 32px; }
}
