@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@400;500;600;700&family=Syne:wght@600;700;800&display=swap');

:root {
  --walnut: #241912;
  --plank: #3a2c22;
  --elm: #4f6b52;
  --elm-deep: #3a5240;
  --wheat: #b89a62;
  --wheat-soft: #d4c4a0;
  --flour: #e6e1d8;
  --linen: #f0ebe3;
  --soot: #14110e;
  --mist: #6e645a;
  --line: rgba(36, 25, 18, 0.14);
  --veil: rgba(20, 17, 14, 0.55);
  --font-brand: 'Syne', sans-serif;
  --font-body: 'Figtree', sans-serif;
  --max: 1100px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--soot);
  background:
    radial-gradient(ellipse 80% 50% at 0% 0%, rgba(79, 107, 82, 0.09), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 20%, rgba(184, 154, 98, 0.12), transparent 50%),
    linear-gradient(165deg, #ebe6dc 0%, var(--flour) 45%, #ddd6cb 100%);
  line-height: 1.65;
  min-height: 100vh;
}

img { max-width: 100%; display: block; height: auto; }
a { color: var(--elm-deep); text-underline-offset: 0.18em; }
a:hover { color: var(--walnut); }

h1, h2, h3 {
  font-family: var(--font-brand);
  font-weight: 700;
  line-height: 1.12;
  color: var(--walnut);
  margin: 0 0 0.65rem;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.1rem); }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; }
p { margin: 0 0 1rem; }
.lead { font-size: 1.1rem; color: var(--mist); max-width: 38rem; }
.eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--elm);
  margin-bottom: 0.7rem;
}

.wrap { width: min(100% - 2.2rem, var(--max)); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(240, 235, 227, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}
.logo {
  font-family: var(--font-brand);
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--walnut);
  text-decoration: none;
  line-height: 1.1;
}
.logo span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mist);
  margin-top: 0.2rem;
}
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-desktop a {
  text-decoration: none;
  color: var(--plank);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav-desktop a:hover,
.nav-desktop a.active { color: var(--elm-deep); }
.phone-link {
  font-weight: 600 !important;
  color: var(--elm) !important;
  white-space: nowrap;
}
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--linen);
  cursor: pointer;
  padding: 0;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--walnut);
  margin-inline: auto;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  background: var(--linen);
  border-top: 1px solid var(--line);
  padding: 0.5rem 0 1.2rem;
}
.nav-mobile.open { display: block; }
.nav-mobile ul {
  list-style: none;
  margin: 0;
  padding: 0;
  width: min(100% - 2.2rem, var(--max));
  margin-inline: auto;
}
.nav-mobile a {
  display: block;
  padding: 0.85rem 0;
  text-decoration: none;
  color: var(--walnut);
  font-weight: 600;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-brand);
}

/* Hero — full bleed, brand first */
.hero {
  position: relative;
  min-height: min(92vh, 780px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--linen);
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: heroDrift 18s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  from { transform: scale(1.05) translateY(0); }
  to { transform: scale(1.12) translateY(-1.5%); }
}
.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 17, 14, 0.25) 0%, rgba(20, 17, 14, 0.72) 100%),
    linear-gradient(90deg, rgba(36, 25, 18, 0.45) 0%, transparent 55%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 4.5rem 0 3.8rem;
  max-width: 34rem;
}
.brand-mark {
  font-family: var(--font-brand);
  font-size: clamp(2.8rem, 7vw, 4.6rem);
  font-weight: 800;
  line-height: 0.95;
  margin: 0 0 1rem;
  color: #fff;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.35);
  animation: riseIn 0.9s var(--ease) both;
}
.hero h1 {
  color: var(--wheat-soft);
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  font-weight: 600;
  margin-bottom: 0.85rem;
  animation: riseIn 0.9s var(--ease) 0.12s both;
}
.hero-sub {
  color: rgba(240, 235, 227, 0.88);
  font-size: 1.05rem;
  max-width: 28rem;
  margin-bottom: 1.6rem;
  animation: riseIn 0.9s var(--ease) 0.22s both;
}
@keyframes riseIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s, border-color 0.25s, transform 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--elm);
  color: #fff;
}
.btn-primary:hover { background: var(--elm-deep); color: #fff; }
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.btn-wood {
  background: var(--plank);
  color: var(--linen);
}
.btn-wood:hover { background: var(--walnut); color: #fff; }

/* Sections */
.section { padding: 4.5rem 0; }
.section-plank {
  background:
    linear-gradient(135deg, rgba(58, 44, 34, 0.04), transparent),
    var(--linen);
}
.section-elm {
  background: linear-gradient(180deg, #e0ebe2 0%, #d5e0d7 100%);
}
.section-dark {
  background: var(--walnut);
  color: var(--flour);
}
.section-dark h2,
.section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: var(--wheat); }
.section-dark .lead,
.section-dark p { color: rgba(230, 225, 216, 0.88); }
.section-dark a { color: var(--wheat-soft); }

.gate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 2rem;
}
.gate-item {
  padding-top: 1.25rem;
  border-top: 2px solid var(--elm);
}
.gate-item h3 { margin-bottom: 0.5rem; }
.gate-item p { color: var(--mist); font-size: 0.98rem; }
.gate-item a {
  font-weight: 600;
  text-decoration: none;
  color: var(--elm-deep);
}
.gate-item a::after { content: ' →'; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
.split img {
  width: 100%;
  height: min(420px, 55vw);
  object-fit: cover;
  filter: saturate(0.92);
}

.story-block { max-width: 40rem; }
.story-pull {
  font-family: var(--font-brand);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 600;
  line-height: 1.4;
  color: var(--plank);
  border-left: 3px solid var(--wheat);
  padding-left: 1.15rem;
  margin: 1.5rem 0;
}

.menu-list {
  display: grid;
  gap: 0;
  margin-top: 1.5rem;
}
.menu-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.menu-row h3 { margin: 0 0 0.25rem; font-size: 1.15rem; }
.menu-row p { margin: 0; color: var(--mist); font-size: 0.95rem; }
.menu-row .price {
  font-weight: 700;
  color: var(--elm-deep);
  white-space: nowrap;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.product-grid article img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  margin-bottom: 0.9rem;
}
.product-grid h3 { margin-bottom: 0.35rem; }
.product-grid p { color: var(--mist); font-size: 0.95rem; margin: 0; }

.hours-table {
  width: 100%;
  max-width: 28rem;
  border-collapse: collapse;
  margin: 1rem 0 0;
}
.hours-table td {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
}
.hours-table td:last-child { text-align: right; font-weight: 600; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.contact-details p { margin-bottom: 0.45rem; }
.contact-details a { text-decoration: none; font-weight: 600; }

.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--plank);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  background: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--soot);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-success {
  display: none;
  padding: 1rem 1.15rem;
  background: #e0ebe2;
  border-left: 3px solid var(--elm);
  margin-bottom: 1rem;
  font-weight: 500;
}
.form-success.show { display: block; }

.page-hero {
  padding: 3.5rem 0 2rem;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(79, 107, 82, 0.08), transparent 60%),
    var(--linen);
}
.page-hero h1 { margin-bottom: 0.5rem; }
.page-hero .lead { margin-bottom: 0; }

.legal-page { padding: 3rem 0 4.5rem; }
.legal-page h1 { margin-bottom: 0.5rem; }
.legal-page h2 { margin-top: 2rem; font-size: 1.35rem; }
.legal-page ul { padding-left: 1.2rem; margin: 0 0 1rem; }
.legal-page li { margin-bottom: 0.4rem; }

/* Footer */
.site-footer {
  background: var(--soot);
  color: rgba(230, 225, 216, 0.82);
  padding: 3rem 0 2rem;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.site-footer .logo { color: #fff; }
.site-footer .logo span { color: rgba(230, 225, 216, 0.55); }
.site-footer h4 {
  font-family: var(--font-brand);
  color: #fff;
  margin: 0 0 0.85rem;
  font-size: 1rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.4rem; }
.site-footer a {
  color: rgba(230, 225, 216, 0.82);
  text-decoration: none;
}
.site-footer a:hover { color: var(--wheat-soft); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
  font-size: 0.88rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--walnut);
  color: var(--flour);
  padding: 1.15rem 0;
  transform: translateY(110%);
  transition: transform 0.45s var(--ease);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.25);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-inner {
  width: min(100% - 2.2rem, var(--max));
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}
.cookie-inner p {
  margin: 0;
  flex: 1 1 280px;
  font-size: 0.92rem;
  color: rgba(230, 225, 216, 0.9);
}
.cookie-inner a { color: var(--wheat-soft); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-actions button {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.65rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  background: transparent;
  color: #fff;
}
.cookie-btn-accept { background: var(--elm) !important; border-color: var(--elm) !important; }
.cookie-btn-decline { background: transparent; }
.cookie-btn-settings { background: rgba(255, 255, 255, 0.08); }

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(20, 17, 14, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.cookie-modal.show { display: flex; }
.cookie-modal-panel {
  background: var(--linen);
  color: var(--soot);
  width: min(100%, 440px);
  padding: 1.75rem;
  max-height: 90vh;
  overflow-y: auto;
}
.cookie-modal-panel h2 { font-size: 1.35rem; margin-bottom: 0.75rem; }
.cookie-option {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin: 1rem 0;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
.cookie-option input { margin-top: 0.25rem; }
.cookie-modal-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

@media (max-width: 900px) {
  .gate-grid,
  .product-grid,
  .split,
  .contact-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .split.reverse { direction: ltr; }
  .split img { height: 280px; }
  .nav-desktop { display: none; }
  .menu-toggle { display: flex; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg { animation: none; }
  .brand-mark, .hero h1, .hero-sub { animation: none; }
  .btn:hover { transform: none; }
}
