/* ==========================================================================
   Trashformers 8099 - Hero Centered Layout, Kinetic Pulse & Circular OS Film
   ========================================================================== */

/* Hero: Centered, Spacious Vertical Rhythm */
#top-crest.crest {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  gap: clamp(1.2rem, 2.6vh, 2.2rem) !important;
  min-height: auto !important;
  padding: 5.2rem clamp(1.2rem, 5vw, 4rem) 1.5rem !important;
  position: relative;
  overflow: hidden;
}

/* Remove overline from hero as instructed */
#top-crest .overline {
  display: none !important;
}

/* Opening vector stage spacing */
#top-crest .crest__stage {
  margin: 0 auto;
  max-width: min(1180px, 94vw);
  position: relative;
  z-index: 2;
}

/* Kinetic Pulse Eruption Canvas */
.kinetic-pulse-container {
  position: absolute;
  inset: -35px -40px;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
}

.kinetic-pulse-canvas {
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

/* Ensure brev elements sit above canvas */
.brev__stage {
  position: relative;
  z-index: 1;
}

.brev__word,
.brev__cart,
.brev__laser,
.brev__rail {
  position: relative;
  z-index: 2;
}

/* Tagline, Apps, and Foot Spacing */
#top-crest .crest__tag {
  margin-top: 0.5rem !important;
  margin-bottom: 0 !important;
  letter-spacing: -0.01em;
}

#top-crest .crest__apps {
  margin-top: 0.3rem !important;
  margin-bottom: 0 !important;
  gap: 1.2rem 2.5rem !important;
}

#top-crest .crest__foot {
  margin-top: 0.5rem !important;
  margin-bottom: 0 !important;
  gap: 1rem !important;
}

/* Eliminate excessive space between Hero footer and Circular OS */
#circular-os {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

#circular-os .ov--c[data-from="-5"] {
  top: 42% !important;
}

/* Who We Are Intro Header before Manifesto Tabs - Exact Site-Wide Typography Harmony */
.mf__intro-header {
  max-width: 58rem;
  margin: 0 0 2rem 0;
  padding: 0;
  text-align: left;
}

.mf__intro-header .overline {
  color: var(--lime, #a3e635) !important;
  font-family: var(--f-label, "JetBrains Mono", ui-monospace, monospace) !important;
  font-size: 0.7rem !important;
  letter-spacing: var(--tr-label, 0.18em) !important;
  text-transform: uppercase !important;
  margin-bottom: 0.75rem !important;
  display: block !important;
}

.mf__intro-h {
  font-family: var(--f-display, "Syne", "Noto Sans Malayalam", system-ui, sans-serif) !important;
  font-size: clamp(1.55rem, 3vw, 2.4rem) !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.015em !important;
  color: rgb(var(--fg, 243 247 245)) !important;
  margin: 0 0 0.85rem 0 !important;
  max-width: 46rem !important;
  text-wrap: balance !important;
}

.mf__intro-h .serif {
  font-family: var(--f-serif, "Instrument Serif", Georgia, serif) !important;
  font-weight: 400 !important;
  font-style: italic !important;
  color: var(--lime, #a3e635) !important;
}

.mf__intro-p,
.mf__intro-header .lede {
  font-family: var(--f-label, "JetBrains Mono", ui-monospace, monospace) !important;
  font-size: 0.8rem !important; /* Exactly matching #ladder .lede: 12.8px */
  font-weight: 400 !important;
  letter-spacing: 0.012em !important;
  line-height: 1.85 !important;
  color: rgb(var(--fg, 243 247 245) / 0.7) !important;
  max-width: 46rem !important;
  margin: 0 !important;
}

#manifesto.mf {
  padding-top: 4.5rem !important;
}

section.mantra {
  padding-bottom: 3.5rem !important;
}

/* TRASH Emphasis in Awakening Section */
.trash-focus {
  font-family: var(--f-display, "Syne", sans-serif);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lime, #a3e635) !important;
  display: inline-block;
  padding: 0 0.22em;
  text-shadow: 0 0 18px rgba(163, 230, 53, 0.45);
}

/* THE STRAIGHT LINE - High Definition Background & Cinematic Film Band */
section[aria-label="The straight line"] .film {
  background: #020705 !important;
}

section[aria-label="The straight line"] .film__media video {
  filter: contrast(1.08) brightness(0.95);
}

/* ==========================================================================
   Circular OS Film (Identical to Kerala Film figure.kfilm)
   ========================================================================== */
.mantra .circular-os-kfilm {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.14), rgba(14, 23, 18, 0.95));
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 12px;
  width: 100%;
  max-width: 64rem;
  margin: 3rem auto 1.5rem !important;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6), 0 0 28px rgba(16, 185, 129, 0.12);
  display: block;
}

.circular-os-kfilm video {
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  inset: 0;
}

.circular-os-kfilm .kfilm__bar {
  background: linear-gradient(180deg, transparent, rgba(6, 40, 30, 0.9));
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(243, 247, 245, 0.85);
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem 1rem;
  padding: 1.6rem 1.1rem 0.8rem;
  font-family: var(--f-mono, JetBrains Mono, monospace);
  font-size: 0.64rem;
  display: flex;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 4;
}

.circular-os-kfilm .film__toggle {
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--f-mono, monospace);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  transition: all 0.2s ease;
}

.circular-os-kfilm .film__toggle:hover {
  background: rgba(16, 185, 129, 0.38);
  border-color: rgba(44, 229, 216, 0.7);
}


/* ==========================================================================
   Manifesto & Story/Mission/Vision/Promise Multi-Tab System & Reading Modal
   Custom-engineered for Trashformers Production
   ========================================================================== */
@keyframes mfrise {
  0% { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

.cine .mf { position: relative; }
.cine .mf__anchor { pointer-events: none; width: 1px; height: 1px; position: absolute; top: -5rem; left: 0; }
.cine .mf__tabs { scrollbar-width: none; border-bottom: 1px solid rgba(16, 185, 129, 0.25); gap: 0.2rem; margin-top: 1.8rem; display: flex; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cine .mf__tabs::-webkit-scrollbar { display: none; }
.cine .mf__tab { cursor: pointer; white-space: nowrap; letter-spacing: 0.14em; text-transform: uppercase; color: rgb(var(--fg) / 0.55); background: 0 0; border: 0; flex: none; align-items: baseline; gap: 0.6rem; padding: 1.05rem 1.25rem; font-family: JetBrains Mono, ui-monospace, monospace; font-size: 0.78rem; transition: color 0.25s; display: inline-flex; position: relative; }
.cine .mf__tab i { color: var(--lime); opacity: 0.7; font-size: 0.62rem; font-style: normal; }
.cine .mf__tab:after { content: ""; background: var(--em); transform-origin: 0; height: 2px; transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1); position: absolute; bottom: -1px; left: 0; right: 0; transform: scaleX(0); box-shadow: 0 0 14px rgba(16, 185, 129, 0.7); }
.cine .mf__tab:hover { color: rgb(var(--fg) / 0.9); }
.cine .mf__tab[aria-selected="true"] { color: rgb(var(--fg)); }
.cine .mf__tab[aria-selected="true"] i { opacity: 1; }
.cine .mf__tab[aria-selected="true"]:after { transform: scaleX(1); }
.cine .mf__tab:focus-visible { outline: 2px solid var(--em); outline-offset: -2px; }

.cine .mf__stage { min-height: clamp(24rem, 50vh, 30rem); padding: clamp(2.4rem, 6vw, 4.2rem) 0 1.5rem; position: relative; }
.cine .mf__stage:before { content: ""; pointer-events: none; background: radial-gradient(60% 55% at 70% 40%, rgba(16, 185, 129, 0.12), transparent 70%); position: absolute; inset: -10% -6% 0 30%; }
.cine .mf__panel { align-content: start; gap: clamp(1.6rem, 3.4vw, 2.6rem); max-width: 58rem; padding-left: clamp(1.1rem, 3.2vw, 2.4rem); display: grid; position: relative; }
.cine .mf__panel:before { content: ""; background: linear-gradient(to bottom, var(--em), rgba(16, 185, 129, 0)); width: 2px; position: absolute; top: 0.3rem; bottom: 0.3rem; left: 0; }
.cine .mf__group { align-content: start; gap: 1.1rem; display: grid; }
.cine .mf__kicker { letter-spacing: 0.2em; text-transform: uppercase; color: var(--lime); margin: 0; font-family: JetBrains Mono, ui-monospace, monospace; font-size: 0.72rem; }
.cine .mf__h { letter-spacing: -0.025em; max-width: 20ch; margin: 0; font-family: Syne, sans-serif; font-size: clamp(2.1rem, 5.4vw, 4rem); font-weight: 800; line-height: 1.04; }
.cine .mf__h--sm { max-width: 26ch; color: rgb(var(--fg) / 0.92); font-size: clamp(1.5rem, 3.4vw, 2.4rem); line-height: 1.12; }
.cine .mf__h .serif, .cine .mf__h--sm .serif { color: var(--em); }
.cine .mf__lead { letter-spacing: -0.01em; max-width: 36ch; color: rgb(var(--fg)); margin: 0; font-family: Instrument Serif, Georgia, serif; font-size: clamp(1.8rem, 4.1vw, 3.1rem); font-weight: 400; line-height: 1.16; }
.cine .mf__lead--sm { max-width: 40ch; color: rgb(var(--fg) / 0.9); font-size: clamp(1.35rem, 2.6vw, 1.9rem); line-height: 1.32; }
.cine .mf__lead--dim { color: rgb(var(--fg) / 0.6); }
.cine .mf__lead em { color: var(--em); font-style: italic; }
.cine .mf__p { max-width: 40rem; color: rgb(var(--fg) / 0.78); margin: 0; font-size: clamp(1rem, 1.5vw, 1.15rem); line-height: 1.75; }
.cine .mf__line { letter-spacing: 0.02em; text-transform: uppercase; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.1rem; margin: 0; font-family: Syne, sans-serif; font-size: clamp(1.3rem, 3.6vw, 2.5rem); font-weight: 800; line-height: 1; display: flex; }
.cine .mf__line span:first-of-type { color: rgb(var(--fg) / 0.92); }
.cine .mf__line span:nth-of-type(2) { color: rgb(var(--fg) / 0.6); }
.cine .mf__line .mf__x { color: rgb(var(--fg) / 0.35); text-decoration: line-through 2px; }
.cine .mf__line b { color: rgb(var(--fg) / 0.3); font-weight: 400; }
.cine .mf__loop { margin: 0.4rem 0 0; padding: 0; list-style: none; display: grid; }
.cine .mf__loop li { border-top: 1px solid rgba(16, 185, 129, 0.3); grid-template-columns: clamp(4.4rem, 11vw, 6.5rem) 1fr; align-items: baseline; gap: 0.4rem 1rem; padding: 1rem 0; display: grid; }
.cine .mf__loop li:last-child { border-bottom: 1px solid rgba(16, 185, 129, 0.3); }
.cine .mf__loop span { letter-spacing: 0.18em; text-transform: uppercase; color: var(--lime); font-family: JetBrains Mono, ui-monospace, monospace; font-size: 0.72rem; }
.cine .mf__loop p { margin: 0; font-family: Syne, sans-serif; font-size: clamp(1.1rem, 2.3vw, 1.6rem); font-weight: 700; line-height: 1.3; }
.cine .mf__final { border-top: 2px solid var(--em); letter-spacing: -0.015em; max-width: 30ch; margin: 0; padding-top: 1.6rem; font-family: Syne, sans-serif; font-size: clamp(1.45rem, 3.2vw, 2.4rem); font-weight: 800; line-height: 1.18; }
.cine .mf__final em { color: var(--em); font-family: Instrument Serif, Georgia, serif; font-size: 1.12em; font-style: italic; font-weight: 400; }
.cine .mf__ends { grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1rem; display: grid; }
.cine .mf__end { border: 1px solid rgb(var(--fg) / 0.16); background: rgb(var(--fg) / 0.03); align-content: start; gap: 0.8rem; padding: clamp(1.2rem, 2.6vw, 1.8rem); display: grid; }
.cine .mf__end span { letter-spacing: 0.18em; text-transform: uppercase; color: rgb(var(--fg) / 0.55); font-family: JetBrains Mono, ui-monospace, monospace; font-size: 0.68rem; }
.cine .mf__end p { color: rgb(var(--fg) / 0.85); margin: 0; font-family: Instrument Serif, Georgia, serif; font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.35; }
.cine .mf__end--b { background: rgba(16, 185, 129, 0.08); border-color: rgba(16, 185, 129, 0.7); box-shadow: 0 0 40px rgba(16, 185, 129, 0.12); }
.cine .mf__end--b span { color: var(--lime); }
.cine .mf__end--b p { color: rgb(var(--fg)); }
.cine .mf__cta { margin: 0; }
.cine .mf__steps { grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; display: grid; }
.cine .mf__steps li { background: rgb(var(--fg) / 0.025); border: 1px solid rgba(16, 185, 129, 0.28); align-content: start; gap: 0.6rem; padding: clamp(1.2rem, 2.4vw, 1.7rem); transition: border-color 0.3s, background 0.3s, transform 0.3s; display: grid; }
.cine .mf__steps li:hover { background: rgba(16, 185, 129, 0.07); border-color: rgba(16, 185, 129, 0.7); transform: translateY(-3px); }
.cine .mf__steps span { color: transparent; -webkit-text-stroke: 1.5px var(--em); font-family: Syne, sans-serif; font-size: clamp(2.2rem, 4.6vw, 3.2rem); font-weight: 800; line-height: 1; }
.cine .mf__steps b { font-family: Syne, sans-serif; font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.2; }
.cine .mf__steps p { color: rgb(var(--fg) / 0.74); margin: 0; font-size: 0.98rem; line-height: 1.65; }
.cine .mf__note { letter-spacing: 0.12em; text-transform: uppercase; color: rgb(var(--fg) / 0.5); margin: 0; font-family: JetBrains Mono, ui-monospace, monospace; font-size: 0.66rem; }
.cine .mf__year { border-top: 1px solid rgba(16, 185, 129, 0.3); border-bottom: 1px solid rgba(16, 185, 129, 0.3); flex-wrap: wrap; align-items: center; gap: 1rem clamp(1.4rem, 4vw, 3rem); padding: clamp(1.2rem, 3vw, 2rem) 0; display: flex; }
.cine .mf__year b { letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 2px var(--em); filter: drop-shadow(0 0 18px rgba(16, 185, 129, 0.35)); font-family: Syne, sans-serif; font-size: clamp(4.4rem, 14vw, 9rem); font-weight: 800; line-height: 0.9; }
.cine .mf__year p { flex: 15rem; max-width: 26rem; margin: 0; font-family: Instrument Serif, Georgia, serif; font-size: clamp(1.35rem, 2.6vw, 1.9rem); line-height: 1.3; }
.cine .mf__year p em { color: var(--em); font-style: italic; }
.cine .mf__rise { animation: 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both mfrise; animation-delay: calc(var(--i, 0) * 0.12s); }
.cine .mf__doc { counter-reset: chap; gap: 1.8rem; max-width: 44rem; display: grid; }
.cine .mf__doc h3 { margin: 0; }
.cine .mf__chap { border-left: 2px solid rgba(16, 185, 129, 0.45); gap: 0.6rem; padding-left: 1.2rem; display: grid; }
.cine .mf__chap h4 { margin: 0; font-family: Syne, sans-serif; font-size: clamp(1.25rem, 2.4vw, 1.6rem); line-height: 1.22; }
.cine .mf__chap h4:before { counter-increment: chap; content: "0" counter(chap); letter-spacing: 0.18em; color: var(--lime); margin-bottom: 0.4rem; font-family: JetBrains Mono, ui-monospace, monospace; font-size: 0.68rem; font-weight: 400; display: block; }
.cine .mf__chap p { color: rgb(var(--fg) / 0.82); margin: 0; font-size: 1.05rem; line-height: 1.8; }
.cine .mf__close { color: var(--em); margin: 0; font-family: Instrument Serif, Georgia, serif; font-size: clamp(1.5rem, 3vw, 2.1rem); font-style: italic; line-height: 1.3; }

@media (prefers-reduced-motion: reduce) {
  .cine .mf__rise { animation: none; }
  .cine .mf__tab:after, .cine .mf__steps li { transition: none; }
}

/* Eradicate technical scrub HUD / frame specifications across all viewports */
.scrub__hud,
[class*="scrub__hud"] {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* ==========================================================================
   Comprehensive Mobile, Android, iOS & Cross-Browser Optimization Suite
   Guarantees Zero Text Overlap & Flawless Vector Logo Rendering Everywhere
   ========================================================================== */

/* 1. Global Viewport, Touch & Anti-Overflow Protection */
html, body {
  max-width: 100vw !important;
  overflow-x: hidden !important;
  -webkit-text-size-adjust: 100% !important;
  text-size-adjust: 100% !important;
  touch-action: manipulation;
}

*, *::before, *::after {
  box-sizing: border-box !important;
}

/* Hardware-accelerated smooth video rendering on iOS Safari & Android Chrome */
video {
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* 2. Mobile Responsive Polish (Screens <= 768px: iPhone, Android, iPad Mini) */
@media (max-width: 768px) {
  /* Navigation Bar Polish */
  .cine-nav {
    height: 56px !important;
  }
  .cine-nav__row {
    padding: 0.5rem 1rem !important;
    height: 56px !important;
  }
  .cine-nav__brand {
    max-width: calc(100vw - 80px) !important;
  }
  .cine-nav__name {
    font-size: clamp(0.6rem, 2.7vw, 0.78rem) !important;
    max-width: clamp(10rem, 52vw, 15rem) !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  /* Hero Section: Centered, Zero Overlap, Perfect Rhythm */
  #top-crest.crest {
    padding: 4.8rem 1rem 2rem !important;
    gap: 1.25rem !important;
    min-height: auto !important;
    overflow: hidden !important;
  }

  #top-crest .crest__stage {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 0.5rem !important;
  }

  /* Hero Vector Stage & Word: Always Visible, Never Clipped on Mobile */
  .cine .brev__stage {
    min-height: 85px !important;
    height: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    overflow: visible !important;
  }

  .cine .brev__word {
    position: relative !important;
    inset: auto !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: auto !important;
    clip-path: none !important;
    -webkit-clip-path: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .cine .brev__word .wm {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
  }

  .cine .brev__word .wm__name {
    font-size: clamp(1.4rem, 6.4vw, 2.2rem) !important;
    justify-content: center !important;
    letter-spacing: -0.015em !important;
    white-space: normal !important;
    line-height: 1.05 !important;
    text-align: center !important;
    display: flex !important;
    flex-wrap: wrap !important;
    color: #f3f7f5 !important;
  }

  .cine .brev__word .wm__sub {
    font-size: clamp(0.52rem, 2.2vw, 0.72rem) !important;
    letter-spacing: 0.14em !important;
    margin-top: 0.45rem !important;
    justify-content: center !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.16rem !important;
    color: var(--lime, #a3e635) !important;
    text-align: center !important;
  }

  /* Ensure hero mechanical track & laser cart are visible & crisp on mobile */
  .cine .brev__cart,
  .cine .brev__laser,
  .cine .brev__rail,
  .cine .brev__shadow,
  .cine .brev__trash,
  .cine .brev__sparks {
    display: block !important;
  }

  /* Hero Tagline */
  #top-crest .crest__tag {
    font-size: clamp(1.05rem, 4.4vw, 1.45rem) !important;
    line-height: 1.35 !important;
    max-width: 22ch !important;
    margin: 0.35rem auto 0 !important;
    text-wrap: balance !important;
  }

  /* Hero Sub-Brand App Badges */
  #top-crest .crest__apps {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.85rem !important;
    margin: 0.75rem auto 0 !important;
    width: 100% !important;
  }

  .applogo {
    width: min(300px, 92vw) !important;
    justify-content: center !important;
    padding: 0.45rem 1rem !important;
  }

  /* Hero Action Buttons */
  #top-crest .crest__foot {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.75rem !important;
    margin-top: 0.85rem !important;
    width: 100% !important;
  }

  #top-crest .crest__foot .btn {
    width: min(300px, 92vw) !important;
    justify-content: center !important;
    min-height: 2.85rem !important;
  }

  /* Kinetic Pulse Eruption Canvas: Never trigger horizontal scroll */
  .kinetic-pulse-container {
    inset: -15px 0 !important;
    max-width: 100vw !important;
    overflow: hidden !important;
  }

  /* 3. The Awakening & Reformation Scrubber: 60fps Sticky Pinning & Dynamic Overlays */
  .scrub {
    position: relative !important;
    overflow: visible !important;
  }

  .scrub .scrub__stick {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    height: 100vh !important;
    height: 100dvh !important;
    height: 100svh !important;
    overflow: hidden !important;
    display: block !important;
    padding: 0 !important;
    z-index: 5;
  }

  .scrub .scrub__canvas {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: block !important;
  }

  .scrub .ov {
    position: absolute !important;
    z-index: 5 !important;
    margin: 0 !important;
  }

  .scrub .ov--c {
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    translate: none !important;
    width: min(92vw, 460px) !important;
    max-width: 92vw !important;
    text-align: center !important;
    padding: 0 0.5rem;
  }

  .scrub .ov--c .display {
    font-size: clamp(1.35rem, 5.2vw, 1.95rem) !important;
    line-height: 1.2 !important;
    margin: 0.6rem auto !important;
  }

  .scrub .ov--b {
    top: 50% !important;
    bottom: auto !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    translate: none !important;
    width: min(94vw, 480px) !important;
    max-width: 94vw !important;
    text-align: center !important;
    padding: 0 0.5rem;
  }

  .scrub .ov--b .horizons {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.6rem !important;
    width: 100% !important;
    margin: 0.75rem auto 0 !important;
  }

  .scrub .ov--b .hz {
    display: grid !important;
    grid-template-columns: auto auto 1fr !important;
    align-items: baseline !important;
    gap: 0.45rem !important;
    padding: 0.65rem 0.85rem !important;
    text-align: left !important;
    width: 100% !important;
  }

  .scrub .ov--b .hz__b {
    grid-column: 1 / -1 !important;
    font-size: 0.72rem !important;
    line-height: 1.4 !important;
  }

  .scrub .callout {
    margin: 0.85rem 0 !important;
    padding: 0.85rem 1rem !important;
    font-size: 0.78rem !important;
    line-height: 1.6 !important;
  }

  /* 4. Mantra Section: Zero Overlap with Button */
  section.mantra {
    padding: 3.2rem 1.1rem !important;
    text-align: center !important;
    overflow: hidden !important;
  }

  section.mantra .mantra__line {
    font-size: clamp(1.15rem, 4.6vw, 1.75rem) !important;
    line-height: 1.38 !important;
    margin: 0 auto 1.6rem !important;
    position: relative !important;
    display: block !important;
  }

  section.mantra .btn {
    margin: 1.8rem auto 0 !important;
    display: inline-flex !important;
    position: relative !important;
    clear: both !important;
    width: min(300px, 92vw) !important;
    justify-content: center !important;
  }

  /* 5. Modern 5-Tab Manifesto on Mobile */
  .cine .mf {
    padding-top: 3.5rem !important;
    overflow: hidden !important;
  }

  .cine .mf__tabs {
    padding: 0.2rem 0.5rem 0.6rem !important;
    gap: 0.35rem !important;
    margin-top: 1.2rem !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }

  .cine .mf__tab {
    padding: 0.7rem 0.85rem !important;
    font-size: 0.66rem !important;
    gap: 0.35rem !important;
    flex-shrink: 0 !important;
    min-height: 42px !important;
  }

  .cine .mf__stage {
    min-height: auto !important;
    padding: 1.8rem 0 1.2rem !important;
  }

  .cine .mf__panel {
    padding-left: 0.75rem !important;
    gap: 1.4rem !important;
    width: 100% !important;
  }

  .cine .mf__h {
    font-size: clamp(1.55rem, 5.6vw, 2.3rem) !important;
    line-height: 1.15 !important;
    max-width: 100% !important;
  }

  .cine .mf__lead {
    font-size: clamp(1.2rem, 4.2vw, 1.7rem) !important;
    line-height: 1.3 !important;
    max-width: 100% !important;
  }

  .cine .mf__steps {
    grid-template-columns: 1fr !important;
    gap: 0.85rem !important;
  }

  .cine .mf__steps li {
    padding: 1.1rem !important;
  }

  .cine .mf__year {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.75rem !important;
    padding: 1.2rem 0 !important;
  }

  .cine .mf__year b {
    font-size: clamp(2.8rem, 11vw, 4.8rem) !important;
    line-height: 1 !important;
  }

  .cine .mf__ends {
    grid-template-columns: 1fr !important;
    gap: 0.85rem !important;
  }

  .cine .mf__loop li {
    grid-template-columns: 3.8rem 1fr !important;
    gap: 0.5rem !important;
    padding: 0.8rem 0 !important;
  }

  /* 6. Video Figure Overlays: Clean Mobile Dimensions */
  .kfilm,
  .circular-os-kfilm {
    margin: 1.8rem auto 1.2rem !important;
    border-radius: 8px !important;
    aspect-ratio: 16 / 9 !important;
    width: 100% !important;
  }

  .kfilm__bar,
  .circular-os-kfilm .kfilm__bar {
    padding: 0.8rem 0.75rem !important;
    font-size: 0.58rem !important;
    gap: 0.4rem !important;
  }

  .kfilm__bar span,
  .circular-os-kfilm .kfilm__bar span {
    max-width: 70% !important;
    line-height: 1.3 !important;
  }

  /* 7. UN SDGs Grid */
  #nirmalam div[style*="gridTemplateColumns"] {
    grid-template-columns: 1fr !important;
    gap: 0.85rem !important;
  }
}



/* ==========================================================================
   ENTERPRISE POLISH: LIGHT MODE CONTRAST ENGINE, DE-GAMING & UNCLUSTERING
   ========================================================================== */

/* 1. GLOBAL DE-GAMING TYPOGRAPHY & PILL BUTTON GEOMETRY */
.cine .btn,
.btn {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em !important;
  text-transform: none !important;
  border-radius: 9999px !important;
  padding: 0.72rem 1.65rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease !important;
}

.cine .btn:hover,
.btn:hover {
  transform: translateY(-1.5px) !important;
}

.cine[data-theme='dark'] .btn--solid {
  background: #10b981 !important;
  color: #030806 !important;
  border: 1px solid #10b981 !important;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3) !important;
}

.cine[data-theme='dark'] .btn:not(.btn--solid) {
  background: rgba(255, 255, 255, 0.06) !important;
  color: #f3f7f5 !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
}

/* De-game Navigation Links */
.cine-nav__links {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
  font-size: 0.84rem !important;
  text-transform: capitalize !important;
  letter-spacing: -0.01em !important;
  font-weight: 500 !important;
  gap: 1.4rem !important;
}

/* Lede & Intro Text Clean Anti-Cluster Rhythm */
.mf__intro-p,
.lede,
.mf__p {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
  line-height: 1.65 !important;
  font-size: 1.05rem !important;
  letter-spacing: -0.01em !important;
  max-width: 68ch !important;
}

/* 2. LIGHT MODE CONTRAST ENGINE (WCAG AAA COMPLIANT) */
.cine[data-theme='light'] {
  --page: #f6f8f5 !important;
  --surface: 255 255 255 !important;
  --deep: 240 244 241 !important;
  --void: #0a1510 !important;
  --bone: #0a1510 !important;
  --fg: 10 21 16 !important;
  --em: #0b7a54 !important;
  --lime: #0d5e3a !important;
  --gold: #925107 !important;
  background-color: var(--page) !important;
  color: #0a1510 !important;
}

/* Light Mode Navigation */
.cine[data-theme='light'] .cine-nav {
  background: rgba(246, 248, 245, 0.94) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid rgba(10, 21, 16, 0.08) !important;
}

.cine[data-theme='light'] .cine-nav__link {
  color: #1f2d24 !important;
  font-weight: 500 !important;
}

.cine[data-theme='light'] .cine-nav__link:hover {
  color: #0b7a54 !important;
}

.cine[data-theme='light'] .cine-nav__link[aria-current='page'] {
  color: #0b7a54 !important;
  font-weight: 600 !important;
}

.cine[data-theme='light'] .cine-nav__theme,
.cine[data-theme='light'] .cine-nav__menu {
  color: #0a1510 !important;
  border-color: rgba(10, 21, 16, 0.16) !important;
  background: rgba(255, 255, 255, 0.85) !important;
}

/* Light Mode Buttons */
.cine[data-theme='light'] .btn--solid {
  background: #0a1510 !important;
  color: #ffffff !important;
  border: 1px solid #0a1510 !important;
  box-shadow: 0 4px 14px rgba(10, 21, 16, 0.18) !important;
}

.cine[data-theme='light'] .btn--solid:hover {
  background: #152920 !important;
  box-shadow: 0 6px 20px rgba(10, 21, 16, 0.25) !important;
}

.cine[data-theme='light'] .btn:not(.btn--solid) {
  background: #ffffff !important;
  color: #0a1510 !important;
  border: 1px solid rgba(10, 21, 16, 0.18) !important;
  box-shadow: 0 1px 3px rgba(10, 21, 16, 0.05) !important;
}

.cine[data-theme='light'] .btn:not(.btn--solid):hover {
  background: #f0f4f1 !important;
  border-color: rgba(10, 21, 16, 0.3) !important;
}

/* Light Mode Scrubber & Obsidian Chambers (Keeps 3D Particles & Alchemy Fully Visible) */
.cine[data-theme='light'] .scrub {
  background: #030806 !important;
  box-shadow: inset 0 24px 48px -20px rgba(0, 0, 0, 0.8), inset 0 -24px 48px -20px rgba(0, 0, 0, 0.8) !important;
}

.cine[data-theme='light'] .scrub__shade {
  background: radial-gradient(ellipse at center, transparent 35%, rgba(3, 8, 6, 0.85) 100%) !important;
}

.cine[data-theme='light'] .scrub .ov,
.cine[data-theme='light'] .scrub .display,
.cine[data-theme='light'] .scrub p,
.cine[data-theme='light'] .scrub b,
.cine[data-theme='light'] .scrub span {
  color: #f3f7f5 !important;
}

.cine[data-theme='light'] .scrub .overline {
  color: #a3e635 !important;
}

.cine[data-theme='light'] .scrub .ov--b .hz {
  background: rgba(6, 22, 16, 0.75) !important;
  border-color: rgba(16, 185, 129, 0.28) !important;
  color: #f3f7f5 !important;
}

.cine[data-theme='light'] .scrub .ov--b .hz:hover {
  background: rgba(16, 185, 129, 0.2) !important;
}

/* Light Mode Full-Bleed Film Band (The Straight Line / Closing Coastline) */
.cine[data-theme='light'] .film--band,
.cine[data-theme='light'] section[aria-label*="The straight line"] .film,
.cine[data-theme='light'] section[aria-label*="Our Living Coastlines"] .film {
  background: #030806 !important;
  color: #f3f7f5 !important;
}

.cine[data-theme='light'] .film--band .film__shade {
  background: linear-gradient(180deg, rgba(3, 8, 6, 0.72) 0%, rgba(3, 8, 6, 0.22) 35%, rgba(3, 8, 6, 0.75) 100%) !important;
}

.cine[data-theme='light'] .film--band .display,
.cine[data-theme='light'] .film--band .filmband__h,
.cine[data-theme='light'] .film--band p {
  color: #f3f7f5 !important;
}

.cine[data-theme='light'] .film--band .overline {
  color: #a3e635 !important;
}

.cine[data-theme='light'] .film--band .film__toggle {
  background: rgba(255, 255, 255, 0.15) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  color: #ffffff !important;
}

/* Light Mode Video Containers: Crisp Obsidian Bezels */
.cine[data-theme='light'] .kfilm,
.cine[data-theme='light'] .circular-os-kfilm {
  background: #030806 !important;
  border: 1px solid rgba(10, 21, 16, 0.18) !important;
  border-radius: 16px !important;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.6) inset,
              0 24px 48px -12px rgba(10, 24, 16, 0.16),
              0 6px 16px -2px rgba(10, 24, 16, 0.08) !important;
  overflow: hidden !important;
}

.cine[data-theme='light'] .kfilm .kfilm__bar,
.cine[data-theme='light'] .circular-os-kfilm .kfilm__bar,
.cine[data-theme='light'] .kfilm figcaption {
  background: rgba(5, 13, 9, 0.88) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  backdrop-filter: blur(12px) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #f3f7f5 !important;
}

.cine[data-theme='light'] .kfilm .kfilm__bar span,
.cine[data-theme='light'] .circular-os-kfilm .kfilm__bar span {
  color: #f3f7f5 !important;
}

.cine[data-theme='light'] .kfilm .film__toggle,
.cine[data-theme='light'] .circular-os-kfilm .film__toggle {
  background: rgba(255, 255, 255, 0.14) !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  color: #ffffff !important;
  backdrop-filter: blur(8px) !important;
}

/* Light Mode Editorial Cards, Tables, Stages & Panels */
.cine[data-theme='light'] .card,
.cine[data-theme='light'] .glass,
.cine[data-theme='light'] .callout,
.cine[data-theme='light'] .mf__stage,
.cine[data-theme='light'] .pillar {
  background: #ffffff !important;
  border: 1px solid rgba(10, 21, 16, 0.08) !important;
  border-radius: 14px !important;
  color: #1f2d24 !important;
  box-shadow: 0 1px 3px rgba(10, 21, 16, 0.03), 0 8px 24px -4px rgba(10, 21, 16, 0.05) !important;
}

.cine[data-theme='light'] .display,
.cine[data-theme='light'] h1,
.cine[data-theme='light'] h2,
.cine[data-theme='light'] h3,
.cine[data-theme='light'] h4,
.cine[data-theme='light'] .mf__h {
  color: #0a1510 !important;
}

.cine[data-theme='light'] p,
.cine[data-theme='light'] .muted,
.cine[data-theme='light'] .mf__intro-p,
.cine[data-theme='light'] .lede {
  color: #243d31 !important;
}

.cine[data-theme='light'] .overline {
  color: #0d5e3a !important;
  font-weight: 700 !important;
}

.cine[data-theme='light'] .kerala__ml {
  color: #0d5e3a !important;
}

.cine[data-theme='light'] .mf__tabs {
  border-bottom: 1px solid rgba(10, 21, 16, 0.12) !important;
}

.cine[data-theme='light'] .mf__tab {
  color: #4b5d52 !important;
}

.cine[data-theme='light'] .mf__tab:hover {
  color: #0a1510 !important;
}

.cine[data-theme='light'] .mf__tab[aria-selected='true'] {
  color: #0a1510 !important;
  font-weight: 700 !important;
}

.cine[data-theme='light'] .mf__tab[aria-selected='true']:after {
  background: #0b7a54 !important;
  box-shadow: 0 2px 8px rgba(11, 122, 84, 0.35) !important;
}

.cine[data-theme='light'] .mf__stage:before {
  background: radial-gradient(60% 55% at 70% 40%, rgba(11, 122, 84, 0.06), transparent 70%) !important;
}

.cine[data-theme='light'] .mf__panel:before {
  background: linear-gradient(to bottom, #0b7a54, rgba(11, 122, 84, 0)) !important;
}

/* Breathing Room for Enterprise Flow */
.cine section {
  padding-top: clamp(4rem, 7vw, 7rem) !important;
  padding-bottom: clamp(4rem, 7vw, 7rem) !important;
}
