/* ==========================================================================
   Master's Retreat · Rooms Kazbegi · 1–18 July 2027
   Palette taken from Rooms Kazbegi: spruce forest and alpine meadow,
   cognac wood, mountain stone and the amber glow on Mount Kazbek.
   ========================================================================== */

:root {
  /* Палитра Rooms Kazbegi: ель и альпийский луг, коньячное дерево интерьеров,
     камень и лишайник, янтарный закат на Казбеке */
  --cream: #f3f1ea;
  --linen: #e8e6dc;
  --sand: #d9d5c5;
  --straw: #c3b28a;
  --wood: #9b6a42;
  --accent: #85582f;
  --accent-dark: #6a4524;
  --accent-soft: #b88a5c;
  --peach: #ecd3ad;
  --olive: #5d6b4b;
  --moss: #7f8f5e;
  --slate: #5e6a72;
  --forest: #1e2a23;
  --forest-2: #26342b;
  --ink: #1c211d;
  --ink-soft: #545b53;
  --line: rgba(28, 33, 29, 0.14);
  --line-light: rgba(243, 241, 234, 0.18);

  --font-display: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --section-y: clamp(88px, 11vw, 168px);
  --radius: 22px;
  --radius-lg: 32px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 76px;
}

/* ---------- Language switching ---------- */
html[data-lang="ru"] body [lang="en"],
html[data-lang="en"] body [lang="ru"] {
  display: none !important;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(15px, 1vw, 16.5px);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@supports (overflow: clip) {
  html, body { overflow-x: clip; }
}

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

em { font-style: italic; }
h1 em, h2 em, h3 em { font-style: normal; font-weight: 300; }

::selection { background: var(--forest); color: var(--cream); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.icon-sprite { display: none; }

/* Film-grain texture over the whole page (desktop only, cheap) */
@media (hover: hover) and (min-width: 900px) {
  body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 90;
    pointer-events: none;
    opacity: 0.06;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.16 0 0 0 0 0.13 0 0 0 0 0.1 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  }
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); position: relative; }

/* ---------- Typography helpers ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: var(--accent);
  font: 600 12px/1.2 var(--font-body);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.h2 {
  margin-top: 18px;
  font-size: clamp(28px, 3.6vw, 52px);
  max-width: 20ch;
}
.h2 em { color: var(--accent); }

.lead {
  color: var(--ink-soft);
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.6;
  max-width: 60ch;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
  align-items: end;
  gap: 28px 64px;
  margin-bottom: clamp(40px, 6vw, 80px);
}

.note {
  margin-top: 28px;
  color: var(--ink-soft);
  font-size: 14px;
}

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--forest);
  --fg: var(--cream);
  --bd: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7em;
  padding: 1.05em 1.65em;
  border: 1px solid var(--bd);
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  font: 600 15px/1.1 var(--font-body);
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background-color 0.35s var(--ease),
    color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform 0.35s var(--ease); }
.btn:hover { transform: translateY(-2px); background: #141d18; }
.btn:hover svg { transform: translateX(4px); }

.btn--ghost { --bg: transparent; --bd: rgba(243, 241, 234, 0.55); }
.btn--ghost:hover { background: rgba(243, 241, 234, 0.14); }

.btn--outline { --bg: transparent; --fg: var(--ink); --bd: rgba(28, 33, 29, 0.28); }
.btn--outline:hover { background: var(--ink); color: var(--cream); }

.btn--light { --bg: var(--cream); --fg: var(--ink); }
.btn--light:hover { background: var(--peach); }

.btn--lg { padding: 1.25em 2.1em; font-size: 16px; }
.btn--sm { padding: 0.8em 1.25em; font-size: 14px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.header {
  --h-fg: var(--cream);
  --h-contrast: var(--ink);
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  color: var(--h-fg);
  transition: background-color 0.4s var(--ease), box-shadow 0.4s var(--ease), color 0.4s var(--ease);
}
.header.is-scrolled {
  --h-fg: var(--ink);
  --h-contrast: var(--cream);
  background: rgba(243, 241, 234, 0.88);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  line-height: 1;
}
.brand svg { width: 30px; height: 30px; flex: none; }
.brand__name {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.brand__sub {
  display: block;
  margin-top: 5px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.75;
}

.nav { display: flex; gap: clamp(16px, 2vw, 30px); }
.nav a {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  opacity: 0.88;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav a:hover { opacity: 1; }
.nav a:hover::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: 12px; }

.lang {
  display: inline-flex;
  padding: 3px;
  border: 1px solid color-mix(in srgb, var(--h-fg) 35%, transparent);
  border-radius: 999px;
}
.lang button {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  padding: 7px 11px;
  border-radius: 999px;
  font: 600 12px/1 var(--font-body);
  letter-spacing: 0.08em;
  opacity: 0.7;
  transition: background-color 0.3s, color 0.3s, opacity 0.3s;
}
.lang button[aria-pressed="true"] {
  background: var(--h-fg);
  color: var(--h-contrast);
  opacity: 1;
}

.header .btn { --bg: var(--h-fg); --fg: var(--h-contrast); padding: 0.85em 1.3em; font-size: 14px; }
.header .btn:hover { background: var(--h-fg); opacity: 0.9; }

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid color-mix(in srgb, var(--h-fg) 35%, transparent);
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.burger span,
.burger span::before {
  display: block;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  position: relative;
}
.burger span { transform: translateY(-3px); }
.burger span::before { content: ""; position: absolute; top: 6px; }

/* Mobile menu */
.menu {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  flex-direction: column;
  padding: 24px var(--gutter) 32px;
  background: var(--forest);
  color: var(--cream);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.menu.is-open { opacity: 1; visibility: visible; }
.menu__top { display: flex; justify-content: space-between; align-items: center; }
.menu__close {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-light);
  background: transparent;
  color: inherit;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.menu nav { display: flex; flex-direction: column; margin: auto 0; }
.menu nav a {
  padding: 6px 0;
  font-size: clamp(24px, 6.5vw, 32px);
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
}
.menu .lang { --h-fg: var(--cream); --h-contrast: var(--ink); align-self: flex-start; margin-bottom: 20px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  color: var(--cream);
  background: #26342b;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media video,
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  /* чёрный градиент поверх всего видео — для читаемости текста */
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.42) 40%, rgba(0, 0, 0, 0.22) 75%, rgba(0, 0, 0, 0.16) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.75) 100%);
}
.hero__content {
  width: 100%;
  padding-top: calc(var(--header-h) + 28px);
  padding-bottom: clamp(24px, 3.5vw, 40px);
}
.hero__eyebrow {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.hero__eyebrow .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--peach); }
.hero h1 {
  margin: 18px 0 22px;
  max-width: 13ch;
  font-size: clamp(36px, 5.4vw, 82px);
  line-height: 1.02;
  letter-spacing: -0.025em;
}
.hero h1 em { color: var(--peach); }
.hero__lead {
  max-width: 560px;
  color: rgba(243, 241, 234, 0.9);
  font-size: clamp(16px, 1.35vw, 19px);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__fine {
  margin-top: 16px;
  max-width: 640px;
  font-size: 12.5px;
  line-height: 1.5;
  opacity: 0.72;
}
.hero__fine a { text-underline-offset: 3px; }

.hero__facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(32px, 4vw, 52px);
  border-top: 1px solid var(--line-light);
}
.fact { padding: 16px 20px 0 0; }
.fact + .fact { padding-left: 20px; border-left: 1px solid var(--line-light); }
.fact b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 600;
  line-height: 1.1;
}
.fact > span { display: block; margin-top: 6px; font-size: 13px; opacity: 0.78; line-height: 1.4; }


/* ---------- About ---------- */
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(48px, 7vw, 120px);
  align-items: center;
}
.about__quote {
  margin: 32px 0 28px;
  padding-left: 24px;
  border-left: 2px solid var(--accent-soft);
  font-size: clamp(18px, 1.5vw, 21px);
  font-style: italic;
  font-weight: 300;
  line-height: 1.55;
}
.about__text .lead + .lead { margin-top: 18px; }
.about__link { margin-top: 32px; }

.about__media { position: relative; padding-bottom: 70px; }
.arch {
  overflow: hidden;
  border-radius: 999px 999px var(--radius) var(--radius);
}
.about__main { aspect-ratio: 3 / 4; max-width: 460px; margin-left: auto; }
.about__main img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.about__small {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 52%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: var(--radius);
  border: 8px solid var(--cream);
  box-shadow: 0 30px 60px -30px rgba(28, 33, 29, 0.45);
}
.about__small img { width: 100%; height: 100%; object-fit: cover; }
.about__caption {
  position: absolute;
  right: 0;
  bottom: 6px;
  max-width: 38%;
  text-align: right;
  font-size: 13px;
  color: var(--ink-soft);
}
.about__caption b { display: block; font-size: 16px; font-weight: 600; color: var(--ink); }

/* ---------- Cards (included) ---------- */
.included { background: var(--linen); }
.cards {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
}
.cards .card { grid-column: span 2; }
.cards .card:nth-child(n + 4) { grid-column: span 3; }
.cards .card:nth-child(n + 4) .card__img { aspect-ratio: 16 / 9; }
.card {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--cream);
}
.card__img { aspect-ratio: 5 / 4; overflow: hidden; }
.card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.card:hover .card__img img { transform: scale(1.05); }
.card__body { padding: 24px 26px 28px; }
.card__num {
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
}
.card h3 { margin-bottom: 8px; font-size: clamp(18px, 1.5vw, 21px); }
.card p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }

/* ---------- Schedule ---------- */
.schedule { background: var(--forest); color: var(--cream); overflow: hidden; }
.schedule .kicker { color: var(--straw); }
.schedule .lead { color: rgba(243, 241, 234, 0.72); }
.days {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.day {
  padding: clamp(24px, 2.6vw, 36px);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
}
.day--main { background: rgba(243, 241, 234, 0.05); }
.day__label {
  color: var(--straw);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.day__date { margin-top: 10px; font-size: clamp(26px, 2.4vw, 34px); }
.timeline { list-style: none; margin-top: 22px; }
.timeline li {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line-light);
  font-size: 15.5px;
}
.timeline time { color: var(--peach); font-weight: 600; font-variant-numeric: tabular-nums; }
.timeline .hl { display: flex; align-items: center; gap: 10px; }
.timeline .hl svg { width: 18px; height: 18px; color: var(--peach); flex: none; }
.day__note { margin-top: 16px; font-size: 13.5px; color: rgba(243, 241, 234, 0.62); }
.schedule .note { color: rgba(243, 241, 234, 0.6); }

/* ---------- Place ---------- */
.place__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(48px, 7vw, 120px);
  align-items: center;
}
.place__media { position: relative; }
.arch-frame {
  aspect-ratio: 4 / 5;
  max-width: 480px;
  overflow: hidden;
  border-radius: 999px 999px var(--radius) var(--radius);
  background: var(--sand);
}
.arch-frame video,
.arch-frame img { width: 100%; height: 100%; object-fit: cover; }
.badge {
  position: absolute;
  right: clamp(-10px, 2vw, 40px);
  bottom: 40px;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--cream);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.badge svg.badge__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 26s linear infinite; }
.badge__ring text { font: 600 10.5px var(--font-body); letter-spacing: 0.24em; fill: currentColor; }
.badge__mark { width: 34px; height: 34px; }
@keyframes spin { to { transform: rotate(360deg); } }

.features { list-style: none; margin-top: 36px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.features li {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  font-size: 15.5px;
}
.features svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--accent); }
.place__more { margin-top: 32px; }

.gallery { margin-top: clamp(64px, 8vw, 110px); }
.gallery__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}
.gallery__title { font-size: clamp(20px, 1.8vw, 26px); }
.gallery__nav { display: flex; gap: 10px; }
.round-btn {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(28, 33, 29, 0.25);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}
.round-btn svg { width: 18px; height: 18px; }
.round-btn:hover { background: var(--ink); color: var(--cream); }
.round-btn--prev svg { transform: scaleX(-1); }

.gallery__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2));
  padding-bottom: 8px;
  scrollbar-width: none;
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__item {
  flex: none;
  position: relative;
  height: clamp(300px, 36vw, 520px);
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  scroll-snap-align: start;
}
.gallery__item img { height: 100%; width: auto; max-width: none; object-fit: cover; }
.gallery__item figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(243, 241, 234, 0.88);
  font-size: 13px;
  font-weight: 600;
}

/* ---------- Stay ---------- */
.stay { background: var(--linen); }
.rooms {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
}
.room {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--cream);
}
.room__img { aspect-ratio: 4 / 3; overflow: hidden; }
.room__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.room:hover .room__img img { transform: scale(1.05); }
.room__body {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  padding: 22px 26px 26px;
}
.room h3 { font-size: clamp(18px, 1.5vw, 21px); }
.room__type { margin-top: 6px; color: var(--ink-soft); font-size: 14px; }
.room__price { text-align: right; white-space: nowrap; }
.room__price b { display: block; font-size: clamp(24px, 2.2vw, 30px); font-weight: 600; line-height: 1.1; }
.room__price span { font-size: 12.5px; color: var(--ink-soft); }

.stay__info {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 32px;
  margin-top: clamp(32px, 4vw, 48px);
}
.stay__info > div { padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-soft); }
.stay__info b { display: block; margin-bottom: 6px; color: var(--ink); font-size: 15.5px; }
.stay__cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Activities ---------- */
.acts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}
.act {
  position: relative;
  isolation: isolate;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  color: var(--cream);
  background: var(--forest);
}
.act img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.act:hover img { transform: scale(1.06); }
.act::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(12, 16, 13, 0) 35%, rgba(12, 16, 13, 0.86) 100%);
}
.act__body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(20px, 2vw, 28px); }
.act h3 { font-size: clamp(18px, 1.5vw, 21px); }
.act p { margin-top: 8px; font-size: 14.5px; line-height: 1.5; opacity: 0.86; }
.act a { text-underline-offset: 3px; }

/* ---------- Co-creation ---------- */
.cocreate { background: var(--sand); }
.cocreate__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: center;
}
.cocreate__img { aspect-ratio: 4 / 5; max-width: 500px; }
.cocreate__img img { width: 100%; height: 100%; object-fit: cover; }
.cocreate .kicker { color: var(--accent-dark); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; list-style: none; }
.chips li {
  padding: 10px 18px;
  border: 1px solid rgba(28, 33, 29, 0.22);
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  background: rgba(243, 241, 234, 0.5);
}

/* ---------- Pricing ---------- */
.plans {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(16px, 2vw, 28px);
  align-items: stretch;
}
.plan {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3.6vw, 52px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--linen);
}
.plan--main { background: var(--forest); color: var(--cream); border-color: transparent; }
.plan__tag {
  align-self: flex-start;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(133, 88, 47, 0.1);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.plan--main .plan__tag { background: rgba(236, 211, 173, 0.14); color: var(--peach); }
.plan h3 { margin-top: 22px; font-size: clamp(22px, 2vw, 28px); }
.plan__price {
  margin-top: 18px;
  font-size: clamp(40px, 4.4vw, 62px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
}
.plan__price small { font-family: var(--font-body); font-size: 15px; font-weight: 500; opacity: 0.7; margin-left: 6px; }
.plan__rows { list-style: none; margin-top: 26px; }
.plan__rows li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.plan--main .plan__rows li { border-color: var(--line-light); }
.plan__rows b { font-weight: 700; white-space: nowrap; }
.plan__list { list-style: none; margin: 26px 0 0; }
.plan__list li { display: flex; gap: 12px; padding: 7px 0; font-size: 15px; }
.plan__list svg { width: 18px; height: 18px; flex: none; margin-top: 4px; color: var(--accent); }
.plan--main .plan__list svg { color: var(--peach); }
.plan--main .plan__list li,
.plan--main .plan__fine { color: rgba(243, 241, 234, 0.82); }
.plan__fine { margin-top: 18px; font-size: 13.5px; color: var(--ink-soft); }
.plan .btn { margin-top: auto; align-self: flex-start; }
.plan__spacer { flex: 1; min-height: 28px; }

.refund {
  margin-top: clamp(16px, 2vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 4px clamp(20px, 3vw, 36px);
}
.refund summary { font-size: 17px; font-weight: 600; }
.refund ul { list-style: none; }
.refund li { position: relative; padding: 6px 0 6px 22px; }
.refund li::before { content: ""; position: absolute; left: 0; top: 16px; width: 8px; height: 8px; border-radius: 50%; background: var(--straw); }

/* ---------- Steps ---------- */
.join { background: var(--linen); }
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  counter-reset: step;
  border-top: 1px solid var(--line);
}
.step {
  counter-increment: step;
  padding: 28px 24px 30px 0;
  border-bottom: 1px solid var(--line);
}
.step:not(:nth-child(4n + 1)) { padding-left: 24px; border-left: 1px solid var(--line); }
.step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 30px;
  font-weight: 300;
  line-height: 1;
}
.step b { display: block; font-size: 17px; font-weight: 600; line-height: 1.35; }
.step > span { display: block; margin-top: 6px; color: var(--ink-soft); font-size: 14px; }
.step--cta {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  background: var(--forest);
  color: var(--cream);
  padding-right: 24px;
}
.step--cta::before { display: none; }
.step--cta p { font-size: 21px; font-weight: 600; line-height: 1.2; margin: 0; }
.join__intro { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 48px; margin-bottom: clamp(36px, 5vw, 64px); }
.join__intro p { margin: 0; color: var(--ink-soft); }
.join__intro strong { color: var(--ink); }

/* ---------- Travel ---------- */
.travel__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}
.travel__list { list-style: none; margin-top: 36px; }
.travel__list li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.ico {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--linen);
  color: var(--accent);
}
.ico svg { width: 22px; height: 22px; }
.travel__list b { display: block; font-size: 17px; }
.travel__list p { margin: 4px 0 0; color: var(--ink-soft); font-size: 15px; }

.map {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  background: var(--sand);
}
.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.4) sepia(0.25) contrast(0.95);
}
.map__card {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: rgba(243, 241, 234, 0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px -20px rgba(28, 33, 29, 0.4);
}
.map__card b { display: block; font-size: 17px; font-weight: 600; line-height: 1.2; }
.map__card > div > span { font-size: 14px; color: var(--ink-soft); }

.pack { margin-top: clamp(48px, 6vw, 72px); }
.pack h3 { font-size: clamp(20px, 1.8vw, 24px); }

/* ---------- FAQ ---------- */
.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.faq__aside { position: sticky; top: calc(var(--header-h) + 32px); }
.faq__contact {
  margin-top: 32px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--linen);
  font-size: 15px;
}
.faq__contact p { margin-bottom: 10px; color: var(--ink-soft); }
.faq__contact a { font-weight: 600; }
.faq__group + .faq__group { margin-top: 48px; }
.faq__group h3 {
  margin-bottom: 10px;
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

details { border-top: 1px solid var(--line); }
.faq__group details:last-child { border-bottom: 1px solid var(--line); }
summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
}
summary::-webkit-details-marker { display: none; }
.plus {
  position: relative;
  flex: none;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}
.plus::before,
.plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%);
}
.plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 0.3s var(--ease); }
details[open] .plus { background: var(--forest); border-color: var(--forest); color: var(--cream); }
details[open] .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__a { padding: 0 54px 22px 0; color: var(--ink-soft); }
.faq__a ul { list-style: none; margin: 6px 0; }
.faq__a li { position: relative; padding: 3px 0 3px 18px; }
.faq__a li::before { content: ""; position: absolute; left: 0; top: 13px; width: 6px; height: 6px; border-radius: 50%; background: var(--straw); }

/* ---------- Final CTA ---------- */
.final {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(120px, 16vw, 220px) 0;
  color: var(--cream);
  text-align: center;
}
.final > img,
.final > video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
}
.final::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(80% 80% at 50% 50%, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.72));
}
.final .kicker { color: var(--peach); }
.final .kicker::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.final h2 { margin: 24px auto 0; max-width: 16ch; font-size: clamp(32px, 4.6vw, 66px); line-height: 1.05; }
.final h2 em { color: var(--peach); }
.final p { margin: 26px auto 0; max-width: 520px; font-size: 17px; opacity: 0.9; }
.final .btn { margin-top: 34px; }

/* ---------- Footer ---------- */
.footer {
  padding: 72px 0 calc(32px + env(safe-area-inset-bottom));
  background: var(--forest);
  color: rgba(243, 241, 234, 0.8);
  font-size: 14.5px;
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr));
  gap: 40px;
}
.footer .brand { color: var(--cream); }
.footer__about { margin-top: 18px; max-width: 360px; }
.footer h4 {
  margin-bottom: 14px;
  color: var(--straw);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.footer ul { list-style: none; }
.footer li { padding: 4px 0; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line-light);
  font-size: 12.5px;
  opacity: 0.65;
}

/* ---------- Mobile sticky CTA ---------- */
.mcta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 40;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 8px 8px 20px;
  border-radius: 999px;
  background: rgba(30, 42, 35, 0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--cream);
  box-shadow: 0 16px 40px -16px rgba(0, 0, 0, 0.5);
  transform: translateY(160%);
  transition: transform 0.5s var(--ease);
}
.mcta.is-visible { transform: none; }
.mcta__text { line-height: 1.2; }
.mcta__text b { display: block; font-size: 15px; font-weight: 600; }
.mcta__text small { font-size: 12px; opacity: 0.75; }
.mcta .btn { padding: 0.9em 1.3em; font-size: 14px; }

/* ---------- Reveal animations ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: 0.08s; }
.js .reveal[data-delay="2"] { transition-delay: 0.16s; }
.js .reveal[data-delay="3"] { transition-delay: 0.24s; }
.js .reveal[data-delay="4"] { transition-delay: 0.32s; }
.js .reveal[data-delay="5"] { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .badge svg.badge__ring { animation: none; }
  .card__img img, .room__img img, .act img { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .header__actions .lang { display: none; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .section-head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .about__grid,
  .place__grid,
  .cocreate__grid,
  .travel__grid,
  .faq__grid { grid-template-columns: minmax(0, 1fr); }
  .about__media { max-width: 520px; width: 100%; margin-inline: auto; }
  .place__media { max-width: 480px; width: 100%; margin-inline: auto; }
  .cocreate__img { margin-inline: auto; width: 100%; }
  .faq__aside { position: static; }
  .days { grid-template-columns: minmax(0, 1fr); }
  .rooms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards .card,
  .cards .card:nth-child(n + 4) { grid-column: span 1; }
  .cards .card:nth-child(n + 4) .card__img { aspect-ratio: 5 / 4; }
  .cards .card:last-child { grid-column: span 2; }
  .cards .card:last-child .card__img { aspect-ratio: 16 / 9; }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:not(:nth-child(4n + 1)) { padding-left: 0; border-left: 0; }
  .step:nth-child(2n) { padding-left: 24px; border-left: 1px solid var(--line); }
  .stay__info { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer__grid > :first-child { grid-column: 1 / -1; }

  /* activities become a swipeable row */
  .acts {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .acts::-webkit-scrollbar { display: none; }
  .act { flex: 0 0 min(78%, 360px); scroll-snap-align: start; }
}

@media (max-width: 760px) {
  .header .btn--apply { display: none; }
  .hero__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n + 3) { margin-top: 18px; border-top: 1px solid var(--line-light); }
  .mcta { display: flex; }
  .features { grid-template-columns: minmax(0, 1fr); }
  .join__intro { grid-template-columns: minmax(0, 1fr); }
  .footer { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
}

@media (max-width: 600px) {
  .rooms { grid-template-columns: minmax(0, 1fr); }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .cards .card:last-child { grid-column: span 1; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step,
  .step:nth-child(2n) {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 0 12px;
    padding: 20px 0;
    border-left: 0;
  }
  .step::before { grid-row: span 2; margin: 0; font-size: 36px; }
  .step--cta { display: flex; padding: 24px; border-radius: var(--radius); margin-top: 16px; border-bottom: 0; }
  .timeline li { grid-template-columns: 100px minmax(0, 1fr); font-size: 15px; }
  .about__small { width: 62%; border-width: 6px; }
  .about__caption { bottom: 6px; }
  .badge { width: 108px; height: 108px; right: 0; }
  .faq__a { padding-right: 0; }
  .map { aspect-ratio: 4 / 5; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__actions .btn { flex: 1 1 auto; }
  .hero__eyebrow { flex-direction: column; align-items: flex-start; gap: 6px; }
  .hero__eyebrow .dot { display: none; }
  .about__media { padding-bottom: 0; }
  .about__small { display: none; }
  .about__main { margin-inline: auto; }
  .about__caption { position: static; max-width: none; margin-top: 14px; text-align: center; }
  .steps .step--cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
  }
}

.hero__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
}
/* ==========================================================================
   Memories — photo mosaic from the last retreat + lightbox
   ========================================================================== */
.memories { background: var(--cream); }
.mosaic {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr;
  grid-template-rows: repeat(2, clamp(220px, 24vw, 330px));
  grid-template-areas: "group yoga hug" "master yoga hall";
  gap: clamp(8px, 1vw, 14px);
}
.mosaic__item {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background: var(--sand);
  cursor: zoom-in;
}
.mosaic__item--group { grid-area: group; }
.mosaic__item--master { grid-area: master; }
.mosaic__item--yoga { grid-area: yoga; }
.mosaic__item--hug { grid-area: hug; }
.mosaic__item--hall { grid-area: hall; }
.mosaic__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.mosaic__item:hover img { transform: scale(1.05); }
.mosaic__item::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(28, 33, 29, 0.06);
  pointer-events: none;
}
.memories__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  color: var(--ink-soft);
  font-size: 14px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 64px 72px;
  background: rgba(14, 19, 16, 0.94);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img {
  width: auto;
  height: auto;
  max-width: min(100%, 1600px);
  max-height: calc(100vh - 128px);
  max-height: calc(100svh - 128px);
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
}
.lightbox button {
  position: absolute;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(243, 241, 234, 0.3);
  border-radius: 50%;
  background: rgba(243, 241, 234, 0.06);
  color: var(--cream);
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}
.lightbox button:hover { background: rgba(243, 241, 234, 0.16); }
.lightbox button svg { width: 18px; height: 18px; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__prev svg { transform: scaleX(-1); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__count {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  color: rgba(243, 241, 234, 0.7);
  font-size: 13px;
  letter-spacing: 0.1em;
}

@media (max-width: 760px) {
  .mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    grid-template-areas: "group group" "hug hall" "yoga master";
  }
  .mosaic__item { aspect-ratio: 3 / 4; height: auto; }
  .mosaic__item--group { aspect-ratio: 3 / 2; }
  .mosaic__item--master img { object-position: 52% 50% !important; }
}
@media (max-width: 600px) {
  .lightbox { padding: 64px 12px; }
  .lightbox__prev,
  .lightbox__next { top: auto; bottom: 14px; transform: none; }
}
/* на вертикальных экранах — сплошной чёрный градиент сверху вниз */
@media (max-aspect-ratio: 4/5) {
  .hero::before {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.4) 35%, rgba(0, 0, 0, 0.55) 65%, rgba(0, 0, 0, 0.85) 100%);
  }
}

/* ==========================================================================
   Guide cards (links to sub-pages) + sub-pages (join / travel / faq)
   ========================================================================== */
.guide { background: var(--linen); padding-block: clamp(72px, 9vw, 128px); }
.guide-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
}
.guide-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.guide-card {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 12px 18px 12px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
  text-decoration: none;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}
.guide-card:hover { transform: translateY(-3px); border-color: transparent; box-shadow: 0 24px 40px -28px rgba(28, 33, 29, 0.45); }
.guide-card__img { width: 104px; height: 104px; overflow: hidden; border-radius: 16px; background: var(--sand); }
.guide-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.guide-card:hover .guide-card__img img { transform: scale(1.06); }
.guide-card__body b { display: block; font-size: 17px; font-weight: 600; line-height: 1.3; }
.guide-card__text { display: block; margin-top: 4px; color: var(--ink-soft); font-size: 13.5px; line-height: 1.45; }
.guide-card__arrow {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--forest);
  color: var(--cream);
  transition: transform 0.35s var(--ease);
}
.guide-card__arrow svg { width: 16px; height: 16px; }
.guide-card:hover .guide-card__arrow { transform: translateX(3px); }

.header--solid {
  --h-fg: var(--ink);
  --h-contrast: var(--cream);
  background: rgba(243, 241, 234, 0.92);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.subpage main { padding-top: var(--header-h); }
.subpage__back { padding-top: 28px; }
.subpage__back + .section { padding-top: clamp(28px, 4vw, 56px); }
.subpage .join { background: transparent; }
.link-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.link-back svg { width: 16px; height: 16px; transform: scaleX(-1); }
.link-back:hover { color: var(--ink); }
.more { background: var(--linen); padding-block: clamp(56px, 7vw, 96px); }
.more .kicker { margin-bottom: 24px; }
.more__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

@media (max-width: 960px) {
  .guide-cards,
  .guide-cards--2 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .guide-card { grid-template-columns: 84px minmax(0, 1fr) auto; gap: 14px; }
  .guide-card__img { width: 84px; height: 84px; }
}

/* ==========================================================================
   Mobile hero: the video stays visible — only the dates and the title sit on it,
   buttons and facts move below the video
   ========================================================================== */
@media (max-width: 760px) {
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: min(80svh, 720px) auto;
    min-height: 0;
    align-items: end;
    background: #121915;
  }
  .hero__media { position: relative; inset: auto; grid-area: 1 / 1; height: 100%; }
  .hero::before {
    position: relative;
    inset: auto;
    grid-area: 1 / 1;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 18%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.82) 100%);
  }
  .hero__content { display: contents; }
  .hero__headline { grid-area: 1 / 1; padding: 0 var(--gutter) 26px; }
  .hero__headline h1 { margin-bottom: 0; }
  .hero__lead { display: none; }
  .hero__bottom { grid-area: 2 / 1; padding: 26px var(--gutter) 34px; }
  .hero__bottom .hero__actions { margin-top: 0; }
  .hero__facts { margin-top: 30px; }
}

/* ==========================================================================
   Hero start: instant blurred preview → first frame with a slow drone-like
   pull-back → the video fades in as soon as it actually plays (no dark flash, no freeze)
   ========================================================================== */
.hero__media { overflow: hidden; background: #1b2620; }
.hero__media::before {
  content: "";
  position: absolute;
  inset: -40px;
  background: var(--lqip-d) center / cover no-repeat;
  filter: blur(18px);
}
@media (max-aspect-ratio: 4/5) { .hero__media::before { background-image: var(--lqip-m); } }
.hero__poster,
.hero__poster img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__poster img {
  object-fit: cover;
  transform-origin: 50% 45%;
  animation: hero-pullback 2.6s cubic-bezier(0.2, 0.6, 0.3, 1) both;
}
@keyframes hero-pullback { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__media video { position: absolute; inset: 0; opacity: 0; transition: opacity 0.45s ease; }
.hero.is-playing .hero__media video { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .hero__poster img { animation: none; } }
.hero__poster.is-motion img { animation: none; }

/* ==========================================================================
   Kazbegi: hero photo sequence — instant blurred preview, then 4 photos
   crossfade with a slow drone-like drift (main.js switches .is-active)
   ========================================================================== */
.hero__slides { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; opacity: 0; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 45%; }
.hero__slide.is-prev { opacity: 1; z-index: 1; }
.hero__slide.is-active { opacity: 1; z-index: 2; transition: opacity 1.8s ease; }
.hero__slide.is-active img,
.hero__slide.is-prev img { animation: hero-drift 10s linear both; }
.hero__slide:nth-child(even).is-active img,
.hero__slide:nth-child(even).is-prev img { animation-name: hero-drift-in; }
.hero__slide:first-child.is-active img { animation: hero-pullback-long 10s cubic-bezier(0.2, 0.6, 0.3, 1) both; }
@keyframes hero-drift { from { transform: scale(1.1) translate3d(1.2%, 0, 0); } to { transform: scale(1.01) translate3d(0, 0, 0); } }
@keyframes hero-drift-in { from { transform: scale(1.01) translate3d(0, 0, 0); } to { transform: scale(1.1) translate3d(-1.2%, 0, 0); } }
@keyframes hero-pullback-long { from { transform: scale(1.1); } to { transform: scale(1.01); } }
.js .hero__slide.is-active.is-first { transition: none; }
@media (prefers-reduced-motion: reduce) {
  .hero__slide img, .hero__slide.is-active img, .hero__slide.is-prev img { animation: none !important; }
}

/* Final CTA background photo (in a <picture>) with a very slow drift */
.final > picture { position: absolute; inset: 0; z-index: -2; }
.final > picture img { width: 100%; height: 100%; object-fit: cover; animation: final-drift 26s ease-in-out infinite alternate; }
@keyframes final-drift { from { transform: scale(1.02); } to { transform: scale(1.1); } }
@media (prefers-reduced-motion: reduce) { .final > picture img { animation: none; } }

/* Schedule with four cards: arrival · practice days · intensive · departure */
.days--4 { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 0.95fr); }
.day--intensive { border-color: rgba(236, 211, 173, 0.45); background: rgba(236, 211, 173, 0.06); }
.day__tag {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 9px;
  border: 1px solid rgba(236, 211, 173, 0.5);
  border-radius: 999px;
  color: var(--peach);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  vertical-align: 1px;
}
.schedule .note + .note { margin-top: 10px; }
@media (max-width: 1100px) {
  .days--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .days--4 .day--main { grid-column: 1 / -1; grid-row: 1; }
}
@media (max-width: 760px) {
  .days--4 { grid-template-columns: minmax(0, 1fr); }
}

/* Room rates: mountain / forest view, single / double */
.room__rates { list-style: none; margin: 0; padding: 0 clamp(18px, 2vw, 24px) clamp(18px, 2vw, 24px); }
.room__rates li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-soft);
}
.room__rates b { color: var(--ink); font-weight: 600; white-space: nowrap; }
.stay .note { margin-top: 18px; color: var(--ink-soft); }

/* Body practices under the "included" cards */
.practices { margin-top: clamp(28px, 3vw, 44px); }
/* Narrow schedule cards: time above the text instead of a side column */
.days--4 .day:not(.day--main) .timeline li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
.days--4 .day:not(.day--main) .timeline .hl { align-items: flex-start; }
.days--4 .day:not(.day--main) .timeline .hl svg { margin-top: 3px; }

/* ==========================================================================
   Template: elements switched on and off from _data/retreat.yml
   ========================================================================== */

/* First screen: "Meditation retreat" badge and the optional intensive line */
.hero__badge {
  display: inline-block;
  margin: 0 0 14px;
  padding: 7px 14px;
  border: 1px solid rgba(243, 241, 234, 0.35);
  border-radius: 999px;
  background: rgba(14, 19, 16, 0.28);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero__top { display: flex; flex-direction: column; align-items: flex-start; }
.hero__plus { margin: -8px 0 18px; font-size: clamp(14px, 1.15vw, 16px); font-weight: 500; }
.hero__plus a { color: var(--peach); text-decoration: none; border-bottom: 1px solid rgba(236, 211, 173, 0.45); }
.hero__plus a:hover { border-bottom-color: currentColor; }

/* Cards: tag and an expandable description of the teacher */
.cards .card { grid-column: span 2; }
.cards .card:nth-child(n + 4) { grid-column: span 2; }
.cards .card:nth-child(n + 4) .card__img { aspect-ratio: 5 / 4; }
.cards .card:nth-last-child(1):nth-child(3n + 1) { grid-column: 3 / span 2; }
.cards .card:nth-last-child(2):nth-child(3n + 1) { grid-column: 2 / span 2; }
.card__tag { margin: -2px 0 8px !important; color: var(--accent) !important; font-size: 12px !important; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.card__more { margin-top: 14px; border-top: 1px solid var(--line); }
.card__more summary { padding: 12px 0 4px; font-size: 14.5px; }
.card__more summary .plus { width: 26px; height: 26px; }
.card__more[open] summary .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.card__more > div { padding: 6px 0 2px; color: var(--ink-soft); font-size: 14.5px; line-height: 1.6; }
.card__more > div p { margin: 0 0 0.7em; }

/* Schedule: small note next to a row ("not every day") */
.timeline__note { display: inline-block; margin-left: 6px; padding: 1px 8px; border: 1px solid var(--line-light); border-radius: 999px; color: rgba(243, 241, 234, 0.7); font-size: 11.5px; letter-spacing: 0.04em; vertical-align: 1px; }
.day__note a { color: var(--peach); text-underline-offset: 3px; }

/* Intensive: its own block right after the schedule */
.intensive { background: var(--forest-2); color: var(--cream); }
.intensive .kicker { color: var(--straw); }
.intensive .lead { color: rgba(243, 241, 234, 0.78); }
.intensive .note { color: rgba(243, 241, 234, 0.6); }
.intensive .btn--outline { color: var(--cream); border-color: rgba(243, 241, 234, 0.4); }
.intensive .btn--outline:hover { background: var(--cream); color: var(--ink); }
.intensive__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.intensive h2 { margin: 18px 0 20px; }
.intensive__facts { margin: 0; border-top: 1px solid var(--line-light); }
.intensive__facts > div { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-light); }
.intensive__facts dt { color: rgba(243, 241, 234, 0.62); font-size: 14px; }
.intensive__facts dd { margin: 0; font-weight: 600; }
.tbd { color: rgba(243, 241, 234, 0.5); font-weight: 400; font-style: italic; }

/* Accommodation: "you can stay nearby", room text and total, booking steps */
.stay__nearby { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: var(--linen); color: var(--ink); font-size: 15px; font-weight: 500; }
.stay__nearby svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--accent); }
.room__text { margin: 0; padding: 0 clamp(18px, 2vw, 24px) 6px; color: var(--ink-soft); font-size: 14.5px; }
.room__total { margin: 0; padding: 10px clamp(18px, 2vw, 24px) clamp(18px, 2vw, 24px); color: var(--ink-soft); font-size: 14px; }
.room__total b { color: var(--ink); }
.room__tbd { font-size: 15px !important; font-weight: 500 !important; color: var(--ink-soft); }
.booking-steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: clamp(28px, 3vw, 40px) 0 0; padding: 0; counter-reset: none; }
.booking-steps li { display: flex; gap: 12px; align-items: flex-start; padding: 18px; border: 1px solid var(--line); border-radius: 16px; font-size: 14.5px; line-height: 1.5; }
.booking-steps__n { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--forest); color: var(--cream); font-size: 13px; font-weight: 600; }

/* Pricing: early-bird steps by payment date, refund terms as a second card */
.tiers .tier { align-items: baseline; }
.tiers .tier.is-past { opacity: 0.45; text-decoration: line-through; text-decoration-thickness: 1px; }
.tiers .tier.is-current { color: var(--peach); }
.tiers .tier.is-current b::after { content: " ✦"; font-size: 11px; vertical-align: 2px; }
.tier__countdown, .tier__closed { margin: 14px 0 0; color: var(--peach); font-size: 14px; font-weight: 600; }
.plan--terms .faq__a { margin-top: 20px; font-size: 15px; line-height: 1.6; }
.plan--terms .faq__a p { margin: 0 0 0.8em; }
.plan--terms .faq__a ul { list-style: none; margin: 4px 0 14px; padding: 0; }
.plan--terms .faq__a li { position: relative; padding: 4px 0 4px 18px; }
.plan--terms .faq__a li::before { content: ""; position: absolute; left: 0; top: 13px; width: 6px; height: 6px; border-radius: 50%; background: var(--straw); }
.plan__price { margin-bottom: 0; }
.plan__price .day__tag { font-size: 11px; font-weight: 600; vertical-align: 6px; }

/* "How it felt": video button, video in the lightbox */
.memories__video svg { width: 14px; height: 14px; }
.lightbox video { max-width: min(100%, 1400px); max-height: calc(100svh - 128px); border-radius: 12px; background: #000; }
.lightbox.is-video .lightbox__prev,
.lightbox.is-video .lightbox__next,
.lightbox.is-video .lightbox__count { display: none; }

/* Application: "what happens next" after sending, spam trap */
.next-steps { list-style: none; margin: 18px 0 22px; padding: 0; counter-reset: ns; text-align: left; }
.next-steps li { counter-increment: ns; display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.next-steps li::before { content: counter(ns); grid-row: span 2; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--forest); color: var(--cream); font-size: 12.5px; font-weight: 600; }
.next-steps b { font-size: 15px; }
.next-steps span { color: var(--ink-soft); font-size: 14px; }
.form-state__contact { color: var(--ink-soft); font-size: 14px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Join: lead as Markdown */
.section-head .lead p { margin: 0; }

@media (max-width: 1100px) {
  .booking-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .intensive__grid { grid-template-columns: minmax(0, 1fr); }
  /* two columns (set above): an odd last card takes the full row */
  .cards .card,
  .cards .card:nth-child(n + 4),
  .cards .card:nth-last-child(1):nth-child(3n + 1),
  .cards .card:nth-last-child(2):nth-child(3n + 1),
  .cards .card:last-child:nth-child(even) { grid-column: span 1; }
  .cards .card:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .cards .card:last-child:nth-child(even) .card__img { aspect-ratio: 5 / 4; }
}
@media (max-width: 600px) {
  .cards .card,
  .cards .card:nth-child(n + 4),
  .cards .card:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .booking-steps { grid-template-columns: minmax(0, 1fr); }
  .intensive__facts > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}

.nowrap { white-space: nowrap; }
.intensive .kicker { flex-wrap: wrap; row-gap: 6px; }

/* Review item 6: no long empty gap between «О ретрите» and the next block (a divider may sit between them) */
.about { padding-bottom: calc(var(--section-y) * 0.6); }
.about + .memories,
.about + * + .memories { padding-top: calc(var(--section-y) * 0.6); }

/* ==========================================================================
   Two events on the first screen, "in person only", chapters
   ========================================================================== */
.hero__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.hero__badges .hero__badge { margin: 0; }
.hero__badge--live { display: inline-flex; align-items: center; gap: 8px; background: rgba(14, 19, 16, 0.42); }
.live-dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: #e0a96d; box-shadow: 0 0 0 3px rgba(224, 169, 109, 0.25); }

.hero__events {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 1.4vw, 18px);
  margin-top: clamp(28px, 3.5vw, 44px);
  max-width: 820px;
}
.event-tile {
  display: grid;
  gap: 4px;
  padding: clamp(16px, 1.8vw, 22px) clamp(18px, 2vw, 26px);
  border: 1px solid rgba(243, 241, 234, 0.28);
  border-radius: 18px;
  background: rgba(14, 19, 16, 0.38);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--cream);
  text-decoration: none;
  transition: background-color 0.3s, border-color 0.3s;
}
.event-tile:hover { background: rgba(14, 19, 16, 0.55); border-color: rgba(236, 211, 173, 0.6); }
.event-tile__label { color: var(--peach); font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.event-tile__label .day__tag { letter-spacing: 0.06em; text-transform: none; vertical-align: 1px; }
.event-tile__dates { font-size: clamp(24px, 2.4vw, 34px); font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; }
.event-tile__text { font-size: 14px; opacity: 0.85; }
.event-tile__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 13px; font-weight: 600; opacity: 0.8; }
.event-tile__more svg { width: 14px; height: 14px; }

.about__live {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0 0 22px;
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--forest);
  color: rgba(243, 241, 234, 0.9);
  font-size: 15px;
  line-height: 1.55;
}
.about__live .live-dot { margin-top: 7px; }
.about__live b { color: var(--peach); }
.intensive__live { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: 14px; font-weight: 600; color: var(--peach); }
.intensive__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.place__buttons { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; margin-top: clamp(24px, 3vw, 36px); }
.gallery-section { padding-top: 0; }
.gallery-section .gallery { margin-top: 0; }
.gallery__more { margin-top: 22px; }
h2.gallery__title { font-size: clamp(22px, 2vw, 28px); }

.plan--intensive { background: var(--forest-2); color: var(--cream); border-color: transparent; }
.plan--intensive .plan__tag { background: rgba(236, 211, 173, 0.12); color: var(--peach); }
.plan--intensive .plan__list li { color: rgba(243, 241, 234, 0.82); }
.plan--intensive .plan__list svg { color: var(--peach); }
.plan--intensive .btn { background: var(--cream); color: var(--ink); }
.plan--intensive .link-arrow { color: var(--peach); }
.plan__price--tbd { font-size: clamp(22px, 2vw, 28px); font-weight: 500; letter-spacing: 0; opacity: 0.75; }
.plan__actions { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; }
.pricing .refund { margin-top: clamp(18px, 2vw, 26px); }

/* chapters: any number of cards */
.guide-cards--n2, .guide-cards--n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.guide-cards--n5, .guide-cards--n6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* intensive as its own (dark) page */
.subpage--dark { background: var(--forest-2); }
.subpage--dark .link-back { color: rgba(243, 241, 234, 0.8); }
.subpage--dark .intensive { padding-bottom: 0; }
.subpage--dark .intensive__grid { padding-bottom: clamp(32px, 4vw, 56px); }

@media (max-width: 960px) {
  .guide-cards--n4, .guide-cards--n5, .guide-cards--n6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .hero__events { grid-template-columns: minmax(0, 1fr); margin-top: 26px; }
  .event-tile { background: var(--forest-2); border-color: rgba(243, 241, 234, 0.14); }
  .guide-cards--n2, .guide-cards--n4, .guide-cards--n5, .guide-cards--n6 { grid-template-columns: minmax(0, 1fr); }
}

/* Draft for review (site.draft: true) */
.draft-ribbon {
  position: fixed;
  left: 14px;
  bottom: calc(14px + env(safe-area-inset-bottom));
  z-index: 95;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(14, 19, 16, 0.84);
  color: #f3f1ea;
  font: 600 10.5px/1.2 var(--font-body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  pointer-events: none;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
/* on phones the mark sits just under the header, centred — over the photo, away from the text and buttons */
@media (max-width: 760px) {
  .draft-ribbon { left: 50%; bottom: auto; top: calc(var(--header-h) + 6px); transform: translateX(-50%); font-size: 9.5px; white-space: nowrap; }
}
.form-draft-note { margin: 0 0 18px; }

/* ==========================================================================
   Organizers' round 2 (12 Nov): schedule split, accommodation with prices,
   nature strip, calmer sizes on large screens
   ========================================================================== */

/* "Planned in person only" — a solid, clearly visible badge */
.hero__badge--live {
  background: var(--peach);
  border-color: transparent;
  color: var(--ink);
  font-weight: 700;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.hero__badge--live .live-dot { background: #b0612c; box-shadow: 0 0 0 3px rgba(176, 97, 44, 0.22); }

/* Schedule: the retreat and the intensive as two clearly separate blocks */
.sched-group { margin-top: clamp(20px, 2.4vw, 32px); }
.sched-group__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
  margin-bottom: 16px;
}
.sched-group__label {
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(243, 241, 234, 0.1);
  color: var(--straw);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.sched-group__label .day__tag { letter-spacing: 0.06em; text-transform: none; }
.sched-group__dates { font-size: clamp(20px, 1.8vw, 26px); font-weight: 600; letter-spacing: -0.01em; }
.sched-group__note { color: rgba(243, 241, 234, 0.7); font-size: 14px; }
.sched-group__more { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; color: var(--peach); font-size: 14px; font-weight: 600; text-decoration: none; }
.sched-group__more svg { width: 14px; height: 14px; }
.sched-group--intensive {
  margin-top: clamp(28px, 3vw, 44px);
  padding: clamp(18px, 2.2vw, 30px);
  border: 1px solid rgba(236, 211, 173, 0.45);
  border-radius: var(--radius-lg);
  background: rgba(236, 211, 173, 0.07);
}
.sched-group--intensive .sched-group__label { background: var(--peach); color: var(--ink); }
.days--intensive { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.day--int { padding: clamp(16px, 1.6vw, 22px); border-color: rgba(236, 211, 173, 0.32); }
.day--int .day__date { margin-top: 6px; }
.day__hours { margin: 10px 0 0; font-size: 17px; font-weight: 600; }
.day__time { margin: 4px 0 0; color: var(--peach); font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.day--out .day__time { color: rgba(243, 241, 234, 0.6); font-weight: 500; }

/* Intensive page: its schedule and where to stay */
.intensive__more { padding-top: clamp(28px, 3vw, 44px); }
.intensive__sub { margin: clamp(28px, 3vw, 40px) 0 16px; font-size: clamp(20px, 1.8vw, 26px); }
.intensive__stay-link { margin-top: 14px; color: var(--peach); }

/* Where to stay: three options, the same for the retreat and the intensive */
.stay-options { margin: 0 0 clamp(28px, 3vw, 40px); }
.stay-options__title { margin-bottom: 14px; font-size: clamp(18px, 1.5vw, 22px); }
.stay-options__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.stay-option { display: grid; gap: 6px; align-content: start; padding: 18px 20px; border: 1px solid var(--line); border-radius: 18px; background: #f6efe3; font-size: 14.5px; line-height: 1.5; color: var(--ink-soft); }
.stay-option b { color: var(--ink); font-size: 16px; }
.stay-option .link-arrow { justify-self: start; margin-top: 4px; font-size: 13.5px; }
.stay-option--main { background: var(--forest); border-color: transparent; color: rgba(243, 241, 234, 0.82); }
.stay-option--main b { color: var(--peach); }
.stay-options--dark .stay-option { background: rgba(243, 241, 234, 0.05); border-color: rgba(243, 241, 234, 0.16); color: rgba(243, 241, 234, 0.75); }
.stay-options--dark .stay-option b { color: var(--cream); }
.stay-options--dark .stay-option--main { background: var(--peach); color: rgba(28, 33, 29, 0.8); }
.stay-options--dark .stay-option--main b { color: var(--ink); }
.stay-options--dark .link-arrow { color: var(--peach); }

/* Room categories: variants with prices for one / two guests and with VAT */
.room__variants { list-style: none; margin: 0; padding: 0 clamp(18px, 2vw, 24px); }
.room__variants li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.room__vname { color: var(--ink-soft); }
.room__vprice { display: grid; justify-items: end; text-align: right; white-space: nowrap; }
.room__vprice b { color: var(--ink); font-size: 15px; font-weight: 600; }
.room__vprice small { color: var(--ink-soft); font-size: 12px; }
.room__total { padding-top: 12px; border-top: 1px solid var(--line); margin: 0 clamp(18px, 2vw, 24px); padding-left: 0; padding-right: 0; }
.room__link { margin: 0; padding: 4px clamp(18px, 2vw, 24px) clamp(18px, 2vw, 24px); }
.room__link .link-arrow { font-size: 14px; }
.room .room__price b { font-size: clamp(20px, 1.7vw, 24px); }
.stay__payment {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: clamp(22px, 2.4vw, 32px);
  padding: clamp(18px, 2vw, 26px) clamp(20px, 2.2vw, 30px);
  border-radius: 18px;
  background: var(--forest);
  color: rgba(243, 241, 234, 0.9);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.6;
}
.stay__payment svg { flex: none; width: 22px; height: 22px; margin-top: 2px; color: var(--peach); }
.stay__payment p { margin: 0; }
.stay__info .tbd { color: var(--ink-soft); font-style: italic; font-weight: 400; }
.booking-steps--n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Pricing: what's included, "from" price, accommodation hint */
.plan__subhead { margin: 22px 0 0; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.7; }
.plan__list--incl { margin-top: 8px; }
.plan__list--incl svg { width: 14px; height: 14px; margin-top: 6px; }
.plan__from { font-size: 0.45em; font-weight: 500; letter-spacing: 0; vertical-align: 0.35em; opacity: 0.8; }
.pricing__stay { display: flex; gap: 12px; align-items: flex-start; margin: clamp(18px, 2vw, 26px) 0 0; padding: 16px 20px; border: 1px solid var(--line); border-radius: 16px; color: var(--ink-soft); font-size: 15px; }
.pricing__stay svg { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--accent); }
.pricing__stay .link-arrow { margin-left: 6px; white-space: nowrap; }

/* Nature strip */
.strip__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 40px; margin-bottom: clamp(22px, 2.6vw, 36px); }
.strip__head .h2 { margin-top: 0; }
.strip__head .lead { max-width: 46ch; margin: 0; }
.strip__track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(240px, 23vw, 380px); gap: clamp(10px, 1.1vw, 16px); }
.strip__item { position: relative; margin: 0; overflow: hidden; border-radius: 18px; background: var(--sand); }
.strip__item--wide { grid-column: span 2; }
.strip__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.strip__item:hover img { transform: scale(1.05); }
.strip__item figcaption { position: absolute; left: 10px; bottom: 10px; padding: 5px 11px; border-radius: 999px; background: rgba(243, 241, 234, 0.9); color: var(--ink); font-size: 12px; font-weight: 600; }

@media (max-width: 1100px) {
  .days--intensive { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .stay-options__grid, .booking-steps--n3 { grid-template-columns: minmax(0, 1fr); }
  .strip__track { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; }
  .strip__item { aspect-ratio: 3 / 4; }
  .strip__item--wide { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
  .sched-group__more { margin-left: 0; }
}
@media (max-width: 600px) {
  .days--intensive { grid-template-columns: minmax(0, 1fr); }
  .room__variants li { flex-wrap: wrap; }
}

/* Large screens (1440–1920 px): calmer sizes and spacing */
:root { --section-y: clamp(72px, 7.5vw, 120px); }
.h2 { font-size: clamp(28px, 2.9vw, 44px); }
.lead { font-size: clamp(16px, 1.1vw, 18px); }
.hero h1 { font-size: clamp(36px, 4.4vw, 66px); }
.final h2 { font-size: clamp(30px, 3.6vw, 52px); }
.plan__price { font-size: clamp(36px, 3.4vw, 50px); }
.event-tile__dates { font-size: clamp(22px, 1.9vw, 28px); }
@media (min-width: 761px) { .mosaic { grid-template-rows: repeat(2, clamp(200px, 19vw, 280px)); } }
.gallery__item { height: clamp(280px, 30vw, 440px); }
.about__grid { gap: clamp(40px, 5.5vw, 96px); }
.day { padding: clamp(22px, 2vw, 30px); }
@media (min-width: 1500px) {
  body { font-size: 16px; }
  .hero__lead { font-size: 18px; }
}

.room__price b span { font-size: inherit; color: inherit; }

/* Card illustration instead of a photo (practices.*.art → _includes/art.html) */
.card__img--art { background: #1e2a23; }
.card__img--art .art { display: block; width: 100%; height: 100%; transition: transform 1.2s var(--ease); }
.card:hover .card__img--art .art { transform: scale(1.04); }
.art__s, .art__wave, .art__smoke path { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.art__s { stroke: #ecd3ad; stroke-width: 1.6; }
.art__wave { stroke-width: 1.9; }
.art__soft { opacity: 0.4; }
.art__ridge { opacity: 0.55; }
.art__ridge--faint { opacity: 0.26; }
.art__dash { stroke-dasharray: 2 7; opacity: 0.4; }
.art__sun { fill: rgba(236, 211, 173, 0.09); opacity: 0.75; }
.art__mat { stroke-width: 3; opacity: 0.5; }
.art__fig { fill: #ecd3ad; opacity: 0.92; }
.art__limb { fill: none; stroke: #ecd3ad; stroke-linecap: round; stroke-linejoin: round; }
.art__ring1 { fill: rgba(236, 211, 173, 0.1); opacity: 0.8; }
.art__ring2 { opacity: 0.45; }
.art__ring3 { opacity: 0.25; stroke-dasharray: 2 6; }
.art__rings { transform-box: view-box; transform-origin: 320px 200px; animation: art-breathe 9s ease-in-out infinite; }
@keyframes art-breathe { 0%, 100% { transform: scale(0.93); } 50% { transform: scale(1.06); } }
.art__dot { fill: #ecd3ad; }
.art__tick { stroke-width: 1.2; opacity: 0.6; }
.art__mark, .art__note { font-family: var(--font-body); font-size: 15px; font-weight: 600; letter-spacing: 0.16em; fill: rgba(236, 211, 173, 0.86); }
.art__ka { font-family: var(--font-ka, serif); font-size: 19px; fill: rgba(236, 211, 173, 0.62); }
.art__body { stroke-width: 1.8; }
.art__spine circle { fill: #ecd3ad; opacity: 0.7; }
.art__zone { stroke-dasharray: 3 6; opacity: 0.7; }
.art__hands { fill: #ecd3ad; opacity: 0.92; }
.art__stars circle { fill: #ecd3ad; opacity: 0.55; }
.art__moon { fill: #ecd3ad; opacity: 0.85; }
.art__box { fill: rgba(20, 28, 23, 0.4); }
.art__embers circle { fill: #e9a96b; opacity: 0.9; }
.art__rim { stroke-width: 2.4; }
.art__meat rect { fill: #3b2d22; stroke-width: 1.5; }
@media (prefers-reduced-motion: reduce) { .art__rings { animation: none; } }

/* ---------- Clips: короткие вертикальные видео окрестностей ---------- */
.clips__track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.1vw, 16px); max-width: 980px; margin: 0 auto; }
.clips__item { margin: 0; overflow: hidden; border-radius: 18px; background: var(--sand); aspect-ratio: 9 / 16; }
.clips__item video { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) {
  .clips__track { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 62%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .clips__item { scroll-snap-align: start; }
}
