/*
Theme Name:  EM Tea Coffee Cup
Theme URI:   https://emteacoffeecup.com
Author:      Custom Development
Description: Pixel-perfect custom theme for EM Tea Coffee Cup Café, Buffalo NY. No page-builder. No slider plugin. Zero unnecessary dependencies.
Version:     1.0.0
Requires at least: 6.0
Tested up to:      6.7
Requires PHP:      8.0
License:     Proprietary
Text Domain: emtea
*/

/* ============================================================
   SELF-HOSTED FONT — Tabitha (Display / Decorative)
   @font-face is injected via wp_add_inline_style() in functions.php
   using an absolute URI so it works at any WordPress install path.
   Tabitha replaces Playfair Display for all display/heading use.
   Lato (Google Fonts) handles body, UI, and nav link text.
   ============================================================ */



/* ============================================================
   RESET & CSS CUSTOM PROPERTIES
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream:         #FAF6EF;
  --dark-brown:    #2C1A0E;
  --medium-brown:  #6B3A1F;
  --warm-amber:    #C47A2C;
  --amber-dark:    #A8641E;
  --light-tan:     #E8D5B7;
  --off-white:     #FDF9F4;
  --text-dark:     #1E120A;
  --text-mid:      #5A3820;
  --topbar-height: 38px;
  --nav-height:    80px;
  --header-total:  118px; /* topbar + nav combined — used for page offset */
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  background: var(--off-white);
  color: var(--text-dark);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }

/* ============================================================
   TYPOGRAPHY UTILITIES
   ============================================================ */
.section-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--warm-amber);
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Tabitha', serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 400;
  font-synthesis: none;
  color: var(--dark-brown);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-body {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-mid);
  margin-bottom: 18px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-block;
  background: var(--warm-amber);
  color: #FDF9F4;
  font-family: 'Lato', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 16px 38px;
  border: 2px solid transparent;
  cursor: pointer;
  border-radius: 2px;
  margin: 0 8px 8px 0;
  transition: background 0.25s, transform 0.15s;
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--amber-dark);
  color: #FDF9F4;
  transform: translateY(-1px);
  outline: none;
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--light-tan);
  font-family: 'Lato', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 14px 38px;
  border: 2px solid rgba(232,213,183,0.5);
  cursor: pointer;
  border-radius: 2px;
  margin: 0 8px 8px 0;
  transition: border-color 0.25s, background 0.25s;
}
.btn-outline:hover,
.btn-outline:focus-visible {
  border-color: var(--light-tan);
  background: rgba(232,213,183,0.1);
  color: var(--light-tan);
  outline: none;
}

/* ============================================================
   FIXED NAVIGATION
   ============================================================ */
#site-header {
  position: fixed;
  top: var(--topbar-height);
  left: 0; right: 0;
  z-index: 200;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  background: rgba(44, 26, 14, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(196,122,44,0.3);
}

/* ── Logo + Business Name ────────────────────────────────── */
.site-branding__link {
  display: none;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

/* When a custom logo image is uploaded via the Customizer */
.site-branding__link .custom-logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.custom-logo {
  height: 55px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

/* Default SVG cup mark (shown when no custom logo is uploaded) */
.site-logo-mark {
  display: block;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.site-branding__link:hover .site-logo-mark {
  transform: rotate(-6deg) scale(1.05);
}

/* Thin vertical divider between icon and name */
.site-branding__link::after {
  content: '';
  display: block;
  width: 1px;
  height: 28px;
  background: rgba(196,122,44,0.35);
  flex-shrink: 0;
}

/* Business name — Tabitha display font */
.site-title {
  font-family: 'Tabitha', serif;
  font-size: 22px;
  font-weight: 400;
  font-synthesis: none;
  color: var(--light-tan);
  letter-spacing: 0.4px;
  line-height: 1.1;
  white-space: nowrap;
}
.site-title .amber { color: var(--warm-amber); }

/* Primary nav menu (rendered by wp_nav_menu) */
#primary-navigation ul {
  display: flex;
  align-items: center;
  gap: 36px;
}
#primary-navigation li { position: relative; }
#primary-navigation a {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(232,213,183,0.8);
  transition: color 0.2s;
}
#primary-navigation a:hover,
#primary-navigation .current-menu-item > a,
#primary-navigation .current_page_item > a {
  color: var(--warm-amber);
}
/* "Order Online" menu item gets amber highlight */
#primary-navigation .menu-order-online > a,
#primary-navigation li:last-child > a {
  color: var(--warm-amber);
}

/* Hamburger toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: 1px solid rgba(232,213,183,0.35);
  border-radius: 2px;
  padding: 8px 10px;
  cursor: pointer;
  width: 42px;
  height: 38px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--light-tan);
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO SLIDER
   ============================================================ */
#hero-slider {
  position: relative;
  height: 62vh;
  min-height: 420px;
  max-height: 680px;
  overflow: hidden;
}

.emtea-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 1.2s ease;
  pointer-events: none;
}
.emtea-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.07);
  transition: transform 8s ease;
  will-change: transform;
}
.emtea-slide.is-active .slide-bg { transform: scale(1); }

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(44,26,14,0.80) 0%,
    rgba(44,26,14,0.28) 55%,
    rgba(44,26,14,0.62) 100%
  );
}

.slide-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 740px;
  width: 100%;
}

.slide-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--warm-amber);
  border: 1px solid var(--warm-amber);
  padding: 6px 18px;
  border-radius: 2px;
  margin-bottom: 16px;
}

.slide-title {
  font-family: 'Tabitha', serif;
  font-size: clamp(28px, 5vw, 56px);
  font-weight: 400;
  font-synthesis: none;
  color: #FDF9F4;
  line-height: 1.1;
  margin-bottom: 20px;
}
.slide-title em { font-style: italic; }

.slide-sub {
  font-size: 15px;
  font-weight: 300;
  color: rgba(232,213,183,0.92);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.slide-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
}

/* Slider arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(44,26,14,0.55);
  border: 1px solid rgba(196,122,44,0.4);
  color: var(--light-tan);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s;
}
.slider-arrow:hover { background: rgba(196,122,44,0.55); }
.arrow-prev { left: 24px; }
.arrow-next { right: 24px; }

/* Slider dots */
.slider-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}
.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(232,213,183,0.35);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.slider-dot.is-active {
  background: var(--warm-amber);
  transform: scale(1.4);
}

/* ============================================================
   DIVIDER STRIP
   ============================================================ */
.divider-strip {
  background: var(--dark-brown);
  padding: 15px 5%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.strip-item {
  font-size: 11px;
  font-family: 'Tabitha', serif!important;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(232,213,183,0.62);
  white-space: nowrap;
}
.strip-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--warm-amber);
  flex-shrink: 0;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section { padding: 100px 5%; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.about-visual { position: relative; }

.about-img-wrap {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  overflow: hidden;
}
.about-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--warm-amber);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 6px 28px rgba(196,122,44,0.4);
}
.about-badge__num {
  font-family: 'Tabitha', serif;
  font-size: 28px;
  font-weight: 400;
  font-synthesis: none;
  color: #FDF9F4;
  line-height: 1;
}
.about-badge__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(253,249,244,0.85);
  margin-top: 4px;
}

.about-quote {
  border-left: 3px solid var(--warm-amber);
  padding: 12px 20px;
  margin: 28px 0;
  background: rgba(196,122,44,0.07);
  border-radius: 0 4px 4px 0;
}
.about-quote p {
  font-family: 'Tabitha', serif;
  font-size: 16px;
  font-style: italic;
  color: var(--medium-brown);
  line-height: 1.65;
}

.about-press {
  font-size: 13px;
  color: #999;
  margin-top: 16px;
  line-height: 1.7;
}
.about-press strong { color: var(--text-mid); }

/* ============================================================
   MENU SECTION
   ============================================================ */
.menu-section {
  background: var(--dark-brown);
  padding: 100px 5%;
}
.menu-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.menu-section .section-label { color: var(--warm-amber); }
.menu-section .section-title { color: var(--light-tan); }

.menu-intro {
  color: rgba(232,213,183,0.6);
  font-size: 16px;
  margin: 8px 0 48px;
  max-width: 500px;
  line-height: 1.7;
}

/* Filter tabs */
.menu-tabs {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.tab-btn {
  font-family: 'Lato', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 10px 24px;
  background: transparent;
  color: rgba(232,213,183,0.5);
  border: 1px solid rgba(232,213,183,0.15);
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.tab-btn:hover,
.tab-btn.is-active {
  background: var(--warm-amber);
  color: #FDF9F4;
  border-color: var(--warm-amber);
}
.tab-btn[aria-selected="true"] {
  background: var(--warm-amber);
  color: #FDF9F4;
  border-color: var(--warm-amber);
}

/* Menu grid */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2px;
  transition: opacity 0.25s;
}
.menu-grid.is-loading { opacity: 0.4; pointer-events: none; }

.menu-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(232,213,183,0.08);
  padding: 28px 24px;
  transition: background 0.25s;
}
.menu-card:hover { background: rgba(255,255,255,0.09); }

.menu-card__name {
  font-family: 'Tabitha', serif;
  font-size: 20px;
  color: var(--light-tan);
  margin-bottom: 8px;
}
.menu-card__desc {
  font-size: 13px;
  color: rgba(232,213,183,0.55);
  line-height: 1.65;
}
.menu-card__tag {
  display: inline-block;
  margin-top: 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--warm-amber);
  border: 1px solid rgba(196,122,44,0.4);
  padding: 3px 10px;
  border-radius: 2px;
}

.menu-cta {
  margin-top: 52px;
  text-align: center;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section {
  padding: 100px 5%;
  background: var(--cream);
}
.testimonials-inner { max-width: 1100px; margin: 0 auto; }
.testimonials-header {
  text-align: center;
  max-width: 520px;
  margin: 0 auto 60px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: #fff;
  border: 1px solid rgba(196,122,44,0.15);
  border-radius: 4px;
  padding: 32px 28px;
}
.review-stars {
  color: var(--warm-amber);
  font-size: 15px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.review-text {
  font-family: 'Tabitha', serif;
  font-size: 17px;
  font-style: italic;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 20px;
}
.review-author {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--dark-brown);
}
.review-author__location {
  color: var(--warm-amber);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

/* ============================================================
   INFO STRIP
   ============================================================ */
.info-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--medium-brown);
}
.info-block {
  padding: 60px 40px;
  text-align: center;
  border-right: 1px solid rgba(232,213,183,0.12);
}
.info-block:last-child { border-right: none; }

.info-block__icon {
  font-size: 28px;
  margin-bottom: 16px;
  display: block;
}
.info-block__title {
  font-family: 'Tabitha', serif;
  font-size: 20px;
  color: var(--light-tan);
  margin-bottom: 12px;
}
.info-block__body {
  font-size: 14px;
  color: rgba(232,213,183,0.65);
  line-height: 1.85;
}
.info-block__body a { transition: opacity 0.2s; }
.info-block__body .link-light  { color: var(--light-tan); }
.info-block__body .link-amber  { color: var(--warm-amber); font-weight: 700; }
.info-block__body a:hover      { opacity: 0.75; }

/* ============================================================
   FOOTER
   ============================================================ */
#colophon {
  background: var(--dark-brown);
  padding: 64px 5% 28px;
  border-top: 1px solid rgba(196,122,44,0.2);
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto 48px;
}
.footer-brand__name {
  font-family: 'Tabitha', serif;
  font-size: 22px;
  font-weight: 400;
  font-synthesis: none;
  color: var(--light-tan);
  margin-bottom: 16px;
}
.footer-brand__desc {
  font-size: 14px;
  color: rgba(232,213,183,0.5);
  line-height: 1.8;
}
.footer-col__title {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--warm-amber);
  margin-bottom: 20px;
}
.footer-links li { margin-bottom: 12px; }
.footer-links a {
  font-size: 14px;
  color: rgba(232,213,183,0.6);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--light-tan); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(232,213,183,0.1);
}
.footer-bottom__copy { font-size: 13px; color: rgba(232,213,183,0.4); }
.footer-bottom__sub  { font-size: 13px; color: rgba(232,213,183,0.22); }

/* ============================================================
   SINGLE PAGE / BLOG
   ============================================================ */
.page-content-wrap {
  padding-top: var(--header-total);
  max-width: 820px;
  margin: 0 auto;
  padding-left: 5%;
  padding-right: 5%;
  padding-bottom: 100px;
}
.page-content-wrap h1 {
  font-family: 'Tabitha', serif;
  font-size: clamp(28px, 4vw, 48px);
  color: var(--dark-brown);
  line-height: 1.2;
  margin: 56px 0 24px;
}
.page-content-wrap .entry-content {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-mid);
}
.page-content-wrap .entry-content p  { margin-bottom: 1.4em; }
.page-content-wrap .entry-content h2 { font-family: 'Tabitha', serif; color: var(--dark-brown); margin: 1.8em 0 0.6em; }
.page-content-wrap .entry-content h3 { color: var(--dark-brown); margin: 1.4em 0 0.5em; }
.page-content-wrap .entry-content a  { color: var(--warm-amber); text-decoration: underline; }
.page-content-wrap .entry-content ul,
.page-content-wrap .entry-content ol { margin: 0 0 1.4em 1.4em; list-style: revert; }
.page-content-wrap .entry-content blockquote {
  border-left: 3px solid var(--warm-amber);
  padding: 12px 20px;
  margin: 1.6em 0;
  background: rgba(196,122,44,0.06);
  border-radius: 0 4px 4px 0;
  font-style: italic;
  color: var(--medium-brown);
}

/* ============================================================
   404 PAGE
   ============================================================ */
.error404-wrap {
  padding-top: var(--header-total);
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.error404-inner { max-width: 480px; padding: 5%; }
.error404-inner .section-title { font-size: clamp(32px, 5vw, 56px); }

/* ============================================================
   ARCHIVE / BLOG GRID
   ============================================================ */
.archive-wrap {
  padding-top: var(--header-total);
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 5%;
  padding-right: 5%;
  padding-bottom: 100px;
}
.archive-header {
  padding: 60px 0 48px;
  border-bottom: 1px solid rgba(196,122,44,0.15);
  margin-bottom: 48px;
}
.archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}
.archive-card {
  background: #fff;
  border: 1px solid rgba(196,122,44,0.12);
  border-radius: 4px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}
.archive-card__thumb {
  margin: -32px -28px 24px;
  height: 200px;
  overflow: hidden;
  border-radius: 4px 4px 0 0;
}
.archive-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.archive-card:hover .archive-card__thumb img { transform: scale(1.04); }
.archive-card__date {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--warm-amber);
  margin-bottom: 10px;
}
.archive-card__title {
  font-family: 'Tabitha', serif;
  font-size: 20px;
  color: var(--dark-brown);
  line-height: 1.3;
  margin-bottom: 12px;
  flex: 1;
}
.archive-card__title a { color: inherit; }
.archive-card__title a:hover { color: var(--warm-amber); }
.archive-card__excerpt {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 20px;
}
.archive-card__more {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--warm-amber);
  margin-top: auto;
}
.archive-card__more:hover { color: var(--amber-dark); }

.archive-pagination {
  margin-top: 60px;
  text-align: center;
}
.archive-pagination .nav-links {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}
.archive-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-mid);
  border: 1px solid rgba(196,122,44,0.2);
  transition: all 0.2s;
}
.archive-pagination .page-numbers.current,
.archive-pagination .page-numbers:hover {
  background: var(--warm-amber);
  color: #FDF9F4;
  border-color: var(--warm-amber);
}


/* ============================================================
   TABITHA FONT GLOBAL TUNING
   Tabitha is a decorative display face. Applied at these sizes
   it reads best with slightly looser tracking and generous
   line-height. font-weight: 400 is the only available weight
   — bold styling would trigger font synthesis which looks bad.
   ============================================================ */
[class*="section-title"],
.slide-title,
.site-title,
.footer-brand__name,
.about-badge__num,
.info-block__title,
.menu-card__name,
.review-text,
.about-quote p,
.archive-card__title {
  font-family: 'Tabitha', serif;
  font-weight: 400;           /* only weight available */
  font-synthesis: none;       /* never fake bold/italic */
}

/* Tabitha looks great in display sizes — increase the clamp max
   slightly because it's a lighter-weight display face */
.slide-title {
  font-size: clamp(32px, 6vw, 64px);
  letter-spacing: 0.5px;
  line-height: 1.15;
}

.section-title {
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: 0.3px;
  line-height: 1.25;
}

/* Site logo in nav */
.site-title {
  font-size: 26px;
  letter-spacing: 0.5px;
  font-weight: 400;
}

/* Footer brand name */
.footer-brand__name {
  font-size: 26px;
  letter-spacing: 0.5px;
}

/* ============================================================
   SKIP LINK (Accessibility)
   ============================================================ */
.skip-link {
  position: absolute;
  top: -100px;
  left: 5%;
  background: var(--warm-amber);
  color: #FDF9F4;
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 0 0 4px 4px;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ============================================================
   WORDPRESS ADMIN BAR COMPENSATION
   ============================================================ */
/* Admin bar pushes everything down */
.admin-bar #top-bar     { top: 32px; }
.admin-bar #site-header { top: calc(var(--topbar-height) + 32px); }
@media screen and (max-width: 782px) {
  .admin-bar #top-bar     { top: 46px; }
  .admin-bar #site-header { top: calc(var(--topbar-height) + 46px); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .about-grid       { gap: 48px; }
  .footer-inner     { grid-template-columns: 1fr 1fr; }
  .footer-brand-col { grid-column: 1 / -1; }
}

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

  #primary-navigation {
    display: none;
    position: absolute;
    top: var(--nav-height);  /* relative to #site-header which is already below topbar */
    left: 0; right: 0;
    background: rgba(44,26,14,0.98);
    padding: 8px 0 20px;
    border-top: 1px solid rgba(196,122,44,0.2);
  }
  #primary-navigation.is-open { display: block; }
  #primary-navigation ul { flex-direction: column; gap: 0; }
  #primary-navigation li { border-bottom: 1px solid rgba(232,213,183,0.07); }
  #primary-navigation a { display: block; padding: 14px 0; font-size: 13px; }

  .admin-bar #primary-navigation { top: var(--nav-height); } /* site-header already offset */

  .about-grid       { grid-template-columns: 1fr; gap: 60px; }
  .about-badge      { right: 8px; }
  .reviews-grid     { grid-template-columns: 1fr; }
  .info-strip       { grid-template-columns: 1fr; }
  .info-block       { border-right: none; border-bottom: 1px solid rgba(232,213,183,0.1); }
  .footer-inner     { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom    { flex-direction: column; text-align: center; }
  .slider-arrow     { width: 40px; height: 40px; font-size: 16px; }
  .arrow-prev       { left: 12px; }
  .arrow-next       { right: 12px; }

  /* Shrink business name in nav so everything fits on mobile */
  .site-title       { font-size: 16px; letter-spacing: 0.2px; }
  .site-branding__link { gap: 8px; }
  .site-branding__link::after { height: 22px; }
  .site-logo-mark   { width: 32px; height: 32px; }
}

@media (max-width: 480px) {
  .about-section,
  .menu-section,
  .testimonials-section { padding: 70px 5%; }
  .btn-primary,
  .btn-outline { display: block; text-align: center; margin: 0 0 12px; }
  .slide-cta   { flex-direction: column; align-items: center; }

  /* At very small screens hide the wordmark — logo icon + delivery logos still show */
  .site-title           { display: none; }
  .site-branding__link::after { display: none; }
}

/* ============================================================
   DELIVERY SECTION — DoorDash · Uber Eats · Direct
   ============================================================ */
.delivery-section {
  background: var(--dark-brown);
  padding: 100px 5%;
}
.delivery-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.delivery-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 56px;
}
.delivery-title { color: var(--light-tan); }
.delivery-section .section-label { color: var(--warm-amber); }
.delivery-intro {
  color: rgba(232,213,183,0.65);
  font-size: 16px;
  line-height: 1.7;
  margin-top: 8px;
}

/* Card grid */
.delivery-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Individual card */
.delivery-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: #fff;
  border-radius: 8px;
  padding: 32px 28px;
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
}
.delivery-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  border-radius: 8px 8px 0 0;
  transition: height 0.2s;
}
.delivery-card--doordash::before  { background: #FF3008; }
.delivery-card--ubereats::before  { background: #06C167; }
.delivery-card--direct::before    { background: var(--warm-amber); }

.delivery-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.25);
}
.delivery-card--doordash:hover  { border-color: #FF3008; }
.delivery-card--ubereats:hover  { border-color: #06C167; }
.delivery-card--direct:hover    { border-color: var(--warm-amber); }

/* Logo SVG container */
.delivery-card__logo {
  display: flex;
  align-items: center;
}
.delivery-card__logo svg {
  width: 100%;
  max-width: 200px;
  height: 48px;
}

/* Body text */
.delivery-card__body { flex: 1; }
.delivery-card__tagline {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark-brown);
  margin-bottom: 4px;
}
.delivery-card__sub {
  font-size: 13px;
  color: var(--text-mid);
  opacity: 0.75;
  line-height: 1.5;
}

/* CTA button strip at bottom of card */
.delivery-btn {
  display: inline-block;
  font-family: 'Lato', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 12px 20px;
  border-radius: 4px;
  transition: opacity 0.2s;
  width: 100%;
  text-align: center;
}
.delivery-btn--doordash {
  background: #FF3008;
  color: #fff;
}
.delivery-btn--ubereats {
  background: #06C167;
  color: #fff;
}
.delivery-btn--direct {
  background: var(--warm-amber);
  color: #FDF9F4;
}
.delivery-card:hover .delivery-btn { opacity: 0.88; }

/* Focus styles for accessibility */
.delivery-card:focus-visible {
  outline: 3px solid var(--warm-amber);
  outline-offset: 2px;
}

/* Responsive */
@media (max-width: 900px) {
  .delivery-cards { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
}
@media (max-width: 480px) {
  .delivery-section { padding: 70px 5%; }
}


/* ============================================================
   MENU PAGE — dedicated full-page menu template
   ============================================================ */
.menu-page-hero {
  background: var(--dark-brown);
  padding: calc(var(--header-total) + 24px) 5% 52px;
  text-align: center;
  border-bottom: 1px solid rgba(196,122,44,0.2);
}
.menu-page-hero .section-label { color: var(--warm-amber); }
.menu-page-hero .section-title { color: var(--light-tan); margin-bottom: 12px; }
.menu-page-hero__sub {
  color: rgba(232,213,183,0.6);
  font-size: 16px;
  line-height: 1.7;
  max-width: 500px;
  margin: 0 auto 36px;
}

/* Order links on menu page hero */
.menu-page-hero__order {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.menu-hero-order-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 22px;
  border-radius: 5px;
  font-family: 'Lato', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.18s, opacity 0.18s;
  border: 2px solid transparent;
}
.menu-hero-order-btn:hover { transform: translateY(-2px); opacity: 0.9; }
.menu-hero-order-btn--doordash {
  background: #FF3008;
  color: #fff;
  border-color: #FF3008;
}
.menu-hero-order-btn--ubereats {
  background: #000;
  color: #fff;
  border-color: #222;
}
.menu-hero-order-btn--ubereats .btn-eats { color: #06C167; }
.menu-hero-order-btn--direct {
  background: transparent;
  color: var(--light-tan);
  border-color: rgba(232,213,183,0.4);
}
.menu-hero-order-btn--direct:hover { border-color: var(--light-tan); }

/* SVGs inside order buttons — white/coloured versions */
.menu-hero-order-btn .svg-doordash { height: 18px; }
.menu-hero-order-btn .svg-ubereats { height: 18px; }

/* Menu page body section reuses .menu-section styles — just override bg/padding */
.menu-page-body {
  background: var(--dark-brown);
  padding: 60px 5% 100px;
}
.menu-page-body .menu-inner { max-width: 1100px; margin: 0 auto; }



/* ============================================================
   DELIVERY CARD — logo dark bg for Uber Eats card
   ============================================================ */
.delivery-card__logo {
  padding: 12px 16px;
  border-radius: 6px;
  background: #f5f5f5;
  display: inline-flex;
  align-items: center;
}
.delivery-card__logo--dark {
  background: #1a1a1a;
}

/* Large context SVGs inside cards */
.svg-doordash--large,
.svg-ubereats--large,
.svg-direct {
  height: 34px;
  width: auto;
  display: block;
}

/* ============================================================
   MENU PAGE — order button icon sizing
   ============================================================ */
.menu-btn-icon {
  display: block;
  flex-shrink: 0;
}
.menu-hero-order-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* ============================================================
   TOP BAR — Hours · Phone · DoorDash · Uber Eats
   Fixed above the main nav bar. Dark background, compact.
   ============================================================ */
#top-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 201; /* one above #site-header */
  height: var(--topbar-height);
  background: #1A0E06; /* deeper brown — distinct from nav */
  border-bottom: 1px solid rgba(196,122,44,0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  gap: 16px;
}

/* Left group: hours + phone */
.top-bar__left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.top-bar__item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Lato', sans-serif;
  font-size: 11px;
  font-weight: 400;
  color: rgba(232,213,183,0.7);
  white-space: nowrap;
  letter-spacing: 0.3px;
}
.top-bar__item strong {
  font-weight: 700;
  color: rgba(232,213,183,0.92);
}
.top-bar__item svg {
  flex-shrink: 0;
  opacity: 0.7;
}

/* Phone link */
.top-bar__phone {
  color: rgba(232,213,183,0.7);
  text-decoration: none;
  transition: color 0.2s;
}
.top-bar__phone:hover { color: var(--warm-amber); }

/* Divider dot */
.top-bar__sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(196,122,44,0.4);
  flex-shrink: 0;
}

/* Right group: CTA links */
.top-bar__right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

/* Shared top bar CTA pill */
.top-bar__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 3px;
  font-family: 'Lato', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
  white-space: nowrap;
  line-height: 1;
}
.top-bar__cta:hover { opacity: 0.85; transform: translateY(-1px); }

/* "Call Today" pill — amber */
.top-bar__cta--call {
  background: var(--warm-amber);
  color: #FDF9F4;
}

/* DoorDash pill — brand red */
.top-bar__cta--doordash {
  background: #FF3008;
  color: #fff;
}

/* Uber Eats pill — brand green */
.top-bar__cta--ubereats {
  background: #06C167;
  color: #fff;
}

/* Mini inline SVG logos inside CTAs */
.top-bar__cta svg {
  display: block;
  flex-shrink: 0;
}

/* ── Responsive ───────────────────────────────────────────── */

/* At 900px: hide hours text, keep phone + CTAs */
@media (max-width: 900px) {
  .top-bar__hours { display: none; }
}

/* At 640px: collapse left to phone only, shorten CTA labels */
@media (max-width: 640px) {
  .top-bar__left { gap: 8px; }
  .top-bar__cta--call .cta-label { display: none; }
  .top-bar__cta { padding: 4px 8px; letter-spacing: 0; }
}

/* At 480px: hide top bar entirely — hamburger + delivery logos in main nav carry the load */
@media (max-width: 480px) {
  #top-bar { display: flex; }
  :root {
    --header-total: var(--nav-height);
  }
  #site-header {  }
}
