/* ============================================================
   Casablanca Hummus — brand tokens
   Palette drawn from the product itself: olive oil, chickpea,
   toasted paprika, tahini — not a generic template palette.
   ============================================================ */
:root {
  --cream:      #F4EFDE;  /* base background — unbleached paper */
  --paper:      #FFFDF6;  /* card surfaces */
  --ink:        #2B2418;  /* warm near-black, not pure black */
  --ink-soft:   #5B5343;
  --olive:      #55671F;  /* primary — olive branch */
  --olive-dark: #384419;
  --spice:      #A8532B;  /* toasted paprika accent, used sparingly */
  --gold:       #C69A3D;  /* tahini gold, secondary accent */
  --sage:       #E6E8D2;  /* soft card background */
  --line:       #D8D0B8;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Work Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "Space Mono", "Courier New", monospace;

  --max-width: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

a { color: var(--olive-dark); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--spice);
  outline-offset: 2px;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header / nav ---------- */
.site-header {
  background: var(--olive-dark);
  color: var(--cream);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  flex-wrap: wrap;
  gap: 12px;
}
.brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.brand span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-top: 2px;
}
nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
nav.main-nav a {
  color: var(--cream);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  padding-bottom: 3px;
}
nav.main-nav a:hover,
nav.main-nav a[aria-current="page"] {
  border-bottom-color: var(--gold);
}

/* ---------- Hero ---------- */
.hero {
  background: var(--olive);
  color: var(--cream);
  padding: 64px 0 56px;
  position: relative;
}
.hero .wrap { max-width: 760px; }
.hero .eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin: 0 0 14px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.08;
  margin: 0 0 18px;
  font-weight: 600;
}
.hero p.lede {
  font-size: 1.15rem;
  color: #EDE9D6;
  max-width: 46ch;
  margin: 0 0 26px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 3px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--gold);
  color: var(--ink);
}
.btn-primary:hover { background: #D6AC52; }
.btn-outline {
  border-color: var(--cream);
  color: var(--cream);
}
.btn-outline:hover { background: rgba(255,255,255,0.08); }

/* stitched divider — recipe-card motif used sparingly as the page's signature */
.stitch-divider {
  border: none;
  border-top: 2px dashed var(--line);
  margin: 48px 0;
}

/* ---------- Sections ---------- */
main { padding-bottom: 64px; }
.section { padding: 56px 0 8px; }
.section h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin: 0 0 8px;
  color: var(--olive-dark);
}
.section .section-intro {
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 0 0 32px;
}

/* ---------- Product grid ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 28px;
}
.product-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 24px;
}
.product-card .swatch {
  width: 40px;
  height: 6px;
  border-radius: 3px;
  margin-bottom: 16px;
  background: var(--olive);
}
.product-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 10px;
  color: var(--olive-dark);
}
.product-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

/* ---------- Find us / store list ---------- */
.city-group { margin-bottom: 30px; }
.city-group h3 {
  font-family: var(--font-display);
  color: var(--spice);
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
  margin-bottom: 12px;
}
.store-list {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: 32px;
}
.store-list li {
  padding: 7px 0;
  border-bottom: 1px dotted var(--line);
  break-inside: avoid;
  font-size: 0.95rem;
}
@media (max-width: 600px) {
  .store-list { columns: 1; }
}

/* ---------- Recipe card (signature element) ---------- */
.recipe-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0;
  overflow: hidden;
  margin-top: 24px;
}
.recipe-card .recipe-head {
  background: var(--sage);
  padding: 22px 28px;
  border-bottom: 2px dashed var(--line);
}
.recipe-card .recipe-head h3 {
  font-family: var(--font-display);
  margin: 0;
  font-size: 1.5rem;
  color: var(--olive-dark);
}
.recipe-body {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 32px;
  padding: 28px;
}
@media (max-width: 700px) {
  .recipe-body { grid-template-columns: 1fr; }
}
.recipe-body h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--spice);
  margin: 0 0 12px;
}
.recipe-body ul { margin: 0; padding-left: 18px; }
.recipe-body li { margin-bottom: 6px; }
.recipe-steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.recipe-steps li {
  counter-increment: step;
  position: relative;
  padding-left: 40px;
  margin-bottom: 20px;
}
.recipe-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 0;
  width: 26px; height: 26px;
  background: var(--olive);
  color: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
}

/* ---------- Nutrition facts label (signature element) ---------- */
.nutrition-label {
  background: var(--paper);
  border: 3px solid var(--ink);
  max-width: 340px;
  padding: 10px 16px 16px;
  font-family: var(--font-mono);
  margin-bottom: 32px;
}
.nutrition-label h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin: 0 0 4px;
  border-bottom: 8px solid var(--ink);
  padding-bottom: 4px;
}
.nutrition-label .nl-sub {
  border-bottom: 1px solid var(--ink);
  padding-bottom: 6px;
  margin-bottom: 6px;
  font-size: 0.85rem;
}
.nutrition-label .nl-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--ink);
  padding: 4px 0;
  font-size: 0.85rem;
}
.nutrition-label .nl-row.thick { border-bottom-width: 5px; }
.nutrition-label .nl-cal {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 5px solid var(--ink);
  padding: 4px 0;
  margin-bottom: 4px;
}
.nutrition-label .nl-cal strong { font-size: 1.7rem; }
.nutrition-label .nl-note {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: var(--ink-soft);
  margin-top: 8px;
  line-height: 1.4;
}
.nutrition-todo {
  background: var(--sage);
  border: 1px dashed var(--olive);
  border-radius: 4px;
  padding: 16px 20px;
  font-size: 0.92rem;
  color: var(--olive-dark);
  margin-bottom: 36px;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  margin-top: 24px;
}
.contact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 22px;
}
.contact-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--spice);
  margin: 0 0 10px;
}
.contact-card p { margin: 0; color: var(--ink-soft); }
.contact-card a { font-weight: 600; }

/* ---------- Photo placeholder ---------- */
.photo-placeholder {
  background: repeating-linear-gradient(135deg, var(--sage), var(--sage) 10px, var(--paper) 10px, var(--paper) 20px);
  border: 1px dashed var(--olive);
  border-radius: 4px;
  color: var(--olive-dark);
  font-size: 0.82rem;
  text-align: center;
  padding: 40px 16px;
  margin-bottom: 32px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #C9C3AF;
  padding: 32px 0;
  font-size: 0.85rem;
}
.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.site-footer a { color: #C9C3AF; }
.b {
}
