/* ===========================================================
   FoodFirst LLC — stylesheet
   Design intent: editorial, clinical-credible, unhurried.
   Deep evergreen + muted brick accent on warm paper ground.
   Serif (Newsreader) for authority/headlines, Public Sans for
   body and interface text.
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;0,6..72,600;1,6..72,400&family=Public+Sans:wght@400;500;600;700&display=swap');

:root{
  --bg:            #F6F4EE;
  --surface:       #ECE8DC;
  --surface-2:     #E2DCC9;
  --ink:           #23241F;
  --ink-soft:      #55534A;
  --line:          #D9D3C0;
  --green:         #2F4B3C;
  --green-dark:    #1C2F26;
  --green-light:   #4A6B57;
  --green-tint:    #E4E9E1;
  --brick:         #7A3B2A;
  --brick-tint:    #F1E4DD;
  --gold:          #C89A45;
  --gold-dark:     #9C7530;
  --gold-tint:     #F5ECD8;
  --paper:         #FFFDF8;

  --font-display: 'Newsreader', Georgia, 'Times New Roman', serif;
  --font-body: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max: 1120px;
  --gap: clamp(1.25rem, 3vw, 2.5rem);
  --radius: 3px;
}

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

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

body{
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a{ color: inherit; }

h1, h2, h3, h4{
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--green-dark);
}

h1{ font-size: clamp(2.1rem, 4.4vw, 3.2rem); font-weight: 500; }
h2{ font-size: clamp(1.5rem, 2.8vw, 2rem); }
h3{ font-size: 1.2rem; font-weight: 600; font-family: var(--font-body); color: var(--ink); }

p{ margin: 0 0 1.1em; }
p:last-child{ margin-bottom: 0; }

.eyebrow{
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brick);
  letter-spacing: 0.01em;
  margin: 0 0 0.9em;
}

.lede{
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 62ch;
}

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

hr.rule{
  border: none;
  border-top: 1px solid var(--line);
  margin: 3.2rem 0;
}

/* ---------- buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75em 1.4em;
  border-radius: var(--radius);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary{
  background: var(--green);
  color: var(--paper);
}
.btn-primary:hover{ background: var(--green-dark); }
.btn-outline{
  background: transparent;
  color: var(--green-dark);
  border-color: var(--green-dark);
}
.btn-outline:hover{ background: var(--green-tint); }
.btn-row{ display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; margin-top: 1.6rem; }

/* ---------- header / nav ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(246,244,238,0.94);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 1.5rem;
}
.wordmark{
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--green-dark);
  text-decoration: none;
  white-space: nowrap;
}
.wordmark span{ color: var(--brick); }

.nav-toggle{ display: none; }
.nav-toggle-label{ display: none; }

.site-nav{
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.94rem;
  font-weight: 500;
}
.site-nav a{
  text-decoration: none;
  color: var(--ink-soft);
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover,
.site-nav a[aria-current="page"]{
  color: var(--green-dark);
  border-bottom-color: var(--brick);
}
.header-cta{ flex-shrink: 0; }

@media (max-width: 880px){
  .header-inner{ flex-wrap: wrap; }
  .nav-toggle-label{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    cursor: pointer;
    order: 2;
  }
  .nav-toggle-label span,
  .nav-toggle-label span::before,
  .nav-toggle-label span::after{
    content: "";
    display: block;
    width: 18px; height: 2px;
    background: var(--ink);
    position: relative;
  }
  .nav-toggle-label span::before{ position: absolute; top: -6px; }
  .nav-toggle-label span::after{ position: absolute; top: 6px; }
  .header-cta{ order: 3; }
  .site-nav{
    order: 4;
    width: 100%;
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
  }
  .nav-toggle:checked ~ .site-nav{ max-height: 480px; padding-top: 0.5rem; }
  .site-nav a{ padding: 0.7rem 0; border-bottom: 1px solid var(--line); width: 100%; }
}

/* ---------- hero ---------- */
.hero{
  position: relative;
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(2.5rem, 6vw, 4rem);
  overflow: hidden;
  background:
    radial-gradient(560px 420px at 88% -8%, var(--gold-tint) 0%, transparent 70%),
    radial-gradient(480px 380px at 104% 40%, var(--green-tint) 0%, transparent 65%);
}
.hero .eyebrow{ margin-bottom: 1.1em; }
.hero h1{ max-width: 16ch; }
.hero .lede{ margin-top: 1.1rem; font-size: 1.2rem; }
.hero-inner{
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.hero-inner.text-only{ grid-template-columns: 1fr; max-width: 62ch; }
.hero-visual{ position: relative; display: flex; justify-content: center; }
@media (max-width: 860px){
  .hero-inner{ grid-template-columns: 1fr; }
  .hero-visual{ order: -1; max-width: 260px; margin: 0 auto 1rem; }
}

/* organic accent line under eyebrow-led headings */
.hero .eyebrow::after{
  content: "";
  display: block;
  width: 46px; height: 2px;
  background: var(--gold-dark);
  margin-top: 0.7em;
}

/* ---------- photo frame (Anna's headshot, with graceful placeholder) ---------- */
.photo-frame{
  position: relative;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 25% 15%, rgba(255,255,255,0.16), transparent 55%),
    linear-gradient(150deg, var(--green-light) 0%, var(--green-dark) 75%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 10px 10px 0 var(--gold-tint), 0 18px 40px -20px rgba(28,47,38,0.45);
}
.photo-frame img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-frame .monogram{
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 7vw, 4.6rem);
  color: rgba(255,253,248,0.92);
  letter-spacing: 0.02em;
}
.photo-frame::after{
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255,255,255,0.28);
  pointer-events: none;
}
.photo-caption{
  margin-top: 0.9rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
  max-width: 340px;
}

/* ---------- landscape feature photo (hero visuals using real photography) ---------- */
.feature-photo{
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 5 / 4;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 10px 10px 0 var(--gold-tint), 0 18px 40px -20px rgba(28,47,38,0.45);
}
.feature-photo img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feature-photo::after{
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(255,255,255,0.35);
  pointer-events: none;
}

/* ---------- photo grid (food photography strip) ---------- */
.photo-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.photo-grid figure{
  margin: 0;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  position: relative;
}
.photo-grid img{
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}
.photo-grid figure:hover img{ transform: scale(1.04); }
.photo-grid figcaption{
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0.9rem 1rem;
  font-size: 0.85rem;
  color: #FFFDF8;
  background: linear-gradient(to top, rgba(28,47,38,0.75), transparent);
}
@media (max-width: 760px){
  .photo-grid{ grid-template-columns: 1fr 1fr; }
  .photo-grid figure:first-child{ grid-column: 1 / -1; }
}

/* ---------- image + text banner (About lifestyle photo) ---------- */
.banner-photo{
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  position: relative;
}
.banner-photo img{ width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- sections ---------- */
section{ padding: clamp(2.6rem, 6vw, 4.6rem) 0; }
.section-alt{ background: var(--surface); }
.section-head{ max-width: 68ch; margin-bottom: 2.4rem; }

/* ---------- focus area / card grid ---------- */
.grid-3, .grid-2{
  display: grid;
  gap: var(--gap);
}
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-2{ grid-template-columns: repeat(2, 1fr); }
.grid-2 .card:last-child:nth-child(odd){ grid-column: 1 / -1; }
.grid-3 a.card:last-child:nth-child(3n+1){ grid-column: 1 / -1; }
@media (max-width: 860px){
  .grid-3, .grid-2{ grid-template-columns: 1fr; }
}

.card{
  position: relative;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 1.9rem 1.7rem;
  border-radius: var(--radius);
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.card::before{
  content: "";
  position: absolute;
  top: -1px; left: -1px; right: -1px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--brick));
  border-radius: var(--radius) var(--radius) 0 0;
  opacity: 0;
  transition: opacity .18s ease;
}
.card:hover{
  box-shadow: 0 14px 30px -18px rgba(28,47,38,0.35);
  transform: translateY(-3px);
  border-color: transparent;
}
.card:hover::before{ opacity: 1; }
.card .icon{
  width: 34px; height: 34px;
  margin-bottom: 1rem;
  color: var(--green);
}
.card h3{ margin-bottom: 0.5em; }
.card p{ color: var(--ink-soft); font-size: 0.98rem; }
.card .card-link{
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--brick);
  text-decoration: none;
  border-bottom: 1px solid var(--brick);
}

/* ---------- credibility strip ---------- */
.strip{
  background: var(--green-dark);
  padding: 1.1rem 0;
  font-size: 0.9rem;
  color: #DCE4DF;
}
.strip .wrap{
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  justify-content: center;
  text-align: center;
}
.strip span{ position: relative; padding-left: 1.4rem; }
.strip span::before{
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
}
.strip span:first-child{ padding-left: 0; }
.strip span:first-child::before{ display: none; }

/* ---------- pull quote ---------- */
.pull{
  border-left: 3px solid var(--brick);
  padding-left: 1.4rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--green-dark);
  max-width: 58ch;
  margin: 0 0 0.6rem;
}
.pull-attr{ font-size: 0.9rem; color: var(--ink-soft); font-family: var(--font-body); font-style: normal; }

/* ---------- testimonials ---------- */
.testi{
  border: 1px solid var(--line);
  padding: 1.8rem;
  background: var(--paper);
}
.testi p{ font-style: italic; color: var(--ink-soft); }
.testi cite{ display: block; margin-top: 1rem; font-style: normal; font-size: 0.88rem; color: var(--ink-soft); }

/* ---------- guide / product blocks ---------- */
.guide{
  position: relative;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  background: var(--paper);
  padding: 2rem 2rem 2rem 1.85rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: start;
}
.guide-price{
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--brick);
  white-space: nowrap;
  background: var(--brick-tint);
  padding: 0.3em 0.7em;
  border-radius: var(--radius);
}
.guide ul{ margin: 1rem 0 0; padding-left: 1.2rem; color: var(--ink-soft); }
.guide li{ margin-bottom: 0.35rem; }
@media (max-width: 640px){
  .guide{ grid-template-columns: 1fr; }
}

/* ---------- table (session lengths, comparisons) ---------- */
table.simple{
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
}
table.simple th, table.simple td{
  text-align: left;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--line);
}
table.simple th{
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--green-dark);
}

/* ---------- callout / note boxes ---------- */
.note{
  background: var(--green-tint);
  border-left: 3px solid var(--green);
  padding: 1.3rem 1.5rem;
  font-size: 0.96rem;
  color: var(--ink-soft);
  margin: 1.6rem 0;
}
.note strong{ color: var(--green-dark); }
.note-warm{
  background: var(--brick-tint);
  border-left-color: var(--brick);
}

/* ---------- checklist ---------- */
.checklist{ list-style: none; margin: 0; padding: 0; }
.checklist li{
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.6rem;
  color: var(--ink-soft);
}
.checklist li::before{
  content: "";
  position: absolute;
  left: 0; top: 0.5em;
  width: 8px; height: 8px;
  background: var(--brick);
  border-radius: 50%;
}

/* ---------- steps (genuinely sequential) ---------- */
.steps{ counter-reset: step; }
.step{
  display: flex;
  gap: 1.3rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
}
.step:last-child{ border-bottom: none; }
.step::before{
  counter-increment: step;
  content: counter(step);
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--brick);
  flex-shrink: 0;
  width: 2ch;
}

/* ---------- CTA band ---------- */
.cta-band{
  position: relative;
  overflow: hidden;
  background: var(--green-dark);
  background-image:
    radial-gradient(500px 300px at 8% 120%, rgba(200,154,69,0.18), transparent 60%),
    radial-gradient(420px 320px at 96% -20%, rgba(255,255,255,0.06), transparent 65%);
  color: var(--paper);
  padding: clamp(2.4rem, 6vw, 3.6rem) 0;
  text-align: left;
}
.cta-band h2{ color: var(--paper); margin-bottom: 0.3em; }
.cta-band p{ color: #D9E0DA; max-width: 56ch; }
.cta-band .btn-primary{ background: var(--brick); }
.cta-band .btn-primary:hover{ background: #5F2E20; }
.cta-band .btn-outline{ color: var(--paper); border-color: rgba(255,255,255,0.5); }
.cta-band .btn-outline:hover{ background: rgba(255,255,255,0.08); }

/* ---------- footer ---------- */
.site-footer{
  border-top: 1px solid var(--line);
  padding: 3.2rem 0 2.2rem;
  background: var(--surface);
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.2rem;
}
.footer-grid h4{
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 0.9em;
}
.footer-grid ul{ list-style: none; margin: 0; padding: 0; }
.footer-grid li{ margin-bottom: 0.5rem; }
.footer-grid a{ text-decoration: none; color: var(--ink-soft); }
.footer-grid a:hover{ color: var(--brick); }
.footer-brand p{ color: var(--ink-soft); max-width: 32ch; }
@media (max-width: 760px){
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}
.disclaimer{
  border-top: 1px solid var(--line);
  padding-top: 1.6rem;
  font-size: 0.82rem;
  color: #7A7768;
  line-height: 1.6;
}
.copyright{ margin-top: 1rem; font-size: 0.82rem; color: #8A8776; }

/* ---------- article pages ---------- */
.article-meta{
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-top: 0.6rem;
}
.article-content{
  max-width: 68ch;
}
.article-content h2{
  margin-top: 2.2rem;
}
.article-content p{
  color: var(--ink-soft);
  font-size: 1.03rem;
}
.back-link{
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brick);
  text-decoration: none;
  margin-bottom: 1.6rem;
}
a.card{
  text-decoration: none;
  display: block;
}
.center{ text-align: center; }
.two-col{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  align-items: start;
}
@media (max-width: 800px){
  .two-col{ grid-template-columns: 1fr; }
}
.tag-list{
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}
.tag{
  font-size: 0.82rem;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 0.35em 0.9em;
  border-radius: 20px;
  color: var(--green-dark);
  font-weight: 500;
}

.ribbon{
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--paper);
  background: var(--gold-dark);
  padding: 0.3em 0.8em;
  border-radius: 20px;
  margin-bottom: 0.8rem;
}
