/* =========================================================================
   Соль. Рис. Тишина. — выпуск глянцевого журнала о путешествии.
   Светлая бумага, антиква Noto Serif Display в заголовках, Manrope в тексте,
   чистый гротеск (Manrope), золото Arrowwood как солнце на странице.
   Палитра — Pantone весна 2027: Antique White, Blue Indigo, Arrowwood,
   Tarragon, Dolphin.
   ========================================================================= */

:root {
  --paper: #fbf8f2;        /* светлая глянцевая бумага */
  --cream: #f1ebdf;        /* Antique White 11-0102 */
  --ink: #151b2a;          /* Blue Indigo 19-4029, доведён до чернил */
  --muted: #43464f;        /* Dolphin 17-4101, затемнён для текста */
  --night: #1b2233;
  --night-2: #121826;
  --on-night: #fbf8f2;
  --on-night-muted: rgba(251, 248, 242, 0.76);
  --gold: #cba24c;         /* Arrowwood 14-0952, чуть насыщеннее */
  --gold-hover: #d9b25e;
  --gold-ink: #6c5320;     /* золото для текста на светлом */
  --reed: #575a3e;         /* Tarragon 16-0430 */
  --line: rgba(21, 27, 42, 0.14);
  --line-strong: rgba(21, 27, 42, 0.9);
  --line-night: rgba(246, 242, 234, 0.18);

  --display: 'Noto Serif Display', 'Didot', 'Bodoni 72', Georgia, serif;
  --sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --wrap: 1280px;
  --gutter: clamp(20px, 4.5vw, 64px);
  --section: clamp(84px, 11vw, 160px);
  --header-h: 68px;
}

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

html {
  color-scheme: light;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 clamp(16px, 1.1vw, 18px) / 1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

[hidden] { display: none !important; }
img, picture { display: block; max-width: 100%; }
img { width: 100%; height: auto; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.skip { position: absolute; left: -9999px; top: 12px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; }
.skip:focus { left: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- Типографика ---------- */

.label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 20px;
}
.label--accent { color: var(--gold-ink); }

.h2 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(42px, 5.8vw, 92px); line-height: 0.98; letter-spacing: -0.02em;
  margin: 0 0 clamp(28px, 4vw, 60px); max-width: 15ch; text-wrap: balance;
}
.h3 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(28px, 2.5vw, 38px); line-height: 1.08; letter-spacing: -0.01em; margin: 0 0 14px;
}
.h4 { font-size: 17px; font-weight: 600; margin: 0 0 10px; }

.lead { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.6; color: var(--muted); max-width: 56ch; margin-bottom: clamp(36px, 5vw, 64px); }
.muted { color: var(--muted); }
.note { font-size: 14px; color: var(--muted); margin-top: 24px; }

/* ---------- Разделы ---------- */

.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(48px, 6vw, 88px); }
.section--cream { background: var(--cream); }
.section--sand { background: var(--cream); }
.section--night { background: var(--night); color: var(--on-night); }
.section--night .label { color: var(--on-night-muted); }
.section--night .label--accent { color: var(--gold); }
.section--night .muted, .section--night .lead--night { color: var(--on-night-muted); }

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

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 15px 34px;
  font: 600 13px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; border: 1px solid transparent; border-radius: 999px; cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.btn--primary { background: var(--gold); color: var(--ink); }
.btn--primary:hover { background: var(--gold-hover); transform: translateY(-1px); }
.btn--line { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.section--night .btn--line { border-color: var(--on-night-muted); color: var(--on-night); }
.section--night .btn--line:hover { background: var(--paper); color: var(--ink); }
.btn--sm { min-height: 44px; padding: 10px 22px; font-size: 12px; }
.btn--wide { width: 100%; }

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

.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  background: var(--paper);
  transition: box-shadow 0.3s ease;
}
.header.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.header__in {
  max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter);
  min-height: var(--header-h); display: flex; align-items: center; gap: clamp(16px, 3vw, 40px);
}
.header__brand { font-family: var(--display); font-size: 22px; text-decoration: none; margin-right: auto; white-space: nowrap; }
.nav__list { display: flex; gap: clamp(16px, 2.2vw, 32px); }
.nav__list a { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; color: var(--muted); padding-block: 8px; }
.nav__list a:hover { color: var(--ink); }

.burger {
  display: none; width: 44px; height: 44px; padding: 0; background: none; border: 0; color: inherit; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 7px; position: relative; z-index: 2;
}
.burger span { display: block; width: 24px; height: 1.5px; background: currentColor; transition: transform 0.25s ease; }
.burger[aria-expanded='true'] span:first-child { transform: translateY(4.25px) rotate(45deg); }
.burger[aria-expanded='true'] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }

@media (max-width: 1280px) {
  .burger { display: flex; }
  .header__cta { display: none; }
  .nav {
    position: fixed; inset: 0; z-index: 1; background: var(--night); color: var(--on-night);
    padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 24px) var(--gutter) 40px;
    transform: translateY(-100%); transition: transform 0.35s ease;
  }
  .nav.is-open { transform: none; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a {
    display: block; font-family: var(--display); font-size: 34px; font-weight: 400;
    letter-spacing: 0; text-transform: none; color: var(--on-night);
    padding-block: 12px; border-bottom: 1px solid var(--line-night);
  }
  .header:has(.nav.is-open) { background: transparent; color: var(--on-night); box-shadow: none; }
}

/* ---------- Обложка ---------- */

.cover { padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + clamp(16px, 2.4vw, 32px)); padding-bottom: clamp(48px, 6vw, 96px); }
.cover__strip {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink);
  padding-block: 10px;
}
.cover__title {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(58px, 8.3vw, 132px); line-height: 0.95; letter-spacing: -0.035em;
  margin: clamp(18px, 2.4vw, 32px) 0 clamp(28px, 3.6vw, 52px);
  /* Как название журнала: одна строка во всю ширину полосы */
  display: flex; justify-content: space-between; white-space: nowrap;
}
.cover__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.cover__tagline { font-family: var(--display); font-weight: 400; font-size: clamp(28px, 2.8vw, 44px); line-height: 1.1; color: var(--gold-ink); margin-bottom: 18px; }
.cover__sub { font-size: clamp(17px, 1.3vw, 19px); color: var(--muted); max-width: 36ch; margin-bottom: 28px; }
.cover__facts { margin: 0 0 32px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.cover__fact { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding-block: 12px; border-bottom: 1px solid var(--line); }
.cover__fact dt { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.cover__fact dd { margin: 0; font-weight: 500; }
.cover__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: clamp(36px, 4.5vw, 56px); }
.cover__lines li + li { margin-top: 18px; }
.cover__lines a { display: block; text-decoration: none; }
.cover__kicker { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 4px; }
.cover__line { font-family: var(--sans); font-weight: 600; font-size: clamp(17px, 1.3vw, 19px); line-height: 1.4; }
.cover__lines a:hover .cover__line { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.cover__photo { position: relative; }
.cover__photo img { aspect-ratio: 4 / 5; object-fit: cover; }

/* Печать на обложке */
.stamp {
  position: absolute; left: clamp(-64px, -4.4vw, -28px); bottom: clamp(28px, 4vw, 64px);
  width: clamp(124px, 11vw, 168px); aspect-ratio: 1; border-radius: 50%;
  background: var(--gold); color: var(--ink); display: grid; place-items: center;
  box-shadow: 0 14px 40px rgba(31, 38, 56, 0.22);
}
.stamp svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: stamp 36s linear infinite; }
.stamp text { font: 600 12.5px var(--sans); letter-spacing: 0.16em; text-transform: uppercase; fill: var(--ink); }
.stamp__c { font-family: var(--display); font-weight: 400; font-size: clamp(38px, 3.4vw, 52px); line-height: 0.85; text-align: center; }
.stamp__c small { display: block; font: 600 9px var(--sans); letter-spacing: 0.22em; text-transform: uppercase; margin-top: 6px; }
@keyframes stamp { to { transform: rotate(360deg); } }

@media (max-width: 860px) {
  .cover__grid { grid-template-columns: 1fr; }
  .cover__photo { order: -1; }
  .stamp { left: auto; right: 14px; bottom: 14px; width: 112px; }
  .cover__title { flex-direction: column; justify-content: flex-start; }
}

/* ---------- Бегущая строка ---------- */

.refrain { background: var(--gold); color: var(--ink); overflow: hidden; padding-block: 16px; }
.refrain__track { display: flex; width: max-content; gap: 72px; animation: refrain 60s linear infinite; }
.refrain__track span { font-family: var(--display); font-weight: 400; font-size: clamp(22px, 2.2vw, 32px); white-space: nowrap; }
@keyframes refrain { to { transform: translateX(-50%); } }

/* ---------- Разворот ---------- */

.spread { position: relative; background: var(--paper); margin: 0; }
.spread picture { position: relative; }
.spread img { aspect-ratio: 2 / 1; object-fit: cover; }
.spread__over {
  position: absolute; left: 0; right: 0; top: 0; aspect-ratio: 2 / 1;
  display: flex; align-items: flex-end;
  background: linear-gradient(180deg, rgba(12, 16, 26, 0) 22%, rgba(12, 16, 26, 0.5) 55%, rgba(12, 16, 26, 0.9) 100%);
  pointer-events: none;
}
.spread__line {
  font-family: var(--display); font-weight: 400; color: #fff;
  font-size: clamp(30px, 4.4vw, 68px); line-height: 1.05; letter-spacing: -0.015em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55), 0 1px 3px rgba(0, 0, 0, 0.4);
  margin: 0 auto; padding-bottom: clamp(24px, 4vw, 56px); max-width: var(--wrap);
}
@media (max-width: 640px) {
  .spread img, .spread__over { aspect-ratio: 4 / 5; }
  .spread img { object-position: 50% 50%; }
}

/* ---------- Цифры ---------- */

.numbers { padding-block: clamp(44px, 6vw, 88px) 0; }
.numbers__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line-strong); }
.num { padding: clamp(20px, 2.6vw, 36px) clamp(14px, 2vw, 32px); border-left: 1px solid var(--line); }
.num:first-child { border-left: 0; padding-left: 0; }
.num__n { font-family: var(--display); font-weight: 400; font-size: clamp(64px, 8.4vw, 136px); line-height: 0.85; letter-spacing: -0.03em; color: var(--gold-ink); margin: 0; }
.num__t { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink); margin-top: 14px; max-width: 18ch; }
@media (max-width: 700px) {
  .numbers__row { grid-template-columns: repeat(2, 1fr); }
  .num:nth-child(3) { border-left: 0; padding-left: 0; }
  .num:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Манифест ---------- */

.intro { padding-block: var(--section); }
.intro__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 100px); align-items: center; }
.intro__media { position: relative; }
.intro__main img { aspect-ratio: 4 / 5; object-fit: cover; }
.intro__small { position: absolute; right: 0; bottom: 0; width: 46%; border: clamp(6px, 0.8vw, 12px) solid var(--paper); }
.intro__small img { aspect-ratio: 4 / 5; object-fit: cover; }
.intro__lead { font-family: var(--sans); font-weight: 500; font-size: clamp(21px, 1.9vw, 29px); line-height: 1.5; letter-spacing: -0.005em; color: var(--ink); max-width: 34ch; }
@media (max-width: 860px) { .intro__grid { grid-template-columns: 1fr; } }

/* ---------- Лента «Бали в кадрах» ---------- */

.strip { padding-block: var(--section); }
.strip__head { margin-bottom: clamp(24px, 3vw, 40px); }
.strip__frame { position: relative; }
.strip__viewport { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; cursor: grab; }
.strip__viewport::-webkit-scrollbar { display: none; }
.strip__viewport:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.strip__track { display: flex; width: max-content; }
.strip__btn {
  position: absolute; top: 50%; z-index: 2; width: 56px; height: 56px; margin-top: -28px;
  display: grid; place-items: center; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--paper); color: var(--ink); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: background 0.2s ease, transform 0.2s ease;
}
.strip__btn:hover { background: var(--gold); transform: scale(1.06); }
.strip__btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.strip__btn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.strip__btn--prev { left: clamp(12px, 3vw, 40px); }
.strip__btn--next { right: clamp(12px, 3vw, 40px); }
html:not(.js) .strip__btn { display: none; }
@media (max-width: 700px) { .strip__btn { width: 46px; height: 46px; margin-top: -23px; } }
.strip__item { flex: none; margin: 0 clamp(10px, 1.2vw, 18px) 0 0; --h: clamp(240px, 25vw, 380px); }
.strip__item img { height: var(--h); width: auto; object-fit: cover; aspect-ratio: 3 / 2; }
.strip__item--tall img { aspect-ratio: 4 / 5; }
.strip__item--sq img { aspect-ratio: 1; }
.strip__item:nth-child(even) { margin-top: clamp(24px, 3vw, 48px); }
.strip__item:nth-child(odd) { margin-bottom: clamp(24px, 3vw, 48px); }

/* ---------- Фото-разрыв ---------- */

.pbreak { position: relative; margin: 0; color: var(--paper); }
.pbreak img { aspect-ratio: 21 / 9; object-fit: cover; min-height: 360px; }
.pbreak__over {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding-bottom: clamp(28px, 5vw, 72px);
  background: linear-gradient(180deg, rgba(20, 24, 34, 0) 25%, rgba(20, 24, 34, 0.68) 100%);
  max-width: none;
}
.pbreak__text { display: block; max-width: 44ch; margin-top: clamp(14px, 1.6vw, 22px); font-size: clamp(16px, 1.3vw, 19px); line-height: 1.55; color: rgba(255, 255, 255, 0.92); text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55); }
.pbreak__line { text-shadow: 0 2px 18px rgba(0, 0, 0, 0.5); font-family: var(--display); font-weight: 400; font-size: clamp(40px, 7vw, 112px); line-height: 0.95; letter-spacing: -0.02em; max-width: 14ch; }
@media (max-width: 700px) { .pbreak img { aspect-ratio: 4 / 5; } }

/* ---------- Карта ---------- */

.map { margin: clamp(8px, 2vw, 24px) 0 clamp(48px, 6vw, 96px); }
.map__svg { display: block; width: 100%; height: auto; overflow: hidden; }
/* Размер подписей в единицах viewBox: на узкой карте города мельче, мелкие точки крупнее */
.map__svg--wide { --fs-stay: 1; --fs-spot: 1; --fs-sea: 1; }
.map__svg--narrow { display: none; --fs-stay: 1; --fs-spot: 1.6; --fs-sea: 1.1; }
@media (max-width: 1000px) { .map__svg--wide { --fs-stay: 1.3; --fs-spot: 1.3; --fs-sea: 1.2; } }
@media (max-width: 700px) {
  .map { margin-inline: calc(var(--gutter) * -1); }
  .map__legend { padding-inline: var(--gutter); }
  .map__svg--wide { display: none; } .map__svg--narrow { display: block; }
}
.map__land { fill: #dcd4bd; stroke: rgba(31, 38, 56, 0.28); stroke-width: 1; }
.map__sea { font-family: var(--sans); font-weight: 500; font-size: calc(17px * var(--fs-sea)); letter-spacing: 0.08em; fill: var(--muted); }
.map__island { font-family: var(--display); font-weight: 400; font-size: calc(46px * var(--fs-sea)); letter-spacing: 0.32em; text-transform: uppercase; fill: rgba(31, 38, 56, 0.28); }
.map__route { fill: none; stroke: #a8823a; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1 9; }
.map__route--back { stroke-width: 2; opacity: 0.7; }
.map__trip { fill: none; stroke: var(--reed); stroke-width: 1.4; stroke-dasharray: 3 5; opacity: 0.8; }
.map__draw { fill: none; stroke: #fff; stroke-width: 14; stroke-dasharray: 1 1; stroke-dashoffset: 0; }
.js .map .map__draw { stroke-dashoffset: 1; transition: stroke-dashoffset 2.6s cubic-bezier(0.45, 0, 0.2, 1) 0.4s; }
.js .map .map__draw--late { transition-delay: 2.6s; transition-duration: 1.6s; }
.js .map.is-visible .map__draw { stroke-dashoffset: 0; }
.map__stay circle { fill: var(--ink); }
.map__stay .map__halo { fill: none; stroke: var(--gold); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: halo 3.2s ease-out infinite; }
.map__stay text { font-family: var(--display); font-weight: 400; font-size: calc(28px * var(--fs-stay)); fill: var(--ink); }
.map__roman { fill: var(--gold-ink); }
.map__spot circle { fill: var(--paper); stroke: var(--ink); stroke-width: 1.5; }
.map__spot text { font-family: var(--sans); font-weight: 600; font-size: calc(12px * var(--fs-spot)); letter-spacing: 0.16em; text-transform: uppercase; fill: var(--muted); }
@keyframes halo { 0% { transform: scale(0.6); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.map__legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-top: 16px; }
.map__key { display: inline-block; width: 36px; height: 0; border-top: 3px dotted #a8823a; }
.map__key--trip { border-top: 1.5px dashed var(--reed); margin-left: 16px; }

/* ---------- Главы маршрута ---------- */

.chapters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.chapter:nth-child(even) { margin-top: clamp(0px, 5vw, 72px); }
.chapter__media { position: relative; overflow: hidden; margin-bottom: 18px; }
.chapter__media img { aspect-ratio: 3 / 4; object-fit: cover; transition: transform 1.2s ease; }
.chapter__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 24, 34, 0.42) 0%, rgba(20, 24, 34, 0) 38%); pointer-events: none; }
.chapter:hover .chapter__media img { transform: scale(1.04); }
.chapter__roman {
  position: absolute; left: 14px; top: 8px; font-family: var(--display); font-weight: 400;
  z-index: 1; font-size: clamp(56px, 5.4vw, 88px); line-height: 1; color: var(--paper); text-shadow: 0 2px 24px rgba(20, 24, 34, 0.45);
}
.chapter__num { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 8px; }
.chapter__name { font-family: var(--display); font-weight: 400; font-size: clamp(30px, 2.6vw, 44px); line-height: 1; letter-spacing: -0.02em; margin: 0 0 10px; }
.chapter__text { color: var(--muted); font-size: 16px; }

@media (max-width: 960px) { .chapters { grid-template-columns: repeat(2, 1fr); row-gap: 40px; } }
@media (max-width: 540px) {
  .chapters { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .chapter { scroll-snap-align: start; }
  .chapter:nth-child(even) { margin-top: 0; }
}

/* ---------- Практики ---------- */

.practices { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(28px, 5vw, 80px); }
.practice:nth-child(2) { margin-top: clamp(0px, 9vw, 140px); }
.practice__media { margin-bottom: 26px; overflow: hidden; }
.practice__media img { aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1.2s ease; }
.practice:hover .practice__media img { transform: scale(1.03); }
.practice__items { font-size: 14px; font-weight: 500; color: var(--reed); margin-top: 16px; }

@media (max-width: 860px) {
  .practices { grid-template-columns: 1fr; }
  .practice:nth-child(2) { margin-top: 0; }
}

/* ---------- Ведущие ---------- */

.leaders { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(28px, 5vw, 80px); }
.leader__media { margin-bottom: 26px; overflow: hidden; }
.leader__media img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; transition: transform 1.2s ease; }
.leader:hover .leader__media img { transform: scale(1.03); }
.leader__name { font-family: var(--display); font-weight: 400; font-size: clamp(42px, 4.4vw, 68px); line-height: 1; letter-spacing: -0.02em; margin: 0 0 16px; }

.lab__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.lab__shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(8px, 1.2vw, 16px); }
.lab__shot img { aspect-ratio: 3 / 4; object-fit: cover; }
.lab__shot:nth-child(2) { margin-top: clamp(24px, 4vw, 64px); }
.lab__shot:nth-child(3) { margin-top: clamp(12px, 2vw, 32px); }

.org-section { background: var(--cream); }
.org { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 100px); align-items: center; }
.org__media { position: relative; }
.org__media img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 35%; }
.org__media::after { content: ''; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--gold); z-index: -1; }
.org__media { isolation: isolate; }
.org__name { font-family: var(--display); font-weight: 400; font-size: clamp(48px, 6.4vw, 104px); line-height: 0.95; letter-spacing: -0.03em; margin: 0 0 clamp(20px, 2.6vw, 36px); }
.org__years { display: flex; align-items: flex-end; gap: 16px; font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 18px; }
.org__years span { font-family: var(--display); font-weight: 400; font-size: clamp(72px, 7vw, 112px); line-height: 0.8; letter-spacing: -0.03em; text-transform: none; color: var(--gold-ink); }
.org__places { font-family: var(--sans); font-weight: 600; font-size: clamp(16px, 1.3vw, 19px); letter-spacing: 0.02em; line-height: 1.5; padding-block: 16px; border-block: 1px solid var(--line); margin-bottom: 22px; }
.org__lead { font-size: clamp(17px, 1.3vw, 19px); color: var(--muted); max-width: 46ch; margin-bottom: 28px; }
@media (max-width: 860px) { .leaders, .lab__grid { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .org { grid-template-columns: 1fr; } .org__media { max-width: 420px; margin-right: 18px; } }

/* ---------- Где живём ---------- */

.stay { display: flex; flex-direction: column; gap: clamp(64px, 8vw, 128px); }
.stay__place { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.stay__place--flip { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
.stay__place--flip .stay__text { order: 2; }
.stay__name { font-family: var(--display); font-weight: 400; font-size: clamp(46px, 5vw, 80px); line-height: 1; letter-spacing: -0.02em; margin: 0 0 18px; }
.stay__name--sm { font-size: clamp(36px, 3.2vw, 52px); }
.stay__shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(10px, 1.2vw, 16px); }
.stay__shot { overflow: hidden; }
.stay__shot img { aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.2s ease; }
.stay__shot:hover img { transform: scale(1.03); }
.stay__shot--wide { grid-column: span 2; }
.stay__shot--wide img { aspect-ratio: 3 / 2; }
.stay__plainrow { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(28px, 5vw, 80px); margin-top: clamp(64px, 8vw, 110px); }
.stay__plain { border-top: 1px solid var(--line-strong); padding-top: 26px; }

@media (max-width: 860px) {
  .stay__place, .stay__place--flip { grid-template-columns: 1fr; }
  .stay__place--flip .stay__text { order: 0; }
  .stay__plainrow { grid-template-columns: 1fr; }
}

/* ---------- Программа ---------- */

.prog__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
.prog__head .h2 { margin-bottom: 0; }
.prog__toggle {
  display: inline-flex; align-items: center; gap: 18px; min-height: 56px; padding: 0 28px;
  background: var(--ink); color: var(--paper); border: 0; border-radius: 999px; cursor: pointer;
  font: 600 13px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; transition: background 0.2s ease;
}
.prog__toggle:hover { background: var(--night); }
html:not(.js) .prog__toggle { display: none; }
.prog__toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.prog__toggle .plus { color: var(--gold); }
.prog__days { max-width: 980px; margin-top: clamp(36px, 5vw, 64px); }
.prog__chapter + .prog__chapter { margin-top: clamp(40px, 5vw, 64px); }
.prog__chapter-name { font-family: var(--display); font-weight: 400; font-size: clamp(30px, 2.6vw, 40px); margin: 0 0 8px; }
.prog__chapter-name span { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-ink); margin-left: 12px; }

.day { border-top: 1px solid var(--line); }
.prog__chapter .day:last-child { border-bottom: 1px solid var(--line); }
.day__h { margin: 0; font: inherit; }
.day__btn { width: 100%; display: grid; grid-template-columns: 112px 1fr auto 20px; gap: 20px; align-items: center; padding: 16px 0; background: none; border: 0; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.day__thumb { position: relative; display: block; overflow: hidden; }
.day__thumb img { aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.8s ease; }
.day__btn:hover .day__thumb img { transform: scale(1.06); }
.day__n { position: absolute; left: 8px; bottom: 2px; font-family: var(--display); font-size: 34px; line-height: 1; color: var(--paper); text-shadow: 0 1px 12px rgba(20, 24, 34, 0.6); }
.day__title { font-size: clamp(17px, 1.3vw, 20px); font-weight: 600; }
.day__sum { display: block; font-weight: 400; font-size: 15px; color: var(--muted); margin-top: 4px; line-height: 1.45; }
.day__date { font-size: 14px; color: var(--muted); }
.day__panel { padding: 0 0 22px 132px; max-width: 76ch; }
.day__block { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding-block: 10px; border-top: 1px solid var(--line); font-size: 16px; }
.day__time { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-ink); padding-top: 5px; }

.plus { position: relative; flex: none; width: 16px; height: 16px; align-self: center; }
.plus::before, .plus::after { content: ''; position: absolute; background: currentColor; transition: transform 0.25s ease; }
.plus::before { left: 0; right: 0; top: 7.5px; height: 1px; }
.plus::after { top: 0; bottom: 0; left: 7.5px; width: 1px; }
[aria-expanded='true'] .plus::after { transform: scaleY(0); }

@media (max-width: 560px) {
  .day__btn { grid-template-columns: 84px 1fr 20px; gap: 14px; }
  .day__date { grid-column: 2; grid-row: 2; font-size: 13px; }
  .day__sum { display: none; }
  .day__n { font-size: 26px; }
  .day__panel { padding-left: 0; }
  .day__block { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- Условия и дорога ---------- */

.road { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); }
.road__row { border-top: 2px solid var(--ink); padding-top: 18px; }
.road__time { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 14px; }
.road__title { font-family: var(--display); font-weight: 400; font-size: clamp(26px, 2.2vw, 34px); line-height: 1.1; margin: 0 0 10px; }
@media (max-width: 900px) { .road { grid-template-columns: repeat(2, 1fr); row-gap: 36px; } }
@media (max-width: 520px) { .road { grid-template-columns: 1fr; } }

/* ---------- Что входит ---------- */

.pack { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(28px, 5vw, 80px); margin-bottom: clamp(40px, 5vw, 64px); }
.pack__h { font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-ink); margin: 0 0 10px; }
.pack__list li { position: relative; padding: 13px 0 13px 30px; border-top: 1px solid var(--line); }
.pack__list--in li::before { content: ''; position: absolute; left: 0; top: 25px; width: 16px; height: 2px; background: var(--gold); }
.pack__list--out li { color: var(--muted); }
.pack__list--out li::before { content: ''; position: absolute; left: 4px; top: 21px; width: 7px; height: 7px; border: 1px solid var(--muted); border-radius: 50%; }
@media (max-width: 700px) { .pack { grid-template-columns: 1fr; } }

/* ---------- Вопросы ---------- */

.faq__list { max-width: 920px; }
.faq__side { margin-bottom: clamp(28px, 4vw, 48px); }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa__h { margin: 0; font: inherit; }
.qa__btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; background: none; border: 0; text-align: left; cursor: pointer; color: inherit; font: 600 clamp(17px, 1.3vw, 19px) / 1.4 var(--sans); }
.qa__panel { padding-bottom: 24px; color: var(--muted); max-width: 64ch; }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } .faq__side { margin-bottom: clamp(28px, 4vw, 48px); } }

/* ---------- Заявка ---------- */

.req { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.req__contacts { color: var(--on-night-muted); }
.req__contacts a { color: var(--gold); }
.card { background: var(--paper); color: var(--ink); padding: clamp(24px, 3.5vw, 52px); }
.form { display: flex; flex-direction: column; gap: 22px; }
.form__row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field__label { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); padding: 0; }
.field__input { font: inherit; font-size: 16px; color: var(--ink); background: #fffdf8; border: 1px solid var(--line); border-radius: 2px; padding: 12px 14px; min-height: 50px; width: 100%; }
textarea.field__input { resize: vertical; min-height: 96px; }
.field__input:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: transparent; }
.field__input[aria-invalid='true'] { border-color: #9a3324; }
.field__hint { font-size: 13px; color: var(--muted); }
.field__error { font-size: 13px; color: #9a3324; }
.radios { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.radio, .check { display: flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; }
.radio input, .check input { width: 18px; height: 18px; accent-color: var(--ink); margin: 0; flex: none; }
.check span { font-size: 15px; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.result .h3 { margin-bottom: 8px; }
.result--error .h3 { color: #9a3324; }
.result a { color: var(--ink); }
@media (max-width: 900px) { .req { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }

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

.footer { background: var(--night-2); color: var(--on-night-muted); padding-block: clamp(56px, 7vw, 96px) calc(clamp(56px, 7vw, 96px) + env(safe-area-inset-bottom, 0px)); }
.footer__name { font-family: var(--display); font-weight: 400; font-size: clamp(44px, 6vw, 96px); letter-spacing: -0.03em; color: var(--on-night); line-height: 1; margin-bottom: 12px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 28px 0; padding-block: 18px; border-block: 1px solid var(--line-night); }
.footer__links a { color: var(--gold); text-decoration: none; padding-block: 10px; font-weight: 500; }
.footer__links a:hover { text-decoration: underline; }
.footer__small { font-size: 14px; max-width: 70ch; }
.credits { font-size: 13px; margin-top: 16px; max-width: 90ch; }
.credits summary { cursor: pointer; font-size: 14px; padding-block: 10px; }
.credits ul { columns: 2 320px; column-gap: 32px; margin: 10px 0; }
.credits li { break-inside: avoid; padding-block: 3px; }
.credits a { color: var(--gold); }

/* ---------- Мобильная панель ---------- */

.mobile-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  align-items: center; justify-content: space-between; gap: 16px;
  background: var(--night); color: var(--on-night);
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px));
  transition: transform 0.3s ease;
}
.mobile-bar--hidden { transform: translateY(110%); }
.mobile-bar__info { font-size: 14px; font-weight: 500; }
@media (max-width: 760px) { .mobile-bar { display: flex; } body { padding-bottom: 68px; } }

/* ---------- Типографика: три стиля и один дополнительный ----------
   1. Заголовки — антиква Noto Serif Display 400 (размеры разные, стиль один).
   2. Текст — Manrope 400.
   3. Метки — Manrope 600, 12 px, заглавные, разрядка 0.14em.
   4. Акцент (дополнительный) — Manrope 600 в размер текста.
   Правила ниже перекрывают частные настройки выше, чтобы стилей не множилось. */

.label, .cover__strip, .cover__fact dt, .cover__kicker, .num__t, .map__legend, .chapter__num,
.org__years, .prog__chapter-name span, .day__time, .day__date, .road__time, .pack__h,
.field__label, .btn, .btn--sm, .prog__toggle, .mobile-bar__info {
  font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; font-style: normal;
}
@media (min-width: 901px) { .nav__list a { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; } }
.map__sea, .map__spot text { font-family: var(--sans); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.map__sea { font-size: calc(12px * var(--fs-sea)); }

body, .lead, .cover__sub, .cover__fact dd, .intro__lead, .chapter__text, .muted, .org__lead,
.day__sum, .day__block, .qa__panel, .pack__list li, .road__row .muted {
  font-family: var(--sans); font-weight: 400; letter-spacing: 0;
}
.cover__sub, .cover__fact dd, .org__lead, .chapter__text, .pack__list li { font-size: clamp(16px, 1.15vw, 18px); line-height: 1.6; }
.lead, .intro__lead { font-size: clamp(19px, 1.5vw, 22px); line-height: 1.6; }
.intro__lead { max-width: 36ch; }

.cover__line, .practice__items, .org__places, .day__title, .qa__btn, .h4, .footer__links a {
  font-family: var(--sans); font-weight: 600; font-size: clamp(16px, 1.2vw, 18px); line-height: 1.45; letter-spacing: 0; text-transform: none;
}
.practice__items { color: var(--ink); margin-top: 0; }
.cover__tagline { font-size: clamp(26px, 2.4vw, 38px); }

.lab__text .h2 { font-size: clamp(34px, 3.4vw, 52px); overflow-wrap: break-word; hyphens: auto; }
#practices .h2 { max-width: 20ch; }

/* ---------- Цены ---------- */

.tiers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); max-width: 860px; }
.tier { background: var(--paper); border: 1px solid var(--line); padding: clamp(24px, 3vw, 40px); }
.tier--first { background: var(--night); color: var(--on-night); border-color: var(--night); }
.tier__note { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 14px; }
.tier--first .tier__note { color: var(--gold); }
.tier__price { font-family: var(--sans); font-weight: 700; font-size: clamp(44px, 5vw, 72px); line-height: 1; letter-spacing: -0.035em; margin-bottom: 12px; }
.tier__label { font-weight: 600; font-size: clamp(16px, 1.2vw, 18px); }
.tiers__extra { margin: 18px 0 clamp(48px, 6vw, 80px); font-weight: 600; }
.pack__title { font-family: var(--sans); font-weight: 700; font-size: clamp(26px, 2.4vw, 36px); letter-spacing: -0.02em; margin: 0 0 18px; }
.req__who { font-weight: 600; color: var(--on-night); }
.req__contacts--backup { font-size: 15px; margin-top: 10px; }
.footer__links span { color: var(--on-night); font-weight: 600; }
@media (max-width: 560px) { .tiers { grid-template-columns: 1fr; } }

/* ---------- Два шрифта ----------
   Фигурная антиква Noto Serif Display — только крупные заголовки, имена,
   большие цифры и строки на фото. Всё остальное — Manrope. */
.cover__title { font-size: clamp(46px, 8.6vw, 132px); letter-spacing: -0.035em; justify-content: flex-start; gap: 0.24em; }
.header__brand { font-family: var(--display); font-size: 22px; }
.cover__tagline { font-family: var(--display); }
.lab__shots { grid-template-columns: repeat(2, 1fr); }
.tier__price { font-family: var(--display); font-weight: 400; letter-spacing: -0.02em; }
.pack__title { font-family: var(--display); font-weight: 400; letter-spacing: -0.01em; }
.nav__list a, .btn { white-space: nowrap; }

/* ---------- Медленный «наезд» камеры на больших кадрах ---------- */

.cover__photo picture, .spread picture, .pbreak { overflow: hidden; }
.cover__photo img, .spread img, .pbreak img { animation: drift 26s ease-in-out infinite alternate; transform-origin: 60% 50%; }
.pbreak img { animation-duration: 32s; transform-origin: 40% 60%; }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.08); } }

/* ---------- Появление ---------- */

.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.9s ease, transform 0.9s ease; }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .map .map__draw { stroke-dashoffset: 0; }
  .strip__item[aria-hidden='true'] { display: none; }
}
