:root {
  --ink: #172021;
  --muted-ink: #526061;
  --paper: #f7f8f3;
  --white: #ffffff;
  --teal: #12343b;
  --teal-2: #1d5960;
  --moss: #586d44;
  --rust: #b84a37;
  --gold: #d09a45;
  --line: #dfe5df;
  --shadow: 0 18px 50px rgba(18, 52, 59, 0.14);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

button,
input,
select,
textarea {
  font: inherit;
}

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

.container {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-140%);
  background: var(--white);
  color: var(--teal);
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 248, 243, 0.94);
  border-bottom: 1px solid rgba(223, 229, 223, 0.84);
  backdrop-filter: blur(16px);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 28px rgba(18, 52, 59, 0.11);
  background: rgba(255, 255, 255, 0.96);
}

.nav-shell {
  min-height: 78px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--teal);
  font-weight: 800;
  text-decoration: none;
}

.brand span {
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.site-nav a {
  padding: 9px 12px;
  border-radius: var(--radius);
  color: #263435;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: rgba(18, 52, 59, 0.08);
  color: var(--teal);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: var(--radius);
  background: var(--teal);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 10px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  background: var(--teal);
  margin: 5px 0;
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
}

.home-hero {
  min-height: 680px;
  display: grid;
  align-items: center;
  background: var(--teal);
}

.home-hero picture,
.home-hero > picture img,
.image-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 52, 59, 0.9), rgba(18, 52, 59, 0.55) 48%, rgba(18, 52, 59, 0.16)),
    linear-gradient(0deg, rgba(18, 52, 59, 0.5), transparent 35%);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  padding: 110px 0 90px;
}

.hero-content.narrow {
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--rust);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-content .eyebrow {
  color: #f1c16f;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 850px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.25rem;
  font-weight: 700;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.4rem;
  font-weight: 700;
}

h3 {
  font-size: 1.08rem;
}

.hero-copy {
  max-width: 640px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.18rem;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.button-primary {
  background: var(--rust);
  color: var(--white);
}

.button-primary:hover {
  background: #963827;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.94);
  color: var(--teal);
  border-color: rgba(255, 255, 255, 0.42);
}

.button-dark {
  background: var(--teal);
  color: var(--white);
}

.quick-info {
  position: relative;
  z-index: 2;
  margin-top: -52px;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.quick-grid article {
  padding: 22px;
  border-right: 1px solid var(--line);
}

.quick-grid article:last-child {
  border-right: 0;
}

.quick-grid span,
.service-note,
.dish small {
  display: block;
  color: var(--muted-ink);
  font-size: 0.88rem;
}

.quick-grid strong {
  display: block;
  margin-top: 6px;
  color: var(--teal);
}

.section {
  padding: 88px 0;
}

.muted {
  background: #eef3ed;
}

.split-grid,
.editorial-grid,
.review-grid,
.booking-grid,
.contact-grid,
.events-layout,
.menu-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 48px;
  align-items: start;
}

.split-grid p,
.editorial-grid p,
.review-grid p {
  color: var(--muted-ink);
  font-size: 1.05rem;
}

.feature-panel,
.booking-form,
.booking-summary,
.info-card,
.article-card,
.menu-card,
.summary-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(18, 52, 59, 0.07);
}

.feature-panel {
  padding: 28px;
}

.feature-panel dl,
.contact-details dl {
  margin: 0;
}

.feature-panel div,
.contact-details dl div {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.feature-panel div:last-child,
.contact-details dl div:last-child {
  border-bottom: 0;
}

dt {
  font-weight: 900;
  color: var(--teal);
}

dd {
  margin: 0;
  color: var(--muted-ink);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 30px;
}

.section-heading.inline {
  margin-bottom: 18px;
  align-items: start;
}

.text-link {
  color: var(--teal);
  font-weight: 900;
}

.card-grid {
  display: grid;
  gap: 24px;
}

.card-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.menu-card,
.article-card {
  overflow: hidden;
}

.menu-card img,
.article-card img {
  width: 100%;
  aspect-ratio: 16 / 10.5;
  object-fit: cover;
}

.menu-card div,
.article-card div,
.info-card {
  padding: 24px;
}

.menu-card p,
.article-card p,
.info-card p {
  color: var(--muted-ink);
}

.menu-card span,
.info-card strong {
  color: var(--rust);
  font-weight: 900;
}

.compact-list {
  display: grid;
  gap: 14px;
}

.compact-list article,
.event-list article {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 18px;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.compact-list time,
.event-list time {
  display: grid;
  place-items: center;
  min-height: 58px;
  background: var(--teal);
  color: var(--white);
  border-radius: var(--radius);
  font-weight: 900;
  text-align: center;
}

.event-list.large {
  display: grid;
  gap: 20px;
}

.event-list.large article {
  grid-template-columns: 96px 1fr;
  padding: 26px;
}

.event-list.large time span {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1;
}

.sticky-panel {
  position: sticky;
  top: 104px;
}

.gallery-band {
  padding-bottom: 50px;
}

.gallery-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 520px);
  gap: 18px;
  overflow-x: auto;
  padding: 0 max(20px, calc((100vw - var(--max)) / 2)) 16px;
  scroll-snap-type: x proximity;
}

.gallery-strip img {
  width: 100%;
  aspect-ratio: 13 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  scroll-snap-align: start;
}

.reviews {
  display: grid;
  gap: 18px;
}

figure {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}

blockquote {
  margin: 0;
  color: var(--teal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1.25;
}

figcaption {
  margin-top: 14px;
  color: var(--muted-ink);
  font-weight: 800;
}

.cta-section {
  background: var(--teal);
  color: var(--white);
}

.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.cta-inner h2 {
  max-width: 760px;
}

.page-hero {
  padding: 118px 0 66px;
  background:
    linear-gradient(135deg, rgba(18, 52, 59, 0.96), rgba(88, 109, 68, 0.9)),
    var(--teal);
  color: var(--white);
}

.page-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.86);
}

.compact-hero h1 {
  font-size: 3.2rem;
}

.image-hero {
  min-height: 540px;
  display: grid;
  align-items: end;
  padding: 0;
}

.menu-layout {
  grid-template-columns: 280px 1fr;
}

.menu-tools {
  position: sticky;
  top: 104px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.menu-tools h2 {
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.segmented {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.segmented button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--teal);
  font-weight: 900;
  cursor: pointer;
}

.segmented button.is-active {
  background: var(--teal);
  color: var(--white);
}

.toggle-row,
.check-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted-ink);
}

.toggle-row input,
.check-row input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--teal);
}

.menu-sections {
  display: grid;
  gap: 44px;
}

.dish-list {
  display: grid;
  gap: 12px;
}

.dish {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.dish p {
  margin: 7px 0 0;
  color: var(--muted-ink);
}

.dish small {
  display: none;
  margin-top: 8px;
  color: #7b382e;
}

.show-allergens .dish small {
  display: block;
}

.dish[hidden] {
  display: none;
}

.dish strong {
  white-space: nowrap;
  color: var(--teal);
}

.booking-grid {
  grid-template-columns: 1fr 0.72fr;
}

.booking-form {
  padding: 28px;
}

.form-row {
  display: grid;
  gap: 18px;
  margin-bottom: 18px;
}

.form-row.two {
  grid-template-columns: repeat(2, 1fr);
}

label {
  display: grid;
  gap: 7px;
  color: var(--teal);
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cbd5cd;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  padding: 12px 13px;
}

textarea {
  resize: vertical;
}

.booking-form > label,
.booking-form .check-row {
  margin-bottom: 18px;
}

.form-status {
  min-height: 28px;
  margin: 14px 0 0;
  color: var(--teal);
  font-weight: 900;
}

.booking-summary {
  overflow: hidden;
}

.booking-summary img {
  width: 100%;
  aspect-ratio: 16 / 10.5;
  object-fit: cover;
}

.summary-box {
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  padding: 24px;
}

.booking-summary .compact-list {
  padding: 20px;
}

.contact-grid {
  grid-template-columns: 1fr 0.82fr;
}

.contact-map {
  min-height: 540px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(18, 52, 59, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(18, 52, 59, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 48% 45%, rgba(184, 74, 55, 0.24), transparent 12%),
    #edf2ec;
  background-size: 52px 52px, 52px 52px, 100% 100%, auto;
}

.map-card {
  width: min(360px, 80%);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  text-align: center;
}

.map-card span {
  display: inline-grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin-bottom: 14px;
  background: var(--rust);
  color: var(--white);
  border-radius: 50%;
  font-weight: 900;
}

.contact-details {
  display: grid;
  gap: 20px;
}

.article-page {
  padding: 96px 0;
}

.article-header img {
  width: 100%;
  margin-top: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.article-header p {
  color: var(--muted-ink);
}

.article-body {
  max-width: 780px;
}

.article-body p {
  color: var(--muted-ink);
  font-size: 1.08rem;
}

.article-body h2 {
  margin-top: 36px;
  font-size: 1.75rem;
}

.not-found {
  min-height: 100vh;
  display: grid;
  place-content: center;
  gap: 18px;
  padding: 40px;
  text-align: center;
}

.not-found .brand {
  justify-content: center;
}

.not-found h1 {
  font-size: 3rem;
}

.site-footer {
  background: #101818;
  color: rgba(255, 255, 255, 0.82);
  padding: 58px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr 0.7fr;
  gap: 30px;
}

.footer-brand,
.site-footer a {
  color: var(--white);
}

.site-footer h2 {
  margin-bottom: 12px;
  color: var(--white);
  font-family: inherit;
  font-size: 0.95rem;
  text-transform: uppercase;
}

.site-footer address {
  font-style: normal;
}

.site-footer a {
  display: block;
  margin: 4px 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.92rem;
}

.footer-bottom a {
  display: inline;
}

@media (max-width: 980px) {
  .nav-shell {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav,
  .nav-cta {
    display: none;
  }

  .site-nav.is-open {
    display: grid;
    grid-column: 1 / -1;
    justify-content: stretch;
    width: 100%;
    padding-bottom: 18px;
  }

  .site-nav.is-open a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2rem;
  }

  .home-hero {
    min-height: 600px;
  }

  .quick-grid,
  .card-grid.three,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .quick-grid article:nth-child(2) {
    border-right: 0;
  }

  .quick-grid article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .split-grid,
  .editorial-grid,
  .review-grid,
  .booking-grid,
  .contact-grid,
  .events-layout,
  .menu-layout {
    grid-template-columns: 1fr;
  }

  .menu-tools,
  .sticky-panel {
    position: static;
  }

  .segmented {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .nav-shell {
    min-height: 68px;
  }

  .brand span {
    font-size: 0.98rem;
  }

  .home-hero {
    min-height: 560px;
  }

  .hero-content {
    padding: 86px 0 74px;
  }

  h1,
  .compact-hero h1,
  .not-found h1 {
    font-size: 2.35rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions,
  .cta-actions,
  .cta-inner,
  .section-heading,
  .footer-bottom {
    display: grid;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .quick-info {
    margin-top: 0;
  }

  .quick-grid,
  .card-grid.three,
  .footer-grid,
  .form-row.two {
    grid-template-columns: 1fr;
  }

  .quick-grid article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .quick-grid article:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 62px 0;
  }

  .page-hero {
    padding: 92px 0 54px;
  }

  .feature-panel div,
  .contact-details dl div,
  .dish,
  .compact-list article,
  .event-list article,
  .event-list.large article {
    grid-template-columns: 1fr;
  }

  .segmented {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-map {
    min-height: 340px;
  }
}

/* --- Menu filter: hide empty sections when a category has no matches --- */
.menu-section[hidden] {
  display: none;
}

/* --- Mobile sticky filter bar: keep category filters within quick reach while scrolling --- */
@media (max-width: 768px) {
  .menu-tools {
    position: sticky;
    top: var(--sticky-offset, 68px);
    z-index: 40;
    background: var(--white);
    margin: 0 -14px 18px;
    padding: 14px;
    border-radius: 0 0 var(--radius) var(--radius);
    border-top: 0;
    transition: box-shadow 180ms ease;
  }

  .menu-tools.is-stuck {
    box-shadow: 0 10px 22px -14px rgba(18, 52, 59, 0.4);
  }

  .menu-tools h2 {
    display: none;
  }

  .menu-tools .segmented {
    display: flex;
    grid-template-columns: none;
    gap: 8px;
    margin-bottom: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
  }

  .menu-tools .segmented::-webkit-scrollbar {
    display: none;
  }

  .menu-tools .segmented button {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 0 14px;
  }

  .menu-tools .toggle-row,
  .menu-tools .text-link {
    display: none;
  }
}
