/* Общие классы сайта. Цвета, шрифты и размеры берутся из tokens.css. */

/* ---------- основа ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
  overflow-x: clip; scroll-padding-top: calc(var(--head-h, 80px) + var(--s-4)); scroll-behavior: smooth;
}
html.menu-open, html.lightbox-open { overflow: hidden; }
h1, h2, h3, .card__name, .shelf__name, .index__name, .crumbs { overflow-wrap: break-word; }
body {
  margin: 0; background: var(--ash); color: var(--soot);
  font: 400 var(--fs-body)/1.65 var(--font-sans);
  font-synthesis: none; overflow-x: clip;
  -webkit-tap-highlight-color: oklch(0.47 0.125 30 / 0.15);
  touch-action: manipulation;
}
::selection { background: oklch(0.47 0.125 30 / 0.2); }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, figure, dl, dd, ul, ol, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.24em; }
@media (hover: hover) and (pointer: fine) { a:hover { text-decoration-color: var(--thread); } }
:focus-visible { outline: 2px solid var(--thread); outline-offset: 3px; }
button { font: inherit; color: inherit; }

h1, h2, h3 {
  font-family: var(--font-serif); font-weight: 400;
  line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance;
}
h1 { font-size: var(--fs-h1); max-width: 17ch; }
h2 { font-size: var(--fs-h2); max-width: 21ch; }
h3 { font-size: var(--fs-h3); max-width: 30ch; line-height: 1.2; letter-spacing: -0.01em; }
p { max-width: 62ch; text-wrap: pretty; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.grid12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s-5); }
.muted { color: var(--soot-2); }
.small { font-size: var(--fs-small); line-height: 1.5; }
.lede { font-size: var(--fs-lede); line-height: 1.55; max-width: 38ch; }

.skip {
  position: absolute; left: var(--s-3); top: -200px; z-index: var(--z-menu);
  background: var(--soot); color: var(--ash); padding: var(--s-3) var(--s-4); text-decoration: none;
}
.skip:focus { top: var(--s-3); }
.skip:focus-visible { outline-color: var(--paper); }

/* ---------- закрытый показ ---------- */
.preview-bar { background: var(--soot); color: var(--ash); font-size: var(--fs-small); line-height: 1.45; padding-block: var(--s-2); }
.preview-bar p { max-width: none; }
.note { border: 1px solid var(--line-strong); padding: var(--s-4) var(--s-5); font-size: 0.9375rem; line-height: 1.55; background: var(--paper); }
.note b { font-weight: 600; }
.note p + p { margin-top: var(--s-2); }
.note-wrap { margin-top: var(--s-6); }

/* ---------- шапка ---------- */
.site-head {
  position: sticky; top: 0; z-index: var(--z-header); background: var(--ash);
  border-bottom: 1px solid transparent; transition: border-color var(--t-hover) ease;
  view-transition-name: site-head;
}
.site-head.is-scrolled { border-bottom-color: var(--line); }
.top { display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); padding-block: var(--s-3); }
.brand {
  display: inline-flex; align-items: center; gap: var(--s-3); min-height: 48px; flex-shrink: 1; min-width: 0;
  text-decoration: none; font-family: var(--font-serif); font-size: 1.25rem; letter-spacing: -0.01em; line-height: 1.1;
}
.brand svg { width: 27px; height: 15px; color: var(--thread); flex-shrink: 0; transition: transform 500ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .brand:hover svg { transform: rotate(180deg); } }
.nav { display: flex; align-items: center; gap: var(--s-6); }
.nav__links { display: flex; gap: var(--s-6); }
.nav__links a { position: relative; text-decoration: none; font-size: var(--fs-ui); display: inline-flex; align-items: center; min-height: 44px; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 2px; background: var(--thread);
  transform: scaleX(0); transform-origin: left; transition: transform 300ms var(--ease-out);
}
.nav__links a[aria-current="page"]::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) { .nav__links a:hover::after { transform: scaleX(1); } }
.menu-btn {
  display: none; align-items: center; gap: var(--s-2); min-height: 48px; padding: 0 var(--s-4);
  background: var(--ash); border: 1px solid var(--line-strong); font-size: var(--fs-ui); cursor: pointer; flex-shrink: 0;
  position: relative; z-index: calc(var(--z-menu) + 1);
}
.menu-btn svg { width: 18px; height: 12px; }
.menu-btn .i-close { display: none; width: 14px; height: 14px; }
.menu-btn[aria-expanded="true"] .i-menu { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: block; }

/* ---------- нить прокрутки под шапкой ---------- */
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 5px; pointer-events: none; display: none; }
@supports (animation-timeline: scroll()) {
  .progress {
    display: block;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 15 7' shape-rendering='crispEdges'%3E%3Cg fill='%2394392d'%3E%3Crect x='6' y='0' width='1' height='1'/%3E%3Crect x='4' y='1' width='1' height='1'/%3E%3Crect x='5' y='1' width='1' height='1'/%3E%3Crect x='7' y='1' width='1' height='1'/%3E%3Crect x='8' y='1' width='1' height='1'/%3E%3Crect x='2' y='2' width='1' height='1'/%3E%3Crect x='3' y='2' width='1' height='1'/%3E%3Crect x='9' y='2' width='1' height='1'/%3E%3Crect x='10' y='2' width='1' height='1'/%3E%3Crect x='0' y='3' width='1' height='1'/%3E%3Crect x='1' y='3' width='1' height='1'/%3E%3Crect x='6' y='3' width='1' height='1'/%3E%3Crect x='11' y='3' width='1' height='1'/%3E%3Crect x='12' y='3' width='1' height='1'/%3E%3Crect x='2' y='4' width='1' height='1'/%3E%3Crect x='3' y='4' width='1' height='1'/%3E%3Crect x='9' y='4' width='1' height='1'/%3E%3Crect x='10' y='4' width='1' height='1'/%3E%3Crect x='4' y='5' width='1' height='1'/%3E%3Crect x='5' y='5' width='1' height='1'/%3E%3Crect x='7' y='5' width='1' height='1'/%3E%3Crect x='8' y='5' width='1' height='1'/%3E%3Crect x='6' y='6' width='1' height='1'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 11px 5px repeat-x;
    clip-path: inset(0 100% 0 0);
    animation: stitch-line linear both; animation-timeline: scroll(root);
  }
}
@keyframes stitch-line { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-3);
  min-height: 48px; padding: 0 var(--s-5); border: 1px solid var(--soot);
  font: 500 var(--fs-ui)/1.2 var(--font-sans); text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color var(--t-hover) ease, color var(--t-hover) ease, border-color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}
.btn--main { background: var(--soot); color: var(--ash); }
.btn--line { background: transparent; color: var(--soot); }
.btn--small { min-height: 44px; padding: 0 var(--s-4); }
@media (hover: hover) and (pointer: fine) {
  .btn--main:hover { background: oklch(0.32 0.012 60); }
  .btn--line:hover { background: var(--paper); }
}
.btn:active { transform: scale(0.97); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.link-more { display: inline-flex; min-height: 44px; align-items: center; }

/* ---------- орнамент: счётная нить ---------- */
.thread { display: block; height: 9px; width: auto; color: var(--thread); flex-shrink: 0; max-width: 100%; }
.count { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-1) var(--s-3); font-size: var(--fs-small); color: var(--soot-2); font-variant-numeric: tabular-nums; max-width: 100%; }
.count > span { white-space: nowrap; }
.index__meta .count > span { white-space: normal; }

/* ---------- окно с фото ---------- */
.pic { display: block; position: relative; overflow: hidden; background: var(--bg, var(--ash-3)); }
.pic__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pic__img--b { position: absolute; inset: 0; opacity: 0; transition: opacity 600ms var(--ease-out); }
.pic--land { background: var(--paper); }
.pic--land .pic__img { object-fit: contain; }
.js img.fade { opacity: 0; transition: opacity 600ms var(--ease-out); }
.js img.fade.is-loaded { opacity: 1; }
.js img.pic__img--b.fade.is-loaded { opacity: 0; }
.tag {
  display: inline-flex; align-items: center; gap: var(--s-2); margin-top: var(--s-3);
  font-size: var(--fs-small); color: var(--soot-2); line-height: 1.4;
}
.tag::before { content: ""; width: 18px; height: 1px; background: currentColor; flex-shrink: 0; }
.tag--dark { color: var(--kiln-text-2); }
.pic--empty { display: grid; place-content: center; justify-items: center; gap: var(--s-2); aspect-ratio: 4 / 3; background: var(--paper); }
.pic--empty .thread { height: 11px; }

/* ---------- первый экран ---------- */
.hero { padding-block: var(--s-6) var(--section); align-items: end; row-gap: var(--s-6); }
.hero__media { grid-column: 7 / 13; grid-row: 1; position: relative; }
.hero__text { grid-column: 1 / 7; grid-row: 1; padding-bottom: var(--s-2); }
.hero__place { display: flex; align-items: center; gap: var(--s-3); font-size: var(--fs-small); color: var(--soot-2); margin-bottom: var(--s-5); }
.hero h1 { margin-bottom: var(--s-5); }
.hero__pic { aspect-ratio: 4 / 5; max-height: min(calc(100svh - 210px), 860px); width: 100%; }
.vcap {
  position: absolute; top: 0; left: calc(100% + var(--s-3));
  display: flex; align-items: center; gap: var(--s-2);
  writing-mode: vertical-rl; font-size: var(--fs-small); color: var(--soot-2); line-height: 1.3; white-space: nowrap;
}
.vcap svg { width: 9px; height: 15px; color: var(--thread); transform: rotate(90deg); }
.hero__detail {
  position: absolute; left: calc(-1 * clamp(20px, 2.6vw, 40px)); bottom: calc(-1 * clamp(20px, 2.6vw, 40px)); width: clamp(140px, 13vw, 190px);
  background: var(--paper); padding: var(--s-2) var(--s-2) var(--s-3); border: 1px solid var(--line);
  box-shadow: 0 18px 40px -22px oklch(0.2 0.01 60 / 0.45);
  text-decoration: none; transition: transform 500ms var(--ease-out), box-shadow 500ms var(--ease-out);
}
.hero__detail .pic { aspect-ratio: 4 / 5; }
.hero__detail-cap { display: block; font-size: 0.8125rem; line-height: 1.35; color: var(--soot-2); margin-top: var(--s-2); }
@media (hover: hover) and (pointer: fine) {
  .hero__detail:hover { transform: translateY(-4px) rotate(-1deg); box-shadow: 0 26px 46px -24px oklch(0.2 0.01 60 / 0.5); }
}
/* Подложка под кольцом фокуса там, где элемент лежит на фото или тёмном фоне */
.hero__detail:focus-visible, .stage__zoom:focus-visible, .lightbox__close:focus-visible, .thumb:focus-visible, .shelf__btn:focus-visible {
  box-shadow: 0 0 0 6px var(--paper);
}
@media (min-width: 961px) and (max-height: 860px) {
  .hero { padding-top: var(--s-4); }
  .hero h1 { font-size: clamp(2.25rem, 1rem + 2.6vw, 3.5rem); margin-bottom: var(--s-4); }
  .hero__place { margin-bottom: var(--s-4); }
  .hero .btn-row { margin-top: var(--s-5); }
}
/* Заголовок по словам */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.split .w > span { display: inline-block; }
@keyframes word-up { from { transform: translateY(105%); } to { transform: none; } }

/* Вступление первого экрана: фото открывается, текст поднимается */
.js .hero__pic { animation: unveil 1300ms var(--ease-out) both; }
.js .hero__pic .pic__img { animation: settle-img 1800ms var(--ease-out) both; }
.js .hero__text > * { animation: rise 900ms var(--ease-out) both; }
.js .hero__text > :nth-child(1) { animation-delay: 120ms; }
.js .hero__text > h1.split { animation: none; }
.js .split .w > span { animation: word-up 1000ms var(--ease-out) backwards; animation-delay: calc(var(--i) * 70ms + 180ms); }
.js .hero__text > :nth-child(3) { animation-delay: 420ms; }
.js .hero__text > :nth-child(4) { animation-delay: 540ms; }
.js .hero__detail { animation: rise 900ms var(--ease-out) 900ms both; }
.js .vcap { animation: fade 900ms ease 1100ms both; }

/* ---------- разделы ---------- */
.section { padding-block: var(--section); }
.section__head { display: grid; gap: var(--s-4); margin-bottom: var(--s-7); }
.section__head p { color: var(--soot-2); }
.rule { border-top: 1px solid var(--line-strong); }

/* ---------- полка: вещи на одной линии ---------- */
.shelf { position: relative; }
.shelf::before {
  content: ""; position: absolute; left: 0; right: 0; top: calc(var(--s-6) + var(--shelf-max)); height: 1px;
  background: var(--line-strong); z-index: 0;
}
.shelf__track {
  position: relative; z-index: 1;
  display: flex; align-items: flex-start; gap: clamp(28px, 3.6vw, 56px);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter);
  padding: var(--s-6) var(--gutter) var(--s-5); margin-inline: calc(-1 * var(--gutter));
  scrollbar-width: none;
}
.shelf__track::-webkit-scrollbar { display: none; }
.shelf__track:focus-visible { outline-offset: -2px; }
.shelf__item {
  flex: 0 0 auto; display: flex; flex-direction: column; align-items: center;
  text-decoration: none; scroll-snap-align: start;
}
.shelf__obj { height: var(--shelf-max); display: flex; align-items: flex-end; justify-content: center; position: relative; padding-inline: var(--s-2); }
.shelf__obj::after {
  content: ""; position: absolute; left: 14%; right: 14%; bottom: -4px; height: 10px; border-radius: 50%;
  background: radial-gradient(closest-side, var(--shadow-contact), transparent); z-index: 0;
  transition: transform var(--t-hover) var(--ease-out), opacity var(--t-hover) ease;
}
.shelf__obj img {
  position: relative; z-index: 1; width: auto; max-width: none;
  height: calc(var(--shelf-max) * var(--h, 0.7));
  transition: transform 320ms var(--ease-out), opacity 600ms var(--ease-out);
}
.shelf__label { margin-top: var(--s-4); text-align: center; width: 15ch; display: grid; justify-items: center; }
.shelf__no { font-size: 0.75rem; color: var(--soot-2); font-variant-numeric: tabular-nums; letter-spacing: 0.02em; margin-bottom: 2px; }
.shelf__name { font-family: var(--font-serif); font-size: 1.0625rem; line-height: 1.3; }
.shelf__kind { font-size: var(--fs-small); color: var(--soot-2); margin-top: 2px; }
@media (hover: hover) and (pointer: fine) {
  .shelf__item:hover .shelf__obj img { transform: translateY(-10px); }
  .shelf__item:hover .shelf__obj::after { transform: scaleX(0.8); opacity: 0.6; }
  .shelf__item:hover .shelf__name { text-decoration: underline; text-decoration-color: var(--thread); text-underline-offset: 0.24em; text-decoration-thickness: 1px; }
}
.shelf__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); margin-top: var(--s-3); }
.shelf__hint { font-size: var(--fs-small); color: var(--soot-2); }
@media (hover: hover) and (pointer: fine) { .shelf__hint { visibility: hidden; } }
.shelf__nav { display: none; gap: var(--s-2); margin-left: auto; }
.js .shelf__nav { display: flex; }
.js .shelf__nav[hidden] { display: none; }
.shelf__btn {
  width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--line-strong);
  background: transparent; cursor: pointer; transition: background-color var(--t-hover) ease, opacity var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}
.shelf__btn svg { width: 16px; height: 16px; }
.shelf__btn:disabled { opacity: 0.35; cursor: default; }
.shelf__btn:active:not(:disabled) { transform: scale(0.95); }
@media (hover: hover) and (pointer: fine) { .shelf__btn:hover:not(:disabled) { background: var(--paper); } }
@media (pointer: coarse) { .js .shelf__nav { display: none; } }

/* Вещи встают на полку */
.js .shelf__track:not(.is-in) .shelf__obj img { opacity: 0; }
.js .shelf__track:not(.is-in) .shelf__obj::after { opacity: 0; }
.js .shelf__track.is-in .shelf__obj img { animation: drop 950ms cubic-bezier(0.3, 1.4, 0.55, 1) backwards; animation-delay: calc(var(--i, 0) * 75ms); }
.js .shelf__track.is-in .shelf__obj::after { animation: shadow-in 950ms var(--ease-out) backwards; animation-delay: calc(var(--i, 0) * 75ms + 120ms); }

/* ---------- оглавление направлений ---------- */
.index { border-top: 1px solid var(--line-strong); isolation: isolate; }
.index__row {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr); gap: var(--s-5);
  align-items: center; padding-block: var(--s-5);
  border-bottom: 1px solid var(--line); text-decoration: none;
}
.index__row::before {
  content: ""; position: absolute; inset: 0 calc(-1 * var(--s-4)); z-index: -1;
  background: var(--paper); opacity: 0; transition: opacity 300ms ease;
}
.index__row > span { min-width: 0; }
.index__head, .index__body { display: grid; gap: var(--s-3); align-content: center; }
.index__name { font-family: var(--font-serif); font-size: var(--fs-index); line-height: 1.05; letter-spacing: -0.02em; position: relative; justify-self: start; }
.index__name::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--thread);
  transform: scaleX(0); transform-origin: left; transition: transform 450ms var(--ease-out);
}
.index__desc { color: var(--soot-2); }
.index__go { color: var(--soot); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.24em; justify-self: start; }
.index__thumb { background: var(--paper); padding: var(--s-2); border: 1px solid var(--line); transition: border-color 400ms ease; }
.index__thumb .pic { aspect-ratio: 4 / 3; }
.index__thumb .pic__img { transition: transform 700ms var(--ease-out); }
.index__row--main .index__thumb .pic { aspect-ratio: 3 / 2; }
@media (hover: hover) and (pointer: fine) {
  .index__row:hover::before { opacity: 1; }
  .index__row:hover .index__thumb { border-color: var(--line-strong); }
  .index__row:hover .pic__img { transform: scale(1.05); }
  .index__row:hover .index__name::after { transform: scaleX(1); }
}

/* ---------- глава про обжиг ---------- */
.kiln { position: relative; overflow: hidden; background: var(--kiln); color: var(--kiln-text); padding-block: var(--section); isolation: isolate; }
.kiln::before {
  content: ""; position: absolute; z-index: -1; left: -10%; right: -10%; bottom: -35%; height: 75%;
  background: radial-gradient(closest-side, oklch(0.42 0.11 45 / 0.42), transparent 72%);
  opacity: 0.7; animation: breathe 7s ease-in-out infinite alternate paused;
}
.kiln.is-live::before { animation-play-state: running; }
.kiln :focus-visible { outline-color: var(--kiln-text); }
.kiln h2 { max-width: 15ch; }
.kiln p { color: var(--kiln-text-2); }
.kiln .thread { color: oklch(0.66 0.13 38); }
.kiln__inner { position: relative; z-index: 1; }
.kiln__top { align-items: end; row-gap: var(--s-6); }
.kiln__text { grid-column: 1 / 7; display: grid; gap: var(--s-5); padding-bottom: var(--s-2); }
.kiln__media { grid-column: 8 / 13; }
.kiln__pic { aspect-ratio: 4 / 5; outline: 1px solid var(--kiln-line); outline-offset: 10px; }
.kiln__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); margin-top: var(--s-9); }
.kiln__row .pic { aspect-ratio: 1; }
.kiln__row figcaption { font-size: 0.9375rem; line-height: 1.45; margin-top: var(--s-3); color: var(--kiln-text-2); display: grid; gap: 2px; }
.kiln__step { font-family: var(--font-serif); font-size: 1.25rem; color: var(--kiln-text); }
.embers { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.embers i {
  position: absolute; bottom: -12px; width: 3px; height: 3px; border-radius: 50%;
  background: oklch(0.86 0.15 70); box-shadow: 0 0 8px 2px oklch(0.74 0.17 48 / 0.65);
  opacity: 0; animation: ember 11s linear infinite paused;
}
.kiln.is-live .embers i { animation-play-state: running; }
.embers i:nth-child(1)  { left: 6%;  animation-duration: 12s; animation-delay: -2s; }
.embers i:nth-child(2)  { left: 14%; animation-duration: 9s;  animation-delay: -6s; width: 2px; height: 2px; }
.embers i:nth-child(3)  { left: 22%; animation-duration: 13s; animation-delay: -1s; }
.embers i:nth-child(4)  { left: 31%; animation-duration: 10s; animation-delay: -8s; width: 2px; height: 2px; }
.embers i:nth-child(5)  { left: 39%; animation-duration: 14s; animation-delay: -4s; }
.embers i:nth-child(6)  { left: 47%; animation-duration: 11s; animation-delay: -9s; width: 4px; height: 4px; }
.embers i:nth-child(7)  { left: 55%; animation-duration: 12s; animation-delay: -3s; width: 2px; height: 2px; }
.embers i:nth-child(8)  { left: 62%; animation-duration: 9s;  animation-delay: -7s; }
.embers i:nth-child(9)  { left: 70%; animation-duration: 13s; animation-delay: -5s; width: 2px; height: 2px; }
.embers i:nth-child(10) { left: 77%; animation-duration: 10s; animation-delay: -1.5s; }
.embers i:nth-child(11) { left: 84%; animation-duration: 12s; animation-delay: -10s; width: 4px; height: 4px; }
.embers i:nth-child(12) { left: 90%; animation-duration: 11s; animation-delay: -6.5s; width: 2px; height: 2px; }
.embers i:nth-child(13) { left: 95%; animation-duration: 14s; animation-delay: -2.5s; }
.embers i:nth-child(14) { left: 52%; animation-duration: 15s; animation-delay: -12s; width: 2px; height: 2px; }

/* ---------- заказ ---------- */
.order { align-items: start; row-gap: var(--s-7); }
.order__text { grid-column: 1 / 6; display: grid; gap: var(--s-5); }
.order__spec { grid-column: 7 / 13; }
.spec { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); border-top: 1px solid var(--line-strong); }
.spec dt, .spec dd { padding-block: var(--s-4); border-bottom: 1px solid var(--line); }
.spec dt { color: var(--soot-2); font-size: 0.9375rem; padding-right: var(--s-4); padding-top: calc(var(--s-4) + 4px); }
.spec dd { font-family: var(--font-serif); font-size: 1.3125rem; line-height: 1.35; }
.order__photo { margin-top: var(--s-6); }
.order__photo .pic { aspect-ratio: 4 / 3; }

/* ---------- берег ---------- */
.shore__field { padding-top: var(--s-8); }
.shore__wrap { position: relative; }
/* Полоса карты: Ока и Таруска у Тарусы, север сверху (рисует build.py по данным OpenStreetMap) */
.shore__map { display: block; width: 100%; height: auto; overflow: hidden; }
.shore .shore__wrap { margin-top: var(--s-5); }
.shore__map--wide { aspect-ratio: 1200 / 308; }
.shore__map--medium { display: none; aspect-ratio: 900 / 308; }
.shore__map--narrow { display: none; aspect-ratio: 600 / 296; }
.shore__wrap--plain .shore__map--wide { aspect-ratio: auto; height: clamp(56px, 8vw, 112px); }
.reka__bank, .reka__water, .reka__flow, .reka__taruska, .reka__sluzh-line { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.reka__bank { stroke: var(--oka); }
.reka__water { stroke: var(--water); }
.reka__flow { stroke: var(--paper); stroke-width: 1.3; stroke-dasharray: 3 15; vector-effect: non-scaling-stroke; animation: flow 7s linear infinite paused; }
.shore__wrap.is-live .reka__flow { animation-play-state: running; }
.reka__taruska { stroke: var(--oka); stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.reka__name { font-family: var(--font-serif); font-style: italic; fill: var(--oka); }
.reka__gorod { font-family: var(--font-sans); font-weight: 500; letter-spacing: 0.14em; fill: var(--soot); }
.reka__podpis { font-family: var(--font-sans); fill: var(--soot-2); }
.reka__mark { fill: var(--thread); }
.reka__dot { fill: var(--paper); stroke: var(--thread); stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.reka__sluzh { font-family: var(--font-sans); fill: var(--soot-2); }
.reka__sluzh-line { stroke: var(--soot-2); stroke-width: 1; vector-effect: non-scaling-stroke; }
.js [data-draw]:not(.is-drawn) .shore__map { clip-path: inset(0 100% 0 0); }
.js [data-draw]:not(.is-drawn) .reka__labels { opacity: 0; }
.js [data-draw].is-drawn .shore__map { animation: draw 1800ms var(--ease-move) backwards; }
.js [data-draw].is-drawn .reka__labels { animation: fade 700ms ease 1300ms backwards; }
/* Кадр карты по ширине экрана: подписи остаются читаемыми */
@media (max-width: 1099px) {
  .shore__map--wide { display: none; }
  .shore__map--medium { display: block; }
  .shore__wrap--plain .shore__map--wide { display: block; }
}
@media (max-width: 700px) {
  .shore__map--medium { display: none; }
  .shore__map--narrow { display: block; }
}
.shore__below { align-items: start; row-gap: var(--s-6); padding-top: var(--s-6); }
.shore__text { grid-column: 1 / 6; display: grid; gap: var(--s-4); }
.shore__photo { grid-column: 7 / 13; }
.shore__photo .pic { aspect-ratio: 4 / 3; }

/* ---------- занятия ---------- */
.classes { align-items: center; row-gap: var(--s-6); }
.classes__photo { grid-column: 1 / 6; }
.classes__photo .pic { aspect-ratio: 4 / 5; }
.classes__text { grid-column: 7 / 13; display: grid; gap: var(--s-5); }

/* ---------- подвал ---------- */
.foot { margin-top: var(--section); padding-block: var(--s-8) var(--s-7); border-top: 1px solid var(--line-strong); }
.foot__mark { margin-bottom: var(--s-8); }
.foot--plain .foot__mark { margin-bottom: var(--s-7); }
.foot__word {
  font-family: var(--font-serif); font-size: clamp(2.75rem, 1rem + 8.4vw, 9.5rem); line-height: 0.95;
  letter-spacing: -0.035em; max-width: none; white-space: nowrap; margin-bottom: var(--s-4);
}
.foot--plain .foot__word { margin-bottom: 0; }
@media (min-width: 861px) {
  .foot__word { font-size: min(clamp(2.75rem, 1rem + 8.4vw, 9.5rem), calc((min(100vw, var(--wrap)) - 2 * var(--gutter)) / (var(--n, 16) * 0.56))); }
}
.foot__wd { display: inline-block; white-space: nowrap; }
.foot__word span span { display: inline-block; }
.js .foot__word[data-reveal].is-in { animation: none; }
.js .foot__word[data-reveal]:not(.is-in) { opacity: 1; }
.js .foot__word:not(.is-in) span span { opacity: 0; }
.js .foot__word.is-in span span { animation: letter-in 900ms var(--ease-out) backwards; animation-delay: calc(var(--i) * 45ms); }
@keyframes letter-in { from { opacity: 0; transform: translateY(0.35em); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.foot__grid { row-gap: var(--s-6); }
.foot__brand { grid-column: 1 / 5; }
.foot__about { color: var(--soot-2); font-size: var(--fs-ui); line-height: 1.55; }
.foot__col { grid-column: span 4; display: grid; gap: var(--s-1); align-content: start; font-size: var(--fs-ui); }
.foot__col h2 { font-family: var(--font-sans); font-size: var(--fs-small); color: var(--soot-2); letter-spacing: 0; font-weight: 400; margin-bottom: var(--s-1); }
.foot__col a { display: inline-flex; min-height: 36px; align-items: center; justify-self: start; }
.foot__line { margin-top: var(--s-7); display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); flex-wrap: wrap; }

/* ---------- коллекции ---------- */
.page-head { padding-block: var(--s-6) var(--s-7); display: grid; gap: var(--s-5); }
.page-head .hero__place { margin-bottom: 0; }
.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.chips a {
  display: inline-flex; align-items: center; gap: var(--s-3); min-height: 44px; padding: 0 var(--s-4);
  border: 1px solid var(--line-strong); text-decoration: none; font-size: var(--fs-ui);
  transition: background-color var(--t-hover) ease;
}
.chips__n { font-size: var(--fs-small); color: var(--soot-2); font-variant-numeric: tabular-nums; }
@media (hover: hover) and (pointer: fine) { .chips a:hover { background: var(--paper); } }
.coll { padding-block: var(--s-8) var(--s-6); border-top: 1px solid var(--line-strong); }
.coll__head { display: flex; justify-content: space-between; align-items: end; gap: var(--s-5); flex-wrap: wrap; margin-bottom: var(--s-5); }
.coll__head > div { display: grid; gap: var(--s-3); }
.coll__head p { color: var(--soot-2); }
.cards__head { font-size: var(--fs-h3); margin-top: var(--s-7); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: var(--s-6) var(--s-5); margin-top: var(--s-5); }
.cards--one { grid-template-columns: minmax(0, 1fr); }
.empty {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--s-6); align-items: center;
  margin-top: var(--s-5); padding: var(--s-7) var(--s-6); background: var(--paper); border: 1px solid var(--line);
}
.empty__art { display: grid; gap: var(--s-3); justify-items: center; }
.empty__art .thread { height: 14px; }
.empty__text { display: grid; gap: var(--s-4); }
.empty__text .btn-row { margin-top: var(--s-2); }

/* Карточка: снимок в паспарту, как табличка в музейном каталоге */
.card { display: block; text-decoration: none; }
.card__mat {
  display: grid; position: relative; background: var(--paper); border: 1px solid var(--line);
  padding: var(--s-3) var(--s-3) var(--s-4);
  transition: border-color 400ms ease, transform 500ms var(--ease-out), box-shadow 500ms var(--ease-out);
}
.card__no {
  position: absolute; top: calc(var(--s-3) + var(--s-2)); left: calc(var(--s-3) + var(--s-2)); z-index: 2;
  font-size: 0.75rem; letter-spacing: 0.02em; font-variant-numeric: tabular-nums;
  background: var(--paper); padding: 2px 7px; color: var(--soot);
}
.card__pic { aspect-ratio: 4 / 5; }
.card__pic .pic__img { transition: transform 900ms var(--ease-out), opacity 600ms var(--ease-out); }
.card__strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-3); }
.card--wide .card__pic { aspect-ratio: 3 / 4; }
.card__plinth { aspect-ratio: 4 / 5; background: var(--ash-2); display: flex; align-items: flex-end; justify-content: center; position: relative; overflow: hidden; }
.card__plinth .cut { width: auto; max-width: 74%; height: auto; max-height: 70%; margin-bottom: 15%; position: relative; z-index: 1; transition: transform 500ms var(--ease-out); }
.card__plinth::after {
  content: ""; position: absolute; left: 24%; right: 24%; bottom: calc(15% - 6px); height: 12px; border-radius: 50%;
  background: radial-gradient(closest-side, var(--shadow-contact), transparent);
}
.card__label { display: grid; gap: var(--s-1); padding: var(--s-4) var(--s-1) 0; }
.card__name { font-family: var(--font-serif); font-size: 1.25rem; line-height: 1.25; position: relative; justify-self: start; }
.card__name::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: var(--thread);
  transform: scaleX(0); transform-origin: left; transition: transform 450ms var(--ease-out);
}
.card__kind { display: flex; align-items: center; gap: var(--s-2); color: var(--soot-2); font-size: 0.9375rem; }
.card__more { margin-left: auto; font-size: var(--fs-small); font-variant-numeric: tabular-nums; }
@media (hover: hover) and (pointer: fine) {
  .card:hover .card__mat { border-color: var(--line-strong); transform: translateY(-3px); box-shadow: 0 22px 40px -28px oklch(0.2 0.01 60 / 0.5); }
  .card:hover .card__pic .pic__img { transform: scale(1.045); }
  .js .card:hover img.pic__img--b.fade.is-loaded { opacity: 1; }
  .card:hover .card__plinth .cut { transform: translateY(-8px); }
  .card:hover .card__name::after { transform: scaleX(1); }
}

/* ---------- карточка изделия ---------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--s-2); font-size: var(--fs-small); color: var(--soot-2); padding-top: var(--s-5); }
.crumbs a { color: var(--soot-2); }
.product { padding-block: var(--s-5) var(--s-8); align-items: start; row-gap: var(--s-6); }
.product__media { grid-column: 1 / 7; }
.product__info { grid-column: 8 / 13; position: sticky; top: calc(var(--head-h, 80px) + var(--s-4)); display: grid; gap: var(--s-5); }
.product__info h1 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3.0625rem); max-width: 14ch; }
.product__no { font-size: var(--fs-small); color: var(--soot-2); font-variant-numeric: tabular-nums; margin-bottom: calc(-1 * var(--s-3)); }
.product__kind { color: var(--soot-2); margin-top: calc(-1 * var(--s-2)); }
.product__info .spec { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
.product__info .spec dd { font-size: 1.125rem; }
.ask { display: grid; gap: var(--s-3); }
.ask .btn { width: 100%; }
.status { min-height: 1.5em; font-size: var(--fs-small); color: var(--soot-2); }
.how { display: grid; gap: var(--s-3); }
.how__title { font-size: var(--fs-small); color: var(--soot-2); }
.how__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-3); }
.how__step { display: grid; gap: var(--s-2); text-decoration: none; font-size: 0.9375rem; }
.how__step .pic { aspect-ratio: 1; }
.how__step > span:last-child { display: grid; gap: var(--s-1); }
@media (hover: hover) and (pointer: fine) { .how__step:hover > span:last-child { text-decoration: underline; text-decoration-color: var(--thread); text-underline-offset: 0.24em; } }

.stage { position: relative; display: grid; gap: var(--s-3); }
.stage__views { display: grid; gap: var(--s-4); }
.js .stage__views { display: block; position: relative; }
.js .stage__view:not(.is-active) { display: none; }
.js .stage__view.is-active { animation: fade 450ms var(--ease-out) both; }
.plinth { background: var(--ash-2); aspect-ratio: 1; display: flex; align-items: flex-end; justify-content: center; position: relative; overflow: hidden; }
.plinth img { width: auto; max-width: 80%; height: auto; max-height: 74%; margin-bottom: 13%; position: relative; z-index: 1; }
.plinth::after {
  content: ""; position: absolute; left: 22%; right: 22%; bottom: calc(13% - 6px); height: 12px; border-radius: 50%;
  background: radial-gradient(closest-side, var(--shadow-contact), transparent);
}
.stage__pic { aspect-ratio: 3 / 4; }
.stage__pic .pic__img { object-fit: contain; }
@media (min-width: 961px) {
  .plinth, .stage__pic { aspect-ratio: auto; height: clamp(360px, calc(100svh - var(--head-h, 80px) - 220px), 820px); }
}
@media (min-width: 641px) and (max-width: 960px) {
  .plinth, .stage__pic { aspect-ratio: auto; height: min(62svh, 720px); }
}
.stage__zoom {
  display: none; position: absolute; right: var(--s-4); top: var(--s-4); z-index: 3;
  align-items: center; gap: var(--s-2); min-height: 44px; padding: 0 var(--s-4);
  background: var(--paper); border: 1px solid var(--line); font-size: var(--fs-small); cursor: pointer;
  transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}
.stage__zoom svg { width: 14px; height: 14px; }
.js .stage__zoom.is-on { display: inline-flex; }
.stage__zoom:active { transform: scale(0.97); }
.stage__thumbs { display: none; gap: var(--s-2); flex-wrap: wrap; }
.js .stage__thumbs { display: flex; }
.thumb {
  width: 76px; height: 76px; padding: 4px; background: var(--paper); border: 1px solid var(--line); cursor: pointer;
  transition: border-color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.is-active { border-color: var(--soot); box-shadow: inset 0 0 0 1px var(--soot); }
.thumb:active { transform: scale(0.96); }
@media (hover: hover) and (pointer: fine) { .thumb:hover { border-color: var(--line-strong); } .stage__zoom:hover { background: var(--ash); } }

.lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1400px); max-height: 94dvh; overflow: visible; }
.lightbox::backdrop { background: oklch(0.17 0.008 50 / 0.9); }
.lightbox[open] { animation: pop 260ms var(--ease-out); }
.lightbox__img { max-width: min(96vw, 1400px); max-height: 94dvh; width: auto; height: auto; object-fit: contain; }
.lightbox__close {
  position: fixed; top: var(--s-4); right: var(--s-4); width: 48px; height: 48px; display: grid; place-items: center;
  background: var(--paper); border: 0; cursor: pointer;
}
.lightbox__close svg { width: 16px; height: 16px; }

/* ---------- мастерская ---------- */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s-4); }
.step .pic { aspect-ratio: 3 / 4; }
.step figcaption { margin-top: var(--s-3); font-size: 0.9375rem; line-height: 1.45; color: var(--soot-2); display: grid; gap: var(--s-1); }
.step figcaption b { color: var(--soot); font-family: var(--font-serif); font-weight: 400; font-size: 1.1875rem; }
.step .thread { margin-bottom: var(--s-1); }
.quote { padding-block: var(--section); display: grid; gap: var(--s-5); }
.quote blockquote p { font-family: var(--font-serif); font-size: var(--fs-h2); line-height: 1.15; letter-spacing: -0.02em; max-width: 20ch; text-wrap: balance; hanging-punctuation: first; }
.quote figcaption { color: var(--soot-2); }
.story { align-items: start; row-gap: var(--s-6); }
.story__text { grid-column: 1 / 7; display: grid; gap: var(--s-4); }
.story__photo { grid-column: 8 / 13; }
.story__photo .pic { aspect-ratio: 3 / 4; }
.place { display: grid; gap: var(--s-2); }
.lost { padding-block: var(--section); display: grid; gap: var(--s-5); }

/* ---------- появление при прокрутке ---------- */
.js [data-reveal]:not(.is-in) { opacity: 0; }
.js [data-reveal].is-in { animation: rise 900ms var(--ease-out) backwards; animation-delay: calc(var(--i, 0) * 80ms); }
.js [data-reveal="pic"]:not(.is-in) { opacity: 0; }
.js [data-reveal="pic"].is-in { animation: open 1200ms var(--ease-out) backwards; animation-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal="pic"].is-in .pic__img:not(.pic__img--b) { animation: settle-img 1600ms var(--ease-out) backwards; animation-delay: calc(var(--i, 0) * 90ms); }
.js .thread:not(.is-in) > g > g { opacity: 0; }
.js .thread.is-in > g > g { animation: stitch 360ms steps(3, end) backwards; animation-delay: calc(var(--i) * 55ms + 120ms); }

@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes unveil { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes open { from { opacity: 0; clip-path: inset(9% 9% 9% 9%); } to { opacity: 1; clip-path: inset(0 0 0 0); } }
@keyframes settle-img { from { transform: scale(1.1); } to { transform: none; } }
@keyframes stitch { from { opacity: 0; } to { opacity: 1; } }
@keyframes drop { from { opacity: 0; transform: translateY(-28px); } to { opacity: 1; transform: none; } }
@keyframes shadow-in { from { opacity: 0; transform: scaleX(0.3); } to { opacity: 1; transform: none; } }
@keyframes draw { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes flow { to { stroke-dashoffset: -72; } }
@keyframes breathe { from { opacity: 0.45; transform: scale(0.96); } to { opacity: 0.85; transform: scale(1.04); } }
@keyframes pop { from { opacity: 0; transform: scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes ember {
  0%   { opacity: 0; transform: translate(0, 0); }
  8%   { opacity: 0.95; }
  45%  { transform: translate(14px, -42vh); }
  70%  { opacity: 0.55; }
  100% { opacity: 0; transform: translate(-10px, -88vh); }
}

/* ---------- переход между страницами ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 220ms var(--ease-out) both vt-out; }
::view-transition-new(root) { animation: 360ms var(--ease-out) both vt-in; }
::view-transition-group(*) { animation-duration: 480ms; animation-timing-function: var(--ease-move); }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }

/* ---------- телефон и планшет ---------- */
@media (max-width: 1080px) {
  .vcap { position: static; writing-mode: horizontal-tb; margin-top: var(--s-3); white-space: normal; }
  .vcap svg { transform: none; width: 13px; height: 7px; }
  .hero__detail { left: var(--s-4); bottom: var(--s-4); }
}
@media (max-width: 960px) {
  .hero__text, .hero__media, .kiln__text, .kiln__media, .order__text, .order__spec,
  .shore__text, .shore__photo, .classes__photo, .classes__text, .story__text, .story__photo,
  .product__media, .product__info, .foot__brand { grid-column: 1 / -1; grid-row: auto; }
  .foot__col { grid-column: span 6; }
  .hero { padding-top: var(--s-2); }
  .hero__pic { max-height: 58svh; }
  .hero__detail { width: 112px; bottom: calc(var(--s-4) + 36px); }
  .hero__detail-cap { display: none; }
  .classes__text { order: -1; }
  .product__info { position: static; }
  .steps { grid-template-columns: repeat(5, minmax(220px, 1fr)); overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter); margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); padding-bottom: var(--s-3); scrollbar-width: none; }
  .steps::-webkit-scrollbar { display: none; }
  .step { scroll-snap-align: start; }
  .index__row { grid-template-columns: minmax(0, 1fr) 120px; }
  .index__body { grid-column: 1; grid-row: 2; }
  .index__thumb { grid-column: 2; grid-row: 1 / span 2; align-self: start; }
  .index__thumb .pic, .index__row--main .index__thumb .pic { aspect-ratio: 1; }
  .kiln__pic { outline-offset: 6px; }
}
@media (max-width: 860px) {
  .js .nav { display: none; }
  .js .menu-btn { display: inline-flex; }
  .nav { flex-wrap: wrap; gap: var(--s-4); }
  .nav__links { flex-wrap: wrap; gap: var(--s-4); }
  html:not(.js) .top { flex-wrap: wrap; }
  html:not(.js) .site-head { position: static; }
  .js .nav.is-open {
    display: flex; position: fixed; inset: 0; z-index: var(--z-menu); background: var(--ash);
    flex-direction: column; align-items: stretch; gap: 0; padding: calc(var(--head-h, 80px) + var(--s-4)) var(--gutter) var(--s-6); overflow-y: auto;
    overscroll-behavior: contain; animation: fade 220ms var(--ease-out);
  }
  .js .nav.is-open .nav__links { flex-direction: column; gap: 0; }
  .js .nav.is-open .nav__links a { min-height: 56px; border-bottom: 1px solid var(--line); font-family: var(--font-serif); font-size: 1.5rem; }
  .js .nav.is-open .nav__links a::after { display: none; }
  .js .nav.is-open .btn { margin-top: var(--s-6); }
  .kiln__row { grid-template-columns: minmax(0, 1fr); }
  .kiln__row .pic { aspect-ratio: 4 / 3; }
  .foot__word { white-space: normal; }
}
@media (max-width: 640px) {
  .btn-row .btn { width: 100%; }
  .spec, .product__info .spec { grid-template-columns: minmax(0, 1fr); }
  .hero__pic { aspect-ratio: 3 / 2; max-height: none; }
  .hero__pic .pic__img { object-position: 50% 60%; }
  .spec dt { border-bottom: 0; padding-bottom: 0; }
  .spec dd { padding-top: var(--s-1); }
  .foot__col { grid-column: 1 / -1; }
  .shelf__label { width: 13ch; }
  .thumb { width: 64px; height: 64px; }
  .hero__detail { display: none; }
  .stage__zoom { width: 44px; padding: 0; justify-content: center; }
  .stage__zoom span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .card__strip { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-2); }
  .empty { grid-template-columns: minmax(0, 1fr); padding: var(--s-6) var(--s-5); }
}
@media (max-width: 960px) and (max-height: 720px) {
  .hero__pic { max-height: 42svh; }
}
@media (max-width: 400px) {
  .js .top { flex-wrap: nowrap; gap: var(--s-3); }
  .menu-btn { flex-shrink: 0; }
  .brand { font-size: 1.0625rem; gap: var(--s-2); }
  .brand svg { width: 22px; height: 12px; }
  .menu-btn { padding-inline: var(--s-3); }
}
@media (pointer: coarse) {
  .crumbs a, .foot__col a { min-height: 48px; display: inline-flex; align-items: center; }
  .foot__col { gap: var(--s-2); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; transition-delay: 0ms !important; }
  .js [data-reveal]:not(.is-in), .js [data-reveal="pic"]:not(.is-in), .js .thread:not(.is-in) > g > g,
  .js .shelf__track:not(.is-in) .shelf__obj img, .js .shelf__track:not(.is-in) .shelf__obj::after,
  .js img.fade, .js [data-draw]:not(.is-drawn) .reka__labels, .js .foot__word:not(.is-in) span span { opacity: 1; }
  .js img.pic__img--b.fade { opacity: 0; }
  .js [data-draw]:not(.is-drawn) .shore__map { clip-path: none; }
  .embers { display: none; }
  @view-transition { navigation: none; }
}
