@import url("../styles.css");

.services-hub {
  --hub-blue: #3153d8;
}

.services-hub .header .nav a[href="./"] {
  color: var(--blue);
}

.hub-hero {
  padding: 52px 0 74px;
}

.hub-kicker {
  margin-bottom: 22px;
  color: var(--muted);
  font-family: var(--label-font);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.hub-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  gap: clamp(48px, 7vw, 110px);
  align-items: end;
  padding: 52px 0 38px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hub-hero h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(70px, 9vw, 142px);
  font-weight: 900;
  letter-spacing: -.075em;
  line-height: .92;
  text-transform: uppercase;
}

.hub-hero h1 em {
  display: block;
  color: var(--blue);
  font-family: var(--editorial-font);
  font-weight: 400;
  text-transform: none;
}

.hub-hero-copy {
  padding-bottom: 10px;
}

.hub-hero-copy p {
  margin: 0 0 18px;
  font-size: 21px;
  line-height: 1.5;
}

.hub-hero-copy .line-link {
  margin-top: 8px;
}

.hub-intro {
  padding: 118px 0 102px;
}

.hub-intro-grid {
  display: grid;
  grid-template-columns: minmax(150px,.35fr) minmax(0,1fr);
  gap: clamp(36px, 6vw, 105px);
}

.hub-intro-main h2 {
  max-width: 1050px;
  margin: 0;
  font-size: clamp(52px, 7vw, 104px);
  font-weight: 800;
  letter-spacing: -.065em;
  line-height: .98;
}

.hub-intro-main h2 em {
  color: var(--blue);
  font-family: var(--editorial-font);
  font-weight: 400;
}

.hub-intro-copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin-top: 42px;
  color: var(--muted);
}

.hub-intro-copy p {
  margin: 0;
  font-size: 20px;
  line-height: 1.58;
}

.hub-services {
  background: var(--white);
}

.hub-service {
  position: relative;
  min-height: 720px;
  border-top: 1px solid var(--line);
}

.hub-service:last-child {
  border-bottom: 1px solid var(--line);
}

.hub-service-inner {
  display: grid;
  min-height: 720px;
  grid-template-columns: 90px minmax(0,.82fr) minmax(420px,1.18fr);
  align-items: center;
  gap: clamp(28px,4vw,64px);
  padding: 62px 0;
}

.hub-service.is-reversed .hub-service-inner {
  grid-template-columns: 90px minmax(420px,1.18fr) minmax(0,.82fr);
}

.hub-service-number {
  align-self: start;
  padding-top: 18px;
  color: var(--blue);
  font-family: var(--editorial-font);
  font-size: 54px;
  font-style: italic;
  line-height: 1;
}

.hub-service-copy h2 {
  margin: 0 0 20px;
  font-size: clamp(52px, 6vw, 88px);
  font-weight: 800;
  letter-spacing: -.065em;
  line-height: .96;
}

.hub-service-copy .lead {
  max-width: 600px;
  margin: 0 0 18px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
}

.hub-service-copy .detail {
  max-width: 600px;
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.6;
}

.hub-service-visual {
  position: relative;
  height: 520px;
  overflow: hidden;
  background: var(--ice);
  clip-path: polygon(6% 0,100% 3%,95% 100%,0 96%);
}

.hub-service.is-reversed .hub-service-visual {
  grid-column: 2;
  grid-row: 1;
  clip-path: polygon(0 4%,94% 0,100% 96%,5% 100%);
}

.hub-service.is-reversed .hub-service-copy {
  grid-column: 3;
  grid-row: 1;
}

.hub-service-visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,transparent 55%,rgba(35,31,32,.28));
  content: "";
}

.hub-service-visual img {
  filter: grayscale(.2) contrast(1.04);
  transition: transform 520ms cubic-bezier(.2,.7,.2,1);
}

.hub-service:hover .hub-service-visual img {
  transform: scale(1.025);
}

.hub-bridge {
  padding: 126px 0;
  background: var(--ink);
  color: var(--paper);
}

.hub-bridge-grid {
  display: grid;
  grid-template-columns: .58fr 1.42fr;
  gap: clamp(40px,7vw,120px);
}

.hub-bridge .section-label {
  color: rgba(247,245,241,.56);
}

.hub-bridge h2 {
  max-width: 980px;
  margin: 0 0 36px;
  font-size: clamp(54px,7vw,104px);
  font-weight: 800;
  letter-spacing: -.065em;
  line-height: .98;
}

.hub-bridge h2 em {
  color: var(--ice);
  font-family: var(--editorial-font);
  font-weight: 400;
}

.hub-bridge-copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.hub-bridge-copy p {
  margin: 0;
  color: rgba(247,245,241,.76);
  font-size: 19px;
  line-height: 1.6;
}

.hub-contact {
  padding: 0 28px 28px;
}

.hub-contact-stage {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  border-radius: 40px;
  background: #c9c8c5;
}

.hub-contact-stage img {
  position: absolute;
  inset: 0;
  filter: grayscale(1) contrast(1.05);
}

.hub-contact-stage::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,rgba(247,245,241,.97),rgba(247,245,241,.82) 47%,rgba(247,245,241,.08) 82%);
  content: "";
}

.hub-contact-copy {
  position: relative;
  z-index: 2;
  width: min(760px,64%);
  padding: 96px 0 90px 6%;
}

.hub-contact-copy h2 {
  margin: 18px 0 26px;
  font-size: clamp(64px,8vw,120px);
  font-weight: 800;
  letter-spacing: -.075em;
  line-height: .95;
}

.hub-contact-copy h2 em {
  color: var(--blue);
  font-family: var(--editorial-font);
  font-weight: 400;
}

.hub-contact-copy p {
  max-width: 600px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.58;
}

@media (max-width: 1000px) {
  .hub-hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hub-hero-copy {
    max-width: 680px;
  }

  .hub-service-inner,
  .hub-service.is-reversed .hub-service-inner {
    grid-template-columns: 64px 1fr;
    gap: 22px 28px;
  }

  .hub-service-copy,
  .hub-service.is-reversed .hub-service-copy {
    grid-column: 2;
    grid-row: 1;
  }

  .hub-service-visual,
  .hub-service.is-reversed .hub-service-visual {
    height: 430px;
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .hub-service-inner {
    min-height: auto;
  }

  .hub-service {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .hub-hero {
    padding: 30px 0 54px;
  }

  .hub-kicker {
    margin-bottom: 14px;
  }

  .hub-hero-grid {
    padding: 34px 0 30px;
  }

  .hub-hero h1 {
    font-size: clamp(56px,14vw,86px);
    line-height: .96;
  }

  .hub-hero-copy p {
    font-size: 18px;
  }

  .hub-intro {
    padding: 60px 0 56px;
  }

  .hub-intro-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .hub-intro-main h2 {
    font-size: clamp(44px,11vw,68px);
  }

  .hub-intro-copy {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 28px;
  }

  .hub-intro-copy p {
    font-size: 18px;
  }

  .hub-service-inner,
  .hub-service.is-reversed .hub-service-inner {
    grid-template-columns: 42px 1fr;
    gap: 16px;
    padding: 34px 0 38px;
  }

  .hub-service-number {
    font-size: 38px;
  }

  .hub-service-copy h2 {
    font-size: clamp(40px,10vw,58px);
  }

  .hub-service-copy .lead {
    font-size: 20px;
  }

  .hub-service-copy .detail {
    font-size: 17px;
  }

  .hub-service-visual,
  .hub-service.is-reversed .hub-service-visual {
    height: min(76vw,360px);
    margin-top: 10px;
  }

  .hub-bridge {
    padding: 60px 0;
  }

  .hub-bridge-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hub-bridge h2 {
    font-size: clamp(44px,11vw,68px);
  }

  .hub-bridge-copy {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hub-bridge-copy p {
    font-size: 17px;
  }

  .hub-contact {
    padding: 0 12px 12px;
  }

  .hub-contact-stage {
    min-height: 710px;
    border-radius: 24px;
  }

  .hub-contact-stage::after {
    background: linear-gradient(180deg,rgba(247,245,241,.96),rgba(247,245,241,.84) 56%,rgba(247,245,241,.12));
  }

  .hub-contact-copy {
    width: 100%;
    padding: 52px 24px 104px;
  }

  .hub-contact-copy h2 {
    font-size: clamp(58px,13vw,88px);
  }

  .hub-contact-copy p {
    font-size: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hub-service-visual img {
    transition: none;
  }
}
