/* Above-the-fold critical CSS for The Courtyard Restaurant */
:root {
  --c-red: #B82828;
  --c-red-dark: #8E1A1A;
  --c-ink: #1C1C1C;
  --c-paper: #FAF7F2;
  --c-cream: #F4EEE4;
  --c-line: #E6DFD2;
  --c-mute: #6B655C;
  --c-white: #FFFFFF;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --header-h: 110px;
  --shadow-md: 0 6px 24px rgba(28,28,28,0.08);
  --shadow-lg: 0 16px 48px rgba(28,28,28,0.14);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; background: var(--c-paper); }
body {
  font-family: var(--font-body);
  background: var(--c-paper);
  color: var(--c-ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
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: 0; background: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; color: var(--c-ink); }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,247,242,0.94);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--c-line);
  transition: box-shadow .25s ease, padding .25s ease;
}
.site-header.scrolled { box-shadow: 0 4px 18px rgba(28,28,28,0.07); }
.header-inner {
  max-width: 1280px; margin: 0 auto; padding: 14px 24px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
}
.nav { display: flex; gap: 22px; align-items: center; font-weight: 500; font-size: 0.95rem; letter-spacing: 0.02em; }
.nav-left { justify-content: flex-end; }
.nav-right { justify-content: flex-start; }
.nav-link { padding: 8px 4px; color: var(--c-ink); position: relative; transition: color .2s ease; }
.nav-link:hover { color: var(--c-red); }
.nav-link-emph { color: var(--c-red); font-weight: 700; }
.nav-link-call { background: var(--c-red); color: #fff; padding: 10px 16px; border-radius: 999px; font-weight: 600; }
.nav-link-call:hover { background: var(--c-red-dark); color: #fff; }
.nav-logo { display: inline-block; }
.nav-logo img { width: 220px; height: auto; transition: width .25s ease; }
.site-header.scrolled .nav-logo img { width: 160px; }
.menu-toggle { display: none; width: 44px; height: 44px; position: relative; }
.menu-toggle span { position: absolute; left: 9px; right: 9px; height: 2px; background: var(--c-ink); transition: transform .2s ease, opacity .2s ease; }
.menu-toggle span:nth-child(1) { top: 14px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 28px; }
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav { display: none; }
.overlay { display: none; }

.hero { position: relative; min-height: calc(96vh - var(--header-h)); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('/images/hero/courtyard-restaurant-storefront-old-saybrook.webp');
  background-size: cover; background-position: center;
  transform: scale(1.04);
}
.hero-shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 80% at 50% 30%, rgba(0,0,0,0) 0%, rgba(0,0,0,0.55) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.25), rgba(0,0,0,0.55));
}
.hero-content { position: relative; z-index: 2; text-align: center; color: #fff; padding: 48px 24px; max-width: 820px; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.22em; font-size: 0.78rem; opacity: 0.92; margin-bottom: 16px; }
.hero h1 {
  color: #fff; font-size: clamp(2.6rem, 6vw, 4.6rem);
  letter-spacing: -0.01em; margin-bottom: 18px;
  text-shadow: 0 4px 28px rgba(0,0,0,0.45);
}
.hero-tagline { font-size: clamp(1.05rem, 1.7vw, 1.25rem); margin-bottom: 28px; }
.hero-tagline strong { color: #fff; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 28px; font-weight: 600; font-size: 0.95rem; letter-spacing: 0.04em; text-transform: uppercase; border-radius: 999px; transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease; }
.btn-primary { background: var(--c-red); color: #fff; box-shadow: 0 8px 24px rgba(184,40,40,0.28); }
.btn-primary:hover { background: var(--c-red-dark); transform: translateY(-1px); }
.btn-ghost { background: rgba(255,255,255,0.12); color: #fff; border: 1.5px solid rgba(255,255,255,0.65); }
.btn-ghost:hover { background: #fff; color: var(--c-ink); }
.hero-pill { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; background: rgba(0,0,0,0.32); border: 1px solid rgba(255,255,255,0.2); font-size: 0.88rem; }
.hero-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #6BD175; box-shadow: 0 0 0 4px rgba(107,209,117,0.22); }

@media (max-width: 1023px) {
  .nav { display: none; }
  .menu-toggle { display: block; }
  .header-inner { grid-template-columns: 1fr auto 1fr; }
  .nav-logo img { width: 140px; }
  .site-header.scrolled .nav-logo img { width: 110px; }
  .menu-toggle { justify-self: end; }
  .nav-left, .nav-right { display: none; }
}
