
/* ==========================================================
   V7 OVERLAP + CONTRAST FIXES
   ========================================================== */

/* 1) Redesign THE REAL OPERATING GAP layout to eliminate overlap */
#problem .gap-theatre{
  min-height: auto;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
  margin-top: 12px;
}
#problem .gap-core,
#problem .gap-node{
  position: relative;
  width: auto;
  transform: none !important;
}
#problem .gap-core{
  grid-column: 5 / span 4;
  grid-row: 1 / span 2;
  min-height: 410px;
  height: auto;
  border-radius: 34px;
  border: 1px solid rgba(141,226,255,.20);
  background:
    radial-gradient(circle at 50% 22%, rgba(141,226,255,.18), transparent 38%),
    linear-gradient(180deg, rgba(11,37,84,.92) 0%, rgba(7,24,51,.98) 100%);
  box-shadow: 0 28px 60px rgba(0,0,0,.24);
  padding: 28px;
}
#problem .gap-core::before{
  display: none;
}
#problem .gap-core > div{
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 22px;
  border-radius: 26px;
  border: 1px dashed rgba(141,226,255,.18);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
}
#problem .gap-core strong{
  font-size: clamp(34px, 3.2vw, 48px);
  line-height: .95;
  letter-spacing: -.04em;
  text-align: center;
}
#problem .gap-core span{
  margin-top: 14px;
  color: #dff7ff;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: .16em;
  text-align: center;
}
#problem .gap-core .icon{
  margin-bottom: 18px;
}
#problem .gap-node{
  min-height: 230px;
  padding: 28px 26px;
  border-radius: 30px;
  border: 1px solid rgba(141,226,255,.14);
  background: linear-gradient(180deg, rgba(20,45,87,.88) 0%, rgba(7,24,51,.96) 100%);
  box-shadow: 0 20px 44px rgba(0,0,0,.16);
}
#problem .gap-node > span{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(141,226,255,.10);
  color: #8de2ff;
  font-size: 18px;
}
#problem .gap-node h3{
  margin: 18px 0 12px;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.04;
}
#problem .gap-node p{
  font-size: 15px;
  line-height: 1.75;
  color: #c1d5e6;
}
#problem .gap-1{ grid-column: 1 / span 4; grid-row: 1; top:auto; left:auto; }
#problem .gap-2{ grid-column: 9 / span 4; grid-row: 1; top:auto; right:auto; }
#problem .gap-3{ grid-column: 1 / span 4; grid-row: 2; left:auto; bottom:auto; }
#problem .gap-4{ grid-column: 9 / span 4; grid-row: 2; right:auto; bottom:auto; }
#problem .gap-5{ grid-column: 4 / span 6; grid-row: 3; left:auto; bottom:auto; justify-self: center; max-width: 620px; }
#problem .punchline{ margin-top: 26px; }

/* 2) Redesign owner role orbit to eliminate collision / awkward spacing */
#owner-role .owner-orbit{
  min-height: auto;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
  margin-top: 8px;
}
#owner-role .owner-core,
#owner-role .owner-spoke{
  position: relative;
  width: auto;
}
#owner-role .owner-core{
  grid-column: 5 / span 4;
  grid-row: 1 / span 2;
  height: auto;
  min-height: 360px;
  border-radius: 34px;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 18%, rgba(141,226,255,.22), transparent 36%),
    linear-gradient(180deg, #0b2554 0%, #123a7a 100%);
  box-shadow: 0 28px 56px rgba(10,38,84,.22);
}
#owner-role .owner-core > div{
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 26px;
  border-radius: 28px;
  border: 1px dashed rgba(141,226,255,.24);
  text-align: center;
}
#owner-role .owner-core strong{
  font-size: clamp(34px, 3.2vw, 50px);
  line-height: .96;
  letter-spacing: -.04em;
}
#owner-role .owner-core span{
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: .18em;
  color: #dff7ff;
}
#owner-role .owner-spoke{
  min-height: 220px;
  padding: 30px 26px;
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #f3f8ff 100%);
  border: 1px solid rgba(10,38,84,.10);
  box-shadow: 0 18px 40px rgba(7,24,51,.08);
}
#owner-role .owner-spoke > span{
  position: absolute;
  right: 20px;
  top: 16px;
  color: #0a63c7;
  font-size: 28px;
  background: rgba(10,99,199,.08);
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
}
#owner-role .owner-spoke h3{
  margin: 58px 0 12px;
  font-size: clamp(24px, 2.3vw, 34px);
  line-height: 1.05;
}
#owner-role .owner-spoke p{
  font-size: 15px;
  line-height: 1.75;
  color: #49627c;
}
#owner-role .spoke-1{ grid-column: 1 / span 4; grid-row: 1; top:auto; left:auto; }
#owner-role .spoke-2{ grid-column: 9 / span 4; grid-row: 1; top:auto; right:auto; }
#owner-role .spoke-3{ grid-column: 1 / span 4; grid-row: 2; bottom:auto; left:auto; }
#owner-role .spoke-4{ grid-column: 9 / span 4; grid-row: 2; bottom:auto; right:auto; }
#owner-role .owner-finale{ margin-top: 26px; }

/* 3) Fix top-right/right-side white-on-white text in apply section */
#apply .apply-stage{
  color: #071833;
}
#apply .apply-stage .apply-card{
  background: #ffffff;
  border: 1px solid rgba(10,38,84,.10);
  box-shadow: 0 12px 28px rgba(7,24,51,.06);
}
#apply .apply-stage .apply-card small{
  color: #53bfe8 !important;
  font-size: 11px;
  letter-spacing: .16em;
}
#apply .apply-stage .apply-card strong{
  color: #071833 !important;
  font-size: clamp(26px, 2.2vw, 36px);
  line-height: 1.04;
}
#apply .apply-stage .apply-card p{
  color: #617a92 !important;
  font-size: 15px;
  line-height: 1.75;
}
#apply .apply-stage .final-note{
  color: #dff7ff;
  font-size: 13px;
  text-transform: none;
  letter-spacing: .01em;
}

/* 4) Keep these layouts responsive after desktop redesign */
@media (max-width: 1250px){
  #problem .gap-theatre,
  #owner-role .owner-orbit{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  #problem .gap-core,
  #owner-role .owner-core{
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 280px;
  }
  #problem .gap-1,
  #problem .gap-2,
  #problem .gap-3,
  #problem .gap-4,
  #problem .gap-5,
  #owner-role .spoke-1,
  #owner-role .spoke-2,
  #owner-role .spoke-3,
  #owner-role .spoke-4{
    grid-column: auto;
    grid-row: auto;
    max-width: none;
    justify-self: stretch;
  }
}
@media (max-width: 760px){
  #problem .gap-theatre,
  #owner-role .owner-orbit{
    grid-template-columns: 1fr;
  }
  #problem .gap-core,
  #owner-role .owner-core{
    min-height: 240px;
  }
  #problem .gap-node,
  #owner-role .owner-spoke{
    min-height: auto;
    padding: 24px 20px;
  }
}
