/* ==========================================================================
   Светлана Чусовитина — версия 2: простой светлый дизайн по референсу клиента.
   Цвета из брендбука: Champagne Pink, Gray Beige, Burgundy.
   Сначала — телефон, ниже — планшет и компьютер.
   ========================================================================== */

:root {
  --bg: #f8f3ef;
  --bg-alt: #f3e9e4;
  --surface: #fffcfa;
  --line: rgba(60, 40, 35, .12);
  --line-strong: rgba(129, 46, 46, .3);
  --text: #3c3a38;
  --text-2: #5f5853;
  --muted: #9a8f88;
  --heading: #2e2926;
  --accent: #812e2e;
  --accent-dark: #672424;
  --accent-ink: #fbf6f3;
  --beige: #c9b9ac;
  --champagne: #f3e3d7;

  --serif: 'EB Garamond', 'Iowan Old Style', 'Times New Roman', serif;
  --sans: 'Geologica', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --script: 'Marck Script', 'Segoe Script', cursive;

  --gutter: 20px;
  --header-h: 68px;
  --radius: 4px;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure, p, h1, h2, h3, dl, dd { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 18px; height: 18px; flex: 0 0 auto; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { width: min(100% - 2 * var(--gutter), 1200px); margin-inline: auto; }

/* ---------- Кнопки и ссылки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 12px 26px;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  font-size: .76rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-align: center;
  transition: background-color .3s, color .3s, border-color .3s;
}
.btn .icon { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn--outline { background: transparent; color: var(--accent); }
.btn--outline:hover { background: var(--accent); color: var(--accent-ink); }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: .68rem; }
.btn--block { width: 100%; }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: .86rem;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.icon--down { transform: rotate(90deg); width: 16px; height: 16px; }

.round-btn {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--accent);
  transition: background-color .3s, color .3s, opacity .3s;
}
.round-btn:hover:not(:disabled) { background: var(--accent); color: var(--accent-ink); }
.round-btn:disabled { opacity: .3; cursor: default; }

/* ---------- Шапка ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.header.is-scrolled { border-bottom-color: var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 100%; }
.wordmark {
  display: grid;
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--heading);
}
.nav { display: none; }
.header__tools { display: flex; align-items: center; gap: 12px; }
.header__cta { display: none; }
.lang { display: flex; gap: 2px; }
.lang button {
  min-width: 34px;
  height: 32px;
  padding: 0 6px;
  border: 0;
  border-radius: var(--radius);
  background: none;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--muted);
}
.lang button[aria-pressed="true"] { color: var(--accent); background: var(--bg-alt); }
.header .lang { display: none; }

.burger {
  display: grid;
  align-content: center;
  gap: 6px;
  width: 42px;
  height: 42px;
  padding: 0 9px;
  border: 0;
  background: none;
}
.burger span { display: block; height: 1.5px; background: var(--accent); transition: transform .35s var(--ease), opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Меню на телефоне */
.menu {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 49;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
  padding: 26px var(--gutter) calc(26px + env(safe-area-inset-bottom));
  background: var(--bg);
  overflow-y: auto;
}
.menu[hidden] { display: none; }
.menu__nav { display: grid; }
.menu__nav a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 1.6rem;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--heading);
}
.menu__nav i { font-style: normal; font-size: .85rem; color: var(--beige); }
.menu__foot { display: grid; gap: 18px; }
.lang--menu button { min-width: 48px; height: 40px; font-size: .78rem; }
body.menu-open { overflow: hidden; }

/* ---------- Заголовки разделов ---------- */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--alt { background: var(--bg-alt); }
.sec-head { display: grid; gap: 8px; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-num { font-family: var(--serif); font-size: 1rem; color: var(--beige); letter-spacing: .04em; }
.sec-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--heading);
}
.sec-lead { max-width: 46ch; color: var(--text-2); font-size: .95rem; }

/* ---------- Первый экран ---------- */
.hero { padding-top: var(--header-h); }
.hero__grid { display: grid; }
.hero__photo {
  margin-inline: calc(var(--gutter) * -1);
  aspect-ratio: 4 / 4.4;
  overflow: hidden;
  background: var(--bg-alt);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.hero__body { display: grid; justify-items: start; gap: 18px; padding: 28px 0 56px; }
.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.5rem, 10vw, 4.6rem);
  line-height: .98;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--heading);
}
.hero__subtitle { font-family: var(--serif); font-size: clamp(1.2rem, 4.6vw, 1.5rem); line-height: 1.3; color: var(--heading); max-width: 26ch; }
.rule { display: block; width: 48px; height: 1px; background: var(--accent); }
.hero__text { max-width: 44ch; color: var(--text-2); }
.hero__actions { display: grid; gap: 12px; width: 100%; margin-top: 6px; }
.hero__body .link-more { margin-top: 10px; }

/* ---------- 01. Обо мне ---------- */
.about__grid { display: grid; }
.about__photo { aspect-ratio: 5 / 4; overflow: hidden; margin-bottom: 28px; background: var(--bg-alt); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 22%; } /* лицо в кадре на телефоне */
.about__body { display: grid; gap: 16px; color: var(--text-2); }
.about__lead { font-family: var(--serif); font-size: 1.3rem; line-height: 1.4; color: var(--heading); }
.signature { font-family: var(--script); font-size: 2.1rem; line-height: 1.1; color: var(--accent); margin-top: 6px; }
.facts {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: space-between;
  margin-top: 14px;
  border-top: 1px solid var(--line);
}
.facts > div { padding: 18px 10px 0 0; }
.facts > div + div { padding-left: 14px; border-left: 1px solid var(--line); }
.facts dt { font-family: var(--serif); font-size: 1.7rem; line-height: 1; color: var(--accent); }
.facts dd { margin-top: 6px; font-size: .74rem; line-height: 1.35; color: var(--muted); }

/* ---------- 02. Экспертиза ---------- */
.exp { display: grid; border-top: 1px solid var(--line); }
.exp__item {
  display: grid;
  grid-template-columns: 84px 1fr 20px;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.exp__img { display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); background: var(--surface); }
.exp__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.exp__body { display: grid; gap: 4px; }
.exp__title { font-family: var(--serif); font-size: 1.22rem; font-weight: 500; line-height: 1.15; color: var(--heading); }
.exp__kicker { font-size: .64rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
/* Ссылка на документ в хронологии */
.timeline__body { display: grid; justify-items: start; gap: 8px; }
.timeline__doc {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 0 2px;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: none;
  font-size: .8rem;
  color: var(--accent);
}
.timeline__doc .icon { width: 15px; height: 15px; }
.exp__desc { font-size: .84rem; line-height: 1.45; color: var(--text-2); }
.exp__arrow { color: var(--accent); transition: transform .4s var(--ease); }
.exp__item:hover .exp__arrow { transform: translateX(4px); }
.exp__item:hover .exp__img img { transform: scale(1.06); }

/* ---------- 03. Мой путь ---------- */
.path__grid { display: grid; gap: 40px; }
.timeline { position: relative; display: grid; }
.timeline::before {
  content: '';
  position: absolute;
  left: 86px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: var(--line-strong);
}
.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 32px;
  padding: 12px 0;
}
.timeline li::before {
  content: '';
  position: absolute;
  left: 82px;
  top: 21px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--bg);
}
.timeline__year { font-family: var(--serif); font-size: 1.12rem; line-height: 1.5; color: var(--accent); text-align: right; }
.timeline p { font-size: .9rem; color: var(--text-2); }
.timeline__now .timeline__year { font-size: .98rem; }
.timeline__year--range { white-space: nowrap; font-size: .86rem; letter-spacing: -.01em; } /* «2024–2026» в одну строку */
.timeline__now p { color: var(--heading); font-weight: 400; }
/* Эскизы кольца: рисунок и чертёж, по нажатию открываются крупно */
.path__media { display: grid; gap: 14px; }
.path__img {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  cursor: zoom-in;
}
.path__img img { width: 100%; height: auto; transition: transform .8s var(--ease); }
.path__img:hover img { transform: scale(1.03); }

/* ---------- 04. Публикации ---------- */
.press__list { display: grid; gap: 16px; align-items: stretch; }
/* Карточки одной высоты: заголовок сверху, стрелка внизу, как бы ни переносился текст */
.press__list > li { display: flex; }
.press__list .pcard { height: 100%; grid-template-rows: auto 1fr; align-content: stretch; }
.press__list .pcard__body { align-self: start; align-content: start; }
.press__list .pcard__title { min-height: 2.4em; } /* место под две строки — подписи изданий на одной линии */
.pcard {
  display: grid;
  grid-template-columns: 1fr 20px;
  gap: 0 14px;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  text-align: left;
  overflow: hidden;
  transition: border-color .3s;
}
.pcard:hover { border-color: var(--line-strong); }
.pcard__img { grid-column: 1 / -1; display: block; aspect-ratio: 16 / 8; overflow: hidden; background: var(--bg-alt); }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; transition: transform .8s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.04); }
.pcard__body { display: grid; gap: 6px; padding: 16px 0 18px 18px; }
.pcard__title { font-family: var(--serif); font-size: 1.15rem; font-weight: 500; line-height: 1.2; color: var(--heading); }
.pcard__meta { font-size: .78rem; color: var(--muted); }
.pcard__arrow { align-self: end; margin: 0 18px 20px 0; color: var(--accent); }

/* ---------- 05. Выставки и мероприятия ---------- */
.events__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.events__head .sec-head { flex: 1 1 250px; min-width: 0; margin-bottom: 0; }
.track-nav { display: flex; gap: 8px; flex: 0 0 auto; }
.events__row {
  display: flex;
  gap: 14px;
  margin-top: 22px;
  padding-inline: max(var(--gutter), calc((100% - 1200px) / 2));
  scroll-padding-inline: max(var(--gutter), calc((100% - 1200px) / 2));
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.events__row::-webkit-scrollbar { display: none; }
.event { flex: 0 0 min(72vw, 300px); scroll-snap-align: start; }
.event button { display: grid; gap: 8px; width: 100%; padding: 0; border: 0; background: none; text-align: left; }
.event__img { display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--bg-alt); }
.event__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.event button:hover .event__img img { transform: scale(1.04); }
.event__title { margin-top: 6px; font-family: var(--serif); font-size: 1.12rem; font-weight: 500; line-height: 1.2; color: var(--heading); }
.event__desc { font-size: .8rem; line-height: 1.4; color: var(--muted); }
/* Фильтр по городам */
.chips {
  display: flex;
  gap: 8px;
  margin-top: 22px;
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  overflow-x: auto;
  scrollbar-width: none;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 19px;
  background: transparent;
  font-size: .74rem;
  font-weight: 400;
  letter-spacing: .04em;
  color: var(--accent);
  transition: background-color .3s, color .3s;
}
.chip:hover { background: var(--bg-alt); }
.chip[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
.event[hidden] { display: none; }
.event__img { position: relative; }
.event__city {
  margin-top: 8px;
  font-size: .64rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
}
.event__city + .event__title { margin-top: 0; }
.track-bar { position: relative; height: 2px; margin-top: 26px; background: var(--line); overflow: hidden; }
.track-bar i { position: absolute; inset: 0 auto 0 0; width: var(--w, 30%); background: var(--accent); transform: translateX(var(--x, 0)); }

/* ---------- 06. Консультация ---------- */
.contact__grid { display: grid; gap: 8px; }
.contact__img { display: none; }
.form { display: grid; gap: 12px; }
.field { position: relative; display: grid; gap: 6px; }
.field__label { font-size: .72rem; letter-spacing: .06em; color: var(--muted); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: .92rem;
  font-weight: 300;
  color: var(--heading);
  transition: border-color .25s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23812e2e' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}
.field select:disabled { opacity: .55; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field.has-error input, .field.has-error select { border-color: #b3261e; }
.field__err { font-size: .72rem; font-style: normal; color: #b3261e; }
.field__err:empty { display: none; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form__hint { margin-top: -4px; font-size: .72rem; color: var(--muted); }
.form__consent { font-size: .7rem; line-height: 1.45; color: var(--muted); text-align: center; }
.form__fail { font-size: .82rem; color: #b3261e; text-align: center; }
.form .btn { margin-top: 6px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.form-ok {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 34px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  text-align: center;
  color: var(--text-2);
}
.form-ok[hidden] { display: none; }
.form-ok__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); }
.form-ok__icon .icon { width: 24px; height: 24px; }
.form-ok__title { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; line-height: 1.15; color: var(--heading); }
.form-ok__demo { font-size: .82rem; padding: 12px 14px; background: var(--bg-alt); border-radius: var(--radius); }
.form-ok__actions { display: grid; gap: 10px; width: 100%; margin-top: 8px; }

.direct { margin-top: 34px; text-align: center; color: var(--text-2); font-size: .86rem; }
.direct__list { display: flex; justify-content: center; gap: 30px; margin-top: 16px; }
.direct__list a { display: grid; justify-items: center; gap: 8px; font-size: .78rem; color: var(--heading); }
.direct__list .icon { width: 28px; height: 28px; color: var(--accent); }

/* ---------- Подвал ---------- */
.footer { padding: 56px 0 calc(34px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line-strong); }
.footer__inner { display: grid; justify-items: center; gap: 24px; text-align: center; }
.wordmark--footer { font-size: 1.3rem; justify-items: center; }
.footer__info { display: grid; gap: 8px; font-size: .84rem; color: var(--text-2); }
.footer__info p { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 8px; }
.footer__info .icon { width: 16px; height: 16px; color: var(--accent); }
.footer__info a:hover { color: var(--accent); }
.footer__social { display: flex; gap: 12px; }
.footer__social a {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--accent);
  transition: background-color .3s, color .3s;
}
.footer__social a:hover { background: var(--accent); color: var(--accent-ink); }
.footer__bottom { display: grid; gap: 10px; padding-top: 22px; width: 100%; border-top: 1px solid var(--line); font-size: .74rem; color: var(--muted); }
.footer__bottom a { color: var(--accent); letter-spacing: .12em; text-transform: uppercase; font-size: .68rem; }

/* ---------- Просмотр фото ---------- */
.lightbox {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(30, 20, 18, .94);
  color: #f4e9e7;
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(30, 20, 18, .6); }
.lightbox__figure { display: grid; justify-items: center; gap: 14px; padding: 70px 16px 90px; }
.lightbox__figure img { max-width: min(94vw, 1000px); max-height: calc(100svh - 180px); width: auto; height: auto; object-fit: contain; }
.lightbox__figure figcaption { font-family: var(--serif); font-size: 1.15rem; text-align: center; max-width: 60ch; }
.lightbox .round-btn { position: absolute; border-color: rgba(244, 233, 231, .4); color: #f4e9e7; }
.lightbox .round-btn:hover { background: #f4e9e7; color: var(--accent); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__nav { bottom: 24px; }
.lightbox__nav--prev { left: calc(50% - 56px); }
.lightbox__nav--next { left: calc(50% + 10px); }
.lightbox__nav[hidden] { display: none; }

/* ---------- Появление при прокрутке ---------- */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .rv.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; transition: none; } }

/* ==========================================================================
   Планшет
   ========================================================================== */
@media (min-width: 640px) {
  :root { --gutter: 32px; }
  .hero__actions { grid-template-columns: auto auto; width: auto; }
  .press__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pcard__img { aspect-ratio: 4 / 3.4; }
  .form-ok__actions { grid-template-columns: 1fr 1fr; }
  .footer__bottom { grid-template-columns: 1fr auto; text-align: left; }
}

/* ==========================================================================
   Компьютер
   ========================================================================== */
@media (min-width: 1000px) {
  :root { --header-h: 84px; --gutter: 40px; }
  body { font-size: 16px; }
  .nav { display: flex; gap: clamp(18px, 2vw, 34px); font-size: .72rem; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }
  .nav a { position: relative; padding: 6px 0; transition: color .3s; }
  .nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
  .nav a:hover, .nav a.is-active { color: var(--accent); }
  .nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
  .header .lang { display: flex; }
  .header__cta { display: inline-flex; }
  .burger, .menu { display: none !important; }
  .wordmark { font-size: 1.12rem; }

  .hero__grid {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    align-items: center;
    gap: clamp(40px, 6vw, 100px);
    min-height: calc(100svh - var(--header-h));
    padding-block: 40px;
  }
  .hero__photo { order: 2; margin: 0; aspect-ratio: 4 / 5; max-height: calc(100svh - var(--header-h) - 80px); border-radius: var(--radius); }
  .hero__body { order: 1; padding: 0; gap: 22px; }
  .hero__title { font-size: clamp(3.6rem, 5.6vw, 5.4rem); }

  .about__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: clamp(40px, 6vw, 96px); align-items: start; }
  .about__grid .sec-head { grid-column: 1 / -1; }
  .about__photo { aspect-ratio: 4 / 5; margin: 0; border-radius: var(--radius); }
  .about__photo img { object-position: 50% 30%; }
  .about__body { padding-top: 10px; }
  .about__lead { font-size: 1.6rem; }

  .exp { grid-template-columns: 1fr 1fr; column-gap: 56px; border-top: 0; }
  .exp li { border-top: 1px solid var(--line); }
  .exp__item { grid-template-columns: 110px 1fr 20px; gap: 22px; padding: 22px 0; border-bottom: 0; }
  .exp li:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }

  .path__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
  .path__media { position: sticky; top: calc(var(--header-h) + 30px); }
  .timeline::before { left: 106px; }
  .timeline li { grid-template-columns: 90px 1fr; gap: 40px; padding: 14px 0; }
  .timeline li::before { left: 102px; top: 24px; }
  .timeline__year { font-size: 1.3rem; }
  .timeline__year--range { font-size: 1.02rem; }
  .timeline p { font-size: .96rem; }

  .event { flex-basis: 282px; }
  .chips { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 0; } /* на широком экране все страны видны сразу */

  .contact__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
  .contact__img { display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); }
  .contact__img img { width: 100%; height: 100%; object-fit: cover; }
  .direct { text-align: left; }
  .direct__list { justify-content: flex-start; }

  .footer__inner { grid-template-columns: auto 1fr auto; justify-items: stretch; align-items: center; text-align: left; gap: 30px 60px; }
  .wordmark--footer { justify-items: start; }
  .footer__info p { justify-content: flex-start; }
  .footer__bottom { grid-column: 1 / -1; }
}

/* Узкие телефоны */
@media (max-width: 360px) {
  :root { --gutter: 16px; }
  .facts dt { font-size: 1.45rem; }
  .form__row { grid-template-columns: 1fr; }
}
