/* Team page targeted refinements only */
.page-banner{overflow:hidden}
.page-banner .banner-lineart{
  right:0;
  bottom:-8px;
  width:650px;
  height:320px;
  background-image:url('../images/industrial-line-cropped.svg');
  background-position:right bottom;
  background-size:100% auto;
  background-repeat:no-repeat;
  opacity:.78;
}
.page-banner:after{z-index:3}

.eyebrow.no-dash::before{display:none}

/* Hero breadcrumb accent */
.page-banner .breadcrumbs span{
  color:var(--red);
}

/* Work-with eyebrow refresh */
.work-with .eyebrow.light{
  display:inline-flex;
  align-items:center;
  padding:8px 14px;
  border-radius:999px;
  background:rgba(217,10,18,.08);
  border:1px solid rgba(217,10,18,.14);
  color:var(--red);
  font:700 .8rem/1 var(--head);
  letter-spacing:.12em;
  text-transform:uppercase;
}
.work-with .eyebrow.light::before{
  display:none;
}


.team-founder .founder-photo{
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 18px 46px rgba(0,30,20,.08);
}
.team-founder .founder-photo::after{display:none}
.team-founder .founder-photo img{
  width:100%;
  height:760px;
  object-fit:cover;
  object-position:center 14%;
}

.team-founder .credential-grid{
  gap:14px;
  margin-top:18px;
}
.team-founder .credential-grid span{
  min-height:90px;
  padding:18px 18px 16px;
  border-radius:10px;
  border-left-width:4px;
  box-shadow:0 8px 22px rgba(0,30,20,.04);
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.team-founder .credential-grid small{
  margin-top:7px;
  font-size:.8rem;
}

.team-members-section .section-head{
  max-width:840px;
  margin:0 auto 34px;
}
.team-member-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:28px;
}
.team-member-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 10px 30px rgba(0,30,20,.04);
  transition:transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.team-member-card:hover{
  transform:translateY(-8px);
  box-shadow:0 18px 36px rgba(0,30,20,.08);
  border-color:#d6e4dc;
}
.team-member-photo{
  position:relative;
  aspect-ratio:1/.84;
  overflow:hidden;
  background:#eef3ef;
}
.team-member-photo::after{
  content:"";
  position:absolute;
  top:0;
  right:0;
  width:110px;
  height:110px;
  background:#10161b;
  clip-path:polygon(100% 0, 34% 0, 100% 100%);
  z-index:2;
}
.team-member-card:nth-child(3n+1) .team-member-photo::after{background:var(--red)}
.team-member-card:nth-child(3n+2) .team-member-photo::after{background:var(--green)}
.team-member-card:nth-child(3n+3) .team-member-photo::after{background:#10161b}
.team-member-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center top;
  display:block;
}
.team-member-copy{
  padding:16px 20px 18px;
  text-align:center;
}
.team-member-copy h3{
  margin:0 0 6px;
  font:700 1.6rem/1 var(--head);
  text-transform:uppercase;
  color:#13191d;
}
.team-member-copy span{
  display:block;
  color:var(--green);
  font:700 .88rem/1.2 var(--head);
  letter-spacing:.08em;
  text-transform:uppercase;
}



.work-with{
  background:transparent;
  padding:56px 0 56px;
}
.work-with .work-grid{
  position:relative;
  overflow:hidden;
  align-items:center;
  justify-content:space-between;
  gap:36px;
  padding:48px 54px;
  border-radius:28px;
  background:linear-gradient(135deg,#ffffff 0%, #f7faf8 100%);
  border:1px solid #e1ebe5;
  box-shadow:0 22px 56px rgba(0,30,20,.07);
}
.work-with .work-grid::before{
  content:"";
  position:absolute;
  width:340px;
  height:340px;
  right:-120px;
  top:-150px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(0,93,55,.12),rgba(0,93,55,0) 68%);
}
.work-with .work-grid::after{
  content:"";
  position:absolute;
  width:260px;
  height:260px;
  left:-90px;
  bottom:-150px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(217,10,18,.09),rgba(217,10,18,0) 68%);
}
.work-with .work-grid > div{position:relative;z-index:2}
.work-with .work-grid > div:first-child{max-width:650px}
.work-with .eyebrow.light{
  color:var(--red);
}
.work-with .eyebrow.light::before{background:var(--green)}
.work-with h2{
  margin:14px 0 16px;
  color:#10161b;
}
.work-with h2 span{color:var(--green)}
.work-with p{
  color:#55625f;
  max-width:52ch;
  margin:0;
}
.work-with .work-grid > div:last-child{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:14px;
  flex-wrap:wrap;
}
.work-with .btn-white{
  background:var(--red);
  border-color:var(--red);
  color:#fff;
  box-shadow:0 12px 28px rgba(160,0,10,.18);
}
.work-with .btn-white:hover{
  background:#b70910;
  border-color:#b70910;
  color:#fff;
}
.work-with .btn-outline-light{
  border:1px solid #cbd8d2;
  color:#0f171d;
  background:#fff;
}
.work-with .btn-outline-light:hover{
  border-color:var(--green);
  color:var(--green);
  background:#fff;
}

@media (max-width:860px){
  .page-banner .banner-lineart{
    width:470px;
    height:250px;
    right:-18px;
    bottom:-8px;
    opacity:.58;
  }
  .team-founder .founder-photo img{height:660px}
  .team-member-grid{grid-template-columns:repeat(2,1fr);gap:22px}
  .work-with .work-grid{padding:38px 32px;border-radius:24px}
  .work-with .work-grid > div:first-child{max-width:none}
  .work-with .work-grid > div:last-child{justify-content:flex-start}
}

@media (max-width:620px){
  .page-banner .banner-lineart{
    width:365px;
    height:198px;
    right:-36px;
    bottom:-8px;
    opacity:.4;
  }
  .team-founder .founder-photo img{height:500px;object-position:center 10%}
  .team-founder .credential-grid span{min-height:78px;padding:16px}
  .team-member-grid{grid-template-columns:1fr;gap:18px}
  .team-member-copy h3{font-size:1.42rem}
  .team-member-photo{aspect-ratio:1/.9}
  .work-with{padding:32px 0 32px}
  .work-with .work-grid{padding:28px 22px;border-radius:20px}
  .work-with .work-grid > div:last-child{width:100%}
  .work-with .work-grid > div:last-child .btn{width:100%;justify-content:center}
}
