/* ============================================================
   SPREAD BY SOLIDAY — brand system
   Olive & cream duotone, dot-grid paper texture, engraved serif
   display + typewriter body. Sampled from the printed menus.
   ============================================================ */

:root {
  --olive:       #989850;
  --olive-deep:  #6f6f38;
  --olive-ink:   #55552b;
  --olive-tint:  #eceadb;
  --cream:       #f5f3e8;
  --paper:       #fbfaf4;
  --ink:         #2e2d25;

  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-mono:    "Courier Prime", "Courier New", monospace;

  --dot: radial-gradient(rgba(152, 152, 80, 0.22) 1px, transparent 1.4px);
  --dot-size: 14px 14px;

  --maxw: 1120px;
  --radius: 6px;
  --shadow: 0 10px 30px rgba(46, 45, 37, 0.12);
}

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

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

body {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--cream);
  background-image: var(--dot);
  background-size: var(--dot-size);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--olive-deep); color: var(--cream);
  padding: 0.6rem 1rem; z-index: 100;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

a { color: var(--olive-deep); }
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--olive);
  outline-offset: 2px;
}

/* ---------- type helpers ---------- */
.section-eyebrow {
  font-family: var(--font-mono);
  text-transform: lowercase;
  letter-spacing: 0.14em;
  color: var(--olive-deep);
  margin: 0 0 0.25rem;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--olive-ink);
  margin: 0 0 1.2rem;
}
.center { text-align: center; }
.muted { color: rgba(46,45,37,0.62); }

.dotted-rule {
  width: 130px; height: 6px; margin: 0 0 1.4rem;
  background-image: radial-gradient(var(--olive) 2.1px, transparent 2.4px);
  background-size: 13px 6px;
  background-repeat: repeat-x;
  background-position: left center;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.82rem;
  text-decoration: none;
  padding: 0.9rem 1.6rem;
  border-radius: var(--radius);
  border: 2px solid var(--olive-deep);
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-solid { background: var(--olive-deep); color: var(--cream); }
.btn-solid:hover { background: var(--olive-ink); }
.btn-outline { background: transparent; color: var(--olive-ink); }
.btn-outline:hover { background: var(--olive-tint); }
.btn-wide { width: 100%; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 243, 232, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 2px solid var(--olive);
  transition: box-shadow 0.2s ease;
}
.site-header.scrolled { box-shadow: 0 4px 18px rgba(46,45,37,0.12); }

.header-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.55rem 1.25rem;
}
.header-brand {
  display: flex; align-items: center; gap: 0.65rem;
  text-decoration: none; color: var(--olive-ink);
}
.header-seal { width: 44px; height: 44px; }
.header-wordmark {
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.5rem;
  letter-spacing: 0.22em; text-transform: uppercase;
  line-height: 1;
  display: flex; flex-direction: column;
}
.header-sub {
  font-family: var(--font-mono);
  font-size: 0.58rem; font-weight: 400;
  letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--olive-deep); margin-top: 0.2rem;
}

.site-nav { display: flex; align-items: center; gap: 1.35rem; }
.site-nav a {
  font-family: var(--font-mono);
  font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; color: var(--ink);
  border-bottom: 2px solid transparent; padding-bottom: 2px;
}
.site-nav a:hover { border-bottom-color: var(--olive); color: var(--olive-ink); }
.nav-chip {
  font-size: 0.72rem; letter-spacing: 0.1em;
  background: var(--olive); color: var(--cream);
  border-radius: 999px; padding: 0.25rem 0.8rem;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; padding: 0.5rem; cursor: pointer;
}
.nav-toggle span {
  width: 26px; height: 3px; background: var(--olive-ink); border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero { overflow: hidden; }
.hero-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: 3rem; align-items: center;
  padding: 4.5rem 1.25rem 4rem;
}
.hero-eyebrow {
  font-size: 0.85rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--olive-deep); margin: 0 0 1rem;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.5rem, 11vw, 7.5rem);
  letter-spacing: 0.18em; text-transform: uppercase;
  line-height: 0.95; margin: 0;
  color: var(--olive-ink);
  border-top: 3px solid var(--olive);
  border-bottom: 3px solid var(--olive);
  padding: 1.1rem 0 0.9rem;
  display: inline-block;
}
.hero-byline {
  font-family: var(--font-mono);
  letter-spacing: 0.5em; text-transform: uppercase;
  font-size: 0.9rem; color: var(--olive-deep);
  margin: 0.7rem 0 1.6rem;
}
.hero-tagline {
  font-size: 1.06rem; max-width: 30rem; margin: 0 0 0.8rem;
}
.hero-hours {
  font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  font-size: 0.85rem; color: var(--olive-deep);
  margin: 0 0 1.8rem;
}
.hero-ctas { display: flex; gap: 0.9rem; flex-wrap: wrap; }

.hero-photo-wrap { position: relative; }
.hero-photo {
  margin: 0;
  border: 3px solid var(--olive);
  outline: 2px dashed var(--olive);
  outline-offset: 7px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
}
.hero-photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.hero-seal {
  position: absolute; width: clamp(110px, 14vw, 170px);
  right: -28px; bottom: -34px;
  filter: drop-shadow(0 8px 16px rgba(46,45,37,0.25));
  animation: seal-spin 40s linear infinite;
}
@keyframes seal-spin { to { transform: rotate(360deg); } }

/* ============================================================
   TICKER
   ============================================================ */
.ticker {
  background: var(--olive);
  color: var(--cream);
  overflow: hidden;
  border-top: 2px solid var(--olive-deep);
  border-bottom: 2px solid var(--olive-deep);
  padding: 0.55rem 0;
}
.ticker-track {
  display: flex; width: max-content;
  animation: ticker-scroll 30s linear infinite;
  font-family: var(--font-mono);
  font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  font-size: 0.85rem; white-space: nowrap;
}
@keyframes ticker-scroll { to { transform: translateX(-33.333%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

/* ============================================================
   ANNOUNCEMENT RIBBON (rendered by the build when enabled)
   ============================================================ */
.announce {
  background: var(--olive-tint);
  border-bottom: 2px dashed var(--olive);
  padding: 0.8rem 1.25rem;
  text-align: center;
}
.announce-inner {
  max-width: var(--maxw); margin: 0 auto;
  font-family: var(--font-mono);
  font-size: 0.95rem; letter-spacing: 0.04em;
  color: var(--olive-ink);
}
.announce-inner strong { color: var(--olive-deep); }
.announce-inner a { font-weight: 700; }

/* ============================================================
   SECTIONS / LAYOUT
   ============================================================ */
.section { padding: 5rem 0; }
.section-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }
.section-inner.narrow { max-width: 720px; }
.grid-2 {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3.5rem; align-items: center;
}
.grid-2 > *, .hero-inner > * { min-width: 0; }

.photo-card {
  margin: 0; border-radius: var(--radius); overflow: hidden;
  border: 3px solid var(--olive);
  box-shadow: var(--shadow);
  background: var(--paper);
}
.photo-card img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- about ---------- */
.about-photos { position: relative; }
.about-photos .photo-card:first-child { width: 82%; }
.photo-card-offset {
  width: 55%; margin-left: auto; margin-top: -22%;
  transform: rotate(-2deg);
  outline: 2px dashed var(--olive); outline-offset: 6px;
}
.about-note {
  font-style: italic;
  color: var(--olive-deep);
}

/* ============================================================
   MENU — modeled on the printed Saturday menus
   ============================================================ */
.menu-section { background: var(--olive-tint); }
.menu-lede { max-width: 44rem; margin: 0 auto 2.6rem; }

.menu-card {
  background: var(--paper);
  background-image: var(--dot);
  background-size: var(--dot-size);
  border: 3px solid var(--olive);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1rem, 3vw, 2rem);
  max-width: 880px; margin: 0 auto;
}
.menu-card-border {
  border: 2px dashed var(--olive);
  border-radius: 3px;
  padding: clamp(1.2rem, 4vw, 2.6rem);
}

.menu-group {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1.3rem;
  padding: 1.6rem 0;
}
.menu-group + .menu-group { border-top: 2px dotted var(--olive); }

.menu-group-label { margin: 0; display: flex; align-items: flex-start; }
.menu-group-label span {
  font-family: var(--font-mono);
  font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase;
  font-size: 0.95rem; color: var(--olive-deep);
  writing-mode: vertical-rl; transform: rotate(180deg);
  border-left: 2px solid var(--olive);
  padding-left: 0.55rem;
}

.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list li {
  display: flex; align-items: baseline; gap: 0.5rem;
  padding: 0.22rem 0;
  font-size: 0.98rem;
}
.menu-list .mi { letter-spacing: 0.04em; }
.menu-list em { font-style: italic; color: rgba(46,45,37,0.65); font-size: 0.9em; }
.menu-list .dots {
  flex: 1;
  border-bottom: 2px dotted rgba(152,152,80,0.55);
  transform: translateY(-4px);
  min-width: 2rem;
}
.menu-list .price { font-weight: 700; color: var(--olive-deep); }

.menu-list-2col {
  display: grid; grid-template-columns: 1fr 1fr; column-gap: 2rem;
}

.menu-note, .menu-price-banner {
  font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--olive-deep); margin: 0.8rem 0 0;
}
.menu-price-banner { font-weight: 700; font-size: 1.05rem; }

.menu-footnote {
  text-align: center; font-style: italic;
  border-top: 2px dotted var(--olive);
  padding-top: 1.5rem; margin: 0.5rem 0 0;
  color: rgba(46,45,37,0.7);
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery {
  columns: 3; column-gap: 1.1rem;
  margin-top: 2.4rem;
}
.g-item {
  margin: 0 0 1.1rem; break-inside: avoid;
  border-radius: var(--radius); overflow: hidden;
  border: 3px solid var(--olive);
  background: var(--paper);
  cursor: zoom-in;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.g-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.g-item img { width: 100%; }

/* ============================================================
   VISIT
   ============================================================ */
.visit-section { background: var(--olive); color: var(--cream); }
.visit-section .section-eyebrow { color: var(--cream); opacity: 0.85; }
.visit-section .section-title { color: var(--paper); }
.visit-section .dotted-rule {
  background-image: radial-gradient(var(--cream) 2.1px, transparent 2.4px);
}
.visit-section .muted { color: rgba(245,243,232,0.75); }

.visit-details { margin: 0 0 2rem; }
.visit-details > div { margin-bottom: 1.3rem; }
.visit-details dt {
  font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  font-size: 0.78rem; opacity: 0.85; margin-bottom: 0.15rem;
}
.visit-details dd { margin: 0; font-size: 1.02rem; }

.visit-section a { color: var(--paper); }
.visit-section .btn-solid {
  background: var(--cream); color: var(--olive-ink); border-color: var(--cream);
}
.visit-section .btn-solid:hover { background: var(--paper); }
.visit-section .btn-outline {
  color: var(--cream); border-color: var(--cream);
}
.visit-section .btn-outline:hover { background: var(--olive-deep); }
.visit-section .hero-ctas { display: flex; gap: 0.9rem; flex-wrap: wrap; }

.visit-photo { border-color: var(--cream); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-lede { margin-bottom: 2.4rem; }

.contact-form {
  background: var(--paper);
  border: 3px solid var(--olive);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.4rem, 4vw, 2.4rem);
}
.form-row { margin-bottom: 1.2rem; }
.form-row label {
  display: block;
  font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  font-size: 0.75rem; color: var(--olive-deep);
  margin-bottom: 0.35rem;
}
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  font-family: var(--font-mono); font-size: 1rem;
  color: var(--ink);
  background: var(--cream);
  border: 2px solid var(--olive);
  border-radius: 4px;
  padding: 0.7rem 0.8rem;
}
.form-row textarea { resize: vertical; }
.hidden-field { position: absolute; left: -9999px; }

.form-status { margin: 1rem 0 0; font-weight: 700; color: var(--olive-deep); min-height: 1.4em; }
.form-status.error { color: #8a3324; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--olive-ink); color: var(--cream);
  padding: 3.5rem 1.25rem 2.5rem;
  text-align: center;
}
.footer-inner { max-width: var(--maxw); margin: 0 auto; }
.footer-seal { margin: 0 auto 1rem; }
.footer-word {
  font-family: var(--font-display);
  font-size: 1.7rem; letter-spacing: 0.25em; text-transform: uppercase;
  margin: 0 0 0.4rem;
}
.footer-word span {
  display: block;
  font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.4em;
  margin-top: 0.3rem; opacity: 0.8;
}
.footer-line { margin: 0.8rem 0; font-size: 0.9rem; opacity: 0.85; }
.footer-links { margin: 1rem 0; }
.footer-links a { color: var(--cream); text-decoration-color: var(--olive); }
.footer-links span { margin: 0 0.6rem; opacity: 0.5; }
.footer-copy { font-size: 0.8rem; opacity: 0.6; margin-top: 1.6rem; }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(46, 45, 37, 0.92);
  display: flex; align-items: center; justify-content: center;
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: min(92vw, 1100px); max-height: 86vh;
  border: 3px solid var(--cream); border-radius: var(--radius);
}
.lightbox button {
  position: absolute;
  background: none; border: none; color: var(--cream);
  font-size: 2.6rem; line-height: 1; cursor: pointer;
  padding: 0.6rem 1rem;
}
.lb-close { top: 1rem; right: 1.2rem; }
.lb-prev { left: 0.6rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 0.6rem; top: 50%; transform: translateY(-50%); }

/* ============================================================
   REVEAL ON SCROLL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.6rem; padding-top: 3rem; }
  .hero-photo { transform: none; }
  .grid-2 { grid-template-columns: 1fr; gap: 2.4rem; }
  .gallery { columns: 2; }
}

@media (max-width: 680px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream);
    border-bottom: 2px solid var(--olive);
    flex-direction: column; align-items: flex-start;
    padding: 1rem 1.5rem 1.4rem; gap: 1rem;
    display: none;
  }
  .site-nav.open { display: flex; }
  .nav-chip { order: -1; }

  .menu-group { grid-template-columns: 1fr; gap: 0.6rem; }
  .menu-group-label span {
    writing-mode: horizontal-tb; transform: none;
    border-left: none; border-bottom: 2px solid var(--olive);
    padding: 0 0 0.3rem;
  }
  .menu-list-2col { grid-template-columns: 1fr; }

  .gallery { columns: 1; }
  .photo-card-offset { width: 70%; margin-top: -18%; }
  .hero-seal { right: -8px; bottom: -24px; }
}
