/* ============================================================
   menuandreview.com — v2 stylesheet
   Editorial-warm aesthetic. Layers on top of Bootstrap.
   All accent colors come from CSS variables defined in
   includes/site_header.php (--primary, --primary-dark, etc.)
   ============================================================ */

/* -------- Tokens (non-brand) -------- */
:root {
  /* Editorial neutrals — these stay constant across all sites */
  --ink: #1C1917;
  --ink-soft: #44403C;
  --ink-mute: #78716C;
  --paper: #FBF7F0;
  --paper-warm: #F5EFE4;
  --paper-card: #FFFFFF;
  --hairline: rgba(28, 25, 23, 0.12);
  --hairline-strong: rgba(28, 25, 23, 0.24);

  /* Soft tints derived from brand — fallbacks if --primary not set */
  --brand-tint: color-mix(in srgb, var(--primary, #C6553B) 8%, transparent);
  --brand-tint-strong: color-mix(in srgb, var(--primary, #C6553B) 18%, transparent);

  /* Type scale */
  --display: "Bricolage Grotesque", "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  /* Motion */
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);

  /* Spacing */
  --gutter: clamp(1.25rem, 3vw, 2.5rem);
  --section-y: clamp(3.5rem, 8vw, 7rem);
}

/* -------- Reset overrides for editorial feel -------- */
body.v2 {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  /* Override legacy site.css which added padding-top for the old fixed navbar */
  padding-top: 0 !important;
  /* Prevent any wide element (long brand text, hero headline, etc.) from causing horizontal scroll on mobile */
  overflow-x: hidden;
  max-width: 100vw;
  /* Neutralize legacy --navbar-height (was 70px for the old fixed navbar).
     v2 header is sticky and lives in flow, so any legacy rule using
     calc(var(--navbar-height) ± ...) collapses to its non-navbar part. */
  --navbar-height: 0px;
}

/* Hide ANY legacy navbar/mobile-menu markup if a page rendered it before migration */
body.v2 .navbar-wrapper,
body.v2 nav.navbar,
body.v2 #mobileMenu,
body.v2 .offcanvas,
body.v2 .search-modal { display: none !important; }

/* On mobile, make the v2 header fully opaque to avoid any blur/translucency artifacts */
@media (max-width: 880px) {
  .v2-header { background: var(--paper) !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
}

/* Restaurant-page tabs: make static (not sticky) — sticky behavior was unreliable across pages */
body.v2 .restaurant-tabs-wrapper {
  position: static !important;
  top: auto !important;
  z-index: auto !important;
}

/* Neutralize legacy negative margin & nav-height padding on restaurant hero (was designed to slide under fixed navbar).
   Fully reset the padding shorthand so nothing inherits the old calc. */
body.v2 .restaurant-hero-section {
  margin: 0 !important;
  padding: 2.5rem 0 3rem !important;
}
@media (max-width: 768px) {
  body.v2 .restaurant-hero-section { padding: 1.5rem 0 2rem !important; }
}

/* Defensive: zero out any margin/padding on the main wrapper */
.v2-main { margin: 0; padding: 0; }

/* Legacy .hero-section (cities/states pages) — restyle to match v2 editorial-warm aesthetic */
body.v2 .hero-section {
  background: var(--paper-warm) !important;
  color: var(--ink) !important;
  padding-block: clamp(2.5rem, 6vw, 4.5rem) !important;
  border-bottom: 1px solid var(--hairline);
}
body.v2 .hero-section::before { display: none !important; }
body.v2 .hero-section h1,
body.v2 .hero-section .hero-headline,
body.v2 .hero-section .hero-title,
body.v2 .hero-section .display-1,
body.v2 .hero-section .display-2,
body.v2 .hero-section .display-3,
body.v2 .hero-section .display-4,
body.v2 .hero-section .display-5,
body.v2 .hero-section .display-6 {
  color: var(--ink) !important;
  text-shadow: none !important;
  font-family: var(--display) !important;
  font-weight: 600 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.1 !important;
}
body.v2 .hero-section .hero-subtitle,
body.v2 .hero-section .lead,
body.v2 .hero-section .text-muted {
  color: var(--ink-soft) !important;
}
body.v2 .hero-section .form-control,
body.v2 .hero-section .form-select {
  background: #fff;
  border-color: var(--hairline);
  color: var(--ink);
  padding: 0.85rem 1rem;
  font-family: var(--sans);
}
body.v2 .hero-section .form-control:focus,
body.v2 .hero-section .form-select:focus {
  border-color: var(--primary, var(--ink));
  box-shadow: 0 0 0 3px var(--brand-tint);
}
body.v2 .hero-section .btn-primary {
  background: var(--primary, var(--ink)) !important;
  border-color: var(--primary, var(--ink)) !important;
  color: #fff !important;
  font-weight: 600;
}
body.v2 .hero-section .btn-primary:hover {
  background: var(--primary-dark, var(--ink)) !important;
  border-color: var(--primary-dark, var(--ink)) !important;
}

/* ===== Cities & States page grids ===== */
body.v2 .cities-by-state,
body.v2 .states-display { padding-block: 1rem; }

body.v2 .state-group,
body.v2 .region-group {
  margin-bottom: 3.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--hairline);
}
body.v2 .state-group:last-child,
body.v2 .region-group:last-child { border-bottom: 0; }

body.v2 .state-header,
body.v2 .region-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
}
body.v2 .state-header a,
body.v2 .region-header a {
  color: inherit;
}
body.v2 .state-header a:hover,
body.v2 .region-header a:hover {
  color: var(--primary, var(--ink));
}
body.v2 .state-header .count,
body.v2 .region-header .count {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

body.v2 .cities-grid,
body.v2 .states-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 0.75rem;
}
@media (min-width: 560px) {
  body.v2 .cities-grid,
  body.v2 .states-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 880px) {
  body.v2 .cities-grid { grid-template-columns: repeat(3, 1fr); }
  body.v2 .states-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1100px) {
  body.v2 .cities-grid { grid-template-columns: repeat(4, 1fr); }
  body.v2 .states-grid { grid-template-columns: repeat(4, 1fr); }
}

body.v2 .city-card,
body.v2 .state-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  background: var(--paper-card);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  color: var(--ink) !important;
  text-decoration: none !important;
  transition: transform 220ms var(--ease-out-quart), border-color 220ms, background 220ms;
}
body.v2 .city-card:hover,
body.v2 .state-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary, var(--ink));
  background: var(--brand-tint);
  color: var(--ink) !important;
}

body.v2 .city-icon,
body.v2 .state-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--paper-warm);
  color: var(--ink);
  font-size: 1.15rem;
  transition: background 220ms, color 220ms;
}
body.v2 .city-card:hover .city-icon,
body.v2 .state-card:hover .state-icon {
  background: var(--primary, var(--ink));
  color: #fff;
}

body.v2 .state-abbr {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

body.v2 .city-info,
body.v2 .state-info {
  flex: 1;
  min-width: 0;
}
body.v2 .city-name,
body.v2 .state-name {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.v2 .city-info .restaurant-count,
body.v2 .state-stats {
  margin: 0.2rem 0 0;
  font-size: 0.82rem;
  color: var(--ink-mute);
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}
body.v2 .state-stats .stat { display: inline-flex; align-items: center; }

body.v2 .city-arrow,
body.v2 .state-arrow {
  color: var(--ink-mute);
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: color 220ms, transform 220ms;
}
body.v2 .city-card:hover .city-arrow,
body.v2 .state-card:hover .state-arrow {
  color: var(--primary, var(--ink));
  transform: translateX(3px);
}

/* Compact and "view all" variants */
body.v2 .city-card.compact { padding: 0.75rem 0.9rem; }
body.v2 .city-card.view-all {
  background: transparent;
  border-style: dashed;
  justify-content: center;
  text-align: center;
}
body.v2 .city-card.view-all .city-icon { background: transparent; }

/* Subtle grain overlay — adds atmosphere without intruding */
body.v2::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' /%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

body.v2 > * { position: relative; z-index: 2; }

/* :where() gives these zero specificity so any legacy class with an explicit color (e.g. .btn-hero-primary) wins */
:where(.v2) a { color: inherit; text-decoration: none; transition: color 200ms var(--ease-out-quart); }
:where(.v2) a:hover { color: var(--primary, #C6553B); }

.v2 .container-rail {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* -------- Typography utilities -------- */
.v2 .display {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.02;
  color: var(--ink);
}

.v2 .eyebrow {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.v2 .eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--primary, var(--ink));
}

.v2 .section-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
}

.v2 .section-title em {
  font-style: normal;
  color: var(--primary, var(--ink));
}

.v2 .lede {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 56ch;
  line-height: 1.6;
}

/* -------- HEADER -------- */
.v2-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 247, 240, 0.7);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 240ms var(--ease-out-quart), background 240ms var(--ease-out-quart);
}

.v2-header.is-scrolled {
  border-bottom-color: var(--hairline);
  background: rgba(251, 247, 240, 0.92);
}

.v2-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  padding-block: 1.1rem;
}

.v2-header__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--display);
  font-size: 1.4rem;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.2;
  min-width: 0;
  white-space: nowrap;
}

.v2-header__brand > span {
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
  padding-block: 2px; /* breathing room so tall ascenders aren't clipped */
}

@media (max-width: 640px) {
  .v2-header__inner { padding-block: 0.9rem; }
  .v2-header__brand { font-size: 1.05rem; max-width: calc(100vw - 130px); }
}
@media (max-width: 400px) {
  .v2-header__brand { font-size: 0.95rem; max-width: calc(100vw - 110px); }
}

/* Always show a hairline at the bottom of the header on mobile so it doesn't blend into the page */
@media (max-width: 880px) {
  .v2-header { border-bottom: 1px solid var(--hairline); }
}

.v2-header__brand img {
  height: 30px;
  width: auto;
  display: block;
}

.v2-header__brand-mark {
  color: var(--primary, var(--ink));
  font-style: italic;
}

.v2-nav {
  display: flex;
  gap: 2rem;
  justify-content: center;
  font-size: 0.92rem;
  font-weight: 500;
}

.v2-nav a {
  position: relative;
  padding-block: 0.5rem;
  color: var(--ink-soft);
}

.v2-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.2rem;
  height: 1px;
  background: var(--primary, var(--ink));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 320ms var(--ease-out-expo);
}

.v2-nav a:hover::after,
.v2-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.v2-nav a.is-active { color: var(--ink); }

.v2-header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.v2-iconbtn {
  inline-size: 38px;
  block-size: 38px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: transparent;
  border: 1px solid var(--hairline);
  color: var(--ink);
  cursor: pointer;
  transition: background 200ms var(--ease-out-quart), border-color 200ms var(--ease-out-quart);
}

.v2-iconbtn:hover {
  background: var(--brand-tint);
  border-color: var(--primary, var(--ink));
  color: var(--primary, var(--ink));
}

.v2-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--primary, var(--ink));
  background: var(--primary, var(--ink));
  color: #fff;
  cursor: pointer;
  transition: transform 200ms var(--ease-out-quart), background 200ms;
}

.v2-btn:hover {
  background: var(--primary-dark, var(--ink));
  color: #fff;
  transform: translateY(-1px);
}

.v2-btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--hairline-strong);
}

.v2-btn--ghost:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

/* Mobile menu toggle */
.v2-burger { display: none; }

/* ===== MOBILE DRAWER =====
   display:none when closed (truly removed from layout — no fixed-position leakage).
   Desktop: always hidden. Mobile: shown only when .is-open class is added. */
.v2-drawer { display: none; }

.v2-drawer.is-open {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 9999;
  flex-direction: column;
}

.v2-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 25, 23, 0.55);
  z-index: 0;
  cursor: pointer;
  animation: v2-drawer-fade 200ms var(--ease-out-expo) both;
}

.v2-drawer__panel {
  position: relative;
  z-index: 1;
  margin-left: auto;
  width: min(360px, 88vw);
  height: 100%;
  background: #FBF7F0;
  display: flex;
  flex-direction: column;
  box-shadow: -24px 0 48px -16px rgba(28, 25, 23, 0.35);
  animation: v2-drawer-slide 280ms var(--ease-out-expo) both;
}

.v2-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid rgba(28, 25, 23, 0.12);
}

.v2-drawer__title {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.v2-drawer__close {
  width: 38px; height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(28, 25, 23, 0.12);
  background: transparent;
  color: var(--ink);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
}
.v2-drawer__close:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.v2-drawer__nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0.5rem 0;
  overflow-y: auto;
}
.v2-drawer__nav a {
  display: block;
  padding: 1rem 1.25rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink) !important;
  text-decoration: none;
  border-bottom: 1px solid rgba(28, 25, 23, 0.06);
}
.v2-drawer__nav a:hover {
  background: rgba(28, 25, 23, 0.04);
  color: var(--primary, var(--ink)) !important;
}
.v2-drawer__nav a.is-active {
  color: var(--primary, var(--ink)) !important;
  background: var(--brand-tint);
}

@keyframes v2-drawer-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes v2-drawer-slide {
  from { transform: translateX(20px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Hard guarantee: drawer is never shown on desktop */
@media (min-width: 881px) {
  .v2-drawer,
  .v2-drawer.is-open { display: none !important; }
}

@media (max-width: 880px) {
  .v2-header__inner { grid-template-columns: auto 1fr auto; }
  /* Hide the inline desktop nav on mobile */
  .v2-nav--desktop { display: none; }

  /* Burger animates to X when open */
  .v2-burger.is-open {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
  }
  .v2-burger {
    display: inline-grid;
    place-items: center;
    width: 38px; height: 38px;
    border: 1px solid var(--hairline);
    border-radius: 999px;
    background: transparent;
    cursor: pointer;
  }
  .v2-header__actions .v2-btn--desktop { display: none; }
}

/* -------- HERO -------- */
.v2-hero {
  padding-block: clamp(3rem, 8vw, 6rem) clamp(2rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
}

.v2-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: end;
}

@media (min-width: 980px) {
  .v2-hero__grid { grid-template-columns: 1.4fr 1fr; gap: 4rem; }
}

.v2-hero__headline {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.2rem, 7.2vw, 6.25rem);
  line-height: 0.96;
  letter-spacing: -0.025em;
  margin: 0 0 1.5rem;
  color: var(--ink);
  word-break: break-word;
}

.v2-hero__headline em {
  font-style: normal;
  color: var(--primary, var(--ink));
  display: inline-block;
}

.v2-hero__sub {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 38ch;
  margin-bottom: 2rem;
}

.v2-hero__stats {
  display: flex;
  gap: 2.5rem;
  align-items: baseline;
  border-top: 1px solid var(--hairline);
  padding-top: 1.5rem;
  margin-top: 2rem;
}

.v2-hero__stat-num {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.02em;
  line-height: 1;
  display: block;
}

.v2-hero__stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 0.4rem;
}

/* Search card */
.v2-searchcard {
  background: var(--paper-card);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 1.25rem;
  box-shadow: 0 1px 0 rgba(28,25,23,0.04), 0 20px 40px -28px rgba(28,25,23,0.18);
}

.v2-searchcard__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.25rem 0.5rem 1rem;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 1rem;
}

.v2-searchcard__head-title {
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.v2-searchcard__head-mark {
  width: 22px; height: 22px;
  border-radius: 999px;
  background: var(--primary, var(--ink));
  display: inline-grid;
  place-items: center;
  color: #fff;
  font-size: 0.7rem;
}

.v2-field {
  display: block;
  margin-bottom: 0.85rem;
}

.v2-field__label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 0.35rem 0.95rem;
}

.v2-field__input {
  width: 100%;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  transition: border-color 200ms var(--ease-out-quart), background 200ms;
}

.v2-field__input:focus {
  outline: none;
  border-color: var(--primary, var(--ink));
  background: #fff;
}

.v2-searchcard__submit {
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.95rem 1.25rem;
  font-family: var(--sans);
  font-weight: 600;
  border-radius: 12px;
  border: 1px solid var(--primary, var(--ink));
  background: var(--primary, var(--ink));
  color: #fff;
  cursor: pointer;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: transform 200ms var(--ease-out-quart), background 200ms;
}

.v2-searchcard__submit:hover {
  background: var(--primary-dark, var(--ink));
  transform: translateY(-1px);
}

/* -------- SECTION SHELL -------- */
.v2-section {
  padding-block: var(--section-y);
}

.v2-section__head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: end;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

@media (min-width: 880px) {
  .v2-section__head { grid-template-columns: 1.4fr 1fr; }
}

.v2-section__more {
  justify-self: start;
}

@media (min-width: 880px) {
  .v2-section__more { justify-self: end; align-self: end; padding-bottom: 0.4rem; }
}

.v2-section--ink {
  background: var(--ink);
  color: var(--paper);
}

.v2-section--ink .section-title,
.v2-section--ink .display,
.v2-section--ink .eyebrow { color: var(--paper); }

.v2-section--ink .section-title em { color: var(--primary, var(--paper)); }

.v2-section--ink .lede,
.v2-section--ink .eyebrow { color: rgba(251, 247, 240, 0.7); }

/* -------- CUISINES GRID -------- */
.v2-cuisines {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) { .v2-cuisines { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 880px) { .v2-cuisines { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1100px) { .v2-cuisines { grid-template-columns: repeat(6, 1fr); } }

.v2-cuisine {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem 1rem;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  background: var(--paper-card);
  transition: transform 280ms var(--ease-out-quart), border-color 280ms, background 280ms;
}

.v2-cuisine:hover {
  transform: translateY(-3px);
  border-color: var(--primary, var(--ink));
  background: var(--brand-tint);
}

.v2-cuisine__icon {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: var(--paper-warm);
  display: grid;
  place-items: center;
  margin-bottom: 0.85rem;
  font-size: 1.5rem;
  transition: background 280ms, transform 280ms;
}

.v2-cuisine:hover .v2-cuisine__icon {
  background: var(--primary, var(--ink));
  color: #fff;
  transform: rotate(-4deg) scale(1.06);
}

.v2-cuisine__name {
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  margin: 0;
}

.v2-cuisine__count {
  font-size: 0.78rem;
  color: var(--ink-mute);
  margin-top: 0.25rem;
  letter-spacing: 0.02em;
}

/* -------- RESTAURANT CARDS -------- */
.v2-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 720px) { .v2-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .v2-cards { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }

.v2-card {
  display: flex;
  flex-direction: column;
  background: var(--paper-card);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 320ms var(--ease-out-quart), border-color 320ms;
}

.v2-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary, var(--ink));
}

.v2-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-warm);
}

.v2-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease-out-quart);
}

.v2-card:hover .v2-card__media img {
  transform: scale(1.04);
}

.v2-card__badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--paper);
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--hairline);
}

.v2-card__body {
  padding: 1.25rem 1.4rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.v2-card__cuisine {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary, var(--ink-mute));
  font-weight: 600;
}

.v2-card__title {
  font-family: var(--display);
  font-size: 1.4rem;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin: 0;
}

.v2-card__meta {
  font-size: 0.88rem;
  color: var(--ink-mute);
  margin-top: auto;
  padding-top: 0.5rem;
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.v2-card__meta-dot {
  width: 3px; height: 3px;
  background: currentColor;
  border-radius: 999px;
}

/* -------- REVIEWS -------- */
.v2-reviews {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 720px) { .v2-reviews { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .v2-reviews { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }

.v2-review {
  border: 1px solid rgba(251, 247, 240, 0.16);
  border-radius: 18px;
  padding: 2rem 1.75rem;
  background: rgba(251, 247, 240, 0.03);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: background 280ms, border-color 280ms;
}

.v2-review:hover {
  background: rgba(251, 247, 240, 0.06);
  border-color: rgba(251, 247, 240, 0.3);
}

.v2-review__mark {
  font-family: var(--display);
  font-size: 3rem;
  line-height: 0.8;
  color: var(--primary, var(--paper));
  font-style: italic;
}

.v2-review__quote {
  font-family: var(--display);
  font-size: 1.2rem;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--paper);
  margin: 0;
  flex: 1;
}

.v2-review__foot {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(251, 247, 240, 0.12);
}

.v2-review__avatar {
  width: 40px; height: 40px;
  border-radius: 999px;
  background: var(--primary, var(--paper));
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 1rem;
}

.v2-review__who {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--paper);
}

.v2-review__where {
  font-size: 0.78rem;
  color: rgba(251, 247, 240, 0.6);
  letter-spacing: 0.02em;
}

.v2-stars {
  display: inline-flex;
  gap: 0.15rem;
  color: var(--primary, var(--paper));
  font-size: 0.85rem;
}

/* -------- FOOTER -------- */
.v2-footer {
  background: var(--paper-warm);
  border-top: 1px solid var(--hairline);
  padding-block: clamp(3rem, 6vw, 5rem) 2rem;
  position: relative;
  z-index: 2;
}

.v2-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 720px) {
  .v2-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 3rem; }
}

.v2-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 32ch;
}

.v2-footer__brand-mark {
  font-family: var(--display);
  font-size: 1.5rem;
  letter-spacing: -0.015em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.v2-footer__brand-mark img { height: 30px; }
.v2-footer__brand-mark em {
  font-style: italic;
  color: var(--primary, var(--ink));
}

.v2-footer__tagline {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.6;
}

.v2-footer__col h4 {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 1rem;
}

.v2-footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.v2-footer__col a {
  color: var(--ink);
  font-size: 0.95rem;
  transition: color 200ms;
}

.v2-footer__col a:hover { color: var(--primary, var(--ink)); }

.v2-footer__social {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.v2-footer__social a {
  inline-size: 36px;
  block-size: 36px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: var(--paper);
  border: 1px solid var(--hairline);
  color: var(--ink);
  transition: background 200ms, color 200ms, border-color 200ms;
}

.v2-footer__social a:hover {
  background: var(--primary, var(--ink));
  border-color: var(--primary, var(--ink));
  color: #fff;
}

.v2-footer__bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--ink-mute);
}

.v2-footer__bottom a:hover { color: var(--primary, var(--ink)); }

/* -------- STAGGERED REVEAL ON LOAD -------- */
@keyframes v2-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.v2-reveal { animation: v2-rise 720ms var(--ease-out-expo) both; }

.v2-reveal-1 { animation-delay: 80ms; }
.v2-reveal-2 { animation-delay: 180ms; }
.v2-reveal-3 { animation-delay: 280ms; }
.v2-reveal-4 { animation-delay: 380ms; }
.v2-reveal-5 { animation-delay: 480ms; }

@media (prefers-reduced-motion: reduce) {
  .v2-reveal, .v2-reveal-1, .v2-reveal-2, .v2-reveal-3, .v2-reveal-4, .v2-reveal-5 {
    animation: none;
  }
  .v2-card, .v2-cuisine, .v2-card__media img {
    transition: none;
  }
}

/* -------- SCROLL-TRIGGERED FADE (sections below the fold) -------- */
.v2-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 720ms var(--ease-out-expo), transform 720ms var(--ease-out-expo);
}

.v2-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}
