/* =========================================================================
   Colleen's Gardens & Native American Products
   SHARED BLOCK — header, primary nav, mobile overlay menu, footer, tokens
   This exact block appears at the top of BOTH mstyles.css and substyles.css
   so every page shares the same header and footer look. Page-specific
   styles are added below this block in each file.
   ========================================================================= */

:root {
  /* Brand palette — earthy, natural, soft neutrals */
  --color-plum: #2E2A20;
  --color-plum-dark: #1c1a13;
  --color-rust: #556B4F;
  --color-rust-dark: #42543e;
  --color-olive: #424a38;
  --color-slate: #2E2A20;
  --color-slate-dark: #1c1a13;
  --color-cream: #F8F3E9;
  --color-cream-soft: #EFE5D3;
  --color-white: #FFFFFF;
  --color-ink: #332F2B;

  --font-display: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container-max: 1320px;
  --radius-sm: 4px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --bp-sm: 600px;
  --bp-md: 780px;
  --bp-lg: 1024px;
  --bp-xl: 1320px;

  --shadow-soft: 0 12px 30px -12px rgba(51, 47, 43, 0.25);
  --focus-ring: 0 0 0 3px rgba(46, 42, 32, 0.45);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-cream);
  line-height: 1.6;
  font-size: 1.0625rem;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-rust); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
a:hover { color: var(--color-plum); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--color-plum);
  outline-offset: 2px;
  border-radius: 2px;
}
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--color-plum); line-height: 1.15; margin: 0 0 0.5em; font-weight: 600; }
h1 { font-size: clamp(2.1rem, 1.6rem + 2vw, 3.2rem); }
h2 { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); }
p { margin: 0 0 1em; }
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 1600px) {
  .container { max-width: 1440px; }
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-plum);
  color: var(--color-white);
  padding: 12px 20px;
  z-index: 200;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  text-decoration: none;
  font-weight: 700;
}
.skip-link:focus {
  left: 12px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 0.85em 1.6em;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.btn--primary {
  background: var(--color-rust);
  color: var(--color-white);
}
.btn--primary:hover { background: var(--color-rust-dark); color: var(--color-white); }
.btn--outline {
  background: transparent;
  border-color: var(--color-white);
  color: var(--color-white);
}
.btn--outline:hover { background: var(--color-white); color: var(--color-plum); border-color: var(--color-white); }
.btn--small { padding: 0.6em 1.2em; font-size: 0.85rem; }
.btn:active { transform: translateY(1px); }

/* ---------- Signature divider (hand-drawn sprig) ---------- */
.sprig-divider {
  display: flex;
  justify-content: center;
  color: var(--color-rust);
  margin: 0.25em 0;
}
.sprig-divider svg { width: 120px; height: 24px; }

/* ---------- Site header ---------- */
.site-header {
  background: var(--color-cream);
  border-bottom: 1px solid rgba(66, 74, 56, 0.15);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 24px;
}
.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--color-plum);
}
.site-logo__img {
  display: block;
  height: clamp(64px, 7.5vw, 92px);
  width: auto;
  aspect-ratio: 620 / 176;
}
.site-logo__chip {
  display: inline-flex;
  align-items: center;
  background: var(--color-cream);
  border-radius: var(--radius-md);
  padding: 10px 16px;
}
.header-bar__actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.header-phone {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-weight: 700;
  color: var(--color-slate);
  text-decoration: none;
  white-space: nowrap;
}
.header-phone:hover { color: var(--color-rust); }
.header-phone i { color: var(--color-rust); }

/* Desktop primary nav */
.primary-nav { background: var(--color-plum); }
.primary-nav__list {
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.primary-nav__list a {
  display: block;
  padding: 13px 18px;
  color: var(--color-white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border-bottom: 3px solid transparent;
}
.primary-nav__list a:hover,
.primary-nav__list a[aria-current="page"] {
  background: var(--color-plum-dark);
  border-bottom-color: var(--color-cream-soft);
}

/* Mobile menu toggle button */
.menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  background: none;
  border: 2px solid var(--color-plum);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  cursor: pointer;
  color: var(--color-plum);
  font-weight: 700;
  font-size: 0.85rem;
}
.menu-toggle__bars,
.menu-toggle__bars::before,
.menu-toggle__bars::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-plum);
  position: relative;
}
.menu-toggle__bars::before { top: -6px; }
.menu-toggle__bars::after { top: 4px; }

/* ---------- Mobile overlay menu ---------- */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(51, 47, 43, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
  z-index: 150;
}
.mobile-overlay.is-active { opacity: 1; visibility: visible; }

.mobile-menu-panel {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(88vw, 380px);
  background: var(--color-plum);
  color: var(--color-white);
  z-index: 160;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  padding: 20px 26px 32px;
  overflow-y: auto;
}
.mobile-menu-panel.is-active { transform: translateX(0); }

.mobile-menu-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.mobile-close {
  background: none;
  border: 2px solid rgba(255,255,255,0.5);
  color: var(--color-white);
  border-radius: var(--radius-sm);
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-size: 1.1rem;
}

.mobile-menu-panel__list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  border-top: 1px solid rgba(255,255,255,0.2);
}
.mobile-menu-panel__list li { border-bottom: 1px solid rgba(255,255,255,0.2); }
.mobile-menu-panel__list a {
  display: block;
  padding: 16px 4px;
  color: var(--color-white);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
}
.mobile-menu-panel__list a[aria-current="page"] { color: var(--color-cream-soft); }
.mobile-menu-panel__list a:hover { color: var(--color-cream-soft); }

.mobile-menu-panel__contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  color: var(--color-white);
  text-decoration: none;
  font-weight: 700;
}

body.mobile-menu-open { overflow: hidden; }

@media (max-width: 1023px) {
  .primary-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-shop-btn { display: none; }
  .header-phone { display: none; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-slate);
  color: var(--color-cream-soft);
  margin-top: 60px;
}
.site-footer .sprig-divider { padding-top: 28px; color: var(--color-rust); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
  padding: 18px 24px 40px;
}
@media (max-width: 780px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; text-align: center; }
}
.footer-brand__name {
  font-family: var(--font-display);
  color: var(--color-white);
  font-size: 1.25rem;
  margin-bottom: 0.4em;
}
.footer-brand p { color: var(--color-cream-soft); }
.site-footer h2, .site-footer h3 {
  color: var(--color-white);
  font-family: var(--font-body);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.9em;
}
.footer-nav-list, .footer-contact-list { list-style: none; margin: 0; padding: 0; }
.footer-nav-list li, .footer-contact-list li { margin-bottom: 0.6em; }
.footer-nav-list a, .footer-contact-list a {
  color: var(--color-cream-soft);
  text-decoration: none;
}
.footer-nav-list a:hover, .footer-contact-list a:hover { color: var(--color-white); text-decoration: underline; }
.footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: var(--color-white);
  margin-top: 8px;
}
.footer-social:hover { background: var(--color-rust); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding: 16px 24px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(239, 230, 214, 0.75);
}
/* =========================================================================
   HOME PAGE ONLY — appended after the shared header/footer block above.
   ========================================================================= */

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(155deg, var(--color-plum) 0%, var(--color-plum-dark) 65%);
  color: var(--color-white);
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  padding: 72px 24px 88px;
}
@media (max-width: 1023px) {
  .hero__inner { grid-template-columns: 1fr; padding: 52px 24px 64px; text-align: center; }
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-cream-soft);
  margin-bottom: 1.1em;
}
.hero__eyebrow svg { width: 20px; height: 20px; }
.hero h1 { color: var(--color-white); margin-bottom: 0.55em; }
.hero h1 em { font-style: italic; color: var(--color-cream-soft); }
.hero__lede {
  font-size: 1.15rem;
  max-width: 46ch;
  color: rgba(255,255,255,0.9);
}
@media (max-width: 1023px) { .hero__lede { max-width: none; margin-left: auto; margin-right: auto; } }
.hero__actions { display: flex; gap: 14px; margin-top: 1.6em; flex-wrap: wrap; }
@media (max-width: 1023px) { .hero__actions { justify-content: center; } }

.hero__art img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  border: 4px solid rgba(255,255,255,0.15);
}
@media (max-width: 1023px) {
  .hero__art { max-width: 560px; margin: 0 auto; }
}

/* ---------- Section shell ---------- */
.section { padding: 64px 24px; }
.section--tight { padding: 44px 24px; }
.section--olive { background: var(--color-cream-soft); }
.section__head { max-width: 720px; margin: 0 auto 2.2em; text-align: center; }
.section__eyebrow {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-rust);
  margin-bottom: 0.6em;
}

/* ---------- Story / About section ---------- */
.story {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 900px) {
  .story { grid-template-columns: 1fr; }
}
.story__photo img {
  aspect-ratio: 600 / 760;
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}
.story__body p { max-width: 68ch; }
.story__signature {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--color-rust);
  font-size: 1.1rem;
  margin-top: 1.5em;
}

/* ---------- Mission / services strip ---------- */
.mission-strip {
  background: var(--color-plum);
  color: var(--color-white);
  padding: 56px 24px;
}
.mission-strip__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding-top: 0;
  padding-bottom: 0;
}
@media (max-width: 900px) { .mission-strip__grid { grid-template-columns: 1fr; } }
.mission-strip__item {
  text-align: center;
  margin: 0;
  padding: 0;
}
.mission-strip__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-rust);
  font-size: 1.7rem;
  margin: 0 0 0.4em;
}
.mission-strip__item h3 {
  color: var(--color-white);
  margin: 0 0 0.3em;
}
.mission-strip__item p { color: rgba(255,255,255,0.9); margin: 0; }

/* ---------- Featured products ---------- */
.featured-products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 900px) {
  .featured-products__grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}
.product-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--color-ink);
  border: 1px solid rgba(66,74,56,0.1);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.product-card:hover, .product-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px -14px rgba(51,47,43,0.35);
}
.product-card__img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--color-cream-soft);
}
.product-card__img img { width: 100%; height: 100%; object-fit: cover; }
.product-card__body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.product-card__title {
  font-family: var(--font-display);
  color: var(--color-plum);
  font-size: 1.15rem;
  margin: 0 0 0.4em;
}
.product-card__desc { color: var(--color-ink); opacity: 0.85; font-size: 0.95rem; margin-bottom: 1.1em; }
.product-card__cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-weight: 700;
  color: var(--color-rust);
  text-decoration: none;
}
.product-card:hover .product-card__cta { color: var(--color-plum-dark); }
.featured-products__empty {
  text-align: center;
  color: var(--color-olive);
  font-style: italic;
}
.featured-products__cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* ---------- Values row ---------- */
.values-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
@media (max-width: 900px) { .values-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .values-row { grid-template-columns: 1fr; } }
.values-row__item i {
  font-size: 1.6rem;
  color: var(--color-rust);
  margin-bottom: 0.5em;
  display: block;
}
.values-row__item h3 { font-size: 1.05rem; margin-bottom: 0.35em; }
.values-row__item p { font-size: 0.92rem; opacity: 0.85; margin-bottom: 0; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--color-rust);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 46px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-banner h2 { color: var(--color-white); margin-bottom: 0.25em; }
.cta-banner p { color: rgba(255,255,255,0.92); margin-bottom: 0; max-width: 46ch; }
.cta-banner .btn--outline { border-color: var(--color-white); }
