/* ============================================
   EViF — Living Science Design System
   ============================================ */

/* --- Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Source+Serif+4:opsz,wght@8..60,400;8..60,500;8..60,600;8..60,700&display=swap');

/* --- Design Tokens --- */
:root {
  color-scheme: dark;

  /* Colors */
  --color-bg: hsl(160, 20%, 4%);
  --color-bg-alt: hsl(160, 18%, 6%);
  --color-surface: hsl(160, 15%, 8%);
  --color-surface-elevated: hsl(160, 12%, 12%);
  --color-primary: #4d8433;
  --color-primary-light: #5f963d;
  --color-primary-dark: #386728;
  --color-accent: hsl(270, 70%, 65%);
  --color-accent-light: hsl(270, 75%, 75%);
  --color-text: hsl(0, 0%, 95%);
  --color-text-muted: hsl(160, 8%, 55%);
  --color-text-subtle: hsl(160, 6%, 38%);
  --color-border: hsla(160, 20%, 30%, 0.2);
  --color-border-glow: hsla(101, 44%, 36%, 0.3);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  --gradient-hero: radial-gradient(ellipse at 30% 50%, hsla(158, 50%, 15%, 0.4) 0%, transparent 60%),
                    radial-gradient(ellipse at 70% 80%, hsla(270, 40%, 15%, 0.3) 0%, transparent 50%);
  --gradient-section: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
  --gradient-glow: radial-gradient(circle, hsla(101, 44%, 36%, 0.15) 0%, transparent 70%);

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Source Serif 4', Georgia, serif;
  --text-xs: clamp(0.7rem, 0.65rem + 0.25vw, 0.8rem);
  --text-sm: clamp(0.8rem, 0.75rem + 0.3vw, 0.95rem);
  --text-base: clamp(0.95rem, 0.85rem + 0.4vw, 1.1rem);
  --text-lg: clamp(1.1rem, 1rem + 0.5vw, 1.35rem);
  --text-xl: clamp(1.3rem, 1.1rem + 0.8vw, 1.75rem);
  --text-2xl: clamp(1.6rem, 1.3rem + 1.2vw, 2.25rem);
  --text-3xl: clamp(1.55rem, 1rem + 1.1vw, 2.35rem);
  --text-4xl: clamp(1.75rem, 1.2rem + 1.7vw, 2.95rem);
  --text-hero: clamp(3.5rem, 2.5rem + 5vw, 8rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.25);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.35);
  --shadow-xl: 0 24px 64px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 40px hsla(101, 44%, 36%, 0.25);
  --shadow-glow-accent: 0 0 40px hsla(270, 70%, 65%, 0.2);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 100px;

  /* Transitions */
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --duration-fast: 0.15s;
  --duration-normal: 0.3s;
  --duration-slow: 0.6s;
}

html[data-theme="light"] {
  color-scheme: light;

  --color-bg: hsl(148, 38%, 96%);
  --color-bg-alt: hsl(158, 42%, 92%);
  --color-surface: hsl(0, 0%, 100%);
  --color-surface-elevated: hsl(154, 34%, 98%);
  --color-primary: #4d8433;
  --color-primary-light: #5f963d;
  --color-primary-dark: #386728;
  --color-accent: hsl(260, 62%, 58%);
  --color-accent-light: hsl(260, 70%, 66%);
  --color-text: hsl(166, 28%, 12%);
  --color-text-muted: hsl(168, 12%, 36%);
  --color-text-subtle: hsl(168, 10%, 48%);
  --color-border: hsla(162, 28%, 34%, 0.16);
  --color-border-glow: hsla(101, 44%, 36%, 0.28);

  --gradient-hero: radial-gradient(ellipse at 28% 42%, hsla(160, 64%, 70%, 0.34) 0%, transparent 58%),
                    radial-gradient(ellipse at 76% 80%, hsla(260, 72%, 78%, 0.3) 0%, transparent 52%);
  --gradient-section: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
  --gradient-glow: radial-gradient(circle, hsla(101, 44%, 36%, 0.14) 0%, transparent 70%);

  --shadow-sm: 0 1px 3px rgba(18, 55, 43, 0.08);
  --shadow-md: 0 8px 22px rgba(18, 55, 43, 0.08);
  --shadow-lg: 0 16px 44px rgba(18, 55, 43, 0.1);
  --shadow-xl: 0 26px 70px rgba(18, 55, 43, 0.12);
  --shadow-glow: 0 0 42px hsla(101, 44%, 36%, 0.22);
  --shadow-glow-accent: 0 0 42px hsla(260, 62%, 58%, 0.18);
}

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

html {
  scroll-behavior: auto; /* Lenis handles smooth scroll */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--color-bg);
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
  transition: background-color var(--duration-normal) ease, color var(--duration-normal) ease;
}

section[id] {
  scroll-margin-top: 120px;
}

a {
  color: inherit;
  text-decoration: none;
}

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

ul, ol {
  list-style: none;
}

button, input, textarea {
  font: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

/* --- Utility --- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text .char {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  margin-bottom: var(--space-5);
}

.section-desc {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 600px;
}

/* --- Custom Cursor --- */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: width 0.3s var(--ease-out-expo),
              height 0.3s var(--ease-out-expo),
              border-color 0.3s ease,
              background-color 0.3s ease;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}

.cursor.cursor--hover {
  width: 50px;
  height: 50px;
  background: hsla(101, 44%, 36%, 0.1);
  border-color: var(--color-primary-light);
}

.cursor.cursor--click {
  width: 15px;
  height: 15px;
  background: var(--color-primary);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: var(--space-6);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  transition: top 0.4s var(--ease-out-expo);
  pointer-events: none;
}

/* When scrolled — tighten to top edge */
.nav.nav--scrolled {
  top: var(--space-3);
}

/* Mobile nav toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: var(--space-2);
  cursor: pointer;
  background: none;
  border: none;
}

.nav__toggle-bar {
  width: 20px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav__toggle--active .nav__toggle-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav__toggle--active .nav__toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav__toggle--active .nav__toggle-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile dropdown */
.nav__mobile {
  display: none;
  flex-direction: column;
  gap: var(--space-1);
  padding: var(--space-3);
  margin-top: var(--space-2);
  background: hsla(160, 15%, 8%, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  opacity: 0;
  transform: translateY(-10px);
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.nav__mobile--open {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
}

.nav__mobile-link {
  display: block;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text-muted);
  border-radius: var(--radius-md);
  transition: color 0.2s ease, background 0.2s ease;
}

.nav__mobile-link:hover {
  color: var(--color-text);
  background: hsla(101, 44%, 36%, 0.1);
}

.nav__inner {
  --nav-control-size: 44px;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.45rem 0.55rem;
  background: hsla(160, 15%, 8%, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  pointer-events: auto;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: var(--nav-control-size);
  min-width: 7.2rem;
  padding: 0 var(--space-5);
  line-height: 1;
}

.nav__logo-img {
  display: block;
  width: auto;
  height: 2rem;
  max-width: 5.9rem;
  object-fit: contain;
  transform: translateY(-6px);
}

.nav__logo-img--light {
  display: none;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  min-height: var(--nav-control-size);
  font-size: var(--text-sm);
  font-weight: 500;
  line-height: 1;
  padding: 0 var(--space-4);
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  transition: color var(--duration-normal) ease,
              background var(--duration-normal) ease;
  white-space: nowrap;
}

.nav__link:hover,
.nav__link.active {
  color: var(--color-text);
  background: hsla(101, 44%, 36%, 0.1);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  min-height: var(--nav-control-size);
  padding: 0 var(--space-6);
  background: var(--color-primary);
  color: var(--color-bg);
  font-weight: 600;
  font-size: var(--text-sm);
  line-height: 1;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
  white-space: nowrap;
}

.nav__cta:hover {
  background: var(--color-primary-light);
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}

.theme-toggle {
  position: relative;
  width: var(--nav-control-size);
  height: var(--nav-control-size);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, hsla(270, 70%, 65%, 0.18), transparent 34%),
    linear-gradient(145deg, hsla(160, 15%, 10%, 0.78), hsla(160, 16%, 5%, 0.58));
  border: 1px solid hsla(160, 20%, 34%, 0.28);
  color: hsl(266, 82%, 78%);
  cursor: pointer;
  overflow: hidden;
  transition: background var(--duration-normal) ease,
              border-color var(--duration-normal) ease,
              box-shadow var(--duration-normal) ease,
              transform var(--duration-normal) var(--ease-out);
}

.theme-toggle:hover {
  border-color: currentColor;
  box-shadow: 0 10px 26px hsla(270, 70%, 65%, 0.16), inset 0 1px 0 hsla(0, 0%, 100%, 0.16);
  transform: translateY(-1px);
}

.theme-toggle::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: inherit;
  background: hsla(0, 0%, 100%, 0.07);
  transition: background var(--duration-normal) ease, transform var(--duration-normal) var(--ease-out);
}

.theme-toggle__icon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transition: opacity var(--duration-normal) ease,
              transform var(--duration-normal) var(--ease-out-expo);
}

.theme-toggle__icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 4px 8px hsla(0, 0%, 0%, 0.18));
}

.theme-toggle__icon--sun {
  opacity: 0;
  transform: translateY(16px) rotate(-42deg) scale(0.68);
}

.theme-toggle__icon--moon {
  opacity: 1;
  transform: translateY(0) rotate(0) scale(1);
}

html[data-theme="light"] .theme-toggle__icon--sun {
  opacity: 1;
  transform: translateY(0) rotate(0) scale(1);
}

html[data-theme="light"] .theme-toggle__icon--moon {
  opacity: 0;
  transform: translateY(-18px) rotate(45deg) scale(0.6);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__particles {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  z-index: 1;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: var(--space-8);
  visibility: hidden; /* GSAP autoAlpha reveals this */
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: hsla(101, 44%, 36%, 0.1);
  border: 1px solid hsla(101, 44%, 36%, 0.2);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-primary-light);
  letter-spacing: 0.05em;
  margin-bottom: var(--space-8);
}

.hero__badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  margin-bottom: var(--space-6);
}

.hero__title-line {
  display: block;
}

.hero__title .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(60px) rotateX(-40deg);
}

.hero__subtitle {
  font-size: var(--text-xl);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
  min-height: 2em;
}

.hero__typed {
  color: var(--color-primary-light);
  font-weight: 500;
}

.typed-cursor {
  color: var(--color-primary);
  font-weight: 300;
}

.hero__desc {
  font-size: var(--text-base);
  color: var(--color-text-subtle);
  max-width: 540px;
  margin: 0 auto var(--space-10);
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-bg);
}

.btn--primary:hover {
  background: var(--color-primary-light);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--ghost {
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  background: hsla(160, 15%, 8%, 0.3);
  backdrop-filter: blur(10px);
}

.btn--ghost:hover {
  border-color: var(--color-primary);
  color: var(--color-primary-light);
  background: hsla(101, 44%, 36%, 0.05);
}

.hero__scroll {
  position: absolute;
  bottom: var(--space-10);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-text-subtle);
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--color-primary), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* --- Homepage Join Invitation --- */
.join-preview {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--space-8) + 56px) 0 var(--space-4);
  overflow: hidden;
}

.join-preview::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 14% 20%, hsla(101, 44%, 36%, 0.24), transparent 42%),
    radial-gradient(ellipse at 86% 18%, hsla(270, 70%, 65%, 0.12), transparent 44%),
    radial-gradient(ellipse at 70% 88%, hsla(168, 70%, 45%, 0.12), transparent 46%),
    linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
  pointer-events: none;
}

.join-preview__glow {
  position: absolute;
  width: min(52vw, 720px);
  aspect-ratio: 1;
  right: -8%;
  top: 5%;
  background:
    radial-gradient(circle, hsla(101, 44%, 36%, 0.2), transparent 58%),
    conic-gradient(from 120deg, transparent, hsla(101, 44%, 36%, 0.16), transparent, hsla(270, 70%, 65%, 0.1), transparent);
  filter: blur(18px);
  pointer-events: none;
}

.join-preview__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(440px, 0.98fr);
  align-items: center;
  gap: var(--space-4);
}

.join-preview__intro {
  position: relative;
  min-width: 0;
  min-height: calc(100svh - 112px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: var(--space-2);
}

.join-preview__mailbox {
  position: relative;
  min-width: 0;
  width: min(100%, 650px);
  max-width: 100%;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.join-preview__badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 32px;
  padding: 0 var(--space-3);
  margin-bottom: var(--space-3);
  border: 1px solid hsla(101, 44%, 36%, 0.28);
  border-radius: 999px;
  background: hsla(150, 14%, 12%, 0.42);
  color: var(--color-primary);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.join-preview__badge span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 16px hsla(101, 44%, 36%, 0.55);
}

.join-preview__title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 4.75vw, 5.45rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0;
  margin-bottom: var(--space-2);
  max-width: 560px;
}

.join-preview__title span {
  display: block;
}

.join-preview__title em {
  display: block;
  font-style: italic;
  color: hsl(141, 56%, 75%);
  text-shadow: 0 0 32px hsla(101, 44%, 36%, 0.28);
}

.join-preview__desc {
  max-width: 500px;
  color: var(--color-text-muted);
  font-size: var(--text-base);
  line-height: 1.5;
  margin-bottom: var(--space-2);
}

.join-preview__form {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  gap: var(--space-3);
  align-items: center;
  width: min(100%, 650px);
}

.join-preview__form .form__input {
  min-height: 64px;
  padding: 0 var(--space-6);
  border-radius: 999px;
  border-color: hsla(101, 44%, 36%, 0.24);
  background: hsla(0, 0%, 100%, 0.72);
  color: var(--color-text);
  box-shadow: 0 18px 50px hsla(160, 28%, 22%, 0.12);
}

.join-preview__submit {
  justify-self: stretch;
  min-height: 64px;
  padding-inline: var(--space-8);
  border-radius: 999px;
  white-space: nowrap;
}

.join-preview__visual {
  position: relative;
  display: grid;
  min-width: 0;
  max-width: 100%;
  width: min(100%, 700px);
  place-items: center;
  min-height: calc(100svh - 112px);
  justify-self: end;
  transform: translateX(clamp(28px, 4vw, 68px));
}

.join-preview__visual::before,
.join-preview__visual::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.join-preview__visual::before {
  width: min(50vw, 700px);
  aspect-ratio: 1;
  background:
    radial-gradient(circle, hsla(101, 44%, 36%, 0.24), transparent 62%),
    radial-gradient(circle at 64% 38%, hsla(158, 56%, 54%, 0.14), transparent 42%);
  animation: join-visual-glow 7s ease-in-out infinite;
}

.join-preview__visual::after {
  width: 18px;
  height: 18px;
  right: 8%;
  top: 16%;
  border: 3px solid var(--color-primary);
  box-shadow: 0 0 24px hsla(101, 44%, 36%, 0.4);
}

.join-preview__orbit {
  position: absolute;
  z-index: 2;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.72;
}

.join-preview__orbit::before,
.join-preview__orbit::after {
  content: '';
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 18px hsla(101, 44%, 36%, 0.65);
}

.join-preview__orbit--outer {
  width: min(76%, 470px);
  aspect-ratio: 1;
  border: 1px solid hsla(101, 44%, 36%, 0.22);
  animation: join-orbit-spin 18s linear infinite;
}

.join-preview__orbit--outer::before {
  top: 12%;
  left: 11%;
}

.join-preview__orbit--outer::after {
  right: 7%;
  bottom: 22%;
  background: hsl(158, 56%, 54%);
}

.join-preview__orbit--inner {
  width: min(56%, 340px);
  aspect-ratio: 1;
  border: 1px dashed hsla(101, 44%, 36%, 0.24);
  animation: join-orbit-spin 13s linear infinite reverse;
}

.join-preview__orbit--inner::before {
  right: 14%;
  top: 16%;
}

.join-preview__orbit--inner::after {
  left: 12%;
  bottom: 18%;
  background: hsl(268, 46%, 66%);
  box-shadow: 0 0 16px hsla(268, 46%, 66%, 0.52);
}

.join-preview__image-frame {
  position: relative;
  z-index: 1;
  width: min(100%, 570px, calc(100svh - 172px));
  max-width: 100%;
  aspect-ratio: 1;
  padding: 11px;
  clip-path: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0 50%);
  background:
    linear-gradient(135deg, hsla(0, 0%, 100%, 0.78), hsla(101, 44%, 36%, 0.16), hsla(160, 45%, 54%, 0.2)) padding-box,
    linear-gradient(135deg, hsla(101, 44%, 36%, 0.88), hsla(158, 56%, 54%, 0.42), hsla(270, 45%, 62%, 0.32)) border-box;
  border: 1px solid transparent;
  box-shadow:
    var(--shadow-xl),
    0 0 86px hsla(101, 44%, 36%, 0.18),
    inset 0 0 0 1px hsla(0, 0%, 100%, 0.32);
  animation: join-image-float 7.5s ease-in-out infinite;
  isolation: isolate;
}

.join-preview__image-frame::before,
.join-preview__image-frame::after {
  content: '';
  position: absolute;
  inset: 11px;
  clip-path: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0 50%);
  pointer-events: none;
  z-index: 2;
}

.join-preview__image-frame::before {
  background:
    linear-gradient(135deg, hsla(101, 44%, 36%, 0.18), transparent 34%, hsla(158, 56%, 54%, 0.16)),
    radial-gradient(circle at 68% 30%, hsla(101, 44%, 36%, 0.18), transparent 34%),
    linear-gradient(180deg, hsla(160, 38%, 96%, 0.08), hsla(101, 44%, 36%, 0.08));
  mix-blend-mode: color;
  opacity: 0.58;
}

.join-preview__image-frame::after {
  background:
    linear-gradient(105deg, transparent 0 34%, hsla(0, 0%, 100%, 0.22) 45%, transparent 57%),
    radial-gradient(circle at 52% 50%, transparent 42%, hsla(101, 44%, 36%, 0.16));
  opacity: 0.38;
  transform: translateX(-68%);
  animation: join-image-sheen 5.8s ease-in-out infinite;
}

.join-preview__image-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0 50%);
  filter: saturate(0.9) sepia(0.08) hue-rotate(12deg) contrast(0.98) brightness(0.98);
}

.join-preview__signal {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 var(--space-4);
  border: 1px solid hsla(101, 44%, 36%, 0.26);
  border-radius: var(--radius-full);
  background: hsla(160, 14%, 10%, 0.68);
  color: var(--color-text);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: var(--shadow-md), 0 0 34px hsla(101, 44%, 36%, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  animation: join-signal-float 5.4s ease-in-out infinite;
}

.join-preview__signal::before {
  content: '';
  width: 7px;
  height: 7px;
  margin-right: var(--space-2);
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 14px hsla(101, 44%, 36%, 0.7);
}

.join-preview__signal--food {
  left: 7%;
  bottom: 20%;
}

.join-preview__signal--forum {
  right: 3%;
  top: 20%;
  animation-delay: -2.2s;
}

@keyframes join-image-float {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-0.35deg); }
  50% { transform: translate3d(0, -14px, 0) rotate(0.45deg); }
}

@keyframes join-image-sheen {
  0%, 46% { transform: translateX(-70%); }
  74%, 100% { transform: translateX(72%); }
}

@keyframes join-orbit-spin {
  to { transform: rotate(360deg); }
}

@keyframes join-signal-float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -8px, 0); }
}

@keyframes join-visual-glow {
  0%, 100% { opacity: 0.82; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}

/* --- Editorial Homepage --- */
.hero--editorial {
  min-height: 78svh;
  padding: clamp(5.5rem, 7vw, 7rem) 0 clamp(4.5rem, 7vw, 6rem);
}

.hero--editorial .hero__layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(390px, 1.14fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5.5rem);
}

.hero--editorial .hero__content {
  max-width: 620px;
  padding: 0;
  text-align: left;
}

.hero--editorial .hero__badge {
  margin-bottom: var(--space-5);
}

.hero--editorial .hero__title {
  font-size: clamp(2.15rem, 3.1vw, 3.75rem);
  line-height: 1.04;
  margin-bottom: var(--space-4);
}

.hero--editorial .hero__subtitle {
  font-size: clamp(1.1rem, 1.55vw, 1.6rem);
  margin-bottom: var(--space-3);
  min-height: 1.45em;
}

.hero--editorial .hero__desc {
  max-width: 580px;
  margin: 0 0 var(--space-7);
  line-height: 1.65;
}

.hero--editorial .hero__actions {
  justify-content: flex-start;
}

.hero__visual {
  position: relative;
  min-height: clamp(360px, 38vw, 520px);
  transform-style: preserve-3d;
  isolation: isolate;
}

.hero__visual::before {
  content: '';
  position: absolute;
  inset: 7% -3% 6% 10%;
  border: 1px solid hsla(101, 44%, 36%, 0.2);
  background:
    linear-gradient(135deg, hsla(101, 44%, 36%, 0.12), transparent 42%),
    linear-gradient(180deg, hsla(160, 14%, 12%, 0.72), hsla(160, 12%, 8%, 0.52));
  box-shadow: var(--shadow-xl), 0 0 80px hsla(101, 44%, 36%, 0.14);
  clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
  z-index: -2;
}

.hero__image-card {
  position: absolute;
  inset: 0 0 0 4%;
  overflow: hidden;
  border: 1px solid hsla(101, 44%, 36%, 0.28);
  border-radius: var(--radius-sm);
  background: hsla(160, 15%, 8%, 0.56);
  box-shadow: var(--shadow-xl), 0 0 68px hsla(101, 44%, 36%, 0.12);
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
  animation: hero-fruit-float 7s ease-in-out infinite;
}

.hero__image-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, transparent 0 35%, hsla(0, 0%, 100%, 0.22) 45%, transparent 58%),
    linear-gradient(180deg, hsla(101, 44%, 36%, 0.08), transparent 48%, hsla(270, 70%, 65%, 0.1));
  mix-blend-mode: screen;
  opacity: 0.45;
  transform: translateX(-70%);
  animation: hero-scan 5.6s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

.hero__image-card img {
  width: 100%;
  height: 100%;
  min-height: clamp(360px, 38vw, 520px);
  object-fit: cover;
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.04);
  transition: transform 0.9s var(--ease-out);
}

.hero__visual:hover .hero__image-card img {
  transform: scale(1.1);
}

.hero__visual-orbit {
  position: absolute;
  border: 1px solid hsla(101, 44%, 36%, 0.32);
  border-radius: 50%;
  z-index: 3;
  pointer-events: none;
}

.hero__visual-orbit::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 20px var(--color-primary);
}

.hero__visual-orbit--one {
  top: 8%;
  right: 10%;
  width: 86px;
  height: 86px;
  animation: hero-orbit-spin 12s linear infinite;
}

.hero__visual-orbit--one::after {
  top: 2px;
  left: 50%;
}

.hero__visual-orbit--two {
  bottom: 8%;
  left: 3%;
  width: 58px;
  height: 58px;
  animation: hero-orbit-spin 9s linear infinite reverse;
}

.hero__visual-orbit--two::after {
  right: 1px;
  top: 50%;
}

.hero__fruit-chip {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: var(--space-2) var(--space-4);
  border: 1px solid hsla(101, 44%, 36%, 0.24);
  border-radius: var(--radius-full);
  background: hsla(160, 15%, 8%, 0.7);
  color: var(--color-text);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: var(--shadow-md), 0 0 30px hsla(101, 44%, 36%, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  animation: hero-chip-float 5.5s ease-in-out infinite;
}

.hero__fruit-chip::before {
  content: '';
  width: 7px;
  height: 7px;
  margin-right: var(--space-2);
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 14px var(--color-primary);
}

.hero__fruit-chip--tomato {
  top: 15%;
  left: -1%;
}

.hero__fruit-chip--banana {
  right: 2%;
  bottom: 15%;
  animation-delay: -1.8s;
}

.hero__fruit-chip--greens {
  left: 15%;
  bottom: 5%;
  animation-delay: -3s;
}

@keyframes hero-fruit-float {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-0.6deg); }
  50% { transform: translate3d(0, -14px, 0) rotate(0.8deg); }
}

@keyframes hero-chip-float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -10px, 0); }
}

@keyframes hero-orbit-spin {
  to { transform: rotate(360deg); }
}

@keyframes hero-scan {
  0%, 48% { transform: translateX(-75%); }
  72%, 100% { transform: translateX(80%); }
}

.hero--editorial .hero__scroll {
  display: none;
}

/* --- Homepage Objectives --- */
.home-objectives {
  position: relative;
  padding: var(--space-32) 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 18% 24%, hsla(101, 44%, 36%, 0.14), transparent 44%),
    radial-gradient(ellipse at 86% 72%, hsla(270, 70%, 65%, 0.08), transparent 46%);
}

.home-objectives::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 49.8%, hsla(101, 44%, 36%, 0.08) 49.8% 50%, transparent 50%),
    repeating-linear-gradient(90deg, transparent 0 118px, hsla(101, 44%, 36%, 0.035) 118px 119px),
    linear-gradient(180deg, transparent, hsla(160, 18%, 6%, 0.48));
  pointer-events: none;
  mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
}

.home-objectives__glow {
  position: absolute;
  top: 18%;
  right: 8%;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, hsla(101, 44%, 36%, 0.18), transparent 68%);
  filter: blur(10px);
  pointer-events: none;
}

.home-objectives__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(270px, 0.68fr) minmax(0, 1.32fr);
  align-items: start;
  gap: clamp(2rem, 5vw, 5rem);
}

.home-objectives__copy {
  position: sticky;
  top: 128px;
  max-width: 470px;
}

.home-objectives__copy .btn {
  margin-top: var(--space-8);
}

.home-objectives__rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 1.8vw, 1.35rem);
  padding-left: 0;
}

.home-objectives__rail::before {
  content: '';
  position: absolute;
  inset: -12px;
  z-index: -1;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 20% 22%, hsla(101, 44%, 36%, 0.13), transparent 34%),
    radial-gradient(circle at 84% 78%, hsla(270, 70%, 65%, 0.08), transparent 36%);
  opacity: 0.8;
}

.home-objectives .home-objective-card {
  min-height: 264px;
  padding: clamp(1.6rem, 2.4vw, 2rem);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(125% 85% at 88% 0%, hsla(101, 44%, 42%, 0.18), transparent 52%),
    radial-gradient(110% 80% at 2% 100%, hsla(270, 70%, 65%, 0.07), transparent 50%),
    linear-gradient(160deg, hsla(160, 16%, 14%, 0.96), hsla(160, 14%, 8%, 0.92));
  border-color: hsla(101, 44%, 42%, 0.24);
  box-shadow: 0 10px 30px -14px rgba(0, 0, 0, 0.7), inset 0 1px 0 hsla(0, 0%, 100%, 0.06);
  transition: border-color var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-slow) var(--ease-out),
              background var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

.home-objectives .home-objective-card::before {
  height: 3px;
  opacity: 0.6;
  background: linear-gradient(90deg, var(--color-primary) 0%, hsla(270, 70%, 65%, 0.6) 55%, transparent 92%);
  transition: opacity var(--duration-normal) ease;
}

.home-objectives .home-objective-card:hover::before {
  opacity: 1;
}

.home-objectives .home-objective-card::after {
  background:
    radial-gradient(280px circle at var(--glow-x) var(--glow-y),
      hsla(101, 44%, 36%, 0.15), transparent 76%);
}

.home-objectives .home-objective-card:hover {
  border-color: hsla(101, 44%, 42%, 0.5);
  box-shadow: var(--shadow-lg), 0 20px 50px -18px hsla(101, 44%, 36%, 0.5), inset 0 1px 0 hsla(0, 0%, 100%, 0.09);
  transform: translateY(-6px);
}

.home-objective-card__number {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 32px;
  padding: 0.2rem 0.85rem;
  border: 1px solid hsla(101, 44%, 42%, 0.38);
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, hsla(101, 44%, 38%, 0.22), hsla(101, 44%, 38%, 0.08));
  color: var(--color-primary-light);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 900;
  letter-spacing: 0.16em;
  margin-bottom: var(--space-6);
  box-shadow: 0 2px 12px hsla(101, 44%, 36%, 0.16);
  transition: border-color var(--duration-normal) ease, box-shadow var(--duration-normal) ease, background var(--duration-normal) ease;
}

.home-objectives .home-objective-card:hover .home-objective-card__number {
  border-color: hsla(101, 44%, 36%, 0.5);
  box-shadow: 0 2px 14px hsla(101, 44%, 36%, 0.24);
}

.home-objective-card__number::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 18px var(--color-primary);
}

.home-objective-card h3,
.home-objective-card p {
  position: relative;
  z-index: 1;
}

.home-objective-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.12rem, 1rem + 0.55vw, 1.4rem);
  line-height: 1.16;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-3);
}

.home-objective-card p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.65;
}

.home-section-head {
  max-width: 780px;
  margin-bottom: var(--space-12);
}

.home-section-head .section-desc {
  max-width: 720px;
}

.home-mission,
.home-story,
.home-pathways,
.home-resources,
.home-final {
  position: relative;
  padding: var(--space-32) 0;
  overflow: hidden;
}

.home-resources {
  background:
    radial-gradient(ellipse at 12% 20%, hsla(101, 44%, 36%, 0.12), transparent 44%),
    radial-gradient(ellipse at 92% 74%, hsla(158, 56%, 54%, 0.08), transparent 42%);
}

.home-resources::before {
  content: '';
  position: absolute;
  inset: 18% 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, hsla(101, 44%, 36%, 0.32), transparent);
  pointer-events: none;
}

.home-mission::before,
.home-pathways::before,
.home-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 14% 20%, hsla(101, 44%, 36%, 0.14), transparent 46%),
    radial-gradient(ellipse at 88% 78%, hsla(270, 70%, 65%, 0.1), transparent 44%);
  pointer-events: none;
  mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
}

.home-mission {
  background:
    radial-gradient(ellipse at 78% 12%, hsla(101, 44%, 36%, 0.07), transparent 52%),
    hsla(160, 16%, 9%, 0.4);
}

.home-signal-grid,
.home-pathway-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-6);
}

.home-signal-card,
.home-pathway-card,
.home-final__panel,
.home-story__media,
.home-resources__grid {
  position: relative;
  overflow: hidden;
  border: 1px solid hsla(101, 44%, 42%, 0.22);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, hsla(160, 16%, 14%, 0.92), hsla(160, 14%, 8%, 0.84));
  box-shadow: 0 14px 36px -16px rgba(0, 0, 0, 0.66), inset 0 1px 0 hsla(0, 0%, 100%, 0.05);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.home-signal-card,
.home-pathway-card {
  min-height: 250px;
  padding: var(--space-8);
  transition: transform var(--duration-normal) ease, border-color var(--duration-normal) ease, box-shadow var(--duration-normal) ease;
}

.home-signal-card:hover,
.home-pathway-card:hover {
  border-color: hsla(101, 44%, 42%, 0.5);
  box-shadow: var(--shadow-lg), 0 22px 54px -18px hsla(101, 44%, 36%, 0.5), inset 0 1px 0 hsla(0, 0%, 100%, 0.08);
  transform: translateY(-6px);
}

.home-signal-card::before,
.home-pathway-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary) 0%, hsla(270, 70%, 65%, 0.55) 55%, transparent 92%);
  opacity: 0.5;
  transition: opacity var(--duration-normal) ease;
}

.home-signal-card:hover::before,
.home-pathway-card:hover::before {
  opacity: 1;
}

.home-signal-card span,
.home-pathway-card span {
  display: inline-flex;
  color: var(--color-primary-light);
  font-family: var(--font-display);
  font-weight: 900;
  margin-bottom: var(--space-6);
}

.home-signal-card h3,
.home-pathway-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  line-height: 1.1;
  margin-bottom: var(--space-4);
}

.home-signal-card p,
.home-pathway-card p {
  color: var(--color-text-muted);
  line-height: 1.7;
}

.home-signal-panel {
  grid-template-columns: minmax(280px, 0.92fr) minmax(320px, 1.08fr);
  gap: 0;
  padding: clamp(1rem, 2vw, 1.35rem);
  border: 1px solid hsla(101, 44%, 42%, 0.2);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(520px circle at 10% 12%, hsla(101, 44%, 36%, 0.16), transparent 62%),
    radial-gradient(420px circle at 100% 84%, hsla(270, 70%, 65%, 0.1), transparent 62%),
    linear-gradient(150deg, hsla(160, 16%, 14%, 0.88), hsla(160, 14%, 8%, 0.76));
  box-shadow: var(--shadow-xl), 0 0 80px hsla(101, 44%, 36%, 0.08), inset 0 1px 0 hsla(0, 0%, 100%, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
}

.home-signal-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), hsla(270, 70%, 65%, 0.55), transparent 72%);
  opacity: 0.72;
}

.home-signal-card--primary,
.home-signal-card--detail {
  border: 0;
  border-radius: var(--radius-md);
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.home-signal-card--primary {
  min-height: 340px;
  padding: clamp(2rem, 4vw, 3.25rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(160deg, hsla(0, 0%, 100%, 0.08), transparent 58%),
    hsla(101, 44%, 36%, 0.08);
}

.home-signal-card--primary::after {
  content: "";
  position: absolute;
  right: clamp(1.25rem, 3vw, 2.5rem);
  top: clamp(1.25rem, 3vw, 2.25rem);
  width: clamp(86px, 11vw, 132px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid hsla(101, 44%, 42%, 0.24);
  background:
    radial-gradient(circle at 36% 36%, hsla(101, 44%, 36%, 0.34), transparent 28%),
    linear-gradient(90deg, transparent 49%, hsla(101, 44%, 42%, 0.18) 50%, transparent 51%),
    linear-gradient(0deg, transparent 49%, hsla(270, 70%, 65%, 0.14) 50%, transparent 51%);
  pointer-events: none;
}

.home-signal-card--primary h3 {
  max-width: 12ch;
  font-size: clamp(2rem, 3vw, 3rem);
}

.home-signal-card--primary p {
  max-width: 38ch;
}

.home-signal-panel__details {
  display: grid;
  align-content: center;
  gap: var(--space-4);
  padding: clamp(1rem, 2.5vw, 2rem);
}

.home-signal-card--detail {
  min-height: auto;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: var(--space-5);
  align-items: center;
  padding: clamp(1.25rem, 2.3vw, 1.8rem);
  background: hsla(0, 0%, 100%, 0.045);
  border: 1px solid hsla(101, 44%, 42%, 0.14);
}

.home-signal-card--detail + .home-signal-card--detail {
  margin-top: 0;
}

.home-signal-card--detail span {
  width: 38px;
  height: 38px;
  margin-bottom: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: hsla(101, 44%, 36%, 0.14);
  border: 1px solid hsla(101, 44%, 42%, 0.2);
  font-size: var(--text-xs);
}

.home-signal-card--detail h3 {
  margin-bottom: var(--space-2);
  font-size: var(--text-xl);
}

.home-signal-card--detail p {
  max-width: 46ch;
  font-size: var(--text-sm);
}

.home-signal-card--primary:hover,
.home-signal-card--detail:hover {
  transform: none;
  box-shadow: none;
  border-color: hsla(101, 44%, 42%, 0.28);
}

.home-story__grid,
.home-resources__grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1fr);
  align-items: center;
  gap: var(--space-16);
}

.home-story__media {
  min-height: 520px;
}

.home-story__media img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: 38% center;
  transition: transform 0.8s var(--ease-out);
}

.home-story__media:hover img {
  transform: scale(1.04);
}

.home-story__copy {
  max-width: 660px;
}

.home-story__copy .section-title {
  max-width: 640px;
  font-size: clamp(1.8rem, 2.35vw, 2.8rem);
  line-height: 1.1;
  margin-bottom: var(--space-5);
}

.home-story__copy .section-desc {
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  line-height: 1.75;
}

.home-story__list {
  display: grid;
  gap: var(--space-3);
  margin: calc(var(--space-6) + var(--space-2)) 0 var(--space-8);
  max-width: 620px;
}

.home-story__list span {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 26px;
  align-items: center;
  column-gap: var(--space-4);
  min-height: 68px;
  padding: var(--space-4) var(--space-5);
  border: 1px solid hsla(101, 44%, 36%, 0.18);
  border-radius: var(--radius-sm);
  background:
    radial-gradient(circle at 6% 50%, hsla(101, 44%, 36%, 0.18), transparent 28%),
    linear-gradient(135deg, hsla(160, 14%, 12%, 0.74), hsla(160, 12%, 8%, 0.46));
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: clamp(0.98rem, 0.9rem + 0.34vw, 1.18rem);
  font-weight: 800;
  line-height: 1.35;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--duration-normal) var(--ease-out),
              border-color var(--duration-normal) ease,
              box-shadow var(--duration-normal) ease;
}

.home-story__list span::before {
  content: '';
  position: relative;
  width: 32px;
  height: 32px;
  justify-self: center;
  border-radius: 50%;
  border: 1px solid hsla(101, 44%, 36%, 0.34);
  background:
    radial-gradient(circle at 62% 38%, hsla(0, 0%, 100%, 0.36) 0 4px, transparent 5px),
    linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  box-shadow:
    0 0 18px hsla(101, 44%, 36%, 0.26),
    inset 0 1px 0 hsla(0, 0%, 100%, 0.22);
}

.home-story__list span::after {
  content: '';
  position: relative;
  justify-self: end;
  width: 18px;
  height: 18px;
  opacity: 0.54;
  background: var(--color-primary-light);
  mask: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 9h8M10 6l3 3-3 3' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform var(--duration-normal) var(--ease-out), opacity var(--duration-normal) ease;
}

.home-story__list span:hover {
  transform: translateX(5px);
  border-color: hsla(101, 44%, 36%, 0.32);
  box-shadow: var(--shadow-md), 0 0 34px hsla(101, 44%, 36%, 0.08);
}

.home-story__list span:hover::after {
  opacity: 0.9;
  transform: translateX(3px);
}

.home-story__copy .btn--ghost {
  min-height: 48px;
  padding: 0 var(--space-6);
  border-color: hsla(101, 44%, 36%, 0.26);
  background: hsla(101, 44%, 36%, 0.08);
  box-shadow: var(--shadow-sm);
}

.home-pathway-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-pathway-card--featured {
  background:
    radial-gradient(420px circle at 20% 18%, hsla(101, 44%, 36%, 0.18), transparent 70%),
    linear-gradient(135deg, hsla(160, 14%, 12%, 0.94), hsla(160, 12%, 8%, 0.78));
}

.home-resources__grid {
  isolation: isolate;
  padding: 0;
  grid-template-columns: minmax(260px, 0.68fr) minmax(0, 1.32fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  background: none;
}

.home-resources__grid::before {
  display: none;
}

.home-resources__copy {
  position: relative;
  z-index: 1;
  max-width: 450px;
}

.home-resources__copy .section-title {
  margin-bottom: var(--space-5);
}

.home-resources__desc {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  line-height: 1.75;
  margin-bottom: var(--space-8);
}

.home-resources__browse {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 42px;
  padding: 0 var(--space-5);
  border: 1px solid hsla(101, 44%, 36%, 0.28);
  border-radius: var(--radius-full);
  background: hsla(101, 44%, 36%, 0.1);
  color: var(--color-primary-light);
  font-size: var(--text-sm);
  font-weight: 800;
  transition: transform var(--duration-normal) var(--ease-out),
              border-color var(--duration-normal) ease,
              background var(--duration-normal) ease,
              box-shadow var(--duration-normal) ease;
}

.home-resources__browse::after {
  content: '->';
  transform: translateX(0);
  transition: transform var(--duration-normal) var(--ease-out);
}

.home-resources__browse:hover {
  border-color: hsla(101, 44%, 36%, 0.46);
  background: hsla(101, 44%, 36%, 0.16);
  box-shadow: 0 0 28px hsla(101, 44%, 36%, 0.12);
  transform: translateY(-2px);
}

.home-resources__browse:hover::after {
  transform: translateX(3px);
}

.home-resource-links {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.35rem);
}

.home-resource-links a {
  position: relative;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: var(--space-4);
  padding: clamp(1.35rem, 2.2vw, 1.75rem);
  overflow: hidden;
  border: 1px solid hsla(101, 44%, 42%, 0.24);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(125% 85% at 90% 0%, hsla(101, 44%, 42%, 0.18), transparent 50%),
    radial-gradient(110% 80% at 2% 100%, hsla(270, 70%, 65%, 0.06), transparent 50%),
    linear-gradient(160deg, hsla(160, 16%, 14%, 0.95), hsla(160, 14%, 8%, 0.9));
  color: var(--color-text);
  box-shadow:
    0 10px 30px -14px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 hsla(0, 0%, 100%, 0.06);
  transition: color var(--duration-normal) ease,
              border-color var(--duration-normal) ease,
              box-shadow var(--duration-normal) ease,
              transform var(--duration-normal) var(--ease-out);
}

.home-resource-links a::before {
  content: attr(data-index);
  position: absolute;
  right: var(--space-5);
  top: var(--space-4);
  color: hsla(101, 44%, 42%, 0.2);
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 4vw, 3.7rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  transition: color var(--duration-normal) ease, transform var(--duration-normal) var(--ease-out);
  pointer-events: none;
}

.home-resource-links a::after {
  content: '';
  position: absolute;
  left: clamp(1.35rem, 2.2vw, 1.75rem);
  right: clamp(1.35rem, 2.2vw, 1.75rem);
  bottom: 0;
  height: 3px;
  border-radius: var(--radius-full) var(--radius-full) 0 0;
  background: linear-gradient(90deg, var(--color-primary), hsla(270, 70%, 65%, 0.5), hsla(101, 44%, 36%, 0));
  opacity: 0.6;
  transform: scaleX(0.42);
  transform-origin: left center;
  transition: transform var(--duration-normal) var(--ease-out), opacity var(--duration-normal) ease;
}

.home-resource-card__kicker,
.home-resource-card__action,
.home-resource-links a strong,
.home-resource-links a small {
  position: relative;
  z-index: 1;
}

.home-resource-card__kicker {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 var(--space-3);
  border: 1px solid hsla(101, 44%, 42%, 0.34);
  border-radius: var(--radius-full);
  color: var(--color-primary-light);
  background: linear-gradient(135deg, hsla(101, 44%, 38%, 0.2), hsla(101, 44%, 38%, 0.07));
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home-resource-links a strong {
  display: block;
  max-width: 12rem;
  padding-right: var(--space-5);
  font-family: var(--font-display);
  font-size: clamp(1.08rem, 0.98rem + 0.48vw, 1.35rem);
  line-height: 1.08;
  margin-top: auto;
}

.home-resource-links a small {
  display: block;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.55;
}

.home-resource-card__action {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: auto;
  color: var(--color-primary-light);
  font-size: var(--text-sm);
  font-weight: 800;
}

.home-resource-card__action::after {
  content: '->';
  transition: transform var(--duration-normal) var(--ease-out);
}

.home-resource-links a:hover {
  color: var(--color-text);
  border-color: hsla(101, 44%, 42%, 0.5);
  box-shadow: var(--shadow-lg), 0 20px 50px -18px hsla(101, 44%, 36%, 0.45), inset 0 1px 0 hsla(0, 0%, 100%, 0.09);
  transform: translateY(-6px);
}

.home-resource-links a:hover::before {
  color: hsla(101, 44%, 36%, 0.25);
  transform: translateY(-3px);
}

.home-resource-links a:hover::after {
  opacity: 0.9;
  transform: scaleX(1);
}

.home-resource-links a:hover .home-resource-card__action::after {
  transform: translateX(4px);
}

.home-final {
  padding-top: var(--space-20);
}

.home-final__panel {
  padding: var(--space-12);
  text-align: center;
}

.home-final__panel h2 {
  max-width: 860px;
  margin: 0 auto var(--space-8);
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  line-height: 1.08;
}

/* --- Overview Section --- */
.overview {
  padding: var(--space-32) 0;
  position: relative;
}

.overview__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.overview__text {
  max-width: 520px;
}

.overview__image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.overview__image-wrap img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  transition: transform 0.8s var(--ease-out);
}

.overview__image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, hsla(101, 44%, 36%, 0.1) 0%, transparent 50%);
  border-radius: var(--radius-lg);
  pointer-events: none;
}

.overview__image-wrap:hover img {
  transform: scale(1.05);
}

.overview__highlights {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
  margin-top: var(--space-10);
}

.overview__pillar {
  --glow-x: 50%;
  --glow-y: 50%;
  position: relative;
  min-height: auto;
  padding: var(--space-4);
  background: hsla(160, 12%, 10%, 0.5);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--duration-normal) ease,
              box-shadow var(--duration-normal) ease,
              transform var(--duration-normal) var(--ease-out);
  will-change: transform;
}

.overview__pillar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(240px circle at var(--glow-x) var(--glow-y),
    hsla(101, 44%, 36%, 0.08), transparent 72%);
  opacity: 0;
  transition: opacity var(--duration-normal) ease;
  pointer-events: none;
}

.overview__pillar:hover {
  border-color: hsla(101, 44%, 36%, 0.24);
  box-shadow: var(--shadow-md);
}

.overview__pillar:hover::after {
  opacity: 1;
}

.overview__pillar-kicker,
.overview__pillar-title,
.overview__pillar p {
  position: relative;
  z-index: 1;
}

.overview__pillar-kicker {
  display: inline-flex;
  margin-bottom: var(--space-4);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary-light);
}

.overview__pillar-title {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: var(--space-3);
}

.overview__pillar p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.55;
}

/* --- Partners Section --- */
.partners {
  padding: var(--space-32) 0;
  position: relative;
  overflow: hidden;
}

.partners::before {
  content: '';
  position: absolute;
  inset: 12% auto auto 50%;
  width: 70vw;
  height: 70vw;
  max-width: 820px;
  max-height: 820px;
  background: radial-gradient(circle, hsla(101, 44%, 36%, 0.08), transparent 62%);
  transform: translateX(-50%);
  pointer-events: none;
}

.partners__header {
  position: relative;
  text-align: center;
  margin-bottom: var(--space-16);
}

.partners__header .section-desc {
  margin: 0 auto;
}

.partners__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-6);
  max-width: 1040px;
  margin: 0 auto;
}

.partner-card {
  --glow-x: 50%;
  --glow-y: 50%;
  position: relative;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-6);
  background: linear-gradient(180deg, hsla(160, 14%, 12%, 0.82), hsla(160, 12%, 8%, 0.72));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  overflow: hidden;
  transition: border-color var(--duration-normal) ease,
              box-shadow var(--duration-normal) ease,
              transform var(--duration-normal) var(--ease-out);
  will-change: transform;
}

.partner-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(320px circle at var(--glow-x) var(--glow-y),
    hsla(101, 44%, 36%, 0.12), transparent 70%);
  opacity: 0;
  transition: opacity var(--duration-normal) ease;
  pointer-events: none;
}

.partner-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-top: 1px solid hsla(158, 64%, 65%, 0.18);
  pointer-events: none;
}

.partner-card:hover {
  border-color: hsla(101, 44%, 36%, 0.34);
  box-shadow: var(--shadow-lg), 0 0 50px hsla(101, 44%, 36%, 0.08);
  transform: translateY(-4px);
}

.partner-card:hover::before {
  opacity: 1;
}

.partner-card__label,
.partner-card__mark,
.partner-card__name,
.partner-card__desc,
.partner-card__link {
  position: relative;
  z-index: 1;
}

.partner-card__label {
  display: inline-flex;
  padding: var(--space-1) var(--space-3);
  background: hsla(101, 44%, 36%, 0.1);
  border: 1px solid hsla(101, 44%, 36%, 0.18);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary-light);
}

.partner-card__mark {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  color: var(--color-text);
}

.partner-card__name {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-primary-light);
}

.partner-card__desc {
  flex: 1;
  font-size: var(--text-sm);
  line-height: 1.65;
  color: var(--color-text-muted);
}

.partner-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text);
}

.partner-card__link::after {
  content: '';
  width: 16px;
  height: 16px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 12L12 4M12 4H5M12 4V11' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 12L12 4M12 4H5M12 4V11' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform var(--duration-normal) var(--ease-out);
}

.partner-card:hover .partner-card__link::after {
  transform: translate(2px, -2px);
}

/* --- Objectives Section --- */
.objectives {
  padding: var(--space-32) 0;
  position: relative;
}

.objectives__header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.objectives__header .section-desc {
  margin: 0 auto;
}

.objectives__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
}

.objective-card {
  --glow-x: 50%;
  --glow-y: 50%;
  position: relative;
  padding: var(--space-8);
  background: hsla(160, 12%, 10%, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  transition: border-color var(--duration-slow) var(--ease-out),
              box-shadow var(--duration-slow) var(--ease-out);
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
}

.objective-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(350px circle at var(--glow-x) var(--glow-y),
    hsla(101, 44%, 36%, 0.08) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.objective-card:hover::after {
  opacity: 1;
}

.objective-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--duration-normal) ease;
}

.objective-card:hover::before {
  opacity: 1;
}

.objective-card:hover {
  border-color: hsla(101, 44%, 36%, 0.2);
  box-shadow: var(--shadow-lg), 0 0 60px hsla(101, 44%, 36%, 0.08);
  transform: translateY(-4px);
}

.objective-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsla(101, 44%, 36%, 0.1);
  border-radius: var(--radius-md);
  font-size: 1.5rem;
  margin-bottom: var(--space-6);
}

.objective-card__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: var(--space-3);
}

.objective-card__desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* --- Impact / Scrollytelling Section --- */
.impact {
  position: relative;
  overflow: hidden;
  padding: var(--space-32) 0;
  background:
    radial-gradient(ellipse at 22% 20%, hsla(101, 44%, 36%, 0.1), transparent 45%),
    radial-gradient(ellipse at 82% 78%, hsla(270, 70%, 65%, 0.1), transparent 46%),
    var(--color-bg);
}

.impact__header {
  position: relative;
  text-align: center;
  margin-bottom: var(--space-16);
}

.impact__header .section-desc {
  margin: 0 auto;
}

.impact__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: var(--space-6);
  max-width: 1080px;
  margin: 0 auto;
}

.impact-card {
  --glow-x: 50%;
  --glow-y: 50%;
  position: relative;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--space-8);
  background: linear-gradient(180deg, hsla(160, 14%, 12%, 0.82), hsla(160, 12%, 8%, 0.7));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--duration-normal) ease,
              box-shadow var(--duration-normal) ease,
              transform var(--duration-normal) var(--ease-out);
  will-change: transform;
}

.impact-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(360px circle at var(--glow-x) var(--glow-y),
    hsla(101, 44%, 36%, 0.12), transparent 72%);
  opacity: 0;
  transition: opacity var(--duration-normal) ease;
  pointer-events: none;
}

.impact-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-top: 1px solid hsla(158, 64%, 65%, 0.2);
  pointer-events: none;
}

.impact-card:hover {
  border-color: hsla(101, 44%, 36%, 0.3);
  box-shadow: var(--shadow-xl), 0 0 70px hsla(101, 44%, 36%, 0.08);
}

.impact-card:hover::before {
  opacity: 1;
}

.impact-card--featured {
  background: linear-gradient(135deg, hsla(158, 20%, 13%, 0.92), hsla(160, 12%, 8%, 0.78));
  border-color: hsla(101, 44%, 36%, 0.22);
}

.impact-card__label,
.impact-card__number,
.impact-card__statement,
.impact-card__desc {
  position: relative;
  z-index: 1;
}

.impact-card__label {
  display: inline-flex;
  align-self: flex-start;
  padding: var(--space-2) var(--space-4);
  background: hsla(101, 44%, 36%, 0.1);
  border: 1px solid hsla(101, 44%, 36%, 0.18);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary-light);
}

.impact-card__statement {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  margin: var(--space-8) 0 var(--space-6);
}

.impact-card__desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* --- Membership Section --- */
.membership {
  padding: var(--space-32) 0;
  position: relative;
}

.membership__header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.membership__header .section-desc {
  margin: 0 auto;
}

.membership::before {
  content: '';
  position: absolute;
  inset: 8% 0 auto;
  height: 70%;
  background:
    radial-gradient(ellipse at 20% 20%, hsla(101, 44%, 36%, 0.12), transparent 42%),
    radial-gradient(ellipse at 80% 70%, hsla(270, 70%, 65%, 0.1), transparent 46%);
  pointer-events: none;
}

.membership__free {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
}

.membership__invite {
  --glow-x: 50%;
  --glow-y: 50%;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(220px, 0.5fr);
  gap: var(--space-8);
  align-items: center;
  padding: var(--space-10);
  background: linear-gradient(135deg, hsla(160, 14%, 12%, 0.9), hsla(160, 12%, 8%, 0.78));
  border: 1px solid hsla(101, 44%, 36%, 0.2);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-xl), 0 0 90px hsla(101, 44%, 36%, 0.08);
  will-change: transform;
}

.membership__invite::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(520px circle at var(--glow-x) var(--glow-y),
    hsla(101, 44%, 36%, 0.13), transparent 70%);
  opacity: 0;
  transition: opacity var(--duration-normal) ease;
  pointer-events: none;
}

.membership__invite::after {
  content: '';
  position: absolute;
  inset: 0;
  border-top: 1px solid hsla(158, 64%, 65%, 0.22);
  pointer-events: none;
}

.membership__invite:hover::before {
  opacity: 1;
}

.membership__invite-copy,
.membership__price-mark {
  position: relative;
  z-index: 1;
}

.membership__pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: hsla(101, 44%, 36%, 0.1);
  border: 1px solid hsla(101, 44%, 36%, 0.2);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary-light);
  margin-bottom: var(--space-6);
}

.membership__pill::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 20px var(--color-primary);
}

.membership__headline {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
  margin-bottom: var(--space-4);
}

.membership__body {
  max-width: 650px;
  font-size: var(--text-lg);
  line-height: 1.7;
  color: var(--color-text-muted);
}

.membership__price-mark {
  justify-self: end;
  width: 210px;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background:
    linear-gradient(var(--color-bg), var(--color-bg)) padding-box,
    var(--gradient-primary) border-box;
  border: 1px solid transparent;
  box-shadow: var(--shadow-glow);
}

.membership__price-mark span {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 900;
  line-height: 0.95;
  color: var(--color-primary-light);
}

.membership__price-mark small {
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.membership__benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-6);
}

.membership-benefit {
  --glow-x: 50%;
  --glow-y: 50%;
  position: relative;
  min-height: 210px;
  padding: var(--space-6);
  background: hsla(160, 12%, 10%, 0.62);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--duration-normal) ease,
              box-shadow var(--duration-normal) ease,
              transform var(--duration-normal) var(--ease-out);
  will-change: transform;
}

.membership-benefit::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(320px circle at var(--glow-x) var(--glow-y),
    hsla(270, 70%, 65%, 0.1), transparent 70%);
  opacity: 0;
  transition: opacity var(--duration-normal) ease;
  pointer-events: none;
}

.membership-benefit:hover {
  border-color: hsla(101, 44%, 36%, 0.28);
  box-shadow: var(--shadow-lg), 0 0 50px hsla(101, 44%, 36%, 0.07);
}

.membership-benefit:hover::after {
  opacity: 1;
}

.membership-benefit__icon,
.membership-benefit__title,
.membership-benefit__desc {
  position: relative;
  z-index: 1;
}

.membership-benefit__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: hsla(101, 44%, 36%, 0.1);
  color: var(--color-primary-light);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 800;
  margin-bottom: var(--space-6);
}

.membership-benefit__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-3);
}

.membership-benefit__desc {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--color-text-muted);
}

.membership__actions {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-top: var(--space-10);
}

/* --- Multi-page Layout --- */
.page-main {
  min-height: 100vh;
  overflow: hidden;
}

.page-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  padding: calc(var(--space-24) + var(--space-10)) 0 var(--space-16);
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 18% 26%, hsla(101, 44%, 36%, 0.14), transparent 48%),
    radial-gradient(ellipse at 84% 70%, hsla(270, 70%, 65%, 0.12), transparent 50%),
    var(--color-bg);
  pointer-events: none;
}

.page-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: var(--space-16);
  align-items: center;
}

.page-hero__copy {
  max-width: 620px;
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  margin-bottom: var(--space-6);
}

.page-hero__desc {
  font-size: var(--text-lg);
  line-height: 1.75;
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}

.page-hero__brief {
  position: relative;
  display: grid;
  gap: var(--space-4);
  max-width: 560px;
  margin-bottom: var(--space-6);
  padding: var(--space-5);
  border: 1px solid hsla(101, 44%, 42%, 0.18);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(280px circle at 8% 0%, hsla(101, 44%, 36%, 0.12), transparent 62%),
    linear-gradient(150deg, hsla(160, 16%, 14%, 0.68), hsla(160, 12%, 8%, 0.52));
  box-shadow: 0 18px 42px -30px rgba(0, 0, 0, 0.6), inset 0 1px 0 hsla(0, 0%, 100%, 0.05);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.page-hero__brief > span {
  color: var(--color-primary-light);
  font-size: var(--text-xs);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-hero__brief ul {
  display: grid;
  gap: var(--space-3);
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-hero__brief li {
  display: grid;
  grid-template-columns: minmax(130px, 0.52fr) minmax(0, 1fr);
  gap: var(--space-4);
  align-items: baseline;
  padding-top: var(--space-3);
  border-top: 1px solid hsla(101, 44%, 42%, 0.14);
}

.page-hero__brief li:first-child {
  padding-top: 0;
  border-top: 0;
}

.page-hero__brief strong {
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 750;
  line-height: 1.15;
}

.page-hero__brief em {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  font-style: normal;
  line-height: 1.5;
}

.page-hero__brief--pathway ul,
.page-hero__brief--access ul {
  counter-reset: heroPath;
}

.page-hero__brief--pathway li,
.page-hero__brief--access li {
  counter-increment: heroPath;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: var(--space-3);
  align-items: start;
}

.page-hero__brief--pathway li::before,
.page-hero__brief--access li::before {
  content: counter(heroPath, decimal-leading-zero);
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-bg);
  font-size: 0.72rem;
  font-weight: 900;
  box-shadow: 0 0 0 7px hsla(101, 44%, 36%, 0.12);
}

.page-hero__brief--pathway strong,
.page-hero__brief--pathway em,
.page-hero__brief--access strong,
.page-hero__brief--access em {
  grid-column: 2;
}

.page-hero__brief--network li {
  grid-template-columns: 16px minmax(120px, 0.42fr) minmax(0, 1fr);
  gap: var(--space-3);
  align-items: center;
}

.page-hero__brief--network li::before {
  content: "";
  align-self: center;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-primary-light);
  box-shadow: 0 0 0 7px hsla(101, 44%, 36%, 0.1);
}

.page-hero__brief--library li,
.page-hero__brief--faq li,
.page-hero__brief--legal li,
.page-hero__brief--sitemap li {
  grid-template-columns: 1fr;
  gap: var(--space-2);
  padding: var(--space-3);
  border: 1px solid hsla(101, 44%, 42%, 0.13);
  border-radius: var(--radius-sm);
  background: hsla(101, 44%, 36%, 0.045);
}

.page-hero__brief--library li {
  border-left: 3px solid hsla(101, 44%, 42%, 0.58);
}

.page-hero__brief--community li,
.page-hero__brief--invitation li,
.page-hero__brief--contact li {
  grid-template-columns: 24px minmax(120px, 0.42fr) minmax(0, 1fr);
  gap: var(--space-3);
  align-items: center;
}

.page-hero__brief--community li::before,
.page-hero__brief--invitation li::before,
.page-hero__brief--contact li::before {
  content: "";
  align-self: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid hsla(101, 44%, 42%, 0.38);
  background:
    linear-gradient(135deg, hsla(101, 44%, 36%, 0.42), hsla(158, 52%, 64%, 0.18));
}

.page-hero__brief--invitation {
  border-color: hsla(101, 44%, 36%, 0.24);
  background:
    linear-gradient(150deg, hsla(101, 44%, 36%, 0.13), transparent 58%),
    linear-gradient(150deg, hsla(160, 16%, 14%, 0.72), hsla(160, 12%, 8%, 0.5));
}

.page-hero__brief--contact {
  border-color: hsla(270, 70%, 65%, 0.18);
  background:
    linear-gradient(150deg, hsla(270, 70%, 65%, 0.11), transparent 58%),
    linear-gradient(150deg, hsla(160, 16%, 14%, 0.72), hsla(160, 12%, 8%, 0.5));
}

.page-hero__brief--legal > span,
.page-hero__brief--sitemap > span {
  color: var(--color-text-muted);
}

.page-hero__media {
  position: relative;
  min-height: 460px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-xl), 0 0 80px hsla(101, 44%, 36%, 0.08);
  background: var(--color-surface);
}

.page-hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, hsla(101, 44%, 36%, 0.14), transparent 42%),
    linear-gradient(0deg, hsla(160, 20%, 4%, 0.28), transparent 45%);
  pointer-events: none;
}

.page-hero__media img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  transition: transform 1s var(--ease-out);
}

.page-hero__media:hover img {
  transform: scale(1.04);
}

.page-hero__media--animated {
  display: grid;
  place-items: center;
  border-color: transparent;
  box-shadow: none;
  background: transparent;
  overflow: visible;
}

.page-hero__media--animated::after {
  display: none;
}

.page-hero__media--animated .bio-viz {
  inset: 0;
  background: none;
}

.page-hero__media--animated::before {
  content: "";
  position: absolute;
  inset: 10%;
  border: 1px solid hsla(101, 44%, 36%, 0.18);
  border-radius: 50%;
  opacity: 0.62;
  animation: bioRotate 28s linear infinite;
}

.bio-viz {
  position: absolute;
  inset: 0;
  overflow: visible;
}

.bio-viz__glow {
  position: absolute;
  width: 42%;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(18px);
  opacity: 0.5;
  animation: bioDrift 8s ease-in-out infinite;
}

.bio-viz__glow--one {
  top: 12%;
  left: 12%;
  background: hsla(101, 44%, 36%, 0.28);
}

.bio-viz__glow--two {
  right: 8%;
  bottom: 10%;
  background: hsla(270, 70%, 65%, 0.2);
  animation-delay: -3s;
}

.bio-viz__plant,
.bio-viz__network,
.bio-viz__path,
.bio-viz__forum,
.bio-viz__impact,
.bio-viz__membership,
.bio-viz__library {
  position: absolute;
  inset: 12%;
}

.bio-viz__plant::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 10%;
  width: 2px;
  height: 78%;
  background: linear-gradient(transparent, hsla(101, 44%, 36%, 0.62), transparent);
  transform: rotate(8deg);
}

.bio-viz__plant span {
  --x: -74px;
  --r: calc(-24deg + var(--i) * 4deg);
  position: absolute;
  left: calc(48% + (var(--i) - 4) * 2.5%);
  top: calc(12% + var(--i) * 8%);
  width: clamp(52px, 8vw, 92px);
  height: clamp(24px, 3.8vw, 42px);
  border-radius: 80% 20% 72% 28%;
  background: linear-gradient(135deg, hsla(101, 44%, 36%, 0.78), hsla(158, 52%, 64%, 0.5));
  box-shadow: 0 18px 40px hsla(101, 44%, 36%, 0.16);
  transform: translateX(var(--x)) rotate(var(--r));
  animation: bioLeaf 4.6s ease-in-out infinite;
  animation-delay: calc(var(--i) * -0.28s);
}

.bio-viz__plant span:nth-child(even) {
  --x: 56px;
  --r: calc(30deg - var(--i) * 4deg);
  border-radius: 20% 80% 28% 72%;
}

.bio-viz__network {
  left: 8%;
  right: 8%;
  background:
    linear-gradient(28deg, transparent 48%, hsla(101, 44%, 36%, 0.18) 49%, transparent 51%),
    linear-gradient(145deg, transparent 48%, hsla(270, 70%, 65%, 0.16) 49%, transparent 51%),
    linear-gradient(90deg, transparent 49%, hsla(101, 44%, 36%, 0.14) 50%, transparent 51%);
  animation: bioPulse 5.8s ease-in-out infinite;
}

.bio-viz__network span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: hsl(101, 44%, 36%);
  box-shadow: 0 0 0 9px hsla(101, 44%, 36%, 0.12), 0 0 28px hsla(101, 44%, 36%, 0.35);
  transform: rotate(calc(var(--i) * 30deg)) translateX(clamp(86px, 14vw, 170px)) rotate(calc(var(--i) * -30deg));
  animation: bioNode 3.8s ease-in-out infinite;
  animation-delay: calc(var(--i) * -0.18s);
}

.bio-viz__network span:nth-child(3n) {
  background: hsl(260, 70%, 66%);
  box-shadow: 0 0 0 9px hsla(260, 70%, 66%, 0.12), 0 0 28px hsla(260, 70%, 66%, 0.28);
}

.bio-viz__path {
  display: grid;
  align-content: center;
  gap: 0.75rem;
  width: min(76%, 360px);
  left: 50%;
  right: auto;
  transform: translateX(-50%);
}

.bio-viz__path::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 12%;
  bottom: 12%;
  width: 2px;
  background: linear-gradient(var(--color-primary), hsla(270, 70%, 65%, 0.8));
  transform: translateX(-50%);
  animation: bioGrow 3.6s ease-in-out infinite;
}

.bio-viz__path span {
  --x: 0px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--space-4);
  justify-self: start;
  width: max-content;
  min-height: 48px;
  margin-left: calc(50% - 23px);
  padding: 0;
  color: var(--color-text);
  font-size: var(--text-sm);
  font-weight: 600;
  transform: translateX(var(--x));
  animation: bioSlide 4.2s ease-in-out infinite;
  animation-delay: calc(var(--i) * -0.24s);
}

.bio-viz__path span:nth-child(even) {
  --x: 0px;
}

.bio-viz__path strong {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-bg);
  font-family: var(--font-body);
}

.bio-viz__forum {
  inset: 10%;
}

.bio-viz__forum::before,
.bio-viz__library::before {
  content: "";
  position: absolute;
  inset: 11%;
  border: 1px solid hsla(101, 44%, 36%, 0.2);
  border-radius: 50%;
  animation: bioRotate 30s linear infinite;
}

.bio-viz__forum span {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  width: auto;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--color-text);
  font-weight: 700;
  animation: bioMessage 5.2s ease-in-out infinite;
  animation-delay: calc(var(--i) * -0.45s);
}

.bio-viz__forum span::before {
  content: "";
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 0 8px hsla(101, 44%, 36%, 0.1);
}

.bio-viz__forum span::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 50%;
  width: clamp(70px, 11vw, 150px);
  height: 1px;
  background: linear-gradient(90deg, hsla(101, 44%, 36%, 0.42), transparent);
  transform: translateX(-100%);
}

.bio-viz__forum span:nth-child(1) {
  left: 16%;
  top: 24%;
}

.bio-viz__forum span:nth-child(2) {
  right: 16%;
  top: 36%;
}

.bio-viz__forum span:nth-child(3) {
  left: 20%;
  bottom: 32%;
}

.bio-viz__forum span:nth-child(4) {
  right: 19%;
  bottom: 20%;
}

.bio-viz__forum span:nth-child(even) {
  color: var(--color-accent-light);
}

.bio-viz__forum span:nth-child(even)::before {
  background: var(--color-accent-light);
  box-shadow: 0 0 0 8px hsla(270, 70%, 65%, 0.1);
}

.bio-viz__forum span:nth-child(even)::after {
  left: auto;
  right: 6px;
  background: linear-gradient(270deg, hsla(270, 70%, 65%, 0.38), transparent);
  transform: translateX(100%);
}

.bio-viz__library {
  inset: 8%;
  perspective: 900px;
}

.bio-viz__library span {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 0;
  padding: 0;
  border-left: 0;
  border-radius: 0;
  background: none;
  color: var(--color-text);
  font-weight: 700;
  box-shadow: none;
  transform: rotateY(-10deg) translateX(calc(var(--i) * 18px));
  animation: bioStack 5s ease-in-out infinite;
  animation-delay: calc(var(--i) * -0.32s);
}

.bio-viz__library span::before {
  content: "";
  width: 34px;
  height: 24px;
  border: 2px solid var(--color-primary);
  border-top: 0;
  border-radius: 0 0 12px 12px;
  transform: skewX(-8deg);
}

.bio-viz__library span::after {
  content: "";
  position: absolute;
  left: 14px;
  top: -18px;
  width: 1px;
  height: 48px;
  background: linear-gradient(transparent, hsla(101, 44%, 36%, 0.45), transparent);
}

.bio-viz__library span:nth-child(1) {
  left: 12%;
  top: 22%;
}

.bio-viz__library span:nth-child(2) {
  left: 28%;
  top: 40%;
}

.bio-viz__library span:nth-child(3) {
  left: 18%;
  bottom: 28%;
}

.bio-viz__library span:nth-child(4) {
  right: 10%;
  bottom: 18%;
}

.bio-viz__impact {
  inset: 8%;
  display: grid;
  place-items: center;
}

.bio-viz__impact::before,
.bio-viz__impact::after {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  pointer-events: none;
}

.bio-viz__impact::before {
  background:
    conic-gradient(from 200deg, hsla(101, 44%, 36%, 0.08), hsla(101, 44%, 36%, 0.62), hsla(270, 70%, 65%, 0.42), hsla(101, 44%, 36%, 0.08) 76%, transparent 76%),
    radial-gradient(circle, transparent 0 58%, hsla(101, 44%, 36%, 0.1) 59% 61%, transparent 62%);
  mask-image: radial-gradient(circle, transparent 0 48%, black 49% 72%, transparent 73%);
  -webkit-mask-image: radial-gradient(circle, transparent 0 48%, black 49% 72%, transparent 73%);
  animation: bioImpactSweep 7.5s ease-in-out infinite;
}

.bio-viz__impact::after {
  inset: 20%;
  border: 1px solid hsla(101, 44%, 36%, 0.22);
  box-shadow:
    0 0 0 22px hsla(101, 44%, 36%, 0.035),
    inset 0 0 42px hsla(270, 70%, 65%, 0.08);
  animation: bioImpactBreathe 4.8s ease-in-out infinite;
}

.bio-viz__impact-core {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: clamp(112px, 15vw, 168px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 28%, hsla(158, 52%, 64%, 0.38), transparent 34%),
    linear-gradient(145deg, hsla(101, 44%, 36%, 0.88), hsla(160, 28%, 22%, 0.78));
  color: var(--color-bg);
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 850;
  text-align: center;
  box-shadow: 0 22px 48px hsla(101, 44%, 36%, 0.2);
  animation: bioImpactCore 5.6s ease-in-out infinite;
}

.bio-viz__impact-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-width: clamp(112px, 14vw, 154px);
  color: var(--color-text);
  font-size: var(--text-sm);
  font-weight: 750;
  transform:
    rotate(calc(var(--i) * 78deg - 35deg))
    translateX(clamp(118px, 18vw, 218px))
    rotate(calc(var(--i) * -78deg + 35deg));
  animation: bioImpactMark 6.6s ease-in-out infinite;
  animation-delay: calc(var(--i) * -0.35s);
}

.bio-viz__impact-mark::before {
  content: "";
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--color-primary-light);
  box-shadow: 0 0 0 8px hsla(101, 44%, 36%, 0.1), 0 0 24px hsla(101, 44%, 36%, 0.26);
}

.bio-viz__impact-mark:nth-of-type(3n)::before {
  background: var(--color-accent-light);
  box-shadow: 0 0 0 8px hsla(270, 70%, 65%, 0.1), 0 0 24px hsla(270, 70%, 65%, 0.22);
}

.bio-viz__impact i {
  position: absolute;
  left: 16%;
  bottom: calc(13% + var(--i) * 9%);
  width: clamp(110px, 18vw, 220px);
  height: 6px;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, hsla(101, 44%, 36%, 0.72), hsla(270, 70%, 65%, 0.2), transparent);
  opacity: 0.32;
  transform-origin: left center;
  animation: bioImpactBar 4.8s ease-in-out infinite;
  animation-delay: calc(var(--i) * -0.26s);
}

.bio-viz__impact i:nth-of-type(2) { opacity: 0.42; }
.bio-viz__impact i:nth-of-type(3) { opacity: 0.52; }
.bio-viz__impact i:nth-of-type(4) { opacity: 0.62; }
.bio-viz__impact i:nth-of-type(5) { opacity: 0.72; }

.bio-viz__membership {
  inset: 7%;
  display: grid;
  place-items: center;
}

.bio-viz__membership::before,
.bio-viz__membership::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.bio-viz__membership::before {
  inset: 8%;
  border: 1px solid hsla(101, 44%, 36%, 0.22);
  background:
    radial-gradient(circle at 50% 50%, hsla(101, 44%, 36%, 0.08), transparent 34%),
    conic-gradient(from 0deg, transparent 0 18%, hsla(101, 44%, 36%, 0.34) 18% 22%, transparent 22% 50%, hsla(270, 70%, 65%, 0.3) 50% 54%, transparent 54%);
  animation: bioMemberOrbit 18s linear infinite;
}

.bio-viz__membership::after {
  inset: 26%;
  border: 1px dashed hsla(101, 44%, 36%, 0.28);
  box-shadow: inset 0 0 44px hsla(101, 44%, 36%, 0.08);
  animation: bioMemberOrbitReverse 24s linear infinite;
}

.bio-viz__membership-center {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: clamp(118px, 15vw, 176px);
  aspect-ratio: 1;
  border-radius: 36% 64% 44% 56%;
  background:
    radial-gradient(circle at 35% 24%, hsla(0, 0%, 100%, 0.22), transparent 32%),
    linear-gradient(145deg, hsla(101, 44%, 36%, 0.92), hsla(158, 42%, 36%, 0.72));
  color: var(--color-bg);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 850;
  text-align: center;
  box-shadow: 0 24px 50px hsla(101, 44%, 36%, 0.22);
  animation: bioMemberCenter 5.8s ease-in-out infinite;
}

.bio-viz__membership-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: clamp(74px, 9vw, 110px);
  min-height: 38px;
  padding: 0 var(--space-3);
  border: 1px solid hsla(101, 44%, 36%, 0.2);
  border-radius: var(--radius-full);
  background: hsla(160, 14%, 12%, 0.5);
  color: var(--color-text);
  font-size: var(--text-sm);
  font-weight: 800;
  box-shadow: 0 18px 36px hsla(101, 44%, 36%, 0.08), inset 0 1px 0 hsla(0, 0%, 100%, 0.06);
  transform:
    rotate(calc(var(--i) * 72deg - 90deg))
    translateX(clamp(126px, 18vw, 224px))
    rotate(calc(var(--i) * -72deg + 90deg));
  animation: bioMemberChip 6.4s ease-in-out infinite;
  animation-delay: calc(var(--i) * -0.34s);
}

.bio-viz__membership-orbit:nth-child(even) {
  border-color: hsla(270, 70%, 65%, 0.18);
  color: var(--color-accent-light);
}

html[data-theme="light"] .page-hero__media--animated {
  background: transparent;
}

html[data-theme="light"] .bio-viz__forum span,
html[data-theme="light"] .bio-viz__library span,
html[data-theme="light"] .bio-viz__membership-orbit {
  background: none;
}

@keyframes bioRotate { to { transform: rotate(360deg); } }
@keyframes bioDrift { 50% { transform: translate3d(12px, -18px, 0) scale(1.08); } }
@keyframes bioLeaf { 50% { transform: translateX(var(--x)) rotate(var(--r)) scale(1.08); } }
@keyframes bioPulse { 50% { opacity: 0.72; transform: scale(1.04); } }
@keyframes bioNode { 50% { transform: rotate(calc(var(--i) * 30deg)) translateX(clamp(96px, 15vw, 182px)) rotate(calc(var(--i) * -30deg)) scale(1.18); } }
@keyframes bioGrow { 0%, 100% { transform: scaleY(0.74); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } }
@keyframes bioSlide { 50% { transform: translateX(var(--x)) translateY(-4px); } }
@keyframes bioMessage { 50% { transform: translateY(-8px); box-shadow: 0 18px 42px hsla(101, 44%, 36%, 0.14); } }
@keyframes bioStack { 50% { transform: rotateY(-5deg) translateX(calc(var(--i) * 14px + 12px)); } }
@keyframes bioImpactSweep { 50% { transform: rotate(22deg) scale(1.04); opacity: 0.9; } }
@keyframes bioImpactBreathe { 50% { transform: scale(1.06); opacity: 0.72; } }
@keyframes bioImpactCore { 50% { transform: scale(1.05); box-shadow: 0 28px 58px hsla(101, 44%, 36%, 0.28); } }
@keyframes bioImpactMark {
  50% {
    transform:
      rotate(calc(var(--i) * 78deg - 35deg))
      translateX(clamp(126px, 18.6vw, 228px))
      rotate(calc(var(--i) * -78deg + 35deg));
  }
}
@keyframes bioImpactBar { 50% { transform: scaleX(0.64); opacity: 0.22; } }
@keyframes bioMemberOrbit { to { transform: rotate(360deg); } }
@keyframes bioMemberOrbitReverse { to { transform: rotate(-360deg); } }
@keyframes bioMemberCenter { 50% { border-radius: 58% 42% 62% 38%; transform: scale(1.04) rotate(-2deg); } }
@keyframes bioMemberChip {
  50% {
    transform:
      rotate(calc(var(--i) * 72deg - 90deg))
      translateX(clamp(134px, 19vw, 236px))
      rotate(calc(var(--i) * -72deg + 90deg))
      translateY(-4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-hero__media--animated::before,
  .bio-viz__glow,
  .bio-viz__plant span,
  .bio-viz__network,
  .bio-viz__network span,
  .bio-viz__path::before,
  .bio-viz__path span,
  .bio-viz__forum span,
  .bio-viz__library span,
  .bio-viz__impact::before,
  .bio-viz__impact::after,
  .bio-viz__impact-core,
  .bio-viz__impact-mark,
  .bio-viz__impact i,
  .bio-viz__membership::before,
  .bio-viz__membership::after,
  .bio-viz__membership-center,
  .bio-viz__membership-orbit {
    animation: none;
  }
}

.page-section {
  padding: var(--space-24) 0 var(--space-32);
  position: relative;
}

.page-section--bio::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 12% 24%, hsla(101, 44%, 36%, 0.1), transparent 44%),
    radial-gradient(ellipse at 86% 62%, hsla(270, 70%, 65%, 0.08), transparent 48%);
  pointer-events: none;
}

.page-section--bio > .container {
  position: relative;
  z-index: 1;
}

.page-editorial-panel {
  max-width: 920px;
  margin: 0 auto var(--space-12);
  padding: var(--space-10);
  border: 1px solid hsla(101, 44%, 36%, 0.2);
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, hsla(160, 14%, 12%, 0.86), hsla(160, 12%, 8%, 0.7));
  box-shadow: var(--shadow-lg), 0 0 60px hsla(101, 44%, 36%, 0.08);
}

.page-editorial-panel p:last-child {
  color: var(--color-text-muted);
  font-size: var(--text-lg);
  line-height: 1.75;
}

.page-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-6);
  margin-bottom: var(--space-16);
}

.page-card-grid--links {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.page-card-grid--partners {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.page-card,
.page-feature,
.page-step,
.legal-panel {
  --glow-x: 50%;
  --glow-y: 50%;
  position: relative;
  background: linear-gradient(160deg, hsla(160, 16%, 14%, 0.92), hsla(160, 14%, 8%, 0.86));
  border: 1px solid hsla(101, 44%, 42%, 0.2);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 28px -16px rgba(0, 0, 0, 0.66);
  overflow: hidden;
}

.page-card {
  min-height: 230px;
  padding: var(--space-6);
  transition: border-color var(--duration-normal) ease,
              box-shadow var(--duration-normal) ease,
              transform var(--duration-normal) var(--ease-out);
  will-change: transform;
}

.page-card::after,
.page-feature::after,
.page-step::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(320px circle at var(--glow-x) var(--glow-y),
    hsla(101, 44%, 36%, 0.1), transparent 72%);
  opacity: 0;
  transition: opacity var(--duration-normal) ease;
  pointer-events: none;
}

.page-card:hover,
.page-step:hover {
  border-color: hsla(101, 44%, 42%, 0.45);
  box-shadow: var(--shadow-lg), 0 20px 50px -18px hsla(101, 44%, 36%, 0.45), inset 0 1px 0 hsla(0, 0%, 100%, 0.08);
  transform: translateY(-6px);
}

.page-card:hover::after,
.page-feature:hover::after,
.page-step:hover::after {
  opacity: 1;
}

.page-card::before,
.page-feature::before,
.page-step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary) 0%, hsla(270, 70%, 65%, 0.55) 55%, transparent 92%);
  opacity: 0.5;
  transition: opacity var(--duration-normal) ease;
  z-index: 1;
}

.page-card:hover::before,
.page-feature:hover::before,
.page-step:hover::before {
  opacity: 1;
}

.page-card__mark {
  display: inline-flex;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background:
    linear-gradient(135deg, hsla(101, 44%, 36%, 0.16), hsla(101, 44%, 36%, 0.06));
  border: 1px solid hsla(101, 44%, 36%, 0.2);
  color: var(--color-primary);
  align-items: center;
  justify-content: center;
  padding: 0;
  margin-bottom: var(--space-6);
}

.page-card__mark svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-card--partner .page-card__mark {
  width: auto;
  min-width: 48px;
  padding: 0 var(--space-3);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
}

.page-card h2,
.page-feature h2 {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 750;
  line-height: 1.18;
  margin-bottom: var(--space-3);
}

.page-card p,
.page-feature p,
.page-step strong,
.legal-panel p {
  position: relative;
  z-index: 1;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.page-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: var(--space-10);
  padding: var(--space-8);
  margin-top: var(--space-8);
}

.page-card--partner {
  min-height: 260px;
}

.page-feature--bio {
  margin-bottom: var(--space-16);
}

.page-link-strip {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
  margin: 0 0 var(--space-16);
}

.page-link-strip a {
  padding: var(--space-4) var(--space-6);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  background: hsla(160, 15%, 8%, 0.42);
  transition: color var(--duration-normal) ease, border-color var(--duration-normal) ease, transform var(--duration-normal) ease;
}

.page-link-strip a:hover {
  color: var(--color-text);
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.page-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--space-3);
}

.page-list-item {
  padding: var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
  background: hsla(101, 44%, 36%, 0.04);
}

.page-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.page-step {
  padding: var(--space-6);
}

.page-step span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  color: var(--color-primary-light);
  font-family: var(--font-display);
  font-weight: 900;
  margin-bottom: var(--space-4);
}

.page-faq {
  display: grid;
  gap: var(--space-4);
  max-width: 900px;
  margin: 0 auto;
}

.page-faq__item {
  background: hsla(160, 12%, 10%, 0.62);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: var(--space-5);
}

.page-faq__item summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 750;
}

.page-faq__item p {
  color: var(--color-text-muted);
  margin-top: var(--space-4);
  line-height: 1.7;
}

.legal-panel {
  max-width: 900px;
  margin: 0 auto;
  padding: var(--space-8);
}

.legal-panel p + p {
  margin-top: var(--space-5);
}

.page-contact-form {
  max-width: 760px;
  margin: var(--space-10) auto 0;
}

.page-contact-form__head {
  display: none;
}

/* --- Contact Section --- */
.contact {
  padding: var(--space-32) 0 var(--space-16);
  position: relative;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.form__group {
  position: relative;
}

.form__input,
.form__textarea {
  width: 100%;
  padding: var(--space-4) var(--space-6);
  background: hsla(160, 12%, 10%, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  color: var(--color-text);
  font-size: var(--text-base);
  transition: border-color var(--duration-normal) ease,
              box-shadow var(--duration-normal) ease;
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: var(--color-text-subtle);
}

.form__input:focus,
.form__textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px hsla(101, 44%, 36%, 0.15);
}

.form__textarea {
  min-height: 140px;
  resize: vertical;
}

.form__submit {
  align-self: flex-start;
}


/* Old basic footer removed — premium footer styles below */


/* --- Section Divider --- */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border-glow), transparent);
  margin: 0;
}

/* --- Scroll Progress --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gradient-primary);
  z-index: 9998;
  transition: none;
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .cursor { display: none; }
}

/* ============================================
   PREMIUM FOOTER
   ============================================ */
.footer {
  position: relative;
  padding-top: 0;
  background: var(--color-bg);
}

.footer__glow {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-primary), var(--color-accent), transparent);
  margin-bottom: var(--space-16);
  opacity: 0.5;
}

/* Top row: brand + newsletter */
.footer__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-12);
}

.footer__brand {
  max-width: 380px;
}

.footer__logo {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.footer__logo span {
  color: var(--color-primary);
}

.footer__tagline {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-6);
}

/* Social icons */
.footer__socials {
  display: flex;
  gap: var(--space-3);
}

.footer__social {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: hsla(160, 12%, 12%, 0.6);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  transition: all 0.3s var(--ease-out);
}

.footer__social:hover {
  background: hsla(101, 44%, 36%, 0.1);
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
}

/* Newsletter */
.footer__newsletter {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.footer__newsletter-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.footer__newsletter-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
  line-height: 1.6;
}

.footer__newsletter-form {
  display: flex;
  gap: var(--space-2);
}

.footer__newsletter-input {
  flex: 1;
  padding: var(--space-3) var(--space-4);
  background: hsla(160, 12%, 10%, 0.6);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  color: var(--color-text);
  font-size: var(--text-sm);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.footer__newsletter-input::placeholder {
  color: var(--color-text-subtle);
}

.footer__newsletter-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px hsla(101, 44%, 36%, 0.12);
}

.footer__newsletter-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: var(--color-bg);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  flex-shrink: 0;
}

.footer__newsletter-btn:hover {
  background: var(--color-primary-light);
  box-shadow: var(--shadow-glow);
  transform: scale(1.05);
}

/* Link columns */
.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-8);
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__col-title {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: 0.05em;
  margin-bottom: var(--space-2);
}

.footer__col-link {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer__col-link:hover {
  color: var(--color-primary);
  padding-left: var(--space-1);
}

/* Bottom bar */
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  padding-bottom: var(--space-8);
}

.footer__copy {
  font-size: var(--text-xs);
  color: var(--color-text-subtle);
}

.footer__bottom-links {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.footer__bottom-link {
  font-size: var(--text-xs);
  color: var(--color-text-subtle);
  transition: color 0.2s ease;
}

.footer__bottom-link:hover {
  color: var(--color-primary);
}

.footer__dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--color-text-subtle);
}

/* --- Theme Modes --- */
html[data-theme="light"] .nav__inner,
html[data-theme="light"] .nav__mobile {
  background: hsla(0, 0%, 100%, 0.78);
  border-color: hsla(160, 24%, 34%, 0.18);
  box-shadow: var(--shadow-md);
}

html[data-theme="light"] .nav__logo-img--dark {
  display: none;
}

html[data-theme="light"] .nav__logo-img--light {
  display: block;
}

html[data-theme="light"] .theme-toggle {
  color: hsl(42, 92%, 42%);
  background:
    radial-gradient(circle at 34% 28%, hsla(44, 95%, 58%, 0.22), transparent 36%),
    linear-gradient(145deg, hsla(0, 0%, 100%, 0.92), hsla(148, 38%, 96%, 0.74));
  border-color: hsla(42, 76%, 48%, 0.24);
  box-shadow: inset 0 1px 0 hsla(0, 0%, 100%, 0.76);
}

html[data-theme="light"] .theme-toggle::before {
  background: hsla(44, 95%, 58%, 0.12);
}

html[data-theme="light"] .hero__desc,
html[data-theme="light"] .hero__subtitle {
  color: var(--color-text-muted);
}

html[data-theme="light"] .hero__gradient {
  background:
    linear-gradient(180deg, hsla(148, 38%, 96%, 0.24), hsla(148, 38%, 96%, 0.9)),
    var(--gradient-hero);
}

html[data-theme="light"] .page-hero__bg {
  background:
    radial-gradient(ellipse at 18% 26%, hsla(160, 64%, 70%, 0.28), transparent 48%),
    radial-gradient(ellipse at 84% 70%, hsla(260, 72%, 78%, 0.22), transparent 50%),
    var(--color-bg);
}

html[data-theme="light"] .page-hero__brief {
  background:
    radial-gradient(280px circle at 8% 0%, hsla(101, 44%, 36%, 0.1), transparent 62%),
    linear-gradient(150deg, hsla(0, 0%, 100%, 0.78), hsla(150, 42%, 98%, 0.62));
  border-color: hsla(101, 34%, 42%, 0.16);
  box-shadow:
    0 1px 2px rgba(18, 55, 43, 0.05),
    0 22px 42px -28px rgba(24, 72, 48, 0.32),
    inset 0 1px 0 hsla(0, 0%, 100%, 0.86);
}

html[data-theme="light"] .page-hero__brief strong {
  color: var(--color-text);
}

html[data-theme="light"] .page-hero__brief em {
  color: var(--color-text-muted);
}

html[data-theme="light"] .page-hero__brief--invitation {
  background:
    linear-gradient(150deg, hsla(101, 44%, 36%, 0.12), transparent 58%),
    linear-gradient(150deg, hsla(0, 0%, 100%, 0.82), hsla(150, 42%, 98%, 0.64));
}

html[data-theme="light"] .page-hero__brief--contact {
  background:
    linear-gradient(150deg, hsla(270, 70%, 65%, 0.1), transparent 58%),
    linear-gradient(150deg, hsla(0, 0%, 100%, 0.82), hsla(150, 42%, 98%, 0.64));
}

html[data-theme="light"] .page-hero__brief--library li,
html[data-theme="light"] .page-hero__brief--faq li,
html[data-theme="light"] .page-hero__brief--legal li,
html[data-theme="light"] .page-hero__brief--sitemap li {
  background: hsla(101, 44%, 36%, 0.04);
  border-color: hsla(101, 34%, 42%, 0.12);
}

html[data-theme="light"] .btn--ghost,
html[data-theme="light"] .hero__fruit-chip,
html[data-theme="light"] .join-preview__badge,
html[data-theme="light"] .join-preview__signal,
html[data-theme="light"] .home-signal-card,
html[data-theme="light"] .home-pathway-card,
html[data-theme="light"] .home-final__panel,
html[data-theme="light"] .home-story__media,
html[data-theme="light"] .home-resources__grid,
html[data-theme="light"] .page-editorial-panel,
html[data-theme="light"] .overview__pillar,
html[data-theme="light"] .objective-card,
html[data-theme="light"] .partner-card,
html[data-theme="light"] .home-signal-card,
html[data-theme="light"] .home-pathway-card,
html[data-theme="light"] .home-final__panel,
html[data-theme="light"] .home-resources__grid,
html[data-theme="light"] .page-editorial-panel,
html[data-theme="light"] .impact-card,
html[data-theme="light"] .membership-benefit,
html[data-theme="light"] .page-card,
html[data-theme="light"] .page-feature,
html[data-theme="light"] .page-step,
html[data-theme="light"] .page-faq__item,
html[data-theme="light"] .legal-panel,
html[data-theme="light"] .form__input,
html[data-theme="light"] .form__textarea,
html[data-theme="light"] .footer__newsletter-input,
html[data-theme="light"] .footer__social {
  background: hsla(0, 0%, 100%, 0.68);
  border-color: hsla(160, 24%, 34%, 0.16);
  box-shadow: var(--shadow-sm);
}

html[data-theme="light"] .partner-card,
html[data-theme="light"] .impact-card,
html[data-theme="light"] .membership__invite,
html[data-theme="light"] .page-card,
html[data-theme="light"] .page-feature,
html[data-theme="light"] .page-step,
html[data-theme="light"] .legal-panel,
html[data-theme="light"] .home-signal-card,
html[data-theme="light"] .home-pathway-card,
html[data-theme="light"] .home-final__panel,
html[data-theme="light"] .home-story__media,
html[data-theme="light"] .home-resources__grid,
html[data-theme="light"] .page-editorial-panel {
  background: linear-gradient(165deg, hsla(0, 0%, 100%, 1), hsla(150, 40%, 98.5%, 0.95));
  border-color: hsla(101, 40%, 40%, 0.2);
  box-shadow:
    0 1px 2px rgba(18, 55, 43, 0.05),
    0 16px 32px -16px rgba(24, 72, 48, 0.28),
    inset 0 1px 0 hsla(0, 0%, 100%, 0.9);
}

html[data-theme="light"] .home-signal-panel {
  background:
    radial-gradient(520px circle at 10% 12%, hsla(101, 44%, 36%, 0.12), transparent 62%),
    radial-gradient(420px circle at 100% 84%, hsla(270, 70%, 65%, 0.08), transparent 62%),
    linear-gradient(150deg, hsla(0, 0%, 100%, 0.96), hsla(150, 42%, 98%, 0.84));
  border-color: hsla(101, 40%, 40%, 0.2);
  box-shadow:
    0 1px 2px rgba(18, 55, 43, 0.05),
    0 24px 56px -28px rgba(24, 72, 48, 0.34),
    inset 0 1px 0 hsla(0, 0%, 100%, 0.92);
}

html[data-theme="light"] .home-signal-card--primary,
html[data-theme="light"] .home-signal-card--detail {
  box-shadow: none;
}

html[data-theme="light"] .home-signal-card--primary {
  background:
    linear-gradient(160deg, hsla(101, 44%, 36%, 0.1), transparent 62%),
    hsla(101, 44%, 36%, 0.05);
  border-color: transparent;
}

html[data-theme="light"] .home-signal-card--detail {
  background: hsla(0, 0%, 100%, 0.46);
  border-color: hsla(101, 40%, 40%, 0.14);
}

body[data-page="impact"] {
  --impact-card-bg: linear-gradient(160deg, hsla(160, 16%, 14%, 0.94), hsla(160, 14%, 8%, 0.88));
  --impact-feature-bg: linear-gradient(100deg, hsla(160, 16%, 14%, 0.94), hsla(160, 14%, 8%, 0.82));
  --impact-grid-bg: linear-gradient(115deg, transparent 0 36%, hsla(101, 44%, 36%, 0.09) 36% 36.35%, transparent 36.35% 100%),
    linear-gradient(90deg, hsla(101, 44%, 36%, 0.07) 1px, transparent 1px),
    linear-gradient(0deg, hsla(101, 44%, 36%, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, transparent, hsla(160, 16%, 10%, 0.42) 42%, transparent);
  --impact-border: hsla(101, 44%, 42%, 0.24);
  --impact-shadow: 0 18px 42px -24px rgba(0, 0, 0, 0.58), inset 0 1px 0 hsla(0, 0%, 100%, 0.06);
  --impact-shadow-hover: var(--shadow-lg), 0 22px 54px -22px hsla(101, 44%, 36%, 0.42), inset 0 1px 0 hsla(0, 0%, 100%, 0.08);
  --impact-copy: var(--color-text-muted);
  --impact-strong: var(--color-text);
}

html[data-theme="light"] body[data-page="impact"] {
  --impact-card-bg: linear-gradient(145deg, hsla(0, 0%, 100%, 0.95), hsla(150, 42%, 98%, 0.86)),
    linear-gradient(135deg, hsla(101, 44%, 36%, 0.1), transparent 52%);
  --impact-feature-bg: linear-gradient(90deg, hsla(0, 0%, 100%, 0.95), hsla(150, 44%, 98%, 0.78)),
    linear-gradient(135deg, hsla(101, 44%, 36%, 0.08), transparent 58%);
  --impact-grid-bg: linear-gradient(115deg, transparent 0 36%, hsla(101, 44%, 36%, 0.08) 36% 36.35%, transparent 36.35% 100%),
    linear-gradient(90deg, hsla(101, 44%, 36%, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, hsla(101, 44%, 36%, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, transparent, hsla(150, 46%, 96%, 0.38) 42%, transparent);
  --impact-border: hsla(101, 34%, 42%, 0.18);
  --impact-shadow: 0 1px 2px rgba(18, 55, 43, 0.05), 0 22px 42px -24px rgba(24, 72, 48, 0.35), inset 0 1px 0 hsla(0, 0%, 100%, 0.92);
  --impact-shadow-hover: 0 1px 2px rgba(18, 55, 43, 0.05), 0 28px 56px -26px rgba(24, 72, 48, 0.46), 0 0 0 1px hsla(101, 44%, 36%, 0.08), inset 0 1px 0 hsla(0, 0%, 100%, 0.96);
  --impact-copy: hsl(158, 8%, 42%);
  --impact-strong: hsl(158, 10%, 34%);
}

body[data-page="impact"] .page-section--bio {
  padding-top: clamp(4.5rem, 8vw, 7rem);
  overflow: hidden;
}

body[data-page="impact"] .page-section--bio::before {
  background: var(--impact-grid-bg);
  background-size: auto, 74px 74px, 74px 74px, auto;
  opacity: 0.75;
  mask-image: linear-gradient(to bottom, transparent 0%, black 12%, black 82%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 12%, black 82%, transparent 100%);
}

body[data-page="impact"] .page-card-grid,
body[data-page="impact"] .page-feature--bio,
body[data-page="impact"] .page-timeline {
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}

body[data-page="impact"] .page-card-grid {
  gap: clamp(1.5rem, 3vw, 2.25rem);
  align-items: start;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

body[data-page="impact"] .page-card {
  min-height: 252px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  background: var(--impact-card-bg);
  border-color: var(--impact-border);
  box-shadow: var(--impact-shadow);
  isolation: isolate;
}

body[data-page="impact"] .page-card:nth-child(2) {
  margin-top: clamp(1rem, 2.4vw, 1.75rem);
}

body[data-page="impact"] .page-card:nth-child(3) {
  margin-top: clamp(2rem, 4vw, 3rem);
}

body[data-page="impact"] .page-card::before,
body[data-page="impact"] .page-feature--bio::before,
body[data-page="impact"] .page-step::before {
  height: 4px;
  background: linear-gradient(90deg, hsla(101, 44%, 36%, 0.72), hsla(270, 70%, 65%, 0.4), transparent 78%);
  opacity: 0.72;
}

body[data-page="impact"] .page-card__mark {
  width: 42px;
  height: 42px;
  margin-bottom: var(--space-5);
  color: var(--color-primary);
  background: linear-gradient(145deg, hsla(101, 44%, 36%, 0.13), hsla(101, 44%, 36%, 0.04));
  border-color: hsla(101, 38%, 42%, 0.18);
  box-shadow: inset 0 1px 0 hsla(0, 0%, 100%, 0.82);
}

body[data-page="impact"] .page-card__mark svg {
  width: 21px;
  height: 21px;
  stroke-width: 1.9;
}

body[data-page="impact"] .page-card h2 {
  font-size: clamp(1.45rem, 1.2rem + 0.65vw, 1.95rem);
  margin-bottom: var(--space-3);
}

body[data-page="impact"] .page-card p {
  margin-top: auto;
  color: var(--impact-copy);
  font-size: var(--text-base);
}

body[data-page="impact"] .page-card:hover {
  border-color: hsla(101, 44%, 36%, 0.36);
  box-shadow: var(--impact-shadow-hover);
}

body[data-page="impact"] .page-feature--bio {
  position: relative;
  min-height: 156px;
  align-items: center;
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  gap: clamp(2rem, 5vw, 4rem);
  margin-bottom: clamp(3rem, 6vw, 5rem);
  background: var(--impact-feature-bg);
  border-color: var(--impact-border);
  box-shadow: var(--impact-shadow);
}

body[data-page="impact"] .page-feature--bio .section-label {
  margin-bottom: var(--space-3);
  letter-spacing: 0.12em;
}

body[data-page="impact"] .page-feature--bio .section-title {
  margin-bottom: 0;
  font-size: clamp(1.6rem, 1.2rem + 1vw, 2.25rem);
}

body[data-page="impact"] .page-feature--bio .section-desc {
  position: relative;
  padding-left: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--impact-copy);
  font-size: clamp(1.08rem, 1rem + 0.42vw, 1.38rem);
  line-height: 1.65;
}

body[data-page="impact"] .page-feature--bio .section-desc::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  bottom: 0.35em;
  width: 2px;
  background: linear-gradient(180deg, var(--color-primary), hsla(270, 70%, 65%, 0.48));
  border-radius: var(--radius-full);
}

body[data-page="impact"] .page-timeline {
  position: relative;
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-top: 0;
}

body[data-page="impact"] .page-timeline::before {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, hsla(101, 44%, 36%, 0.3), hsla(270, 70%, 65%, 0.24), transparent);
  z-index: 0;
}

body[data-page="impact"] .page-step {
  z-index: 1;
  min-height: 112px;
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--impact-card-bg);
  border-color: var(--impact-border);
  box-shadow: var(--impact-shadow);
}

body[data-page="impact"] .page-step span {
  margin-bottom: var(--space-3);
  color: var(--color-primary);
  font-size: var(--text-xs);
  letter-spacing: 0.04em;
}

body[data-page="impact"] .page-step strong {
  color: var(--impact-strong);
  font-size: var(--text-base);
  line-height: 1.55;
}

@media (max-width: 1080px) {
  body[data-page="impact"] .page-card:nth-child(2),
  body[data-page="impact"] .page-card:nth-child(3) {
    margin-top: 0;
  }

  body[data-page="impact"] .page-feature--bio {
    grid-template-columns: 1fr;
  }

  body[data-page="impact"] .page-feature--bio .section-desc {
    padding-left: var(--space-5);
  }

  body[data-page="impact"] .page-timeline::before {
    display: none;
  }
}

@media (max-width: 640px) {
  body[data-page="impact"] .page-card,
  body[data-page="impact"] .page-step {
    min-height: auto;
  }

  body[data-page="impact"] .page-feature--bio .section-desc {
    padding-left: 0;
  }

  body[data-page="impact"] .page-feature--bio .section-desc::before {
    display: none;
  }
}

body[data-page="membership"] {
  --member-card-bg: linear-gradient(150deg, hsla(160, 16%, 14%, 0.95), hsla(160, 14%, 8%, 0.88));
  --member-form-bg: radial-gradient(540px circle at 8% 4%, hsla(101, 44%, 36%, 0.16), transparent 58%),
    radial-gradient(440px circle at 100% 14%, hsla(270, 70%, 65%, 0.14), transparent 62%),
    linear-gradient(145deg, hsla(160, 16%, 13%, 0.96), hsla(160, 12%, 8%, 0.9));
  --member-border: hsla(101, 44%, 42%, 0.22);
  --member-copy: var(--color-text-muted);
  --member-strong: var(--color-text);
  --member-field-bg: hsla(160, 12%, 8%, 0.68);
  --member-field-border: hsla(101, 44%, 42%, 0.2);
  --member-placeholder: hsla(160, 10%, 70%, 0.58);
  --member-shadow: 0 18px 42px -24px rgba(0, 0, 0, 0.58), inset 0 1px 0 hsla(0, 0%, 100%, 0.06);
  --member-shadow-hover: var(--shadow-lg), 0 24px 58px -26px hsla(101, 44%, 36%, 0.42), inset 0 1px 0 hsla(0, 0%, 100%, 0.08);
}

html[data-theme="light"] body[data-page="membership"] {
  --member-card-bg: linear-gradient(150deg, hsla(0, 0%, 100%, 0.96), hsla(150, 42%, 98%, 0.86));
  --member-form-bg: radial-gradient(560px circle at 8% 0%, hsla(101, 44%, 36%, 0.13), transparent 58%),
    radial-gradient(460px circle at 100% 8%, hsla(270, 70%, 65%, 0.1), transparent 62%),
    linear-gradient(145deg, hsla(0, 0%, 100%, 0.96), hsla(150, 42%, 98%, 0.88));
  --member-border: hsla(101, 34%, 42%, 0.18);
  --member-copy: hsl(158, 8%, 42%);
  --member-strong: hsl(158, 10%, 30%);
  --member-field-bg: hsla(0, 0%, 100%, 0.72);
  --member-field-border: hsla(160, 24%, 34%, 0.16);
  --member-placeholder: hsla(158, 10%, 34%, 0.72);
  --member-shadow: 0 1px 2px rgba(18, 55, 43, 0.05), 0 22px 42px -24px rgba(24, 72, 48, 0.35), inset 0 1px 0 hsla(0, 0%, 100%, 0.92);
  --member-shadow-hover: 0 1px 2px rgba(18, 55, 43, 0.05), 0 30px 60px -28px rgba(24, 72, 48, 0.48), 0 0 0 1px hsla(101, 44%, 36%, 0.08), inset 0 1px 0 hsla(0, 0%, 100%, 0.96);
}

body[data-page="membership"] .page-section--bio {
  padding-top: clamp(4.5rem, 8vw, 7rem);
  overflow: hidden;
}

body[data-page="membership"] .page-section--bio::before {
  background:
    radial-gradient(720px circle at 12% 10%, hsla(101, 44%, 36%, 0.13), transparent 58%),
    radial-gradient(520px circle at 92% 42%, hsla(270, 70%, 65%, 0.09), transparent 62%),
    linear-gradient(115deg, transparent 0 38%, hsla(101, 44%, 36%, 0.08) 38% 38.35%, transparent 38.35% 100%);
  opacity: 0.8;
  mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 84%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 84%, transparent 100%);
}

body[data-page="membership"] .page-card-grid,
body[data-page="membership"] .page-contact-form {
  max-width: 1064px;
  margin-left: auto;
  margin-right: auto;
}

body[data-page="membership"] .page-card-grid {
  gap: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

body[data-page="membership"] .page-card {
  min-height: 216px;
  padding: clamp(1.4rem, 2.8vw, 2rem);
  background: var(--member-card-bg);
  border-color: var(--member-border);
  box-shadow: var(--member-shadow);
}

body[data-page="membership"] .page-card:nth-child(2) {
  margin-top: clamp(1rem, 2vw, 1.5rem);
}

body[data-page="membership"] .page-card:nth-child(3) {
  margin-top: clamp(2rem, 3.8vw, 2.75rem);
}

body[data-page="membership"] .page-card::before,
body[data-page="membership"] .page-contact-form::before {
  height: 4px;
  background: linear-gradient(90deg, hsla(101, 44%, 36%, 0.72), hsla(270, 70%, 65%, 0.4), transparent 78%);
  opacity: 0.72;
}

body[data-page="membership"] .page-card:hover {
  border-color: hsla(101, 44%, 36%, 0.38);
  box-shadow: var(--member-shadow-hover);
}

body[data-page="membership"] .page-card__mark {
  width: 42px;
  height: 42px;
  margin-bottom: var(--space-5);
  color: var(--color-primary);
  background: linear-gradient(145deg, hsla(101, 44%, 36%, 0.14), hsla(101, 44%, 36%, 0.04));
  border-color: hsla(101, 38%, 42%, 0.2);
  box-shadow: inset 0 1px 0 hsla(0, 0%, 100%, 0.7);
}

body[data-page="membership"] .page-card h2 {
  color: var(--member-strong);
  font-size: clamp(1.45rem, 1.2rem + 0.55vw, 1.9rem);
}

body[data-page="membership"] .page-card p {
  color: var(--member-copy);
  font-size: var(--text-base);
}

body[data-page="membership"] .page-contact-form {
  position: relative;
  display: grid;
  grid-template-columns: minmax(240px, 0.82fr) minmax(320px, 1.18fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-top: 0;
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--member-form-bg);
  border: 1px solid var(--member-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--member-shadow), 0 0 90px hsla(101, 44%, 36%, 0.08);
  overflow: hidden;
  isolation: isolate;
}

body[data-page="membership"] .page-contact-form::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  pointer-events: none;
}

body[data-page="membership"] .page-contact-form::after {
  content: "";
  position: absolute;
  right: clamp(1.5rem, 5vw, 4rem);
  bottom: clamp(1rem, 4vw, 2.5rem);
  width: clamp(120px, 18vw, 220px);
  aspect-ratio: 1;
  border: 1px solid hsla(101, 44%, 36%, 0.18);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 49%, hsla(101, 44%, 36%, 0.16) 50%, transparent 51%),
    linear-gradient(0deg, transparent 49%, hsla(270, 70%, 65%, 0.12) 50%, transparent 51%);
  opacity: 0.48;
  pointer-events: none;
  z-index: -1;
}

body[data-page="membership"] .page-contact-form__head {
  display: block;
  align-self: center;
}

body[data-page="membership"] .page-contact-form__head span {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
  padding: 0.45rem 0.8rem;
  border: 1px solid hsla(101, 44%, 36%, 0.22);
  border-radius: var(--radius-full);
  color: var(--color-primary-light);
  background: hsla(101, 44%, 36%, 0.09);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body[data-page="membership"] .page-contact-form__head span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 18px hsla(101, 44%, 36%, 0.72);
}

body[data-page="membership"] .page-contact-form__head h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.4rem + 1.8vw, 3.3rem);
  line-height: 1.02;
  color: var(--member-strong);
  margin-bottom: var(--space-4);
}

body[data-page="membership"] .page-contact-form__head p {
  color: var(--member-copy);
  font-size: var(--text-base);
  line-height: 1.75;
  max-width: 38ch;
}

body[data-page="membership"] .page-contact-form .form__group,
body[data-page="membership"] .page-contact-form .form__submit {
  grid-column: 2;
}

body[data-page="membership"] .page-contact-form__head {
  grid-row: 1 / span 4;
}

body[data-page="membership"] .form__input,
body[data-page="membership"] .form__textarea {
  min-height: 58px;
  background: var(--member-field-bg);
  border-color: var(--member-field-border);
  border-radius: var(--radius-md);
  color: var(--member-strong);
  box-shadow:
    inset 0 1px 0 hsla(0, 0%, 100%, 0.84),
    0 12px 26px -20px rgba(24, 72, 48, 0.34);
}

body[data-page="membership"] .form__textarea {
  min-height: 168px;
}

body[data-page="membership"] .form__input::placeholder,
body[data-page="membership"] .form__textarea::placeholder {
  color: var(--member-placeholder);
}

body[data-page="membership"] .form__input:focus,
body[data-page="membership"] .form__textarea:focus {
  border-color: hsla(101, 44%, 36%, 0.58);
  box-shadow:
    0 0 0 4px hsla(101, 44%, 36%, 0.12),
    0 16px 32px -22px rgba(24, 72, 48, 0.44);
}

body[data-page="membership"] .form__submit {
  min-height: 54px;
  justify-self: start;
  padding: 0 var(--space-8);
  box-shadow: 0 18px 32px -20px hsla(101, 44%, 30%, 0.72);
}

@media (max-width: 1080px) {
  body[data-page="membership"] .page-card:nth-child(2),
  body[data-page="membership"] .page-card:nth-child(3) {
    margin-top: 0;
  }

  body[data-page="membership"] .page-contact-form {
    grid-template-columns: 1fr;
  }

  body[data-page="membership"] .page-contact-form__head,
  body[data-page="membership"] .page-contact-form .form__group,
  body[data-page="membership"] .page-contact-form .form__submit {
    grid-column: 1;
  }

  body[data-page="membership"] .page-contact-form__head {
    grid-row: auto;
  }
}

@media (max-width: 640px) {
  body[data-page="membership"] .page-card,
  body[data-page="membership"] .page-contact-form {
    border-radius: var(--radius-sm);
  }

  body[data-page="membership"] .page-contact-form {
    padding: var(--space-6);
  }

  body[data-page="membership"] .form__submit {
    width: 100%;
    justify-content: center;
  }
}

html[data-theme="light"] .home-mission {
  background:
    radial-gradient(ellipse at 78% 12%, hsla(101, 44%, 36%, 0.08), transparent 52%),
    hsla(150, 42%, 97%, 0.7);
}

.home-resources__grid,
html[data-theme="light"] .home-resources__grid {
  position: relative;
  z-index: 1;
  background: none;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-radius: 0;
  overflow: visible;
}

html[data-theme="light"] .impact-card--featured,
html[data-theme="light"] .home-signal-card,
html[data-theme="light"] .home-pathway-card,
html[data-theme="light"] .home-final__panel,
html[data-theme="light"] .home-resources__grid,
html[data-theme="light"] .page-editorial-panel,
html[data-theme="light"] .membership__invite {
  border-color: hsla(101, 44%, 36%, 0.22);
}

html[data-theme="light"] .home-resources {
  background:
    radial-gradient(ellipse at 10% 22%, hsla(101, 44%, 36%, 0.14), transparent 42%),
    radial-gradient(ellipse at 92% 76%, hsla(260, 62%, 58%, 0.1), transparent 44%),
    var(--color-bg);
}

html[data-theme="light"] .home-resources__grid {
  background: none;
  box-shadow: none;
}

html[data-theme="light"] .home-resources__desc {
  color: var(--color-text-muted);
}

html[data-theme="light"] .home-resources__browse {
  background: hsla(101, 44%, 36%, 0.1);
  border-color: hsla(101, 44%, 36%, 0.24);
  color: var(--color-primary);
}

html[data-theme="light"] .home-resource-links a {
  background:
    radial-gradient(125% 85% at 90% 0%, hsla(101, 44%, 46%, 0.12), transparent 52%),
    radial-gradient(110% 80% at 2% 100%, hsla(260, 62%, 58%, 0.05), transparent 50%),
    linear-gradient(165deg, hsla(0, 0%, 100%, 1), hsla(150, 40%, 98.5%, 0.96));
  border-color: hsla(101, 40%, 40%, 0.2);
  color: var(--color-text);
  box-shadow:
    0 1px 2px rgba(18, 55, 43, 0.05),
    0 16px 32px -16px rgba(24, 72, 48, 0.3),
    inset 0 1px 0 hsla(0, 0%, 100%, 0.9);
}

html[data-theme="light"] .home-resource-links a::before {
  color: hsla(101, 44%, 40%, 0.1);
}

html[data-theme="light"] .home-resource-links a:hover::before {
  color: hsla(101, 44%, 40%, 0.18);
}

html[data-theme="light"] .home-resource-card__kicker {
  background: linear-gradient(135deg, hsla(101, 44%, 42%, 0.16), hsla(101, 44%, 42%, 0.05));
  border-color: hsla(101, 44%, 40%, 0.28);
  color: var(--color-primary-dark);
}

html[data-theme="light"] .home-resource-links a small {
  color: var(--color-text-muted);
}

html[data-theme="light"] .home-resource-card__action {
  color: var(--color-primary);
}

html[data-theme="light"] .join-preview::before {
  background:
    radial-gradient(ellipse at 14% 20%, hsla(101, 44%, 36%, 0.2), transparent 42%),
    radial-gradient(ellipse at 86% 18%, hsla(260, 72%, 78%, 0.18), transparent 44%),
    radial-gradient(ellipse at 70% 88%, hsla(168, 70%, 45%, 0.12), transparent 46%),
    linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
}

html[data-theme="light"] .join-preview__image-frame {
  background:
    linear-gradient(135deg, hsla(0, 0%, 100%, 0.86), hsla(101, 44%, 36%, 0.14), hsla(158, 56%, 54%, 0.13)) padding-box,
    linear-gradient(135deg, hsla(101, 44%, 36%, 0.68), hsla(158, 56%, 54%, 0.3), hsla(270, 45%, 62%, 0.24)) border-box;
  box-shadow:
    var(--shadow-xl),
    0 0 86px hsla(101, 44%, 36%, 0.22),
    inset 0 0 0 1px hsla(0, 0%, 100%, 0.5);
}

html[data-theme="light"] .join-preview__image-frame::before {
  opacity: 0.48;
}

html[data-theme="light"] .join-preview__image-frame img {
  filter: saturate(0.86) sepia(0.1) hue-rotate(16deg) contrast(0.96) brightness(1.02);
}

html[data-theme="light"] .join-preview__signal {
  color: var(--color-text);
  background: hsla(0, 0%, 100%, 0.68);
  border-color: hsla(101, 44%, 36%, 0.22);
}

html[data-theme="light"] .hero__visual::before,
html[data-theme="light"] .hero__image-card {
  background: linear-gradient(135deg, hsla(0, 0%, 100%, 0.72), hsla(154, 34%, 98%, 0.56));
  border-color: hsla(101, 44%, 36%, 0.22);
  box-shadow: var(--shadow-xl), 0 0 68px hsla(101, 44%, 36%, 0.16);
}

html[data-theme="light"] .hero__image-card::before {
  opacity: 0.14;
}

html[data-theme="light"] .hero__image-card img {
  filter: saturate(1.14) contrast(1.08);
}

html[data-theme="light"] .home-story__list span {
  background:
    radial-gradient(circle at 6% 50%, hsla(101, 44%, 36%, 0.14), transparent 28%),
    linear-gradient(135deg, hsla(0, 0%, 100%, 0.92), hsla(154, 34%, 98%, 0.76));
  border-color: hsla(101, 44%, 36%, 0.18);
  color: var(--color-text);
  box-shadow: var(--shadow-sm);
}

html[data-theme="light"] .home-story__list span::after {
  background: var(--color-primary);
}

html[data-theme="light"] .home-story__copy .btn--ghost {
  background: hsla(0, 0%, 100%, 0.72);
  border-color: hsla(101, 44%, 36%, 0.22);
  color: var(--color-text-muted);
}

html[data-theme="light"] .home-objectives {
  background:
    radial-gradient(ellipse at 18% 24%, hsla(101, 44%, 36%, 0.14), transparent 42%),
    radial-gradient(ellipse at 86% 72%, hsla(260, 72%, 78%, 0.16), transparent 46%),
    var(--color-bg);
}

html[data-theme="light"] .home-objectives::before {
  background:
    linear-gradient(90deg, transparent 0 49.8%, hsla(101, 44%, 36%, 0.1) 49.8% 50%, transparent 50%),
    repeating-linear-gradient(90deg, transparent 0 118px, hsla(101, 44%, 36%, 0.055) 118px 119px),
    linear-gradient(180deg, transparent, hsla(148, 38%, 96%, 0.64));
}

html[data-theme="light"] .home-objectives .home-objective-card {
  background:
    radial-gradient(125% 85% at 88% 0%, hsla(101, 44%, 46%, 0.12), transparent 54%),
    radial-gradient(110% 80% at 2% 100%, hsla(260, 62%, 58%, 0.05), transparent 50%),
    linear-gradient(165deg, hsla(0, 0%, 100%, 1), hsla(150, 40%, 98.5%, 0.96));
  border-color: hsla(101, 40%, 40%, 0.2);
  box-shadow:
    0 1px 2px rgba(18, 55, 43, 0.05),
    0 16px 32px -16px rgba(24, 72, 48, 0.3),
    inset 0 1px 0 hsla(0, 0%, 100%, 0.9);
}

html[data-theme="light"] .home-objectives .home-objective-card:hover {
  border-color: hsla(101, 44%, 42%, 0.45);
  box-shadow:
    0 2px 4px rgba(18, 55, 43, 0.06),
    0 26px 50px -18px rgba(24, 72, 48, 0.42),
    inset 0 1px 0 hsla(0, 0%, 100%, 1);
}

html[data-theme="light"] .home-objective-card__number {
  background: linear-gradient(135deg, hsla(101, 44%, 42%, 0.16), hsla(101, 44%, 42%, 0.05));
  border-color: hsla(101, 44%, 40%, 0.3);
  color: var(--color-primary-dark);
  box-shadow: 0 2px 10px hsla(101, 44%, 36%, 0.12);
}

html[data-theme="light"] .home-objectives .home-objective-card:hover .home-objective-card__number {
  border-color: hsla(101, 44%, 36%, 0.4);
  box-shadow: 0 2px 12px hsla(101, 44%, 36%, 0.18);
}

html[data-theme="light"] .impact,
html[data-theme="light"] .home-mission::before,
html[data-theme="light"] .home-pathways::before,
html[data-theme="light"] .home-final::before,
html[data-theme="light"] .membership::before {
  background:
    radial-gradient(ellipse at 22% 20%, hsla(160, 64%, 70%, 0.24), transparent 45%),
    radial-gradient(ellipse at 82% 78%, hsla(260, 72%, 78%, 0.2), transparent 46%),
    var(--color-bg);
}

html[data-theme="light"] .membership__price-mark {
  background:
    linear-gradient(var(--color-surface), var(--color-surface)) padding-box,
    var(--gradient-primary) border-box;
}

html[data-theme="light"] .footer {
  background: var(--color-bg);
}

html[data-theme="light"] .footer__tagline,
html[data-theme="light"] .footer__newsletter-desc,
html[data-theme="light"] .footer__col-link,
html[data-theme="light"] .footer__copy,
html[data-theme="light"] .footer__bottom-link {
  color: var(--color-text-muted);
}

html[data-theme="light"] .cursor {
  mix-blend-mode: normal;
  background: hsla(101, 44%, 36%, 0.08);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero--editorial {
    min-height: auto;
  }

  .hero--editorial .hero__layout {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .hero--editorial .hero__content {
    max-width: 760px;
    justify-self: center;
    text-align: center;
  }

  .hero--editorial .hero__desc {
    margin-right: auto;
    margin-left: auto;
  }

  .hero--editorial .hero__actions {
    justify-content: center;
  }

  .hero__visual {
    width: min(100%, 760px);
    justify-self: center;
  }

  .hero__image-card {
    inset: 0;
    clip-path: polygon(6% 0, 100% 0, 94% 100%, 0 100%);
  }

  .hero__visual::before {
    inset: 8% 2% 4%;
  }

  .home-objectives__grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .home-objectives__copy {
    position: relative;
    top: auto;
    max-width: 720px;
    text-align: center;
    justify-self: center;
  }

  .home-objectives__copy .section-desc {
    margin: 0 auto;
  }

  .home-objectives__rail {
    max-width: 760px;
    width: 100%;
    justify-self: center;
  }
}

@media (max-width: 768px) {
  .nav__link { display: none; }
  .nav__toggle { display: flex; }
  .nav__mobile { display: flex; }
  .nav__inner { gap: var(--space-2); }

  .join-preview {
    min-height: auto;
    padding: calc(var(--space-12) + 56px) 0 var(--space-8);
  }

  .join-preview__grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
    align-items: start;
  }

  .join-preview__intro {
    min-height: auto;
    padding-right: 0;
  }

  .join-preview__mailbox {
    padding: 0;
    transform: none;
  }

  .join-preview__form {
    grid-template-columns: 1fr;
  }

  .join-preview__submit {
    grid-column: 1 / -1;
  }

  .join-preview__visual {
    min-height: auto;
    width: min(100%, 420px);
    justify-self: center;
    transform: none;
  }

  .join-preview__image-frame {
    width: min(100%, 300px);
  }

  .join-preview__orbit--outer {
    width: min(86%, 360px);
  }

  .join-preview__orbit--inner {
    width: min(62%, 250px);
  }

  .join-preview__signal {
    display: none;
  }

  .home-mission,
  .home-objectives,
  .home-story,
  .home-pathways,
  .home-resources,
  .home-final {
    padding: var(--space-20) 0;
  }

  .home-signal-grid,
  .home-pathway-grid,
  .home-story__grid,
  .home-resources__grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .home-signal-panel {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .home-signal-card--primary {
    min-height: 280px;
  }

  .home-signal-panel__details {
    padding: 0;
  }

  .home-story__media,
  .home-story__media img {
    min-height: 320px;
  }

  .home-resource-links {
    grid-template-columns: 1fr;
  }

  .home-objectives__rail {
    grid-template-columns: 1fr;
    padding-left: 0;
  }
  
  .overview__grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  
  .overview__highlights {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  
  .contact__grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  
  .partners__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .impact-card {
    min-height: 250px;
  }

  .page-hero {
    min-height: auto;
    padding: calc(var(--space-24) + var(--space-12)) 0 var(--space-16);
  }

  .page-hero__brief {
    max-width: none;
  }

  .page-hero__grid,
  .page-feature {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .page-hero__media,
  .page-hero__media img {
    min-height: 320px;
  }

  .page-card-grid,
  .page-card-grid--partners,
  .page-card-grid--links,
  .page-timeline {
    grid-template-columns: 1fr;
  }

  .cursor { display: none; }
  
  .hero--editorial {
    padding: var(--space-20) 0 var(--space-14);
  }

  .hero--editorial .hero__content { padding: var(--space-4); }

  .hero__visual {
    min-height: 340px;
  }

  .hero__image-card img {
    min-height: 340px;
  }

  .hero__fruit-chip {
    min-height: 34px;
    padding: var(--space-2) var(--space-3);
    font-size: 0.66rem;
  }

  .hero__fruit-chip--tomato {
    left: 3%;
  }

  .hero__fruit-chip--banana {
    right: 4%;
  }
  
  .membership__invite {
    grid-template-columns: 1fr;
    padding: var(--space-8);
  }

  .membership__price-mark {
    justify-self: start;
    width: 170px;
  }

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

  /* Footer responsive */
  .footer__top {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .join-preview { padding: calc(var(--space-10) + 54px) 0 var(--space-6); }
  .join-preview__badge { margin-bottom: var(--space-3); }
  .join-preview__mailbox { padding: 0; }
  .join-preview__title { font-size: clamp(2.35rem, 12vw, 3.35rem); margin-bottom: var(--space-2); }
  .join-preview__title em { text-shadow: 0 0 22px hsla(101, 44%, 36%, 0.24); }
  .join-preview__desc { font-size: var(--text-sm); line-height: 1.5; margin-bottom: var(--space-3); }
  .join-preview__form .form__input { min-height: 44px; }
  .join-preview__submit { min-height: 44px; }
  .join-preview__image-frame { width: min(100%, 205px); }
  .join-preview__submit { justify-self: stretch; }
  .home-signal-card,
  .home-pathway-card,
  .home-final__panel,
  .home-resources__grid,
  .page-editorial-panel { padding: var(--space-6); }
  .home-signal-panel { padding: var(--space-4); }
  .home-signal-card--primary { padding: var(--space-6); }
  .home-signal-card--detail {
    grid-template-columns: 1fr;
    gap: var(--space-3);
    padding: var(--space-5);
  }
  .home-signal-card--detail span {
    width: 34px;
    height: 34px;
  }
  .home-resources__desc {
    font-size: var(--text-sm);
    margin-bottom: var(--space-5);
  }
  .home-resources__browse {
    width: 100%;
    justify-content: center;
  }
  .home-resource-links a {
    min-height: auto;
    padding: var(--space-5);
  }
  .home-resource-links a::before {
    font-size: 2.25rem;
  }
  .home-resource-card__kicker {
    min-height: 24px;
    font-size: 0.66rem;
  }
  .home-resource-links a strong {
    max-width: 100%;
    font-size: var(--text-base);
  }
  .home-resource-links a small {
    font-size: var(--text-xs);
  }
  .home-resource-card__action {
    font-size: var(--text-xs);
  }
  .home-final__panel h2 { font-size: var(--text-2xl); }
  .home-story__copy .section-title {
    font-size: clamp(1.65rem, 7.2vw, 2.12rem);
    line-height: 1.12;
  }
  .home-story__copy .section-desc {
    font-size: var(--text-sm);
  }
  .home-story__list {
    gap: var(--space-3);
    margin: var(--space-5) 0 var(--space-6);
  }
  .home-story__list span {
    grid-template-columns: 34px minmax(0, 1fr);
    column-gap: var(--space-3);
    min-height: 58px;
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-sm);
  }
  .home-story__list span::before {
    width: 26px;
    height: 26px;
  }
  .home-story__list span::after {
    display: none;
  }
  .home-objectives__copy { text-align: left; }
  .home-objectives__copy .section-desc { margin: 0; }
  .home-objectives__copy .btn { margin-top: var(--space-5); }
  .home-objectives__rail {
    padding-left: 0;
  }
  .home-objectives__rail::before {
    display: none;
  }
  .home-objective-card {
    min-height: auto;
    padding: var(--space-6);
  }
  .hero--editorial { padding: var(--space-16) 0 var(--space-10); }
  .hero--editorial .hero__title { font-size: clamp(1.9rem, 8.4vw, 2.35rem); }
  .hero--editorial .hero__subtitle { font-size: var(--text-base); }
  .hero--editorial .hero__desc { font-size: var(--text-sm); }
  .hero__visual { min-height: 270px; }
  .hero__image-card img { min-height: 270px; }
  .hero__visual-orbit { display: none; }
  .hero__fruit-chip--greens { display: none; }
  .hero__fruit-chip--tomato { top: 9%; left: 4%; }
  .hero__fruit-chip--banana { right: 4%; bottom: 10%; }
  .hero__actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
  .overview__highlights { grid-template-columns: 1fr; }
  .partners__grid { grid-template-columns: 1fr; }
  .partner-card { min-height: 210px; }
  .impact { padding: var(--space-24) 0; }
  .impact-card { padding: var(--space-6); min-height: 220px; }
  .page-hero__title { font-size: var(--text-3xl); }
  .page-hero__brief li {
    grid-template-columns: 1fr;
    gap: var(--space-2);
  }
  .page-hero__brief li::before {
    display: none;
  }
  .page-hero__brief strong,
  .page-hero__brief em {
    grid-column: auto;
  }
  .page-hero__media,
  .page-hero__media img { min-height: 250px; }
  .page-card,
  .page-feature,
  .legal-panel { padding: var(--space-6); }
  .membership__invite { padding: var(--space-6); }
  .membership__headline { font-size: var(--text-2xl); }
  .membership__price-mark { width: 150px; }

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