/* ==========================================================================
   Green Hair & Beauty — Natural hair care and clean beauty education
   Stylesheet
   ========================================================================== */

/* ----------  Design Tokens  ---------- */
:root {
  --sage: #6B8E5A;
  --sage-light: #8FAB7E;
  --sage-dark: #4F6E42;
  --honey: #D4A03C;
  --honey-light: #E6BC60;
  --cream: #F8F4ED;
  --cream-dark: #EFE8DA;
  --terracotta: #C65D3A;
  --terracotta-light: #D87E5E;
  --forest: #1F3A1F;
  --forest-light: #2E4F2E;

  --ink: #2A2A26;
  --ink-soft: #555550;
  --muted: #8A8A82;
  --line: #E5DFD3;
  --white: #FFFFFF;

  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --body: "Karla", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --container: 1200px;
  --container-narrow: 760px;
  --radius: 10px;
  --radius-lg: 18px;
  --shadow-sm: 0 2px 8px rgba(31, 58, 31, 0.06);
  --shadow: 0 8px 30px rgba(31, 58, 31, 0.08);
  --shadow-lg: 0 18px 50px rgba(31, 58, 31, 0.12);
  --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ----------  Reset & Base  ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.18;
  color: var(--forest);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.2rem; }

p { margin-bottom: 1.1rem; }

a { color: var(--sage-dark); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--terracotta); }

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

ul, ol { padding-left: 1.3rem; margin-bottom: 1.1rem; }
li { margin-bottom: 0.4rem; }

blockquote {
  border-left: 3px solid var(--honey);
  padding: 0.5rem 1.3rem;
  margin: 1.5rem 0;
  font-family: var(--display);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--forest-light);
  background: rgba(212, 160, 60, 0.05);
  border-radius: 0 var(--radius) var(--radius) 0;
}

code {
  background: var(--cream-dark);
  padding: 0.15em 0.4em;
  border-radius: 4px;
  font-size: 0.9em;
  font-family: "SF Mono", Consolas, monospace;
}

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

::selection { background: var(--honey); color: var(--forest); }

/* ----------  Layout  ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container-narrow { max-width: var(--container-narrow); }

.section { padding: 4.5rem 0; }
.section-tight { padding: 3rem 0; }

.bg-cream-dark { background: var(--cream-dark); }
.bg-forest { background: var(--forest); color: var(--cream); }
.bg-forest h2, .bg-forest h3 { color: var(--cream); }
.bg-sage { background: var(--sage); color: var(--cream); }
.bg-sage h2, .bg-sage h3 { color: var(--white); }

.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 3rem 0; }
}

/* ----------  Header / Nav  ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 244, 237, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  gap: 1.5rem;
}

.logo { display: flex; align-items: center; gap: 0.7rem; flex-shrink: 0; }
.logo svg { width: 44px; height: 44px; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--forest);
}
.logo-tag {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  margin-top: 3px;
}

.main-nav { display: flex; align-items: center; gap: 0.3rem; }
.main-nav a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  text-transform: uppercase;
}
.main-nav a:hover { color: var(--sage-dark); background: rgba(107, 142, 90, 0.08); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--forest);
  margin: 5px 0;
  transition: var(--transition);
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.5rem 1.5rem;
    gap: 0.2rem;
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    transition: transform var(--transition);
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: 0.8rem 0.5rem; border-bottom: 1px solid var(--line); }
}

/* ----------  Buttons  ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  font-family: var(--body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-primary { background: var(--sage); color: var(--white); }
.btn-primary:hover { background: var(--sage-dark); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline { border-color: var(--sage); color: var(--sage-dark); }
.btn-outline:hover { background: var(--sage); color: var(--white); }
.btn-terra { background: var(--terracotta); color: var(--white); }
.btn-terra:hover { background: #b04e2f; color: var(--white); transform: translateY(-2px); }

/* ----------  Hero  ---------- */
.hero {
  position: relative;
  padding: 5rem 0 4.5rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse at top right, rgba(212, 160, 60, 0.08), transparent 50%),
    radial-gradient(ellipse at bottom left, rgba(107, 142, 90, 0.1), transparent 50%),
    var(--cream);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 2rem; } }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 1rem;
}
.hero-eyebrow::before { content: ""; width: 30px; height: 2px; background: var(--terracotta); }

.hero h1 { margin-bottom: 1.2rem; }
.hero h1 .accent { color: var(--sage); font-style: italic; }

.hero-lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 520px;
  margin-bottom: 1.8rem;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-visual { position: relative; }
.hero-svg { width: 100%; max-width: 480px; margin: 0 auto; }

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.hero-stat .num { font-family: var(--display); font-size: 2rem; font-weight: 700; color: var(--sage); }
.hero-stat .label { font-size: 0.78rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.08em; }
@media (max-width: 600px) { .hero-stats { gap: 1.5rem; } }

/* ----------  Section Headers  ---------- */
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section-head .eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  display: block;
  margin-bottom: 0.7rem;
}
.section-head h2 { margin-bottom: 0.8rem; }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; }

.section-head.left { text-align: left; margin-left: 0; }

/* ----------  Cards  ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}
.card-icon svg { width: 30px; height: 30px; }
.card-icon.sage { background: rgba(107, 142, 90, 0.12); color: var(--sage-dark); }
.card-icon.honey { background: rgba(212, 160, 60, 0.14); color: var(--honey); }
.card-icon.terra { background: rgba(198, 93, 58, 0.12); color: var(--terracotta); }
.card-icon.forest { background: rgba(31, 58, 31, 0.1); color: var(--forest); }

.card h3 { margin-bottom: 0.6rem; }
.card p { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 0; }

/* ----------  Article Cards  ---------- */
.article-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.article-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.article-card-img {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.article-card-img svg { width: 100%; height: 100%; }

.article-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.article-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.6rem;
}
.article-card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; line-height: 1.3; }
.article-card h3 a { color: var(--forest); }
.article-card h3 a:hover { color: var(--sage-dark); }
.article-card p { font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 1rem; }
.article-meta { font-size: 0.8rem; color: var(--muted); margin-top: auto; display: flex; gap: 1rem; }

/* ----------  Featured Ingredient  ---------- */
.feature-ingredient {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 900px) { .feature-ingredient { grid-template-columns: 1fr; } }

.feature-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, rgba(212,160,60,0.12), rgba(107,142,90,0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.feature-visual svg { width: 100%; max-width: 380px; }

.feature-content .eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--honey);
  margin-bottom: 0.7rem;
  display: block;
}
.feature-content h2 { margin-bottom: 1rem; }
.benefit-list { list-style: none; padding: 0; margin: 1.3rem 0; }
.benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 0.7rem;
  font-size: 0.97rem;
}
.benefit-list li::before {
  content: "";
  width: 18px;
  height: 18px;
  background: var(--sage);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 4px;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* ----------  Hair Type Guide  ---------- */
.hair-types { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
@media (max-width: 900px) { .hair-types { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .hair-types { grid-template-columns: 1fr; } }

.hair-type-card {
  text-align: center;
  padding: 2rem 1.2rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  transition: var(--transition);
}
.hair-type-card:hover { border-color: var(--sage); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.hair-type-card svg { width: 70px; height: 70px; margin: 0 auto 1rem; }
.hair-type-card h4 { margin-bottom: 0.4rem; }
.hair-type-card p { font-size: 0.85rem; color: var(--ink-soft); margin: 0; }

/* ----------  Product Decoder  ---------- */
.decoder-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 900px) { .decoder-grid { grid-template-columns: 1fr; } }

.decoder-item {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  border-left: 4px solid;
}
.decoder-item.good { border-color: var(--sage); }
.decoder-item.caution { border-color: var(--honey); }
.decoder-item.avoid { border-color: var(--terracotta); }
.decoder-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 0.4rem;
}
.decoder-item.good .decoder-badge { background: rgba(107,142,90,0.15); color: var(--sage-dark); }
.decoder-item.caution .decoder-badge { background: rgba(212,160,60,0.15); color: #9a7320; }
.decoder-item.avoid .decoder-badge { background: rgba(198,93,58,0.15); color: var(--terracotta); }
.decoder-item h4 { margin-bottom: 0.3rem; }
.decoder-item p { font-size: 0.88rem; color: var(--ink-soft); margin: 0; }

/* ----------  Eco Tips  ---------- */
.eco-tips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 900px) { .eco-tips { grid-template-columns: 1fr; } }

.eco-tip {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
}
.eco-tip svg { width: 50px; height: 50px; margin: 0 auto 1rem; }
.eco-tip h4 { color: var(--cream); margin-bottom: 0.5rem; }
.eco-tip p { color: rgba(248,244,237,0.8); font-size: 0.9rem; margin: 0; }

/* ----------  Latest Articles  ---------- */
.latest-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
@media (max-width: 900px) { .latest-grid { grid-template-columns: 1fr; } }

/* ----------  Newsletter  ---------- */
.newsletter {
  background: linear-gradient(135deg, var(--sage), var(--forest));
  color: var(--white);
  text-align: center;
  padding: 3.5rem 2rem;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.newsletter h2 { color: var(--white); margin-bottom: 0.8rem; }
.newsletter p { color: rgba(255,255,255,0.85); max-width: 500px; margin: 0 auto 1.8rem; }
.newsletter form { display: flex; max-width: 480px; margin: 0 auto; gap: 0.5rem; }
.newsletter input {
  flex: 1;
  padding: 0.85rem 1.2rem;
  border: none;
  border-radius: 50px;
  font-family: var(--body);
  font-size: 0.9rem;
  background: rgba(255,255,255,0.95);
  color: var(--ink);
}
.newsletter input:focus { outline: 2px solid var(--honey); }
@media (max-width: 500px) { .newsletter form { flex-direction: column; } }

/* ----------  Footer  ---------- */
.site-footer { background: var(--forest); color: rgba(248,244,237,0.7); padding: 4rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand .logo { margin-bottom: 1rem; }
.footer-brand .logo-name { color: var(--cream); }
.footer-brand p { font-size: 0.9rem; max-width: 300px; }

.footer-col h5 {
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--honey);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { color: rgba(248,244,237,0.7); font-size: 0.9rem; }
.footer-col a:hover { color: var(--cream); }

.footer-bottom {
  border-top: 1px solid rgba(248,244,237,0.12);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom a { color: rgba(248,244,237,0.6); }

/* ----------  Page Hero (interior pages) ---------- */
.page-hero {
  background:
    radial-gradient(ellipse at top right, rgba(212, 160, 60, 0.08), transparent 50%),
    radial-gradient(ellipse at bottom left, rgba(107, 142, 90, 0.1), transparent 50%),
    var(--cream-dark);
  padding: 3.5rem 0;
  text-align: center;
}
.page-hero .container { max-width: 760px; }
.breadcrumb { font-size: 0.8rem; color: var(--muted); margin-bottom: 1rem; }
.breadcrumb a { color: var(--sage-dark); }
.breadcrumb span { margin: 0 0.4rem; }

/* ----------  Article Layout  ---------- */
.article-layout { display: grid; grid-template-columns: 1fr 320px; gap: 3rem; align-items: start; }
@media (max-width: 900px) { .article-layout { grid-template-columns: 1fr; } }

.article-body { font-size: 1.05rem; }
.article-body h2 { font-size: 1.7rem; margin: 2rem 0 0.8rem; }
.article-body h3 { font-size: 1.3rem; margin: 1.6rem 0 0.6rem; }
.article-body p { margin-bottom: 1.2rem; }
.article-body ul, .article-body ol { margin-bottom: 1.2rem; }
.article-body li { margin-bottom: 0.5rem; }

.article-hero-img { border-radius: var(--radius-lg); overflow: hidden; margin: 1.5rem 0 2rem; }
.article-hero-img svg { width: 100%; height: auto; }

.article-sidebar { position: sticky; top: 90px; }
.sidebar-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.sidebar-card h4 { margin-bottom: 1rem; font-size: 1.05rem; }
.sidebar-card ul { list-style: none; padding: 0; }
.sidebar-card li { border-bottom: 1px solid var(--line); padding: 0.7rem 0; }
.sidebar-card li:last-child { border-bottom: none; }
.sidebar-card a { font-size: 0.9rem; color: var(--ink); }
.sidebar-card a:hover { color: var(--sage-dark); }

.article-meta-bar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 2rem;
  font-size: 0.85rem;
  color: var(--muted);
  flex-wrap: wrap;
}
.article-tag-large {
  background: var(--sage);
  color: var(--white);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ----------  Blog listing  ---------- */
.blog-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 3rem;
}
.filter-btn {
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active { background: var(--sage); color: var(--white); border-color: var(--sage); }

/* ----------  Contact  ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-form .field { margin-bottom: 1.2rem; }
.contact-form label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.4rem; color: var(--ink); }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--body);
  font-size: 0.95rem;
  background: var(--white);
  color: var(--ink);
  transition: var(--transition);
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(107,142,90,0.12);
}
.form-note { font-size: 0.8rem; color: var(--muted); margin-top: 0.8rem; }
.form-success {
  background: rgba(107,142,90,0.1);
  border: 1px solid var(--sage);
  color: var(--sage-dark);
  padding: 1rem;
  border-radius: var(--radius);
  margin-top: 1rem;
  display: none;
}
.form-success.show { display: block; }

.contact-info-card {
  background: var(--forest);
  color: var(--cream);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
}
.contact-info-card h3 { color: var(--cream); margin-bottom: 1.5rem; }
.contact-info-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; align-items: flex-start; }
.contact-info-item svg { width: 24px; height: 24px; flex-shrink: 0; color: var(--honey); }
.contact-info-item .label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(248,244,237,0.6); }
.contact-info-item .value { font-size: 0.95rem; color: var(--cream); }

/* ----------  Legal / prose pages  ---------- */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { margin: 2rem 0 0.8rem; }
.prose h3 { margin: 1.5rem 0 0.6rem; }
.prose ul { margin-bottom: 1.2rem; }
.prose .updated { font-size: 0.85rem; color: var(--muted); font-style: italic; margin-bottom: 2rem; }

/* ----------  Sitemap page  ---------- */
.sitemap-list { list-style: none; padding: 0; }
.sitemap-list > li { margin-bottom: 1.5rem; }
.sitemap-list > li > a { font-family: var(--display); font-size: 1.3rem; font-weight: 600; color: var(--forest); }
.sitemap-sub { list-style: none; padding-left: 1.5rem; margin-top: 0.5rem; }
.sitemap-sub li { margin-bottom: 0.4rem; }
.sitemap-sub a { font-size: 0.95rem; }

/* ----------  404  ---------- */
.error-page { text-align: center; padding: 5rem 0; }
.error-page svg { max-width: 400px; margin: 0 auto 2rem; }
.error-page h1 { font-size: 3rem; margin-bottom: 0.5rem; }
.error-page .big-num { font-family: var(--display); font-size: 6rem; color: var(--sage); font-weight: 700; line-height: 1; }

/* ----------  Ingredients page  ---------- */
.ingredient-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.ingredient-table th { background: var(--sage); color: var(--white); text-align: left; padding: 1rem; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; }
.ingredient-table td { padding: 1rem; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
.ingredient-table tr:last-child td { border-bottom: none; }
.ingredient-table tr:hover { background: rgba(107,142,90,0.04); }
.rating { display: inline-block; padding: 0.2rem 0.7rem; border-radius: 20px; font-size: 0.75rem; font-weight: 700; }
.rating.good { background: rgba(107,142,90,0.15); color: var(--sage-dark); }
.rating.ok { background: rgba(212,160,60,0.15); color: #9a7320; }
.rating.bad { background: rgba(198,93,58,0.15); color: var(--terracotta); }

/* ----------  About page  ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }
.value-card { text-align: center; padding: 2rem; }
.value-card svg { width: 56px; height: 56px; margin: 0 auto 1rem; }

/* ----------  Animations  ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes sway { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
@keyframes drawIn { from { stroke-dashoffset: 1000; } to { stroke-dashoffset: 0; } }

.reveal { opacity: 0; }
.reveal.visible { animation: fadeUp 0.7s ease forwards; }
.float { animation: float 5s ease-in-out infinite; }
.sway { animation: sway 4s ease-in-out infinite; transform-origin: bottom center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; }
  html { scroll-behavior: auto; }
}

/* ----------  Utilities  ---------- */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-2 { margin-bottom: 2rem; }
.muted { color: var(--ink-soft); }
.kicker { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--terracotta); }
.lead { font-size: 1.15rem; color: var(--ink-soft); }
.divider-leaf { text-align: center; margin: 3rem 0; color: var(--sage); }
.divider-leaf svg { width: 40px; margin: 0 auto; }

