/* ============ TOKENS ============ */
:root {
  --color-bg: #e3e2de;
  --color-bg-alt: #ede9e4;
  --color-surface: #ffffff;
  --color-fg: #2b2b2b;
  --color-fg-muted: #5b5b58;
  --color-accent: #79a9cf;
  --color-accent-dark: #5c8bb3;
  --color-border: #d6d3cd;

  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 96px;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 28px;

  --shadow-sm: 0 2px 8px rgba(43,43,43,0.06);
  --shadow-md: 0 12px 32px rgba(43,43,43,0.10);

  --duration: 220ms;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-fg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3 { font-family: var(--font-heading); font-weight: 600; line-height: 1.15; margin: 0 0 var(--space-2); }
h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); font-weight: 600; }
h2 { font-size: clamp(1.9rem, 4vw, 2.75rem); }
.story-copy h2 { font-family: 'Archivo Black', sans-serif; font-weight: 400; letter-spacing: -0.01em; line-height: 1.2; }
h3 { font-size: 1.35rem; }
p { margin: 0 0 var(--space-2); color: var(--color-fg-muted); }

.section-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: var(--space-7) var(--space-3);
}

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
  font-weight: 600;
  margin-bottom: var(--space-1);
}
.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-lead { max-width: 560px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--color-fg); color: #fff; padding: 12px 20px; z-index: 1000; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform var(--duration) var(--ease), background var(--duration) var(--ease), color var(--duration) var(--ease), border-color var(--duration) var(--ease);
  min-height: 44px;
}
.btn-primary {
  background: var(--color-accent);
  color: #fff;
}
.btn-primary:hover { background: var(--color-accent-dark); transform: translateY(-2px); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.55);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.btn:focus-visible { outline: 3px solid var(--color-accent-dark); outline-offset: 2px; }

/* ============ HEADER ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background var(--duration) var(--ease), box-shadow var(--duration) var(--ease), padding var(--duration) var(--ease);
  padding: 18px 0;
}
.site-header.scrolled {
  background: rgba(227, 226, 222, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  padding: 10px 0;
}
.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--space-3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-logo { width: 42px; height: 42px; border-radius: 50%; transition: width var(--duration), height var(--duration); }
.site-header.scrolled .brand-logo { width: 36px; height: 36px; }
.brand-name {
  font-family: 'Archivo Black', sans-serif;
  font-weight: 400;
  line-height: 1.05;
  font-size: 0.95rem;
  color: var(--color-fg);
}
.hero .brand-name, .hero .brand { color: #fff; }
.site-header:not(.scrolled) .brand-name,
.site-header:not(.scrolled) .icon-link,
.site-header:not(.scrolled) .main-nav a,
.site-header:not(.scrolled) .nav-toggle span { color: #fff; }
.site-header:not(.scrolled) .nav-toggle span { background: #fff; }
.site-header.scrolled .nav-toggle span { background: var(--color-fg); }
.brand-name span { font-family: var(--font-body); font-weight: 500; opacity: 0.85; }

.main-nav {
  display: flex;
  gap: var(--space-4);
}
.main-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-fg);
  position: relative;
  padding: 4px 0;
  transition: color var(--duration) var(--ease);
}
.main-nav a::after {
  content: '';
  position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: var(--color-accent);
  transition: right var(--duration) var(--ease);
}
.main-nav a:hover::after { right: 0; }
.main-nav a:hover { color: var(--color-accent-dark); }

.nav-actions { display: flex; align-items: center; gap: var(--space-2); }
.icon-link { display: flex; padding: 6px; border-radius: 50%; transition: background var(--duration); color: var(--color-fg); }
.icon-link:hover { background: rgba(0,0,0,0.06); }
.nav-cta { padding: 10px 22px; font-size: 0.88rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--color-fg); margin: 0 auto; transition: transform var(--duration) var(--ease), opacity var(--duration) var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(320px, 82vw);
    height: 100vh;
    background: var(--color-fg);
    flex-direction: column;
    padding: 110px var(--space-4) var(--space-4);
    gap: var(--space-3);
    transform: translateX(100%);
    transition: transform var(--duration) var(--ease);
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { color: #fff !important; font-size: 1.1rem; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(43,43,43,0.55) 0%, rgba(43,43,43,0.35) 45%, rgba(43,43,43,0.75) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  padding: 140px var(--space-3) var(--space-7);
  text-align: center;
  color: #fff;
}
.hero-content h1 {
  color: #fff;
  font-family: 'Archivo Black', sans-serif;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.hero-sub { color: rgba(255,255,255,0.88); max-width: 540px; margin: 0 auto var(--space-4); font-size: 1.1rem; }
.hero .eyebrow { color: #cfe3f2; }
.hero-actions { display: flex; gap: var(--space-2); justify-content: center; flex-wrap: wrap; }

.scroll-cue {
  position: absolute;
  bottom: 110px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: #fff;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.5);
  animation: bob 2.2s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,8px); } }
@media (prefers-reduced-motion: reduce) { .scroll-cue { animation: none; } }

.hero-arch {
  position: absolute;
  bottom: -1px; left: 0;
  width: 100%; height: 70px;
  fill: var(--color-bg);
  z-index: 2;
}

/* ============ STORY ============ */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  align-items: center;
}
.story-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); aspect-ratio: 4/5; object-fit: cover; }
.story-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
}
.story-stats strong { display: block; font-family: 'Archivo Black', sans-serif; font-weight: 400; font-size: 1.4rem; color: var(--color-accent-dark); }
.story-stats span { font-size: 0.85rem; color: var(--color-fg-muted); }

@media (max-width: 860px) {
  .story-grid { grid-template-columns: 1fr; gap: var(--space-4); }
  .story-media { order: -1; }
}

/* ============ MENU ============ */
.menu { background: var(--color-surface); }
.menu h2 { font-family: 'Archivo Black', sans-serif; font-weight: 400; letter-spacing: -0.01em; }
.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-top: var(--space-5);
}
.menu-card {
  position: relative;
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  border: 1px solid var(--color-border);
  transition: transform 280ms var(--ease), box-shadow 280ms var(--ease), border-color 280ms var(--ease);
}
.menu-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
}
.menu-card:hover h3 { color: var(--color-accent); }
.menu-card h3 { margin-bottom: var(--space-3); color: var(--color-accent-dark); font-family: 'Archivo Black', sans-serif; font-weight: 400; letter-spacing: -0.01em; }
.menu-card h3.menu-subheading { margin-top: var(--space-5); padding-top: var(--space-4); border-top: 1px solid var(--color-border); }
.menu-card h3.menu-food-label { margin-top: var(--space-6); }
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list li {
  padding: 14px 0;
  border-bottom: 1px dashed var(--color-border);
}
.menu-list li:last-child { border-bottom: none; }
.menu-list li > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.menu-list .item-name { font-size: 1.02rem; font-weight: 600; }
.menu-list .price {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--color-accent-dark);
  white-space: nowrap;
}
.menu-list .item-desc {
  margin: 4px 0 0;
  font-size: 0.85rem;
  color: var(--color-fg-muted);
  line-height: 1.5;
}
.menu-sublist {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
}
.menu-sublist li {
  font-size: 0.85rem;
  color: var(--color-fg-muted);
  line-height: 1.6;
}
.menu-sublist li::before { content: '— '; }
.menu-addons {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  padding-left: 18px;
}
.menu-addons li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--color-fg-muted);
  padding: 3px 0;
  font-variant-numeric: tabular-nums;
}
.menu-addons li span:last-child { font-weight: 700; color: var(--color-fg); }
.menu-note { text-align: center; font-size: 0.85rem; margin-top: var(--space-4); color: var(--color-fg-muted); }

.menu-mobile-wrap { display: none; }
.menu-mobile-slider {
  display: flex;
  gap: var(--space-4);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.menu-mobile-slider::-webkit-scrollbar { display: none; }
.menu-mobile-slider .menu-card { flex: 0 0 100%; scroll-snap-align: start; }
.menu-mobile-wrap .menu-mobile-arrow-prev,
.menu-mobile-wrap .menu-mobile-arrow-next {
  top: 62px;
  transform: none;
  width: 30px;
  height: 30px;
}
.menu-mobile-wrap .menu-mobile-arrow-prev svg,
.menu-mobile-wrap .menu-mobile-arrow-next svg {
  width: 14px;
  height: 14px;
}
.menu-mobile-wrap .menu-mobile-arrow-prev { left: 8px; }
.menu-mobile-wrap .menu-mobile-arrow-next { right: 8px; }

@media (max-width: 700px) {
  .menu-grid { display: none; }
  .menu-mobile-wrap { display: block; position: relative; margin-top: var(--space-5); }
}

/* ============ GALLERY ============ */
.gallery h2 { font-family: 'Archivo Black', sans-serif; font-weight: 400; letter-spacing: -0.01em; }
.gallery-slider-wrap {
  position: relative;
  margin-top: var(--space-5);
}
.gallery-slider {
  display: flex;
  gap: var(--space-2);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.gallery-slider::-webkit-scrollbar { display: none; }
.gallery-slider figure {
  flex: 0 0 clamp(220px, 32vw, 340px);
  height: 420px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  scroll-snap-align: start;
}
.gallery-slider img { width: 100%; height: 100%; object-fit: cover; object-position: center center; transition: transform 400ms var(--ease); }
.gallery-slider img[src*="fireplace"] { object-position: center 68%; }
.gallery-slider figure:hover img { transform: scale(1.06); }

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--color-surface);
  color: var(--color-fg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: background var(--duration) var(--ease), transform var(--duration) var(--ease);
  touch-action: manipulation;
}
.gallery-arrow:hover { background: var(--color-accent); color: #fff; }
.gallery-arrow-prev { left: -8px; }
.gallery-arrow-next { right: -8px; }

@media (max-width: 860px) {
  .gallery-slider figure { flex-basis: 72vw; height: 320px; }
  .gallery-arrow-prev { left: 8px; }
  .gallery-arrow-next { right: 8px; }
}

/* ============ REVIEWS ============ */
.reviews { background: var(--color-surface); }
.reviews h2 { font-family: 'Archivo Black', sans-serif; font-weight: 400; letter-spacing: -0.01em; }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-5);
}
.review-card {
  position: relative;
  overflow: hidden;
  margin: 0;
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  border: 1px solid var(--color-border);
  transition: transform 280ms var(--ease), box-shadow 280ms var(--ease), border-color 280ms var(--ease);
}
.review-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 320ms var(--ease);
}
.review-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
}
.review-card:hover::before { transform: scaleX(1); }
.stars { color: #d69e2e; letter-spacing: 2px; margin-bottom: var(--space-1); font-size: 0.95rem; display: inline-block; transition: transform 280ms var(--ease); }
.review-card:hover .stars { transform: scale(1.1); }
.review-card p { color: var(--color-fg); font-style: italic; }
.review-card cite { font-style: normal; font-size: 0.85rem; color: var(--color-fg-muted); font-weight: 600; }

@media (max-width: 860px) {
  .reviews-grid { grid-template-columns: 1fr; }
}

/* ============ LOCATION ============ */
.location {
  position: relative;
  overflow: hidden;
  color: #fff;
}
.location-media { position: absolute; inset: 0; }
.location-media img { width: 100%; height: 100%; object-fit: cover; }
.location-media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(0,0,0,0.88) 35%, rgba(0,0,0,0.5) 100%);
}
.location .section-inner { position: relative; z-index: 1; }
.location-info h2 { font-family: 'Archivo Black', sans-serif; font-weight: 400; letter-spacing: -0.01em; color: #fff; }
.location .eyebrow { color: #bcd8ec; }
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--space-6);
  align-items: stretch;
}
.info-block {
  display: flex;
  gap: var(--space-2);
  align-items: flex-start;
  padding: var(--space-2) 0;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}
.info-block svg { flex-shrink: 0; color: #9dc3e0; margin-top: 2px; }
.info-block strong { display: block; color: #fff; }
.info-block span { color: rgba(255,255,255,0.75); font-size: 0.95rem; }
.info-block a { color: #9dc3e0; text-decoration: underline; text-underline-offset: 3px; }

.hours-table { width: 100%; }
.hours-table div { display: flex; justify-content: space-between; padding: 4px 0; font-size: 0.95rem; }
.hours-table span:first-child { color: #fff; font-weight: 500; }
.hours-table span:last-child { color: rgba(255,255,255,0.75); font-variant-numeric: tabular-nums; }
.hours-table .closed { color: #e08a87; }

.location .btn { margin-top: var(--space-3); }

.location-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 420px;
}
.location-map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

@media (max-width: 860px) {
  .location-grid { grid-template-columns: 1fr; }
  .location .btn { display: flex; width: fit-content; margin-left: auto; margin-right: auto; }
}

/* ============ FOOTER ============ */
.site-footer { background: var(--color-bg); color: rgba(43,43,43,0.75); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: var(--space-4);
  padding-top: var(--space-6);
  padding-bottom: var(--space-4);
}
.footer-brand { display: flex; gap: var(--space-2); }
.footer-logo { width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; }
.footer-brand p { color: rgba(43,43,43,0.65); font-size: 0.9rem; margin: 0; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a, .footer-contact a { color: rgba(43,43,43,0.75); font-size: 0.92rem; transition: color var(--duration); }
.footer-nav a:hover, .footer-contact a:hover { color: var(--color-fg); }
.footer-contact { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }

.footer-bottom {
  border-top: 1px solid rgba(43,43,43,0.15);
  padding: var(--space-3);
  text-align: center;
  font-size: 0.8rem;
  color: rgba(43,43,43,0.5);
}

@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; text-align: left; }
}

/* ============ SCROLL REVEAL ============ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Focus visibility across the board */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--color-accent-dark);
  outline-offset: 2px;
}
