/* Expertise pages: editorial layout shared by the six E2S trades. */
.expertise-page {
  background: #f4f8fb;
  color: #0a2741;
}

.expertise-page main {
  overflow: hidden;
}

.expertise-hero {
  position: relative;
  min-height: 810px;
  display: flex;
  align-items: stretch;
  color: #fff;
  background: #061c2e;
  isolation: isolate;
}

.expertise-hero-media,
.expertise-hero-shade {
  position: absolute;
  inset: 0;
}

.expertise-hero-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--expertise-hero-position, center);
  transform: scale(1.015);
  animation: expertiseHeroReveal 1.4s cubic-bezier(.2,.75,.25,1) both;
}

.expertise-hero-shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(2, 19, 32, .95) 0%, rgba(2, 24, 41, .82) 42%, rgba(2, 24, 41, .26) 72%, rgba(2, 24, 41, .14) 100%),
    linear-gradient(0deg, rgba(2, 18, 31, .72) 0%, transparent 46%);
}

.expertise-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: center;
  padding-top: 150px;
  padding-bottom: 190px;
}

.expertise-hero-copy {
  max-width: 790px;
  animation: expertiseCopyReveal 1s .15s cubic-bezier(.2,.75,.25,1) both;
}

.expertise-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, .62);
  font-size: 13px;
  font-weight: 600;
}

.expertise-breadcrumb a {
  color: rgba(255, 255, 255, .82);
}

.expertise-breadcrumb a:hover {
  color: #ffc126;
}

.expertise-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #ffc126;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
}

.expertise-kicker::before {
  content: "";
  width: 30px;
  height: 2px;
  background: currentColor;
}

.expertise-hero h1 {
  max-width: 820px;
  margin: 20px 0 24px;
  color: #fff;
  font-size: clamp(46px, 5.2vw, 76px);
  line-height: .99;
  font-weight: 700;
  letter-spacing: 0;
}

.expertise-hero h1 em {
  color: #ffc126;
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
}

.expertise-hero-lead {
  max-width: 670px;
  margin: 0;
  color: rgba(255, 255, 255, .82);
  font-size: 19px;
  line-height: 1.65;
}

.expertise-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.expertise-page .btn-quiet-light {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .34);
  background: rgba(4, 22, 36, .18);
}

.expertise-page .btn-quiet-light:hover {
  color: #082139;
  border-color: #fff;
  background: #fff;
}

.expertise-hero-facts {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  border-top: 1px solid rgba(255, 255, 255, .18);
  background: rgba(4, 22, 36, .44);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.expertise-facts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.expertise-fact {
  min-height: 118px;
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 24px 34px;
  border-left: 1px solid rgba(255, 255, 255, .16);
}

.expertise-fact:first-child {
  border-left: 0;
}

.expertise-fact strong {
  color: #fff;
  font-size: 20px;
  line-height: 1.2;
}

.expertise-fact span {
  color: rgba(255, 255, 255, .66);
  font-size: 13px;
}

.expertise-intro {
  position: relative;
  padding: 118px 0 126px;
  background: #fff;
}

.expertise-intro::after {
  content: attr(data-mark);
  position: absolute;
  right: -24px;
  bottom: -74px;
  color: rgba(6, 63, 105, .035);
  font-size: 250px;
  line-height: 1;
  font-weight: 800;
  pointer-events: none;
}

.expertise-intro-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr);
  align-items: center;
  gap: clamp(62px, 7vw, 116px);
}

.expertise-intro-visual {
  position: relative;
  margin: 0;
}

.expertise-intro-visual::before {
  content: "";
  position: absolute;
  top: 28px;
  right: -22px;
  bottom: -22px;
  left: 32px;
  border: 1px solid rgba(232, 160, 32, .38);
  border-radius: 6px;
}

.expertise-intro-visual img {
  position: relative;
  width: 100%;
  height: 620px;
  display: block;
  object-fit: cover;
  object-position: var(--expertise-intro-position, center);
  border-radius: 6px;
  box-shadow: 0 30px 70px rgba(7, 36, 59, .16);
  transition: transform .8s cubic-bezier(.2,.75,.25,1), box-shadow .8s ease;
}

.expertise-intro-visual:hover img {
  transform: translateY(-8px);
  box-shadow: 0 38px 90px rgba(7, 36, 59, .22);
}

.expertise-visual-caption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  max-width: 260px;
  padding: 17px 20px;
  color: #fff;
  border-left: 3px solid #ffc126;
  background: rgba(3, 27, 47, .88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 13px;
  line-height: 1.5;
}

.expertise-section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #c47d00;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
}

.expertise-section-kicker::before {
  content: "";
  width: 30px;
  height: 2px;
  background: #efa61d;
}

.expertise-intro-copy h2,
.expertise-uses-copy h2,
.expertise-cta h2 {
  margin: 20px 0 22px;
  color: #092b47;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.04;
  letter-spacing: 0;
}

.expertise-intro-copy > p,
.expertise-uses-copy > p {
  color: #5b7186;
  font-size: 17px;
  line-height: 1.75;
}

.expertise-benefits {
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #dbe5ec;
}

.expertise-benefits li {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 21px 0;
  border-bottom: 1px solid #dbe5ec;
  transition: padding-left .35s ease;
}

.expertise-benefits li:hover {
  padding-left: 8px;
}

.expertise-benefits b {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #a86800;
  border: 1px solid rgba(232, 160, 32, .46);
  border-radius: 50%;
  font-size: 12px;
}

.expertise-benefits strong {
  display: block;
  margin-bottom: 5px;
  color: #092b47;
  font-size: 18px;
}

.expertise-benefits span {
  display: block;
  color: #6d8092;
  font-size: 14px;
  line-height: 1.55;
}

.expertise-process {
  position: relative;
  padding: 106px 0 112px;
  color: #fff;
  background: #06233a;
}

.expertise-process::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 36%;
  height: 100%;
  opacity: .18;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 44px 44px;
}

.expertise-process-head {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(360px, 1.2fr);
  align-items: end;
  gap: 70px;
}

.expertise-process .expertise-section-kicker {
  color: #ffc126;
}

.expertise-process h2 {
  max-width: 720px;
  margin: 18px 0 0;
  color: #fff;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.04;
}

.expertise-process-head > p {
  margin: 0;
  color: rgba(255, 255, 255, .68);
  font-size: 17px;
  line-height: 1.7;
}

.expertise-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 70px;
  border-top: 1px solid rgba(255, 255, 255, .22);
}

.expertise-step {
  position: relative;
  min-height: 210px;
  padding: 42px 30px 0;
  border-left: 1px solid rgba(255, 255, 255, .16);
  transition: background .35s ease, transform .35s ease;
}

.expertise-step:first-child {
  border-left: 0;
}

.expertise-step::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 30px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffc126;
  box-shadow: 0 0 0 7px rgba(255, 193, 38, .12);
}

.expertise-step:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, .04);
}

.expertise-step span {
  color: #ffc126;
  font-size: 12px;
  font-weight: 800;
}

.expertise-step h3 {
  margin: 14px 0 10px;
  color: #fff;
  font-size: 20px;
}

.expertise-step p {
  color: rgba(255, 255, 255, .62);
  font-size: 14px;
  line-height: 1.65;
}

.expertise-uses {
  padding: 122px 0 130px;
  background: #eef5fa;
}

.expertise-uses-grid {
  display: grid;
  grid-template-columns: minmax(360px, .82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(64px, 7vw, 118px);
}

.expertise-use-list {
  margin-top: 36px;
  border-top: 1px solid #cfdce6;
}

.expertise-use {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 16px;
  min-height: 86px;
  border-bottom: 1px solid #cfdce6;
  transition: padding .35s ease, color .35s ease;
}

.expertise-use:hover {
  padding: 0 12px;
}

.expertise-use span:first-child {
  color: #c47d00;
  font-size: 12px;
  font-weight: 800;
}

.expertise-use strong {
  color: #092b47;
  font-size: 18px;
}

.expertise-use svg {
  width: 18px;
  height: 18px;
  color: #d58a0a;
  transition: transform .35s ease;
}

.expertise-use:hover svg {
  transform: translateX(6px);
}

.expertise-uses-visual {
  position: relative;
  min-height: 660px;
  margin: 0;
}

.expertise-uses-visual img {
  position: absolute;
  display: block;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 28px 70px rgba(7, 36, 59, .16);
  transition: transform .7s cubic-bezier(.2,.75,.25,1);
}

.expertise-uses-visual .expertise-image-main {
  top: 0;
  right: 0;
  width: 84%;
  height: 560px;
}

.expertise-uses-visual .expertise-image-detail {
  bottom: 0;
  left: 0;
  width: 49%;
  height: 290px;
  border: 9px solid #eef5fa;
}

.expertise-uses-visual:hover .expertise-image-main {
  transform: translateY(-8px);
}

.expertise-uses-visual:hover .expertise-image-detail {
  transform: translate(8px, -6px);
}

.expertise-cta {
  position: relative;
  padding: 76px 0 84px;
  color: #0a2741;
  border-top: 1px solid #dbe7ef;
  border-bottom: 1px solid #dbe7ef;
  background: #eef5fa;
}

.expertise-cta-inner {
  display: grid;
  grid-template-columns: minmax(300px, .84fr) minmax(0, 1.16fr);
  align-items: center;
  gap: clamp(42px, 5.4vw, 84px);
}

.expertise-cta-media {
  position: relative;
  overflow: hidden;
  height: clamp(300px, 28vw, 390px);
  margin: 0;
  border-radius: 6px;
  background: #dce7ef;
  box-shadow: 0 22px 55px rgba(9, 43, 71, .12);
}

.expertise-cta-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.2, .72, .25, 1);
}

.expertise-cta-inner:hover .expertise-cta-media img {
  transform: scale(1.035);
}

.expertise-cta-copy {
  max-width: 700px;
}

.expertise-cta h2 {
  max-width: 680px;
  margin: 14px 0 18px;
  color: #0a2741;
  font-size: clamp(34px, 3.5vw, 50px);
  line-height: 1.06;
}

.expertise-cta-copy > p:not(.expertise-cta-note) {
  max-width: 660px;
  margin: 0;
  color: #607790;
  font-size: 17px;
  line-height: 1.7;
}

.expertise-cta-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 28px;
}

.expertise-cta-actions .btn {
  min-height: 54px;
  padding-inline: 26px;
}

.expertise-cta-phone {
  display: grid;
  gap: 3px;
  padding-left: 22px;
  border-left: 1px solid #c9d8e3;
  color: #0a2741;
  line-height: 1.15;
}

.expertise-cta-phone span {
  color: #6b8196;
  font-size: 12px;
  font-weight: 600;
}

.expertise-cta-phone strong {
  font-size: 17px;
  font-weight: 800;
}

.expertise-cta-phone:hover {
  color: #bc7900;
}

.expertise-cta-note {
  margin: 17px 0 0;
  color: #73889a;
  font-size: 12px;
  font-weight: 600;
}

.expertise-page .footer-grid > div:not(:first-child) > a {
  display: block;
  padding: 7px 0;
  color: var(--slate-400);
  font-size: 14px;
  transition: color .16s ease;
}

.expertise-page .footer-grid > div:not(:first-child) > a:hover {
  color: var(--gold);
}

@keyframes expertiseHeroReveal {
  from { opacity: 0; transform: scale(1.08); }
  to { opacity: 1; transform: scale(1.015); }
}

@keyframes expertiseCopyReveal {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1080px) {
  .expertise-hero {
    min-height: 780px;
  }

  .expertise-hero-inner {
    padding-bottom: 210px;
  }

  .expertise-intro-grid,
  .expertise-uses-grid {
    grid-template-columns: 1fr;
  }

  .expertise-intro-visual {
    max-width: 780px;
  }

  .expertise-intro-visual img {
    height: 560px;
  }

  .expertise-process-head {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .expertise-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .expertise-step:nth-child(3) {
    border-left: 0;
  }

  .expertise-step:nth-child(n+3) {
    border-top: 1px solid rgba(255, 255, 255, .16);
  }

  .expertise-uses-copy {
    max-width: 760px;
  }

  .expertise-uses-visual {
    max-width: 820px;
  }

  .expertise-cta-inner {
    grid-template-columns: minmax(280px, .82fr) minmax(0, 1.18fr);
    gap: 40px;
  }

  .expertise-cta-actions {
    gap: 16px;
  }
}

@media (max-width: 760px) {
  .expertise-hero {
    min-height: 790px;
  }

  .expertise-hero-media {
    object-position: var(--expertise-hero-mobile-position, 60% center);
  }

  .expertise-hero-shade {
    background:
      linear-gradient(90deg, rgba(2, 19, 32, .94), rgba(2, 23, 39, .62)),
      linear-gradient(0deg, rgba(2, 18, 31, .82), transparent 46%);
  }

  .expertise-hero-inner {
    align-items: flex-start;
    padding-top: 150px;
    padding-bottom: 260px;
  }

  .expertise-breadcrumb {
    margin-bottom: 22px;
  }

  .expertise-hero h1 {
    font-size: 43px;
  }

  .expertise-hero-lead {
    font-size: 16px;
  }

  .expertise-hero-actions .btn {
    width: 100%;
  }

  .expertise-facts-grid {
    grid-template-columns: 1fr;
  }

  .expertise-fact {
    min-height: auto;
    grid-template-columns: minmax(0, .72fr) 1fr;
    align-items: center;
    gap: 12px;
    padding: 13px 24px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    border-left: 0;
  }

  .expertise-fact:first-child {
    border-top: 0;
  }

  .expertise-fact strong {
    font-size: 16px;
  }

  .expertise-intro,
  .expertise-uses,
  .expertise-process,
  .expertise-cta {
    padding-top: 78px;
    padding-bottom: 82px;
  }

  .expertise-intro-grid,
  .expertise-uses-grid {
    gap: 54px;
  }

  .expertise-intro-copy h2,
  .expertise-uses-copy h2,
  .expertise-process h2,
  .expertise-cta h2 {
    font-size: 37px;
  }

  .expertise-intro-copy > p,
  .expertise-uses-copy > p,
  .expertise-process-head > p,
  .expertise-cta p {
    font-size: 16px;
  }

  .expertise-intro-visual::before {
    top: 16px;
    right: -10px;
    bottom: -12px;
    left: 18px;
  }

  .expertise-intro-visual img {
    height: 440px;
  }

  .expertise-visual-caption {
    right: 12px;
    bottom: 12px;
    left: 12px;
    max-width: none;
  }

  .expertise-steps {
    grid-template-columns: 1fr;
  }

  .expertise-step,
  .expertise-step:nth-child(3) {
    min-height: auto;
    padding: 38px 20px 30px;
    border-top: 1px solid rgba(255, 255, 255, .16);
    border-left: 0;
  }

  .expertise-steps .expertise-step:first-child {
    border-top: 0;
  }

  .expertise-step::before {
    left: 20px;
  }

  .expertise-uses-visual {
    min-height: 500px;
  }

  .expertise-uses-visual .expertise-image-main {
    width: 92%;
    height: 410px;
  }

  .expertise-uses-visual .expertise-image-detail {
    width: 58%;
    height: 210px;
    border-width: 6px;
  }

  .expertise-cta-inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .expertise-cta-media {
    height: 290px;
  }

  .expertise-cta-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .expertise-cta-actions .btn {
    width: 100%;
  }

  .expertise-cta-phone {
    padding: 14px 0 0;
    border-top: 1px solid #c9d8e3;
    border-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .expertise-hero-media,
  .expertise-hero-copy {
    animation: none;
  }

  .expertise-intro-visual img,
  .expertise-step,
  .expertise-use,
  .expertise-uses-visual img,
  .expertise-cta-media img {
    transition: none;
  }
}

.expertise-related-projects {
  padding: clamp(84px, 9vw, 132px) 0;
  background: #f4f8fb;
  border-top: 1px solid rgba(12, 49, 75, .08);
}

.expertise-related-head {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: flex-end;
  margin: 14px 0 42px;
}

.expertise-related-head h2 {
  max-width: 780px;
  margin: 0;
  color: var(--night);
  font-size: clamp(38px, 5vw, 68px);
  line-height: .98;
  letter-spacing: -.045em;
}

.expertise-related-head > a {
  flex: 0 0 auto;
  color: var(--night);
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
  border-bottom: 1px solid rgba(11, 48, 74, .26);
  padding: 9px 0;
  transition: color .2s ease, border-color .2s ease;
}

.expertise-related-head > a:hover {
  color: #bd7900;
  border-color: #bd7900;
}

.expertise-related-projects .work-grid {
  margin-top: 0;
}

@media (max-width: 760px) {
  .expertise-related-head {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 30px;
  }
}
