/* ===== Fonts (self-hosted, latin, variable) ===== */
@font-face {
  font-family: "Geist";
  src: url("../fonts/geist.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* ===== Tokens ===== */
:root {
  --red: #e9381c;
  --navy: #1d1e5d;
  --dark: #1f1f1f;
  --light: #f7f7f7;
  --white: #fff;
  --black: #000018;
  --bg: #fafafa;
  --ff-head: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ff-text: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1360px;
  --gutter: 40px;
  --header-h: 72px;
  --ease: cubic-bezier(.22, .61, .24, 1);
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-head);
  color: var(--dark);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, picture, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
body.menu-open { overflow: hidden; }
@media (min-width: 768px) { .only-mob { display: none !important; } }
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 30px;
  font-family: var(--ff-head);
  font-weight: 500;
  font-size: 17px;
  line-height: 1;
  white-space: nowrap;
  transition: background-color .25s, color .25s, transform .35s var(--ease), box-shadow .35s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .45); }
.btn:active { transform: translateY(0); box-shadow: none; transition-duration: .1s; }
.btn--red:hover, .btn--card:hover { box-shadow: 0 10px 24px -8px rgba(233, 56, 28, .55); }
.btn--red { background: var(--red); color: #fafafa; }
.btn--red:hover { background: #cf2e14; }
.btn--light { background: var(--light); color: var(--dark); }
.btn--light:hover { background: #e6e6e6; }
.btn--navy { background: var(--navy); color: var(--white); font-size: 16px; }
.btn--navy:hover { background: #2b2c80; }
.btn--black { background: var(--black); color: #fafafa; }
.btn--black:hover { background: #1d1e5d; }
.btn--card {
  background: rgba(233, 56, 28, .9);
  color: var(--white);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.btn--card:hover { background: var(--red); }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ===== Header ===== */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px var(--gutter);
  background: rgba(250, 250, 250, .7);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .45);
  transition: background-color .35s, box-shadow .35s;
  animation: header-in .8s var(--ease) backwards;
}
.header.is-scrolled {
  background: rgba(250, 250, 250, .9);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .45), 0 10px 30px -18px rgba(0, 0, 0, .35);
}
.header__logo img { width: 66px; height: 40px; }

.nav__list { position: relative; top: 1px; display: flex; align-items: center; gap: 40px; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-weight: 500;
  font-size: 17px;
  line-height: 20px;
  color: var(--dark);
  transition: color .2s;
}
.nav__link:hover, .nav__link.is-active { color: var(--red); }
.nav__link { position: relative; }
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease);
}
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__item--drop > .nav__link::after { right: 23px; }
.nav__chevron { width: 20px; height: 20px; transition: transform .2s; }

.nav__item--drop { position: relative; }
.nav__drop {
  position: absolute;
  top: 100%;
  left: -20px;
  min-width: 300px;
  margin-top: 26px;
  padding: 10px 0;
  background: rgba(250, 250, 250, .95);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.nav__drop::before { /* hover bridge */
  content: "";
  position: absolute;
  inset: -26px 0 100%;
}
.nav__drop a {
  display: block;
  padding: 10px 20px;
  font-size: 16px;
  line-height: 1.2;
  transition: color .2s;
}
.nav__drop a:hover { color: var(--red); }
.nav__item--drop:hover .nav__drop,
.nav__item--drop:focus-within .nav__drop { opacity: 1; visibility: visible; transform: none; }
.nav__item--drop:hover .nav__chevron { transform: rotate(180deg); }

.nav__cta-mobile, .burger { display: none; }

/* ===== Hero ===== */
.hero {
  position: relative;
  height: 810px;
  padding: 173px var(--gutter) 0;
  color: var(--white);
  background: #1a1a1a;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg, .hero__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}
.hero__bg img { object-fit: cover; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(0, 0, 0, .6);
}
.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero__title {
  max-width: 831px;
  font-weight: 500;
  font-size: 60px;
  line-height: 57px;
  letter-spacing: -1.8px;
}
.hero__text {
  max-width: 601px;
  margin-top: 39px;
  font-family: var(--ff-text);
  font-weight: 600;
  font-size: 22px;
  line-height: 26.4px;
}
.hero__btns { display: flex; gap: 20px; margin-top: 35px; }

.hero__tags {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 41px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.tag {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 30px;
  font-size: 16px;
  line-height: 1;
  letter-spacing: -.32px;
  color: var(--white);
  background: rgba(255, 255, 255, .1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  white-space: nowrap;
  transition: background-color .2s;
}
.tag:hover { background: rgba(255, 255, 255, .2); }

/* ===== Services ===== */
.services { padding: 131px 0 130px; }
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px 24px;
}
.services__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-bottom: 40px;
}
.services__title {
  font-weight: 600;
  font-size: 60px;
  line-height: 57px;
  letter-spacing: -1.2px;
  color: #000;
}
.services__text {
  max-width: 417px;
  margin-top: 40px;
  font-family: var(--ff-text);
  font-weight: 500;
  font-size: 20px;
  line-height: 26px;
  color: #000;
}
.services__text strong { font-weight: 600; }
.services__btn { margin-top: auto; }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 600px;
  padding: 40px 24px;
  color: var(--white);
  background: #2a2a2a;
  overflow: hidden;
  isolation: isolate;
}
.card:nth-child(-n+3) { padding: 40px 20px; }
.card__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.card:hover .card__img { transform: scale(1.04); }
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .8;
}
.card--drop::after { opacity: .75; }
.card--osp::after { background: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, .6) 78%); }
.card--fulfillment::after { background: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, .6) 70%); }
.card--drop::after { background: linear-gradient(to bottom, rgba(0, 0, 0, .5) 16%, rgba(0, 0, 0, 0) 50%, #000 100%); }
.card--fiber::after { background: linear-gradient(to bottom, rgba(0, 0, 0, .6) 21%, rgba(0, 0, 0, 0) 50%, #000 100%); }
.card--mdu::after { background: linear-gradient(to bottom, rgba(0, 0, 0, .6) 17%, rgba(0, 0, 0, 0) 50%, #000 100%); }
.card__title {
  max-width: 389.3px;
  font-weight: 500;
  font-size: 42px;
  line-height: 39.9px;
  letter-spacing: -.84px;
}
.card--mdu .card__title { margin-left: -4px; } /* as in the mockup */
.card__bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.card__text {
  max-width: 389.3px;
  font-family: var(--ff-text);
  font-weight: 600;
  font-size: 17px;
  line-height: 22.1px;
}

@media (max-width: 1199px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== Partners ===== */
.partners { padding-bottom: 130px; overflow: hidden; }
.partners__title {
  font-weight: 600;
  font-size: 60px;
  line-height: 57px;
  letter-spacing: -1.2px;
  text-align: center;
  color: #000;
}
.partners__viewport { margin-top: 49px; }
.partners__track {
  display: flex;
  width: max-content;
  margin-left: var(--gutter);
  animation: marquee 70s linear infinite;
}
.partners__viewport:hover .partners__track { animation-play-state: paused; }
.partners__list {
  display: flex;
  align-items: center;
  gap: 60px;
  height: 50px;
  padding-right: 60px;
}
.partners__list img { width: auto; height: var(--h); }
.partners__dots { display: none; }
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ===== Why choose ===== */
.why {
  position: relative;
  padding: 104px 0 112px;
  color: var(--white);
  background: #0f0f0f;
  overflow: hidden;
  isolation: isolate;
}
.why__bg, .why__bg img {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
}
.why__bg img { object-fit: cover; }
.why__title {
  font-weight: 600;
  font-size: 64px;
  line-height: 61px;
  letter-spacing: -1.28px;
  text-align: center;
}
.why__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 336.7px));
  justify-content: center;
  gap: 24px 80px;
  margin-top: 70px;
}
.why__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.why__icon { flex: none; width: 50px; height: 50px; color: var(--red); }
.why__item-title {
  margin-top: 24px;
  font-weight: 500;
  font-size: 26px;
  line-height: 29px;
}
.why__item--decade .why__item-title { max-width: 189px; }
.why__item--midwest .why__item-title { max-width: 218px; }
.why__item-text {
  margin-top: 14px;
  font-family: var(--ff-text);
  font-weight: 400;
  font-size: 16px;
  line-height: 21px; /* Figma rounds text box heights: 3 × 20.8 → 63 */
}
.why__item-title, .why__item-text { position: relative; top: 1px; } /* match Figma baseline */

@media (max-width: 1023px) {
  .why__list { grid-template-columns: repeat(2, minmax(0, 336.7px)); gap: 40px; }
}

/* ===== About ===== */
.about { padding: 130px 0; }
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 415px) minmax(0, 783px);
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}
.about__title {
  font-weight: 600;
  font-size: 60px;
  line-height: 57px;
  letter-spacing: -1.2px;
  color: #000;
}
.about__text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 60px;
  font-family: var(--ff-text);
  font-weight: 400;
  font-size: 17px;
  line-height: 22px; /* Figma rounds 3 × 22.1 → 66 */
  color: #000;
}
.about__text strong { font-weight: 600; }
.about__btn { margin-top: 30px; }
.about__img {
  width: 100%;
  height: auto;
  aspect-ratio: 783 / 541;
  object-fit: cover;
}

/* ===== Partner CTA ===== */
.partner { padding-bottom: 130px; }
.partner__box {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 765px;
  padding: 140px 60px 60px 65px;
  color: var(--white);
  background: #2c3a46;
  overflow: hidden;
  isolation: isolate;
}
.partner__bg, .partner__bg img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
}
.partner__bg img { object-fit: cover; }
.partner__box::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to right, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .5) 36.5%, rgba(0, 0, 0, .25) 69.1%, rgba(0, 0, 0, 0) 100%);
}
.partner__title {
  position: relative;
  top: 1px;
  margin-left: -5px;
  font-weight: 600;
  font-size: 70px;
  line-height: 66.5px;
  letter-spacing: -1.4px;
}
.partner__text {
  max-width: 404px;
  margin-top: 60px;
  font-family: var(--ff-text);
  font-weight: 500;
  font-size: 20px;
  line-height: 26px;
}
.partner__text strong { font-weight: 600; }
.partner__btn { margin-top: 36px; }

@media (max-width: 1023px) {
  .about__grid { grid-template-columns: 1fr; gap: 50px; }
  .about__img { max-width: 783px; }
}

/* ===== Join our team ===== */
.team { padding-bottom: 130px; }
.team__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 899px);
  gap: 40px;
}
.team__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 16px;
}
.team__title {
  font-weight: 600;
  font-size: 60px;
  line-height: 57px;
  letter-spacing: -1.2px;
  color: #000;
}
.team__text {
  max-width: 386px;
  margin-top: auto;
  font-family: var(--ff-text);
  font-weight: 400;
  font-size: 20px;
  line-height: 26px;
  color: #000;
}
.team__text strong { font-weight: 600; }
.team__text { position: relative; top: 1px; }
.team__btn { margin-top: 35px; font-size: 16px; }
.team__btn-mob { display: none; }
.team__photos {
  display: grid;
  grid-template-columns: 438fr 437fr;
  gap: 24px;
}
.team__photos img {
  width: 100%;
  height: auto;
  aspect-ratio: 438 / 600;
  object-fit: cover;
}

@media (max-width: 1199px) {
  .team__grid { grid-template-columns: 1fr; }
  .team__text { margin-top: 40px; }
}

/* ===== Let's get started (contact form) ===== */
.start { padding-bottom: 130px; }
.start__box {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 344px;
  gap: 40px;
  min-height: 810px;
  padding: 80px 60px;
  color: var(--white);
  background: #33495a;
  overflow: hidden;
  isolation: isolate;
}
.start__bg {
  overflow: hidden;
  position: absolute;
  inset: 0;
  z-index: -1;
}
.start__bg img { width: 100%; height: 100%; object-fit: cover; }
.start__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #000 0%, rgba(0, 0, 0, .5) 48%, #000 100%);
  opacity: .3;
}
.start__title {
  max-width: 315px;
  font-weight: 600;
  font-size: 70px;
  line-height: 66.5px;
  letter-spacing: -1.4px;
}
.start__form { max-width: 500px; margin-top: 80px; }
.start__fields { display: flex; flex-direction: column; gap: 8px; }
.field {
  position: relative;
  display: block;
  height: 80px;
  background: rgba(255, 255, 255, .7);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}
.field input,
.field select {
  width: 100%;
  height: 100%;
  padding: 0 14px;
  font-family: var(--ff-text);
  font-weight: 400;
  font-size: 16px;
  line-height: 20.8px;
  color: #2b2b2b;
  background: none;
  border: 0;
  border-radius: 0;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.field input::placeholder { color: #2b2b2b; opacity: 1; }
.field select { padding-right: 52px; cursor: pointer; }
.field select:invalid { color: #2b2b2b; }
.field option { color: var(--dark); }
.field:focus-within { box-shadow: inset 0 0 0 1px var(--red); }
.start__chevron {
  position: absolute;
  top: 50%;
  right: 14px;
  width: 24px;
  height: 24px;
  color: #2b2b2b;
  transform: translateY(-50%);
  pointer-events: none;
}
.start__btn { margin-top: 45px; }

.start__aside {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.start__text {
  max-width: 333px;
  font-family: var(--ff-text);
  font-weight: 500;
  font-size: 20px;
  line-height: 26px;
}
.start__text strong { font-weight: 600; }
.start__text { position: relative; top: 1px; }
.start__contacts {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 20px;
  line-height: 22px;
}
.start__contacts li,
.start__contacts a { display: flex; align-items: flex-start; gap: 5px; }
.start__contacts a { align-items: center; line-height: 26px; transition: color .2s; }
.start__contacts a:hover { color: var(--red); }
.start__contacts span { max-width: 315px; }
.start__icon { flex: none; width: 24px; height: 24px; }

@media (max-width: 1023px) {
  .start__box { grid-template-columns: 1fr; padding: 60px 40px; }
  .start__aside { gap: 40px; }
}

/* ===== Footer ===== */
.footer {
  padding: 60px 0 18px;
  color: var(--white);
  background: #00123c;
  overflow: hidden;
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 68px 188px 233px;
  grid-template-areas: "logo menu services contacts";
  column-gap: clamp(40px, 14.24vw, 205px);
  align-items: start;
}
.footer__logo { grid-area: logo; justify-self: start; }
.footer__logo img { width: 91px; height: 56px; }
.footer__col--menu { grid-area: menu; }
.footer__col--services { grid-area: services; }
.footer__col--contacts { grid-area: contacts; }
.footer__title {
  font-weight: 500;
  font-size: 20px;
  line-height: 20px;
}
.footer__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
  font-size: 17px;
  line-height: 22px; /* Figma: 22.1 rounded */
}
.footer__col--menu .footer__list { white-space: nowrap; }
.footer__list a { transition: color .2s; }
.footer__list a:hover { color: var(--red); }
.footer__brand {
  margin: 90px 0 0 -7px;
  font-weight: 500;
  font-size: min(196.82px, 13.668vw);
  line-height: .8;
  letter-spacing: -.04em;
  white-space: nowrap;
  color: rgba(29, 30, 93, .5);
  user-select: none;
}
.footer__bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 68px 188px 233px;
  column-gap: clamp(40px, 14.24vw, 205px);
  margin-top: 31px;
  font-size: 16px;
  line-height: 20.8px;
  color: #ddd;
}
.footer__copy { white-space: nowrap; }
.footer__privacy { grid-column: 3; margin-left: -1px; white-space: nowrap; }
.footer__credit { grid-column: 4; padding-right: 1px; text-align: right; white-space: nowrap; }
.footer__bottom a { transition: color .2s; }
.footer__bottom a:hover { color: var(--white); }

@media (max-width: 1023px) {
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; grid-template-areas: "logo logo logo" "menu services contacts"; row-gap: 40px; }
  .footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 40px; }
}

/* ===== Inner page hero (About, Services, Careers…) ===== */
.page-hero {
  position: relative;
  height: 810px;
  padding: 192px var(--gutter) 0;
  color: var(--white);
  background: #151515;
  overflow: hidden;
  isolation: isolate;
}
.page-hero__bg, .page-hero__bg img {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
}
.page-hero__bg img { object-fit: cover; } /* overlay is baked into the image */
.page-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: var(--container);
  margin: 0 auto 0 -1px;
}
.page-hero__title {
  max-width: 468px;
  font-weight: 500;
  font-size: 70px;
  line-height: 66.5px;
  letter-spacing: -2.1px;
}
.page-hero__text {
  max-width: 401px;
  margin-top: 39px; /* title box: 2 × 66.5 = 133 vs Figma 132 */
  font-family: var(--ff-text);
  font-weight: 600;
  font-size: 22px;
  line-height: 26px; /* Figma: 3 × 26.4 → 78 */
}
.page-hero__btn { margin-top: 35px; }

/* ===== About: Our Story ===== */
.story { padding: 130px 0; }
.story__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}
.story__title,
.drives__title,
.people__title {
  font-weight: 600;
  font-size: 60px;
  line-height: 57px;
  letter-spacing: -1.2px;
  color: #000;
}
.story__text,
.story__text-mob,
.drives__text {
  font-family: var(--ff-text);
  font-weight: 400;
  font-size: 17px;
  line-height: 22px; /* Figma rounds 22.1 */
  color: #000;
}
.story__text:nth-of-type(1) { max-width: 429px; }
.story__text strong,
.story__text-mob strong,
.drives__text strong,
.people__quote strong { font-weight: 600; }
.story__img {
  width: 100%;
  height: auto;
  aspect-ratio: 1360 / 765;
  margin-top: 40px;
  object-fit: cover;
}

/* ===== About: What Drives Us ===== */
.drives { padding-bottom: 130px; }
.drives__grid {
  display: grid;
  grid-template-columns: minmax(0, 437px) minmax(0, 824px);
  justify-content: space-between;
  gap: 40px;
}
.drives__content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 60px;
}
.drives__text { display: flex; flex-direction: column; gap: 6px; }
.drives__photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.drives__photos img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }

/* ===== About: The People ===== */
.people { padding: 130px 0; }
.people__title { text-align: center; }
.people__lead {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 60px;
}
.people__photo {
  position: relative;
  flex: 0 1 370px;
}
.people__photo img { width: 100%; height: auto; aspect-ratio: 370 / 247; object-fit: cover; }
.people__badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 5px 12px;
  font-family: var(--ff-text);
  color: var(--white);
  background: rgba(255, 255, 255, .14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.people__name { min-width: 118px; font-weight: 600; font-size: 16px; line-height: 17.6px; }
.people__role { font-weight: 400; font-size: 13px; line-height: 14.3px; }
.people__quote {
  flex: 0 1 374px;
  font-family: var(--ff-text);
  font-weight: 400;
  font-size: 16px;
  line-height: 21px; /* Figma: 4 × 20.8 → 84 */
  color: #000;
}
.people__subtitle {
  margin-top: 50px;
  font-weight: 500;
  font-size: 26px;
  line-height: 29px;
  text-align: center;
  color: #000;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}
.gallery__slide img { width: 100%; height: auto; aspect-ratio: 329.5 / 185.3; object-fit: cover; }
.gallery__slide:nth-child(-n+4) img { aspect-ratio: 329.5 / 186.2; } /* first row is taller in Figma */
.gallery__dots { display: none; }

/* ===== About: Let's Talk ===== */
.talk {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 810px;
  margin-bottom: 130px;
  color: var(--white);
  background: #1c1c1c;
  overflow: hidden;
  isolation: isolate;
}
.talk__bg, .talk__bg img {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
}
.talk__bg img { object-fit: cover; } /* 60 % overlay baked in */
.talk__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.talk__title {
  font-weight: 600;
  font-size: 70px;
  line-height: 66.5px;
  letter-spacing: -1.4px;
}
.talk__text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 518px;
  margin-top: 60px;
  font-family: var(--ff-text);
  font-weight: 400;
  font-size: 17px;
  line-height: 22px;
}
.talk__btn { margin-top: 35px; }

@media (max-width: 1023px) {
  .story__grid { grid-template-columns: 1fr 1fr; }
  .story__title { grid-column: 1 / -1; }
  .drives__grid { grid-template-columns: 1fr; }
  .people__lead { flex-direction: column; }
  .people__photo, .people__quote { flex: none; width: 100%; max-width: 520px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* hero variant: title on top, text + button pinned to the bottom (Services) */
.page-hero--split { padding-bottom: 70px; }
.page-hero--split .page-hero__inner {
  justify-content: space-between;
  align-items: stretch;
  height: 100%;
  margin-left: auto;
}
.page-hero--split .page-hero__title { max-width: 679px; line-height: 66px; /* Figma: 3 lines → 198 */ }
.page-hero--split .page-hero__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}
.page-hero--split .page-hero__text { max-width: 560px; margin-top: 0; }
.page-hero--split .page-hero__btn { flex: none; margin-top: 0; }

/* ===== Services: How We Work ===== */
.services--page { padding-bottom: 129px; }
.how { padding-bottom: 130px; }
.how .container { display: flex; flex-direction: column; align-items: center; }
.how__title {
  font-weight: 600;
  font-size: 60px;
  line-height: 57px;
  letter-spacing: -1.2px;
  text-align: center;
  color: #000;
}
.how__text {
  max-width: 503px;
  margin-top: 60px;
  font-family: var(--ff-text);
  font-weight: 500;
  font-size: 20px;
  line-height: 26px;
  text-align: center;
  color: #000;
}
.how__grid {
  display: grid;
  grid-template-columns: 437fr 438fr 437fr;
  grid-auto-rows: 230px;
  gap: 24px;
  width: 100%;
  margin-top: 30px;
}
.how__photo img { width: 100%; height: 100%; object-fit: cover; }
.how__photo picture { display: contents; }
.step {
  position: relative;
  display: flex;
  gap: 24px;
  padding: 30px 40px;
  color: var(--white);
  background: #000018;
  overflow: hidden;
  isolation: isolate;
}
.step--glow::before {
  content: "";
  position: absolute;
  left: -60px;
  top: 191px;
  z-index: -1;
  width: 530px;
  height: 328px;
  border-radius: 50%;
  background: linear-gradient(to bottom, #00013b 0%, #ff2300 23%);
  opacity: .7;
  filter: blur(75px);
}
.step__num {
  flex: none;
  font-weight: 250;
  font-size: 40px;
  line-height: 32px;
  letter-spacing: -1.6px;
  margin-right: 1.6px; /* Chrome applies tracking after the last glyph, Figma doesn't */
  color: #cbcbcb;
}
.step__title {
  font-weight: 500;
  font-size: 36px;
  line-height: 34px; /* Figma: 2 × 34.2 → 68 */
  letter-spacing: -.72px;
}
.step__text {
  margin-top: 14px;
  font-family: var(--ff-text);
  font-weight: 600;
  font-size: 17px;
  line-height: 22px;
}
.how__btn { margin-top: 30px; font-size: 16px; }

@media (max-width: 1199px) {
  .how__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
  .how__photo img { aspect-ratio: 437 / 230; height: auto; }
}

/* hero variant: Careers */
.page-hero--careers .page-hero__title { max-width: 521px; }
.page-hero--careers .page-hero__text { max-width: 539px; }
.page-hero--careers .page-hero__btn { margin: 0 46px 11px 0; }

/* ===== Careers: Why Work With Us ===== */
.perks { padding: 130px 0; }
.perks__title,
.network__title {
  font-weight: 600;
  font-size: 60px;
  line-height: 57px;
  letter-spacing: -1.2px;
  color: #000;
}
.perks__title { text-align: center; }
.perks__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 310px));
  justify-content: space-between;
  gap: 40px;
  margin-top: 60px;
}
.perk { text-align: center; color: #000; }
.perk__head { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.perk__icon { flex: none; width: 50px; height: 50px; color: var(--red); }
.perk__title { font-weight: 500; font-size: 24px; line-height: 26px; /* Figma: 26.4 → 26 */ }
.perk__text {
  margin-top: 14px;
  font-family: var(--ff-text);
  font-weight: 400;
  font-size: 17px;
  line-height: 22px;
}

/* ===== Careers: Join Our Network ===== */
.network { padding-bottom: 130px; }
.network__grid {
  display: grid;
  grid-template-columns: minmax(0, 383px) minmax(0, 783px);
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}
.network__content { display: flex; flex-direction: column; align-items: flex-start; }
.network__text {
  margin-top: 60px;
  font-family: var(--ff-text);
  font-weight: 400;
  font-size: 17px;
  line-height: 22px;
  color: #000;
}
.network__btn { margin-top: 30px; }
.network__img img { width: 100%; height: auto; aspect-ratio: 783 / 429; object-fit: cover; }

/* ===== Careers: Connect With Us (variant of .start) ===== */
.start--careers .start__box { grid-template-columns: minmax(0, 1fr) 350px; min-height: 765px; }
.start--careers .start__title { max-width: none; line-height: 66px; }
.start--careers .start__form { margin-top: 56px; }
.start--careers .start__aside { align-items: flex-end; }
.start--careers .start__text { width: 350px; max-width: 100%; }
.start--careers .start__contacts { width: 323px; max-width: 100%; }
.start--careers .start__contacts span { max-width: 294px; }
.upload {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.upload__btn {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 24px;
  font-weight: 500;
  font-size: 14px;
  line-height: 14px;
  color: #494949;
  background: rgba(255, 255, 255, .8);
  box-shadow: inset 0 0 0 1px #717171;
  transition: background-color .2s;
}
.upload:hover .upload__btn { background: var(--white); }
.upload input:focus-visible + .upload__btn { outline: 2px solid var(--red); outline-offset: 2px; }
.upload__name {
  font-family: var(--ff-text);
  font-weight: 600;
  font-size: 14px;
  line-height: 18px;
  color: var(--white);
}

@media (max-width: 1023px) {
  .page-hero__br { display: none; }
  .page-hero--split .page-hero__bottom { flex-direction: column; align-items: flex-start; gap: 24px; }
  .page-hero--split .page-hero__btn { margin: 0 !important; }
  .start--careers .start__box { grid-template-columns: 1fr; }
  .start--careers .start__aside { align-items: stretch; }
}

@media (max-width: 1199px) {
  .perks__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .network__grid { grid-template-columns: 1fr; }
}

/* ===== Contacts page: full-bleed variant of .start ===== */
.start--page { padding-bottom: 130px; }
.start--page .container { max-width: none; padding: 0; }
.start--page .start__box {
  min-height: 810px;
  padding: 142px max(100px, calc((100% - 1240px) / 2)) 80px;
}
.start--page .start__title { max-width: 546px; line-height: 66px; }
.start--page .start__form { margin-top: 85px; }
@media (min-width: 768px) {
  .start--page .start__bg::after { display: none; } /* gradient baked into contacts-hero */
}

/* hero variant: single service pages (sizes come from Figma via custom properties) */
.page-hero--service .page-hero__title { max-width: var(--title-w); }
.page-hero--service .page-hero__text { max-width: var(--text-w); }
.page-hero--service .page-hero__btn { margin-right: var(--btn-r, 0); }

/* ===== Service page: Overview ===== */
.overview { padding: 130px 0; }
.overview__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 898px);
  gap: 24px;
}
.overview__content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  max-width: var(--ov-w, 384px);
}
.overview__title,
.incl__title,
.faq__title {
  font-weight: 600;
  font-size: 60px;
  line-height: 57px;
  letter-spacing: -1.2px;
  color: #000;
}
.overview__text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--ff-text);
  font-weight: 400;
  font-size: 17px;
  line-height: 22px;
  color: #000;
}
.overview__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.overview__photos img { width: 100%; height: auto; aspect-ratio: 437 / 500; object-fit: cover; }

/* ===== Service page: Services Included ===== */
.incl { padding-bottom: 130px; }
.incl__title { text-align: center; }
.incl__box {
  position: relative;
  overflow: hidden;
  margin-top: 60px;
  padding: 80px 50px;
  isolation: isolate;
}
.incl__box--4 { padding: 80px max(var(--gutter), calc((100% - var(--container)) / 2)); }
.incl__bg, .incl__bg img {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
}
.incl__bg img { object-fit: cover; } /* 20 % overlay baked in */
.incl__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 250px;
  gap: 24px;
  max-width: 1340px;
  margin: 0 auto;
}
.incl__box--4 .incl__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: var(--container); }
.incl__item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  text-align: center;
  background: rgba(255, 255, 255, .7);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}
.incl__item span {
  max-width: var(--w);
  font-weight: 500;
  font-size: 24px;
  line-height: 29px; /* Figma: 28.8 rounded */
  letter-spacing: -.48px;
  color: #000;
}

/* ===== Service page: FAQ ===== */
.faq { padding-bottom: 129px; } /* + 1px bottom rule = 130 */
.faq .container { max-width: calc(745px + var(--gutter) * 2); position: relative; left: 1.5px; }
.faq__title { text-align: center; }
.faq__list { margin-top: 60px; border-bottom: 1px solid rgba(0, 0, 0, .3); }
.faq__item { border-top: 1px solid rgba(0, 0, 0, .3); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 61px;
  padding: 19px 0 20px;
  font-family: var(--ff-text);
  font-weight: 400;
  font-size: 17px;
  line-height: 22px;
  color: #000;
  list-style: none;
  cursor: pointer;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--red); }
.faq__chevron { flex: none; width: 24px; height: 24px; transition: transform .25s; }
.faq__item[open]:not(.is-closing) .faq__chevron { transform: rotate(180deg); }
.faq__answer {
  max-width: 660px;
  padding-bottom: 20px;
  font-family: var(--ff-text);
  font-size: 16px;
  line-height: 21px;
  color: rgba(0, 0, 0, .7);
}

/* contact form: Message field */
.field--textarea textarea {
  width: 100%;
  height: 100%;
  padding: 29.6px 14px 0;
  font-family: var(--ff-text);
  font-size: 16px;
  line-height: 20.8px;
  color: #2b2b2b;
  background: none;
  border: 0;
  border-radius: 0;
  outline: none;
  resize: none;
}
.field--textarea textarea::placeholder { color: #2b2b2b; opacity: 1; }

@media (max-width: 1199px) {
  .overview__grid { grid-template-columns: 1fr; }
  .overview__content { max-width: none; }
  .incl__grid, .incl__box--4 .incl__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(160px, auto); }
  .incl__box { padding: 60px var(--gutter); }
}

/* ===== Tablet / mobile header ===== */
@media (max-width: 1023px) {
  :root { --header-h: 52px; }
  .header {
    padding: 10px 16px;
    background: rgba(255, 255, 255, .7);
  }
  .header__logo img { width: 50px; height: 30px; }
  .header__cta { display: none; }

  .burger {
    position: relative;
    display: block;
    width: 32px;
    height: 32px;
  }
  .burger span {
    position: absolute;
    left: 4px;
    width: 24px;
    height: 2px;
    background: #000;
    transition: transform .25s, opacity .25s;
  }
  .burger span:nth-child(1) { top: 9px; }
  .burger span:nth-child(2) { top: 14.33px; }
  .burger span:nth-child(3) { top: 19.67px; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.33px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.33px) rotate(-45deg); }

  .nav {
    position: absolute; /* header has backdrop-filter, so it is the containing block anyway */
    top: 100%;
    left: 0;
    right: 0;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 24px 16px 40px;
    overflow-y: auto;
    background: rgba(250, 250, 250, .97);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__list { top: 0; flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { padding: 14px 0; font-size: 20px; }
  .nav__drop {
    position: static;
    min-width: 0;
    margin: 0 0 8px;
    padding: 0 0 0 16px;
    background: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav__drop::before { display: none; }
  .nav__drop a { padding: 8px 0; font-size: 16px; }
  .nav__chevron { display: none; }
  .nav__cta-mobile { display: inline-flex; align-self: flex-start; }
}

/* ===== Mobile hero ===== */
@media (max-width: 767px) {
  :root { --gutter: 16px; }

  .page-hero--split.page-hero--service { padding-bottom: 60px; }
  .page-hero--split.page-hero--service .page-hero__inner { height: 100%; justify-content: space-between; }
  .page-hero--split.page-hero--service .page-hero__title { max-width: 348px; }
  .page-hero--split.page-hero--service .page-hero__bottom { margin-top: 40px; }
  .page-hero--split.page-hero--service .page-hero__text { max-width: 343px; }
  .page-hero--service .page-hero__btn { margin-right: 0; }

  .overview { padding: 100px 0; }
  .overview__grid { gap: 20px; }
  .overview__content { gap: 40px; }
  .overview__title,
  .incl__title,
  .faq__title { font-size: 40px; line-height: 38px; letter-spacing: -.8px; }
  .overview__text { font-size: 16px; line-height: 21px; }
  .overview__photos { grid-template-columns: 167fr 166fr; gap: 10px; }
  .overview__photos img { aspect-ratio: auto; height: calc((100vw - 32px) * 191 / 343); }

  .incl { padding-bottom: 100px; }
  .incl__title { max-width: 330px; margin: 0 auto; }
  .incl__box, .incl__box--4 { margin-top: 40px; padding: 40px var(--gutter); }
  .incl__grid, .incl__box--4 .incl__grid { display: flex; flex-direction: column; gap: 14px; }
  .incl__item { order: var(--mo, 0); }
  .incl__item span { max-width: var(--mw, 283px); font-size: 20px; line-height: 24px; letter-spacing: -.4px; }

  .faq { padding-bottom: 99px; }
  .faq .container { left: 0; }
  .faq__title { text-align: left; }
  .faq__list { margin-top: 40px; }
  .faq__item summary { align-items: flex-start; font-size: 16px; line-height: 21px; }
  .faq__item summary > :not(svg) { max-width: 255px; }
  .faq__answer { padding-right: 0; }

  .field--textarea textarea { padding-top: 25.2px; font-size: 15px; line-height: 19.5px; }

  .start--page { padding: 102px 0 100px; }
  .start--page .container { padding: 0 var(--gutter); }
  .start--page .start__box { padding: 0; }
  .start--page .start__title { line-height: 38px; }
  .start--page .start__form { margin-top: 20px; }

  .page-hero--split.page-hero--careers .page-hero__title { max-width: 343px; line-height: 49px; /* Figma: 4 lines → 196 */ }
  .page-hero--split.page-hero--careers .page-hero__bottom { margin-top: 40px; }
  .page-hero--careers .page-hero__btn { margin: 0; }

  .perks { padding: 100px 0; }
  .perks__title,
  .network__title { font-size: 40px; line-height: 38px; letter-spacing: -.8px; }
  .perks__list { display: flex; flex-direction: column; gap: 24px; margin-top: 40px; }
  .perk__head { flex-direction: row; justify-content: center; gap: 10px; }
  .perk:first-child .perk__head { gap: 14px; }
  .perk__icon { width: 40px; height: 40px; }
  .perk__title { font-size: 20px; line-height: 22px; }
  .perk__text { margin-top: 5px; font-size: 16px; line-height: 21px; }

  .network { padding-bottom: 100px; }
  .network__grid { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .network__content { display: contents; }
  .network__text { margin-top: 40px; font-size: 16px; line-height: 21px; }
  .network__img { order: 1; margin-top: 20px; }
  .network__img img { aspect-ratio: 343 / 211; }
  .network__btn { order: 2; width: 100%; margin-top: 24px; }

  .start--careers .start__box { min-height: 0; }
  .start--careers .start__bg { aspect-ratio: 343 / 193; }
  .start--careers .start__title { line-height: 38px; }
  .start--careers .start__form { margin-top: 20px; }
  .start--careers .start__text,
  .start--careers .start__contacts { width: auto; }
  .start--careers .start__contacts { margin-top: 20px; }
  .start--careers .start__contacts span { max-width: none; }
  .upload__name { color: #494949; }

  .page-hero--split { padding-bottom: 0; }
  .page-hero--split .page-hero__inner { height: auto; justify-content: flex-start; }
  .page-hero--split .page-hero__title { max-width: 325px; line-height: 49px; /* Figma: 3 lines → 147 */ }
  .page-hero--split .page-hero__bottom { flex-direction: column; align-items: flex-start; gap: 24px; margin-top: 79px; }
  .page-hero--split .page-hero__text { max-width: 343px; }
  .page-hero--split .page-hero__btn { font-size: 17px; }

  .services.services--page { padding-bottom: 100px; }
  .services--page .services__btn { margin-top: 22.6px; }

  .how { padding-bottom: 100px; }
  .how .container { align-items: stretch; }
  .how__title { font-size: 40px; line-height: 38px; letter-spacing: -.8px; text-align: left; }
  .how__text { max-width: none; margin-top: 40px; font-size: 16px; line-height: 21px; text-align: left; }
  .how__grid { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
  .how__photo--2 { display: none; }
  .how__photo img { aspect-ratio: 343 / 181; }
  .step { gap: 14px; padding: 32px 16px; }
  .step--glow::before { left: -99px; top: 120px; }
  .step__num { margin-right: .96px; font-size: 24px; line-height: 19.2px; letter-spacing: -.96px; }
  .step__title { font-size: 24px; line-height: 23px; letter-spacing: -.48px; }
  .step__text { font-size: 16px; line-height: 21px; }
  .how__btn { width: 100%; margin-top: 24px; }

  .only-desk { display: none !important; }

  .story { padding: 100px 0; }
  .story__grid { display: block; }
  .story__title,
  .drives__title,
  .people__title { font-size: 40px; line-height: 38px; letter-spacing: -.8px; }
  .story__text-mob {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 40px;
    font-size: 16px;
    line-height: 21px; /* Figma: 9 × 20.8 → 189 */
  }
  .story__img { aspect-ratio: 343 / 193; margin-top: 20px; }

  .drives { padding-bottom: 100px; }
  .drives__content { gap: 40px; }
  .drives__text.only-mob { display: flex; }
  .drives__photos { display: none; }

  .why--about .why__title { max-width: 317px; margin-left: -2px; }

  .people { padding: 100px 0; }
  .people__title { text-align: left; }
  .people__lead { display: block; margin-top: 40px; }
  .people__photo { width: 100%; max-width: none; }
  .people__photo img { aspect-ratio: 343 / 229; }
  .people__badge { bottom: 14px; }
  .people__name { font-size: 15px; line-height: 16.5px; }
  .people__quote { width: 100%; max-width: none; margin-top: 20px; }
  .people__subtitle { margin-top: 30px; font-size: 20px; line-height: 22px; }
  .gallery {
    display: flex;
    gap: 0;
    margin-top: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery__slide { flex: 0 0 100%; scroll-snap-align: start; }
  .gallery__slide img,
  .gallery__slide:nth-child(-n+4) img { aspect-ratio: 343 / 193; }
  .gallery__dots {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-top: 14px;
  }
  .gallery__dots button {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #00123c;
    transition: background-color .2s;
  }
  .gallery__dots button[aria-current="true"] { background: var(--red); }

  .talk {
    align-items: flex-start;
    min-height: 560px;
    margin-bottom: 100px;
    padding: 110px 0 0;
  }
  .talk__inner { align-items: flex-start; text-align: left; }
  .talk__title { font-size: 40px; line-height: 38px; letter-spacing: -.8px; }
  .talk__text { max-width: none; margin-top: 40px; font-size: 16px; line-height: 21px; }
  .talk__btn { margin-top: 24px; font-size: 16px; }

  .page-hero { padding-top: 152px; }
  .page-hero__inner { margin-left: 0; }
  .page-hero__title {
    max-width: 316px;
    font-size: 52px;
    line-height: 49.4px;
    letter-spacing: -1.56px;
  }
  .page-hero__text {
    max-width: 250px;
    margin-top: 39.2px; /* title box 98.8 vs Figma 98 */
    font-size: 18px;
    line-height: 22px; /* Figma: 4 × 21.6 → 88 */
  }
  .page-hero__br { display: none; }
  .page-hero__btn { margin-top: 24px; font-size: 16px; }

  .footer { padding: 40px 0 20px; }
  .footer__grid {
    grid-template-columns: minmax(0, 1fr) 167px;
    grid-template-areas: "logo contacts" "menu services";
    column-gap: 9px;
    row-gap: 30px;
  }
  .footer__logo img { width: 60px; height: 37px; }
  .footer__col--contacts { padding-left: 1px; }
  .footer__title { font-size: 16px; line-height: 16px; }
  .footer__list { margin-top: 14px; font-size: 15px; line-height: 19px; /* Figma: 19.5 rounded */ }
  .footer__brand {
    margin: 60px 0 0 -5px;
    font-size: 13.355vw;
  }
  .footer__bottom {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 30px;
    font-size: 15px;
    line-height: 19px;
  }
  .footer__privacy { order: -1; margin-left: 0; }
  .footer__credit { text-align: left; }

  .start { padding-bottom: 100px; }
  .start__box {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-height: 0;
    padding: 0;
    color: #000;
    background: none;
    overflow: visible;
  }
  .start__main, .start__aside { display: contents; }
  .start__title {
    align-self: flex-start;
    max-width: none;
    margin-left: 14px;
    font-size: 40px;
    line-height: 38px;
    letter-spacing: -.8px;
  }
  .start__text {
    order: 1;
    max-width: none;
    margin-top: 40px;
    font-size: 16px;
    line-height: 21px; /* Figma: 3 × 20.8 → 63 */
    text-align: center;
  }
  .start__form { order: 2; max-width: none; margin-top: 20px; }
  .field {
    height: 70px;
    background: rgba(29, 30, 93, .2);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15);
  }
  .field input, .field select { font-size: 15px; line-height: 19.5px; }
  .start__btn { width: 100%; margin-top: 20px; font-size: 16px; }
  .start__bg {
    position: relative;
    inset: auto;
    z-index: 0;
    order: 3;
    margin-top: 30px;
    aspect-ratio: 343 / 204;
  }
  .start__bg::after { opacity: .4; }
  .start__contacts {
    position: relative;
    top: 1px;
    order: 4;
    gap: 10px;
    margin-top: 14px;
    font-size: 16px;
    line-height: 17.6px;
  }
  .start__contacts a { line-height: 18px; }
  .start__contacts span { max-width: none; }
  .start__icon { width: 18px; height: 18px; }

  .team { padding-bottom: 100px; }
  .team__grid { display: flex; flex-direction: column; gap: 0; }
  .team__content { display: contents; }
  .team__title {
    align-self: center;
    font-size: 40px;
    line-height: 38px;
    letter-spacing: -.8px;
  }
  .team__text {
    align-self: center;
    max-width: 292px;
    margin-top: 40px;
    font-size: 16px;
    line-height: 21px; /* Figma: 4 × 20.8 → 84 */
    text-align: center;
  }
  .team__photos { order: 1; grid-template-columns: 167fr 166fr; gap: 10px; margin-top: 20px; }
  .team__photos img { aspect-ratio: 167 / 228; }
  .team__btn { order: 2; width: 100%; margin-top: 24px; font-size: 17px; }
  .team__btn-desk { display: none; }
  .team__btn-mob { display: inline; }

  .partner { padding-bottom: 100px; }
  .partner .container { padding: 0; }
  .partner__box {
    align-items: center;
    min-height: 560px;
    padding: 148px 16px 100px;
    text-align: center;
  }
  .partner__box::after { background: rgba(0, 0, 0, .55); }
  .partner__title {
    top: 0;
    margin-left: 0;
    font-size: 40px;
    line-height: 38px;
    letter-spacing: -.8px;
  }
  .partner__text {
    max-width: 343px;
    margin-top: 41px;
    font-size: 16px;
    line-height: 21px; /* Figma: 4 × 20.8 → 84 */
  }
  .partner__btn { width: 100%; margin-top: 24px; font-size: 16px; }

  .about { padding: 100px 0; }
  .about__grid { display: flex; flex-direction: column; gap: 0; }
  .about__content { display: contents; }
  .about__title {
    align-self: center;
    font-size: 40px;
    line-height: 38px;
    letter-spacing: -.8px;
    text-align: center;
  }
  .about__text { position: relative; top: 1px; margin-top: 40px; padding-left: 2px; }
  .about__img { order: 1; margin-top: 20px; }
  .about__btn { order: 2; width: 100%; margin-top: 24px; font-size: 16px; }

  .why { padding: 50px 0; }
  .why .container { padding: 0 18px; }
  .why__title {
    max-width: 291px;
    margin: 0 auto;
    font-size: 40px;
    line-height: 38px;
    letter-spacing: -.8px;
  }
  .why__list { display: flex; flex-direction: column; gap: 24px; margin-top: 40px; }
  .why__icon { width: 40px; height: 40px; }
  .why__item-title,
  .why__item--decade .why__item-title,
  .why__item--midwest .why__item-title {
    max-width: none;
    margin-top: 14px;
    top: 0;
    font-size: 20px;
    line-height: 22px;
  }
  .why__item-text { margin-top: 8px; }

  .partners { padding-bottom: 100px; }
  .partners__title {
    max-width: 343px;
    margin: 0 auto;
    font-size: 40px;
    line-height: 38px;
    letter-spacing: -.8px;
  }
  .partners__viewport {
    margin-top: 40px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 var(--gutter);
    scrollbar-width: none;
  }
  .partners__viewport::-webkit-scrollbar { display: none; }
  .partners__track { animation: none; margin-left: 0; padding: 0 var(--gutter); }
  .partners__list { gap: 20px; height: 30px; padding-right: 0; }
  .partners__list li { scroll-snap-align: start; }
  .partners__list img { height: var(--mh); }
  .partners__list[aria-hidden] { display: none; }
  .partners__dots {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-top: 20px;
  }
  .partners__dots button {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--navy);
    transition: background-color .2s;
  }
  .partners__dots button[aria-current="true"] { background: var(--red); }

  .services { padding: 100px 0 99px; }
  .services__grid { display: flex; flex-direction: column; gap: 0; }
  .services__intro { display: contents; }
  .services__title {
    font-size: 40px;
    line-height: 38px;
    letter-spacing: -.8px;
  }
  .services__text {
    max-width: 343px;
    margin-top: 41px;
    font-size: 16px;
    line-height: 20.8px;
  }
  .services__btn { order: 1; width: 100%; margin-top: 30px; }

  .card,
  .card:nth-child(-n+3) {
    min-height: 471px;
    margin-top: 14px;
    padding: 30px 20px;
  }
  .services__grid .card--osp { margin-top: 25px; }
  .services__grid .card--mdu { min-height: 469px; }
  .card--fulfillment::after { opacity: .9; background: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0) 75%, rgba(0, 0, 0, .7) 100%); }
  .card--mdu::after { background: linear-gradient(to bottom, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, 0) 50%, #000 100%); }
  .card__title {
    font-size: 26px;
    line-height: 24.7px;
    letter-spacing: -.52px;
  }
  .card--mdu .card__title { margin-left: 0; }
  .card--osp .card__title { max-width: 223px; }
  .card--fulfillment .card__title { max-width: 271px; }
  .card__bottom { gap: 14px; }
  .card__text {
    max-width: 304px;
    font-size: 16px;
    line-height: 20.8px;
  }
  .btn--card { font-size: 16px; }

  .hero {
    height: auto;
    min-height: 810px;
    padding: 104px 16px 51px;
  }
  .hero__inner { align-items: flex-start; text-align: left; }
  .hero__title {
    max-width: 343px;
    font-size: 46px;
    line-height: 43.7px;
    letter-spacing: -1.38px;
  }
  .hero__title span { display: block; color: #d8d8d8; }
  .hero__text {
    max-width: 343px;
    margin-top: 30px;
    font-size: 17px;
    line-height: 20.4px;
  }
  .hero__btns {
    width: 100%;
    max-width: 343px;
    justify-content: space-between;
    gap: 10px;
    margin-top: 23px;
  }
  .hero__btns .btn { flex: 0 1 auto; }

  .hero__tags {
    position: static;
    justify-content: flex-start;
    max-width: 343px;
    margin-top: 59px;
  }
  .hero__tag--fiber { order: 3; }
  .hero__tag--drop { order: 4; }
  .hero__tag--mdu { order: 5; }
  .tag {
    height: 31px;
    padding: 0 16px;
    font-size: 15px;
    letter-spacing: -.3px;
  }
}

/* ===== Motion ===== */
@keyframes header-in { from { opacity: 0; transform: translateY(-100%); } }
@keyframes rise { from { opacity: 0; transform: translate3d(0, 36px, 0); } }
@keyframes fade { from { opacity: 0; } }
@keyframes hero-zoom { from { transform: scale(1.1); } }
@keyframes pop { from { opacity: 0; transform: scale(.4) rotate(-15deg); } }

/* first screen plays on load */
.hero__bg img,
.page-hero__bg img { animation: hero-zoom 2.2s var(--ease) backwards; }
.hero__title, .hero__text, .hero__btns, .hero__tags li,
.page-hero__title, .page-hero__text, .page-hero__btn,
.start--page .start__title, .start--page .start__form, .start--page .start__text, .start--page .start__contacts {
  animation: rise 1s var(--ease) backwards;
}
.hero__title, .page-hero__title, .start--page .start__title { animation-delay: .15s; }
.hero__text, .page-hero__text, .start--page .start__text { animation-delay: .3s; }
.hero__btns, .page-hero__btn, .start--page .start__form { animation-delay: .45s; }
.start--page .start__contacts { animation-delay: .6s; }
.hero__tags li { animation-duration: .8s; }
.hero__tags li:nth-child(1) { animation-delay: .6s; }
.hero__tags li:nth-child(2) { animation-delay: .68s; }
.hero__tags li:nth-child(3) { animation-delay: .76s; }
.hero__tags li:nth-child(4) { animation-delay: .84s; }
.hero__tags li:nth-child(5) { animation-delay: .92s; }

/* scroll reveal — classes are added by js/main.js only to elements below the fold */
.reveal { opacity: 0; }
.reveal.is-visible { opacity: 1; animation: rise .9s var(--ease) var(--d, 0s) backwards; }
.reveal--fade.is-visible { animation-name: fade; animation-duration: 1.1s; }
.zoom-in { transform: scale(1.12); transition: transform 1.8s var(--ease); }
.zoom-in.is-visible { transform: none; }
.why__item.is-visible .why__icon,
.perk.is-visible .perk__icon { animation: pop .8s var(--ease) calc(var(--d, 0s) + .25s) backwards; }

/* hover life */
.tag { transition: background-color .25s, transform .35s var(--ease); }
.tag:hover { transform: translateY(-2px); }
.card { transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .55); }
.incl__item { transition: background-color .3s, transform .45s var(--ease); }
.incl__item:hover { background: rgba(255, 255, 255, .86); transform: translateY(-4px); }
.step { transition: transform .45s var(--ease); }
.step:hover { transform: translateY(-4px); }
.gallery__slide, .drives__photos, .overview__photos, .team__photos, .how__photo, .about__img, .story__img, .network__img { overflow: hidden; }
.gallery__slide img, .drives__photos img, .overview__photos img, .team__photos img, .how__photo img, .network__img img {
  transition: transform .8s var(--ease);
}
.gallery__slide:hover img, .drives__photos img:hover, .overview__photos img:hover, .team__photos img:hover, .how__photo:hover img, .network__img:hover img { transform: scale(1.05); }
.why__icon, .perk__icon { transition: transform .45s var(--ease); }
.why__item:hover .why__icon, .perk:hover .perk__icon { transform: translateY(-4px) scale(1.08); }
.footer__list a, .footer__bottom a { display: inline-block; transition: color .2s, transform .3s var(--ease); }
.footer__list a:hover { transform: translateX(4px); }

/* mobile menu items cascade in */
.nav.is-open .nav__list > li,
.nav.is-open .nav__cta-mobile { animation: rise .55s var(--ease) backwards; }
.nav.is-open .nav__list > li:nth-child(2) { animation-delay: .05s; }
.nav.is-open .nav__list > li:nth-child(3) { animation-delay: .1s; }
.nav.is-open .nav__list > li:nth-child(4) { animation-delay: .15s; }
.nav.is-open .nav__list > li:nth-child(5) { animation-delay: .2s; }
.nav.is-open .nav__cta-mobile { animation-delay: .25s; }

/* FAQ answer height is animated in JS */
.faq__answer-wrap { overflow: hidden; }

html { scroll-behavior: smooth; }
[id] { scroll-margin-top: calc(var(--header-h) + 20px); }

@media (max-width: 1023px) {
  .nav__link::after { display: none; }
}

@media (hover: none) {
  .card:hover, .incl__item:hover, .step:hover, .tag:hover, .btn:hover { transform: none; box-shadow: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; }
  .zoom-in { transform: none; }
  .partners__track { animation: none; }
  .partners__viewport { overflow-x: auto; }
}
