/* Phonatic Social — shared styles
   Extracted from "Phonatic Social Redesign v3.dc.html" canvas design. */

:root {
  --ink: #14100c;         /* page surface */
  --ink-deep: #0f0c09;    /* footer / deepest */
  --ink-raised: #1a1510;  /* raised panel */
  --cream: #f2ece1;       /* primary text */
  --cream-bright: #fdf6ea;/* text on accent */
  --muted: #9d9284;       /* body copy */
  --muted-dim: #877d70;
  --muted-faint: #6f665b;
  --label: #8e8375;       /* eyebrow labels */
  --accent: #d9a441;      /* gold */
  --brick: #c9502f;       /* orange-red CTA */
  --oxblood: #7a0f0d;     /* quote band */
  --rule: rgba(242, 236, 225, 0.12);
  --rule-soft: rgba(242, 236, 225, 0.1);
  --dotted: rgba(242, 236, 225, 0.25);
  --hairline: rgba(242, 236, 225, 0.32);

  --sans: 'Karla', Helvetica, Arial, sans-serif;
  --display: 'Quicksand', 'Karla', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --gutter: 48px;
  --maxw: 1280px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { opacity: 0.72; }
img { max-width: 100%; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.shell { max-width: var(--maxw); margin: 0 auto; }

/* ---------- Motion ---------- */

@keyframes phRise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}
@keyframes phSpin { to { transform: rotate(360deg); } }

[data-reveal] { opacity: 0; }
[data-reveal].ph-in { animation: phRise 0.8s cubic-bezier(.2, .7, .3, 1) forwards; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; }
}

/* ---------- Skip link ---------- */

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 20px;
  background: var(--accent);
  color: var(--ink);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.skip:focus { left: 8px; top: 8px; }

/* ---------- Utility bar ---------- */

.utility {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 9px var(--gutter);
  background: var(--brick);
  color: var(--cream-bright);
  font-size: 12.5px;
  letter-spacing: 0.06em;
}
.utility__links { display: flex; gap: 26px; }

/* ---------- Masthead ---------- */

.masthead {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 14px var(--gutter);
  background: rgba(20, 16, 12, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}

.masthead__nav {
  display: flex;
  gap: 26px;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #d8cec0;
}
.masthead__nav a[aria-current="page"] { color: var(--accent); }

.wordmark {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--cream);
}
.wordmark img {
  height: 46px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}
.wordmark span {
  font-family: var(--display);
  font-size: 23px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
}

.masthead__actions { display: flex; gap: 10px; justify-content: flex-end; }

/* Mobile nav toggle — hidden on desktop */
.navtoggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--cream);
  cursor: pointer;
  align-items: center;
  justify-content: flex-end;
}

/* Three-line (hamburger) icon, drawn with the bar plus its two pseudo-elements. */
.navtoggle__bars,
.navtoggle__bars::before,
.navtoggle__bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.navtoggle__bars { position: relative; }
.navtoggle__bars::before,
.navtoggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}
.navtoggle__bars::before { top: -6px; }
.navtoggle__bars::after { top: 6px; }

/* Morph into an X while the panel is open. */
.navtoggle[aria-expanded="true"] .navtoggle__bars { background: transparent; }
.navtoggle[aria-expanded="true"] .navtoggle__bars::before { transform: translateY(6px) rotate(45deg); }
.navtoggle[aria-expanded="true"] .navtoggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* Order Online / Book a Table live in the mobile panel only. */
.masthead__nav-action { display: none; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 17px 40px;
  background: var(--brick);
  color: var(--cream-bright);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--brick);
  cursor: pointer;
  font-family: var(--sans);
}
.btn--sm { padding: 11px 18px; }
.btn--ghost {
  background: transparent;
  border: 1px solid var(--hairline);
  color: var(--cream);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); opacity: 1; }

/* ---------- Eyebrow / headings ---------- */

.eyebrow {
  margin: 0 0 24px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow--dim { color: var(--label); letter-spacing: 0.18em; font-size: 11.5px; }

.display {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 0.98;
  text-wrap: balance;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: stretch;
  background: var(--ink);
  overflow: hidden;
  /* Let vertical scrolling stay native while horizontal drags reach the
     swipe handler in site.js. */
  touch-action: pan-y;
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero__img.is-active { opacity: 1; }


.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(20, 16, 12, 0.78) 0%,
    rgba(20, 16, 12, 0.62) 40%,
    rgba(20, 16, 12, 0.72) 100%);
  opacity: 1;
  transition: opacity 1s ease;
}
/* Extra pool of shade behind the centred headline — the hero photos are busy
   and bright, and the type has to stay readable over all three. */
.hero__scrim::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 55% at 50% 50%,
    rgba(20, 16, 12, 0.55) 0%,
    rgba(20, 16, 12, 0.25) 55%,
    rgba(20, 16, 12, 0) 100%);
}

/* Left-aligned slides (2 & 3) swap the centred scrim for a side wash: solid
   behind the text panel, fading to fully clear so the photo reads uncovered
   on the right. Both scrims live in the DOM the whole time; only opacity
   switches, so the crossfade between slide styles stays smooth. */
.hero__scrim--side {
  background: linear-gradient(90deg,
    var(--ink) 0%,
    var(--ink) 22%,
    rgba(20, 16, 12, 0.78) 34%,
    rgba(20, 16, 12, 0.38) 48%,
    rgba(20, 16, 12, 0.08) 62%,
    rgba(20, 16, 12, 0) 76%);
  opacity: 0;
}
.hero__scrim--side::after { content: none; }

.hero[data-hero-active="0"] .hero__scrim--center { opacity: 1; }
.hero[data-hero-active="0"] .hero__scrim--side { opacity: 0; }
.hero[data-hero-active="1"] .hero__scrim--center,
.hero[data-hero-active="2"] .hero__scrim--center { opacity: 0; }
.hero[data-hero-active="1"] .hero__scrim--side,
.hero[data-hero-active="2"] .hero__scrim--side { opacity: 1; }
.hero__vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(20, 16, 12, 0.45) 0%,
    rgba(20, 16, 12, 0) 30%,
    rgba(20, 16, 12, 0) 70%,
    rgba(20, 16, 12, 0.5) 100%);
}

.hero__slide {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 96px var(--gutter);
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease;
}
.hero__slide.is-active { opacity: 1; pointer-events: auto; }

.hero__slide h1,
.hero__slide h2 {
  margin: 0 0 26px;
  max-width: 900px;
  font-family: var(--display);
  font-size: clamp(40px, 6vw, 80px);
  line-height: 0.98;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.hero__slide--signature h1,
.hero__slide--signature h2 {
  font-size: clamp(42px, 7vw, 92px);
  line-height: 0.92;
}
.hero__lede {
  margin: 0 0 34px;
  max-width: 720px;
  font-style: italic;
  font-size: 22px;
  line-height: 1.6;
  color: #c4b8a6;
  text-wrap: pretty;
}

/* Text pinned left, sitting inside the solid part of the side scrim; the
   photo stays uncovered to the right. */
.hero__slide--left {
  align-items: flex-start;
  text-align: left;
  padding-left: max(var(--gutter), 6vw);
  padding-right: 6vw;
}
.hero__slide--left .hero__lede { margin-left: 0; }
.hero__slide--left .hero__cta { align-self: flex-start; }

/* Menu + Book a table sit side by side, wrapping to two rows only when the
   viewport is too narrow to hold both. */
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.hero__slide--left .hero__cta { justify-content: flex-start; }

/* Smaller CTA box in the hero — tighter padding, same font-size as the
   shared .btn so the label reads the same weight everywhere else. */
.hero__slide .btn { padding: 12px 26px; }

.hero__dots {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 34px;
  display: flex;
  justify-content: center;
  gap: 12px;
}
.hero__dot {
  cursor: pointer;
  padding: 0;
  width: 8px;
  height: 8px;
  border-radius: 8px;
  border: none;
  background: rgba(242, 236, 225, 0.45);
  transition: width 0.4s ease, background 0.4s ease;
}
.hero__dot[aria-selected="true"] {
  width: 25.6px;
  background: var(--accent);
}

/* ---------- Quote band ---------- */

.quoteband {
  padding: 110px var(--gutter) 120px;
  background: var(--oxblood);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
}
.quoteband img {
  height: 110px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.94;
  animation: phSpin 26s linear infinite;
}
.quoteband blockquote {
  margin: 0;
  max-width: 960px;
  text-align: center;
  font-style: italic;
  /* 20% smaller than the original clamp(22px, 3vw, 32px) */
  font-size: clamp(17.6px, 2.4vw, 25.6px);
  line-height: 1.55;
  color: var(--cream-bright);
  text-wrap: pretty;
}

/* ---------- Image mosaic ---------- */

.mosaic { background: var(--ink); }
.mosaic__top {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4px;
}
.mosaic__stack { display: grid; grid-template-rows: 1fr 1fr; gap: 4px; }
.mosaic__row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4px;
  margin-top: 4px;
}
.mosaic img { width: 100%; object-fit: cover; display: block; }
.mosaic__hero { height: 620px; }
.mosaic__stack img { height: 308px; }
.mosaic__row img { height: 360px; }

/* ---------- Instagram ---------- */

.ig { padding: 90px var(--gutter) 96px; background: var(--ink); }
.ig__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.ig__head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 500;
}
.ig__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.ig__tile {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--ink-raised);
}
.ig__tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ig__tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 12, 9, 0);
  transition: background 0.25s;
}
.ig__tile:hover::after { background: rgba(15, 12, 9, 0.45); }
.ig__tile:hover { opacity: 1; }

/* Reels / video posts get a play badge so the tile reads as motion, not a still. */
.ig__tile[data-video]::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 10px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 7px 0 7px 12px;
  border-color: transparent transparent transparent #fff;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.6));
}

/* Mobile-only phone-mockup Reels feed. Hidden on desktop; swaps in for the
   photo grid below 900px. See site.js initReels() for playback control. */
.reels { display: none; }

@media (max-width: 900px) {
  .ig__grid { display: none; }
  .reels { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 8px; }

  .reels__phone {
    position: relative;
    height: min(72vh, 640px);
    aspect-ratio: 9 / 19.5;
    max-width: 88vw;
    background: #000;
    border-radius: 38px;
    border: 3px solid #2b2620;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55), inset 0 0 0 2px rgba(255, 255, 255, 0.04);
    overflow: hidden;
  }
  .reels__notch {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 84px;
    height: 20px;
    background: #000;
    border-radius: 12px;
    z-index: 5;
  }

  .reels__feed {
    width: 100%;
    height: 100%;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scrollbar-width: none;
  }
  .reels__feed::-webkit-scrollbar { display: none; }

  .reels__slide {
    position: relative;
    width: 100%;
    height: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    background: #000;
  }
  .reels__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  /* The phone frame is ~264px wide, so cues are transcribed short (see the
     -ml flag in tools/compress-reels.sh notes) and sized down here to stay
     on one or two lines rather than clipping at the frame edge. */
  .reels__video::cue {
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-family: var(--sans);
    font-size: 0.8em;
    line-height: 1.35;
  }

  /* The overlay spans the whole slide for its gradient, so it must stay
     transparent to pointers — otherwise it swallows every tap meant for the
     video beneath. Only the action rail opts back in. */
  .reels__ui {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    padding: 0 10px 22px 16px;
    background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,0.55) 100%);
    pointer-events: none;
  }
  .reels__caption { color: #fff; flex: 1; min-width: 0; }
  .reels__handle {
    margin: 0 0 4px;
    font-family: var(--display);
    font-weight: 600;
    font-size: 13px;
  }
  .reels__text { margin: 0; font-size: 12.5px; opacity: 0.9; max-width: 100%; }

  /* Right-hand action rail: like / comment / repost / share, Instagram-style,
     with a spinning disc (standing in for the audio thumbnail) at the base. */
  .reels__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    flex-shrink: 0;
    pointer-events: auto;
  }
  .reels__action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    background: none;
    border: none;
    padding: 0;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
  }
  .reels__icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5));
    transition: transform 0.15s ease;
  }
  .reels__action:active .reels__icon { transform: scale(0.85); }
  .reels__count {
    font-size: 11px;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
  }

  /* Outline shows by default; the filled twin is absolutely positioned on
     top and only revealed once the button is pressed (liked). */
  .reels__icon-filled { position: absolute; inset: 0; display: none; }
  .reels__action[aria-pressed="true"] .reels__icon-outline { display: none; }
  .reels__action[aria-pressed="true"] .reels__icon-filled { display: block; }
  .reels__action[data-reels-like][aria-pressed="true"] .reels__icon { color: #ff4d5e; }

  .reels__disc {
    width: 30px;
    height: 30px;
    margin-top: 4px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.85);
    overflow: hidden;
    display: block;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    animation: reels-disc-spin 4s linear infinite;
    animation-play-state: paused;
  }
  .reels__disc img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .reels__slide.is-playing .reels__disc { animation-play-state: running; }
  @keyframes reels-disc-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
  }

  .reels__mute {
    position: absolute;
    top: 34px;
    right: 12px;
    z-index: 4;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }
  .reels__mute svg {
    width: 20px;
    height: 20px;
    position: static;
    inset: auto;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.5));
  }
  .reels__mute .reels__icon-filled { display: none; }
  .reels__mute[data-muted="false"] .reels__icon-outline { display: none; }
  .reels__mute[data-muted="false"] .reels__icon-filled { display: block; }
  .reels__mute[data-muted="false"] { background: rgba(217, 164, 65, 0.9); color: #14100c; }

  .reels__hint {
    margin: 0;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted-dim);
  }
}

/* ---------- Visit ---------- */

.visit { display: grid; grid-template-columns: 1fr 1fr; }
.visit__panel { padding: 80px var(--gutter); background: var(--ink-raised); }
.visit__panel h2 {
  margin: 0 0 36px;
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 500;
}
.visit__list { display: flex; flex-direction: column; gap: 24px; }
.visit__list p:first-child { margin: 0 0 6px; }
.visit__list p:not(.footer__lastcall):not(:first-child) {
  margin: 0;
  font-family: var(--display);
  font-size: 30px;
}
.visit__list .visit__addr { font-size: 28px; line-height: 1.35; }
.visit__list .footer__lastcall { margin: 4px 0 0; }
/* The visit photo is portrait; without a cap it drives the whole row taller
   than the panel text needs and leaves a large empty gap beside it. */
.visit { align-items: stretch; }
.visit img {
  width: 100%;
  height: 100%;
  max-height: 620px;
  object-fit: cover;
  object-position: 50% 45%;
  display: block;
}
.visit__panel { display: flex; flex-direction: column; justify-content: center; }

/* ---------- Footer ---------- */

.footer {
  padding: 64px var(--gutter) 40px;
  background: var(--ink-deep);
  color: #a09587;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1.1fr;
  gap: 44px;
  font-size: 16px;
}
.footer h3 {
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}
.footer__hours { display: flex; flex-direction: column; gap: 12px; }
.footer__hours div { line-height: 1.5; }
.footer__hours dt {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--label);
  margin-bottom: 2px;
}
.footer__hours dd { margin: 0; font-size: 16px; color: var(--cream); }
.footer__hours .is-accent { color: var(--accent); }
.footer__lastcall {
  display: inline-block;
  margin-top: 2px;
  font-size: 13px;
  font-style: italic;
  color: var(--muted);
}
.footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer__brand img {
  height: 48px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}
.footer__brand span {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 600;
  color: var(--cream);
}
.footer p { margin: 0; font-size: 16px; line-height: 1.8; }
.footer__nav { display: flex; flex-direction: column; gap: 12px; font-size: 16px; }
/* The column heading sits in the same flex flow as the links, so cancel the
   flex gap under it and use the shared .footer h3 spacing instead. */
.footer__nav h3 { margin-bottom: 2px; }
.footer__legal {
  grid-column: 1 / -1;
  margin-top: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--rule-soft);
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted-faint);
}

/* ---------- Page banner (menu / story) ---------- */

.banner {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink-deep);
}
.banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
.banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(15, 12, 9, 0.72) 0%,
    rgba(15, 12, 9, 0.35) 45%,
    rgba(15, 12, 9, 0.92) 100%);
}
/* Four-up image strip filling the same 420px banner height. */
.banner__strip {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
}
.banner__strip img {
  position: static;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.banner__inner { position: relative; z-index: 2; padding: 0 var(--gutter) 44px; }
.banner__inner h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 500;
  line-height: 1.02;
}

/* ---------- Menu ---------- */

.menu { padding: 56px var(--gutter) 80px; background: var(--ink); }
.menu__lede {
  margin: 0 0 34px;
  max-width: 640px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  text-wrap: pretty;
}

.signature {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: start;
  padding: 30px 34px;
  margin-bottom: 38px;
  border: 1px solid rgba(217, 164, 65, 0.35);
  background: rgba(217, 164, 65, 0.06);
}
.signature__name {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}
.signature__name p:first-child {
  margin: 0;
  font-family: var(--display);
  font-size: 32px;
  line-height: 1.15;
}
.signature__price {
  margin: 0;
  font-family: var(--display);
  font-size: 26px;
  color: var(--accent);
}
.signature__desc {
  margin: 8px 0 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
  text-wrap: pretty;
}
.signature__addons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14.5px;
  color: #c4b8a6;
}
.signature__addons div { display: flex; justify-content: space-between; gap: 12px; }
.signature__addons span:last-child { color: var(--accent); }

.leader {
  flex: 1;
  min-width: 20px;
  border-bottom: 1px dotted var(--dotted);
  transform: translateY(-6px);
  display: block;
}

.tabs {
  display: flex;
  gap: 28px;
  margin-bottom: 38px;
  flex-wrap: wrap;
  justify-content: center;
}
.tab {
  cursor: pointer;
  font-family: var(--sans);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 10px 0;
  border: none;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: var(--muted);
}
.tab[aria-selected="true"] {
  color: var(--accent);
  border-bottom-color: var(--accent);
  font-weight: 700;
}

.items { display: grid; grid-template-columns: 1fr 1fr; column-gap: 72px; }
.item { padding: 20px 0; border-bottom: 1px solid var(--rule-soft); }
.item__line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}
.item__en {
  margin: 0;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.35;
  color: var(--cream);
}
.item__price {
  margin: 0;
  font-family: var(--display);
  font-size: 20px;
  color: var(--accent);
}
.item__line .leader { transform: translateY(-4px); }
.item__vi {
  margin: 5px 0 0;
  font-style: italic;
  font-size: 16px;
  color: var(--muted);
}
.item__desc {
  margin: 7px 0 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--muted-dim);
  text-wrap: pretty;
}

.menu__note {
  margin: 34px 0 0;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-faint);
}

/* ---------- Story ---------- */

.story__banner { position: relative; height: 440px; overflow: hidden; }
.story__banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Bias upward: the lanterns and storefront sit above centre in this frame. */
  object-position: 50% 38%;
}
.story__banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(20, 16, 12, 0.5) 0%,
    rgba(20, 16, 12, 0.2) 40%,
    rgba(20, 16, 12, 0.96) 100%);
}
.story {
  padding: 0 64px 90px;
  max-width: 760px;
  margin: -60px auto 0;
  position: relative;
}
.story h1 {
  margin: 0 0 34px;
  font-family: var(--display);
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1.05;
  font-weight: 500;
}
.story p {
  margin: 0 0 20px;
  font-size: 17px;
  line-height: 1.85;
  color: #b6aa9a;
  text-wrap: pretty;
}
.story__pull {
  margin: 0 0 40px !important;
  padding-top: 30px;
  border-top: 1px solid rgba(242, 236, 225, 0.14);
  font-style: italic;
  font-size: 26px !important;
  line-height: 1.5 !important;
  color: var(--cream) !important;
  text-wrap: pretty;
}
.story__cta { display: flex; gap: 10px; flex-wrap: wrap; }
.story__cta .btn { padding: 15px 28px; }

.press {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid rgba(242, 236, 225, 0.14);
}
.press .eyebrow--dim { display: block; margin-bottom: 10px; }
.press__link {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
  color: var(--cream);
  transition: color 0.2s ease;
}
.press__link:hover { color: var(--accent); }
.press__pub {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
}
.press__title {
  font-size: 15px;
  font-style: italic;
  color: var(--muted);
}
.press__link:hover .press__title { color: inherit; }

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .items { grid-template-columns: 1fr; column-gap: 0; }
  .signature { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 900px) {
  :root { --gutter: 28px; }

  .utility { display: none; }
  .utility__links { gap: 18px; }

  /* Wordmark centered, hamburger right: the Order button moves into the panel
     so the brand is not squeezed between two competing controls. A third
     (empty) column balances the hamburger's width so the centre column is
     truly centred on the bar, not just within the leftover space. */
  .masthead { grid-template-columns: 34px 1fr auto; gap: 12px; padding: 8px var(--gutter); }
  .masthead__actions { display: none; }
  .wordmark { grid-column: 2; grid-row: 1; min-width: 0; justify-self: center; }
  .wordmark span { overflow: hidden; text-overflow: ellipsis; }
  .navtoggle { grid-column: 3; grid-row: 1; width: 34px; height: 34px; display: flex; justify-self: end; margin-right: -8px; }

  .masthead__nav-action {
    display: block;
    margin-top: 4px;
  }
  .masthead__nav-action:first-of-type {
    margin-top: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--rule);
  }
  .masthead__nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 40; /* above the hero, which paints its own stacking contexts */
    flex-direction: column;
    gap: 0;
    padding: 8px var(--gutter) 16px;
    background: var(--ink);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
    border-bottom: 1px solid var(--rule);
  }
  .masthead__nav.is-open { display: flex; }
  .masthead__nav a { padding: 12px 0; }
  .wordmark img { height: 32px; }
  .wordmark span { font-size: 16px; }

  .hero { min-height: 600px; }
  /* padding-block only: a full shorthand here would reset the left/right
     padding that .hero__slide--left sets for the side-fade slides. */
  .hero__slide { padding-block: 72px; }
  .hero__slide--left { padding-left: var(--gutter); padding-right: var(--gutter); }
  .hero__lede { font-size: 17px; }

  /* The per-slide object-position values inline on each <img> are tuned for the
     wide desktop hero and push the subject off frame in a narrow portrait
     viewport, so each gets its own mobile-appropriate vertical anchor.
     !important is required to beat the inline attribute. */
  .hero__img { object-position: 50% 50% !important; }
  /* This photo's aspect ratio is close enough to the mobile hero box that
     object-position has almost no vertical overflow to work with, and its
     top third is a dark, intentionally moody backdrop — not empty crop
     space — so no anchor alone removes it. Scaling up crops that backdrop
     out and keeps the bowls centred; anchoring top keeps the extra height
     added below, off-screen. */
  .hero__img[alt*="Bone-in short rib"] {
    object-position: 50% 100% !important;
    transform: scale(1.35);
    transform-origin: 50% 100%;
  }

  .quoteband { padding: 56px var(--gutter) 60px; gap: 26px; }
  .quoteband img { height: 62px; }

  .mosaic__top { grid-template-columns: 1fr; }
  .mosaic__hero { height: 300px; }
  .mosaic__stack { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .mosaic__stack img { height: 190px; }
  .mosaic__row { grid-template-columns: 1fr 1fr; }
  .mosaic__row img { height: 190px; }

  .ig { padding: 44px var(--gutter) 40px; }
  .ig__grid { grid-template-columns: 1fr 1fr; gap: 3px; }

  .visit { grid-template-columns: 1fr; }
  .visit__panel { padding: 40px var(--gutter); }
  .visit img { min-height: 260px; }

  .footer { grid-template-columns: 1fr 1fr; gap: 28px; padding: 44px var(--gutter) 32px; }
  .footer__nav { flex-direction: row; flex-wrap: wrap; gap: 16px; }
  /* Keep the heading on its own line above the wrapped row of links. */
  .footer__nav h3 { flex: 0 0 100%; margin-bottom: 0; }
  .banner--strip .banner__strip { grid-template-columns: 1fr 1fr; }
  .story__banner { height: 300px; }

  .banner { min-height: 300px; }
  .tabs { gap: 18px; justify-content: flex-start; }
  .story { padding: 0 var(--gutter) 60px; }
  .story__pull { font-size: 21px !important; }

  /* Menu items read as one block on a phone: name, price, Vietnamese name and
     description all in the same white rather than four tiers of contrast. */
  .item__en,
  .item__price,
  .item__vi,
  .item__desc { color: #fff; }
}

@media (max-width: 460px) {
  .footer { grid-template-columns: 1fr; }
}
