/* =========================================================
   Larder & Home — rebuilt site
   Refined & warm design system
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  --cream: #f7f1e7;
  --cream-2: #efe6d7;
  --paper: #fbf8f2;
  --espresso: #2a241f;
  --espresso-soft: #4a4038;
  --clay: #b0552f;
  --clay-dark: #94441f;
  --olive: #6a6f52;
  --sand: #d8c7ad;
  --line: #e2d6c2;
  --white: #ffffff;

  --font-serif: "Spectral", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --maxw: 1200px;
  --radius: 4px;
  --radius-lg: 10px;
  --shadow: 0 18px 40px -24px rgba(42, 36, 31, 0.45);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--espresso);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--clay-dark); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--espresso); }
::selection { background: var(--clay); color: var(--cream); }
[id] { scroll-margin-top: 96px; }

/* Accessibility: keyboard focus + skip link */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--clay); outline-offset: 3px; border-radius: 2px;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--espresso); color: var(--cream);
  padding: 10px 18px; border-radius: 0 0 8px 8px; font-weight: 600; font-size: .9rem;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; color: var(--cream); }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 500; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
p { margin: 0 0 1.1em; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px); }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tight { padding: clamp(44px, 6vw, 72px) 0; }
.eyebrow {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: .72rem;
  font-weight: 600;
  color: var(--clay);
  margin: 0 0 1rem;
}
.center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--espresso-soft); max-width: 60ch; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--font-sans);
  font-weight: 600; font-size: .95rem;
  letter-spacing: .02em;
  padding: .95em 1.8em;
  border-radius: 100px;
  border: 1.5px solid var(--espresso);
  background: var(--espresso); color: var(--cream);
  cursor: pointer; transition: all .3s var(--ease);
  text-align: center;
}
.btn:hover { background: var(--clay-dark); border-color: var(--clay-dark); color: var(--white); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--espresso); }
.btn--ghost:hover { background: var(--espresso); color: var(--cream); transform: translateY(-2px); }
.btn--light { background: var(--cream); color: var(--espresso); border-color: var(--cream); }
.btn--light:hover { background: var(--white); border-color: var(--white); color: var(--espresso); }
.btn--block { width: 100%; justify-content: center; }
.btn { text-decoration: none; }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 241, 231, 0.86);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 0; position: relative; }
.nav__logo img { height: 40px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  font-weight: 500; color: var(--espresso); font-size: .96rem;
  position: relative; padding: 4px 0;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1.5px; width: 0;
  background: var(--clay); transition: width .3s var(--ease);
}
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { width: 100%; }
.nav__cta { display: flex; align-items: center; gap: 14px; }
.nav__toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; padding: 10px; color: var(--espresso);
}
.nav__toggle span { display: block; height: 2px; background: currentColor; margin: 5px 0; transition: .3s var(--ease); border-radius: 2px; }
.nav.open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(88vh, 760px); display: flex; align-items: flex-end; color: var(--cream); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; background: var(--espresso); }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 72% center; }
.hero__bg::after { content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(26,21,17,.72) 0%, rgba(26,21,17,.32) 42%, rgba(26,21,17,0) 68%),
    linear-gradient(180deg, rgba(26,21,17,.2) 0%, rgba(26,21,17,.1) 40%, rgba(26,21,17,.8) 100%);
}
.hero__inner { position: relative; z-index: 2; padding-bottom: clamp(48px, 8vw, 96px); padding-top: 120px; max-width: 760px; }
.hero__eyebrow { color: var(--sand); text-transform: uppercase; letter-spacing: .34em; font-size: .78rem; font-weight: 600; margin-bottom: 1.1rem; }
.hero h1 { color: var(--cream); margin-bottom: .35em; }
.hero__sub { font-size: 1.2rem; color: rgba(247,241,231,.92); max-width: 52ch; margin-bottom: 1.8em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* small page hero for interior pages */
.page-hero { background: var(--espresso); color: var(--cream); padding: clamp(90px, 12vw, 150px) 0 clamp(48px, 7vw, 90px); position: relative; overflow: hidden; }
.page-hero::before { content:""; position:absolute; inset:0; background: radial-gradient(120% 120% at 80% 0%, rgba(176,85,47,.35), transparent 55%); }
.page-hero .wrap { position: relative; }
.page-hero h1 { color: var(--cream); }
.page-hero p { color: rgba(247,241,231,.8); max-width: 56ch; margin: 0; font-size: 1.12rem; }
.page-hero .eyebrow { color: var(--sand); }

/* ---------- Pill strip ---------- */
.strip { background: var(--espresso); color: var(--cream); }
.strip__inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; padding: 16px 0; text-align: center; font-size: .82rem; letter-spacing: .22em; text-transform: uppercase; color: var(--sand); }

/* ---------- Venues grid ---------- */
.venues { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 26px; margin-top: 48px; }
.venue {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 30px; transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  display: flex; flex-direction: column;
}
.venue:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.venue__tag { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--clay); font-weight: 600; margin-bottom: 14px; }
.venue h3 { margin-bottom: .35em; }
.venue p { color: var(--espresso-soft); font-size: .98rem; }
.venue__link { margin-top: auto; font-weight: 600; font-size: .92rem; display: inline-flex; align-items: center; gap: .4em; }
.venue__link::after { content: "→"; transition: transform .25s var(--ease); }
.venue:hover .venue__link::after { transform: translateX(4px); }

/* ---------- Feature split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split + .split { margin-top: clamp(48px, 7vw, 90px); }
.split--reverse .split__media { order: 2; }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split__body h2 { margin-bottom: .4em; }

/* ---------- Hours ---------- */
.hours-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; margin-top: 44px; }
.hours-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 26px; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.hours-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.hours-card h3 { font-size: 1.2rem; margin-bottom: .8rem; }
.hours-card dl { margin: 0; display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; font-size: .93rem; }
.hours-card dt { color: var(--espresso-soft); }
.hours-card dd { margin: 0; font-variant-numeric: tabular-nums; text-align: right; font-weight: 500; }
.hours-card .muted { color: var(--olive); font-size: .82rem; grid-column: 1 / -1; margin-top: 8px; }

/* ---------- Reviews ---------- */
.reviews { background: var(--espresso); color: var(--cream); }
.reviews .eyebrow { color: var(--sand); }
.reviews h2 { color: var(--cream); }
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 26px; margin-top: 48px; }
.review { border: 1px solid rgba(216,199,173,.25); border-radius: var(--radius-lg); padding: 30px 28px; background: rgba(255,255,255,.03); }
.review__stars { color: #e6a94b; letter-spacing: 3px; margin-bottom: 14px; }
.review p { font-family: var(--font-serif); font-size: 1.18rem; line-height: 1.5; color: var(--cream); font-style: italic; }
.review cite { display: block; margin-top: 14px; font-style: normal; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sand); }

/* ---------- Menu page ---------- */
.menu-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 26px; }
.menu-gallery img { border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--white); width: 100%; }
.menu-note { margin-top: 40px; }

/* ---------- Forms ---------- */
.form-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px);
}
.form { display: grid; gap: 20px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form .row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: .85rem; font-weight: 600; letter-spacing: .02em; }
.field label .req { color: var(--clay); }
.field input, .field select, .field textarea {
  font-family: var(--font-sans); font-size: 1rem; color: var(--espresso);
  padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius);
  background: var(--white); transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--clay); box-shadow: 0 0 0 3px rgba(176,85,47,.14);
}
.form__note { font-size: .82rem; color: var(--espresso-soft); }
.form__status { font-size: .95rem; padding: 12px 16px; border-radius: var(--radius); display: none; }
.form__status.is-success { display: block; background: #e7efe1; color: #3c5a2e; border: 1px solid #bcd3ab; }
.form__status.is-error { display: block; background: #f6e4dd; color: #8a3a1f; border: 1px solid #e2b7a5; }
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.info-list li { display: grid; gap: 3px; }
.info-list .k { font-size: .72rem; text-transform: uppercase; letter-spacing: .18em; color: var(--clay); font-weight: 600; }
.info-list .v { font-size: 1.05rem; }
.info-list a { font-weight: 500; }

/* checkbox field */
.check { display: flex; align-items: center; gap: 11px; font-size: .95rem; font-weight: 500; cursor: pointer; padding: 4px 0; }
.check input[type="checkbox"] { width: 20px; height: 20px; min-width: 20px; accent-color: var(--clay); cursor: pointer; margin: 0; }

/* captcha slot */
.captcha-slot { min-height: 0; }
.captcha-slot:empty { display: none; }

/* ---------- Map ---------- */
.map-embed { border: 0; width: 100%; height: 340px; border-radius: var(--radius-lg); border: 1px solid var(--line); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--clay) 0%, var(--clay-dark) 100%); color: var(--cream); text-align: center; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(247,241,231,.92); max-width: 52ch; margin: 0 auto 1.8em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--espresso); color: var(--sand); padding: clamp(56px, 8vw, 90px) 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer img.foot-logo { height: 48px; margin-bottom: 18px; filter: brightness(0) invert(1); opacity: .92; }
.site-footer h4 { font-family: var(--font-sans); text-transform: uppercase; letter-spacing: .2em; font-size: .74rem; color: var(--cream); margin: 0 0 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--sand); font-size: .95rem; }
.site-footer a:hover { color: var(--cream); }
.site-footer p { color: rgba(216,199,173,.8); font-size: .95rem; }
.socials { display: flex; gap: 14px; margin-top: 6px; }
.socials a { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid rgba(216,199,173,.3); border-radius: 50%; }
.socials a:hover { background: var(--clay); border-color: var(--clay); color: var(--white); }
.socials svg { width: 18px; height: 18px; }
.acknowledgement { border-top: 1px solid rgba(216,199,173,.2); margin-top: 40px; padding-top: 28px; font-size: .9rem; line-height: 1.7; color: rgba(216,199,173,.85); max-width: 720px; }
.acknowledgement strong { color: var(--cream); font-family: var(--font-serif); font-weight: 500; font-size: 1.05rem; display: block; margin-bottom: 6px; }
.foot-bottom { border-top: 1px solid rgba(216,199,173,.2); margin-top: 28px; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .82rem; color: rgba(216,199,173,.7); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream);
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    box-shadow: 0 26px 44px -30px rgba(42, 36, 31, .55);
    padding: 4px clamp(22px, 6vw, 44px) 20px;
    max-height: 0; overflow: hidden; opacity: 0; pointer-events: none;
    transition: max-height .4s var(--ease), opacity .28s var(--ease);
  }
  .nav.open .nav__links { max-height: 80vh; opacity: 1; pointer-events: auto; }
  .nav__links a {
    display: block; width: 100%;
    font-family: var(--font-serif); font-size: 1.35rem; font-weight: 500;
    letter-spacing: .01em; color: var(--espresso);
    padding: 17px 2px; border-bottom: 1px solid rgba(42, 36, 31, .08);
  }
  .nav__links a::after { display: none; }
  .nav__links a[aria-current="page"] { color: var(--clay); }
  .nav__links li:last-child a { border-bottom: 0; }
  .nav__cta .btn { display: none; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .form-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  .form .row, .form .row-3 { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; }
}
