/* ============================================================
   BODEGA EATERY — style.css
   Growth plan rebuild — 2026
   ============================================================ */

/* ============================================================
   1. GOOGLE FONTS
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:ital,opsz,wght@0,8..60,300;0,8..60,400;0,8..60,600;1,8..60,300;1,8..60,400&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

/* ============================================================
   2. CUSTOM FONTS
   ============================================================ */
@font-face {
  font-family: 'Old Letterpress Type';
  src: url('../fonts/Old Letterpress Type.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Postface';
  src: url('../fonts/Postface.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ============================================================
   3. DESIGN TOKENS
   ============================================================ */
:root {
  /* Brand colours */
  --color-black:      #000000;
  --color-red:        #C8161D;
  --color-red-dark:   #a01018;
  --color-white:      #FFFFFF;
  --color-terracotta: #D97058;
  --color-cream:      #FAF8F5;

  /* Derived */
  --color-ink:        #18160f;
  --color-ink-soft:   #4a4540;
  --color-cream-dark: #ede9e2;
  --color-overlay:    rgba(0, 0, 0, 0.55);

  /* Typography */
  --font-letterpress: 'Old Letterpress Type', serif;
  --font-postface:    'Source Serif 4', Georgia, serif;
  --font-serif:       'Source Serif 4', Georgia, serif;
  --font-sans:        'DM Sans', system-ui, sans-serif;

  /* Spacing */
  --section-v:        120px;
  --section-v-mob:    64px;
  --container-max:    1200px;
  --gutter:           2rem;
  --gutter-mob:       1.25rem;

  /* Borders */
  --radius-sm:        6px;
  --radius:           12px;
  --radius-lg:        20px;

  /* Shadows */
  --shadow-card:      0 4px 24px rgba(0,0,0,0.08);
  --shadow-card-up:   0 16px 48px rgba(0,0,0,0.16);
  --shadow-nav:       0 2px 24px rgba(0,0,0,0.35);

  /* Motion */
  --ease:             cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in:          cubic-bezier(0.55, 0, 1, 0.45);
  --t-fast:           0.18s ease;
  --t:                0.32s ease;
  --t-slow:           0.55s var(--ease);
}

/* ============================================================
   4. RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--color-ink);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video {
  max-width: 100%;
  display: block;
}

a { color: inherit; text-decoration: none; }

button {
  cursor: pointer;
  font-family: var(--font-sans);
  border: none;
  background: none;
}

ul, ol { list-style: none; }

/* ============================================================
   5. TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 400;
  line-height: 1.15;
}

/* Section eyebrow labels */
.section-eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: 0.875rem;
}

/* Section headings */
.section-heading {
  font-family: var(--font-postface);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--color-ink);
  margin-bottom: 1.25rem;
}

.section-subheading {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-style: italic;
  color: var(--color-ink-soft);
  line-height: 1.65;
  max-width: 58ch;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-header .section-heading { margin-bottom: 0.75rem; }

p { max-width: 65ch; }

/* Text links */
.btn-text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--color-ink);
  border-bottom: 1.5px solid var(--color-ink);
  padding-bottom: 0.1em;
  transition: color var(--t-fast), border-color var(--t-fast);
}

.btn-text-link:hover {
  color: var(--color-red);
  border-color: var(--color-red);
}

.btn-text-link--large {
  font-size: 1rem;
}

/* ============================================================
   6. LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ============================================================
   7. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2.25rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast),
              transform var(--t-fast), box-shadow var(--t-fast);
}

.btn-primary {
  background: var(--color-red);
  color: var(--color-white);
  border-color: var(--color-red);
}

.btn-primary:hover {
  background: var(--color-red-dark);
  border-color: var(--color-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200, 22, 29, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-secondary:hover {
  background: var(--color-white);
  color: var(--color-black);
  border-color: var(--color-white);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--color-ink);
  border-color: var(--color-ink);
}

.btn-outline-dark:hover {
  background: var(--color-ink);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-loading {
  opacity: 0.65;
  cursor: not-allowed;
  pointer-events: none;
}

/* ============================================================
   8. SITE NAVIGATION
   ============================================================ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background var(--t), padding var(--t), box-shadow var(--t);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  transition: padding var(--t);
}

.site-nav.scrolled .nav-inner {
  padding: 0.75rem 2rem;
}

.site-nav.scrolled {
  background: rgba(0, 0, 0, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-nav);
}

.nav-logo img {
  height: 48px;
  width: auto;
  display: block;
  transition: height var(--t-fast);
}

.site-nav.scrolled .nav-logo img {
  height: 38px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: 0.025em;
  position: relative;
  transition: color var(--t-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--color-white);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-fast);
}

.nav-link:hover { color: var(--color-white); }
.nav-link:hover::after { transform: scaleX(1); }

.nav-link--cta {
  background: var(--color-red);
  color: var(--color-white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.85rem;
  transition: background var(--t-fast), transform var(--t-fast);
}

.nav-link--cta::after { display: none !important; }

.nav-link--cta:hover {
  background: var(--color-red-dark);
  transform: translateY(-1px);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  z-index: 101;
}

.hamburger-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: transform var(--t), opacity var(--t);
  transform-origin: center;
}

.nav-hamburger[aria-expanded="true"] .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger[aria-expanded="true"] .hamburger-bar:nth-child(2) {
  opacity: 0;
}
.nav-hamburger[aria-expanded="true"] .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: var(--color-black);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.25rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-slow);
}

.nav-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.nav-overlay-link {
  font-family: var(--font-postface);
  font-size: clamp(2rem, 8vw, 3rem);
  color: var(--color-white);
  letter-spacing: 0.02em;
  transition: color var(--t-fast);
}

.nav-overlay-link:hover { color: var(--color-terracotta); }

.nav-overlay-link--cta {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  margin-top: 0.5rem;
  color: var(--color-red) !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
}

/* ============================================================
   9. HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--color-black);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(0,0,0,0.08) 0%,
      rgba(0,0,0,0.0)  30%,
      rgba(0,0,0,0.35) 60%,
      rgba(0,0,0,0.78) 100%
    );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 var(--gutter) 7rem;
  width: 100%;
  max-width: 1000px;
}

.hero-logo {
  width: 100px;
  height: auto;
  margin-bottom: 1.25rem;
  filter: drop-shadow(0 4px 20px rgba(0,0,0,0.6));
  animation: hero-fade-up 1s var(--ease) 0.1s both;
}

.hero-wordmark {
  font-family: var(--font-letterpress);
  font-size: clamp(3rem, 8.5vw, 7.5rem);
  color: var(--color-white);
  letter-spacing: 0.07em;
  line-height: 0.92;
  text-transform: uppercase;
  text-shadow: 0 4px 32px rgba(0,0,0,0.55);
  margin-bottom: 1rem;
  animation: hero-fade-up 1s var(--ease) 0.25s both;
}

.hero-tagline {
  font-family: var(--font-serif);
  font-size: clamp(1.0625rem, 1.8vw, 1.3125rem);
  color: rgba(255, 255, 255, 0.88);
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.025em;
  margin-bottom: 2.5rem;
  animation: hero-fade-up 1s var(--ease) 0.4s both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  animation: hero-fade-up 1s var(--ease) 0.55s both;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 1.75rem;
  right: 2.5rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.55);
  animation: hero-fade-up 1s var(--ease) 0.9s both;
}

.scroll-text {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.hero-scroll-hint svg {
  animation: bounce-down 2s ease 1.5s infinite;
}

@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes bounce-down {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}

/* ============================================================
   10. STATUS BAND
   ============================================================ */
.status-band {
  background: var(--color-ink);
  color: var(--color-white);
  padding: 0.875rem 2rem;
}

.status-band-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.open-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
}

.open-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--color-red);
}

.open-status.is-open .open-status-dot {
  background: #22c55e;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.3);
  animation: pulse-open 2.5s ease infinite;
}

.open-status-text { color: var(--color-white); }

.open-status.is-open .open-status-text { color: rgba(255,255,255,0.9); }

.status-hours {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.01em;
}

@keyframes pulse-open {
  0%, 100% { box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.25); }
  50%       { box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.0); }
}

/* ============================================================
   11. ABOUT SECTION
   ============================================================ */
.about {
  overflow: hidden;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
  align-items: stretch;
}

.about-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--section-v) clamp(3rem, 6vw, 7rem) var(--section-v) var(--gutter);
  max-width: 700px;
  margin: 0 0 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.about-text .section-heading {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: 1.5rem;
}

.about-body p {
  color: var(--color-ink-soft);
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.about-body p:last-of-type { margin-bottom: 2rem; }

.about-image-wrap {
  position: relative;
  overflow: hidden;
  background: var(--color-cream);
}

.about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.9s var(--ease);
}

.about-image-wrap:hover .about-image {
  transform: scale(1.03);
}

@media (max-width: 900px) {
  .about-inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .about-text {
    padding: var(--section-v-mob) var(--gutter-mob);
    max-width: none;
    margin: 0;
  }
  .about-image-wrap {
    height: 400px;
    order: -1;
  }
}

/* ============================================================
   12. IMAGE BREAKS
   ============================================================ */
.image-break {
  width: 100%;
  height: 65vh;
  min-height: 380px;
  overflow: hidden;
  position: relative;
}

.image-break-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

.image-band {
  width: 100%;
  height: 55vh;
  min-height: 320px;
  overflow: hidden;
}

.image-band-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  display: block;
}

/* ============================================================
   13. MENU HIGHLIGHTS
   ============================================================ */
.menu-highlights {
  padding: var(--section-v) 0;
  background: var(--color-white);
}

.menu-highlights .section-header {
  padding: 0 var(--gutter);
}

.menu-highlights .section-heading { color: var(--color-ink); }

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 0 var(--gutter);
  margin-bottom: 3.5rem;
}

.menu-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid rgba(0,0,0,0.07);
  box-shadow: var(--shadow-card);
  transition: transform var(--t), box-shadow var(--t);
  cursor: default;
}

.menu-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-up);
}

.menu-card-image-wrap {
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.menu-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
  display: block;
}

.menu-card:hover .menu-card-image {
  transform: scale(1.06);
}

.menu-card-body {
  padding: 1.375rem 1.625rem 1.75rem;
}

.menu-card-name {
  font-family: var(--font-postface);
  font-size: 1.2rem;
  color: var(--color-ink);
  margin-bottom: 0.4rem;
  line-height: 1.25;
}

.menu-card-desc {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--color-ink-soft);
  line-height: 1.55;
  margin-bottom: 0.875rem;
}

.menu-card-price {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-red);
  letter-spacing: 0.01em;
}

.menu-cta {
  text-align: center;
  padding: 0 var(--gutter);
}

@media (max-width: 768px) {
  .menu-highlights { padding: var(--section-v-mob) 0; }
  .menu-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   14. REVIEWS
   ============================================================ */
.reviews {
  padding: var(--section-v) 0;
  background: var(--color-cream);
}

.reviews .container { position: relative; }

.reviews-google-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-ink-soft);
  border-bottom: 1px solid rgba(0,0,0,0.25);
  padding-bottom: 0.1em;
  margin-top: 0.75rem;
  transition: color var(--t-fast), border-color var(--t-fast);
}

.reviews-google-link:hover {
  color: var(--color-red);
  border-color: var(--color-red);
}

/* Widget container */
.reviews-widget-container {
  min-height: 200px;
}

/* Review cards (rendered by google-reviews.js) */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.review-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 2rem 1.75rem 1.75rem;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: var(--shadow-card);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t-fast);
  position: relative;
  overflow: hidden;
}

.review-card::before {
  content: '\201C';
  position: absolute;
  top: -0.15em;
  left: 0.6rem;
  font-family: var(--font-postface);
  font-size: 6rem;
  color: var(--color-terracotta);
  opacity: 0.18;
  line-height: 1;
  pointer-events: none;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-up);
  border-color: rgba(217, 112, 88, 0.3);
}

.review-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1rem;
  gap: 0.75rem;
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.reviewer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--color-cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.reviewer-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reviewer-initials {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-white);
  background: var(--color-terracotta);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.review-name {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-ink);
  line-height: 1.3;
}

.review-time {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--color-ink-soft);
  opacity: 0.65;
  margin-top: 0.15rem;
}

.review-stars {
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  color: #f59e0b;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 0.15rem;
}

.review-text {
  font-family: var(--font-serif);
  font-size: 0.975rem;
  line-height: 1.7;
  color: var(--color-ink-soft);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.reviews-loading {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--color-ink-soft);
  text-align: center;
  padding: 3rem 0;
  font-style: italic;
}

@media (max-width: 768px) {
  .reviews { padding: var(--section-v-mob) 0; }
  .reviews-grid { grid-template-columns: 1fr; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   15. GALLERY
   ============================================================ */
.gallery {
  padding: 80px 0;
  background: var(--color-black);
}

.gallery .section-header {
  padding: 0 var(--gutter);
  margin-bottom: 2.5rem;
}

.gallery .section-eyebrow { color: var(--color-terracotta); }
.gallery .section-heading { color: var(--color-white); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 200px;
  gap: 0.5rem;
  padding: 0 var(--gutter);
}

.gallery-item {
  overflow: hidden;
  border-radius: var(--radius-sm);
  cursor: pointer;
  position: relative;
  background: #111;
}

.gallery-item--tall { grid-row: span 2; }

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background var(--t-fast);
  z-index: 1;
}

.gallery-item:hover::after { background: rgba(0,0,0,0.2); }

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.65s var(--ease);
}

.gallery-item:hover .gallery-img { transform: scale(1.05); }

@media (max-width: 768px) {
  .gallery { padding: var(--section-v-mob) 0; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item--tall { grid-row: span 1; }
  .gallery-img { min-height: 180px !important; }
}

/* ============================================================
   16. LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t);
}

.lightbox[aria-hidden="false"] {
  opacity: 1;
  pointer-events: all;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--color-white);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t-fast);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255,255,255,0.25); }

.lightbox-close { top: 1.5rem; right: 1.5rem; }
.lightbox-prev  { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 1.5rem; top: 50%; transform: translateY(-50%); }

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: transparent;
  cursor: pointer;
}

/* ============================================================
   17. BOOKING
   ============================================================ */
.booking {
  padding: var(--section-v) 0;
  background: var(--color-cream);
}

.booking .section-header { margin-bottom: 2.5rem; }

.booking .section-heading {
  font-family: var(--font-letterpress);
  font-size: clamp(2rem, 5vw, 4rem);
  letter-spacing: 0.04em;
  line-height: 1.05;
  color: var(--color-ink);
}

.booking-subtext {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-style: italic;
  color: var(--color-ink-soft);
  margin: 0.375rem auto 0;
  text-align: center;
  max-width: 65ch;
  display: block;
}

.booking-widget {
  max-width: 640px;
  margin: 0 auto 2rem;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 1.25rem;
  overflow: hidden;
}

.booking-iframe {
  width: 100%;
  min-height: 520px;
  border: none;
  display: block;
  border-radius: var(--radius-sm);
  background: var(--color-white);
}

.booking-alt {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.booking-alt-text {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--color-ink-soft);
}

.booking-phone-link {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-ink);
  letter-spacing: 0.01em;
  border-bottom: 2px solid var(--color-red);
  padding-bottom: 1px;
  transition: color var(--t-fast), border-color var(--t-fast);
}

.booking-phone-link:hover {
  color: var(--color-red);
}

@media (max-width: 768px) {
  .booking { padding: var(--section-v-mob) 0; }
}

/* ============================================================
   18. CONTACT + HOURS
   ============================================================ */
.contact {
  background: var(--color-ink);
}

.contact-cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1fr);
  min-height: 540px;
}

/* ── Info column — dark panel ── */
.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem clamp(1.75rem, 3.5vw, 3.5rem);
  background: var(--color-ink);
}

.contact-info .section-eyebrow {
  color: var(--color-terracotta);
}

.contact-info .section-heading {
  font-size: clamp(1.5rem, 2vw, 2rem);
  margin-bottom: 1.25rem;
  color: var(--color-white);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
}

.contact-detail-icon {
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.contact-detail-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-terracotta);
  margin-bottom: 0.2rem;
}

.contact-detail-value {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.55;
}

.contact-phone {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.25);
  transition: color var(--t-fast), border-color var(--t-fast);
}

.contact-phone:hover {
  color: var(--color-red);
  border-color: var(--color-red);
}

.contact-social {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.65);
  transition: border-color var(--t-fast), background var(--t-fast), color var(--t-fast);
}

.social-link:hover {
  background: var(--color-red);
  border-color: var(--color-red);
  color: var(--color-white);
}

.social-link svg { display: block; }

@media (min-width: 769px) and (max-width: 1024px) {
  .contact-cols {
    grid-template-columns: 1fr 1fr;
  }
  .contact-form-wrap {
    grid-column: 1 / -1;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2.5rem var(--gutter);
  }
  .contact-map { min-height: 320px; }
}

/* ============================================================
   19. CONTACT FORM
   ============================================================ */
.contact-form-wrap {
  padding: 3rem clamp(1.75rem, 3.5vw, 3.5rem);
  background: var(--color-ink);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

/* Live open/closed status badge (rendered by open-status.js) */
.contact-live-status { margin-top: 0.6rem; }

.contact-live-status .status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-live-status .status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.contact-live-status .status-dot--open {
  background: #22c55e;
  box-shadow: 0 0 0 2px rgba(34,197,94,0.25);
}

.contact-live-status .status-dot--closed { background: #aaa; }

.contact-live-status .status-label {
  color: rgba(255, 255, 255, 0.85);
}

.contact-live-status .status-sep {
  color: rgba(255, 255, 255, 0.35);
  margin: 0 0.1em;
}

.contact-live-status .status-next {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

/* Map embed */
.contact-map {
  overflow: hidden;
  background: var(--color-ink);
  min-height: 420px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  filter: grayscale(20%) contrast(1.05);
}

.contact-form-heading {
  font-family: var(--font-postface);
  font-size: clamp(1.25rem, 1.8vw, 1.625rem);
  font-weight: 400;
  color: var(--color-white);
  margin-bottom: 1.5rem;
}

.contact-form {
  max-width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-group label {
  font-family: var(--font-sans);
  font-size: 0.775rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-ink-soft);
}

.form-optional {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: #999;
  font-size: 0.75rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--color-ink);
  background: var(--color-white);
  border: 1.5px solid #d0ccc6;
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  width: 100%;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-ink);
  box-shadow: 0 0 0 3px rgba(24, 22, 15, 0.08);
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
  font-size: 0.9375rem;
  line-height: 1.65;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23555' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.75rem;
  cursor: pointer;
}

.contact-form .btn-primary {
  align-self: flex-start;
  padding: 0.9rem 2.5rem;
}

/* Dark-panel overrides for form column */
.contact-form-wrap .form-group label {
  color: rgba(255, 255, 255, 0.55);
}

.contact-form-wrap .form-optional {
  color: rgba(255, 255, 255, 0.35);
}

.contact-form-wrap .form-group input:focus,
.contact-form-wrap .form-group select:focus,
.contact-form-wrap .form-group textarea:focus {
  border-color: var(--color-terracotta);
  box-shadow: 0 0 0 3px rgba(217, 112, 88, 0.12);
}

/* Form feedback messages */
.form-message {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.form-message--success {
  background: #f0faf3;
  border: 1.5px solid #7dcf8c;
  color: #1c5c30;
}

.form-message--error {
  background: #fff4f4;
  border: 1.5px solid #f09898;
  color: #7a1c1c;
}

@media (max-width: 768px) {
  .contact-cols { grid-template-columns: 1fr; }
  .contact-info { padding: var(--section-v-mob) var(--gutter-mob); }
  .contact-map { min-height: 280px; }
  .contact-form-wrap {
    padding: var(--section-v-mob) var(--gutter-mob);
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .form-row { grid-template-columns: 1fr; }
  .contact-form .btn-primary { align-self: stretch; text-align: center; }
}

/* ============================================================
   20. FOOTER
   ============================================================ */
.site-footer {
  background: var(--color-black);
  color: rgba(255, 255, 255, 0.45);
  padding: 2.5rem var(--gutter);
}

.footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-copy,
.footer-credit {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  letter-spacing: 0.01em;
}

.footer-credit a {
  color: rgba(255,255,255,0.65);
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 0.05em;
  transition: color var(--t-fast);
}

.footer-credit a:hover { color: var(--color-white); }

/* ============================================================
   21. SCROLL ENTRANCE ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.reveal-stagger.revealed > *:nth-child(1) { transition-delay: 0s; opacity: 1; transform: none; }
.reveal-stagger.revealed > *:nth-child(2) { transition-delay: 0.08s; opacity: 1; transform: none; }
.reveal-stagger.revealed > *:nth-child(3) { transition-delay: 0.16s; opacity: 1; transform: none; }
.reveal-stagger.revealed > *:nth-child(4) { transition-delay: 0.24s; opacity: 1; transform: none; }
.reveal-stagger.revealed > *:nth-child(5) { transition-delay: 0.32s; opacity: 1; transform: none; }
.reveal-stagger.revealed > *:nth-child(6) { transition-delay: 0.40s; opacity: 1; transform: none; }

/* ============================================================
   22. FOCUS & ACCESSIBILITY
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--color-red);
  outline-offset: 3px;
}

/* ============================================================
   23. RESPONSIVE HELPERS
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --gutter: var(--gutter-mob);
  }
  .hide-mobile { display: none !important; }
}

@media (min-width: 769px) {
  .hide-desktop { display: none !important; }
}

/* ============================================================
   24. PRINT
   ============================================================ */
@media print {
  .site-nav,
  .lightbox,
  .nav-overlay,
  .nav-hamburger,
  .hero-scroll-hint { display: none !important; }

  .hero { height: auto; min-height: 300px; }
  .hero-video { display: none; }
}
