/* ==========================================================================
   Bernini's Bistro — La Jolla
   Design tokens
   ========================================================================== */

/* Palette taken from the restaurant's existing brand:
   #F6F5F4 page ground and #170204 navbar are their live theme values,
   #C05746 is their header rule, and #EE4326 is the red in their wordmark. */
:root {
  /* Surface */
  --bone:        #F6F5F4;   /* page canvas */
  --linen:       #ECEAE7;   /* alternating band / cards */
  --paper:       #FFFFFF;   /* raised surface */

  /* Ink — near-black with a red cast, straight off their navbar */
  --ink:         #170204;
  --ink-70:      rgba(23, 2, 4, .70);
  --ink-muted:   rgba(23, 2, 4, .66);
  --ink-14:      rgba(23, 2, 4, .14);
  --ink-08:      rgba(23, 2, 4, .08);
  --stone:       #9C9391;   /* rules, leader dots */

  /* Accent */
  --vermilion:   #EE4326;   /* the wordmark red — display and decoration only */
  --terracotta:  #C05746;   /* their header rule — borders, selection */
  --ember:       #A63520;   /* text-safe red, 6.1:1 on the canvas */
  --band-red:    #853523;   /* happy-hour band */
  --fire:        #EF3B2E;   /* the oven in the hero photo reads #A00000, far too
                               dark to set over the photo itself. Same hue,
                               lifted until it clears the hero veil at 3.3:1 */

  /* Type */
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --body:    "Newsreader", Georgia, "Times New Roman", serif;
  --util:    "Archivo", "Helvetica Neue", Arial, sans-serif;

  --wonk: "SOFT" 60, "WONK" 1;

  /* Rhythm */
  --gutter: clamp(1.25rem, 5vw, 4.5rem);
  --measure: 78rem;
  --band: clamp(4.5rem, 10vw, 9rem);
}

/* ==========================================================================
   Reset & base
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--body);
  font-optical-sizing: auto;
  font-size: clamp(1rem, .96rem + .2vw, 1.125rem);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-variation-settings: var(--wonk);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.015em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: var(--terracotta); color: var(--bone); }

/* ==========================================================================
   Utility type
   ========================================================================== */

.eyebrow {
  font-family: var(--util);
  font-size: .6875rem;
  font-weight: 600;
  font-variation-settings: "wdth" 92;
  letter-spacing: .18em;
  text-transform: uppercase;
  line-height: 1.4;
  margin: 0 0 1.5rem;
  color: var(--ink-muted);
}
.eyebrow--accent { color: var(--ember); }
.eyebrow--light  { color: rgba(246, 245, 244, .80); }

.lede {
  font-size: clamp(1.125rem, 1rem + .6vw, 1.4375rem);
  line-height: 1.5;
  color: var(--ink-70);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--bone);
  padding: .75rem 1.25rem;
  font-family: var(--util);
  font-size: .8125rem;
  z-index: 200;
}
.skip:focus { left: 0; }

.vh {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

/* ==========================================================================
   Layout primitives
   ========================================================================== */

.wrap {
  width: 100%;
  max-width: var(--measure);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.band { padding-block: var(--band); }
.band--linen { background: var(--linen); }
.band--tight { padding-block: clamp(3rem, 6vw, 5rem); }

.rule {
  border: 0;
  border-top: 1px solid var(--ink-14);
  margin: 0;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--util);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  padding: .95rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn--solid {
  background: var(--ember);
  color: var(--bone);
}
.btn--solid:hover { background: var(--ink); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink-14);
}
.btn--ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--bone); }

.btn--onDark {
  background: transparent;
  color: var(--bone);
  border-color: rgba(246, 245, 244, .38);
}
.btn--onDark:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }

.btn--light {
  background: var(--bone);
  color: var(--ink);
}
.btn--light:hover { background: var(--ink); color: var(--bone); }

/* Text link with a rule that retracts on hover */
.tlink {
  font-family: var(--util);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  padding-bottom: .35rem;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size .3s ease, color .25s ease;
}
.tlink:hover { color: var(--ember); background-size: 30% 1px; }

/* ==========================================================================
   Signature: the "light is on" status
   --------------------------------------------------------------------------
   A neighborhood restaurant is not browsed, it is checked. The status strip
   answers the only question a regular has — are you open right now — and it
   is computed live from the real hours in assets/js/site.js.
   ========================================================================== */

.status {
  --dot: var(--stone);
  background: var(--ink);
  color: rgba(246, 245, 244, .82);
  font-family: var(--util);
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.status__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem 1.5rem;
  min-height: 2.5rem;
  padding-block: .55rem;
}
.status__state { display: inline-flex; align-items: center; gap: .55rem; }
.status__meta  { display: inline-flex; align-items: center; gap: 1.25rem; }
.status__meta a { text-decoration: none; opacity: .8; transition: opacity .2s ease; }
.status__meta a:hover { opacity: 1; }

.status[data-state="open"]  { --dot: var(--vermilion); }
.status[data-state="happy"] { --dot: #E8A33D; }

.dot {
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: var(--dot);
  flex: none;
  position: relative;
}
.status[data-state="open"] .dot::after,
.status[data-state="happy"] .dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--dot);
  animation: halo 2.6s ease-out infinite;
}
@keyframes halo {
  0%   { transform: scale(1);   opacity: .55; }
  70%  { transform: scale(3.2); opacity: 0; }
  100% { transform: scale(3.2); opacity: 0; }
}

@media (max-width: 44rem) {
  .status__meta { display: none; }
  .status__inner { justify-content: center; }
}

/* ==========================================================================
   Header
   ========================================================================== */

.head {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bone);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease;
}
.head.is-stuck { border-bottom-color: var(--ink-14); }

.head__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 1.15rem;
}

.mark {
  font-family: var(--display);
  font-variation-settings: var(--wonk);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: -.01em;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}
.mark span { color: var(--vermilion); }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav a {
  font-family: var(--util);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-70);
  transition: color .2s ease;
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ember); }

.head__cta { display: flex; align-items: center; gap: 1rem; }
.head__cta .btn { padding: .7rem 1.25rem; }

.burger {
  display: none;
  background: none;
  border: 0;
  padding: .5rem;
  cursor: pointer;
  color: var(--ink);
  font-family: var(--util);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
}

@media (max-width: 62rem) {
  .nav, .head__cta .btn--ghost { display: none; }
  .burger { display: block; }
  .head__inner { padding-block: .9rem; }
}

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: var(--bone);
  padding: var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 2rem;
  transform: translateY(-100%);
  transition: transform .45s cubic-bezier(.4, 0, .1, 1);
  overflow-y: auto;
}
.drawer[data-open="true"] { transform: translateY(0); }
.drawer__top { display: flex; justify-content: space-between; align-items: center; }
.drawer nav { display: flex; flex-direction: column; gap: 1.1rem; }
.drawer nav a {
  font-family: var(--display);
  font-variation-settings: var(--wonk);
  font-size: clamp(2rem, 9vw, 2.75rem);
  text-decoration: none;
  line-height: 1;
}
.drawer nav a:hover { color: var(--ember); }
.drawer__foot {
  margin-top: auto;
  font-family: var(--util);
  font-size: .8125rem;
  letter-spacing: .06em;
  color: var(--ink-70);
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.drawer__foot a { text-decoration: none; }

/* ==========================================================================
   Image frames + graceful placeholders
   --------------------------------------------------------------------------
   Every photo slot has a real filename. Until that file exists, the frame
   shows a warm tonal field labelled with the shot it is waiting for, so the
   layout never collapses and the handoff documents itself.
   ========================================================================== */

.frame {
  position: relative;
  margin: 0;
  overflow: hidden;
  background:
    linear-gradient(140deg, rgba(238, 67, 38, .10), rgba(23, 2, 4, .07) 55%, rgba(156, 147, 145, .16)),
    var(--linen);
}
.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.frame::after {
  content: attr(data-shot);
  position: absolute;
  inset: auto 1rem 1rem 1rem;
  font-family: var(--util);
  font-size: .625rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  opacity: 0;
  transition: opacity .2s ease;
  pointer-events: none;
}
.frame.is-empty::after { opacity: 1; }
.frame.is-empty img { display: none; }

.frame--tall   { aspect-ratio: 3 / 4; }
.frame--square { aspect-ratio: 1 / 1; }
.frame--wide   { aspect-ratio: 4 / 3; }
.frame--pano   { aspect-ratio: 16 / 9; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: min(92svh, 54rem);
  display: flex;
  align-items: flex-end;
  color: var(--bone);
  isolation: isolate;
  background: linear-gradient(150deg, #170204, #4A1710 55%, #8E3320);
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* The hero photo is portrait in a landscape frame. Biasing the crop upward
     keeps the pergola, the blossom and the oven in shot on wide screens
     instead of centring on the table top. */
  object-position: 50% 38%;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  /* Two scrims, not one. The vertical pass seats the copy; the horizontal
     pass darkens only the left column it occupies, so the plates on the right
     stay bright instead of the whole photo going flat. */
  background:
    linear-gradient(to right,
      rgba(20, 14, 10, .34) 0%,
      rgba(20, 14, 10, .16) 48%,
      rgba(20, 14, 10, .04) 72%),
    linear-gradient(to top,
      rgba(20, 14, 10, .86) 0%,
      rgba(20, 14, 10, .62) 34%,
      rgba(20, 14, 10, .34) 62%,
      rgba(20, 14, 10, .16) 82%,
      rgba(20, 14, 10, .34) 100%);
}

.hero__inner { padding-block: clamp(3rem, 8vw, 6rem); width: 100%; }

/* The copy sits over a busy photo — green window frames, brick, and the red
   oven flue directly behind the word "locals". A soft veil covers only the area
   behind the copy, masked with a radial gradient so it has no visible edge. The
   photograph itself stays sharp. */
.hero__panel {
  position: relative;
  z-index: 1;
  max-width: 54rem;
}
.hero__panel::before {
  content: "";
  position: absolute;
  inset: -2.5rem -3.5rem -3rem -3.5rem;
  z-index: -1;
  pointer-events: none;
  background: rgba(18, 10, 8, .58);
  -webkit-mask-image: radial-gradient(115% 96% at 32% 52%, #000 42%, rgba(0, 0, 0, 0) 100%);
  mask-image: radial-gradient(115% 96% at 32% 52%, #000 42%, rgba(0, 0, 0, 0) 100%);
}

@media (max-width: 56rem) {
  .hero__panel::before { inset: -1.5rem -1.75rem -2rem -1.75rem; }
}

.hero h1 {
  font-size: clamp(3rem, 11vw, 8.5rem);
  font-weight: 400;
  line-height: .92;
  letter-spacing: -.03em;
  max-width: 14ch;
  margin-bottom: 1.75rem;
}
.hero h1 em {
  font-style: italic;
  color: var(--fire);
}

.hero__sub {
  font-size: clamp(1.0625rem, .95rem + .5vw, 1.3125rem);
  line-height: 1.5;
  max-width: 42ch;
  color: rgba(246, 245, 244, .86);
  margin-bottom: 2.25rem;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; align-items: center; }

/* "Tonight" — the live status at display scale */
.tonight {
  display: flex;
  align-items: baseline;
  gap: .75rem 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(246, 245, 244, .22);
  max-width: 46rem;
}
.tonight__label {
  font-family: var(--util);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(246, 245, 244, .70);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.tonight__label .dot { --dot: var(--vermilion); }
.tonight__line {
  font-family: var(--display);
  font-variation-settings: var(--wonk);
  font-style: italic;
  font-size: clamp(1.125rem, 1rem + .7vw, 1.625rem);
  line-height: 1.25;
}

.hero__scroll {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(3rem, 8vw, 6rem);
  font-family: var(--util);
  font-size: .625rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(246, 245, 244, .70);
  writing-mode: vertical-rl;
  text-decoration: none;
}
@media (max-width: 62rem) { .hero__scroll { display: none; } }

/* ==========================================================================
   Happy hour band
   ========================================================================== */

.hh {
  background: var(--band-red);
  color: var(--bone);
}
.hh__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
.hh h2 {
  font-size: clamp(2.25rem, 1.6rem + 3vw, 4.25rem);
  line-height: .98;
  margin-bottom: 1.5rem;
}
.hh__list {
  list-style: none;
  margin: 0 0 2.25rem;
  padding: 0;
  border-top: 1px solid rgba(246, 245, 244, .2);
}
.hh__list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding: .95rem 0;
  border-bottom: 1px solid rgba(246, 245, 244, .2);
}
.hh__what {
  font-size: 1.0625rem;
  color: rgba(246, 245, 244, .9);
}
.hh__price {
  font-family: var(--util);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #F6D9C8;
  white-space: nowrap;
}
.hh .frame { background: rgba(0, 0, 0, .18); }
.hh .frame::after { color: rgba(246, 245, 244, .5); }

@media (max-width: 56rem) {
  .hh__grid { grid-template-columns: 1fr; }
  .hh__media { order: -1; }
}

/* ==========================================================================
   Pillars — what the kitchen actually does
   ========================================================================== */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
}
.pillar { display: flex; flex-direction: column; gap: 1.25rem; }
.pillar h3 {
  font-size: clamp(1.5rem, 1.25rem + .8vw, 2rem);
  line-height: 1.05;
}
.pillar p { color: var(--ink-70); font-size: 1rem; margin: 0; }
.pillar__tag {
  font-family: var(--util);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ember);
  padding-top: .85rem;
  border-top: 1px solid var(--ink-14);
}
@media (max-width: 56rem) {
  .pillars { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ==========================================================================
   Section headings
   ========================================================================== */

.shead {
  display: grid;
  grid-template-columns: 1fr minmax(0, 34rem);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.shead h2 {
  font-size: clamp(2.25rem, 1.6rem + 3vw, 4rem);
  line-height: .98;
}
.shead p { color: var(--ink-70); margin: 0; }
@media (max-width: 56rem) {
  .shead { grid-template-columns: 1fr; align-items: start; }
}

/* ==========================================================================
   Story / quote
   ========================================================================== */

.story {
  display: grid;
  grid-template-columns: minmax(0, 20rem) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.story__aside {
  font-family: var(--util);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .1em;
  line-height: 1.7;
  text-transform: uppercase;
  margin: 0;
}
.story__aside dt {
  color: var(--ember);
  font-weight: 600;
  letter-spacing: .16em;
  margin-top: 1.5rem;
}
.story__aside dt:first-child { margin-top: 0; }
.story__aside dd { margin: .35rem 0 0; color: var(--ink-70); }

.story__body p {
  font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem);
  line-height: 1.62;
}

blockquote.pull {
  margin: 2.5rem 0;
  padding-left: clamp(1.25rem, 3vw, 2.25rem);
  border-left: 2px solid var(--terracotta);
}
blockquote.pull p {
  font-family: var(--display);
  font-variation-settings: var(--wonk);
  font-style: italic;
  font-size: clamp(1.375rem, 1.1rem + 1.4vw, 2.125rem);
  line-height: 1.24;
  letter-spacing: -.01em;
  color: var(--ink);
  margin-bottom: .9rem;
}
blockquote.pull cite {
  font-family: var(--util);
  font-style: normal;
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

@media (max-width: 56rem) {
  .story { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Dish rail
   ========================================================================== */

.dishes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
.dish { display: flex; flex-direction: column; gap: 1rem; }
.dish .frame { transition: transform .5s cubic-bezier(.2, .7, .3, 1); }
.dish:hover .frame { transform: translateY(-6px); }
.dish__name {
  font-family: var(--display);
  font-variation-settings: var(--wonk);
  font-size: 1.25rem;
  line-height: 1.15;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}
.dish__price {
  font-family: var(--util);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--ember);
  white-space: nowrap;
}
.dish__desc { font-size: .9375rem; color: var(--ink-70); margin: 0; }

@media (max-width: 62rem) { .dishes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 34rem) { .dishes { grid-template-columns: 1fr; } }

/* ==========================================================================
   Dessert film
   --------------------------------------------------------------------------
   A phone clip shot in portrait, so it is framed as one — a tall panel with
   the copy set beside it rather than stretched into a landscape band.
   ========================================================================== */

.cheese__grid {
  display: grid;
  grid-template-columns: minmax(0, 24rem) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.cheese__media {
  aspect-ratio: 9 / 16;
  max-height: 34rem;
  width: 100%;
  border-radius: 4px;
}
.cheese__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cheese__media.is-empty video { display: none; }

.cheese h2 {
  font-size: clamp(2.5rem, 1.8rem + 3.4vw, 4.5rem);
  line-height: .98;
  margin-bottom: 1.25rem;
}
.cheese .lede { max-width: 30ch; margin-bottom: 2rem; }

/* Sits over the video, bottom-left, quiet until hovered or focused */
.vidtoggle {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  font-family: var(--util);
  font-size: .625rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--bone);
  background: rgba(23, 2, 4, .82);
  border: 1px solid rgba(246, 245, 244, .3);
  border-radius: 999px;
  padding: .5rem .9rem;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background-color .2s ease, color .2s ease;
}
.vidtoggle:hover { background: var(--bone); color: var(--ink); }
.frame.is-empty .vidtoggle { display: none; }

@media (max-width: 56rem) {
  .cheese__grid { grid-template-columns: 1fr; }
  .cheese__media { max-height: 26rem; justify-self: start; max-width: 20rem; }
}

/* ==========================================================================
   Awards
   --------------------------------------------------------------------------
   Their existing site runs these badges on near-black, which is also the only
   ground the white certificates and the red OpenTable seal both sit on well.
   ========================================================================== */

.awards {
  background: var(--ink);
  color: var(--bone);
}
.awards__head {
  display: grid;
  grid-template-columns: 1fr minmax(0, 30rem);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.awards h2 {
  font-size: clamp(2rem, 1.5rem + 2.4vw, 3.25rem);
  line-height: 1;
}
.awards h2 em { font-style: italic; color: var(--vermilion); }
.awards__head p {
  color: rgba(246, 245, 244, .72);
  margin: 0;
}

.awards__row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  border-top: 1px solid rgba(246, 245, 244, .18);
  padding-top: clamp(2rem, 4vw, 3rem);
}
.award {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}
.award img {
  height: clamp(9rem, 16vw, 12.5rem);
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.award__name {
  font-family: var(--display);
  font-variation-settings: var(--wonk);
  font-size: clamp(1.25rem, 1.1rem + .7vw, 1.625rem);
  line-height: 1.1;
  margin: 0;
}
.award__meta {
  font-family: var(--util);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(246, 245, 244, .62);
  margin: 0;
}

@media (max-width: 56rem) {
  .awards__head { grid-template-columns: 1fr; align-items: start; }
  .awards__row { grid-template-columns: 1fr; gap: 2.5rem; }
  .award { flex-direction: row; align-items: center; gap: 1.5rem; }
  .award img { height: 7.5rem; flex: none; }
}

/* ==========================================================================
   Private parties — the three rooms
   ========================================================================== */

.spaces {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.space { display: flex; flex-direction: column; gap: 1.1rem; }
.space .frame { transition: transform .5s cubic-bezier(.2, .7, .3, 1); }
.space:hover .frame { transform: translateY(-6px); }
.space h3 {
  font-size: clamp(1.375rem, 1.2rem + .8vw, 1.75rem);
  line-height: 1.1;
}
.space p { font-size: .9375rem; color: var(--ink-70); margin: 0; }

.events__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: clamp(2rem, 4vw, 2.5rem);
  border-top: 1px solid var(--ink-14);
}
.events__cta p {
  margin: 0;
  font-size: .9375rem;
  color: var(--ink-70);
  max-width: 34ch;
}

@media (max-width: 56rem) {
  .spaces { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Visit / hours
   ========================================================================== */

.visit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.hours {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}
.hours th, .hours td {
  text-align: left;
  padding: .85rem 0;
  border-bottom: 1px solid var(--ink-14);
  font-weight: 400;
}
.hours th {
  font-family: var(--util);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-70);
}
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr[data-today] th,
.hours tr[data-today] td { color: var(--ember); }

.addr {
  font-style: normal;
  font-size: clamp(1.25rem, 1.1rem + .8vw, 1.75rem);
  font-family: var(--display);
  font-variation-settings: var(--wonk);
  line-height: 1.3;
  margin-bottom: 1.5rem;
}
.addr a { text-decoration: none; }
.addr a:hover { color: var(--ember); }

@media (max-width: 56rem) { .visit { grid-template-columns: 1fr; } }

/* ==========================================================================
   Tout (private dining)
   ========================================================================== */

.tout {
  position: relative;
  isolation: isolate;
  color: var(--bone);
  background: linear-gradient(140deg, #4A1710, #170204);
  overflow: hidden;
}
.tout__media { position: absolute; inset: 0; z-index: -2; }
.tout__media img { width: 100%; height: 100%; object-fit: cover; }
.tout::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(20, 14, 10, .9) 15%, rgba(20, 14, 10, .58) 65%, rgba(20, 14, 10, .34));
}
.tout__inner { max-width: 40rem; padding-block: clamp(4.5rem, 10vw, 8rem); }
.tout h2 {
  font-size: clamp(2.25rem, 1.6rem + 3vw, 3.75rem);
  margin-bottom: 1.25rem;
}
.tout p { color: rgba(246, 245, 244, .84); margin-bottom: 2rem; }

/* ==========================================================================
   Page head (interior pages)
   ========================================================================== */

.pagehead { padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(2rem, 4vw, 3rem); }
.pagehead h1 {
  font-size: clamp(2.75rem, 1.8rem + 5vw, 6rem);
  line-height: .95;
  margin-bottom: 1.25rem;
}
.pagehead .lede { max-width: 46ch; }

/* ==========================================================================
   Menu
   ========================================================================== */

/* --head-h is measured in site.js so the course nav parks exactly under the
   header at every breakpoint. The fallback covers the no-JS case. */
.mnav {
  position: sticky;
  top: var(--head-h, 4.75rem);
  z-index: 60;
  background: var(--bone);
  border-block: 1px solid var(--ink-14);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.mnav__inner {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  padding-block: .9rem;
  scrollbar-width: none;
}
.mnav__inner::-webkit-scrollbar { display: none; }
.mnav a {
  font-family: var(--util);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-muted);
  white-space: nowrap;
  transition: color .2s ease;
}
.mnav a:hover, .mnav a.is-active { color: var(--ember); }

.course {
  margin-bottom: clamp(3.5rem, 7vw, 6rem);
  scroll-margin-top: calc(var(--head-h, 4.75rem) + 4.5rem);
}
.course__head {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}
.course__head h2 {
  font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.75rem);
  white-space: nowrap;
}
.course__head::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--ink-14);
}
.course__note {
  font-family: var(--util);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  white-space: nowrap;
}

.items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(2rem, 5vw, 4.5rem);
}
.item {
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--ink-08);
}
.item__top {
  display: flex;
  align-items: baseline;
  gap: .75rem;
  margin-bottom: .3rem;
}
.item__name {
  font-family: var(--display);
  font-variation-settings: var(--wonk);
  font-size: 1.1875rem;
  font-weight: 500;
  line-height: 1.2;
}
.item__dots {
  flex: 1;
  min-width: 1.5rem;
  border-bottom: 1px dotted var(--stone);
  transform: translateY(-.25em);
}
.item__price {
  font-family: var(--util);
  font-size: .875rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  white-space: nowrap;
}
.item__desc {
  font-size: .9375rem;
  line-height: 1.5;
  color: var(--ink-70);
  margin: 0;
  max-width: 54ch;
}
.tag {
  display: inline-block;
  font-family: var(--util);
  font-size: .5625rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  border: 1px solid var(--ink-14);
  border-radius: 999px;
  padding: .1rem .45rem;
  vertical-align: .12em;
  margin-left: .4rem;
}

@media (max-width: 56rem) { .items { grid-template-columns: 1fr; } }

.allergy {
  font-size: .8125rem;
  line-height: 1.6;
  color: var(--ink-muted);
  max-width: 62ch;
}

/* Happy-hour course sits on linen so it reads as a different offer */
.course--hh {
  background: var(--linen);
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: 6px;
}

/* ==========================================================================
   Gallery
   ========================================================================== */

.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(.75rem, 1.6vw, 1.25rem);
}
.gallery .frame { grid-column: span 4; aspect-ratio: 1 / 1; }
.gallery .frame:nth-child(6n + 1) { grid-column: span 6; aspect-ratio: 4 / 3; }
.gallery .frame:nth-child(6n + 2) { grid-column: span 6; aspect-ratio: 4 / 3; }
.gallery .frame:nth-child(6n + 5) { grid-column: span 4; aspect-ratio: 3 / 4; }
.gallery .frame:nth-child(6n + 6) { grid-column: span 8; aspect-ratio: 16 / 9; }

@media (max-width: 56rem) {
  .gallery .frame,
  .gallery .frame:nth-child(6n + 1),
  .gallery .frame:nth-child(6n + 2),
  .gallery .frame:nth-child(6n + 5),
  .gallery .frame:nth-child(6n + 6) { grid-column: span 6; aspect-ratio: 1 / 1; }
}

/* ==========================================================================
   Forms
   ========================================================================== */

.form { display: grid; gap: 1.25rem; max-width: 34rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field label {
  font-family: var(--util);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-70);
}
.field input,
.field textarea,
.field select {
  font-family: var(--body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--ink-14);
  border-radius: 4px;
  padding: .8rem .9rem;
  width: 100%;
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--ember); }
.form__note { font-size: .8125rem; color: var(--ink-muted); }

@media (max-width: 40rem) { .form__row { grid-template-columns: 1fr; } }

/* ==========================================================================
   Footer
   ========================================================================== */

.foot {
  background: var(--ink);
  color: rgba(246, 245, 244, .72);
  padding-block: clamp(3.5rem, 7vw, 5.5rem) 2rem;
}
.foot a { text-decoration: none; }
.foot__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(246, 245, 244, .16);
}
.foot .mark { color: var(--bone); font-size: 1.75rem; }
.foot__blurb { margin-top: 1.25rem; max-width: 32ch; font-size: .9375rem; }
.foot h3 {
  font-family: var(--util);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(246, 245, 244, .58);
  margin: 0 0 1.1rem;
}
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.foot ul a { font-size: .9375rem; transition: color .2s ease; }
.foot ul a:hover { color: var(--bone); }

.foot__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  font-family: var(--util);
  font-size: .6875rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(246, 245, 244, .58);
}
.foot__bar a:hover { color: var(--bone); }
.foot__social { display: flex; gap: 1.5rem; }

@media (max-width: 62rem) {
  .foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 40rem) {
  .foot__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */

/* Content is only ever hidden when JS is present to reveal it again, and
   site.js carries a timeout that reveals everything regardless. A reader
   must never lose a section to a failed observer. */
.reveal {
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .3, 1);
}
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
}
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
}
