body.main-page {
  position: relative;
  overflow: hidden;
  background: #f6f4ef;
  padding-top: 0;
}

.site-breathing-wall {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.site-breathing-wall canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.page-load-reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  transition:
    opacity 720ms ease,
    transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

body.main-page.is-page-ready .page-load-reveal {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .page-load-reveal,
  body.main-page.is-page-ready .page-load-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.main-page .page {
  position: relative;
  z-index: 1;
  height: 100vh;
  overflow: hidden;
  overflow-x: hidden;
  scroll-snap-type: none;
  overscroll-behavior-y: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.main-page .page::-webkit-scrollbar {
  display: none;
}

.main-corner-anchor {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  pointer-events: none;
}

.main-corner-asset {
  display: block;
  width: clamp(500px, 10vw, 500px);
  max-width: 18vw;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.main-shell {
  width: calc(100vw - 100px);
  min-height: 100vh;
  padding-bottom: clamp(28px, 3vw, 42px);
  padding-left: clamp(42px, 3vw, 100px);
  padding-right: clamp(42px, 3vw, 100px);
  position: relative;
}

.services-detailed-track {
  position: relative;
  height: 100%;
  width: 100%;
  transition: transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.main-stage-top {
  position: fixed;
  top: clamp(26px, 3vw, 40px);
  left: clamp(42px, 4vw, 72px);
  right: clamp(42px, 4vw, 72px);
  z-index: 140;
  min-height: clamp(56px, 6vw, 82px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-brand-lockup {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
}

.main-home-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.main-logo-corner {
  display: block;
  width: clamp(126px, 11vw, 184px);
  max-width: 24vw;
  height: auto;
  user-select: none;
}

.main-page .nav-link {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(16px, 1.15vw, 18px);
}

.main-page .nav-link::after {
  background: #ffffff;
}

.main-page .nav-link:hover,
.main-page .nav-link[aria-current="page"] {
  color: #ffffff;
}

.main-page .site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 1.8vw, 26px);
  flex-wrap: wrap;
}

.header-quote-button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  margin-left: clamp(4px, 0.8vw, 12px);
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.08);
  color: #fff9f0;
  text-decoration: none;
  font-family: "FuturaCyrillicBold", system-ui, sans-serif;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.header-quote-button:hover,
.header-quote-button:focus-visible {
  border-color: #ffffff;
  background: #ffffff;
  color: #e8742f;
  outline: none;
}

.services-detailed-stage {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.services-detailed-panel {
  width: min(1120px, 100%);
  min-height: calc(100vh - 160px);
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(320px, 1.12fr);
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(120px, 16vh, 180px) 0 clamp(56px, 9vh, 96px);
}

.services-detailed-panel--footer {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(24px, 4vh, 40px);
  min-height: calc(100vh - 160px);
  padding: clamp(120px, 16vh, 180px) 0 clamp(16px, 3vh, 28px);
}

.services-detailed-feature-row {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(320px, 1.12fr);
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
}

.services-detailed-copy {
  display: grid;
  gap: 16px;
  max-width: 560px;
}

.services-detailed-kicker {
  margin: 0;
  font-family: "FuturaCyrillicBold", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 249, 240, 0.78);
}

.services-detailed-title {
  margin: 0;
  font-family: "FuturaCyrillicBold", system-ui, sans-serif;
  font-size: clamp(34px, 4.4vw, 68px);
  line-height: 0.98;
  text-transform: uppercase;
  color: #ffffff;
}

.services-detailed-summary {
  margin: 0;
  font-size: clamp(17px, 1.45vw, 22px);
  line-height: 1.75;
  color: rgba(255, 249, 240, 0.86);
}

.services-detailed-visual {
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
}

.services-detailed-number {
  font-family: "FuturaCyrillicBold", system-ui, sans-serif;
  font-size: clamp(110px, 16vw, 200px);
  line-height: 0.82;
  letter-spacing: 0.03em;
  color: rgba(255, 249, 240, 0.16);
  user-select: none;
}

body.main-page .services-detailed-video-slot {
  width: min(100%, 520px);
  aspect-ratio: 16 / 10;
  border: 5px solid #ff8434 !important;
  border-radius: 0;
  background: rgba(255, 132, 52, 0.08) !important;
  box-shadow: 0 0 0 2px #ff8434 !important;
  object-fit: cover;
  display: block;
  overflow: hidden;
  box-sizing: border-box;
}

body.main-page video.services-detailed-video-slot {
  box-shadow: 0 0 0 2px #ff8434, 0 18px 38px rgba(128, 56, 0, 0.12) !important;
}

.services-detailed-usage {
  margin: 0;
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.75;
  color: rgba(255, 249, 240, 0.78);
}

.services-detailed-cta {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin-top: 10px;
  width: 100%;
}

.services-detailed-cta-label {
  margin: 0;
  font-size: clamp(12px, 0.95vw, 14px);
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 249, 240, 0.72);
  text-align: center;
}

.services-detailed-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 168px;
  min-height: 52px;
  padding: 0 24px;
  border: 1.5px solid rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff9f0;
  font-family: "FuturaCyrillicBold", system-ui, sans-serif;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: #ffffff !important;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

body.main-page a.services-detailed-cta-button {
  color: #ffffff !important;
}

.services-detailed-cta-button:hover,
.services-detailed-cta-button:focus-visible {
  background: #fff9f0;
  color: #d45d1f;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(128, 56, 0, 0.16);
  outline: none;
}

.services-detailed-footer-wrap {
  width: 100%;
  margin-top: 0;
  align-self: stretch;
}

.services-detailed-stage--processing {
  position: relative;
}

.services-detailed-stage--processing::before {
  content: "";
  position: absolute;
  top: clamp(108px, 14vh, 156px);
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 132, 52, 0.9), transparent);
  pointer-events: none;
}

.services-detailed-panel--processing {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(28px, 4vh, 44px);
  min-height: calc(100vh - 160px);
  padding: clamp(138px, 18vh, 196px) 0 clamp(20px, 3vh, 32px);
}

.services-detailed-processing-header {
  display: grid;
  gap: 16px;
  max-width: 760px;
}

.services-detailed-processing-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  align-items: start;
  gap: clamp(28px, 4vw, 56px);
  width: 100%;
}

.services-detailed-processing-content > * {
  min-width: 0;
}

.services-detailed-processing-carousel {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  justify-self: center;
  align-self: center;
  padding: 8px 0 8px;
  display: grid;
  gap: 14px;
  justify-items: stretch;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  min-width: 0;
}

.services-detailed-processing-card {
  display: none;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(255, 132, 52, 0.34);
  border-radius: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  box-shadow: 0 18px 30px rgba(128, 56, 0, 0.1);
  box-sizing: border-box;
  width: 100%;
}

.services-detailed-processing-card.is-active {
  display: grid;
}

.services-detailed-processing-card video {
  width: 100%;
}

.services-detailed-processing-label {
  margin: 0;
  font-family: "FuturaCyrillicBold", system-ui, sans-serif;
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #1f2933;
  text-align: center;
}

.services-detailed-processing-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.services-detailed-processing-counter {
  margin: 0;
  font-family: "FuturaCyrillicBold", system-ui, sans-serif;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 249, 240, 0.72);
}

.services-detailed-processing-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1.5px solid #ff8434;
  border-radius: 999px;
  background: #fff9f0;
  color: #d45d1f;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    opacity 180ms ease;
}

.services-detailed-processing-control:hover,
.services-detailed-processing-control:focus-visible {
  background: #ff8434;
  border-color: #ff8434;
  color: #ffffff;
  box-shadow: 0 14px 24px rgba(128, 56, 0, 0.18);
  transform: translateY(-1px);
  outline: none;
}

.services-detailed-processing-control[disabled] {
  opacity: 0.45;
  cursor: default;
  transform: none;
  box-shadow: none;
}

.main-page-dots {
  position: fixed;
  top: 50%;
  right: clamp(18px, 2vw, 28px);
  z-index: 125;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transform: translateY(-50%);
  padding: 14px 12px;
  border: 1px solid rgba(255, 132, 52, 0.38);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 28px rgba(128, 56, 0, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.main-page-dot {
  width: 12px;
  height: 12px;
  border: 1.5px solid rgba(255, 255, 255, 0.94);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    transform 180ms ease,
    opacity 180ms ease;
}

.main-page-dot:hover,
.main-page-dot:focus-visible {
  background: rgba(255, 255, 255, 0.56);
  outline: none;
}

.main-page-dot.is-active {
  background: #ffffff;
  transform: scale(1.15);
}

.services-detailed-stage:nth-of-type(even) .services-detailed-panel:not(.services-detailed-panel--footer),
.services-detailed-stage:nth-of-type(even) .services-detailed-feature-row {
  grid-template-columns: minmax(320px, 1.12fr) minmax(280px, 0.88fr);
}

.services-detailed-stage:nth-of-type(even) .services-detailed-copy {
  order: 2;
}

.services-detailed-stage:nth-of-type(even) .services-detailed-visual {
  order: 1;
}

@media (max-width: 960px) {
  .main-brand-lockup {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
  }

  .main-stage-top {
    top: 18px;
    left: 18px;
    right: 18px;
    min-height: auto;
    display: grid;
    justify-items: center;
    gap: 14px;
  }

  .main-page .site-nav {
    gap: 12px 20px;
  }

  .header-quote-button {
    min-height: 34px;
    margin-left: 0;
    padding: 0 12px;
    font-size: 11px;
  }

  .services-detailed-panel {
    width: calc(100vw - 32px);
    min-height: 100vh;
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 132px 0 92px;
  }

  .services-detailed-panel--footer {
    min-height: 100vh;
    gap: 28px;
    padding: 132px 0 20px;
  }

  .services-detailed-panel--processing {
    min-height: 100vh;
    padding: 148px 0 20px;
  }

  .services-detailed-processing-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .services-detailed-feature-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .services-detailed-stage:nth-of-type(even) .services-detailed-copy,
  .services-detailed-stage:nth-of-type(even) .services-detailed-visual {
    order: initial;
  }

  .services-detailed-visual {
    justify-content: flex-start;
  }

  .services-detailed-number {
    font-size: clamp(84px, 24vw, 150px);
  }

  .services-detailed-video-slot {
    width: 100%;
  }

  .services-detailed-processing-rail {
    grid-auto-columns: 100%;
  }

  .services-detailed-processing-carousel {
    width: min(100%, 520px);
    justify-self: start;
  }
}

@media (max-width: 720px) {
  body.main-page {
    scroll-snap-type: none;
  }

  .main-page .page {
    padding: 0;
    overflow: visible;
    scroll-snap-type: none;
  }

  .main-shell {
    width: calc(100vw - 20px);
    min-height: 100vh;
    padding-left: 12px;
    padding-right: 12px;
  }

  .services-detailed-track {
    height: auto;
    transition: none;
    transform: none !important;
    will-change: auto;
  }

  .main-page-dots,
  .main-corner-anchor {
    display: none;
  }

  .main-stage-top {
    justify-items: stretch;
  }

  .main-page .site-nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 12px;
  }

  .nav-dropdown {
    width: 100%;
    display: grid;
    gap: 8px;
  }

  .nav-dropdown::before {
    display: none;
  }

  .nav-dropdown-menu {
    position: static;
    left: auto;
    top: auto;
    transform: none;
    min-width: 0;
    width: 100%;
    padding: 8px;
    gap: 6px;
    opacity: 1;
    visibility: visible;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.14);
    box-shadow: none;
    backdrop-filter: none;
  }

  .nav-link,
  .nav-dropdown-link {
    width: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 14px;
    border-radius: 18px;
    text-align: center;
  }

  .nav-link {
    border: 1px solid rgba(255, 255, 255, 0.26);
    background: rgba(255, 255, 255, 0.08);
  }

  .services-detailed-panel {
    width: 100%;
    padding: 120px 0 76px;
    min-height: auto;
  }

  .services-detailed-stage--processing::before {
    top: 96px;
  }

  .services-detailed-processing-rail {
    grid-auto-columns: 100%;
  }

  .services-detailed-processing-card {
    padding: 14px;
    border-radius: 0;
  }

  .services-detailed-stage {
    min-height: auto;
  }
}

.main-stage-top {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  min-height: auto;
  display: block;
}

.site-header-inner {
  width: 100%;
  min-height: clamp(56px, 6vw, 82px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  column-gap: clamp(28px, 3vw, 56px);
}

.main-brand-lockup {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  min-height: clamp(56px, 6vw, 82px);
  display: flex;
  align-items: center;
  justify-self: start;
}

.main-page .site-nav {
  justify-self: center;
}

.site-header-action {
  justify-content: flex-end;
}

.header-quote-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 9px 18px;
  border: 1px solid #e8742f;
  border-radius: 999px;
  background: #e8742f;
  color: #ffffff;
  text-decoration: none;
  font-family: "FuturaCyrillicBold", system-ui, sans-serif;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.header-quote-button:hover,
.header-quote-button:focus-visible {
  border-color: #d76522;
  background: #d76522;
  color: #ffffff;
  outline: none;
}

@media (max-width: 960px) {
  .site-header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand quote"
      "nav nav";
    row-gap: 14px;
    column-gap: 16px;
  }

  .main-brand-lockup {
    grid-area: brand;
  }

  .main-page .site-nav {
    grid-area: nav;
  }

  .site-header-action {
    grid-area: quote;
    min-height: auto;
  }

  .header-quote-button {
    min-height: 0;
    padding: 9px 16px;
    font-size: 11px;
  }
}
  
.page-static-style-1 { --reveal-delay: 100ms; }
.page-static-style-2 { --reveal-delay: 180ms; }
.page-static-style-3 { --reveal-delay: 40ms; }
.page-static-style-4 { --reveal-delay: 120ms; }
.page-static-style-5 { --reveal-delay: 140ms; }
.page-static-style-6 { --reveal-delay: 160ms; }
.page-static-style-7 { --reveal-delay: 200ms; }

/* Stacked service panels need document scrolling on phones and tablets. */
@media (max-width: 960px) {
  body.main-page {
    overflow-x: hidden;
    overflow-y: auto;
  }

  body.main-page .page {
    display: block;
    height: auto;
    min-height: 100svh;
    overflow: visible;
    scroll-snap-type: none;
  }

  .main-page .main-shell {
    width: 100%;
    min-height: 0;
    padding: 0 24px 28px;
  }

  .services-detailed-track {
    height: auto;
    transition: none;
    transform: none !important;
    will-change: auto;
  }

  .main-page-dots,
  .main-corner-anchor {
    display: none;
  }

  .services-detailed-stage {
    min-height: 0;
    scroll-margin-top: calc(var(--mobile-site-header-height, 64px) + env(safe-area-inset-top) + 16px);
  }

  .services-detailed-panel,
  .services-detailed-panel--footer,
  .services-detailed-panel--processing {
    width: 100%;
    min-height: 0;
    padding: 32px 0;
    gap: 24px;
  }

  .services-detailed-panel,
  .services-detailed-feature-row,
  .services-detailed-stage:nth-of-type(even) .services-detailed-panel:not(.services-detailed-panel--footer),
  .services-detailed-stage:nth-of-type(even) .services-detailed-feature-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .services-detailed-copy,
  .services-detailed-processing-header,
  .services-detailed-visual {
    min-width: 0;
    max-width: none;
    width: 100%;
  }

  .services-detailed-stage + .services-detailed-stage {
    border-top: 1px solid rgba(31, 41, 51, 0.14);
  }

  .services-detailed-stage--processing::before {
    display: none;
  }

  .services-detailed-title {
    font-size: clamp(30px, 6vw, 44px);
    overflow-wrap: break-word;
  }

  .services-detailed-summary {
    line-height: 1.65;
  }

  .services-detailed-processing-controls {
    min-height: 48px;
  }

  .services-detailed-visual,
  .services-detailed-processing-carousel {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .main-page .main-shell {
    padding-right: 16px;
    padding-left: 16px;
  }

  .services-detailed-processing-header .services-detailed-title {
    font-size: clamp(28px, 6vw, 38px);
  }
}
