/* ══════════════════════════════════════════════════════════════
   PHỞ MÂY — styles.css
   Design system: deep burgundy · warm cream · muted gold · charcoal
   Typography: Playfair Display (headings) + Inter (body)
   Mobile-first, responsive, accessible.
   ══════════════════════════════════════════════════════════════ */

/* ─────────────── Design tokens ─────────────── */
:root {
  --clr-burgundy: #6b1d2f;
  --clr-burgundy-2: #7c2235;
  --clr-burgundy-dark: #4a1220;
  --clr-cream: #fbf4ea;
  --clr-cream-2: #f3e7d3;
  --clr-gold: #c69c3d;
  --clr-gold-2: #ddb86a;
  --clr-charcoal: #231e1a;
  --clr-charcoal-2: #4a4038;
  --clr-white: #ffffff;

  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2.5rem;
  --space-6: 4rem;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 8px rgba(35, 30, 26, 0.08);
  --shadow-md: 0 10px 30px rgba(35, 30, 26, 0.14);
  --shadow-lg: 0 20px 50px rgba(35, 30, 26, 0.22);

  --header-h: 68px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ─────────────── Reset & base ─────────────── */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--clr-charcoal);
  background: var(--clr-cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  line-height: 1.15;
  margin: 0 0 0.6em;
  color: var(--clr-charcoal);
  font-weight: 600;
}

p { margin: 0 0 1rem; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
ul { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }

:focus-visible {
  outline: 3px solid var(--clr-gold);
  outline-offset: 2px;
  border-radius: 3px;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* Keep anchored sections clear of the fixed header */
section[id] { scroll-margin-top: calc(var(--header-h) + 8px); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--clr-burgundy);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 2000;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* ─────────────── Buttons ─────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: 2px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease),
    border-color 0.2s var(--ease), color 0.2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--gold {
  background: var(--clr-gold);
  color: var(--clr-burgundy-dark);
}
.btn--gold:hover { background: var(--clr-gold-2); }

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.14); border-color: #fff; }

.btn--outline {
  background: transparent;
  color: var(--clr-burgundy);
  border-color: var(--clr-burgundy);
}
.btn--outline:hover { background: var(--clr-burgundy); color: #fff; }

/* ─────────────── Header / navigation ─────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  background: linear-gradient(to bottom, rgba(35, 30, 26, 0.55), rgba(35, 30, 26, 0));
}
.site-header.is-scrolled {
  background: var(--clr-burgundy);
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
  color: #fff;
}
.brand__name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.brand__sub {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--clr-gold-2);
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav-link {
  color: #fff;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 0.25rem 0;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--clr-gold-2);
  transition: width 0.25s var(--ease);
}
.nav-link:hover::after { width: 100%; }

.nav-cta { padding: 0.6rem 1.25rem; font-size: 0.9rem; }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle__bar {
  width: 26px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav panel */
.site-nav {
  position: absolute;
  top: var(--header-h);
  left: 0; right: 0;
  background: var(--clr-burgundy);
  padding: 0 1.25rem 1.5rem;
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.28s var(--ease), opacity 0.28s var(--ease), visibility 0.28s;
  box-shadow: var(--shadow-md);
}
.site-nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
.site-nav__list { flex-direction: column; align-items: stretch; gap: 0.25rem; }
.site-nav__list li { text-align: left; }
.nav-link { display: block; padding: 0.7rem 0; font-size: 1.05rem; }
.nav-cta-item { margin-top: 0.75rem; }
.nav-cta { display: flex; width: 100%; }

/* ─────────────── Hero ─────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: #fff;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(35, 30, 26, 0.72), rgba(35, 30, 26, 0.35) 45%, rgba(74, 18, 32, 0.82)),
    rgba(0, 0, 0, 0.2);
}
.hero__content {
  padding-block: calc(var(--header-h) + 3rem) 4rem;
  max-width: 720px;
}
.hero__eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--clr-gold-2);
  margin-bottom: 1rem;
}
.hero__title {
  color: #fff;
  font-size: clamp(2.4rem, 8vw, 4.5rem);
  font-weight: 700;
  margin-bottom: 1.25rem;
  text-wrap: balance;
}
.hero__subtitle {
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  color: rgba(255, 255, 255, 0.92);
  max-width: 34rem;
  margin-bottom: 2rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* ─────────────── Sections ─────────────── */
.section { padding: var(--space-6) 0; }
.section-head { max-width: 640px; margin-bottom: 2.75rem; }
.section-head__eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--clr-burgundy);
  font-weight: 600;
  margin-bottom: 0.6rem;
}
.section-head__title {
  font-size: clamp(1.9rem, 5vw, 2.8rem);
  font-weight: 700;
}
.section-head__lede { color: var(--clr-charcoal-2); font-size: 1.05rem; }
.section-note { font-size: 0.85rem; color: var(--clr-charcoal-2); margin-top: 2rem; text-align: center; }

/* ─────────────── Featured cards ─────────────── */
.featured-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.dish-card {
  background: var(--clr-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.dish-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.dish-card__media { aspect-ratio: 4 / 3; overflow: hidden; }
.dish-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.dish-card:hover .dish-card__media img { transform: scale(1.05); }
.dish-card__body { padding: 1.25rem 1.25rem 1.5rem; }
.dish-card__name { font-size: 1.3rem; margin-bottom: 0.4rem; }
.dish-card__desc { color: var(--clr-charcoal-2); font-size: 0.95rem; margin-bottom: 1rem; }
.dish-card__price { font-weight: 700; color: var(--clr-burgundy); font-size: 1.05rem; }
.dish-card__tag {
  display: inline-block;
  background: #e7f3e4;
  color: #2f6b37;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}

/* ─────────────── Full menu ─────────────── */
.menu { background: var(--clr-cream-2); }

.menu-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}
.menu-tab {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--clr-charcoal-2);
  background: var(--clr-white);
  border: 1px solid rgba(74, 64, 56, 0.2);
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.menu-tab:hover { border-color: var(--clr-gold); color: var(--clr-burgundy); }
.menu-tab.is-active {
  background: var(--clr-burgundy);
  color: #fff;
  border-color: var(--clr-burgundy);
}

.menu-group { margin-bottom: 2.75rem; }
.menu-group.is-hidden { display: none; }
.menu-group__title {
  font-size: 1.5rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--clr-gold-2);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}
.menu-group__title--sub { margin-top: 2.5rem; }
.menu-group__vn {
  font-size: 0.85rem;
  color: var(--clr-charcoal-2);
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: 0.04em;
}
.menu-group__note { font-size: 0.9rem; color: var(--clr-charcoal-2); font-style: italic; margin: 0.5rem 0 0; }

.menu-list { display: grid; gap: 1.25rem; }
.menu-item__head {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.menu-item__name { font-size: 1.15rem; margin: 0; min-width: 0; overflow-wrap: anywhere; }
.menu-item__dots {
  flex: 1;
  border-bottom: 2px dotted rgba(74, 64, 56, 0.3);
  transform: translateY(-4px);
}
.menu-item__price { font-weight: 700; color: var(--clr-burgundy); white-space: nowrap; }
.menu-item__desc { color: var(--clr-charcoal-2); font-size: 0.95rem; margin: 0.35rem 0 0; }

.badge--veg {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #2f6b37;
  background: #e7f3e4;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
}

.menu-cta {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}
.menu-cta__note { font-size: 0.9rem; color: var(--clr-charcoal-2); }
.menu-cta__note a { color: var(--clr-burgundy); font-weight: 600; text-decoration: underline; }

/* ─────────────── Our story ─────────────── */
.story { background: var(--clr-white); }
.story-inner { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
.story__media { position: relative; }
.story__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.story__frame {
  position: absolute;
  inset: 0;
  transform: translate(14px, 14px);
  border: 2px solid var(--clr-gold-2);
  border-radius: var(--radius);
  z-index: -1;
}
.story__content p { color: var(--clr-charcoal-2); }
.story__honor {
  font-style: italic;
  color: var(--clr-burgundy) !important;
  border-left: 3px solid var(--clr-gold);
  padding-left: 1rem;
  font-weight: 500;
}

/* ─────────────── Gallery ─────────────── */
.gallery { background: var(--clr-charcoal); }
.gallery .section-head__title { color: #fff; }
.gallery .section-head__eyebrow { color: var(--clr-gold-2); }
.gallery .section-head__lede { color: rgba(255, 255, 255, 0.72); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
.gallery-item figure {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  cursor: zoom-in;
  aspect-ratio: 1 / 1;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.5rem 0.75rem 0.6rem;
  font-size: 0.8rem;
  color: #fff;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.gallery-item:hover figcaption { opacity: 1; }

/* ─────────────── Visit us ─────────────── */
.visit { background: var(--clr-cream); }
.visit-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.visit-card {
  background: var(--clr-white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.visit-card__title { font-size: 1.5rem; margin-bottom: 1.25rem; }
.visit-list { display: grid; gap: 1.25rem; }
.visit-list__item { display: flex; gap: 0.9rem; align-items: flex-start; }
.visit-list__icon { font-size: 1.2rem; line-height: 1.4; }
.visit-list__item strong { display: block; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--clr-burgundy); }
.visit-list__item a { color: var(--clr-charcoal); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }
.visit-list__item a:hover { color: var(--clr-burgundy); }
.visit-list__muted { display: block; font-size: 0.82rem; color: var(--clr-charcoal-2); }
.visit-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.75rem; }

.visit-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 320px;
  background: var(--clr-cream-2);
}
.visit-map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

/* ─────────────── Reviews ─────────────── */
.reviews {
  background:
    linear-gradient(rgba(74, 18, 32, 0.9), rgba(74, 18, 32, 0.9)),
    var(--clr-burgundy);
  color: #fff;
  text-align: center;
}
.reviews .section-head__eyebrow { color: var(--clr-gold-2); }
.reviews .section-head__title { color: #fff; }
.reviews__lede { color: rgba(255, 255, 255, 0.85); font-size: 1.1rem; max-width: 34rem; margin: 0 auto 2rem; }
.reviews__actions { display: flex; justify-content: center; }

/* ─────────────── Footer ─────────────── */
.site-footer {
  background: var(--clr-burgundy-dark);
  color: rgba(255, 255, 255, 0.82);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  padding-block: 3.5rem 2rem;
}
.footer-brand .brand__name { color: #fff; }
.footer-brand .brand__sub { color: var(--clr-gold-2); }
.footer-tagline { margin-top: 0.8rem; color: rgba(255, 255, 255, 0.7); font-size: 0.95rem; }

.footer-nav h4, .footer-contact p { margin: 0 0 0.4rem; }
.footer-nav ul { display: grid; gap: 0.5rem; }
.footer-nav a { color: rgba(255, 255, 255, 0.82); }
.footer-nav a:hover { color: var(--clr-gold-2); }
.footer-contact p { margin-bottom: 0.5rem; }
.footer-contact a { color: rgba(255, 255, 255, 0.82); text-decoration: underline; text-underline-offset: 2px; }
.footer-contact a:hover { color: var(--clr-gold-2); }
.footer-contact strong { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-block: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}
.footer-bottom p { margin: 0; }

/* ─────────────── Lightbox ─────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(20, 15, 12, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.lightbox[hidden] { display: none; }
.lightbox__figure { max-width: 100%; max-height: 100%; text-align: center; }
.lightbox__figure img {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  margin-inline: auto;
}
.lightbox__figure figcaption { color: rgba(255, 255, 255, 0.85); margin-top: 0.9rem; }
.lightbox__close {
  position: absolute;
  top: 1rem; right: 1.25rem;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 0;
  font-size: 2rem;
  line-height: 1;
  width: 48px; height: 48px;
  border-radius: 50%;
  cursor: pointer;
}
.lightbox__close:hover { background: rgba(255, 255, 255, 0.25); }

/* ─────────────── Scroll reveal animation ─────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ─────────────── Responsive — tablet ─────────────── */
@media (min-width: 640px) {
  .featured-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .menu-list { grid-template-columns: repeat(2, 1fr); column-gap: 2rem; }
}

/* ─────────────── Responsive — desktop ─────────────── */
@media (min-width: 900px) {
  :root { --header-h: 76px; }
  .nav-toggle { display: none; }
  .site-nav {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: transparent;
    padding: 0;
    box-shadow: none;
  }
  .site-nav__list { flex-direction: row; align-items: center; gap: 1.75rem; }
  .nav-cta-item { margin-top: 0; }

  .featured-grid { grid-template-columns: repeat(4, 1fr); }
  .story-inner { grid-template-columns: 1fr 1fr; align-items: center; gap: 4rem; }
  .story__media img { aspect-ratio: 4 / 5; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .gallery-item:nth-child(1), .gallery-item:nth-child(6) { grid-row: span 2; }
  .gallery-item figure { aspect-ratio: auto; height: 100%; min-height: 220px; }
  .gallery-item:nth-child(1) figure, .gallery-item:nth-child(6) figure { min-height: 460px; }

  .visit-grid { grid-template-columns: 1fr 1.2fr; align-items: stretch; gap: 2.5rem; }
  .visit-map { min-height: 460px; }
  .visit-map iframe { min-height: 460px; }

  .footer-inner { grid-template-columns: 1.4fr 1fr 1.4fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

/* ─────────────── Reduced motion ─────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

.concept-notice{position:relative;z-index:110;padding:10px 5%;background:#231e1a;color:#fbf4ea;display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px;font:12px/1.5 var(--font-sans)}.concept-notice a{color:inherit}.site-header{position:sticky;top:0}.hero{margin-top:0}.fictional-map{min-height:360px;height:100%;display:grid;place-content:center;text-align:center;gap:30px;background:repeating-linear-gradient(25deg,transparent 0 75px,#d8cdbb 76px 80px),repeating-linear-gradient(110deg,#ede4d6 0 100px,#fbf4ea 101px 120px);padding:25px}.fictional-map strong{background:#6b1d2f;color:#fbf4ea;padding:20px;font:600 22px/1.5 var(--font-serif)}.fictional-map span{font-size:12px;background:#fbf4ea;padding:8px}.concept-notice span{max-width:100%}@media(max-width:480px){.concept-notice{font-size:11px}.fictional-map{min-height:280px}}
.site-header{background:var(--clr-burgundy)}
