/* =========================================================
   EDC Hero — Live Stats Ticker
   Left: pitch. Right: 2x2 grid of stat cards with count-up
   numeric values. Numbers animate via companion JS.
========================================================= */
.edc-hero-ticker {
  position: relative;
  overflow: hidden;
  padding: 64px var(--edc-space-gutter) 80px;
  background: var(--edc-warm-white);
  isolation: isolate;
}
@media (min-width: 1024px) { .edc-hero-ticker { padding: 80px var(--edc-section-h) 96px; } }

.edc-hero-ticker__glow {
  position: absolute;
  top: -10%; left: 20%;
  width: 720px; height: 720px;
  background: radial-gradient(circle at center, rgba(242, 184, 27, 0.16) 0%, transparent 65%);
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
}

.edc-hero-ticker__inner {
  position: relative;
  z-index: 1;
  max-width: var(--edc-container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}
@media (min-width: 1024px) {
  .edc-hero-ticker__inner {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 48px;
  }
  .edc-hero-ticker__copy { grid-column: span 5; }
  .edc-hero-ticker__grid { grid-column: 7 / span 6; }
}

/* Copy */
.edc-hero-ticker__copy { display: flex; flex-direction: column; gap: 28px; }
.edc-hero-ticker__title {
  font-family: var(--edc-font-heading);
  font-weight: 800;
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--edc-obsidian);
  margin: 0;
}
.edc-hero-ticker__accent { color: var(--edc-solar-gold); }
.edc-hero-ticker__body {
  font-family: var(--edc-font-body);
  font-size: var(--edc-fs-body-lead);
  line-height: 1.75;
  color: var(--edc-slate);
  max-width: 480px;
  margin: 0;
}
.edc-hero-ticker__cta {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: var(--edc-radius-full);
  background: var(--edc-solar-gold);
  color: var(--edc-obsidian);
  font-family: var(--edc-font-heading);
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 12px 28px -8px rgba(242, 184, 27, 0.55);
  transition: transform var(--edc-dur-quick), filter var(--edc-dur-quick);
}
.edc-hero-ticker__cta:hover { transform: translateY(-2px); filter: brightness(1.06); color: var(--edc-obsidian); }
.edc-hero-ticker__cta .material-symbols-outlined { font-size: 20px !important; transition: transform var(--edc-dur-quick); }
.edc-hero-ticker__cta:hover .material-symbols-outlined { transform: translateX(4px); }

/* Stat grid — 2x2 */
.edc-hero-ticker__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) { .edc-hero-ticker__grid { grid-template-columns: 1fr 1fr; } }

.edc-hero-ticker__card {
  position: relative;
  padding: 28px;
  background: #ffffff;
  border: 1px solid var(--edc-border);
  border-radius: 20px;
  box-shadow: 0 16px 40px -16px rgba(41, 41, 40, 0.14);
  transition: transform var(--edc-dur-medium), box-shadow var(--edc-dur-medium), border-color var(--edc-dur-medium);
}
.edc-hero-ticker__card:hover {
  transform: translateY(-4px);
  border-color: var(--edc-solar-gold);
  box-shadow: 0 24px 48px -12px rgba(242, 184, 27, 0.20);
}

.edc-hero-ticker__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--edc-gold-tint);
  color: var(--edc-solar-gold);
  display: inline-flex;
  align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.edc-hero-ticker__icon .material-symbols-outlined { font-size: 24px !important; }

.edc-hero-ticker__value {
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: var(--edc-obsidian);
  font-family: var(--edc-font-heading);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}
.edc-hero-ticker__num    { font-size: clamp(36px, 4.4vw, 56px); color: var(--edc-solar-gold); font-variant-numeric: tabular-nums; }
.edc-hero-ticker__suffix { font-size: clamp(20px, 2.6vw, 28px); color: var(--edc-obsidian); }

.edc-hero-ticker__label {
  font-family: var(--edc-font-body);
  font-size: 13px;
  line-height: 1.5;
  color: var(--edc-slate);
  max-width: 26ch;
}

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .edc-hero-chip,
  .edc-hero-ticker__title,
  .edc-hero-ticker__body,
  .edc-hero-ticker__cta,
  .edc-hero-ticker__card {
    opacity: 0;
    transform: translateY(20px);
    animation: edc-ht-rise 700ms var(--edc-ease-out) forwards;
  }
  .edc-hero-chip                { animation-delay:   0ms; }
  .edc-hero-ticker__title       { animation-delay: 120ms; }
  .edc-hero-ticker__body        { animation-delay: 280ms; }
  .edc-hero-ticker__cta         { animation-delay: 420ms; }
  .edc-hero-ticker__card        {
    animation-delay: calc(220ms + (var(--edc-ht-i, 0) * 120ms));
  }
  @keyframes edc-ht-rise { to { opacity: 1; transform: translateY(0); } }
}
