/* =========================================================
   Home Scroll Feel — Apple-like continuity + rhythm
   ========================================================= */

:root {
  --ts-bg: #0b0e13;
  --ts-bg2: #06080a;
  --ts-ink: rgba(234, 242, 240, 0.92);
  --ts-muted: rgba(234, 242, 240, 0.72);
  --ts-card: rgba(255, 255, 255, 0.04);
  --ts-border: rgba(255, 255, 255, 0.08);
}

/* Smooth scroll to anchors */
html { scroll-behavior: smooth; }

/* =========================================================
   1) HOME page continuous surface (kills white/grey gaps)
   ========================================================= */
body.home {
  background:
    radial-gradient(1200px 700px at 50% 0%,
      rgba(0,255,174,.06), transparent 55%),
    linear-gradient(180deg, #070a0f 0%, #090d13 35%, #070a0f 100%);
  color: var(--ts-ink);
}

/* Subtle global texture layer (Apple-like continuity) */
body.home::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(1200px 900px at 50% -10%, rgba(0,255,174,.05), transparent 55%),
    repeating-linear-gradient(
      90deg,
      rgba(255,255,255,0.018) 0px,
      rgba(255,255,255,0.018) 1px,
      transparent 1px,
      transparent 4px
    );
  opacity: .35;
  mix-blend-mode: normal;
  z-index: 0;
}

/* Ensure sections sit above the fixed texture layer */
body.home .hero-tepuy,
body.home .parallax-lines,
body.home .mission,
body.home .strip,
body.home .live-reel,
body.home .ts-footer {
  position: relative;
  z-index: 1;
}
/* Stop global home overlay from darkening the reel */
body.home .live-reel {
  isolation: isolate;
}


/* =========================================================
   2) Shared section rhythm
   ========================================================= */
.ts-section {
  padding: clamp(56px, 6vw, 96px) 1rem;
}

/* Soft divider between dark sections */
.ts-divider {
  height: 1px;
  width: min(1120px, calc(100% - 48px));
  margin: -8px auto;
  background: linear-gradient(90deg, transparent, rgba(0,255,174,.25), transparent);
  opacity: .55;
  transform: translateY(-1px);
  box-shadow: 0 0 18px rgba(0,255,174,.10);
}

/* =========================================================
   3) Parallax transition strip (must be painted + positioned)
   ========================================================= */
body.home .parallax-lines {
  position: relative; /* REQUIRED so ::before anchors correctly */
  background: linear-gradient(180deg, #06080a 0%, #090d13 100%);
}

body.home .parallax-lines::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 120px at 50% 50%, rgba(0,255,174,.06), transparent 70%);
  pointer-events: none;
}




/* =========================================================
   4) Mission surface (lighter than hero, different from strip)
   ========================================================= */
body.home .mission {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
  text-align: center;
  background:
    radial-gradient(900px 420px at 50% 10%, rgba(0,255,174,.09), transparent 60%),
    linear-gradient(180deg, #0a0f16 0%, #090d13 100%);
  color: #fff;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

body.home .mission.ts-section {
  padding-top: clamp(44px, 5vw, 80px);
}

body.home .mission h2 {
  letter-spacing: -0.02em;
  font-size: clamp(28px, 3vw, 40px);
}

body.home .mission p {
  color: var(--ts-muted);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.7;
}

/* =========================================================
   5) Features strip surface (different shade to stop “all black”)
   ========================================================= */
body.home .strip {
  background:
    radial-gradient(900px 520px at 50% 0%, rgba(0,255,174,.05), transparent 55%),
    linear-gradient(180deg, #0d121a 0%, #0b1017 100%);
  color: var(--ts-ink);

  /* Apple-like “surface edge” */
  border-top: 1px solid rgba(255,255,255,.05);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}



/* Feature cards: “glass” feel */
body.home .feature-card {
  background: var(--ts-card);
  border: 1px solid var(--ts-border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,.22);
}

/* Fix heading contrast (your teal/green was too dark on dark cards) */
body.home .strip .feature-copy h2 {
  letter-spacing: -0.015em;
  color: #00ffae;
  text-shadow: 0 0 16px rgba(0,255,174,.18);
}

body.home .strip .feature-copy p {
  color: rgba(234,242,240,.84);
}

/* Link contrast */
body.home .strip a.text-link {
  color: rgba(234,242,240,.92);
  opacity: .9;
}

body.home .strip a.text-link:hover {
  color: #00ffae;
  opacity: 1;
  text-decoration: none;
}

/* Images lift */
body.home .feature-img {
  filter: saturate(1.05) contrast(1.05);
}

/* =========================================================
   6) Scroll reveal (Apple-like)
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  filter: blur(6px);
  transition: opacity .8s ease, transform .8s ease, filter .8s ease;
  will-change: opacity, transform, filter;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Stagger children slightly */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(10px);
  filter: blur(6px);
  transition: opacity .75s ease, transform .75s ease, filter .75s ease;
}

.reveal-stagger.in > * {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.reveal-stagger.in > *:nth-child(1) { transition-delay: .00s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: .08s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: .16s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: .24s; }

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}
/* =========================================================
   Live reel — thin transitional band (Apple-like)
   ========================================================= */
body.home .live-reel {
  padding: clamp(10px, 1.6vw, 14px) 1rem;

  background: linear-gradient(
    180deg,
    rgb(42, 56, 78),
    rgb(26, 34, 48)
  );

  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06);

  position: relative;
  isolation: isolate;
}


/* Subtle specular highlight (premium surface cue) */
body.home .live-reel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,.05),
    transparent 40%
  );
}

/* Ticker typography tightening */
body.home .live-reel .ticker {
  line-height: 1.3;
}

body.home .live-reel .ticker-list {
  margin: 0;
  padding: 0;
}

body.home .live-reel .ticker-list li {
  padding: 4px 0;
  font-size: 0.9rem;
}

body.home .live-reel .ticker-list li {
  position: relative;
  padding-right: 28px;
}

body.home .live-reel .ticker-list li:not(:last-child)::after {
  content: "•";
  position: absolute;
  right: 12px;
  color: rgba(255,255,255,.35);
  font-size: 0.75rem;
}

body.home .live-reel .ticker-list {
  display: flex;
  align-items: center;
  gap: 32px;
  white-space: nowrap;
}

body.home .live-reel .ticker-list li {
  font-size: 0.9rem;
  line-height: 1.3;
  position: relative;
  padding-right: 0;
}

body.home .live-reel .ticker-list li:not(:last-child)::after {
  content: "•";
  margin-left: 16px;
  color: rgba(255,255,255,.35);
}



