
/* TrueNorth Phase 16 — duplicate cleanup and stable layout */

/* Remove the Resources navigation underline without affecting other links. */
.resource-nav-link,
.resource-nav-link:hover,
.resource-nav-link:focus{
  text-decoration:none!important;
  border-bottom:0!important;
}
.resource-nav-link::after{
  display:none!important;
  content:none!important;
}

/* One isolated homepage hero. No legacy hero, premium-hero or landscape-message-hero classes. */
.stable-home-hero{
  min-height:700px;
  display:grid;
  grid-template-columns:minmax(580px,.95fr) minmax(620px,1.05fr);
  position:relative;
  overflow:hidden;
  background:var(--ivory);
  border-bottom:1px solid rgba(189,138,56,.22);
}

.stable-home-hero .hero-content{
  position:relative;
  z-index:2;
  display:flex;
  flex-direction:column;
  justify-content:center;
  max-width:none;
  padding:76px clamp(45px,6vw,96px);
  background:
    radial-gradient(circle at 92% 15%,rgba(232,208,167,.27),transparent 25%),
    linear-gradient(135deg,#fffdf8 0%,#fbf8f1 73%,#f4ecdf 100%);
}

.stable-home-hero .premium-message{max-width:820px}

.stable-home-hero h1{
  display:flex;
  flex-direction:column;
  gap:4px;
  margin:0;
  font-size:clamp(53px,5.6vw,86px);
  line-height:.94;
  letter-spacing:-2.2px;
}

.stable-home-hero .message-line{display:block}
.stable-home-hero .message-dark{color:var(--green-dark)}
.stable-home-hero .message-gold{color:var(--gold)}

.stable-home-hero .message-rule{
  display:block;
  width:72px;
  height:2px;
  margin-top:25px;
  background:linear-gradient(90deg,var(--gold),rgba(189,138,56,.18));
}

.stable-home-hero .hero-copy{
  max-width:720px;
  margin:26px 0 28px;
  font-size:18px;
  line-height:1.65;
}

.stable-home-hero .hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:15px;
}

.stable-home-hero .btn{
  min-height:54px;
  padding:14px 25px;
}

.stable-home-hero .trust-line{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:0;
  margin-top:23px;
  letter-spacing:1.35px;
}

.stable-home-hero .trust-line span{
  display:inline-flex;
  align-items:center;
}

.stable-home-hero .trust-line span:not(:last-child)::after{
  content:"";
  width:4px;
  height:4px;
  margin:0 13px;
  border-radius:50%;
  background:var(--gold);
}

.stable-home-hero .landscape-first-visual{
  position:relative;
  min-height:700px;
  overflow:hidden;
  background:#b59055;
}

.stable-home-hero .landscape-first-visual::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:2;
  pointer-events:none;
  background:linear-gradient(90deg,var(--ivory) 0%,rgba(251,248,241,.2) 7%,transparent 20%);
}

.stable-home-hero .landscape-first-visual::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:
    linear-gradient(180deg,rgba(255,248,232,.05),transparent 35%),
    linear-gradient(0deg,rgba(5,32,24,.16),transparent 35%);
}

.stable-home-hero .landscape-first-visual img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  filter:saturate(1.08) contrast(1.07);
  transform:scale(1.01);
  transition:transform .7s ease;
}

.stable-home-hero:hover .landscape-first-visual img{
  transform:scale(1.045);
}

.stable-home-hero .landscape-hero-caption{
  position:absolute;
  z-index:3;
  right:6%;
  bottom:6%;
  max-width:430px;
  padding:17px 21px;
  border:1px solid rgba(232,208,167,.62);
  border-bottom:4px solid var(--gold);
  border-radius:10px 10px 4px 4px;
  background:linear-gradient(135deg,rgba(8,42,33,.94),rgba(18,70,54,.9));
  color:white;
  box-shadow:0 18px 50px rgba(5,29,23,.34);
  backdrop-filter:blur(8px);
}

.stable-home-hero .landscape-hero-caption span{
  display:block;
  color:var(--gold-light);
  font-size:10px;
  font-weight:800;
  letter-spacing:2px;
}

.stable-home-hero .landscape-hero-caption strong{
  display:block;
  margin-top:4px;
  font:600 24px "Cormorant Garamond",serif;
  line-height:1.05;
}

/* Exactly two deliberate lines for the Resource Library check heading. */
.resource-check-heading-v16{
  display:flex!important;
  flex-direction:column;
  max-width:18ch!important;
  font-size:clamp(34px,4vw,50px)!important;
  line-height:1.02!important;
}
.resource-check-heading-v16 span{
  display:block;
  white-space:nowrap;
}

/* Keep the remaining Why Clients Choose section clean and contained. */
.homepage-conversion-section{
  margin-top:0!important;
}

/* Medium and mobile */
@media(max-width:1160px){
  .stable-home-hero{
    grid-template-columns:minmax(500px,.98fr) minmax(520px,1.02fr);
  }
  .stable-home-hero h1{
    font-size:clamp(50px,5.6vw,76px);
  }
}

@media(max-width:1050px){
  .stable-home-hero{
    grid-template-columns:1fr;
  }
  .stable-home-hero .hero-content{
    padding:72px 7% 58px;
  }
  .stable-home-hero .landscape-first-visual{
    min-height:560px;
  }
}

@media(max-width:680px){
  .stable-home-hero .hero-content{
    padding:62px 6% 48px;
  }
  .stable-home-hero h1{
    font-size:clamp(46px,13vw,62px);
    letter-spacing:-1.6px;
  }
  .stable-home-hero .hero-copy{
    font-size:16px;
  }
  .stable-home-hero .hero-actions{
    display:grid;
  }
  .stable-home-hero .landscape-first-visual{
    min-height:410px;
  }
  .stable-home-hero .landscape-hero-caption{
    left:5%;
    right:5%;
    bottom:5%;
    max-width:none;
  }
  .resource-check-heading-v16{
    max-width:none!important;
    font-size:clamp(31px,9vw,42px)!important;
  }
  .resource-check-heading-v16 span{
    white-space:normal;
  }
}
