/* BANG Pickled Jalapeños — banginjar.com */
:root {
  --green: #1F4D2B;
  --green-mid: #3E7B47;
  --green-soft: #CFE3CF;
  --green-line: #8DB495;
  --cream: #F7F4E6;
  --cream-dark: #EFEAD2;
  --line: #DCD8C2;
  --ink: #1B2A1F;
  --ink-soft: #33463A;
  --muted: #5A6B5F;
  --accent: #B8322A;
  --mustard: #E7C873;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Inter, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--green); }
a:hover { color: var(--accent); }

h1, h2, h3, .display { font-family: Fredoka, sans-serif; color: var(--green); margin: 0; }
p { margin: 0; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

.eyebrow {
  font-weight: 600; font-size: 14px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--accent);
}

.h2 { font-weight: 700; font-size: clamp(36px, 4.5vw, 56px); line-height: 1.05; }

.stack { display: flex; flex-direction: column; gap: 20px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; min-height: 52px; padding: 0 28px;
  border-radius: 999px; font-weight: 600; text-decoration: none;
  border: 2px solid var(--green);
}
.btn-solid { background: var(--green); color: var(--cream); }
.btn-solid:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-outline { color: var(--green); }
.btn-outline:hover { background: var(--green); color: var(--cream); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Nav */
.site-header { border-bottom: 1px solid var(--line); }
.site-nav {
  padding-top: 20px; padding-bottom: 20px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.logo {
  font-family: Fredoka, sans-serif; font-weight: 700; font-size: 34px;
  letter-spacing: 1px; color: var(--green); text-decoration: none;
}
.nav-links { display: flex; flex-wrap: wrap; gap: 8px 28px; font-weight: 500; font-size: 16px; }
.nav-links a { text-decoration: none; padding: 10px 0; }

/* Hero */
.hero {
  padding-top: 72px; padding-bottom: 88px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 48px;
}
.hero-text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-weight: 700; font-size: clamp(48px, 7vw, 92px); line-height: 0.98; }
.hero-lead { font-size: 20px; max-width: 520px; color: var(--ink-soft); }
.hero-art { flex: 1 1 420px; min-width: 0; display: flex; justify-content: center; align-items: center; position: relative; }
.hero-blob {
  position: absolute; width: 86%; aspect-ratio: 1 / 1;
  border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; background: var(--green-soft);
}
.hero-art img { position: relative; width: 100%; max-width: 480px; }

/* Fact strip */
.band-green { background: var(--green); color: var(--cream); }
.band-green h2, .band-green .display { color: var(--cream); }
.facts {
  padding-top: 40px; padding-bottom: 40px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px;
}
.fact { display: flex; gap: 16px; align-items: flex-start; }
.fact svg { flex: none; }
.fact-title { font-family: Fredoka, sans-serif; font-weight: 600; font-size: 22px; }
.fact-text { margin-top: 4px; color: #D6E4D6; font-size: 16px; }

/* Sections */
.section { padding-top: 104px; padding-bottom: 104px; }
.split { display: flex; flex-wrap: wrap; gap: 56px; }
.split-center { align-items: center; }
.col { flex: 1 1 420px; min-width: 0; }
.body-soft { color: var(--ink-soft); }

/* The jar */
.specs {
  margin: 8px 0 0; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px;
}
.spec { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.spec dt { font-weight: 600; font-size: 14px; color: var(--muted); }
.spec dd { margin: 6px 0 0; }

.pairings {
  flex: 1 1 380px; min-width: 0; background: var(--green-soft);
  border-radius: 28px; padding: 40px; display: flex; flex-direction: column; gap: 20px;
}
.pairings h3 { font-weight: 600; font-size: 30px; }
.chips { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { background: var(--cream); border-radius: 999px; padding: 8px 18px; font-weight: 500; }
.brine-tip { border-top: 2px dashed var(--green-line); padding-top: 20px; }
.brine-tip .display { font-weight: 600; font-size: 22px; color: var(--accent); }
.brine-tip p + p { margin-top: 6px; color: #23402B; }

/* Story */
.band-cream { background: var(--cream-dark); }
.photo-placeholder {
  flex: 1 1 380px; min-width: 0; aspect-ratio: 4 / 5; max-height: 560px;
  border-radius: 28px; background: #D9D3B6; border: 2px dashed #A9A283;
  display: flex; align-items: center; justify-content: center;
  color: #5E583F; font-weight: 500; text-align: center; padding: 24px;
}
.story-photo { flex: 1 1 380px; min-width: 0; border-radius: 28px; overflow: hidden; }
.story-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.signature { margin-top: 8px; font-family: Fredoka, sans-serif; font-weight: 500; font-size: 26px; color: var(--accent); }

/* Recipes grid */
.recipes-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 16px; margin-bottom: 40px;
}
.recipes-head > p { max-width: 420px; color: var(--ink-soft); }
.recipe-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: 24px; overflow: hidden; text-decoration: none; color: var(--ink);
}
a.card { transition: transform .15s ease, box-shadow .15s ease; }
a.card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(31, 77, 43, .12); color: var(--ink); }
.card-art { height: 180px; display: flex; align-items: center; justify-content: center; }
.card-body { padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.card-meta { font-size: 14px; font-weight: 600; color: var(--muted); }
.card h3 { font-weight: 600; font-size: 26px; }
.card-text { color: var(--ink-soft); }
.card-link { margin-top: 8px; font-weight: 600; color: var(--accent); }

/* Find us */
.find { padding-top: 96px; padding-bottom: 96px; }
.find .eyebrow { color: var(--green-soft); }
.find-sub { color: #D6E4D6; }
.place { background: var(--cream); color: var(--ink); border-radius: 20px; padding: 24px; }
.place .display { font-weight: 600; font-size: 22px; color: var(--green); }
.place p + p { margin-top: 4px; color: var(--ink-soft); }
.btn-light { background: var(--cream); color: var(--green); border-color: var(--cream); }
.btn-light:hover { background: #fff; color: var(--accent); }
.btn-ghost-light { color: var(--cream); border-color: var(--cream); }
.btn-ghost-light:hover { background: var(--cream); color: var(--green); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.footer-inner {
  padding-top: 40px; padding-bottom: 40px;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px;
  font-size: 15px; color: var(--muted);
}
.footer-logo { font-family: Fredoka, sans-serif; font-weight: 700; font-size: 26px; color: var(--green); }
.footer-legal { font-size: 13px; }

/* Recipe page */
.recipe-hero { padding-top: 80px; padding-bottom: 80px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.recipe-hero .eyebrow { color: var(--green-soft); }
.recipe-hero h1 { color: var(--cream); font-weight: 700; font-size: clamp(44px, 6vw, 80px); line-height: 1; }
.recipe-lead { font-size: 20px; color: #D6E4D6; max-width: 560px; }
.pills { margin: 8px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 12px; }
.pills li { border: 1.5px solid var(--green-line); border-radius: 999px; padding: 8px 18px; font-weight: 500; }
.recipe-photo-placeholder {
  flex: 1 1 380px; min-width: 0; aspect-ratio: 4 / 3; border-radius: 28px;
  background: #2E6239; border: 2px dashed var(--green-line);
  display: flex; align-items: center; justify-content: center;
  color: var(--green-soft); font-weight: 500; text-align: center; padding: 24px;
}
.recipe-body { padding-top: 88px; padding-bottom: 88px; display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.ingredients {
  flex: 1 1 320px; min-width: 0; background: #fff; border: 1px solid var(--line);
  border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 16px;
}
.ingredients h2, .method h2 { font-weight: 600; font-size: 30px; }
.ingredients ul { margin: 0; padding: 0 0 0 20px; display: flex; flex-direction: column; gap: 10px; }
.method { flex: 2 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.steps { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 20px; counter-reset: step; }
.steps li { display: flex; gap: 20px; align-items: flex-start; counter-increment: step; }
.steps li::before {
  content: counter(step); flex: none; width: 44px; height: 44px; border-radius: 999px;
  background: var(--accent); color: #fff; font-family: Fredoka, sans-serif; font-weight: 600; font-size: 20px;
  display: flex; align-items: center; justify-content: center;
}
.steps p { margin-top: 8px; }
.tip { background: var(--green-soft); border-radius: 20px; padding: 24px; }
.tip .display { font-weight: 600; font-size: 22px; }
.tip p + p { margin-top: 6px; color: #23402B; }
.recipe-cta { padding-bottom: 96px; }

/* Accessibility */
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  a.card { transition: none; }
}
