/* Hero and first content section overrides for the Tahiru V1 homepage. */

:root {
  --page-graphite: #08090c;
  --page-graphite-soft: #111216;
  --page-graphite-panel: #151b2b;
  --site-wide: min(1460px, calc(100vw - 160px));
}

html,
body {
  min-height: 100% !important;
  background: #08090c !important;
}

body {
  background: linear-gradient(180deg, #000 0 560px, #15161a 560px, #111216 880px, #08090c 100%) !important;
}

body::before,
body::after,
.page-glow,
.block-field {
  display: none !important;
}

.site-shell {
  width: 100vw !important;
  max-width: none !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: 0 !important;
  background: #000 !important;
}

.site-header {
  width: var(--site-wide) !important;
  max-width: var(--site-wide) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  background: #000 !important;
}

.site-header::before {
  background: #000 !important;
}

.site-header .brand {
  justify-self: start !important;
  display: inline-flex !important;
  align-items: center !important;
  width: 158px !important;
  max-width: 158px !important;
  min-width: 158px !important;
  height: 40px !important;
  overflow: hidden !important;
  background: #000 !important;
  transform: translateX(24px) !important;
}

.site-header .brand-logo,
.site-header .brand img.brand-logo {
  display: block !important;
  width: 158px !important;
  min-width: 158px !important;
  max-width: 158px !important;
  height: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;
  object-fit: contain !important;
  object-position: left center !important;
  background: #000 !important;
  mix-blend-mode: screen !important;
}

.site-header .nav-links {
  justify-self: center !important;
}

.site-header .header-actions {
  justify-self: end !important;
  transform: translateX(-24px) !important;
}

main {
  width: 100vw !important;
  max-width: none !important;
  min-height: 100vh !important;
  margin-left: 0 !important;
  background: #0e0f12 !important;
}

main > section:not(.hero):not(.problem),
.site-footer {
  display: none !important;
}

.hero {
  position: relative !important;
  width: 100vw !important;
  min-height: 560px !important;
  margin-left: 0 !important;
  padding: 48px max(80px, calc((100vw - 1460px) / 2)) 0 !important;
  overflow: hidden !important;
  background: #000 !important;
  isolation: isolate !important;
}

.hero::before {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  width: 100% !important;
  content: "" !important;
  background: #000 !important;
  transform: none !important;
}

.hero::after {
  display: none !important;
  content: none !important;
}

.hero-copy {
  position: relative !important;
  z-index: 4 !important;
  max-width: 520px !important;
  margin-left: clamp(116px, 9vw, 184px) !important;
  transform: translateY(6px) !important;
}

.hero-copy .eyebrow {
  margin-bottom: 18px !important;
  line-height: 1.25 !important;
  overflow: visible !important;
}

.hero-copy h1 {
  max-width: 500px !important;
  font-size: clamp(2.35rem, 3.45vw, 3.75rem) !important;
  font-weight: 560 !important;
  line-height: 1.08 !important;
  letter-spacing: 0 !important;
}

.hero-text {
  max-width: 385px !important;
  font-size: 1.08rem !important;
}

.hero-actions .btn {
  font-weight: 560 !important;
}

.hero-video-layer {
  position: absolute !important;
  bottom: 0 !important;
  z-index: 1 !important;
  min-height: 0 !important;
  overflow: hidden !important;
  background: transparent !important;
  pointer-events: none !important;
  filter: none !important;
  box-shadow: none !important;
}

.hero-video-layer::before,
.hero-video-layer::after {
  display: none !important;
  content: none !important;
}

.hero-video-layer video {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: -2px !important;
  top: auto !important;
  display: block !important;
  width: 100% !important;
  height: calc(100% + 4px) !important;
  object-fit: contain !important;
  opacity: 0.96 !important;
  background: transparent !important;
  mix-blend-mode: screen !important;
}

.hero-video-left {
  left: 0 !important;
  right: auto !important;
  width: 36vw !important;
  height: 242px !important;
  overflow: hidden !important;
}

.hero-video-left video {
  right: auto !important;
  object-position: left bottom !important;
}

.hero-video-right {
  left: auto !important;
  right: 0 !important;
  width: 70vw !important;
  height: 410px !important;
  overflow: hidden !important;
}

.hero-video-right video {
  object-position: right bottom !important;
}

.problem {
  position: relative !important;
  display: block !important;
  width: 100vw !important;
  min-height: 1060px !important;
  margin: 0 !important;
  padding: 96px max(32px, calc((100vw - 1280px) / 2)) 128px !important;
  overflow: hidden !important;
  background: linear-gradient(180deg, #0e0f12 0%, #0c1116 45%, #151b2b 100%) !important;
  isolation: isolate !important;
}

.problem::before {
  position: absolute !important;
  top: 140px !important;
  left: 0 !important;
  right: 0 !important;
  z-index: -2 !important;
  display: block !important;
  width: 100vw !important;
  aspect-ratio: 1989 / 795 !important;
  content: "" !important;
  background: url("spiral-2.png") center center / 100% 100% no-repeat !important;
  opacity: 0.98 !important;
  filter: saturate(1.3) contrast(1.08) brightness(1.03) !important;
  transform: none !important;
}

.problem::after {
  position: absolute !important;
  inset: 0 !important;
  z-index: -1 !important;
  display: block !important;
  content: "" !important;
  pointer-events: none !important;
  background: linear-gradient(180deg, rgba(14, 15, 18, 0.66) 0%, rgba(14, 15, 18, 0.1) 38%, rgba(12, 17, 22, 0.16) 70%, rgba(21, 27, 43, 0.68) 100%) !important;
}

.problem-heading {
  width: min(760px, 100%) !important;
  margin: 0 auto 0 !important;
  text-align: center !important;
}

.problem-heading .eyebrow {
  margin-bottom: 18px !important;
  color: #f5c96a !important;
  font-size: 0.74rem !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  letter-spacing: 0.16em !important;
}

.problem-heading h2 {
  margin: 0 auto 20px !important;
  max-width: 680px !important;
  color: #f8fafc !important;
  font-size: clamp(2.15rem, 3.05vw, 3.45rem) !important;
  font-weight: 500 !important;
  line-height: 1.1 !important;
  letter-spacing: 0 !important;
}

.problem-heading p {
  margin: 0 auto !important;
  max-width: 720px !important;
  color: rgba(221, 228, 236, 0.72) !important;
  font-size: 1.08rem !important;
  font-weight: 400 !important;
  line-height: 1.62 !important;
}

.problem-grid {
  position: relative !important;
  z-index: 1 !important;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 22px !important;
  width: min(1260px, 100%) !important;
  margin: clamp(90px, 10vw, 142px) auto 0 !important;
}

.problem-grid article {
  position: relative !important;
  min-height: 318px !important;
  padding: 30px 28px 30px !important;
  overflow: hidden !important;
  border: 1px solid rgba(221, 228, 236, 0.15) !important;
  border-radius: 28px !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.045) 32%, rgba(0, 0, 0, 0.28) 100%),
    rgba(10, 14, 18, 0.42) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(255, 255, 255, 0.035),
    0 24px 70px rgba(0, 0, 0, 0.42) !important;
  backdrop-filter: blur(32px) saturate(1.28) !important;
}

.problem-grid article::before {
  position: absolute !important;
  inset: 0 !important;
  content: "" !important;
  pointer-events: none !important;
  background:
    radial-gradient(circle at 50% 0%, rgba(245, 201, 106, 0.14), transparent 32%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.11), transparent 30%, rgba(111, 168, 255, 0.035) 100%) !important;
  opacity: 0.72 !important;
}

.problem-grid article::after {
  position: absolute !important;
  inset: 1px !important;
  content: "" !important;
  pointer-events: none !important;
  border-radius: 27px !important;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.13), transparent 31%, rgba(255, 255, 255, 0.04) 84%) !important;
}

.problem-icon {
  position: relative !important;
  z-index: 1 !important;
  display: grid !important;
  width: 78px !important;
  height: 78px !important;
  margin: 0 auto 42px !important;
  place-items: center !important;
  border: 1px solid rgba(221, 228, 236, 0.17) !important;
  border-radius: 24px !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.035)),
    rgba(20, 22, 25, 0.7) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 18px 36px rgba(0, 0, 0, 0.35),
    0 0 42px rgba(245, 201, 106, 0.1) !important;
  font-size: 0 !important;
}

.problem-card-icon {
  display: block !important;
  width: 54px !important;
  height: 54px !important;
  object-fit: contain !important;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.28)) !important;
}

.problem-grid h3,
.problem-grid p {
  position: relative !important;
  z-index: 1 !important;
}

.problem-grid h3 {
  margin: 0 0 14px !important;
  color: #f8fafc !important;
  font-size: 1rem !important;
  font-weight: 560 !important;
  line-height: 1.22 !important;
}

.problem-grid p {
  margin: 0 !important;
  color: rgba(221, 228, 236, 0.7) !important;
  font-size: 0.9rem !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;
}

.problem-close {
  position: relative !important;
  z-index: 1 !important;
  width: min(720px, 100%) !important;
  margin: clamp(190px, 17vw, 310px) auto 0 !important;
  text-align: center !important;
}

.problem-close p {
  margin: 0 0 10px !important;
  color: #f5c96a !important;
  font-size: 0.76rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
}

.problem-close strong {
  display: block !important;
  color: #f8fafc !important;
  font-size: clamp(1.3rem, 2.05vw, 2rem) !important;
  font-weight: 500 !important;
  line-height: 1.18 !important;
}

@media (max-width: 1040px) {
  :root {
    --site-wide: min(100vw - 48px, 960px);
  }

  .site-header {
    width: var(--site-wide) !important;
    max-width: var(--site-wide) !important;
  }

  .site-header .brand {
    transform: translateX(8px) !important;
  }

  .site-header .header-actions {
    transform: translateX(-8px) !important;
  }

  .hero {
    min-height: 590px !important;
    padding: 44px 24px 0 !important;
  }

  .hero-copy {
    margin-left: clamp(54px, 8vw, 86px) !important;
  }

  .hero-copy h1 {
    font-size: clamp(2.25rem, 5.25vw, 3.35rem) !important;
  }

  .hero-video-left {
    width: 44vw !important;
    height: 236px !important;
  }

  .hero-video-right {
    width: 82vw !important;
    height: 380px !important;
  }

  .problem {
    min-height: auto !important;
    padding: 96px 24px 104px !important;
  }

  .problem::before {
    top: 156px !important;
    width: 138vw !important;
    left: -19vw !important;
    right: auto !important;
  }

  .problem-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    margin-top: 100px !important;
  }

  .problem-close {
    margin-top: 96px !important;
  }
}

@media (max-width: 640px) {
  :root {
    --site-wide: calc(100vw - 32px);
  }

  body {
    background: linear-gradient(180deg, #000 0 560px, #15161a 560px, #08090c 100%) !important;
  }

  main {
    min-height: 1000px !important;
  }

  .site-header .brand,
  .site-header .brand-logo,
  .site-header .brand img.brand-logo {
    width: 138px !important;
    min-width: 138px !important;
    max-width: 138px !important;
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
  }

  .site-header .brand,
  .site-header .header-actions {
    transform: none !important;
  }

  .hero {
    min-height: 590px !important;
    padding: 36px 16px 0 !important;
  }

  .hero-copy {
    margin-left: 28px !important;
  }

  .hero-copy h1 {
    font-size: 2.65rem !important;
  }

  .hero-video-left {
    width: 55vw !important;
    height: 190px !important;
  }

  .hero-video-right {
    width: 98vw !important;
    height: 295px !important;
  }

  .problem {
    padding: 74px 16px 82px !important;
  }

  .problem::before {
    top: 170px !important;
    left: -70vw !important;
    width: 240vw !important;
    opacity: 0.72 !important;
  }

  .problem-grid {
    grid-template-columns: 1fr !important;
    margin-top: 84px !important;
  }

  .problem-grid article {
    min-height: 290px !important;
  }

  .problem-close {
    margin-top: 76px !important;
  }
}
