/* Header — three-column professional service bar */
.header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: #fff;
  box-shadow: 0 0 0 rgb(17 18 18 / 0);
  transition: box-shadow 200ms var(--ease-out);
}

.header.is-scrolled {
  box-shadow:
    0 1px 0 rgb(17 18 18 / 0.06),
    0 10px 22px rgb(17 18 18 / 0.12);
}

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

.header__box {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: stretch;
  padding-top: 8px;
  min-height: var(--header-h);
}

.header__left,
.header__right {
  min-width: 0;
}

.header__top {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 48px;
}

.header__top .btn {
  min-height: 44px;
  padding: 8px 20px;
  font-size: 0.84rem;
  flex: none;
  white-space: nowrap;
}

.header__tag {
  font-size: 0.88rem;
  line-height: 1.4;
  color: var(--ink-soft);
  max-width: 28ch;
}

.header__tabs {
  display: flex;
  margin-top: 8px;
}

.header__tab {
  flex: 1;
  padding: 12px 0 14px;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  text-align: left;
  background: none;
  transition: color var(--hover), border-color var(--hover);
}

.header__tab:hover,
.nav__item:hover .header__tab,
.nav__item:focus-within .header__tab {
  border-color: var(--ink);
  color: var(--accent);
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.12em;
  font-size: 1.15rem;
  padding: 8px 12px;
  align-self: center;
}

.logo__mark {
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--accent);
  position: relative;
  border-radius: 4px;
}

.logo__mark::before,
.logo__mark::after {
  content: "";
  position: absolute;
  background: var(--accent);
}

.logo__mark::before {
  left: 50%;
  top: 3px;
  bottom: 3px;
  width: 1px;
  transform: translateX(-50%);
}

.logo__mark::after {
  top: 50%;
  left: 3px;
  right: 3px;
  height: 1px;
  transform: translateY(-50%);
}

.header__meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  min-height: 48px;
}

.header__phone {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  text-align: right;
  white-space: nowrap;
  letter-spacing: 0.01em;
  transition: color var(--hover);
}

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

.header__phone--mobile {
  display: none;
}

.header__city {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 500;
  text-align: right;
  color: var(--muted);
  margin-top: 2px;
}

.header__hours {
  font-size: 0.88rem;
  color: var(--muted);
  text-align: right;
  max-width: 18ch;
}

.header__nav {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}

.header__nav a {
  padding: 12px 0 14px 24px;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color var(--hover), border-color var(--hover);
}

.header__nav a:hover {
  border-color: var(--ink);
  color: var(--accent);
}

.nav__item {
  position: relative;
  flex: 1;
}

.mega {
  position: absolute;
  top: calc(100% - 1px);
  left: 0;
  z-index: 2;
  width: min(920px, calc(100vw - 48px));
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.1fr 0.9fr;
  gap: 24px;
  box-shadow: 0 18px 40px rgb(17 18 18 / 0.08);
  transform-origin: 24px 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(0.96) translateY(-6px);
  transition:
    opacity 200ms var(--ease-out),
    transform 200ms var(--ease-out),
    visibility 200ms;
}

.nav__item:hover .mega,
.nav__item:focus-within .mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.mega__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.mega a {
  display: block;
  padding: 8px 12px;
  color: var(--muted);
  font-size: 0.9rem;
  border-radius: 16px;
  transition: color var(--hover), background-color var(--hover);
}

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

.menu-btn {
  display: none;
  width: 48px;
  height: 48px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  align-self: center;
  transition: transform 160ms var(--ease-out), border-color 160ms ease;
}

.menu-btn:active {
  transform: scale(0.97);
}

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

.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;
}

.drawer {
  display: none;
}

/* Hero — contained photo stage */
.hero {
  padding-top: 8px;
  padding-bottom: 8px;
}

.hero__stage {
  position: relative;
  min-height: calc(100dvh - var(--header-h) - 16px);
  overflow: hidden;
  border-radius: var(--radius);
  color: var(--on-dark);
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.hero__stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(17 18 18 / 0.78) 0%, rgb(17 18 18 / 0.42) 46%, rgb(17 18 18 / 0.12) 100%),
    linear-gradient(180deg, rgb(17 18 18 / 0.18), transparent 28%, rgb(17 18 18 / 0.28));
}

.hero__copy {
  position: relative;
  z-index: 2;
  min-height: calc(100dvh - var(--header-h) - 16px);
  padding: clamp(28px, 4vw, 64px) clamp(24px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-width: 58rem;
  animation: hero-in 700ms var(--ease-out);
}

@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.6vw, 4.05rem);
  line-height: 1.18;
  letter-spacing: 0.01em;
  font-weight: 500;
}

.hero__title span {
  color: var(--accent);
}

.hero__bottom {
  padding-top: 32px;
}

.hero__list {
  margin: 0 0 24px;
}

.hero__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1.05rem;
  line-height: 1.55;
  margin-bottom: 8px;
}

.hero__list li::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 6px;
  background: var(--accent);
  clip-path: polygon(0 42%, 58% 42%, 58% 8%, 100% 50%, 58% 92%, 58% 58%, 0 58%);
}

.hero__kicker {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 20px;
  max-width: 28ch;
}

.hero__tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}

.hero-tile {
  position: relative;
  min-height: 220px;
  border-radius: var(--radius);
  overflow: hidden;
  color: #fff;
  display: flex;
  align-items: flex-end;
  padding: 40px 44px;
}

.hero-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgb(17 18 18 / 0.78));
}

.hero-tile__txt {
  position: relative;
  z-index: 1;
}

.hero-tile h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.hero-tile p {
  margin-top: 8px;
  color: rgb(255 255 255 / 0.78);
  max-width: 36ch;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: 1fr 0.9fr 1fr;
  gap: 8px;
  margin-top: 8px;
  align-items: stretch;
}

.stats__item {
  padding: 36px 28px 28px;
  border-top: 1px solid var(--line);
}

.stats__item:nth-child(2) {
  padding: 36px 32px;
  background: var(--cream);
  border: 0;
  border-radius: var(--radius);
  text-align: center;
}

.stats__k {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.stats__v {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 0.98rem;
  max-width: 36ch;
}

.stats__item:nth-child(2) .stats__v {
  margin-inline: auto;
}

/* Scenarios */
.scenarios__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.scenario {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 16px;
  min-height: 260px;
  padding: 28px 32px;
  background: #fff;
  color: inherit;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color var(--hover), background-color var(--hover);
}

.scenario:hover {
  border-color: var(--ink);
  background: var(--cream);
}

.scenario:nth-child(4) {
  background: var(--graphite);
  color: #fff;
  border-color: var(--graphite);
}

.scenario:nth-child(4) p {
  color: #d4d4d4;
}

.scenario:nth-child(4):hover {
  background: #1c1d1e;
}

.scenario__n {
  color: var(--accent);
}

.scenario h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.01em;
  line-height: 1.25;
  font-weight: 500;
}

.scenario p {
  color: var(--ink-soft);
  max-width: 48ch;
}

.scenario__go {
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 500;
}

/* Timeline */
.section[data-paragraph="timeline"] {
  overflow-x: clip;
}

.timeline-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.timeline-wrap .swiper.timeline-swiper {
  overflow: hidden;
  padding: 0 0 4px;
  list-style: none;
  box-sizing: border-box;
}

.timeline-swiper .swiper-wrapper {
  list-style: none;
  cursor: grab;
}

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

.tstep {
  list-style: none;
  height: auto;
  padding: 24px 24px 28px;
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-sizing: border-box;
}

.tstep::marker,
.tstep::before {
  content: none;
  display: none;
}

.tstep__n {
  color: var(--accent);
  font-weight: 500;
}

.tstep h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 18px 0 10px;
  letter-spacing: 0.01em;
  font-weight: 500;
  max-width: 16ch;
}

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

.timeline__head {
  max-width: none;
}

.timeline__intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-top: 14px;
}

.timeline__intro .section__lead {
  margin-top: 0;
  flex: 1;
  min-width: 0;
}

.timeline-navs {
  display: flex;
  gap: 8px;
  flex: none;
}

.timeline-nav {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  box-shadow: 0 8px 20px rgb(17 18 18 / 0.08);
  transition: background var(--hover), color var(--hover), border-color var(--hover), opacity var(--hover);
}

.timeline-nav::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  margin: 0 auto;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
}

.timeline-nav--prev::before {
  transform: translateX(2px) rotate(135deg);
}

.timeline-nav--next::before {
  transform: translateX(-2px) rotate(-45deg);
}

.timeline-nav:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.timeline-nav.swiper-button-disabled {
  opacity: 0.35;
  pointer-events: none;
}

/* Services */
.services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.service {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: start;
  padding: 28px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: inherit;
  background: #fff;
  transition: border-color var(--hover);
}

.service:hover {
  border-color: var(--ink);
}

.service:hover h3,
.service:hover .service__more {
  color: var(--accent);
}

.service__n {
  color: var(--accent);
  padding-top: 4px;
}

.service h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.01em;
  font-weight: 500;
  transition: color var(--hover);
}

.service p {
  margin-top: 8px;
  color: var(--ink-soft);
  max-width: 48ch;
}

.service__more {
  align-self: end;
  color: var(--accent);
  white-space: nowrap;
  transition: color var(--hover);
}

/* Risks */
.risks {
  display: grid;
  gap: 8px;
}

.risk {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding: 28px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.risk__q {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  line-height: 1.3;
  font-weight: 500;
}

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

.risk__lab {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
}

/* Objects */
.objects {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 8px;
}

.object {
  position: relative;
  min-height: 240px;
  overflow: hidden;
  color: #fff;
  display: flex;
  align-items: flex-end;
  border-radius: var(--radius);
}

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

.object img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.object::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgb(17 18 18 / 0.82));
}

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

.object h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.01em;
  font-weight: 500;
}

.object p {
  margin-top: 6px;
  color: rgb(255 255 255 / 0.78);
  font-size: 0.92rem;
}

.objects .object:last-child {
  grid-column: 2 / span 2;
  min-height: 220px;
}

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

.projects__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.project {
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid var(--line);
  background: #fff;
  color: inherit;
  min-height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
}

.project__photo {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--cream);
}

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

.project__photo span {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: var(--cream);
  color: var(--ink);
  padding: 6px 14px;
  font-size: 0.82rem;
  border-radius: var(--radius-pill);
}

.project__body {
  padding: 22px 24px 26px;
  display: grid;
  gap: 10px;
}

.project h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.01em;
  font-weight: 500;
}

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

.project__result {
  color: var(--accent);
  font-weight: 500;
}

/* Clients */
.clients {
  overflow: hidden;
}

.clients .section__head {
  margin-bottom: clamp(28px, 4vw, 40px);
}

.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-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  color: var(--ink-soft);
  padding-right: var(--gap);
  border-right: 1px solid var(--line);
}

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

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

/* Why */
.why {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.why__item {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 16px;
  padding: 36px 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.why__item span {
  color: var(--accent);
}

.why h3 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  letter-spacing: 0.01em;
  margin-bottom: 8px;
  font-weight: 500;
}

.why p {
  color: var(--ink-soft);
  max-width: 62ch;
}

#cta {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.cta__panel {
  background: var(--graphite);
  color: var(--on-dark);
  border-radius: var(--radius);
  padding: clamp(36px, 5vw, 64px);
}

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

.cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  letter-spacing: 0.01em;
  line-height: 1.18;
  font-weight: 500;
}

.cta h2 span {
  color: var(--accent);
}

.cta__lead {
  margin-top: 16px;
  color: var(--on-dark-muted);
  max-width: 46ch;
}

.form {
  display: grid;
  gap: 10px;
}

.field label,
.field legend {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.field input:not([type="checkbox"]):not([type="radio"]),
.field textarea {
  width: 100%;
  background: var(--cream);
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  padding: 16px 24px;
  color: var(--ink);
  min-height: 56px;
}

.field textarea {
  min-height: 120px;
  border-radius: var(--radius);
  resize: vertical;
}

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

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
}

.field--error input:not([type="checkbox"]):not([type="radio"]),
.field--error textarea {
  border-color: #e08a7a;
}

.field__err {
  display: none;
  margin-top: 6px;
  color: #e08a7a;
  font-size: 0.82rem;
}

.field--error .field__err {
  display: block;
}

.choice {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.choice button {
  min-height: 48px;
  min-width: 96px;
  padding: 0 22px;
  border: 1px solid rgb(255 255 255 / 0.28);
  border-radius: var(--radius-pill);
  background: transparent;
  color: #fff;
  font-weight: 500;
  transition:
    background-color var(--hover),
    color var(--hover),
    border-color var(--hover),
    transform 160ms var(--ease-out);
}

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

.choice button:hover {
  border-color: #fff;
}

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

.field--consent {
  margin-top: 8px;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--on-dark-muted);
  cursor: pointer;
}

.consent input {
  width: 20px;
  height: 20px;
  min-height: 0;
  margin-top: 2px;
  flex: none;
  accent-color: var(--accent);
}

.consent a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--hover);
}

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

.form__submit {
  margin-top: 18px;
  justify-self: start;
}

.is-hidden {
  display: none;
}

.form__ok {
  display: none;
  padding: 24px;
  border: 1px solid var(--land);
  border-radius: var(--radius);
  color: var(--on-dark);
}

.form.is-success .form__ok {
  display: block;
  animation: form-ok-in 400ms var(--ease-out);
}

@keyframes form-ok-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.form.is-success .form__ok {
  display: block;
}

.form.is-success .form__fields {
  display: none;
}

/* Footer */
.footer {
  background: var(--ink);
  color: var(--on-dark);
  padding: 72px 0 32px;
  margin-top: 8px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.8fr 1fr;
  gap: 40px;
}

.footer p {
  margin-top: 14px;
  color: var(--on-dark-muted);
  max-width: 36ch;
}

.footer h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  margin-bottom: 14px;
  font-weight: 500;
}

.footer a {
  display: block;
  padding: 5px 0;
  color: var(--on-dark-muted);
  transition: color var(--hover);
}

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

.footer .logo {
  justify-content: flex-start;
  color: #fff;
  padding: 0;
}

.footer__copy {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid #2e3236;
  color: #8b8f93;
  font-size: 0.85rem;
}

.js-reveal .reveal {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 400ms var(--ease-out),
    transform 400ms var(--ease-out),
    color var(--hover),
    background-color var(--hover),
    border-color var(--hover);
}

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

.scenarios__grid .reveal:nth-child(2) { transition-delay: 50ms; }
.scenarios__grid .reveal:nth-child(3) { transition-delay: 80ms; }
.scenarios__grid .reveal:nth-child(4) { transition-delay: 110ms; }
.hero__tiles .reveal:nth-child(2) { transition-delay: 50ms; }
.services .reveal:nth-child(2) { transition-delay: 50ms; }
.projects__grid .reveal:nth-child(2) { transition-delay: 50ms; }
.why .reveal:nth-child(2) { transition-delay: 40ms; }
.why .reveal:nth-child(3) { transition-delay: 80ms; }
.why .reveal:nth-child(4) { transition-delay: 120ms; }
.timeline .reveal:nth-child(n + 2) { transition-delay: 40ms; }
.timeline .reveal:nth-child(n + 4) { transition-delay: 80ms; }
.timeline .reveal:nth-child(n + 6) { transition-delay: 110ms; }

.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 {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  pointer-events: none;
}

.field--reveal > .field__clip {
  overflow: hidden;
  min-height: 0;
}

@media (hover: hover) and (pointer: fine) {
  .object img,
  .hero-tile img {
    transition: transform 400ms var(--ease-out);
  }

  .object:hover img,
  .hero-tile:hover img {
    transform: scale(1.04);
  }
}

@media (max-width: 1100px) {
  :root {
    --header-h: 72px;
  }

  .header__left,
  .header__right,
  .header__tabs,
  .header__nav,
  .header__tag,
  .header__hours {
    display: none;
  }

  .header__phone--mobile {
    display: block;
    margin-left: auto;
    font-size: 0.92rem;
    text-align: right;
  }

  .header__box {
    display: flex;
    align-items: center;
    min-height: 72px;
    padding: 8px 0;
  }

  .menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .header__meta {
    margin-left: auto;
    min-height: 0;
  }

  .drawer {
    display: block;
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: #fff;
    z-index: var(--z-overlay);
    padding: 24px var(--gutter) 48px;
    overflow: auto;
    transform: translateX(100%);
    transition: transform 400ms var(--ease-drawer), visibility 400ms;
    visibility: hidden;
    pointer-events: none;
  }

  .drawer.is-open {
    transform: none;
    visibility: visible;
    pointer-events: auto;
  }

  .drawer a,
  .drawer button.drawer__acc {
    display: block;
    width: 100%;
    text-align: left;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
    font-family: var(--font-display);
    transition: color var(--hover);
  }

  .drawer a:hover,
  .drawer button.drawer__acc:hover {
    color: var(--accent);
  }

  .drawer__sub {
    display: none;
    padding: 0 0 12px 12px;
  }

  .drawer__sub.is-open {
    display: block;
  }

  .drawer__cta {
    margin-top: 20px;
  }

  .hero__stage,
  .hero__copy {
    min-height: 0;
  }

  .hero__copy {
    padding-top: 36px;
    padding-bottom: 36px;
    justify-content: flex-start;
  }

  .hero__bg {
    object-position: center;
  }

  .objects {
    grid-template-columns: 1fr 1fr;
  }

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

  .cta__grid,
  .footer__grid,
  .services,
  .why {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .stats,
  .scenarios__grid,
  .risk,
  .projects__grid,
  .hero__tiles,
  .objects {
    grid-template-columns: 1fr;
  }

  .stats__item:nth-child(2) {
    text-align: left;
  }

  .stats__item:nth-child(2) .stats__v {
    margin-inline: 0;
  }

  .timeline-navs {
    display: none;
  }

  .hero__title {
    font-size: 1.85rem;
  }

  .header__city {
    display: none;
  }

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

.inner {
  padding: 72px 0 120px;
  min-height: calc(100dvh - 180px);
}

.inner__kicker {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 16px;
}

.inner h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  max-width: 18ch;
  line-height: 1.15;
}

.inner p {
  margin-top: 18px;
  max-width: 48ch;
  color: var(--muted);
}

.inner .btn {
  margin-top: 32px;
}

.header--inner {
  --header-h: 72px;
  box-shadow:
    0 1px 0 rgb(17 18 18 / 0.06),
    0 10px 22px rgb(17 18 18 / 0.12);
}

.header--inner .header__box {
  display: flex;
  align-items: center;
  min-height: 72px;
  padding: 8px 0;
}

.header--inner .header__inner-tools {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.header--inner .header__phone {
  font-size: 0.95rem;
}

@media (max-width: 640px) {
  .header--inner .btn {
    display: none;
  }
}
