/* =========================================================
   Inwood Gourmet — Design Tokens
   ========================================================= */
:root {
  --olive: #2E4034;
  --olive-dark: #223026;
  --terracotta: #C9502A;
  --terracotta-dark: #a83f1e;
  --cream: #F4EDE0;
  --cream-dark: #ece2cf;
  --espresso: #1C1A16;
  --gold: #D9A441;
  --sage: #7A8B72;
  --white: #fffdf9;

  --font-display: "Fraunces", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --radius: 14px;
  --shadow-soft: 0 12px 30px -14px rgba(28, 26, 22, 0.35);

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* =========================================================
   Reset
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body, h1, h2, h3, p, blockquote, figure { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--espresso);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--espresso);
  padding: 12px 20px;
  z-index: 200;
  border-radius: 0 0 8px 0;
  font-weight: 600;
}
.skip-link:focus {
  left: 0;
}

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

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--terracotta);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover { background: var(--terracotta-dark); }

.btn-accent {
  background: var(--gold);
  color: var(--espresso);
}
.btn-accent:hover { background: #c8912f; }

.btn-ghost {
  background: transparent;
  border-color: var(--olive);
  color: var(--olive);
}
.btn-ghost:hover { background: var(--olive); color: var(--cream); }

.btn-ghost-light {
  border-color: var(--cream);
  color: var(--cream);
}
.btn-ghost-light:hover { background: var(--cream); color: var(--olive); }

.btn-ghost-outline {
  background: transparent;
  border-color: var(--sage);
  color: var(--espresso);
}
.btn-ghost-outline:hover { background: var(--sage); color: var(--white); }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 237, 224, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(46, 64, 52, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--olive);
  letter-spacing: -0.01em;
}
.wordmark span { color: var(--terracotta); font-style: italic; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  z-index: 110;
}
.nav-toggle-bar {
  width: 26px;
  height: 2.5px;
  background: var(--olive);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 500;
  font-size: 0.95rem;
}
.site-nav a { color: var(--espresso); transition: color 0.2s; padding: 4px 0; }
.site-nav a:hover { color: var(--terracotta); }
.nav-cta {
  background: var(--olive);
  color: var(--cream) !important;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
}
.nav-cta:hover { background: var(--olive-dark); color: var(--cream) !important; }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed;
    inset: 0 0 0 auto;
    height: 100vh;
    width: min(320px, 84vw);
    background: var(--olive);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 26px;
    padding: 32px;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.3s var(--ease), visibility 0s linear 0.3s;
  }
  .site-nav.is-open {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.3s var(--ease), visibility 0s linear 0s;
  }
  .site-nav a { color: var(--cream); font-size: 1.15rem; }
  .nav-cta { margin-top: 12px; }
}

/* =========================================================
   Reveal-on-scroll
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.no-js .reveal { opacity: 1; transform: none; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  background: var(--olive);
  color: var(--cream);
  padding: 128px 0 96px;
  overflow: hidden;
}

.hero-motif {
  position: absolute;
  right: -60px;
  top: -60px;
  width: 380px;
  height: 380px;
  opacity: 0.5;
}
@media (max-width: 700px) {
  .hero-motif { width: 220px; height: 220px; right: -50px; top: -30px; }
}

.hero-inner { position: relative; max-width: 720px; }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--terracotta);
  margin-bottom: 18px;
}
.eyebrow-light { color: var(--gold); }

.hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 26px;
}
.hero-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
}

.hero-lede {
  font-size: 1.15rem;
  max-width: 52ch;
  color: rgba(244, 237, 224, 0.88);
  margin-bottom: 40px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* =========================================================
   Section titles / shared
   ========================================================= */
.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  letter-spacing: -0.015em;
  margin-bottom: 20px;
  color: var(--olive);
}
.title-light { color: var(--cream); }

.jar-lid {
  display: inline-block;
  width: 34px;
  height: 34px;
  color: var(--terracotta);
  margin-bottom: 14px;
}
.jar-lid-lg { width: 52px; height: 52px; }

/* =========================================================
   What We Carry
   ========================================================= */
.carry { padding: 100px 0; }

.carry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.carry-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(46, 64, 52, 0.08);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.carry-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -18px rgba(28, 26, 22, 0.4);
}

.carry-card-wide { grid-column: span 2; }
@media (max-width: 700px) {
  .carry-card-wide { grid-column: span 1; }
}

.carry-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--sage);
  margin-bottom: 8px;
}

.carry-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--olive);
  margin-bottom: 12px;
}

.carry-card p { color: var(--espresso); font-size: 0.98rem; }

/* =========================================================
   Veggie Box
   ========================================================= */
.veggie-box {
  background: var(--terracotta-dark);
  color: var(--white);
  padding: 96px 0;
}

.veggie-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 800px) {
  .veggie-inner { grid-template-columns: 1fr; }
  .veggie-motif { order: -1; width: 160px; margin: 0 auto; }
}

.veggie-lede {
  font-size: 1.1rem;
  max-width: 56ch;
  margin: 20px 0 32px;
  color: var(--cream);
}
.veggie-lede strong { color: var(--white); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }

.veggie-motif { justify-self: end; width: 220px; }

/* =========================================================
   Cookbook
   ========================================================= */
.cookbook { padding: 100px 0; }
.cookbook-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.cookbook-lede {
  font-size: 1.08rem;
  margin: 18px 0 32px;
}

/* =========================================================
   Reviews
   ========================================================= */
.reviews {
  background: var(--cream-dark);
  padding: 100px 0;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.review-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  border-left: 4px solid var(--gold);
  box-shadow: var(--shadow-soft);
}
.review-card p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.12rem;
  line-height: 1.5;
  color: var(--espresso);
  margin-bottom: 16px;
}
.review-card cite {
  font-style: normal;
  font-weight: 600;
  color: var(--terracotta);
  font-size: 0.9rem;
}

/* =========================================================
   Visit
   ========================================================= */
.visit {
  background: var(--olive);
  color: var(--cream);
  padding: 100px 0;
}

.visit-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
@media (max-width: 860px) {
  .visit-inner { grid-template-columns: 1fr; }
}

.visit-fact { margin-bottom: 20px; font-size: 1.02rem; }
.visit-fact a { color: var(--gold); }
.visit-fact a:hover { text-decoration: underline; }

.visit-hours {
  font-size: 0.95rem;
  color: rgba(244, 237, 224, 0.75);
  margin-bottom: 32px;
  font-style: italic;
}

.visit-form {
  background: var(--white);
  color: var(--espresso);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow-soft);
}

.form-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--olive);
}

.visit-form label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 6px;
  margin-top: 16px;
}
.visit-form label:first-of-type { margin-top: 0; }

.visit-form input,
.visit-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid rgba(46, 64, 52, 0.25);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  background: var(--cream);
  color: var(--espresso);
  resize: vertical;
}
.visit-form input:focus,
.visit-form textarea:focus {
  border-color: var(--terracotta);
}

.form-actions {
  display: flex;
  gap: 14px;
  margin-top: 24px;
}

.form-note {
  margin-top: 14px;
  font-size: 0.9rem;
  color: var(--sage);
  min-height: 1.2em;
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--espresso);
  color: var(--cream);
  padding: 56px 0 32px;
}

.footer-inner { text-align: center; }

.wordmark-footer {
  font-size: 1.3rem;
  margin-bottom: 20px;
  display: inline-block;
  color: var(--cream);
}
.wordmark-footer span { color: var(--gold); }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  margin-bottom: 20px;
  font-size: 0.92rem;
}
.footer-nav a:hover { color: var(--gold); }

.footer-fact { font-size: 0.92rem; margin-bottom: 8px; color: rgba(244,237,224,0.85); }
.footer-social { margin-bottom: 20px; }
.footer-social a { color: var(--gold); font-weight: 600; }
.footer-social a:hover { text-decoration: underline; }

.footer-copy {
  font-size: 0.8rem;
  color: rgba(244, 237, 224, 0.5);
  border-top: 1px solid rgba(244, 237, 224, 0.15);
  padding-top: 24px;
}

/* =========================================================
   Responsive tuning
   ========================================================= */
@media (max-width: 500px) {
  .hero { padding: 108px 0 72px; }
  .carry, .cookbook, .reviews, .visit { padding: 72px 0; }
  .veggie-box { padding: 64px 0; }
  .visit-form { padding: 28px 22px; }
}
