/* ==========================================================================
   РУС ТРАК — публичный сайт
   Направление: «Ночной терминал».
   Тёмный графитово-синий холст, фирменный янтарь как сигнальный цвет,
   знак скорости из логотипа (желтая стрелка-полоса) как сквозной графический
   приём. Один шрифт — Manrope (OFL, кириллица), он же геометрия логотипа.
   ========================================================================== */

:root {
  color-scheme: dark;

  /* Поверхности: от ночного холста к стальной панели */
  --night-900: #080a0c;
  --night-850: #0b0e12;
  --night-800: #101519;
  --night-750: #151b21;

  /* Сталь: линии и приглушённый текст */
  --steel-700: #1b232b;
  --steel-600: #27323b;
  --steel-500: #3a4753;
  --muted: #78848e;
  --muted-strong: #8c99a4;

  /* Текст */
  --paper: #f0f3f6;
  --paper-dim: #c2ccd5;

  /* Фирменный сигнал */
  --signal: #f6ac0f;
  --signal-soft: #ffc247;
  --signal-ink: #1a1204;

  --gutter: clamp(20px, 4.6vw, 64px);
  --section: clamp(64px, 7.6vw, 126px);
  --measure: 68ch;

  --font: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;

  font-family: var(--font);
  font-synthesis: none;
  font-weight: 400;
  background: var(--night-900);
  color: var(--paper);
}

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

body, h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
address { font-style: normal; }

:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
section[id] { scroll-margin-block-start: 96px; }

::selection { background: var(--signal); color: var(--signal-ink); }

/* --- Сетка и ритм ------------------------------------------------------- */

.container {
  width: min(1240px, 100% - var(--gutter) * 2);
  margin-inline: auto;
}

/* --- Сквозной графический приём: след скорости из логотипа -------------- */

/* След скорости из знака: клин, истаивающий вправо */
.streak {
  display: block;
  width: 136px;
  height: 8px;
  background: linear-gradient(90deg, var(--signal) 0%, var(--signal) 58%, rgba(246, 172, 15, 0) 100%);
  clip-path: polygon(0 26%, 100% 0, 100% 100%, 0 74%);
}

.section-head { max-width: 620px; }
.section-head h2 { margin-top: 20px; }
.section-head > p { max-width: 46ch; margin-top: 16px; color: var(--muted); font-size: 16px; line-height: 1.6; }

h2 {
  font-size: clamp(1.95rem, 3.2vw, 2.95rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.035em;
  text-wrap: balance;
}

h3 { font-size: clamp(1.1rem, 1.35vw, 1.3rem); font-weight: 750; line-height: 1.3; letter-spacing: -.02em; }

/* --- Шапка -------------------------------------------------------------- */

.skip-link {
  position: absolute;
  z-index: 40;
  inset: 12px auto auto 12px;
  padding: 12px 18px;
  background: var(--signal);
  color: var(--signal-ink);
  font-size: 14px;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform .18s ease;
}

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

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  border-bottom: 1px solid var(--steel-700);
  background: rgba(8, 10, 12, .78);
  backdrop-filter: blur(12px);
}

.header-layout {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  justify-self: start;
  align-items: center;
  gap: 12px;
  padding-block: 10px;
}

.brand-mark { width: 52px; height: auto; }
.brand-word { width: 118px; height: auto; }

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 38px);
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.site-nav a { position: relative; padding-block: 10px; transition: color .18s ease; }
.site-nav a::after {
  position: absolute;
  inset: auto 0 5px;
  height: 2px;
  background: linear-gradient(90deg, var(--signal), rgba(246, 172, 15, 0));
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}

.site-nav a:hover { color: var(--paper); }
.site-nav a:hover::after { transform: scaleX(1); }

.cabinet-link {
  display: inline-flex;
  justify-self: end;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  padding-block: 8px;
  color: var(--muted-strong);
  font-size: 13.5px;
  font-weight: 650;
  white-space: nowrap;
  transition: color .18s ease;
}

.cabinet-link:hover { color: var(--paper); }
.cabinet-link .arrow { color: var(--signal); }

/* Стрелка-шеврон: только для ссылок, уводящих за пределы сайта */
.arrow {
  --arrow-angle: 0deg;
  position: relative;
  display: inline-block;
  flex: 0 0 12px;
  width: 12px;
  height: 12px;
  transform: rotate(var(--arrow-angle));
}

.arrow::before, .arrow::after {
  position: absolute;
  inset-block-start: 50%;
  content: "";
}

.arrow::before {
  inset-inline: 1px 2px;
  height: 1.5px;
  background: currentColor;
  transform: translateY(-50%);
}

.arrow::after {
  inset-inline-end: 2px;
  width: 6px;
  height: 6px;
  border: solid currentColor;
  border-width: 1.5px 1.5px 0 0;
  transform: translateY(-50%) rotate(45deg);
}

.arrow-up-right { --arrow-angle: -45deg; }

.lock-icon {
  position: relative;
  width: 11px;
  height: 8px;
  margin-top: 4px;
  border: 1px solid currentColor;
  border-radius: 2px;
}

.lock-icon::before {
  position: absolute;
  inset: -6px 1px auto;
  height: 6px;
  border: 1px solid currentColor;
  border-bottom: 0;
  border-radius: 5px 5px 0 0;
  content: "";
}

/* --- Кнопки ------------------------------------------------------------- */

.button {
  display: inline-flex;
  width: fit-content;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding-inline: 24px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.2;
  text-align: center;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.button-accent { background: var(--signal); color: var(--signal-ink); }
.button-accent:hover { background: var(--signal-soft); }
.button-accent:focus-visible { outline-color: var(--paper); }

.button-ghost { border-color: var(--steel-600); color: var(--paper); }
.button-ghost:hover { border-color: var(--signal); color: var(--signal); }

.text-link { color: var(--signal); text-decoration: underline; text-underline-offset: 3px; }
.text-link:hover { color: var(--signal-soft); }

/* --- Первый экран ------------------------------------------------------- */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: min(820px, 92vh);
}

.hero-media { position: absolute; inset: 0; overflow: hidden; }

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 55%;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, #080a0c 0%, rgba(8, 10, 12, .95) 27%, rgba(8, 10, 12, .74) 41%, rgba(8, 10, 12, .26) 57%, rgba(8, 10, 12, 0) 72%),
    linear-gradient(0deg, #080a0c 0%, rgba(8, 10, 12, 0) 26%);
}

.hero-layout {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  padding-block: clamp(56px, 8vw, 112px);
}

.hero-copy { max-width: 530px; }

.hero-label {
  color: var(--muted-strong);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .005em;
}

.hero h1 {
  margin-top: 20px;
  font-size: clamp(2.7rem, 8vw, 4.55rem);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.045em;
}

.hero-copy .streak { margin-top: 26px; }

.hero-description {
  max-width: 46ch;
  margin-top: 22px;
  color: var(--paper-dim);
  font-size: clamp(1rem, 1.05vw, 1.0625rem);
  line-height: 1.6;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero-rail {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--steel-700);
  background: rgba(8, 10, 12, .55);
}

.hero-rail-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 32px;
  min-height: 66px;
}

.hero-rail-note { color: var(--muted); font-size: 13.5px; }

.hero-rail-phone {
  margin-left: auto;
  padding-block: 8px;
  color: var(--paper);
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.01em;
  transition: color .18s ease;
}

.hero-rail-phone:hover { color: var(--signal); }

/* --- Услуги ------------------------------------------------------------- */

.services { padding-block: var(--section); }

.services-layout {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(30px, 5vw, 84px);
  align-items: start;
}

.service-item {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 4px 24px;
  padding-block: 26px;
  border-top: 1px solid var(--steel-700);
}

.service-list li:last-child { border-bottom: 1px solid var(--steel-700); }

.service-icon {
  display: grid;
  place-items: center;
  height: 30px;
  color: var(--signal);
}

.service-icon svg { width: 24px; height: 24px; }

.service-body h3 { letter-spacing: -.025em; }

.service-body p {
  max-width: 52ch;
  margin-top: 8px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.6;
}

/* --- Как проходит перевозка --------------------------------------------- */

.process {
  padding-block: var(--section);
  border-block: 1px solid var(--steel-700);
  background: var(--night-850);
}

.process-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin-top: 46px;
}

.process-rail::before,
.process-rail::after {
  position: absolute;
  top: 6px;
  left: 0;
  height: 1px;
  content: "";
}

.process-rail::before { right: 0; background: var(--steel-600); }

.process-rail::after {
  width: 0;
  background: linear-gradient(90deg, var(--signal) 0%, var(--signal) 58%, rgba(246, 172, 15, .22) 100%);
  transition: width .9s cubic-bezier(.22, .7, .24, 1);
}

.process-rail.is-visible::after { width: 100%; }

.process-step { position: relative; padding-top: 34px; }

.process-dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 13px;
  height: 13px;
  border: 2px solid var(--signal);
  border-radius: 50%;
  background: var(--night-850);
  box-shadow: 0 0 0 5px var(--night-850);
}

.process-step p {
  max-width: 40ch;
  margin-top: 10px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.6;
}

/* --- Новости компании --------------------------------------------------- */

.news { margin-block: var(--section); }

.news-layout {
  display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
  gap: clamp(24px, 5vw, 76px);
  align-items: start;
}

.news-list { display: grid; gap: 12px; }

.news-article, .news-status {
  padding: clamp(21px, 2.8vw, 36px);
  border: 1px solid var(--steel-700);
  border-radius: 8px;
  background: var(--night-800);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}

.news-article { border-top-color: var(--steel-500); overflow-wrap: anywhere; }
.news-date { color: var(--signal-soft); font-size: 13px; font-weight: 650; }
.news-article h3 { margin-top: 9px; font-size: clamp(1.15rem, 2vw, 1.5rem); }
.news-text { max-width: var(--measure); margin-top: 12px; color: var(--paper-dim); line-height: 1.7; white-space: pre-wrap; }
.news-status { color: var(--paper-dim); }
.news-list:not(:empty) + .news-status { margin-top: 12px; }
.news-toggle, .news-more { margin-top: 16px; }
.news-more[hidden] { display: none; }

/* --- О компании --------------------------------------------------------- */

.about { margin-block: var(--section); }

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(30px, 5vw, 80px);
  align-items: start;
}

.about-lead {
  max-width: 54ch;
  margin-top: 20px;
  color: var(--paper-dim);
  font-size: 17px;
  line-height: 1.62;
}

.about-note { margin-top: 16px; color: var(--muted); font-size: 15px; line-height: 1.6; }

.company-details {
  display: grid;
  padding: 4px 26px;
  border: 1px solid var(--steel-700);
  border-radius: 8px;
  background: var(--night-800);
}

.company-details > div {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 4px 20px;
  padding-block: 16px;
}

.company-details > div + div { border-top: 1px solid var(--steel-700); }

.company-details dt { color: var(--muted); font-size: 13px; }

.company-details dd {
  color: var(--paper);
  font-size: 15.5px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.01em;
}

/* --- Сцена разгрузки ---------------------------------------------------- */

.scene {
  padding-block: var(--section);
  border-block: 1px solid var(--steel-700);
  background: var(--night-850);
}

.scene-layout {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}

.scene-copy h2 { margin-top: 20px; }

.scene-copy p {
  max-width: 38ch;
  margin-top: 16px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

/* --- Вакансии ----------------------------------------------------------- */

.careers { margin-block: var(--section); }

.careers-layout {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(30px, 5vw, 80px);
  align-items: start;
}

.careers-copy > p {
  max-width: 42ch;
  margin-top: 16px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.careers-copy .button { margin-top: 26px; }

.vacancy {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 18px;
  padding: 20px 0 20px 22px;
  border-top: 1px solid var(--steel-700);
}

.vacancies .vacancy:last-child { border-bottom: 1px solid var(--steel-700); }

.vacancy::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: transparent;
  content: "";
  transition: background-color .24s ease;
}

.vacancy.is-open::before { background: var(--signal); }

.vacancy-title {
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.015em;
}

.vacancy-toggle:not([hidden]) {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding-inline: 14px;
  border: 1px solid var(--steel-600);
  border-radius: 4px;
  background: transparent;
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  transition: border-color .18s ease, color .18s ease;
}

.vacancy-toggle:hover { border-color: var(--signal); color: var(--signal); }
.vacancy-toggle:focus-visible { outline-offset: 2px; }

.disclosure-icon { position: relative; width: 11px; height: 11px; }

.disclosure-icon::before, .disclosure-icon::after {
  position: absolute;
  inset: 5px 0 auto;
  height: 1.5px;
  background: currentColor;
  content: "";
}

.disclosure-icon::after { transform: rotate(90deg); transition: transform .24s ease; }
.vacancy-toggle[aria-expanded="true"] .disclosure-icon::after { transform: rotate(0deg); }

.vacancy-panel { grid-column: 1 / -1; display: grid; grid-template-rows: 1fr; }
.vacancy-panel > div { min-height: 0; overflow: hidden; }
.vacancy-panel p { margin-top: 12px; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.vacancy.is-enhanced .vacancy-panel { grid-template-rows: 0fr; opacity: 0; }
.vacancy.has-interacted .vacancy-panel { transition: grid-template-rows .34s cubic-bezier(.27, .7, .23, 1), opacity .24s ease; }
.vacancy.is-enhanced.is-open .vacancy-panel { grid-template-rows: 1fr; opacity: 1; }

/* --- Контакты ----------------------------------------------------------- */

.contacts {
  padding-block: var(--section);
  border-block: 1px solid var(--steel-700);
  background: var(--night-850);
}

.contacts-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(30px, 5vw, 80px);
  align-items: center;
}

.contacts-copy > p {
  max-width: 42ch;
  margin-top: 16px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.contact-phone {
  display: block;
  margin-top: 30px;
  padding-block: 6px;
  color: var(--paper);
  font-size: clamp(1.72rem, 7.2vw, 3.05rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.04em;
  line-height: 1.05;
  transition: color .18s ease;
}

.contact-phone:hover { color: var(--signal); }

.contact-address {
  display: grid;
  gap: 8px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.contact-address a { width: fit-content; padding-block: 6px; color: var(--paper-dim); transition: color .18s ease; }
.contact-address a:hover { color: var(--signal); }

.messengers { display: grid; }

.messenger-button {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 14px;
  border-top: 1px solid var(--steel-700);
  color: var(--paper);
  font-size: 15.5px;
  font-weight: 650;
  transition: color .18s ease;
}

.messengers li:last-child .messenger-button,
.messengers li:last-child .messenger-pending { border-bottom: 1px solid var(--steel-700); }

.messenger-button::after {
  width: 8px;
  height: 8px;
  border-top: 1.5px solid var(--signal);
  border-right: 1.5px solid var(--signal);
  content: "";
  transform: rotate(45deg);
  transition: transform .18s ease;
}

.messenger-button:hover { color: var(--signal); }
.messenger-button:hover::after { transform: rotate(45deg) translate(2px, -2px); }

.messenger-pending {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 14px;
  border-top: 1px solid var(--steel-700);
  color: var(--muted);
}

.messenger-pending small { font-size: 13px; }

/* --- Подвал ------------------------------------------------------------- */

.site-footer {
  padding-block: clamp(40px, 5vw, 64px);
  background: #06080a;
}

.footer-layout {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px 40px;
}

.footer-brand img { width: 172px; height: auto; }

.footer-meta p { color: var(--muted); font-size: 13.5px; line-height: 1.6; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 10px;
}

.footer-links a { padding-block: 5px; color: var(--muted-strong); transition: color .18s ease; }
.footer-links a:hover { color: var(--signal); }

/* --- Адаптив ------------------------------------------------------------ */

@media (min-width: 1001px) {
  .services .section-head,
  .careers .section-head { position: sticky; top: 104px; }
}

@media (max-width: 1000px) {
  .services-layout,
  .about-layout,
  .careers-layout,
  .scene-layout,
  .contacts-layout { grid-template-columns: 1fr; }

  .news-layout { grid-template-columns: 1fr; }

  .scene-copy p { max-width: 52ch; }
  .messengers { max-width: 460px; }
}

@media (max-width: 900px) {
  .header-layout {
    grid-template-columns: 1fr auto;
    min-height: 0;
    gap: 0 12px;
    padding-block: 12px;
  }

  .site-nav {
    grid-area: 2 / 1 / 3 / -1;
    order: 3;
    flex-wrap: wrap;
    gap: 4px 20px;
    padding-block: 10px;
    font-size: 13.5px;
  }

  .site-nav a { padding-block: 4px; }

  .hero { min-height: 0; }
  .hero-media { position: relative; order: 2; height: clamp(210px, 58vw, 400px); }
  .hero-media img { object-position: 52% 46%; }
  .hero-media::after { background: linear-gradient(180deg, #080a0c 0%, rgba(8, 10, 12, .18) 34%, rgba(8, 10, 12, 0) 62%); }
  .hero-layout { order: 1; padding-block: 44px 34px; }
  .hero-rail { order: 3; }
  .hero-copy { max-width: 34rem; }
}

@media (max-width: 760px) {
  .process-rail { grid-template-columns: 1fr; gap: 0; margin-top: 34px; }

  .process-rail::before,
  .process-rail::after { top: 0; bottom: 0; left: 6px; right: auto; width: 1px; height: auto; }

  .process-rail::after {
    width: 1px;
    height: 0;
    background: linear-gradient(180deg, var(--signal), rgba(246, 172, 15, .18));
    transition: height .9s cubic-bezier(.22, .7, .24, 1);
  }

  .process-rail.is-visible::after { width: 1px; height: 100%; }

  .process-step { padding: 0 0 26px 34px; }
  .process-step:last-child { padding-bottom: 0; }

  .process-dot { top: 4px; left: 0; box-shadow: 0 0 0 5px var(--night-850); }
  .process-step p { max-width: 46ch; }

  .company-details { padding: 4px 20px; }
  .company-details > div { grid-template-columns: 1fr; gap: 2px; }
}

@media (max-width: 560px) {
  .brand-mark { width: 44px; }
  .brand-word { width: 104px; }

  .site-nav { gap: 3px 12px; font-size: 12.5px; }

  .cabinet-link { font-size: 12.5px; }
  .cabinet-link .lock-icon { display: none; }

  .hero-actions { gap: 10px; }
  .hero-actions .button { width: 100%; min-height: 50px; padding-inline: 16px; font-size: 14.5px; }

  .hero-rail-inner { gap: 6px; padding-block: 14px; }
  .hero-rail-note { font-size: 13px; }
  .hero-rail-phone { margin-left: 0; font-size: 16px; }

  .service-item { grid-template-columns: 26px minmax(0, 1fr); gap: 4px 16px; padding-block: 24px; }

  .vacancy { grid-template-columns: minmax(0, 1fr); row-gap: 12px; }
  .vacancy-toggle { justify-self: start; }

  .footer-layout { align-items: flex-start; }
  .footer-brand img { width: 140px; }
}

@media (max-width: 360px) {
  .brand-word { width: 96px; }
  .site-nav { gap: 4px 16px; }
  .footer-links { gap: 6px 16px; }
}

/* --- Движение ----------------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: hero-rise .62s cubic-bezier(.2, .7, .24, 1) both; }
  .hero-label { animation-delay: .04s; }
  .hero h1 { animation-delay: .1s; }
  .hero-copy .streak { animation-delay: .18s; }
  .hero-description { animation-delay: .23s; }
  .hero-actions { animation-delay: .29s; }
  .hero-media img { animation: hero-settle 1.1s cubic-bezier(.2, .7, .24, 1) both; }
}

@keyframes hero-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-settle {
  from { transform: scale(1.04); }
  to { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}
