/* ===============================
   Reset & Base (mobile-first)
   Industrial Modern theme for Schild & Salbei
   =============================== */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
}
* { box-sizing: border-box; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select { font: inherit; }

:root {
  /* Brand */
  --brand-primary: #1D3B2E;  /* deep evergreen */
  --brand-secondary: #E17C3A; /* copper */
  --brand-accent: #F6FAF5;    /* light accent */

  /* Industrial Modern neutrals */
  --bg: #0f1214;             /* page background */
  --surface-1: #111418;      /* header/footer */
  --surface-2: #151a1f;      /* cards/bars */
  --surface-3: #1b2127;      /* hover/depth */
  --line: #2a3036;           /* steel line */
  --metal-1: #9AA3AE;        /* steel light */
  --metal-2: #7D8792;        /* steel mid */

  --text: #D8DEE4;           /* primary text */
  --muted: #ABB4BE;          /* muted text */
  --ink: #0E1113;            /* dark ink for light cards */

  --radius-s: 6px;
  --radius-m: 10px;
  --radius-l: 14px;

  --shadow-1: 0 2px 10px rgba(0,0,0,0.25);
  --shadow-2: 0 10px 30px rgba(0,0,0,0.35);

  --focus: 0 0 0 3px rgba(225,124,58,0.35);
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Trebuchet MS", "Segoe UI", Tahoma, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography scale */
h1, h2, h3, h4, h5, h6 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #E6ECF1;
}
h1 { font-size: 32px; line-height: 1.2; }
h2 { font-size: 24px; margin-bottom: 14px; }
h3 { font-size: 20px; }
h4 { font-size: 18px; }
p, li { font-size: 16px; }
small { font-size: 14px; color: var(--muted); }
strong { color: #F0F4F8; font-weight: 700; }
em { color: #E2E8EE; }

p { margin-bottom: 14px; }

/* Links */
a { color: var(--brand-secondary); transition: color .2s ease, opacity .2s ease; }
a:hover { color: #F18A4E; }
a:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }

/* Containers & layout wrappers (flex-only) */
.container {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

/* Mandatory spacing and alignment patterns */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.content-grid { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; }
.text-image-section { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.testimonial-card { display: flex; align-items: center; gap: 20px; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* Cards and surfaces */
.card,
.feature-item,
.recipe-card,
.pillar-card,
.plan,
.service-card,
.post-cards-grid article,
.faq-snippet,
.badges,
.filter-bar,
.sorting-controls,
.category-pills,
.tag-cloud,
.editor-choice-row,
.editor-picks-row,
.seasonal-picks-row,
.dietary-badges-legend,
.dietary-tags-overview,
.timeline-snippet,
.press-mentions-teaser,
.research-partners-list,
.impact-metrics,
.app-preview-teasers,
.policy-links-snippet,
.directions-links {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 18px;
  box-shadow: var(--shadow-1);
}

/* Header */
.site-header {
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--surface-1);
  border-bottom: 1px solid var(--line);
}
.site-header .container { padding-top: 12px; padding-bottom: 12px; }
.site-header .content-wrapper {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.logo { display: flex; align-items: center; }
.logo img { height: 30px; width: auto; filter: grayscale(10%) contrast(110%); }

.main-nav {
  display: none; /* mobile: hidden */
  align-items: center;
  gap: 18px;
}
.main-nav a {
  color: var(--text);
  padding: 8px 10px;
  border-radius: var(--radius-s);
  border: 1px solid transparent;
}
.main-nav a:hover { border-color: var(--line); background: var(--surface-2); }

/* Buttons */
.button, .button.primary, .mobile-menu-toggle, .mobile-menu-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid var(--metal-2);
  color: var(--text);
  background: var(--surface-2);
  cursor: pointer;
  transition: background .2s ease, transform .1s ease, border-color .2s ease, color .2s ease;
}
.button:hover { background: var(--surface-3); border-color: var(--metal-1); }
.button:active { transform: translateY(1px); }
.button.primary {
  background: var(--brand-secondary);
  border-color: #C3642F;
  color: #fff;
}
.button.primary:hover { background: #F18A4E; border-color: #DA7A42; }
.button:focus-visible { outline: none; box-shadow: var(--focus); }

/* Mobile menu */
.mobile-menu-toggle {
  background: var(--brand-primary);
  color: #fff;
  border-color: #274D3B;
  font-size: 18px;
  width: 44px; height: 40px;
}

.mobile-menu {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: auto;
  width: 100%; max-width: 360px;
  background: var(--surface-1);
  border-left: 1px solid var(--line);
  transform: translateX(100%);
  transition: transform .3s ease;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  padding: 18px;
  gap: 14px;
}
/* Open states supported */
.mobile-menu.open,
.mobile-menu.active,
body.menu-open .mobile-menu { transform: translateX(0); }

.mobile-menu-close {
  align-self: flex-end;
  width: 40px; height: 36px;
  background: var(--surface-2);
  color: var(--text);
}
.mobile-nav { display: flex; flex-direction: column; gap: 6px; }
.mobile-nav a {
  display: flex;
  padding: 12px 10px;
  border-radius: var(--radius-s);
  border: 1px solid transparent;
}
.mobile-nav a:hover { background: var(--surface-2); border-color: var(--line); }

/* Prevent body scroll when menu open */
body.menu-open { overflow: hidden; }

/* Hero sections */
.hero {
  background: var(--surface-1);
  border-bottom: 1px solid var(--line);
}
.hero .content-wrapper { padding: 30px 0; }
.hero h1 { color: #F4F7FA; }
.hero p { color: var(--muted); max-width: 72ch; }

/* Rows and clusters */
.cta-row, .utility-row, .seasonal-picks-row, .editor-choice-row, .editor-picks-row,
.badges, .footer-base, .support-channels-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Lists and badges */
.icon-list, .checklist, .value-comparison-list, .method-pillars-list,
.values-list, .team-values-highlights, .onboarding-checklist {
  display: flex; flex-direction: column; gap: 10px; margin-top: 6px;
}
.icon-list li, .checklist li {
  display: flex; align-items: center; gap: 10px;
}
.icon-list img { width: 18px; height: 18px; filter: grayscale(100%) contrast(120%); }

/* Feature grid */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.feature-item {
  flex: 1 1 260px;
  min-width: 240px;
  background: var(--surface-2);
  border-left: 4px solid var(--brand-secondary);
  border-radius: var(--radius-m);
}
.feature-item h3 { color: #F2F6FA; }
.feature-item p { color: var(--muted); }

/* Stat highlight */
.stat-highlights {
  display: flex; flex-wrap: wrap; gap: 8px;
  color: var(--muted);
}
.stat-highlights strong { color: #FFFFFF; }

/* Stepper */
.stepper {
  display: flex;
  flex-direction: column;
  gap: 12px;
  counter-reset: step;
}
.stepper li {
  display: flex; gap: 10px; align-items: flex-start;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 12px;
}
.stepper li::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--brand-secondary);
  color: #fff; font-weight: 700;
}

/* Filters and tags */
.filter-bar, .dietary-tags-overview, .dietary-badges-legend, .sorting-controls {
  color: var(--muted);
}

/* Recipe cards */
.recipe-teasers-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.recipe-card {
  flex: 1 1 240px;
  min-width: 240px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 16px;
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
}
.recipe-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
  border-color: var(--metal-1);
}
.recipe-card h3 { margin-bottom: 6px; }
.recipe-card p { color: var(--muted); }

/* Testimonials (light background for readability) */
.testimonial-slider,
.testimonial-list,
.testimonial-quotes,
.story-cards,
.team-quotes {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.testimonial-card {
  background: var(--brand-accent);
  color: var(--ink);
  border: 1px solid #DDE6DB;
  border-left: 4px solid var(--brand-secondary);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-1);
  scroll-snap-align: start;
}
.rating-summary { color: var(--muted); }

/* Text sections */
.text-section { display: flex; flex-direction: column; gap: 10px; color: var(--text); }
.text-section ul { padding-left: 0; }

/* Pillar cards (principles) */
.pillar-cards-grid {
  display: flex; flex-wrap: wrap; gap: 20px;
}
.pillar-card {
  flex: 1 1 260px; min-width: 240px;
  border-left: 4px solid var(--brand-primary);
}

/* Plans */
.plan-cards {
  display: flex; flex-wrap: wrap; gap: 20px;
}
.plan {
  flex: 1 1 260px; min-width: 240px;
  display: flex; flex-direction: column; gap: 10px;
  border-left: 4px solid var(--brand-secondary);
}
.plan h3 { color: #F3F7FA; }

/* Services */
.service-cards {
  display: flex; flex-wrap: wrap; gap: 20px;
}
.service-card { flex: 1 1 260px; min-width: 240px; }

/* Blog posts */
.post-cards-grid {
  display: flex; flex-wrap: wrap; gap: 20px;
}
.post-cards-grid article {
  flex: 1 1 260px; min-width: 240px;
  display: flex; flex-direction: column; gap: 10px;
}
.post-cards-grid a { align-self: flex-start; }

/* Footer */
.site-footer { background: var(--surface-1); border-top: 1px solid var(--line); }
.site-footer section { padding-top: 30px; padding-bottom: 30px; }
.footer-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-cols > div {
  flex: 1 1 240px; min-width: 220px;
  display: flex; flex-direction: column; gap: 10px;
}
.site-footer nav a { color: var(--muted); padding: 6px 0; }
.site-footer nav a:hover { color: #fff; }
.footer-base { border-top: 1px solid var(--line); color: var(--muted); padding-top: 16px; }

/* Address */
address { font-style: normal; color: var(--muted); }

/* Pagination */
.pagination { display: flex; gap: 10px; color: var(--muted); }
.pagination a { color: var(--brand-secondary); }

/* Tables (generic, if any appear) */
table { width: 100%; border-collapse: collapse; }
th, td { border: 1px solid var(--line); padding: 10px; }
th { background: var(--surface-2); text-align: left; }

/* Forms (generic) */
input[type="text"], input[type="email"], input[type="tel"], textarea, select {
  width: 100%;
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
}
input:focus, textarea:focus, select:focus { outline: none; box-shadow: var(--focus); border-color: var(--metal-1); }

/* Utility snippets */
.badges { color: var(--muted); }
.timeline-snippet, .press-mentions-teaser, .research-partners-list, .impact-metrics { color: var(--muted); }
.faq-snippet { border-left: 4px solid var(--brand-primary); }
.policy-links-snippet a { text-decoration: underline; }
.address-line { display: flex; align-items: center; gap: 10px; }

/* Alignment helpers */
.centered { display: flex; align-items: center; justify-content: center; }
.stack { display: flex; flex-direction: column; gap: 10px; }
.row { display: flex; flex-direction: row; gap: 10px; flex-wrap: wrap; }

/* Cookie consent banner */
.cookie-banner {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand-secondary);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-2);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: transform .25s ease, opacity .25s ease;
}
.cookie-banner.show { transform: translateY(0); opacity: 1; pointer-events: all; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-actions .accept-all { background: var(--brand-secondary); color: #fff; border-color: #C3642F; }
.cookie-actions .reject-all { background: var(--surface-3); color: var(--text); }
.cookie-actions .settings { background: var(--surface-2); }

/* Cookie modal */
.cookie-modal {
  position: fixed; inset: 0;
  background: rgba(6,8,10,0.7);
  display: flex;
  align-items: center; justify-content: center;
  padding: 20px;
  z-index: 1300;
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
}
.cookie-modal.open { opacity: 1; pointer-events: all; }
.cookie-modal-content {
  display: flex; flex-direction: column; gap: 14px;
  width: 100%; max-width: 640px;
  background: var(--brand-accent);
  color: var(--ink);
  border: 1px solid #DDE6DB;
  border-radius: var(--radius-l);
  padding: 20px;
  box-shadow: var(--shadow-2);
}
.cookie-category {
  display: flex; flex-direction: column; gap: 8px;
  background: #ffffff;
  color: var(--ink);
  border: 1px solid #E8EFE8;
  border-radius: var(--radius-m);
  padding: 12px;
}
.cookie-modal-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-modal-actions .save { background: var(--brand-secondary); color: #fff; border-color: #C3642F; }
.cookie-modal-actions .cancel { background: var(--surface-3); color: #fff; border-color: var(--line); }

/* Accessibility focus for key interactive elements */
.mobile-menu-toggle:focus-visible,
.mobile-menu-close:focus-visible,
.main-nav a:focus-visible,
.mobile-nav a:focus-visible,
.button:focus-visible { box-shadow: var(--focus); }

/* Spacing between sections */
main > section { padding: 28px 0; border-bottom: 1px solid rgba(42,48,54,0.6); }
main > section:last-child { border-bottom: none; }

/* Align text-image blocks (generic) */
.text-image-section > * { flex: 1 1 320px; }

/* Row teasers */
.seasonal-picks-row, .editor-choice-row, .editor-picks-row {
  border-left: 4px solid var(--brand-primary);
}
.seasonal-picks-row h3, .editor-choice-row h3, .editor-picks-row h3 { margin-bottom: 6px; }

/* Utility bar style */
.utility-row { color: var(--muted); }

/* Address and contact teasers */
.contact-teaser { display: flex; flex-direction: column; gap: 8px; }
.contact-teaser img { width: 18px; height: 18px; }

/* Footer link hover underline for clarity */
.site-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Media Queries */
@media (min-width: 600px) {
  h1 { font-size: 40px; }
  h2 { font-size: 28px; }
  .cta-row, .utility-row { flex-direction: row; align-items: center; }
}

@media (min-width: 768px) {
  .text-image-section { flex-direction: row; }
  .hero .content-wrapper { padding: 44px 0; }
  .recipe-card { padding: 18px; }
  .testimonial-slider, .testimonial-list, .testimonial-quotes, .story-cards, .team-quotes { overflow-x: visible; flex-wrap: wrap; }
}

@media (min-width: 992px) {
  .main-nav { display: flex; }
  .mobile-menu-toggle { display: none; }
  .site-header .content-wrapper { gap: 20px; }
  .footer-cols { justify-content: space-between; }
}

/* Print basics */
@media print {
  .site-header, .site-footer, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
  body { background: #fff; color: #000; }
}

/* Additional components referenced in HTML */
.editor-picks-row ul, .editor-choice-row ul, .seasonal-picks-row ul { display: flex; flex-wrap: wrap; gap: 10px; }

/* Ensure minimum spacing between all cards/sections */
.card, .feature-item, .recipe-card, .pillar-card, .plan, .service-card, .post-cards-grid article,
.testimonial-card, .faq-snippet { margin-bottom: 20px; }

/* Z-index safety for sticky header and overlays */
.site-header { z-index: 1000; }
.mobile-menu { z-index: 1100; }
.cookie-banner { z-index: 1200; }
.cookie-modal { z-index: 1300; }

/* Industrial micro-interactions */
.card:hover, .pillar-card:hover, .plan:hover, .service-card:hover, .post-cards-grid article:hover {
  border-color: var(--metal-1);
  box-shadow: var(--shadow-2);
}

/* Breadcrumbs or small info bars (if present) */
.info-bar { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-s); color: var(--muted); }

/* Lists spacing inside general content */
.content-wrapper ul { display: flex; flex-direction: column; gap: 8px; }

/* Make sure alignments follow flexbox rules */
.align-center { display: flex; align-items: center; justify-content: center; }
.align-start { display: flex; align-items: flex-start; }
.align-between { display: flex; justify-content: space-between; }

/* Decorative accents (no absolute for content, only subtle before) */
.hero h1 { position: relative; }
.hero h1::after {
  content: "";
  display: block;
  width: 60px; height: 3px;
  background: var(--brand-secondary);
  margin-top: 10px;
  border-radius: 2px;
}

/* Specific page snippets */
.results-count { color: var(--muted); }
.expert-credentials { color: var(--muted); }
.fine-print-notes { color: var(--muted); }
.rating-summary { margin-top: 6px; }

/* Ensure no overlapping and adequate spacing */
.content-wrapper > * + * { margin-top: 0; }

/* End of stylesheet */