/* ============================================================
   «Камчатка» — бутик-отель у вулканов
   Аустерити-кинематограф: базальт, медь, парусина.
   Дисплей: Unbounded · текст: PT Serif · микро-labels: Manrope
   ============================================================ */

:root {
  --ink: #12141a;
  --ink-2: #171a22;
  --cloth: #e9e6e0;
  --cloth-dim: rgba(233, 230, 224, 0.62);
  --sail: #3f6f80;
  --sail-soft: rgba(63, 111, 128, 0.5);
  --copper: #b0713c;
  --copper-soft: rgba(176, 113, 60, 0.45);
  --hair: rgba(233, 230, 224, 0.14);
  --hair-strong: rgba(233, 230, 224, 0.3);
  --font-display: 'Unbounded', 'Manrope', sans-serif;
  --font-body: 'PT Serif', Georgia, serif;
  --font-micro: 'Manrope', sans-serif;
  --gut: clamp(1.25rem, 4vw, 3.5rem);
  --ease-slow: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--cloth);
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.05vw, 1.09rem);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

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

:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
}

h1, h2, h3 { margin: 0; font-weight: 600; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

/* ---------- shared micro type ---------- */
.mono,
.sec-num {
  font-family: var(--font-micro);
  font-weight: 300;
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.sec-num { color: var(--copper); margin-bottom: 1.4rem; }

/* ---------- photo system: «проявка» ---------- */
.photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: var(--ar, 3 / 2);
  background:
    radial-gradient(120% 90% at 80% 0%, var(--ph-b, #3f6f80) 0%, transparent 55%),
    linear-gradient(165deg, var(--ph-a, #1b2029) 0%, #14161c 70%);
  border: 1px solid var(--hair);
}

.photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(115deg, transparent 0 26px, rgba(233, 230, 224, 0.03) 26px 27px),
    radial-gradient(70% 45% at 18% 88%, rgba(176, 113, 60, 0.22), transparent 70%);
  pointer-events: none;
}

.photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.35s linear;
}

.photo img.noimg { opacity: 0; }

.photo__no {
  position: absolute;
  top: 0.9rem;
  left: 1rem;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--cloth);
  background: rgba(18, 20, 26, 0.55);
  border: 1px solid var(--hair);
  padding: 0.3rem 0.6rem;
}

.photo--bare { border: 0; }

/* «проявление фото»: blur + exposure */
[data-develop] img {
  filter: blur(26px) brightness(1.5) saturate(0.35);
  opacity: 0;
  transform: scale(1.07);
  transition:
    filter 1.7s var(--ease-slow),
    transform 2.1s var(--ease-slow),
    opacity 1.2s ease;
}

[data-develop].in img:not(.noimg) {
  filter: none;
  opacity: 1;
  transform: scale(1);
}

[data-develop].in img.noimg { opacity: 0; }

/* ---------- generic scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(7px);
  transition:
    opacity 0.75s var(--ease-slow),
    transform 0.75s var(--ease-slow),
    filter 0.75s var(--ease-slow);
}

[data-reveal].in {
  opacity: 1;
  transform: none;
  filter: none;
}

/* ---------- header rail ---------- */
.rail {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding: 1.5rem var(--gut);
  transition: padding 0.4s ease, background 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}

.rail.is-scrolled {
  padding: 0.7rem var(--gut);
  background: rgba(18, 20, 26, 0.88);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--hair);
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-right: auto;
}

.brand__mark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.28em;
}

.brand__sub {
  font-family: var(--font-micro);
  font-weight: 300;
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cloth-dim);
}

.rail__nav {
  display: flex;
  gap: 1.9rem;
}

.rail__nav a {
  font-family: var(--font-micro);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cloth-dim);
  padding: 0.2rem 0;
  position: relative;
  transition: color 0.3s ease;
}

.rail__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 100%;
  height: 1px;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-slow);
}

.rail__nav a:hover,
.rail__nav a:focus-visible { color: var(--cloth); }
.rail__nav a:hover::after { transform: scaleX(1); }

.rail__cta {
  font-family: var(--font-micro);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--cloth);
  padding: 0.75rem 1.35rem;
  transition: background 0.3s ease, color 0.3s ease, letter-spacing 0.3s ease;
}

.rail__cta:hover,
.rail__cta:focus-visible {
  background: var(--copper);
  color: var(--cloth);
  letter-spacing: 0.26em;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: 0;
  padding: 0.6rem;
  cursor: pointer;
}

.burger span {
  width: 26px;
  height: 1.5px;
  background: var(--cloth);
  transition: transform 0.35s var(--ease-slow);
}

.burger[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3rem;
  padding: 6rem var(--gut) 4rem;
  background: rgba(18, 20, 26, 0.97);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0.45s;
}

.mobile-menu.is-open { opacity: 1; visibility: visible; }

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.mobile-menu a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 7vw, 2.5rem);
  letter-spacing: -0.01em;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--hair);
  transition: color 0.3s ease, padding-left 0.3s ease;
}

.mobile-menu a:hover { color: var(--copper); padding-left: 0.6rem; }

.mobile-menu__phone {
  font-family: var(--font-micro);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--cloth-dim);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 7rem var(--gut) 2.2rem;
  overflow: hidden;
  isolation: isolate;
}

.hero__frame {
  position: absolute;
  inset: 0;
  z-index: -2;
  --ar: auto;
  aspect-ratio: auto;
  border: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(18, 20, 26, 0.55) 0%, rgba(18, 20, 26, 0.1) 34%, rgba(18, 20, 26, 0.88) 82%),
    radial-gradient(90% 60% at 8% 100%, rgba(63, 111, 128, 0.25), transparent 60%);
}

.hero__ash {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero__grain {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.055;
  background-image: repeating-linear-gradient(0deg, rgba(233, 230, 224, 0.6) 0 1px, transparent 1px 3px);
  mix-blend-mode: overlay;
}

/* fog: layered blurred bands drifting over the photo */
.fog {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0;
  animation: fog-drift 46s linear infinite;
}

.fog--1 {
  width: 70%;
  height: 34%;
  left: -20%;
  bottom: 12%;
  background: radial-gradient(closest-side, rgba(233, 230, 224, 0.34), transparent 70%);
  animation-duration: 52s;
  animation-delay: -6s;
}

.fog--2 {
  width: 85%;
  height: 26%;
  right: -25%;
  bottom: 38%;
  background: radial-gradient(closest-side, rgba(190, 205, 212, 0.24), transparent 72%);
  animation-duration: 68s;
  animation-direction: reverse;
  animation-delay: -20s;
}

.fog--3 {
  width: 60%;
  height: 18%;
  left: 12%;
  bottom: 64%;
  background: radial-gradient(closest-side, rgba(176, 113, 60, 0.13), transparent 70%);
  animation-duration: 80s;
  animation-delay: -44s;
}

@keyframes fog-drift {
  0%, 100% { transform: translate3d(-6%, 2%, 0) scale(1); opacity: 0.5; }
  35% { transform: translate3d(8%, -2%, 0) scale(1.08); opacity: 0.85; }
  65% { transform: translate3d(2%, 1%, 0) scale(0.96); opacity: 0.65; }
}

.hero__body {
  position: relative;
  z-index: 2;
  max-width: 46rem;
}

.hero__kicker {
  color: var(--copper);
  font-family: var(--font-micro);
  font-weight: 400;
  font-size: 0.74rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.hero__title {
  font-size: clamp(3.4rem, 10.5vw, 9.5rem);
  line-height: 0.94;
  letter-spacing: -0.025em;
  margin-bottom: 1.6rem;
}

.hero__title .w {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
}

.hero__title .w[data-reveal] { transition-delay: 0.12s; }

.hero__title-thin {
  font-family: var(--font-body) !important;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(1.15rem, 2.6vw, 1.9rem);
  letter-spacing: 0.02em;
  line-height: 1.3;
  color: var(--cloth-dim);
  margin-top: 0.9rem;
}

.hero__title-thin[data-reveal] { transition-delay: 0.3s; }

.hero__lead {
  font-size: clamp(0.98rem, 1.3vw, 1.1rem);
  color: rgba(233, 230, 224, 0.78);
  max-width: 40rem;
  border-left: 2px solid var(--copper);
  padding-left: 1.3rem;
  transition-delay: 0.42s;
}

.hero__strip {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem clamp(1.5rem, 3.6vw, 3.6rem);
  margin-top: 3.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--hair);
  transition-delay: 0.55s;
}

.cond {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  font-family: var(--font-micro);
  font-weight: 400;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.cond i {
  font-style: normal;
  font-size: 0.62rem;
  font-weight: 300;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sail);
}

.cond--last { color: var(--cloth-dim); font-size: 0.74rem; }

.hero__cue {
  position: absolute;
  right: var(--gut);
  bottom: 2.2rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-micro);
  font-weight: 300;
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cloth-dim);
}

.hero__cue span {
  width: 42px;
  height: 1px;
  background: var(--copper);
  position: relative;
  overflow: hidden;
}

.hero__cue span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--cloth);
  animation: cue-slide 2.6s var(--ease-slow) infinite;
}

@keyframes cue-slide {
  0% { transform: translateX(-100%); }
  60% { transform: translateX(100%); }
  100% { transform: translateX(100%); }
}

/* ---------- 01 manifest ---------- */
.manifest {
  padding: clamp(6rem, 13vh, 10rem) var(--gut);
  border-top: 1px solid var(--hair);
}

.manifest__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  max-width: 84rem;
}

.manifest__big {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 3.6vw, 3.15rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
}

.manifest__big em {
  font-style: normal;
  color: var(--copper);
}

.manifest__text p { color: rgba(233, 230, 224, 0.8); margin-bottom: 1.3rem; }

.manifest__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.6rem 2rem;
  margin-top: 2.6rem;
  border-top: 1px solid var(--hair);
  padding-top: 2rem;
}

.manifest__stats li { display: flex; flex-direction: column; }

.manifest__stats b {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.1rem, 4.5vw, 3.3rem);
  line-height: 1;
  color: var(--cloth);
}

.manifest__stats span {
  margin-top: 0.5rem;
  font-family: var(--font-micro);
  font-size: 0.68rem;
  font-weight: 300;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cloth-dim);
}

/* ---------- 02 pinned horizontal rooms ---------- */
.hpin { position: relative; }

.hpin__sticky {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(1.5rem, 3vh, 2.6rem);
  padding: 6.5rem clamp(1.25rem, 5vw, 4.5rem) 2.2rem;
}

.hpin__head { max-width: 44rem; }

.hpin__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.6rem, 3.4vw, 3rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.hpin__hint {
  margin-top: 0.9rem;
  font-family: var(--font-micro);
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sail);
}

.track {
  display: flex;
  gap: clamp(1.4rem, 2.6vw, 2.8rem);
  width: max-content;
  padding: 0.2rem 0 0.8rem;
}

/* mobile default: native horizontal scroll with snap */
.hscroll {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  padding-right: clamp(1.25rem, 5vw, 4.5rem);
}

.hscroll::-webkit-scrollbar { display: none; }

.room {
  flex: 0 0 min(430px, 76vw);
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  background: var(--ink-2);
  border: 1px solid var(--hair);
  padding: 1.15rem 1.3rem 1.4rem;
  transition: border-color 0.4s ease, background 0.4s ease, transform 0.5s var(--ease-slow);
}

.room:hover {
  border-color: var(--copper-soft);
  background: #1a1e27;
  transform: translateY(-4px);
}

.room__photo { --ar: 3 / 2; margin-bottom: 1.2rem; }

.room__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

.room__meta {
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(233, 230, 224, 0.72);
  min-height: 3.6em;
}

.room__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.9rem 0 1.1rem;
}

.room__chips span {
  font-family: var(--font-micro);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cloth-dim);
  border: 1px solid var(--hair);
  padding: 0.28rem 0.6rem;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.room:hover .room__chips span { border-color: var(--sail-soft); color: #a7c4cc; }

.room__price {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--hair);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--copper);
}

.room__price s {
  font-family: var(--font-micro);
  font-weight: 300;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cloth-dim);
  text-decoration: none;
}

.hpin__meter {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  justify-content: flex-end;
}

.hpin__count {
  font-family: var(--font-micro);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.24em;
  color: var(--cloth-dim);
}

.hpin__bar {
  position: relative;
  width: min(240px, 34vw);
  height: 2px;
  background: var(--hair);
}

.hpin__bar i {
  position: absolute;
  inset: 0;
  background: var(--copper);
  transform-origin: left;
  transform: scaleX(var(--p, 0));
  transition: transform 0.25s ease-out;
}

/* desktop pinned mode (JS adds .is-pinned) */
@media (min-width: 901px) {
  .hpin.is-pinned .hpin__sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    padding-top: 5.4rem;
    padding-bottom: 1.4rem;
    gap: 1.1rem;
  }

  .hpin.is-pinned .hscroll {
    overflow: hidden;
    scroll-snap-type: none;
    padding-right: 0;
  }

  .hpin.is-pinned .track {
    will-change: transform;
    padding-right: clamp(1.25rem, 5vw, 4.5rem);
  }

  .hpin.is-pinned .room { flex-basis: min(430px, 33vw); }

  .hpin.is-pinned .room__photo { --ar: 16 / 9; margin-bottom: 0.9rem; }

  .hpin.is-pinned .room__name { font-size: 1.15rem; margin-bottom: 0.35rem; }

  .hpin.is-pinned .room__meta { min-height: 0; font-size: 0.85rem; }

  .hpin.is-pinned .room__chips { margin: 0.6rem 0 0.75rem; }

  .hpin.is-pinned .room__price { padding-top: 0.7rem; font-size: 0.95rem; }
}

/* ---------- 03 climate + temperature band ---------- */
.climate {
  padding: clamp(6rem, 14vh, 11rem) var(--gut);
  border-top: 1px solid var(--hair);
  background:
    radial-gradient(80% 55% at 85% 100%, rgba(63, 111, 128, 0.12), transparent 60%),
    linear-gradient(180deg, #101319 0%, var(--ink) 100%);
}

.climate__inner { max-width: 84rem; }

.climate__h {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 4.4vw, 3.6rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: clamp(3rem, 7vh, 5rem);
}

.band {
  position: relative;
  height: 7px;
  background: rgba(233, 230, 224, 0.07);
  margin-bottom: 8.5rem;
}

.band__fill {
  position: absolute;
  inset: 0;
  transform-origin: left;
  transform: scaleX(0);
  background: linear-gradient(90deg, #3f6f80 0%, #6f95a1 26%, #b9b2a2 55%, #b0713c 80%, #e09a55 100%);
  transition: transform 1.6s var(--ease-slow);
}

.band.in .band__fill { transform: scaleX(1); }

.band__ticks {
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  height: 1px;
}

.band__ticks span {
  position: absolute;
  top: 0;
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  color: var(--cloth);
}

.band__ticks span::before {
  content: "";
  width: 1px;
  height: 26px;
  background: var(--hair-strong);
  margin-bottom: 12px;
}

.band__ticks span:nth-child(1) { transform: translateX(0); }
.band__ticks span:nth-child(1)::before { margin-left: 0; }
.band__ticks span:nth-child(4) { transform: translateX(-100%); }
.band__ticks span:nth-child(2), .band__ticks span:nth-child(3) { transform: translateX(-50%); }
.band__ticks span:nth-child(2)::before, .band__ticks span:nth-child(3)::before { margin-left: 50%; }
.band__ticks span:nth-child(4)::before { align-self: flex-end; }

.band__ticks i {
  font-style: normal;
  margin-top: 0.3rem;
  font-family: var(--font-micro);
  font-weight: 300;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cloth-dim);
}

.climate__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4.5rem);
}

.climate__cols h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 0.9rem;
  color: var(--sail);
}

.climate__cols p { color: rgba(233, 230, 224, 0.74); font-size: 0.95rem; }

/* ---------- photo pass band ---------- */
.pass {
  position: relative;
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
}

.pass__frame { --ar: 21 / 9; }

.pass__frame::before { animation: pass-pan 34s ease-in-out infinite alternate; }

@keyframes pass-pan {
  from { transform: scale(1.02) translateX(-1%); }
  to { transform: scale(1.1) translateX(1.5%); }
}

.pass__cap {
  padding: 1rem var(--gut) 1.4rem;
  font-family: var(--font-micro);
  font-weight: 300;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cloth-dim);
  background: var(--ink);
  text-align: right;
}

/* ---------- 04 routes ---------- */
.routes { padding: clamp(6rem, 13vh, 10rem) var(--gut); }

.routes__inner { max-width: 84rem; }

.routes__h {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 4.4vw, 3.6rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: clamp(2.6rem, 6vh, 4rem);
}

.routes__list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  align-items: baseline;
  gap: 1rem clamp(1.2rem, 3vw, 3rem);
  padding: 1.6rem 0;
  border-top: 1px solid var(--hair);
  transition: border-color 0.35s ease;
}

.routes__list li:last-child { border-bottom: 1px solid var(--hair); }

.routes__list li:hover { border-color: var(--copper-soft); }

.routes__name {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1rem, 1.7vw, 1.3rem);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.routes__name em {
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--cloth-dim);
  max-width: 46ch;
}

.routes__dur,
.routes__sea {
  font-family: var(--font-micro);
  font-weight: 300;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sail);
  white-space: nowrap;
}

.routes__sea { color: var(--cloth-dim); min-width: 10.5em; }

.routes__pr {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--copper);
  white-space: nowrap;
  min-width: 7em;
  text-align: right;
}

.routes__note {
  margin-top: 2rem;
  padding-left: 1.2rem;
  border-left: 2px solid var(--sail);
  color: rgba(233, 230, 224, 0.68);
  font-size: 0.92rem;
  max-width: 52ch;
}

/* ---------- 05 taste ---------- */
.taste {
  padding: clamp(6rem, 13vh, 10rem) var(--gut);
  background: linear-gradient(180deg, var(--ink) 0%, #14171e 100%);
}

.taste__inner {
  max-width: 84rem;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 6rem);
}

.taste__inner > .sec-num { grid-column: 1 / -1; }

.taste__h {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1.4rem;
}

.taste__desc { color: var(--cloth-dim); font-size: 0.95rem; max-width: 36ch; }

.taste__board {
  border: 1px solid var(--hair);
  padding: clamp(1.6rem, 4vw, 3rem);
  background: rgba(18, 20, 26, 0.5);
}

.taste__board-h {
  font-family: var(--font-micro);
  font-weight: 400;
  font-size: 0.74rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--copper);
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--hair);
  margin-bottom: 1.4rem;
}

.taste__menu li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.4rem;
  padding: 0.75rem 0;
  font-size: 0.95rem;
  border-bottom: 1px dotted rgba(233, 230, 224, 0.18);
}

.taste__menu li:last-child { border-bottom: 0; }

.taste__menu b {
  font-family: var(--font-micro);
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--cloth-dim);
  white-space: nowrap;
  transition: color 0.3s ease;
}

.taste__menu li:hover b { color: var(--copper); }

.taste__fine {
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--hair);
  font-family: var(--font-micro);
  font-weight: 300;
  font-size: 0.72rem;
  line-height: 1.8;
  letter-spacing: 0.06em;
  color: var(--cloth-dim);
}

/* ---------- 06 voices ---------- */
.voices {
  padding: clamp(6rem, 13vh, 10rem) var(--gut);
  border-top: 1px solid var(--hair);
}

.voices > * { max-width: 84rem; }

.voices__h {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 3.2vw, 2.6rem);
  letter-spacing: -0.02em;
  margin-bottom: clamp(3rem, 7vh, 5rem);
}

.voices__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 4rem);
}

.voices blockquote {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.voices blockquote:nth-child(2) { margin-top: 3.4rem; }
.voices blockquote:nth-child(3) { margin-top: 6.8rem; }

.voices blockquote p {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(233, 230, 224, 0.82);
  padding-left: 1.2rem;
  border-left: 2px solid var(--sail);
  transition: border-color 0.4s ease;
}

.voices blockquote:hover p { border-color: var(--copper); }

.voices footer { display: flex; flex-direction: column; gap: 0.15rem; padding-left: 1.2rem; }

.voices footer b {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: -0.01em;
}

.voices footer span {
  font-family: var(--font-micro);
  font-weight: 300;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cloth-dim);
}

/* ---------- 07 contacts ---------- */
.contacts {
  padding: clamp(5rem, 11vh, 9rem) var(--gut) clamp(4rem, 9vh, 7rem);
  border-top: 1px solid var(--hair);
  background: #101319;
}

.contacts__h {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.6rem, 3.6vw, 2.9rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: clamp(2.6rem, 6vh, 4rem);
}

.contacts__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4.5rem);
  max-width: 84rem;
}

.contacts__grid h3 {
  font-family: var(--font-micro);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 1rem;
}

.contacts__grid p { margin-bottom: 0.9rem; color: rgba(233, 230, 224, 0.8); font-size: 0.95rem; }

.contacts__grid .mono { color: var(--cloth-dim); font-size: 0.72rem; line-height: 1.9; }

.lnk {
  border-bottom: 1px solid var(--hair-strong);
  transition: color 0.3s ease, border-color 0.3s ease;
}

.lnk:hover,
.lnk:focus-visible { color: var(--copper); border-color: var(--copper); }

/* ---------- footer ---------- */
.foot {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: clamp(3rem, 7vh, 5rem);
  padding: 12rem var(--gut) 2rem;
  border-top: 1px solid var(--hair);
  background:
    radial-gradient(70% 40% at 50% 100%, rgba(63, 111, 128, 0.1), transparent 70%),
    var(--ink);
}

.foot__top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: clamp(3rem, 7vh, 5rem);
  border-bottom: 1px solid var(--hair);
}

.foot__top .sec-num { margin-bottom: 1rem; }

.foot__phone {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  letter-spacing: -0.01em;
  margin-bottom: 0.8rem;
  transition: color 0.3s ease;
}

.foot__phone:hover { color: var(--copper); }

.foot__note { color: var(--cloth-dim); font-size: 0.9rem; max-width: 34ch; }

.foot__nav {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.foot__nav a {
  font-family: var(--font-micro);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cloth-dim);
  width: fit-content;
  transition: color 0.3s ease, transform 0.3s var(--ease-slow);
}

.foot__nav a:hover { color: var(--copper); transform: translateX(6px); }

.foot__sched h3 {
  font-family: var(--font-micro);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sail);
  margin-bottom: 1rem;
}

.foot__sched p {
  color: var(--cloth-dim);
  font-size: 0.9rem;
  margin-bottom: 0.7rem;
  max-width: 36ch;
}

.foot__word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.6rem, 10.5vw, 8.5rem);
  letter-spacing: 0.02em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(233, 230, 224, 0.18);
  text-align: center;
  user-select: none;
}

.foot__cols {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
  font-family: var(--font-micro);
  font-weight: 300;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--cloth-dim);
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .manifest__grid,
  .taste__inner { grid-template-columns: minmax(0, 1fr); }
  .climate__cols,
  .voices__grid,
  .contacts__grid { grid-template-columns: 1fr 1fr; }
  .voices blockquote:nth-child(3) { grid-column: 1 / -1; margin-top: 1rem; }
  .voices blockquote:nth-child(2) { margin-top: 0; }
}

@media (max-width: 900px) {
  .rail__nav, .rail__cta { display: none; }
  .burger { display: flex; }
  .foot__top { grid-template-columns: minmax(0, 1fr); }
  .foot__nav { display: none; }
  .routes__list li { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name name" "sea pr"; }
  .routes__name { grid-area: name; }
  .routes__dur { display: none; }
  .routes__sea { grid-area: sea; align-self: end; min-width: 0; }
  .routes__pr { grid-area: pr; white-space: normal; }
  .voices__grid { grid-template-columns: 1fr; }
  .voices blockquote,
  .voices blockquote:nth-child(2),
  .voices blockquote:nth-child(3) { margin-top: 0; }
  .band__ticks {
    position: static;
    height: auto;
    margin-top: 1.4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem 1rem;
  }
  .band__ticks span {
    position: static;
    transform: none !important;
    white-space: normal;
    font-size: 0.85rem;
  }
  .band__ticks span::before { display: none; }
  .band { height: auto; background: none; margin-bottom: 2.4rem; }
  .band__fill { top: 0; left: 0; right: 0; bottom: auto; height: 7px; }
  .band__ticks { margin-top: 1.6rem; }
}

@media (max-width: 620px) {
  body { font-size: 0.97rem; }
  .climate__cols,
  .contacts__grid { grid-template-columns: 1fr; }
  .foot__top { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .foot__phone { font-size: 1.02rem; }
  .foot__note { font-size: 0.82rem; }
  .foot__sched p { font-size: 0.82rem; }
  .band__ticks span { font-size: 0.78rem; }
  .band__ticks i { letter-spacing: 0.08em; }
  .hero__cue { display: none; }
  .manifest__stats { grid-template-columns: 1fr 1fr; gap: 1.4rem; }
  .foot__cols { flex-direction: column; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; filter: none; }
  [data-develop] img { opacity: 1; filter: none; transform: none; }
  .fog { opacity: 0.6; }
  .band__fill { transform: scaleX(1); }
  .hero__cue span::after { display: none; }
}
