/* ============================================================
   LEMON TV — Layout / Visibility / Scrollbar Fixes
   ============================================================ */

/* Kill page-level side + bottom scrollbars (wheel/touch still scroll) */
html {
  overflow-x: hidden !important;
  overflow-y: scroll !important;
  max-width: 100% !important;
  width: 100% !important;
  scrollbar-gutter: auto;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  scroll-padding-top: 100px;
}

body {
  overflow-x: hidden !important;
  overflow-y: visible !important;
  max-width: 100% !important;
  width: 100% !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
  background: transparent !important;
}

.page-wrapper,
.section,
.hero,
.footer,
.marquee-section,
main,
#main {
  overflow-x: hidden !important;
  max-width: 100% !important;
}

/* Force all page sections: 15px top + bottom space */
.section,
section.section,
.brand-intro,
.services-showcase,
.process-section,
.marquee-section,
#about,
#services,
#why,
#process,
#work,
#industries,
#impact,
#testimonials,
#pricing,
#quick-answers,
#faq,
#contact-teaser {
  padding-top: 15px !important;
  padding-bottom: 15px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.section-header {
  margin-top: 15px !important;
  margin-bottom: 15px !important;
}

.footer {
  padding-top: 15px !important;
  padding-bottom: 15px !important;
}

.footer-statement,
.footer-main,
.footer-bottom {
  margin-top: 15px !important;
  margin-bottom: 15px !important;
  padding-top: 15px !important;
  padding-bottom: 15px !important;
}

.horizontal-gallery {
  margin-top: 15px !important;
  padding-top: 15px !important;
  padding-bottom: 15px !important;
}

.pricing-services,
.concept-grid,
.build-project,
.vision-mission,
.values-grid {
  margin-top: 15px !important;
}

/* Hide nested horizontal bars that were showing at bottom of sections */
.process-track-wrap,
.horizontal-gallery,
.service-list-grid,
.modal {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.process-track-wrap::-webkit-scrollbar,
.horizontal-gallery::-webkit-scrollbar,
.service-list-grid::-webkit-scrollbar,
.modal::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}

/* Soft fade hint instead of visible scrollbar for process/gallery */
.process-track-wrap,
.horizontal-gallery {
  mask-image: linear-gradient(90deg, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent 100%);
}

/* ---------- Text always readable ---------- */
.reveal,
.reveal-left,
.reveal-right,
.reveal-scale,
.clip-reveal,
.stagger-children > * {
  opacity: 1 !important;
  transform: none !important;
  clip-path: none !important;
}

.hero-headline .word,
.hero-headline.is-animating .word,
.hero-desc,
.hero-desc.is-animating,
.hero-actions,
.hero-actions.is-animating {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

.service-panel .panel-link {
  opacity: 1 !important;
  transform: none !important;
}

/* Stronger contrast for body / muted copy */
.text-lead,
.text-muted,
.concept-desc,
.service-panel p,
.why-item p,
.process-step p,
.industry-card p,
.impact-card p,
.faq-answer p,
.pricing-for,
.pricing-note,
.testimonial-text {
  color: #c8c8c8 !important;
}

.muted-text,
:root {
  --muted-text: #b3b3b3;
}

/* Outline numbers: keep subtle but never fight main copy */
.concept-num,
.process-step .step-num {
  opacity: 0.35;
}

/* Reduce film grain so type stays crisp */
.film-grain {
  opacity: 0.025 !important;
  mix-blend-mode: soft-light;
}

/* Custom cursor must not steal readability */
.cursor {
  mix-blend-mode: normal;
  border-color: rgba(249, 206, 3, 0.85);
  background: transparent;
}

/* Lenis / pin spacers never widen the page */
[data-pin-spacer],
.pin-spacer {
  max-width: 100% !important;
  overflow: hidden !important;
}

/* Equal ~10% left/right screen space; content centered in middle 80% */
.navbar {
  width: 80vw !important;
  max-width: 80vw !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
}

.container,
.page-shell,
.footer .container,
.page-hero .container,
.hero .container {
  width: 80vw !important;
  max-width: 80vw !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-inline: 0 !important;
  box-sizing: border-box !important;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4, .display-xl, .display-lg, .display-md, .heading-xl {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Footer / legal never cause page side-scroll */
.footer,
.footer .container,
.footer-statement,
.footer-main,
.footer-bottom {
  max-width: 100% !important;
  overflow-x: hidden !important;
}

.footer-statement h2 {
  font-size: clamp(1.75rem, 6vw, 5.5rem) !important;
  padding-inline: 0.25rem;
}

.footer-bottom {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem 1.25rem !important;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.footer-legal a {
  white-space: nowrap;
}
