/* ==========================================================================
   ORIVANA ORGANICS — APPLE-GRADE PINNED 4K VIDEO SCROLL SCRUB STYLES
   - Pure floating typography (NO box overlays, NO clunky buttons)
   - Heavy black text-shadows for ultra-crisp legibility over 4K video
   - Alternating layout: Left -> Right -> Left -> Right
   - Ultra-premium, cinematic storytelling experience
   ========================================================================== */

.orivana-hero-pinned-track {
  position: relative;
  width: 100%;
  height: 380vh;
  background-color: #060E09;
}

.orivana-hero-sticky-frame {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  z-index: 10;
  background-color: #060E09;
}

.orivana-hero-canvas-viewport {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: #060E09 url('../img/hero_makhana.jpg') center/cover no-repeat;
}

#orivanaHeroVideo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
  opacity: 1;
  display: block;
}

.orivana-hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  pointer-events: none;
}

.orivana-hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 40%, rgba(6, 14, 9, 0.6) 80%, rgba(6, 14, 9, 0.95) 100%),
              linear-gradient(to bottom, rgba(6, 14, 9, 0.5) 0%, transparent 15%, transparent 80%, rgba(6, 14, 9, 0.9) 100%);
  pointer-events: none;
  z-index: 3;
}

/* Stage Overlays: Pure Floating Typographic Blocks */
.orivana-hero-stages-container {
  position: relative;
  z-index: 15;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.orivana-hero-card {
  position: absolute;
  top: 50%;
  transform: translateY(-50%) translateY(24px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 0;
  max-width: 520px;
  width: 88%;
  pointer-events: auto;
}

.orivana-hero-card.active {
  transform: translateY(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
}

/* Alternating Alignment: Left & Right */
.orivana-hero-card.stage-left {
  left: 6.5%;
  right: auto;
  text-align: left;
}

.orivana-hero-card.stage-right {
  right: 6.5%;
  left: auto;
  text-align: right;
}

.stage-right .hero-eyebrow {
  justify-content: flex-end;
}

.stage-right .orivana-telemetry-row {
  justify-content: flex-end;
  margin-left: auto;
}

/* Typography with Deep Black Shadows */
.hero-subhead-script {
  display: block;
  font-family: var(--font-mono, 'Space Grotesk', monospace);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #FFB347;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.orivana-hero-headline {
  margin-bottom: 1.25rem;
}

.hero-main-title {
  display: block;
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: clamp(2.2rem, 3.8vw, 3.3rem);
  font-weight: 700;
  line-height: 1.14;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.95), 0 2px 8px rgba(0, 0, 0, 0.9);
}

.hero-serif-accent {
  font-family: var(--font-fraunces, 'Fraunces', 'Playfair Display', serif);
  font-style: italic;
  font-weight: 400;
  color: #FFB347;
  display: block;
  margin-top: 0.2em;
  font-size: 0.92em;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.95), 0 0 16px rgba(255, 179, 71, 0.35);
}

.orivana-hero-lead {
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  font-size: 1.05rem;
  color: #FAF1E6;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  max-width: 480px;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.95), 0 1px 4px #000000;
}

.stage-right .orivana-hero-lead {
  margin-left: auto;
}

/* Minimal Floating Telemetry Ribbon */
.orivana-telemetry-row {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  padding: 0.55rem 1.15rem;
  background: rgba(8, 14, 10, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 179, 71, 0.35);
  border-radius: 9999px;
  font-family: var(--font-mono, 'Space Grotesk', monospace);
  font-size: 0.76rem;
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.8);
  text-shadow: 0 2px 4px #000000;
}

.orivana-telemetry-row .tele-item {
  color: #FFFFFF;
  font-weight: 600;
}

.orivana-telemetry-row .tele-sep {
  color: #FFB347;
}

/* Hero explicit button & badge contrast overrides */
.orivana-hero-card .badge-gold {
  color: #FFB347 !important;
  background: rgba(255, 179, 71, 0.16) !important;
  border: 1px solid rgba(255, 179, 71, 0.5) !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5) !important;
}

.orivana-hero-card .btn-primary {
  background: linear-gradient(135deg, #FFB347 0%, #E68A00 100%) !important;
  color: #08120B !important;
  border: none !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 20px rgba(255, 179, 71, 0.4) !important;
}

.orivana-hero-card .btn-secondary {
  background: #B8C999 !important;
  color: #081B12 !important;
  border: none !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 16px rgba(184, 201, 153, 0.4) !important;
}

.orivana-hero-card .btn-outline {
  background: rgba(10, 20, 14, 0.6) !important;
  color: #FFFFFF !important;
  border: 1.5px solid rgba(255, 255, 255, 0.45) !important;
  font-weight: 600 !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
}

.orivana-hero-card .btn-outline:hover {
  background: rgba(255, 179, 71, 0.2) !important;
  border-color: #FFB347 !important;
  color: #FFB347 !important;
}

/* Realtime Timeline HUD Scrubber — Sleek Dark Frosted Glass */
.orivana-hud-bar {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  width: 90%;
  max-width: 860px;
  background: rgba(6, 14, 9, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
  padding: 0.75rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.orivana-hud-track-wrap {
  flex: 1;
  position: relative;
}

.orivana-hud-progress-bg {
  height: 4px;
  width: 100%;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  overflow: hidden;
}

.orivana-hud-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #B8C999, #FFB347);
  box-shadow: 0 0 10px #FFB347;
  transition: width 0.08s ease-out;
}

.orivana-hud-milestones {
  display: flex;
  justify-content: space-between;
  margin-top: 0.45rem;
}

.orivana-m-point {
  font-family: var(--font-mono, 'Space Grotesk', monospace);
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
}

.orivana-m-point:hover {
  color: #FFFFFF;
}

.orivana-m-point.active {
  color: #FFB347;
  text-shadow: 0 0 10px rgba(255, 179, 71, 0.6);
}

.orivana-m-point.passed {
  color: #B8C999;
}

.orivana-hud-timecode {
  font-family: var(--font-mono, 'Space Grotesk', monospace);
  font-size: 0.75rem;
  color: #F7F4EC;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .orivana-hero-pinned-track {
    height: 320vh;
  }
  .orivana-hero-card.stage-left,
  .orivana-hero-card.stage-right {
    left: 5% !important;
    right: 5% !important;
    width: auto;
    max-width: none;
    text-align: left !important;
    top: auto;
    bottom: 5.5rem;
    transform: translateY(20px);
  }
  .stage-right .hero-eyebrow,
  .stage-right .orivana-telemetry-row {
    justify-content: flex-start;
    margin-left: 0;
  }
  .orivana-hero-card.active {
    transform: translateY(0);
  }
  .orivana-hud-bar {
    padding: 0.6rem 1.25rem;
    bottom: 1rem;
  }
  .orivana-m-point {
    font-size: 0.6rem;
  }
}
