.services-page {
  background: var(--night);
}

.services-hero {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 34%, rgba(58, 202, 209, 0.1), transparent 28rem),
    #060a0d;
}

.services-hero-grid {
  display: grid;
  grid-template-columns: minmax(430px, 0.82fr) minmax(620px, 1.18fr);
  align-items: center;
  gap: clamp(35px, 5vw, 82px);
  width: min(1500px, calc(100vw - 72px));
  min-height: 100dvh;
  margin-inline: auto;
  padding: 96px 0 70px;
}

.services-hero-copy {
  position: relative;
  z-index: 4;
  padding-left: clamp(12px, 2vw, 34px);
}

.services-hero-copy .eyebrow {
  margin-bottom: 30px;
  color: rgba(227, 246, 243, 0.72);
}

.services-hero h1 {
  width: max-content;
  max-width: none;
  font-size: clamp(4rem, 5vw, 5.25rem);
  font-weight: 510;
  letter-spacing: -0.04em;
  line-height: 0.9;
}

.services-hero-copy > p:not(.eyebrow) {
  max-width: 580px;
  margin-top: 30px;
  color: rgba(231, 246, 243, 0.72);
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  line-height: 1.55;
}

.services-hero .inline-link {
  color: rgba(236, 248, 246, 0.75);
}

.project-wall {
  position: relative;
  min-height: min(78vh, 760px);
  perspective: 1200px;
}

.wall-project {
  position: absolute;
  overflow: hidden;
  background: #10171a;
  border-radius: 14px;
  box-shadow: 0 38px 90px rgba(0, 5, 8, 0.4);
  transition: transform 600ms var(--ease-mass), filter 300ms var(--ease-out);
}

.wall-project img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.wall-project-main {
  top: 7%;
  right: 4%;
  z-index: 3;
  width: 68%;
  height: 76%;
  transform: rotate(3deg) translateZ(48px);
}

.wall-project-event {
  top: 0;
  left: 3%;
  z-index: 1;
  width: 47%;
  height: 48%;
  transform: rotate(-6deg) translateZ(-15px);
}

.wall-project-beauty {
  bottom: 2%;
  left: 0;
  z-index: 4;
  width: 52%;
  height: 43%;
  transform: rotate(-2deg) translateZ(70px);
}

.web-systems {
  padding: clamp(115px, 13vw, 190px) 0 100px;
  background: #0c1418;
}

.systems-heading {
  max-width: 1100px;
}

.systems-heading h2 {
  max-width: 940px;
  font-size: clamp(3.4rem, 6.2vw, 6rem);
}

.systems-heading p {
  max-width: 650px;
  margin-top: 30px;
  color: rgba(230, 245, 242, 0.72);
  font-size: 1.08rem;
  line-height: 1.6;
}

.system-spectrum {
  display: flex;
  gap: 14px;
  width: 100%;
  margin-top: 84px;
  padding: 0 max(36px, calc((100vw - 1440px) / 2)) 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(105, 230, 231, 0.5) transparent;
}

.system-spectrum article {
  position: relative;
  display: flex;
  flex: 0 0 min(410px, 78vw);
  flex-direction: column;
  min-height: 430px;
  padding: 28px;
  overflow: hidden;
  background: #111d21;
  border: 1px solid rgba(220, 250, 247, 0.11);
  border-radius: 14px;
  scroll-snap-align: start;
  transition: transform 240ms var(--ease-out), border-color 240ms var(--ease-out);
}

.system-spectrum article:nth-child(3n + 2) {
  background: #132429;
}

.system-spectrum article:nth-child(4n) {
  background: linear-gradient(145deg, rgba(45, 178, 187, 0.18), #101a1e 65%);
}

.system-spectrum article::after {
  position: absolute;
  right: -70px;
  bottom: -80px;
  width: 230px;
  height: 230px;
  content: "";
  border: 1px solid rgba(105, 230, 231, 0.13);
  border-radius: 50%;
}

.system-spectrum article > span {
  color: var(--cyan);
  font-family: "Mona Sans Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.system-spectrum h3 {
  max-width: 330px;
  margin-top: auto;
  font-size: clamp(2.15rem, 3vw, 3rem);
  line-height: 0.98;
}

.system-spectrum p {
  max-width: 330px;
  margin-top: 20px;
  color: rgba(229, 245, 242, 0.68);
  line-height: 1.52;
}

.delivery-system {
  padding: clamp(110px, 12vw, 180px) 0;
  background: #091014;
}

.delivery-grid {
  display: grid;
  grid-template-columns: minmax(330px, 0.7fr) minmax(600px, 1.3fr);
  gap: clamp(70px, 10vw, 170px);
  align-items: start;
}

.delivery-title {
  position: sticky;
  top: 130px;
}

.delivery-title h2 {
  font-size: clamp(3.2rem, 5vw, 5.1rem);
}

.delivery-title p {
  max-width: 520px;
  margin-top: 28px;
  color: rgba(230, 246, 243, 0.68);
  font-size: 1.05rem;
  line-height: 1.55;
}

.delivery-map {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line-dark);
}

.delivery-map > div {
  min-height: 170px;
  padding: 28px 25px;
  border-bottom: 1px solid var(--line-dark);
}

.delivery-map > div:nth-child(odd) {
  border-right: 1px solid var(--line-dark);
}

.delivery-map strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 560;
  letter-spacing: -0.025em;
}

.delivery-map span {
  display: block;
  max-width: 240px;
  margin-top: 44px;
  color: rgba(224, 242, 239, 0.58);
  font-size: 0.84rem;
}

.published-work {
  padding: clamp(80px, 7.5vw, 108px) 0;
  background: #0d171b;
}

.projects-heading {
  max-width: 1080px;
}

.projects-heading h2 {
  max-width: 960px;
  font-size: clamp(3.4rem, 5.5vw, 5.25rem);
}

.project-reel {
  --project-gap: 14px;
  --project-duration: 30s;
  margin-top: clamp(32px, 3vw, 40px);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.project-track,
.project-set {
  display: flex;
  width: max-content;
}

.project-track {
  animation: project-marquee var(--project-duration) linear infinite;
  transform: translate3d(0, 0, 0);
}

.project-set {
  gap: var(--project-gap);
  padding-right: var(--project-gap);
}

.project-reel:hover .project-track,
.project-reel:focus-within .project-track {
  animation-play-state: paused;
}

.published-project {
  position: relative;
  display: grid;
  width: clamp(240px, 22vw, 300px);
  flex: 0 0 auto;
  grid-template-rows: auto auto;
  gap: 12px;
  min-width: 0;
  background: transparent;
}

.project-shot {
  display: block;
  aspect-ratio: 1280 / 900;
  overflow: hidden;
  background: #111a1e;
  border-radius: 10px;
}

.project-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 650ms var(--ease-mass), filter 300ms var(--ease-out);
}

.published-project > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3px 14px;
  align-items: center;
  padding: 0 2px;
  color: var(--white);
}

.published-project > div p {
  font-size: 0.9rem;
  font-weight: 610;
  letter-spacing: -0.015em;
}

.published-project > div span {
  grid-column: 1;
  color: rgba(229, 245, 242, 0.58);
  font-size: 0.66rem;
}

.published-project > div i {
  grid-row: 1 / span 2;
  grid-column: 2;
  color: var(--cyan);
  font-style: normal;
  transition: transform 220ms var(--ease-spring);
}

@keyframes project-marquee {
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.pricing-section {
  padding: clamp(115px, 13vw, 190px) 0;
  background: #080f12;
}

.pricing-heading {
  max-width: 1100px;
}

.pricing-heading .eyebrow {
  margin-bottom: 28px;
  color: var(--cyan);
}

.pricing-heading h2 {
  max-width: 900px;
  font-size: clamp(3.3rem, 5.8vw, 5.7rem);
}

.pricing-heading > p:not(.eyebrow) {
  max-width: 620px;
  margin-top: 28px;
  color: rgba(229, 245, 242, 0.68);
  font-size: 1.04rem;
}

.price-rail {
  display: grid;
  margin-top: 76px;
  border-top: 1px solid var(--line-dark);
}

.price-rail article {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(220px, 0.65fr) minmax(380px, 1fr) auto;
  gap: 36px;
  align-items: center;
  min-height: 210px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line-dark);
}

.price-rail article.price-featured {
  margin-inline: -22px;
  padding-inline: 22px;
  background: rgba(105, 230, 231, 0.075);
}

.price-rail article > div span {
  color: var(--cyan);
  font-family: "Mona Sans Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.price-rail h3 {
  margin-top: 12px;
  font-size: clamp(2rem, 3vw, 3.2rem);
}

.price-rail article > p {
  color: rgba(229, 245, 242, 0.7);
  line-height: 1.5;
}

.price-rail ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 20px;
  color: rgba(225, 242, 239, 0.55);
  font-size: 0.75rem;
}

.price-rail li::before {
  margin-right: 8px;
  color: var(--cyan);
  content: "+";
}

.price-rail a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--cyan);
  font-size: 0.83rem;
  font-weight: 570;
  white-space: nowrap;
}

.price-rail a span {
  transition: transform 220ms var(--ease-spring);
}

.maintenance-note {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 22px;
  padding: 22px 0;
  color: rgba(229, 245, 242, 0.66);
  font-size: 0.86rem;
}

.maintenance-note strong {
  color: var(--white);
  font-weight: 570;
}

.web-process {
  padding: clamp(110px, 12vw, 180px) 0;
  background: #0c1519;
}

.web-process h2 {
  max-width: 950px;
  font-size: clamp(3.3rem, 5.7vw, 5.6rem);
}

.web-process ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 80px;
  border-top: 1px solid var(--line-dark);
}

.web-process li {
  min-height: 310px;
  padding: 28px;
  border-right: 1px solid var(--line-dark);
}

.web-process li:first-child {
  border-left: 1px solid var(--line-dark);
}

.web-process li > span {
  color: var(--cyan);
  font-family: "Mona Sans Mono", monospace;
  font-size: 0.62rem;
}

.web-process li > div {
  margin-top: 110px;
}

.web-process h3 {
  font-size: 2rem;
}

.web-process li p {
  max-width: 300px;
  margin-top: 18px;
  color: rgba(228, 245, 242, 0.64);
  line-height: 1.55;
}

.web-faq {
  padding: clamp(110px, 12vw, 180px) 0;
  background: #091014;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(340px, 0.7fr) minmax(600px, 1.3fr);
  gap: clamp(70px, 10vw, 170px);
  align-items: start;
}

.faq-layout > h2 {
  position: sticky;
  top: 130px;
  font-size: clamp(3rem, 5vw, 5rem);
}

.faq-answers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.faq-answers article {
  min-height: 245px;
  padding: 25px;
  background: #111b1f;
  border: 1px solid var(--line-dark);
  border-radius: 14px;
}

.faq-answers h3 {
  font-size: 1.45rem;
  line-height: 1.05;
}

.faq-answers p {
  margin-top: 70px;
  color: rgba(227, 244, 241, 0.66);
  line-height: 1.52;
}

.web-contact {
  background: #0e171b;
}

@media (hover: hover) and (pointer: fine) {
  .project-wall:hover .wall-project-main {
    transform: rotate(1deg) translate(6px, -6px) translateZ(70px);
  }

  .project-wall:hover .wall-project-event {
    transform: rotate(-8deg) translate(-9px, -4px) translateZ(0);
  }

  .project-wall:hover .wall-project-beauty {
    transform: rotate(-1deg) translate(-8px, 8px) translateZ(80px);
  }

  .system-spectrum article:hover {
    border-color: rgba(105, 230, 231, 0.3);
    transform: translateY(-4px);
  }

  .published-project:hover .project-shot img {
    transform: scale(1.025);
    filter: saturate(1.05);
  }

  .published-project:hover > div i,
  .price-rail a:hover span {
    transform: translate(3px, -3px);
  }
}

@media (max-width: 1180px) {
  .services-hero-grid {
    grid-template-columns: minmax(380px, 0.8fr) minmax(530px, 1.2fr);
    width: calc(100vw - 44px);
  }

  .price-rail article {
    grid-template-columns: minmax(220px, 0.7fr) minmax(200px, 0.6fr) minmax(300px, 1fr);
  }

  .price-rail article > a {
    grid-column: 3;
    justify-self: start;
  }
}

@media (max-width: 1030px) {
  .services-hero-grid {
    grid-template-columns: 1fr;
    align-content: center;
    padding-top: 104px;
  }

  .services-hero-copy {
    max-width: 840px;
  }

  .services-hero h1 {
    width: 100%;
    max-width: 840px;
    font-size: clamp(4rem, 8vw, 5.4rem);
  }

  .project-wall {
    width: min(880px, 100%);
    min-height: 490px;
    margin: -20px auto 0;
  }

  .delivery-grid,
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .delivery-title,
  .faq-layout > h2 {
    position: static;
    max-width: 780px;
  }

  .price-rail article {
    grid-template-columns: minmax(210px, 0.7fr) minmax(0, 1fr);
  }

  .price-rail ul,
  .price-rail article > a {
    grid-column: 2;
  }
}

@media (max-width: 720px) {
  .services-hero-grid {
    width: 100%;
    padding: 108px 16px 70px;
  }

  .services-hero-copy {
    padding-left: 0;
  }

  .services-hero-copy .eyebrow {
    margin-bottom: 24px;
    font-size: 0.58rem;
  }

  .services-hero h1 {
    width: 100%;
    font-size: clamp(3.35rem, 16vw, 5rem);
  }

  .services-hero-copy > p:not(.eyebrow) {
    margin-top: 24px;
    font-size: 1rem;
  }

  .project-wall {
    min-height: 360px;
    margin-top: 14px;
  }

  .wall-project-main {
    right: 0;
    width: 70%;
  }

  .wall-project-event {
    left: 0;
    width: 48%;
  }

  .wall-project-beauty {
    width: 54%;
  }

  .web-systems,
  .delivery-system,
  .published-work,
  .pricing-section,
  .web-process,
  .web-faq {
    padding-top: 105px;
    padding-bottom: 95px;
  }

  .systems-heading h2,
  .projects-heading h2,
  .pricing-heading h2,
  .web-process h2 {
    font-size: clamp(3rem, 14vw, 4.7rem);
  }

  .system-spectrum {
    margin-top: 64px;
    padding-inline: 16px;
  }

  .system-spectrum article {
    min-height: 390px;
  }

  .delivery-map,
  .faq-answers {
    grid-template-columns: 1fr;
  }

  .delivery-map > div:nth-child(odd) {
    border-right: 0;
  }

  .delivery-map > div {
    min-height: 145px;
    padding-inline: 0;
  }

  .project-reel {
    margin-top: 32px;
  }

  .published-project {
    width: clamp(220px, 68vw, 250px);
  }

  .published-project > div {
    gap: 2px 10px;
    padding-inline: 1px;
  }

  .published-project > div p {
    font-size: 0.86rem;
  }

  .published-project > div span {
    font-size: 0.62rem;
    line-height: 1.3;
  }

  .published-work {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .price-rail {
    margin-top: 58px;
  }

  .price-rail article,
  .price-rail article.price-featured {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-inline: 0;
    padding: 30px 0;
    background: transparent;
  }

  .price-rail article.price-featured {
    padding-inline: 15px;
    background: rgba(105, 230, 231, 0.075);
  }

  .price-rail ul,
  .price-rail article > a {
    grid-column: 1;
  }

  .price-rail ul {
    grid-template-columns: 1fr;
  }

  .maintenance-note {
    align-items: flex-start;
    flex-direction: column;
  }

  .web-process ol {
    grid-template-columns: 1fr;
    margin-top: 60px;
  }

  .web-process li,
  .web-process li:first-child {
    min-height: 240px;
    padding-inline: 0;
    border-right: 0;
    border-left: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .web-process li > div {
    margin-top: 70px;
  }

  .faq-layout > h2 {
    font-size: clamp(3rem, 13vw, 4.5rem);
  }

  .faq-answers article {
    min-height: 215px;
  }

  .faq-answers p {
    margin-top: 52px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .project-reel {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
    scrollbar-width: thin;
    scrollbar-color: rgba(105, 230, 231, 0.5) transparent;
  }

  .project-track {
    animation: none !important;
    transform: none !important;
  }

  .project-set[aria-hidden="true"] {
    display: none;
  }
}
