/* ============================================================================
   GARAGE GALS . HOMEPAGE SECTIONS
   ----------------------------------------------------------------------------
   The hero showpiece plus the section frames unique to the homepage: the
   Reveal band, stats band, Meet Tamara split, the transformation reel, and the
   final CTA closer. Generic pieces live in components.css.
   ============================================================================ */

/* ===== HERO =============================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: clamp(7rem, 5rem + 8vw, 11rem) var(--gutter) clamp(3rem, 2rem + 4vw, 6rem);
  background: var(--ink-950);
  background-image: var(--grad-ink-depth);
  color: var(--cream-50);
  overflow: hidden;
  isolation: isolate;
}

/* Ambient background layers */
.hero__glow {
  position: absolute;
  z-index: 0;
  width: 80vmax; height: 80vmax;
  top: -20vmax; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(230,58,45,0.28) 0%, rgba(230,58,45,0.08) 30%, transparent 62%);
  pointer-events: none;
  filter: blur(10px);
}
.hero__pegboard {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: radial-gradient(circle at center, rgba(245,239,228,0.06) 1.4px, transparent 1.6px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(120% 90% at 50% 30%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero__grain {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.05;
  pointer-events: none;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* floating ember motes */
.hero__motes { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__mote {
  position: absolute;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--red-400);
  box-shadow: var(--glow-red-sm);
  opacity: 0.5;
  animation: drift var(--mote-dur, 16s) ease-in-out infinite;
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  max-width: 60rem;
}

.hero__eyebrow {
  font-family: var(--font-body);
  font-weight: var(--weight-semi);
  font-size: clamp(0.8rem, 0.72rem + 0.3vw, 0.98rem);
  color: var(--red-400);
  letter-spacing: 0.2em;
}
.hero__eyebrow::before { background: var(--red-400); }

/* The illustrated logo, floating + glowing */
.hero__logo {
  position: relative;
  width: clamp(15rem, 8rem + 26vw, 40rem);
  max-width: min(92vw, 40rem);
  margin-block: var(--space-2xs);
}
.hero__logo::after {
  content: "";
  position: absolute;
  inset: -8% -8% 2%;
  z-index: -1;
  background: radial-gradient(circle, rgba(255,75,58,0.4), transparent 65%);
  filter: blur(28px);
  animation: pulse-glow 5s ease-in-out infinite;
}
.hero__logo img {
  width: 100%;
  filter: drop-shadow(0 24px 50px rgba(0,0,0,0.6));
  animation: float-y 7s var(--ease-in-out-cubic) infinite;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  font-size: calc(var(--fs-display-2xl) * 0.8);
  line-height: var(--lh-tight);
  letter-spacing: var(--tracking-tightest);
  color: var(--cream-50);
}
.hero__title em { font-style: italic; color: var(--red-400); }
.hero__title .ink-red { color: var(--red-400); }

.hero__tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--fs-h3);
  color: var(--cream-100);
  font-weight: var(--weight-medium);
}
.hero__tagline em { color: var(--red-400); font-weight: var(--weight-bold); }

.hero__sub {
  max-width: 44ch;
  color: rgba(245,239,228,0.74);
  font-size: var(--fs-lead);
  line-height: var(--lh-relax);
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  margin-top: var(--space-2xs);
}

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-lg);
  justify-content: center;
  margin-top: var(--space-md);
}
.hero__proof li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-small);
  color: rgba(245,239,228,0.7);
}
.hero__proof strong { color: var(--cream-50); font-weight: var(--weight-bold); }
.hero__proof .dot { width: 0.4rem; height: 0.4rem; border-radius: 50%; background: var(--red-400); }

/* Scroll cue */
.hero__scrollcue {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(245,239,228,0.55);
  font-family: var(--font-mono);
  font-size: var(--fs-caption);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}
.hero__scrollcue svg { width: 1.1rem; height: 1.1rem; animation: bob-arrow 1.8s var(--ease-in-out-cubic) infinite; }

/* ===== REVEAL BAND (big before/after) ===================================== */
.reveal-band { position: relative; }
.reveal-band__media { max-width: 60rem; margin-inline: auto; }
.reveal-band__caption {
  margin-top: var(--space-md);
  text-align: center;
  color: var(--fg-soft);
  font-size: var(--fs-small);
}

/* ===== STATS BAND ========================================================= */
.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  align-items: end;
}
.stats-band .stat { padding-block: var(--space-sm); }
@media (max-width: 720px) { .stats-band { grid-template-columns: repeat(2, 1fr); gap: var(--space-xl) var(--space-md); } }

/* ===== MEET TAMARA ======================================================== */
.meet__portrait {
  position: relative;
  border-radius: var(--r-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  aspect-ratio: 4 / 5;
  background: var(--ink-800);
}
.meet__portrait img { width: 100%; height: 100%; object-fit: cover; }
.meet__badge {
  position: absolute;
  bottom: var(--space-md);
  left: var(--space-md);
  right: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--r-md);
  background: color-mix(in srgb, var(--ink-900) 70%, transparent);
  -webkit-backdrop-filter: blur(var(--blur-md));
  backdrop-filter: blur(var(--blur-md));
  color: var(--cream-50);
}
.meet__badge strong { font-family: var(--font-display); font-size: var(--fs-h4); display: block; }
.meet__badge span { font-size: var(--fs-caption); color: rgba(245,239,228,0.7); font-family: var(--font-mono); letter-spacing: var(--tracking-wide); text-transform: uppercase; }
.meet__sig {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--fs-h3);
  color: var(--accent);
}

/* ===== TRANSFORMATION REEL (marquee strip) ================================ */
.reel { padding-block: var(--space-xl); border-block: 1px solid var(--rule); }

/* ===== FINAL CTA CLOSER =================================================== */
.final-cta {
  position: relative;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.final-cta__glow {
  position: absolute;
  z-index: 0;
  inset: auto 0 -40% 0;
  height: 80%;
  background: radial-gradient(60% 100% at 50% 100%, rgba(230,58,45,0.3), transparent 70%);
  pointer-events: none;
}
.final-cta__title {
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  font-size: var(--fs-display-xl);
  line-height: var(--lh-snug);
  letter-spacing: var(--tracking-tightest);
}
.final-cta__title em { font-style: italic; color: var(--accent); }
.final-cta .container { position: relative; z-index: 1; }
.final-cta__hours { margin-top: var(--space-lg); color: var(--fg-soft); font-size: var(--fs-small); }

/* ===== SECTION TRANSITIONS (cream <-> ink edges) ========================== */
.edge-fade-top::before,
.edge-fade-bottom::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 6rem;
  pointer-events: none;
  z-index: 1;
}
.edge-fade-top::before { top: 0; background: linear-gradient(var(--bg), transparent); }
.edge-fade-bottom::after { bottom: 0; background: linear-gradient(transparent, var(--bg)); }
