/* Каркас семейства «Атмосферы»: сайт Комитета (ocig-mb.ru) и портал мест (mest-net.ru).

   Один каркас на оба сайта — решение 28.10.2026 (проекты/атмосфера/решения-28-10-два-сайта.md
   §2): бумага, чернила, типографика, кнопки, сетка, шапка, подвал и карточки у них общие.
   Поверх каркаса идёт тема сайта (theme-komitet.css / theme-mest.css) — она меняет акцент и
   подачу, но не устройство. Акцент вида гостеприимства приходит ещё выше, строкой
   [data-cat] из справочника app/hospitality.py: цвет и темп, больше ничего.

   Оформление собрано с нуля 28.10.2026 (решение Антона): палитра §21 документа заказчика
   и присланный знак не используются. Опора — проекты/атмосфера/бренд/стиль.md: тёплая
   бумага, пастель, высокая засечная типографика, сквозная линия маршрута.

   Шрифты берём файлами с нашего сервера (fonts.css сайта премии): Cormorant Garamond —
   заголовки и названия, Manrope — текст и интерфейс. Google Fonts в <head> не подключаем. */

:root {
  --atm-paper: #F4EFE6;
  --atm-paper-deep: #EBE3D6;
  --atm-ink: #1F2B37;
  --atm-ink-soft: #55646F;
  --atm-water: #6E93A8;
  --atm-water-deep: #3C5C73;
  --atm-brass: #C0853C;
  --atm-clay: #C46D4E;
  --atm-moss: #7D9076;
  --atm-line: #D6CBBA;

  /* Акцент и темп — то, что меняют тема сайта и вид гостеприимства. Всё остальное общее. */
  --atm-accent: #C0853C;
  --atm-pace: 0.6s;

  --atm-wrap: 1180px;
  --atm-gut: 24px;
  --atm-serif: "Cormorant Garamond", Georgia, serif;
  --atm-sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--atm-paper);
  color: var(--atm-ink);
  font: 400 17px/1.65 var(--atm-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

.wrap {
  width: min(var(--atm-wrap), 100% - var(--atm-gut) * 2);
  margin-inline: auto;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--atm-ink); color: var(--atm-paper); padding: 12px 18px;
}
.skip:focus { left: 12px; top: 12px; }

/* ── Метки: короткие надписи капсом, приём бренда ───────────────────────────── */
.eyebrow {
  font: 600 12px/1.2 var(--atm-sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--atm-ink-soft);
  margin: 0 0 18px;
}
.tone-dark .eyebrow, .sec--hero .eyebrow { color: rgba(244, 239, 230, .62); }

/* ── Заголовки ──────────────────────────────────────────────────────────────── */
.h2 {
  font: 300 clamp(34px, 5vw, 58px)/1.08 var(--atm-serif);
  margin: 0 0 20px;
  letter-spacing: -.005em;
}
.h3 { font: 400 clamp(22px, 2.4vw, 28px)/1.2 var(--atm-serif); margin: 0 0 10px; }
.lead { max-width: 62ch; color: var(--atm-ink-soft); margin: 0 0 32px; }
.lead p { margin: 0 0 14px; }
.lead p:last-child { margin-bottom: 0; }
.tone-dark .lead, .tone-ink .lead { color: rgba(244, 239, 230, .88); }

/* ── Шапка ──────────────────────────────────────────────────────────────────── */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 40;
  padding: 16px 0;
  transition: background .35s ease, box-shadow .35s ease, padding .35s ease;
}
.hdr__row { display: flex; align-items: center; gap: 24px; }
.hdr.is-solid {
  background: rgba(244, 239, 230, .93);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--atm-line);
  padding: 10px 0;
}

.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.logo .mark { width: 44px; height: 33px; color: var(--atm-paper); flex: none; }
.hdr.is-solid .logo .mark { color: var(--atm-ink); }
.logo .mark svg { width: 100%; height: 100%; display: block; }
.logo__txt { display: flex; flex-direction: column; line-height: 1.1; color: var(--atm-paper); }
.hdr.is-solid .logo__txt { color: var(--atm-ink); }
.logo__txt b {
  font: 400 21px/1 var(--atm-serif);
  letter-spacing: .22em; text-transform: uppercase;
}
.logo__txt i {
  font: 600 9.5px/1.3 var(--atm-sans); font-style: normal; white-space: nowrap;
  letter-spacing: .09em; text-transform: uppercase; opacity: .64; margin-top: 4px;
}
@media (max-width: 1180px) { .hdr .logo__txt i { display: none; } }

.hdr__nav { display: flex; gap: 18px; flex-wrap: nowrap; }
.hdr__nav a {
  font: 500 13.5px/1 var(--atm-sans); text-decoration: none; white-space: nowrap;
  color: rgba(244, 239, 230, .84); padding: 6px 0; position: relative;
}
.hdr.is-solid .hdr__nav a { color: var(--atm-ink-soft); }
.hdr__nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px;
  background: currentColor; transition: right .3s ease;
}
.hdr__nav a:hover::after, .hdr__nav a[aria-current]::after { right: 0; }

.burger { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.burger span { display: block; width: 22px; height: 1.5px; background: var(--atm-paper); margin: 5px 0; transition: .3s; }
.hdr.is-solid .burger span { background: var(--atm-ink); }

.menu {
  position: fixed; inset: 64px 0 auto; z-index: 39;
  background: var(--atm-paper); border-bottom: 1px solid var(--atm-line);
  padding: 12px var(--atm-gut) 20px; display: flex; flex-direction: column; gap: 4px;
}
.menu a { padding: 11px 0; text-decoration: none; font: 500 16px/1 var(--atm-sans); border-bottom: 1px solid var(--atm-line); }
.menu a:last-child { border-bottom: 0; }
.menu[hidden] { display: none; }

/* ── Полосы ─────────────────────────────────────────────────────────────────── */
.sec { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.sec--tight { padding: clamp(48px, 6vw, 80px) 0; }
.sec.tone-paper-deep { background: var(--atm-paper-deep); }
.sec.tone-dark { background: var(--atm-water-deep); color: var(--atm-paper); }
.sec.tone-ink { background: var(--atm-ink); color: var(--atm-paper); }

/* ── Первый экран: сцена, которая листается ─────────────────────────────────── */
.hero {
  position: relative;
  /* высота = число сцен × экран: прокрутка внутри sticky проигрывает кадры */
  height: calc(var(--scenes, 4) * 100vh);
  background: var(--atm-ink);
}
.hero__sticky {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: flex; align-items: flex-end;
}
.hero__frame {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.08);
  will-change: opacity, transform;
}
.hero__frame.is-on { opacity: 1; }
/* Затемнение кадра. Два слоя: сверху вниз — чтобы читалась шапка и нижний текст, слева
   направо — чтобы заголовок и подводка читались на любом кадре, который поставит админ
   (светлая вода и туман съедали текст даже при сильном нижнем градиенте). */
.hero__frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(31, 43, 55, .54) 0%, rgba(31, 43, 55, .18) 34%,
                                      rgba(31, 43, 55, .62) 70%, rgba(31, 43, 55, .88) 100%),
              linear-gradient(90deg, rgba(31, 43, 55, .62) 0%, rgba(31, 43, 55, .28) 42%,
                                     rgba(31, 43, 55, 0) 72%);
}
/* Мягкая тень под текстом первого экрана: кадр ставит админ, и светлая вода или туман
   съедают абзац даже при сильном градиенте (проверено на вечерней террасе). */
.hero__inner { text-shadow: 0 1px 26px rgba(31, 43, 55, .62); }
.hero__inner { position: relative; z-index: 2; padding-bottom: clamp(72px, 11vh, 132px); color: var(--atm-paper); }
.hero__word { display: block; overflow: hidden; }
.slogan {
  font: 300 clamp(40px, 7.4vw, 104px)/1.02 var(--atm-serif);
  margin: 0 0 22px; max-width: 16ch; letter-spacing: -.01em;
}
.slogan em { font-style: italic; }
.hero__lead { max-width: 46ch; color: rgba(244, 239, 230, .92); margin: 0 0 30px; }
.hero__lead p { margin: 0 0 10px; }
.hero__btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* подписи сцен справа: где мы сейчас на маршруте */
.hero__legend {
  position: absolute; right: var(--atm-gut); bottom: clamp(72px, 11vh, 132px); z-index: 3;
  text-align: right; color: rgba(244, 239, 230, .7);
  font: 600 11px/1.5 var(--atm-sans); letter-spacing: .14em; text-transform: uppercase;
}
.hero__legend b { display: block; font: 400 20px/1.2 var(--atm-serif); letter-spacing: 0; text-transform: none; color: var(--atm-paper); }

.hero__scroll {
  position: absolute; left: var(--atm-gut); bottom: 26px; z-index: 3;
  display: flex; align-items: center; gap: 12px;
  color: rgba(244, 239, 230, .64);
  font: 600 11px/1 var(--atm-sans); letter-spacing: .14em; text-transform: uppercase;
}
.hero__scroll i { display: block; width: 54px; height: 1px; background: currentColor; transform-origin: left; animation: atm-rail 2.6s ease-in-out infinite; }
@keyframes atm-rail { 0%, 100% { transform: scaleX(.3); opacity: .5; } 50% { transform: scaleX(1); opacity: 1; } }

/* ── Кнопки ─────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 1px solid transparent;
  background: var(--atm-brass); color: #fff;
  font: 600 14px/1 var(--atm-sans); text-decoration: none; cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.btn:hover { background: #a97231; transform: translateY(-1px); }
.btn--ghost { background: transparent; border-color: var(--atm-ink); color: var(--atm-ink); }
.btn--ghost:hover { background: var(--atm-ink); color: var(--atm-paper); }
.btn--light { background: var(--atm-paper); color: var(--atm-ink); }
.btn--light:hover { background: #fff; }
.btn--ghost-light { background: transparent; border-color: rgba(244, 239, 230, .5); color: var(--atm-paper); }
.btn--ghost-light:hover { background: rgba(244, 239, 230, .14); }

/* ── Направления: лента карточек ────────────────────────────────────────────── */
.dirs { display: grid; grid-template-columns: repeat(auto-fill, minmax(238px, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; }
.dir { position: relative; }
.dir__ph {
  aspect-ratio: 3 / 4; border-radius: 2px; overflow: hidden;
  background: var(--atm-paper-deep) center/cover no-repeat;
  position: relative;
}
.dir__ph::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(31, 43, 55, 0) 48%, rgba(31, 43, 55, .68) 100%);
}
.dir__ph--empty { display: flex; align-items: center; justify-content: center; }
.dir__ph--empty span {
  font: 300 clamp(44px, 6vw, 68px)/1 var(--atm-serif); color: var(--atm-line);
}
.dir__cap { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 2; color: var(--atm-paper); }
.dir__reg { font: 600 10px/1.3 var(--atm-sans); letter-spacing: .14em; text-transform: uppercase; opacity: .78; }
.dir__name { font: 400 22px/1.15 var(--atm-serif); margin: 4px 0 0; }
.dir__note { margin: 10px 0 0; font-size: 15px; color: var(--atm-ink-soft); }
.tone-dark .dir__note { color: rgba(244, 239, 230, .72); }

/* ── Шаги «как это работает»: линия маршрута ────────────────────────────────── */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); position: relative; }
.steps::before {
  content: ""; position: absolute; left: 10px; right: 10px; top: 13px; height: 1.5px;
  background: repeating-linear-gradient(90deg, var(--atm-water) 0 10px, transparent 10px 18px);
  opacity: .55;
}
.step { position: relative; padding-top: 42px; }
.step::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 13px; height: 13px;
  border-radius: 50%; background: var(--atm-paper); border: 1.5px solid var(--atm-water);
}
.tone-dark .step::before { background: var(--atm-water-deep); }
.step b { display: block; font: 400 22px/1.2 var(--atm-serif); margin-bottom: 8px; }
.step span { color: var(--atm-ink-soft); font-size: 15px; }
.tone-dark .step span { color: rgba(244, 239, 230, .74); }

/* ── Маршруты ───────────────────────────────────────────────────────────────── */
.routes { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.route {
  border: 1px solid var(--atm-line); border-radius: 2px; padding: 26px 24px 22px;
  background: var(--atm-paper); display: flex; flex-direction: column; gap: 14px;
}
.tone-dark .route { background: transparent; border-color: rgba(244, 239, 230, .24); }
.route__days { font: 600 11px/1 var(--atm-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--atm-brass); }
.route__name { font: 400 26px/1.15 var(--atm-serif); margin: 0; }
.route__stops { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.route__stops li { position: relative; padding-left: 22px; font-size: 15px; color: var(--atm-ink-soft); }
.tone-dark .route__stops li { color: rgba(244, 239, 230, .76); }
.route__stops li::before {
  content: ""; position: absolute; left: 4px; top: 9px; width: 7px; height: 7px;
  border-radius: 50%; border: 1.5px solid var(--atm-water);
}
.route__stops li:not(:last-child)::after {
  content: ""; position: absolute; left: 7px; top: 18px; bottom: -9px; width: 1.5px;
  background: var(--atm-water); opacity: .4;
}

/* ── Плитки (универсальный блок) ────────────────────────────────────────────── */
.tiles { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.tile { border-top: 1px solid var(--atm-line); padding-top: 16px; }
.tone-dark .tile { border-color: rgba(244, 239, 230, .26); }
.tile b { display: block; font: 400 20px/1.2 var(--atm-serif); margin-bottom: 7px; }
.tile span { color: var(--atm-ink-soft); font-size: 15px; }
.tone-dark .tile span { color: rgba(244, 239, 230, .72); }

/* ── Цифры ──────────────────────────────────────────────────────────────────── */
.nums { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.num b { display: block; font: 300 clamp(38px, 5vw, 58px)/1 var(--atm-serif); color: var(--atm-brass); }
.num span { display: block; margin-top: 8px; font-size: 15px; color: var(--atm-ink-soft); }
.tone-dark .num b { color: var(--atm-paper); }
.tone-dark .num span { color: rgba(244, 239, 230, .7); }

/* ── Полоса-цитата ──────────────────────────────────────────────────────────── */
.quote { max-width: 24ch; font: 300 clamp(28px, 4vw, 46px)/1.18 var(--atm-serif); margin: 0; }
.quote em { font-style: italic; color: var(--atm-brass); }

/* ── Форма заявки ───────────────────────────────────────────────────────────── */
.jform { margin-top: 36px; max-width: 760px; }
.jform__kinds { border: 0; margin: 0 0 24px; padding: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.jform__kinds legend { font: 600 12px/1 var(--atm-sans); letter-spacing: .14em; text-transform: uppercase; opacity: .6; margin-bottom: 12px; }
.radio { display: inline-flex; align-items: center; gap: 9px; cursor: pointer; font-size: 15px; }
.jform__kinds .radio {
  border: 1px solid rgba(244, 239, 230, .34); border-radius: 999px; padding: 10px 18px;
  transition: border-color .25s, background .25s;
}
.jform__kinds .radio:has(input:checked) { border-color: var(--atm-paper); background: rgba(244, 239, 230, .12); }
.jform__grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.fld { display: flex; flex-direction: column; gap: 7px; }
.fld > span { font: 600 12px/1.2 var(--atm-sans); letter-spacing: .08em; text-transform: uppercase; opacity: .62; }
.fld input, .fld textarea {
  font: 400 16px/1.4 var(--atm-sans); color: inherit;
  background: rgba(244, 239, 230, .1); border: 1px solid rgba(244, 239, 230, .46);
  border-radius: 2px; padding: 13px 14px; width: 100%;
}
.fld input:focus, .fld textarea:focus { outline: 2px solid var(--atm-brass); outline-offset: 1px; }
.fld--wide { margin-top: 16px; }
.radio--consent { display: flex; margin: 22px 0 26px; align-items: flex-start; font-size: 14px; opacity: .9; }
.radio--consent input { margin-top: 2px; width: 17px; height: 17px; accent-color: var(--atm-brass); flex: none; }
.jform > .btn, .jform button.btn { display: inline-flex; }

/* ── Подвал ─────────────────────────────────────────────────────────────────── */
.foot { background: var(--atm-ink); color: var(--atm-paper); padding: 70px 0 28px; }
.foot__row { display: grid; gap: 34px; grid-template-columns: 2fr 1fr 1fr; }
.foot__col--wide { max-width: 38ch; }
.foot .logo { margin-bottom: 18px; }
.foot .logo .mark, .foot .logo__txt { color: var(--atm-paper); }
.foot__about { color: rgba(244, 239, 230, .64); font-size: 15px; margin: 0; }
.foot__link { display: block; padding: 6px 0; text-decoration: none; color: rgba(244, 239, 230, .78); font-size: 15px; }
.foot__link:hover { color: var(--atm-paper); }
.foot__bottom {
  margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(244, 239, 230, .18);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: rgba(244, 239, 230, .56);
}

/* ── Простая страница (раздел готовим, политика, спасибо) ───────────────────── */
.page { padding: clamp(120px, 16vh, 180px) 0 clamp(64px, 9vw, 110px); }
.page__title { font: 300 clamp(34px, 5vw, 58px)/1.1 var(--atm-serif); margin: 0 0 24px; }
.page__body { max-width: 68ch; }
.page__body h2 { font: 400 26px/1.25 var(--atm-serif); margin: 36px 0 12px; }
.page__body p { margin: 0 0 14px; }

/* ── Появление при прокрутке ────────────────────────────────────────────────── */
.rise { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.rise.is-in { opacity: 1; transform: none; }

/* ── Телефон ────────────────────────────────────────────────────────────────── */
@media (max-width: 1020px) {
  .hdr__nav { display: none; }
  .burger { display: block; }
}

@media (max-width: 860px) {
  .burger { display: block; }
  .foot__row { grid-template-columns: 1fr; }
  .hero__legend { display: none; }
  .steps::before { display: none; }
}

/* Уменьшение движения: сцены показываются сразу и целиком, анимации выключены (правило
   Андрея — «reduce» должен показывать сцену, а не прятать её). */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero { height: auto; }
  .hero__sticky { position: static; height: auto; min-height: 100vh; }
  .hero__frame { opacity: 1; transform: none; }
  .hero__frame + .hero__frame { display: none; }
  .hero__scroll i { animation: none; }
  .rise { opacity: 1; transform: none; transition: none; }
}

/* ── Сцены: тексты и подписи сменяют друг друга ─────────────────────────────── */
.hero__inner { display: grid; }
.hero__text {
  grid-area: 1 / 1; opacity: 0; transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
  pointer-events: none;
}
.hero__text.is-on { opacity: 1; transform: none; pointer-events: auto; }
.hero__text p.slogan { max-width: 18ch; }

.hero__legend { display: grid; }
.hero__leg { grid-area: 1 / 1; opacity: 0; transform: translateY(10px); transition: opacity .6s ease, transform .6s ease; }
.hero__leg.is-on { opacity: 1; transform: none; }

/* ── Полоса-довод: фраза слева, пояснение справа ────────────────────────────── */
.quote-row { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.quote-row .lead { margin: 0; }
@media (max-width: 860px) { .quote-row { grid-template-columns: 1fr; } }

/* При уменьшении движения показываем первую сцену целиком, остальные убираем */
@media (prefers-reduced-motion: reduce) {
  .hero__text { opacity: 1; transform: none; position: static; }
  .hero__text:not(.is-on) { display: none; }
  .hero__leg { opacity: 1; transform: none; }
  .hero__leg:not(.is-on) { display: none; }
}

/* ── Телефон: кадр и подписи первого экрана ─────────────────────────────────
   Правила идут в конце файла сознательно: выше объявлены .hero__legend { display: grid }
   и сцены, и без этого блока они перебивали бы медиазапрос. */
@media (max-width: 860px) {
  /* Широкий кадр в узком окне: держим главное (река и город) в видимой части */
  .hero__frame { background-position: 68% center; }
  /* Подпись сцены на телефоне наезжала на кнопку — она там и не нужна */
  .hero__legend { display: none; }
  .slogan { max-width: none; }
  .hero__text p.slogan { max-width: none; }
}

/* ── Шапка внутренней страницы ──────────────────────────────────────────────
   Первого экрана с кадром у внутренних страниц нет: вместо него спокойная
   бумажная полоса с заголовком, чтобы шапка сайта не наезжала на текст. */
.sec--head { padding: clamp(118px, 15vh, 170px) 0 clamp(34px, 5vw, 54px); }
.h1 { font: 300 clamp(38px, 6vw, 76px)/1.05 var(--atm-serif); margin: 0 0 22px; letter-spacing: -.01em; }
.lead--wide { max-width: 70ch; font-size: 18px; color: var(--atm-ink); }

/* На внутренней странице шапка бумажная с самого верха: кадра под ней нет */
body:not(.has-hero) .hdr { background: rgba(244, 239, 230, .93); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--atm-line); }
body:not(.has-hero) .logo .mark,
body:not(.has-hero) .logo__txt { color: var(--atm-ink); }
body:not(.has-hero) .hdr__nav a { color: var(--atm-ink-soft); }
body:not(.has-hero) .burger span { background: var(--atm-ink); }

/* На внутренних страницах плитки шире: там их читают, а не просматривают по диагонали.
   Шесть штук в ряд по 210 px давали мелкий текст и рваный хвост последнего ряда. */
body:not(.has-hero) .tiles { grid-template-columns: repeat(auto-fit, minmax(266px, 1fr)); gap: 22px 26px; }

/* ─────────────────────────────────────────────────────────────────────────────
   Виды гостеприимства (блок kind='kinds' и страница вида).

   Плитка берёт акцент у своего вида: [data-cat] ставит --atm-accent и --atm-pace, и
   дальше всё держится на двух переменных — больше в оформлении вида ничего не меняется
   (решения 28.10 §2: акцент вместо тринадцати палитр).
   ───────────────────────────────────────────────────────────────────────────── */

.kinds {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(258px, 1fr));
  gap: 16px;
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
}

.kind {
  position: relative;
  padding: 20px 20px 20px 24px;
  background: color-mix(in srgb, var(--atm-paper) 70%, transparent);
  border: 1px solid var(--atm-line);
  border-radius: 2px;
  transition: transform var(--atm-pace) cubic-bezier(.22, .61, .36, 1),
              opacity var(--atm-pace) ease, border-color .25s ease;
}

.kind::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--atm-accent);
}

.kind a { display: block; text-decoration: none; }

.kind b {
  display: block;
  font: 400 21px/1.25 var(--atm-serif);
  margin-bottom: 7px;
}

.kind span {
  display: block;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--atm-ink-soft);
}

.kind:hover { border-color: var(--atm-accent); }

.tone-dark .kind, .tone-ink .kind {
  background: rgba(255, 255, 255, .05);
  border-color: rgba(255, 255, 255, .16);
}

.tone-dark .kind span, .tone-ink .kind span { color: rgba(255, 255, 255, .62); }

/* Страница одного вида: метка акцентом, подтипы списком-строкой, кадр сверху */
.kindhead { padding: 54px 0 0; }

.kindhead .eyebrow { color: var(--atm-accent); }

.subs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
}

.subs li {
  padding: 7px 14px;
  font-size: 13px;
  border: 1px solid var(--atm-line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--atm-accent) 7%, transparent);
}

.empty {
  margin: 34px 0 0;
  padding: 26px 28px;
  border: 1px dashed var(--atm-line);
  border-radius: 2px;
  background: color-mix(in srgb, var(--atm-paper-deep) 60%, transparent);
}

.empty b { display: block; font: 400 23px/1.3 var(--atm-serif); margin-bottom: 8px; }

/* ─────────────────────────────────────────────────────────────────────────────
   Карточки мест: каталог вида, «ещё места этого вида», участники Комитета.
   Одна сетка на все три списка — вёрстка карточки лежит в _place_card.html.
   ───────────────────────────────────────────────────────────────────────────── */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
  gap: 22px;
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}

.card a { text-decoration: none; display: block; }

.card__ph {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 2px;
  background: var(--atm-paper-deep) center/cover no-repeat;
  overflow: hidden;
}

.card__ph--empty {
  display: grid;
  place-items: center;
  font: 300 46px/1 var(--atm-serif);
  color: color-mix(in srgb, var(--atm-accent) 45%, var(--atm-ink-soft));
}

.card__level {
  position: absolute;
  left: 10px; bottom: 10px;
  padding: 5px 11px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--atm-paper) 92%, transparent);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.card__body { padding: 14px 2px 0; }

.card__kind {
  font-size: 11.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--atm-accent);
}

.card__name { font: 400 22px/1.2 var(--atm-serif); margin: 6px 0 0; }

.card__note { margin: 7px 0 0; font-size: 14px; line-height: 1.5; color: var(--atm-ink-soft); }

.card__price { margin-top: 9px; font-size: 13.5px; }

.card:hover .card__ph { filter: brightness(1.03); }

.kind__n {
  display: block;
  margin-bottom: 6px;
  font-style: normal;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--atm-accent);
}

/* Строка фактов на карточке места: где, сезон, цена, уровень стандарта */
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 18px 26px;
  list-style: none;
  margin: 30px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--atm-line);
}

.facts li { font-size: 15px; }

.facts b {
  display: block;
  margin-bottom: 4px;
  font: 600 11px/1.4 var(--atm-sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--atm-ink-soft);
}

.sec--photo { padding-top: 34px; }

.placeshot {
  aspect-ratio: 16 / 9;
  border-radius: 2px;
  background: var(--atm-paper-deep) center/cover no-repeat;
}

@media (max-width: 760px) {
  .cards { grid-template-columns: 1fr; gap: 18px; }
  .placeshot { aspect-ratio: 4 / 3; }
}

/* ── Афиша событий (раздел «События» обоих сайтов) ──────────────────────────── */
.events { list-style: none; margin: 30px 0 0; padding: 0; }

.event {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: 24px;
  align-items: start;
  padding: 22px 0;
  border-top: 1px solid var(--atm-line);
}

.event__when {
  font: 600 12px/1.5 var(--atm-sans);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--atm-accent);
  padding-top: 5px;
}

.event__name { font: 400 25px/1.2 var(--atm-serif); margin: 0; }
.event__where { margin-top: 6px; font-size: 13px; color: var(--atm-ink-soft); }
.event__note { margin: 10px 0 0; font-size: 15px; line-height: 1.6; max-width: 62ch; }

@media (max-width: 760px) {
  .event { grid-template-columns: 1fr; gap: 10px; }
}

/* ── Пресс-кит: файлы для скачивания ────────────────────────────────────────── */
.files {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(282px, 1fr));
  gap: 10px;
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}

.files a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  background: color-mix(in srgb, var(--atm-paper) 70%, transparent);
  border: 1px solid var(--atm-line);
  border-radius: 2px;
  text-decoration: none;
  font-size: 14.5px;
  transition: border-color .25s ease;
}

.files a:hover { border-color: var(--atm-accent); }

.files em {
  font-style: normal;
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--atm-accent);
}
