/* Terra Nova homepage cinematic layer
   Page-scoped overrides only: keeps the fixed video visible and removes the heavy glass wall. */
.home-page .world-background{
  position:fixed;
  inset:0;
  z-index:-1;
  overflow:hidden;
  background:#070b12 url('../media/planet.jpg') center/cover no-repeat;
}
.home-page .world-background video{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  transform:translateZ(0) scale(1.015);
  filter:saturate(1.06) contrast(1.04) brightness(.92);
  will-change:transform;
}
.home-page .world-shade{
  background:
    linear-gradient(90deg,rgba(5,8,15,.56) 0%,rgba(5,8,15,.25) 48%,rgba(5,8,15,.12) 78%,rgba(5,8,15,.2) 100%),
    linear-gradient(180deg,rgba(5,8,15,.10) 0%,rgba(5,8,15,.04) 45%,rgba(5,8,15,.30) 100%);
}

/* Remove the large frosted pane around the homepage content. */
.home-page #city-content .content-sheet,
.home-page .content-sheet,
.home-page .story-sheet,
.home-page .arrival-sheet{
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
}

/* Keep individual information readable without hiding the world behind it. */
.home-page #city-content .sig-pulse{
  background:linear-gradient(110deg,rgba(7,18,25,.38),rgba(7,18,25,.16)) !important;
  color:#f7fbfa !important;
  border:1px solid rgba(221,255,247,.28) !important;
  border-radius:14px;
  box-shadow:0 10px 35px rgba(0,0,0,.12);
  backdrop-filter:blur(2px);
  -webkit-backdrop-filter:blur(2px);
}
.home-page #city-content .sig-pulse h2,
.home-page #city-content .sig-pulse strong,
.home-page #city-content .sig-pulse a{color:#effffb !important}
.home-page #city-content .sig-pulse p,
.home-page #city-content .sig-pulse li,
.home-page #city-content .sig-pulse-sub{color:#d8ebe7 !important}
.home-page #city-content .sig-pulse a{color:#9cebd8 !important}

.home-page #city-content .hub-home-block{
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  backdrop-filter:none !important;
}
.home-page #city-content .hub-search{
  padding:0;
  background:transparent;
}
.home-page #city-content .hub-search label,
.home-page #city-content .hub-home-block h2,
.home-page #city-content .hub-home-block h3{color:#fffaf2;text-shadow:0 2px 16px rgba(0,0,0,.65)}
.home-page #city-content .hub-search input[type="search"],
.home-page #city-content .hub-search select{
  background:rgba(250,252,251,.92);
  border-color:rgba(255,255,255,.65);
  box-shadow:0 8px 24px rgba(0,0,0,.10);
}
.home-page #city-content .hub-quick a{
  background:rgba(7,18,25,.28);
  color:#f8fffd;
  border:1px solid rgba(222,255,247,.26);
  border-radius:10px;
  box-shadow:none;
  backdrop-filter:blur(1.5px);
  -webkit-backdrop-filter:blur(1.5px);
  transition:transform .18s ease,background .18s ease,border-color .18s ease;
}
.home-page #city-content .hub-quick a:hover,
.home-page #city-content .hub-quick a:focus-visible{
  background:rgba(8,107,96,.5);
  border-color:rgba(186,244,233,.72);
  transform:translateY(-2px);
}
.home-page #city-content .hub-pubs li{border-color:rgba(255,255,255,.24)}
.home-page #city-content .hub-pubs a,
.home-page #city-content .sig-meta{color:#f4fbf8}

/* The fixed world remains the visual anchor while text layers move at their existing depth speeds. */
.home-page .immersive-hero,
.home-page .immersive-section{background:transparent}
.home-page .hero-copy,
.home-page #city-content [data-depth]{will-change:translate}

@media (max-width:760px){
  .home-page .world-background video{transform:translateZ(0) scale(1.03);filter:saturate(1.03) contrast(1.03) brightness(.86)}
  .home-page .world-shade{background:linear-gradient(90deg,rgba(5,8,15,.60),rgba(5,8,15,.30)),linear-gradient(180deg,rgba(5,8,15,.08),rgba(5,8,15,.28))}
  .home-page #city-content .sig-pulse{background:rgba(7,18,25,.42) !important}
}

@media (prefers-reduced-transparency:reduce){
  .home-page #city-content .sig-pulse,
  .home-page #city-content .hub-quick a{backdrop-filter:none;-webkit-backdrop-filter:none;background:rgba(7,18,25,.82) !important}
}
