/* ===== HOMEPAGE STYLES ===== */

/* HERO */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-stars {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-content {
  position: relative;
  z-index: 1;
  padding-block: clamp(var(--space-16), 10vw, var(--space-32));
  max-width: 640px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
  background: var(--color-gold-highlight);
  border: 1px solid color-mix(in oklab, var(--color-gold) 30%, transparent);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-8);
}
.hero-title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 700;
  line-height: 0.95;
  color: var(--color-text);
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}
.hero-title em {
  font-style: italic;
  color: var(--color-primary);
}
.hero-tagline {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-style: italic;
  color: var(--color-gold);
  margin-bottom: var(--space-6);
  font-weight: 400;
}
.hero-desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 50ch;
  line-height: 1.7;
  margin-bottom: var(--space-8);
}
.hero-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-12);
}
.hero-moon {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.hero-moon-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}
.hero-moon-divider {
  width: 1px;
  height: 16px;
  background: var(--color-divider);
}
.hero-scroll-hint {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  color: var(--color-text-faint);
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ABOUT */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-12), 6vw, var(--space-20));
  align-items: center;
}
.about-body {
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
  line-height: 1.75;
}
.community-note { font-size: var(--text-sm); }

.sacred-geo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}
.sacred-geo {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 1;
  animation: slowSpin 80s linear infinite;
  opacity: 0.8;
}
@keyframes slowSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .sacred-geo { animation: none; }
}
.sacred-geo-label {
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  font-weight: 600;
}

/* GATHERINGS */
.gatherings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.gathering-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: all var(--transition-interactive);
}
.gathering-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: var(--color-primary);
}
.gathering-card--featured {
  border-color: var(--color-gold);
  background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-gold-highlight) 100%);
}
.gathering-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.gathering-icon.moon-full {
  background: color-mix(in oklab, var(--color-moon) 15%, transparent);
  color: var(--color-moon);
}
.gathering-icon.sabbat {
  background: var(--color-gold-highlight);
  color: var(--color-gold);
}
.gathering-body { flex: 1; }
.gathering-type {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}
.gathering-card--featured .gathering-type { color: var(--color-gold); }
.gathering-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-3);
  line-height: 1.25;
}
.gathering-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
}
.gathering-meta {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-divider);
}
.gathering-meta span {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}
.btn-sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
}

/* WHEEL TEASER */
.wheel-teaser {
  background: linear-gradient(135deg, var(--color-primary-active) 0%, var(--color-primary) 50%, #1a5545 100%);
}
.wheel-teaser-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-12), 6vw, var(--space-20));
  align-items: center;
}
.wheel-teaser-desc {
  color: rgba(255,255,255,0.75);
  margin-bottom: var(--space-6);
  line-height: 1.7;
}
.wheel-sabbats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-6);
}
.sabbat-pill {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.2);
}
.wheel-teaser-visual {
  display: flex;
  justify-content: center;
}
.wheel-svg {
  width: 100%;
  max-width: 340px;
  animation: slowSpin 120s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  .wheel-svg { animation: none; }
}

/* INFO STRIP */
.info-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}
.info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}
.info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg);
  background: var(--color-primary-highlight);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.info-title {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-text);
  margin-bottom: var(--space-1);
}
.info-desc {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* EGGS TEASER */
.eggs-teaser {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-16);
  align-items: center;
}
.eggs-icon-cluster {
  opacity: 0.7;
}

/* TEXT ALIGN UTILITY */
.text-center { text-align: center; }
.text-center .section-subtitle { margin-inline: auto; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .sacred-geo-wrap { display: none; }
  .gatherings-grid { grid-template-columns: 1fr; }
  .wheel-teaser-inner { grid-template-columns: 1fr; }
  .wheel-teaser-visual { display: none; }
  .info-strip { grid-template-columns: 1fr 1fr; }
  .eggs-teaser { grid-template-columns: 1fr; }
  .eggs-teaser-visual { display: none; }
}
@media (max-width: 560px) {
  .hero-title { font-size: clamp(2.5rem, 12vw, 4.5rem); }
  .info-strip { grid-template-columns: 1fr; }
  .hero-moon { flex-direction: column; align-items: flex-start; gap: var(--space-2); }
  .hero-moon-divider { display: none; }
}
