/* ══════════════════════════════════════════
   FEED YOUR ROOTS — SHARED STYLES
   Used by: index.html, about.html, privacy.html, terms.html, refunds.html
   Do not edit this file per-page — edit here, then re-run build.py
   Typography uses rem units to respect user font-size/zoom preferences.
   ══════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Lora', Georgia, serif; background: #F5ECD7; color: #5C3A1E; overflow-x: hidden; padding-top: 70px; }
a { color: inherit; text-decoration: none; }
section { position: relative; }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(52px); transition: opacity 1s cubic-bezier(0.22,1,0.36,1), transform 1s cubic-bezier(0.22,1,0.36,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: 0.14s; }
.reveal.d2 { transition-delay: 0.28s; }
.reveal.d3 { transition-delay: 0.42s; }
.reveal.d4 { transition-delay: 0.56s; }

/* ── FLOAT (parallax decorations) ── */
.float-layer { position: absolute; inset: 0; pointer-events: none; z-index: 2; overflow: visible; }
.float-el { position: absolute; will-change: transform; user-select: none; }
@media (max-width: 960px) { .float-el { display: none; } }

/* ── BOTANICAL BREAK (mobile between sections) ── */
.bot-break { display: none; text-align: center; padding: 4px 0; margin: 0; line-height: 0; position: relative; z-index: 5; }
.bot-break img { width: 42%; max-width: 180px; opacity: 0; display: inline-block; animation: botFloat 0.8s cubic-bezier(0.22,1,0.36,1) forwards; }
@keyframes botFloat {
  0% { opacity: 0; transform: scale(0.6) translateY(20px); }
  60% { opacity: 1; transform: scale(1.08) translateY(-4px); }
  100% { opacity: 0.85; transform: scale(1) translateY(0); }
}
.bot-break img.floating {
  animation: botFloat 0.8s cubic-bezier(0.22,1,0.36,1) forwards, gentleFloat 4s ease-in-out 0.8s infinite;
}
@keyframes gentleFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-8px) rotate(1.5deg); }
  66% { transform: translateY(-4px) rotate(-1deg); }
}

/* ── BUTTONS ── */
.btn-primary { display: inline-block; background: #D4732A; color: #fff; font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.125rem; padding: 1.25rem 3.125rem; border-radius: 60px; box-shadow: 0 8px 36px rgba(212,115,42,0.45); transition: all 0.35s cubic-bezier(0.22,1,0.36,1); letter-spacing: 0.3px; white-space: normal; text-align: center; }
.btn-primary:hover { background: #B85E1E; transform: translateY(-4px) scale(1.02); box-shadow: 0 18px 52px rgba(212,115,42,0.55); }
.btn-micro { display: block; margin-top: 14px; font-family: 'DM Sans', sans-serif; font-size: 0.9375rem; color: #4A7C59; letter-spacing: 0.5px; }

/* ── LABELS (eyebrow / kicker) ── */
.label-gold { font-family: 'DM Sans', sans-serif; font-size: 0.75rem; font-weight: 500; text-transform: uppercase; letter-spacing: 2.5px; color: #E8B84B; margin-bottom: 36px; display: flex; align-items: center; justify-content: center; gap: 14px; }
.label-gold::before, .label-gold::after { content: ''; width: 44px; height: 1px; background: #E8B84B; opacity: 0.35; display: block; }
.label-green { font-family: 'DM Sans', sans-serif; font-size: 0.75rem; font-weight: 500; text-transform: uppercase; letter-spacing: 2.5px; color: #4A7C59; margin-bottom: 22px; display: flex; align-items: center; gap: 14px; }
.label-green::after { content: ''; width: 44px; height: 1px; background: #4A7C59; opacity: 0.4; display: block; }
.label-terra { font-family: 'DM Sans', sans-serif; font-size: 0.75rem; font-weight: 500; text-transform: uppercase; letter-spacing: 2.5px; color: #D4732A; margin-bottom: 20px; display: flex; align-items: center; justify-content: center; gap: 14px; }
.label-terra::before, .label-terra::after { content: ''; width: 44px; height: 1px; background: #D4732A; opacity: 0.4; display: block; }

/* ══════════════════════════
   NAV
══════════════════════════ */
#site-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 500; display: flex; align-items: center; justify-content: space-between; padding: 18px 32px; background: rgba(245,236,215,0.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(92,58,30,0.08); flex-wrap: wrap; row-gap: 8px; }
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-brand img { height: 34px; width: auto; display: block; flex-shrink: 0; }
.nav-brand-text { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.125rem; color: #5C3A1E; letter-spacing: -0.2px; }
.nav-links { display: flex; align-items: center; gap: 36px; flex-wrap: wrap; }
.nav-links a { font-family: 'DM Sans', sans-serif; font-size: 0.9375rem; font-weight: 500; color: #5C3A1E; letter-spacing: 0.3px; transition: color 0.2s; white-space: normal; }
.nav-links a:hover { color: #D4732A; }
.nav-links a.nav-active { color: #D4732A; }
.nav-cta { display: inline-block; background: #D4732A; color: #fff !important; font-family: 'DM Sans', sans-serif; font-weight: 500; font-size: 0.9375rem; padding: 11px 24px; border-radius: 50px; letter-spacing: 0.3px; transition: all 0.3s ease; white-space: normal; }
.nav-cta:hover { background: #B85E1E; }
.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-burger span { width: 24px; height: 2px; background: #5C3A1E; display: block; transition: all 0.3s ease; }

.nav-overlay { display: none; position: fixed; inset: 0; background: #180A02; z-index: 999; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.35s ease; overflow-y: auto; }
.nav-overlay.active { display: flex; opacity: 1; }
.nav-overlay-close { position: absolute; top: 24px; right: 28px; color: #F5ECD7; font-size: 1.75rem; cursor: pointer; opacity: 0.7; transition: opacity 0.2s; line-height: 1; background: none; border: none; }
.nav-overlay-close:hover { opacity: 1; }
.nav-overlay-links { display: flex; flex-direction: column; align-items: center; gap: 34px; padding: 24px; }
.nav-overlay-links a { font-family: 'Playfair Display', serif; font-weight: 700; font-size: clamp(1.75rem, 6vw, 2.625rem); color: #F5ECD7; transition: color 0.25s; text-align: center; }
.nav-overlay-links a:hover { color: #E8B84B; }
.nav-overlay-links .nav-cta { margin-top: 14px; font-family: 'DM Sans', sans-serif; font-size: 0.9375rem; padding: 16px 36px; }
.nav-overlay-soon { font-family: 'DM Sans', sans-serif; font-size: 0.8125rem; color: rgba(245,236,215,0.4); letter-spacing: 1px; text-transform: uppercase; display: block; margin-top: 6px; }

@media (max-width: 960px) {
  #site-nav { padding: 16px 20px; }
  body { padding-top: 66px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-brand-text { font-size: 1rem; }
}

/* ══════════════════════════
   LIGHTBOX (shared by Vision + Tools Preview)
══════════════════════════ */
.lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.96); z-index: 9999; align-items: center; justify-content: center; flex-direction: column; gap: 0; }
.lightbox.active { display: flex; }
.lightbox-img-wrap { max-width: 70vw; max-height: 70vh; }
.lightbox-img-wrap img { width: 100%; height: 100%; object-fit: contain; border-radius: 6px; display: block; box-shadow: 0 40px 100px rgba(0,0,0,0.8); }
@media (max-width: 600px) {
  .lightbox { flex-direction: column; justify-content: center; }
  .lightbox-img-wrap { max-width: 100vw; max-height: 65vh; border-radius: 0; }
  .lightbox-img-wrap img { border-radius: 0; }
  .lightbox-caption { width: 100vw; border-radius: 0; }
}
@media (orientation: landscape) and (max-width: 900px) {
  .lightbox-img-wrap { max-width: 75vw; max-height: 75vh; }
  .lightbox-caption { width: 75vw; }
}
.lightbox-close { position: fixed; top: 24px; right: 28px; color: #fff; font-size: 1.75rem; cursor: pointer; font-family: 'DM Sans', sans-serif; opacity: 0.6; transition: opacity 0.2s; line-height: 1; }
.lightbox-close:hover { opacity: 1; }
.lightbox-caption { background: #000; width: 70vw; padding: 18px 24px; border-radius: 0 0 6px 6px; text-align: left; }
.lightbox-caption-label { font-family: 'DM Sans', sans-serif; font-size: 0.8125rem; color: #E8B84B; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 6px; }
.lightbox-caption-text { font-family: 'Lora', serif; font-style: italic; font-size: 0.9375rem; color: rgba(245,236,215,0.82); }

/* ══════════════════════════
   PAGE BANNER (About, Privacy, Terms, Refunds)
══════════════════════════ */
.page-banner { width: 100%; display: flex; justify-content: center; padding: 32px 24px 0; }
.page-banner-inner { width: 100%; max-width: 1020px; aspect-ratio: 21/9; overflow: hidden; border-radius: 18px; box-shadow: 0 20px 60px rgba(60,30,10,0.22); }
.page-banner-inner img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 720px) {
  .page-banner { padding: 20px 16px 0; }
  .page-banner-inner { border-radius: 12px; }
}

/* ══════════════════════════
   DOC LAYOUT (About, Privacy, Terms, Refunds)
══════════════════════════ */
#doc { padding: 36px 24px 100px; overflow: hidden; }
@media (max-width: 720px) {
  #doc { padding: 20px 24px 72px; }
}
.doc-inner { max-width: 680px; margin: 0 auto; position: relative; z-index: 3; }
.doc-eyebrow { font-family: 'DM Sans', sans-serif; font-size: 0.75rem; font-weight: 500; text-transform: uppercase; letter-spacing: 2.5px; color: #D4732A; margin-bottom: 18px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.doc-eyebrow::after { content: ''; width: 44px; height: 1px; background: #D4732A; opacity: 0.4; display: block; }
.doc-h1 { font-family: 'Playfair Display', serif; font-weight: 700; font-size: clamp(1.875rem, 4.2vw, 2.875rem); color: #4A7C59; line-height: 1.18; margin-bottom: 10px; }
.doc-date { font-family: 'DM Sans', sans-serif; font-size: 0.75rem; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(92,58,30,0.5); margin-bottom: 36px; }
.doc-p { font-family: 'Lora', serif; font-size: 1rem; line-height: 1.9; color: rgba(92,58,30,0.82); margin-bottom: 18px; }
.doc-h2 { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.25rem; color: #4A7C59; margin: 40px 0 14px; }
.doc-p a { color: #D4732A; text-decoration: underline; text-decoration-color: rgba(212,115,42,0.35); transition: text-decoration-color 0.2s; }
.doc-p a:hover { text-decoration-color: #D4732A; }
/* About-specific: mission H1 uses doc-h1 with more bottom margin, and principles list */
.doc-h1.doc-h1-mission { margin-bottom: 36px; }
.doc-principle { display: flex; gap: 16px; margin-bottom: 22px; align-items: baseline; }
.doc-principle-mark { color: #D4732A; font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.125rem; flex-shrink: 0; }
.doc-principle-body strong { font-family: 'DM Sans', sans-serif; font-weight: 500; color: #3A2010; display: block; margin-bottom: 4px; font-size: 1rem; }
.doc-principle-body span { font-family: 'Lora', serif; font-size: 0.9375rem; color: rgba(92,58,30,0.7); line-height: 1.75; }
.doc-closing { margin-top: 48px; padding: 26px 30px; border-left: 3px solid #E8B84B; background: rgba(232,184,75,0.09); border-radius: 0 12px 12px 0; font-family: 'Lora', serif; font-style: italic; font-size: 1rem; color: #5C3A1E; line-height: 1.85; }
.doc-cta-wrap { text-align: center; margin-top: 56px; }

/* ══════════════════════════
   FOOTER
══════════════════════════ */
footer { background: #160A02; padding: 60px 24px 44px; }
.footer-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.footer-logo { font-family: 'Satisfy', cursive; font-size: 1.75rem; color: #D4732A; margin-bottom: 8px; }
.footer-tagline { font-family: 'Lora', serif; font-style: italic; font-size: 1.25rem; color: rgba(245,236,215,0.48); margin-bottom: 34px; }
.footer-links { display: flex; justify-content: center; gap: 34px; flex-wrap: wrap; margin-bottom: 28px; }
.footer-links a { font-family: 'DM Sans', sans-serif; font-size: 1rem; color: rgba(245,236,215,0.44); letter-spacing: 0.3px; transition: color 0.2s; }
.footer-links a:hover { color: #F5ECD7; }
.footer-divider { height: 1px; background: rgba(245,236,215,0.07); margin-bottom: 22px; }
.footer-nav-row { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; margin-bottom: 14px; }
.footer-nav-row a { font-family: 'DM Sans', sans-serif; font-size: 0.875rem; color: rgba(245,236,215,0.5); letter-spacing: 0.3px; transition: color 0.2s; }
.footer-nav-row a:hover { color: #F5ECD7; }
.footer-legal-row { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; margin-bottom: 22px; }
.footer-legal-row a { font-family: 'DM Sans', sans-serif; font-size: 0.78rem; color: rgba(245,236,215,0.32); letter-spacing: 0.3px; transition: color 0.2s; }
.footer-legal-row a:hover { color: rgba(245,236,215,0.7); }
.footer-domain { font-family: 'DM Sans', sans-serif; font-size: 0.875rem; color: #4A7C59; letter-spacing: 0.5px; margin-bottom: 6px; }
.footer-copy { font-family: 'DM Sans', sans-serif; font-size: 0.8125rem; color: rgba(245,236,215,0.2); }
