/* ============================================
   Pacific Asian Bistro — shared styles
   Aesthetic: aged rice paper, minimalist, editorial
   ============================================ */

:root {
  --paper:        #ecdcb6;
  --paper-light:  #f4e8c6;
  --paper-deep:   #d8c490;
  --paper-warm:   #e2cc8e;
  --ink:          #2c3413;
  --ink-deep:     #1a2009;
  --ink-soft:     #5a5230;
  --cream:        #f5e8c8;
  --green:        #4d5a26;
  --green-deep:   #3a4519;
  --green-soft:   #8a9658;
  --orange:       #783610;
  --orange-deep:  #5e2a0c;
  --orange-bright: #d96a2a;
  --seal:         #a82a1f;
  --seal-deep:    #7d1d12;
  --brass:        #c9a962;
  --rule:         rgba(44, 52, 19, 0.25);
  --rule-soft:    rgba(44, 52, 19, 0.12);
  --rule-on-dark: rgba(245, 232, 200, 0.22);

  --nav-h: 100px;

  --serif:  "Noto Serif JP", Georgia, "Times New Roman", serif;
  --sans:   "Noto Sans JP", "Helvetica Neue", system-ui, sans-serif;
  --italic: "Cormorant Garamond", Georgia, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--paper); }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  line-height: 1.6;
  font-weight: 300;
  overflow-x: hidden;
}

/* paper grain overlay */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 200;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='f'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' seed='4'/><feColorMatrix values='0 0 0 0 0.30  0 0 0 0 0.20  0 0 0 0 0.08  0 0 0 0.10 0'/></filter><rect width='100%25' height='100%25' filter='url(%23f)'/></svg>");
  mix-blend-mode: multiply;
  opacity: 0.55;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ============================================
   ACCESSIBILITY — focus rings & skip link
   ============================================ */
:focus:not(:focus-visible) { outline: none; }
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 2px;
}
.section.dark :focus-visible,
.footer :focus-visible {
  outline-color: var(--cream);
}
.hero :focus-visible,
.page-header.banner :focus-visible {
  outline-color: #ffffff;
  outline-offset: 4px;
}
.nav.scrolled :focus-visible {
  outline-color: var(--ink);
}
.lightbox :focus-visible {
  outline-color: #ffffff;
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1000;
  padding: 0.85rem 1.2rem;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transform: translateY(-120%);
  transition: transform 200ms ease;
}
.skip-link:focus {
  transform: translateY(0);
}

/* Skip-link target — leave clearance for the fixed nav and silence
   the focus ring on the landmark itself. */
#main {
  scroll-margin-top: calc(var(--nav-h) + 8px);
}
#main:focus:not(:focus-visible) { outline: none; }

/* WCAG 2.4.11 (Focus Not Obscured) — when Tab scrolls a focusable element
   into view, leave clearance below the fixed nav so its focus ring is not
   hidden under the sticky header. */
a, button, input, select, textarea, [tabindex]:not([tabindex="-1"]) {
  scroll-margin-top: calc(var(--nav-h) + 8px);
}

/* Menu page: section headings are tab stops for keyboard users.
   Push them below the fixed nav + sticky tabs (44px+padding ≈ 60px). */
.category-head h2[tabindex] {
  scroll-margin-top: calc(var(--nav-h) + 80px);
}
.category-head h2[tabindex]:focus:not(:focus-visible) { outline: none; }
.category-head h2[tabindex]:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 6px;
}

/* visually-hidden helper for screen-reader-only text (e.g. "opens in new tab") */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================
   NAV — sticky on every page
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 1.1rem 2.4rem;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition:
    background 350ms ease,
    backdrop-filter 350ms ease,
    -webkit-backdrop-filter 350ms ease,
    border-color 350ms ease,
    padding 250ms ease;
}
/* blurred-glass state: applied when scrolled past hero (.scrolled) or on inner pages (.solid) */
.nav.scrolled,
.nav.solid {
  background: rgba(236, 220, 182, 0.82);
  backdrop-filter: blur(12px) saturate(1.08);
  -webkit-backdrop-filter: blur(12px) saturate(1.08);
  border-bottom-color: var(--rule-soft);
}
.nav.solid {
  background: rgba(236, 220, 182, 0.92);
  border-bottom-color: var(--rule);
}
/* offset for content on .solid pages so it doesn't slide under the bar */
body.has-fixed-nav { padding-top: var(--nav-h); }
.nav-left, .nav-right {
  display: flex;
  gap: 1.6rem;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.nav-right { justify-content: flex-end; }
.nav a {
  color: var(--ink);
  padding: 0.95rem 0.45rem;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease, color 200ms ease;
}
.nav a:hover { border-bottom-color: var(--orange); }
.nav a.active { border-bottom-color: var(--ink); }
/* Order link: permanent underline so it's not differentiated by color alone (WCAG 1.4.1). */
.nav .order { color: var(--orange); border-bottom-color: var(--orange); }
.nav .order:hover { border-bottom-color: var(--orange); }
.nav .mark {
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  padding: 0;
}
.nav .mark:hover { border: none; }
.nav .mark img {
  height: 60px;
  width: auto;
  display: block;
}

/* hamburger button — mobile only */
.nav-toggle {
  display: none;
  position: absolute;
  left: 1.2rem;
  top: 0.9rem;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 110;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--ink);
  margin: 5px auto;
  transition: transform 280ms cubic-bezier(.65,0,.35,1), opacity 200ms ease;
  transform-origin: center;
}
.nav.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
body.nav-locked { overflow: hidden; }

/* ============================================
   HERO (home only)
   ============================================ */
.hero {
  position: relative;
  min-height: 115vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-size: cover;
  background-position: center 80%;
  filter: brightness(1.05);
  opacity: 0.32;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at center, rgba(236,220,182,0.65) 25%, rgba(236,220,182,0.92) 90%),
    linear-gradient(180deg, rgba(236,220,182,0.55) 0%, rgba(236,220,182,0.75) 100%);
}
.hero-content {
  text-align: center;
  max-width: 760px;
  padding: 0 2rem;
  transform: translateY(-8vh);
}

.hero-eyebrow,
.section-eyebrow,
.page-eyebrow {
  font-family: var(--italic);
  font-style: italic;
  font-size: 1rem;
  color: var(--orange);
  letter-spacing: 0.2em;
  margin-bottom: 1.6rem;
  text-align: center;
}
.hero-eyebrow {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  text-shadow: 0 1px 2px rgba(245, 232, 200, 0.7);
}
.hero-eyebrow::before, .hero-eyebrow::after,
.section-eyebrow::before, .section-eyebrow::after,
.page-eyebrow::before, .page-eyebrow::after {
  content: none;
}

.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3.2rem, 8.5vw, 7rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
  margin-bottom: 2rem;
}
.hero-title em {
  font-family: var(--italic);
  font-style: italic;
  font-weight: 400;
  color: var(--green);
}
.hero-sub {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.15rem;
  color: var(--ink);
  max-width: 44ch;
  margin: 0 auto 3rem;
  line-height: 1.7;
  text-shadow: 0 1px 2px rgba(245, 232, 200, 0.7);
}

/* ============================================
   CTAs
   ============================================ */
.link-cta {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--ink);
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--ink);
  transition: color 200ms ease, border-color 200ms ease, letter-spacing 300ms ease;
}
.link-cta:hover {
  color: var(--orange);
  border-bottom-color: var(--orange);
  letter-spacing: 0.36em;
}

.hero-cta-row {
  display: inline-flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Hero CTA at bottom of viewport, outlined for visibility on photo */
.hero-cta-bottom {
  position: absolute;
  left: 50%;
  bottom: 13rem;
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  white-space: nowrap;
}
.hero-btn {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 0;
  padding: 0.85rem 1.5rem;
  background: rgba(20, 18, 14, 0.62);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
  transition:
    color 220ms ease,
    background 220ms ease,
    border-color 220ms ease,
    letter-spacing 320ms ease;
}
.hero-btn:hover {
  color: #ffffff;
  background: rgba(157, 71, 21, 0.85);
  border-color: var(--orange-bright);
  border-bottom-color: var(--orange-bright);
  letter-spacing: 0.36em;
}
.hero-cta-bottom .cta-or {
  color: var(--ink);
  font-size: 1rem;
  opacity: 0.85;
}
@media (max-width: 600px) {
  .hero-cta-bottom {
    bottom: 10rem;
    gap: 0.7rem;
    width: max-content;
    max-width: calc(100vw - 2rem);
    flex-wrap: wrap;
    justify-content: center;
  }
  .hero-btn { padding: 0.75rem 1.1rem; font-size: 0.72rem; letter-spacing: 0.22em; }
}

.page-header.banner .header-text {
  position: relative;
  z-index: 2;
}

/* Floating Order Now CTA — menu page only */
.floating-order-cta {
  position: fixed;
  bottom: 1.6rem;
  right: 1.6rem;
  z-index: 100;
  background: var(--orange);
  color: #ffffff;
  padding: 1rem 1.7rem;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  border-radius: 999px;
  text-decoration: none;
  box-shadow:
    0 8px 22px rgba(217, 106, 42, 0.42),
    0 3px 8px rgba(36, 32, 24, 0.18);
  transition:
    transform 280ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 280ms ease,
    background 200ms ease;
  animation: ctaPop 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) 0.4s backwards;
}
.floating-order-cta::after {
  content: "\2197";
  display: inline-block;
  margin-left: 0.55rem;
  font-size: 0.95em;
}
.floating-order-cta:hover {
  background: var(--orange-deep);
  transform: translateY(-3px) scale(1.03);
  box-shadow:
    0 12px 30px rgba(217, 106, 42, 0.55),
    0 5px 12px rgba(36, 32, 24, 0.22);
}
@keyframes ctaPop {
  0%   { opacity: 0; transform: translateY(20px) scale(0.92); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@media (max-width: 600px) {
  .floating-order-cta {
    bottom: 1rem;
    right: 1rem;
    padding: 0.85rem 1.35rem;
    font-size: 0.74rem;
    letter-spacing: 0.18em;
  }
}
.cta-or {
  font-family: var(--italic);
  font-style: italic;
  color: var(--ink-soft);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  opacity: 0.7;
}
@media (max-width: 480px) {
  .hero-cta-row { gap: 0.9rem; }
}

.scroll-cue {
  position: absolute;
  bottom: 2.4rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--italic);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--ink-soft);
  letter-spacing: 0.15em;
  opacity: 0.7;
  text-align: center;
}
.scroll-cue::after {
  content: "";
  display: block;
  width: 1px; height: 28px;
  margin: 0.6rem auto 0;
  background: var(--ink-soft);
  opacity: 0.6;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: 7rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.section.narrow { max-width: 760px; }

/* full-width banded sections — break the paper monotony */
.section.alt {
  --band-max: 1100px;
  max-width: none;
  padding-left: max(2rem, calc((100vw - var(--band-max)) / 2));
  padding-right: max(2rem, calc((100vw - var(--band-max)) / 2));
  background: var(--paper-deep);
  position: relative;
}
.section.narrow.alt { --band-max: 760px; }
.section.alt::before,
.section.alt::after {
  content: "";
  position: absolute; left: 0; right: 0;
  height: 1px;
  background: var(--ink-soft);
  opacity: 0.18;
}
.section.alt::before { top: 0; }
.section.alt::after { bottom: 0; }

.section.dark {
  --band-max: 1100px;
  max-width: none;
  padding-left: max(2rem, calc((100vw - var(--band-max)) / 2));
  padding-right: max(2rem, calc((100vw - var(--band-max)) / 2));
  background: var(--ink-deep);
  color: var(--cream);
}
.section.narrow.dark { --band-max: 760px; }
.section.dark .section-eyebrow { color: var(--brass); }
.section.dark .section-eyebrow::before,
.section.dark .section-eyebrow::after { color: var(--cream); opacity: 0.4; }
.section.dark .section-title { color: var(--cream); }
.section.dark .section-title em { color: var(--brass); }
.section.dark .section-lead { color: rgba(245, 232, 200, 0.72); }
.section.dark .dish { border-top-color: var(--rule-on-dark); }
.section.dark .dish-name { color: var(--cream); }
.section.dark .dish-num { color: var(--brass); }
.section.dark .dish-price { color: var(--brass); }
.section.dark .dish-desc { color: rgba(245, 232, 200, 0.62); }
.section.dark .link-cta { color: var(--cream); border-bottom-color: var(--cream); }
.section.dark .link-cta:hover { color: var(--brass); border-bottom-color: var(--brass); }

/* a small seal-red ornament for special section eyebrows */
.section-eyebrow.seal { color: var(--seal); }

.section-title,
.page-title {
  text-align: center;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 1.6rem;
  letter-spacing: -0.005em;
}
.page-title { font-size: clamp(3rem, 7vw, 5.4rem); line-height: 1; }
.section-title em,
.page-title em {
  font-family: var(--italic);
  font-style: italic;
  font-weight: 400;
  color: var(--green);
}

.section-lead,
.page-lead {
  text-align: center;
  max-width: 56ch;
  margin: 0 auto 4rem;
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.85;
}
.page-lead { margin-bottom: 0; }

/* ============================================
   INTRO
   ============================================ */
.intro {
  padding: 8rem 2rem 6rem;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.intro .lead {
  font-family: var(--italic);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--ink);
  margin-bottom: 2rem;
  line-height: 1.5;
}
.intro p {
  font-size: 1.02rem;
  color: var(--ink-soft);
  line-height: 1.85;
}

/* ============================================
   SIGNATURE DISHES (home)
   ============================================ */
.dishes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem 2.4rem;
}
.dish {
  padding-top: 1.4rem;
  border-top: 1px solid var(--rule);
}
.dish-num {
  font-family: var(--italic);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--orange);
  letter-spacing: 0.18em;
  margin-bottom: 0.4rem;
}
.dish-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--ink);
  margin-bottom: 0.4rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}
.dish-price,
.item-price {
  font-family: var(--italic);
  font-style: italic;
  color: var(--orange);
  font-size: 1.05rem;
}
.dish-desc {
  font-size: 0.86rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

.cta-row {
  text-align: center;
  margin-top: 4rem;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery-preview {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  grid-template-rows: 240px 240px;
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
}
.gallery-preview .g {
  background-size: cover;
  background-position: center;
  border: 1px solid var(--rule);
  transition: transform 250ms ease;
}
.gallery-preview .g:hover { transform: scale(1.01); }
.gallery-preview .g1 { grid-column: 1; grid-row: 1 / span 2; }
.gallery-preview .g2 { grid-column: 2; grid-row: 1; }
.gallery-preview .g3 { grid-column: 3; grid-row: 1; }
.gallery-preview .g4 { grid-column: 2 / span 2; grid-row: 2; }

/* True Pinterest-style masonry — CSS columns, natural aspect ratios */
.masonry {
  max-width: 1320px;
  margin: 0 auto;
  padding: 4rem 1.5rem 6rem;
  column-count: 4;
  column-gap: 1rem;
}
.masonry figure {
  display: block;
  margin: 0 0 1rem;
  background: #ffffff;
  padding: 7px;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  box-shadow:
    0 1px 2px rgba(36, 32, 24, 0.08),
    0 8px 28px rgba(36, 32, 24, 0.06);
  transition:
    transform 380ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 380ms cubic-bezier(0.2, 0.8, 0.2, 1);
  animation: photoIn 0.75s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
  cursor: zoom-in;
  position: relative;
}
.masonry figure img {
  display: block;
  width: 100%;
  height: auto;
  transition: filter 450ms ease, transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.masonry .figure-btn {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  background: transparent;
  border: 0;
  cursor: zoom-in;
  font: inherit;
  color: inherit;
}
.masonry figure:hover img { transform: scale(1.03); filter: brightness(1.03) saturate(1.06); }
.masonry .figure-btn:focus:not(:focus-visible) { outline: none; }
.masonry .figure-btn:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}
.masonry figure:hover {
  transform: translateY(-4px);
  box-shadow:
    0 4px 8px rgba(36, 32, 24, 0.10),
    0 18px 44px rgba(36, 32, 24, 0.13);
}

@keyframes photoIn {
  0%   { opacity: 0; transform: translateY(16px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* stagger first dozen tiles only */
.masonry figure:nth-child(1)  { animation-delay: 0.04s; }
.masonry figure:nth-child(2)  { animation-delay: 0.10s; }
.masonry figure:nth-child(3)  { animation-delay: 0.16s; }
.masonry figure:nth-child(4)  { animation-delay: 0.22s; }
.masonry figure:nth-child(5)  { animation-delay: 0.28s; }
.masonry figure:nth-child(6)  { animation-delay: 0.34s; }
.masonry figure:nth-child(7)  { animation-delay: 0.40s; }
.masonry figure:nth-child(8)  { animation-delay: 0.46s; }
.masonry figure:nth-child(9)  { animation-delay: 0.52s; }
.masonry figure:nth-child(10) { animation-delay: 0.58s; }
.masonry figure:nth-child(11) { animation-delay: 0.64s; }
.masonry figure:nth-child(12) { animation-delay: 0.70s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
  .masonry figure:hover { transform: none; }
  .floating-order-cta:hover { transform: none; }
  .gallery-preview .g:hover { transform: none; }
}

/* ============================================
   VISIT / CONTACT block
   ============================================ */
.visit-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  max-width: 980px;
  margin: 0 auto;
}
.visit-col h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--ink-soft);
  margin-bottom: 1.4rem;
}
.visit-col .big {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 0.8rem;
}
.visit-col p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

.hours-list { list-style: none; }
.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 0.7rem 0;
  border-bottom: 1px dashed var(--rule);
  font-family: var(--sans);
  font-style: normal;
  font-size: 1.15rem;
  color: var(--ink-soft);
}
.hours-row:last-child { border-bottom: none; }
.hours-row .day {
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}
@media (max-width: 600px) {
  .hours-row { font-size: 1.3rem; padding: 0.85rem 0; }
  .hours-row .day { font-size: 1.15rem; }
}

.visit-cta-row {
  margin-top: 1.6rem;
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.visit-cta-row a {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  padding: 0.4rem 0 4px;
  display: inline-block;
  min-height: 24px;
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
}
.visit-cta-row a:hover {
  color: var(--orange);
  border-bottom-color: var(--orange);
}
/* Inline contact links (tel:, mailto:) — ensure 24×24 minimum tap target
   AND a non-color-only visual cue (underline) so they read as links
   for users with color vision deficiencies (WCAG 1.4.1). */
.visit-col a[href^="tel:"],
.visit-col a[href^="mailto:"],
.footer a[href^="tel:"] {
  display: inline-block;
  padding: 0.2rem 0;
  min-height: 24px;
  border-bottom: 1px solid currentColor;
  transition: color 200ms ease, border-color 200ms ease;
}
.visit-col a[href^="tel:"]:hover,
.visit-col a[href^="mailto:"]:hover,
.footer a[href^="tel:"]:hover {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

.map-wrap {
  margin-top: 4rem;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid var(--rule);
  overflow: hidden;
  filter: sepia(0.15) saturate(0.85);
}
.map-wrap iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}

/* ============================================
   HERO LOGO (replaces typed wordmark)
   ============================================ */
.hero-logo {
  display: block;
  width: clamp(280px, 55vw, 560px);
  height: auto;
  margin: 0 auto 1.6rem;
}

/* ============================================
   FOOTER LOGO
   ============================================ */
.footer-mark img {
  height: 56px;
  width: auto;
  display: block;
  margin: 0 auto 0.5rem;
}

/* ============================================
   MENU PAGE
   ============================================ */
.page-header {
  text-align: center;
  padding: 5rem 2rem 3rem;
  max-width: 760px;
  margin: 0 auto;
}

/* Full-bleed banner header — faded photo backdrop with centered text overlay */
.page-header.banner {
  position: relative;
  max-width: none;
  min-height: 62vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 2rem 4rem;
  overflow: hidden;
  isolation: isolate;
}
.page-header.banner .header-bg {
  position: absolute; inset: 0; z-index: -1;
  background-size: cover;
  background-position: center 30%;
  filter: brightness(1.05);
  opacity: 0.32;
}
.page-header.banner::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at center, rgba(236,220,182,0) 30%, rgba(236,220,182,0.85) 90%),
    linear-gradient(180deg, rgba(236,220,182,0.4) 0%, rgba(236,220,182,0.6) 100%);
}
.page-header.banner .header-text {
  text-align: center;
  max-width: 760px;
}
.page-header.banner .page-lead { margin: 0 auto; }
@media (max-width: 880px) {
  .page-header.banner {
    min-height: 50vh;
    padding: 3.5rem 1.4rem 2.8rem;
  }
}

.tabs {
  position: sticky;
  top: var(--nav-h);
  z-index: 5;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  border-top: 1px solid var(--rule);
  padding: 1rem 2rem;
  display: flex;
  justify-content: safe center;
  gap: 2rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
  font-family: var(--italic);
  font-style: italic;
  font-size: 1rem;
  letter-spacing: 0.05em;
  /* Subtle gradient hint that there's more content to scroll to */
  mask-image: linear-gradient(to right, transparent 0, #000 1.5rem, #000 calc(100% - 1.5rem), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 1.5rem, #000 calc(100% - 1.5rem), transparent 100%);
}
.tabs::-webkit-scrollbar { height: 6px; }
.tabs::-webkit-scrollbar-thumb { background: var(--rule); border-radius: 3px; }
.tabs { cursor: grab; }
.tabs a { cursor: pointer; }
.tabs a {
  color: var(--ink-soft);
  padding: 0.6rem 0.4rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  white-space: nowrap;
  scroll-snap-align: start;
  border-bottom: 1px solid transparent;
  transition: color 200ms ease, border-color 200ms ease;
}
.tabs a:hover {
  color: var(--ink);
  border-bottom-color: var(--orange);
}

.menu-body {
  max-width: 920px;
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
}
.category {
  margin-bottom: 5rem;
  scroll-margin-top: calc(var(--nav-h) + 60px);
}
.category-head {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}
.category-head .num {
  font-family: var(--italic);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--orange);
  letter-spacing: 0.2em;
  margin-bottom: 0.6rem;
}
.category-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 0.6rem;
}
.category-head .jp {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 1rem;
  color: var(--ink-soft);
  letter-spacing: 0.3em;
}
.category-head::after {
  content: "";
  display: block;
  height: 18px;
  width: 50%;
  margin: 1.4rem auto 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 18'><path d='M5 10 C 80 4, 160 16, 240 8 S 410 14, 500 6 L 595 10' stroke='%232c3413' stroke-width='1.6' fill='none' stroke-linecap='round'/></svg>") center/contain no-repeat;
  opacity: 0.45;
}

.subcategory { margin-bottom: 3rem; }
.subcategory:last-child { margin-bottom: 0; }
.subcat-head {
  font-family: var(--italic);
  font-style: italic;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--orange);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
  margin: 0 0 1.6rem;
  position: relative;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 8px;
  text-decoration-color: var(--orange);
}
.subcat-head::before, .subcat-head::after {
  content: "·";
  margin: 0 0.8rem;
  color: var(--ink-soft);
  opacity: 0.5;
  font-style: normal;
  display: inline-block;
  text-decoration: none;
}

.items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 4rem;
  row-gap: 1.6rem;
}
.items.full { grid-template-columns: 1fr; column-gap: 0; }
.item {
  border-bottom: 1px dashed var(--rule);
  padding-bottom: 1.2rem;
}
.item-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.3rem;
}
.item-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.08rem;
  color: var(--ink);
}
.item-name .tag {
  display: inline-block;
  font-family: var(--italic);
  font-style: italic;
  font-size: 0.78rem;
  color: var(--green);
  margin-left: 0.5rem;
}
.item-price { flex-shrink: 0; }
.item-desc {
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.menu-footer {
  text-align: center;
  padding: 3rem 2rem 4rem;
  max-width: 720px;
  margin: 0 auto;
  border-top: 1px solid var(--rule);
}
.menu-footer p {
  font-family: var(--italic);
  font-style: italic;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.6rem;
}

/* ============================================
   ABOUT page
   ============================================ */
.about-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.about-photo {
  aspect-ratio: 4/5;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--rule);
}
.about-text p {
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.85;
  margin-bottom: 1.4rem;
}
.about-text p:first-of-type::first-letter {
  font-family: var(--italic);
  font-style: italic;
  font-size: 4rem;
  line-height: 0.85;
  float: left;
  margin: 0.1rem 0.6rem 0 0;
  color: var(--green);
}

/* ============================================
   RESERVATIONS page
   ============================================ */
.reserve-cta-block {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  padding: 3rem 0;
  border: 1px solid var(--rule);
  border-left: 0;
  border-right: 0;
}
.reserve-cta-block .phone {
  display: inline-block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  color: var(--ink);
  margin: 1rem 0;
  letter-spacing: -0.01em;
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease, color 200ms ease;
}
.reserve-cta-block .phone:hover {
  color: var(--orange);
  border-bottom-color: var(--orange);
}
.reserve-cta-block .small {
  font-family: var(--italic);
  font-style: italic;
  font-size: 1rem;
  color: var(--ink-soft);
}

/* ============================================
   FOOTER — dark closing band
   ============================================ */
.footer {
  background: var(--ink-deep);
  color: rgba(245, 232, 200, 0.72);
  padding: 4rem 2rem 3rem;
  text-align: center;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  position: relative;
}
.footer::before {
  /* subtle paper grain on the dark band too */
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='f'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' seed='4'/><feColorMatrix values='0 0 0 0 0.95  0 0 0 0 0.92  0 0 0 0 0.78  0 0 0 0.06 0'/></filter><rect width='100%25' height='100%25' filter='url(%23f)'/></svg>");
  pointer-events: none;
  opacity: 0.6;
}
.footer > * { position: relative; }
.footer a {
  color: var(--cream);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease, color 200ms ease;
}
.footer a:hover { color: var(--brass); border-bottom-color: var(--brass); }
.footer-mark {
  font-family: var(--serif);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--cream);
  margin-bottom: 0.5rem;
}
.footer-mark img {
  filter: brightness(1.05);
}
.footer-mark em {
  font-family: var(--italic);
  font-style: italic;
  font-weight: 400;
  color: var(--brass);
  text-transform: none;
  letter-spacing: 0.06em;
  display: block;
  margin: 0.2rem 0 0;
}
.footer-links {
  margin-top: 1.6rem;
  display: flex;
  justify-content: center;
  gap: 1.6rem;
  flex-wrap: wrap;
}
.footer-links a {
  color: rgba(245, 232, 200, 0.78);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.4rem 0.2rem;
}
.footer-links a:hover { color: var(--brass); }
.footer-tiny {
  margin-top: 2rem;
  color: rgba(245, 232, 200, 0.72);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 880px) {
  :root { --nav-h: 76px; }
  .nav {
    grid-template-columns: 1fr;
    padding: 0.9rem 1.4rem;
    text-align: center;
    align-items: center;
  }
  .nav-toggle { display: block; }
  .nav .mark { justify-self: center; }
  .nav .mark img { height: 48px; }
  .nav-left, .nav-right { display: none; }

  /* Open state: nav expands to a full-screen panel */
  .nav.nav-open {
    height: 100vh;
    overflow-y: auto;
    grid-template-rows: auto 1fr;
    background: rgba(236, 220, 182, 0.97);
    backdrop-filter: blur(20px) saturate(1.05);
    -webkit-backdrop-filter: blur(20px) saturate(1.05);
    align-items: start;
    padding: 0.9rem 1.4rem 3rem;
  }
  .nav.nav-open .nav-left,
  .nav.nav-open .nav-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.6rem;
    grid-column: 1;
    font-size: 1.05rem;
    letter-spacing: 0.32em;
    width: 100%;
  }
  .nav.nav-open .nav-left {
    grid-row: 2;
    padding-top: 3rem;
  }
  .nav.nav-open .nav-right {
    grid-row: 3;
    padding: 1.6rem 0 0;
    margin-top: 0.5rem;
    border-top: 1px solid var(--rule-soft);
  }
  .nav.nav-open .nav-left a,
  .nav.nav-open .nav-right a {
    padding: 0.95rem 1rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-bottom: none;
  }


  .section { padding: 5rem 1.4rem; }
  .intro { padding: 6rem 1.4rem 4rem; }

  .dishes { grid-template-columns: 1fr; gap: 2rem; }

  .gallery-preview { grid-template-columns: 1fr; grid-template-rows: repeat(4, 220px); }
  .gallery-preview .g1, .gallery-preview .g2, .gallery-preview .g3, .gallery-preview .g4 { grid-column: 1; }
  .gallery-preview .g1 { grid-row: 1; }
  .gallery-preview .g2 { grid-row: 2; }
  .gallery-preview .g3 { grid-row: 3; }
  .gallery-preview .g4 { grid-row: 4; }

  .masonry { column-count: 3; column-gap: 0.8rem; padding: 3rem 1rem 4rem; }
  .masonry figure { margin-bottom: 0.8rem; }
}
@media (max-width: 760px) {
  .masonry { column-count: 2; column-gap: 0.6rem; padding: 2.5rem 0.7rem 4rem; }
  .masonry figure { margin-bottom: 0.6rem; }
}
@media (max-width: 460px) {
  .masonry { column-count: 1; padding: 2rem 1rem 3rem; }

  .visit-block { grid-template-columns: 1fr; gap: 2.4rem; }

  .about-block { grid-template-columns: 1fr; gap: 2.4rem; }

  .items { grid-template-columns: 1fr; column-gap: 0; }
  .tabs { gap: 1.2rem; padding: 0.8rem 1rem; font-size: 0.9rem; }

  .hero-eyebrow::before, .hero-eyebrow::after,
  .section-eyebrow::before, .section-eyebrow::after,
  .page-eyebrow::before, .page-eyebrow::after { display: none; }
}

/* ============================================
   CONTAINED PHOTO STRIP — framed print on paper
   ============================================ */
.full-photo {
  max-width: 1080px;
  margin: 2rem auto 4.5rem;
  padding: 0 2.4rem 0 2rem;
  display: block;
}
.full-photo .photo-frame {
  position: relative;
  display: block;
  background: #ffffff;
  padding: 14px;
  border: 1px solid rgba(36, 32, 24, 0.07);
  box-shadow:
    0 2px 4px rgba(36, 32, 24, 0.06),
    0 18px 46px rgba(36, 32, 24, 0.13);
  isolation: isolate;
}
.full-photo .photo-frame::after {
  content: "";
  position: absolute;
  top: 18px;
  left: 18px;
  right: -18px;
  bottom: -18px;
  background: var(--green);
  opacity: 0.18;
  z-index: -1;
}
.full-photo img {
  display: block;
  width: 100%;
  height: 38vh;
  min-height: 260px;
  max-height: 440px;
  object-fit: cover;
  object-position: center;
}
@media (max-width: 760px) {
  .full-photo {
    margin: 1.6rem auto 3.5rem;
    padding: 0 1.4rem 0 1rem;
  }
  .full-photo .photo-frame { padding: 8px; }
  .full-photo .photo-frame::after {
    top: 10px; left: 10px; right: -10px; bottom: -10px;
  }
  .full-photo img { height: 32vh; min-height: 220px; }
}

/* ============================================
   LIGHTBOX (gallery click-to-fullscreen)
   ============================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 13, 10, 0.985);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  /* visibility flips after the fade-out completes so the close button
     can't be tabbed into while the dialog is hidden */
  transition: opacity 260ms ease, visibility 0s linear 260ms;
  cursor: zoom-out;
}
.lightbox.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 260ms ease, visibility 0s linear 0s;
}
.lightbox img {
  max-width: min(92vw, 1400px);
  max-height: 88vh;
  width: auto;
  height: auto;
  background: #fff;
  padding: 10px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  transform: scale(0.97);
  transition: transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.lightbox.open img { transform: scale(1); }
.lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  background: none;
  border: 0;
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--serif);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.6rem 0.9rem;
  transition: color 200ms ease, transform 200ms ease;
}
.lightbox-close:hover {
  color: #ffffff;
  transform: scale(1.1);
}
@media (max-width: 600px) {
  .lightbox { padding: 2rem 0.8rem; }
  .lightbox img { padding: 6px; max-height: 86vh; }
}

/* ============================================
   INTRO FEATURE — fancy editorial chef paragraph
   ============================================ */
.intro p.intro-feature {
  font-family: var(--italic);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.18rem, 2.4vw, 1.55rem);
  line-height: 1.55;
  color: var(--ink);
  text-align: center;
  max-width: 38rem;
  margin: 0 auto;
  padding-top: 3.4rem;
  position: relative;
}
.intro p.intro-feature::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 7rem;
  height: 1px;
  background: var(--seal);
  opacity: 0.55;
}
.intro p.intro-feature::after {
  content: "◆";
  position: absolute;
  top: -0.62rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  color: var(--seal);
  background: var(--paper);
  padding: 0 0.85rem;
  font-style: normal;
  letter-spacing: 0;
}
.intro p.intro-feature .intro-feature-tail {
  display: block;
  margin-top: 1.2rem;
  font-size: 1.1em;
  color: var(--orange);
  letter-spacing: 0.01em;
}
@media (max-width: 600px) {
  .intro p.intro-feature {
    padding-top: 2.8rem;
  }
  .intro p.intro-feature::before { width: 5rem; }
}

/* ============================================
   Multi-link cta-row (two link-cta side by side)
   ============================================ */
.cta-row.cta-row-multi {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 1.6rem 2.2rem;
}

/* ============================================
   COMING SOON section
   ============================================ */
.coming-soon-item .dish-name {
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.coming-tag {
  font-family: var(--italic);
  font-style: italic;
  font-size: 0.62rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--seal);
  border: 1px solid var(--seal);
  padding: 0.18rem 0.55rem 0.22rem;
  border-radius: 999px;
  white-space: nowrap;
  align-self: center;
}
.coming-soon-item {
  opacity: 0.92;
}
.coming-soon-item .dish-desc {
  color: var(--ink-soft);
}

/* Stronger emphasis for the Order Online CTA in this row */
.link-cta.order-cta {
  color: var(--seal);
  border-bottom-color: var(--seal);
}
.link-cta.order-cta:hover {
  color: var(--seal-deep);
  border-bottom-color: var(--seal-deep);
}

/* ============================================
   VISIT BAND — bright cream closing panel (home)
   Breaks pattern by going LIGHTER than the page bg,
   not darker like the favorites section.
   ============================================ */
.section.visit-band {
  --band-max: 1100px;
  max-width: none;
  padding-left: max(2rem, calc((100vw - var(--band-max)) / 2));
  padding-right: max(2rem, calc((100vw - var(--band-max)) / 2));
  background: #f3eacf;
  color: var(--ink);
  position: relative;
}
.section.visit-band::before,
.section.visit-band::after {
  content: "";
  position: absolute; left: 0; right: 0;
  height: 1px;
  background: var(--seal);
  opacity: 0.45;
}
.section.visit-band::before { top: 0; }
.section.visit-band::after { bottom: 0; }

.section.visit-band .section-eyebrow { color: var(--seal); }
.section.visit-band .section-title { color: var(--ink-deep); }
.section.visit-band .section-title em { color: var(--seal); }
.section.visit-band .section-lead { color: var(--ink-soft); }

.section.visit-band .visit-col h3 {
  color: var(--seal);
  font-family: var(--italic);
  font-style: italic;
  letter-spacing: 0.06em;
}
.section.visit-band .visit-col p,
.section.visit-band .visit-col .big { color: var(--ink); }

.section.visit-band .hours-row {
  color: var(--ink-soft);
  border-bottom-color: rgba(120, 54, 16, 0.18);
}
.section.visit-band .hours-row .day { color: var(--ink-deep); }

.section.visit-band a,
.section.visit-band .visit-cta-row a {
  color: var(--ink);
  border-bottom-color: var(--ink);
}
.section.visit-band a:hover,
.section.visit-band .visit-cta-row a:hover {
  color: var(--seal);
  border-bottom-color: var(--seal);
}
