:root {
  --cream: #F7F3EA;
  --cream-deep: #EFE9DC;
  --white: #FFFFFF;
  --green: #34512D;
  --green-dark: #22361E;
  --ink: #23261F;
  --muted: #5F6358;
  --line: #E2DBCB;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "EB Garamond", Georgia, serif;
  --radius: 4px;
  --header-h: 156px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 19px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1.1;
  color: var(--green);
  margin: 0 0 0.6em;
}
h2 { font-size: clamp(2.4rem, 4.4vw, 3.6rem); }
h3 { font-size: 2.1rem; font-weight: 400; }
p { margin: 0 0 1.2em; color: var(--muted); }

.container { width: min(1180px, 100% - 48px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 48px); }
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-title { text-align: center; margin-bottom: clamp(40px, 6vw, 72px); }
.center { text-align: center; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border: 1px solid var(--green);
  border-radius: var(--radius);
  background: var(--green);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: background .25s, color .25s, border-color .25s;
}
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); }
.btn-ghost { background: transparent; color: var(--green); }
.btn-ghost:hover { background: var(--green); color: var(--cream); }
.btn-light { background: var(--cream); color: var(--green); border-color: var(--cream); }
.btn-light:hover { background: transparent; color: var(--cream); border-color: var(--cream); }
.btn-small { padding: 9px 22px; font-size: 1rem; }
.link { color: var(--green); text-decoration: none; border-bottom: 1px solid currentColor; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--cream);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner {
  width: min(1280px, 100% - 48px);
  margin-inline: auto;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 22px 0;
  transition: padding .35s ease;
}
.header-book { justify-self: start; }
.header-book .short { display: none; }
.brand { justify-self: center; display: flex; flex-direction: column; align-items: center; text-decoration: none; }
.brand img { height: auto; transition: width .35s ease, max-height .35s ease, opacity .25s ease, margin .35s ease; }
.brand-emblem { width: 92px; }
.brand-wordmark { width: 118px; max-height: 60px; margin-top: 8px; }
.site-header.scrolled .header-inner { padding: 12px 0; }
.site-header.scrolled .brand-emblem { width: 72px; }
.site-header.scrolled .brand-wordmark { max-height: 0; margin-top: 0; opacity: 0; }

.menu-toggle {
  justify-self: end; display: flex; flex-direction: column; align-items: flex-end; justify-content: center;
  gap: 8px; width: 52px; height: 44px; background: none; border: 0; cursor: pointer; padding: 0;
  position: relative; z-index: 70;
}
.menu-toggle i { display: block; height: 1.5px; background: var(--ink); transition: transform .35s, opacity .25s, width .35s; }
.menu-toggle i:nth-child(1) { width: 44px; }
.menu-toggle i:nth-child(2) { width: 30px; }
.menu-toggle i:nth-child(3) { width: 14px; }
.menu-toggle:hover i { width: 44px; }
.menu-toggle[aria-expanded="true"] i:nth-child(1) { width: 32px; transform: translateY(9.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] i:nth-child(3) { width: 32px; transform: translateY(-9.5px) rotate(-45deg); }

.nav {
  position: fixed; inset: 0; z-index: 55;
  background: var(--cream);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 48px;
  padding: 160px 24px 48px; text-align: center;
  opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
}
.nav.open { opacity: 1; visibility: visible; }
.nav-links { display: flex; flex-direction: column; gap: 6px; }
.nav-links a {
  font-family: var(--serif); font-size: clamp(36px, 5vw, 56px); line-height: 1.2;
  color: var(--green); text-decoration: none; transition: opacity .2s;
}
.nav-links a:hover { opacity: .6; }
.nav-meta { font-size: 15px; }
.nav-meta a { color: var(--ink); text-decoration: none; }
body.nav-open { overflow: hidden; }

/* Hero */
.hero {
  position: relative;
  height: calc(100svh - var(--header-h));
  min-height: 520px; max-height: 1000px;
  overflow: hidden;
  background: var(--cream);
}
.hero-slides { position: absolute; inset: 10px; }
.hero-slides img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: brightness(1.08) saturate(1.05);
  opacity: 0; transition: opacity 1.4s ease;
}
.hero-slides img.is-active { opacity: 1; }
.hero-dots {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 2;
  display: flex; gap: 10px;
}
.hero-dots button {
  width: 28px; height: 14px; padding: 0; border: 0; background: none; cursor: pointer; position: relative;
}
.hero-dots button::before {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px;
  background: rgba(255, 255, 255, 0.55); transition: background .3s;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.25);
}
.hero-dots button.is-active::before { background: #fff; }
@media (prefers-reduced-motion: reduce) {
  .hero-slides img { transition: none; }
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* About */
.about { background: var(--white); }
.about-inner { max-width: 760px; text-align: center; }
.about-copy p { font-size: 1.04rem; }

/* Food and wine panels */
.offer { background: var(--cream); padding-top: clamp(40px, 4.5vw, 64px); }
.offer-head { text-align: center; padding: 0 24px clamp(22px, 2.6vw, 34px); }
.offer-head h2 { font-size: clamp(2.6rem, 4.4vw, 4rem); font-weight: 400; margin-bottom: 0.45em; }
.offer-nav { display: flex; justify-content: center; align-items: center; gap: clamp(14px, 3vw, 36px); }
.offer-tabs { display: flex; gap: clamp(18px, 3vw, 40px); flex-wrap: wrap; justify-content: center; }
.offer-tabs button, .offer-arrow {
  background: none; border: 0; padding: 4px 0; cursor: pointer;
  font-family: var(--serif); font-size: 1.35rem; color: var(--muted);
  border-bottom: 1px solid transparent; transition: color .2s, border-color .2s;
}
.offer-tabs button:hover { color: var(--green); }
.offer-tabs button.is-active { color: var(--green); border-bottom-color: var(--green); }
.offer-arrow { font-family: var(--sans); font-size: 1.2rem; color: var(--green); padding: 4px 8px; }
.offer-track {
  display: flex; gap: 10px; padding: 0 10px 10px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 10px;
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.offer-track::-webkit-scrollbar { display: none; }
.offer-track > .panel { flex: 0 0 100%; scroll-snap-align: start; }
.panel {
  display: grid;
  gap: 10px;
  height: calc(100svh - 290px);
  min-height: 540px; max-height: 860px;
}
.panel-text-left { grid-template-columns: 30fr 35fr 35fr; }
.panel-text-centre { grid-template-columns: 34fr 32fr 34fr; }
.panel-text-right { grid-template-columns: 35fr 35fr 30fr; }
.panel > img { width: 100%; height: 100%; object-fit: cover; min-height: 0; }
.panel-copy {
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center;
  padding: clamp(40px, 5vw, 80px) clamp(28px, 3.6vw, 60px);
}
.panel-copy h2 { font-size: clamp(2.6rem, 4vw, 4rem); font-weight: 400; margin-bottom: 0.6em; }
.panel-copy p { max-width: 38ch; }
.panel-white { background: var(--white); }
.panel-green { background: var(--green); }
.panel-green h2 { color: var(--cream); }
.panel-green p { color: rgba(247, 243, 234, 0.85); }

/* Wine: full-width band with the wine wall as a tinted backdrop */
.wine {
  position: relative; overflow: hidden;
  clip-path: inset(0); /* window effect: the fixed photo only shows through this section */
  min-height: 72svh;
  display: grid; place-items: center;
  margin: 0 10px;
  background: var(--green-dark);
}
.wine-bg { position: fixed; inset: 0; width: 100%; height: 100vh; object-fit: cover; object-position: center 40%; }
.wine::after { content: ""; position: absolute; inset: 0; background: rgba(34, 54, 30, 0.72); }
.wine-copy {
  position: relative; z-index: 1;
  max-width: 640px; padding: clamp(72px, 10vw, 120px) 24px;
  text-align: center; display: flex; flex-direction: column; align-items: center;
}
.wine-copy h2 { color: var(--cream); font-size: clamp(2.8rem, 5vw, 4.6rem); font-weight: 400; margin-bottom: 0.5em; }
.wine-copy p { color: rgba(247, 243, 234, 0.88); font-size: 1.1rem; }

/* Gallery */
.gallery { padding: 10px; background: var(--cream); }
.gallery-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery-track img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }

/* Reviews */
.reviews { background: var(--white); }
.review-widget { min-height: 120px; margin-bottom: 40px; }

/* Visit */
.visit-inner { text-align: center; max-width: 620px; }
.visit-address { font-size: 1.25rem; color: var(--ink); margin-bottom: 2em; }
.visit-hours { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1.4em 0; margin-bottom: 2em; }
.visit-hours p { margin: 0.25em 0; color: var(--ink); }
.visit-hours span { color: var(--muted); margin-left: 0.8em; font-style: italic; }
.visit-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.6em 2.2em; margin: 0; }
.visit-links a { color: var(--green); text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: border-color .2s; }
.visit-links a:hover { border-color: var(--green); }

/* Footer */
.site-footer { background: var(--green-dark); color: var(--cream); padding: 72px 0 40px; text-align: center; }
.footer-logo { display: flex; flex-direction: column; align-items: center; margin: 0 auto 28px; }
.footer-emblem { width: 96px; }
.footer-wordmark { width: 96px; margin-top: 8px; }
.footer-social { display: inline-flex; align-items: center; gap: 10px; margin-top: 4px; font-size: 1.05rem; }
.footer-social svg { display: block; }
.site-footer p { color: rgba(247, 243, 234, 0.8); }
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .small { font-size: 0.85rem; margin-top: 28px; color: rgba(247, 243, 234, 0.55); }

/* Responsive */

@media (max-width: 900px) {
  :root { --header-h: 156px; }
  .panel, .panel-text-left, .panel-text-centre, .panel-text-right { grid-template-columns: 1fr 1fr; height: auto; min-height: 0; max-height: none; }
  .panel-copy { grid-column: 1 / -1; order: -1; }
  .panel > img { aspect-ratio: 3 / 4; height: auto; }
}

@media (max-width: 560px) {
  .offer-tabs button { font-size: 1.15rem; }
  .offer-arrow { display: none; }
  :root { --header-h: 120px; }
  .gallery-track { grid-template-columns: repeat(2, 1fr); }
  .container, .narrow { width: calc(100% - 32px); }
  .header-inner { width: calc(100% - 32px); }
  .header-inner { padding: 16px 0; }
  .header-book .long { display: none; }
  .header-book .short { display: inline; }
  .brand-emblem { width: 70px; }
  .brand-wordmark { width: 92px; margin-top: 6px; }
  .site-header.scrolled .brand-emblem { width: 58px; }
  .menu-toggle { width: 44px; }
  .menu-toggle i:nth-child(1) { width: 34px; }
}
