/* ============================================================
   Great Lakes Food Reserve — shared styles
   Palette:
     --pine     #1B2B21  deep forest (primary dark)
     --charcoal #1A1611  warm near-black (text)
     --parchment #F4EEDF paper background
     --wheat    #EDE3C8  secondary light surface
     --gold     #C89A3B  harvest gold (primary accent)
     --rust     #A4472B  brick rust (secondary accent / CTA)
     --lake     #35606E  muted Great Lakes teal
   Type:
     Display — 'Big Shoulders Display' (condensed, Great-Lakes/Rust-Belt signage heritage)
     Body    — 'Libre Franklin'
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@600;700;800;900&family=Libre+Franklin:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root{
  --pine: #1B2B21;
  --pine-2: #223b29;
  --charcoal: #1A1611;
  --parchment: #F4EEDF;
  --wheat: #EAE0C4;
  --gold: #C89A3B;
  --gold-2: #E3B94F;
  --rust: #A4472B;
  --lake: #35606E;
  --line: rgba(26,22,17,0.14);
  --line-light: rgba(244,238,223,0.22);
  --shadow: 0 10px 30px rgba(20,20,10,0.16);
  --radius: 3px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--parchment);
  color: var(--charcoal);
  font-family: 'Libre Franklin', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4{
  font-family: 'Big Shoulders Display', system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 0.95;
  margin: 0 0 0.4em;
  color: var(--pine);
}

h1{ font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 900; }
h2{ font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3{ font-size: 1.5rem; font-weight: 700; }

p{ margin: 0 0 1em; max-width: 62ch; }

a{ color: inherit; }

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

.wrap{
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- focus ---------- */
a:focus-visible, button:focus-visible, input:focus-visible{
  outline: 3px solid var(--lake);
  outline-offset: 2px;
}

/* ---------- header / nav ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--pine);
  border-bottom: 3px solid var(--gold);
}

.nav{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 28px;
  max-width: 1180px;
  margin: 0 auto;
  gap: 20px;
}

.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--parchment);
}

.brand img{
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
}

.brand-text{
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 800;
  font-size: 1.32rem;
  line-height: 1;
  letter-spacing: 0.01em;
}
.brand-text span{
  display: block;
  font-family: 'Libre Franklin', sans-serif;
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--gold-2);
  margin-top: 3px;
}

.nav-links{
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a{
  color: var(--parchment);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease;
}
.nav-links a:hover{ border-color: var(--gold); }
.nav-links a.current{ border-color: var(--gold-2); color: var(--gold-2); }

.nav-cart{
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--charcoal);
  border: none;
  font-weight: 700;
  font-family: 'Libre Franklin', sans-serif;
  padding: 9px 16px;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.95rem;
}
.nav-cart:hover{ background: var(--gold-2); }
.nav-cart .count{
  background: var(--rust);
  color: var(--parchment);
  border-radius: 50%;
  min-width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  padding: 0 4px;
}

.nav-toggle{
  display: none;
  background: none;
  border: 2px solid var(--gold);
  color: var(--parchment);
  border-radius: var(--radius);
  padding: 6px 10px;
  font-size: 1.1rem;
  cursor: pointer;
}

/* ---------- buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
  border-radius: var(--radius);
  padding: 14px 26px;
  font-family: 'Libre Franklin', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:hover{ transform: translateY(-1px); }

.btn-primary{ background: var(--rust); color: var(--parchment); box-shadow: var(--shadow); }
.btn-primary:hover{ background: #8f3c24; }

.btn-secondary{ background: transparent; color: var(--pine); border: 2px solid var(--pine); padding: 12px 24px; }
.btn-secondary:hover{ background: var(--pine); color: var(--parchment); }

.btn-gold{ background: var(--gold); color: var(--charcoal); }
.btn-gold:hover{ background: var(--gold-2); }

.btn-block{ width: 100%; justify-content: center; }

/* ---------- section labels ---------- */
.kicker{
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--rust);
  font-size: 0.92rem;
  margin-bottom: 14px;
}
.kicker::before{
  content: '';
  width: 10px;
  height: 10px;
  background: var(--rust);
  transform: rotate(45deg);
  flex: none;
}

section{ padding: 88px 0; }

.divider{
  border: none;
  border-top: 1px solid var(--line);
  margin: 0;
}

/* ---------- footer ---------- */
.site-footer{
  background: var(--charcoal);
  color: var(--wheat);
  padding: 56px 0 26px;
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-grid h4{
  color: var(--gold-2);
  font-family: 'Libre Franklin', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}
.footer-grid a{
  color: var(--wheat);
  text-decoration: none;
  opacity: 0.9;
}
.footer-grid a:hover{ opacity: 1; text-decoration: underline; }
.footer-grid ul{ list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-bottom{
  border-top: 1px solid rgba(244,238,223,0.15);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
  opacity: 0.75;
}
.motto{
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--parchment);
  margin-bottom: 6px;
}

/* ---------- contour SVG divider motif ---------- */
.contour{
  display: block;
  width: 100%;
  height: auto;
}

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

@media (prefers-reduced-motion: reduce){
  *{ scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* ---------- home page grids ---------- */
.hero-grid{ display:grid; grid-template-columns: 1.15fr 0.85fr; gap:48px; }
.why-grid{ display:grid; grid-template-columns: 1fr 1fr; gap:56px; }
.features-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:32px; }
.story-grid{ display:grid; grid-template-columns: 1fr 1fr; gap:56px; }

@media (max-width: 900px){
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .hero-grid, .why-grid, .features-grid, .story-grid{ grid-template-columns: 1fr; }
  .story-grid > div:first-child{ order: 2; }
}

@media (max-width: 760px){
  .nav-links{
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--pine);
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 28px 24px;
    display: none;
    border-bottom: 3px solid var(--gold);
  }
  .nav-links.open{ display: flex; }
  .nav-toggle{ display: inline-flex; }
  section{ padding: 56px 0; }
  .footer-grid{ grid-template-columns: 1fr; gap: 28px; }
}
