/*
Theme Name:        Church of Mycelium
Theme URI:         https://churchofmycelium.org
Author:            Church of Mycelium
Author URI:        https://churchofmycelium.org
Description:       A warm earth-tone theme for the Church of Mycelium — spiritual healing through sacramental practice.
Version:           2.0.0
License:           GNU General Public License v2 or later
License URI:       https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:       church-of-mycelium
Tags:              custom-colors, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

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

:root {
  --soil:        #3B2F2F;
  --soil-deep:   #2A1F1F;
  --bark:        #5C4033;
  --clay:        #8B6E4E;
  --amber:       #B8860B;
  --amber-light: #D4A847;
  --mushroom:    #C9B896;
  --mycelium:    #E8DCC8;
  --parchment:   #F5F0E8;
  --spore:       #A0926B;
  --moss:        #6B7C4E;
  --moss-light:  #8FA664;
  --lichen:      #9CAF88;
  --text:        #2E2418;
  --text-light:  #6B5E4E;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  color: var(--text);
  background: var(--parchment);
  line-height: 1.7;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  line-height: 1.2;
}

a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* TYPOGRAPHY HELPERS */
.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-family: 'Lato', sans-serif;
}

.section-title { font-size: 2.6rem; color: var(--soil); margin-bottom: 1rem; }

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 650px;
  font-weight: 300;
  margin-bottom: 3rem;
}

/* LAYOUT */
.container { max-width: 1100px; margin: 0 auto; }
section { padding: 5rem 2rem; position: relative; }

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  border-radius: 4px;
  font-family: 'Lato', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}

.btn-amber { background: var(--amber); color: #fff; }
.btn-amber:hover { background: var(--amber-light); color: var(--soil-deep); transform: translateY(-2px); }

.btn-outline { border: 2px solid rgba(255,255,255,0.4); color: #fff; margin-left: 1rem; background: transparent; }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

.btn-soil { background: var(--soil); color: #fff; }
.btn-soil:hover { background: var(--soil-deep); transform: translateY(-2px); }

.btn-outline-dark { border: 2px solid var(--soil); color: var(--soil); margin-left: 1rem; background: transparent; }
.btn-outline-dark:hover { background: var(--soil); color: #fff; }

/* NAV */
.site-nav {
  position: fixed; top: 0; width: 100%; z-index: 100;
  background: rgba(42, 31, 31, 0.92); backdrop-filter: blur(10px);
  padding: 0 2rem; border-bottom: 1px solid rgba(184, 134, 11, 0.15);
}

.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; height: 70px;
}

.site-logo {
  font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 700;
  color: var(--amber-light); letter-spacing: 0.05em; text-decoration: none;
}

.site-logo span {
  display: block; font-size: 0.65rem; font-weight: 300; font-family: 'Lato', sans-serif;
  letter-spacing: 0.2em; text-transform: uppercase; color: rgba(212, 168, 71, 0.6);
}

.main-menu { list-style: none; display: flex; gap: 2rem; }

.main-menu li a {
  text-decoration: none; color: rgba(255,255,255,0.75); font-size: 0.85rem;
  font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase;
  transition: color 0.3s; font-family: 'Lato', sans-serif;
}

.main-menu li a:hover,
.main-menu li.current-menu-item > a { color: var(--amber-light); }

.nav-tithe-btn {
  background: var(--amber); color: #fff; padding: 0.5rem 1.4rem;
  border-radius: 4px; font-weight: 700; font-size: 0.8rem;
  letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
  transition: all 0.3s; font-family: 'Lato', sans-serif;
}

.nav-tithe-btn:hover { background: var(--amber-light); color: var(--soil-deep); }

/* HERO */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 6rem 2rem 4rem;
  background: linear-gradient(170deg, var(--soil-deep) 0%, var(--soil) 30%, var(--bark) 60%, #4A3728 80%, var(--clay) 100%);
  position: relative; overflow: hidden;
}

.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 70%, rgba(184,134,11,0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 30%, rgba(107,124,78,0.15) 0%, transparent 50%),
    radial-gradient(circle at 50% 90%, rgba(160,146,107,0.1) 0%, transparent 40%);
}

.hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 140px;
  background: linear-gradient(to top, var(--parchment), transparent);
}

.mycelium-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.mycelium-bg svg { position: absolute; width: 100%; height: 100%; opacity: 0.12; }

.hero-content { position: relative; z-index: 2; max-width: 800px; }

.hero-eyebrow {
  font-family: 'Lato', sans-serif; font-size: 0.8rem; letter-spacing: 0.35em;
  text-transform: uppercase; color: var(--amber-light); margin-bottom: 1.5rem; font-weight: 400;
}

.hero h1 { font-size: 4rem; color: #fff; margin-bottom: 1rem; font-weight: 700; }
.hero h1 em { font-style: italic; color: var(--amber-light); }

.hero-content > p {
  font-size: 1.2rem; color: rgba(255,255,255,0.75); max-width: 600px;
  margin: 0 auto 2.5rem; font-weight: 300;
}

.hero-stat {
  display: inline-block; background: rgba(184,134,11,0.15);
  border: 1px solid rgba(184,134,11,0.35); border-radius: 8px;
  padding: 1rem 2rem; margin-bottom: 2.5rem;
}

.hero-stat .number {
  font-family: 'Cormorant Garamond', serif; font-size: 2.5rem;
  font-weight: 700; color: var(--amber-light);
}

.hero-stat .label { font-size: 0.85rem; color: rgba(255,255,255,0.6); display: block; margin-top: 0.2rem; }

/* PAGE HERO (inner pages) */
.page-hero {
  padding: 9rem 2rem 4rem;
  background: linear-gradient(135deg, var(--soil-deep) 0%, var(--soil) 50%, var(--bark) 100%);
  text-align: center; position: relative; overflow: hidden;
}

.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(184,134,11,0.1) 0%, transparent 60%);
}

.page-hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 80px;
  background: linear-gradient(to top, var(--parchment), transparent);
}

.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 { font-size: 3.2rem; color: #fff; margin-bottom: 1rem; }
.page-hero h1 em { font-style: italic; color: var(--amber-light); }
.page-hero p { font-size: 1.1rem; color: rgba(255,255,255,0.7); max-width: 600px; margin: 0 auto; font-weight: 300; }

/* CRISIS SECTION */
.crisis { background: var(--mycelium); position: relative; }

.crisis::before {
  content: ''; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23A0926B' stroke-width='0.5' opacity='0.15'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3Cpath d='M30 28 L20 15 M30 32 L42 48 M28 30 L12 32 M32 30 L48 27'/%3E%3C/g%3E%3C/svg%3E");
}

.crisis-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; position: relative; z-index: 1; }

.crisis-card {
  background: rgba(245,240,232,0.9); border-radius: 12px; padding: 2.5rem 2rem; text-align: center;
  box-shadow: 0 4px 24px rgba(46,36,24,0.06); border: 1px solid rgba(160,146,107,0.2); backdrop-filter: blur(4px);
}

.crisis-card .big-number { font-family: 'Cormorant Garamond', serif; font-size: 3.5rem; font-weight: 700; color: var(--bark); }
.crisis-card .unit { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; color: var(--moss); display: block; margin-top: -0.3rem; }
.crisis-card h3 { font-size: 1.1rem; margin: 1rem 0 0.5rem; color: var(--soil); }
.crisis-card p { font-size: 0.9rem; color: var(--text-light); }

/* APPROACH SECTION */
.approach-section { background: var(--parchment); position: relative; overflow: hidden; }

.approach-section::after {
  content: ''; position: absolute; right: -100px; top: 50%; transform: translateY(-50%);
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(156,175,136,0.1) 0%, transparent 70%); border-radius: 50%;
}

.approach-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 2rem; position: relative; z-index: 1; }

.approach-step {
  position: relative; background: #fff; border-radius: 12px; padding: 2rem 1.5rem;
  box-shadow: 0 4px 20px rgba(46,36,24,0.05); border-top: 3px solid var(--moss); overflow: hidden;
}

.approach-step::after {
  content: ''; position: absolute; bottom: -20px; right: -20px; width: 80px; height: 80px;
  background: radial-gradient(circle, rgba(160,146,107,0.08) 0%, transparent 70%); border-radius: 50%;
}

.approach-step .step-num { font-family: 'Cormorant Garamond', serif; font-size: 2.5rem; font-weight: 700; color: var(--clay); }
.approach-step h3 { font-size: 1.2rem; color: var(--soil); margin: 0.5rem 0; }
.approach-step p { font-size: 0.88rem; color: var(--text-light); }

/* NETWORK SECTION */
.network-section {
  background: var(--soil-deep); color: #fff; padding: 6rem 2rem; position: relative; overflow: hidden;
}

.network-section::before {
  content: ''; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='200' height='200' viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23D4A847' stroke-width='0.6' opacity='0.08'%3E%3Ccircle cx='100' cy='100' r='4'/%3E%3Ccircle cx='40' cy='40' r='3'/%3E%3Ccircle cx='160' cy='50' r='3'/%3E%3Ccircle cx='50' cy='160' r='3'/%3E%3Ccircle cx='170' cy='160' r='3'/%3E%3Ccircle cx='20' cy='100' r='2'/%3E%3Ccircle cx='180' cy='100' r='2'/%3E%3Cpath d='M100 100 L40 40 M100 100 L160 50 M100 100 L50 160 M100 100 L170 160 M100 100 L20 100 M100 100 L180 100 M40 40 L20 100 M160 50 L180 100 M50 160 L20 100 M170 160 L180 100 M40 40 L160 50 M50 160 L170 160'/%3E%3C/g%3E%3C/svg%3E");
}

.network-inner {
  max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center; position: relative; z-index: 1;
}

.network-visual svg { width: 100%; height: auto; }
.network-text .section-label { color: var(--amber-light); }
.network-text h2 { font-size: 2.4rem; color: #fff; margin-bottom: 1rem; }
.network-text p { color: rgba(255,255,255,0.7); font-size: 1.05rem; font-weight: 300; margin-bottom: 1.5rem; }
.network-text .network-quote { color: rgba(255,255,255,0.5); font-size: 0.9rem; font-style: italic; margin-top: 2rem; }

/* IMPACT SECTION */
.impact { background: var(--soil); color: #fff; text-align: center; position: relative; overflow: hidden; }

.impact::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(184,134,11,0.08) 0%, transparent 60%);
}

.impact .section-label { color: var(--amber-light); }
.impact .section-title { color: #fff; }

.impact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2rem; position: relative; z-index: 1; }

.impact-item { padding: 2rem; background: rgba(255,255,255,0.04); border-radius: 12px; border: 1px solid rgba(255,255,255,0.06); }
.impact-item .number { font-family: 'Cormorant Garamond', serif; font-size: 4rem; font-weight: 700; color: var(--amber-light); }
.impact-item .label { font-size: 1rem; color: rgba(255,255,255,0.6); }

/* TESTIMONIAL */
.testimonial { background: var(--mycelium); text-align: center; padding: 5rem 2rem; position: relative; }

.testimonial::before {
  content: ''; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23A0926B' stroke-width='0.4' opacity='0.1'%3E%3Ccircle cx='50' cy='50' r='2'/%3E%3Cpath d='M50 48 L30 20 M50 52 L70 80 M48 50 L15 45 M52 50 L85 55'/%3E%3C/g%3E%3C/svg%3E");
}

.testimonial .container { position: relative; z-index: 1; }
.testimonial blockquote { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; font-style: italic; color: var(--soil); max-width: 800px; margin: 0 auto 1.5rem; line-height: 1.5; }
.testimonial cite { font-family: 'Lato', sans-serif; font-size: 0.9rem; color: var(--amber); font-style: normal; font-weight: 700; letter-spacing: 0.05em; }

/* COMMUNITY / MUSHROOM SECTION */
.mushroom-section {
  background: linear-gradient(135deg, var(--bark) 0%, var(--soil) 100%);
  color: #fff; position: relative; overflow: hidden;
}

.mushroom-section::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(156,175,136,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(184,134,11,0.06) 0%, transparent 50%);
}

.mushroom-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; position: relative; z-index: 1; }
.mushroom-text h2 { font-size: 2.4rem; color: #fff; margin-bottom: 1rem; }
.mushroom-text p { color: rgba(255,255,255,0.75); font-weight: 300; margin-bottom: 1.5rem; font-size: 1.05rem; }
.mushroom-text .section-label { color: var(--amber-light); }

.mushroom-highlights { list-style: none; }
.mushroom-highlights li { padding: 0.6rem 0; color: rgba(255,255,255,0.85); font-size: 0.95rem; padding-left: 1.5rem; position: relative; }
.mushroom-highlights li::before { content: ''; position: absolute; left: 0; top: 50%; width: 8px; height: 8px; background: var(--amber); border-radius: 50%; transform: translateY(-50%); }

.mushroom-visual { display: flex; flex-direction: column; gap: 1.5rem; }
.mushroom-card { background: rgba(255,255,255,0.06); border-radius: 12px; padding: 2rem; border: 1px solid rgba(255,255,255,0.08); }
.mushroom-card .number { font-family: 'Cormorant Garamond', serif; font-size: 2.5rem; font-weight: 700; color: var(--amber-light); }
.mushroom-card .desc { color: rgba(255,255,255,0.6); font-size: 0.9rem; }

/* CTA SECTION */
.cta-section {
  text-align: center; padding: 6rem 2rem;
  background: linear-gradient(135deg, var(--mycelium) 0%, var(--mushroom) 100%);
  position: relative; overflow: hidden;
}

.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23A0926B' stroke-width='0.4' opacity='0.12'%3E%3Ccircle cx='60' cy='60' r='3'/%3E%3Ccircle cx='20' cy='30' r='2'/%3E%3Ccircle cx='100' cy='40' r='2'/%3E%3Ccircle cx='30' cy='95' r='2'/%3E%3Ccircle cx='95' cy='90' r='2'/%3E%3Cpath d='M60 60 L20 30 M60 60 L100 40 M60 60 L30 95 M60 60 L95 90'/%3E%3C/g%3E%3C/svg%3E");
}

.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { font-size: 2.8rem; color: var(--soil); margin-bottom: 0.8rem; }
.cta-section p { font-size: 1.1rem; color: var(--text-light); max-width: 550px; margin: 0 auto 2rem; }

/* DISCLAIMER */
.site-disclaimer {
  background: var(--soil-deep); color: rgba(255,255,255,0.45);
  padding: 1.5rem 2rem; text-align: center; font-size: 0.75rem; line-height: 1.6;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.site-disclaimer .container { max-width: 800px; }

/* FOOTER */
.site-footer { background: var(--soil-deep); color: rgba(255,255,255,0.55); padding: 3rem 2rem 2rem; position: relative; }

.site-footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184,134,11,0.2), transparent);
}

.footer-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; }
.site-footer h4 { font-family: 'Cormorant Garamond', serif; color: var(--amber-light); font-size: 1.1rem; margin-bottom: 1rem; }
.site-footer p { font-size: 0.85rem; line-height: 1.8; }

.footer-menu { list-style: none; }
.footer-menu li a { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 0.85rem; line-height: 2; transition: color 0.3s; }
.footer-menu li a:hover { color: var(--amber-light); }

.footer-bottom { max-width: 1100px; margin: 2rem auto 0; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.08); font-size: 0.8rem; text-align: center; }

/* OUR FAITH PAGE */
.mission-block { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; margin-bottom: 4rem; }
.mission-text h2 { font-size: 2.2rem; color: var(--soil); margin-bottom: 1rem; }
.mission-text p { color: var(--text-light); font-size: 1rem; line-height: 1.8; margin-bottom: 1rem; }

.pillars-card { background: var(--mycelium); border-radius: 12px; padding: 2.5rem; border: 1px solid rgba(160,146,107,0.25); }
.pillars-card h3 { font-size: 1.4rem; color: var(--soil); margin-bottom: 1.5rem; }

.pillar-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.2rem; }
.pillar-icon { width: 36px; height: 36px; background: var(--amber); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: #fff; font-size: 0.9rem; font-weight: 700; font-family: 'Cormorant Garamond', serif; }
.pillar-item h4 { font-size: 1rem; color: var(--soil); margin-bottom: 0.2rem; }
.pillar-item p { font-size: 0.85rem; color: var(--text-light); }

.beliefs-section { background: var(--parchment); }
.beliefs-section h2 { font-size: 2.2rem; color: var(--soil); margin-bottom: 2rem; }

.beliefs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.belief-card { background: #fff; border-radius: 12px; padding: 2rem; box-shadow: 0 2px 16px rgba(46,36,24,0.05); border-top: 3px solid var(--amber); }
.belief-card h3 { font-size: 1.1rem; color: var(--soil); margin-bottom: 0.8rem; }
.belief-card p { font-size: 0.88rem; color: var(--text-light); }

.tenets-section { background: var(--soil); color: #fff; }
.tenets-section .section-title { color: #fff; }
.tenets-section .section-label { color: var(--amber-light); }

.tenets { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem; }
.tenet { border-left: 3px solid var(--amber); padding: 1.5rem; background: rgba(255,255,255,0.04); border-radius: 0 8px 8px 0; }
.tenet-num { font-family: 'Cormorant Garamond', serif; font-size: 0.85rem; color: var(--amber-light); letter-spacing: 0.1em; display: block; margin-bottom: 0.4rem; }
.tenet h3 { font-size: 1rem; color: #fff; margin-bottom: 0.4rem; }
.tenet p { font-size: 0.85rem; color: rgba(255,255,255,0.6); }

.team-section { background: var(--mycelium); }
.team-section .section-title { color: var(--soil); }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2rem; }
.team-card { background: #fff; border-radius: 12px; padding: 2.5rem 2rem; text-align: center; box-shadow: 0 4px 20px rgba(46,36,24,0.06); }
.team-avatar { width: 80px; height: 80px; border-radius: 50%; background: linear-gradient(135deg, var(--bark), var(--clay)); margin: 0 auto 1.5rem; display: flex; align-items: center; justify-content: center; font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; color: #fff; font-weight: 700; }
.team-card h3 { font-size: 1.2rem; color: var(--soil); margin-bottom: 0.3rem; }
.team-card .title { font-size: 0.8rem; color: var(--amber); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1rem; font-family: 'Lato', sans-serif; }
.team-card p { font-size: 0.88rem; color: var(--text-light); }

/* MINISTRY PAGE */
.therapy-section { background: var(--parchment); }

.therapy-timeline { margin-top: 2rem; position: relative; }
.therapy-timeline::before { content: ''; position: absolute; left: 32px; top: 0; bottom: 0; width: 2px; background: linear-gradient(to bottom, var(--moss), var(--amber), var(--bark)); }

.timeline-item { display: flex; gap: 2rem; margin-bottom: 3rem; position: relative; }
.timeline-marker { width: 64px; height: 64px; border-radius: 50%; background: var(--mycelium); border: 2px solid var(--amber); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 700; color: var(--bark); position: relative; z-index: 1; }
.timeline-content h3 { font-size: 1.3rem; color: var(--soil); margin-bottom: 0.5rem; }
.timeline-content p { font-size: 0.92rem; color: var(--text-light); }

.pop-section { background: var(--mycelium); position: relative; }
.pop-section::before { content: ''; position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23A0926B' stroke-width='0.5' opacity='0.12'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3Cpath d='M30 28 L20 15 M30 32 L42 48 M28 30 L12 32 M32 30 L48 27'/%3E%3C/g%3E%3C/svg%3E"); }
.pop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; position: relative; z-index: 1; }
.pop-card { background: rgba(245,240,232,0.9); border-radius: 12px; padding: 1.8rem; border: 1px solid rgba(160,146,107,0.2); }
.pop-icon { font-size: 2.2rem; margin-bottom: 1rem; }
.pop-card h3 { font-size: 1.1rem; color: var(--soil); margin-bottom: 0.5rem; }
.pop-card p { font-size: 0.85rem; color: var(--text-light); }

.cert-section { background: var(--parchment); }
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 2rem; }
.cert-card { background: #fff; border-radius: 12px; padding: 2rem; box-shadow: 0 2px 16px rgba(46,36,24,0.05); text-align: center; }
.level-badge { display: inline-block; padding: 0.3rem 0.9rem; border-radius: 20px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; font-family: 'Lato', sans-serif; margin-bottom: 1rem; }
.level-badge.level-i { background: var(--lichen); color: var(--soil-deep); }
.level-badge.level-ii { background: var(--mushroom); color: var(--soil-deep); }
.level-badge.level-iii { background: var(--amber); color: #fff; }
.level-badge.level-iv { background: var(--bark); color: #fff; }
.cert-card h3 { font-size: 1.1rem; color: var(--soil); margin-bottom: 0.5rem; }
.cert-card p { font-size: 0.85rem; color: var(--text-light); }

.curriculum-section { background: var(--soil); color: #fff; }
.curriculum-section .section-label { color: var(--amber-light); }
.curriculum-section .section-title { color: #fff; }
.curriculum-section .section-subtitle { color: rgba(255,255,255,0.65); }
.curriculum-modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2rem; }
.module-card { background: rgba(255,255,255,0.05); border-radius: 12px; padding: 2rem; border: 1px solid rgba(255,255,255,0.08); }
.module-num { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; color: var(--amber-light); margin-bottom: 0.5rem; }
.module-card h3 { font-size: 1.1rem; color: #fff; margin-bottom: 0.5rem; }
.module-card p { font-size: 0.85rem; color: rgba(255,255,255,0.6); }

.tuition-section { background: var(--mycelium); }
.tuition-table { width: 100%; border-collapse: collapse; margin-top: 2rem; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 20px rgba(46,36,24,0.06); }
.tuition-table thead { background: var(--soil); color: #fff; }
.tuition-table th, .tuition-table td { padding: 1rem 1.5rem; text-align: left; font-size: 0.9rem; }
.tuition-table th { font-family: 'Lato', sans-serif; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; font-size: 0.8rem; }
.tuition-table tbody tr:nth-child(even) { background: var(--parchment); }
.tuition-table td:last-child { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 700; color: var(--bark); }

/* SACRED SCIENCE PAGE */
.research-intro { background: var(--parchment); }
.intro-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 3rem; align-items: start; }
.intro-text p { font-size: 1.05rem; color: var(--text-light); line-height: 1.8; margin-bottom: 1rem; }
.info-sidebar { background: var(--mycelium); border-radius: 12px; padding: 2rem; border: 1px solid rgba(160,146,107,0.25); }
.info-sidebar h3 { font-size: 1.2rem; color: var(--soil); margin-bottom: 1rem; }
.info-row { display: flex; align-items: flex-start; gap: 0.8rem; margin-bottom: 1rem; font-size: 0.88rem; color: var(--text-light); }
.info-row-icon { width: 28px; height: 28px; background: var(--amber); border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 0.75rem; }

.evidence-section { background: var(--mycelium); }
.evidence-section::before { content: ''; position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23A0926B' stroke-width='0.5' opacity='0.12'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3Cpath d='M30 28 L20 15 M30 32 L42 48 M28 30 L12 32 M32 30 L48 27'/%3E%3C/g%3E%3C/svg%3E"); }
.evidence-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 2rem; position: relative; z-index: 1; }
.evidence-card { background: rgba(245,240,232,0.9); border-radius: 12px; padding: 2rem; border: 1px solid rgba(160,146,107,0.2); backdrop-filter: blur(4px); }
.condition-tag { display: inline-block; padding: 0.25rem 0.75rem; border-radius: 20px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-family: 'Lato', sans-serif; margin-bottom: 1rem; }
.condition-tag-moss { background: var(--lichen); color: var(--soil-deep); }
.condition-tag-gold { background: var(--mushroom); color: var(--soil-deep); }
.evidence-card h3 { font-size: 1.2rem; color: var(--soil); margin-bottom: 0.5rem; }
.evidence-card p { font-size: 0.88rem; color: var(--text-light); margin-bottom: 1rem; }
.study-row { border-top: 1px solid rgba(160,146,107,0.2); padding-top: 1rem; margin-top: 1rem; }
.study-row strong { font-size: 1.6rem; font-family: 'Cormorant Garamond', serif; color: var(--bark); }
.study-row span { font-size: 0.82rem; color: var(--text-light); display: block; }

.fda-section { background: var(--parchment); }
.timeline-bar { display: flex; flex-direction: column; margin-top: 2rem; position: relative; padding-left: 3rem; }
.timeline-bar::before { content: ''; position: absolute; left: 1.25rem; top: 0.5rem; bottom: 0.5rem; width: 2px; background: linear-gradient(to bottom, var(--moss), var(--amber)); }
.tl-item { position: relative; margin-bottom: 2rem; }
.tl-item::before { content: ''; position: absolute; left: -2.15rem; top: 0.4rem; width: 10px; height: 10px; border-radius: 50%; background: var(--amber); border: 2px solid var(--parchment); box-shadow: 0 0 0 2px var(--amber); }
.tl-year { font-family: 'Cormorant Garamond', serif; font-size: 1rem; font-weight: 700; color: var(--amber); display: block; margin-bottom: 0.2rem; }
.tl-item p { font-size: 0.88rem; color: var(--text-light); }

.safety-section { background: var(--soil); color: #fff; }
.safety-section .section-label { color: var(--amber-light); }
.safety-section .section-title { color: #fff; }
.safety-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-top: 2rem; }
.safety-col h3 { font-size: 1.3rem; color: var(--amber-light); margin-bottom: 1.5rem; }
.safety-list { list-style: none; }
.safety-list li { padding: 0.8rem 0; border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 0.9rem; color: rgba(255,255,255,0.75); padding-left: 1.5rem; position: relative; }
.safety-list li::before { content: '—'; position: absolute; left: 0; color: var(--amber); }

.cost-section { background: var(--mycelium); }
.cost-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2rem; }
.cost-card { background: rgba(245,240,232,0.9); border-radius: 12px; padding: 2rem; text-align: center; border: 1px solid rgba(160,146,107,0.2); }
.cost-card .amount { font-family: 'Cormorant Garamond', serif; font-size: 2.5rem; font-weight: 700; color: var(--bark); }
.cost-card .type { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--moss); font-family: 'Lato', sans-serif; }
.cost-card p { font-size: 0.85rem; color: var(--text-light); margin-top: 0.5rem; }

.refs-section { background: var(--parchment); }
.refs-list { list-style: none; margin-top: 2rem; }
.refs-list li { padding: 0.8rem 0; border-bottom: 1px solid rgba(160,146,107,0.2); font-size: 0.85rem; color: var(--text-light); }
.refs-list li strong { color: var(--soil); }

/* TITHE / DONATE PAGE */
.donate-intro { background: var(--parchment); }
.donate-intro p { font-size: 1.1rem; color: var(--text-light); max-width: 700px; }

.tiers-section { background: var(--mycelium); position: relative; }
.tiers-section::before { content: ''; position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23A0926B' stroke-width='0.5' opacity='0.12'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3Cpath d='M30 28 L20 15 M30 32 L42 48 M28 30 L12 32 M32 30 L48 27'/%3E%3C/g%3E%3C/svg%3E"); }
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; position: relative; z-index: 1; }
.tier-card { background: rgba(245,240,232,0.9); border-radius: 12px; padding: 2rem; text-align: center; border: 1px solid rgba(160,146,107,0.2); transition: transform 0.3s, box-shadow 0.3s; }
.tier-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(46,36,24,0.12); }
.tier-card.featured { border: 2px solid var(--amber); background: #fff; }
.tier-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.tier-card h3 { font-size: 1.3rem; color: var(--soil); margin-bottom: 0.3rem; }
.tier-amount { font-family: 'Cormorant Garamond', serif; font-size: 2.2rem; font-weight: 700; color: var(--bark); margin-bottom: 1rem; }
.tier-card p { font-size: 0.88rem; color: var(--text-light); margin-bottom: 1.5rem; }
.tier-card a.btn { width: 100%; display: block; text-align: center; padding: 0.8rem; }

.impact-stats { background: var(--soil); color: #fff; text-align: center; }
.impact-stats .section-label { color: var(--amber-light); }
.impact-stats .section-title { color: #fff; }

.other-ways { background: var(--parchment); }
.other-ways-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2rem; }
.other-card { background: #fff; border-radius: 12px; padding: 2rem; box-shadow: 0 2px 16px rgba(46,36,24,0.05); border-top: 3px solid var(--moss); }
.other-card h3 { font-size: 1.2rem; color: var(--soil); margin-bottom: 0.5rem; }
.other-card p { font-size: 0.88rem; color: var(--text-light); }

.trust-section { background: var(--mycelium); }
.trust-badges { display: flex; gap: 2rem; flex-wrap: wrap; justify-content: center; margin-top: 2rem; }
.trust-badge { display: flex; align-items: center; gap: 0.8rem; background: rgba(245,240,232,0.9); border-radius: 8px; padding: 1rem 1.5rem; border: 1px solid rgba(160,146,107,0.2); }
.badge-icon { width: 40px; height: 40px; background: var(--moss); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.2rem; }
.trust-badge span { font-size: 0.88rem; color: var(--soil); font-weight: 600; }

/* CONTACT PAGE */
.contact-section { background: var(--parchment); }
.contact-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 3rem; }
.contact-form h2 { font-size: 1.8rem; color: var(--soil); margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text); margin-bottom: 0.5rem; font-family: 'Lato', sans-serif; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 0.8rem 1rem; border: 1px solid rgba(160,146,107,0.35); border-radius: 6px; background: #fff; font-family: 'Lato', sans-serif; font-size: 0.95rem; color: var(--text); transition: border-color 0.3s; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--amber); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group textarea { height: 140px; resize: vertical; }
.submit-btn { background: var(--amber); color: #fff; border: none; padding: 0.9rem 2.5rem; border-radius: 4px; font-family: 'Lato', sans-serif; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; transition: all 0.3s; }
.submit-btn:hover { background: var(--amber-light); color: var(--soil-deep); transform: translateY(-2px); }
.contact-info-card { background: var(--mycelium); border-radius: 12px; padding: 2.5rem; border: 1px solid rgba(160,146,107,0.25); height: fit-content; }
.contact-info-card h3 { font-size: 1.4rem; color: var(--soil); margin-bottom: 1.5rem; }
.info-row-contact { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.info-icon { width: 36px; height: 36px; background: var(--amber); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: #fff; font-size: 1rem; }
.info-row-contact .info-text strong { display: block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--amber); margin-bottom: 0.2rem; font-family: 'Lato', sans-serif; }
.info-row-contact .info-text span { font-size: 0.88rem; color: var(--text-light); }

.dept-section { background: var(--mycelium); }
.dept-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2rem; }
.dept-card { background: rgba(245,240,232,0.9); border-radius: 12px; padding: 2rem; border: 1px solid rgba(160,146,107,0.2); }
.dept-card h3 { font-size: 1.1rem; color: var(--soil); margin-bottom: 1rem; }
.dept-item { margin-bottom: 0.8rem; font-size: 0.85rem; }
.dept-item strong { color: var(--soil); display: block; margin-bottom: 0.1rem; }
.dept-item span { color: var(--text-light); }

.faq-section { background: var(--parchment); }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2rem; }
.faq-item { border-left: 3px solid var(--amber); padding: 1.5rem; background: #fff; border-radius: 0 8px 8px 0; box-shadow: 0 2px 10px rgba(46,36,24,0.04); }
.faq-item h3 { font-size: 1rem; color: var(--soil); margin-bottom: 0.5rem; }
.faq-item p { font-size: 0.85rem; color: var(--text-light); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .approach-grid, .pop-grid, .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .curriculum-modules { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero h1 { font-size: 2.5rem; }
  .page-hero h1 { font-size: 2rem; }
  .section-title { font-size: 2rem; }
  .site-nav .main-menu { display: none; }

  .crisis-grid, .approach-grid, .impact-grid, .beliefs-grid, .team-grid,
  .pop-grid, .cert-grid, .cost-grid, .other-ways-grid, .tier-grid,
  .faq-grid, .dept-grid, .tenets, .evidence-grid { grid-template-columns: 1fr; }

  .mushroom-inner, .network-inner, .footer-inner, .mission-block, .intro-grid,
  .contact-grid, .safety-grid, .form-row { grid-template-columns: 1fr; }

  .curriculum-modules { grid-template-columns: 1fr; }

  .btn-outline, .btn-outline-dark {
    margin-left: 0; margin-top: 0.75rem; display: block; text-align: center;
  }
}
