@font-face {
  font-family: "Alumni Sans";
  src: url("assets/alumni-sans-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Alumni Sans";
  src: url("assets/alumni-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Golos Text";
  src: url("assets/golos-text-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Golos Text";
  src: url("assets/golos-text-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --color-void: oklch(0.075 0 0);
  --color-carbon: oklch(0.135 0 0);
  --color-steel: oklch(0.94 0 0);
  --color-smoke: oklch(0.72 0 0);
  --color-line: oklch(0.48 0 0);
  --color-metal: oklch(0.77 0.04 60);
  --font-display: "Alumni Sans", "Arial Narrow", sans-serif;
  --font-body: "Golos Text", Arial, sans-serif;
  --edge: clamp(1.25rem, 6.25vw, 6rem);
  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--color-void);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow: hidden;
  color: var(--color-steel);
  background: var(--color-void);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

button,
a {
  color: inherit;
}

a {
  text-decoration: none;
}

button {
  font: inherit;
}

img,
svg {
  display: block;
}

.skip-link {
  position: fixed;
  z-index: 30;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  color: var(--color-void);
  background: var(--color-steel);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid var(--color-metal);
  outline-offset: 4px;
}

.hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  background: var(--color-void);
}

.hero__background,
.hero__atmosphere,
.hero__vignette,
.hero-title,
.hero-car-entrance {
  position: absolute;
  pointer-events: none;
}

.hero__background {
  z-index: -5;
  inset: -18px;
  transform: translate3d(var(--depth-x, 0), var(--depth-y, 0), 0) scale(1.035);
  will-change: transform;
}

.hero__background picture,
.hero__background img {
  display: block;
  width: 100%;
  height: 100%;
}

.hero__background img {
  object-fit: cover;
  filter: brightness(0.72) contrast(1.07) saturate(0.45);
}

.hero__atmosphere {
  z-index: -4;
  inset: -6%;
  opacity: 0.32;
  background:
    radial-gradient(ellipse at 68% 25%, oklch(0.9 0 0 / 0.13), transparent 28%),
    radial-gradient(ellipse at 20% 43%, oklch(0.82 0 0 / 0.10), transparent 30%);
  filter: blur(35px);
  transform: translate3d(var(--depth-x, 0), var(--depth-y, 0), 0) scale(1.03);
  will-change: transform;
}

.hero__vignette {
  z-index: -3;
  inset: 0;
  background:
    linear-gradient(180deg, oklch(0.03 0 0 / 0.48) 0%, transparent 26%, transparent 70%, oklch(0.025 0 0 / 0.36) 100%),
    radial-gradient(ellipse at center, transparent 43%, oklch(0.02 0 0 / 0.45) 100%);
}

.site-header {
  position: absolute;
  z-index: 8;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: clamp(5.5rem, 6vw, 8rem) 1fr auto;
  align-items: center;
  width: 100%;
  padding: clamp(1.1rem, 2.6vh, 1.75rem) var(--edge) 0;
}

.brand-mark {
  display: grid;
  width: clamp(5.5rem, 6vw, 8rem);
  height: clamp(5.5rem, 6vw, 8rem);
  place-items: center;
  border-radius: 50%;
  transition: opacity 250ms ease;
}

.brand-mark:hover {
  opacity: 0.76;
}

.brand-mark img {
  width: 160%;
  height: 160%;
  object-fit: contain;
  filter: grayscale(1) contrast(1.08) brightness(1.06);
}

.site-nav {
  position: static;
  display: flex;
  grid-column: 2;
  align-items: center;
  justify-content: center;
  justify-self: center;
  align-self: center;
  gap: clamp(1.6rem, 3.2vw, 3.4rem);
  padding-inline: 2rem;
  transform: none;
}

@media (min-width: 901px) {
  .site-nav {
    transform: translateY(-0.5rem);
  }
}

.site-nav a,
.phone-link {
  position: relative;
  color: oklch(0.86 0 0);
  font-size: clamp(0.8rem, 0.78vw, 1.2rem);
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

.site-nav a::after,
.phone-link::after {
  position: absolute;
  right: 0;
  bottom: -0.45rem;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 380ms var(--ease-premium);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.phone-link:hover::after,
.phone-link:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-header__actions {
  display: flex;
  grid-column: 3;
  align-items: center;
  justify-self: end;
  align-self: center;
  gap: clamp(1.2rem, 2vw, 2rem);
}

.site-header__actions > * {
  flex-shrink: 0;
}

.outline-action {
  position: relative;
  display: inline-flex;
  min-height: 2.72rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.35rem;
  padding: 0.2rem 0.24rem 0.2rem 1.28rem;
  border: 1px solid oklch(0.96 0 0 / 0.66);
  border-radius: 999px;
  color: oklch(0.91 0 0);
  background: oklch(0.98 0 0 / 0.018);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: clamp(0.82rem, 0.75vw, 1.15rem);
  overflow: hidden;
  transition: color 350ms ease, border-color 350ms ease, background 350ms ease;
}

.outline-action::before {
  position: absolute;
  inset: 0;
  background: oklch(0.94 0 0 / 0.08);
  content: "";
  transform: translateX(-102%);
  transition: transform 500ms var(--ease-premium);
}

.outline-action > span {
  position: relative;
  z-index: 1;
}

.outline-action:hover,
.outline-action:focus-visible {
  border-color: oklch(0.9 0 0);
  color: oklch(1 0 0);
}

.outline-action:hover::before,
.outline-action:focus-visible::before {
  transform: translateX(0);
}

.outline-action__arrow {
  display: grid;
  width: clamp(2.08rem, 1.75vw, 2.7rem);
  height: clamp(2.08rem, 1.75vw, 2.7rem);
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: var(--color-void);
  background: var(--color-steel);
  transition: transform 420ms var(--ease-premium), background 350ms ease;
}

.outline-action__arrow svg {
  width: 0.95rem;
  height: 0.95rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.outline-action--header {
  min-width: clamp(9.55rem, 8vw, 12rem);
  min-height: 2.95rem;
}

.outline-action:hover .outline-action__arrow,
.outline-action:focus-visible .outline-action__arrow {
  background: var(--color-metal);
  transform: translate3d(3px, -3px, 0);
}

.mobile-menu {
  display: none;
}

.hero-title {
  z-index: 0;
  top: 18.5%;
  left: var(--edge);
  display: flex;
  width: max-content;
  gap: 1.4em;
  margin: 0;
  color: oklch(0.83 0 0 / 0.88);
  font-family: var(--font-display);
  font-size: 18.5vw;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 0.72;
  text-transform: uppercase;
  white-space: nowrap;
  transform: translate3d(var(--depth-x, 0), var(--depth-y, 0), 0) scaleX(0.59);
  transform-origin: left top;
  will-change: transform;
}

.hero-title__mask {
  display: inline-block;
  overflow: hidden;
  padding-block: 0.12em 0.04em;
}

.hero-title__mask > span {
  display: block;
}

.hero-car-entrance {
  z-index: 1;
  top: 19.5%;
  left: 21.75%;
  width: 56.5%;
}

.hero-car-plane {
  width: 100%;
  transform: translate3d(var(--depth-x, 0), var(--depth-y, 0), 0) rotateX(var(--rotate-x, 0)) rotateY(var(--rotate-y, 0));
  transform-origin: 50% 85%;
  will-change: transform;
}

.hero-car-plane img {
  width: 100%;
  height: auto;
  filter: contrast(1.04) brightness(0.96);
}

.hero-copy {
  position: absolute;
  z-index: 5;
  top: 53.5%;
  left: var(--edge);
  width: clamp(14rem, 18vw, 30rem);
}

.hero-copy__text {
  margin: 0 0 1.2rem;
  color: oklch(0.9 0 0);
  font-size: clamp(0.78rem, 0.9vw, 1.38rem);
  font-weight: 400;
  letter-spacing: 0.035em;
  line-height: 1.65;
  text-transform: uppercase;
}

.hero-copy__text span {
  display: block;
}

.outline-action--services {
  min-width: clamp(11.8rem, 10vw, 15rem);
}

.advantages {
  position: absolute;
  z-index: 5;
  top: 52.5%;
  right: var(--edge);
  display: flex;
  flex-direction: column;
  gap: clamp(1.25rem, 2.4vh, 1.65rem);
  width: clamp(10.5rem, 12.5vw, 14rem);
}

.advantage {
  display: grid;
  grid-template-columns: clamp(2.35rem, 2.05vw, 3rem) 1fr;
  align-items: center;
  gap: 0.8rem;
  color: oklch(0.82 0 0);
  font-size: clamp(0.8rem, 0.85vw, 1.3rem);
  line-height: 1.45;
  transition: color 260ms ease;
}

.advantage:hover {
  color: oklch(0.96 0 0);
}

.asset-icon {
  position: relative;
  display: block;
  width: clamp(2.9rem, 2.45vw, 4.2rem);
  height: clamp(2.9rem, 2.45vw, 4.2rem);
  flex: 0 0 auto;
}

.asset-icon img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 170%;
  height: 170%;
  object-fit: contain;
  opacity: 0.92;
  filter: grayscale(1) contrast(1.22) brightness(1.18);
  mix-blend-mode: screen;
  transform: translate(-50%, -50%);
}

.advantage .asset-icon {
  width: clamp(2.2rem, 1.9vw, 3rem);
  height: clamp(2.2rem, 1.9vw, 3rem);
}

.advantage .asset-icon img {
  width: 175%;
  height: 175%;
  opacity: 0.9;
}

.asset-icon--calendar img {
  width: 148%;
  height: 148%;
}

.asset-icon--polisher img {
  width: 155%;
  height: 155%;
}

.info-panel {
  position: absolute;
  z-index: 6;
  right: var(--edge);
  bottom: clamp(1.2rem, 4.1vh, 2.5rem);
  left: var(--edge);
  display: grid;
  min-height: clamp(5.5rem, 11vh, 9.5rem);
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid oklch(0.96 0 0 / 0.38);
  border-radius: 0.82rem;
  background: linear-gradient(180deg, oklch(0.98 0 0 / 0.12), oklch(0.98 0 0 / 0.035));
  -webkit-backdrop-filter: blur(18px) saturate(0.9);
  backdrop-filter: blur(18px) saturate(0.9);
  outline: none;
}

.info-item {
  position: relative;
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  justify-content: center;
  gap: clamp(0.75rem, 1.1vw, 1.6rem);
  min-width: 0;
  padding: 0.8rem clamp(0.8rem, 1.25vw, 1.5rem);
  color: oklch(0.84 0 0);
  transition: color 280ms ease, background 280ms ease;
}

.info-item + .info-item::before {
  position: absolute;
  top: 20%;
  bottom: 20%;
  left: 0;
  width: 1px;
  background: oklch(0.62 0 0 / 0.55);
  content: "";
}

.info-item:hover {
  color: oklch(0.97 0 0);
  background: oklch(0.95 0 0 / 0.025);
}

.info-item p {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(0.86rem, 0.9vw, 1.42rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.42;
}

.info-item p span {
  color: oklch(0.7 0 0);
  font-size: 0.94em;
}

.preloader {
  position: fixed;
  z-index: 20;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--color-steel);
}

.preloader[hidden] {
  display: none;
}

.preloader__panel {
  position: absolute;
  right: 0;
  left: 0;
  height: calc(50% + 1px);
  background: oklch(0.065 0 0);
  transition: transform 800ms var(--ease-premium);
}

.preloader__panel--top {
  top: 0;
}

.preloader__panel--bottom {
  bottom: 0;
}

.preloader__content {
  position: relative;
  z-index: 1;
  width: min(33rem, calc(100vw - 3rem));
  text-align: center;
  transition: opacity 350ms ease, filter 350ms ease, transform 500ms var(--ease-premium);
}

.preloader__brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.75rem, 8vw, 7.5rem);
  font-weight: 600;
  letter-spacing: 0.035em;
  line-height: 0.82;
}

.preloader__city {
  margin: 1rem 0 2.5rem;
  color: oklch(0.62 0 0);
  font-size: 0.68rem;
  letter-spacing: 0.3em;
}

.preloader__status {
  display: grid;
  grid-template-columns: 1fr 3rem;
  align-items: center;
  gap: 1.2rem;
}

.preloader__track {
  height: 1px;
  overflow: hidden;
  background: oklch(0.32 0 0);
}

.preloader__track span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--color-steel);
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
}

.preloader__percent {
  color: oklch(0.7 0 0);
  font-family: var(--font-display);
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
  text-align: right;
}

.preloader--complete .preloader__content {
  opacity: 0;
  filter: blur(2px);
  transform: scale(1.025);
}

.preloader--complete .preloader__panel--top {
  transform: translateY(-100%);
}

.preloader--complete .preloader__panel--bottom {
  transform: translateY(100%);
}

.hero.hero-enter .hero__background {
  animation: background-reveal 900ms var(--ease-premium) both;
}

.hero.hero-enter .hero-title__mask:first-child > span {
  animation: title-reveal 900ms 100ms var(--ease-premium) both;
}

.hero.hero-enter .hero-title__mask:last-child > span {
  animation: title-reveal 900ms 210ms var(--ease-premium) both;
}

.hero.hero-enter .hero-car-entrance {
  animation: car-reveal 1000ms 250ms var(--ease-premium) both;
}

.hero.hero-enter .brand-mark,
.hero.hero-enter .phone-link,
.hero.hero-enter .outline-action--header {
  animation: header-reveal 650ms 450ms var(--ease-premium) both;
}

.hero.hero-enter .site-nav a {
  animation: nav-reveal 600ms calc(450ms + (var(--item-index) * 55ms)) var(--ease-premium) both;
}

.hero.hero-enter .hero-copy__text span {
  animation: copy-reveal 650ms calc(550ms + (var(--line-index) * 70ms)) var(--ease-premium) both;
}

.hero.hero-enter .outline-action--services {
  animation: copy-reveal 650ms 700ms var(--ease-premium) both;
}

.hero.hero-enter .advantage {
  animation: advantage-reveal 650ms calc(800ms + (var(--advantage-index) * 95ms)) var(--ease-premium) both;
}

.hero.hero-enter .info-panel {
  animation: panel-reveal 780ms 1050ms var(--ease-premium) both;
}

@keyframes background-reveal {
  from { opacity: 0.42; filter: contrast(0.85); }
  to { opacity: 1; filter: contrast(1); }
}

@keyframes title-reveal {
  from { opacity: 0.2; transform: translate3d(0, 115%, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes car-reveal {
  from { opacity: 0; filter: blur(4px); transform: translate3d(0, 45px, 0) scale(0.97); }
  to { opacity: 1; filter: blur(0); transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes header-reveal {
  from { opacity: 0; transform: translate3d(0, -8px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes nav-reveal {
  from { opacity: 0; transform: translate3d(0, -8px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes copy-reveal {
  from { opacity: 0; transform: translate3d(0, 12px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes advantage-reveal {
  from { opacity: 0; transform: translate3d(12px, 0, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes panel-reveal {
  from { opacity: 0; transform: translate3d(0, 18px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: 5.2rem 1fr auto;
  }

  .site-nav {
    gap: 1.45rem;
  }

  .site-header__actions {
    gap: 0.8rem;
  }

  .phone-link {
    display: inline-block;
  }

  .info-item {
    grid-template-columns: auto auto;
    padding-inline: 1rem;
  }

  .info-item .asset-icon {
    width: 2.1rem;
    height: 2.1rem;
  }
}

@media (max-width: 900px),
  (min-width: 901px) and (max-width: 1100px) and (orientation: portrait) {
  :root {
    --edge: clamp(1rem, 4.8vw, 2rem);
    --mobile-frame: clamp(0.35rem, 1.7vw, 0.55rem);
    --mobile-card-gap: clamp(0.42rem, 1.9vw, 0.7rem);
    --mobile-card-size: clamp(5.65rem, 28.7vw, 13rem);
    --mobile-card-bottom: max(1.15rem, env(safe-area-inset-bottom));
    --car-width: min(96%, 56svh, 46rem);
    --car-top: 50%;
  }

  .hero {
    height: 100svh;
    min-height: 600px;
  }

  .hero::after {
    position: absolute;
    z-index: 7;
    top: 5.5rem;
    right: var(--mobile-frame);
    bottom: var(--mobile-frame);
    left: var(--mobile-frame);
    border: 1px solid oklch(0.42 0 0 / 0.28);
    border-radius: 2rem;
    content: "";
    pointer-events: none;
  }

  .site-header {
    grid-template-columns: auto 1fr auto;
    padding-top: max(0.85rem, env(safe-area-inset-top));
  }

  .brand-mark {
    width: 3.2rem;
    height: 3.2rem;
  }

  .site-header__actions {
    display: flex;
    grid-column: 2;
    justify-self: end;
    margin-right: clamp(0.65rem, 3vw, 1rem);
  }

  .site-header__actions .outline-action--header {
    display: none;
  }

  .phone-link {
    display: inline-block;
    font-size: clamp(0.82rem, 3.65vw, 1rem);
  }

  .mobile-menu {
    position: relative;
    z-index: 2;
    display: inline-flex;
    width: 2.75rem;
    min-height: 2.75rem;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 0;
    color: oklch(0.9 0 0);
    background: transparent;
  }

  .mobile-menu > span:first-child {
    display: none;
  }

  .mobile-menu__icon {
    display: grid;
    width: 2rem;
    gap: 0.38rem;
  }

  .mobile-menu__icon i {
    display: block;
    height: 1px;
    background: currentColor;
    transition: transform 300ms var(--ease-premium);
  }

  .menu-open .mobile-menu__icon i:first-child {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-open .mobile-menu__icon i:nth-child(2) {
    opacity: 0;
  }

  .menu-open .mobile-menu__icon i:last-child {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    z-index: 1;
    top: 0;
    right: 0;
    left: auto;
    display: flex;
    width: min(18rem, 80vw);
    height: 100svh;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.35rem;
    padding: 5rem 2rem 2rem;
    border-left: 1px solid oklch(0.55 0 0 / 0.4);
    background: oklch(0.07 0 0 / 0.96);
    transform: translate3d(105%, 0, 0);
    transition: transform 520ms var(--ease-premium);
  }

  .menu-open .site-nav {
    transform: translate3d(0, 0, 0);
  }

  .site-nav a {
    font-family: var(--font-display);
    font-size: 1.7rem;
  }

  .hero-title {
    top: clamp(6rem, 12.4svh, 7.45rem);
    left: calc(var(--edge) + 0.15rem);
    display: block;
    width: calc(100% - (var(--edge) * 2) - 0.3rem);
    color: oklch(0.8 0 0 / 0.77);
    font-size: clamp(3.75rem, 17.7vw, 5.35rem);
    line-height: 0.76;
    white-space: normal;
    transform: translate3d(var(--depth-x, 0), var(--depth-y, 0), 0);
  }

  .hero-title__mask {
    display: block;
    width: fit-content;
    max-width: 100%;
    overflow: visible;
  }

  .hero-title__mask:last-child {
    margin-left: 0;
  }

  .hero-car-entrance {
    top: var(--car-top);
    right: 0;
    bottom: auto;
    left: 0;
    width: var(--car-width);
    margin-inline: auto;
  }

  .hero-copy {
    top: clamp(14.8rem, 31.5svh, 18.1rem);
    bottom: auto;
    left: calc(var(--edge) + 0.45rem);
    width: min(21rem, calc(100vw - (var(--edge) * 2) - 0.9rem));
  }

  .hero-copy__text {
    margin-bottom: 0;
    color: oklch(0.8 0 0 / 0.77);
    font-size: clamp(0.75rem, 3.45vw, 1rem);
    line-height: 1.55;
  }

  .outline-action--services {
    display: none;
  }

  .outline-action__arrow {
    width: 1.9rem;
    height: 1.9rem;
  }

  .advantages {
    top: auto;
    right: var(--edge);
    bottom: var(--mobile-card-bottom);
    left: var(--edge);
    display: grid;
    height: auto;
    width: auto;
    grid-template-columns: repeat(3, var(--mobile-card-size));
    justify-content: center;
    gap: var(--mobile-card-gap);
  }

  .advantage {
    display: flex;
    width: 100%;
    aspect-ratio: 1;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(0.45rem, 1.5svh, 0.8rem);
    padding: clamp(0.45rem, 1.5vw, 0.7rem) 0.25rem;
    border: 1px solid oklch(0.82 0 0 / 0.5);
    border-radius: 1rem;
    color: oklch(0.9 0 0);
    background: linear-gradient(145deg, oklch(0.25 0 0 / 0.36), oklch(0.08 0 0 / 0.22));
    font-size: clamp(0.66rem, 2.8vw, 0.9rem);
    line-height: 1.35;
    text-align: center;
  }

  .advantage .asset-icon {
    width: clamp(1.8rem, 8vw, 2.7rem);
    height: clamp(1.8rem, 8vw, 2.7rem);
  }

  .info-panel {
    display: none;
  }
}

@media (max-width: 900px) and (max-height: 720px) {
  .hero-title {
    top: 5.75rem;
    font-size: clamp(3.55rem, 17.1vw, 4.8rem);
  }

  .hero-car-entrance {
    top: var(--car-top);
  }

  .hero-copy {
    top: 14.6rem;
    bottom: auto;
  }

  .hero-copy__text {
    font-size: 0.75rem;
  }
}

/* Short phones: keep the car clear of both copy and cards without clipping its nose. */
@media (max-width: 430px) and (max-height: 760px) {
  :root {
    --car-width: min(92%, 22.5rem);
    --car-top: calc(48% + 1.5rem);
  }
}

/* Regular tall phones. */
@media (min-width: 361px) and (max-width: 430px) and (min-height: 761px) {
  :root {
    --car-width: min(92%, 24rem);
    --car-top: calc(47% + 1.5rem);
  }
}

/* Narrow tall foldables retain their approved, slightly lower composition. */
@media (max-width: 360px) and (min-height: 761px) {
  :root {
    --car-width: min(92%, 20rem);
    --car-top: calc(49.5% + 3.125rem);
  }
}

/* Wide phone / Surface Duo composition. */
@media (min-width: 431px) and (max-width: 700px) {
  :root {
    --car-width: min(76%, 26rem);
    --car-top: 47%;
  }
}

/* Large phones, including the 440px-wide iPhone Pro Max composition. */
@media (min-width: 431px) and (max-width: 460px) and (min-height: 800px) {
  :root {
    --car-width: min(86%, 26rem);
    --car-top: calc(47% + 4.625rem);
  }
}

@media (min-width: 431px) and (max-width: 700px) and (max-height: 760px) {
  :root {
    --car-top: calc(40.5% + 0.625rem);
  }
}

/* Portrait tablets: independent car stage and slightly more compact cards. */
@media (min-width: 701px) and (max-width: 1100px) and (orientation: portrait) {
  :root {
    --mobile-card-size: clamp(11.25rem, 24vw, 12rem);
    --car-width: min(78%, 44rem);
    --car-top: 47%;
  }
}

@media (min-width: 701px) and (max-width: 790px) and (orientation: portrait) {
  :root {
    --car-width: min(76%, 38rem);
    --car-top: 44%;
  }
}

@media (min-width: 901px) and (max-width: 1100px) and (orientation: portrait) {
  :root {
    --car-top: 46.5%;
  }
}

/* Tall foldable tablet: preserve the approved ZenBook Fold placement. */
@media (min-width: 830px) and (max-width: 900px) and (min-height: 1200px) {
  :root {
    --car-width: min(76%, 40.5rem);
    --car-top: 47%;
  }
}

/* Short landscape desktop-like screens: lower the car toward the floor. */
@media (min-width: 901px) and (max-height: 850px) {
  .hero-car-entrance {
    top: 23%;
  }
}

/* Nest Hub Max: seat the car closer to the floor without changing Nest Hub. */
@media (min-width: 1200px) and (min-height: 761px) and (max-height: 850px) {
  .hero-car-entrance {
    top: calc(23% + 2.5rem);
  }
}

@media (min-width: 901px) and (max-height: 760px) {
  .hero-title {
    top: 18.5%;
    font-size: 18.5vw;
  }

  .hero-car-entrance {
    top: 23%;
    width: 56.5%;
  }

  .hero-copy {
    top: 53.5%;
  }

  .advantages {
    top: 52.5%;
  }

  .info-panel {
    bottom: 1.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-delay: 0ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  .preloader__panel {
    transition: opacity 180ms ease !important;
  }

  .preloader--complete .preloader__panel {
    opacity: 0;
    transform: none;
  }

  [data-depth] {
    transform: none !important;
  }

  .hero-title[data-depth] {
    transform: scaleX(0.59) !important;
    transform-origin: left top;
  }
}

@media (max-width: 900px) and (prefers-reduced-motion: reduce) {
  .hero-title[data-depth] {
    transform: none !important;
  }
}

/* === final centered header === */
@media (min-width: 901px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
  }

  .brand-mark {
    grid-column: 1;
    justify-self: start;
    align-self: center;
  }

  .site-nav {
    grid-column: 2;
    justify-self: center;
    align-self: center;
    transform: none;
  }

  .site-header__actions {
    grid-column: 3;
    justify-self: end;
    align-self: center;
  }
}

@media (min-width: 901px) and (max-width: 1180px) {
  .site-nav {
    gap: clamp(0.85rem, 1.7vw, 1.35rem);
    padding-inline: 0.8rem;
  }

  .site-nav a,
  .phone-link {
    font-size: clamp(0.68rem, 1.05vw, 0.78rem);
  }

  .site-header__actions {
    gap: 0.65rem;
  }

  .outline-action--header {
    gap: 0.7rem;
    padding-left: 0.9rem;
  }
}
/* === /final centered header === */
