/* ═══════════════════════════════════════════════════════════════
   Витрина «Сезон» - Ландшафт (Павел Мусс, «Принцип НОВО»), этап 06,
   последний в цепочке клуба. Холодная зелень и земля - против кедра
   Стройки и уголька Дерева. Один сильный ход - кульминация «Участок
   за один сезон»: план участка прорастает слоями снизу вверх и в
   конце становится настоящей фотографией. Канон контура: token-сетка
   --ease/--gut/--h1-h3, зерно, полоса фактов, один акцент.
   ═══════════════════════════════════════════════════════════════ */

:root {
  --soil: #14170f;         /* тёмная земля - не чёрный */
  --soil-lift: #1a1e14;
  --surface: #1f2418;      /* плашка на земле */
  --lime: #e8e9e0;         /* текст - не белый */
  --lime-dim: #9aa08c;
  --lime-faint: #636b56;
  --moss: #7d9152;         /* молодая зелень - единственный акцент */
  --moss-dp: #5f7040;
  --rule: #262b1c;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-heavy: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 180ms;
  --t-mid: 420ms;
  --gut: clamp(1.2rem, 4vw, 4rem);
  --max: 100rem;
  --h1: clamp(4.5rem, 17vw, 15rem);
  --h2: clamp(2.2rem, 4.5vw, 4.2rem);
  --h3: clamp(1.15rem, 1.2vw + 0.7rem, 1.6rem);
  --mono: ui-monospace, 'SF Mono', 'Roboto Mono', 'Cascadia Code', monospace;
}

* { margin: 0; box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  background: var(--soil);
  color: var(--lime);
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: clip;
}

/* зерно - тот же рецепт контура */
body::after {
  content: "";
  position: fixed; inset: -50%;
  z-index: 90;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
  animation: grain 9s steps(6) infinite;
}
@media (prefers-reduced-motion: reduce) { body::after { animation: none; } }
@keyframes grain {
  0%,100% { transform: translate(0,0); } 20% { transform: translate(-4%,3%); }
  40% { transform: translate(3%,-2%); } 60% { transform: translate(-2%,-4%); } 80% { transform: translate(4%,2%); }
}

h1, h2, h3 { font-family: inherit; font-weight: 800; letter-spacing: -0.01em; line-height: 1.03; text-wrap: balance; }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); font-weight: 600; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.wrap { padding-left: var(--gut); padding-right: var(--gut); max-width: var(--max); margin-inline: auto; }
section { position: relative; padding: clamp(4rem, 9vw, 7.5rem) 0; }

.rv { opacity: 0; transform: translateY(16px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1 !important; transform: none !important; transition: none !important; } }

/* ── клубная планка + шапка ── */
.clubbar { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; justify-content: space-between; padding: 0.6rem var(--gut); font-size: 0.78rem; background: var(--surface); color: var(--lime-dim); }
.clubbar a { color: var(--lime); text-decoration: none; border-bottom: 1px solid rgba(232,233,224,0.3); }
/* переход по якорю меню не должен прятать заголовок под липкую шапку */
section[id] { scroll-margin-top: 5.5rem; }
.top { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem var(--gut); position: sticky; top: 0; z-index: 20; background: rgba(20,23,15,0.86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
.top__logo { font-weight: 800; font-size: 1.2rem; text-decoration: none; letter-spacing: -0.01em; display: flex; align-items: baseline; gap: 0.5rem; }
.top__logo i { color: var(--moss); font-style: normal; }
.top__club { font-size: 0.68rem; font-weight: 500; text-transform: lowercase; color: var(--lime-faint); letter-spacing: 0.04em; }
.top__nav { display: flex; gap: clamp(0.8rem, 2vw, 1.8rem); font-size: 0.88rem; }
.top__nav a { text-decoration: none; color: var(--lime-dim); transition: color var(--t-fast) var(--ease); }
.top__nav a:hover { color: var(--lime); }
@media (max-width: 760px) { .top__nav { display: none; } }

/* ── 1. герой ── */
.hero { min-height: 92svh; display: flex; flex-direction: column; justify-content: flex-end; position: relative; overflow: clip; }
.hero__img { position: absolute; inset: 0; z-index: -2; }
.hero__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; opacity: 0; transition: opacity 1400ms var(--ease); }
.hero__img img.is-active { opacity: 1; }
.hero__img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,23,15,0.05) 0%, rgba(20,23,15,0.1) 55%, rgba(20,23,15,0.62) 100%); }
.hero__inner { position: relative; padding: 0 var(--gut) clamp(3rem, 7vw, 5.5rem); max-width: var(--max); margin: 0 auto; width: 100%; }
.hero__kicker { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--moss); margin-bottom: 0.8rem; text-shadow: 0 2px 12px rgba(0,0,0,0.7); }
.hero__title--brand { display: flex; flex-direction: column; align-items: flex-start; gap: 0.5rem; }
.hero__title-main { font-size: clamp(3.2rem, 10vw, 8rem); letter-spacing: -0.01em; }
.hero__title-rule { display: block; width: min(58%, 22rem); height: 2px; background: var(--lime); opacity: 0.8; }
.hero__title-sub { font-size: clamp(1rem, 2vw, 1.7rem); font-weight: 500; letter-spacing: 0.42em; text-transform: uppercase; padding-left: 0.42em; }
.hero__title { font-size: var(--h1); line-height: 0.9; color: var(--lime); text-shadow: 0 4px 30px rgba(0,0,0,0.55); }
.hero__lead { max-width: 44ch; color: var(--lime-dim); font-size: 1.1rem; margin-top: 1.2rem; text-shadow: 0 2px 14px rgba(0,0,0,0.75); }
.hero__scroll { font-size: 0.85rem; color: var(--lime-faint); margin-top: 1.6rem; font-family: var(--mono); letter-spacing: 0.04em; }

/* ── 2. полоса фактов ── */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; padding: clamp(2.4rem, 5vw, 4rem) var(--gut); background: var(--surface); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.facts > div { display: flex; flex-direction: column; gap: 0.3rem; }
.facts b { font-weight: 800; font-size: clamp(1.8rem, 3.2vw, 2.6rem); color: var(--lime); font-variant-numeric: tabular-nums; }
.facts b i { font-style: normal; font-weight: 600; font-size: 0.55em; color: var(--moss); }
.facts span { font-size: 0.85rem; color: var(--lime-dim); }
.facts span a { color: var(--lime-dim); text-decoration: none; border-bottom: 1px dotted var(--lime-faint); }
.facts span a:hover { color: var(--moss); border-color: var(--moss); }
@media (max-width: 860px) { .facts { grid-template-columns: repeat(2, 1fr); } }

/* ── kicker/lede общие ── */
.kicker { font-family: var(--mono); font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.8rem; color: var(--moss); }
.lede { max-width: 52ch; margin-top: 0.8rem; color: var(--lime-dim); }

/* ── 3. порядок: сад делают последним, начинают первым ── */
.poryadok { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2rem; }
.poryadok__kicker { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--moss); }
.poryadok__title { font-size: clamp(1.8rem, 3.6vw, 3rem); max-width: 22ch; }
.poryadok__photo { width: min(100%, 40rem); border-radius: 3px; overflow: hidden; margin-top: 1rem; }
.poryadok__photo img { width: 100%; height: auto; }
.poryadok__cap { font-size: 0.9rem; color: var(--lime-dim); max-width: 52ch; }
.poryadok__timeline { display: flex; align-items: center; gap: 0.8rem; font-family: var(--mono); font-size: 0.85rem; color: var(--lime-dim); margin-top: 0.4rem; flex-wrap: wrap; justify-content: center; }
.poryadok__timeline b { color: var(--moss); font-weight: 600; }

/* ── 4. работа: чем занят этап ── */
.rabota__head { max-width: var(--max); margin: 0 auto 2.4rem; padding: 0 var(--gut); }
.rabota__grid { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 1.2rem; height: clamp(360px, 40vw, 560px); }
.rabota__item { position: relative; border-radius: 3px; overflow: hidden; background: var(--surface); }
.rabota__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-heavy); }
.rabota__item:hover img { transform: scale(1.03); }
.rabota__item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(20,23,15,0.85) 100%); }
.rabota__label { position: absolute; left: 1.1rem; bottom: 1rem; z-index: 1; font-family: var(--mono); font-size: 0.82rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--lime); }
@media (max-width: 760px) { .rabota__grid { grid-template-columns: 1fr; grid-template-rows: none; height: auto; gap: 0.9rem; } .rabota__item { aspect-ratio: 16/10; } }
.rabota__chips { max-width: var(--max); margin: 2.2rem auto 0; padding: 0 var(--gut); display: flex; flex-wrap: wrap; gap: 0.6rem; }
.rabota__chip { font-family: var(--mono); font-size: 0.82rem; padding: 0.5rem 0.9rem; border: 1px solid var(--rule); border-radius: 100px; color: var(--lime-dim); }

/* ── 5. кульминация: участок за один сезон ── */
.sezon { padding: 0; overflow: clip; }
.sezon__pin { position: relative; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 3rem var(--gut); }
.sezon__head { text-align: center; margin-bottom: clamp(1.2rem, 3vw, 2.2rem); }
.sezon__head .h3 { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--moss); }
.sezon__head h2 { margin-top: 0.6rem; }
.sezon__stage { position: relative; width: min(100%, 78rem); aspect-ratio: 16/9.6; border-radius: 4px; overflow: hidden; background: #12150f; border: 1px solid var(--rule); }
.sezon__plan { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; }
.sezon__plan path {
  fill: none; stroke: var(--lime); vector-effect: non-scaling-stroke;
  stroke-linecap: round; stroke-linejoin: round;
}
/* без работающего скрипта показываем финал: кадр объекта, линии скрыты */
.js .sezon__plan path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.sezon__plan { opacity: 0; }
.js .sezon__plan { opacity: 1; }
.sz-relief { opacity: 0.5; }
.sz-path   { opacity: 0.95; }
.sz-crown  { opacity: 0.8; }
.sz-lamp   { opacity: 0.75; }
.sz-house  { opacity: 0.9; }
.sezon__layer { opacity: 1; }
.sezon__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 1; z-index: 1; }
.js .sezon__photo { opacity: 0; }
.sezon__stage.is-final .sezon__photo { opacity: 1; }
.sezon__stage:after { content: ''; position: absolute; inset: 0; z-index: 4; pointer-events: none; background: radial-gradient(125% 95% at 50% 45%, transparent 72%, rgba(18,21,15,0.4) 100%); }
.sezon__progress { position: absolute; left: 1.4rem; right: 1.4rem; bottom: 0.75rem; z-index: 5; display: flex; gap: 0.3rem; }
.sezon__progress span { flex: 1; height: 2px; background: var(--rule); position: relative; overflow: hidden; }
.sezon__progress span:after { content: ''; position: absolute; inset: 0; background: var(--moss); transform: scaleX(0); transform-origin: left; transition: transform 200ms linear; }
.sezon__progress span.is-on:after { transform: scaleX(1); }
.sezon__caption { position: absolute; left: 1.4rem; bottom: 1.3rem; z-index: 5; font-family: var(--mono); font-size: 0.82rem; color: var(--lime); text-shadow: 0 2px 10px rgba(0,0,0,0.6); display: flex; align-items: baseline; gap: 0.6rem; }
.sezon__caption i { font-style: normal; color: var(--moss); font-weight: 700; }
.sezon__note { text-align: center; max-width: 50ch; margin: 1.4rem auto 0; font-size: 0.85rem; color: var(--lime-faint); }
@media (max-width: 760px) { .sezon__pin { min-height: auto; padding: 2rem var(--gut) 3rem; } .sezon__stage { aspect-ratio: 3/4; } .sezon__progress { bottom: 2.6rem; } }

/* ── 6. питомник ── */
.pitomnik { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.pitomnik__photo { border-radius: 3px; overflow: hidden; }
.pitomnik__photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.pitomnik__stats { display: flex; gap: 1.6rem; margin-top: 1.4rem; flex-wrap: wrap; }
.pitomnik__stat { font-family: var(--mono); }
.pitomnik__stat b { display: block; font-size: 1.5rem; font-weight: 700; color: var(--moss); }
.pitomnik__stat span { font-size: 0.78rem; color: var(--lime-dim); }
@media (max-width: 860px) { .pitomnik { grid-template-columns: 1fr; } }

/* ── место в цепочке ── */
.chain__list { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.chain__list a, .chain__list > span { display: flex; align-items: center; gap: 0.6rem; padding: 0.7rem 1.1rem; border: 1px solid var(--rule); border-radius: 100px; text-decoration: none; font-size: 0.9rem; transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease); }
.chain__list > span { opacity: 0.45; }
.chain__list a:hover { border-color: var(--moss); background: rgba(125,145,82,0.08); }
.chain__list a.is-here { background: var(--moss); color: var(--soil); border-color: var(--moss); }
.chain__step { font-family: var(--mono); font-weight: 600; color: var(--moss); }
.chain__list a.is-here .chain__step { color: var(--soil); }
.chain__cta { margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid var(--rule); font-size: 0.92rem; color: var(--lime-dim); }
.chain__cta a { color: var(--moss); }

/* ── павел мусс ── */
.chelovek { display: flex; gap: clamp(2rem, 5vw, 3.5rem); align-items: flex-start; max-width: var(--max); margin: 0 auto; padding: clamp(3rem, 7vw, 5.5rem) var(--gut); flex-wrap: wrap; }
.chelovek__portrait { width: 200px; flex-shrink: 0; }
.chelovek__portrait img { width: 100%; height: auto; display: block; border-radius: 3px; aspect-ratio: 3/4; object-fit: cover; }
.chelovek__name { font-weight: 700; font-size: 1.5rem; color: var(--lime); margin-bottom: 0.35rem; }
.chelovek__role { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--moss); margin-bottom: 1.1rem; }
.chelovek__text { color: var(--lime-dim); max-width: 58ch; line-height: 1.65; }
.chelovek__quote { margin-top: 1.2rem; padding-left: 1rem; border-left: 2px solid var(--moss); font-style: italic; color: var(--lime); max-width: 52ch; }
.chelovek__quote cite { display: block; margin-top: 0.5rem; font-style: normal; font-family: var(--mono); font-size: 0.75rem; color: var(--lime-faint); }
.chelovek__quote cite a { color: var(--lime-faint); }
.chelovek__links { display: flex; gap: 1rem; margin-top: 1.3rem; flex-wrap: wrap; }
.chelovek__links a { font-size: 0.88rem; text-decoration: none; border-bottom: 1px solid rgba(232,233,224,0.3); }
.chelovek__links a:hover { border-color: var(--moss); color: var(--moss); }
@media (max-width: 640px) { .chelovek { flex-direction: column; align-items: center; text-align: center; } .chelovek__text, .chelovek__quote { margin: 0 auto; } .chelovek__quote { border-left: none; border-top: 2px solid var(--moss); padding-left: 0; padding-top: 0.8rem; } }

/* ── faq ── */
.faq__list { max-width: 70ch; margin: 0 auto; display: flex; flex-direction: column; }
.faq__item { padding: 1.4rem 0; border-bottom: 1px solid var(--rule); }
.faq__q { font-weight: 600; margin-bottom: 0.5rem; }
.faq__a { color: var(--lime-dim); font-size: 0.95rem; }
.faq__a a { color: var(--lime-dim); }

/* ── контакт ── */
.contact { background: var(--surface); }
.contact__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.4rem; margin-top: 2rem; }
.contact__label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--lime-faint); margin-bottom: 0.4rem; font-family: var(--mono); }
.contact__val { font-weight: 600; }
.contact__val a { text-decoration: none; border-bottom: 1px solid rgba(232,233,224,0.3); }
.contact__val a:hover { border-color: var(--lime); }
.contact__sub { display: block; font-size: 0.82rem; font-weight: 400; color: var(--lime-dim); margin-top: 0.2rem; }

/* ── бланк заявки ── */
.zayavka { max-width: var(--max); margin: 2.8rem auto 0; padding: 0 var(--gut); padding-top: 2rem; border-top: 1px solid var(--rule); }
.zayavka__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }
.zayavka__title { font-weight: 700; font-size: 1.15rem; }
.zayavka__num { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lime-faint); }
.zayavka__rows { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.zayavka__row { display: flex; flex-direction: column; gap: 0.35rem; }
.zayavka__label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--lime-faint); font-family: var(--mono); }
.zayavka__input { font: inherit; font-size: 0.95rem; color: var(--lime); background: transparent; border: none; border-bottom: 1px solid var(--rule); padding: 0.45rem 0; border-radius: 0; transition: border-color var(--t-fast) var(--ease); }
.zayavka__input::placeholder { color: var(--lime-faint); opacity: 0.6; }
.zayavka__input:focus { outline: none; border-bottom-color: var(--moss); }
.zayavka__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.zayavka__consent { display: flex; align-items: flex-start; gap: 0.6rem; margin-top: 1.6rem; font-size: 0.82rem; color: var(--lime-dim); max-width: 62ch; cursor: pointer; }
.zayavka__consent input { margin-top: 0.15rem; accent-color: var(--moss); flex-shrink: 0; }
.zayavka__consent a { color: var(--lime); text-decoration: none; border-bottom: 1px solid rgba(232,233,224,0.35); }
.zayavka__submit { margin-top: 1.4rem; font: inherit; font-weight: 700; font-size: 0.95rem; color: var(--soil); background: var(--moss); border: none; border-radius: 2px; padding: 0.85rem 1.8rem; cursor: pointer; transition: background var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease); }
.zayavka__submit:hover { background: #91a763; }
.zayavka__submit:disabled { opacity: 0.5; cursor: default; }
.zayavka__err { margin-top: 0.9rem; font-size: 0.85rem; color: #d97a4a; min-height: 1.2em; }
.zayavka__ok { display: none; max-width: var(--max); margin: 2.8rem auto 0; padding: 0 var(--gut); padding-top: 2rem; border-top: 1px solid var(--rule); font-weight: 700; font-size: 1.05rem; }
.zayavka__ok.on { display: block; }
@media (max-width: 760px) { .zayavka__rows { grid-template-columns: 1fr; } .zayavka__submit { width: 100%; } }

footer.foot { display: flex; flex-wrap: wrap; gap: 0.8rem 1.6rem; justify-content: space-between; align-items: center; padding: 1.6rem var(--gut); background: var(--surface); border-top: 1px solid var(--rule); font-size: 0.85rem; color: var(--lime-dim); }
.foot__nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.foot__nav a { text-decoration: none; color: var(--lime); border-bottom: 1px solid rgba(232,233,224,0.25); }

/* ── клубный слой: фоновое слово и выход на главную ── */
.club, .chain { position: relative; overflow: clip; }
.club-mark {
  position: absolute;
  left: 50%; bottom: -0.08em;
  transform: translateX(-50%);
  z-index: 0;
  font-weight: 800;
  font-size: clamp(4rem, 13vw, 13rem);
  color: transparent;
  --bgshine: -40;
  background-image: linear-gradient(100deg,
    rgb(232 233 224 / 0.045) 38%,
    rgb(232 233 224 / 0.085) 46%,
    rgb(232 233 224 / 0.17) 50%,
    rgb(232 233 224 / 0.085) 54%,
    rgb(232 233 224 / 0.045) 62%);
  background-repeat: no-repeat;
  background-size: 320% 100%;
  background-position: calc(var(--bgshine) * 1%) 0;
  -webkit-background-clip: text;
  background-clip: text;
  opacity: 1;
  pointer-events: none; user-select: none; white-space: nowrap;
}
.club-home {
  position: relative; z-index: 1;
  display: inline-block; margin-top: 1.6rem;
  font-size: 0.9375rem; color: var(--moss);
  border-bottom: 1px solid rgba(125,145,82,0.4); padding-bottom: 2px;
  transition: color 300ms ease, border-color 300ms ease;
}
.club-home:hover { color: var(--lime); border-color: var(--lime); }
.club-home span { display: inline-block; transition: transform 200ms ease; }
.club-home:hover span { transform: translateX(4px); }

/* ── работы: пролистывание объектов ── */
.works { padding: 0; overflow: clip; }
.works__pin { position: relative; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 3rem var(--gut); }
.works__head { text-align: center; margin-bottom: clamp(1.2rem, 3vw, 2.2rem); }
.works__head .h3 { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--moss); }
.works__stage { position: relative; width: min(100%, 78rem); aspect-ratio: 16/9.6; border-radius: 4px; overflow: hidden; background: #12150f; border: 1px solid var(--rule); }
.works__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.works__img:first-of-type { opacity: 1; }
.works__img.is-on { opacity: 1; }
.works__cap { position: absolute; left: 1.4rem; bottom: 1.3rem; z-index: 3; font-family: var(--mono); font-size: 0.82rem; color: var(--lime); text-shadow: 0 2px 10px rgba(0,0,0,0.7); display: flex; align-items: baseline; gap: 0.6rem; }
.works__cap i { font-style: normal; color: var(--moss); font-weight: 700; }
.works__bar { position: absolute; left: 1.4rem; right: 1.4rem; bottom: 0.75rem; z-index: 3; display: flex; gap: 0.3rem; }
.works__bar span { flex: 1; height: 2px; background: rgba(232,233,224,0.18); position: relative; overflow: hidden; }
.works__bar span:after { content: ''; position: absolute; inset: 0; background: var(--moss); transform: scaleX(0); transform-origin: left; transition: transform 240ms linear; }
.works__bar span.is-on:after { transform: scaleX(1); }
@media (max-width: 760px) { .works__pin { min-height: auto; padding: 2rem var(--gut) 3rem; } .works__stage { aspect-ratio: 3/4; } .works__bar { bottom: 2.6rem; } }


/* ── метка клуба в правом краю шапки: один вид на всех витринах ── */
.top__nav, .top nav { margin-left: auto; }

/* ── общий знак клуба в шапке витрины ──
   один и тот же на всех шести: контур дома в языке хаба плюс подпись.
   Цвет берём у шапки через currentColor, поэтому знак одинаково живёт и
   на тёмных витринах, и на светлой «Скандик». Переход - в том же окне:
   клуб это один проект */
.club-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  margin-left: clamp(0.8rem, 1.6vw, 1.4rem);
  align-self: center;
  text-decoration: none;
  color: inherit;
  opacity: 0.55;
  white-space: nowrap;
  transition: opacity 220ms ease;
}
.club-tag:hover { opacity: 1; }
.club-tag__mark {
  width: 1.35em; height: 1.12em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}
.club-tag span {
  display: inline-flex; gap: 0.34em; align-items: baseline;
  font-size: 0.82rem; letter-spacing: 0.06em; text-transform: lowercase;
}
.club-tag span i { font-style: normal; opacity: 0.72; }
@media (max-width: 700px) { .club-tag span { display: none; } .club-tag__mark { width: 1.05em; height: 1.05em; } }


/* ── порядок работ: две колонки по бокам от фото ──
   левая - что делают до стройки, правая - что после всех. Слова проступают
   по очереди, между колонками сверху вниз прочерчивается линия времени */
.poryadok__row {
  display: grid;
  grid-template-columns: 1fr minmax(0, 40rem) 1fr;
  align-items: center;
  gap: clamp(1rem, 3vw, 3rem);
  width: 100%;
  max-width: var(--max);
  margin: 1rem auto 0;
  padding: 0 var(--gut);
}
.poryadok__row .poryadok__photo { margin-top: 0; width: 100%; }
.poryadok__side {
  position: relative;
  list-style: none; margin: 0; padding: 0;
  height: clamp(3rem, 7vw, 5rem);
  display: block;
}
.poryadok__side--pre { text-align: right; }
.poryadok__side--post { text-align: left; }
.poryadok__side li {
  position: absolute; top: 0; right: 0; left: 0;
  font-weight: 800;
  font-size: clamp(1.15rem, 2.6vw, 2.3rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-transform: lowercase;
  color: var(--lime);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(0.7em);
  filter: blur(5px);
  transition: opacity 440ms var(--ease), transform 680ms var(--ease), filter 440ms var(--ease);
}
.poryadok__side li.is-on { opacity: 0.62; transform: none; filter: none; }
.poryadok__side li.is-past { opacity: 0; transform: translateY(-0.7em); filter: blur(5px); }
.poryadok__side li b {
  display: block; font-weight: 600; color: var(--moss);
  text-transform: uppercase; letter-spacing: 0.14em;
  font-size: 0.42em; margin-bottom: 0.35em;
}
.poryadok__side li.is-on b { opacity: 1; }
@media (max-width: 900px) {
  .poryadok__row { grid-template-columns: 1fr; }
  .poryadok__side { height: auto; text-align: center !important; }
  .poryadok__side li { position: static; opacity: 0.62; transform: none; filter: none; display: inline-block; margin: 0 0.5rem; font-size: 1rem; }
  .poryadok__side li.is-past { opacity: 0.62; }
}

/* ── направления в блоке человека: сменяют друг друга при прокрутке ── */
.chelovek { position: relative; }
.chelovek__keys {
  position: absolute;
  right: clamp(1.2rem, 5vw, 5rem);
  top: 50%;
  transform: translateY(-50%);
  width: min(34vw, 420px);
  height: clamp(2.4rem, 5vw, 3.6rem);
  list-style: none; margin: 0; padding: 0;
  pointer-events: none;
}
.chelovek__keys li {
  position: absolute; right: 0; top: 0;
  font-weight: 800;
  font-size: clamp(1.2rem, 3.2vw, 2.6rem);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--lime);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(0.8em);
  filter: blur(5px);
  transition: opacity 460ms var(--ease), transform 700ms var(--ease), filter 460ms var(--ease);
}
.chelovek__keys li.is-on { opacity: 0.2; transform: none; filter: none; }
.chelovek__keys li.is-past { opacity: 0; transform: translateY(-0.8em); filter: blur(5px); }
@media (max-width: 1100px) { .chelovek__keys { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .poryadok__side li { opacity: 1 !important; transform: none !important; transition: none !important; }
  .chelovek__keys li { transition: none; }
  .chelovek__keys li:first-child { opacity: 0.2; transform: none; filter: none; }
}

/* ── карточка участника целиком кликабельна ──
   ссылка стоит на display:contents, чтобы не ломать сетку карточки, но
   такой элемент не создаёт своего блока: не было ни курсора-руки, ни
   подсветки, карточка выглядела мёртвой. Растягиваем область клика
   псевдоэлементом на всю карточку и даём внятный отклик */
.chain__i { position: relative; }
.chain__link { display: contents; color: inherit; text-decoration: none; }
.chain__link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  cursor: pointer;
  border: 1px solid transparent;
  transition: border-color 240ms ease, background-color 240ms ease;
}
.chain__i:hover .chain__link::after {
  border-color: currentColor;
  background: rgb(255 255 255 / 0.03);
}
.chain__link:focus-visible::after { border-color: currentColor; outline: 2px solid currentColor; outline-offset: 2px; }

/* заголовок колонки стоит постоянно, в смене слов не участвует */
.poryadok__col--pre { text-align: right; }
.poryadok__col--post { text-align: left; }
.poryadok__when {
  display: block; margin-bottom: 0.7rem;
  font-family: var(--mono); font-weight: 600; color: var(--moss);
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.72rem;
}

@media (max-width: 760px) {
  .poryadok__when { font-size: 11px; }
  .sezon__note, .chelovek__quote cite { font-size: 11px; line-height: 1.5; }
}

/* ── мобильная доводка: пальцевые цели ──
   замер показал ссылки высотой 17-27px, точки схем 11x11 - в такое трудно
   попасть пальцем. Норма 44px, добираем отступами, чтобы не менять вид */
@media (max-width: 760px) {
  .clubbar a, .foot a, .foot__nav a, .contact a, .kontakt a,
  .chelovek__links a, .club-home, .sem__link a, .lead a {
    display: inline-block;
    padding-block: 0.55rem;
    min-height: 44px;
  }
  .club-tag {
    min-width: 44px; min-height: 44px;
    display: inline-flex; align-items: center; justify-content: center;
  }
  .club-tag__mark { width: 1.05em; height: 1.05em; }
  /* поля у края: текст не должен касаться границы экрана */
  h1, h2, h3, p, li { padding-inline: 0; }
  section > h2, section > p, .poryadok__title, .poryadok__cap { padding-inline: 0.2rem; }
}

@media (max-width: 760px) {
  .poryadok { padding-inline: 0.4rem; }
}
@media (max-width: 760px) {
  /* поля формы и согласие: высота под палец */
  .zayavka__input, input[type=text], input[type=tel], input[type=email], textarea { min-height: 44px; padding-block: 0.7rem; }
  .zayavka__consent, label:has(input[type=checkbox]) { min-height: 44px; display: flex; align-items: center; gap: 0.6rem; }
  input[type=checkbox] { width: 22px; height: 22px; flex: none; }
}
@media (max-width: 760px) {
  .sezon__pin { min-height: auto; padding-block: 2rem 3rem; }
  .works__pin { min-height: auto; padding-block: 2rem 3rem; }
  section { padding-block: clamp(2.4rem, 7vw, 4rem); }
}

/* ── мобильное меню: цвета витрины ландшафта ── */
.mobmenu, .mobmenu__btn {
  --mm-bg: var(--soil-lift);
  --mm-fg: var(--lime);
  --mm-dim: var(--lime-dim);
  --mm-accent: var(--moss);
  --mm-rule: rgb(232 233 224 / 0.14);
  --mm-scrim: rgb(0 0 0 / 0.55);
}

/* ── пальцевая цель: логотип шапки ── */
@media (max-width: 760px) {
  .top__logo { min-height: 44px; align-items: center; }
  /* флажок держим у первой строки: по центру многострочной метки он висел сам по себе */
  .zayavka__consent { align-items: flex-start; padding-block: 0.3rem; }
  .zayavka__consent input { width: 20px; height: 20px; margin-top: 0.15rem; }
}

/* ── заголовки на телефоне: последнее слово не остаётся одно в строке ── */
@media (max-width: 760px) {
  h2, h3 { text-wrap: balance; }
}

/* ── поля формы на телефоне: 16px ──
   Safari на iOS сам увеличивает страницу, когда фокус попадает в поле
   с кеглем меньше 16px, и вернуть масштаб пальцами уже сложно ── */
@media (max-width: 760px) {
  .zayavka__input, .zayavka input, .zayavka textarea, .zayavka select { font-size: 16px; }
}
