/* ═══════════════════════════════════════════════════════════════════
   ADIVA'S HIDEOUT — 1000X Design System
   A working farmstead in Botswana
   ═══════════════════════════════════════════════════════════════════ */

/* ─── DESIGN TOKENS ─── */
:root {
  /* Brand */
  --emerald: #1a7a3e;
  --forest: #0d3b2e;
  --sun: #ffd700;
  --sunlight: #ffe94a;
  --cream: #faf9f6;
  --white: #fff;

  /* Semantic */
  --bg: var(--cream);
  --fg: var(--forest);
  --accent: var(--emerald);
  --highlight: var(--sun);
  --muted: #a1a1aa;
  --muted-fg: #52525b;
  --border: #e5e7eb;
  --border-strong: var(--emerald);

  /* Emerald Scale */
  --emerald-50: #f0fdf4;
  --emerald-100: #dcfce7;
  --emerald-200: #bbf7d0;
  --emerald-300: #86efac;
  --emerald-400: #4ade80;
  --emerald-500: #22c55e;
  --emerald-600: #16a34a;
  --emerald-700: #166534;
  --emerald-800: #14532d;
  --emerald-900: #052e16;

  /* Forest Scale */
  --forest-50: #f0fdf4;
  --forest-100: #dcfce7;
  --forest-800: #14532d;
  --forest-900: #0d3b2e;
  --forest-950: #071f18;

  /* Sun Scale */
  --sun-50: #fefce8;
  --sun-100: #fef9c3;
  --sun-200: #fef08a;
  --sun-400: #facc15;
  --sun-500: #ffd700;

  /* Typography Scale — Fluid */
  --text-xs: clamp(0.7rem, 0.65rem + 0.25vw, 0.75rem);
  --text-sm: clamp(0.8rem, 0.75rem + 0.25vw, 0.875rem);
  --text-base: clamp(0.9rem, 0.85rem + 0.25vw, 1rem);
  --text-lg: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
  --text-xl: clamp(1.1rem, 1rem + 0.5vw, 1.25rem);
  --text-2xl: clamp(1.3rem, 1.1rem + 1vw, 1.5rem);
  --text-3xl: clamp(1.6rem, 1.3rem + 1.5vw, 1.875rem);
  --text-4xl: clamp(2rem, 1.5rem + 2.5vw, 2.5rem);
  --text-5xl: clamp(2.5rem, 1.8rem + 3.5vw, 3.5rem);
  --text-6xl: clamp(3rem, 2rem + 5vw, 4.5rem);

  /* Spacing Scale */
  --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;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
  --shadow: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 15px rgba(0,0,0,.1), 0 4px 6px rgba(0,0,0,.05);
  --shadow-xl: 0 20px 25px rgba(0,0,0,.1), 0 10px 10px rgba(0,0,0,.04);
  --shadow-2xl: 0 25px 50px rgba(0,0,0,.25);
  --shadow-emerald: 0 4px 14px rgba(26,122,62,.25);
  --shadow-sun: 0 4px 14px rgba(255,215,0,.3);

  /* Radii */
  --radius-sm: 4px;
  --radius: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 150ms;
  --duration: 250ms;
  --duration-slow: 400ms;
  --duration-slower: 600ms;

  /* Z-Index */
  --z-base: 1;
  --z-dropdown: 10;
  --z-sticky: 50;
  --z-modal: 100;
  --z-toast: 200;
  --z-tooltip: 300;

  /* Container */
  --container-max: 1200px;
  --container-padding: clamp(1rem, 0.5rem + 2vw, 2rem);
}

/* ─── RESET ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Lora', Georgia, 'Times New Roman', serif;
  font-size: var(--text-base);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--fg);
  line-height: 1.2;
}
a { color: inherit; text-decoration: none; transition: color var(--duration-fast) var(--ease-out); }
img, video, svg { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }

/* ─── ACCESSIBILITY ─── */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: -100%; left: var(--space-4); z-index: var(--z-tooltip);
  background: var(--forest); color: var(--white); padding: var(--space-3) var(--space-6);
  font-family: 'Inter', sans-serif; font-size: var(--text-sm); font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.1em; border-radius: 0 0 var(--radius) var(--radius);
  transition: top var(--duration) var(--ease-out);
}
.skip-link:focus {
  top: 0; outline: 3px solid var(--sun); outline-offset: 2px;
}
:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 2px;
}
@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;
  }
}

/* ─── CONTAINER ─── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* ─── HEADER ─── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  padding: var(--space-4) 0;
  background: rgba(250,249,246,.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: all var(--duration) var(--ease-out);
}
.header.scrolled {
  padding: var(--space-3) 0;
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.header .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  flex-wrap: wrap;
}
.logo {
  font-family: 'Playfair Display', serif;
  font-size: var(--text-lg);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--fg);
  transition: transform var(--duration) var(--ease-spring);
}
.logo:hover { transform: scale(1.02); }
.logo .logo-dot { color: var(--emerald); }

/* Navigation */
.nav { display: flex; align-items: center; gap: var(--space-2); }
.nav ul { display: flex; gap: var(--space-1); list-style: none; }
.nav a {
  font-family: 'Inter', sans-serif;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-fg);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius);
  transition: all var(--duration-fast) var(--ease-out);
  position: relative;
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--emerald);
  transition: all var(--duration) var(--ease-out);
  transform: translateX(-50%);
}
.nav a:hover { color: var(--fg); }
.nav a:hover::after { width: 60%; }
.nav a[aria-current="page"] { color: var(--fg); font-weight: 600; }
.nav a[aria-current="page"]::after { width: 60%; }

.cta-nav {
  background: var(--sun) !important;
  color: var(--forest) !important;
  padding: var(--space-2) var(--space-4) !important;
  font-weight: 600 !important;
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow-sun);
  transition: all var(--duration) var(--ease-spring) !important;
}
.cta-nav:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg), var(--shadow-sun); }
.cta-nav::after { display: none !important; }

/* Language */
.lang { display: flex; gap: var(--space-1); font-family: 'Inter', sans-serif; font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.1em; }
.lang a { padding: var(--space-1) var(--space-2); border-radius: var(--radius-sm); color: var(--muted-fg); }
.lang a.active { background: var(--forest); color: var(--white); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: var(--radius);
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--fg);
  transition: all var(--duration) var(--ease-out);
  border-radius: 2px;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(250,249,246,.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: var(--space-8);
    transform: translateX(100%);
    transition: transform var(--duration-slow) var(--ease-out);
    z-index: var(--z-modal);
  }
  .nav.open { transform: translateX(0); }
  .nav ul { flex-direction: column; align-items: center; gap: var(--space-4); }
  .nav a { font-size: var(--text-lg); }
}

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg);
}
.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background:
    radial-gradient(ellipse at 20% 50%, var(--sun) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, var(--emerald-300) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, var(--sunlight) 0%, transparent 50%);
  animation: heroBgPulse 20s ease-in-out infinite alternate;
}
@keyframes heroBgPulse {
  0% { opacity: 0.08; transform: scale(1); }
  100% { opacity: 0.12; transform: scale(1.05); }
}
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: var(--space-24) var(--space-8);
  max-width: 900px;
  margin: 0 auto;
}
.hero .tagline {
  font-family: 'Inter', sans-serif;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--emerald);
  margin-bottom: var(--space-6);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--ease-out) 0.2s forwards;
}
.hero h1 {
  font-size: var(--text-6xl);
  margin-bottom: var(--space-6);
  line-height: 1.05;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s var(--ease-out) 0.4s forwards;
}
.hero p {
  font-size: var(--text-xl);
  color: var(--muted-fg);
  max-width: 700px;
  margin: 0 auto var(--space-10);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--ease-out) 0.6s forwards;
}

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

/* ─── ACTION CARDS ─── */
.actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  max-width: 900px;
  margin: 0 auto var(--space-12);
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.8s forwards;
}
@media (max-width: 768px) { .actions { grid-template-columns: repeat(2, 1fr); } }

.action {
  padding: var(--space-6) var(--space-4);
  text-align: center;
  display: block;
  border-radius: var(--radius-lg);
  transition: all var(--duration) var(--ease-spring);
  position: relative;
  overflow: hidden;
}
.action::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.2) 0%, transparent 50%);
  transition: opacity var(--duration);
}
.action:hover::before { opacity: 1; }
.action:hover { transform: translateY(-4px); }
.action:active { transform: translateY(-1px); }

.action.emerald { background: var(--emerald); color: var(--white); box-shadow: var(--shadow-emerald); }
.action.emerald:hover { background: var(--emerald-700); box-shadow: var(--shadow-lg), var(--shadow-emerald); }
.action.sun { background: var(--sun); color: var(--forest); box-shadow: var(--shadow-sun); }
.action.sun:hover { background: var(--sun-400); box-shadow: var(--shadow-lg), var(--shadow-sun); }
.action.forest { background: var(--forest); color: var(--white); }
.action.forest:hover { background: var(--emerald-800); box-shadow: var(--shadow-lg); }
.action.outline { background: var(--white); border: 2px solid var(--emerald); color: var(--emerald); }
.action.outline:hover { background: var(--emerald); color: var(--white); box-shadow: var(--shadow-emerald); }

.action-icon { font-size: 2.5rem; margin-bottom: var(--space-3); display: block; }
.action h3 { font-family: 'Playfair Display', serif; font-size: var(--text-lg); margin-bottom: var(--space-1); color: inherit; }
.action p { font-size: var(--text-xs); margin: 0; opacity: 0.85; }

/* ─── STATUS STRIP ─── */
.status-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-family: 'Inter', sans-serif;
  font-size: var(--text-sm);
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 1s forwards;
}
.status-strip span { display: flex; align-items: center; gap: var(--space-2); color: var(--fg); }
.pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--emerald);
  animation: pulse 2s infinite;
  box-shadow: 0 0 0 0 rgba(26,122,62,.4);
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(26,122,62,.4); }
  50% { opacity: .8; box-shadow: 0 0 0 6px rgba(26,122,62,0); }
}

/* Location */
.location {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-6);
  font-family: 'Inter', sans-serif;
  font-size: var(--text-sm);
  color: var(--muted-fg);
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 1.2s forwards;
}

/* ─── SECTIONS ─── */
section { padding: var(--space-20) 0; }
.bg-emerald-50 { background: var(--emerald-50); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.bg-forest { background: var(--forest); color: var(--white); }
.bg-forest h1, .bg-forest h2, .bg-forest h3 { color: var(--white); }
.bg-sun { background: var(--sun); color: var(--forest); }
.text-center { text-align: center; }

/* Section Headers */
.section-header { text-align: center; margin-bottom: var(--space-12); }
.section-header .eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--emerald);
  margin-bottom: var(--space-3);
  display: inline-block;
}
.section-header h2 { font-size: var(--text-4xl); margin-bottom: var(--space-4); }
.section-header p { font-size: var(--text-lg); color: var(--muted-fg); max-width: 700px; margin: 0 auto; }

/* ─── CARDS ─── */
.grid { display: grid; gap: var(--space-6); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  transition: all var(--duration) var(--ease-out);
  display: block;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--emerald), var(--sun));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration) var(--ease-out);
}
.card:hover { border-color: var(--emerald); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.card:hover::before { transform: scaleX(1); }
.card-icon { font-size: 2.5rem; margin-bottom: var(--space-4); }
.card h3 { font-size: var(--text-2xl); margin-bottom: var(--space-2); }
.card p { font-size: var(--text-sm); color: var(--muted-fg); }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: 'Inter', sans-serif;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  border-radius: var(--radius);
  transition: all var(--duration) var(--ease-spring);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.15) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--duration);
}
.btn:hover::before { opacity: 1; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-emerald { background: var(--emerald); color: var(--white); box-shadow: var(--shadow-emerald); }
.btn-emerald:hover { background: var(--emerald-700); box-shadow: var(--shadow-lg), var(--shadow-emerald); }
.btn-sun { background: var(--sun); color: var(--forest); box-shadow: var(--shadow-sun); }
.btn-sun:hover { background: var(--sun-400); box-shadow: var(--shadow-lg), var(--shadow-sun); }
.btn-forest { background: var(--forest); color: var(--white); }
.btn-forest:hover { background: var(--emerald-800); box-shadow: var(--shadow-lg); }
.btn-outline { background: transparent; color: var(--emerald); border: 2px solid var(--emerald); }
.btn-outline:hover { background: var(--emerald); color: var(--white); }
.btn-lg { padding: var(--space-4) var(--space-8); font-size: var(--text-base); }
.btn-sm { padding: var(--space-2) var(--space-4); font-size: var(--text-xs); }

/* ─── MASTERPLAN ─── */
.masterplan {
  background: var(--white);
  padding: var(--space-4);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin: 0 auto;
  max-width: 1000px;
}
.masterplan img { width: 100%; height: auto; display: block; border-radius: var(--radius-md); }

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all var(--duration-slower) var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all var(--duration-slower) var(--ease-out);
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all var(--duration-slower) var(--ease-out);
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: all var(--duration-slower) var(--ease-out);
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(30px);
  transition: all var(--duration-slow) var(--ease-out);
}
.stagger-children.visible > *:nth-child(1) { transition-delay: 0ms; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(2) { transition-delay: 100ms; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(3) { transition-delay: 200ms; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(4) { transition-delay: 300ms; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(5) { transition-delay: 400ms; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(6) { transition-delay: 500ms; opacity: 1; transform: translateY(0); }

/* ─── PARALLAX ─── */
.parallax-container {
  position: relative;
  overflow: hidden;
}
.parallax-bg {
  position: absolute;
  inset: -20% 0;
  background-size: cover;
  background-position: center;
  will-change: transform;
}

/* ─── SCROLL PROGRESS ─── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--emerald), var(--sun));
  z-index: calc(var(--z-sticky) + 1);
  transition: width 50ms linear;
}

/* ─── BACK TO TOP ─── */
.back-to-top {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--forest);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--duration) var(--ease-spring);
  z-index: var(--z-sticky);
  cursor: pointer;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--emerald);
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

/* ─── TOAST NOTIFICATIONS ─── */
.toast-container {
  position: fixed;
  top: var(--space-6);
  right: var(--space-6);
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.toast {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--emerald);
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  font-family: 'Inter', sans-serif;
  font-size: var(--text-sm);
  min-width: 300px;
  max-width: 450px;
  opacity: 0;
  transform: translateX(100%);
  transition: all var(--duration) var(--ease-out);
}
.toast.show { opacity: 1; transform: translateX(0); }
.toast.success { border-left-color: var(--emerald); }
.toast.error { border-left-color: #dc2626; }
.toast.info { border-left-color: var(--sun); }

/* ─── SKELETON LOADING ─── */
.skeleton {
  background: linear-gradient(90deg, var(--border) 25%, var(--emerald-50) 50%, var(--border) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius);
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ─── FOOTER ─── */
.footer {
  padding: var(--space-16) 0 var(--space-8);
  background: var(--forest);
  color: var(--white);
  font-size: var(--text-sm);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer h3 {
  font-family: 'Inter', sans-serif;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--emerald-300);
  margin-bottom: var(--space-4);
}
.footer p, .footer a { color: rgba(255,255,255,.7); line-height: 1.8; }
.footer a:hover { color: var(--sun); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: var(--space-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  font-size: var(--text-xs);
  color: rgba(255,255,255,.5);
}

/* ─── RESPONSIVE UTILITIES ─── */
@media (max-width: 768px) {
  section { padding: var(--space-12) 0; }
  .hero-content { padding: var(--space-20) var(--space-4); }
  .footer { padding: var(--space-10) 0 var(--space-6); }
}

/* ─── PRINT STYLES ─── */
@media print {
  .header, .back-to-top, .scroll-progress, .nav-toggle { display: none !important; }
  body { background: white; }
  .hero { min-height: auto; page-break-after: always; }
}