/* Blastland Immersive V2 — production mobile and cinematic media layer. */
:root {
  --bl-prod-surface: rgba(7, 8, 12, 0.78);
  --bl-prod-surface-solid: rgba(7, 8, 12, 0.96);
  --bl-prod-border: rgba(255, 255, 255, 0.12);
  --bl-prod-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
}

html {
  background: #030304;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-width: 0;
  overflow-x: clip;
  overscroll-behavior-y: none;
}

img,
video {
  max-width: 100%;
}

/* Full-bleed story opening. The old cinema frame is intentionally removed. */
.hero {
  position: relative;
  isolation: isolate;
  display: flex !important;
  flex-direction: column;
  justify-content: flex-end !important;
  min-height: max(100svh, 720px) !important;
  padding: 0 !important;
  overflow: hidden;
  background: #030304 !important;
  perspective: none !important;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(2, 3, 5, 0.36) 0%, rgba(2, 3, 5, 0.04) 34%, rgba(2, 3, 5, 0.34) 62%, rgba(2, 3, 5, 0.94) 100%),
    radial-gradient(70% 60% at 50% 42%, transparent 20%, rgba(0, 0, 0, 0.22) 100%);
}

.hero::after {
  z-index: 3 !important;
  height: 22% !important;
  background: linear-gradient(180deg, transparent, #05050a 92%) !important;
}

.hero-cinema,
.hero-cinema.hero-cinema--production {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  min-height: 100% !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  clip-path: none !important;
  box-shadow: none !important;
  transform: none !important;
  opacity: 1 !important;
  will-change: auto !important;
}

.hero-cinema::before {
  border-radius: 0 !important;
  box-shadow: inset 0 -15rem 12rem -10rem rgba(0, 0, 0, 0.72) !important;
}

.hero-video-shell,
.hero-bg-video {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  border-radius: 0 !important;
}

.hero-bg-video {
  object-fit: cover !important;
  object-position: 50% 48%;
  transform: scale(1.015) !important;
  opacity: 0;
  transition: opacity 700ms ease;
  background: #06070a;
}

.hero-bg-video.bl-media-ready,
.hero-bg-video.is-poster-mode {
  opacity: 1;
}

.genai-announcement-wrap {
  position: absolute !important;
  top: calc(max(0.65rem, env(safe-area-inset-top)) + 5.9rem);
  left: 50%;
  z-index: 7 !important;
  width: min(920px, calc(100% - 2rem)) !important;
  max-width: none !important;
  padding: 0 !important;
  transform: translateX(-50%);
}

.genai-announcement {
  background: rgba(8, 10, 13, 0.78) !important;
  border-color: rgba(207, 255, 86, 0.34) !important;
  backdrop-filter: blur(12px) saturate(115%) !important;
  -webkit-backdrop-filter: blur(12px) saturate(115%) !important;
}

.hero-text-area {
  position: relative !important;
  z-index: 6 !important;
  width: min(1120px, 100%) !important;
  margin: 0 auto !important;
  padding: 2rem clamp(1rem, 5vw, 4rem) calc(3.2rem + env(safe-area-inset-bottom)) !important;
}

.hero-tagline {
  max-width: 28ch;
  font-size: clamp(1.25rem, 3.1vw, 3rem) !important;
  line-height: 1.06 !important;
  letter-spacing: 0.09em !important;
  text-transform: uppercase;
  text-wrap: balance;
}

.hero-subline {
  max-width: 48rem !important;
  margin-top: 1rem !important;
  color: rgba(248, 248, 250, 0.78) !important;
  font-size: clamp(0.95rem, 1.3vw, 1.15rem) !important;
  line-height: 1.65 !important;
}

/* Cinematic background chapters. */
#about,
#podcasts {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #050507 !important;
}

.bl-section-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #050507 center / cover no-repeat;
}

.bl-section-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 5, 8, 0.58), rgba(4, 5, 8, 0.74)),
    radial-gradient(circle at 50% 45%, transparent, rgba(0, 0, 0, 0.42) 78%);
}

.bl-section-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 650ms ease;
}

.bl-section-video.bl-media-ready,
.bl-section-video.is-poster-mode {
  opacity: 0.5;
}

#about .bl-section-media::after {
  background: linear-gradient(90deg, rgba(5, 5, 8, 0.88) 0%, rgba(5, 5, 8, 0.54) 44%, rgba(5, 5, 8, 0.8) 100%);
}

#podcasts .bl-section-video.bl-media-ready,
#podcasts .bl-section-video.is-poster-mode {
  opacity: 0.35;
}

#about > .wrapper,
#podcasts > .wrapper {
  position: relative;
  z-index: 2;
}

#about .who-left,
#about .who-right,
#podcasts > .wrapper > .section-header,
#podcasts > .wrapper > .pillars-grid > .pillars-grid {
  box-shadow: var(--bl-prod-shadow);
}

#about .who-left {
  background: rgba(205, 239, 78, 0.93) !important;
}

#about .who-right {
  background: rgba(5, 6, 9, 0.74) !important;
}

/* Cross-platform media presentation. */
.motion-feature-video,
.creative-message-video {
  background: #050507;
}

.motion-feature-video.bl-media-ready {
  opacity: 1;
}

.motion-feature-card,
.creative-message-card {
  contain: paint;
}

/* No oversized/squeezed chapter typography. */
.section-title,
.motion-feature-title,
.creative-message-title,
.cta-title,
.newsletter-title,
.who-left h2 {
  max-width: 100%;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
  text-wrap: balance;
}

#portfolio .section-title,
#podcasts .section-title,
#team .section-title,
#legal .section-title {
  font-size: clamp(2rem, 3.7vw, 4.25rem) !important;
  line-height: 0.98 !important;
  letter-spacing: -0.045em !important;
}

/* One consistent portrait system, including the new member. */
#team > .wrapper > .team-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  grid-auto-flow: row !important;
}

#team .team-card,
#team .team-card:nth-child(n) {
  grid-column: span 1 !important;
  aspect-ratio: 9 / 16 !important;
  min-width: 0;
}

#team .team-thumb {
  background: #020203 !important;
}

#team .team-thumb > img:not(.team-badge-logo) {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center bottom !important;
  transform: none;
}

#team .team-card:hover .team-thumb > img:not(.team-badge-logo) {
  transform: scale(1.015);
}

#team .team-caption,
#team .team-grid .team-card:nth-child(n) .team-caption {
  min-height: 7rem !important;
  padding: 4.5rem 0.85rem 0.85rem !important;
}

#team .team-name,
#team .team-grid .team-card:nth-child(n) .team-name {
  font-size: clamp(0.66rem, 0.76vw, 0.8rem) !important;
  line-height: 1.15 !important;
}

#team .team-title,
#team .team-grid .team-card:nth-child(n) .team-title {
  font-size: clamp(0.58rem, 0.68vw, 0.7rem) !important;
  line-height: 1.28 !important;
  letter-spacing: 0.105em !important;
}

/* Mobile navigation must never exceed the usable iOS/Android viewport. */
.nav-links {
  overscroll-behavior: contain;
}

@media (max-width: 1180px) {
  #team > .wrapper > .team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 820px), (hover: none), (pointer: coarse) {
  html {
    scroll-behavior: auto !important;
  }

  body {
    overscroll-behavior-y: auto;
  }

  .bl-ambient,
  .bl-cursor,
  .bl-cursor-ring {
    display: none !important;
  }

  .nav,
  .nav-links,
  .genai-announcement,
  .who-overlay,
  #portfolio > .wrapper > .section-header,
  #podcasts > .wrapper > .section-header,
  #team > .wrapper > .section-header,
  .newsletter-card,
  .cta-banner,
  .bl-cookie-box {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .nav {
    background: rgba(6, 7, 10, 0.94) !important;
  }

  .nav-links {
    max-height: calc(100dvh - 6.5rem);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: rgba(6, 7, 10, 0.985) !important;
  }

  .bl-reveal,
  .bl-reveal.bl-inview {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }

  .hero-cinema,
  .hero-bg-video,
  .bl-section-video,
  .motion-feature-video,
  .creative-message-video,
  #portfolio .video-card,
  #podcasts .podcast-card,
  #team .team-card {
    will-change: auto !important;
    transform: none !important;
  }

  #portfolio .video-card:hover,
  #podcasts .podcast-card:hover,
  #team .team-card:hover {
    --bl-lift: 0 !important;
  }

  #team > .wrapper > .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 720px) {
  .hero {
    min-height: max(100svh, 730px) !important;
  }

  .genai-announcement-wrap {
    top: calc(max(0.55rem, env(safe-area-inset-top)) + 4.8rem);
    width: calc(100% - 1.25rem) !important;
  }

  .genai-announcement {
    grid-template-columns: auto minmax(0, 1fr) !important;
    gap: 0.65rem !important;
    padding: 0.7rem !important;
    border-radius: 1rem !important;
  }

  .genai-announcement-cta {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: center;
  }

  .genai-announcement-title {
    font-size: 0.7rem !important;
    line-height: 1.32 !important;
  }

  .hero-text-area {
    padding: 1.25rem 1rem calc(2.2rem + env(safe-area-inset-bottom)) !important;
  }

  .hero-tagline {
    font-size: clamp(1.25rem, 7.7vw, 2.25rem) !important;
    line-height: 1.04 !important;
    letter-spacing: 0.07em !important;
  }

  .hero-subline {
    font-size: 0.9rem !important;
    line-height: 1.58 !important;
  }

  .scroll-indicator {
    margin-top: 1.2rem !important;
  }

  .scroll-line {
    width: 32px !important;
    height: 52px !important;
  }

  #about,
  #podcasts {
    background-position: center !important;
  }

  .bl-section-video.bl-media-ready,
  .bl-section-video.is-poster-mode {
    opacity: 0.26;
  }

  #about .who-right {
    min-height: clamp(360px, 116vw, 560px) !important;
  }

  #about .who-right-image {
    object-fit: contain !important;
    object-position: center !important;
    background: #050507;
  }

  .motion-feature-card,
  .creative-message-card {
    min-height: min(76svh, 620px) !important;
  }

  .motion-feature-video,
  .creative-message-video {
    object-fit: cover !important;
    object-position: center !important;
  }

  .motion-feature-title,
  .creative-message-title {
    font-size: clamp(1.9rem, 9.4vw, 3.1rem) !important;
    line-height: 0.98 !important;
  }

  #portfolio .section-title,
  #podcasts .section-title,
  #team .section-title,
  #legal .section-title {
    font-size: clamp(1.9rem, 9vw, 3rem) !important;
    line-height: 1 !important;
  }

  #portfolio > .wrapper > .pillars-grid {
    grid-template-columns: 1fr !important;
    gap: 0.9rem !important;
  }

  #portfolio .video-card,
  #portfolio .video-card:nth-child(n) {
    grid-column: 1 !important;
    aspect-ratio: 16 / 10 !important;
  }

  #portfolio .video-card img {
    width: calc(100% - 0.8rem) !important;
    height: calc(100% - 0.8rem) !important;
    max-width: calc(100% - 0.8rem) !important;
    max-height: calc(100% - 0.8rem) !important;
  }

  #podcasts .podcast-card {
    flex-basis: min(88vw, 390px) !important;
  }

  #team .team-caption,
  #team .team-grid .team-card:nth-child(n) .team-caption {
    min-height: 5.8rem !important;
    padding: 3.4rem 0.65rem 0.65rem !important;
  }

  #team .team-name,
  #team .team-grid .team-card:nth-child(n) .team-name {
    font-size: clamp(0.59rem, 2.7vw, 0.72rem) !important;
  }

  #team .team-title,
  #team .team-grid .team-card:nth-child(n) .team-title {
    font-size: clamp(0.5rem, 2.28vw, 0.62rem) !important;
    letter-spacing: 0.08em !important;
  }
}

@media (max-width: 350px) {
  #team > .wrapper > .team-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (orientation: landscape) and (max-height: 560px) and (pointer: coarse) {
  .hero {
    min-height: 660px !important;
  }

  .nav-links {
    max-height: calc(100dvh - 5.7rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg-video,
  .bl-section-video,
  .motion-feature-video {
    display: none !important;
  }

  .hero-cinema {
    background: #06070a var(--bl-hero-poster, none) center / cover no-repeat !important;
  }

  .bl-section-media {
    background-image: var(--bl-section-poster, none) !important;
  }
}

@media (max-width: 820px), (hover: none), (pointer: coarse) {
  .who-split,
  #portfolio,
  #podcasts,
  #team {
    transform: none !important;
    opacity: 1 !important;
  }
}

.hero-bg-video,
.bl-section-video,
.motion-feature-video {
  pointer-events: none;
}
