/* BREVANOR P02 Services Overview — governed page composition */

.brevanor-services-page{
  width:100%;
  min-width:0;
  color:#2D3436;
}

.p02-services__inner{
  width:min(100%,1280px);
  min-width:0;
  margin-inline:auto;
  padding-inline:var(--brevanor-shell-inset);
  box-sizing:border-box;
}

.p02-services__hero,
.p02-services__perspectives,
.p02-services__services,
.p02-services__intent,
.p02-services__starting{
  width:100%;
  min-width:0;
  box-sizing:border-box;
  padding-block:80px;
}

.p02-services__hero{
  background:#0F3D63;
  padding-block:72px 88px;
}

.p02-services__hero-inner{
  display:grid;
  grid-template-columns:minmax(0,1.02fr) minmax(360px,.98fr);
  gap:64px;
  align-items:center;
}

.p02-services__hero-copy{
  min-width:0;
}

.p02-services__hero-heading{
  margin:0;
  max-width:15ch;
  color:#FFFFFF;
  font-family:var(--wp--preset--font-family--manrope);
  font-size:clamp(1.875rem,4.5vw,3.25rem);
  font-weight:700;
  line-height:1.1;
  letter-spacing:-.01em;
}

.p02-services__hero-copy-body{
  max-width:65ch;
  margin-top:28px;
}

.p02-services__hero-copy-body p{
  margin:0 0 20px;
  color:rgba(232,230,227,.65);
  font-size:16px;
  line-height:1.7;
}

.p02-services__hero-actions{
  margin-top:32px;
}

.p02-services__hero .brevanor-button--primary .brevanor-button__link,
.p02-services__cta .brevanor-button--primary .brevanor-button__link{
  color:#0F3D63;
  background:#FFFFFF;
  border-color:#FFFFFF;
}

.p02-services__hero .brevanor-button--primary:hover .brevanor-button__link,
.p02-services__hero .brevanor-button--primary:active .brevanor-button__link,
.p02-services__cta .brevanor-button--primary:hover .brevanor-button__link,
.p02-services__cta .brevanor-button--primary:active .brevanor-button__link{
  color:#0F3D63;
  background:#E8E6E3;
  border-color:#E8E6E3;
}

.p02-services__hero-artwork{
  min-width:0;
  display:flex;
  justify-content:flex-end;
  align-items:center;
}

.p02-services__hero-artwork figure{
  width:100%;
  max-width:600px;
  margin:0;
}

.p02-services__hero-artwork img{
  display:block;
  width:100%;
  height:auto;
  max-width:600px;
}

.p02-services__perspectives,
.p02-services__intent{
  background:#E8E6E3;
}

.p02-services__perspectives-inner{
  display:grid;
  grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);
  gap:72px;
  align-items:center;
}

.p02-services__section-heading{
  margin:0 0 32px;
  color:#0F3D63;
  font-family:var(--wp--preset--font-family--source-sans-3);
  font-size:clamp(1.75rem,3.5vw,2.5rem);
  font-weight:700;
  line-height:1.2;
  letter-spacing:-.01em;
}

.p02-services__perspectives-copy p,
.p02-services__intent-copy p{
  margin:0 0 20px;
  color:#2D3436;
  font-size:16px;
  line-height:1.7;
}

.p02-services__peer-visual{
  position:relative;
  min-width:0;
}

.p02-services__peer-grid{
  position:relative;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:40px;
  min-height:360px;
  align-items:center;
}

.p02-services__peer-grid::before,
.p02-services__peer-grid::after{
  content:"";
  position:absolute;
  z-index:0;
  pointer-events:none;
  background:rgba(15,61,99,.24);
}

.p02-services__peer-grid::before{
  left:12%;
  right:12%;
  top:50%;
  height:1px;
}

.p02-services__peer-grid::after{
  top:14%;
  bottom:14%;
  left:50%;
  width:1px;
}

.p02-services__peer-node{
  position:relative;
  z-index:1;
  min-height:132px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  box-sizing:border-box;
  border:1px solid rgba(15,61,99,.55);
  background:#E8E6E3;
  color:#2D3436;
  text-align:center;
  font-family:var(--wp--preset--font-family--source-sans-3);
  font-size:17px;
  font-weight:600;
  line-height:1.35;
}

.p02-services__services,
.p02-services__starting{
  background:#FFFFFF;
}

.p02-services__services .p02-services__section-heading,
.p02-services__starting .p02-services__section-heading{
  margin-bottom:16px;
}

.p02-services__intro{
  max-width:68ch;
  margin:0 0 40px;
  color:#2D3436;
  font-size:16px;
  line-height:1.7;
}

.p02-services__service-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px;
  width:100%;
  min-width:0;
}

.p02-services__service-grid .wp-block-brevanor-service-card{
  min-width:0;
  height:100%;
}

.p02-services__service-grid .brevanor-service-card{
  height:100%;
  border:1px solid rgba(15,61,99,.55);
  border-top:1px solid rgba(15,61,99,.55);
  box-shadow:none;
  transform:none;
}

.p02-services__service-grid .brevanor-service-card:hover{
  box-shadow:none;
  transform:none;
}

.p02-services__intent-copy{
  max-width:78ch;
}

.p02-services__intent-copy p{
  padding-left:20px;
  border-left:2px solid #C8A25A;
}

.p02-services__challenge-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px;
}

.p02-services__challenge-card{
  min-width:0;
  min-height:240px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:flex-start;
  box-sizing:border-box;
  padding:32px;
  border:1px solid rgba(15,61,99,.55);
  border-left:3px solid #0F3D63;
  background:#FFFFFF;
  color:#2D3436;
  text-decoration:none;
}

.p02-services__challenge-card:hover{
  background:#E8E6E3;
  color:#2D3436;
  border-left-color:#C8A25A;
}

.p02-services__challenge-card:focus-visible{
  outline:2px solid #0F3D63;
  outline-offset:2px;
}

.p02-services__challenge-card h3{
  margin:0 0 18px;
  color:#2D3436;
  font-family:var(--wp--preset--font-family--source-sans-3);
  font-size:24px;
  font-weight:700;
  line-height:1.25;
}

.p02-services__challenge-card p{
  margin:0;
  max-width:48ch;
  color:#2D3436;
  font-size:16px;
  line-height:1.65;
}

.p02-services__challenge-cta{
  margin-top:auto;
  padding-top:28px;
  color:#2D3436;
  font-family:var(--wp--preset--font-family--source-sans-3);
  font-size:14px;
  font-weight:600;
  line-height:1.3;
}

.p02-services__challenge-cta span{
  color:#C8A25A;
  font-size:18px;
}

.p02-services__hero .brevanor-button__link:focus-visible,
.p02-services__hero .wp-block-button__link:focus-visible{
  outline:2px solid #FFFFFF;
  outline-offset:2px;
  box-shadow:none;
}

.p02-services__services :where(a,button,input,select,textarea):focus-visible,
.p02-services__starting :where(a,button,input,select,textarea):focus-visible{
  outline:2px solid #0F3D63;
  outline-offset:2px;
  box-shadow:none;
}

@media (max-width:1023px){
  .p02-services__service-grid,
  .p02-services__challenge-grid{
    grid-template-columns:1fr;
  }

  .p02-services__perspectives-inner{
    grid-template-columns:1fr;
    gap:48px;
  }
}

@media (min-width:768px) and (max-width:1023px){
  .p02-services__hero-inner{
    grid-template-columns:minmax(0,1fr) minmax(280px,.8fr);
    gap:40px;
  }
}

@media (max-width:767px){
  .p02-services__hero,
  .p02-services__perspectives,
  .p02-services__services,
  .p02-services__intent,
  .p02-services__starting{
    padding-block:64px;
  }

  .p02-services__hero-inner{
    grid-template-columns:1fr;
    gap:40px;
  }

  .p02-services__hero{
    padding-block:56px 64px;
  }

  .p02-services__hero-artwork{
    justify-content:center;
  }

  .p02-services__hero-artwork figure,
  .p02-services__hero-artwork img{
    max-width:600px;
  }

  .p02-services__peer-grid{
    grid-template-columns:1fr;
    gap:16px;
    min-height:0;
  }

  .p02-services__peer-grid::before,
  .p02-services__peer-grid::after{
    display:none;
  }

  .p02-services__peer-node{
    min-height:96px;
  }

  .p02-services__challenge-card{
    min-height:220px;
  }
}

@media (max-width:599px){
  .p02-services__hero,
  .p02-services__perspectives,
  .p02-services__services,
  .p02-services__intent,
  .p02-services__starting{
    padding-block:48px;
  }

  .p02-services__hero{
    padding-block:40px 48px;
  }

  .p02-services__hero-actions{
    flex-direction:column;
    align-items:stretch;
  }

  .p02-services__hero-actions .wp-block-brevanor-button,
  .p02-services__hero-actions .brevanor-button__link{
    width:100%;
  }

  .p02-services__challenge-card{
    padding:24px;
  }
}

@media (prefers-reduced-motion:reduce){
  .brevanor-services-page{
    scroll-behavior:auto;
  }
}

/* P02 final CTA: override core alignfull 100vw geometry and use the content viewport. */
.brevanor-services-page .brevanor-cta-section.alignfull.p02-services__cta{
  width:100%;
  max-width:100%;
  margin-inline:0;
  box-sizing:border-box;
}

/* F3 — Figma parity: closing sentence is an editorial emphasis. */
.p02-services__intent-copy p:last-child{max-width:52ch;margin:32px auto 0;padding-left:0;border-left:0;color:#0F3D63;font-size:18px;font-weight:600;line-height:1.4;text-align:center;}

/* P02 "Our perspective" (Figma P02; Approver, 8 Oct 2026): an inset 960px column, the
   heading up to 560px, the copy in the "Gold rule" block style and a closing statement. */
.p02-services__intent .p02-services__inner{width:min(100%,960px)}
.p02-services__intent .p02-services__section-heading{max-width:560px;margin-bottom:40px}
