/* ═══════════════════════════════════════════
   MOUNTAIN RETREAT THEME — CSS CUSTOM PROPS
   ═══════════════════════════════════════════ */
:root,
[data-theme="light"] {
  /* Backgrounds */
  --bg-primary: #f7f5f0;
  --bg-secondary: #efece5;
  --bg-tertiary: #e6e2d9;
  --bg-card: #fffef9;
  --bg-card-hover: #ffffff;
  --bg-elevated: rgba(255,254,249,0.85);
  --bg-elevated-solid: #fdfcf8;
  /* Text */
  --ink: #2a2722;
  --text-primary: #3d3a34;
  --text-secondary: #6b665c;
  --text-muted: #9b9487;
  --text-faint: #b8b2a6;
  /* Accent — Mountain Moss */
  --accent: #5a7a52;
  --accent-hover: #4a6844;
  --accent-soft: rgba(90,122,82,0.1);
  --accent-medium: rgba(90,122,82,0.18);
  --accent-text: #f7f5f0;
  /* Secondary — Ridge Stone */
  --secondary: #8b7d6b;
  --secondary-soft: rgba(139,125,107,0.1);
  /* Highlight — Summit Gold */
  --highlight: #c4993d;
  --highlight-soft: rgba(196,153,61,0.12);
  /* Borders */
  --border: rgba(42,39,34,0.06);
  --border-subtle: rgba(42,39,34,0.03);
  --border-accent: rgba(90,122,82,0.2);
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(42,39,34,0.04);
  --shadow-md: 0 8px 30px rgba(42,39,34,0.06);
  --shadow-lg: 0 20px 60px rgba(42,39,34,0.08);
  /* Dark sections */
  --dark-bg: #2a2722;
  --dark-text: #e6e2d9;
  --dark-muted: #9b9487;
  --dark-faint: #6b665c;
  --dark-border: rgba(255,255,255,0.06);
  --dark-card: rgba(255,255,255,0.03);
  --dark-card-hover: rgba(255,255,255,0.06);
  /* CTA */
  --cta-bg-start: #3d5c36;
  --cta-bg-end: #2a2722;
  /* Special */
  --grain-opacity: 0.025;
  --hero-ring-color: rgba(90,122,82,0.08);
  --hero-ring-color-2: rgba(139,125,107,0.06);
  --hero-leaf-color: rgba(90,122,82,0.1);
  --toggle-icon: "☀";
  --toggle-label: "Night Mode";
  --img-1: linear-gradient(135deg, #5a7a52, #4a6844);
  --img-2: linear-gradient(135deg, #8b7d6b, #6b5b4e);
  --img-3: linear-gradient(135deg, #5a7a52, #8b9e7a);
}

[data-theme="dark"] {
  --bg-primary: #1a1916;
  --bg-secondary: #21201c;
  --bg-tertiary: #2a2823;
  --bg-card: #252420;
  --bg-card-hover: #2e2d28;
  --bg-elevated: rgba(33,32,28,0.92);
  --bg-elevated-solid: #222120;
  --ink: #e8e4db;
  --text-primary: #d4d0c6;
  --text-secondary: #9b9588;
  --text-muted: #6e6960;
  --text-faint: #4a4740;
  --accent: #7a9e70;
  --accent-hover: #8db282;
  --accent-soft: rgba(122,158,112,0.1);
  --accent-medium: rgba(122,158,112,0.18);
  --accent-text: #1a1916;
  --secondary: #a0937f;
  --secondary-soft: rgba(160,147,127,0.1);
  --highlight: #d4a94e;
  --highlight-soft: rgba(212,169,78,0.1);
  --border: rgba(232,228,219,0.06);
  --border-subtle: rgba(232,228,219,0.03);
  --border-accent: rgba(122,158,112,0.2);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.2);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.3);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.4);
  --dark-bg: #141310;
  --dark-text: #d4d0c6;
  --dark-muted: #6e6960;
  --dark-faint: #4a4740;
  --dark-border: rgba(255,255,255,0.04);
  --dark-card: rgba(255,255,255,0.025);
  --dark-card-hover: rgba(255,255,255,0.05);
  --cta-bg-start: #2d4a27;
  --cta-bg-end: #141310;
  --grain-opacity: 0.04;
  --hero-ring-color: rgba(122,158,112,0.06);
  --hero-ring-color-2: rgba(160,147,127,0.04);
  --hero-leaf-color: rgba(122,158,112,0.07);
  --toggle-icon: "☾";
  --toggle-label: "Day Mode";
  --img-1: linear-gradient(135deg, #3d5c36, #2d4a27);
  --img-2: linear-gradient(135deg, #5a5040, #3d3529);
  --img-3: linear-gradient(135deg, #4a6844, #5a7352);
}

/* ═══════ Base Reset ═══════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  font-weight: 300;
  overflow-x: hidden;
  transition: background 0.6s ease, color 0.6s ease;
}

/* Grain overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: var(--grain-opacity);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  transition: opacity 0.6s ease;
}

/* ═══════ Scroll Reveal ═══════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.12s; }
.reveal-d2 { transition-delay: 0.24s; }
.reveal-d3 { transition-delay: 0.36s; }
.reveal-d4 { transition-delay: 0.48s; }

/* ═══════ Breathing Animations ═══════ */
@keyframes breathe {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
  50% { transform: translate(-50%, -50%) scale(1.06); opacity: 1; }
}
@keyframes breatheSlow {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
  50% { transform: translate(-50%, -50%) scale(1.04); opacity: 0.7; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes leafDrift {
  0% { transform: translateY(0) rotate(0deg); opacity: 0; }
  8% { opacity: 1; }
  92% { opacity: 1; }
  100% { transform: translateY(-100vh) rotate(360deg); opacity: 0; }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}
@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* ═══════ Navigation ═══════ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.2rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-elevated);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  transition: all 0.4s ease;
}
nav.scrolled {
  padding: 0.75rem 3rem;
  box-shadow: var(--shadow-md);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}
.nav-logo svg { width: 34px; height: 34px; transition: transform 3s ease-in-out; }
.nav-logo-text {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--ink);
  transition: color 0.4s;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: var(--accent) !important;
  color: var(--accent-text) !important;
  padding: 0.55rem 1.4rem !important;
  border-radius: 100px !important;
  font-size: 0.78rem !important;
  transition: all 0.3s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--accent-hover) !important; }

/* Theme toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  border-radius: 100px;
  background: var(--accent-soft);
  border: 1px solid var(--border-accent);
  color: var(--accent);
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 500;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.04em;
  transition: all 0.3s;
}
.theme-toggle:hover {
  background: var(--accent-medium);
}
.theme-toggle-icon { font-size: 0.95rem; }

/* Mobile */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}
.hamburger span {
  width: 22px; height: 1.5px;
  background: var(--text-secondary);
  transition: all 0.3s;
}

/* ═══════ Hero ═══════ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 6rem;
  position: relative;
  overflow: hidden;
}
.hero-atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 35%, var(--hero-ring-color), transparent),
    radial-gradient(ellipse 50% 40% at 80% 60%, var(--hero-ring-color-2), transparent),
    radial-gradient(ellipse 45% 30% at 20% 70%, var(--hero-ring-color), transparent);
  transition: background 0.6s ease;
}

/* Breathing rings — tree-ring inspired */
.hero-ring {
  position: absolute;
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.ring-1 { width: 520px; height: 520px; border: 1px solid var(--hero-ring-color); animation: breathe 10s ease-in-out infinite; }
.ring-2 { width: 380px; height: 380px; border: 1px solid var(--hero-ring-color-2); animation: breathe 10s ease-in-out -2.5s infinite; }
.ring-3 { width: 240px; height: 240px; border: 1px solid var(--hero-ring-color); animation: breathe 10s ease-in-out -5s infinite; }
.ring-4 { width: 120px; height: 120px; border: 1px solid var(--hero-ring-color-2); animation: breatheSlow 10s ease-in-out -7.5s infinite; background: var(--hero-ring-color); }

/* Floating leaf particles */
.leaf {
  position: absolute;
  border-radius: 50% 0 50% 0;
  background: var(--hero-leaf-color);
  animation: leafDrift linear infinite;
}
.leaf-1 { width: 7px; height: 7px; left: 14%; top: 25%; animation-duration: 20s; }
.leaf-2 { width: 5px; height: 5px; left: 78%; top: 35%; animation-duration: 26s; animation-delay: -6s; }
.leaf-3 { width: 8px; height: 8px; left: 42%; top: 72%; animation-duration: 18s; animation-delay: -10s; }
.leaf-4 { width: 4px; height: 4px; left: 68%; top: 58%; animation-duration: 22s; animation-delay: -4s; }
.leaf-5 { width: 6px; height: 6px; left: 26%; top: 82%; animation-duration: 28s; animation-delay: -14s; }

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}
.hero-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
  font-weight: 500;
  opacity: 0;
  animation: fadeUp 1s ease 0.3s forwards;
}
.hero h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(3rem, 6.5vw, 5.2rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 1s ease 0.5s forwards;
  transition: color 0.4s;
}
.hero h1 em { font-style: italic; color: var(--accent); }
.hero-sub {
  font-size: 1.08rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  line-height: 1.85;
  opacity: 0;
  animation: fadeUp 1s ease 0.7s forwards;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  opacity: 0;
  animation: fadeUp 1s ease 0.9s forwards;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: var(--accent-text);
  padding: 0.85rem 2.1rem;
  border-radius: 100px;
  text-decoration: none;
  font-size: 0.83rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all 0.4s ease;
  border: none;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(90,122,82,0.2);
}
.btn-primary svg { transition: transform 0.3s; }
.btn-primary:hover svg { transform: translateX(3px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--text-secondary);
  padding: 0.85rem 2rem;
  border-radius: 100px;
  text-decoration: none;
  font-size: 0.83rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--border-accent);
  transition: all 0.4s ease;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%; transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-faint);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 1s ease 1.2s forwards;
}
.scroll-line {
  width: 1px; height: 38px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2.5s ease-in-out infinite;
}

/* ═══════ Sections ═══════ */
section { padding: 7rem 2rem; transition: background 0.6s ease; }
.container { max-width: 1180px; margin: 0 auto; }
.section-label {
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 0.8rem;
}
.section-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  font-weight: 300;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 1rem;
  transition: color 0.4s;
}
.section-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 540px;
  line-height: 1.8;
}

/* ═══════ Pillars ═══════ */
.pillars {
  background: var(--bg-secondary);
  position: relative;
}
.pillars::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-accent), transparent);
}
.pillars-header { text-align: center; margin-bottom: 3.5rem; }
.pillars-header .section-desc { margin: 0 auto; }

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem 1.75rem;
  text-align: center;
  transition: all 0.5s ease;
  position: relative;
  overflow: hidden;
}
.pillar-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--accent), var(--highlight));
  opacity: 0;
  transition: opacity 0.5s ease;
}
.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
}
.pillar-card:hover::before { opacity: 1; }

.pillar-icon {
  width: 64px; height: 64px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: iconFloat 6s ease-in-out infinite;
}
.pillar-card:nth-child(2) .pillar-icon { animation-delay: -1.5s; }
.pillar-card:nth-child(3) .pillar-icon { animation-delay: -3s; }
.pillar-card:nth-child(4) .pillar-icon { animation-delay: -4.5s; }

.pillar-card h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 0.65rem;
  transition: color 0.4s;
}
.pillar-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ═══════ Insights ═══════ */
.insights { background: var(--bg-primary); }
.insights-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
}
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.insight-card {
  background: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.5s ease;
  cursor: pointer;
}
.insight-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.insight-img {
  width: 100%; height: 210px;
  position: relative; overflow: hidden;
}
.insight-img-inner {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.6s ease;
}
.insight-card:hover .insight-img-inner { transform: scale(1.06); }
.insight-img-inner.img-1 { background: var(--img-1); }
.insight-img-inner.img-2 { background: var(--img-2); }
.insight-img-inner.img-3 { background: var(--img-3); }
.insight-img-inner svg { opacity: 0.2; }

.insight-tag {
  position: absolute;
  top: 0.9rem; left: 0.9rem;
  background: var(--bg-elevated);
  backdrop-filter: blur(10px);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.insight-body { padding: 1.6rem; }
.insight-body h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 0.5rem;
  line-height: 1.35;
  transition: color 0.4s;
}
.insight-body p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.15rem;
}
.insight-meta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.78rem;
  color: var(--text-faint);
}
.insight-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 500;
}
.insight-author { color: var(--text-secondary); font-weight: 400; }

/* ═══════ Quote ═══════ */
.quote-section {
  background: var(--bg-tertiary);
  text-align: center;
  padding: 5.5rem 2rem;
  position: relative;
}
.quote-section::before,
.quote-section::after {
  content: '';
  position: absolute;
  left: 50%; transform: translateX(-50%);
  width: 56px; height: 1px;
  background: var(--accent);
  opacity: 0.4;
}
.quote-section::before { top: 2.5rem; }
.quote-section::after { bottom: 2.5rem; }
.quote-mark {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 4.5rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: -0.75rem;
  opacity: 0.35;
}
.quote-text {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.4rem, 2.8vw, 2.1rem);
  font-weight: 300;
  font-style: italic;
  color: var(--ink);
  max-width: 660px;
  margin: 0 auto 1.25rem;
  line-height: 1.5;
  transition: color 0.4s;
}
.quote-attr {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ═══════ Contributors (Dark Section) ═══════ */
.contributors {
  background: var(--dark-bg);
  color: var(--dark-text);
  position: relative;
  overflow: hidden;
  transition: background 0.6s ease;
}
.contributors::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 15% 80%, rgba(90,122,82,0.06), transparent),
    radial-gradient(ellipse 45% 35% at 85% 15%, rgba(196,153,61,0.04), transparent);
}
.contributors .section-label { color: var(--highlight); }
.contributors .section-title { color: var(--dark-text); }
.contributors .section-desc { color: var(--dark-muted); }
.contrib-header { text-align: center; margin-bottom: 3.5rem; position: relative; }
.contrib-header .section-desc { margin: 0 auto; }

.contrib-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  position: relative;
}
.contrib-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 16px;
  padding: 2.25rem 1.6rem;
  text-align: center;
  transition: all 0.5s ease;
  backdrop-filter: blur(5px);
}
.contrib-card:hover {
  background: var(--dark-card-hover);
  transform: translateY(-4px);
  border-color: rgba(122,158,112,0.2);
}
.contrib-avatar {
  width: 68px; height: 68px;
  border-radius: 50%;
  margin: 0 auto 1.1rem;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 400;
  position: relative;
}
.contrib-avatar::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid rgba(196,153,61,0.25);
}
.av-moss { background: rgba(90,122,82,0.2); color: #8db282; }
.av-gold { background: rgba(196,153,61,0.15); color: #d4a94e; }
.av-stone { background: rgba(139,125,107,0.15); color: #c4b8a8; }
.av-bark { background: rgba(78,64,53,0.3); color: #b8a890; }

.contrib-card h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--dark-text);
  margin-bottom: 0.25rem;
}
.contrib-role {
  font-size: 0.74rem;
  color: var(--highlight);
  letter-spacing: 0.04em;
  margin-bottom: 0.65rem;
}
.contrib-card p {
  font-size: 0.84rem;
  color: var(--dark-muted);
  line-height: 1.65;
}

/* ═══════ Events ═══════ */
.events { background: var(--bg-primary); }
.events-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}
.events-list { display: flex; flex-direction: column; gap: 0.9rem; }
.event-card {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  align-items: center;
  gap: 1.75rem;
  background: var(--bg-card);
  border-radius: 14px;
  padding: 1.6rem 1.8rem;
  border: 1px solid var(--border);
  transition: all 0.4s ease;
  text-decoration: none;
  color: inherit;
}
.event-card:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-accent);
}
.event-date { text-align: center; }
.event-date .month {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}
.event-date .day {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.3rem;
  font-weight: 300;
  color: var(--ink);
  line-height: 1.1;
  transition: color 0.4s;
}
.event-info h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 0.25rem;
  transition: color 0.4s;
}
.event-info p { font-size: 0.84rem; color: var(--text-muted); }
.event-arrow {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-faint);
  transition: all 0.3s;
  flex-shrink: 0;
}
.event-card:hover .event-arrow {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-text);
}

/* ═══════ CTA ═══════ */
.cta-section {
  background: linear-gradient(160deg, var(--cta-bg-start), var(--cta-bg-end));
  color: white;
  text-align: center;
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
  transition: background 0.6s ease;
}
.cta-rings {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.cta-ring {
  position: absolute;
  border-radius: 50%;
  top: 50%; left: 50%;
  border: 1px solid rgba(122,158,112,0.08);
}
.cta-ring-1 { width: 480px; height: 480px; margin: -240px 0 0 -240px; animation: breatheSlow 12s ease-in-out infinite; }
.cta-ring-2 { width: 320px; height: 320px; margin: -160px 0 0 -160px; animation: breatheSlow 12s ease-in-out -4s infinite; }
.cta-ring-3 { width: 160px; height: 160px; margin: -80px 0 0 -80px; animation: breatheSlow 12s ease-in-out -8s infinite; }

.cta-section .section-label { color: rgba(187,192,154,0.8); }
.cta-section .section-title { color: white; margin-bottom: 0.8rem; }
.cta-section .section-desc { color: rgba(212,208,198,0.65); margin: 0 auto 2.25rem; }
.cta-form {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  max-width: 460px;
  margin: 0 auto;
  position: relative;
}
.cta-form input {
  flex: 1;
  padding: 0.85rem 1.4rem;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.06);
  color: white;
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  outline: none;
  transition: all 0.3s;
}
.cta-form input::placeholder { color: rgba(155,148,135,0.7); }
.cta-form input:focus {
  border-color: rgba(122,158,112,0.4);
  background: rgba(255,255,255,0.08);
}
.cta-form button {
  padding: 0.85rem 1.8rem;
  border-radius: 100px;
  background: var(--highlight);
  color: #2a2722;
  border: none;
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}
.cta-form button:hover {
  background: #d4a94e;
  transform: translateY(-1px);
}

/* ═══════ Footer ═══════ */
footer {
  background: var(--dark-bg);
  color: var(--dark-muted);
  padding: 3.5rem 2rem 1.75rem;
  border-top: 1px solid var(--dark-border);
  transition: background 0.6s ease;
}
.footer-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-brand-text {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.2rem;
  color: var(--dark-text);
  margin-bottom: 0.8rem;
}
.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--dark-faint);
  max-width: 270px;
}
.footer-col h5 {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dark-text);
  margin-bottom: 1.1rem;
  font-weight: 500;
  opacity: 0.7;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col a {
  text-decoration: none;
  color: var(--dark-faint);
  font-size: 0.85rem;
  transition: color 0.3s;
}
.footer-col a:hover { color: var(--highlight); }
.footer-bottom {
  max-width: 1180px;
  margin: 0 auto;
  padding-top: 1.75rem;
  border-top: 1px solid var(--dark-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--dark-faint);
}
.footer-social { display: flex; gap: 0.9rem; }
.footer-social a { color: var(--dark-faint); transition: color 0.3s; }
.footer-social a:hover { color: var(--highlight); }

/* ═══════ Responsive ═══════ */
@media (max-width: 1024px) {
  .pillars-grid, .contrib-grid { grid-template-columns: repeat(2, 1fr); }
  .insights-grid { grid-template-columns: repeat(2, 1fr); }
  .insights-grid .insight-card:last-child { display: none; }
}
@media (max-width: 768px) {
  nav { padding: 0.9rem 1.5rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--bg-elevated-solid);
    padding: 1.75rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--border);
  }
  .theme-toggle-desktop { display: none; }
  .hero { padding: 7rem 1.5rem 5rem; }
  .ring-1 { width: 280px; height: 280px; }
  .ring-2 { width: 200px; height: 200px; }
  .ring-3 { width: 120px; height: 120px; }
  .ring-4 { width: 60px; height: 60px; }
  .hero-actions { flex-direction: column; }
  section { padding: 5rem 1.5rem; }
  .pillars-grid, .contrib-grid { grid-template-columns: 1fr; }
  .insights-grid { grid-template-columns: 1fr; }
  .insights-grid .insight-card:last-child { display: block; }
  .event-card { grid-template-columns: 70px 1fr; gap: 1rem; }
  .event-arrow { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .insights-header, .events-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .cta-form { flex-direction: column; }
  .cta-form input, .cta-form button { width: 100%; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
}