/* ===================== TOKENS ===================== */
:root {
  --cream: #fbf8ec;
  --cream-soft: #f4efdd;
  --green: #3c4a2b;
  --green-deep: #2f3a22;
  --dark: #211f1c;
  --ink: #1c1c1c;
  --muted: #6f6f66;
  --line: #d9d4c2;

  --serif: "Aboreto", sans-serif;
  --sans: "Poppins", system-ui, sans-serif;

  --maxw: 760px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img, iframe, svg { display: block; max-width: 100%; }

/* ===================== LOGO ===================== */
.logo { display: flex; align-items: center; gap: 14px; color: var(--green); }
/* logo rendered via mask so its colour can change with the nav bar */
.logo-img {
  display: block;
  height: 44px;
  width: 170px; /* keeps the 154:40 aspect ratio of the svg */
  background-color: var(--cream);
  -webkit-mask: url(assets/harvest-logo.svg) no-repeat center / contain;
  mask: url(assets/harvest-logo.svg) no-repeat center / contain;
  transition: background-color 0.35s ease;
}
/* nav-bar logo only — uses the third (compact) logo */
.site-header .logo-img {
  width: 135px; /* keeps the 116:33 aspect ratio of the third logo */
  -webkit-mask-image: url(assets/third-logo-harvest.svg);
  mask-image: url(assets/third-logo-harvest.svg);
}
.logo--light { color: #fff; }
.logo-mark { width: 46px; height: 46px; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.9rem;
  letter-spacing: 0.14em;
}
.logo-sub {
  font-size: 0.62rem;
  letter-spacing: 0.34em;
  margin-top: 4px;
}

/* ===================== HEADER ===================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  background: transparent;
  transition: background-color 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}
/* faded cream bar once scrolled past the hero */
.site-header.scrolled {
  background-color: var(--cream);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.08);
  padding: 14px 24px;
}
.site-header.scrolled .logo-img { background-color: var(--green); }
.site-header.scrolled .hamburger span { background: var(--green); }

.hamburger {
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 4px 0;
}
.hamburger span {
  display: block;
  height: 2.5px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: background-color 0.35s ease;
}

/* ===================== INLINE NAV (desktop only) ===================== */
/* hidden by default so the mobile layout is unchanged; revealed at >=900px */
.nav-inline { display: none; }

/* ===================== NAV OVERLAY ===================== */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: var(--green);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.nav-overlay.open { opacity: 1; visibility: visible; }

.nav-close {
  position: absolute;
  top: 26px; right: 28px;
  background: none; border: none;
  color: var(--cream);
  font-size: 2.6rem;
  line-height: 1;
  cursor: pointer;
}

.nav-overlay ul { list-style: none; text-align: center; }
.nav-overlay li { margin: 22px 0; }
.nav-overlay a {
  font-family: "Aboreto", serif;
  text-transform: uppercase;
  font-size: 2.2rem;
  color: var(--cream);
  letter-spacing: 0.04em;
  transition: opacity 0.2s ease;
}
.nav-overlay a:hover { opacity: 0.65; }

/* ===================== HERO ===================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url(assets/hero-bg-harvest.png)
    center / cover no-repeat;
  color: #fff;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.3) 45%, rgba(0,0,0,0.55) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 96px 28px 64px;
  max-width: 560px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-logo {
  width: clamp(180px, 48vw, 240px);
  height: auto;
  margin-bottom: 26px;
}
.hero p {
  font-size: 12px;
  font-weight: 400;
  max-width: 460px;
  margin-bottom: 30px;
}

.btn-pill {
  display: inline-block;
  background: var(--cream);
  color: var(--ink);
  padding: 15px 36px;
  border-radius: 60px;
  font-size: 1rem;
  letter-spacing: 0.05em;
  transition: transform 0.2s ease, background 0.2s ease;
}
.btn-pill:hover { transform: translateY(-2px); background: #fff; }

/* ===================== MENU ===================== */
.menu, .visit { scroll-margin-top: 72px; }
.menu {
  background: var(--cream);
  padding: 60px 24px 80px;
}
.menu-toggle {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 36px;
  flex-wrap: nowrap;
}
.toggle-btn {
  font-family: var(--sans);
  font-size: 1.05rem;
  padding: 8px 22px;
  border: 1.5px solid var(--green);
  border-radius: 60px;
  background: transparent;
  color: var(--green);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

@media (max-width: 380px) {
  .toggle-btn { padding: 11px 20px; font-size: 0.95rem; }
  .menu-toggle { gap: 5px; }
}
.toggle-btn.active {
  background: var(--green);
  color: var(--cream);
}

/* ----- Accordion ----- */
.accordion {
  max-width: var(--maxw);
  margin: 0 auto;
}
.acc-section { border-top: 1px solid var(--line); }
.acc-section:last-child { border-bottom: 1px solid var(--line); }

.acc-header {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 22px 12px;
  font-family: "Aboreto", sans-serif;
  font-weight: 500;
  font-size: clamp(1.5rem, 5vw, 2rem);
  letter-spacing: 0.06em;
  color: var(--green);
  text-transform: uppercase;
  text-align: center;
  transition: color 0.2s ease;
}
.acc-header:hover { color: var(--green-deep); }

.acc-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.acc-panel-inner { padding: 4px 4px 36px; }

.dish {
  margin-bottom: 22px;
}
.dish-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}
.dish-name {
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.dish-price {
  font-weight: 600;
  font-size: 1rem;
  white-space: nowrap;
}
.dish-desc {
  color: var(--ink);
  font-weight: 300;
  font-size: 0.9rem;
  margin-top: 5px;
  max-width: 90%;
}
.dish-add {
  display: block;
  margin-top: 7px;
  font-style: italic;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}
.dish-add b { color: var(--ink); font-style: normal; }

/* sub-heading inside a merged section */
.dish-subhead {
  font-family: "Aboreto", sans-serif;
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  color: var(--green);
  margin: 26px 0 18px;
}
.dish-subhead:first-child { margin-top: 6px; }

/* centered note block (dressings list, croffle note, etc.) */
.acc-note {
  text-align: center;
  margin: 6px auto 4px;
  font-size: 0.82rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--muted);
  line-height: 1.7;
}
.acc-note strong {
  display: inline-block;
  margin-bottom: 6px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
}

/* collapse / close arrow at bottom of an open section */
.acc-collapse {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 10px auto 0;
  padding: 10px 26px;
  background: transparent;
  border: 1.5px solid var(--green);
  border-radius: 60px;
  color: var(--green);
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.acc-collapse:hover { background: var(--green); color: var(--cream); }
.acc-collapse svg { width: 16px; height: 16px; }

/* ghost download links at the bottom of the menu */
.menu-downloads {
  max-width: var(--maxw);
  margin: 40px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 28px;
}
.download-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.download-link svg { width: 15px; height: 15px; }
.download-link:hover {
  color: var(--green);
  border-color: var(--green);
}

/* ===================== VISIT ===================== */
.visit {
  background: var(--green);
  color: var(--cream);
  padding: 70px 28px 60px;
}
.visit h2 {
  font-family: "Aboreto", sans-serif;
  font-weight: 500;
  font-size: clamp(2.6rem, 9vw, 3.4rem);
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 44px;
}
.hours {
  list-style: none;
  max-width: var(--maxw);
  margin: 0 auto 44px;
}
.hours li {
  display: flex;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid rgba(251, 248, 236, 0.2);
}
.hours .day { font-weight: 600; }
.hours .time { font-weight: 300; }

.contact {
  max-width: var(--maxw);
  margin: 0 auto 40px;
  font-weight: 300;
}
.contact p { margin-bottom: 10px; }
.contact-place { font-weight: 600 !important; }
.contact a:hover { text-decoration: underline; }

.map {
  max-width: var(--maxw);
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
}
.map iframe {
  width: 100%;
  height: 420px;
  border: 0;
}

/* ===================== FOOTER ===================== */
.site-footer {
  background: var(--dark);
  color: #cfccc4;
  padding: 50px 28px 40px;
}
.site-footer .logo { margin-bottom: 18px; }
.footer-tagline {
    font-size: 14px;
  font-weight: 300;
  max-width: 520px;
  margin-bottom: 34px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
  color: #8b887f;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
}

/* ===================== ABOUT PAGE ===================== */
.about-page .site-header { position: static; background: var(--cream); border-bottom: 1px solid var(--line); }
.about-page .hamburger span { background: var(--green); }
.about-page .site-header .logo-img { background-color: var(--green); }

.story {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 60px 28px 90px;
}
.story h1 {
  font-family: "Aboreto", serif;
  font-weight: 500;
  font-size: clamp(2.5rem, 10vw, 4.2rem);
  text-transform: uppercase;
  color: var(--green);
  letter-spacing: 0.04em;
  margin-bottom: 30px;
}
.story p {
  font-weight: 300;
  font-size: 1.1rem;
  margin-bottom: 22px;
}
.story-img {
  margin-top: 40px;
  border-radius: 14px;
  overflow: hidden;
}
.story-img img { width: 100%; object-fit: cover; }

/* ===================== RESPONSIVE ===================== */
@media (min-width: 720px) {
  .hero-content { padding-bottom: 90px; }
  .menu { padding: 80px 24px 100px; }
}

/* ----- Desktop polish (mobile layout above is untouched) ----- */
@media (min-width: 900px) {
  /* wider, calmer content column so wide screens don't feel empty */
  :root { --maxw: 880px; }

  /* show the nav links inline in the bar; hide the hamburger */
  .hamburger { display: none; }
  .nav-inline {
    display: flex;
    align-items: center;
    gap: 34px;
  }
  .nav-inline a {
    font-family: var(--serif);
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 0.12em;
    color: #fff;
    transition: opacity 0.2s ease, color 0.35s ease;
  }
  .nav-inline a:hover { opacity: 0.65; }
  /* links turn green once the header fades to cream (and on the about page) */
  .site-header.scrolled .nav-inline a,
  .about-page .nav-inline a { color: var(--green); }

  /* hero copy reads far too small at 12px on desktop */
  .hero-content { max-width: 640px; }
  .hero-logo { margin-bottom: 30px; }
  .hero p {
    font-size: 1rem;
    line-height: 1.75;
    max-width: 540px;
    margin-bottom: 36px;
  }

  /* a touch more breathing room in the menu accordion */
  .acc-header { padding: 26px 12px; }
  .acc-panel-inner { padding: 8px 8px 44px; }
  .dish { margin-bottom: 26px; }
  .dish-name { font-size: 1rem; }
  .dish-desc { font-size: 0.95rem; max-width: 80%; }

  /* visit / location section */
  .visit { padding: 90px 28px 80px; }
  .hours li { padding: 22px 0; }
  .map iframe { height: 460px; }
}
