/* HOMO UNICUM — сетка и раскладка направления D «Лес и поток», с 26.11 — светлая палитра C «Луг» (её выбор):
   первый экран — пейзаж «Открытый горизонт» (Вадим), блоки — шалфей и лён, выезды и подвал — хвоя, кнопка — золото,
   эмблема — тёмная латунь. Шрифты: Old Standard TT (заголовки), Ysabeau Office (текст), файлы у себя.
   Сетка Golden Canon: вертикали 1/6 1/4 1/3 1/2 2/3 3/4 5/6; текст — от 1/6 (16.667vw).
   Имена переменных остались с тёмной темы: --green — основной фон блоков, --green-deep — подвал, --on/--on-2 — текст. */
:root{
  --green:#e9eddf;--green-deep:#1f3a2b;
  --brass:#a7a46c;--brass-light:#3d5626;--sand:#e2b85a;--sand-hi:#ebc771;
  --spark:#e0a23a;--spark-hi:#f3b545;  /* линии эмблемы и знака в шапке — тёмная латунь #8f6f34, прямо в SVG */
  --on:#1d2b20;--on-2:#3b493d;
  --paper:#f6f5ee;--ink:#1d2b20;--ink-2:#3b493d;--line:#d3d9c6;--brass-ink:#3d5626;
  --head:'Old Standard TT',Georgia,serif;--text:'Ysabeau Office',system-ui,sans-serif;
  --gx:16.667vw;
  --txt:calc(58.333vw - 19svh - 32px); /* ширина текста первого экрана: от 1/6 до рисунка эмблемы минус 32px (рисунок эмблемы ≈ ±0,18 высоты экрана от центра 3/4) */
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;background:var(--green-deep)}  /* под короткой страницей (404) — цвет подвала, а не полоса */
/* тёмные блоки — выезды и подвал: те же переменные, тёмные значения (хвоя) */
.band.trips,.foot{--green:#1f3a2b;--green-deep:#1f3a2b;--on:#eef1e6;--on-2:#c2ccb8;--ink:#eef1e6;--ink-2:#c2ccb8;--line:rgba(226,194,122,.3);--brass:#a9a06a;--brass-light:#e2c27a;--brass-ink:#e2c27a}
body{background:var(--green);color:var(--on);font-family:var(--text);font-size:19px;font-weight:450;line-height:1.55;-webkit-font-smoothing:antialiased}  /* 450: тёмный текст на светлом выглядит тоньше */
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto}
.vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip{position:absolute;left:-999px;top:0;background:var(--sand);color:var(--ink);padding:8px 14px;z-index:30}
.skip:focus{left:0}
:focus-visible{outline:2px solid var(--brass-light);outline-offset:3px}
.paper :focus-visible,.pagebody :focus-visible,.author :focus-visible{outline-color:var(--brass-ink)}
h1,h2,h3,h4,.fio{font-family:var(--head);font-weight:400;letter-spacing:0}

/* шапка: высота 1/9 экрана, логотип на вертикали 1/6 */
.top{height:calc(100svh/9);min-height:76px;max-height:110px;display:flex;align-items:center;gap:24px;padding:0 5vw 0 var(--gx);border-bottom:1px solid var(--brass);z-index:10;background:var(--green)}
.top.over{position:absolute;inset:0 0 auto 0;background:none}
.brand{display:flex;align-items:center;gap:12px;margin-right:auto;min-width:0}
.brand svg{flex:none}
.brand b{display:block;font-weight:600;font-size:15px;letter-spacing:.16em;color:var(--on)}
.brand small{display:block;font-size:15px;line-height:1.3;color:var(--on-2);letter-spacing:.02em;margin-top:2px}
.nav{display:flex;gap:18px;font-size:16.5px;color:var(--on-2)}
.nav a,.login{white-space:nowrap}
.nav a{padding:6px 0;border-bottom:1px solid transparent;transition:color .2s,border-color .2s}
.nav a:hover,.nav a[aria-current]{color:var(--on);border-color:var(--brass)}
.login{font-size:17px;color:var(--on-2);transition:color .2s}
.login:hover{color:var(--brass-light)}
.btn{display:inline-block;font-family:var(--text);font-weight:550;font-size:17px;line-height:1;padding:17px 26px;border:1px solid var(--ink);background:none;cursor:pointer;transition:background .2s,color .2s,transform .1s}
.btn:active{transform:translateY(1px)}
.btn.fill{background:var(--sand);border-color:var(--sand);color:var(--ink)}
.btn.fill:hover{background:var(--sand-hi);border-color:var(--sand-hi)}
.btn.line{color:var(--ink)}
.btn.line:hover{background:rgba(127,127,127,.1)}
.top .btn{padding:12px 20px;font-size:17px;white-space:nowrap}
.top .btn.line{color:var(--brass-ink);border-color:var(--brass)}
/* выпадающие списки меню, как на Tilda (27.11) */
.nav{align-items:center}
.dd{position:relative}
.dd summary{list-style:none;cursor:pointer;white-space:nowrap;padding:6px 0;border-bottom:1px solid transparent;transition:color .2s,border-color .2s}
.dd summary::-webkit-details-marker,.dd-m summary::-webkit-details-marker{display:none}
.dd summary::after,.dd-m summary::after{content:"";display:inline-block;width:.36em;height:.36em;margin-left:.45em;border-right:1px solid currentColor;border-bottom:1px solid currentColor;transform:translateY(-.22em) rotate(45deg)}
.dd[open] summary::after,.dd-m[open] summary::after{transform:translateY(.06em) rotate(-135deg)}
.dd summary:hover,.dd[open] summary,.dd summary[aria-current]{color:var(--on);border-color:var(--brass)}
.dd-panel{position:absolute;left:-20px;top:calc(100% + 12px);width:max-content;max-width:340px;background:#fbfaf5;box-shadow:0 12px 32px rgba(0,0,0,.12);border:1px solid var(--brass);padding:16px 20px;display:flex;flex-direction:column;gap:10px;font-size:16px;line-height:1.35;z-index:20}
.dd-panel a{color:var(--on);border-bottom:0;padding:2px 0;white-space:normal}
.dd-panel a:hover,.dd-panel a[aria-current]{color:var(--brass-ink);text-decoration:underline;text-underline-offset:3px}
.dd-m summary{list-style:none;cursor:pointer;color:var(--on);display:flex;align-items:center;justify-content:space-between;min-height:44px}
.dd-m summary[aria-current]{font-weight:600}
.dd-m>div{display:flex;flex-direction:column;gap:8px;padding:10px 0 4px 14px;font-size:16px}
.dd-m>div a{padding:6px 0}
.dd-m a[aria-current]{text-decoration:underline;text-underline-offset:3px}
.menu{display:none;position:relative}
.menu>summary{list-style:none;cursor:pointer;font-size:17px;color:var(--on);border:1px solid var(--brass);padding:9px 16px}
.menu>summary::-webkit-details-marker{display:none}
.menu-panel{position:absolute;right:0;top:calc(100% + 14px);width:min(320px,calc(100vw - 40px));max-height:calc(100svh - 96px);overflow:auto;background:#fbfaf5;box-shadow:0 12px 32px rgba(0,0,0,.12);border:1px solid var(--brass);padding:18px 20px;display:flex;flex-direction:column;gap:14px;font-size:17px;z-index:20}
.menu-panel a:not(.btn){color:var(--on)}
.menu-panel .btn{text-align:center}

/* первый экран: пейзаж «Открытый горизонт» + эмблема потока.
   Текст — от вертикали 1/6, H1 — от горизонтали 1/4, кнопки — на 2/3, факты — на 3/4, колонка до 1/2.
   Центр эмблемы — в точке силы 3/4·1/2, её ось — от 1/4 до 3/4 высоты. */
.hero{position:relative;min-height:100svh;background:var(--green);overflow:hidden}
.stage{position:absolute;inset:0}
.photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 100%}
/* лёгкая белая дымка сверху (под шапкой) и слева (под текстом) */
.shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(255,255,255,.5) 0,rgba(255,255,255,0) 16%),
  linear-gradient(90deg,rgba(255,255,255,.45) 0,rgba(255,255,255,.2) 42%,rgba(255,255,255,0) 60%)}
.emblem{position:absolute;left:75%;top:50%;height:56.4svh;width:auto;aspect-ratio:640/620;transform:translate(-50%,-50%);overflow:visible}
/* искры потока: длина контура = 1000, рисунок штриха повторяется через 500 — искр две, напротив друг друга.
   Слои сдвинуты задержкой (6 с / 500 = 0,012 с на единицу): хвост 0–130, тело 70–130, ореол 96–130, голова 114–130 */
.spark use{animation:flow 6s linear infinite}
.spark .tail{stroke:var(--spark);stroke-width:2;stroke-dasharray:130 370;opacity:.35}
.spark .body{stroke:var(--spark);stroke-width:2.4;stroke-dasharray:60 440;opacity:.7;animation-delay:-.84s}
.spark .halo{stroke:var(--spark-hi);stroke-width:9;stroke-dasharray:34 466;opacity:.85;animation-delay:-1.152s}
.spark .head{stroke:#fff6df;stroke-width:3.2;stroke-dasharray:16 484;animation-delay:-1.368s}
@keyframes flow{to{stroke-dashoffset:-500}}
@media (prefers-reduced-motion:reduce){.spark{display:none}html{scroll-behavior:auto}*,*::before,*::after{transition:none!important}.btn:active,.col:hover .go,.col:focus-within .go{transform:none}}
.copy{position:relative;z-index:5;margin-left:var(--gx);width:50vw;padding-top:calc(25svh - 35px)}  /* 35px — надзаголовок: H1 начинается на линии 1/4 */
.eyebrow{font-size:17px;font-weight:500;line-height:1.55;letter-spacing:.06em;color:var(--brass-light);margin-bottom:12px}
.hero h1{font-size:clamp(36px,calc(var(--txt)*.084),60px);line-height:1.1;color:var(--on);max-width:var(--txt);text-wrap:balance;margin-bottom:24px}
.lead{font-size:19px;line-height:1.6;color:var(--on-2);max-width:var(--txt);margin-bottom:20px}
/* сетка: блок «надзаголовок + H1 + вводка» тянется от линии 1/4 до линии 2/3 по высоте — кнопки встают на 2/3;
   длиннее текст — кнопки уходят ниже, но не наезжают на него */
.hero-top{min-height:calc(41.667svh + 35px)}
.cta{display:flex;gap:12px;flex-wrap:wrap}
/* кнопки — на линиях сетки D (1/3 и 1/2): шире они заходят на эмблему потока (её левый край ≈ 0,57 ширины) */
.cta .btn{flex:none;width:calc((33.333vw - 12px)/2);padding:17px 4px;font-size:17px;text-align:center;white-space:nowrap}
/* ponytail: строки фактов сейчас нет (сняты до подтверждения автором); вернётся — на 16:9 она ляжет на холмы, проверить читаемость */
.facts{margin-top:27px;display:flex;gap:8px 28px;flex-wrap:wrap;font-size:15px;color:var(--on-2)}
.facts span+span::before{content:"";display:inline-block;width:1px;height:11px;background:var(--brass);margin-right:28px;vertical-align:-1px}

/* общие приёмы: заголовок раздела, колонка с латунной линией, надпись-метка */
.tag{font-size:15.5px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--brass-light);margin-bottom:26px}
.sec-h{font-size:clamp(28px,3.2vw,46px);line-height:1.15;text-wrap:balance}
.more{color:var(--brass-light);border-bottom:1px solid var(--brass);padding-bottom:2px;transition:color .2s}
.more:hover{color:var(--on)}
.paper .more,.pagebody .more,.author .more{color:var(--brass-ink);border-color:var(--brass-ink)}
.paper .more:hover,.pagebody .more:hover,.author .more:hover{color:var(--ink)}
.more-wrap{margin-top:26px}

/* направления */
.areas{padding:68px var(--gx) 72px;background:var(--green)}
.areas .sec-h{margin-bottom:56px;max-width:20em}
.cols{display:grid;grid-template-columns:repeat(3,1fr)}
.col{position:relative;display:flex;flex-direction:column;padding:0 clamp(24px,3vw,48px);border-left:1px solid var(--brass)}
.col:first-child{padding-left:0;border-left:0}
.col:last-child{padding-right:0}
.col h3{font-size:clamp(26px,2.8vw,40px);line-height:1.18;margin-bottom:18px;text-wrap:balance}
.col p{color:var(--on-2);font-size:19px;line-height:1.65;margin-bottom:34px;max-width:24em}
.col p.tag{color:var(--brass-light);font-size:15.5px;font-weight:600;margin-bottom:26px}
.go{margin-top:auto;font-size:22px;color:var(--brass-light);transition:transform .2s;width:max-content;line-height:1}
.col:hover .go,.col:focus-within .go{transform:translateX(8px)}
.col a.cover::after{content:"";position:absolute;inset:0}
.col a.cover:focus-visible{outline:0}
.col a.cover:focus-visible::after{outline:2px solid var(--brass-light);outline-offset:6px}

/* автор */
.author{background:var(--paper);color:var(--ink);padding:68px var(--gx)}
.author .in{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:clamp(32px,5vw,80px);align-items:end}
.author .in:not(:has(.pic)){grid-template-columns:minmax(0,1fr)}
.pic{margin:0;background:linear-gradient(180deg,#d9e2c9 0,#eef0e4 100%);padding-top:48px;overflow:hidden}
.pic img{display:block;width:100%;height:auto}
.author .tag{color:var(--brass-ink);margin-bottom:18px}
.fio{font-size:clamp(32px,3.4vw,52px);line-height:1.08;margin-bottom:22px}
.author-lead{font-weight:600;font-size:19px;color:var(--ink);margin-bottom:10px}
.author .prose p{font-size:20px;line-height:1.65;color:var(--ink-2);max-width:32em}

/* разделы с текстом, выезды, статьи: заголовок слева, текст в колонке с латунной линией */
.band{padding:68px var(--gx)}
.band.dark{background:var(--green);color:var(--on)}
.band.paper{background:var(--paper);color:var(--ink)}
.band.dark+.band.dark{border-top:1px solid rgba(168,138,85,.35)}
.split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:clamp(32px,5vw,80px);align-items:start}
.split>.sec-h{max-width:12em}
.side-col{border-left:1px solid var(--brass);padding-left:clamp(24px,3vw,48px)}
.sec-lead{margin-top:18px;color:var(--ink-2);max-width:22em}
.dark .prose{color:var(--on-2)}
.prose p{margin-bottom:1em;max-width:36em}
.prose{overflow-wrap:break-word}
.band .prose p{font-size:20px;line-height:1.65}
.prose ul,.prose ol{margin:0 0 1em 1.2em;max-width:34em}
.prose li{margin-bottom:.5em;padding-left:.2em}
.prose ul{list-style:none;margin-left:0}
.prose ul li{position:relative;padding-left:1.4em}
.prose ul li::before{content:"";position:absolute;left:0;top:.8em;width:.8em;height:1px;background:var(--brass)}
.prose li::marker{color:var(--brass)}
.prose b,.prose strong{font-weight:600}
.dark .prose b,.dark .prose strong{color:var(--on)}
.prose a{color:var(--brass-ink);border-bottom:1px solid var(--brass);padding-bottom:1px}
.dark .prose a{color:var(--brass-light)}
.prose a:hover{border-color:currentColor}
.prose h2{font-size:clamp(26px,2.4vw,34px);line-height:1.18;margin:1.8em 0 .6em;scroll-margin-top:24px}
.prose h3{font-size:clamp(21px,1.9vw,26px);line-height:1.25;margin:1.5em 0 .5em}
.prose h4{font-size:19px;margin:1.3em 0 .4em}
.prose>:first-child{margin-top:0}
.prose hr{border:0;border-top:1px solid var(--brass);margin:2em 0;max-width:36em}
.prose img{display:block;margin:1.4em 0}
.prose blockquote{margin:1.4em 0;padding:2px 0 2px 22px;border-left:1px solid var(--brass);color:var(--ink-2);max-width:34em;font-family:var(--head);font-size:1.15em}
.prose pre,.prose code{font-family:ui-monospace,Menlo,monospace;font-size:.9em}
.prose pre{background:rgba(8,39,44,.06);padding:14px 18px;overflow-x:auto;margin-bottom:1em;max-width:36em}
.prose table{border-collapse:collapse;margin:1.4em 0;display:block;overflow-x:auto;max-width:100%}
.prose th,.prose td{border-bottom:1px solid var(--line);padding:8px 16px 8px 0;text-align:left;vertical-align:top}
.prose th{font-weight:600;border-bottom-color:var(--brass)}

/* выезды: коллаж */
.collage{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));grid-auto-rows:clamp(120px,14vw,210px);gap:14px;margin-top:64px}
.collage figure{margin:0;overflow:hidden;background:var(--green-deep)}
.collage img{display:block;width:100%;height:100%;object-fit:cover}
.collage picture{display:contents}
.collage.n1{grid-template-columns:1fr}
.collage figure:nth-child(1){grid-column:1/5;grid-row:1/3}
.collage figure:nth-child(2){grid-column:5/7;grid-row:1}
.collage figure:nth-child(3){grid-column:5/7;grid-row:2}
.collage figure:nth-child(4){grid-column:1/4;grid-row:3}
.collage figure:nth-child(5){grid-column:4/7;grid-row:3}
.collage figure:nth-child(6){grid-column:1/7;grid-row:4}
.collage.n4 figure:nth-child(4){grid-column:1/7}
.collage.n1 figure:nth-child(1),.collage.n2 figure,.collage.n3 figure{grid-row:auto}
.collage.n1 figure:nth-child(1){grid-column:1}
.collage.n2 figure:nth-child(1),.collage.n2 figure:nth-child(2){grid-column:span 3}
.collage.n3 figure:nth-child(n){grid-column:span 2}

/* список статей: латунные линии, без карточек */
.posts{list-style:none;border-top:1px solid var(--brass)}
.posts a{display:block;padding:26px 0;border-bottom:1px solid var(--line)}
.dark .posts a{border-color:rgba(168,138,85,.35)}
.posts .rubric{display:block;font-size:15.5px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--brass-ink);margin-bottom:8px}
.posts .title{display:block;font-family:var(--head);font-size:clamp(22px,2.1vw,30px);line-height:1.18;color:var(--ink);transition:color .2s}
.posts .pre{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin-top:8px;color:var(--ink-2);font-size:19px;line-height:1.5;max-width:36em}
.posts a:hover .title{color:var(--brass-ink);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:5px}

/* внутренние страницы: зелёная шапка страницы и бумажное тело */
.pagehead{background:var(--green);padding:40px var(--gx) 56px;border-bottom:1px solid var(--brass)}
.pagehead h1{font-size:clamp(34px,3.6vw,56px);line-height:1.08;color:var(--on);max-width:20em;text-wrap:balance}
.pagehead .dek{margin-top:20px;font-size:19px;line-height:1.55;color:var(--on-2);max-width:34em}
.pagehead .dek p{margin-bottom:.6em}
.pagehead .meta{margin-top:22px;display:flex;flex-wrap:wrap;gap:6px 24px;font-size:16.5px;color:var(--on-2)}
.crumbs{margin-bottom:28px;font-size:16.5px;color:var(--on-2)}
.crumbs ol{list-style:none;display:flex;flex-wrap:wrap;gap:4px 0}
.crumbs li+li::before{content:"/";margin:0 10px;color:var(--brass)}
.crumbs a{border-bottom:1px solid transparent;transition:border-color .2s,color .2s}
.crumbs a:hover{color:var(--on);border-color:var(--brass)}
.pagebody{background:var(--paper);color:var(--ink);padding:64px var(--gx) 72px}
.pagebody .prose{color:var(--ink-2)}
.pagebody .prose p,.pagebody .prose li{font-size:20px;line-height:1.7}
.pagebody .prose h2,.pagebody .prose h3,.pagebody .prose h4{color:var(--ink)}
.doc{max-width:46rem}
.doc.wide{max-width:60rem}
.doc.narrow{max-width:38rem}
.pagebody.with-pic .doc{max-width:none;display:grid;grid-template-columns:minmax(0,7fr) minmax(0,4fr);gap:clamp(32px,5vw,80px);align-items:start}
.pagebody .sec-h{margin:56px 0 24px;color:var(--ink)}
.pagebody .doc>.sec-h:first-child,.pagebody section:first-child>.sec-h{margin-top:0}
.pagebody .tag{color:var(--brass-ink);margin-bottom:14px}
.pagebody .cols{margin-top:8px;margin-bottom:24px}
.hubs .col{padding-bottom:8px}
.hubs ul,.hubs-inline{list-style:none}
.hubs li{margin-bottom:10px}
.hubs a,.hubs-inline a{font-family:var(--head);font-size:20px;line-height:1.25;border-bottom:1px solid var(--brass);padding-bottom:1px}
.hubs a:hover,.hubs-inline a:hover{color:var(--brass-ink)}
.hubs-inline{display:flex;flex-wrap:wrap;gap:12px 32px}
.pager{display:flex;gap:24px;align-items:center;margin-top:36px;font-size:16px;color:var(--ink-2)}
.pager a{color:var(--brass-ink);border-bottom:1px solid var(--brass-ink)}

/* даты */
.dates{list-style:none;border-top:1px solid var(--brass)}
.dates li{display:grid;grid-template-columns:minmax(0,12rem) minmax(0,1fr);gap:24px;padding:24px 0;border-bottom:1px solid var(--line)}
.dates .when{font-family:var(--head);font-size:21px;line-height:1.25}
.dates h3{font-size:24px;margin-bottom:6px}
.dates .where{color:var(--brass-ink);margin-bottom:6px}

/* форма */
.form{margin-top:36px}
.fld,.check{margin-bottom:22px}
.fld label{display:block;font-size:16px;margin-bottom:6px;color:var(--ink)}
.req{color:var(--brass-ink)}
.form input[type=text],.form input[type=email],.form input[type=tel],.form input[type=number],.form input[type=url],.form select,.form textarea{width:100%;font:inherit;font-size:18px;color:var(--ink);background:#fff;border:1px solid #8b9490;border-radius:0;padding:12px 14px}
.form textarea{height:150px;min-height:130px;resize:vertical}  /* rows=10 от Django давали ~300 px */
.form input:focus-visible,.form textarea:focus-visible,.form select:focus-visible{outline:2px solid var(--brass-ink);outline-offset:1px}
.check label{display:flex;gap:12px;align-items:flex-start;font-size:16px;line-height:1.45;color:var(--ink-2)}
.check input{flex:none;width:20px;height:20px;margin-top:2px;accent-color:var(--ink)}
.check label span a{color:var(--brass-ink);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.check label span a:hover{color:var(--ink)}
.check label span a:focus-visible{outline:2px solid var(--brass-ink);outline-offset:2px}
.check .err{margin-left:32px}
.help{font-size:16.5px;color:var(--ink-2);margin-top:6px}
.err{color:#8d2a1d;font-size:15.5px;margin-top:6px}
.bad input[type=text],.bad textarea,.bad input[type=email],.bad input[type=tel]{border-color:#8d2a1d}
.form-err{border-left:2px solid #8d2a1d;padding:6px 0 6px 16px;margin-bottom:24px;color:#8d2a1d}
.hp{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}
.form .btn.fill{padding:17px 34px}
.form .btn.fill:focus-visible{outline-color:var(--brass-ink)}

/* статья */
.pagebody.art{padding-top:56px}
.art-grid{display:grid;grid-template-columns:minmax(0,46rem) 15rem;gap:clamp(40px,5vw,88px);align-items:start}
.art-grid.no-toc{grid-template-columns:minmax(0,46rem)}
.cover{margin:0 0 40px}
.cover img{display:block;width:100%;height:auto}
.art-body .note{border-left:1px solid var(--brass);padding-left:18px}
.toc{position:sticky;top:24px;font-size:15.5px}
.toc-label{font-size:15.5px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--brass-ink);margin-bottom:12px}
.toc ol{list-style:none;border-left:1px solid var(--brass)}
.toc a{display:block;padding:6px 0 6px 14px;margin-left:-1px;border-left:2px solid transparent;color:var(--ink-2);line-height:1.35}
.toc a:hover{color:var(--ink)}
.toc a.on{color:var(--ink);border-left-color:var(--brass)}

/* подвал */
.foot{background:var(--green-deep);border-top:1px solid rgba(168,138,85,.35);padding:44px var(--gx) 52px;font-size:16.5px;color:var(--on-2)}
.foot-in{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:clamp(32px,5vw,80px)}
.foot-name{font-family:var(--head);font-size:20px;color:var(--on);margin-bottom:10px}
.foot-about p{max-width:36em}
.foot-nav{display:flex;flex-direction:column;gap:8px;border-left:1px solid var(--brass);padding-left:clamp(20px,2.5vw,36px)}
.foot-nav a:hover{color:var(--brass-light)}
.foot-cta{margin-top:20px}
.foot-contacts{margin-top:16px}
.foot-contacts a{color:var(--on);border-bottom:1px solid var(--brass)}
.foot-contacts a:hover{color:var(--brass-light)}
.foot-social{margin-top:8px}
.foot-social a{margin-right:14px}
.foot-old{margin-top:10px;font-size:.85em;opacity:.7}
.foot-old a{color:var(--on)}

/* программы, выезды, мастер-класс: шапка с кнопками и разделы, фон чередуется лён/шалфей (хвоя — только у фото) */
.landing-head .eyebrow{margin-bottom:14px}
.head-cta{margin-top:30px;display:flex;gap:12px;flex-wrap:wrap}
/* считаем только светлые разделы (of :not(.trips)): фото на хвое и блок автора не сбивают очерёдность */
.sections>:nth-child(odd of :not(.trips)){background:var(--paper);color:var(--ink)}
.sections>:nth-child(even of :not(.trips)){background:var(--green);color:var(--on)}
.sections .sec-lead{font-size:19px;line-height:1.6}
.pts .sec-h,.mods .sec-h{max-width:20em}
.pts-list{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 clamp(24px,3vw,48px);margin-top:40px}
.pts-list>li{border-top:1px solid var(--brass);padding:20px 0 28px}
.pts-list h3{font-size:clamp(21px,1.9vw,26px);line-height:1.25;margin-bottom:8px}
.pts-list p{color:var(--ink-2);font-size:19px;line-height:1.6}
.pts-list>li:not(:has(h3)) p{color:var(--ink);font-size:20px}
.mods-list{list-style:none;margin-top:40px;border-bottom:1px solid var(--brass)}
.mods-list>li{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:clamp(32px,5vw,80px);padding:30px 0;border-top:1px solid var(--brass)}
.mods-list .tag{margin-bottom:10px;color:var(--brass-ink)}
.mods-list h3{font-size:clamp(23px,2.2vw,32px);line-height:1.2;max-width:14em}
.mods .prose{color:var(--ink-2)}
.mods .prose p,.mods .prose li{font-size:19px;line-height:1.6}
.tiers{list-style:none}
.tiers>li{padding:0 0 22px;margin-bottom:22px;border-bottom:1px solid var(--line)}
.tiers>li:last-child{margin-bottom:0}
.tier-name{font-size:15.5px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--brass-ink);margin-bottom:6px}
.tier-price{font-family:var(--head);font-size:clamp(30px,2.8vw,42px);line-height:1.1;color:var(--ink)}
.tier-price s{font-size:.55em;color:var(--ink-2);margin-right:8px;text-decoration-thickness:1px}
.tier-note{margin-top:6px;color:var(--ink-2)}
.price .help{max-width:28em}
.faq-list{border-top:1px solid var(--brass)}
.faq-list details{border-bottom:1px solid var(--line)}
.faq-list summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;gap:20px;padding:20px 0;font-family:var(--head);font-size:clamp(21px,1.8vw,25px);line-height:1.3}
.faq-list summary::-webkit-details-marker{display:none}
.faq-list summary::after{content:"+" / "";flex:none;color:var(--brass-ink);font-family:var(--text);font-size:24px;line-height:1.1}
.faq-list details[open] summary::after{content:"−" / ""}
.faq-list .prose{padding:0 0 22px;color:var(--ink-2)}
.faq-list .prose p{font-size:19px;line-height:1.65}
.prog-group+.prog-group{margin-top:8px}
.dates .ev{border-bottom:1px solid var(--brass);transition:color .2s}
.dates .ev:hover{color:var(--brass-ink)}
.dates.past li{padding:16px 0}
.dates.past h3{font-size:21px}
.dates.past .when{font-size:18px;color:var(--ink-2)}
#forma:focus{outline:0}

/* страница 500 */
.err500{background:var(--green);min-height:100svh}  /* иначе под короткой страницей видна хвоя от html */
.err500 main{padding:12vh var(--gx);max-width:50rem}
.err500 h1{font-size:clamp(32px,4vw,52px);line-height:1.1;margin-bottom:20px}
.err500 .dek{color:var(--on-2);font-size:19px;margin-bottom:28px}

/* шапка с меню Tilda (27.11): до 1500 — логотип ближе к краю, без подписи; до 1300 — пункты плотнее; до 1200 — только «Меню» */
@media (min-width:1200px){.brand{flex:none}.brand b{white-space:nowrap}}
@media (max-width:1799px) and (min-width:981px){.brand small{display:none}}
@media (max-width:1499px) and (min-width:981px){.top{padding:0 3.5vw}}
@media (max-width:1300px) and (min-width:1200px){.nav{gap:15px}}
@media (max-width:1199px){.nav,.login,.top>.btn{display:none}.menu{display:block}}

@media (max-width:1320px) and (min-width:981px){.cta .btn{width:auto;padding:16px 18px}.facts{font-size:15px;gap:6px 22px}.facts span+span::before{display:none}}
@media (max-width:980px){
  .nav,.login,.top>.btn{display:none}
  .menu{display:block}
  .top{padding:0 20px;height:72px;min-height:0}
  .brand small{display:block;font-size:13.5px;line-height:1.25}
  .hero{display:flex;flex-direction:column;min-height:auto}
  .stage{position:relative;height:36svh;min-height:300px}
  .shade{background:linear-gradient(180deg,rgba(255,255,255,.45) 0,rgba(255,255,255,0) 32%,rgba(255,255,255,0) 72%,var(--green) 100%)}
  /* стрелка начинается на 24px ниже линии шапки (72px), низ рисунка — на 12px выше края сцены */
  .emblem{left:50%;top:calc(49.09% + 43px);height:calc((100% - 108px)*1.127)}
  .copy{margin:0;width:auto;padding:8px 20px 52px}
  .eyebrow{font-size:16px;text-wrap:balance}
  .hero h1{font-size:34px;max-width:none}
  .lead{font-size:18px;max-width:none}
  .hero-top{min-height:0}
  .cta .btn{width:100%;padding:16px 20px}
  .facts{margin-top:26px;flex-direction:column;gap:6px}
  .facts span+span::before{display:none}
  .areas{padding:56px 20px 64px}
  .areas .sec-h{margin-bottom:32px}
  .cols{grid-template-columns:1fr}
  .col,.col:first-child,.col:last-child{padding:30px 0;border-left:0;border-top:1px solid var(--brass)}
  .col:first-child{border-top:0;padding-top:0}
  .go{margin-top:6px}
  .col p{margin-bottom:20px}
  .author,.band{padding:56px 20px}
  .author .in,.split{grid-template-columns:1fr;gap:28px}
  .side-col{border-left:0;border-top:1px solid var(--brass);padding:26px 0 0}
  .fio{font-size:34px}
  .collage,.collage.n1{display:flex;flex-direction:column;gap:10px;margin-top:36px}
  .collage figure{height:200px}
  .pagehead{padding:28px 20px 40px}
  .pagehead .dek{font-size:18px}
  .pagebody,.pagebody.art{padding:44px 20px 72px}
  .pagebody.with-pic .doc{grid-template-columns:1fr}
  .pagebody .cols{margin-bottom:0}
  .dates li{grid-template-columns:minmax(0,1fr);gap:6px}
  .art-grid,.art-grid.no-toc{grid-template-columns:minmax(0,1fr)}
  .toc{position:static;order:-1;margin-bottom:32px;padding-bottom:20px;border-bottom:1px solid var(--line)}
  .foot{padding:36px 20px 44px}
  .foot-in{grid-template-columns:1fr;gap:28px}
  .foot-nav{border-left:0;border-top:1px solid var(--brass);padding:22px 0 0;gap:0}
  .foot-nav a,.menu-panel a:not(.btn),.crumbs a,.foot-contacts a{display:flex;align-items:center;min-height:44px}
  .foot-contacts a{display:inline-flex;margin-right:6px}
  .menu-panel{gap:4px}
  .crumbs li{display:flex;align-items:center}
  .err500 main{padding:56px 20px}
}
.pagebody .col p.tag{color:var(--brass-ink)}
@media (max-width:1100px) and (min-width:981px){.pts-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:980px){
  .head-cta .btn{width:100%;text-align:center}
  .pts-list{grid-template-columns:minmax(0,1fr);margin-top:28px}
  .mods-list{margin-top:28px}
  .mods-list>li{grid-template-columns:minmax(0,1fr);gap:12px;padding:24px 0}
}

/* окно согласия на cookie (consent.js): внизу экрана, светлое, кнопки как на сайте */
.consent{position:fixed;left:16px;right:16px;bottom:16px;z-index:40;max-width:880px;margin:0 auto;display:flex;gap:20px;align-items:center;
  background:var(--paper);color:var(--ink);border:1px solid var(--line);box-shadow:0 6px 24px rgba(29,43,32,.18);padding:18px 22px;font-size:16px;line-height:1.45}
.consent[hidden]{display:none}
.consent a{border-bottom:1px solid var(--brass)}
.consent-now{color:var(--ink-2)}
.consent-btns{display:flex;gap:10px;flex:none}
.consent .btn{padding:13px 18px;font-size:16px;white-space:nowrap}
@media (max-width:720px){.consent{flex-direction:column;align-items:stretch;gap:12px;left:8px;right:8px;bottom:8px;padding:14px;font-size:15px}
  .consent .btn{flex:1;text-align:center;white-space:normal;padding:12px 10px;font-size:15px}}  /* кнопки в ряд: окно ниже, меньше закрывает */
