/* ============================================
   BONNIE'S — Stylesheet
   Built by Williamson Automation
   Scratch-made breakfast diner in Greene, NY
   ============================================ */

/* --- RESET & BASE --- */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.1vw, 1.1rem);
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul, ol {
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Consistent image aspect ratios in grids */
.aspect-4-3 { aspect-ratio: 4/3; }
.aspect-16-9 { aspect-ratio: 16/9; }
.aspect-1-1 { aspect-ratio: 1/1; }

.aspect-4-3 img,
.aspect-16-9 img,
.aspect-1-1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Face-aware image positioning */
.face-top img,
img.face-top { object-position: top; }

.face-center img,
img.face-center { object-position: center 25%; }

.face-bottom img,
img.face-bottom { object-position: center 75%; }

/* Global overflow prevention — prevents text from escaping grid containers */
[class*="grid"] > * {
  min-width: 0;
}

.card, .testimonial-card, .review-card, .package-card, .pricing-card, .tier-card, .sim-card, .bento-item {
  overflow: hidden;
  min-width: 0;
}

.card p, .card__body p, .card__content p, .card__detail,
.testimonial-card p, .testimonial-card__quote,
.review-card p, .review-card__quote,
.package-card p, .package-card h3, .package-card__ideal,
.bento-item__tagline {
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}


/* --- CUSTOM PROPERTIES --- */

:root {
  /* Colors — Primary */
  --color-primary: #5C3D2E;
  --color-primary-light: #7A5B4A;
  --color-primary-dark: #3A2419;
  --color-primary-rgb: 92, 61, 46;

  /* Colors — Secondary */
  --color-secondary: #D4A96A;
  --color-secondary-light: #E8CFA0;
  --color-secondary-rgb: 212, 169, 106;

  /* Colors — Accent */
  --color-accent: #C8622A;
  --color-accent-dark: #B5561F;
  --color-accent-rgb: 200, 98, 42;

  /* Colors — Neutrals */
  --color-bg: #FBF7F0;
  --color-surface: #F3EDE3;
  --color-text: #2D1F14;
  --color-text-secondary: #6B5B50;
  --color-text-light: #FBF7F0;
  --color-border: #DDD5C9;
  --color-white: #FFFFFF;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --section-padding-mobile: 5rem 1.5rem;
  --section-padding-desktop: 8rem 4rem;
  --content-max-width: 1200px;
  --menu-max-width: 900px;
  --gap: 2rem;
  --gap-sm: 1rem;
  --gap-lg: 3rem;

  /* Animation */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.6s ease;

  /* Shadows — warm-tinted */
  --shadow-sm: 0 1px 2px rgba(92,61,46,0.06), 0 4px 12px rgba(92,61,46,0.06);
  --shadow-md: 0 1px 2px rgba(92,61,46,0.06), 0 4px 12px rgba(92,61,46,0.06), 0 12px 32px rgba(92,61,46,0.04);
  --shadow-lg: 0 2px 4px rgba(92,61,46,0.08), 0 8px 20px rgba(92,61,46,0.1), 0 20px 48px rgba(92,61,46,0.08);

  /* Nav */
  --nav-height: 70px;
  --nav-bg: rgba(58, 36, 25, 0.85);
  --nav-blur: 20px;

  /* Border radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
}


/* --- TYPOGRAPHY --- */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--color-text);
}

h1 {
  font-size: clamp(2.75rem, 6vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 600;
}

h4 {
  font-size: 1.1rem;
  font-weight: 600;
}

p {
  max-width: 65ch;
  margin-bottom: 1em;
}

.text-accent {
  color: var(--color-accent);
}

.section__label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.section__subtitle {
  font-size: clamp(1rem, 1.1vw, 1.1rem);
  color: var(--color-text-secondary);
  max-width: 55ch;
  margin-bottom: 2.5rem;
}


/* --- LAYOUT UTILITIES --- */

.container {
  width: 100%;
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding-left: clamp(1.5rem, 5vw, 4rem);
  padding-right: clamp(1.5rem, 5vw, 4rem);
}

.section {
  padding: var(--section-padding-mobile);
}

.section--light {
  background: var(--color-bg);
}

.section--surface {
  background: var(--color-surface);
}

.section--dark {
  background: var(--color-primary-dark);
  color: var(--color-text-light);
}

.section--cinematic {
  background: var(--color-primary-dark);
  color: var(--color-text-light);
  position: relative;
  overflow: hidden;
}

.section__inner {
  max-width: var(--content-max-width);
  margin: 0 auto;
}

.section__header {
  text-align: center;
  margin-bottom: 3rem;
}

.section__header p {
  margin-left: auto;
  margin-right: auto;
}

/* Subtle background texture */
.textured-bg {
  background-image:
    radial-gradient(circle at 20% 50%, rgba(var(--color-primary-rgb), 0.03), transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(var(--color-accent-rgb), 0.02), transparent 40%);
}

/* Ultra-wide containment */
.content-wrapper {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1.5rem, 5vw, 4rem);
  padding-right: clamp(1.5rem, 5vw, 4rem);
}


/* --- NAVIGATION --- */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(var(--nav-blur));
  -webkit-backdrop-filter: blur(var(--nav-blur));
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

.site-nav.nav-scrolled {
  background: rgba(58, 36, 25, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-light);
  letter-spacing: 0.04em;
  text-decoration: none;
  z-index: 1001;
}

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

.nav-link {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-light);
  text-decoration: none;
  position: relative;
  padding: 0.25rem 0;
  transition: color var(--transition-base);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--color-secondary);
  transition: width var(--transition-base), left var(--transition-base);
}

.nav-link.active {
  color: var(--color-secondary);
}

.nav-link.active::after {
  width: 100%;
  left: 0;
}

.nav-cta {
  display: none;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-accent);
  color: var(--color-text-light);
  padding: 0.625rem 1.5rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--transition-base), transform var(--transition-base);
}

/* Hamburger */
.nav-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  z-index: 1001;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text-light);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.nav-hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav overlay */
.nav-mobile {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: var(--color-primary-dark);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  transition: right var(--transition-slow);
}

.nav-mobile.is-open {
  right: 0;
}

.nav-mobile a {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--color-text-light);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color var(--transition-base);
}

.nav-mobile__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-accent);
  color: var(--color-text-light);
  padding: 1rem 2rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  margin-top: 1rem;
}

@media (hover: hover) {
  .nav-link:hover {
    color: var(--color-secondary);
  }

  .nav-link:hover::after {
    width: 100%;
    left: 0;
  }

  .nav-cta:hover {
    background: var(--color-accent-dark);
    transform: scale(1.02);
  }

  .nav-mobile a:hover {
    color: var(--color-secondary);
  }
}


/* --- HERO --- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

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

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(58, 36, 25, 0.15) 0%,
    rgba(58, 36, 25, 0.4) 40%,
    rgba(58, 36, 25, 0.8) 100%
  );
  z-index: 1;
}

/* Warm vignette at edges */
.hero__overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    transparent 50%,
    rgba(58, 36, 25, 0.25) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 1.5rem 6rem;
  max-width: 800px;
  color: var(--color-text-light);
}

.hero__label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-secondary-light);
  margin-bottom: 1.25rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6), 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero__heading {
  font-family: var(--font-heading);
  font-size: clamp(2.75rem, 6vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--color-text-light);
  margin-bottom: 2.5rem;
  text-shadow: 0 2px 20px rgba(58, 36, 25, 0.5), 0 4px 40px rgba(58, 36, 25, 0.3);
}

.hero__ctas {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  margin-bottom: 2rem;
}

.hero__phone {
  margin-top: 1rem;
  font-size: 1rem;
  color: rgba(251, 247, 240, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.hero__phone a {
  color: var(--color-text-light);
  text-decoration: none;
  font-weight: 500;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 2;
}

.scroll-indicator__arrow {
  width: 24px;
  height: 24px;
  border-right: 2px solid rgba(255, 255, 255, 0.6);
  border-bottom: 2px solid rgba(255, 255, 255, 0.6);
  transform: rotate(45deg);
}


/* --- SECTION: Trust Stats --- */

.trust-stats {
  background: var(--color-primary-dark);
  color: var(--color-text-light);
  position: relative;
  z-index: 2;
  border-top: 3px solid var(--color-secondary);
  padding: 3rem 1.5rem 4rem;
  background-image: radial-gradient(circle at 50% 50%, rgba(212, 169, 106, 0.05), transparent 60%);
}

.trust-stats__inner {
  max-width: var(--content-max-width);
  margin: 0 auto;
}

.trust-stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.trust-stat {
  text-align: center;
}

.trust-stat__number {
  font-size: 2.5rem;
  font-weight: 700;
  font-family: var(--font-heading);
  line-height: 1;
  color: var(--color-secondary);
  text-shadow: 0 2px 12px rgba(212, 169, 106, 0.3);
}

.trust-stat__label {
  font-size: 0.875rem;
  color: rgba(251, 247, 240, 0.75);
  margin-top: 0.5rem;
  font-weight: 500;
}

.trust-stat__stars {
  color: var(--color-secondary);
  font-size: 1.125rem;
  letter-spacing: 2px;
  margin-top: 0.25rem;
}

/* Section angle divider on trust stats */
.section-angle {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 4vw), 0 100%);
  margin-bottom: -4vw;
  position: relative;
  z-index: 1;
}

.section-angle-reverse {
  clip-path: polygon(0 0, 100% 4vw, 100% 100%, 0 100%);
  padding-top: calc(5rem + 4vw);
}


/* --- SECTION: Menu Preview --- */

.menu-preview {
  padding: 6rem 1.5rem;
  background: var(--color-bg);
}

.menu-preview .section__header {
  text-align: center;
  margin-bottom: 3rem;
}

.menu-preview__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
  max-width: var(--content-max-width);
  margin: 0 auto;
}

.menu-preview__cta {
  text-align: center;
  margin-top: 3rem;
}


/* --- SECTION: Daily Specials Callout --- */

.daily-specials {
  background: var(--color-primary);
  color: var(--color-text-light);
  padding: 6rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.daily-specials__inner {
  max-width: var(--content-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.daily-specials__content h2 {
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
}

.daily-specials__content p {
  color: rgba(251, 247, 240, 0.9);
  margin-bottom: 2rem;
}

.daily-specials__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.specials-badge {
  background: rgba(212, 169, 106, 0.2);
  color: var(--color-secondary-light);
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid rgba(212, 169, 106, 0.3);
  transition: transform var(--transition-fast);
}

.daily-specials__photo {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 4px solid var(--color-secondary);
}

.daily-specials__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}

/* Wave divider after daily specials */
.section-wave {
  position: relative;
}

.section-wave::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--color-bg);
  clip-path: ellipse(55% 100% at 50% 100%);
  z-index: 1;
}

@media (hover: hover) {
  .specials-badge:hover {
    transform: scale(1.05);
  }
}


/* --- SECTION: Homemade Story --- */

.homemade-story {
  padding: 6rem 1.5rem;
  background: var(--color-bg);
}

.homemade-story__inner {
  max-width: var(--content-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.homemade-story__photos {
  position: relative;
  min-height: 300px;
}

.homemade-story__photo-main {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 2;
  width: 85%;
}

.homemade-story__photo-secondary {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: absolute;
  bottom: -2rem;
  right: 0;
  width: 60%;
  z-index: 3;
}

.homemade-story__photo-main img,
.homemade-story__photo-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.homemade-story__content h2 {
  margin-bottom: 1.5rem;
}

.homemade-story__content p {
  color: var(--color-text-secondary);
  margin-bottom: 1.25rem;
}

.homemade-story__cta {
  margin-top: 2rem;
}

@media (hover: hover) {
  .homemade-story__photo-main:hover img,
  .homemade-story__photo-secondary:hover img {
    transform: scale(1.03);
  }
}


/* --- SECTION: Reviews --- */

.reviews-section {
  background: var(--color-primary-dark);
  color: var(--color-text-light);
  padding: 6rem 1.5rem;
  position: relative;
}

.reviews-section__inner {
  max-width: var(--content-max-width);
  margin: 0 auto;
}

.reviews-section .section__header {
  text-align: center;
  margin-bottom: 3rem;
}

.reviews-section .section__header h2 {
  color: var(--color-text-light);
}

.reviews-section .section__header p,
.reviews-section .section__subtitle {
  color: rgba(251, 247, 240, 0.8);
}

.featured-reviews {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
  margin-bottom: 3rem;
}

.review-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 2rem;
  border-left: 4px solid var(--color-secondary);
  box-shadow: var(--shadow-md);
  color: var(--color-text);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  transform-style: preserve-3d;
}

.review-card__stars {
  color: var(--color-secondary);
  font-size: 1.125rem;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
}

.review-card__quote {
  font-style: italic;
  font-family: var(--font-heading);
  line-height: 1.7;
  margin-bottom: 1rem;
  color: var(--color-text);
  font-size: 1rem;
}

.review-card__author {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}

.review-card__source {
  font-size: 0.8rem;
  color: var(--color-text-secondary);
  opacity: 0.7;
}

@media (hover: hover) {
  .review-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-left-color: var(--color-accent);
  }
}

/* Review ticker */
.review-ticker {
  border-top: 1px solid rgba(212, 169, 106, 0.3);
  padding-top: 2rem;
  text-align: center;
  min-height: 80px;
  position: relative;
}

.review-ticker__item {
  color: rgba(251, 247, 240, 0.85);
  font-size: 1.1rem;
  line-height: 1.6;
  font-style: italic;
  max-width: 700px;
  margin: 0 auto;
}

.review-ticker__author {
  display: block;
  margin-top: 0.5rem;
  font-style: normal;
  font-size: 0.85rem;
  color: rgba(212, 169, 106, 0.8);
  font-weight: 500;
}

.reviews-section__cta {
  text-align: center;
  margin-top: 2.5rem;
}


/* --- SECTION: CTA Band --- */

.cta-band {
  position: relative;
  padding: 5rem 1.5rem;
  text-align: center;
  overflow: hidden;
}

.cta-band--solid {
  background: var(--color-primary-dark);
  color: var(--color-text-light);
  padding: 5rem 1.5rem;
}

.cta-band--photo {
  color: var(--color-text-light);
}

.cta-band__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-band__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-band__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(58, 36, 25, 0.92), rgba(92, 61, 46, 0.88));
  z-index: 1;
}

.cta-band__inner {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.cta-band__inner h2 {
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
}

.cta-band__inner p {
  color: rgba(251, 247, 240, 0.9);
  margin: 0 auto 2.5rem;
}

.cta-band__buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  margin-bottom: 2rem;
}

.cta-band__phone {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text-light);
  margin-top: 1rem;
}

.cta-band__phone a {
  color: var(--color-secondary-light);
  text-decoration: none;
}

.cta-band__hours {
  font-size: 0.9rem;
  color: rgba(251, 247, 240, 0.7);
  margin-top: 1rem;
}


/* --- CARDS & COMPONENTS --- */

.card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.card__image {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  will-change: transform;
}

.card__content,
.card__body {
  padding: 1.5rem 1.5rem 2rem;
  color: var(--color-text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.card__content .card__heading,
.card__body .card__heading,
.card__content h3,
.card__body h3 {
  margin-bottom: 0.75rem;
  color: var(--color-text);
}

.card__detail {
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
  padding-top: 0.75rem;
  margin-top: 0.75rem;
  border-top: 1px solid var(--color-border);
  line-height: 1.6;
}

.card__link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--color-accent);
  font-weight: 600;
  font-size: 0.875rem;
  transition: color var(--transition-fast);
}

/* Image hover container */
.image-hover {
  overflow: hidden;
  border-radius: var(--radius-md);
}

.image-hover img {
  transition: transform 0.4s ease;
  will-change: transform;
}

/* Glass card */
.glass-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

/* Price accent class */
.price {
  color: var(--color-accent);
  font-weight: 700;
}

.info-highlight {
  color: var(--color-accent);
  font-weight: 600;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform var(--transition-base), background var(--transition-base), box-shadow var(--transition-base);
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-text-light);
  padding: 1rem 2.25rem;
  border-radius: var(--radius-sm);
}

.btn-secondary {
  background: transparent;
  padding: 1rem 2.25rem;
  border-radius: var(--radius-sm);
  border: 2px solid var(--color-text-light);
  color: var(--color-text-light);
}

.btn-secondary--light {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.btn:active {
  transform: scale(0.98);
}

@media (hover: hover) {
  .card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
  }

  .card:hover .card__image img {
    transform: scale(1.03);
  }

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

  .btn:hover {
    transform: scale(1.02);
  }

  .btn-primary:hover {
    background: var(--color-accent-dark);
    box-shadow: 0 4px 16px rgba(200, 98, 42, 0.3);
  }

  .btn-secondary:hover {
    background: var(--color-text-light);
    color: var(--color-primary-dark);
  }

  .btn-secondary--light:hover {
    background: var(--color-accent);
    color: var(--color-text-light);
    border-color: var(--color-accent);
  }

  .glass-card:hover {
    transform: translateY(-4px);
    box-shadow:
      0 8px 32px rgba(0, 0, 0, 0.15),
      inset 0 1px 0 rgba(255, 255, 255, 0.15);
  }

  .card__link:hover {
    color: var(--color-accent-dark);
  }
}


/* --- SECTION: Testimonial cards (alias) --- */

.testimonial-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.testimonial-stars {
  color: var(--color-secondary);
  font-size: 1.125rem;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
}

.testimonial-text {
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.testimonial-author {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}


/* --- GALLERY & LIGHTBOX --- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.gallery-item {
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
}

@media (hover: hover) {
  .gallery-item:hover img {
    transform: scale(1.05);
    filter: brightness(1.08);
  }
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.92);
  align-items: center;
  justify-content: center;
}

.lightbox.is-open {
  display: flex;
}

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

.lightbox__image {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--transition-fast);
  z-index: 2001;
}

.lightbox__close:hover {
  opacity: 0.7;
}

.lightbox__prev,
.lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  border: none;
  color: white;
  font-size: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
  z-index: 2001;
}

.lightbox__prev:hover,
.lightbox__next:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox__prev { left: 1.5rem; }
.lightbox__next { right: 1.5rem; }

.lightbox__counter {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  z-index: 2001;
}

/* Gallery set navigation */
.gallery-set__viewport {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.gallery-set__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}

.gallery-set__prev { left: 1rem; }
.gallery-set__next { right: 1rem; }

.gallery-set__nav:hover {
  background: rgba(0, 0, 0, 0.8);
}

.gallery-set__counter {
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  margin-top: 0.75rem;
}

.gallery-set__photo img {
  object-position: center 30%;
}


/* --- FORMS --- */

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--color-text);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font: inherit;
  font-size: 0.9375rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  color: var(--color-text);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(var(--color-accent-rgb), 0.15);
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235A5A5A' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-input.error,
.form-textarea.error {
  border-color: #dc3545;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.15);
}

.form-group.error .form-label {
  color: #dc3545;
}

.required {
  color: var(--color-accent);
}

/* Bare element fallback — catches unstyled form elements */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form input[type="date"],
.contact-form input[type="number"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font: inherit;
  font-size: 0.9375rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  color: var(--color-text);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(var(--color-accent-rgb), 0.15);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235A5A5A' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.contact-form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--color-text);
}

.contact-form .required {
  color: var(--color-accent);
}

.contact-form-wrapper {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-md);
  max-width: 700px;
  margin: 0 auto;
}


/* --- FOOTER --- */

.site-footer {
  background: var(--color-primary-dark);
  color: var(--color-text-light);
  border-top: 3px solid var(--color-secondary);
  position: relative;
  background-image: radial-gradient(circle at 30% 50%, rgba(212, 169, 106, 0.03), transparent 50%);
}

.site-footer__main {
  padding: 5rem 1.5rem;
  max-width: var(--content-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.footer-col__brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-light);
  margin-bottom: 0.5rem;
}

.footer-col__est {
  font-size: 0.85rem;
  color: rgba(251, 247, 240, 0.5);
  margin-bottom: 1rem;
}

.footer-col p {
  font-size: 0.9rem;
  color: rgba(251, 247, 240, 0.7);
  line-height: 1.6;
  max-width: 35ch;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 1.25rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(251, 247, 240, 0.7);
  text-decoration: none;
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-block;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: rgba(251, 247, 240, 0.7);
  margin-bottom: 0.75rem;
}

.footer-contact-item a {
  color: rgba(251, 247, 240, 0.7);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-hours-table {
  font-size: 0.9rem;
}

.footer-hours-table dt {
  color: rgba(251, 247, 240, 0.5);
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
}

.footer-hours-table dd {
  color: rgba(251, 247, 240, 0.85);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

/* Footer bottom bar */
.site-footer__bottom {
  background: rgba(0, 0, 0, 0.2);
  padding: 1.5rem;
  text-align: center;
}

.site-footer__bottom p {
  font-size: 0.8rem;
  color: rgba(251, 247, 240, 0.5);
  max-width: none;
  margin-bottom: 0.25rem;
}

.site-footer__bottom a {
  color: rgba(251, 247, 240, 0.5);
  text-decoration: none;
  transition: color var(--transition-fast);
}

@media (hover: hover) {
  .footer-col ul li a:hover {
    color: var(--color-secondary);
    transform: translateX(3px);
  }

  .footer-contact-item a:hover {
    color: var(--color-secondary);
  }

  .site-footer__bottom a:hover {
    color: var(--color-secondary);
  }
}


/* --- INNER PAGE HEADERS --- */

.inner-hero {
  position: relative;
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.inner-hero__image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.inner-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}

.inner-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.inner-hero__content {
  position: relative;
  z-index: 2;
  padding: 3rem 1.5rem;
  color: var(--color-text-light);
}

.inner-hero__label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-secondary-light);
  margin-bottom: 1rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6), 0 2px 20px rgba(0, 0, 0, 0.3);
}

.inner-hero__heading {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--color-text-light);
  text-shadow: 0 2px 20px rgba(58, 36, 25, 0.5), 0 4px 40px rgba(58, 36, 25, 0.3);
  margin-bottom: 1rem;
}

.inner-hero__breadcrumb {
  font-size: 0.85rem;
  color: rgba(251, 247, 240, 0.7);
}

.inner-hero__breadcrumb a {
  color: rgba(251, 247, 240, 0.7);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.inner-hero__breadcrumb a:hover {
  color: var(--color-secondary);
}

.inner-hero__breadcrumb span {
  margin: 0 0.5rem;
}


/* --- MENU PAGE: Sticky Category Nav --- */

.menu-nav {
  background: var(--color-surface);
  position: sticky;
  top: var(--nav-height);
  z-index: 100;
  padding: 0.75rem 1rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  transition: box-shadow var(--transition-base);
}

.menu-nav::-webkit-scrollbar {
  display: none;
}

.menu-nav.sticky-shadow {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.menu-nav__inner {
  display: flex;
  gap: 0.5rem;
  max-width: var(--menu-max-width);
  margin: 0 auto;
  white-space: nowrap;
}

.menu-nav__pill {
  display: inline-flex;
  padding: 0.5rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: 100px;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
  flex-shrink: 0;
}

.menu-nav__pill.active {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}

@media (hover: hover) {
  .menu-nav__pill:hover:not(.active) {
    background: rgba(200, 98, 42, 0.1);
    border-color: rgba(200, 98, 42, 0.3);
  }
}


/* --- MENU PAGE: Menu Content --- */

.menu-section {
  padding: 5rem 1.5rem;
  max-width: var(--menu-max-width);
  margin: 0 auto;
}

.menu-category {
  margin-bottom: 4rem;
}

.menu-category:last-child {
  margin-bottom: 0;
}

.menu-category__header {
  margin-bottom: 2rem;
}

.menu-category__photo {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1.5rem;
  aspect-ratio: 16/9;
}

.menu-category__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

@media (hover: hover) {
  .menu-category__photo:hover img {
    transform: scale(1.03);
  }
}

.menu-category__name {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.menu-category__note {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  font-style: italic;
  margin-bottom: 0;
}

/* Menu item rows */
.menu-items {
  display: flex;
  flex-direction: column;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--color-border);
  gap: 1rem;
  transition: background var(--transition-fast), padding-left var(--transition-fast);
}

.menu-item:last-child {
  border-bottom: none;
}

.menu-item__info {
  flex: 1;
  min-width: 0;
}

.menu-item__name {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
}

.menu-item__desc {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  margin-top: 0.25rem;
  line-height: 1.5;
}

.menu-item__price {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-accent);
  flex-shrink: 0;
  white-space: nowrap;
}

.menu-item__leader {
  flex: 1;
  border-bottom: 1px dotted var(--color-border);
  margin: 0 0.75rem;
  align-self: center;
  min-width: 2rem;
}

@media (hover: hover) {
  .menu-item:hover {
    background: rgba(212, 169, 106, 0.06);
    padding-left: 0.75rem;
    border-left: 3px solid var(--color-accent);
  }
}

/* Baked goods feature callout */
.menu-feature-callout {
  background: var(--color-surface);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin-bottom: 3rem;
  box-shadow: var(--shadow-sm);
}

.menu-feature-callout h3 {
  font-family: var(--font-heading);
  color: var(--color-text);
  margin-bottom: 1rem;
  font-size: 1.375rem;
}

.menu-feature-callout p {
  font-size: 1rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* Menu two-column layout for sides + specials */
.menu-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

/* Daily specials list in menu */
.specials-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.specials-list__item {
  padding-left: 1rem;
  border-left: 3px solid var(--color-accent);
  font-size: 0.95rem;
  color: var(--color-text-secondary);
}

.specials-list__item strong {
  color: var(--color-text);
  display: block;
  font-weight: 600;
}


/* --- ABOUT PAGE: Timeline --- */

.timeline {
  padding: 6rem 1.5rem;
  background: var(--color-bg);
}

.timeline__inner {
  max-width: var(--content-max-width);
  margin: 0 auto;
  position: relative;
}

.timeline__line {
  position: absolute;
  left: 1.5rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-border);
}

.timeline__milestone {
  position: relative;
  padding-left: 4.5rem;
  padding-bottom: 3rem;
}

.timeline__milestone:last-child {
  padding-bottom: 0;
}

.timeline__year {
  position: absolute;
  left: 0;
  top: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--color-primary-dark);
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  font-family: var(--font-body);
  z-index: 1;
  box-shadow: var(--shadow-sm);
}

.timeline__content {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.timeline__content h3 {
  font-family: var(--font-heading);
  color: var(--color-text);
  margin-bottom: 1rem;
}

.timeline__content p {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.timeline__photo {
  margin-top: 1.5rem;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.timeline__photo img {
  width: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

@media (hover: hover) {
  .timeline__photo:hover img {
    transform: scale(1.03);
  }
}


/* --- ABOUT PAGE: Community & Military --- */

.community-section {
  padding: 6rem 1.5rem;
  background: var(--color-bg);
}

.community-section__inner {
  max-width: var(--content-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

.community-section__content h2 {
  margin-bottom: 1.5rem;
}

.community-section__content p {
  color: var(--color-text-secondary);
  margin-bottom: 1.25rem;
}

.community-section__photos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.community-section__photo {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.community-section__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 0.4s ease;
}

@media (hover: hover) {
  .community-section__photo:hover img {
    transform: scale(1.03);
  }
}


/* --- ABOUT PAGE: Atmosphere --- */

.atmosphere-section {
  padding: 6rem 1.5rem;
  background: var(--color-surface);
}

.atmosphere-section__inner {
  max-width: var(--content-max-width);
  margin: 0 auto;
}

.atmosphere-section .section__header {
  text-align: center;
  margin-bottom: 3rem;
}

.atmosphere-section__photos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.atmosphere-photo {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.atmosphere-photo img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.atmosphere-photo__caption {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  text-align: center;
  margin-top: 0.5rem;
  font-style: italic;
}

@media (hover: hover) {
  .atmosphere-photo:hover img {
    transform: scale(1.03);
  }
}

.atmosphere-section__text {
  max-width: 700px;
  margin: 2rem auto 0;
  text-align: center;
}

.atmosphere-section__text p {
  color: var(--color-text-secondary);
  margin: 0 auto;
}


/* --- CONTACT PAGE: Contact Info + Map --- */

.contact-info-section {
  padding: 6rem 1.5rem;
  background: var(--color-bg);
}

.contact-info-section__inner {
  max-width: var(--content-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.contact-info-section .section__header {
  text-align: center;
  margin-bottom: 2rem;
}

.contact-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.contact-card__item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
  color: var(--color-text);
}

.contact-card__item a {
  color: var(--color-text);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.contact-card__item--phone a {
  color: var(--color-accent);
  font-size: 1.1rem;
  font-weight: 600;
}

@media (hover: hover) {
  .contact-card__item a:hover {
    color: var(--color-accent);
  }
}

/* Hours table */
.hours-table {
  width: 100%;
  margin-top: 1.5rem;
}

.hours-table__row {
  display: flex;
  justify-content: space-between;
  padding: 0.625rem 0.5rem;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--color-border);
}

.hours-table__row:nth-child(even) {
  background: rgba(var(--color-primary-rgb), 0.02);
}

.hours-table__day {
  color: var(--color-text);
  font-weight: 500;
}

.hours-table__time {
  color: var(--color-text-secondary);
}

.hours-table__note {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  margin-top: 1rem;
  font-style: italic;
}

/* Map embed */
.contact-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4/3;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}


/* --- CONTACT PAGE: Contact Form Section --- */

.contact-form-section {
  padding: 6rem 1.5rem;
  background: var(--color-surface);
}

.contact-form-section .section__header {
  text-align: center;
  margin-bottom: 2rem;
}

.contact-form-section .section__header p {
  margin: 0 auto;
}


/* --- BRIDGE CLASSES: Contact Page HTML → CSS --- */
/* Matches html-builder class names to css-architect patterns */

.contact-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
  color: var(--color-text);
}

.contact-detail a {
  color: var(--color-text);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.contact-detail .phone-link {
  color: var(--color-accent);
  font-size: 1.1rem;
  font-weight: 600;
}

.contact-hours h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  margin: 1.5rem 0 1rem;
  font-size: 1.25rem;
}

.contact-hours table {
  width: 100%;
}

.contact-hours table td {
  padding: 0.625rem 0.5rem;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--color-border);
}

.contact-hours table tr td:first-child {
  font-weight: 500;
  color: var(--color-text);
}

.contact-hours table tr td:last-child {
  text-align: right;
  color: var(--color-text-secondary);
}

.contact-hours > p {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  margin-top: 1rem;
  font-style: italic;
}

.map-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.map-container iframe {
  display: block;
  width: 100%;
  min-height: 350px;
}

@media (min-width: 768px) {
  .contact-split {
    grid-template-columns: 1fr 1fr;
  }
}

@media (hover: hover) {
  .contact-detail a:hover {
    color: var(--color-accent);
  }
}

/* --- BRIDGE CLASSES: Atmosphere figcaptions --- */
.atmosphere-photo figcaption {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  text-align: center;
  margin-top: 0.5rem;
  font-style: italic;
}

/* --- SECTION DIVIDERS --- */

.section-divider-wave {
  position: relative;
}

.section-divider-wave::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--color-surface);
  clip-path: ellipse(55% 100% at 50% 100%);
  z-index: 1;
}

.section-divider-wave--cream::after {
  background: var(--color-bg);
}


/* --- BACK TO TOP --- */

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-text-light);
  border: none;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base), transform var(--transition-base);
  z-index: 998;
  box-shadow: var(--shadow-sm);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

@media (hover: hover) {
  .back-to-top:hover {
    transform: translateY(-3px);
    background: var(--color-primary-light);
  }
}


/* --- STICKY MOBILE CTA --- */

.mobile-cta {
  display: none;
}


/* --- ANIMATIONS & TRANSITIONS --- */
/* Starting states for scroll animations — GSAP .to() animates to visible */

.fade-in,
.fade-up {
  opacity: 0;
  transform: translateY(40px);
}

.slide-from-left,
.slide-left {
  opacity: 0;
  transform: translateX(-60px);
}

.slide-from-right,
.slide-right {
  opacity: 0;
  transform: translateX(60px);
}

.scale-up {
  opacity: 0;
  transform: scale(0.85);
}

.stagger-in > *,
.stagger-list > *,
.stagger-grid > * {
  opacity: 0;
  transform: translateY(30px);
}

.clip-from-left {
  clip-path: inset(0 100% 0 0);
}

.clip-from-right {
  clip-path: inset(0 0 0 100%);
}

.clip-reveal {
  clip-path: inset(0 100% 0 0);
}

.split-heading {
  overflow: hidden;
}

/* Scroll indicator breathing keyframe */
@keyframes breathe {
  0%, 100% { opacity: 0.5; transform: translateX(-50%) translateY(0); }
  50% { opacity: 1; transform: translateX(-50%) translateY(4px); }
}


/* --- RESPONSIVE: TABLET (768px) --- */

@media (min-width: 768px) {
  /* Typography scale-up */
  h2 {
    margin-bottom: 2rem;
  }

  .section__subtitle {
    margin-bottom: 3rem;
  }

  /* Layout */
  .section {
    padding: 7rem 2.5rem;
  }

  .container {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }

  /* Hero */
  .hero__ctas {
    flex-direction: row;
    justify-content: center;
  }

  .hero__content {
    padding-bottom: 8rem;
  }

  /* Nav */
  .nav-cta {
    display: inline-flex;
  }

  /* Trust stats */
  .trust-stats {
    padding: 4rem 2.5rem 5rem;
  }

  .trust-stats__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
  }

  .trust-stat__number {
    font-size: 3rem;
  }

  /* Menu preview */
  .menu-preview {
    padding: 7rem 2.5rem;
  }

  .menu-preview__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Daily specials */
  .daily-specials {
    padding: 7rem 2.5rem;
  }

  .daily-specials__inner {
    grid-template-columns: 3fr 2fr;
  }

  /* Homemade story */
  .homemade-story {
    padding: 7rem 2.5rem;
  }

  .homemade-story__inner {
    grid-template-columns: 1fr 1fr;
  }

  .homemade-story__photos {
    min-height: 350px;
  }

  /* Reviews */
  .reviews-section {
    padding: 7rem 2.5rem;
  }

  .featured-reviews {
    grid-template-columns: repeat(3, 1fr);
  }

  /* CTA band */
  .cta-band {
    padding: 7rem 2.5rem;
  }

  .cta-band--solid {
    padding: 7rem 2.5rem;
  }

  .cta-band__buttons {
    flex-direction: row;
    justify-content: center;
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  /* Footer */
  .site-footer__main {
    grid-template-columns: repeat(2, 1fr);
    padding: 5rem 2.5rem;
  }

  /* Inner hero */
  .inner-hero__content {
    padding: 4rem 2.5rem;
  }

  /* Timeline */
  .timeline {
    padding: 7rem 2.5rem;
  }

  .timeline__line {
    left: 50%;
    transform: translateX(-1px);
  }

  .timeline__milestone {
    padding-left: 0;
    width: 50%;
  }

  .timeline__milestone:nth-child(odd) {
    padding-right: 3.5rem;
    text-align: right;
  }

  .timeline__milestone:nth-child(odd) .timeline__year {
    left: auto;
    right: -1.5rem;
  }

  .timeline__milestone:nth-child(even) {
    margin-left: 50%;
    padding-left: 3.5rem;
  }

  .timeline__milestone:nth-child(even) .timeline__year {
    left: -1.5rem;
  }

  /* Community */
  .community-section {
    padding: 7rem 2.5rem;
  }

  .community-section__inner {
    grid-template-columns: 1fr 1fr;
  }

  /* Atmosphere */
  .atmosphere-section {
    padding: 7rem 2.5rem;
  }

  .atmosphere-section__photos {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Contact info */
  .contact-info-section {
    padding: 7rem 2.5rem;
  }

  .contact-info-section__inner {
    grid-template-columns: 1fr 1fr;
  }

  /* Contact form */
  .contact-form-section {
    padding: 7rem 2.5rem;
  }

  /* Menu columns */
  .menu-columns {
    grid-template-columns: 1fr 1fr;
  }

  /* Menu nav full row */
  .menu-nav {
    padding: 0.75rem 2rem;
  }

  .menu-nav__inner {
    justify-content: center;
    flex-wrap: wrap;
  }
}


/* --- RESPONSIVE: DESKTOP (1024px) --- */

@media (min-width: 1024px) {
  /* Section padding at desktop scale */
  .section {
    padding: var(--section-padding-desktop);
  }

  /* Nav — full desktop */
  .nav-links {
    display: flex;
  }

  .nav-hamburger {
    display: none;
  }

  .nav-cta {
    display: inline-flex;
  }

  .site-nav {
    padding: 0 clamp(1.5rem, 4vw, 4rem);
  }

  /* Hero */
  .hero__heading {
    letter-spacing: 0;
  }

  .hero__content {
    padding-bottom: 10rem;
  }

  /* Menu preview */
  .menu-preview {
    padding: 8rem 4rem;
  }

  /* Daily specials */
  .daily-specials {
    padding: 8rem 4rem;
  }

  /* Homemade story */
  .homemade-story {
    padding: 8rem 4rem;
  }

  .homemade-story__photos {
    min-height: 450px;
  }

  /* Reviews */
  .reviews-section {
    padding: 8rem 4rem;
  }

  /* CTA band */
  .cta-band {
    padding: 8rem 4rem;
  }

  .cta-band--solid {
    padding: 7rem 4rem;
  }

  /* Footer — 4 columns */
  .site-footer__main {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    padding: 5rem 4rem;
  }

  /* Trust stats */
  .trust-stats {
    padding: 4rem 4rem 5rem;
  }

  .trust-stat__number {
    font-size: 3.5rem;
  }

  /* Timeline */
  .timeline {
    padding: 8rem 4rem;
  }

  /* Community */
  .community-section {
    padding: 8rem 4rem;
  }

  /* Atmosphere */
  .atmosphere-section {
    padding: 8rem 4rem;
  }

  /* Contact */
  .contact-info-section {
    padding: 8rem 4rem;
  }

  .contact-form-section {
    padding: 8rem 4rem;
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  /* Inner hero */
  .inner-hero__content {
    padding: 5rem 4rem;
  }

  /* Menu section */
  .menu-section {
    padding: 6rem 2rem;
  }

  /* Review card 3D tilt — desktop only */
  .review-card {
    transform-style: preserve-3d;
  }
}


/* --- RESPONSIVE: LARGE (1400px) --- */

@media (min-width: 1400px) {
  .container {
    max-width: 1400px;
    padding-left: 4rem;
    padding-right: 4rem;
  }

  /* Extra generous section padding */
  .section {
    padding: 10rem 4rem;
  }

  .menu-preview {
    padding: 10rem 4rem;
  }

  .daily-specials {
    padding: 10rem 4rem;
  }

  .homemade-story {
    padding: 10rem 4rem;
  }

  .reviews-section {
    padding: 10rem 4rem;
  }

  .cta-band {
    padding: 8rem 4rem;
  }

  .timeline {
    padding: 10rem 4rem;
  }

  .community-section {
    padding: 10rem 4rem;
  }

  .atmosphere-section {
    padding: 10rem 4rem;
  }

  .contact-info-section {
    padding: 10rem 4rem;
  }

  .contact-form-section {
    padding: 10rem 4rem;
  }

  /* Hero */
  .hero__heading {
    font-size: 5.5rem;
  }

  /* Trust stats */
  .trust-stat__number {
    font-size: 4rem;
  }

  /* Bigger card gaps */
  .menu-preview__grid {
    gap: 2.5rem;
  }

  .featured-reviews {
    gap: 2.5rem;
  }
}


/* --- MOBILE CTA — 767px and below --- */

@media (max-width: 767px) {
  .mobile-cta {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(58, 36, 25, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 12px 1.5rem;
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-top: 1px solid rgba(212, 169, 106, 0.2);
    opacity: 0;
    transform: translateY(100%);
    transition: opacity var(--transition-base), transform var(--transition-base);
  }

  .mobile-cta.visible {
    opacity: 1;
    transform: translateY(0);
  }

  .mobile-cta__btn {
    flex: 1;
    text-align: center;
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: background var(--transition-fast);
  }

  .mobile-cta__btn--primary {
    background: var(--color-accent);
    color: var(--color-text-light);
  }

  .mobile-cta__btn--secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-text-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
  }

  /* Adjust body padding so content isn't hidden behind fixed CTA */
  body {
    padding-bottom: 80px;
  }

  /* Back to top — adjust position above mobile CTA */
  .back-to-top {
    bottom: 5.5rem;
  }
}


/* --- REDUCED MOTION --- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .fade-in, .fade-up,
  .slide-from-left, .slide-left,
  .slide-from-right, .slide-right,
  .scale-up,
  .stagger-in > *, .stagger-list > *, .stagger-grid > *,
  .clip-from-left, .clip-from-right, .clip-reveal {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }

  .card:hover {
    transform: none;
  }

  .image-hover:hover img {
    transform: none;
  }

  .mobile-cta {
    position: static;
  }

  html {
    scroll-behavior: auto;
  }
}


/* --- PRINT --- */

@media print {
  .site-nav,
  .site-footer,
  .scroll-indicator,
  .back-to-top,
  .mobile-cta,
  .menu-nav {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
    padding-bottom: 0;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #666;
  }

  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }

  h2, h3 {
    page-break-after: avoid;
  }

  .hero, .inner-hero {
    min-height: auto;
    page-break-inside: avoid;
  }

  .hero__overlay,
  .inner-hero__overlay,
  .cta-band__overlay {
    display: none;
  }

  .section {
    padding: 2rem 1rem;
  }

  .cta-band {
    padding: 2rem 1rem;
  }

  .review-card,
  .card,
  .testimonial-card {
    box-shadow: none;
    border: 1px solid #ddd;
    page-break-inside: avoid;
  }

  .menu-item {
    border-bottom: 1px solid #ccc;
  }

  .menu-item__price {
    color: #000;
  }
}


/* ============================================
   BUILD REPORT — CSS Architect
   ============================================

   Missing Inputs:
   - No specific icon SVG definitions provided in D files for
     nav phone icon, footer icons, or scroll indicator chevron
     (assumed inline SVG or font icon usage by html-builder)
   - No specific review ticker transition spec beyond "fade" —
     used opacity transition with 0.5s timing per D3

   Assumptions Made:
   1. Used warm brown rgba(58,36,25,...) for hero overlay instead
      of pure black — matches D1's warm color philosophy
   2. Used 3-layer warm-tinted shadows (rgba(92,61,46,...)) from
      D3 custom properties throughout all card elements
   3. Hero heading weight capped at 700 per CLAUDE.md guidance
      (never 800/900 at display sizes) despite D1 specifying
      weight 800 for hero — readability wins at clamp(2.75rem,6vw,5.5rem)
   4. Set hero label to --color-secondary-light instead of --color-accent
      for better contrast over dark hero overlay (per CLAUDE.md hero
      label readability rule)
   5. Timeline year circles sized at 3rem diameter with 0.7rem font
      to fit 4-digit years without clipping
   6. Menu nav pill border-radius set to 100px (full pill shape)
   7. Mobile CTA uses warm brown tint matching nav instead of pure black
   8. Added explicit padding-bottom: 80px on body for mobile to prevent
      content being hidden behind sticky mobile CTA

   Self-Score: 8.5/10
   What would make this a 10:
   - Custom SVG wave divider shapes (currently using CSS clip-path)
   - CSS-only hamburger-to-X animation without relying on JS class toggle
   - More granular font-size scaling between 768-1024px breakpoint
   - Specific hover glow animation for phone numbers in CTA bands

   Upstream Suggestions:
   - D1 specifies hero heading weight 800 — should be 700 per CLAUDE.md
     rules about display-size font weights. Flag this discrepancy.
   - D2 could specify exact wave SVG path data for section dividers
     instead of leaving it to CSS approximation

   Downstream Notes:
   - html-builder: hero overlay uses warm brown tint (rgba(58,36,25,...))
     not black — matches D1 color philosophy
   - html-builder: menu items need .menu-item wrapper with .menu-item__name,
     .menu-item__leader (dotted connector), .menu-item__price
   - html-builder: NEVER put animation classes on sections with dark
     backgrounds — use inner wrappers only
   - html-builder: review cards use .review-card (not .testimonial-card)
     with .review-card__stars, .review-card__quote, .review-card__author
   - html-builder: menu nav pills use .menu-nav__pill with href="#category-id"
   - html-builder: trust stats section — animate .trust-stats__inner,
     never the .trust-stats wrapper
   - html-builder: CTA band with photo bg needs .cta-band__bg (img wrapper),
     .cta-band__overlay, .cta-band__inner structure
   - html-builder: timeline milestones alternate left/right at 768px+
     via nth-child CSS — just use sequential .timeline__milestone divs
   - html-builder: contact form MUST have class .contact-form on the
     <form> element for bare-element fallback styles to work
   - html-builder: mobile CTA starts hidden (opacity:0, translateY:100%)
     and needs .visible class added by JS after 200px scroll

   Total Lines: 1685
   Sections: 32 major blocks
   Media Queries: 7 (768, 1024, 1400, max-767, hover:hover, reduced-motion, print)
   Custom Properties: 35
   ============================================ */
