/* Kingdom Atmosphere — Christianverse landing composition polish v1
   Surgical landing-page override only. Preserves the existing visual system. */

/* Visitor intent: exploration stays visually primary; registration remains available. */
.cv-nav-actions .cv-pill.primary{
  background:rgba(255,255,255,.9);
  border-color:rgba(45,57,75,.13);
  color:var(--cv-ink);
  box-shadow:0 8px 24px rgba(31,43,62,.07);
}
.cv-nav-actions .cv-pill.primary span{color:#a87525}
.cv-copy-actions .cv-pill.primary{
  background:#14243c;
  border-color:#14243c;
  color:#fff;
  box-shadow:0 12px 32px rgba(20,36,60,.2);
}

/* Keep the discovery row in the first viewport without compressing the hero. */
.cv-paths{margin-top:-74px}

/* Desktop / laptop composition pass. */
@media (min-width:1181px){
  .cv-hero{min-height:760px}
  .cv-hero-grid{
    grid-template-columns:minmax(510px,.92fr) minmax(620px,1.22fr);
    gap:6px;
    min-height:660px;
  }
  .cv-copy{
    max-width:555px;
    padding:48px 0 82px 25px;
  }
  .cv-copy h1{
    font-size:clamp(3.6rem,5.55vw,6.35rem);
    line-height:.89;
  }
  .cv-copy p{max-width:500px}
  .cv-copy-actions{margin-top:21px}
  .cv-stats{margin-top:26px}
  .cv-scripture{margin-top:25px}

  /* Give the headline clean ownership of the left column. */
  .cv-universe{
    height:620px;
    margin-right:0;
    transform:translateX(54px) scale(.94);
    transform-origin:center center;
  }
  .cv-node.academy{--x:18%;--y:23%}
  .cv-node.church{--x:11%;--y:61%}
  .cv-node.library{--x:31%;--y:86%}
  .cv-node.prayer{--x:76%;--y:86%}
  .cv-node.messenger{--x:90%;--y:61%}

  /* Keep the scroll cue clear of the Library orbit node. */
  .cv-scroll{bottom:33px;left:52.5%}
}

/* Common laptop widths: slightly tighter without letting orbit nodes invade copy. */
@media (min-width:1181px) and (max-width:1500px){
  .cv-shell,.cv-nav{width:min(1420px,calc(100% - 34px))}
  .cv-hero-grid{grid-template-columns:minmax(485px,.9fr) minmax(590px,1.18fr)}
  .cv-copy{max-width:525px;padding-left:20px}
  .cv-copy h1{font-size:clamp(3.7rem,5.35vw,5.75rem)}
  .cv-universe{transform:translateX(40px) scale(.91)}
  .cv-node.academy{--x:19%;--y:23%}
  .cv-node.library{--x:32%;--y:85%}
  .cv-scroll{left:52%;bottom:30px}
}

/* Very wide screens can breathe without over-enlarging the orbital system. */
@media (min-width:1700px){
  .cv-copy{max-width:585px}
  .cv-universe{transform:translateX(62px) scale(.96)}
}

/* Preserve existing tablet/mobile stacking; only soften the overlap created by the raised cards. */
@media (max-width:1180px){
  .cv-paths{margin-top:-44px}
}

@media (max-width:760px){
  .cv-paths{margin-top:-18px}
  .cv-nav-actions .cv-pill.primary{
    background:#14243c;
    border-color:#14243c;
    color:#fff;
  }
}


/* Real Kingdom-city hero artwork. The left veil protects headline contrast; the
   right side stays visible behind the Christianverse navigation. */
.cv-architecture::before{
  content:"";
  position:absolute;
  inset:68px 0 0;
  background:
    linear-gradient(90deg,rgba(255,255,255,.96) 0%,rgba(255,255,255,.78) 32%,rgba(255,255,255,.18) 58%,rgba(255,255,255,.04) 100%),
    linear-gradient(180deg,rgba(238,247,255,.10) 0%,rgba(255,250,240,.10) 68%,rgba(248,243,232,.72) 100%),
    url('../img/index/kingdom-city-gold-v1.webp') 58% top/cover no-repeat;
  opacity:.66;
}
.cv-city{opacity:.12}

@media(max-width:900px){
  .cv-architecture::before{
    inset:62px 0 0;
    background:
      linear-gradient(180deg,rgba(255,255,255,.9) 0 30%,rgba(255,255,255,.38) 54%,rgba(248,243,232,.72) 100%),
      url('../img/index/kingdom-city-gold-v1.webp') 68% top/auto 72% no-repeat;
    opacity:.54;
  }
}

@media(max-width:620px){
  .cv-architecture::before{
    background:
      linear-gradient(180deg,rgba(255,255,255,.94) 0 34%,rgba(255,255,255,.45) 58%,rgba(248,243,232,.8) 100%),
      url('../img/index/kingdom-city-gold-v1.webp') 70% 29%/auto 44% no-repeat;
    opacity:.5;
  }
}


/* Academy-owned teacher doorway: visible without becoming another hero module. */
.cv-teacher-nav{color:#8b611f!important}
.cv-teacher-door{
  width:min(980px,calc(100% - 42px));
  min-height:62px;
  margin:14px auto 0;
  padding:12px 16px 12px 19px;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:14px;
  border:1px solid rgba(185,133,45,.2);
  border-radius:16px;
  background:rgba(255,253,248,.84);
  box-shadow:0 12px 34px rgba(47,57,74,.06);
  backdrop-filter:blur(16px);
}
.cv-teacher-door span{font-family:var(--cv-serif);font-size:1rem;color:#23344a}
.cv-teacher-door small{color:#6a7688;font-size:.7rem;line-height:1.35}
.cv-teacher-door b{color:#94651d;font-size:.72rem;white-space:nowrap}
.cv-teacher-door:hover{border-color:rgba(185,133,45,.46);box-shadow:0 16px 40px rgba(47,57,74,.09)}
@media(max-width:1180px){.cv-nav-center{gap:14px}.cv-nav-center a{font-size:.76rem}}
@media(max-width:700px){.cv-teacher-door{width:min(100% - 22px,650px);grid-template-columns:1fr;padding:15px 17px;gap:4px}.cv-teacher-door b{margin-top:5px}}

@media(max-width:620px){
  .cv-nav-actions .cv-pill:not(.primary){display:inline-flex;min-height:40px;padding-inline:11px;font-size:.7rem}
  .cv-nav-actions{gap:6px}
  .cv-pill.primary{min-height:40px;padding-inline:11px;font-size:.7rem}
}
