/* «Швейцария» (docs/specs/2026-11-30-swiss-design.md): белый лист, чёрная Helvetica, монограмма UBI, сетка макета дизайнера.
   Шрифт: Helvetica у Apple; у кого её нет (Windows, Android), TeX Gyre Heros — свободная копия Helvetica (лицензия GUST,
   src/img/fonts/GUST-FONT-LICENSE.txt). Адреса в url() сборщик меняет на адреса с хэшем.
   Атрибутов style= в разметке нет (CSP style-src 'self'): всё, что зависит от экрана, задаёт этот файл или app.js через CSSOM. */

/* «UBI Helvetica»: сначала настоящая Helvetica с устройства (local), иначе Heros. Отдельным именем, а не «Helvetica, Heros»:
   Chrome на Windows подменяет имя Helvetica на Arial, и до Heros дело бы не дошло. Шрифт качают только те, у кого Helvetica нет */
@font-face{font-family:"UBI Helvetica";font-weight:400;font-style:normal;font-display:swap;src:local("Helvetica"),url(/assets/heros-regular.fd9a1bd1.woff2) format("woff2")}
@font-face{font-family:"UBI Helvetica";font-weight:700;font-style:normal;font-display:swap;src:local("Helvetica Bold"),local("Helvetica-Bold"),url(/assets/heros-bold.c2c6cd2c.woff2) format("woff2")}
@font-face{font-family:"UBI Helvetica";font-weight:400;font-style:italic;font-display:swap;src:local("Helvetica Oblique"),local("Helvetica-Oblique"),url(/assets/heros-italic.55afb540.woff2) format("woff2")}
@font-face{font-family:"UBI Helvetica";font-weight:700;font-style:italic;font-display:swap;src:local("Helvetica Bold Oblique"),local("Helvetica-BoldOblique"),url(/assets/heros-bolditalic.a9f56974.woff2) format("woff2")}

/* одно правило на всё, что скрыто атрибутом hidden: форма Appointment и запись без JS, фото и табло на листе */
[hidden]{display:none!important}

/* Три цвета текста и фона: белый, чёрный логотипа, серый подписей (контраст с белым 5,1). Зелёный --ink — только линии
   скетчей Мари в Experience (в About они чёрные), текстом не бывает. Сетка — доли ширины окна по направляющим макета (1256 px):
   поле 2 %, левая колонка 22,3 %, промежуток 7,5 %, текст 59 % */
:root{--sheet:clamp(440px,34vw,540px);--bg:#FFFFFF;--fg:#231F20;--muted:#6E6E6E;--ink:#184030;
  --sans:"Helvetica Neue", "UBI Helvetica", Arial, sans-serif;
  --pad:2vw;--rail:22.3vw;--gap:7.5vw;--txt:59vw;--top:56px;
  --fs:clamp(16px,1.15vw,18px);--fs-h:clamp(19px,1.75vw,26px);--fs-head:clamp(40px,5.4vw,84px);
  --line:calc(var(--fs) * 1.4)}   /* строка текста: шаг вертикальных отступов About и Appointment */

*{box-sizing:border-box;margin:0}
html{overflow-x:clip}
body{min-height:100svh;background:var(--bg);color:var(--fg);font:400 var(--fs)/1.4 var(--sans);-webkit-font-smoothing:antialiased}
p{text-wrap:pretty}   /* без висячих коротких последних строк; где не умеют — как было */
button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}
a{color:inherit;text-decoration-thickness:1px;text-underline-offset:.16em}
a:hover{text-decoration-thickness:2px}
:focus-visible{outline:2px solid currentColor;outline-offset:3px}
html[data-ptr] :focus-visible{outline:none}   /* после мыши и пальца рамок нет, после Tab есть (app.js) */
.small{font-size:14px;color:var(--muted)}
.sprite{position:absolute;width:0;height:0;overflow:hidden}
/* к разделу по якорю — под закреплённой шапкой */
section[id],#team,.zone{scroll-margin-top:calc(var(--top) + 8px)}

/* кнопка одна: чёрный прямоугольник; всё остальное — подчёркнутые ссылки */
.btn{display:inline-block;background:var(--fg);color:var(--bg);font:500 15px/1 var(--sans);padding:15px 22px;border-radius:0;text-decoration:none}
.btn:hover{background:#000}
.btn[disabled]{opacity:.5;cursor:progress}
.lnk{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.16em;padding:8px 0}
.lnk:hover{text-decoration-thickness:2px}
.skip{position:absolute;left:16px;top:-64px;z-index:10;background:var(--fg);color:var(--bg);padding:12px 18px;text-decoration:none}
.skip:focus{top:16px}
.acts{display:flex;flex-wrap:wrap;align-items:center;gap:12px 24px}

/* шапка: строка во всю ширину, пункты разнесены, после каждого чёрный треугольник; раздел на экране серый (app.js spy) */
.top{position:sticky;top:0;z-index:4;height:var(--top);display:flex;align-items:center;padding:0 3vw 0 var(--pad);background:var(--bg)}
.top>.mark{display:none;margin-right:3vw}.top>.mark svg{width:auto;height:32px}
/* компьютер: UBI в шапке только с JS (Виктор 01.12), гаснет, когда монограмма колонки дошла до верха (rail-on, app.js grid) */
html.js .top>.mark{display:block;transition:opacity .3s}
@media (min-width:761px){html.js.rail-on .top>.mark{opacity:0;pointer-events:none}}
.nav{flex:1;display:flex;justify-content:space-between}
.nav a,.menu summary{display:inline-flex;align-items:center;gap:12px;padding:10px 0;font-size:15px;text-decoration:none}
.nav a::after,.menu summary::after{content:'';width:9px;height:9px;background:currentColor;clip-path:polygon(100% 0,100% 100%,0 100%)}
.nav a:hover{text-decoration:underline}
.nav a[aria-current]{color:var(--muted)}
.menu{display:none;position:relative}
.menu summary{list-style:none;cursor:pointer}
.menu summary::-webkit-details-marker{display:none}
.menu nav{position:absolute;right:0;top:calc(100% + 4px);width:min(260px,calc(100vw - 32px));display:flex;flex-direction:column;
  padding:8px 16px 14px;background:var(--bg);border:1px solid var(--fg)}
.menu nav a{font-size:22px;line-height:1.2;padding:6px 0;text-decoration:none}

/* первый экран по макету: рендер от поля до края, под ним монограмма на две колонки (2–17 и 17–34 %), справа заголовок;
   под монограммой даты и место, справа ссылки, внизу марка Virry.
   Ольга, раунд 1 (04.12): фото, название, даты и ссылки видны сразу. Первый экран — высота окна: фото забирает, что
   осталось от монограммы и текста, монограмма ограничена высотой окна */
.hero{display:flex;flex-direction:column;min-height:calc(100svh - var(--top))}
.shot{position:relative;flex:1 1 auto;min-height:max(200px,34svh);margin:0 1vw 0 var(--pad)}
.shot img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:50% 60%}
/* hero.jpg — render-2 SA Lab, зал дорисован в стороны до 3,1 : 1 (tools/hero_wide.py): в слоте 3–4 : 1 стенд целиком; 60 % по высоте —
   стенд с людьми ниже середины кадра, при срезе уходит потолок, а не ноги */
.cols{display:grid;grid-template-columns:var(--pad) 14.7vw 17.6vw minmax(0,1fr);grid-template-rows:auto auto 1fr;padding:12px 1vw 2svh 0}
.hero h1.mark{grid-column:2/4;grid-row:1;align-self:start;line-height:0}
.mark svg{display:block;width:100%;height:auto}
.hero h1.mark svg{width:auto;height:min(32.3vw,25svh)}
.hero .head{grid-column:4;grid-row:1;padding-left:2.3vw;font-size:var(--fs-head);line-height:1.1;letter-spacing:-.01em;margin-top:-.1em}
.meta{font-size:var(--fs-h);line-height:1.22}
.hero .meta{grid-column:2/4;grid-row:2}
.go,.hero .soon{grid-column:4;grid-row:2;padding-left:2.3vw;font-size:var(--fs-h);line-height:1.22}
.hero .meta,.go,.hero .soon{margin-top:1.2vw}   /* под словом PAVILION — отступ, как в макете */
.go{display:flex;flex-wrap:wrap;gap:0 2.4em}

/* внутренние разделы: левая колонка закреплена (монограмма, даты, место, стенд), справа текст. Колонка текста — 59 %,
   правее неё до края места хватает модели прохода */
.flow{display:grid;grid-template-columns:var(--rail) minmax(0,1fr);column-gap:var(--gap);padding:0 1vw 0 var(--pad)}
.rail{position:sticky;top:calc(var(--top) + 6px);align-self:start;padding-bottom:24px}
.rail .meta{margin:.8vw 0 0 45.5%;font-size:var(--fs)}   /* монограмма в колонке в 0,69 раза меньше, чем на первом экране, подпись тоже */
.secs>section,.privacy{padding:6px 0 120px}
.secs>section>:not(.walk),.privacy>*{max-width:var(--txt)}
.secs h2,.privacy h1,.tmh{font-size:var(--fs-h);font-weight:400;line-height:1.2;margin-bottom:1.2em}

.pic{display:block;width:100%;height:auto;color:var(--ink);fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}

/* About (раунд 3, Виктор 01.12; разметка — page.mjs, SEG). Абзацы без отбивки, со второго — отступ. Ключевая фраза Concept
   крупно на своём месте, у авторов — цитата полосой во всю колонку. Тексты авторов курсивом (макет), имя жирным */
.about .pic{color:var(--fg);stroke-width:3.4}
.about .fig{margin:0}
.about .fig svg{width:calc(var(--w) * var(--k));max-width:100%;height:auto;overflow:hidden}
.about .fig figcaption{font-size:12px;line-height:1.3;color:var(--muted);margin-top:10px}
.about .body p.i{text-indent:1.6em}
.about .body p.big{font-size:clamp(24px,2.45vw,36px);line-height:1.15;letter-spacing:-.012em;font-style:normal;margin:1.1em 0 1.15em}
.about h3.head{font-size:var(--fs);font-weight:700;line-height:1.4;margin-bottom:.35em}
.about h3.head::after{content:':'}
.about .quote{margin-top:calc(3 * var(--line))}
.quote blockquote{font-style:italic}
.more{margin-top:calc(2 * var(--line));font-size:var(--fs-h)}
/* Скетчи Мари в About стоят сразу целиком: все фигуры главы рядом с её текстом, без пера и без смены при прокрутке (Виктор 04.12:
   «надо их сразу показывать, а не рисовать, они очень быстро меняются при прокрутке»). Живая линия (Ольга, раунд 1, п. 4:
   «картинки Мари с анимацией»): линия дрожит, как в рисованной мультипликации (line boil) — три шума #boil1–3 (page.mjs)
   меняются семь раз в секунду */
@keyframes boil{0%{filter:url(#boil1)}33.3%{filter:url(#boil2)}66.6%{filter:url(#boil3)}}
.fx{position:absolute;width:0;height:0;overflow:hidden}
.about .frieze{display:none}
/* Движение скетчей (Виктор 04.12: «как не только тряску сделать», прототип на трёх, потом «остальные 8 так же»; части —
   PARTS в page.mjs). Фигура играет своё содержание. Играет одна — у абзаца на строке чтения (.act, app.js about()), на
   телефоне — фигура в середине экрана. Существа в покое дышат: 6 вдохов в минуту, подъём на 3 % от земли. Линия дрожит
   только у играющей, в покое чистая. Длины в px — единицы рисунка: на компьютере единица ≈ 0,5 px экрана. В скетче зоны (лист
   и статья Experience) те же фигуры стоят группами .fg с классом act и играют все сразу, без дрожи линии (Виктор 05.12:
   «нашу умную анимацию, а не трясучку»; page.mjs live()) */
.about .fig.act .pen{animation:boil .45s steps(1) infinite}
:is(.about .fig,.fg) g{transform-box:fill-box}
@keyframes breath{50%{transform:scale(1.012,1.03)}}
:is(.f-guide,.f-snow,.f-taste,.f-furry,.f-appt) .b{transform-origin:50% 100%;animation:breath 10s ease-in-out infinite}
.f-snow .b{animation-delay:-4s}
.f-taste .b{animation-delay:-2s}
.f-furry .b{animation-delay:-7s}
.f-appt .b{animation-delay:-5.5s}
/* глаза моргают: у овалов вразнобой (два первых почти вместе), у taste и furry свой глаз; цикл 4,6 с */
@keyframes blink{0%,90%,100%{transform:none}94%{transform:scaleY(.08)}}
.eye{transform-origin:50% 50%}
.act .eye{animation:blink 4.6s ease-in-out infinite}
.f-taste.act .eye{animation-delay:-2s}
.f-ovals.act .eye:nth-of-type(3){animation-delay:-1.3s}
.f-ovals.act .eye:nth-of-type(4){animation-delay:-.25s}
.f-ovals.act .eye:nth-of-type(5){animation-delay:-2.6s}
.f-ovals.act .eye:nth-of-type(6){animation-delay:-3.4s}
/* овалы: линии взгляда уходят в глаз и протягиваются снова (r — штрих начинается с дальнего конца) */
@keyframes gaze{0%,4%,45%,100%{stroke-dashoffset:0}16%,22%{stroke-dashoffset:1}}
@keyframes gazer{0%,4%,45%,100%{stroke-dashoffset:0}16%,22%{stroke-dashoffset:-1}}
.f-ovals.act .gaze path{stroke-dasharray:1 1;animation:gaze 4.6s ease-in-out 1s infinite}
.f-ovals.act .gaze.r path{animation-name:gazer}
/* гид: рука от плеча вверх два раза и пауза, цикл 8 с */
@keyframes wave{0%,20%,100%{transform:none}5%,13%{transform:rotate(-24deg)}9%{transform:rotate(-8deg)}}
.f-guide .arm{transform-origin:0 50%}
.f-guide.act .arm{animation:wave 8s ease-in-out .5s infinite}
/* снег: штрих падает на 40 единиц и тает; фаза у соседних штрихов разная */
@keyframes fall{0%{transform:translateY(-14px);opacity:0}20%,75%{opacity:1}100%{transform:translateY(26px);opacity:0}}
.f-snow.act .fl{animation:fall 3.2s linear infinite}
.f-snow.act .fl:nth-of-type(3n+1){animation-delay:-1.1s}
.f-snow.act .fl:nth-of-type(3n+2){animation-delay:-2.3s}
.f-snow.act .fl:nth-of-type(4n){animation-delay:-.5s}
.f-snow.act .fl:nth-of-type(5n){animation-delay:-1.7s}
/* taste: стрелка от вопроса тычет в существо два раза, цикл 6 с */
@keyframes poke{0%,22%,100%{transform:none}6%,16%{transform:translateX(-14px)}11%{transform:translateX(-3px)}}
.f-taste.act .arrow{animation:poke 6s ease-in-out .4s infinite}
/* furry: капля под подолом качается от верха */
@keyframes sway{0%,100%{transform:rotate(-12deg)}50%{transform:rotate(12deg)}}
.f-furry .drip{transform-origin:50% 0}
.f-furry.act .drip{animation:sway 2.4s ease-in-out infinite}
/* appt: карточка уходит к человеку и возвращается, цикл 6 с */
@keyframes pass{0%,12%,100%{transform:none}32%,58%{transform:translate(12px,-4px)}78%{transform:none}}
.f-appt.act .card{animation:pass 6s ease-in-out .4s infinite}
/* mouth: рот жуёт три раза и молчит, челюсть ходит от верхней губы; цикл 5 с */
@keyframes chew{0%,36%,100%{transform:none}6%,18%,30%{transform:scaleY(.75)}12%,24%{transform:none}}
.f-mouth .jaw{transform-origin:50% 0}
.f-mouth.act .jaw{animation:chew 5s ease-in-out .3s infinite}
/* card: рука с карточкой въезжает в кадр, держит и уходит; цикл 6 с */
@keyframes slide{0%,100%{transform:translateX(-26px)}30%,60%{transform:none}}
.f-card.act .hand{animation:slide 6s ease-in-out infinite}
/* gong: удар — кольцо вздрагивает и затихает, «hm» поднимается и тает; цикл 5 с. Сдвиг, не масштаб: у штриха кольца
   хвост за кадром, середина его рамки не в центре кольца */
@keyframes gong{0%,24%,100%{transform:none}3%{transform:translateX(8px)}7%{transform:translateX(-7px)}11%{transform:translateX(5px)}15%{transform:translateX(-3px)}19%{transform:translateX(1px)}}
@keyframes hum{0%,40%,100%{transform:none;opacity:1}4%{transform:none;opacity:1}24%{transform:translateY(-14px);opacity:0}25%{transform:none;opacity:0}}
.f-gong.act .ring{animation:gong 5s ease-out .3s infinite}
.f-gong.act .hm{animation:hum 5s ease-out .3s infinite}
/* tunnel: завитки-листья плывут: сдвиг на несколько единиц и поворот, у соседних своя фаза */
@keyframes drift{50%{transform:translate(4px,-9px) rotate(6deg)}}
.f-tunnel.act .leaf{animation:drift 5s ease-in-out infinite}
.f-tunnel.act .leaf:nth-of-type(2n){animation-delay:-1.6s;animation-duration:4.2s}
.f-tunnel.act .leaf:nth-of-type(3n){animation-delay:-3.1s}
.f-tunnel.act .leaf:nth-of-type(5n){animation-delay:-.8s;animation-duration:5.8s}
/* door: дверь с надписью exit приоткрывается от петель слева и закрывается; цикл 7 с */
@keyframes open{0%,15%,100%{transform:none}35%,68%{transform:scaleX(.84)}88%{transform:none}}
.f-door .door{transform-origin:0 50%}
.f-door.act .door{animation:open 7s ease-in-out .3s infinite}
/* цитата полосой: слова поднимаются из-под маски по одному (--i — номер слова, его дописывает сборщик), потом черта и имя.
   Кавычка висит на поле: отступ строки отрицательный, маски слов его не наследуют, иначе режут слово слева */
.about .band{margin:calc(2 * var(--line)) 0}
.about .band blockquote{font-style:normal}
.about .band blockquote p{font-size:clamp(30px,3.7vw,56px);line-height:1.06;letter-spacing:-.025em;text-indent:-.4em}
.about .band .w{display:inline-block;overflow:hidden;vertical-align:top;padding-bottom:.14em;margin-bottom:-.14em;text-indent:0}
.about .band .w>span{display:inline-block}
.about .band .by{margin-top:1.2em;padding-top:8px;border-top:1px solid var(--fg);font-size:12px;line-height:1.3;color:var(--muted)}
html.js .about .band .w>span{transform:translateY(110%)}
html.js .about .band .by{opacity:0}
html.js .about .band.on .w>span{transform:none;transition:transform .8s cubic-bezier(.2,.75,.2,1) calc(var(--i,0) * 55ms)}
html.js .about .band.on .by{opacity:1;transition:opacity .6s 1.2s}
/* Компьютер — развороты: текст 58 % и мольберт со всеми фигурами главы. Мольберт закреплён под шапкой (sticky), пока читаешь
   главу: играет фигура абзаца на строке чтения (app.js), и она должна быть на виду, а не под шапкой (tools/easel_fit_imac.mjs) */
@media (min-width:761px){
  .about{--k:.05vw}
  .about .sp{display:grid;grid-template-columns:58% minmax(0,1fr);column-gap:6%}
  .about .sp>.head{grid-column:1;grid-row:1}
  .about .sp>.body{grid-column:1;grid-row:2}
  .about .sp>.body:first-child{grid-row:1/3}   /* разворот без заголовка: строка 1 пустая, мольберт выше текста растянул бы её */
  /* все фигуры главы сразу: мельче одиночной, по две в ряд, чтобы колонка не выходила за текст главы */
  .about .easel{--k:.033vw;display:flex;flex-wrap:wrap;align-items:flex-end;gap:calc(1.5 * var(--line)) 5%;grid-column:2;grid-row:1/3;align-self:start;position:sticky;top:calc(var(--top) + 16px)}
  .about .sp-l{grid-template-columns:minmax(0,1fr) 58%}
  .about .sp-l>.head,.about .sp-l>.body{grid-column:2}
  .about .sp-l>.easel{grid-column:1}
}
/* Телефон — вёрстка C (Виктор 01.12): мольбертов нет, между главами полоса из трёх фигур, рисуется слева направо */
@media (max-width:760px){
  .about{--k:.1vw}
  .about .easel{display:none}
  .about .frieze{display:flex;justify-content:space-between;align-items:flex-end;margin-top:calc(3 * var(--line))}
  .about .frieze .fig{flex:1 1 0;display:flex;flex-direction:column;align-items:flex-start}
  .about .frieze .fig figcaption{margin-top:8px;font-size:11px}
  .about .frieze+.quote{margin-top:calc(2 * var(--line))}
  .about .body p.big{font-size:24px}
  .about .band blockquote p{font-size:30px}
}

/* диалоги: белый лист, слева тонкая чёрная линия */
dialog{padding:0;border:0;color:var(--fg);background:var(--bg)}
dialog::backdrop{background:rgb(35 31 32 / .3)}
.long{margin:0 0 0 auto;width:min(760px,100%);height:100%;max-width:none;max-height:none;overflow:auto;padding:0 clamp(20px,4vw,56px) 56px;
  border-left:1px solid var(--fg)}
.long .bar{position:sticky;top:0;display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:10px 0;background:var(--bg)}
.long h2{font-size:clamp(28px,2.8vw,40px);font-weight:400;line-height:1.1;margin-top:20px}
.long .lead{margin:18px 0 1em;font-size:var(--fs-h);line-height:1.3}
.long p+p{margin-top:.9em}   /* абзацы с отбивкой (Виктор 05.12: «одной портянкой»); .bar и .lead не задевает: между ними h2 */
/* лайтбокс: белый, Previous, Next, Close словами */
.lb{margin:0;width:100%;height:100%;max-width:none;max-height:none}
.lb::backdrop{background:var(--bg)}
.lb .in{height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:24px 16px}
.lb img{display:block;max-width:100%;max-height:calc(100% - 110px);width:auto;height:auto;object-fit:contain}

/* Experience без JS и без WebGL: шесть статей столбцом — номер, имя, скетч, подпись, цитата, текст, у Leaf фото */
.stops{display:flex;flex-direction:column;gap:72px}
.lab{display:flex;align-items:baseline;gap:12px;font-size:var(--fs-h);font-weight:400;line-height:1.2}
.lab .n{font-weight:700}
.lab a{padding:6px 0;text-decoration:none}
.lab a:hover{text-decoration:underline}
.zone .pic{max-width:560px;margin-top:14px}
.credit{font-size:13px;color:var(--muted);margin-top:6px}
.zone .q{font-style:italic;margin-top:1.2em}
.zone .photo{margin-top:22px}
.zone .photo img{display:block;width:100%;height:auto}
/* модель (7б): #model, .hint и .note видны только с моделью; без JS и при html.nogl статьи зон идут подряд. .zl виден всегда: это якоря.
   С моделью статьи скрыты целиком, рассказ идёт на лист */
.hint,.note,#model{display:none}
html.js:not(.nogl) :is(.hint,.note,#model){display:block}
html.js:not(.nogl) .stops{display:none}
html.js:not(.nogl) .zone :is(.credit,.q,.t,.photo){display:none}
.note{font-size:12px;color:var(--muted);margin-top:6px}
.zl{display:flex;flex-wrap:wrap;gap:0 2em;list-style:none;padding:0;margin-top:14px}
.zl a{display:block;padding:8px 0;text-decoration:none}
.zl a:hover{text-decoration:underline}
.zl .n{font-weight:700;margin-right:4px}
/* проход по павильону (Виктор 27.11): секция держит экран (sticky) на 70svh прокрутки, число шагов --n ставит app.js; без scroll-snap:
   с одной точкой привязки браузер возвращал к ней после каждого жеста (01.12). Сцена прохода на белом во всю ширину окна закрывает левую колонку, модель тоже во всю ширину: кадры прохода сняты под #model шириной в окно, лист зоны
   справа занимает треть. Сверху место под шапкой. Без JS и без WebGL — обычный поток */
.wk{display:none}
html.js:not(.nogl) .walk{position:relative;height:calc(100svh + var(--n,0) * 70svh)}
html.js:not(.nogl) .stage{position:sticky;top:0;z-index:1;height:100svh;display:flex;flex-direction:column;background:var(--bg);
  margin:0 -1vw 0 calc(-1 * (var(--pad) + var(--rail) + var(--gap)));padding:calc(var(--top) + 8px) 1vw 14px calc(var(--pad) + var(--rail) + var(--gap))}
#model{position:relative;aspect-ratio:16/9;overflow:hidden;background:var(--bg)}
html.js:not(.nogl) #model{flex:1;min-height:0;aspect-ratio:auto;margin:10px -1vw 0 calc(-1 * (var(--pad) + var(--rail) + var(--gap)))}
html.js:not(.nogl) .wk{display:flex;flex-wrap:wrap;align-items:center;gap:8px 24px;margin-top:8px}
/* список зон не уходит под лист (Настя 01.12): на компьютере он шириной до листа справа, переносится всегда, чтобы схема не прыгала
   при открытии (сетка 3×2) */
@media (min-width:761px){
  html.js:not(.nogl) .stage .zl{display:grid;grid-template-columns:repeat(3,auto);justify-content:start}
  .stage :is(.zl,.note){max-width:calc(100% + 1vw - var(--sheet) - 16px)}
}
#model canvas{position:absolute;inset:0;display:block;width:100%;height:100%;touch-action:pan-y}
/* кадр шага прохода (model.js): два слоя, новый проявляется поверх старого; canvas со снегом и туманом выше */
#model .ph{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .6s ease}
#model .ph.on{opacity:1}
#model .ph:not([src]){display:none}
/* обзор на компьютере (Настя 01.12, модель целиком): кадр по высоте #model, по центру; шире окно — по бокам заливка в тон пола
   (средний цвет краёв 144 кадров cut), край кадра растушёван в неё */
#model .ph.fit{left:50%;right:auto;width:auto;max-width:none;translate:-50% 0;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent);mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent)}
#model:has(.ph.fit.on){background:#65615C}
#model.turn .ph{transition:none}
/* внутрь — только кликом (Виктор 27.11): подсказка и Step inside видны снаружи, в зоне прячутся */
#model.open~.wk,.stage:has(#model.open) .hint{visibility:hidden}
.hint .ht{display:none}
@media (hover:none){.hint .hm{display:none}.hint .ht{display:inline}}
/* подписи зон на модели (Виктор 30.11: зелёный на модели не читался): «01 Entrance» чёрным по белой плашке, ножка к объекту.
   Точку зоны model.js ставит transform на .mk; центр номера — 15 px от левого края, у .l (зона у правого края) название слева.
   Под наведением и выбранная зона — плашка чёрная */
.mks{position:absolute;inset:0;z-index:2;pointer-events:none}
.mk{position:absolute;left:0;top:0;height:34px;margin:-34px 0 0 -15px;display:flex;align-items:flex-start;pointer-events:auto;cursor:pointer;
  color:var(--fg);transition:opacity .5s;-webkit-tap-highlight-color:transparent}
.mk.l{flex-direction:row-reverse;translate:calc(-100% + 30px) 0}
.mk .n,.mk .nm{display:block;padding:4px 7px;background:var(--bg);color:var(--fg);font:400 14px/16px var(--sans);white-space:nowrap;
  transition:background-color .2s,color .2s}
.mk .n{position:relative;min-width:30px;text-align:center;font-weight:700}
.mk .n::after{content:'';position:absolute;left:50%;top:100%;width:1px;height:10px;background:var(--fg)}
.mk:is(.hot,.cur) :is(.n,.nm){background:var(--fg);color:var(--bg)}
.open .mk{opacity:.6}
.open .mk.cur{opacity:1;pointer-events:none}

/* лист рассказа: белый, отделён чёрной линией; у Mirror — слева */
.sheet{position:fixed;top:0;right:0;bottom:0;width:var(--sheet);z-index:5;overflow:auto;display:flex;flex-direction:column;
  padding:0 36px 24px;background:var(--bg);color:var(--fg);border-left:1px solid var(--fg);animation:sheetIn .4s cubic-bezier(.3,.7,.2,1)}
@keyframes sheetIn{from{opacity:0;translate:28px 0}}
@keyframes sheetUp{from{opacity:0;translate:0 40px}}
html[data-zone=mirror] .sheet .sk{scale:-1 1}
.grip{display:none}
.sheet .photo{display:block;flex:none;width:calc(100% + 72px);max-width:none;margin:0 -36px;height:210px;object-fit:cover;object-position:50% 42%}
.sheet .head{display:flex;justify-content:space-between;align-items:baseline;gap:16px;margin-top:22px}
.sheet .acts{margin-top:14px}
.sheet h2{font-size:clamp(28px,2.4vw,36px);font-weight:400;line-height:1.1}
.sheet h2 small{font-size:14px;font-weight:700;margin-right:10px;vertical-align:.4em}
.sheet .q{font-style:italic;margin-top:12px}
.sheet .t{margin-top:12px}
.sheet .sk{flex:0 1 auto;min-height:150px;display:block;width:calc(100% + 40px);max-width:none;height:auto;max-height:46svh;margin:16px -20px 0;
  color:var(--ink);fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
/* скетч на листе стоит сразу целиком (Виктор 04.12: «сразу показывать, а не рисовать»), фигуры в нём играют (выше, «Движение скетчей») */
/* открыто по адресу #zone-<id> (класс ставит и снимает первым касанием app.js): лист без въезда */
.now .sheet{animation:none}
/* Entrance: имя гостя пишется пером (маска --w ставит app.js); Cookie: табло вокзала из имени, чёрным по белому */
.board{display:grid;grid-template-columns:repeat(var(--n),1fr);gap:4px;margin:28px 0 2px;perspective:500px}
.board span{position:relative;display:grid;place-items:center;aspect-ratio:.74;background:var(--fg);color:var(--bg);
  font:700 clamp(13px,calc(360px / var(--n)),30px)/1 var(--sans)}
.board span::after{content:'';position:absolute;left:0;right:0;top:50%;height:1px;background:var(--bg);opacity:.35}

/* Authors: три колонки в колонке текста — портрет 4:5, имя жирным, роль серым; Team — титры: роль серым слева, имена справа */
.people{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px 2.5vw}
.person .pt{margin:0 0 12px}
.person img{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover}
.person h3{font-size:var(--fs);font-weight:700;line-height:1.3}
.person .small{margin-top:2px}
.person p:not(.small){margin-top:10px}
.person .links{display:flex;flex-wrap:wrap;gap:0 16px}
.tmh{margin-top:96px}
.team{display:grid;gap:8px}
.team>div,.facts>div{display:grid;grid-template-columns:14vw minmax(0,1fr);gap:0 2vw}
.team dt,.facts dt{font-size:inherit}
.team dd,.facts dd{margin:0}

/* Visuals: сетка фото без скругления; пока фото нет — строка visuals_soon */
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px}
.vis{display:block}
.vis img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
.visuals .soon{font-size:var(--fs-h)}

/* Press и подписка: строки — подпись слева, поле на нижней линии справа, выбор квадратиками, чёрная кнопка */
.press .acts{margin-bottom:12px}
.form-lead{color:var(--muted)}
.pick{display:inline-flex;align-items:center;gap:.5em;margin-right:28px;cursor:pointer}
.pick input,.consent input{-webkit-appearance:none;appearance:none;flex:none;width:14px;height:14px;margin:0;border:1px solid var(--fg);
  border-radius:0;background:var(--bg);cursor:pointer}
.pick input:checked,.consent input:checked{background:var(--fg)}
.msg{display:none;margin-top:22px;font-size:var(--fs-h);line-height:1.3}
.msg:target,.msg.on{display:block}
.msg:focus{outline:none}   /* фокус на ответ ставится для чтеца экрана (tabindex=-1), рамка у текста не нужна */
.trap{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.form-b{margin-top:28px}
.form-b .pf-cols{display:grid;gap:18px}
.form-b .row{display:grid;grid-template-columns:12vw minmax(0,1fr);align-items:end;gap:0 2vw}
.form-b>.row{margin-top:18px}
.form-b .row span,.form-b .kinds legend{color:var(--muted)}
.form-b .row input,.form-b .row textarea,.sf-line input{min-width:0;padding:4px 0;background:none;border:0;border-bottom:1px solid var(--fg);
  border-radius:0;color:var(--fg);font:inherit;font-size:var(--fs-h);outline:0}
.form-b .row input:focus,.form-b .row textarea:focus,.sf-line input:focus{box-shadow:0 1px 0 var(--fg)}
.form-b .row:has(textarea){align-items:start}
.form-b .row textarea{resize:vertical;min-height:4.5em;padding:6px 8px;border:1px solid var(--fg)}
.form-b .kinds{margin:22px 0 0;padding:0;border:0}
.form-b .kinds legend{float:left;width:12vw;margin-right:2vw;padding:0}
.form-b>.btn{margin:28px 0 0 14vw}
.subs{max-width:var(--txt)}
.sf{display:flex;flex-wrap:wrap;align-items:flex-end;gap:16px 24px}
.sf-line{flex:1 1 16em;min-width:0;display:flex;flex-direction:column;gap:6px}
.sf-line span{font-size:14px;color:var(--muted)}
.consent{flex-basis:100%;display:flex;gap:10px;align-items:flex-start;font-size:14px;color:var(--muted)}
.consent input{margin-top:3px}

/* Visit: факты таблицей, ссылки, карта в оттенках серого */
.visit .when{font-size:var(--fs-h);line-height:1.3}
.facts{display:grid;gap:8px;margin-top:22px}
.visit .acts{margin-top:18px}
.map{margin-top:36px;border:1px solid var(--fg)}
.map iframe{display:block;width:100%;height:clamp(320px,50svh,520px);border:0;filter:grayscale(1)}

/* подвал под колонкой текста: подписка, строка прав, Privacy */
.foot{position:relative;display:flex;flex-direction:column;gap:40px;padding:72px 1vw 40px calc(var(--pad) + var(--rail) + var(--gap))}
/* марка Virry в колонке логотипа, низом по строке прав, как в макете */
.foot .host{position:absolute;left:var(--pad);bottom:36px}
/* подвал главной — в сетке .flow (page.mjs), колонка с монограммой держится до низа страницы и не уходит под меню, когда
   появляется Virry (Анна 04.12). В окне шире 2,15 : 1 колонка встала бы на Virry — там он в колонке текста, первым в подвале */
@media (min-width:761px){
  .flow>.foot{grid-column:1/-1;grid-row:2;padding-left:calc(var(--rail) + var(--gap));padding-right:0}
  .flow>.foot .host{left:0}
}
@media (min-width:761px) and (min-aspect-ratio:215/100){.flow>.foot .host{position:static}}
.host img{display:block;width:115px;height:auto}   /* «virry vR»: высота букв как у прежних 88 px */
.fine{display:flex;flex-wrap:wrap;gap:4px 24px;font-size:13px;color:var(--muted)}
.foot.brief{padding-top:28px;padding-bottom:32px;min-height:124px;justify-content:flex-end}   /* марка 88×67 помещается в подвал privacy и заглушки */
.foot.brief .host{bottom:28px}

/* privacy.html: та же сетка, заголовки разделов жирным кеглем текста */
.privacy h2{font-size:var(--fs);font-weight:700;margin-top:1.6em}

@media (max-width:760px){
  :root{--top:48px;--fs:16px;--fs-h:20px}
  /* шапка: маленький UBI слева, «Menu» справа */
  .top{justify-content:space-between;padding:0 16px}
  .top>.mark{display:block}
  .top .nav{display:none}
  .menu{display:block}
  /* лист зоны открыт — шапка не закрывает верх модели над ним */
  html:has(#panel:not([hidden])) .top{visibility:hidden}
  /* первый экран в одну колонку: рендер и монограмма во всю ширину, заголовок, ссылки, даты, Virry */
  .hero{min-height:calc(100svh - var(--top))}
  .shot{margin:0;min-height:42vw;max-height:75vw}
  .cols{grid-template-columns:16px minmax(0,1fr) 16px;grid-template-rows:none;padding:16px 0 0}
  .hero h1.mark{grid-column:2;grid-row:auto}
  .hero h1.mark svg{height:22svh}
  .hero :is(.head,.go,.soon,.meta){grid-column:2;grid-row:auto;padding-left:0}
  .hero .head{font-size:36px;margin-top:20px}
  .go,.hero .soon,.hero .meta{margin-top:16px}
  .foot .host{position:static;order:9}
  .host img{width:94px}
  /* разделы в одну колонку, левой колонки нет, текст по левому краю */
  .flow{display:block;padding:0 16px}
  .rail{display:none}
  .secs>section,.privacy{padding:48px 0 56px}
  .secs>section>:not(.walk),.privacy>*{max-width:none}   /* --txt 59vw — это колонка компьютера, на телефоне было 230 px из 358 */
  .long{width:100%;border-left:0}
  html.js:not(.nogl) .stage{margin:0 -16px;padding-left:16px;padding-right:16px}
  html.js:not(.nogl) #model{margin:8px -16px 0}
  .zl{display:grid;grid-template-columns:1fr 1fr;gap:0 14px;font-size:15px}
  /* номера на модели видны всегда, названия — у выбранной зоны и под пальцем: шесть подписей на 390 налезают */
  .mk .nm{display:none}
  .mk:is(.hot,.cur) .nm{display:block}
  /* лист — шторка снизу на 52svh; ручка тянет вверх (app.js) */
  .sheet{top:auto;left:0;width:auto;height:52svh;padding:0 16px 24px;border-left:0;border-top:1px solid var(--fg);animation-name:sheetUp;
    transition:height .3s cubic-bezier(.3,.7,.2,1)}
  .sheet.drag{transition:none}
  .grip{display:block;order:-3;flex:none;height:30px;margin:0 -16px;touch-action:none;cursor:grab}
  .grip::after{content:'';display:block;width:36px;height:3px;background:var(--fg);opacity:.3;margin:14px auto 0}
  .sheet .head{order:-2;margin-top:2px}
  .sheet h2{font-size:30px}
  .sheet .t{order:1}
  .sheet .acts{order:-1;margin-top:10px}
  .sheet .photo{order:3;width:calc(100% + 32px);margin:14px -16px 0;height:132px}
  .sheet .sk{order:4;flex:none;width:calc(100% + 32px);margin:14px -16px 0;stroke-width:2.8}
  .sheet .credit{order:5}
  .board{order:-1;margin:14px 0 2px}
  .people{grid-template-columns:minmax(0,1fr);gap:28px}
  /* портрет слева от имени и роли, биография и ссылки под ними во всю ширину */
  .person{display:grid;grid-template-columns:96px minmax(0,1fr);grid-template-rows:auto 1fr;gap:0 16px}
  .person .pt{grid-row:1/3;margin:0 0 4px}
  .person>:not(.pt){grid-column:1/-1}
  .person>:is(h3,.small){grid-column:2}
  .team>div,.facts>div,.form-b .row{grid-template-columns:minmax(0,1fr)}
  .form-b .kinds legend{float:none;width:auto;margin:0 0 8px}
  .form-b>.btn{margin-left:0}
  .foot{padding:56px 16px 32px}
  .flow>.foot{margin:0 -16px}   /* у .flow свои поля 16 px */
  .foot.brief{padding:24px 16px 28px;min-height:0}
}

@media (prefers-reduced-motion:reduce){
  .sheet{animation:none}
  .fg,.fg *{animation:none!important}   /* ponytail: !important — у правил частей вес больше, и act в разметке стоит всегда */
  .sheet,.mk,.mk .n,.mk .nm,#model .ph{transition:none}
  /* About: фигуры и цитаты сразу целиком, мольберт меняет фигуру без перехода */
  .about .fig.act .pen,.about .fig .b,.about .fig .b *{animation:none}
  html.js .about .band .w>span{transform:none;transition:none}
  html.js .about .band .by{opacity:1;transition:none}
}

/* ── Появление «Сетка» (Виктор 01.12: вариант C первого экрана, «наследовать на всём лендинге»; линии колонок убраны
   по его же слову — «смотрится странно»). Шторками открываются картинки (слева направо) и заголовки (сверху вниз). Первый экран — при загрузке,
   Appointment и секции — когда app.js (grid) ставит .lit. Перо About и подъём слов в цитатах — свои, выше.
   Без JS, при «уменьшить движение» и в печати всё видно сразу.
   ponytail: шторки — белые псевдоэлементы на transform, не clip-path: clip-path у HTML-блоков Chromium на iMac рисовал только
   последний кадр. Задержки — явными селекторами, без :is(): он берёт специфичность самого тяжёлого аргумента ── */
@media screen and (prefers-reduced-motion:no-preference){
@keyframes hv-in{from{opacity:0}}
@keyframes hv-up{from{opacity:0;transform:translateY(.5em)}}
@keyframes hv-x{to{transform:scaleX(0)}}
@keyframes hv-y{to{transform:scaleY(0)}}
html.js :is(.top>.mark,.hero .shot,.hero h1.mark,.hero .head,.secs h2,.person .pt,.vis,.map){position:relative}
html.js :is(.top>.mark,.hero .shot,.hero h1.mark,.hero .head,.secs h2,.person .pt,.vis,.map)::after{content:'';position:absolute;inset:-1px;background:var(--bg);pointer-events:none}
html.js .hero .shot::after{transform-origin:right;animation:hv-x 1.1s cubic-bezier(.7,0,.2,1) .1s both}
html.js .top>.mark::after{transform-origin:bottom;animation:hv-y .8s cubic-bezier(.6,0,.2,1) .15s both}
html.js .hero h1.mark::after{transform-origin:bottom;animation:hv-y .9s cubic-bezier(.6,0,.2,1) .55s both}
html.js .hero .head::after{transform-origin:bottom;animation:hv-y .9s cubic-bezier(.6,0,.2,1) .7s both}
html.js .lit .ask::after,html.js .lit h2::after{transform-origin:bottom;animation:hv-y .9s cubic-bezier(.6,0,.2,1) .1s both}
html.js .lit .pt::after,html.js .lit .vis::after,html.js .lit .map::after{transform-origin:right;animation:hv-x 1.1s cubic-bezier(.7,0,.2,1) .25s both}
html.js .lit .person:nth-child(2) .pt::after,html.js .lit .vis:nth-child(2)::after{animation-delay:.35s}
html.js .lit .person:nth-child(3) .pt::after,html.js .lit .vis:nth-child(3)::after{animation-delay:.45s}
html.js .lit .vis:nth-child(4)::after{animation-delay:.55s}html.js .lit .vis:nth-child(n+5)::after{animation-delay:.65s}
html.js .top .nav a{animation:hv-in .6s cubic-bezier(.2,.7,.1,1) both}
html.js .top .nav a:nth-child(2){animation-delay:50ms}html.js .top .nav a:nth-child(3){animation-delay:.1s}
html.js .top .nav a:nth-child(4){animation-delay:.15s}html.js .top .nav a:nth-child(5){animation-delay:.2s}
html.js .top .nav a:nth-child(6){animation-delay:.25s}html.js .top .nav a:nth-child(n+7){animation-delay:.3s}
html.js .hero .meta{animation:hv-up .8s cubic-bezier(.2,.7,.1,1) .9s both}
html.js .hero .go a{display:inline-block;animation:hv-up .8s cubic-bezier(.2,.7,.1,1) 1s both}
html.js .hero .go a+a{animation-delay:1.09s}
}
.f-guide{--w:295}.f-gong{--w:164}.f-tunnel{--w:206}.f-mouth{--w:269}.f-ovals{--w:360}.f-door{--w:352}.f-card{--w:280}.f-snow{--w:334}.f-taste{--w:421}.f-furry{--w:159}.f-appt{--w:392}.band .w:nth-child(2){--i:1}.band .w:nth-child(3){--i:2}.band .w:nth-child(4){--i:3}.band .w:nth-child(5){--i:4}.band .w:nth-child(6){--i:5}.band .w:nth-child(7){--i:6}.band .w:nth-child(8){--i:7}.band .w:nth-child(9){--i:8}.band .w:nth-child(10){--i:9}.band .w:nth-child(11){--i:10}.band .w:nth-child(12){--i:11}.band .w:nth-child(13){--i:12}.band .w:nth-child(14){--i:13}.band .w:nth-child(15){--i:14}.band .w:nth-child(16){--i:15}.band .w:nth-child(17){--i:16}.band .w:nth-child(18){--i:17}.band .w:nth-child(19){--i:18}.band .w:nth-child(20){--i:19}.band .w:nth-child(21){--i:20}.band .w:nth-child(22){--i:21}.band .w:nth-child(23){--i:22}.band .w:nth-child(24){--i:23}.band .w:nth-child(25){--i:24}.band .w:nth-child(26){--i:25}.band .w:nth-child(27){--i:26}
