/* ═══════════════════════════════════════════════════════════════════
   EIKENROOTS — SHARED DESIGN SYSTEM
   css/main.css

   Every page links to this file. Page-specific styles live in
   their own <style> block or separate .css file.

   TABLE OF CONTENTS
   ─────────────────
   1.  Design Tokens (CSS Variables)
   2.  Reset & Base
   3.  Typography System
   4.  Layout Utilities
   5.  Navigation
       5a. Top Nav
       5b. Logo
       5c. Nav Links & Active State
       5d. Dropdown Menus
       5e. Hamburger (Mobile)
       5f. Mobile Slide-In Menu
       5g. Mobile Overlay Backdrop
   6.  Page Header (inner pages)
   7.  Hero (homepage)
   8.  Buttons
   9.  Section Scaffolding
   10. Cards & Panels
   11. Forms
   12. Disclaimer / Notice Box
   13. Heartbeat Visual
   14. Status Badges
   15. Progress Bars
   16. Data Tables
   17. Footer
   18. Back to Top
   19. Animations & Keyframes
   20. Responsive Breakpoints
═══════════════════════════════════════════════════════════════════ */


/* ═══════════════════════════════════════════════════════════════════
   1. DESIGN TOKENS
═══════════════════════════════════════════════════════════════════ */

:root {
  /* ── Color Palette ── */
  --forest:       #2d5228;
  --dark-forest:  #1e3318;
  --gold:         #c4922a;
  --gold-light:   #e8d4a8;
  --gold-dark:    #7a4f12;
  --earth:        #2c1f0e;
  --cream:        #f5ede0;
  --parchment:    #f0e6d0;
  --warm-grey:    #7a6a58;

  /* ── Status Colors ── */
  --status-green:  #4ade80;
  --status-amber:  #fbbf24;
  --status-blue:   #60a5fa;
  --status-slate:  #94a3b8;

  /* ── Layout ── */
  --nav-height:    64px;
  --max-width:     1200px;
  --section-pad:   7rem 3rem;
  --section-pad-m: 5rem 1.5rem;
  --section-pad-s: 3rem 1rem;

  /* ── Typography ── */
  --font-display:  'Cinzel', serif;
  --font-body:     'Cormorant Garamond', Georgia, serif;
  --font-alt:      'Crimson Pro', Georgia, serif;

  /* ── Transitions ── */
  --ease:          0.3s ease;
  --ease-fast:     0.22s ease;
}


/* ═══════════════════════════════════════════════════════════════════
   2. RESET & BASE
═══════════════════════════════════════════════════════════════════ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--parchment);
  color: var(--earth);
  overflow-x: hidden;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

ul, ol {
  list-style: none;
}


/* ═══════════════════════════════════════════════════════════════════
   3. TYPOGRAPHY SYSTEM
═══════════════════════════════════════════════════════════════════ */

/* ── Eyebrow label (small caps, spaced) ── */
.eyebrow {
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.4em;
  color: var(--gold);
  text-transform: uppercase;
  display: block;
  margin-bottom: 1rem;
}

/* ── Display heading ── */
.display-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 600;
  color: var(--dark-forest);
  line-height: 1.2;
  letter-spacing: 0.03em;
}

.display-title em {
  font-family: var(--font-body);
  font-weight: 300;
  font-style: italic;
  color: var(--forest);
}

.display-title.light {
  color: var(--cream);
}

.display-title.light em {
  color: var(--gold);
}

/* ── Pullquote ── */
.pullquote {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-style: italic;
  font-weight: 300;
  color: var(--forest);
  line-height: 1.6;
  padding: 2rem 0 2rem 2rem;
  border-left: 3px solid var(--gold);
  margin: 2rem 0;
}

/* ── Body text ── */
.body-text {
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.9;
  color: var(--earth);
}

.body-text p {
  margin-bottom: 1.5rem;
}

.body-text p:last-child {
  margin-bottom: 0;
}

.body-text strong {
  font-weight: 600;
  color: var(--forest);
}

.body-text em {
  color: var(--forest);
}

/* ── Section rule (gold horizontal line) ── */
.section-rule {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 2rem;
}

/* ── Legacy aliases (used in existing HTML) ── */
.section-eyebrow  { font-family: var(--font-display); font-size: 0.62rem; letter-spacing: 0.4em; color: var(--gold); display: block; margin-bottom: 1rem; }
.section-title    { font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 600; color: var(--dark-forest); line-height: 1.2; margin-bottom: 1.5rem; }
.section-title em { font-family: var(--font-body); font-weight: 300; color: var(--forest); }


/* ═══════════════════════════════════════════════════════════════════
   4. LAYOUT UTILITIES
═══════════════════════════════════════════════════════════════════ */

.max-w {
  max-width: var(--max-width);
  margin: 0 auto;
}

.max-w-narrow {
  max-width: 800px;
  margin: 0 auto;
}

section {
  padding: var(--section-pad);
}

/* Section color variants */
.bg-parchment  { background: var(--parchment); }
.bg-cream      { background: var(--cream); }
.bg-forest     { background: var(--forest); }
.bg-dark       { background: var(--dark-forest); }

/* Grid helpers */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* Text alignment */
.text-center { text-align: center; }

/* Spacers */
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mt-4 { margin-top: 4rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mb-4 { margin-bottom: 4rem; }

/* Image frame with decorative offset border */
.img-frame {
  position: relative;
}
.img-frame::before {
  content: '';
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  right: -1.5rem;
  bottom: -1.5rem;
  border: 1px solid rgba(196, 146, 42, 0.3);
  z-index: -1;
}

.img-label {
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: rgba(196, 146, 42, 0.6);
  margin-top: 0.8rem;
}

/* Image placeholder */
.img-ph {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: linear-gradient(145deg, var(--forest) 0%, var(--dark-forest) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}


/* ═══════════════════════════════════════════════════════════════════
   5. NAVIGATION
═══════════════════════════════════════════════════════════════════ */

/* ── 5a. Top Nav ── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(30, 51, 24, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(196, 146, 42, 0.3);
  padding: 0 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

/* Body offset so content isn't hidden under fixed nav */
body {
  padding-top: var(--nav-height);
}

/* ── 5b. Logo ── */
.nav-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 42px;
  width: 42px;
  object-fit: contain;
  border-radius: 50%;
  opacity: 0.93;
  filter: drop-shadow(0 0 5px rgba(196, 146, 42, 0.35));
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: 0.15em;
}

.nav-logo-text span {
  color: var(--gold);
  font-weight: 400;
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1.25rem;
}

/* ── 5c. Nav Links & Active State ── */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--gold-light);
  text-decoration: none;
  transition: color var(--ease);
  position: relative;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
}

/* ── 5d. Dropdown Menus ── */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > a {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-dropdown > a::after {
  content: '▾';
  font-size: 0.45rem;
  color: var(--gold-light);
  transition: transform 0.25s;
  line-height: 1;
}

.nav-dropdown:hover > a::after,
.nav-dropdown.open > a::after {
  transform: rotate(180deg);
  color: var(--gold);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: rgba(20, 38, 18, 0.99);
  border: 1px solid rgba(196, 146, 42, 0.3);
  min-width: 195px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--ease-fast), visibility var(--ease-fast), transform var(--ease-fast);
  z-index: 200;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.75rem 1.3rem;
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--gold-light);
  text-decoration: none;
  border-bottom: 1px solid rgba(196, 146, 42, 0.1);
  transition: all var(--ease-fast);
  white-space: nowrap;
}

.nav-dropdown-menu a:last-child {
  border-bottom: none;
}

.nav-dropdown-menu a:hover {
  color: var(--gold);
  background: rgba(196, 146, 42, 0.1);
  padding-left: 1.6rem;
}

/* Dropdown caret pointer */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  background: rgba(196, 146, 42, 0.3);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

/* ── 5e. Hamburger (Mobile) ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  z-index: 101;
  background: none;
  border: none;
}

.nav-hamburger span {
  width: 24px;
  height: 2px;
  background: var(--gold);
  transition: all 0.3s;
  display: block;
}

.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── 5f. Mobile Slide-In Menu ── */
@media (max-width: 1000px) {
  .nav-hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: -100%;
    width: 70%;
    max-width: 320px;
    height: calc(100vh - var(--nav-height));
    background: rgba(30, 51, 24, 0.98);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 2.5rem 2rem;
    gap: 0;
    transition: left 0.4s ease;
    z-index: 99;
    border-right: 1px solid rgba(196, 146, 42, 0.2);
    overflow-y: auto;
  }

  .nav-links.mobile-open {
    left: 0;
  }

  .nav-links > li {
    width: 100%;
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(196, 146, 42, 0.1);
  }

  .nav-links a {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
  }

  /* Mobile dropdowns expand inline */
  .nav-dropdown-menu {
    position: static;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    background: rgba(255, 255, 255, 0.04);
    border: none;
    border-top: 1px solid rgba(196, 146, 42, 0.12);
    min-width: unset;
    width: 100%;
    display: none;
    margin-top: 0.75rem;
  }

  .nav-dropdown-menu::before {
    display: none;
  }

  .nav-dropdown.open .nav-dropdown-menu {
    display: block;
  }

  .nav-dropdown-menu a {
    padding: 0.6rem 1.5rem;
    font-size: 0.6rem;
    color: rgba(196, 146, 42, 0.8);
  }

  .nav-dropdown-menu a:hover {
    padding-left: 1.8rem;
  }
}

/* ── 5g. Mobile Overlay Backdrop ── */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  top: var(--nav-height);
  background: rgba(0, 0, 0, 0.55);
  z-index: 97;
  cursor: pointer;
}

.nav-overlay.active {
  display: block;
}


/* ═══════════════════════════════════════════════════════════════════
   6. PAGE HEADER (inner pages)
   A compact header for non-homepage pages.
═══════════════════════════════════════════════════════════════════ */

.page-header {
  background: var(--dark-forest);
  padding: 4rem 3rem 3.5rem;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(61, 107, 50, 0.3) 0%, transparent 60%);
  pointer-events: none;
}

.page-header-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
}

.page-header .eyebrow {
  margin-bottom: 0.75rem;
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  color: var(--cream);
  line-height: 1.1;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}

.page-header h1 em {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 300;
  color: var(--gold);
}

.page-header p {
  font-size: 1.1rem;
  font-style: italic;
  font-weight: 300;
  color: rgba(245, 237, 224, 0.75);
  max-width: 640px;
  line-height: 1.8;
}

.page-header-rule {
  width: 50px;
  height: 1px;
  background: var(--gold);
  margin: 1.5rem 0;
  opacity: 0.7;
}


/* ═══════════════════════════════════════════════════════════════════
   7. HERO (homepage)
═══════════════════════════════════════════════════════════════════ */

.hero {
  min-height: calc(100vh - var(--nav-height));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(175deg, rgba(30, 51, 24, 0.93) 0%, rgba(30, 51, 24, 0.76) 40%, rgba(44, 31, 14, 0.87) 100%),
    radial-gradient(ellipse at 30% 60%, rgba(61, 107, 50, 0.4) 0%, transparent 60%);
  background-color: var(--dark-forest);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  max-width: 860px;
  animation: fadeUp 1.4s ease both;
}

.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: block;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 700;
  color: var(--cream);
  line-height: 0.9;
  letter-spacing: 0.05em;
  margin-bottom: 0.3rem;
}

.hero-title-italic {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  color: var(--gold);
  display: block;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.hero-rule {
  width: 80px;
  height: 1px;
  background: var(--gold);
  margin: 2rem auto;
  position: relative;
}

.hero-rule::before,
.hero-rule::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  transform: translateY(-50%);
}

.hero-rule::before { left: -10px; }
.hero-rule::after  { right: -10px; }

.hero-tagline {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 300;
  font-style: italic;
  color: rgba(245, 237, 224, 0.85);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.hero-sub {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--gold-light);
  margin-bottom: 3rem;
}

.hero-buttons {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.hero-scroll span {
  font-family: var(--font-display);
  font-size: 0.55rem;
  letter-spacing: 0.4em;
  color: rgba(196, 146, 42, 0.6);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s infinite;
}


/* ═══════════════════════════════════════════════════════════════════
   8. BUTTONS
═══════════════════════════════════════════════════════════════════ */

.btn-primary,
.btn-ghost,
.btn-text {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--ease);
  display: inline-block;
  text-transform: uppercase;
}

/* Solid gold button */
.btn-primary {
  color: var(--dark-forest);
  background: var(--gold);
  border: 1px solid var(--gold);
  padding: 1rem 2.5rem;
}

.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
}

/* Ghost / outline button */
.btn-ghost {
  color: var(--gold-light);
  background: transparent;
  border: 1px solid rgba(196, 146, 42, 0.5);
  padding: 1rem 2.5rem;
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

/* Ghost on light bg */
.btn-ghost.dark {
  color: var(--gold-dark);
  border-color: rgba(122, 79, 18, 0.4);
}

.btn-ghost.dark:hover {
  border-color: var(--gold-dark);
  color: var(--gold-dark);
}

/* Text link button */
.btn-text {
  color: var(--gold);
  padding: 0;
  border: none;
  background: none;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
}

.btn-text::after {
  content: ' →';
}

.btn-text:hover {
  color: var(--gold-dark);
}

/* Small button variant */
.btn-sm {
  padding: 0.65rem 1.5rem !important;
  font-size: 0.6rem !important;
}


/* ═══════════════════════════════════════════════════════════════════
   9. SECTION SCAFFOLDING
═══════════════════════════════════════════════════════════════════ */

/* Standard section header block */
.section-header {
  margin-bottom: 4rem;
}

.section-header.centered {
  text-align: center;
}

.section-header.centered .section-rule {
  margin: 0 auto 2rem;
}

/* Two-column intro (text + sidebar/box) */
.section-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
  margin-bottom: 4rem;
}

/* Decorative large quotation mark background */
.section-quote-bg {
  position: relative;
  overflow: hidden;
}

.section-quote-bg::before {
  content: '"';
  position: absolute;
  top: -2rem;
  left: 2rem;
  font-family: var(--font-body);
  font-size: 20rem;
  color: rgba(45, 82, 40, 0.04);
  line-height: 1;
  pointer-events: none;
}


/* ═══════════════════════════════════════════════════════════════════
   10. CARDS & PANELS
═══════════════════════════════════════════════════════════════════ */

/* ── Base card ── */
.card {
  background: white;
  border: 1px solid rgba(196, 146, 42, 0.15);
  transition: all var(--ease);
  overflow: hidden;
}

.card:hover {
  border-color: rgba(196, 146, 42, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(44, 31, 14, 0.1);
}

/* ── Dark card (on dark backgrounds) ── */
.card-dark {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(196, 146, 42, 0.1);
  transition: all var(--ease);
  overflow: hidden;
}

.card-dark:hover {
  background: rgba(196, 146, 42, 0.05);
  border-color: rgba(196, 146, 42, 0.25);
}

/* ── Card with gold bottom accent bar ── */
.card-accent {
  position: relative;
}

.card-accent::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ease);
}

.card-accent:hover::after {
  transform: scaleX(1);
}

/* ── Card header (dark top band) ── */
.card-header {
  background: var(--dark-forest);
  padding: 2rem 2rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.card-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ease);
}

.card:hover .card-header::after {
  transform: scaleX(1);
}

.card-icon {
  font-size: 2.2rem;
  display: block;
  margin-bottom: 0.8rem;
}

.card-tag {
  font-family: var(--font-display);
  font-size: 0.55rem;
  letter-spacing: 0.25em;
  color: var(--gold);
  display: block;
  margin-bottom: 0.5rem;
}

.card-title {
  font-family: var(--font-display);
  font-size: 0.88rem;
  color: var(--cream);
  font-weight: 500;
  letter-spacing: 0.05em;
}

.card-title.dark {
  color: var(--dark-forest);
}

/* ── Card body ── */
.card-body {
  padding: 1.5rem 2rem;
}

.card-body p {
  font-size: 0.95rem;
  font-weight: 300;
  font-style: italic;
  color: var(--warm-grey);
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* ── Card footer link ── */
.card-link {
  display: block;
  padding: 0.8rem 2rem;
  background: rgba(196, 146, 42, 0.06);
  border-top: 1px solid rgba(196, 146, 42, 0.1);
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--gold-dark);
  text-decoration: none;
  transition: all var(--ease);
}

.card-link:hover {
  background: var(--gold);
  color: var(--dark-forest);
}

/* ── Feature list inside cards ── */
.feature-list {
  list-style: none;
}

.feature-list li {
  font-size: 0.84rem;
  color: var(--earth);
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(196, 146, 42, 0.08);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-weight: 300;
  line-height: 1.5;
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-list li::before {
  content: '✦';
  color: var(--gold);
  font-size: 0.55rem;
  margin-top: 0.3rem;
  flex-shrink: 0;
}

/* ── Info box (gold-bordered panel) ── */
.info-box {
  background: var(--dark-forest);
  padding: 2.5rem;
  position: relative;
}

.info-box::before {
  content: '';
  position: absolute;
  top: -1.5rem;
  right: -1.5rem;
  left: 1.5rem;
  bottom: 1.5rem;
  border: 1px solid rgba(196, 146, 42, 0.2);
  z-index: -1;
}

.info-box p {
  font-size: 1rem;
  font-style: italic;
  font-weight: 300;
  color: rgba(245, 237, 224, 0.8);
  line-height: 1.9;
  margin-bottom: 1.2rem;
}

.info-box p:last-child {
  margin-bottom: 0;
}

.info-box strong {
  color: var(--gold);
  font-style: normal;
}

/* ── Pillar card (numbered, dark bg) ── */
.pillar-card {
  padding: 3.5rem 2.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(196, 146, 42, 0.1);
  position: relative;
  overflow: hidden;
  transition: background var(--ease);
}

.pillar-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ease);
}

.pillar-card:hover {
  background: rgba(196, 146, 42, 0.05);
}

.pillar-card:hover::after {
  transform: scaleX(1);
}

.pillar-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: rgba(196, 146, 42, 0.12);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 1.5rem;
}

.pillar-icon {
  font-size: 2rem;
  margin-bottom: 1.2rem;
  display: block;
}

.pillar-label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 1rem;
  font-weight: 500;
}

.pillar-text {
  font-size: 1rem;
  font-weight: 300;
  font-style: italic;
  color: rgba(245, 237, 224, 0.75);
  line-height: 1.8;
}


/* ═══════════════════════════════════════════════════════════════════
   11. FORMS
═══════════════════════════════════════════════════════════════════ */

.form-field {
  margin-bottom: 1.2rem;
}

.form-label {
  font-family: var(--font-display);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  display: block;
  margin-bottom: 0.5rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(196, 146, 42, 0.2);
  padding: 0.9rem 1.2rem;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: border-color var(--ease);
  appearance: none;
  -webkit-appearance: none;
}

/* Light bg variant */
.form-field.light input,
.form-field.light select,
.form-field.light textarea {
  background: rgba(255, 255, 255, 0.8);
  color: var(--earth);
  border-color: rgba(196, 146, 42, 0.25);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(245, 237, 224, 0.3);
}

.form-field.light input::placeholder,
.form-field.light textarea::placeholder {
  color: rgba(44, 31, 14, 0.35);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(196, 146, 42, 0.6);
}

.form-field textarea {
  resize: vertical;
  min-height: 90px;
  line-height: 1.7;
}

.form-hint {
  font-size: 0.82rem;
  font-style: italic;
  color: rgba(245, 237, 224, 0.4);
  margin-top: 0.4rem;
  line-height: 1.5;
}


/* ═══════════════════════════════════════════════════════════════════
   12. DISCLAIMER / NOTICE BOX
═══════════════════════════════════════════════════════════════════ */

.notice {
  background: rgba(196, 146, 42, 0.07);
  border: 1px solid rgba(196, 146, 42, 0.3);
  border-left: 4px solid var(--gold);
  padding: 1.2rem 1.5rem;
  margin-bottom: 2.5rem;
  border-radius: 2px;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.notice-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.notice p {
  margin: 0;
  font-size: 0.92rem;
  font-style: italic;
  line-height: 1.75;
  color: var(--earth);
}

.notice p strong {
  font-style: normal;
  color: var(--gold-dark);
  font-weight: 600;
}

/* Dark background variant */
.notice.notice-dark {
  background: rgba(196, 146, 42, 0.07);
  border-color: rgba(196, 146, 42, 0.35);
  border-left-color: var(--gold);
}

.notice.notice-dark p {
  color: rgba(245, 237, 224, 0.8);
}

.notice.notice-dark p strong {
  color: var(--gold);
}

/* Legacy alias */
.disclaimer-box { background: rgba(196, 146, 42, 0.07); border: 1px solid rgba(196, 146, 42, 0.3); border-left: 4px solid var(--gold); padding: 1.2rem 1.5rem; margin-bottom: 2.5rem; border-radius: 2px; display: flex; gap: 1rem; align-items: flex-start; }
.disclaimer-box p { margin: 0; font-size: 0.92rem; font-style: italic; line-height: 1.75; color: var(--earth); }
.disclaimer-box p strong { font-style: normal; color: var(--gold-dark); font-weight: 600; }
.disclaimer-box.dark p { color: rgba(245, 237, 224, 0.8); }
.disclaimer-box.dark p strong { color: var(--gold); }


/* ═══════════════════════════════════════════════════════════════════
   13. HEARTBEAT VISUAL
   The signature identity element of EikenRoots.
═══════════════════════════════════════════════════════════════════ */

.heartbeat-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
}

.heartbeat-ring {
  position: relative;
  width: 200px;
  height: 200px;
}

.heartbeat-ring .ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(196, 146, 42, 0.2);
  animation: heartbeat 3s ease-in-out infinite;
}

.heartbeat-ring .ring-inner {
  position: absolute;
  inset: 15%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(196, 146, 42, 0.25), rgba(45, 82, 40, 0.15));
  animation: heartbeatInner 3s ease-in-out infinite;
}

.heartbeat-ring .ring-core {
  position: absolute;
  inset: 35%;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(196, 146, 42, 0.5), rgba(45, 82, 40, 0.3));
}

/* Seasonal state indicator dot */
.heartbeat-state {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-top: 1rem;
  justify-content: center;
}

.heartbeat-dot {
  width: 8px;
  height: 8px;
  background: var(--status-green);
  border-radius: 50%;
  animation: livePulse 2s infinite;
  flex-shrink: 0;
}

/* ── Seasonal color states ── */
.heartbeat-dot.spring  { background: #86efac; }
.heartbeat-dot.summer  { background: #fbbf24; }
.heartbeat-dot.autumn  { background: #fb923c; }
.heartbeat-dot.winter  { background: #93c5fd; }
.heartbeat-dot.dormant { background: #94a3b8; }


/* ═══════════════════════════════════════════════════════════════════
   14. STATUS BADGES
═══════════════════════════════════════════════════════════════════ */

.badge {
  font-family: var(--font-display);
  font-size: 0.5rem;
  letter-spacing: 0.15em;
  padding: 0.25rem 0.6rem;
  display: inline-block;
  text-transform: uppercase;
}

.badge-green  { background: rgba(74, 222, 128, 0.15);  color: var(--status-green);  border: 1px solid rgba(74, 222, 128, 0.3); }
.badge-amber  { background: rgba(251, 191, 36, 0.15);  color: var(--status-amber);  border: 1px solid rgba(251, 191, 36, 0.3); }
.badge-blue   { background: rgba(96, 165, 250, 0.15);  color: var(--status-blue);   border: 1px solid rgba(96, 165, 250, 0.3); }
.badge-slate  { background: rgba(148, 163, 184, 0.15); color: var(--status-slate);  border: 1px solid rgba(148, 163, 184, 0.3); }
.badge-gold   { background: rgba(196, 146, 42, 0.12);  color: var(--gold);          border: 1px solid rgba(196, 146, 42, 0.3); }

/* Pre-land phase indicator */
.phase-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(196, 146, 42, 0.1);
  border: 1px solid rgba(196, 146, 42, 0.35);
  padding: 0.4rem 1rem;
  font-family: var(--font-display);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  color: var(--gold);
}

.phase-indicator::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.7;
}


/* ═══════════════════════════════════════════════════════════════════
   15. PROGRESS BARS
═══════════════════════════════════════════════════════════════════ */

.progress-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  overflow: hidden;
  margin: 0.4rem 0;
}

.progress-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.6s ease;
}

.pf-green  { background: linear-gradient(to right, #4ade80, #22c55e); }
.pf-amber  { background: linear-gradient(to right, #fbbf24, #f59e0b); }
.pf-blue   { background: linear-gradient(to right, #60a5fa, #3b82f6); }
.pf-gold   { background: linear-gradient(to right, var(--gold), var(--gold-dark)); }


/* ═══════════════════════════════════════════════════════════════════
   16. DATA TABLES
═══════════════════════════════════════════════════════════════════ */

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.data-table th {
  font-family: var(--font-display);
  font-size: 0.52rem;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-align: left;
  padding: 0.6rem 0.8rem;
  border-bottom: 1px solid rgba(196, 146, 42, 0.2);
  white-space: nowrap;
}

.data-table td {
  padding: 0.7rem 0.8rem;
  border-bottom: 1px solid rgba(196, 146, 42, 0.06);
  color: rgba(245, 237, 224, 0.8);
  font-weight: 300;
  line-height: 1.5;
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table tr:hover td {
  background: rgba(196, 146, 42, 0.04);
}

/* Light table (on parchment/cream backgrounds) */
.data-table.light th {
  color: var(--gold-dark);
  border-bottom-color: rgba(196, 146, 42, 0.25);
}

.data-table.light td {
  color: var(--earth);
  border-bottom-color: rgba(196, 146, 42, 0.1);
}

.data-table.light tr:hover td {
  background: rgba(196, 146, 42, 0.05);
}

/* Status dot in tables */
.sdot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-right: 0.4rem;
  vertical-align: middle;
}

.sdot-green  { background: var(--status-green); }
.sdot-amber  { background: var(--status-amber); }
.sdot-blue   { background: var(--status-blue); }
.sdot-slate  { background: var(--status-slate); }


/* ═══════════════════════════════════════════════════════════════════
   17. FOOTER
═══════════════════════════════════════════════════════════════════ */

.site-footer {
  background: var(--dark-forest);
  padding: 5rem 3rem 2rem;
  border-top: 1px solid rgba(196, 146, 42, 0.2);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(196, 146, 42, 0.1);
}

/* Brand column */
.footer-brand h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--cream);
  margin-bottom: 0.2rem;
  letter-spacing: 0.05em;
}

.footer-brand h2 span {
  font-family: var(--font-body);
  font-style: italic;
  color: var(--gold);
  font-size: 1.5rem;
  font-weight: 300;
}

.footer-brand .footer-place {
  font-size: 0.85rem;
  font-style: italic;
  color: rgba(196, 146, 42, 0.7);
  margin: 0.5rem 0 1.5rem;
}

.footer-brand .footer-tagline {
  font-size: 0.9rem;
  font-style: italic;
  color: rgba(245, 237, 224, 0.5);
  line-height: 1.7;
}

.footer-brand .footer-note {
  font-size: 0.8rem;
  font-style: italic;
  color: rgba(196, 146, 42, 0.4);
  margin-top: 0.5rem;
}

/* Link columns */
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.8rem;
}

.footer-col a {
  font-size: 0.9rem;
  font-style: italic;
  color: rgba(245, 237, 224, 0.5);
  text-decoration: none;
  transition: color var(--ease);
}

.footer-col a:hover {
  color: var(--gold-light);
}

/* Bottom bar */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.8rem;
  font-style: italic;
  color: rgba(245, 237, 224, 0.3);
}

.footer-est {
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: rgba(196, 146, 42, 0.4);
}


/* ═══════════════════════════════════════════════════════════════════
   18. BACK TO TOP
═══════════════════════════════════════════════════════════════════ */

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--dark-forest);
  border: 1px solid rgba(196, 146, 42, 0.4);
  color: var(--gold);
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--ease);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--gold);
  color: var(--dark-forest);
  transform: translateY(-2px);
}


/* ═══════════════════════════════════════════════════════════════════
   19. ANIMATIONS & KEYFRAMES
═══════════════════════════════════════════════════════════════════ */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 1; }
}

@keyframes livePulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.4); }
  50%       { opacity: 0.7; box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); }
}

@keyframes heartbeat {
  0%, 50%, 100% { transform: scale(1); opacity: 1; }
  25%           { transform: scale(1.05); opacity: 0.95; }
}

@keyframes heartbeatInner {
  0%, 50%, 100% { transform: scale(1); }
  25%           { transform: scale(1.1); }
}

/* Utility animation classes */
.anim-fade-up   { animation: fadeUp 0.8s ease both; }
.anim-fade-in   { animation: fadeIn 0.6s ease both; }

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }


/* ═══════════════════════════════════════════════════════════════════
   20. RESPONSIVE BREAKPOINTS
═══════════════════════════════════════════════════════════════════ */

/* ── Tablet (≤ 1000px) ── */
@media (max-width: 1000px) {
  :root {
    --section-pad: var(--section-pad-m);
  }

  .site-nav {
    padding: 0 1.5rem;
  }

  section {
    padding: var(--section-pad-m);
  }

  .grid-2,
  .section-intro-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

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

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .page-header {
    padding: 3rem 1.5rem 2.5rem;
  }
}

/* ── Mobile (≤ 640px) ── */
@media (max-width: 640px) {
  :root {
    --nav-height: 56px;
  }

  .site-nav {
    padding: 0 1rem;
    height: 56px;
  }

  .nav-logo-text {
    font-size: 0.9rem;
  }

  section {
    padding: var(--section-pad-s);
  }

  .hero {
    min-height: calc(80vh - 56px);
  }

  .hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
  }

  .hero-title-italic {
    font-size: clamp(2rem, 5vw, 3.5rem);
  }

  .display-title,
  .section-title {
    font-size: clamp(1.4rem, 4vw, 2rem);
  }

  .grid-4 {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .page-header {
    padding: 2rem 1rem 2rem;
  }

  .page-header h1 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
  }

  .back-to-top {
    bottom: 1rem;
    right: 1rem;
  }
}
