:root {
  --color-off-white: #eaf3f9;
  --color-off-white-semi: rgba(234, 243, 249, .72);
  --color-dark-white: #dcebf5;
  --color-blue: #273f5b;
  --color-dark-blue: #1b3048;
  --color-grey-blue: #273f5b;
  --color-green: #8fc7e8;
  --color-red: #477ca4;
  --color-purple: #6e9bbc;
  --header-color: #273f5b;
}

/* Материалы из технической презентации: команда. */
.aq-team-roster li {
  display: grid;
  grid-template-columns: 3.1rem minmax(0, 1fr);
  align-items: center;
  gap: .8rem;
}

.aq-team-roster li > img {
  width: 3.1rem;
  height: 3.1rem;
  border: 1px solid rgba(143, 199, 232, .34);
  border-radius: 50%;
  background: #10283b;
  object-fit: cover;
}

.aq-team-roster li > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: .15rem .75rem;
}

.aq-team-roster li em {
  grid-column: 1 / -1;
  color: rgba(255, 255, 255, .54);
  font-family: IBMPlexMono, monospace;
  font-size: clamp(.54rem, .56vw, .66rem);
  font-style: normal;
  line-height: 1.3;
}

@media (max-width: 768px) {
  .aq-team-roster li {
    grid-template-columns: 2.35rem minmax(0, 1fr);
    gap: .55rem;
  }

  .aq-team-roster li > img {
    width: 2.35rem;
    height: 2.35rem;
  }

  .aq-team-roster li > div {
    grid-template-columns: minmax(0, 1fr);
    gap: .05rem;
  }

  .aq-team-roster li em {
    display: none;
  }

}

/* 3D product walkthrough — container line, driven by the existing goal scroll. */
#aq-process-animation {
  --aq-model-line: rgba(143, 199, 232, .26);
}

.aq-technology-model {
  position: absolute;
  z-index: 1;
  top: clamp(12rem, 19vh, 15rem);
  right: 0;
  bottom: clamp(5.5rem, 10vh, 7.5rem);
  left: 36%;
  overflow: hidden;
  pointer-events: none;
}

#aq-technology-canvas {
  width: 100%;
  height: 100%;
  opacity: 0;
  filter: drop-shadow(0 2.4rem 3rem rgba(0, 0, 0, .32));
  transition: opacity .8s ease;
}

#aq-process-animation.is-model-ready #aq-technology-canvas {
  opacity: 1;
}

.aq-technology-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  color: rgba(220, 235, 245, .52);
  font-family: "IBMPlexMono", monospace;
  font-size: .64rem;
  letter-spacing: .12em;
  transform: translate(-50%, -50%);
  transition: opacity .35s ease;
}

.aq-technology-loading::before {
  content: "";
  display: inline-block;
  width: .52rem;
  height: .52rem;
  margin-right: .6rem;
  border: 1px solid #8fc7e8;
  border-top-color: transparent;
  border-radius: 50%;
  vertical-align: -.08rem;
  animation: aq-tech-spin .8s linear infinite;
}

#aq-process-animation.is-model-ready .aq-technology-loading {
  opacity: 0;
}

.aq-technology-orbit {
  position: absolute;
  right: var(--base-padding-x);
  bottom: .2rem;
  display: flex;
  gap: .55rem;
  align-items: center;
  color: rgba(220, 235, 245, .48);
  font-family: "IBMPlexMono", monospace;
  font-size: .58rem;
  letter-spacing: .08em;
}

.aq-technology-orbit span {
  display: block;
  width: 2.5rem;
  height: 1rem;
  border-top: 1px solid var(--aq-model-line);
  border-radius: 50%;
}

.aq-technology-hotspot {
  position: absolute;
  display: flex;
  gap: .65rem;
  align-items: center;
  max-width: 12rem;
  color: #dcebf5;
  font-family: "IBMPlexMono", monospace;
  font-size: .62rem;
  line-height: 1.35;
  letter-spacing: .04em;
  opacity: 0;
  transform: translateY(.7rem);
  transition: opacity .35s ease, transform .35s ease;
}

.aq-technology-hotspot::before {
  content: "";
  position: absolute;
  right: calc(100% - .3rem);
  width: clamp(2rem, 5vw, 5rem);
  border-top: 1px solid var(--aq-model-line);
}

.aq-technology-hotspot i {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: .62rem;
  height: .62rem;
  border: 1px solid #8fc7e8;
  border-radius: 50%;
  background: #0a2135;
  box-shadow: 0 0 0 .28rem rgba(143, 199, 232, .1);
}

.aq-technology-hotspot[data-hotspot="0"] { top: 22%; left: 61%; }
.aq-technology-hotspot[data-hotspot="1"] { top: 16%; left: 28%; }
.aq-technology-hotspot[data-hotspot="2"] { top: 44%; left: 66%; }
.aq-technology-hotspot[data-hotspot="3"] { top: 66%; left: 53%; }
.aq-technology-hotspot[data-hotspot="4"] { top: 32%; left: 71%; }

#aq-process-animation[data-phase="0"] .aq-technology-hotspot[data-hotspot="0"],
#aq-process-animation[data-phase="1"] .aq-technology-hotspot[data-hotspot="1"],
#aq-process-animation[data-phase="2"] .aq-technology-hotspot[data-hotspot="2"],
#aq-process-animation[data-phase="3"] .aq-technology-hotspot[data-hotspot="3"],
#aq-process-animation[data-phase="4"] .aq-technology-hotspot[data-hotspot="4"] {
  opacity: 1;
  transform: translateY(0);
}

#aq-process-animation .aq-process-stages {
  z-index: 2;
  right: 62%;
}

#aq-process-animation .aq-process-stage {
  display: block;
}

#aq-process-animation .aq-process-copy {
  width: 100%;
  max-width: 33rem;
}

#aq-process-animation .aq-process-copy strong {
  max-width: 10ch;
}

@keyframes aq-tech-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 812px) {
  .aq-technology-model {
    top: 11.8rem;
    right: 0;
    bottom: 42%;
    left: 0;
  }

  #aq-process-animation .aq-process-stages {
    top: 58%;
    right: var(--base-padding-x);
    bottom: 5.6rem;
  }

  #aq-process-animation .aq-process-copy strong {
    max-width: 14ch;
  }

  .aq-technology-hotspot {
    max-width: 8rem;
    font-size: .5rem;
  }

  .aq-technology-hotspot[data-hotspot="0"] { top: 21%; left: 64%; }
  .aq-technology-hotspot[data-hotspot="1"] { top: 16%; left: 27%; }
  .aq-technology-hotspot[data-hotspot="2"] { top: 48%; left: 65%; }
  .aq-technology-hotspot[data-hotspot="3"] { top: 70%; left: 53%; }
  .aq-technology-hotspot[data-hotspot="4"] { top: 30%; left: 70%; }

  .aq-technology-orbit {
    right: var(--base-padding-x);
    bottom: .1rem;
    font-size: .48rem;
  }
}

/* Editorial reset: the 3D prelude follows the site's typography, not dashboard UI. */
#home-goal {
  color: #edf3f6 !important;
  background: #0b2133 !important;
}

#home-goal-context-inner {
  overflow: visible;
  padding: clamp(9.5rem, 20vh, 15rem) clamp(2.4rem, 4.5vw, 5.8rem) clamp(2.2rem, 4.5vh, 3.8rem);
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

#home-goal-context-inner::before,
#home-goal-context-inner::after {
  display: none;
}

.aq-model-intro-flow {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  visibility: hidden;
  pointer-events: none;
}

.aq-model-intro-flow.is-ready {
  visibility: visible;
}

.aq-model-intro-flow-guide {
  fill: none;
  stroke: none;
  pointer-events: none;
}

.aq-model-intro-flow-path {
  fill: none;
  stroke: url(#aq-model-intro-flow-gradient);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 40px;
  opacity: .94;
  vector-effect: non-scaling-stroke;
  will-change: d;
}

#home-goal-title {
  width: 50% !important;
  color: #edf3f6;
  font-family: Aeonik, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(5rem, 7.2vw, 9.25rem) !important;
  font-weight: 400;
  line-height: .88 !important;
  letter-spacing: -.065em;
}

#home-goal-texts {
  top: clamp(10rem, 23vh, 17rem) !important;
  right: clamp(2.4rem, 4.5vw, 5.8rem);
  left: 58% !important;
  display: block;
  max-width: 34rem;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: #edf3f6;
  font-family: Aeonik, "Helvetica Neue", Arial, sans-serif;
  backdrop-filter: none;
}

.aq-model-intro-kicker {
  display: block;
  margin-bottom: clamp(1.4rem, 2.5vh, 2.2rem);
  color: rgba(237, 243, 246, .52);
  font-family: Aeonik, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(.9rem, 1vw, 1.15rem);
  letter-spacing: 0;
  text-transform: none;
}

.aq-model-intro-kicker span,
.aq-model-intro-metrics {
  display: none;
}

.aq-model-intro-lead {
  max-width: 15ch;
  color: #edf3f6;
  font-family: Aeonik, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.8rem, 2.4vw, 3rem);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -.04em;
}

.aq-model-intro-note {
  max-width: 31rem;
  margin-top: clamp(1.5rem, 3vh, 2.5rem) !important;
  color: rgba(237, 243, 246, .62);
  font-family: Aeonik, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1rem, 1.15vw, 1.3rem);
  line-height: 1.38;
}

.aq-model-intro-cue {
  gap: .85rem;
  margin-top: clamp(1.8rem, 3.5vh, 3rem);
  padding: 0 0 .3rem;
  border: 0;
  border-bottom: 1px solid rgba(237, 243, 246, .42);
  border-radius: 0;
  background: none;
  color: #edf3f6;
  font-family: Aeonik, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1rem, 1.05vw, 1.2rem);
  letter-spacing: 0;
}

.aq-model-intro-cue span {
  color: inherit;
  font-size: 1em;
}

.aq-model-intro-route {
  border-top: 1px solid rgba(237, 243, 246, .22);
}

.aq-model-intro-route span {
  padding: clamp(1rem, 2vh, 1.5rem) 1rem 0 0;
  color: rgba(237, 243, 246, .66);
  font-family: Aeonik, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1rem, 1.05vw, 1.2rem);
  letter-spacing: 0;
  text-transform: none;
}

.aq-model-intro-route span::before {
  display: none;
}

.aq-model-intro-route b {
  display: block;
  margin: 0 0 .45rem;
  color: rgba(237, 243, 246, .38);
  font-family: inherit;
  font-size: .72em;
  font-weight: 400;
}

/* Model annotations: plain labels and leaders, with no glow or circular markers. */
body #aq-process-animation .aq-technology-hotspot {
  gap: 0;
  max-width: 16rem;
  padding: .55rem .78rem .6rem;
  border: 0;
  border-radius: .35rem;
  background: #e7eef2;
  box-shadow: none;
  color: #10283a;
  font-family: Aeonik, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(.95rem, 1.05vw, 1.15rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
  backdrop-filter: none;
}

body #aq-process-animation.is-active .aq-technology-hotspot::before {
  right: 100%;
  width: var(--aq-leader-px, clamp(2rem, 4vw, 4rem));
  border-color: rgba(231, 238, 242, .58);
}

body #aq-process-animation.is-active .aq-technology-hotspot::after {
  position: absolute;
  top: calc(50% - 2px);
  right: calc(100% + var(--aq-leader-px, clamp(2rem, 4vw, 4rem)) - 2px);
  width: 4px;
  height: 4px;
  background: #e7eef2;
  content: "";
}

body #aq-process-animation .aq-technology-hotspot i {
  display: none;
}

body #aq-process-animation .aq-technology-orbit,
body #aq-process-animation .aq-process-heading small,
body #aq-process-animation .aq-process-progress-nodes {
  font-family: Aeonik, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
  text-transform: none;
}

body #aq-process-animation .aq-technology-orbit span {
  display: none;
}

body #aq-process-animation .aq-process-kicker {
  font-family: Aeonik, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
}

body #aq-process-animation .aq-process-kicker::before {
  display: none;
}

@media (max-width: 812px) {
  .aq-model-intro-flow-path {
    stroke-width: 28px;
    opacity: .94;
  }

  #home-goal-context-inner {
    padding: 8rem 1.3rem 1.3rem;
  }

  #home-goal-title {
    width: 100% !important;
    font-size: clamp(3.3rem, 15vw, 5.3rem) !important;
  }

  #home-goal-texts {
    position: relative !important;
    top: auto !important;
    right: auto;
    left: auto !important;
    margin-top: 3rem !important;
  }

  .aq-model-intro-lead {
    max-width: 18ch;
    font-size: clamp(1.65rem, 7vw, 2.35rem);
  }

  .aq-model-intro-note {
    font-size: 1rem;
  }

  .aq-model-intro-route {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid rgba(237, 243, 246, .22);
  }

  .aq-model-intro-route span {
    padding: .85rem .5rem .85rem 0;
    border: 0;
    border-bottom: 1px solid rgba(237, 243, 246, .12);
    border-radius: 0;
    background: none;
    font-size: .9rem;
  }

  body #aq-process-animation .aq-technology-hotspot {
    max-width: 11rem;
    padding: .42rem .55rem .45rem;
    font-size: .78rem;
  }
}

/* Keep the four presentation-sourced team profiles compact and readable. */
.aq-team-roster li {
  display: grid;
  grid-template-columns: 3.1rem minmax(0, 1fr);
  align-items: center;
  justify-content: initial;
  gap: .8rem;
}

.aq-team-roster li > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: .15rem .75rem;
}

@media (min-width: 769px) {
  .aq-team-roster {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1rem;
  }

  .aq-team-roster li {
    grid-template-columns: 2.8rem minmax(0, 1fr);
    gap: .55rem;
  }

  .aq-team-roster li > img {
    width: 2.8rem;
    height: 2.8rem;
  }

  .aq-team-roster li > div {
    grid-template-columns: minmax(0, 1fr);
    gap: .05rem;
  }

  .aq-team-roster li > div span {
    text-align: left;
  }
}

@media (max-height: 850px) {
  .aq-team-roster li em {
    display: none;
  }
}

@media (max-width: 768px) {
  .aq-team-roster li {
    grid-template-columns: 2.35rem minmax(0, 1fr);
    gap: .55rem;
  }

  .aq-team-roster li > img {
    width: 2.35rem;
    height: 2.35rem;
  }

  .aq-team-roster li > div {
    grid-template-columns: minmax(0, 1fr);
    gap: .05rem;
  }

  .aq-team-roster li > div span {
    text-align: left;
  }
}

/* Финальные переопределения карточек команды после базовых responsive-правил. */
.aq-team-roster li {
  display: grid;
  grid-template-columns: 3.1rem minmax(0, 1fr);
  align-items: center;
  gap: .8rem;
}

.aq-team-roster li > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: .15rem .75rem;
}

@media (max-width: 768px) {
  .aq-team-roster li {
    grid-template-columns: 2.35rem minmax(0, 1fr);
    align-items: center;
    gap: .55rem;
  }

  .aq-team-roster li > div {
    grid-template-columns: minmax(0, 1fr);
    gap: .05rem;
  }

  .aq-team-roster li > div span {
    text-align: left;
  }
}

@media (min-width: 769px) {
  .aq-team-roster {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1rem;
  }

  .aq-team-roster li {
    grid-template-columns: 2.8rem minmax(0, 1fr);
    gap: .55rem;
  }

  .aq-team-roster li > img {
    width: 2.8rem;
    height: 2.8rem;
  }

  .aq-team-roster li > div {
    grid-template-columns: minmax(0, 1fr);
    gap: .05rem;
  }

  .aq-team-roster li > div span {
    text-align: left;
  }
}

@media (max-height: 850px) {
  .aq-team-roster li em {
    display: none;
  }
}

body #aq-process-animation .aq-technology-hotspot::before {
  width: var(--aq-leader-px, clamp(2rem, 4vw, 4rem));
}

body #aq-process-animation .aq-technology-hotspot::after {
  right: calc(100% + var(--aq-leader-px, clamp(2rem, 4vw, 4rem)) - 2px);
}

@media (prefers-reduced-motion: reduce) {
  .aq-technology-loading::before {
    animation: none;
  }
}

@media (max-width: 700px) and (max-height: 430px) and (orientation: landscape) {
  .aq-stable-proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: minmax(0, 1fr);
    gap: .45rem;
  }

  .aq-stable-proof-copy {
    padding: .45rem;
  }

  .aq-stable-proof-copy small {
    margin-bottom: .25rem;
    font-size: .5rem;
  }

  .aq-stable-proof-copy h2 {
    font-size: clamp(.9rem, 4.8vh, 1.15rem);
    line-height: .96;
  }

  .aq-stable-method-copy h2,
  .aq-stable-team-copy h2 {
    font-size: clamp(1.3rem, 6.2vh, 1.7rem);
    line-height: .9;
  }

  .aq-stable-method-copy > p,
  .aq-stable-team-copy > p {
    display: none;
  }

  .aq-stable-team-person strong {
    font-size: .62rem;
  }

  .aq-stable-team-person span {
    font-size: .38rem;
  }
}

/* У исходного Aeonik нет кириллицы: оставляем его для латиницы и добавляем
   нейтральный sans-serif только как fallback для русского текста. */
html,
body,
h1,
h2,
h3,
h4,
h5,
button,
input {
  font-family: Aeonik, "Helvetica Neue", Arial, sans-serif;
}

/* Фирменный знак занимает ровно тот же layout-слот, что исходный wordmark. */
#header-logo {
  position: relative;
  display: block;
  width: 7.5em;
  height: 1.5em;
}

#header-logo img {
  position: absolute;
  left: 0;
  top: 50%;
  display: block;
  width: 7em;
  height: auto;
  transform: translateY(-50%);
  object-fit: contain;
  opacity: 0;
}

#header-logo:after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 7em;
  aspect-ratio: 1026 / 485;
  background: #273f5b;
  transform: translateY(-50%);
  -webkit-mask: url('/assets/brand/aquatech-logo.png') center / contain no-repeat;
  mask: url('/assets/brand/aquatech-logo.png') center / contain no-repeat;
}

html.is-black-bg #header-logo:after,
html.is-blue-bg #header-logo:after,
body.aq-project-detail-page #header-logo:after,
body:has(#project-details) #header-logo:after {
  background: #fff;
}

@media (max-width: 812px) {
  #header-logo {
    width: 6em;
    height: 1.5em;
  }

  #header-logo img {
    width: 5.7em;
  }

  #header-logo:after {
    width: 5.7em;
  }

  /* Мобильная шапка: две одинаковые кнопки в обычном потоке без старых сдвигов. */
  #header-container {
    min-height: 3.2em;
    overflow: visible;
    padding-bottom: 0;
  }

  #header-right {
    display: flex;
    width: auto;
    height: 3.2em;
    gap: .72em;
    align-items: center;
    justify-content: flex-end;
    transform: none !important;
  }

  #header-right-sound-btn,
  #header-right-talk-btn-placeholder {
    display: none !important;
  }

  #header-right-talk-btn,
  #header-right-menu-btn {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    flex: 0 0 3.2em;
    width: 3.2em !important;
    height: 3.2em !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 50% !important;
    transform: none !important;
  }

  #header-right-talk-btn {
    display: flex !important;
  }

  #header-right-talk-container,
  #header-right-menu-btn-inner {
    position: absolute;
    inset: 0;
    display: flex !important;
    width: 100% !important;
    height: 100% !important;
    align-items: center;
    justify-content: center;
    transform: none !important;
  }

  #header-right-menu-btn-inner {
    right: auto;
    gap: 0;
  }

  #header-right-menu-btn-dots {
    position: relative;
    top: auto;
    left: auto;
    width: 1.15em;
    height: 1.15em;
  }
}

#transition-brand-logo {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 101;
  width: clamp(150px, 19vw, 280px);
  height: auto;
  opacity: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

#aquatech-preloader-logo {
  position: absolute;
  left: 50%;
  top: 42%;
  width: clamp(150px, 19vw, 280px);
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: contain;
}

#preloader {
  background-color: #eaf3f9;
}

#preloader-percent-digits {
  color: #273f5b;
}

/* Изображения меняются внутри исходных карточек, размеры и поведение карточек не меняются. */
.project-item-image {
  overflow: hidden;
}

.project-item-line-1,
.project-item-line-2-inner,
#projects-main-title,
#about-award .about-award-item-wrapper-text {
  overflow-wrap: anywhere;
  word-break: normal;
}

.aq-project-image {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.aq-project-image.is-equipment {
  object-fit: contain;
  padding: 6%;
  background: #f7fbfe;
}

/* Media carousel inside the modular-layout project card. */
.aq-project-carousel {
  isolation: isolate;
  background: #dcebf5;
}

.aq-project-carousel-stage,
.aq-project-carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.aq-project-carousel-stage {
  z-index: 2;
  overflow: hidden;
  border-radius: inherit;
}

.aq-project-carousel-slide {
  display: block;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity .55s ease, transform 1.1s cubic-bezier(.2, .7, .2, 1);
  pointer-events: none;
}

.aq-project-carousel-slide.is-active {
  z-index: 1;
  opacity: 1;
  transform: scale(1);
}

/* WODEXPO footage is portrait. Keep the full 9:16 frame sharp inside the
   landscape project card instead of enlarging and cropping it with cover. */
.aq-project-carousel-slide.aq-wodexpo-card-video {
  object-fit: contain;
  object-position: center;
  background: #1c344b;
  transform: none;
}

.aq-project-carousel-slide.is-drawing {
  object-fit: contain;
  background: #eaf3f9;
}

.aq-project-carousel::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 3;
  height: 28%;
  border-radius: 0 0 inherit inherit;
  background: linear-gradient(to top, rgba(9, 25, 38, .62), transparent);
  pointer-events: none;
}

.aq-project-carousel-meta {
  position: absolute;
  right: 1rem;
  bottom: .88rem;
  left: 1rem;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: .75rem;
  padding-right: 4.4rem;
  color: #fff;
  font-family: IBMPlexMono, monospace;
  font-size: clamp(.55rem, .72vw, .72rem);
  line-height: 1;
  letter-spacing: .06em;
  text-transform: uppercase;
  pointer-events: none;
}

.aq-project-carousel-caption {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.aq-project-carousel-count {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, .7);
}

.aq-project-carousel-controls {
  position: absolute;
  right: .82rem;
  bottom: .66rem;
  z-index: 5;
  display: flex;
  align-items: center;
  color: #fff;
}

.aq-project-carousel-control {
  display: grid;
  width: 1.9rem;
  height: 1.8rem;
  place-items: center;
  font-family: Aeonik, sans-serif;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  outline: none;
}

.aq-project-carousel-control + .aq-project-carousel-control {
  border-left: 1px solid rgba(255, 255, 255, .42);
}

.aq-project-carousel-control:focus-visible {
  text-decoration: underline;
  text-underline-offset: .25rem;
}

@media (max-width: 812px) {
  .aq-project-carousel-meta {
    right: .75rem;
    bottom: .7rem;
    left: .75rem;
    padding-right: 3.8rem;
    font-size: .55rem;
  }

  .aq-project-carousel-controls {
    right: .55rem;
    bottom: .42rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .aq-project-carousel-slide {
    transform: none;
    transition: opacity .2s linear;
  }
}

#home-reel-thumb {
  overflow: hidden;
}

#home-reel-video-container {
  position: relative;
  overflow: hidden;
}

#home-reel-video-container:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(27, 48, 72, .15), rgba(39, 63, 91, .02)),
    url('/assets/aquatech/water-treatment-aerial.jpg') center / cover no-repeat;
}

#home-reel-video-container-decoration {
  position: relative;
  z-index: 1;
}

.aq-reel-image,
.aq-goal-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-reel-video-container-svgs svg {
  opacity: 0;
}

.home-reel-video-container-svgs:after {
  content: "ТЕХНОЛОГИЯ АКВАТЕХ";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #273f5b;
  font-family: IBMPlexMono, monospace;
  font-size: clamp(.75rem, 1vw, 1rem);
  letter-spacing: .08em;
}

/* Сохраняем исходные 4200vh и все scroll-тайминги, меняется только визуальная среда тоннеля. */
#home-goal {
  color: #273f5b !important;
  background-color: #eaf3f9;
  background-image:
    radial-gradient(circle at 20% 18%, rgba(82, 145, 184, .19) 0 2px, transparent 3px),
    radial-gradient(circle at 78% 72%, rgba(39, 63, 91, .13) 0 3px, transparent 4px),
    linear-gradient(135deg, rgba(255,255,255,.48), rgba(205,229,243,.62));
  background-size: 84px 84px, 126px 126px, 100% 100%;
  animation: aquatech-water-flow 18s linear infinite;
}

@keyframes aquatech-water-flow {
  from {
    background-position: 0 0, 0 0, 0 0;
  }

  to {
    background-position: 84px 168px, -126px 126px, 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  #home-goal {
    animation: none;
  }
}

#home-goal-tunnel-title {
  color: #273f5b !important;
}

/* Фирменная scroll-анимация заменяет только бывшую сцену тоннеля с космонавтами. */
#aq-process-animation {
  --aq-progress: 0;
  position: fixed;
  inset: 0;
  z-index: 4;
  overflow: hidden;
  color: #273f5b;
  background:
    radial-gradient(circle at 79% 14%, rgba(143, 199, 232, .34), transparent 32%),
    radial-gradient(circle at 12% 84%, rgba(71, 124, 164, .16), transparent 34%),
    #eaf3f9;
  opacity: 0;
  visibility: hidden;
  transition: opacity .55s ease, visibility 0s linear .55s;
  pointer-events: none;
}

#aq-process-animation.is-active {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.aq-process-grid {
  position: absolute;
  inset: 0;
  opacity: .46;
  background-image:
    linear-gradient(rgba(39, 63, 91, .075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(39, 63, 91, .075) 1px, transparent 1px);
  background-size: clamp(48px, 5.2vw, 76px) clamp(48px, 5.2vw, 76px);
  -webkit-mask-image: linear-gradient(to bottom, transparent 2%, #000 22%, #000 78%, transparent 98%);
  mask-image: linear-gradient(to bottom, transparent 2%, #000 22%, #000 78%, transparent 98%);
}

.aq-process-grid:before,
.aq-process-grid:after {
  content: "";
  position: absolute;
  border: 1px solid rgba(39, 63, 91, .16);
  border-radius: 50%;
}

.aq-process-grid:before {
  width: min(48vw, 690px);
  aspect-ratio: 1;
  right: -12vw;
  top: -26vw;
  animation: aq-process-orbit 24s linear infinite;
}

.aq-process-grid:after {
  width: min(31vw, 450px);
  aspect-ratio: 1;
  left: -10vw;
  bottom: -18vw;
  animation: aq-process-orbit 18s linear infinite reverse;
}

.aq-process-bubbles {
  position: absolute;
  inset: 0;
}

.aq-process-bubbles span {
  position: absolute;
  bottom: -4rem;
  width: .7rem;
  height: .7rem;
  border: 1px solid rgba(39, 63, 91, .28);
  border-radius: 50%;
  animation: aq-process-bubble 10s linear infinite;
}

.aq-process-bubbles span:nth-child(1) { left: 8%; animation-delay: -2s; }
.aq-process-bubbles span:nth-child(2) { left: 23%; width: 1.25rem; height: 1.25rem; animation-delay: -7s; animation-duration: 14s; }
.aq-process-bubbles span:nth-child(3) { left: 43%; width: .45rem; height: .45rem; animation-delay: -4s; animation-duration: 8s; }
.aq-process-bubbles span:nth-child(4) { left: 61%; width: 1.7rem; height: 1.7rem; animation-delay: -10s; animation-duration: 16s; }
.aq-process-bubbles span:nth-child(5) { left: 78%; animation-delay: -5s; animation-duration: 12s; }
.aq-process-bubbles span:nth-child(6) { left: 92%; width: 1.1rem; height: 1.1rem; animation-delay: -1s; animation-duration: 13s; }

.aq-process-kicker {
  position: absolute;
  left: var(--base-padding-x);
  top: calc(var(--base-padding-y) + 6.2rem);
  z-index: 2;
  font-family: IBMPlexMono, monospace;
  font-size: clamp(.68rem, .72vw, .9rem);
  letter-spacing: .08em;
}

.aq-process-kicker:before {
  content: "";
  display: inline-block;
  width: .5em;
  height: .5em;
  margin-right: .75em;
  border-radius: 50%;
  background: #477ca4;
  box-shadow: 0 0 0 .35em rgba(71, 124, 164, .14);
  vertical-align: .08em;
}

.aq-process-stages {
  position: absolute;
  inset: clamp(10rem, 19vh, 13.5rem) var(--base-padding-x) clamp(8.5rem, 15vh, 11rem);
  z-index: 2;
}

.aq-process-stage {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(17rem, .92fr);
  gap: clamp(2rem, 5vw, 7rem);
  align-items: center;
  opacity: 0;
  transform: translate3d(0, 2.4rem, 0);
  transition: opacity .55s ease, transform .7s cubic-bezier(.2, .8, .2, 1);
}

#aq-process-animation[data-phase="0"] .aq-process-stage[data-stage="0"],
#aq-process-animation[data-phase="1"] .aq-process-stage[data-stage="1"],
#aq-process-animation[data-phase="2"] .aq-process-stage[data-stage="2"],
#aq-process-animation[data-phase="3"] .aq-process-stage[data-stage="3"],
#aq-process-animation[data-phase="4"] .aq-process-stage[data-stage="4"] {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.aq-process-visual {
  position: relative;
  height: 100%;
  min-height: 20rem;
  overflow: hidden;
  border: 1px solid rgba(39, 63, 91, .18);
  border-radius: var(--global-border-radius);
  background: #d9e8f2;
  box-shadow: 0 2.2rem 6rem rgba(27, 48, 72, .13);
}

.aq-process-visual:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(27, 48, 72, .23));
}

.aq-process-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.aq-process-visual.is-equipment {
  background: rgba(247, 251, 254, .92);
}

.aq-process-visual.is-equipment img {
  object-fit: contain;
  padding: clamp(2rem, 5vw, 5rem);
}

.aq-process-visual-index {
  position: absolute;
  left: clamp(1rem, 2vw, 2rem);
  bottom: clamp(.8rem, 1.6vw, 1.5rem);
  z-index: 1;
  color: #fff;
  font-size: clamp(3.3rem, 7vw, 8rem);
  line-height: .8;
  letter-spacing: -.08em;
}

.aq-process-visual.is-equipment .aq-process-visual-index {
  color: #273f5b;
}

.aq-process-copy {
  align-self: center;
  max-width: 34rem;
}

.aq-process-copy-step {
  display: block;
  margin-bottom: clamp(1.3rem, 2.2vh, 2rem);
  font-family: IBMPlexMono, monospace;
  font-size: clamp(.7rem, .76vw, .95rem);
  letter-spacing: .08em;
}

.aq-process-copy strong {
  display: block;
  max-width: 12ch;
  font-size: clamp(2.5rem, 4.5vw, 5.4rem);
  font-weight: 400;
  line-height: .92;
  letter-spacing: -.055em;
}

.aq-process-copy p {
  max-width: 35rem;
  margin: clamp(1.5rem, 3vh, 2.8rem) 0 0;
  font-size: clamp(1rem, 1.25vw, 1.5rem);
  line-height: 1.35;
}

.aq-process-progress {
  position: absolute;
  left: var(--base-padding-x);
  right: var(--base-padding-x);
  bottom: clamp(2rem, 5vh, 4.2rem);
  z-index: 2;
}

.aq-process-progress-track {
  position: relative;
  height: 1px;
  background: rgba(39, 63, 91, .22);
}

.aq-process-progress-track span {
  position: absolute;
  inset: 0;
  background: #273f5b;
  transform: scaleX(var(--aq-progress));
  transform-origin: left center;
}

.aq-process-progress-nodes {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding-top: .75rem;
  font-family: IBMPlexMono, monospace;
  font-size: clamp(.58rem, .66vw, .8rem);
  text-transform: uppercase;
}

.aq-process-progress-nodes span {
  position: relative;
  opacity: .38;
  transition: opacity .3s ease;
}

.aq-process-progress-nodes span:before {
  content: "";
  position: absolute;
  top: calc(-.75rem - 3px);
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #273f5b;
}

.aq-process-progress-nodes span:last-child {
  text-align: right;
}

.aq-process-progress-nodes span:last-child:before {
  right: 0;
  left: auto;
}

#aq-process-animation[data-phase="0"] .aq-process-progress-nodes span:nth-child(-n + 1),
#aq-process-animation[data-phase="1"] .aq-process-progress-nodes span:nth-child(-n + 2),
#aq-process-animation[data-phase="2"] .aq-process-progress-nodes span:nth-child(-n + 3),
#aq-process-animation[data-phase="3"] .aq-process-progress-nodes span:nth-child(-n + 4),
#aq-process-animation[data-phase="4"] .aq-process-progress-nodes span:nth-child(-n + 5) {
  opacity: 1;
}

@keyframes aq-process-bubble {
  from { transform: translate3d(0, 0, 0) scale(.65); opacity: 0; }
  14% { opacity: .85; }
  to { transform: translate3d(2.5rem, -112vh, 0) scale(1.2); opacity: 0; }
}

@keyframes aq-process-orbit {
  to { transform: rotate(1turn); }
}

@media (max-width: 812px) {
  .project-item-line-1 {
    max-width: 24ch;
    line-height: 1.15;
  }

  .project-item-line-2-inner {
    max-width: 18ch;
    line-height: 1.05;
  }

  .aq-process-kicker {
    top: 7.2rem;
  }

  .aq-process-stages {
    inset: 10.2rem var(--base-padding-x) 7.2rem;
  }

  .aq-process-stage {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1.05fr) auto;
    gap: 1.35rem;
  }

  .aq-process-visual {
    min-height: 0;
  }

  .aq-process-copy {
    align-self: end;
  }

  .aq-process-copy strong {
    max-width: 13ch;
    font-size: clamp(2.2rem, 10vw, 3.8rem);
  }

  .aq-process-copy p {
    margin-top: .9rem;
    font-size: .9rem;
  }

  .aq-process-copy-step {
    margin-bottom: .65rem;
  }

  .aq-process-progress {
    bottom: 1.6rem;
  }

  .aq-process-progress-nodes {
    font-size: .48rem;
  }
}

/* Этот слой заменяет только финальную сцену с космонавтом, сохраняя ее секцию и прокрутку. */
#end-section-inner:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(10, 29, 46, .82), rgba(39, 63, 91, .42)),
    url('/assets/aquatech/water-treatment-aerial.jpg') center / cover no-repeat;
}

#end-section-content,
#end-bottom {
  z-index: 1;
}

/* Логотип в анимированной заставке About остается в прежних SVG-рамках. */
#about-who-title-main-logo image,
#about-who-title-left-2 image {
  pointer-events: none;
  filter: brightness(0) invert(1);
}

/* Статичный фирменный кадр занимает только место удалённого ландшафта
   с космонавтом; горизонтальная механика исходного About остаётся прежней. */
#about-who-subsection-we-are {
  z-index: 3;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(15, 34, 51, .76), rgba(39, 63, 91, .35)),
    url('/assets/aquatech/water-treatment-aerial.jpg') center / cover no-repeat;
}

#about-who-subsection-we-are:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 72% 22%, rgba(143, 199, 232, .3), transparent 24%),
    linear-gradient(180deg, transparent 48%, rgba(10, 25, 39, .52));
  pointer-events: none;
}

#about-who-subsection-we-are > * {
  z-index: 1;
}

#about-who-team-faces {
  overflow: hidden;
  border-radius: var(--global-border-radius);
}

/* Контуры исходных SVG остаются в DOM для WebGL-парсера, русский текст лежит
   поверх абсолютно и не участвует в flex-раскладке. */
#about-who-team-title {
  opacity: 0;
}

#about-who-team-right:before {
  content: "КОМАНДА";
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  color: #fff;
  font-size: clamp(2.6rem, 3.9vw, 4.8rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.045em;
  pointer-events: none;
}

.aq-director-photo {
  position: absolute;
  inset: 7% 12% 8% 12%;
  z-index: 3;
  display: block;
  width: 76%;
  height: 85%;
  object-fit: cover;
  object-position: center 28%;
  border-radius: var(--global-border-radius);
  box-shadow: 0 2rem 6rem rgba(0, 0, 0, .24);
  opacity: 0;
  transition: opacity .35s ease;
}

#about-who-team-faces[data-member="edan"] .aq-director-photo {
  opacity: 1;
}

#about-clients-carousel img {
  display: block;
  flex: 0 0 15em;
  width: 15em;
  height: 15em;
  object-fit: cover;
  object-position: center;
  padding: 0;
  border-radius: var(--global-border-radius);
  background: #f7fbfe;
}

#about-award {
  position: relative;
}

#about-award:before {
  content: "ПРОЕКТЫ\A И РЕЗУЛЬТАТЫ";
  position: absolute;
  left: var(--base-padding-x);
  top: 3.2%;
  color: rgba(234, 243, 249, .2);
  font-size: clamp(5rem, 13.2vw, 15rem);
  font-weight: 400;
  line-height: .86;
  letter-spacing: -.065em;
  white-space: pre;
  pointer-events: none;
}

#header-menu-labs-lucy-svg {
  color: #8fc7e8;
}

.aq-menu-mark {
  display: block;
  width: 2.2em;
  height: 2.2em;
  object-fit: contain;
}

@media (max-width: 812px) {
  .aq-director-photo {
    inset: 4% 8% 19%;
    width: 84%;
    height: 77%;
  }

  #about-who-team-right:before {
    font-size: 10.5vw;
  }

  #about-award:before {
    top: 1.4%;
    font-size: 16vw;
  }

  #about-award .about-award-item-wrapper-text {
    max-width: 22ch;
  }

}

@media (prefers-reduced-motion: reduce) {
  .aq-process-grid:before,
  .aq-process-grid:after,
  .aq-process-bubbles span {
    animation: none;
  }
}

/* Команда и опыт: доказательства компетенций вместо зачёркнутого списка должностей. */
.award-category-talks .aq-team-proof {
  display: grid;
  grid-template-columns: minmax(16rem, 34vw) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 8rem);
  align-items: start;
  margin-left: 0;
}

.award-category-talks .aq-team-proof-lead {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 5rem);
}

.award-category-talks .aq-team-proof-lead > p {
  max-width: 19ch !important;
  font-family: Arial, sans-serif;
  font-size: clamp(2rem, 3.25vw, 4rem) !important;
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.055em;
}

.award-category-talks .aq-team-patent {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
}

.award-category-talks .aq-team-patent b {
  font-family: Arial, sans-serif;
  font-size: clamp(4rem, 7vw, 8rem) !important;
  font-weight: 400;
  line-height: .72;
  letter-spacing: -.08em;
}

.award-category-talks .aq-team-patent span {
  max-width: 11ch;
  color: #8fc7e8;
  font-family: IBMPlexMono, monospace;
  font-size: clamp(.75rem, 1vw, 1.05rem) !important;
  line-height: 1.15;
  text-transform: uppercase;
}

.award-category-talks .aq-team-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, .28);
  border-left: 1px solid rgba(255, 255, 255, .28);
}

.award-category-talks .aq-team-proof-grid article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(.85rem, 1.4vw, 1.5rem);
  min-height: clamp(10rem, 16vw, 17rem);
  padding: clamp(1.2rem, 2.2vw, 2.5rem);
  border-right: 1px solid rgba(255, 255, 255, .28);
  border-bottom: 1px solid rgba(255, 255, 255, .28);
}

.award-category-talks .aq-team-proof-index {
  color: #8fc7e8;
  font-family: IBMPlexMono, monospace;
  font-size: clamp(.7rem, .85vw, .95rem);
}

.award-category-talks .aq-team-proof-grid h6 {
  margin: 0;
  font-family: Arial, sans-serif;
  font-size: clamp(1.5rem, 2.1vw, 2.8rem) !important;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.045em;
}

.award-category-talks .aq-team-proof-grid p {
  max-width: 26ch !important;
  margin: clamp(1.5rem, 3vw, 3.5rem) 0 0;
  color: rgba(234, 243, 249, .7);
  font-family: Arial, sans-serif;
  font-size: clamp(.85rem, 1.05vw, 1.2rem) !important;
  line-height: 1.35;
}

@media (max-width: 1000px) {
  .award-category-talks .aq-team-proof {
    grid-template-columns: 1fr;
  }

  .award-category-talks .aq-team-proof-lead {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }

  .award-category-talks .aq-team-proof-lead > p {
    max-width: 22ch !important;
  }
}

@media (max-width: 600px) {
  .award-category-talks .aq-team-proof-lead {
    display: flex;
  }

  .award-category-talks .aq-team-proof-grid {
    grid-template-columns: 1fr;
  }

  .award-category-talks .aq-team-proof-grid article {
    min-height: 9rem;
  }
}

/* Финальная полировка АкваТех: эти правила идут последними, поэтому они
   аккуратно перекрывают только оставшиеся стили исходного шаблона. */
#header-logo:after {
  aspect-ratio: 1026 / 512;
}

#transition-brand-logo,
#aquatech-preloader-logo {
  display: none !important;
}

#aquatech-loader-logo {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 201;
  display: block;
  width: clamp(150px, 19vw, 280px);
  height: auto;
  transform: translate(-50%, -50%);
  opacity: 1;
  pointer-events: none;
  transition: opacity .22s ease;
}

#preloader,
html.is-ready #preloader {
  background-color: #eaf3f9 !important;
}

html.aq-loader-released #preloader,
html.aq-loader-released #aquatech-loader-logo,
html.aq-loader-released #transition-overlay {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

#preloader-percent-digits {
  z-index: 202;
  color: #273f5b !important;
}

/* Один спокойный кадр вместо конкурирующих слоёв старого reel-видео. */
#home-reel-video-container {
  isolation: isolate;
  background: #102b43;
}

#home-reel-video-container:before {
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(8, 30, 49, .22), rgba(39, 63, 91, .04)),
    url('/assets/aquatech/water-treatment-aerial.jpg') center / cover no-repeat;
}

@media (max-width: 812px) {
  #home-reel-video-container:before {
    background:
      linear-gradient(90deg, rgba(8, 30, 49, .22), rgba(39, 63, 91, .04)),
      url('/assets/aquatech/water-treatment-aerial-mobile.webp') center / cover no-repeat;
  }
}

#home-reel-video-container-decoration {
  z-index: 1;
}

#home-reel-video-title,
#home-reel-video-watch-btn,
.home-reel-video-container-svgs:after {
  display: none !important;
}

.home-reel-video-container-svgs svg {
  visibility: hidden;
}

/* Процесс стал коротким: пять фаз остаются привязаны к scroll-ratio, но
   пользователь проходит их примерно за шесть экранов, а не за десятки. */
#home-goal {
  padding-bottom: calc(var(--vh, 1vh) * 420) !important;
  color: #eaf3f9 !important;
  background-color: #081b2e;
  background-image:
    radial-gradient(circle at 16% 20%, rgba(143, 199, 232, .18) 0 1px, transparent 2px),
    radial-gradient(circle at 78% 72%, rgba(143, 199, 232, .14) 0 2px, transparent 3px),
    linear-gradient(135deg, #081b2e, #102f49 52%, #0a2035);
  background-size: 86px 86px, 132px 132px, 100% 100%;
}

#home-goal-tunnel-title {
  color: #eaf3f9 !important;
}

#aq-process-animation {
  color: #eaf3f9;
  background:
    radial-gradient(circle at 82% 15%, rgba(143, 199, 232, .22), transparent 30%),
    radial-gradient(circle at 7% 86%, rgba(71, 124, 164, .18), transparent 34%),
    #081b2e;
}

.aq-process-grid {
  opacity: .38;
  background-image:
    linear-gradient(rgba(143, 199, 232, .11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 199, 232, .11) 1px, transparent 1px);
}

.aq-process-grid:before,
.aq-process-grid:after {
  border-color: rgba(143, 199, 232, .22);
}

.aq-process-bubbles span {
  border-color: rgba(143, 199, 232, .45);
}

.aq-process-kicker {
  color: #a8bfd0;
}

.aq-process-kicker:before {
  background: #8fc7e8;
  box-shadow: 0 0 0 .35em rgba(143, 199, 232, .16);
}

.aq-process-heading {
  position: absolute;
  left: var(--base-padding-x);
  top: calc(var(--base-padding-y) + 7.7rem);
  z-index: 2;
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
  max-width: calc(100% - var(--base-padding-x) * 2);
  color: #eaf3f9;
  font-size: clamp(2.4rem, 5vw, 6rem);
  line-height: .88;
  letter-spacing: -.065em;
}

.aq-process-heading span {
  display: block;
}

.aq-process-heading small {
  display: block;
  flex: 0 0 20ch;
  max-width: 20ch;
  color: #8fc7e8;
  font-family: IBMPlexMono, monospace;
  font-size: clamp(.68rem, .9vw, 1rem);
  line-height: 1.15;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.aq-process-stages {
  inset: clamp(16.5rem, 28vh, 21rem) var(--base-padding-x) clamp(8.5rem, 15vh, 11rem);
}

.aq-process-stage {
  gap: clamp(2rem, 5vw, 7rem);
}

.aq-process-visual {
  border-color: rgba(143, 199, 232, .28);
  background: #153852;
  box-shadow: 0 2.2rem 6rem rgba(0, 0, 0, .28);
}

.aq-process-visual:after {
  background: linear-gradient(180deg, transparent 45%, rgba(5, 20, 34, .58));
}

.aq-process-visual.is-equipment {
  background: #dcebf5;
}

.aq-process-visual-index {
  color: #eaf3f9;
}

.aq-process-visual.is-equipment .aq-process-visual-index {
  color: #273f5b;
}

.aq-process-visual-label {
  position: absolute;
  right: clamp(1rem, 2vw, 2rem);
  bottom: clamp(1rem, 2vw, 1.5rem);
  z-index: 2;
  color: #eaf3f9;
  font-family: IBMPlexMono, monospace;
  font-size: clamp(.6rem, .72vw, .82rem);
  letter-spacing: .08em;
}

.aq-process-visual.is-equipment .aq-process-visual-label {
  color: #273f5b;
}

.aq-process-copy-step {
  color: #8fc7e8;
}

.aq-process-copy strong {
  max-width: 13ch;
  color: #eaf3f9;
}

.aq-process-copy p {
  color: #dcebf5;
}

.aq-process-metric {
  display: flex;
  align-items: baseline;
  gap: .9rem;
  margin-top: clamp(1.5rem, 3vh, 2.8rem);
  padding-top: .85rem;
  border-top: 1px solid rgba(143, 199, 232, .42);
}

.aq-process-metric b {
  color: #8fc7e8;
  font-size: clamp(1.8rem, 3vw, 3.4rem);
  font-weight: 400;
  letter-spacing: -.06em;
  white-space: nowrap;
}

.aq-process-metric span {
  max-width: 18ch;
  color: #a8bfd0;
  font-family: IBMPlexMono, monospace;
  font-size: clamp(.62rem, .72vw, .82rem);
  line-height: 1.25;
  text-transform: uppercase;
}

.aq-process-progress-track {
  background: rgba(143, 199, 232, .3);
}

.aq-process-progress-track span {
  background: #8fc7e8;
}

.aq-process-progress-nodes {
  color: #a8bfd0;
}

.aq-process-progress-nodes span:before {
  background: #8fc7e8;
}

body:has(#aq-process-animation.is-entered) #header-logo:after {
  background: #eaf3f9;
}

body:has(#aq-process-animation.is-entered) #header-right-talk-btn,
body:has(#aq-process-animation.is-entered) #header-right-menu-btn,
body:has(#aq-process-animation.is-entered) #header-right-sound-btn-background-layer1 {
  color: #273f5b;
  background-color: #eaf3f9;
}

body:has(#aq-process-animation.is-entered) #header-right-talk-btn {
  color: #273f5b;
}

/* Инженерный оборот capability-карт без игральной символики. Настоящий
   знак АкваТех по-прежнему накладывается отдельно и остаётся резким. */
.about-capability-card-back {
  position: relative;
  overflow: hidden;
  border: 3px solid #fff !important;
  background-color: #1a2ffb;
  background-image: url('/assets/images/cards/back-industrial-v2.webp') !important;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.about-capability-card-back:after {
  content: "";
  position: absolute;
  left: 49.5%;
  top: 45.8%;
  z-index: 2;
  width: 23%;
  height: 12%;
  aspect-ratio: 1026 / 512;
  background: transparent url('/assets/brand/aquatech-logo-white.png') center / contain no-repeat;
  transform: translate(-50%, -50%);
}

/* Обе строки заголовка используют один кегль. Вторую строку начинаем от
   левого края и расширяем её reveal-обёртку до края viewport. */
@media (min-width: 813px) {
  #about-capability-title #about-capability-title-line-2 {
    left: 0;
    white-space: nowrap;
  }

  #about-capability-title > div:nth-child(2) {
    width: calc(100% + var(--base-padding-x));
    max-width: none;
  }
}

/* Командный блок остаётся в исходной scroll-сцене, но становится читаемым
   редакционным представлением вместо случайных лиц из старого WebGL. */
#about-who-team-title,
#about-who-team-desc,
#about-who-team-info,
#about-who-team-right:before,
#about-who-face-cursor,
#about-who-team-left-mobile-tips,
#about-who-team-progress {
  display: none !important;
}

#about-who-team-right {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 0;
}

.aq-team-editorial {
  position: relative;
  z-index: 4;
  width: min(100%, 34rem);
  margin-top: clamp(.5rem, 2vh, 1.8rem);
}

.aq-team-editorial-kicker {
  display: block;
  margin-bottom: .8rem;
  color: #8fc7e8;
  font-family: IBMPlexMono, monospace;
  font-size: clamp(.65rem, .72vw, .82rem);
  letter-spacing: .08em;
}

.aq-team-editorial h3 {
  max-width: 100%;
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 3vw, 3.6rem);
  font-weight: 400;
  line-height: .94;
  letter-spacing: -.055em;
}

.aq-team-editorial p {
  max-width: 35ch;
  margin: .9rem 0 0;
  color: rgba(255, 255, 255, .78);
  font-size: clamp(.8rem, .9vw, 1rem);
  line-height: 1.28;
}

.aq-team-stats {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: .8rem;
  margin-top: 1rem;
}

.aq-team-stats div {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  padding-top: .45rem;
  border-top: 1px solid rgba(143, 199, 232, .45);
}

.aq-team-stats b {
  color: #8fc7e8;
  font-size: clamp(1.7rem, 2.3vw, 2.7rem);
  font-weight: 400;
  letter-spacing: -.06em;
}

.aq-team-stats span,
.aq-team-roster span {
  color: rgba(255, 255, 255, .68);
  font-family: IBMPlexMono, monospace;
  font-size: .58rem;
  line-height: 1.3;
  text-transform: uppercase;
}

.aq-team-roster {
  display: grid;
  gap: 0;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.aq-team-roster li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: .42rem 0;
  border-top: 1px solid rgba(255, 255, 255, .2);
}

.aq-team-roster strong {
  color: #fff;
  font-size: clamp(.78rem, .92vw, 1rem);
  font-weight: 400;
}

.aq-team-roster span {
  text-align: right;
}

.aq-director-photo {
  inset: 7% 12% 8% 12%;
  width: 76%;
  height: 85%;
  object-position: center 32%;
  opacity: 1 !important;
}

#about-who-team-faces[data-member] .aq-director-photo {
  opacity: 1 !important;
}

#about-who-team-job-text {
  white-space: normal !important;
}

@media (min-width: 813px) {
  #footer-middle {
    padding-top: clamp(4rem, 8vh, 6rem);
  }
}

html.is-footer-in #header-logo {
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 812px) {
  #aq-process-animation .aq-process-heading {
    top: 9rem;
    display: block;
    font-size: clamp(2.35rem, 12vw, 4.6rem);
  }

  #aq-process-animation .aq-process-heading small {
    margin-top: .55rem;
    max-width: 20ch;
  }

  #aq-process-animation .aq-process-stages {
    inset: 15.5rem var(--base-padding-x) 7.2rem;
  }

  .aq-process-copy strong {
    max-width: 14ch;
  }

  .aq-process-metric {
    margin-top: .95rem;
  }

  .aq-process-metric b {
    font-size: 1.75rem;
  }

  .aq-process-metric span {
    font-size: .56rem;
  }

  .aq-team-editorial {
    width: 100%;
    margin-top: 0;
  }

  .aq-team-editorial h3 {
    max-width: 13ch;
    font-size: clamp(2.25rem, 10vw, 4rem);
  }

  .aq-team-editorial p {
    max-width: 32ch;
  }

  .aq-team-roster li {
    display: grid;
    gap: .25rem;
  }

  .aq-team-roster span {
    text-align: left;
  }

  .aq-director-photo {
    inset: 4% 8% 19%;
    width: 84%;
    height: 77%;
  }
}

/* Последний проход: загрузчик, ритм длинных сцен и адаптивные ограничения. */
.aq-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

#preloader-percent-digits {
  position: fixed;
  left: 50%;
  top: calc(50% + clamp(5.5rem, 10vw, 8.5rem));
  bottom: auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  height: 1em;
  color: #273f5b !important;
  font-family: IBMPlexMono, monospace;
  font-size: clamp(.7rem, .86vw, .88rem);
  line-height: 1;
  letter-spacing: .08em;
  transform: translateX(-50%);
  overflow: hidden;
}

#preloader-percent-digits:after {
  content: "%";
  display: block;
  margin-left: .2em;
}

.preloader-percent-digit {
  flex: 0 0 .72em;
  width: .72em;
  height: 1em;
  line-height: 1em;
  transform: none !important;
}

.preloader-percent-digit-num {
  display: block;
  height: 1em;
  line-height: 1em;
}

.preloader-percent-digit-num:nth-child(2) {
  display: none;
}

/* Уникальные id для двух служебных клонов исходной анимации. */
#end-bottom-text-clone {
  position: absolute;
  top: -1.5em;
  white-space: nowrap;
  color: var(--color-black);
  font-size: .75em;
  line-height: 1.5;
  animation: 3s .2s infinite cubic-bezier(.1, 0, .1, 1) text-animation;
}

#home-reel-video-container-crosses-bottom {
  position: absolute;
  width: 100%;
  height: var(--cross-size);
}

@media (max-width: 812px) {
  #home-reel-video-container-crosses-bottom {
    display: none;
  }
}

/* Фотография команды на объекте появляется единым кадром: старый WebGL-слой
   и конкурирующие подписи больше не проступают во время разворота. */
#home-reel-title,
#home-reel-content {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

#home-reel-thumb-wrapper {
  top: 0;
}

#home-reel-thumb,
#home-reel-video-container {
  background-color: #102b43;
}

/* Пять фаз распределены по родным диапазонам scroll-сцены:
   так переходы остаются плавными и не становятся затяжными. */
#home-goal {
  padding-bottom: calc(var(--vh, 1vh) * 420) !important;
}

#aq-process-animation {
  transition: opacity .2s ease, visibility 0s linear .2s;
}

#home-goal-title {
  max-width: 18ch;
  font-size: clamp(3rem, 5.2vw, 5.5rem) !important;
  line-height: .94 !important;
  letter-spacing: -.055em;
}

#home-goal-texts {
  max-width: 44rem;
}

#home-goal-image-in,
#home-goal-image-out {
  overflow: hidden;
  border-radius: var(--global-border-radius);
  background: #dcebf5;
}

/* О компании: сохраняем горизонтальную драматургию, сокращая пустые
   ожидания отключённых старых 3D-лиц и ландшафта. */
#about-who {
  padding-bottom: 413.333333vw !important;
}

@media (max-width: 812px) {
  #about-who {
    padding-bottom: calc(var(--vh, 1vh) * 493.333333) !important;
  }

  #preloader-percent-digits {
    top: calc(50% + 5.25rem);
    font-size: .68rem;
  }

  #home-reel-title,
  #home-reel-content {
    display: none !important;
  }

  #home-goal-title {
    max-width: 12ch;
    font-size: clamp(2.65rem, 12vw, 4.4rem) !important;
  }

  #aq-process-animation {
    transition-duration: .15s;
  }

  .aq-process-copy-step,
  .aq-process-visual-label,
  .aq-process-progress-nodes,
  .project-item-line-1 {
    font-size: max(.64rem, 2.7vw) !important;
  }

  #about-capability-title {
    font-size: clamp(2.75rem, 12.8vw, 4.8rem) !important;
    letter-spacing: -.055em;
  }

  #project-details-title,
  #project-details-preview-title {
    max-width: 100%;
    font-size: clamp(2.4rem, 11.5vw, 4rem) !important;
    line-height: .94 !important;
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  .project-item-line-2 {
    height: auto !important;
    min-height: 2.1em;
    overflow: visible !important;
  }

  .project-item-line-2-inner {
    max-width: 19ch;
    line-height: 1.02;
    overflow-wrap: anywhere;
    display: flex !important;
    flex-wrap: wrap;
    overflow: visible !important;
  }

  .project-item-line-2-inner-list {
    flex-direction: row !important;
    transform: none !important;
  }

  .project-item-line-2-inner-list span:not(:first-child) {
    display: none !important;
  }

  .project-item-line-2-icon {
    display: none !important;
  }

  #about-who-team-left {
    display: none !important;
  }

  #about-who-team-faces {
    top: 5.25rem;
    bottom: auto;
    left: var(--base-padding-x);
    width: calc(100% - var(--base-padding-x) * 2);
    height: 38%;
    overflow: hidden;
    border-radius: var(--global-border-radius);
  }

  .aq-director-photo,
  #about-who-team-faces[data-member] .aq-director-photo {
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-position: center 28%;
  }

  #about-who-team-right {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: auto;
    min-height: 54%;
    padding: 1.15rem var(--base-padding-x) 1rem;
    border-top: 1px solid rgba(143, 199, 232, .34);
    background: linear-gradient(180deg, rgba(8, 27, 46, .95), #081b2e 18%);
  }

  .aq-team-editorial h3 {
    max-width: 16ch;
    font-size: clamp(1.85rem, 8.2vw, 2.7rem);
  }

  .aq-team-editorial p {
    max-width: 42ch;
    margin-top: .6rem;
    font-size: clamp(.72rem, 2.8vw, .88rem);
    line-height: 1.24;
  }

  .aq-team-stats {
    gap: .7rem;
    margin-top: .7rem;
  }

  .aq-team-stats b {
    font-size: clamp(1.45rem, 7vw, 2rem);
  }

  .aq-team-roster {
    margin-top: .7rem;
  }

  .aq-team-roster li {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: baseline;
    gap: .65rem;
    padding: .32rem 0;
  }

  .aq-team-roster strong {
    font-size: .76rem;
  }

  .aq-team-roster span {
    text-align: right;
    font-size: .52rem;
  }

  #footer-middle {
    row-gap: 3rem;
  }

  #footer-middle-contact {
    grid-template-columns: minmax(0, 1fr);
    grid-column: 1 / span 6;
    row-gap: 1.25rem;
    font-size: 1rem;
  }

  #footer-contact-address,
  #footer-contact-socials,
  #footer-contact-enquires,
  #footer-contact-business {
    grid-column: 1;
    margin-top: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  #footer-middle-newsletter {
    grid-column: 1 / span 6;
  }

  #footer-newsletter-header {
    font-size: clamp(2.5rem, 12vw, 3.6rem);
  }

  #footer-newsletter-input {
    margin-top: 1.2rem;
  }

  #footer-newsletter-input-field {
    padding-right: 3.3rem;
    font-size: clamp(.82rem, 3.5vw, 1rem);
  }

  #footer-bottom {
    font-size: .74rem;
  }
}

/* Полировка 29.07: единый загрузчик и точное центрирование контактной кнопки. */
#aquatech-loader-logo {
  transition: none !important;
}

#header-right-talk-btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  line-height: 1.15;
  text-decoration: none;
}

#header-right-talk-container {
  width: 100%;
  height: 100%;
}

/* Старые разрозненные текстовые слои скрыты; вместо них используется один
   спокойный редакционный блок перед фотографией. */
#home-reel-title,
#home-reel-content {
  display: none !important;
}

.aq-reel-bridge {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, .85fr);
  grid-column: 1 / span 12;
  gap: clamp(3rem, 7vw, 9rem);
  align-items: end;
  min-height: min(72vh, 46rem);
  padding: clamp(6rem, 13vh, 10rem) 0 clamp(5rem, 11vh, 8rem);
  border-top: 1px solid rgba(39, 63, 91, .18);
  border-bottom: 1px solid rgba(39, 63, 91, .18);
  color: #273f5b;
}

.aq-reel-bridge-main > span {
  display: block;
  margin-bottom: clamp(1.4rem, 3vh, 2.5rem);
  color: #477ca4;
  font-family: IBMPlexMono, monospace;
  font-size: clamp(.68rem, .72vw, .86rem);
  letter-spacing: .08em;
}

.aq-reel-bridge h2 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(3.8rem, 6.7vw, 8rem);
  font-weight: 400;
  line-height: .9;
  letter-spacing: -.055em;
}

.aq-reel-bridge-aside {
  max-width: 35rem;
}

.aq-reel-bridge-aside > p {
  margin: 0;
  font-size: clamp(1rem, 1.25vw, 1.45rem);
  line-height: 1.38;
}

.aq-reel-bridge ol {
  margin: clamp(2rem, 4vh, 3.5rem) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(39, 63, 91, .25);
}

.aq-reel-bridge li {
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr);
  gap: 1rem;
  padding: .68rem 0;
  border-bottom: 1px solid rgba(39, 63, 91, .18);
  font-size: clamp(.78rem, .9vw, 1rem);
}

.aq-reel-bridge li b {
  color: #477ca4;
  font-family: IBMPlexMono, monospace;
  font-weight: 400;
}

.aq-reel-bridge a {
  display: inline-block;
  margin-top: 1.5rem;
  color: #273f5b;
  font-size: clamp(.78rem, .9vw, 1rem);
  text-decoration: underline;
  text-underline-offset: .3em;
}

#home-reel-thumb,
#home-reel-video-container {
  will-change: opacity, clip-path;
}

#home-reel-thumb {
  position: relative;
  border-radius: var(--global-border-radius);
  visibility: visible;
}

#home-reel-thumb .aq-reel-image {
  position: absolute;
  inset: 0;
}

/* Светлый пролог равномерно растворяется в тёмном фоне. Содержимое 3D-сцены
   появляется отдельной фазой, когда предыдущий экран уже не читается. */
#aq-process-animation {
  --aq-exit: 1;
  --aq-layer-opacity: 0;
  --aq-content-entry: 0;
  opacity: 0;
  clip-path: none;
  transition: none !important;
  will-change: opacity;
}

#aq-process-animation.is-active {
  opacity: var(--aq-layer-opacity);
  visibility: visible;
}

#aq-process-animation > .aq-process-kicker,
#aq-process-animation > .aq-process-heading,
#aq-process-animation > .aq-technology-model,
#aq-process-animation > .aq-process-stages,
#aq-process-animation > .aq-process-progress {
  opacity: var(--aq-content-entry);
  transition: none !important;
  will-change: opacity;
}

body:has(#aq-process-animation.is-active) #home-goal-context {
  opacity: var(--aq-context-opacity, 1) !important;
  visibility: visible !important;
}

/* До уверенного затемнения знак в шапке остаётся тёмным и не теряется
   на светлом фоне пролога. */
body:has(#aq-process-animation.is-active:not(.is-entered)) #header-logo:after {
  background: #273f5b !important;
}

#header-logo:after {
  transition: background-color .28s ease;
}

#home-goal-tunnel-title {
  display: none !important;
}

.aq-process-stage {
  transition: none !important;
}

/* Юридический блок продолжает строгую тёмную фазу страницы About. */
#aq-legal {
  min-height: calc(var(--vh, 1vh) * 100);
  align-items: start;
  align-content: center;
  row-gap: clamp(3rem, 7vh, 6rem);
  color: #eaf3f9;
  background:
    linear-gradient(rgba(143, 199, 232, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 199, 232, .09) 1px, transparent 1px),
    #081b2e;
  background-size: clamp(48px, 5.2vw, 76px) clamp(48px, 5.2vw, 76px);
}

.aq-legal-heading {
  grid-column: 1 / span 5;
}

.aq-legal-kicker,
.aq-legal-card > span {
  color: #8fc7e8;
  font-family: IBMPlexMono, monospace;
  font-size: clamp(.66rem, .72vw, .82rem);
  letter-spacing: .08em;
}

.aq-legal-heading h2 {
  max-width: 9ch;
  margin: clamp(1.25rem, 3vh, 2.5rem) 0 0;
  font-size: clamp(4rem, 8vw, 9rem);
  font-weight: 400;
  line-height: .88;
  letter-spacing: -.06em;
}

.aq-legal-heading p {
  max-width: 33rem;
  margin: clamp(1.5rem, 3vh, 2.5rem) 0 0;
  color: #a8bfd0;
  font-size: clamp(1rem, 1.25vw, 1.45rem);
  line-height: 1.35;
}

.aq-legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-column: 6 / span 7;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(143, 199, 232, .28);
  border-radius: var(--global-border-radius);
  background: rgba(143, 199, 232, .28);
}

.aq-legal-card {
  min-height: 18rem;
  padding: clamp(1.4rem, 2.4vw, 2.5rem);
  background: #081b2e;
}

.aq-legal-card h3 {
  margin: 1.6rem 0 0;
  font-size: clamp(1.25rem, 1.7vw, 2rem);
  font-weight: 400;
  line-height: 1.12;
}

.aq-legal-card p,
.aq-legal-card a {
  color: #a8bfd0;
  font-size: clamp(.78rem, .88vw, 1rem);
  line-height: 1.35;
}

.aq-legal-card a {
  display: inline-block;
  margin-top: 1.2rem;
  color: #eaf3f9;
  text-decoration: underline;
  text-underline-offset: .28em;
}

.aq-legal-card dl {
  margin: 1.6rem 0 0;
}

.aq-legal-card dl div {
  display: grid;
  grid-template-columns: minmax(7rem, .78fr) minmax(0, 1.22fr);
  gap: 1rem;
  padding: .58rem 0;
  border-top: 1px solid rgba(143, 199, 232, .2);
}

.aq-legal-card dt,
.aq-legal-card dd {
  margin: 0;
  font-size: clamp(.72rem, .82vw, .94rem);
  line-height: 1.3;
}

.aq-legal-card dt {
  color: #8fc7e8;
}

.aq-legal-card dd {
  color: #eaf3f9;
  overflow-wrap: anywhere;
}

.aq-legal-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: 1.4rem;
}

.aq-legal-badges b {
  padding: .55rem .8rem;
  border: 1px solid rgba(143, 199, 232, .35);
  border-radius: 999px;
  color: #eaf3f9;
  font-family: IBMPlexMono, monospace;
  font-size: clamp(.62rem, .68vw, .78rem);
  font-weight: 400;
}

.aq-legal-card-codes dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 1rem;
}

.aq-legal-card-codes dl div {
  display: block;
}

.aq-legal-card-codes dd {
  margin-top: .25rem;
}

.aq-legal-resident-card {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: clamp(1rem, 2vh, 1.5rem);
  color: #081b2e;
  background: #eaf3f9;
}

.aq-legal-resident-card > span {
  color: #477ca4;
}

.aq-legal-resident-logo {
  display: grid;
  min-width: 0;
  place-items: center;
}

.aq-legal-resident-logo img {
  display: block;
  width: 100%;
  max-width: 23rem;
  height: clamp(7.5rem, 9vw, 10.5rem);
  object-fit: contain;
}

.aq-legal-resident-caption,
.aq-legal-card .aq-legal-resident-caption {
  margin: 0;
  color: #081b2e;
  font-family: IBMPlexMono, monospace;
  font-size: clamp(.72rem, .82vw, .94rem);
  letter-spacing: .04em;
}

@media (max-width: 812px) {
  #home-reel-title,
  #home-reel-content {
    display: none !important;
  }

  .aq-reel-bridge {
    grid-template-columns: minmax(0, 1fr);
    grid-column: 1 / span 6;
    gap: 2.5rem;
    min-height: 0;
    padding: 7rem 0 5rem;
  }

  .aq-reel-bridge h2 {
    max-width: 100%;
    font-size: clamp(2.6rem, 11.5vw, 4.6rem);
  }

  #header-right-talk-container {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    height: 100% !important;
    gap: 0;
    transform: none !important;
  }

  #header-right-talk-btn-text,
  #header-right-talk-btn-dots {
    display: none !important;
  }

  #header-right-talk-btn-arrow {
    display: none !important;
  }

  #header-right-talk-btn::after {
    content: "↗";
    display: block;
    color: currentColor;
    font-size: 1.45em;
    font-weight: 400;
    line-height: 1;
    transform: translateY(-.04em);
  }

  .aq-reel-bridge-aside > p {
    font-size: .95rem;
  }

  #aq-legal {
    min-height: auto;
    padding-top: 7rem;
    padding-bottom: 7rem;
  }

  .aq-legal-heading,
  .aq-legal-grid {
    grid-column: 1 / span 6;
  }

  .aq-legal-heading h2 {
    font-size: clamp(3.6rem, 19vw, 6rem);
  }

  .aq-legal-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .aq-legal-card {
    min-height: 0;
  }

  .aq-legal-card.aq-legal-resident-card {
    min-height: clamp(15rem, 68vw, 19rem);
  }

  .aq-legal-resident-logo img {
    height: clamp(6.75rem, 32vw, 9rem);
  }
}

/* Полировка 29.07: возвращён фирменный Line Reel, а технологический
   цикл собран как одна редакционная scroll-сцена, без dashboard-декора. */
#home-reel-thumb {
  visibility: visible !important;
}

#aq-process-animation {
  background:
    radial-gradient(circle at 84% 18%, rgba(72, 132, 171, .2), transparent 34%),
    linear-gradient(115deg, #061522 0%, #0a2135 54%, #0d2941 100%);
}

#aq-process-animation::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 40%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(143, 199, 232, .22) 22%, rgba(143, 199, 232, .22) 78%, transparent);
  pointer-events: none;
}

.aq-process-grid,
.aq-process-bubbles {
  display: none !important;
}

.aq-process-kicker {
  top: calc(var(--base-padding-y) + 4.1rem);
  color: rgba(220, 235, 245, .66);
}

.aq-process-heading {
  top: calc(var(--base-padding-y) + 6.4rem);
  align-items: flex-end;
  width: calc(100% - var(--base-padding-x) * 2);
  font-size: clamp(3.2rem, 5.6vw, 6.8rem);
}

.aq-process-heading small {
  margin-left: auto;
  padding-bottom: .28em;
  text-align: right;
}

.aq-process-stages {
  inset: clamp(14.5rem, 24vh, 18rem) var(--base-padding-x) clamp(7.2rem, 12vh, 8.8rem);
}

.aq-process-stage {
  grid-template-columns: minmax(18rem, .72fr) minmax(0, 1.28fr);
  gap: clamp(3rem, 6vw, 8rem);
  align-items: stretch;
  transition: none !important;
  will-change: opacity, transform;
}

.aq-process-copy {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  max-width: 31rem;
}

.aq-process-visual {
  grid-column: 2;
  grid-row: 1;
  min-height: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.aq-process-visual:after {
  display: none;
}

.aq-process-visual img {
  width: 100%;
  height: 100%;
  opacity: .84;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 13%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 13%, #000 100%);
}

.aq-process-visual.is-equipment {
  background: transparent;
}

.aq-process-visual.is-equipment img {
  padding: clamp(1rem, 3vw, 3rem);
  object-fit: contain;
  opacity: .96;
  filter: drop-shadow(0 2rem 3rem rgba(0, 0, 0, .26));
  -webkit-mask-image: none;
  mask-image: none;
}

.aq-process-visual-index {
  left: auto;
  right: 0;
  bottom: -.05em;
  color: rgba(234, 243, 249, .2) !important;
  font-size: clamp(7rem, 13vw, 15rem);
  letter-spacing: -.1em;
}

.aq-process-visual-label {
  top: 0;
  right: 0;
  bottom: auto;
  padding-top: .5rem;
  color: rgba(220, 235, 245, .68) !important;
}

.aq-process-copy-step {
  margin-bottom: clamp(1.2rem, 2.5vh, 2.2rem);
  color: #8fc7e8;
}

.aq-process-copy strong {
  max-width: 11ch;
  font-size: clamp(3rem, 4.6vw, 5.8rem);
  line-height: .9;
}

.aq-process-copy p {
  max-width: 31rem;
  margin-top: clamp(1.2rem, 2.6vh, 2.4rem);
  color: rgba(220, 235, 245, .78);
}

.aq-process-metric {
  max-width: 31rem;
  margin-top: clamp(1.2rem, 2.5vh, 2.2rem);
  padding-top: .7rem;
  border-color: rgba(143, 199, 232, .3);
}

.aq-process-metric b {
  font-size: clamp(1.65rem, 2.5vw, 3rem);
}

.aq-process-progress {
  bottom: clamp(1.8rem, 4vh, 3.2rem);
}

.aq-process-progress-nodes {
  padding-top: .7rem;
  color: rgba(220, 235, 245, .54);
}

.aq-process-progress-nodes span:before {
  display: none;
}

/* Первый экран About получает смысловой центр, не меняя исходные
   нижние заголовки и их scroll-анимацию. */
.aq-about-intro-center {
  position: absolute;
  top: 24%;
  left: var(--base-padding-x);
  right: var(--base-padding-x);
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(20rem, .75fr);
  gap: clamp(3rem, 8vw, 10rem);
  align-items: end;
  color: #fff;
  will-change: opacity;
  pointer-events: none;
}

.aq-about-intro-main > span {
  display: block;
  margin-bottom: 1rem;
  color: #a9c8dc;
  font-family: IBMPlexMono, monospace;
  font-size: clamp(.7rem, .76vw, .9rem);
  letter-spacing: .09em;
}

.aq-about-intro-center h2 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3.5rem, 5.8vw, 7rem);
  font-weight: 400;
  line-height: .9;
  letter-spacing: -.06em;
}

.aq-about-intro-aside {
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, .48);
}

.aq-about-intro-aside > p {
  max-width: 37ch;
  margin: 0;
  color: rgba(255, 255, 255, .84);
  font-size: clamp(.95rem, 1.05vw, 1.2rem);
  line-height: 1.38;
}

.aq-about-intro-aside dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 2rem 0 0;
}

.aq-about-intro-aside dl div {
  padding-top: .65rem;
  border-top: 1px solid rgba(255, 255, 255, .28);
}

.aq-about-intro-aside dt,
.aq-about-intro-aside dd {
  margin: 0;
}

.aq-about-intro-aside dt {
  font-size: clamp(1.5rem, 2.1vw, 2.5rem);
  letter-spacing: -.05em;
}

.aq-about-intro-aside dd {
  margin-top: .25rem;
  color: #a9c8dc;
  font-family: IBMPlexMono, monospace;
  font-size: clamp(.58rem, .62vw, .72rem);
  line-height: 1.25;
  text-transform: uppercase;
}

/* Второй экран About: медленно движущийся технологический фон. */
#about-who-subsection-we-are {
  z-index: 3;
}

#about-who-subsection-details {
  z-index: 2;
  overflow: hidden;
  isolation: isolate;
  background: #061522;
}

#about-who-subsection-details:before {
  content: "";
  position: absolute;
  inset: -8%;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(5, 18, 30, .92), rgba(8, 31, 49, .5) 54%, rgba(5, 18, 30, .88)),
    url('/assets/aquatech/treatment-site.jpg') center / cover no-repeat;
  opacity: .76;
  transform: scale(1.08);
  animation: aq-about-detail-drift 18s ease-in-out infinite alternate;
}

#about-who-subsection-details:after {
  content: "";
  position: absolute;
  width: min(62vw, 54rem);
  aspect-ratio: 1;
  right: -17vw;
  top: -28vw;
  z-index: 0;
  border: 1px solid rgba(143, 199, 232, .24);
  border-radius: 50%;
  box-shadow:
    0 0 0 clamp(4rem, 8vw, 9rem) rgba(143, 199, 232, .035),
    0 0 0 clamp(9rem, 17vw, 18rem) rgba(143, 199, 232, .025);
  animation: aq-about-detail-orbit 20s linear infinite;
}

#about-who-desc-top {
  position: relative;
  z-index: 1;
  text-shadow: 0 .12em .8em rgba(0, 0, 0, .34);
}

#about-who-desc-bottom {
  position: absolute;
  z-index: 1;
  text-shadow: 0 .12em .8em rgba(0, 0, 0, .34);
}

#about-who-subsection-team {
  z-index: 1;
  background: #000;
}

@keyframes aq-about-detail-drift {
  from { transform: scale(1.08) translate3d(-1.5%, -.5%, 0); }
  to { transform: scale(1.14) translate3d(1.5%, 1%, 0); }
}

@keyframes aq-about-detail-orbit {
  to { transform: rotate(1turn); }
}

.aq-team-editorial {
  width: 100%;
  max-width: 35rem;
  opacity: 0;
  will-change: opacity, transform;
}

.aq-team-editorial-kicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 1.1rem;
  padding: .55rem .8rem;
  border: 1px solid rgba(143, 199, 232, .45);
  border-radius: 999px;
  background: rgba(143, 199, 232, .09);
  font-size: clamp(.78rem, .9vw, 1rem);
  line-height: 1;
}

.aq-team-editorial h3 {
  font-size: clamp(2.5rem, 3.25vw, 4.2rem);
}

.aq-team-editorial p {
  margin-top: 1.15rem;
  font-size: clamp(.92rem, 1vw, 1.12rem);
  line-height: 1.36;
}

.aq-team-stats {
  margin-top: 1.4rem;
}

.aq-team-stats span,
.aq-team-roster span {
  font-size: clamp(.62rem, .67vw, .76rem);
}

.aq-team-roster {
  margin-top: 1.25rem;
}

.aq-team-roster li {
  padding: .58rem 0;
}

.aq-team-roster strong {
  font-size: clamp(.88rem, 1vw, 1.08rem);
}

/* Фотолента: все проектные фотографии занимают один и тот же квадратный кадр. */
.about-clients-carousel-line {
  gap: .45em;
  padding-right: .45em;
}

#about-clients-carousel img {
  flex: 0 0 15em;
  width: 15em;
  height: 15em;
  padding: 0;
  border-radius: .7em;
  object-fit: cover;
  object-position: center;
}

/* Все стороны четырёх capability-карт занимают один и тот же слой. */
.about-capability-card-front,
.about-capability-card-back {
  position: absolute !important;
  inset: 0 !important;
}

.about-capability-card-front {
  overflow: hidden;
}

.about-capability-card-header {
  min-width: 0;
  gap: .55em;
}

.about-capability-card-header-text {
  min-width: 0;
  max-width: calc(100% - 2.7em);
  font-size: 1.05em;
  line-height: 1.04;
  overflow-wrap: anywhere;
}

/* Длинные названия второй и третьей компетенций должны оставаться одной строкой. */
.about-capability-card:nth-child(2) .about-capability-card-header-text,
.about-capability-card:nth-child(3) .about-capability-card-header-text {
  max-width: calc(100% - 2.55em);
  font-size: .94em;
  letter-spacing: -.018em;
  white-space: nowrap;
  overflow-wrap: normal;
}

.about-capability-card-header-letter {
  left: 0;
  flex: 0 0 auto;
  margin-left: auto;
  font-size: 2.45em;
  line-height: .82;
}

/* Почта и стрелка в меню теперь делят одну flex-строку, а не накладываются. */
#header-menu-newsletter-form {
  display: flex;
  align-items: center;
  width: 100%;
  height: 3.5em;
  min-width: 0;
  padding: 0 1.25em;
  border-radius: 1.125rem;
  background: var(--color-off-white);
}

#header-menu-newsletter-input-field {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  height: 100%;
  padding: 0;
  background: transparent;
  font-size: .8em;
}

#header-menu-newsletter-input-arrow {
  position: static;
  flex: 0 0 1.5em;
  width: 1.5em;
  height: 1.5em;
  margin-left: .5em;
  padding: 0;
}

@media (prefers-reduced-motion: reduce) {
  #about-who-subsection-details:before,
  #about-who-subsection-details:after {
    animation: none;
  }
}

@media (max-width: 812px) {
  #aq-process-animation::before {
    display: none;
  }

  #aq-process-animation .aq-process-kicker {
    top: 6.8rem;
  }

  #aq-process-animation .aq-process-heading {
    top: 8.65rem;
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  #aq-process-animation .aq-process-heading small {
    margin-left: 0;
    text-align: left;
  }

  #aq-process-animation .aq-process-stages {
    inset: 14.2rem var(--base-padding-x) 5.9rem;
  }

  .aq-process-stage {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(12rem, 42vh) auto;
    gap: 1rem;
  }

  .aq-process-visual {
    grid-column: 1;
    grid-row: 1;
    overflow: hidden;
  }

  .aq-process-copy {
    grid-column: 1;
    grid-row: 2;
  }

  .aq-process-visual img {
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
  }

  .aq-process-visual.is-equipment img {
    padding: 1.25rem;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .aq-process-visual-index {
    font-size: clamp(5rem, 24vw, 7.5rem);
  }

  .aq-process-copy strong {
    max-width: 14ch;
    font-size: clamp(2rem, 8.6vw, 3rem);
  }

  .aq-process-copy p {
    margin-top: .65rem;
    font-size: clamp(.78rem, 3.2vw, .92rem);
  }

  .aq-process-copy-step {
    margin-bottom: .55rem;
  }

  .aq-process-metric {
    margin-top: .7rem;
    padding-top: .5rem;
  }

  .aq-process-metric b {
    font-size: 1.45rem;
  }

  .aq-process-progress {
    bottom: 1.15rem;
  }

  .aq-process-progress-nodes span {
    font-size: .5rem;
  }

  .aq-about-intro-center {
    top: 17%;
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .aq-about-intro-center h2 {
    max-width: 11ch;
    font-size: clamp(2.85rem, 12.5vw, 4.7rem);
  }

  .aq-about-intro-aside > p {
    max-width: 34ch;
    font-size: .9rem;
  }

  .aq-about-intro-aside dl {
    margin-top: 1.2rem;
  }

  #about-who-subsection-details:after {
    width: 95vw;
    right: -45vw;
    top: -35vw;
  }

  .aq-team-editorial-kicker {
    margin-bottom: .7rem;
    padding: .45rem .65rem;
    font-size: .72rem;
  }

  .aq-team-editorial h3 {
    font-size: clamp(1.9rem, 8.4vw, 2.8rem);
  }

  .aq-team-editorial p {
    margin-top: .65rem;
    font-size: clamp(.74rem, 2.9vw, .9rem);
  }

  .aq-team-stats,
  .aq-team-roster {
    margin-top: .75rem;
  }

  .aq-team-roster li {
    padding: .34rem 0;
  }

  .about-clients-carousel-line {
    gap: .35em;
    padding-right: .35em;
  }

  #about-clients-carousel img {
    flex-basis: 12em;
    width: 12em;
    height: 12em;
    padding: 0;
  }

  .about-capability-card-header-text {
    font-size: .92em;
  }

  .about-capability-card:nth-child(2) .about-capability-card-header-text,
  .about-capability-card:nth-child(3) .about-capability-card-header-text {
    font-size: .84em;
  }

  .about-capability-card-header-letter {
    font-size: 2.2em;
  }

  #header.--menu-opened #header-logo::after {
    background: #fff;
  }

  html.is-footer-in #header.--menu-opened #header-logo {
    opacity: 1;
    pointer-events: auto;
  }
}

/* Keep the walkthrough layout last so legacy process-scene rules cannot win. */
body #aq-process-animation .aq-process-stages {
  z-index: 2;
  right: 62%;
}

body #aq-process-animation .aq-process-stage {
  display: block;
}

body #aq-process-animation .aq-process-copy {
  grid-column: auto;
  grid-row: auto;
  width: 100%;
  max-width: 33rem;
}

@media (max-width: 812px) {
  body #aq-process-animation .aq-process-stages {
    top: 58%;
    right: var(--base-padding-x);
    bottom: 5.6rem;
  }
}

/* Readability pass: annotations stay restrained but remain legible on navy. */
body #aq-process-animation .aq-technology-hotspot {
  gap: .72rem;
  max-width: 15rem;
  padding: .48rem .7rem .5rem .58rem;
  color: #edf5f8;
  border: 1px solid rgba(169, 209, 228, .2);
  border-radius: .35rem;
  background: rgba(4, 20, 31, .78);
  box-shadow: 0 .65rem 1.8rem rgba(0, 0, 0, .16);
  font-size: clamp(.9rem, 1vw, 1.05rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: .025em;
  backdrop-filter: blur(.45rem);
}

body #aq-process-animation .aq-technology-hotspot i {
  width: .72rem;
  height: .72rem;
  border-color: #b8dceb;
  background: #123348;
  box-shadow: 0 0 0 .3rem rgba(143, 199, 232, .14);
}

body #aq-process-animation .aq-process-copy-step {
  color: #a9d5e9;
  font-size: clamp(.76rem, .84vw, .9rem);
  font-weight: 500;
  letter-spacing: .075em;
}

body #aq-process-animation .aq-process-copy p {
  color: rgba(237, 245, 248, .84);
}

body #aq-process-animation .aq-process-metric span {
  color: rgba(237, 245, 248, .72);
  font-size: clamp(.62rem, .7vw, .76rem);
  line-height: 1.3;
}

body #aq-process-animation .aq-technology-orbit {
  color: rgba(221, 237, 245, .7);
  font-size: .72rem;
}

body #aq-process-animation .aq-process-heading small {
  color: rgba(237, 245, 248, .72);
  font-size: clamp(.7rem, .76vw, .82rem);
  line-height: 1.25;
}

body #aq-process-animation .aq-process-progress-nodes {
  color: rgba(221, 237, 245, .62);
}

body #aq-process-animation .aq-process-progress-nodes span {
  font-size: clamp(.64rem, .7vw, .76rem);
}

body #aq-process-animation[data-phase="0"] .aq-process-progress-nodes span:nth-child(1),
body #aq-process-animation[data-phase="1"] .aq-process-progress-nodes span:nth-child(2),
body #aq-process-animation[data-phase="2"] .aq-process-progress-nodes span:nth-child(3),
body #aq-process-animation[data-phase="3"] .aq-process-progress-nodes span:nth-child(4),
body #aq-process-animation[data-phase="4"] .aq-process-progress-nodes span:nth-child(5) {
  color: #edf5f8;
}

@media (max-width: 812px) {
  body #aq-process-animation .aq-technology-hotspot {
    max-width: 10.5rem;
    padding: .38rem .52rem .4rem .45rem;
    font-size: .72rem;
  }

  body #aq-process-animation .aq-process-copy-step {
    font-size: .64rem;
  }

  body #aq-process-animation .aq-process-metric span {
    font-size: .58rem;
  }

  body #aq-process-animation .aq-technology-orbit {
    font-size: .6rem;
  }

  body #aq-process-animation .aq-process-progress-nodes span {
    font-size: .59rem;
  }
}

/* Full-screen prelude for the interactive 3D walkthrough. */
#home-goal-image-in-outer,
#home-goal-image-out-outer {
  visibility: hidden !important;
}

#home-goal-context {
  min-height: calc(var(--vh, 1vh) * 100);
  transform: translate3d(0, var(--aq-context-pin-y, 0px), 0);
  transform-origin: 50% 0;
  will-change: transform, opacity;
}

#home-goal-context-inner {
  position: relative;
  display: block !important;
  min-height: calc(var(--vh, 1vh) * 100);
  overflow: hidden;
  padding: clamp(8.2rem, 14vh, 11rem) clamp(2.4rem, 4.5vw, 5.8rem) clamp(2.2rem, 4.5vh, 3.8rem);
  border: 1px solid rgba(173, 211, 230, .16);
  border-radius: clamp(1.75rem, 2.5vw, 3.25rem);
  background:
    radial-gradient(circle at 46% 46%, rgba(73, 154, 195, .16), transparent 27%),
    radial-gradient(circle at 84% 18%, rgba(130, 195, 224, .12), transparent 28%),
    linear-gradient(145deg, rgba(17, 52, 77, .98), rgba(6, 26, 44, .99) 68%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 2.4rem 6rem rgba(3, 17, 29, .28);
  top: var(--base-padding-y);
  transform: none !important;
}

#home-goal-context-inner::before {
  position: absolute;
  top: 48%;
  left: 40%;
  width: clamp(15rem, 25vw, 32rem);
  aspect-ratio: 1;
  border: 1px solid rgba(142, 199, 222, .13);
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 0 clamp(2.2rem, 4vw, 5rem) rgba(112, 182, 213, .035),
    0 0 0 clamp(5rem, 8vw, 10rem) rgba(112, 182, 213, .025);
  pointer-events: none;
}

#home-goal-context-inner::after {
  position: absolute;
  top: 49%;
  left: 40%;
  color: rgba(218, 239, 248, .075);
  content: "360°";
  font-size: clamp(6.5rem, 11.5vw, 15rem);
  font-weight: 500;
  letter-spacing: -.08em;
  line-height: 1;
  transform: translate(-52%, -50%);
  pointer-events: none;
}

#home-goal-title {
  position: relative;
  z-index: 2;
  left: 0 !important;
  width: 50% !important;
  max-width: none;
  margin: 0 !important;
  color: #edf7fb;
  font-size: clamp(4.7rem, 6.6vw, 8.5rem) !important;
  line-height: .88 !important;
  letter-spacing: -.065em;
  transform: none !important;
}

#home-goal-title .goal-title-line-wrapper {
  overflow: visible !important;
}

#home-goal-title .line {
  bottom: 0 !important;
}

#home-goal-title .word {
  transform: none !important;
}

#home-goal-texts {
  position: absolute !important;
  z-index: 3;
  top: clamp(9rem, 16vh, 12rem) !important;
  right: clamp(2.4rem, 4.5vw, 5.8rem);
  left: 56% !important;
  width: auto;
  max-width: 41rem;
  min-height: clamp(27rem, 58vh, 42rem);
  margin: 0 !important;
  padding: clamp(1.55rem, 2.1vw, 2.4rem);
  border: 1px solid rgba(189, 220, 234, .14);
  border-radius: clamp(1.4rem, 1.8vw, 2rem);
  background: linear-gradient(145deg, rgba(218, 239, 248, .095), rgba(134, 190, 216, .045));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .055);
  color: #dcecf3;
  font-size: clamp(1.1rem, 1.28vw, 1.55rem) !important;
  line-height: 1.3;
  transform: none !important;
  backdrop-filter: blur(18px);
  display: flex;
  flex-direction: column;
}

.aq-model-intro-kicker {
  display: flex;
  gap: .65rem;
  align-items: center;
  margin-bottom: clamp(1.2rem, 2vh, 1.8rem);
  color: #a9c9d8;
  font-family: "IBMPlexMono", monospace;
  font-size: clamp(.7rem, .72vw, .82rem);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.aq-model-intro-kicker span {
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: #8fd3ee;
  box-shadow: 0 0 0 .35rem rgba(143, 211, 238, .1);
}

.aq-model-intro-lead {
  color: #f1f8fa;
  font-size: clamp(1.35rem, 1.65vw, 2rem);
  line-height: 1.16;
  letter-spacing: -.025em;
}

.aq-model-intro-note {
  max-width: 35rem;
  margin-top: 1rem !important;
  color: #aac4d1;
  font-size: clamp(.95rem, 1vw, 1.15rem);
  line-height: 1.38;
}

.aq-model-intro-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .6rem;
  margin-top: auto;
  padding-top: clamp(1.5rem, 2.6vh, 2.2rem);
}

.aq-model-intro-metrics div {
  min-width: 0;
  padding: 1rem .9rem;
  border-radius: 1rem;
  background: rgba(3, 24, 41, .46);
}

.aq-model-intro-metrics strong,
.aq-model-intro-metrics span {
  display: block;
}

.aq-model-intro-metrics strong {
  color: #9bd8ee;
  font-size: clamp(1.55rem, 2vw, 2.4rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.04em;
}

.aq-model-intro-metrics span {
  margin-top: .45rem;
  color: #b9ced8;
  font-family: "IBMPlexMono", monospace;
  font-size: clamp(.58rem, .62vw, .72rem);
  line-height: 1.25;
  text-transform: uppercase;
}

.aq-model-intro-route {
  position: absolute;
  z-index: 2;
  right: clamp(2.4rem, 4.5vw, 5.8rem);
  bottom: clamp(2.2rem, 4.5vh, 3.8rem);
  left: clamp(2.4rem, 4.5vw, 5.8rem);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid rgba(181, 216, 232, .2);
}

.aq-model-intro-route span {
  position: relative;
  padding: 1.25rem .6rem 0 0;
  color: rgba(204, 224, 233, .62);
  font-family: "IBMPlexMono", monospace;
  font-size: clamp(.82rem, .9vw, 1rem);
  letter-spacing: .035em;
  text-transform: uppercase;
}

.aq-model-intro-route span::before {
  position: absolute;
  top: -.3rem;
  left: 0;
  width: .6rem;
  height: .6rem;
  border: 2px solid #0c2a42;
  border-radius: 50%;
  background: #78bad7;
  content: "";
}

.aq-model-intro-route b {
  margin-right: .55rem;
  color: #8fd3ee;
  font-weight: 400;
}

.aq-model-intro-cue {
  display: flex;
  gap: .7rem;
  align-items: center;
  width: fit-content;
  margin-top: clamp(1.3rem, 2vh, 1.8rem);
  padding: .8rem 1rem;
  border: 1px solid rgba(174, 216, 234, .18);
  border-radius: 100px;
  background: rgba(143, 211, 238, .09);
  color: #dcecf3;
  font-family: "IBMPlexMono", monospace;
  font-size: clamp(.76rem, .82vw, .92rem);
  letter-spacing: .08em;
}

.aq-model-intro-cue span {
  color: #8eb9d5;
  font-size: 1.2em;
}

@media (max-width: 812px) {
  #home-goal-context-inner {
    min-height: calc(var(--vh, 1vh) * 100);
    padding: 7.4rem 1.3rem 1.3rem;
    border-radius: 1.6rem;
  }

  #home-goal-context-inner::before,
  #home-goal-context-inner::after {
    top: 29%;
    left: 73%;
  }

  #home-goal-context-inner::after {
    font-size: 25vw;
  }

  #home-goal-title {
    width: 9ch !important;
    max-width: 100%;
    font-size: clamp(3.15rem, 14vw, 5rem) !important;
  }

  #home-goal-texts {
    position: relative !important;
    top: auto !important;
    right: auto;
    left: auto !important;
    max-width: none;
    min-height: 0;
    margin-top: 2.3rem !important;
    padding: 1.2rem;
    font-size: 1rem !important;
  }

  .aq-model-intro-lead {
    font-size: clamp(1.2rem, 5.2vw, 1.55rem);
  }

  .aq-model-intro-note {
    font-size: .9rem;
  }

  .aq-model-intro-metrics div {
    padding: .8rem .55rem;
  }

  .aq-model-intro-metrics strong {
    font-size: 1.45rem;
  }

  .aq-model-intro-metrics span {
    font-size: .52rem;
  }

  .aq-model-intro-route {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .55rem;
    margin-top: 1.1rem;
    border-top: 0;
  }

  .aq-model-intro-route span {
    padding: .75rem;
    border: 1px solid rgba(181, 216, 232, .12);
    border-radius: .8rem;
    background: rgba(3, 24, 41, .28);
    font-size: .68rem;
  }

  .aq-model-intro-route span::before {
    display: none;
  }

  .aq-model-intro-cue {
    margin-top: 1.2rem;
    font-size: .62rem;
  }
}

/* Final editorial treatment: plain type, simple rules, no dashboard effects. */
#home-goal {
  color: #183149 !important;
  background: #e7f0f5 !important;
}

#home-goal-context-inner {
  overflow: visible;
  padding: clamp(9.5rem, 20vh, 15rem) clamp(2.4rem, 4.5vw, 5.8rem) clamp(2.2rem, 4.5vh, 3.8rem);
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

#home-goal-context-inner::before,
#home-goal-context-inner::after {
  display: none;
}

#home-goal-title {
  width: 50% !important;
  color: #183149;
  font-family: Aeonik, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(5rem, 7.2vw, 9.25rem) !important;
  font-weight: 400;
  line-height: .88 !important;
  letter-spacing: -.065em;
}

#home-goal-texts {
  top: clamp(10rem, 23vh, 17rem) !important;
  right: clamp(2.4rem, 4.5vw, 5.8rem);
  left: 58% !important;
  display: block;
  max-width: 34rem;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: #183149;
  font-family: Aeonik, "Helvetica Neue", Arial, sans-serif;
  backdrop-filter: none;
}

.aq-model-intro-kicker {
  display: block;
  margin-bottom: clamp(1.4rem, 2.5vh, 2.2rem);
  color: rgba(24, 49, 73, .5);
  font-family: Aeonik, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(.9rem, 1vw, 1.15rem);
  letter-spacing: 0;
  text-transform: none;
}

.aq-model-intro-kicker span,
.aq-model-intro-metrics {
  display: none;
}

.aq-model-intro-lead {
  max-width: 15ch;
  color: #183149;
  font-family: Aeonik, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.8rem, 2.4vw, 3rem);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -.04em;
}

.aq-model-intro-note {
  max-width: 31rem;
  margin-top: clamp(1.5rem, 3vh, 2.5rem) !important;
  color: rgba(24, 49, 73, .62);
  font-family: Aeonik, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1rem, 1.15vw, 1.3rem);
  line-height: 1.38;
}

.aq-model-intro-cue {
  gap: .85rem;
  margin-top: clamp(1.8rem, 3.5vh, 3rem);
  padding: 0 0 .3rem;
  border: 0;
  border-bottom: 1px solid rgba(24, 49, 73, .36);
  border-radius: 0;
  background: none;
  color: #183149;
  font-family: Aeonik, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1rem, 1.05vw, 1.2rem);
  letter-spacing: 0;
}

.aq-model-intro-cue span {
  color: inherit;
  font-size: 1em;
}

.aq-model-intro-route {
  border-top: 1px solid rgba(24, 49, 73, .22);
}

.aq-model-intro-route span {
  padding: clamp(1rem, 2vh, 1.5rem) 1rem 0 0;
  color: rgba(24, 49, 73, .66);
  font-family: Aeonik, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1rem, 1.05vw, 1.2rem);
  letter-spacing: 0;
  text-transform: none;
}

.aq-model-intro-route span::before {
  display: none;
}

.aq-model-intro-route b {
  display: block;
  margin: 0 0 .45rem;
  color: rgba(24, 49, 73, .38);
  font-family: inherit;
  font-size: .72em;
  font-weight: 400;
}

/* Final team layout override after the legacy about-page rules. */
.aq-team-roster li {
  display: grid;
  grid-template-columns: 3.1rem minmax(0, 1fr);
  align-items: center;
  justify-content: initial;
  gap: .8rem;
}

.aq-team-roster li > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: .15rem .75rem;
}

@media (min-width: 769px) {
  .aq-team-roster {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1rem;
  }

  .aq-team-roster li {
    grid-template-columns: 2.8rem minmax(0, 1fr);
    gap: .55rem;
  }

  .aq-team-roster li > img {
    width: 2.8rem;
    height: 2.8rem;
  }

  .aq-team-roster li > div {
    grid-template-columns: minmax(0, 1fr);
    gap: .05rem;
  }

  .aq-team-roster li > div span {
    text-align: left;
  }
}

@media (max-height: 850px) {
  .aq-team-roster li em {
    display: none;
  }
}

@media (max-width: 768px) {
  .aq-team-roster li {
    grid-template-columns: 2.35rem minmax(0, 1fr);
    gap: .55rem;
  }

  .aq-team-roster li > img {
    width: 2.35rem;
    height: 2.35rem;
  }

  .aq-team-roster li > div {
    grid-template-columns: minmax(0, 1fr);
    gap: .05rem;
  }

  .aq-team-roster li > div span {
    text-align: left;
  }
}

/* Model annotations use the same plain sans-serif and geometry as the site. */
body #aq-process-animation .aq-technology-hotspot {
  gap: 0;
  max-width: 16rem;
  padding: .55rem .78rem .6rem;
  border: 0;
  border-radius: .35rem;
  background: #e7eef2;
  box-shadow: none;
  color: #10283a;
  font-family: Aeonik, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(.95rem, 1.05vw, 1.15rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
  backdrop-filter: none;
}

body #aq-process-animation .aq-technology-hotspot::before {
  right: 100%;
  width: clamp(2rem, 4vw, 4rem);
  border-color: rgba(231, 238, 242, .58);
}

body #aq-process-animation .aq-technology-hotspot::after {
  position: absolute;
  top: calc(50% - 2px);
  right: calc(100% + clamp(2rem, 4vw, 4rem) - 2px);
  width: 4px;
  height: 4px;
  background: #e7eef2;
  content: "";
}

body #aq-process-animation .aq-technology-hotspot i {
  display: none;
}

body #aq-process-animation .aq-technology-orbit,
body #aq-process-animation .aq-process-heading small,
body #aq-process-animation .aq-process-progress-nodes {
  font-family: Aeonik, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
  text-transform: none;
}

body #aq-process-animation .aq-technology-orbit span {
  display: none;
}

@media (max-width: 812px) {
  #home-goal-context-inner {
    padding: 8rem 1.3rem 1.3rem;
  }

  #home-goal-title {
    width: 100% !important;
    font-size: clamp(3.3rem, 15vw, 5.3rem) !important;
  }

  #home-goal-texts {
    position: relative !important;
    top: auto !important;
    right: auto;
    left: auto !important;
    margin-top: 3rem !important;
  }

  .aq-model-intro-lead {
    max-width: 18ch;
    font-size: clamp(1.65rem, 7vw, 2.35rem);
  }

  .aq-model-intro-note {
    font-size: 1rem;
  }

  .aq-model-intro-route {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid rgba(24, 49, 73, .22);
  }

  .aq-model-intro-route span {
    padding: .85rem .5rem .85rem 0;
    border: 0;
    border-bottom: 1px solid rgba(24, 49, 73, .12);
    border-radius: 0;
    background: none;
    font-size: .9rem;
  }

  body #aq-process-animation .aq-technology-hotspot {
    max-width: 11rem;
    padding: .42rem .55rem .45rem;
    font-size: .78rem;
  }
}

/* The same aerial photograph opens at full size a moment later in the reel.
   Keep the thumbnail geometry for the original scroll animation, but do not
   render the duplicated small image. */
#home-reel-thumb {
  visibility: hidden !important;
}

/* Full-width reel statement: the same large Aeonik typography as “Проекты”.
   The photo gets the stage first; JS reveals this line on the next scroll. */
#home-reel-video-container::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(5, 18, 30, .42), rgba(5, 18, 30, .08) 34%, transparent 58%);
  content: "";
  pointer-events: none;
}

.aq-reel-statement {
  position: absolute;
  right: clamp(.8rem, 1.65vw, 2rem);
  bottom: clamp(1.2rem, 2.1vw, 2.6rem);
  left: clamp(.8rem, 1.65vw, 2rem);
  z-index: 2;
  display: flex;
  height: 38%;
  align-items: flex-end;
  overflow: hidden;
  color: #eaf3f9;
  pointer-events: none;
}

.aq-reel-statement span {
  display: block;
  width: 100%;
  margin: 0;
  font-family: Aeonik, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(4rem, 11vw, 13.2rem);
  font-weight: 400;
  line-height: .76;
  letter-spacing: -.072em;
  white-space: nowrap;
  opacity: 0;
  transform: translate3d(0, 118%, 0);
  transition:
    transform .92s cubic-bezier(.2, .78, .2, 1),
    opacity .18s linear;
  will-change: transform, opacity;
}

#home-reel-video-container.is-statement-visible .aq-reel-statement span {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (max-width: 812px) {
  #home-reel-video-container::after {
    background: linear-gradient(0deg, rgba(5, 18, 30, .48), transparent 54%);
  }

  .aq-reel-statement {
    right: .65rem;
    bottom: .85rem;
    left: .65rem;
    height: 36%;
  }

  .aq-reel-statement span {
    font-size: 11vw;
    line-height: .8;
  }
}

@media (prefers-reduced-motion: reduce) {
  .aq-reel-statement span {
    transition-duration: .01ms;
  }
}

/* 3D walkthrough: keep the scene open and remove the two auxiliary dividers. */
body #aq-process-animation::before {
  display: none !important;
}

body #aq-process-animation .aq-process-metric {
  border-top: 0 !important;
}

/* The end-scene scroll prompt is also a quiet, accessible navigation button. */
body #end-bottom {
  cursor: pointer;
  pointer-events: auto;
  transition:
    background-color .28s ease,
    box-shadow .28s ease;
}

body #end-bottom:hover {
  background-color: #eaf3f9;
  box-shadow: 0 .65rem 1.5rem rgba(5, 18, 30, .16);
}

body #end-bottom:focus-visible {
  outline: 2px solid #8fc7e8;
  outline-offset: 4px;
}

/* Final CTA is deliberately static: the legacy scene must never recolor or
   slide its text while the page background state is changing. */
body #end-section,
html.is-white-bg body #end-section,
body #end-section-subtitle,
body #end-section-subtitle-text,
body #end-section-title,
body #end-section-title-link,
body #end-section-title-link .char,
body #end-section-title-link .char-wrapper,
body #end-section-title-link .end-section-title-link-word {
  color: #fff !important;
  opacity: 1 !important;
}

body #end-section-subtitle-text,
body #end-section-subtitle-text > div,
body #end-section-subtitle-text .word,
body #end-section-title-link .char,
body #end-section-title-link .char-wrapper,
body #end-section-content .end-section-content-cross {
  transform: none !important;
}

body #end-section-title-top-decoration,
body #end-section-title-bottom-left-decoration,
body #end-section-title-bottom-right-decoration,
body #end-section-content .end-section-content-cross::before,
body #end-section-content .end-section-content-cross::after,
html.is-white-bg body #end-section-title-top-decoration,
html.is-white-bg body #end-section-title-bottom-left-decoration,
html.is-white-bg body #end-section-title-bottom-right-decoration,
html.is-white-bg body #end-section-content .end-section-content-cross::before,
html.is-white-bg body #end-section-content .end-section-content-cross::after {
  background: #fff !important;
}

/* 12.08.2026: единая сетка контактного футера без дублирующего столбца. */
@media (min-width: 701px) {
  #footer-middle-contact {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    grid-column: 1 / span 5 !important;
    gap: 0;
    min-width: 0;
  }

  #footer-contact-address,
  #footer-contact-enquires,
  #footer-contact-business {
    width: 100%;
    max-width: none;
    grid-column: auto !important;
  }

  #footer-contact-enquires {
    margin-top: clamp(2rem, 4vh, 3.25rem) !important;
  }

  #footer-contact-business {
    margin-top: clamp(1.35rem, 2.8vh, 2.2rem) !important;
  }

  #footer-middle-newsletter {
    grid-column: 6 / span 7 !important;
    min-width: 0;
  }

  #footer-newsletter-input,
  #footer-newsletter-form {
    width: 100%;
    max-width: none;
  }

  #footer-bottom-copyright {
    grid-column: 1 / span 5;
  }
}

#footer-bottom-labs.aq-footer-author {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .18rem;
  color: rgba(0, 0, 0, .58);
  font-size: clamp(.66rem, .72vw, .8rem);
  line-height: 1.28;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: none;
}

#footer-bottom-labs.aq-footer-author span,
#footer-bottom-labs.aq-footer-author small {
  display: block;
  font: inherit;
}

#footer-bottom-labs.aq-footer-author small {
  font-size: .86em;
  opacity: .82;
}

#footer-bottom-labs.aq-footer-author:hover {
  color: rgba(0, 0, 0, .78);
}

@media (max-width: 700px) {
  #footer-contact-enquires {
    margin-top: 1.75rem !important;
  }

  #footer-contact-business {
    margin-top: 1.15rem !important;
  }

  #footer-bottom-labs.aq-footer-author {
    font-size: .65rem;
  }
}

/* На коротких desktop-экранах метаблок проекта больше не центрируется под
   логотипом: сохраняем безопасную верхнюю границу и немного масштабируем
   типографику по высоте viewport. Мобильный вертикальный layout не затронут. */
@media (min-width: 813px) and (max-height: 820px) and (hover: hover) and (pointer: fine) {
  body.aq-project-detail-page #project-details-meta {
    top: calc(var(--base-padding-y) + 70px) !important;
    font-size: clamp(11px, 2.222vh, 16px);
    transform: translateZ(0) !important;
  }
}


/* ========================================================================== */
/* ABOUT / THREE EDITORIAL SCENES — 2026-08-25                                */
/* ========================================================================== */

#about-who-subsection-we-are {
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(5, 22, 36, .94) 0%, rgba(7, 27, 45, .72) 48%, rgba(7, 27, 45, .46) 100%),
    url('/assets/projects/of_the_oak/modular-process-skid.jpg') center 54% / cover no-repeat !important;
}

#about-who-subsection-we-are:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(5, 22, 36, .26), transparent 30%, rgba(5, 22, 36, .74)),
    linear-gradient(90deg, transparent 49.9%, rgba(169, 200, 220, .22) 50%, transparent 50.1%);
  pointer-events: none;
}

.aq-about-intro-center {
  inset: clamp(7rem, 15vh, 10rem) var(--base-padding-x) clamp(4rem, 7vh, 6rem) !important;
  top: auto !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1.28fr) minmax(18rem, .72fr) !important;
  grid-template-rows: auto 1fr auto !important;
  align-items: end !important;
  gap: 0 clamp(3rem, 7vw, 9rem) !important;
}

.aq-about-scene-index {
  grid-column: 1 / -1;
  align-self: start;
  display: flex;
  align-items: center;
  gap: 1rem;
  width: fit-content;
  color: #a9c8dc;
  font-family: IBMPlexMono, monospace;
  font-size: clamp(.67rem, .72vw, .84rem);
  letter-spacing: .08em;
}

.aq-about-scene-index:after {
  content: "";
  width: clamp(4rem, 9vw, 9rem);
  height: 1px;
  background: #6e9bbc;
}

.aq-about-scene-index b {
  color: #fff;
  font-weight: 400;
}

.aq-about-intro-main {
  grid-column: 1;
  align-self: end;
}

.aq-about-intro-center h2 {
  max-width: 10.5ch !important;
  color: #f4f8fa;
  font-size: clamp(4.15rem, 6.45vw, 7.7rem) !important;
  line-height: .88 !important;
  letter-spacing: -.065em !important;
}

.aq-about-intro-aside {
  grid-column: 2;
  align-self: end;
  padding-top: 1.15rem !important;
  border-top-color: rgba(169, 200, 220, .68) !important;
}

.aq-about-intro-aside > p {
  max-width: 33ch !important;
  color: rgba(244, 248, 250, .9) !important;
  font-size: clamp(1rem, 1.15vw, 1.28rem) !important;
  line-height: 1.35 !important;
}

.aq-about-intro-aside dl {
  margin-top: clamp(1.4rem, 3vh, 2.4rem) !important;
}

.aq-about-intro-aside dl div {
  border-top-color: rgba(169, 200, 220, .32) !important;
}

.aq-about-intro-route {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(2.5rem, 5vh, 4.5rem);
  border-top: 1px solid rgba(169, 200, 220, .38);
}

.aq-about-intro-route span {
  position: relative;
  padding-top: .7rem;
  color: rgba(232, 241, 246, .64);
  font-family: IBMPlexMono, monospace;
  font-size: clamp(.58rem, .64vw, .74rem);
  letter-spacing: .04em;
}

.aq-about-intro-route span:before {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #8fc7e8;
}

#about-who-title-main-logo {
  opacity: 0 !important;
  visibility: hidden;
}

#about-who-title-main-scroll {
  right: 0 !important;
  bottom: 0;
  color: rgba(232, 241, 246, .78);
  font-family: IBMPlexMono, monospace;
  font-size: clamp(.65rem, .75vw, .85rem) !important;
  letter-spacing: .08em;
  line-height: 1 !important;
}

/* Scene 02: the original horizontal containers remain animation anchors. */
#about-who-title-left,
#about-who-title-right {
  top: clamp(7.5rem, 15vh, 10rem) !important;
  bottom: clamp(3.5rem, 6vh, 5rem) !important;
  width: calc(50% - var(--base-padding-x) - 1.25vw) !important;
  margin: 0 !important;
  font-size: 1rem !important;
  font-style: normal !important;
  text-align: left !important;
}

#about-who-title-left,
#about-who-title-right {
  opacity: var(--aq-about-proof-opacity, 0) !important;
  visibility: var(--aq-about-proof-visibility, hidden) !important;
  transition: opacity .42s cubic-bezier(.35, 0, 0, 1);
}

#about-who-title-left {
  position: absolute !important;
  left: var(--base-padding-x) !important;
}

#about-who-title-right {
  position: absolute !important;
  right: var(--base-padding-x) !important;
}

.aq-about-proof-card {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  width: 100%;
  height: 100%;
  overflow: hidden;
  color: #071b2d;
  background: #e8f1f6;
  border: 1px solid rgba(169, 200, 220, .72);
}

.aq-about-proof-card--equipment {
  color: #f4f8fa;
  background: #0a2034;
}

.aq-about-proof-index {
  position: absolute;
  top: 1.15rem;
  left: 1.25rem;
  z-index: 2;
  padding: .45rem .55rem;
  color: #071b2d;
  background: rgba(232, 241, 246, .9);
  font-family: IBMPlexMono, monospace;
  font-size: clamp(.57rem, .64vw, .72rem);
  letter-spacing: .06em;
}

.aq-about-proof-media {
  position: relative;
  min-height: 0;
  overflow: hidden;
}

.aq-about-proof-media:after {
  content: "";
  position: absolute;
  inset: 0;
  border-bottom: 1px solid rgba(110, 155, 188, .4);
  pointer-events: none;
}

.aq-about-proof-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.aq-about-proof-card--drawing .aq-about-proof-media img {
  object-fit: contain;
  padding: clamp(1.5rem, 3vw, 3.5rem) 1rem 1rem;
  background: #f4f8fa;
}

.aq-about-proof-card--equipment .aq-about-proof-media img {
  object-position: center 56%;
}

.aq-about-proof-copy {
  display: grid;
  grid-template-columns: minmax(5.5rem, .35fr) minmax(0, 1fr);
  gap: .4rem clamp(1rem, 2vw, 2rem);
  padding: clamp(1.2rem, 2vw, 2rem);
}

.aq-about-proof-copy small {
  grid-row: 1 / span 2;
  padding-top: .35rem;
  color: #5b8cae;
  font-family: IBMPlexMono, monospace;
  font-size: clamp(.6rem, .67vw, .76rem);
  letter-spacing: .08em;
}

.aq-about-proof-copy strong {
  max-width: 18ch;
  font-size: clamp(1.65rem, 2.25vw, 2.7rem);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.045em;
}

.aq-about-proof-copy p {
  max-width: 40ch;
  margin: .55rem 0 0;
  color: rgba(7, 27, 45, .67);
  font-size: clamp(.77rem, .86vw, .96rem);
  line-height: 1.35;
}

.aq-about-proof-card--equipment .aq-about-proof-copy p {
  color: rgba(232, 241, 246, .67);
}

/* Scene 03. */
#about-who-subsection-details {
  margin-right: 0 !important;
  background: #071b2d !important;
}

#about-who-subsection-details:before,
#about-who-subsection-details:after {
  display: none !important;
}

#about-who-desc-top,
#about-who-desc-bottom {
  visibility: hidden !important;
  opacity: 0 !important;
}

.aq-about-method {
  position: absolute;
  inset: clamp(7rem, 14vh, 9rem) var(--base-padding-x) clamp(3.5rem, 6vh, 5rem);
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(20rem, .82fr);
  gap: clamp(2.5rem, 6vw, 7rem);
  color: #e8f1f6;
}

.aq-about-method-visual {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border-top: 1px solid rgba(143, 199, 232, .62);
}

.aq-about-method-visual:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 27, 45, .04) 45%, rgba(7, 27, 45, .88));
}

.aq-about-method-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 48%;
  filter: saturate(.82) contrast(1.04);
}

.aq-about-method-visual > span,
.aq-about-method-visual > b {
  position: absolute;
  z-index: 1;
  left: clamp(1.2rem, 2vw, 2rem);
}

.aq-about-method-visual > span {
  top: clamp(1.2rem, 2vw, 2rem);
  color: #c5deed;
  font-family: IBMPlexMono, monospace;
  font-size: clamp(.62rem, .68vw, .78rem);
  letter-spacing: .07em;
}

.aq-about-method-visual > b {
  bottom: clamp(1.2rem, 2vw, 2rem);
  max-width: 24ch;
  font-size: clamp(1.3rem, 1.8vw, 2.2rem);
  font-weight: 400;
  line-height: 1.04;
}

.aq-about-method-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 0;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(143, 199, 232, .42);
}

.aq-about-method-kicker {
  margin-bottom: auto;
  color: #8fc7e8;
  font-family: IBMPlexMono, monospace;
  font-size: clamp(.62rem, .69vw, .78rem);
  letter-spacing: .07em;
}

.aq-about-method h2 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(3.15rem, 4.7vw, 5.7rem);
  font-weight: 400;
  line-height: .91;
  letter-spacing: -.06em;
}

.aq-about-method-copy > p {
  max-width: 42ch;
  margin: clamp(1.2rem, 2.4vh, 2rem) 0 0;
  color: rgba(232, 241, 246, .68);
  font-size: clamp(.86rem, .96vw, 1.08rem);
  line-height: 1.38;
}

.aq-about-method ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .8rem;
  margin: clamp(1.5rem, 3vh, 2.5rem) 0 0;
  padding: 0;
  list-style: none;
}

.aq-about-method li {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  padding-top: .65rem;
  border-top: 1px solid rgba(143, 199, 232, .36);
}

.aq-about-method li b {
  color: #8fc7e8;
  font-family: IBMPlexMono, monospace;
  font-size: .68rem;
  font-weight: 400;
}

.aq-about-method li span {
  color: rgba(232, 241, 246, .82);
  font-size: clamp(.69rem, .76vw, .86rem);
  line-height: 1.25;
}

/* Scene 04. */
#about-who-subsection-team {
  display: none !important;
  background: #071b2d !important;
}

#about-who-subsection-team[style*="visibility: visible"] {
  z-index: 4 !important;
}

/* Stable About scene layer. The legacy canvas/DOM remains as the scroll ruler,
   while these three complete frames are the only visible presentation. */
#aq-about-scenes {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 12;
  width: 100vw;
  height: calc(var(--vh, 1vh) * 100);
  overflow: hidden;
  color: #e8f1f6;
  background: #071b2d;
  transform: none !important;
}

html:not(.aq-about-scenes-visible) #aq-about-scenes {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

html:not(.aq-about-scenes-visible) #aq-about-scenes .aq-stable-scene {
  pointer-events: none !important;
}

body > #header {
  z-index: 60;
}

body:has(#aq-about-scenes[style*="visibility: visible"]) > #header {
  color: #fff;
}

html.aq-about-scenes-visible body > #header {
  color: #fff;
}

body:has(#aq-about-scenes[style*="visibility: visible"]) > #header #header-logo:after {
  background: #fff;
}

html.aq-about-scenes-visible body > #header #header-logo:after {
  background: #fff;
}

#about-who.aq-has-scenes {
  z-index: 3;
}

#about-who.aq-has-scenes ~ .section {
  z-index: 1;
}

#about-who-subsection-container {
  visibility: hidden !important;
  pointer-events: none !important;
}

.aq-stable-scene {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  will-change: opacity, transform;
}

.aq-stable-scene[data-aq-scene="0"] {
  opacity: 1;
  visibility: visible;
}

.aq-stable-scene--intro {
  background: url('/assets/projects/of_the_oak/modular-process-skid.jpg') center 54% / cover no-repeat;
}

.aq-stable-scene-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 22, 36, .95), rgba(7, 27, 45, .75) 50%, rgba(7, 27, 45, .47)),
    linear-gradient(180deg, rgba(7, 27, 45, .2), transparent 35%, rgba(7, 27, 45, .82));
}

.aq-stable-intro-grid,
.aq-stable-proof-grid,
.aq-stable-method-grid,
.aq-stable-team-grid {
  position: absolute;
  inset: clamp(6.5rem, 14vh, 9rem) var(--base-padding-x) clamp(8.2rem, 14vh, 10rem);
}

.aq-stable-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(22rem, .88fr);
  grid-template-rows: minmax(0, 1fr);
  column-gap: clamp(3rem, 7vw, 9rem);
  align-items: center;
}

.aq-stable-intro-grid > h2 {
  align-self: center;
  max-width: 10.5ch;
  margin: 0;
  font-size: clamp(4.15rem, 6.45vw, 7.7rem);
  font-weight: 400;
  line-height: .88;
  letter-spacing: -.065em;
  transform: translateY(-5vh);
}


.aq-stable-intro-brand {
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(18rem, 43vh, 29rem);
  transform: translateY(-5vh);
}

.aq-stable-intro-brand img {
  display: block;
  width: min(118%, 43rem);
  max-width: none;
  height: auto;
  filter: brightness(0) invert(1);
}

.aq-scene-dock {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: clamp(2rem, 4vh, 3.5rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .45rem;
  width: min(50rem, calc(100vw - (var(--base-padding-x) * 2)));
  padding: .45rem;
  border-radius: 1.35rem;
  color: #e8f1f6;
  background: rgba(232, 241, 246, .1);
  box-shadow: 0 1rem 3rem rgba(2, 13, 23, .18);
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
}

.aq-scene-dock-item {
  appearance: none;
  border: 0;
  display: flex;
  align-items: center;
  gap: .62rem;
  min-width: 0;
  min-height: 3.35rem;
  padding: .7rem .8rem;
  border-radius: 1rem;
  color: rgba(232, 241, 246, .6);
  font: inherit;
  text-align: left;
  background: transparent;
  cursor: pointer;
  touch-action: manipulation;
  transition: color .35s ease, background-color .35s ease, transform .35s ease;
}

.aq-scene-dock-item:hover {
  color: #e8f1f6;
  background: rgba(232, 241, 246, .08);
}

.aq-scene-dock-item:focus-visible {
  outline: 2px solid #8fc7e8;
  outline-offset: 2px;
}

.aq-scene-dock-item span {
  display: grid;
  flex: 0 0 1.65rem;
  width: 1.65rem;
  height: 1.65rem;
  place-items: center;
  border-radius: 50%;
  background: rgba(232, 241, 246, .1);
  font-size: .62rem;
  font-weight: 500;
}

.aq-scene-dock-item strong {
  overflow: hidden;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .005em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.aq-scene-dock-item.is-active {
  color: #071b2d;
  background: #e8f1f6;
  transform: translateY(-.1rem);
}

.aq-scene-dock-item.is-active:hover {
  color: #071b2d;
  background: #fff;
}

.aq-scene-dock-item.is-active span {
  color: #e8f1f6;
  background: #0a638c;
}

.aq-stable-scene--proof {
  background:
    linear-gradient(90deg, rgba(7, 27, 45, .98), rgba(7, 27, 45, .78)),
    url('/assets/projects/of_the_oak/modular-process-skid.jpg') center / cover no-repeat;
}

.aq-stable-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 2.4rem);
}

.aq-stable-proof-panel {
  display: grid;
  grid-template-rows: minmax(0, 1fr) clamp(8.5rem, 17vh, 11.5rem);
  min-height: 0;
  overflow: hidden;
  border-radius: clamp(1.25rem, 2vw, 2.2rem);
  box-shadow: 0 1.4rem 4rem rgba(2, 13, 23, .2);
}

.aq-stable-proof-panel--light {
  color: #071b2d;
  background: #e8f1f6;
}

.aq-stable-proof-panel--dark {
  color: #e8f1f6;
  background: #0a2034;
}

.aq-stable-proof-media {
  min-height: 0;
  overflow: hidden;
}

.aq-stable-proof-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.aq-stable-proof-panel--light .aq-stable-proof-media img {
  object-fit: contain;
  padding: clamp(.7rem, 1.15vw, 1.15rem);
  background: #f4f8fa;
}

.aq-stable-proof-copy {
  display: grid;
  grid-template-columns: minmax(5rem, .3fr) minmax(0, 1fr);
  gap: .35rem clamp(1rem, 2vw, 2rem);
  padding: clamp(1rem, 1.7vw, 1.7rem);
}

.aq-stable-proof-copy small {
  grid-row: 1 / span 2;
  padding-top: .28rem;
  color: #5b8cae;
  font-family: Aeonik, Arial, sans-serif;
  font-weight: 500;
  letter-spacing: .025em;
}

.aq-stable-proof-copy h2 {
  max-width: 18ch;
  margin: 0;
  font-size: clamp(1.5rem, 2vw, 2.4rem);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.045em;
}

.aq-stable-proof-copy p {
  margin: .4rem 0 0;
  color: rgba(7, 27, 45, .66);
  font-size: clamp(.72rem, .8vw, .9rem);
  line-height: 1.3;
}

.aq-stable-proof-panel--dark .aq-stable-proof-copy p {
  color: rgba(232, 241, 246, .64);
}

.aq-stable-scene--method,
.aq-stable-scene--team {
  background: #071b2d;
}

.aq-stable-method-grid,
.aq-stable-team-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(20rem, .85fr);
  gap: clamp(2.5rem, 5vw, 6rem);
}

.aq-stable-method-visual,
.aq-stable-team-visual {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border-radius: clamp(1.4rem, 2.3vw, 2.6rem);
  box-shadow: 0 1.5rem 4.5rem rgba(2, 13, 23, .2);
}

.aq-stable-method-visual:after,
.aq-stable-team-visual:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(7, 27, 45, .82));
}

.aq-stable-method-visual img,
.aq-stable-team-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.84) contrast(1.04);
}

.aq-stable-method-visual > b {
  position: absolute;
  z-index: 1;
  left: clamp(1rem, 1.7vw, 1.7rem);
}

.aq-stable-method-visual > b {
  bottom: clamp(1rem, 1.7vw, 1.7rem);
  max-width: 25ch;
  font-size: clamp(1.2rem, 1.65vw, 2rem);
  font-weight: 400;
  line-height: 1.04;
}

.aq-stable-method-copy,
.aq-stable-team-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.35rem, 2.2vw, 2.35rem);
  border-radius: clamp(1.4rem, 2.3vw, 2.6rem);
  background: rgba(232, 241, 246, .055);
  box-shadow: inset 0 1px rgba(255, 255, 255, .035), 0 1.5rem 4.5rem rgba(2, 13, 23, .12);
}

.aq-stable-method-copy h2,
.aq-stable-team-copy h2 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3.5rem, 5.15vw, 6.5rem);
  font-weight: 400;
  line-height: .89;
  letter-spacing: -.06em;
}

.aq-stable-method-copy > p,
.aq-stable-team-copy > p {
  max-width: 40ch;
  margin: clamp(1rem, 2vh, 1.6rem) 0 0;
  color: rgba(232, 241, 246, .66);
  font-size: clamp(.95rem, 1.12vw, 1.25rem);
  line-height: 1.35;
}

.aq-stable-team-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(20rem, .8fr);
}

.aq-stable-team-visual.aq-stable-team-portraits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: clamp(.55rem, .85vw, .9rem);
  padding: clamp(.55rem, .85vw, .9rem);
  background: rgba(232, 241, 246, .055);
}

.aq-stable-team-visual.aq-stable-team-portraits:after {
  display: none;
}

.aq-stable-team-person {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border-radius: clamp(.9rem, 1.25vw, 1.35rem);
  background: #10283b;
}

.aq-stable-team-person:after {
  content: "";
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(180deg, transparent, rgba(4, 17, 29, .92));
  pointer-events: none;
}

.aq-stable-team-visual .aq-stable-team-person img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
  filter: saturate(.82) contrast(1.04);
}

.aq-stable-team-person:nth-child(2) img {
  object-position: center 18%;
}

.aq-stable-team-person > div {
  position: absolute;
  z-index: 1;
  right: clamp(.75rem, 1.1vw, 1.2rem);
  bottom: clamp(.7rem, 1vw, 1.05rem);
  left: clamp(.75rem, 1.1vw, 1.2rem);
  display: grid;
  gap: .16rem;
}

.aq-stable-team-person strong {
  font-size: clamp(.92rem, 1.08vw, 1.26rem);
  font-weight: 500;
  line-height: 1.05;
}

.aq-stable-team-person span {
  color: rgba(232, 241, 246, .68);
  font-family: IBMPlexMono, monospace;
  font-size: clamp(.55rem, .59vw, .68rem);
  line-height: 1.25;
  text-transform: uppercase;
}

@media (max-width: 812px) {
  .aq-stable-intro-grid,
  .aq-stable-proof-grid,
  .aq-stable-method-grid,
  .aq-stable-team-grid {
    inset: 6.3rem var(--base-padding-x) 5.8rem;
  }

  .aq-stable-intro-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 7rem minmax(0, 1fr);
    align-items: start;
  }

  .aq-stable-intro-grid > h2 {
    grid-row: 2;
    align-self: center;
    font-size: clamp(3.1rem, 13vw, 4.8rem);
    transform: translateY(-1.25rem);
  }

  .aq-stable-intro-brand {
    grid-row: 1;
    justify-self: end;
    width: min(58vw, 14rem);
    min-height: 6.7rem;
    margin-top: .75rem;
    transform: none;
  }

  .aq-stable-intro-brand img {
    width: 116%;
  }

  .aq-scene-dock {
    bottom: .9rem;
    gap: .25rem;
    width: calc(100vw - (var(--base-padding-x) * 2));
    padding: .3rem;
    border-radius: 1rem;
  }

  .aq-scene-dock-item {
    justify-content: center;
    gap: 0;
    min-height: 3.4rem;
    padding: .45rem .25rem;
    border-radius: .78rem;
  }

  .aq-scene-dock-item span {
    flex-basis: 1.5rem;
    width: 1.5rem;
    height: 1.5rem;
    font-size: .56rem;
  }

  .aq-scene-dock-item strong {
    display: none;
  }

  .aq-stable-proof-grid {
    top: 6.3rem;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: .65rem;
  }

  .aq-stable-proof-panel {
    grid-template-columns: 43% minmax(0, 1fr);
    grid-template-rows: 1fr;
    border-radius: 1.1rem;
  }

  .aq-stable-proof-copy {
    display: block;
    padding: .75rem;
  }

  .aq-stable-proof-copy small {
    display: block;
    margin-bottom: .45rem;
  }

  .aq-stable-proof-copy h2 {
    font-size: clamp(1.15rem, 5vw, 1.65rem);
  }

  .aq-stable-proof-copy p {
    display: none;
  }

  .aq-stable-proof-panel--light .aq-stable-proof-media img {
    padding: .35rem;
  }

  .aq-stable-method-grid,
  .aq-stable-team-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 52% minmax(0, 1fr);
    gap: 1rem;
  }

  .aq-stable-method-copy,
  .aq-stable-team-copy {
    padding: .85rem;
    border-radius: 1.15rem;
  }

  .aq-stable-method-copy h2,
  .aq-stable-team-copy h2 {
    font-size: clamp(2.65rem, 11.5vw, 4rem);
  }

  .aq-stable-method-copy > p,
  .aq-stable-team-copy > p {
    font-size: .82rem;
  }

  .aq-stable-team-visual.aq-stable-team-portraits {
    gap: .38rem;
    padding: .38rem;
  }

  .aq-stable-team-person {
    border-radius: .75rem;
  }

  .aq-stable-team-person > div {
    right: .55rem;
    bottom: .48rem;
    left: .55rem;
    gap: .08rem;
  }

  .aq-stable-team-person strong {
    font-size: clamp(.72rem, 3.1vw, .9rem);
  }

  .aq-stable-team-person span {
    font-size: clamp(.42rem, 1.75vw, .54rem);
  }

}

@media (max-width: 812px) and (max-height: 720px) {
  .aq-stable-intro-grid > h2 {
    font-size: clamp(2.85rem, 12vw, 3.55rem);
    transform: translateY(-.65rem);
  }

  .aq-stable-team-grid {
    grid-template-rows: 42% minmax(0, 1fr);
    gap: .65rem;
  }

  .aq-stable-team-copy h2 {
    font-size: clamp(2.35rem, 10.5vw, 2.75rem);
    line-height: .9;
  }

  .aq-stable-team-copy > p {
    margin-top: .55rem;
    font-size: .72rem;
  }

}

#about-who-subsection-team:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 62%, rgba(143, 199, 232, .14) 62%, rgba(143, 199, 232, .14) calc(62% + 1px), transparent calc(62% + 1px)),
    linear-gradient(180deg, rgba(143, 199, 232, .05), transparent 35%);
  pointer-events: none;
}

#about-who-team {
  display: block !important;
  position: absolute !important;
  inset: clamp(7rem, 14vh, 9rem) var(--base-padding-x) clamp(3rem, 5vh, 4rem) !important;
  width: auto !important;
  height: auto !important;
}

#about-who-team-faces {
  position: absolute !important;
  inset: 0 auto 0 0 !important;
  width: calc(62% - clamp(2rem, 4vw, 5rem)) !important;
  height: 100% !important;
  overflow: hidden;
  border-top: 1px solid rgba(143, 199, 232, .56);
}

#about-who-team-faces:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 27, 45, .02) 55%, rgba(7, 27, 45, .7));
  pointer-events: none;
}

#about-who-team-faces .aq-director-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  filter: saturate(.84) contrast(1.04);
}

#about-who-team-left,
#about-who-team-title,
#about-who-team-desc {
  opacity: 0 !important;
  pointer-events: none !important;
}

#about-who-team-right {
  position: absolute !important;
  inset: 0 0 0 auto !important;
  display: block !important;
  width: 38% !important;
  height: 100% !important;
}

.aq-team-editorial {
  display: flex;
  flex-direction: column;
  width: 100% !important;
  max-width: none !important;
  height: 100%;
  padding-top: 1rem;
  border-top: 1px solid rgba(143, 199, 232, .42);
}

.aq-team-editorial-kicker {
  display: flex !important;
  align-items: center;
  gap: .8rem;
  margin: 0 0 auto !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  color: #8fc7e8;
  font-family: IBMPlexMono, monospace;
  font-size: clamp(.61rem, .69vw, .78rem) !important;
  letter-spacing: .07em;
}

.aq-team-editorial-kicker:after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(143, 199, 232, .34);
}

.aq-team-editorial h3 {
  max-width: 10.5ch;
  margin: 0 !important;
  font-size: clamp(3.05rem, 4.15vw, 5rem) !important;
  line-height: .9 !important;
  letter-spacing: -.06em !important;
}

.aq-team-editorial p {
  max-width: 39ch;
  margin: clamp(1.1rem, 2.2vh, 1.8rem) 0 0 !important;
  color: rgba(232, 241, 246, .68);
  font-size: clamp(.84rem, .94vw, 1.06rem) !important;
  line-height: 1.38 !important;
}

.aq-team-stats {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  margin: clamp(1.2rem, 2.4vh, 2rem) 0 0 !important;
}

.aq-team-stats > div {
  padding-top: .55rem;
  border-top: 1px solid rgba(143, 199, 232, .35);
}

.aq-team-stats b {
  display: block;
  color: #8fc7e8;
  font-size: clamp(1.8rem, 2.35vw, 2.8rem);
  font-weight: 400;
  letter-spacing: -.04em;
}

.aq-team-stats span {
  display: block;
  margin-top: .15rem;
  color: rgba(232, 241, 246, .5);
  font-family: IBMPlexMono, monospace;
  font-size: clamp(.54rem, .6vw, .68rem) !important;
  text-transform: uppercase;
}

.aq-team-roster {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 1rem;
  margin: clamp(1rem, 2vh, 1.6rem) 0 0 !important;
  padding: 0;
  list-style: none;
}

.aq-team-roster li {
  display: grid !important;
  grid-template-columns: 1.6rem minmax(0, 1fr);
  gap: .65rem;
  align-items: start;
  min-width: 0;
  padding: .6rem 0 !important;
  border-top: 1px solid rgba(143, 199, 232, .28);
}

.aq-team-roster li > span {
  color: #6e9bbc;
  font-family: IBMPlexMono, monospace;
  font-size: .62rem !important;
}

.aq-team-roster li div {
  min-width: 0;
}

.aq-team-roster strong,
.aq-team-roster em {
  display: block;
  font-style: normal;
}

.aq-team-roster strong {
  overflow: hidden;
  color: #e8f1f6;
  font-size: clamp(.77rem, .86vw, .98rem) !important;
  font-weight: 400;
  line-height: 1.06;
  text-overflow: ellipsis;
}

.aq-team-roster em {
  margin-top: .2rem;
  color: rgba(232, 241, 246, .44);
  font-family: IBMPlexMono, monospace;
  font-size: clamp(.5rem, .56vw, .64rem);
  line-height: 1.15;
  text-transform: uppercase;
}

@media (max-width: 812px) {
  .aq-about-intro-center {
    inset: 6.5rem var(--base-padding-x) 2rem !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: auto 1fr auto auto !important;
  }

  .aq-about-intro-main,
  .aq-about-intro-aside,
  .aq-about-intro-route {
    grid-column: 1;
  }

  .aq-about-intro-center h2 {
    font-size: clamp(3.1rem, 13vw, 4.8rem) !important;
  }

  .aq-about-intro-aside {
    margin-top: 1.5rem;
  }

  .aq-about-intro-aside > p {
    font-size: .82rem !important;
  }

  .aq-about-intro-route {
    margin-top: 1.6rem;
  }

  .aq-about-intro-route span {
    font-size: .48rem;
  }

  #about-who-title-left,
  #about-who-title-right {
    top: 6rem !important;
    bottom: 2rem !important;
    width: calc(50% - var(--base-padding-x) - .35rem) !important;
  }

  .aq-about-proof-copy {
    display: block;
    padding: .9rem;
  }

  .aq-about-proof-copy small {
    display: block;
    margin-bottom: .55rem;
  }

  .aq-about-proof-copy strong {
    font-size: clamp(1.1rem, 4.8vw, 1.6rem);
  }

  .aq-about-proof-copy p {
    display: none;
  }

  .aq-about-method {
    inset: 6.2rem var(--base-padding-x) 2rem;
    grid-template-columns: 1fr;
    grid-template-rows: 43% minmax(0, 1fr);
    gap: 1.25rem;
  }

  .aq-about-method-copy {
    min-height: 0;
  }

  .aq-about-method h2 {
    font-size: clamp(2.5rem, 10.8vw, 3.9rem);
  }

  .aq-about-method-copy > p {
    font-size: .76rem;
  }

  .aq-about-method ol {
    margin-top: 1rem;
  }

  .aq-about-method li span {
    font-size: .58rem;
  }

  #about-who-team {
    inset: 6.2rem var(--base-padding-x) 2rem !important;
  }

  #about-who-team-faces {
    inset: 0 0 auto 0 !important;
    width: 100% !important;
    height: 38% !important;
  }

  #about-who-team-right {
    inset: 41% 0 0 !important;
    width: 100% !important;
    height: 59% !important;
  }

  .aq-team-editorial h3 {
    max-width: 14ch;
    font-size: clamp(2rem, 8.8vw, 3rem) !important;
  }

  .aq-team-editorial p {
    font-size: .72rem !important;
  }

  .aq-team-stats {
    margin-top: .75rem !important;
  }

  .aq-team-roster {
    margin-top: .6rem !important;
  }

  .aq-team-roster li {
    padding: .38rem 0 !important;
  }
}

/* 14.08.2026: cross-device mobile audit. These rules deliberately live at
   the end of the cascade so every route shares one compact geometry. */
html.aq-native-scroll-fallback,
html.aq-native-scroll-fallback body {
  height: auto !important;
  min-height: 100% !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior-y: auto !important;
}

html.aq-native-scroll-fallback #ui,
html.aq-native-scroll-fallback #page-container,
html.aq-native-scroll-fallback #page-container-inner {
  position: relative !important;
  height: auto !important;
  overflow: visible !important;
  transform: none !important;
}

html.aq-native-scroll-fallback #canvas,
html.aq-native-scroll-fallback #scroll-indicator {
  display: none !important;
}

html.aq-native-scroll-fallback #project-details,
html.aq-native-scroll-fallback #project-details-items-wrapper,
html.aq-native-scroll-fallback #project-details-items-move-container,
html.aq-native-scroll-fallback #project-details-meta,
html.aq-native-scroll-fallback #project-details-preview {
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  transform: none !important;
}

html.aq-native-scroll-fallback #project-details-items-move-container {
  padding: 5.5rem var(--base-padding-x) 1rem !important;
  white-space: normal !important;
}

html.aq-native-scroll-fallback .project-details-item {
  display: grid !important;
  width: 100% !important;
  min-height: 13rem !important;
  margin: 1rem 0 !important;
  place-items: center;
  visibility: visible !important;
  border-radius: var(--global-border-radius);
  background: #d6e4ec;
  color: #273f5b;
  white-space: normal !important;
}

html.aq-native-scroll-fallback .project-details-item::before {
  max-width: 28ch;
  padding: 1rem;
  content: attr(aria-label);
  text-align: center;
}

html.aq-native-scroll-fallback #project-details-meta {
  padding: 1rem var(--base-padding-x) 3rem !important;
}

@media (max-width: 812px) {
  html,
  body,
  #ui,
  #page-container {
    width: 100%;
    max-width: 100%;
  }

  img,
  video,
  canvas,
  svg {
    max-width: 100%;
  }

  #header {
    padding-top: max(var(--base-padding-y), env(safe-area-inset-top));
    padding-right: max(var(--base-padding-x), env(safe-area-inset-right));
    padding-left: max(var(--base-padding-x), env(safe-area-inset-left));
    font-size: clamp(.875rem, 4vw, 1rem) !important;
  }

  #header-right-talk-btn,
  #header-right-menu-btn,
  #header-center-project-back-btn {
    min-width: 44px !important;
    min-height: 44px !important;
  }

  body.aq-project-detail-page #header-center-project-back-btn,
  body:has(#project-details) #header-center-project-back-btn {
    right: calc(max(var(--base-padding-x), env(safe-area-inset-right)) + 7rem) !important;
    left: auto !important;
  }

  body.aq-project-detail-page #header-right-talk-btn {
    background: #8fc7e8 !important;
    color: #0a1d2e !important;
  }

  #header-menu {
    max-height: calc(100dvh - 5.5rem - env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
  }

  #header-menu::-webkit-scrollbar {
    display: none;
  }

  .aq-project-carousel-meta {
    padding-right: 6.4rem;
  }

  .aq-project-carousel-controls {
    right: .35rem;
    bottom: .25rem;
  }

  .aq-project-carousel-control {
    width: 44px;
    height: 44px;
  }

  #header-menu-newsletter-input-arrow,
  #footer-newsletter-input-arrow {
    display: grid;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    place-items: center;
  }

  #header-menu-newsletter-input-arrow svg,
  #footer-newsletter-input-arrow svg {
    width: 1.5rem;
    height: 1.5rem;
  }

  #project-details-title,
  #project-details-preview-title,
  #projects-main-title,
  #about-capability-title,
  .aq-stable-intro-grid > h2,
  .aq-stable-proof-copy h2,
  .aq-stable-method-copy h2,
  .aq-stable-team-copy h2 {
    height: auto !important;
    max-width: 100% !important;
    padding-bottom: .1em;
    overflow: visible !important;
    overflow-wrap: anywhere;
    text-wrap: balance;
  }

  #project-details-side-list,
  #project-details-side-list > *,
  .project-details-side-list-item {
    min-width: 0;
  }

  #project-details-side-list a.project-details-side-list-item {
    display: inline-block;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  #aq-about-scenes {
    height: 100dvh;
  }

  .aq-stable-scene {
    will-change: auto;
  }

  .aq-stable-scene.is-rendering {
    will-change: opacity, transform;
  }

  .aq-stable-intro-brand {
    justify-self: center;
    width: min(64vw, 14rem);
    max-width: 100%;
  }

  .aq-stable-intro-brand img {
    width: 100%;
    max-width: 100%;
  }

  .aq-scene-dock {
    bottom: calc(.9rem + env(safe-area-inset-bottom));
    max-width: calc(100vw - max(var(--base-padding-x), env(safe-area-inset-left)) - max(var(--base-padding-x), env(safe-area-inset-right)));
    background: rgba(27, 48, 66, .96);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .aq-stable-scene--intro {
    background-image: url('/assets/projects/of_the_oak/modular-process-skid-mobile.webp');
  }

  body #end-section-inner::before {
    background:
      linear-gradient(90deg, rgba(10, 29, 46, .82), rgba(39, 63, 91, .42)),
      url('/assets/aquatech/water-treatment-aerial-mobile.webp') center / cover no-repeat;
  }

  #end-section {
    height: calc(var(--vh, 1vh) * 180) !important;
  }

  #end-section-title {
    --font-size: clamp(2.8rem, 16vw, 4.8rem) !important;
    width: min(100%, 9.5em);
    max-width: calc(100vw - (var(--base-padding-x) * 2));
  }

  #end-section-title-link {
    max-width: 100%;
    overflow-wrap: normal;
  }

  .aq-reel-statement span {
    font-size: clamp(2.15rem, 9.5vw, 3.4rem);
    line-height: .86;
    white-space: normal;
    text-align: center;
    text-wrap: balance;
  }

  body #aq-process-animation .aq-technology-hotspot {
    max-width: min(9.5rem, calc(100vw - (var(--base-padding-x) * 2)));
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  body #aq-process-animation .aq-technology-hotspot[data-hotspot="0"],
  body #aq-process-animation .aq-technology-hotspot[data-hotspot="2"],
  body #aq-process-animation .aq-technology-hotspot[data-hotspot="3"],
  body #aq-process-animation .aq-technology-hotspot[data-hotspot="4"] {
    right: .75rem !important;
    left: auto !important;
  }
}

@media (max-width: 379px), (max-width: 812px) and (max-height: 800px) {
  #header-menu-newsletter {
    display: none !important;
  }
}

@media (max-width: 430px) {
  #project-details-side-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 430px) and (max-height: 800px) {
  #home-goal-context-inner {
    padding: 5.7rem 1rem 1rem;
  }

  #home-goal-title {
    font-size: clamp(2.5rem, 12vw, 3.45rem) !important;
  }

  #home-goal-texts {
    margin-top: 1.1rem !important;
  }

  .aq-model-intro-kicker {
    font-size: .56rem;
  }

  .aq-model-intro-lead {
    max-width: 22ch;
    font-size: clamp(1.05rem, 5vw, 1.42rem);
  }

  .aq-model-intro-note {
    margin-top: .55rem;
    font-size: .72rem;
    line-height: 1.28;
  }

  .aq-model-intro-cue {
    margin-top: .55rem;
  }

  .aq-model-intro-route {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .aq-model-intro-route span {
    padding: .45rem .2rem .45rem 0;
    font-size: .67rem;
  }

  .aq-technology-model {
    top: 8.2rem;
    bottom: 48%;
  }

  body #aq-process-animation .aq-process-stages {
    top: 52%;
    bottom: 4.4rem;
  }

  body #aq-process-animation .aq-process-copy strong {
    max-width: 15ch;
    font-size: clamp(1.35rem, 7.4vw, 1.85rem);
    line-height: .94;
  }

  body #aq-process-animation .aq-process-copy p {
    display: -webkit-box;
    margin-top: .35rem;
    overflow: hidden;
    font-size: .68rem;
    line-height: 1.25;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  body #aq-process-animation .aq-process-metric {
    margin-top: .4rem;
  }

  .aq-stable-intro-grid,
  .aq-stable-proof-grid,
  .aq-stable-method-grid,
  .aq-stable-team-grid {
    inset: 5.25rem var(--base-padding-x) 4.75rem;
  }

  .aq-stable-method-grid {
    grid-template-rows: 36% minmax(0, 1fr);
    gap: .6rem;
  }

  .aq-stable-method-copy,
  .aq-stable-team-copy {
    padding: .7rem;
  }

  .aq-stable-method-copy h2,
  .aq-stable-team-copy h2 {
    font-size: clamp(1.9rem, 8.5vw, 2.55rem);
    line-height: .9;
  }

  .aq-stable-method-copy > p,
  .aq-stable-team-copy > p {
    margin-top: .5rem;
    font-size: .7rem;
    line-height: 1.28;
  }

  .aq-stable-team-grid {
    grid-template-rows: 39% minmax(0, 1fr);
    gap: .6rem;
  }
}

/* Phones in landscape are wider than the historic 812px breakpoint. */
@media (max-width: 1000px) and (max-height: 600px) and (orientation: landscape) and (hover: none) and (pointer: coarse) {
  #header {
    padding-top: max(.8rem, env(safe-area-inset-top));
    padding-right: max(1.1rem, env(safe-area-inset-right));
    padding-left: max(1.1rem, env(safe-area-inset-left));
    font-size: .875rem !important;
  }

  #header-right {
    display: flex;
    width: auto;
    height: 44px;
    gap: .65rem;
    align-items: center;
    justify-content: flex-end;
    transform: none !important;
  }

  #header-container {
    min-height: 44px;
    overflow: visible;
    padding-bottom: 0;
  }

  #header-right-sound-btn,
  #header-right-talk-btn-placeholder {
    display: none !important;
  }

  #header-right-talk-btn,
  #header-right-menu-btn {
    position: relative !important;
    inset: auto !important;
    flex: 0 0 44px;
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 50% !important;
    transform: none !important;
  }

  #header-right-talk-btn {
    display: flex !important;
  }

  #header-right-talk-container,
  #header-right-menu-btn-inner {
    position: absolute;
    inset: 0;
    display: flex !important;
    width: 100% !important;
    height: 100% !important;
    align-items: center;
    justify-content: center;
    gap: 0;
    transform: none !important;
  }

  #header-right-talk-btn-text,
  #header-right-talk-btn-dots,
  #header-right-talk-btn-arrow,
  #header-right-menu-btn-text,
  #header-right-menu-btn-text-close {
    display: none !important;
  }

  #header-right-talk-btn::after {
    content: "↗";
    display: block;
    color: currentColor;
    font-size: 1.45em;
    line-height: 1;
  }

  #header-center-project-back-btn {
    top: max(.8rem, env(safe-area-inset-top));
    right: calc(max(1.1rem, env(safe-area-inset-right)) + 7.75rem) !important;
    left: auto !important;
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 !important;
    justify-content: center;
  }

  #header-center-project-back-btn-text,
  #project-details-header-info {
    display: none !important;
  }

  #header-menu {
    top: 4.45rem;
    right: max(1.1rem, env(safe-area-inset-right));
    width: min(18rem, calc(100vw - max(1.1rem, env(safe-area-inset-left)) - max(1.1rem, env(safe-area-inset-right))));
    max-height: calc(100dvh - 4.8rem - env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
  }

  #header-menu::-webkit-scrollbar,
  #header-menu-newsletter {
    display: none !important;
  }

  #header-menu-links {
    padding: .42rem .22rem;
  }

  .header-menu-link {
    min-height: 44px;
    padding: .5rem .9rem;
    box-sizing: border-box;
  }

  .aq-project-carousel-control {
    flex: 0 0 44px;
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
  }

  #header-menu-talk {
    display: none !important;
  }

  #header-menu-labs {
    padding: .72rem 1rem;
  }

  #home-goal-context-inner {
    padding: 4.75rem max(2rem, env(safe-area-inset-right)) 1rem max(2rem, env(safe-area-inset-left));
  }

  #home-goal-title {
    width: 45% !important;
    font-size: clamp(2.4rem, 10vh, 3.4rem) !important;
  }

  #home-goal-texts {
    position: absolute !important;
    top: 4.75rem !important;
    right: max(2rem, env(safe-area-inset-right)) !important;
    left: 52% !important;
    width: auto !important;
    margin: 0 !important;
    transform: none !important;
  }

  .aq-model-intro-lead {
    max-width: 32ch;
    font-size: clamp(.95rem, 4vh, 1.3rem);
  }

  .aq-model-intro-note {
    margin-top: .35rem;
    font-size: .68rem;
    line-height: 1.25;
  }

  .aq-model-intro-cue {
    display: none;
  }

  .aq-model-intro-route {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .aq-model-intro-route span {
    padding: .45rem .25rem;
    font-size: .68rem;
  }

  .aq-technology-model {
    top: 4.7rem;
    bottom: 46%;
  }

  body #aq-process-animation .aq-process-stages {
    top: 49%;
    right: max(2rem, env(safe-area-inset-right));
    bottom: 3.35rem;
    left: max(2rem, env(safe-area-inset-left));
  }

  body #aq-process-animation .aq-process-copy-step {
    margin: 0 0 .25rem;
  }

  body #aq-process-animation .aq-process-copy strong {
    max-width: 22ch;
    font-size: clamp(1.25rem, 5.4vh, 1.75rem);
  }

  body #aq-process-animation .aq-process-copy p {
    display: -webkit-box;
    margin-top: .25rem;
    overflow: hidden;
    font-size: .68rem;
    line-height: 1.22;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  body #aq-process-animation .aq-process-metric {
    margin-top: .3rem;
    padding-top: 0;
    gap: .45rem;
  }

  body #aq-process-animation .aq-process-metric b {
    font-size: 1.3rem;
  }

  body #aq-process-animation .aq-process-metric span {
    display: none;
  }

  #project-details-meta {
    position: relative;
    top: 0;
    width: 100%;
    min-width: inherit;
    padding-top: calc(var(--vh, 1vh) * 8);
    padding-bottom: 40px;
    transform: translateZ(0);
  }

  #project-details-title,
  #project-details-preview-title {
    height: auto !important;
    max-width: 100%;
    overflow: visible !important;
    font-size: clamp(2.2rem, 11vh, 3.3rem) !important;
    line-height: .94 !important;
    overflow-wrap: anywhere;
  }

  #project-details-left,
  #project-details-right {
    width: 100%;
  }

  #project-details-right {
    margin-top: 0;
    padding-left: 0;
  }

  #project-details-desc,
  #project-details-side-list {
    font-size: .84rem;
  }

  #project-details-side-list {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  #project-details-side-list-links {
    margin-top: 0;
  }

  #project-details-items-move-container {
    position: relative;
    width: calc(100vw - max(2rem, env(safe-area-inset-left)) - max(2rem, env(safe-area-inset-right)));
    height: auto;
    padding-left: 0;
    white-space: normal;
  }

  .project-details-item {
    margin-top: 35px;
    margin-left: max(2rem, env(safe-area-inset-left));
  }

  .project-details-item:first-child {
    margin-left: max(2rem, env(safe-area-inset-left));
  }

  .project-details-item:last-child {
    margin-bottom: 35px;
  }

  .project-details-item-text {
    top: 0;
    margin: 1em 0;
    transform: translateZ(0);
  }

  #project-details-preview {
    left: max(2rem, env(safe-area-inset-left));
    width: calc(100% - max(2rem, env(safe-area-inset-left)) - max(2rem, env(safe-area-inset-right)));
  }

  #project-details-preview-inner,
  #project-details-preview-title,
  #project-details-preview-footer {
    position: relative;
    top: auto;
    bottom: auto;
    transform: none;
  }

  #project-details-preview-inner {
    height: auto;
    padding: 1rem 0;
  }

  #project-details-preview-footer {
    width: 100%;
    margin-top: 1rem;
  }

  #aq-about-scenes {
    height: 100dvh;
  }

  .aq-stable-intro-grid,
  .aq-stable-proof-grid,
  .aq-stable-method-grid,
  .aq-stable-team-grid {
    inset: 4.6rem max(3.7rem, env(safe-area-inset-right)) 4.45rem max(3.7rem, env(safe-area-inset-left));
  }

  .aq-stable-intro-grid {
    grid-template-columns: minmax(0, 1fr) minmax(8rem, .68fr);
    grid-template-rows: minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
  }

  .aq-stable-intro-grid > h2 {
    grid-row: auto;
    align-self: center;
    max-width: 11ch;
    transform: none;
  }

  .aq-stable-intro-brand {
    grid-row: auto;
    align-self: center;
    justify-self: stretch;
    width: auto;
    min-height: 0;
    margin: 0;
    transform: none;
  }

  .aq-stable-method-grid,
  .aq-stable-team-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(12rem, .85fr);
    grid-template-rows: minmax(0, 1fr);
    gap: .75rem;
  }

  .aq-stable-intro-grid > h2,
  .aq-stable-method-copy h2,
  .aq-stable-team-copy h2 {
    font-size: clamp(2.1rem, 8vh, 3.25rem);
  }

  .aq-stable-intro-brand {
    min-height: 0;
  }

  .aq-stable-intro-brand img {
    width: min(85%, 24rem);
  }

  .aq-stable-method-copy,
  .aq-stable-team-copy {
    padding: .65rem;
    justify-content: center;
  }

  .aq-stable-method-copy > p,
  .aq-stable-team-copy > p {
    display: -webkit-box;
    margin-top: .35rem;
    overflow: hidden;
    font-size: .64rem;
    line-height: 1.2;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .aq-scene-dock {
    bottom: calc(.45rem + env(safe-area-inset-bottom));
    padding: .28rem;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .aq-scene-dock-item {
    min-height: 2.7rem;
    padding: .35rem .55rem;
  }

  #end-section {
    height: calc(var(--vh, 1vh) * 165) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .aq-stable-scene,
  .aq-reel-statement span,
  .aq-project-carousel-slide {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

/* Mobile text hotfix 2026-08-24.
   The animation bundle splits headings into one element per character. Safari
   may wrap those elements in the middle of a word, so mobile gets a stable
   text layer and conservative heading sizes. */
@media (max-width: 812px) {
  .project-item-line-2 {
    width: 100% !important;
    min-height: 0 !important;
  }

  .project-item-line-2-inner[data-mobile-title] {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 1em;
    overflow: visible !important;
    font-size: 0 !important;
    line-height: 1 !important;
    transform: none !important;
  }

  .project-item-line-2-inner[data-mobile-title] > * {
    display: none !important;
  }

  .project-item-line-2-inner[data-mobile-title]::before {
    content: attr(data-mobile-title);
    display: block;
    max-width: 100%;
    font-size: clamp(1.35rem, 6.5vw, 1.8rem);
    line-height: 1.02;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
    text-wrap: balance;
  }

  #aq-process-animation .aq-process-heading {
    top: 7.45rem;
    width: calc(100% - (var(--base-padding-x) * 2));
    max-width: calc(100% - (var(--base-padding-x) * 2));
    font-size: clamp(2.15rem, 9.5vw, 2.75rem);
    line-height: .92;
  }

  #aq-process-animation .aq-process-heading span {
    max-width: 100%;
    text-wrap: balance;
  }

  body #aq-process-animation .aq-process-heading small {
    margin-top: .35rem;
    max-width: 24ch;
    font-size: .65rem;
    line-height: 1.2;
  }

  #about-clients-title {
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
    font-size: clamp(2.15rem, 10.4vw, 2.75rem) !important;
    line-height: .92 !important;
  }

  #about-clients-title .about-clients-title-word-wrapper {
    max-width: 100%;
    overflow: hidden !important;
  }

  .about-award-header-title {
    max-width: 100% !important;
    overflow: visible !important;
    font-size: clamp(1.95rem, 8.7vw, 2.25rem) !important;
    line-height: .95 !important;
    white-space: nowrap;
  }

  .award-category-talks .about-award-header-number {
    display: none !important;
  }

  .award-category-talks .aq-team-proof-grid article > div {
    min-width: 0;
  }

  .award-category-talks .aq-team-proof-grid h6,
  .award-category-talks .aq-team-proof-grid p {
    display: block !important;
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
  }

  .award-category-talks .aq-team-proof-grid h6 {
    margin: 0 !important;
  }

  .award-category-talks .aq-team-proof-grid p {
    margin: .75rem 0 0 !important;
  }

  #about-capability-title {
    width: 100% !important;
    max-width: 100% !important;
    font-size: clamp(2.4rem, 11.1vw, 3rem) !important;
    line-height: .9 !important;
  }

  #about-capability-title-line-1,
  #about-capability-title-line-2 {
    max-width: 100%;
    white-space: nowrap;
  }
}

@media (max-width: 430px) and (max-height: 800px) {
  .aq-technology-model {
    top: 12.5rem;
  }
}

/* 27.08.2026: единый список контактных лиц во всех футерах. */
.aq-footer-contact-section {
  min-width: 0;
}

.aq-footer-contact-section #aq-footer-contacts-title {
  font-weight: 500;
  letter-spacing: .045em;
}

.aq-footer-contact-section > .footer-enquires-header-wrapper,
.aq-footer-contact-section > .footer-enquires-link-wrapper {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
}

.aq-footer-contacts {
  display: grid;
  width: 100%;
  min-width: 0;
  margin-top: .65rem;
  padding: 0;
}

.aq-footer-contact-list {
  display: grid;
  min-width: 0;
  margin-top: .65rem;
}

.aq-footer-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: .22rem;
  min-width: 0;
  padding: .72rem 0;
  border-top: 1px solid rgba(0, 0, 0, .15);
}

.aq-footer-contact:last-child {
  border-bottom: 1px solid rgba(0, 0, 0, .15);
}

.aq-footer-contact-person,
.aq-footer-contact-role,
.aq-footer-contact-name,
.aq-footer-contact-phone {
  min-width: 0;
  max-width: 100%;
}

.aq-footer-contact-person {
  display: grid;
  gap: .08rem;
  line-height: 1.2;
}

.aq-footer-contact-role {
  color: rgba(0, 0, 0, .58);
  font-size: .72em;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.aq-footer-contact-name {
  font-size: .92em;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.aq-footer-contact-phone {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 44px;
  color: inherit;
  font-size: .9em;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

@media (hover: hover) {
  .aq-footer-contact-phone:hover {
    text-decoration: underline;
    text-underline-offset: .2em;
  }
}

@media (max-width: 700px) {
  .aq-footer-contacts {
    margin-top: 0;
  }

  .aq-footer-contact-list {
    margin-top: .5rem;
  }

  .aq-footer-contact {
    padding: .62rem 0;
  }

  .aq-footer-contact-role {
    font-size: .78rem;
  }

  .aq-footer-contact-name,
  .aq-footer-contact-phone {
    font-size: .95rem;
  }
}
