/* Landing scrolly — aldo.agency index uniquement */

html.landing-scrolly {
  --max: 1180px;
  --scrolly-media-max-h: min(58vh, 500px);
}

html.landing-scrolly,
html.landing-scrolly body {
  scrollbar-width: none;
  scroll-behavior: auto;
}
html.landing-scrolly::-webkit-scrollbar,
html.landing-scrolly body::-webkit-scrollbar { display: none; }

#scrolly-track { pointer-events: none; }

#scrolly-stage {
  position: fixed; left: 0; right: 0; z-index: 30;
  top: var(--nav-h);
  height: calc(100dvh - var(--nav-h));
  overflow: hidden;
}

.scrolly-slide {
  position: absolute; inset: 0; overflow: hidden;
  display: flex; align-items: center;
}
.scrolly-slide.theme-dark { background: #000; color: #fff; }
.scrolly-slide.theme-light { background: #fbfbfd; color: #1d1d1f; }

.scrolly-slide-content {
  width: 100%; height: 100%;
  display: flex; align-items: center;
}

.scrolly-inner {
  width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 28px;
}

.scrolly-hero {
  display: grid; gap: 32px; align-items: center;
}
@media (min-width: 900px) {
  .scrolly-hero { grid-template-columns: 1fr 1.08fr; gap: 56px; }
}

.scrolly-kicker {
  font-size: 11px; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; margin-bottom: 12px;
}
.theme-dark .scrolly-kicker { color: rgba(255,255,255,.45); }
.theme-light .scrolly-kicker { color: #6e6e73; }

.scrolly-title {
  font-size: clamp(2.15rem, 5.8vw, 3.55rem);
  font-weight: 600; letter-spacing: -0.04em; line-height: 1.08;
}

.scrolly-split .scrolly-title {
  font-size: clamp(1.65rem, 3.8vw, 2.45rem) !important;
}

.scrolly-body {
  margin-top: 16px; font-size: clamp(1rem, 1.95vw, 1.2rem);
  font-weight: 300; line-height: 1.55; max-width: 32rem;
}
.theme-dark .scrolly-body { color: rgba(255,255,255,.55); }
.theme-light .scrolly-body { color: #6e6e73; }

.scrolly-eyebrow {
  font-size: 12px; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; margin-bottom: 10px;
}
.theme-dark .scrolly-eyebrow { color: #2997ff; }
.theme-light .scrolly-eyebrow { color: #0066cc; }

.scrolly-actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.btn-pill {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 22px; border-radius: 980px; font-size: 14px; font-weight: 500;
  text-decoration: none; border: none; cursor: pointer;
}
.btn-pill-primary { background: #2997ff; color: #fff; }
.btn-pill-primary:hover { background: #0077ed; text-decoration: none; }
.btn-pill-ghost { color: #2997ff; background: transparent; }
.theme-light .btn-pill-ghost { color: #0066cc; }
.btn-pill-ghost:hover { text-decoration: underline; }
.btn-pill-invert { background: #fff; color: #000; }
.theme-light .btn-pill-invert { background: #000; color: #fff; }
.btn-pill-invert:hover { opacity: 0.9; text-decoration: none; }

.media-slot {
  position: relative; width: 100%; border-radius: 16px; overflow: hidden;
  aspect-ratio: 1024 / 485;
  max-height: var(--scrolly-media-max-h);
  box-shadow: 0 24px 48px -12px rgba(0,0,0,.25);
}
.theme-dark .media-slot { background: #0c0c0c; border: 1px solid rgba(255,255,255,.08); }
.theme-light .media-slot { background: #e8e8ed; border: 1px solid rgba(0,0,0,.08); }

.media-slot-inner {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 20px;
}
.theme-dark .media-slot-inner { background: linear-gradient(135deg, rgba(255,255,255,.04), transparent 50%, rgba(41,151,255,.05)); }
.theme-light .media-slot-inner { background: linear-gradient(135deg, rgba(0,0,0,.02), transparent 50%, rgba(41,151,255,.04)); }

.media-slot-tag {
  font-size: 9px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; opacity: 0.35; margin-bottom: 6px;
}
.media-slot-label { font-size: 13px; font-weight: 500; opacity: 0.45; max-width: 240px; line-height: 1.35; }

.media-slot--image { background: #0a0a0a; }
.media-slot-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain; object-position: center center;
  display: block;
}
.media-slot-img--missing { display: none !important; }
.media-slot-fallback {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 20px; text-align: center;
}

.scrolly-split {
  display: grid; gap: 32px; align-items: center;
}
@media (min-width: 900px) {
  .scrolly-split { grid-template-columns: 1fr 1.08fr; gap: 56px; }
  .scrolly-split.reverse .media-col { order: -1; }
}

.scrolly-bullets {
  margin-top: 18px; list-style: none; font-size: 14px; font-weight: 300;
}
.theme-dark .scrolly-bullets { color: rgba(255,255,255,.4); }
.theme-light .scrolly-bullets { color: #6e6e73; }
.scrolly-bullets li { margin-top: 6px; }
.scrolly-bullets li::before { content: "› "; color: #2997ff; }

.scrolly-grid-head { text-align: center; margin-bottom: 28px; }
.scrolly-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 28px;
}
@media (min-width: 700px) { .scrolly-grid { grid-template-columns: repeat(3, 1fr); } }
.scrolly-grid h3 { font-size: 14px; font-weight: 600; letter-spacing: -0.02em; }
.scrolly-grid p { font-size: 12px; font-weight: 300; margin-top: 4px; line-height: 1.4; }
.theme-dark .scrolly-grid p { color: rgba(255,255,255,.4); }
.theme-light .scrolly-grid p { color: #6e6e73; }

.scrolly-center { text-align: center; max-width: 560px; margin: 0 auto; }

.scrolly-pricing-row {
  margin-top: 20px; display: flex; flex-wrap: wrap; justify-content: center;
  gap: 8px 16px; font-size: 14px;
}
.theme-dark .scrolly-pricing-row { color: rgba(255,255,255,.55); }
.theme-light .scrolly-pricing-row { color: #6e6e73; }
.scrolly-pricing-row strong { font-weight: 600; }
.scrolly-pricing-row .dot { opacity: 0.25; }

.scrolly-dots {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  display: none; flex-direction: column; gap: 8px; z-index: 40;
}
@media (min-width: 900px) { .scrolly-dots { display: flex; } }

.scrolly-dot {
  width: 3px; border: none; border-radius: 99px; padding: 0; cursor: pointer;
  height: 3px; transition: height 0.2s, background 0.2s;
}
.theme-dark .scrolly-dot { background: rgba(255,255,255,.3); }
.theme-light .scrolly-dot { background: rgba(0,0,0,.25); }
.scrolly-dot.active { height: 20px; background: #2997ff; }

.scrolly-progress {
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
}
.theme-dark .scrolly-progress { background: rgba(255,255,255,.1); }
.theme-light .scrolly-progress { background: rgba(0,0,0,.1); }
.scrolly-progress-bar { height: 100%; background: #2997ff; width: 0%; }

.scrolly-counter {
  position: absolute; bottom: 12px; right: 20px;
  font-size: 11px; font-weight: 500; font-variant-numeric: tabular-nums;
  opacity: 0.35;
}

.scrolly-footer-note {
  position: absolute; bottom: 12px; left: 0; right: 0; text-align: center;
  font-size: 11px; opacity: 0.25;
}
