/* The homepage sections continue the globe's light, spacious visual language. */
.page-home .logo-marquee { border: 0; }
.page-home .logo-marquee--partners { background: linear-gradient(180deg, #f2f7ff, #eef6ff 25%, #eef6ff); }

.home-about,
.home-services,
.home-projects {
  position: relative;
  isolation: isolate;
  scroll-margin-top: 82px;
}

.home-about {
  overflow: hidden;
  padding-block: clamp(86px, 10vw, 148px);
  background: linear-gradient(180deg, #eef6ff, #f7fbff 22%, #fff);
}

.home-about::before,
.home-services::before,
.home-projects::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.home-about::before {
  background: radial-gradient(circle at 88% 32%, rgba(108, 181, 250, .16), transparent 38%);
}

.home-about__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(50px, 7vw, 100px);
}

.home-about__copy { max-width: 650px; }

.home-about .eyebrow,
.home-services .eyebrow,
.home-projects .eyebrow {
  margin-bottom: 20px;
  color: #2373c2;
  font-size: .71rem;
  letter-spacing: .2em;
}

.home-about h2,
.home-services h2,
.home-projects h2 {
  margin-bottom: 25px;
  color: #153354;
  font-size: clamp(3.1rem, 5.3vw, 5.5rem);
  line-height: 1.06;
  letter-spacing: -.065em;
  text-wrap: balance;
}

.home-about h2 em,
.home-services h2 em,
.home-projects h2 em {
  color: #0873df;
  font-style: normal;
}

.home-about__copy p:not(.eyebrow) {
  max-width: 570px;
  color: #62788e;
  font-size: 1.02rem;
  line-height: 1.8;
}

.home-about__copy .home-about__lead {
  color: #304d69 !important;
  font-size: clamp(1.13rem, 1.45vw, 1.35rem) !important;
  line-height: 1.65 !important;
}

.home-about__link {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  min-height: 50px;
  margin-top: 19px;
  padding-bottom: 10px;
  border-bottom: 1px solid #93b9de;
  color: #165d9f;
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
  transition: gap .25s ease, border-color .25s ease;
}

.home-about__link:hover { gap: 40px; border-color: #0873df; }
.home-about__link span { font-size: 1.28em; }

.home-about__visual { min-width: 0; }
.home-about__image-frame {
  position: relative;
  height: clamp(350px, 39vw, 515px);
  overflow: hidden;
  border: 1px solid rgba(55, 128, 195, .24);
  border-radius: 5px;
  background: #c9d9e8;
  box-shadow: 0 30px 75px rgba(26, 72, 117, .14);
}

.home-about__image-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(210, 235, 255, .18), transparent 43%, rgba(7, 61, 117, .16));
  pointer-events: none;
}

.home-about__image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: translate3d(0, var(--parallax-y, 0px), 0) scale(1.08);
  will-change: transform;
}

.home-about__visual-orbit {
  position: absolute;
  right: -19%;
  bottom: -31%;
  z-index: 1;
  width: 78%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 50%;
  box-shadow: 0 0 0 35px rgba(255, 255, 255, .065), 0 0 0 75px rgba(255, 255, 255, .045);
  pointer-events: none;
}

.home-services__showcase-foot,
.home-project__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  color: #65819b;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .15em;
}

.home-services {
  overflow: clip;
  padding-block: clamp(90px, 10vw, 138px) clamp(96px, 10vw, 145px);
  background: linear-gradient(180deg, #fff 0%, #fff 74%, #eef7f6 100%);
}

.home-services::before {
  background: radial-gradient(circle at 1% 76%, rgba(136, 202, 245, .12), transparent 34%);
}

.home-services__heading,
.home-projects__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 55px;
  margin-bottom: clamp(45px, 5vw, 74px);
}

.home-services__heading > div,
.home-projects__heading > div { flex: 1 1 auto; }
.home-services__heading h2,
.home-projects__heading h2 { margin-bottom: 0; }

.home-services__heading > p,
.home-projects__heading > p {
  flex: 0 1 320px;
  margin-bottom: 7px;
  color: #62788e;
  font-size: 1.04rem;
  line-height: 1.7;
}

.home-services__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr);
  align-items: start;
  gap: clamp(42px, 6vw, 84px);
}

.home-services__index { grid-column: 1; grid-row: 1; border-top: 1px solid #c7d9e9; }
.home-services__item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  min-width: 0;
  padding: 24px 4px 25px 0;
  border-bottom: 1px solid #c7d9e9;
  transition: padding-left .3s ease, background .3s ease;
}

.home-services__item.is-active { padding-left: 10px; background: linear-gradient(90deg, rgba(232, 244, 255, .78), transparent 78%); }
.home-services__item-copy h3 { margin: 0 0 7px; font-size: clamp(1.14rem, 1.6vw, 1.46rem); }

.home-services__trigger {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #244563;
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: color .25s ease;
}

.home-services__trigger:hover,
.home-services__trigger[aria-pressed="true"] { color: #0873df; }
.home-services__trigger span { color: #1c73c3; font-size: .9em; transition: transform .25s ease; }
.home-services__trigger:hover span { transform: translate(3px, -3px); }
.home-services__item-copy p { max-width: 590px; margin: 0; color: #657b90; font-size: .92rem; line-height: 1.65; }

.home-services__showcase { position: sticky; top: 116px; grid-column: 2; grid-row: 1; min-width: 0; }
.home-services__media {
  position: relative;
  width: 100%;
  height: clamp(385px, 36vw, 510px);
  overflow: hidden;
  border: 1px solid rgba(42, 104, 160, .17);
  border-radius: 5px;
  background: #cee1ef;
  box-shadow: 0 26px 65px rgba(32, 81, 130, .13);
}

.home-services__visual {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .55s cubic-bezier(.2, .8, .2, 1), visibility 0s .55s;
}

.home-services__visual.is-active { opacity: 1; visibility: visible; transition: opacity .55s cubic-bezier(.2, .8, .2, 1), visibility 0s; }
.home-services__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 49%, rgba(7, 31, 59, .79));
}

.home-services__visual img { width: 100%; height: 100%; object-fit: cover; }
.home-services__visual-name { position: absolute; z-index: 1; color: white; }
.home-services__visual-name { right: 25px; bottom: 27px; left: 25px; font-size: clamp(1.8rem, 3vw, 2.7rem); font-weight: 700; line-height: 1.08; letter-spacing: -.05em; }

.home-services__showcase-foot { justify-content: flex-start; margin-top: 19px; }
.home-services__showcase-foot a {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  min-height: 46px;
  padding: 10px 17px;
  border: 1px solid #0873df;
  border-radius: 3px;
  background: #0873df;
  color: white;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}
.home-services__showcase-foot a:hover { background: #0753ae; transform: translateY(-2px); }
.home-services__showcase-foot a span { font-size: 1.2em; }

.home-projects {
  overflow: hidden;
  padding-block: clamp(95px, 10vw, 140px) clamp(105px, 11vw, 158px);
  background: linear-gradient(180deg, #eef7f6, #f7fbff 24%, #f7fbff);
}

.home-projects::before {
  background: radial-gradient(circle at 88% 62%, rgba(108, 181, 250, .12), transparent 37%);
}

.home-projects__list { display: grid; gap: clamp(40px, 5vw, 72px); }
.home-project { min-width: 0; }
.home-project__link {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr);
  min-height: 460px;
  overflow: hidden;
  border: 1px solid #d2e1ef;
  border-radius: 5px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 25px 65px rgba(34, 82, 126, .075);
  transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}

.home-project__link:hover,
.home-project__link:focus-visible {
  border-color: #7eb6e9;
  box-shadow: 0 30px 75px rgba(34, 82, 126, .14);
  transform: translateY(-3px);
}

.home-project:nth-child(even) .home-project__media { order: 2; }
.home-project__media { position: relative; min-height: 390px; overflow: hidden; background: #c3d9ea; }
.home-project__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(11, 70, 124, .12), transparent 55%, rgba(5, 40, 83, .16)); pointer-events: none; }
.home-project__media img { width: 100%; height: 100%; object-fit: cover; transform: translate3d(0, var(--parallax-y, 0px), 0) scale(1.08); will-change: transform; }
.home-project__copy { display: flex; min-width: 0; flex-direction: column; justify-content: center; padding: clamp(32px, 4.2vw, 62px); }
.home-project__meta { padding-bottom: 31px; margin-bottom: auto; border-bottom: 1px solid #e0eaf3; }
.home-project__client { margin: 35px 0 10px; color: #1b75be; font-size: .79rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.home-project__copy h3 { max-width: 520px; margin-bottom: 19px; color: #173656; font-size: clamp(2rem, 3vw, 3.1rem); line-height: 1.1; letter-spacing: -.055em; text-wrap: balance; }
.home-project__summary { max-width: 530px; margin-bottom: 30px; color: #62788e; font-size: .98rem; line-height: 1.75; }
.home-project__cta { display: inline-flex; align-items: center; align-self: flex-start; gap: 25px; padding-bottom: 8px; border-bottom: 1px solid #83b5df; color: #1469b1; font-size: .85rem; font-weight: 700; transition: gap .25s ease; }
.home-project__link:hover .home-project__cta { gap: 34px; }

.home-projects__all { display: inline-flex; gap: 15px; align-items: center; min-height: 46px; margin-top: 42px; color: #1768ad; font-size: .86rem; font-weight: 700; text-decoration-color: #a4c6e6; text-underline-offset: 6px; }
.home-projects__all:hover { color: #0753ae; }

.home-about__link:focus-visible,
.home-services__trigger:focus-visible,
.home-services__showcase-foot a:focus-visible,
.home-project__link:focus-visible,
.home-projects__all:focus-visible { outline: 3px solid #ffb342; outline-offset: 5px; }

@media (max-width: 980px) {
  .home-about__layout { gap: 40px; }
  .home-about h2, .home-services h2, .home-projects h2 { font-size: clamp(2.9rem, 5.4vw, 4.6rem); }
  .home-services__layout { grid-template-columns: minmax(0, 1fr) minmax(290px, .85fr); gap: 35px; }
  .home-services__media { height: 400px; }
  .home-project__copy { padding: 36px; }
  .home-project__copy h3 { font-size: clamp(1.85rem, 3vw, 2.65rem); }
}

@media (max-width: 740px) {
  .home-about, .home-services, .home-projects { scroll-margin-top: 72px; }
  .home-about { padding-block: 76px 83px; }
  .home-services { padding-block: 80px 88px; }
  .home-projects { padding-block: 80px 95px; }
  .home-about__layout { grid-template-columns: 1fr; }
  .home-services__layout { display: flex; flex-direction: column; align-items: stretch; }
  .home-about__layout { gap: 38px; }
  .home-about h2, .home-services h2, .home-projects h2 { font-size: clamp(2.8rem, 9vw, 4.1rem); }
  .home-about__image-frame { height: clamp(280px, 70vw, 430px); }
  .home-services__heading, .home-projects__heading { display: block; margin-bottom: 39px; }
  .home-services__heading > p, .home-projects__heading > p { max-width: 440px; margin: 23px 0 0; }
  .home-services__showcase { position: sticky; top: 72px; z-index: 3; padding: 0 0 13px; background: #fff; }
  .home-services__media { height: clamp(185px, 34vw, 245px); }
  .home-services__index { width: 100%; }
  .home-project__link { grid-template-columns: 1fr; }
  .home-project:nth-child(even) .home-project__media { order: 0; }
  .home-project__media { min-height: 0; height: clamp(240px, 55vw, 370px); }
  .home-project__copy { min-height: 370px; }
}

@media (max-width: 480px) {
  .home-about .eyebrow, .home-services .eyebrow, .home-projects .eyebrow { font-size: .63rem; }
  .home-about h2, .home-services h2, .home-projects h2 { font-size: clamp(2.55rem, 10.5vw, 3.35rem); }
  .home-project__meta { font-size: .56rem; letter-spacing: .1em; }
  .home-services__item { grid-template-columns: 1fr; padding-block: 20px; }
  .home-services__item-copy p { font-size: .88rem; }
  .home-services__layout { gap: 30px; }
  .home-services__media { height: 165px; }
  .home-projects__list { gap: 27px; }
  .home-project__copy { min-height: 0; padding: 26px 23px 32px; }
  .home-project__meta { padding-bottom: 20px; }
  .home-project__client { margin-top: 25px; }
  .home-project__copy h3 { font-size: clamp(1.9rem, 8vw, 2.45rem); }
  .home-project__summary { font-size: .91rem; }
}

@media (max-width: 740px) and (max-height: 600px) {
  .home-services__showcase { position: static; }
}

@media (prefers-reduced-motion: reduce) {
  .home-about__image-frame img,
  .home-project__media img { transform: scale(1.08) !important; will-change: auto; }
  .home-about__link,
  .home-services__item,
  .home-services__trigger,
  .home-services__trigger span,
  .home-project__link,
  .home-project__cta,
  .home-services__visual { transition: none !important; }
}
