/* ═══════════════════════════════════════════════
   BARBERSHIP — main.css
   «Тихая гавань» — единый мир: карта · чернила · золото
   ═══════════════════════════════════════════════ */

:root {
  --ink: #06090f;
  --ink-2: #0a0f18;
  --ink-3: #101725;
  --gold: #c9a45c;
  --gold-bright: #e8cb8a;
  --gold-dim: rgba(201, 164, 92, .35);
  --cream: #ece3d0;
  --cream-2: #e2d7c0;
  --text: #eae4d6;
  --text-dim: rgba(234, 228, 214, .55);
  --ink-text: #131009;
  --ink-text-dim: rgba(19, 16, 9, .6);
  --hair: rgba(234, 228, 214, .1);
  --hair-soft: rgba(234, 228, 214, .07);
  --font-display: "Unbounded", sans-serif;
  --font-body: "Manrope", sans-serif;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --pad: clamp(20px, 5vw, 80px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--ink) linear-gradient(180deg, #08101c 0%, #060a11 26%, #05080e 55%, #070b12 80%, #04060b 100%);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

main, .footer { position: relative; z-index: 1; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* ── grain ─────────────────────────────── */
.grain {
  position: fixed; inset: -50%;
  width: 200%; height: 200%;
  pointer-events: none;
  z-index: 90;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainShift 1.2s steps(4) infinite;
}
@keyframes grainShift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 1.5%); }
  50% { transform: translate(1.5%, -1%); }
  75% { transform: translate(-1%, -2%); }
  100% { transform: translate(0, 0); }
}

/* ── фон: 3D-море — единая основа сайта ── */

/* ── preloader ─────────────────────────── */
.preloader {
  position: fixed; inset: 0;
  z-index: 200;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pre-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}
.pre-radar {
  position: relative;
  width: clamp(150px, 22vw, 210px);
  aspect-ratio: 1;
}
.pre-ring {
  position: absolute; inset: 0;
  border: 1px solid rgba(201, 164, 92, .28);
  border-radius: 50%;
}
.pre-ring:nth-child(2) { inset: 18%; opacity: .7; }
.pre-ring:nth-child(3) { inset: 36%; opacity: .5; }
.pre-sweep {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg,
    rgba(201, 164, 92, .45), rgba(201, 164, 92, .12) 55deg, transparent 70deg);
  will-change: transform;
}
.pre-blip {
  position: absolute;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold-bright);
  opacity: 0;
  transform: scale(.3);
  box-shadow: 0 0 12px rgba(220, 190, 120, .8);
}
.pre-blip.b1 { left: 68%; top: 24%; }
.pre-blip.b2 { left: 26%; top: 60%; }
.pre-blip.b3 { left: 58%; top: 70%; }
.pre-anchor {
  position: absolute; inset: 0;
  margin: auto;
  width: 34px; height: 34px;
  color: var(--gold);
}
.pre-name {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .5em;
  text-indent: .5em;
  color: var(--text-dim);
}
.pre-char { display: inline-block; }

/* ── cursor ────────────────────────────── */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor { display: block; position: fixed; inset: 0; pointer-events: none; z-index: 150; }
  .cursor-dot, .cursor-ring {
    position: absolute; top: 0; left: 0;
    border-radius: 50%;
    transform: translate3d(-100px, -100px, 0);
    will-change: transform;
  }
  .cursor-dot {
    width: 6px; height: 6px;
    background: var(--gold-bright);
    margin: -3px 0 0 -3px;
  }
  .cursor-ring {
    width: 36px; height: 36px;
    border: 1px solid var(--gold-dim);
    margin: -18px 0 0 -18px;
    transition: width .3s var(--ease-out), height .3s var(--ease-out),
                margin .3s var(--ease-out), border-color .3s, background .3s;
  }
  .cursor.is-hover .cursor-ring {
    width: 64px; height: 64px;
    margin: -32px 0 0 -32px;
    border-color: var(--gold);
    background: rgba(201, 164, 92, .08);
  }
  body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; }
}

/* ── header ────────────────────────────── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--pad);
  opacity: 0;
  transition: transform .5s var(--ease-out), background .4s,
              padding .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(6, 9, 15, .72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  padding-top: 12px;
  padding-bottom: 12px;
  border-bottom-color: var(--hair-soft);
}
.header.is-hidden { transform: translateY(-110%); }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
}
.brand-anchor { width: 26px; height: 26px; }
.brand-word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .18em;
  color: var(--text);
}
.header-right { display: flex; align-items: center; gap: 18px; }
.lang {
  display: flex;
  border: 1px solid rgba(234, 228, 214, .18);
  border-radius: 99px;
  padding: 3px;
}
.lang-btn {
  padding: 5px 11px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--text-dim);
  transition: color .25s, background .25s;
}
.lang-btn.is-active { color: var(--ink); background: var(--gold); }

/* ── header nav (якоря по разделам) ────── */
.header-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 30px);
}
.header-nav a {
  position: relative;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 6px 2px;
  transition: color .3s;
  white-space: nowrap;
}
.header-nav a::after {
  content: "";
  position: absolute;
  left: 2px; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transition: right .45s var(--ease-out);
}
.header-nav a:hover { color: var(--gold-bright); }
.header-nav a:hover::after { right: 2px; }
.header-nav a.is-active { color: var(--gold); }
.header-nav a.is-active::after { right: 2px; }

/* ── nav toggle + панель (мобильная) ───── */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(234, 228, 214, .18);
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.nav-toggle-lines {
  position: relative;
  width: 14px; height: 10px;
}
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1.5px;
  background: var(--gold);
  transition: transform .35s var(--ease-out), top .35s var(--ease-out);
}
.nav-toggle-lines::before { top: 1px; }
.nav-toggle-lines::after { top: 8px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines::before { top: 4.5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines::after { top: 4.5px; transform: rotate(-45deg); }
.nav-panel {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  padding: 86px var(--pad) 26px;
  background: rgba(5, 8, 13, .9);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--hair-soft);
  transform: translateY(-102%);
  transition: transform .55s var(--ease-out);
}
.nav-panel.is-open { transform: translateY(0); }
.nav-panel a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 15px 2px;
  border-bottom: 1px solid var(--hair-soft);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  color: var(--text);
  transition: color .3s, padding-left .3s var(--ease-out);
}
.nav-panel a:last-child { border-bottom: 0; }
.nav-panel a:hover, .nav-panel a.is-active { color: var(--gold); padding-left: 10px; }

/* ── buttons ───────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 99px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .06em;
  transition: transform .35s var(--ease-out), background .3s, color .3s, box-shadow .3s;
  will-change: transform;
}
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-bright); box-shadow: 0 8px 30px rgba(201, 164, 92, .3); }
.btn-ink { background: var(--ink-text); color: var(--cream); }
.btn-ink:hover { box-shadow: 0 10px 34px rgba(19, 16, 9, .35); }

/* ── hero ──────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: clamp(12px, 2vw, 22px);
  border: 1px solid var(--hair);
  pointer-events: none;
  z-index: 2;
}
.hero-sea {
  position: fixed; inset: 0;
  width: 100%; height: 100vh;
  height: 100svh;
  display: block;
  z-index: 0;
  pointer-events: none;
}
.hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(6, 9, 15, .45) 0%, transparent 26%, transparent 100%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 var(--pad);
  width: 100%;
}
.hero-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .42em;
  text-indent: .42em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: clamp(14px, 2.4vh, 26px);
  opacity: 0;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 9.6vw, 164px);
  line-height: .95;
  letter-spacing: .01em;
  white-space: nowrap;
  color: var(--text);
  display: flex;
  justify-content: center;
  overflow: hidden;
}
.hero-title .hchar {
  display: inline-block;
  transform: translateY(115%);
  background: linear-gradient(180deg, #f4ecd8 55%, var(--gold) 105%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  will-change: transform;
}
.hero-tag {
  margin-top: clamp(16px, 2.6vh, 28px);
  font-size: clamp(14px, 1.4vw, 18px);
  font-weight: 500;
  color: var(--text-dim);
  text-shadow: 0 2px 18px rgba(6, 9, 15, .8), 0 0 4px rgba(6, 9, 15, .6);
  opacity: 0;
}
.hero-bottom {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 26px var(--pad);
  opacity: 0;
}
.hero-scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .3em;
  text-indent: .3em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.hero-scroll-line {
  width: 1px; height: 44px;
  background: linear-gradient(var(--gold), transparent);
  transform-origin: top;
  animation: scrollPulse 2.2s var(--ease-out) infinite;
}
@keyframes scrollPulse {
  0% { transform: scaleY(0); }
  45% { transform: scaleY(1); }
  100% { transform: scaleY(1); opacity: 0; }
}
.hero-coords {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--text-dim);
}

/* ── manifest ──────────────────────────── */
.manifest {
  position: relative;
}
.manifest::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 42vh;
  background: radial-gradient(ellipse 64% 100% at 50% 0%, rgba(201, 164, 92, .05), transparent 70%);
  pointer-events: none;
}
.manifest-pin {
  position: relative;
  height: 100vh;
  display: grid;
  place-items: center;
  padding: 0 var(--pad);
}
.manifest-line {
  grid-area: 1 / 1;
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: .14em 0 .2em;
  margin: -.14em 0 -.2em;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 4.6vw, 78px);
  line-height: 1.06;
  text-align: center;
  color: var(--text);
  text-shadow: 0 4px 40px rgba(4, 7, 12, .85);
}
.manifest-line span {
  display: inline-block;
  transform: translateY(115%);
  will-change: transform;
}
.manifest-line.is-gold { color: var(--gold); }

/* ── chapters (общее) ──────────────────── */
.chapter {
  position: relative;
  padding: clamp(110px, 17vh, 190px) var(--pad);
}
.chapter-head {
  max-width: 900px;
  margin-bottom: clamp(48px, 8vh, 90px);
  padding-bottom: clamp(28px, 4.5vh, 46px);
  border-bottom: 1px solid var(--hair-soft);
}
.chapter-meta {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 20px;
}
.chapter-num {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 13px;
  color: var(--gold);
}
.chapter-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.chapter-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 5.6vw, 92px);
  line-height: 1.04;
  color: var(--text);
  text-shadow: 0 4px 44px rgba(4, 7, 12, .8);
}
.chapter-title .st-line { display: block; overflow: hidden; padding: .08em 0 .18em; margin: -.08em 0 -.18em; }
.chapter-title .st-inner { display: inline-block; transform: translateY(112%); will-change: transform; }
.chapter-sub {
  margin-top: 18px;
  max-width: 520px;
  font-size: clamp(14px, 1.3vw, 17px);
  color: var(--text-dim);
  text-shadow: 0 2px 22px rgba(4, 7, 12, .8);
}

/* ── route (маршрут по карте) ──────────── */
.sense { padding: 0; }
.sense-pin {
  height: 100vh;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(70px + 3vh) var(--pad) 5vh;
}
.sense-pin .chapter-head {
  flex-shrink: 0;
  margin-bottom: clamp(10px, 2vh, 24px);
  padding-bottom: clamp(16px, 2.6vh, 28px);
}
.sense-pin .chapter-title { font-size: clamp(26px, 3.4vw, 54px); }
.sense-pin .chapter-sub { margin-top: 10px; font-size: clamp(13px, 1.1vw, 15px); }
.sense-pin .route { flex: 1; min-height: 0; margin-top: 0; aspect-ratio: auto; }
@media (max-width: 900px) {
  .sense { padding: clamp(110px, 17vh, 190px) var(--pad); }
  .sense-pin { height: auto; display: block; padding: 0; }
  .sense-pin .route { margin-top: clamp(24px, 6vh, 64px); }
}
body.is-static .sense { padding: clamp(110px, 17vh, 190px) var(--pad); }
body.is-static .sense-pin { height: auto; display: block; padding: 0; }
body.is-static .sense-pin .route { margin-top: clamp(24px, 6vh, 64px); }

.route {
  position: relative;
  margin-top: clamp(24px, 6vh, 64px);
  aspect-ratio: 1200 / 480;
}
.route-map {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.route-path-base {
  stroke: rgba(234, 228, 214, .26);
  stroke-width: 2;
  stroke-dasharray: 1 9;
  stroke-linecap: round;
}
.route-path-draw {
  stroke: var(--gold);
  stroke-width: 3.5;
  stroke-linecap: round;
  filter: drop-shadow(0 0 6px rgba(201, 164, 92, .45));
}
.route-stops { position: absolute; inset: 0; }
.route-stop { position: absolute; width: 0; height: 0; }
.route-stop-dot {
  position: absolute; left: 0; top: 0;
  width: 9px; height: 9px;
  margin: -4.5px;
  border-radius: 50%;
  background: var(--gold-dim);
  transition: background .5s, box-shadow .5s;
}
.route-stop.is-active .route-stop-dot {
  background: var(--gold-bright);
  box-shadow: 0 0 0 7px rgba(201, 164, 92, .14);
}
.route-stop-card {
  position: absolute; left: 0;
  width: clamp(170px, 18vw, 240px);
  padding: 15px 17px;
  border-radius: 16px;
  background: rgba(7, 11, 18, .72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--hair);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .32);
  opacity: 0;
  transform: translate(calc(-50% + var(--dx, 0vw)), 10px);
  transition: opacity .55s var(--ease-out), transform .55s var(--ease-out);
}
.route-stop.is-up .route-stop-card { bottom: 28px; }
.route-stop.is-down .route-stop-card { top: 28px; }
.route-stop.is-active .route-stop-card { opacity: 1; transform: translate(calc(-50% + var(--dx, 0vw)), 0); }
.route-stop-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 12px;
  color: var(--gold);
  margin-bottom: 10px;
}
.route-stop-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(15px, 1.5vw, 20px);
  line-height: 1.2;
  margin-bottom: 8px;
}
.route-stop-sub {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
}
/* stacked fallback (mobile / reduced) */
.route.is-stacked { aspect-ratio: auto; }
.route.is-stacked .route-map { display: none; }
.route.is-stacked .route-stops {
  position: static;
  display: grid;
  gap: 1px;
  background: var(--hair);
  border: 1px solid var(--hair);
}
.route.is-stacked .route-stop { position: static; width: auto; height: auto; }
.route.is-stacked .route-stop-dot { display: none; }
.route.is-stacked .route-stop-card {
  position: static;
  width: auto;
  opacity: 1;
  transform: none;
  padding: clamp(22px, 4vw, 34px);
  background: var(--ink);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* ── gallery (кинозал: плавная смена кадров) ── */
.gallery { padding-bottom: clamp(50px, 9vh, 100px); }
.g-stage {
  position: relative;
  height: 100vh;
  height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.g-viewport {
  position: relative;
  width: min(1160px, 90vw, calc((100vh - 170px) * 1.58));
  width: min(1160px, 90vw, calc((100svh - 170px) * 1.58));
  aspect-ratio: 158 / 100;
}
.g-slide {
  position: absolute;
  inset: 0;
  border-radius: 22px;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  will-change: transform, opacity;
  box-shadow: 0 40px 90px rgba(0, 0, 0, .35);
  border: 1px solid rgba(234, 228, 214, .08);
}
.g-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  will-change: transform;
}
.g-hud {
  width: min(1160px, 90vw, calc((100vh - 170px) * 1.58));
  width: min(1160px, 90vw, calc((100svh - 170px) * 1.58));
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.g-count {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 13px;
  color: var(--text-dim);
  letter-spacing: .12em;
}
.g-count b { color: var(--gold); font-weight: 600; }
.g-count i { font-style: normal; margin: 0 7px; opacity: .5; }
.g-ticks { display: flex; gap: 7px; }
.g-tick {
  width: 26px; height: 2px;
  background: rgba(234, 228, 214, .16);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
  transition: background .4s;
}
.g-tick.is-on { background: var(--gold); }
.g-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 18px;
  align-items: baseline;
  padding: clamp(60px, 10vh, 110px) clamp(24px, 3.4vw, 48px) clamp(24px, 4vh, 40px);
  background: linear-gradient(to top, rgba(4, 6, 10, .85) 0%, rgba(4, 6, 10, .32) 55%, transparent 100%);
}
.g-cap-num {
  grid-row: 1 / 3;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 13px;
  color: var(--gold);
}
.g-cap-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(22px, 2.6vw, 36px);
}
.g-cap-sub {
  margin-top: 8px;
  max-width: 480px;
  font-size: 14.5px;
  color: rgba(234, 228, 214, .75);
}

/* ── prices ────────────────────────────── */
.price-list { border-top: 1px solid var(--hair); }
.price-row {
  border-bottom: 1px solid var(--hair);
  transition: background .4s var(--ease-out);
}
.price-row:hover { background: rgba(234, 228, 214, .018); }
.price-head {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
  padding: clamp(22px, 3.4vh, 34px) 10px;
  text-align: left;
  transition: padding-left .4s var(--ease-out);
}
.price-row:hover .price-head, .price-row.is-open .price-head { padding-left: 22px; }
.price-name-wrap { display: flex; flex-direction: column; gap: 5px; }
.price-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(19px, 2.4vw, 32px);
  line-height: 1.15;
  color: var(--text);
  transition: color .3s;
}
.price-row:hover .price-name { color: var(--gold-bright); }
.price-teaser { font-size: 14px; color: var(--text-dim); }
.price-value {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(24px, 3vw, 42px);
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.price-detail {
  height: 0;
  overflow: hidden;
}
.price-detail-inner {
  padding: 0 0 30px 22px;
  max-width: 560px;
  font-size: 14.5px;
  color: var(--text-dim);
}
.price-expand {
  display: inline-block;
  margin-top: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── crew ──────────────────────────────── */
.crew-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 2.6vw, 40px);
}
@media (max-width: 1200px) {
  .crew-grid { grid-template-columns: repeat(2, 1fr); }
}
.crew-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--ink-2);
  transform-style: preserve-3d;
  will-change: transform;
  transition: box-shadow .5s var(--ease-out);
}
.crew-card:hover { box-shadow: 0 22px 60px rgba(0, 0, 0, .5), 0 0 0 1px rgba(201, 164, 92, .22); }
.crew-card-frame {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}
.crew-card-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease-out);
}
.crew-card:hover .crew-card-frame img { transform: scale(1.05); }
.crew-card-frame::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6, 9, 15, .85) 0%, transparent 45%);
}
.crew-card-ph {
  position: absolute; inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink-3);
}
.crew-card-ph span {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--gold);
  font-size: clamp(48px, 5vw, 84px);
  opacity: .85;
}
.crew-card-info {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 22px;
  z-index: 2;
}
.crew-card-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(17px, 1.7vw, 23px);
  line-height: 1.2;
}
.crew-card-role {
  margin-top: 5px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--gold);
}
.crew-card-note {
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--text-dim);
}
.crew-card.is-join {
  border: 1px dashed var(--gold-dim);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
}
.crew-join-inner { padding: 34px; text-align: center; }
.crew-join-anchor {
  width: 40px; height: 40px;
  margin: 0 auto 20px;
  color: var(--gold);
  opacity: .8;
}
.crew-join-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(18px, 1.9vw, 26px);
}
.crew-join-role {
  margin-top: 5px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--gold);
}
.crew-join-note {
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--text-dim);
}

/* ── harbor (карта + контакты) ─────────── */
.harbor-grid {
  display: grid;
  grid-template-columns: minmax(300px, .85fr) 1.35fr;
  gap: clamp(28px, 4.5vw, 72px);
  align-items: stretch;
}
.harbor-info { display: flex; flex-direction: column; }
.harbor-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 22px;
  padding: 19px 2px;
  border-bottom: 1px solid var(--hair-soft);
}
.harbor-row:first-child { border-top: 1px solid var(--hair-soft); }
.harbor-label {
  flex-shrink: 0;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
}
.harbor-value {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text);
  text-align: right;
  transition: color .25s;
}
a.harbor-value:hover { color: var(--gold-bright); }
.harbor-social { display: flex; gap: 18px; }
.harbor-social a { transition: color .25s; }
.harbor-social a:hover { color: var(--gold-bright); }
.harbor-cta { margin-top: auto; align-self: flex-start; padding: 14px 30px; }
.harbor-row:nth-last-of-type(1) { margin-bottom: 34px; }
.harbor-map {
  position: relative;
  min-height: 460px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--gold-dim);
  box-shadow: 0 34px 80px rgba(0, 0, 0, .48);
  background: var(--ink-2);
}
.harbor-map iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: 0;
  filter: grayscale(.3) invert(.92) hue-rotate(185deg) contrast(.86) brightness(.92) saturate(.72);
}
.harbor-map-frame {
  position: absolute; inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(201, 164, 92, .12),
              inset 0 -70px 90px rgba(4, 7, 12, .35);
  border-radius: inherit;
}

/* ── booking ───────────────────────────── */
.booking {
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, var(--ink-2) 0%, var(--ink) 100%);
  color: var(--text);
  border-radius: clamp(26px, 4.5vw, 60px) clamp(26px, 4.5vw, 60px) 0 0;
  margin-top: -40px;
  padding: clamp(100px, 16vh, 190px) var(--pad);
  text-align: center;
  box-shadow: 0 -1px 0 var(--gold-dim), 0 -30px 80px rgba(0, 0, 0, .35);
}
.booking-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .4em;
  text-indent: .4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}
.booking-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 5.4vw, 88px);
  line-height: 1.06;
  max-width: 1000px;
  margin: 0 auto;
  color: var(--text);
}
.booking-title .st-line { display: block; overflow: hidden; padding: .08em 0 .18em; margin: -.08em 0 -.18em; }
.booking-title .st-inner { display: inline-block; transform: translateY(112%); will-change: transform; }
.booking-actions {
  margin-top: clamp(34px, 5vh, 54px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  flex-wrap: wrap;
}
.booking-cta { padding: 17px 38px; font-size: 14px; }
.booking-phone {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(16px, 1.7vw, 22px);
  color: var(--text);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.booking-phone:hover { border-color: var(--gold); }
.booking-note {
  margin-top: 26px;
  font-size: 14px;
  color: var(--text-dim);
}

/* ── footer ────────────────────────────── */
.footer {
  position: relative;
  padding: clamp(60px, 9vh, 110px) var(--pad) 26px;
  overflow: hidden;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  max-width: 900px;
  margin-bottom: clamp(50px, 9vh, 110px);
}
.footer-col { display: flex; flex-direction: column; gap: 9px; }
.footer-label {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.footer-link {
  font-size: 14.5px;
  color: var(--text-dim);
  transition: color .25s;
  width: fit-content;
}
.footer-link:hover { color: var(--gold-bright); }
.footer-text { font-size: 14.5px; color: var(--text-dim); }
.footer-giant {
  overflow: hidden;
  text-align: center;
  user-select: none;
}
.footer-giant span {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 11.4vw;
  line-height: .9;
  letter-spacing: .01em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201, 164, 92, .3);
  transform: translateY(30%);
  will-change: transform;
  transition: color .6s;
}
.footer-giant:hover span { color: rgba(201, 164, 92, .1); }
.footer-base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--hair);
  font-size: 12px;
  color: var(--text-dim);
}

/* ── responsive ────────────────────────── */
@media (max-width: 1100px) {
  .header-nav { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 900px) {
  .crew-grid { grid-template-columns: 1fr; max-width: 460px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .harbor-grid { grid-template-columns: 1fr; }
  .harbor-map { min-height: 380px; }
  .harbor-cta { margin-top: 0; }
}
@media (max-width: 640px) {
  .header { padding: 14px 16px; }
  .brand-word { display: none; }
  .header-right { gap: 8px; }
  .header-cta { padding: 9px 16px; font-size: 11.5px; }
  .lang { padding: 3px; gap: 2px; }
  .lang-btn { padding: 6px 9px; font-size: 11px; }
  .hero-title { font-size: clamp(30px, 9.2vw, 60px); }
  .hero-tag { font-size: 13.5px; padding: 0 24px; }
  .hero-coords { display: none; }
  .manifest-line { font-size: clamp(23px, 7.4vw, 40px); }
  .chapter { padding: clamp(84px, 12vh, 130px) var(--pad); }
  .chapter-head { margin-bottom: clamp(34px, 6vh, 54px); padding-bottom: 22px; }
  .g-stage { height: auto; display: block; }
  .g-viewport { width: 100%; aspect-ratio: auto; }
  .g-hud { display: none; }
  .g-cap { padding: clamp(48px, 8vh, 72px) 20px 22px; }
  .price-head { padding-left: 0; padding-right: 0; gap: 14px; }
  .price-detail-inner { padding-left: 0; }
  .crew-card-info { padding: 18px; }
  .harbor-map { min-height: 340px; }
  .harbor-value { font-size: 14.5px; }
  .booking { padding: clamp(84px, 13vh, 130px) var(--pad); }
  .booking-actions { flex-direction: column; gap: 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-giant span { font-size: 12.8vw; }
}

/* ── reduced motion ────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .grain, .hero-scroll-line { animation: none; }
  .hero-title .hchar,
  .manifest-line span,
  .chapter-title .st-inner,
  .booking-title .st-inner { transform: none !important; }
  .hero-kicker, .hero-tag, .hero-bottom, .header { opacity: 1 !important; }
}

/* ── static gallery (mobile / reduced) ─── */
body.is-static .g-stage { height: auto; display: block; }
body.is-static .g-viewport { width: 100%; aspect-ratio: auto; }
body.is-static .g-hud { display: none; }
body.is-static .g-slide {
  position: relative;
  inset: auto;
  visibility: visible;
  opacity: 1;
  height: 62vh;
  margin-bottom: 22px;
  border-radius: 18px;
}
body.is-static .g-slide:last-child { margin-bottom: 0; }

/* ── static manifest: строки стопкой, без пина ── */
body.is-static .manifest-pin {
  height: auto;
  display: block;
  padding: clamp(96px, 15vh, 150px) var(--pad);
}
body.is-static .manifest-line {
  display: block;
  margin: 0 0 .6em;
}
body.is-static .manifest-line:last-child { margin-bottom: 0; }
body.is-static .manifest-line span { transform: none; }


/* ── no-intro: повторный заход за сессию — без анимаций появления ── */
.no-intro .preloader { display: none !important; }
.no-intro .hero-title .hchar,
.no-intro .manifest-line span,
.no-intro .chapter-title .st-inner,
.no-intro .booking-title .st-inner,
.no-intro .footer-giant span { transform: none !important; }
.no-intro .hero-kicker, .no-intro .hero-tag, .no-intro .hero-bottom, .no-intro .header { opacity: 1 !important; }
.no-intro .route-stop-card { opacity: 1 !important; }
