/* Homepage hero: split layout, thumbnail stack, stat row and the sunset stripe from the logo.
   New file on purpose (style.css and ca-thumbs.css are cached by the CDN). */
.hero.hero-split { padding: 72px 20px 84px; text-align: left; overflow: hidden; }
.hero.hero-split::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: linear-gradient(90deg, #F5B82E 0 20%, #F29A1F 20% 40%, #E0652A 40% 60%, #C8412B 60% 80%, #8F2B3A 80% 100%); }
.hero-split .hero-inner { max-width: 1100px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
.hero-split .hero-copy { min-width: 0; }
.hero-split h1 { font-size: 50px; }
.hero-split .hero-sub { margin: 0 0 28px; max-width: 560px; }
.hero-split .hero-search { margin: 0; max-width: 560px; }
.hero-split .hero-links { justify-content: flex-start; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 14px 36px; margin: 34px 0 0; padding: 22px 0 0; border-top: 1px solid rgba(255,255,255,.16); }
.hero-stat { display: flex; flex-direction: column; gap: 4px; }
.hero-stat b { font-family: 'Space Grotesk', Arial, sans-serif; font-size: 40px; line-height: 1; letter-spacing: -.02em; color: var(--ca-poppy); }
.hero-stat span { font-size: 13.5px; font-weight: 600; color: rgba(255,255,255,.78); }
.hero-stage { display: none; }
@media (min-width: 961px) {
  .hero-split .hero-inner { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; }
  .hero-stage { display: block; position: relative; height: 500px; }
  .hero-card { position: absolute; display: block; width: 400px; border-radius: 12px; box-shadow: 0 18px 40px rgba(0,0,0,.35), 0 2px 6px rgba(0,0,0,.25); transition: transform .25s var(--ca-ease), box-shadow .25s var(--ca-ease); }
  .hero-card img { display: block; width: 400px; height: auto; aspect-ratio: 1200 / 630; border-radius: 12px; }
  .hero-card.c1 { left: 84px; top: 0; transform: rotate(3deg); z-index: 1; }
  .hero-card.c2 { left: 0; top: 142px; transform: rotate(-3.5deg); z-index: 2; }
  .hero-card.c3 { left: 70px; top: 286px; transform: rotate(2deg); z-index: 3; }
  .hero-card:hover { transform: rotate(0deg) translateY(-6px) scale(1.03); z-index: 4; box-shadow: 0 24px 50px rgba(0,0,0,.45), 0 2px 6px rgba(0,0,0,.25); }
}
@media (max-width: 960px) {
  .hero.hero-split { text-align: center; padding: 56px 20px 68px; }
  .hero-split h1 { font-size: 38px; }
  .hero-split .hero-sub, .hero-split .hero-search { margin-left: auto; margin-right: auto; }
  .hero-split .hero-links { justify-content: center; }
  .hero-stats { justify-content: center; gap: 14px 28px; }
  .hero-stat { align-items: center; }
  .hero-stat b { font-size: 32px; }
}
@media (max-width: 480px) {
  .hero-split h1 { font-size: 31px; }
  .hero-stats { gap: 12px 18px; }
  .hero-stat b { font-size: 27px; }
  .hero-stat span { font-size: 12.5px; }
}
@media (prefers-reduced-motion: reduce) { .hero-card { transition: none; } }
