:root {
  --bg: #fdfaf7;
  --bg-offset: #fbf6eb;
  --surface: #ffffff;
  --surface-hover: #fcf9f2;
  --border: rgba(43, 29, 25, 0.12);
  --border-focus: #db2777;
  --text: #2c1e19;
  --text-muted: #75625c;
  --primary: #db2777;
  --primary-hover: #be185d;
  --accent: #4a5c43;
  --shadow: 0 16px 36px rgba(44, 30, 26, 0.05);
  --radius: 12px;
  --max-width: 1100px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

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

:focus-visible {
  outline: 3px solid var(--border-focus);
  outline-offset: 4px;
}

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link:focus {
  z-index: 1000;
  top: 1.5rem;
  left: 1.5rem;
  width: auto;
  height: auto;
  clip: auto;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius);
  background: var(--bg-offset);
  color: var(--primary);
  border: 1px solid var(--primary);
}

/* Header styling */
.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem clamp(1.1rem, 4vw, 2.5rem);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 300ms var(--ease), border-color 300ms var(--ease), backdrop-filter 300ms var(--ease);
}

.site-header.is-scrolled,
.site-header.nav-active {
  background: rgba(253, 250, 245, 0.94);
  border-bottom-color: var(--border);
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 48px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 2px solid var(--primary);
  border-radius: 8px;
  color: var(--primary);
  font-family: Georgia, serif;
  font-size: 1.3rem;
  font-weight: 700;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.brand small {
  color: var(--text-muted);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.site-nav a {
  min-height: 44px;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 200ms var(--ease), background 200ms var(--ease);
}

.site-nav a:hover {
  color: var(--primary);
  background: rgba(255, 255, 255, 0.05);
}

.nav-call {
  background: var(--primary) !important;
  color: #fff !important;
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease) !important;
}

.nav-call:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.2);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  place-items: center;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  border-radius: 999px;
  background: currentColor;
  content: "";
  transition: transform 200ms var(--ease);
}

.nav-toggle-bars::before {
  transform: translateY(-5px);
}

.nav-toggle-bars::after {
  transform: translateY(3px);
}

.site-header.nav-active .nav-toggle-bars {
  background: transparent;
}

.site-header.nav-active .nav-toggle-bars::before {
  transform: rotate(45deg);
}

.site-header.nav-active .nav-toggle-bars::after {
  transform: rotate(-45deg);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 90dvh;
  display: grid;
  align-items: center;
  padding: 8rem clamp(1rem, 4vw, 3rem) clamp(2.5rem, 6vw, 5rem);
  overflow: hidden;
}

.hero-media,
.hero-media img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5) sepia(0.05);
}

.hero-overlay {
  background: 
    radial-gradient(circle at 80% 25%, rgba(74, 92, 67, 0.2), transparent 45%),
    linear-gradient(90deg, rgba(44, 30, 26, 0.95) 0%, rgba(44, 30, 26, 0.72) 42%, rgba(44, 30, 26, 0.15) 100%),
    linear-gradient(0deg, rgba(44, 30, 26, 0.9) 0%, rgba(44, 30, 26, 0.1) 40%)
    ;
}

.hero-content {
  position: relative;
  width: min(780px, 100%);
  z-index: 10;
  color: #fff;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.4rem, 6.5vw, 4.8rem);
  color: #fff;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  color: var(--text);
}

h3 {
  margin: 0 0 0.8rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
}

.hero-copy {
  max-width: 580px;
  margin: 1.35rem 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  line-height: 1.5;
}

.hero-actions,
.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 180ms var(--ease), background 180ms var(--ease), border-color 180ms var(--ease), box-shadow 180ms var(--ease);
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--primary);
  color: #fff;
}

.button.primary:hover {
  background: var(--primary-hover);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  backdrop-filter: blur(8px);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.16);
}

.button.dark {
  background: var(--primary);
  color: #fff;
}

.button.dark:hover {
  background: var(--primary-hover);
}

.proof-strip {
  max-width: 640px;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.proof-strip span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.proof-strip strong {
  color: #fff;
  font-weight: 700;
}

/* Sections Base */
.intro-section,
.services-section,
.hours-section,
.research-section,
.cta-section {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(4.5rem, 8vw, 7.5rem) 0;
}

/* Intro Grid */
.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.intro-grid p,
.section-heading p {
  margin: 0;
  color: var(--text-muted);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.6;
}

/* Services Section */
.section-heading {
  max-width: 760px;
  margin-bottom: clamp(2rem, 5vw, 4.2rem);
}

.section-heading.compact {
  max-width: 640px;
}

.section-heading h2 {
  margin-bottom: 1.2rem;
}

.service-grid,
.research-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.service-card,
.research-grid article,
.process-panel,
.menu-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform 250ms var(--ease), border-color 250ms var(--ease);
}

.service-card {
  min-height: 300px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.service-card:hover,
.research-grid article:hover,
.menu-item:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
}

.service-card.featured {
  background: var(--bg-offset);
  border-color: rgba(245, 158, 11, 0.25);
}

.service-card p,
.research-grid p,
.step p,
.site-footer p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.service-number {
  margin-bottom: auto;
  color: var(--primary);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}

/* Hours & Location */
.hours-content {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 1.5rem;
  align-items: stretch;
}

.process-panel {
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--bg-offset);
}

.steps {
  display: grid;
  gap: 1.6rem;
  margin-top: 2rem;
}

.step {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.step span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 6px;
  background: rgba(245, 158, 11, 0.08);
  color: var(--primary);
  font-weight: 800;
  font-size: 1.05rem;
}

/* Contact Card */
.contact-card {
  border-radius: var(--radius);
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #2b1d19;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow);
}

.contact-card-content {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-kicker {
  margin: 0;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.phone-link {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3.2vw, 2.25rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  transition: color 200ms var(--ease);
}

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

.address-text {
  color: rgba(255, 255, 255, 0.76);
  font-size: 1rem;
  line-height: 1.45;
}

.hours-block {
  display: grid;
  gap: 0.35rem;
  padding: 1.1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hours-block strong {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.hours-block span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
}

.text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  color: var(--primary);
  transition: transform 200ms var(--ease);
}

.text-link:hover {
  transform: translateX(4px);
}

/* Research Section */
.research-section {
  border-top: 1px solid var(--border);
}

.research-grid article {
  padding: 1.8rem;
}

.research-grid h3 {
  color: var(--primary);
}

/* CTA */
.cta-section {
  text-align: center;
  padding-top: 0;
}

.cta-section h2 {
  width: min(800px, 100%);
  margin: 0 auto 1.8rem;
}

/* Footer */
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.5rem clamp(1rem, 3vw, 2.5rem);
  border-top: 1px solid var(--border);
  background: var(--bg-offset);
  font-size: 0.9rem;
}

.site-footer p {
  max-width: 580px;
}

/* Interactive Menu Tabs (Special Pizzeria & Bakery) */
.menu-tabs-container {
  margin-top: 2rem;
}

.menu-tabs {
  display: flex;
  gap: 0.5rem;
  border-bottom: 2px solid var(--border);
  padding-bottom: 2px;
  margin-bottom: 2.2rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.menu-tab {
  min-height: 44px;
  padding: 0.6rem 1.4rem;
  border: none;
  background: transparent;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -4px;
  transition: color 200ms var(--ease), border-color 200ms var(--ease);
}

.menu-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.menu-pane {
  display: none;
}

.menu-pane.active {
  display: block;
}

.menu-item {
  padding: 1.8rem;
  border-top: 4px solid var(--primary);
}

/* Responsive */
@media (max-width: 960px) {
  .service-grid,
  .research-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .site-nav {
    position: fixed;
    top: 76px;
    left: 1rem;
    right: 1rem;
    display: grid;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--surface);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 220ms var(--ease), transform 220ms var(--ease);
  }

  .site-header.nav-active .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    border-radius: 8px;
    padding: 0.8rem 1.1rem;
  }

  .nav-call {
    margin-top: 0.35rem;
    text-align: center;
  }

  .intro-grid,
  .hours-content,
  .service-grid,
  .research-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 82dvh;
  }

  .site-footer {
    flex-direction: column;
    gap: 1.25rem;
  }
}

@media (max-width: 520px) {
  .brand small {
    display: none;
  }

  .hero {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  h1 {
    font-size: clamp(2.2rem, 14vw, 3.4rem);
  }

  .button,
  .hero-actions a {
    width: 100%;
  }

  .phone-link {
    font-size: 1.65rem;
  }
}

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