/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  height: var(--header-h);
  overflow: visible;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 0 0 transparent;
  transition: box-shadow 200ms var(--ease-out), border-color 200ms var(--ease-out);
}

.header.is-scrolled {
  border-bottom-color: transparent;
  box-shadow:
    0 1px 0 rgba(23, 25, 27, 0.06),
    0 12px 28px rgba(23, 25, 27, 0.1);
}

.header-sentinel {
  height: 1px;
  margin-top: -1px;
  pointer-events: none;
}

.header__bar {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
}

.logo svg {
  width: 28px;
  height: 28px;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav__item {
  position: relative;
}

.nav__link,
.nav__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 10px;
  background: none;
  border: 0;
  text-decoration: none;
  font-size: 0.95rem;
  cursor: pointer;
  transition: color 160ms ease;
}

.nav__link:hover,
.nav__toggle:hover {
  color: var(--accent);
}

.nav__caret {
  width: 8px;
  height: 8px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.mega {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  width: min(920px, 80vw);
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 28px;
  display: none;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  z-index: var(--z-overlay);
}

.nav__item:hover .mega,
.nav__item:focus-within .mega,
.nav__item.is-open .mega {
  display: grid;
}

.mega h3 {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: var(--olive);
}

.mega a {
  display: block;
  text-decoration: none;
  font-size: 0.92rem;
  padding: 6px 0;
  color: var(--ink-soft);
  transition: color 160ms ease;
}

.mega a:hover {
  color: var(--accent);
}

.header__end {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header__city {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.header__phone {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  transition: color 160ms ease;
}

.header__phone:hover {
  color: var(--accent);
}

.menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--ink);
  margin: 0 auto;
  position: relative;
}

.menu-btn span::before,
.menu-btn span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-btn span::before {
  top: -6px;
}

.menu-btn span::after {
  top: 6px;
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100dvh - var(--header-h));
  display: grid;
  color: var(--on-dark);
  overflow: hidden;
  background: var(--graphite);
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(26, 28, 30, 0.92) 0%, rgba(26, 28, 30, 0.72) 42%, rgba(26, 28, 30, 0.28) 100%),
    linear-gradient(180deg, rgba(26, 28, 30, 0.15) 0%, rgba(26, 28, 30, 0.55) 100%);
}

.hero__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(237, 235, 228, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(237, 235, 228, 0.08) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 100%);
}

.hero__plot {
  position: absolute;
  inset: 8% 6% 18% 42%;
  width: auto;
  height: auto;
  pointer-events: none;
}

.hero__plot path {
  fill: none;
  stroke: rgba(237, 235, 228, 0.35);
  stroke-width: 1;
}

.hero__plot .plot-active {
  stroke: var(--accent);
  stroke-width: 1.6;
  stroke-dasharray: 720;
  stroke-dashoffset: 720;
  animation: draw 2.6s var(--ease) 0.3s forwards;
}

.hero__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(28px, 5vw, 64px) 0 36px;
  min-height: calc(100dvh - var(--header-h));
}

.hero__body > * {
  opacity: 0;
  transform: translateY(16px);
  animation: hero-in 700ms var(--ease-out) forwards;
}

.hero__body > *:nth-child(1) {
  animation-delay: 60ms;
}

.hero__body > *:nth-child(2) {
  animation-delay: 120ms;
}

.hero__body > *:nth-child(3) {
  animation-delay: 180ms;
}

.hero__body > *:nth-child(4) {
  animation-delay: 240ms;
}

@keyframes hero-in {
  to {
    opacity: 1;
    transform: none;
  }
}

.hero h1 {
  max-width: 16.5em;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.8vw, 2.55rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.hero__text {
  max-width: 54ch;
  color: var(--on-dark-muted);
  font-size: 1.02rem;
  margin-bottom: 28px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.hero__path {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid rgba(237, 235, 228, 0.18);
  padding-top: 18px;
}

.hero__path span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding-right: 28px;
  position: relative;
}

.hero__path span:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  width: 10px;
  height: 1px;
  background: var(--accent);
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes beam {
  to {
    offset-distance: 100%;
  }
}

.btn--beam::after {
  content: "";
  position: absolute;
  width: 64px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #f4d2cc, transparent);
  offset-path: rect(0 auto auto 0);
  offset-distance: 0%;
  animation: beam 5s linear infinite;
  pointer-events: none;
}

/* Stats / GOST title-block */
.stats {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.stats article {
  padding: 28px 32px;
  border-right: 1px solid var(--line);
}

.stats article:first-child {
  padding-left: 0;
}

.stats article:last-child {
  padding-right: 0;
  border-right: 0;
}

.stats h2 {
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.stats p {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 36ch;
}

.stats article:first-child h2 {
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

/* Scenarios */
.scenarios {
  padding: var(--section) 0;
}

.parcels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.parcel {
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: 28px;
  background: var(--bg);
  text-decoration: none;
  transition: background 200ms var(--ease), color 160ms ease;
}

.parcel:hover,
.parcel:focus-visible {
  background: var(--paper);
}

.parcel__n {
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 16px;
}

.parcel h3 {
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 12px;
}

.parcel p {
  color: var(--muted);
  flex: 1;
}

.parcel__cta {
  margin-top: 20px;
  font-size: 0.92rem;
  color: var(--ink);
  transition: color 160ms ease;
}

.parcel:hover .parcel__cta {
  color: var(--accent);
}

/* Timeline */
.timeline {
  padding: var(--section) 0;
  background: var(--graphite);
  color: var(--on-dark);
  overflow: hidden;
}

.timeline > .wrap {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.timeline .section-head {
  margin-bottom: 0;
  flex: 1;
}

.timeline .lead {
  color: var(--on-dark-muted);
}

.timeline__nav {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.timeline__btn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(237, 235, 228, 0.28);
  background: transparent;
  color: var(--on-dark);
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease, opacity 160ms ease;
}

.timeline__btn svg {
  width: 18px;
  height: 18px;
}

.timeline__btn:hover:not(.swiper-button-disabled) {
  border-color: var(--on-dark);
  background: rgba(237, 235, 228, 0.06);
}

.timeline__btn.swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
}

.timeline__slider {
  padding: 12px 0 8px;
  overflow: hidden;
}

.timeline__slider.swiper {
  margin-left: var(--gutter);
  margin-right: 0;
  padding-right: var(--gutter);
  overflow: hidden;
}

.timeline__track {
  position: relative;
  list-style: none;
}

.timeline__track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 16px;
  height: 1px;
  background: rgba(237, 235, 228, 0.2);
  pointer-events: none;
}

.tstep {
  width: 220px !important;
  max-width: 220px;
  height: auto;
  box-sizing: border-box;
  padding: 0 28px 0 0;
  position: relative;
  flex-shrink: 0;
}

.tstep__n {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--accent);
  font-size: 0.78rem;
  background: var(--graphite);
  position: relative;
  z-index: 1;
  padding-right: 8px;
}

.tstep h3 {
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.tstep p {
  color: var(--on-dark-muted);
  font-size: 0.92rem;
}

.tstep.is-on .tstep__n {
  color: var(--on-dark);
}

@media (hover: hover) and (pointer: fine) {
  .timeline__slider .swiper-wrapper {
    cursor: grab;
  }

  .timeline__slider .swiper-wrapper:active {
    cursor: grabbing;
  }
}

/* Services */
.services {
  padding: var(--section) 0;
}

.service-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}

.service {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: start;
  padding: 28px 24px 28px 0;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  transition: background 200ms var(--ease), color 160ms ease;
}

.service:nth-child(even) {
  padding-left: 24px;
  border-right: 0;
}

.service:hover {
  background: var(--paper);
}

.service__n {
  font-size: 0.75rem;
  color: var(--muted);
  padding-top: 4px;
}

.service h3 {
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.service p {
  color: var(--muted);
  font-size: 0.95rem;
}

.service__more {
  font-size: 0.88rem;
  color: var(--accent);
  white-space: nowrap;
  padding-top: 4px;
  transition: color 160ms ease;
}

/* Risks */
.risks {
  padding: var(--section) 0;
  background: var(--paper);
}

.ledger {
  border-top: 1px solid var(--line);
}

.risk {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.risk__lab {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.risk__q {
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.risk__a {
  color: var(--ink-soft);
}

.risk__arrow {
  align-self: center;
  color: var(--accent);
}

/* Objects */
.objects {
  padding: var(--section) 0;
}

.object-strip {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-auto-rows: minmax(220px, 1fr);
  gap: 12px;
}

.object {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 220px;
  overflow: hidden;
  color: var(--on-dark);
  background: var(--ink);
}

.object:first-child {
  grid-row: span 2;
  min-height: 452px;
}

.object-strip .object:last-child {
  grid-column: span 2;
}

.object img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ease-out);
}

.object::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 32%, rgb(23 25 27 / 0.84));
  pointer-events: none;
}

.object__txt {
  position: relative;
  z-index: 1;
  padding: 18px 20px;
}

.object h3 {
  font-size: 1.12rem;
  font-weight: 500;
  margin-bottom: 6px;
}

.object p {
  color: rgb(237 235 228 / 0.78);
  font-size: 0.9rem;
}

.object--plain {
  color: var(--ink);
  background:
    linear-gradient(to right, rgba(23, 25, 27, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(23, 25, 27, 0.06) 1px, transparent 1px),
    var(--bg-2);
  background-size: 24px 24px, 24px 24px, auto;
}

.object--plain::after {
  content: none;
}

.object--plain p {
  color: var(--muted);
}

/* Projects */
.projects {
  padding: var(--section) 0;
  background: var(--paper);
}

.projects__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.projects__top .section-head {
  margin-bottom: 0;
}

.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.project {
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid var(--line);
  background: var(--bg);
  text-decoration: none;
  overflow: hidden;
  transition: border-color 200ms var(--ease), background 200ms var(--ease);
}

.project:hover {
  border-color: var(--ink);
  background: var(--paper);
}

.project img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 500ms var(--ease-out);
}

.project__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.project__type {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.project h3 {
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.project p {
  color: var(--muted);
  font-size: 0.95rem;
}

.project__result {
  margin-top: auto;
  padding-top: 12px;
  font-size: 0.92rem;
  color: var(--olive);
}

.note {
  margin-top: 16px;
  font-size: 0.82rem;
  color: var(--muted);
}

/* Clients */
.clients {
  padding: var(--section) 0;
  overflow: hidden;
}

.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  --gap: 48px;
}

.marquee__track {
  display: flex;
  width: max-content;
  gap: var(--gap);
  padding: 28px 0;
  animation: marquee 42s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__item {
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  white-space: nowrap;
  padding-right: var(--gap);
  border-right: 1px solid var(--line);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Advantages */
.advantages {
  padding: var(--section) 0;
  background: var(--paper);
}

.adv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
}

.adv {
  background: var(--paper);
  padding: 32px 28px;
}

.adv h3 {
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.adv p {
  color: var(--muted);
  max-width: 46ch;
}

/* CTA */
.cta {
  padding: var(--section) 0;
  background: var(--graphite);
  color: var(--on-dark);
}

.cta__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.cta h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.cta .lead {
  color: var(--on-dark-muted);
}

.form {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-size: 0.88rem;
}

.field input,
.field textarea {
  width: 100%;
  background: var(--graphite-2);
  border: 1px solid rgba(237, 235, 228, 0.18);
  color: var(--on-dark);
  padding: 12px 12px;
  border-radius: var(--radius);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #8b8e8a;
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.field input:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.land {
  display: flex;
  gap: 8px;
}

.land button {
  min-height: 40px;
  padding: 0 16px;
  background: transparent;
  border: 1px solid rgba(237, 235, 228, 0.28);
  color: var(--on-dark);
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.land button.is-on {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

.form-error {
  color: #f0c2ba;
  font-size: 0.92rem;
}

.form-ok {
  padding: 24px;
  border: 1px solid rgba(237, 235, 228, 0.2);
}

.field--reveal {
  display: grid;
  grid-template-rows: 1fr;
  opacity: 1;
  transition:
    opacity 200ms var(--ease-out),
    grid-template-rows 200ms var(--ease-out);
}

.field--reveal.is-hidden {
  grid-template-rows: 0fr;
  opacity: 0;
  pointer-events: none;
}

.field--reveal > .field__clip {
  overflow: hidden;
  min-height: 0;
  display: grid;
  gap: 6px;
}

.consent {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--on-dark-muted);
  cursor: pointer;
  width: fit-content;
  max-width: 100%;
}

.consent input {
  margin: 0;
  accent-color: var(--accent);
  flex-shrink: 0;
}

.consent > span {
  white-space: nowrap;
}

.consent a {
  color: var(--on-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 160ms ease;
}

.consent a:hover {
  color: #f0c2ba;
}

/* Footer */
.footer {
  padding: 56px 0 32px;
  background: var(--ink);
  color: var(--on-dark);
  font-size: 0.92rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(237, 235, 228, 0.12);
}

.footer .logo {
  margin-bottom: 14px;
}

.footer p,
.footer a {
  color: var(--on-dark-muted);
  text-decoration: none;
}

.footer a {
  transition: color 160ms ease;
}

.footer a:hover {
  color: var(--on-dark);
}

.footer h3 {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: var(--on-dark);
}

.footer ul {
  list-style: none;
  display: grid;
  gap: 8px;
}

.footer__copy {
  padding-top: 20px;
  color: var(--on-dark-muted);
  font-size: 0.82rem;
}

/* Inner */
.inner {
  padding: 72px 0 var(--section);
  min-height: 50dvh;
}

.inner h1 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.inner .lead {
  margin-bottom: 28px;
}

.inner__kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.inner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Responsive */
@media (max-width: 1180px) {
  .header__city {
    display: none;
  }

  .header__bar .btn--sm {
    display: none;
  }
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  body.nav-open {
    overflow: hidden;
  }

  body.nav-open .nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    top: var(--header-h);
    right: 0;
    bottom: 0;
    left: 0;
    background: var(--paper);
    padding: 16px var(--gutter) 32px;
    overflow: auto;
    z-index: var(--z-modal);
    margin: 0;
    min-height: calc(100dvh - var(--header-h));
  }

  .mega {
    position: static;
    transform: none;
    width: auto;
    display: none;
    grid-template-columns: 1fr;
    padding: 8px 0 8px 12px;
    border: 0;
    background: transparent;
  }

  .nav__item.is-open .mega {
    display: grid;
  }

  .stats__grid,
  .parcels,
  .service-list,
  .project-grid,
  .adv-grid,
  .cta__grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .object-strip {
    grid-template-columns: 1fr 1fr;
  }

  .object:first-child,
  .object-strip .object:last-child {
    grid-column: auto;
    grid-row: auto;
    min-height: 240px;
  }

  .stats article,
  .service,
  .service:nth-child(even),
  .adv {
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stats article:last-child,
  .adv:last-child {
    border-bottom: 0;
  }

  .risk {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .risk__arrow {
    transform: rotate(90deg);
    justify-self: start;
  }

  .timeline > .wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .timeline__slider.swiper {
    margin-left: var(--gutter);
  }

  .tstep {
    width: 200px !important;
    max-width: 200px;
  }

  .hero h1 {
    max-width: 22ch;
  }

  .hero__plot {
    inset: 12% 4% 22% 8%;
    opacity: 0.45;
  }

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

@media (max-width: 640px) {
  .object-strip {
    grid-template-columns: 1fr;
  }
}

/* Motion */
.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 480ms var(--ease-out),
    transform 480ms var(--ease-out),
    background 200ms var(--ease),
    border-color 200ms var(--ease),
    color 160ms ease;
}

.js-reveal [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

.stats__grid [data-reveal]:nth-child(2),
.parcels [data-reveal]:nth-child(2),
.service-list [data-reveal]:nth-child(2),
.object-strip [data-reveal]:nth-child(2),
.project-grid [data-reveal]:nth-child(2),
.adv-grid [data-reveal]:nth-child(2) {
  transition-delay: 50ms;
}

.stats__grid [data-reveal]:nth-child(3),
.parcels [data-reveal]:nth-child(3),
.service-list [data-reveal]:nth-child(3),
.object-strip [data-reveal]:nth-child(3),
.project-grid [data-reveal]:nth-child(3),
.adv-grid [data-reveal]:nth-child(3) {
  transition-delay: 90ms;
}

.parcels [data-reveal]:nth-child(4),
.service-list [data-reveal]:nth-child(4),
.object-strip [data-reveal]:nth-child(4),
.adv-grid [data-reveal]:nth-child(4) {
  transition-delay: 130ms;
}

.service-list [data-reveal]:nth-child(5) {
  transition-delay: 160ms;
}

.service-list [data-reveal]:nth-child(6) {
  transition-delay: 190ms;
}

@media (hover: hover) and (pointer: fine) {
  .object:hover img,
  .project:hover img {
    transform: scale(1.04);
  }

  .land button {
    transition:
      color 160ms ease,
      background 160ms ease,
      border-color 160ms ease,
      transform 160ms var(--ease-out);
  }

  .land button:active {
    transform: scale(0.97);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__plot .plot-active {
    stroke-dashoffset: 0;
  }

  .hero__body > * {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .js-reveal [data-reveal] {
    opacity: 1;
    transform: none;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
  }

  .object img,
  .project img {
    transition: none;
  }

  .marquee__track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
    justify-content: center;
  }
}
