/* ==========================================================================
   HOME.CSS — page-specific styles for index.html
   ========================================================================== */

/* ---- HERO ---- */
.hero {
  padding-top: clamp(6rem, 14vw, 9rem);
  padding-bottom: 3rem;
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.hero__tagline {
  font-family: var(--font-hand);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  color: var(--clay);
  display: block;
  transform: rotate(-1.5deg);
  margin-bottom: 0.3rem;
}

.hero__name {
  margin: 0;
}

.hero__sentence {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 46ch;
}

.hero__ctas {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

/* organic blob visual — pure CSS, no image needed */
.hero__visual {
  position: relative;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__blob {
  position: absolute;
  inset: 6%;
  background: linear-gradient(150deg, var(--sage) 0%, var(--sage-soft) 60%, var(--cream-soft) 100%);
  border-radius: var(--blob);
  animation: blob-morph 14s var(--ease) infinite alternate;
}

body.dark-mode .hero__blob {
  background: linear-gradient(150deg, #33452d 0%, #22301e 60%, #171f15 100%);
}

@keyframes blob-morph {
  0%   { border-radius: 40% 60% 55% 45% / 45% 40% 60% 55%; }
  100% { border-radius: 58% 42% 38% 62% / 55% 65% 35% 45%; }
}

.hero__card {
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 1.4rem 1.6rem;
  box-shadow: 0 18px 40px -18px var(--shadow-color);
  max-width: 250px;
  transform: rotate(2deg);
}
.hero__card p { margin: 0; font-size: 0.92rem; }
.hero__card .hand { display: block; margin-bottom: 0.2rem; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .hero__visual { max-width: 320px; margin: 0 auto; }
}

/* ---- ABOUT ---- */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 2rem;
}
.about-card h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.about-card p { font-size: 0.95rem; margin: 0; }
.about-card__icon { font-size: 1.6rem; margin-bottom: 0.6rem; display: block; }

@media (max-width: 760px) {
  .about-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .about-grid { grid-template-columns: 1fr; }
}

/* ---- STATS (animated counters) ---- */
.stats-band {
  background: var(--surface);
  border-radius: 32px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.stat__number {
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 4vw, 3rem);
  color: var(--accent-strong);
  font-weight: 600;
}
.stat__label {
  font-size: 0.88rem;
  color: var(--text-muted);
}
@media (max-width: 760px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

/* ---- CURRENTLY ---- */
.currently-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 2rem;
}
.currently-card {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}
.currently-card__emoji {
  font-size: 1.6rem;
  flex-shrink: 0;
}
.currently-card h4 {
  margin: 0 0 0.15rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: none;
  color: var(--text-muted);
}
.currently-card p { margin: 0; font-weight: 600; color: var(--text); font-size: 0.98rem; }

@media (max-width: 760px) {
  .currently-grid { grid-template-columns: 1fr; }
}

/* ---- QUICK LINKS ---- */
.quicklinks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.quicklink {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem 1.25rem;
  text-decoration: none;
  color: var(--text);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--blob);
  transition: transform var(--dur-mid) var(--ease), border-radius var(--dur-mid) var(--ease);
}
.quicklink:hover {
  transform: translateY(-3px) scale(1.02);
  border-radius: var(--blob-alt);
}
.quicklink__emoji { font-size: 1.5rem; }
.quicklink__label { font-weight: 700; font-family: var(--font-heading); font-size: 1.05rem; }
.quicklink__desc { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

@media (max-width: 900px) {
  .quicklinks-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .quicklinks-grid { grid-template-columns: 1fr; }
}

/* ---- scroll reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
