/* ============================================================
   ОСЬ — СЛОИ. Второй уровень оформления: глубина фона,
   сакральная геометрия, сцена превращения знака.
   Подключается ПОСЛЕ style.css и перекрывает часть его правил.
   ============================================================ */

:root {
  --stage-h: 320svh;          /* высота сцены превращения */
  --seal-size: min(66vw, 450px);
  --seal-final: .78;          /* во что ужимается печать к концу */
  --ease: cubic-bezier(.22,.75,.28,1);
}

/* Ось страницы стартует не под первым экраном, а из финального знака,
   и дальше идёт непрерывно до самого низа: она не должна теряться
   ни в одном блоке — это несущая линия всей вёрстки. */
body::before {
  top: calc(var(--stage-h) - 50svh);
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg,
    rgba(198,166,110,0)    0%,
    rgba(219,190,132,.42)  1.5%,
    rgba(198,166,110,.24)  8%,
    rgba(198,166,110,.20) 30%,
    rgba(198,166,110,.22) 55%,
    rgba(198,166,110,.20) 80%,
    rgba(198,166,110,.24) 94%,
    rgba(198,166,110,0)  100%);
  box-shadow: 0 0 14px rgba(198,166,110,.16);
  /* Ось — фон, а не наложение. Без этого псевдоэлемент body печатался
     последним и проходил поверх текста блоков: на светлых строках была
     видна вертикальная черта. z-index -1 оставляет линию над фоном
     страницы, но под всем содержимым. */
  z-index: -1;
}
/* Второй волосок рядом — ось читается как линия, а не как артефакт */
body::after {
  content: "";
  position: absolute;
  top: calc(var(--stage-h) - 50svh);
  bottom: 0;
  left: 50%;
  width: 5px;
  margin-left: -2px;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(180deg,
    rgba(198,166,110,0) 0%,
    rgba(198,166,110,.07) 6%,
    rgba(198,166,110,.05) 90%,
    rgba(198,166,110,0) 100%);
  filter: blur(2.5px);
  z-index: -1;
}

/* ============================================================
   1. ГЛУБИНА: неподвижная вуаль под всей страницей
   ============================================================ */

.veil {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  contain: strict;
  opacity: var(--veilOn, 0);
  transition: opacity 1.1s ease;
}

.veil__layer {
  position: absolute;
  left: 50%;
  top: var(--top, 50%);
  width: var(--size, 120vmin);
  aspect-ratio: 1;
  translate: -50% -50%;
  opacity: var(--op, .06);
  transform: rotate(0deg) scale(1);
  animation: veilturn var(--dur, 300s) linear infinite;
  will-change: transform;
}
.veil__layer--rev { animation-direction: reverse; }
/* Мандала пришла готовой картинкой со встроенным свечением.
   Никаких CSS-фильтров: браузеру остаётся только повернуть готовый
   растр — это работа для видеокарты, а не для перерисовки вектора. */
.veil__layer svg,
.veil__layer img {
  width: 100%; height: 100%; display: block;
}

@keyframes veilturn { to { transform: rotate(360deg); } }

/* Слой дышит вместе с вращением — второй период, несовпадающий с первым */
.veil__breath {
  position: absolute;
  inset: 0;
  animation: veilbreath var(--bdur, 26s) ease-in-out infinite;
}
/* Дыхание только прозрачностью. Масштабирование заставляло браузер
   заново растеризовать мандалу на каждом кадре — прозрачность он
   меняет на видеокарте бесплатно. */
@keyframes veilbreath {
  0%, 100% { opacity: .72; }
  50%      { opacity: 1; }
}

/* Тёплое дно под всей страницей: две очень медленные линзы */
.veil::before,
.veil::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(60px);
}
.veil::before {
  width: 90vmax; aspect-ratio: 1;
  left: -18vmax; top: -10vmax;
  background: radial-gradient(circle closest-side, rgba(198,166,110,.10), transparent 70%);
  animation: drift1 48s ease-in-out infinite;
}
.veil::after {
  width: 80vmax; aspect-ratio: 1;
  right: -22vmax; bottom: -14vmax;
  background: radial-gradient(circle closest-side, rgba(70,104,132,.14), transparent 70%);
  animation: drift2 62s ease-in-out infinite;
}
@keyframes drift1 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(6vw,4vh)} }
@keyframes drift2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-5vw,-5vh)} }

/* Общее притенение страницы: мандалы уходят на второй план,
   текст и предметы остаются главными. */
.veil-dim {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: var(--veilOn, 0);
  transition: opacity 1.1s ease;
  background:
    linear-gradient(180deg, rgba(11,10,14,.40), rgba(11,10,14,.40)),
    radial-gradient(ellipse 74% 56% at 50% 46%, rgba(8,8,12,0), rgba(8,8,12,.24) 70%, rgba(8,8,12,.48) 100%);
}

/* Тёплый свет поверх дыма: три очень мягкие линзы, которые еле
   заметно ходят. Это то, что отличает глубину от простой темноты. */
.veil-warm {
  position: fixed;
  inset: -12vmax;
  z-index: 0;
  pointer-events: none;
  opacity: var(--veilOn, 0);
  transition: opacity 1.1s ease;
  mix-blend-mode: screen;
  background:
    radial-gradient(40vw 36vw at 18% 18%, rgba(212,164,96,.26), transparent 68%),
    radial-gradient(48vw 44vw at 86% 64%, rgba(80,122,158,.22), transparent 70%),
    radial-gradient(36vw 30vw at 48% 106%, rgba(228,188,126,.20), transparent 68%),
    radial-gradient(30vw 26vw at 70% 8%, rgba(190,150,110,.14), transparent 70%);
  /* blur(46px) на весь экран стоил больше всех остальных эффектов вместе
     взятых. Радиальные градиенты и без него мягкие — разницы не видно. */
  animation: warmdrift 54s ease-in-out infinite alternate;
}
@keyframes warmdrift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-2.6vw, -3vh, 0) scale(1.07); }
}
@media (prefers-reduced-motion: reduce) { .veil-warm { animation: none; } }

/* Плёночное зерно поверх всего — то, что отличает «дорого» от «нарядно» */
.grain {
  position: fixed;
  inset: -60px;
  z-index: 200;
  pointer-events: none;
  opacity: .05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/></filter><rect width='220' height='220' filter='url(%23n)'/></svg>");
  /* Зерно больше не дёргается: анимация полноэкранного слоя с режимом
     наложения заставляла браузер пересобирать всю страницу четыре раза
     в секунду. Неподвижное зерно даёт ту же плёночную фактуру бесплатно. */
}
@keyframes grainmove {
  0%   { transform: translate(0,0) }
  25%  { transform: translate(-14px, 8px) }
  50%  { transform: translate(9px,-11px) }
  75%  { transform: translate(-7px,-6px) }
  100% { transform: translate(0,0) }
}

/* ============================================================
   2. СЦЕНА: первый экран и превращение знака
   ============================================================ */

.stage {
  position: relative;
  height: var(--stage-h);
  z-index: 1;
}

.stage__pin {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(58% 44% at 50% 40%, rgba(53,72,90,.36), transparent 72%),
    var(--night);
}

/* ---------- живое небо первого экрана ----------
   Фотография звёзд медленно плывёт и дышит, поверх неё — второй слой
   мерцания: точки загораются и гаснут в своём ритме. */
.stage__sky {
  position: absolute;
  inset: -6%;
  z-index: 0;
  pointer-events: none;
  background: url("img/bg.jpg") center / cover no-repeat;
  animation: skydrift 96s ease-in-out infinite alternate;
  will-change: transform;
}
.stage__sky::before,
.stage__sky::after {
  content: "";
  position: absolute;
  /* поле с запасом: слой едет через transform и не должен обнажать край */
  inset: -700px;
  background-repeat: repeat;
  mix-blend-mode: screen;
}
/* мелкие звёзды — медленный ход, слабое мерцание */
.stage__sky::before {
  background-image:
    radial-gradient(calc(1.4px * var(--star, 1)) calc(1.4px * var(--star, 1)) at 18% 22%, rgba(255,246,226,.95), transparent 60%),
    radial-gradient(calc(1.1px * var(--star, 1)) calc(1.1px * var(--star, 1)) at 64% 12%, rgba(214,232,255,.85), transparent 60%),
    radial-gradient(calc(1.6px * var(--star, 1)) calc(1.6px * var(--star, 1)) at 82% 46%, rgba(255,240,214,.90), transparent 60%),
    radial-gradient(calc(1.1px * var(--star, 1)) calc(1.1px * var(--star, 1)) at 32% 68%, rgba(226,238,255,.80), transparent 60%),
    radial-gradient(calc(1.3px * var(--star, 1)) calc(1.3px * var(--star, 1)) at 52% 84%, rgba(255,244,222,.85), transparent 60%),
    radial-gradient(calc(1.0px * var(--star, 1)) calc(1.0px * var(--star, 1)) at 8% 54%, rgba(208,226,255,.75), transparent 60%),
    radial-gradient(calc(1.5px * var(--star, 1)) calc(1.5px * var(--star, 1)) at 92% 76%, rgba(255,238,208,.80), transparent 60%),
    radial-gradient(calc(1.0px * var(--star, 1)) calc(1.0px * var(--star, 1)) at 44% 34%, rgba(232,242,255,.70), transparent 60%),
    radial-gradient(calc(1.3px * var(--star, 1)) calc(1.3px * var(--star, 1)) at 72% 30%, rgba(255,246,226,.90), transparent 60%),
    radial-gradient(calc(1.1px * var(--star, 1)) calc(1.1px * var(--star, 1)) at 24% 90%, rgba(220,236,255,.85), transparent 60%),
    radial-gradient(calc(1.5px * var(--star, 1)) calc(1.5px * var(--star, 1)) at 4% 8%, rgba(255,242,218,.90), transparent 60%),
    radial-gradient(calc(1.2px * var(--star, 1)) calc(1.2px * var(--star, 1)) at 58% 50%, rgba(232,242,255,.85), transparent 60%),
    radial-gradient(calc(1.0px * var(--star, 1)) calc(1.0px * var(--star, 1)) at 88% 18%, rgba(255,246,226,.80), transparent 60%),
    radial-gradient(calc(1.4px * var(--star, 1)) calc(1.4px * var(--star, 1)) at 38% 6%, rgba(214,232,255,.90), transparent 60%),
    radial-gradient(calc(1.1px * var(--star, 1)) calc(1.1px * var(--star, 1)) at 76% 94%, rgba(255,240,214,.80), transparent 60%);
  background-size: 620px 620px;
  animation: startwinkle 7.5s ease-in-out infinite, starpan 210s linear infinite;
  will-change: transform, opacity;
}
/* редкие крупные звёзды — свой ритм, чтобы мерцание не выглядело единым */
.stage__sky::after {
  background-image:
    radial-gradient(calc(2.2px * var(--star, 1)) calc(2.2px * var(--star, 1)) at 26% 40%, rgba(255,240,208,.95), transparent 62%),
    radial-gradient(calc(2.0px * var(--star, 1)) calc(2.0px * var(--star, 1)) at 74% 24%, rgba(220,236,255,.90), transparent 62%),
    radial-gradient(calc(2.4px * var(--star, 1)) calc(2.4px * var(--star, 1)) at 58% 62%, rgba(255,232,190,.92), transparent 62%),
    radial-gradient(calc(1.9px * var(--star, 1)) calc(1.9px * var(--star, 1)) at 12% 82%, rgba(226,240,255,.85), transparent 62%),
    radial-gradient(calc(2.3px * var(--star, 1)) calc(2.3px * var(--star, 1)) at 88% 88%, rgba(255,244,220,.95), transparent 62%),
    radial-gradient(calc(2.0px * var(--star, 1)) calc(2.0px * var(--star, 1)) at 44% 10%, rgba(226,240,255,.90), transparent 62%),
    radial-gradient(calc(2.6px * var(--star, 1)) calc(2.6px * var(--star, 1)) at 6% 30%, rgba(255,236,200,.90), transparent 62%);
  background-size: 940px 940px;
  animation: startwinkle 11.3s ease-in-out infinite reverse, starpan 340s linear infinite reverse;
  will-change: transform, opacity;
}
@keyframes skydrift {
  from { transform: translate3d(0, 0, 0) scale(1.02); }
  to   { transform: translate3d(2.2%, -1.6%, 0) scale(1.10); }
}
@keyframes startwinkle {
  0%, 100% { opacity: .55; }
  50%      { opacity: 1; }
}
/* На большом экране тот же рисунок звёзд растягивался реже и мельче —
   плитка плотнее, крупные звёзды заметнее. */
@media (min-width: 900px) {
  .stage__sky { --star: 1.7; }
  .stage__sky::before { background-size: 430px 430px; }
  .stage__sky::after  { background-size: 640px 640px; }
}
@media (min-width: 1600px) {
  .stage__sky { --star: 2; }
}
/* Раньше здесь двигался background-position. Это свойство браузер не
   умеет ускорять: каждый кадр он заново перерисовывал полноэкранный
   слой звёзд, да ещё с режимом наложения. Один этот приём стоил семь
   восьмых плавности первого экрана. Двигаем слой через transform —
   такую анимацию видеокарта выполняет, не перерисовывая ничего. */
@keyframes starpan {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-620px, -380px, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .stage__sky, .stage__sky::before, .stage__sky::after { animation: none; }
}

/* холсты: шейдерное поле энергии и слой частиц */
#field, #energy {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
#field  { z-index: 0; mix-blend-mode: screen; opacity: .9; }
#energy { z-index: 1; }

/* Затемнение кадра: свет собирается в пятно вокруг знака,
   а к финалу пятно сжимается — светится только знак и текст. */
.stage__dim {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: var(--dimOn, .5);
  background: radial-gradient(circle var(--dimR, 960px) at 50% var(--dimY, 32%),
    rgba(3,5,9,0)   0%,
    rgba(3,5,9,.18) 34%,
    rgba(3,5,9,.52) 62%,
    rgba(3,5,9,.72) 84%,
    rgba(3,5,9,.80) 100%);
}

/* ---------- печать ---------- */

.seal {
  position: absolute;
  left: 50%;
  top: 37%;   /* первый экран: знак стоит по центру окна, а не под шапкой */
  z-index: 3;
  width: var(--seal-size);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  transform:
    translate(-50%, -50%)
    translateY(var(--sealY, 0px))
    scale(var(--sealS, 1));
  will-change: transform;
}
.seal > * { grid-area: 1 / 1; }

.seal__aura,
.seal__ring,
.seal__halo {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
}

.seal__aura {
  background: radial-gradient(circle closest-side,
    rgba(198,166,110,.20) 0%,
    rgba(93,126,150,.13) 44%,
    transparent 72%);
  filter: blur(26px);
  animation: sealbreathe 13s ease-in-out infinite;
}

/* Единственное кольцо: стоит вокруг надписи, почти неподвижно,
   и уходит вместе с первым экраном. */
.seal__ring {
  opacity: var(--ringOn, 1);
  background: conic-gradient(from 0deg,
    rgba(198,166,110,.12)  0deg,
    rgba(219,199,155,.34)  84deg,
    rgba(206,220,236,.26) 168deg,
    rgba(198,166,110,.15) 252deg,
    rgba(219,199,155,.30) 320deg,
    rgba(198,166,110,.12) 360deg);
  -webkit-mask: radial-gradient(circle closest-side, transparent 86.6%, #000 88%, #000 89.6%, transparent 91%);
          mask: radial-gradient(circle closest-side, transparent 86.6%, #000 88%, #000 89.6%, transparent 91%);
  /* Собственный keyframe без translate: кольцо позиционировано inset:0
     и вращается вокруг своего центра, никуда не уезжая. */
  animation: ringturn 300s linear infinite;
  transition: opacity .25s linear;
}
@keyframes ringturn { to { transform: rotate(360deg); } }

/* Излучение из знака: расходящиеся кольца, включаются к концу превращения */
.seal__halo {
  border: 1px solid rgba(198,166,110,.5);
  opacity: 0;
  transform: scale(.28);
}
.seal.is-radiant .seal__halo {
  animation: emit 5.2s cubic-bezier(.2,.6,.25,1) infinite;
}
.seal.is-radiant .seal__halo + .seal__halo { animation-delay: 1.73s; }
.seal.is-radiant .seal__halo + .seal__halo + .seal__halo { animation-delay: 3.46s; }
@keyframes emit {
  0%   { opacity: 0;   transform: scale(.26); border-color: rgba(255,244,214,.85); }
  12%  { opacity: .55; }
  100% { opacity: 0;   transform: scale(1.05); border-color: rgba(198,166,110,0); }
}

.seal__wordmark { margin: 0; line-height: 0; position: relative; z-index: 4; justify-self: center; }

/* Знак — крупный, вписан в кольцо */
.seal__logo {
  display: block;
  width: calc(var(--seal-size) * .92);
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 0 var(--glow, 36px) rgba(198,166,110,.34));
}

/* ---------- текст первого экрана ---------- */

.stage__hero {
  position: absolute;
  left: 50%;
  top: 61%;
  z-index: 5;
  width: min(92vw, 40rem);
  translate: -50% 0;
  text-align: center;
  opacity: var(--heroOpacity, 1);
  transform: translateY(var(--heroY, 0px));
  will-change: opacity, transform;
}
.stage__hero .hero__sub { margin-top: 0; }
.stage__hero .hero__line { margin-top: 1.8rem; font-size: clamp(1.15rem, 2.6vw, 1.6rem); }
.stage__hero .hero__cta  { margin-top: 1.9rem; }

.hero__scroll {
  position: absolute;
  bottom: 1.2rem; left: 50%;
  z-index: 5;
  translate: -50% 0;
  width: 1px; height: 30px;
  opacity: var(--heroOpacity, 1);
}
.hero__scroll::after {
  content: "";
  display: block;
  width: 1px; height: 30px;
  margin: 0;
  background: linear-gradient(180deg, rgba(198,166,110,.55), transparent);
  animation: fall 2.6s ease-in-out infinite;
  transform-origin: top;
}
@keyframes fall {
  0%, 100% { transform: scaleY(.35); opacity: .3; }
  45%      { transform: scaleY(1);   opacity: 1; }
}

/* ---------- второй экран: знак и позиционирование ---------- */

.stage__manifest {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  translate: -50% 0;
  z-index: 5;
  width: min(100%, 78rem);
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr min(44vw, 400px) 1fr;
  align-items: center;
  gap: clamp(1rem, 3vw, 3rem);
  pointer-events: none;
  opacity: var(--manOpacity, 0);
  visibility: hidden;
}
.stage__manifest.is-on { visibility: visible; }

.manifest__col {
  display: grid;
  gap: clamp(1.6rem, 4.4vh, 3rem);
  pointer-events: auto;
}
.manifest__col--l { text-align: right; justify-items: end; }
.manifest__col--r { text-align: left;  justify-items: start; }

.manifest__item {
  max-width: 21rem;
  transform: translateX(var(--mx, 0));
  transition: transform .1s linear;
}
.manifest__item h3 {
  font-family: var(--body);
  font-weight: 400;
  font-size: .7rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 .7rem;
}
.manifest__item p {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.02rem, 1.5vw, 1.28rem);
  line-height: 1.55;
  color: #d6cfc0;
}
.manifest__col--l .manifest__item { border-right: 1px solid var(--line); padding-right: 1.2rem; }
.manifest__col--r .manifest__item { border-left:  1px solid var(--line); padding-left:  1.2rem; }

.manifest__mid { display: block; }
@media (max-width: 940px) { .manifest__mid { display: none; } }

@media (max-width: 940px) {
  .seal { top: 24%; }
  .stage__rays { top: 24%; }
  .stage__manifest {
    grid-template-columns: 1fr;
    align-content: end;
    padding-bottom: 4svh;
    gap: 0;
  }
  .manifest__col {
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem 1.2rem;
    text-align: left;
    justify-items: start;
  }
  .manifest__col--l { text-align: left; justify-items: start; }
  .manifest__col--l .manifest__item { border-right: 0; padding-right: 0; }
  .manifest__col--l .manifest__item,
  .manifest__col--r .manifest__item { border-left: 1px solid var(--line); padding-left: .9rem; }
  .manifest__item { max-width: none; }
  .manifest__item h3 { font-size: .62rem; letter-spacing: .2em; margin-bottom: .35rem; }
  .manifest__item p { font-size: .92rem; line-height: 1.45; }
  .manifest__col--r { margin-top: 1.1rem; }
}

@media (max-width: 560px) {
  :root { --seal-size: min(88vw, 400px); --stage-h: 290svh; }
  .seal { top: 24%; }
  .stage__rays { top: 24%; }
  .manifest__col { grid-template-columns: 1fr; }
  .manifest__col--r { margin-top: 1.1rem; }
  .manifest__item p { font-size: .88rem; }
}

/* ============================================================
   3. УСТРОЙСТВО ПРЕДМЕТА: три слоя
   ============================================================ */

#ustroystvo { position: relative; }

.layers {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.layers { align-items: start; }
.layers__figure {
  position: sticky;
  top: 16vh;
  max-width: 30rem;
  width: 100%;
  margin-inline: auto;
}
/* Липкая модель нужна только в две колонки, где текст идёт рядом.
   В одну колонку она обязана уезжать вместе со страницей — иначе
   висит на экране и ложится поверх текста. Правило стоит ПОСЛЕ
   основного: раньше оно было выше и проигрывало ему по порядку. */
@media (max-width: 860px) {
  .layers { grid-template-columns: 1fr; }
  .layers__figure { position: relative; top: auto; }
}
.layers__figure::before {
  content: "";
  position: absolute;
  left: 50%; top: 46%;
  width: 122%; aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle closest-side, rgba(198,166,110,.18), rgba(70,104,132,.12) 52%, transparent 74%);
  filter: blur(30px);
  animation: breathe 17s ease-in-out infinite;
}
.layers__figure .viewer__stage {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: none;
  border-color: rgba(198,166,110,.24);
}
.layers__figure .viewer__hint { margin-top: .9rem; }


.layers__list { display: grid; gap: 0; }

.layer {
  border-top: 1px solid var(--line-cold);
  padding: 1.4rem 0 1.5rem;
  cursor: default;
  transition: border-color .4s ease;
}
.layer:last-child { border-bottom: 1px solid var(--line-cold); }
.layer__key {
  font-size: .7rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin: 0 0 .35rem;
  transition: color .4s ease;
}
.layer h3 { font-size: 1.5rem; margin: 0 0 .55rem; }
.layer p { margin: 0; color: #bdb6a8; font-size: .95rem; line-height: 1.75; }
.layer.is-active { border-color: var(--gold); }
.layer.is-active .layer__key { color: var(--gold); }

.layers__note {
  margin-top: 2.4rem;
  border-left: 2px solid var(--gold-dim);
  padding: .2rem 0 .2rem 1.1rem;
  color: var(--dim);
  font-size: .84rem;
  line-height: 1.8;
  max-width: 46rem;
}

/* Где он нужен — строка сред */
.where {
  margin-top: clamp(3rem, 7vw, 5rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 1px;
  background: var(--line-cold);
  border: 1px solid var(--line-cold);
}
.where__cell {
  background: linear-gradient(180deg, rgba(17,24,35,.55), rgba(7,9,16,.4));
  padding: 1.5rem 1.2rem;
  transition: background .45s ease;
}
.where__cell:hover { background: linear-gradient(180deg, rgba(30,40,54,.7), rgba(12,16,26,.5)); }
.where__cell b {
  display: block;
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.12rem;
  color: var(--ivory);
  margin-bottom: .3rem;
}
.where__cell span { font-size: .84rem; color: var(--muted); line-height: 1.6; }

/* Якорные переходы не должны прятать заголовок под шапкой */
section[id] { scroll-margin-top: 5.5rem; }

/* ============================================================
   3-бис. КАТАЛОГ ФОРМ
   Плита вместо карточки: предмет стоит в собственном свете,
   поворачивается за рукой и готов принять съёмку, когда она будет.
   ============================================================ */

.grid { margin-top: clamp(3rem, 7vw, 4.5rem); }

.am {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.am.is-in {
  opacity: 1;
  transform: none;
  transition-delay: calc(var(--i, 0) * 80ms);
}

.am__plate {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  perspective: 1000px;
  cursor: grab;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.15);
  background:
    radial-gradient(132% 100% at 50% 0%, rgba(255,243,222,.13), transparent 58%),
    linear-gradient(158deg, rgba(255,255,255,.115) 0%, rgba(255,255,255,.03) 46%, rgba(196,218,240,.08) 100%);
  /* Раньше здесь был backdrop-filter, и таких плит на экране пятнадцать.
     Каждая заставляла браузер отдельно размывать фон под собой. Плиты
     стоят на тёмном фоне, где размывать почти нечего, поэтому стекло
     собрано из градиентов — выглядит так же, стоит в разы дешевле. */
  background-color: rgba(24, 28, 38, .52);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.30),
    inset 0 -34px 48px -36px rgba(236,205,145,.38),
    0 26px 52px -32px rgba(0,0,0,.85);
  transition: border-color .55s ease, box-shadow .55s ease, transform .7s var(--ease);
}
.am:hover .am__plate,
.am[aria-expanded="true"] .am__plate {
  border-color: rgba(236,205,145,.44);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.38),
    inset 0 -34px 52px -34px rgba(236,205,145,.5),
    0 34px 66px -30px rgba(198,166,110,.32),
    0 0 0 1px rgba(236,205,145,.08);
}
.am__plate.is-turning { cursor: grabbing; }

.am__plate > * { pointer-events: none; }

.am__depth {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .7s var(--ease);
}
.am__plate.is-turning .am__depth { transition: none; }

/* сама плита: тёмное стекло с внутренним свечением */
.am__field {
  position: absolute;
  inset: 0;
  border-radius: 21px;
  pointer-events: none;
  background: radial-gradient(58% 48% at var(--gx, 50%) var(--gy, 42%),
    rgba(132,172,214,.22), transparent 72%);
  transition: opacity .5s ease;
}

/* чертёж формы — вынесен вперёд, поэтому плита читается объёмной */
.am__art {
  position: absolute;
  inset: 14%;
  display: block;
  color: var(--gold);
  opacity: .74;
  transform: translateZ(26px);
  transition: opacity .5s ease, color .5s ease, filter .5s ease;
  filter: drop-shadow(0 0 12px rgba(198,166,110,.25));
}
.am__art svg { width: 100%; height: 100%; display: block; }
.am:hover .am__art,
.am[aria-expanded="true"] .am__art {
  opacity: 1;
  color: #e5cf9c;
  filter: drop-shadow(0 0 22px rgba(198,166,110,.5));
}

/* съёмка изделия: фон снят, объект стоит в собственном свете */
.am__photo {
  position: absolute;
  inset: 9%;
  width: 82%;
  height: 82%;
  object-fit: contain;
  -webkit-user-drag: none;
  transform: translateZ(30px) scale(1);
  filter: drop-shadow(0 12px 20px rgba(0,0,0,.55));
  transition: transform .8s var(--ease), filter .6s ease;
}
.am:hover .am__photo,
.am[aria-expanded="true"] .am__photo {
  transform: translateZ(30px) scale(1.055);
  filter: drop-shadow(0 16px 26px rgba(0,0,0,.6)) drop-shadow(0 0 26px rgba(236,205,145,.42));
}

/* Свечение, которое поднимается из-под предмета при наведении */
.am__bloom {
  position: absolute;
  inset: -14%;
  pointer-events: none;
  border-radius: 50%;
  transform: translateZ(8px) scale(.72);
  opacity: 0;
  filter: blur(12px);
  background: radial-gradient(circle closest-side,
    rgba(236,205,145,.30) 0%,
    rgba(160,192,224,.16) 46%,
    transparent 74%);
  transition: opacity .7s ease, transform 1s var(--ease);
}
.am:hover .am__bloom,
.am[aria-expanded="true"] .am__bloom { opacity: 1; transform: translateZ(8px) scale(1); }

/* Одиночное кольцо, уходящее наружу в момент наведения */
.am__plate::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 62%; aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  border: 1px solid rgba(236,205,145,.5);
  opacity: 0;
  pointer-events: none;
}
.am:hover .am__plate::after { animation: aureole 2.1s cubic-bezier(.2,.65,.25,1); }
@keyframes aureole {
  0%   { opacity: .5;  transform: scale(.52); border-color: rgba(255,246,224,.5); }
  100% { opacity: 0;   transform: scale(1.5); border-color: rgba(236,205,145,0); }
}

/* Геометрия самой формы, проступающая позади предмета при наведении:
   свет расходится из центра и открывает чертёж символа. */
.am__ghost {
  position: absolute;
  inset: -19%;
  z-index: 0;
  pointer-events: none;
  color: #d8bd85;
  opacity: 0;
  transform: translateZ(4px) scale(.9);
  clip-path: circle(0% at 50% 50%);
  transition: opacity .55s ease, transform 1.2s var(--ease), clip-path .9s var(--ease);
}
.am__ghost svg { width: 100%; height: 100%; display: block; }
.am__ghost svg * { stroke-width: .58px; }
.am:hover .am__ghost,
.am[aria-expanded="true"] .am__ghost {
  opacity: .42;
  transform: translateZ(4px) scale(1);
  clip-path: circle(84% at 50% 50%);
  transition: opacity .8s ease .05s, transform 1.5s var(--ease), clip-path 1.25s var(--ease);
}
.am:hover .am__ghost svg,
.am[aria-expanded="true"] .am__ghost svg { animation: veilturn 90s linear infinite; }

/* Свет, один раз проходящий по плите — тихая замена вспышке */
.am__gleam {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  border-radius: 21px;
  opacity: 0;
  transform: translateZ(34px);
}
.am:hover .am__gleam { opacity: 1; }
.am__gleam::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: linear-gradient(104deg,
    transparent 38%,
    rgba(255,246,224,.10) 47%,
    rgba(255,246,224,.20) 50%,
    rgba(255,246,224,.10) 53%,
    transparent 62%);
  transform: translateX(-120%);
}
.am:hover .am__gleam::before { animation: gleam 1.6s cubic-bezier(.3,.6,.25,1); }
@keyframes gleam {
  from { transform: translateX(-120%); }
  to   { transform: translateX(120%); }
}

/* ---------- предметы для стола и телефона ---------- */

.objects {
  margin-top: clamp(3.5rem, 8vw, 6rem);
  padding-top: clamp(2rem, 5vw, 3rem);
  border-top: 1px solid var(--line-cold);
}
.objects__title {
  font-size: clamp(1.5rem, 3.4vw, 2rem);
  text-align: center;
  font-weight: 300;
}
.objects__lede {
  max-width: 34rem;
  margin: .9rem auto 0;
  text-align: center;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.75;
}
.grid--objects {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 34rem;
  margin-inline: auto;
  margin-top: 2.4rem;
}

/* блик, идущий за поворотом */
.am__gloss {
  position: absolute;
  inset: 0;
  border-radius: 21px;
  pointer-events: none;
  transform: translateZ(40px);
  background: radial-gradient(38% 30% at var(--gx, 50%) var(--gy, 40%), rgba(255,248,230,.16), transparent 70%);
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity .5s ease;
}
.am:hover .am__gloss, .am__plate--big .am__gloss { opacity: 1; }

/* внешняя рамка — не двигается вместе с плитой, поэтому виден объём */
.am__edge {
  position: absolute;
  inset: -7px;
  border-radius: 28px;
  pointer-events: none;
  border: 1px solid transparent;
  transition: border-color .5s ease;
}
.am:hover .am__edge,
.am[aria-expanded="true"] .am__edge { border-color: rgba(198,166,110,.14); }

.am__name {
  margin-top: .85rem;
  font-family: var(--display);
  font-size: clamp(1rem, 2.1vw, 1.24rem);
  letter-spacing: .07em;
}
.am__note { font-size: .72rem; color: var(--dim); letter-spacing: .06em; }

/* ---------- раскрытая форма ---------- */

.detail {
  position: relative;
  scroll-margin-top: 6.5rem;
  grid-column: 1 / -1;
  margin: clamp(.6rem, 1.6vw, 1.2rem) 0;
  padding: clamp(1.8rem, 4vw, 3rem) clamp(1.4rem, 4vw, 3.2rem);
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 26px;
  background:
    radial-gradient(120% 78% at 50% 0%, rgba(255,243,222,.13), transparent 58%),
    linear-gradient(160deg, rgba(255,255,255,.11) 0%, rgba(255,255,255,.03) 44%, rgba(190,214,238,.075) 100%);
  -webkit-backdrop-filter: blur(28px) saturate(1.35) brightness(1.5);
          backdrop-filter: blur(28px) saturate(1.35) brightness(1.5);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.32),
    inset 0 -46px 70px -56px rgba(236,205,145,.45),
    0 40px 82px -44px rgba(0,0,0,.85);
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: clamp(1.6rem, 4vw, 3.4rem);
  align-items: start;
  animation: glassopen .62s cubic-bezier(.2,.7,.25,1) both;
}
/* Тонкая световая кромка по верхнему краю — так стекло читается стеклом */
.detail::before {
  content: "";
  position: absolute;
  left: 8%; right: 8%; top: 0;
  height: 1px;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, rgba(255,246,224,.7), transparent);
  pointer-events: none;
}
@keyframes glassopen {
  from { opacity: 0; transform: translateY(-14px) scale(.985); }
  to   { opacity: 1; transform: none; }
}

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

.detail__view { display: block; }
.am__plate--big { aspect-ratio: 1 / 1; border-radius: 22px; }

.am__plate--big .am__art { opacity: 1; color: #e5cf9c; }

.detail__hint {
  margin: .8rem 0 0;
  text-align: center;
  font-size: .72rem;
  letter-spacing: .14em;
  color: var(--dim);
}

.detail__origin {
  margin: 0 0 .4rem;
  font-size: .7rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold-dim);
}
.detail h3 { font-size: clamp(1.7rem, 4vw, 2.2rem); letter-spacing: .05em; }
.detail__meta { font-size: .8rem; color: var(--gold); letter-spacing: .12em; margin: .35rem 0 1.2rem; }

.comps {
  margin-top: 1.8rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.10);
}
@media (max-width: 560px) { .comps { grid-template-columns: 1fr; } }
.comp {
  background: rgba(12,16,24,.32);
  padding: 1.1rem 1.1rem 1.2rem;
  display: grid;
  gap: .35rem;
}
.comp b {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.15rem;
  color: var(--ivory);
  letter-spacing: .04em;
}
.comp__stones { font-size: .74rem; letter-spacing: .1em; color: var(--gold-dim); }
.comp__body { font-size: .87rem; line-height: 1.7; color: var(--muted); }

.detail__cta { margin-top: 1.8rem; display: flex; gap: .8rem; flex-wrap: wrap; }

/* ============================================================
   4. МЕЛОЧИ, КОТОРЫЕ ДЕЛАЮТ ОЩУЩЕНИЕ
   ============================================================ */

/* Заголовки секций проявляются построчно */
[data-reveal] h2 { position: relative; }
[data-reveal] h2::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -1.1rem;
  width: 0; height: 1px;
  translate: -50% 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transition: width 1.4s var(--ease) .25s;
}
[data-reveal].is-visible h2::after { width: min(60%, 18rem); }

/* Карточки каталога: тонкая рамка света под курсором */
.amulet { position: relative; }
.amulet::before {
  content: "";
  position: absolute;
  inset: -6% -4% 12%;
  border-radius: 50%;
  background: radial-gradient(circle closest-side, rgba(198,166,110,.20), transparent 70%);
  opacity: 0;
  transition: opacity .5s ease;
  pointer-events: none;
  filter: blur(14px);
}
.amulet:hover::before,
.amulet[aria-expanded="true"]::before { opacity: 1; }

/* Секции получают собственное мягкое свечение */
#kak, #zayavka, #vblizi { position: relative; }
#kak::before, #zayavka::before, #vblizi::before {
  content: "";
  position: absolute;
  left: 50%; top: 46%;
  width: min(110vw, 62rem);
  aspect-ratio: 1.5;
  translate: -50% -50%;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse, rgba(60,86,108,.22) 0%, rgba(198,166,110,.05) 42%, transparent 70%);
  filter: blur(46px);
  animation: breathe 23s ease-in-out infinite;
}
#zayavka::before { animation-duration: 29s; }

/* Импульс, идущий вниз по оси страницы вслед за скроллом */
.axis-pulse {
  position: fixed;
  left: 50%;
  top: var(--pulseY, 50%);
  width: 3px; height: 130px;
  translate: -50% -50%;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(232,222,203,.55), transparent);
  filter: blur(2px);
  opacity: var(--pulseO, 0);
  transition: opacity .5s ease;
}

/* ============================================================
   5. ЕСЛИ СИСТЕМА ПРОСИТ МЕНЬШЕ ДВИЖЕНИЯ — сцена становится
      двумя обычными экранами, без закрепления и без превращения.
   ============================================================ */

html.no-motion .stage { height: auto; }
html.no-motion .stage__pin { position: static; height: auto; padding: 9rem 0 5rem; }
html.no-motion .seal { position: static; transform: none; margin: 0 auto 2.5rem; translate: none; }
html.no-motion .stage__hero { position: static; translate: none; transform: none; opacity: 1; margin-inline: auto; }
html.no-motion .stage__manifest {
  position: static; translate: none; opacity: 1; visibility: visible;
  margin: 5rem auto 0; grid-template-columns: 1fr 1fr; align-items: start;
}
html.no-motion .stage__manifest .manifest__col--l { text-align: left; justify-items: start; }
html.no-motion .stage__manifest .manifest__col--l .manifest__item { border-right: 0; padding-right: 0; border-left: 1px solid var(--line); padding-left: 1.2rem; }
html.no-motion .stage__rays,
html.no-motion .grain,
html.no-motion .axis-pulse { display: none; }
html.no-motion .veil__layer { animation: none; }

@media (prefers-reduced-motion: reduce) {
  .seal__aura, .seal__ring, .seal__halo,
  .veil__layer, .veil__breath, .stage__rays, .grain,
  .hero__scroll::after { animation: none !important; }
}


/* Ноутбуки с невысоким экраном: печать и текст ужимаются вместе */
@media (max-height: 820px) and (min-width: 561px) {
  :root { --seal-size: min(56vh, 400px); }
  .stage__hero { top: 56%; }
  .stage__hero .hero__line { font-size: 1.12rem; margin-top: 1.4rem; }
  .stage__hero .hero__cta { margin-top: 1.4rem; }
  .btn { padding: .8rem 1.7rem; }
}


/* Последний абзац раздела — тише основного текста */
.prose__quiet {
  margin-top: 2rem !important;
  color: var(--muted) !important;
  font-size: .92rem;
  line-height: 1.8;
}


/* ============================================================
   6. ПОДАРОК — блок для тех, кто выбирает не себе
   ============================================================ */

#podarok { position: relative; }

.gift {
  position: relative;
  max-width: 64rem;
  margin-inline: auto;
  padding: clamp(3rem, 7vw, 5rem) clamp(1.4rem, 5vw, 4rem) clamp(2.6rem, 6vw, 4rem);
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(198,166,110,.09), transparent 62%),
    linear-gradient(180deg, rgba(19,26,37,.60), rgba(7,9,16,.35));
  overflow: hidden;
}
.gift::before {
  content: "";
  position: absolute;
  left: 0; top: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(236,205,145,.85), transparent);
  background-size: 42% 100%;
  background-repeat: no-repeat;
  animation: giftsweep 9s ease-in-out infinite;
}
@keyframes giftsweep {
  0%   { background-position: -45% 0; }
  55%  { background-position: 105% 0; }
  100% { background-position: 105% 0; }
}

/* Нить, спускающаяся сверху в центр блока — та же ось, только тоньше */
.gift__thread {
  position: absolute;
  left: 50%; top: 0;
  width: 1px; height: clamp(2rem, 5vw, 3.4rem);
  translate: -50% 0;
  background: linear-gradient(180deg, rgba(236,205,145,.75), transparent);
  pointer-events: none;
}

.gift__eyebrow {
  margin: 0;
  text-align: center;
  font-size: .7rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold-dim);
}
.gift__title {
  margin: .9rem 0 0;
  text-align: center;
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(2rem, 5.2vw, 3.2rem);
  line-height: 1.1;
}
.gift__lede {
  max-width: 34rem;
  margin: 1.5rem auto 0;
  text-align: center;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.gift__grid {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.6rem, 3vw, 2.4rem);
}
@media (max-width: 900px) { .gift__grid { grid-template-columns: 1fr; gap: 1.4rem; } }

.gift__item { border-top: 1px solid var(--line-cold); padding-top: 1.1rem; }
.gift__item h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.22rem;
  margin: 0 0 .5rem;
  letter-spacing: .02em;
}
.gift__item p { margin: 0; font-size: .9rem; line-height: 1.72; color: #b9b3a5; }

.gift__close {
  margin: clamp(2.4rem, 5vw, 3.4rem) auto 0;
  max-width: 38rem;
  text-align: center;
  font-family: var(--display);
  font-size: clamp(1.15rem, 2.6vw, 1.5rem);
  line-height: 1.5;
  color: var(--silver);
}
.gift__cta {
  margin-top: 2.2rem;
  display: flex;
  gap: .9rem;
  justify-content: center;
  flex-wrap: wrap;
}

@media (prefers-reduced-motion: reduce) { .gift::before { animation: none; } }


/* Крестик, закрывающий раскрытую форму */
.detail__close {
  position: absolute;
  top: .9rem; right: .9rem;
  z-index: 3;
  width: 2.5rem; height: 2.5rem;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  color: var(--ivory);
  cursor: pointer;
  transition: color .3s ease, border-color .3s ease, background .3s ease, transform .3s ease;
}
.detail__close svg { width: 15px; height: 15px; display: block; }
.detail__close:hover {
  color: var(--ivory);
  border-color: var(--gold);
  background: rgba(198,166,110,.14);
  transform: rotate(90deg);
}

/* Цена и срок в блоке форматов */
.format__price {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  font-size: 1.7rem;
  line-height: 1.1;
}
.format__term {
  font-family: var(--body);
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: lowercase;
  color: var(--muted);
}


/* Старое непрозрачное раскрытие из style.css отменяем целиком */
.detail { border-top-width: 1px; border-bottom-width: 1px; }
.grid .detail { animation: glassopen .62s cubic-bezier(.2,.7,.25,1) both; }
@media (max-width: 760px) {
  .detail { border-radius: 20px; padding: 1.6rem 1.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .detail { animation: none; }
}


/* ============================================================
   7. ПРЕДМЕТЫ: раскрытие под сеткой, во всю ширину блока
   ============================================================ */

#objects-detail:empty { display: none; }
#objects-detail .detail { margin-top: clamp(1.4rem, 3vw, 2.2rem); }

/* Кадр-сцена (метка на телефоне) заполняет плиту целиком:
   это фотография, а не вырезанный предмет. */
.am__photo--cover {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 21px;
  transform: translateZ(18px) scale(1);
  filter: none;
}
.am:hover .am__photo--cover,
.am[aria-expanded="true"] .am__photo--cover {
  transform: translateZ(18px) scale(1.035);
  filter: brightness(1.06) drop-shadow(0 0 24px rgba(236,205,145,.28));
}
.am__plate--big .am__photo--cover { border-radius: 21px; }

/* Раскрытая карточка всегда складывается в одну колонку,
   если ей не хватает ширины */
@media (max-width: 980px) {
  .detail { grid-template-columns: 1fr; }
  .detail__view { max-width: 22rem; margin-inline: auto; }
}


/* ============================================================
   8. РИТМ СТРАНИЦЫ: нумерованные подписи над заголовками
   ============================================================ */

.sec__eyebrow {
  margin: 0 0 1rem;
  text-align: center;
  font-size: .68rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold-dim);
}
.sec__eyebrow::after {
  content: "";
  display: block;
  width: 1px; height: 1.6rem;
  margin: .9rem auto 0;
  background: linear-gradient(180deg, rgba(198,166,110,.55), transparent);
}

/* ============================================================
   9. МАНИФЕСТ
   ============================================================ */

.creed { max-width: 58rem; margin: clamp(2.6rem, 6vw, 4rem) auto 0; }

.creed__lead {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.9vw, 1.85rem);
  line-height: 1.5;
  color: var(--silver);
}
.creed__cols {
  margin-top: clamp(2.2rem, 5vw, 3.2rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.8rem, 4vw, 3.4rem);
}
@media (max-width: 760px) { .creed__cols { grid-template-columns: 1fr; } }
.creed__cols p {
  margin: 0;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line-cold);
  color: #c3bcae;
  font-size: .97rem;
  line-height: 1.8;
}
.creed__close {
  margin: clamp(2.6rem, 6vw, 4rem) auto 0;
  max-width: 34rem;
  text-align: center;
  font-family: var(--display);
  font-size: clamp(1.45rem, 3.4vw, 2.15rem);
  line-height: 1.45;
  color: var(--ivory);
}
.creed__quiet {
  margin: 2.2rem auto 0;
  max-width: 36rem;
  text-align: center;
  color: var(--dim);
  font-size: .9rem;
  line-height: 1.85;
}

/* ============================================================
   10. МАТЕРИАЛЫ
   ============================================================ */

/* ============================================================
   МАТЕРИАЛЫ — указатель образцов.
   Прошлая версия была набором плашек поверх картинок камня: чем
   больше эффектов накладывалось, тем дешевле это выглядело, и тем
   дороже обходилось браузеру. Здесь наоборот — ничего, кроме
   типографики, тонких линий и цвета самого материала. Так выглядят
   каталоги минералогических коллекций и пробирные описи.
   ============================================================ */

.mins {
  position: relative;
  /* Панель стоит над сквозной осью страницы и над мандалой: иначе линии
     фона проходят прямо по строкам перечня и мешают читать. */
  z-index: 1;
  margin-top: clamp(2.6rem, 6vw, 4.2rem);
  padding: clamp(2rem, 4.5vw, 3.4rem) clamp(1.5rem, 4vw, 3.2rem);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 22px;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(198,166,110,.10), transparent 60%),
    linear-gradient(168deg, rgba(255,255,255,.05) 0%, rgba(255,255,255,.014) 46%, rgba(150,178,208,.035) 100%),
    linear-gradient(180deg, rgba(11,12,17,.985), rgba(8,9,13,.995));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.14),
    0 40px 90px -60px rgba(0,0,0,.9);
}

.mins__head {
  display: grid;
  grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
  gap: clamp(1rem, 4vw, 3.5rem);
  align-items: baseline;
  padding-bottom: clamp(1.4rem, 3vw, 2.2rem);
  border-bottom: 1px solid rgba(255,255,255,.09);
}
@media (max-width: 760px) { .mins__head { grid-template-columns: 1fr; gap: .7rem; } }

.mins__title {
  margin: 0;
  font-size: .68rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
}
.mins__lede {
  margin: 0;
  max-width: 42rem;
  font-family: var(--display);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.65;
  color: #ded7c9;
}

/* ---------- группа ---------- */

.mins__group { padding-top: clamp(1.6rem, 3.4vw, 2.4rem); }

.mins__label {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: .8rem;
  margin: 0 0 1.1rem;
  font-family: var(--body);
  font-weight: 400;
  font-size: .68rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--muted);
}
/* число в группе — не украшение, а факт: сколько всего материалов */
.mins__label i {
  font-style: normal;
  font-size: .62rem;
  letter-spacing: .1em;
  color: var(--gold-dim);
  font-variant-numeric: tabular-nums;
}
/* линия добирает строку до конца — так делают в описях */
.mins__label::after {
  content: "";
  height: 1px;
  background: linear-gradient(90deg, rgba(198,166,110,.28), rgba(198,166,110,.04));
}

/* ---------- перечень ---------- */

.mins__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
  column-gap: clamp(1.4rem, 3.5vw, 3rem);
}

.mins__list li {
  display: grid;
  grid-template-columns: 1.9rem .9rem 1fr;
  align-items: center;
  gap: .7rem;
  padding: .62rem 0;
  border-bottom: 1px solid rgba(255,255,255,.075);
  font-family: var(--display);
  font-size: 1.06rem;
  line-height: 1.3;
  color: #e9e2d4;
  transition: color .35s ease, border-color .35s ease;
}
.mins__list li:hover { color: var(--ivory); border-color: rgba(198,166,110,.38); }

/* порядковый номер образца */
.mins__list li::before {
  content: attr(data-n);
  font-family: var(--body);
  font-size: .6rem;
  letter-spacing: .1em;
  font-variant-numeric: tabular-nums;
  color: var(--gold-dim);
  opacity: .6;
  transition: opacity .35s ease;
}
.mins__list li:hover::before { opacity: 1; }

/* образец цвета: квадрат — минерал, ромб — драгоценный, круг — металл */
.mins__gem {
  width: .82rem;
  height: .82rem;
  border-radius: 2px;
  background:
    linear-gradient(150deg, rgba(255,255,255,.55), rgba(255,255,255,0) 46%),
    linear-gradient(320deg, rgba(0,0,0,.42), rgba(0,0,0,0) 52%),
    var(--gem, #8d8477);
  box-shadow: 0 0 0 1px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,255,255,.10);
  transition: transform .4s var(--ease), box-shadow .4s ease;
}
.mins__list li:hover .mins__gem {
  transform: scale(1.22);
  box-shadow: 0 0 0 1px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,255,255,.2), 0 0 12px -2px var(--gem, #8d8477);
}

.mins__group--rare .mins__gem {
  border-radius: 1px;
  transform: rotate(45deg) scale(.86);
}
.mins__group--rare .mins__list li:hover .mins__gem { transform: rotate(45deg) scale(1.06); }
.mins__group--rare .mins__list li { color: #ecdcb8; }

.mins__group--metal .mins__gem { border-radius: 50%; }

.mins__note {
  margin: clamp(1.8rem, 3.4vw, 2.6rem) 0 0;
  padding-top: clamp(1.2rem, 2.4vw, 1.8rem);
  border-top: 1px solid rgba(255,255,255,.07);
  font-size: .82rem;
  line-height: 1.75;
  color: var(--dim);
  max-width: 44rem;
}

/* На телефоне перечень из тридцати семи строк в один столбец
   превращается в бесконечную ленту — держим два столбца. */
@media (max-width: 620px) {
  .mins { padding: 1.5rem 1rem; border-radius: 16px; }
  .mins__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1rem;
  }
  .mins__list li {
    font-size: .92rem;
    grid-template-columns: 1.3rem .72rem 1fr;
    gap: .45rem;
    padding: .55rem 0;
  }
  .mins__list li::before { font-size: .54rem; }
  .mins__gem { width: .7rem; height: .7rem; }
}
@media (max-width: 380px) {
  .mins__list { grid-template-columns: 1fr; }
}

/* ============================================================
   11. ПОРЯДОК РАБОТЫ: шаги, нанизанные на ось
   ============================================================ */

.flow {
  position: relative;
  list-style: none;
  margin: clamp(3rem, 7vw, 4.5rem) auto 0;
  padding: 0;
  max-width: 46rem;
}
.flow::before {
  content: "";
  position: absolute;
  left: 1.55rem; top: 1.6rem; bottom: 2.4rem;
  width: 1px;
  background: linear-gradient(180deg,
    rgba(198,166,110,0), rgba(198,166,110,.55) 8%,
    rgba(198,166,110,.35) 70%, rgba(198,166,110,0));
}
@media (max-width: 620px) { .flow::before { left: 1.15rem; } }

.flow__step {
  position: relative;
  display: grid;
  grid-template-columns: 3.1rem 1fr;
  gap: clamp(1rem, 3vw, 1.8rem);
  padding: 0 0 clamp(1.8rem, 4vw, 2.6rem);
}
@media (max-width: 620px) { .flow__step { grid-template-columns: 2.3rem 1fr; } }
.flow__step:last-child { padding-bottom: 0; }

.flow__node {
  position: relative;
  z-index: 1;
  width: 3.1rem; height: 3.1rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.16);
  background: linear-gradient(158deg, rgba(255,255,255,.10), rgba(255,255,255,.02));
  -webkit-backdrop-filter: blur(14px) brightness(1.4);
          backdrop-filter: blur(14px) brightness(1.4);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 14px 26px -18px rgba(0,0,0,.9);
  transition: border-color .5s ease, box-shadow .5s ease;
}
@media (max-width: 620px) { .flow__node { width: 2.3rem; height: 2.3rem; } }
.flow__node i {
  font-family: var(--display);
  font-style: normal;
  font-size: 1.15rem;
  color: var(--gold);
}
.flow__step:hover .flow__node {
  border-color: rgba(236,205,145,.5);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.38), 0 0 26px -4px rgba(198,166,110,.35);
}

.flow__body { padding-top: .35rem; }
.flow__body h3 { font-size: 1.32rem; margin: 0 0 .45rem; letter-spacing: .02em; }
.flow__body p { margin: 0; color: #bab4a6; font-size: .95rem; line-height: 1.8; }

/* появление шагов волной */
[data-reveal] .flow__step { opacity: 0; transform: translateY(14px); }
[data-reveal].is-visible .flow__step {
  opacity: 1; transform: none;
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
[data-reveal].is-visible .flow__step:nth-child(1) { transition-delay: .05s; }
[data-reveal].is-visible .flow__step:nth-child(2) { transition-delay: .15s; }
[data-reveal].is-visible .flow__step:nth-child(3) { transition-delay: .25s; }
[data-reveal].is-visible .flow__step:nth-child(4) { transition-delay: .35s; }
[data-reveal].is-visible .flow__step:nth-child(5) { transition-delay: .45s; }
[data-reveal].is-visible .flow__step:nth-child(6) { transition-delay: .55s; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] .flow__step { opacity: 1; transform: none; }
}

/* ============================================================
   12. ФОРМА ЗАЯВКИ В СТЕКЛЕ
   ============================================================ */

.form-glass {
  margin: clamp(2.6rem, 6vw, 4rem) auto 0;
  max-width: 50rem;
  padding: clamp(1.8rem, 4.5vw, 3.2rem);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 28px;
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(255,243,222,.10), transparent 58%),
    linear-gradient(160deg, rgba(255,255,255,.09) 0%, rgba(255,255,255,.022) 46%, rgba(190,214,238,.06) 100%);
  -webkit-backdrop-filter: blur(26px) saturate(1.3) brightness(1.4);
          backdrop-filter: blur(26px) saturate(1.3) brightness(1.4);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.28),
    inset 0 -46px 70px -56px rgba(236,205,145,.4),
    0 42px 84px -46px rgba(0,0,0,.85);
}
.form-glass .form { margin-top: 0; max-width: none; }
.form-glass .field input,
.form-glass .field select,
.form-glass .field textarea {
  background: rgba(255,255,255,.045);
  border-color: rgba(255,255,255,.14);
  border-radius: 12px;
}
.form-glass .field input:focus,
.form-glass .field select:focus,
.form-glass .field textarea:focus {
  border-color: rgba(236,205,145,.6);
  background: rgba(255,255,255,.07);
}
.form-glass .switch { border-color: rgba(255,255,255,.16); border-radius: 14px; overflow: hidden; }
.form-glass .chips label { border-radius: 999px; border-color: rgba(255,255,255,.14); }
.form-glass .sent { border-radius: 20px; border-color: rgba(236,205,145,.4); }
@media (max-width: 560px) { .form-glass { border-radius: 20px; padding: 1.4rem 1.1rem; } }

/* ============================================================
   13. РИТМ СТРАНИЦЫ
   Отступы между блоками: раньше они были одинаково большими и
   страница разваливалась на несвязанные экраны. Теперь дыхание
   меньше и неравномерное — смысловые пары стоят ближе друг к другу.
   ============================================================ */

section { padding: clamp(3.4rem, 7.2vw, 6.2rem) 0; }

/* блок «из чего» продолжает «во что мы верим» — их не нужно разводить */
#ustroystvo { padding-top: clamp(2.6rem, 5vw, 4.2rem); }
/* каталог — главный экран после сцены, ему даём воздух сверху */
#formy      { padding-top: clamp(4rem, 8.5vw, 7rem); }
/* подарок и порядок работы читаются подряд */
#podarok    { padding-bottom: clamp(2.8rem, 5.5vw, 4.4rem); }
/* между «Для ваших устройств» и подарком был самый длинный пустой провал
   на странице: два полных отступа секций плюс поле внутри карточки подарка */
#formy      { padding-bottom: clamp(1.6rem, 3.5vw, 3rem); }
#podarok    { padding-top: clamp(.6rem, 1.5vw, 1.2rem); }
#kak        { padding-top: clamp(2.8rem, 5.5vw, 4.4rem); }
#poryadok   { padding-top: clamp(2.8rem, 5.5vw, 4.4rem); }
/* заявка стоит отдельно — перед ней пауза длиннее */
#zayavka    { padding-top: clamp(4.2rem, 9vw, 7.5rem); }
#vazhno     { padding-top: clamp(2.4rem, 5vw, 4rem); }

/* внутренние отступы тоже подтянуты */
.grid       { margin-top: clamp(2.4rem, 5.5vw, 3.6rem); }
.layers     { margin-top: clamp(2rem, 4.5vw, 3.2rem); }
.layers__note { margin-top: 2rem; }
.where      { margin-top: clamp(2.4rem, 5.5vw, 3.8rem); }
.flow       { margin-top: clamp(2.4rem, 5.5vw, 3.6rem); }
.sec__eyebrow { margin-bottom: .8rem; }
.sec__eyebrow::after { height: 1.3rem; margin-top: .75rem; }

/* Текст второго блока уходит правее: центральная ось страницы должна
   идти по чистому полю, а не по строкам. */
.layers {
  grid-template-columns: minmax(0, .92fr) minmax(0, 1fr);
  gap: clamp(2.6rem, 7.5vw, 6.5rem);
}
@media (max-width: 860px) {
  .layers { grid-template-columns: 1fr; gap: 2.4rem; }
}

/* Текст только для поисковых систем и экранных читалок */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ------------------------------------------------------------
   Прокрутка на телефоне.
   overflow-x: hidden стоял на body — при таком сочетании браузер
   делает прокручиваемым сам body, а не окно, и часть мобильных
   браузеров перестаёт докручивать страницу до конца. Переносим
   ограничение по горизонтали на html: окно снова прокручивает
   страницу, а горизонтального «выезда» по-прежнему нет.
   ------------------------------------------------------------ */
html { overflow-x: hidden; }
body { overflow-x: visible; }



/* ============================================================
   ФОРМА: ошибки полей и окно результата
   ============================================================ */

.field__hint {
  display: block;
  margin-top: .45rem;
  font-size: .74rem;
  line-height: 1.5;
  color: var(--dim);
}

/* Ошибка объясняет, что не так, а не просто красит поле красным */
.field__err {
  display: block;
  margin-top: .45rem;
  font-size: .76rem;
  line-height: 1.5;
  color: #e59a86;
}
.is-err input,
.is-err textarea,
.is-err select {
  border-color: rgba(214,110,84,.65);
  box-shadow: 0 0 0 3px rgba(214,110,84,.10);
}
.is-err .field__hint { display: none; }
.consent.is-err label { color: #e59a86; }

.btn.is-busy { opacity: .6; pointer-events: none; }

/* ---------- окно результата ---------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: var(--gutter);
}
/* КРИТИЧНО. Атрибут hidden браузер выключает правилом display:none из
   своей встроенной таблицы, а любое авторское display его перебивает.
   Без этой строки закрытое окно остаётся на месте: невидимый слой во
   весь экран поверх всего, который съедает все клики и наведения. */
.modal[hidden] { display: none !important; }
.modal__veil {
  position: absolute;
  inset: 0;
  background: rgba(6,7,11,.72);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .26s ease;
}
.modal.is-on .modal__veil { opacity: 1; }

.modal__box {
  position: relative;
  width: min(100%, 32rem);
  padding: clamp(2rem, 5vw, 2.8rem);
  text-align: center;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 22px;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(198,166,110,.16), transparent 62%),
    linear-gradient(168deg, rgba(255,255,255,.07) 0%, rgba(255,255,255,.02) 50%, rgba(150,178,208,.05) 100%),
    linear-gradient(180deg, rgba(14,15,21,.97), rgba(9,10,15,.99));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.22),
    0 50px 100px -50px rgba(0,0,0,.95);
  opacity: 0;
  transform: translateY(14px) scale(.97);
  transition: opacity .3s var(--ease), transform .34s var(--ease);
}
.modal.is-on .modal__box { opacity: 1; transform: none; }

.modal__sign {
  display: grid;
  place-items: center;
  width: 3.4rem;
  height: 3.4rem;
  margin: 0 auto 1.3rem;
  border-radius: 50%;
  color: var(--gold);
  border: 1px solid rgba(198,166,110,.42);
  background: radial-gradient(circle closest-side, rgba(198,166,110,.16), transparent 78%);
}
.modal__sign svg { width: 1.6rem; height: 1.6rem; }
.modal.is-err .modal__sign {
  color: #e08a70;
  border-color: rgba(224,138,112,.42);
  background: radial-gradient(circle closest-side, rgba(224,138,112,.16), transparent 78%);
}

.modal__title {
  margin: 0 0 .8rem;
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(1.5rem, 3.4vw, 1.95rem);
  color: var(--ivory);
}
.modal__text {
  margin: 0;
  font-size: .94rem;
  line-height: 1.75;
  color: #c5bfb3;
}
.modal__foot { margin-top: 1.8rem; }

.modal__close {
  position: absolute;
  top: .9rem; right: .9rem;
  width: 2.2rem; height: 2.2rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  color: var(--muted);
  cursor: pointer;
  transition: color .3s ease, border-color .3s ease, background .3s ease;
}
.modal__close:hover {
  color: var(--ivory);
  border-color: rgba(198,166,110,.45);
  background: rgba(198,166,110,.12);
}

@media (prefers-reduced-motion: reduce) {
  .modal__veil, .modal__box { transition: none; }
}

/* Тот же случай для всех прочих элементов, которые прячутся через hidden */
[hidden] { display: none !important; }

/* ------------------------------------------------------------
   Прокрутка по якорям делается скриптом (assets/app.js), поэтому
   браузерную плавную прокрутку выключаем: иначе две анимации спорят.
   Причина в том, что Chrome отменяет собственную плавную прокрутку,
   пока на первом экране работает шейдерный холст.
   ------------------------------------------------------------ */
html { scroll-behavior: auto; }
body { overflow-anchor: none; }

/* ============================================================
   14. ДИЗАЙН-СИСТЕМА: СКРУГЛЕНИЯ И ИНТЕРФЕЙС
   Радиусы на странице были случайными — 12, 14, 16, 20, 21, 22,
   26, 28 и прямые углы у кнопок и полей. Глаз это читает как
   несобранность, даже когда не может назвать причину. Здесь
   вводится шкала из четырёх значений, и дальше всё берёт радиус
   только из неё.
   ============================================================ */

:root {
  --r-xs: 8px;     /* мелкие метки, образцы цвета */
  --r-sm: 14px;    /* поля ввода, кнопки, ячейки */
  --r-md: 20px;    /* карточки и вложенные панели */
  --r-lg: 26px;    /* крупные плиты и окна */
  --r-full: 999px; /* таблетки */
}

/* ---------- кнопки ---------- */

.btn {
  position: relative;
  border-radius: var(--r-full);
  padding: 1rem 2.3rem;
  overflow: hidden;
  isolation: isolate;
  transition: color .4s ease, border-color .4s ease,
              transform .45s var(--ease), box-shadow .45s ease;
}
/* Заливка приходит изнутри, а не меняется скачком: у дорогих
   интерфейсов кнопка отвечает движением, а не сменой цвета. */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(120% 160% at 50% 120%, rgba(198,166,110,.30), rgba(198,166,110,0) 70%);
  opacity: 0;
  transform: translateY(28%);
  transition: opacity .45s ease, transform .55s var(--ease);
}
.btn:hover {
  border-color: var(--gold);
  color: #fff;
  transform: translateY(-2px);
  background: transparent;
  box-shadow: 0 14px 30px -18px rgba(198,166,110,.55);
}
.btn:hover::before { opacity: 1; transform: translateY(0); }
.btn:active { transform: translateY(0); }

.btn--solid {
  background: linear-gradient(180deg, #e0c48f 0%, var(--gold) 55%, #b8975f 100%);
  border-color: transparent;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.45),
    0 12px 26px -16px rgba(198,166,110,.7);
}
.btn--solid::before {
  background: linear-gradient(180deg, #ecd6a9 0%, #d8bb85 100%);
  transform: none;
}
.btn--solid:hover {
  color: #14100a;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.55),
    0 18px 34px -16px rgba(198,166,110,.85);
}

/* ---------- поля ввода ---------- */

.field input,
.field select,
.field textarea {
  border-radius: var(--r-sm);
  padding: .95rem 1.05rem;
  transition: border-color .3s ease, background .3s ease, box-shadow .3s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  box-shadow: 0 0 0 3px rgba(198,166,110,.14);
}
.field textarea {
  resize: vertical;
  min-height: 8rem;
}
/* Собственная стрелка у списков: системная выбивается из оформления */
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.6rem;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23c6a66e' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1.05rem center;
}

.chips label { border-radius: var(--r-full); }
.consent input[type="checkbox"] { border-radius: 5px; }

/* ---------- прочие углы, оставшиеся острыми ---------- */

.viewer__stage { border-radius: var(--r-md); overflow: hidden; }
.where__cell   { border-radius: var(--r-sm); }
.where {
  gap: .55rem;
  background: none;
  border: 0;
}
.cookie        { border-radius: var(--r-md); }
.sent          { border-radius: var(--r-md); }
.gift          { border-radius: var(--r-lg); }
.gift__item    { border-radius: var(--r-sm); }
.am__plate     { border-radius: var(--r-lg); }
.detail        { border-radius: var(--r-lg); }
.mins          { border-radius: var(--r-lg); }
.modal__box    { border-radius: var(--r-lg); }
.form-glass    { border-radius: var(--r-lg); }

/* ---------- два формата: настоящие карточки ---------- */

.format {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.6rem, 3.2vw, 2.4rem);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-lg);
  background:
    linear-gradient(168deg, rgba(255,255,255,.045) 0%, rgba(255,255,255,.012) 55%, rgba(150,178,208,.03) 100%),
    linear-gradient(180deg, rgba(12,13,18,.5), rgba(9,10,14,.62));
  transition: border-color .5s ease, transform .5s var(--ease), box-shadow .5s ease;
}
.format:hover {
  border-color: rgba(198,166,110,.3);
  transform: translateY(-3px);
  box-shadow: 0 40px 80px -60px rgba(0,0,0,.9);
}
/* Рекомендованный вариант отличается не рамкой, а светом сверху */
.format--main {
  border-color: rgba(198,166,110,.26);
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(198,166,110,.13), transparent 62%),
    linear-gradient(168deg, rgba(255,255,255,.06) 0%, rgba(255,255,255,.015) 55%, rgba(150,178,208,.04) 100%),
    linear-gradient(180deg, rgba(14,15,21,.56), rgba(10,11,16,.68));
}
.format ul { flex: 1; }
/* Кнопки в обеих карточках стоят на одной линии */
.format .btn { align-self: start; margin-top: auto; }

/* ---------- шапка: не даём тексту наезжать на меню ---------- */

.top {
  background: linear-gradient(180deg, rgba(7,9,16,.72), rgba(7,9,16,0));
  transition: padding .3s ease, background .4s ease, backdrop-filter .4s ease;
}
.top.is-stuck {
  background: linear-gradient(180deg, rgba(7,9,16,.94) 60%, rgba(7,9,16,.78));
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
          backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 1px 0 rgba(198,166,110,.12), 0 18px 36px -30px rgba(0,0,0,.9);
}

/* ---------- мелочи, которые замечают ---------- */

::selection { background: rgba(198,166,110,.30); color: #fff; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Полоса прокрутки в тон странице, а не системная светлая */
* { scrollbar-width: thin; scrollbar-color: rgba(198,166,110,.35) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  border-radius: var(--r-full);
  background: rgba(198,166,110,.28);
  border: 3px solid transparent;
  background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover { background: rgba(198,166,110,.5); background-clip: content-box; }

/* ---------- конец страницы: убираем провал перед подвалом ---------- */

#vazhno { padding-bottom: clamp(2rem, 4vw, 3rem); }
.foot {
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: clamp(2.6rem, 5vw, 4rem);
}

/* ============================================================
   15. КАРТОЧКА АМУЛЕТА — СЛОЙ ПОВЕРХ СТРАНИЦЫ
   Раньше описание вставлялось внутрь сетки и раздвигало её.
   Теперь это отдельный слой: на большом экране — окно по центру,
   на телефоне — панель, поднимающаяся снизу.
   ============================================================ */

.sheet {
  position: fixed;
  inset: 0;
  z-index: 320;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vh, 3rem) var(--gutter);
}
.sheet[hidden] { display: none !important; }

.sheet__veil {
  position: absolute;
  inset: 0;
  background: rgba(5,6,10,.68);
  -webkit-backdrop-filter: blur(10px) saturate(1.1);
          backdrop-filter: blur(10px) saturate(1.1);
  opacity: 0;
  transition: opacity .32s ease;
}
.sheet.is-on .sheet__veil { opacity: 1; }

.sheet__panel {
  position: relative;
  width: min(100%, 62rem);
  max-height: min(88svh, 60rem);
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255,255,255,.16);
  background:
    linear-gradient(168deg, rgba(255,255,255,.085) 0%, rgba(255,255,255,.02) 46%, rgba(150,178,208,.055) 100%),
    linear-gradient(180deg, rgba(14,15,21,.9), rgba(9,10,15,.95));
  -webkit-backdrop-filter: blur(30px) saturate(1.5);
          backdrop-filter: blur(30px) saturate(1.5);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.26),
    inset 0 -60px 90px -70px rgba(236,205,145,.5),
    0 60px 120px -60px rgba(0,0,0,.95);
  opacity: 0;
  transform: translateY(20px) scale(.985);
  transition: opacity .34s var(--ease), transform .42s var(--ease);
}
.sheet.is-on .sheet__panel { opacity: 1; transform: none; }

/* Перелив по стеклу: медленная световая полоса поверх панели.
   Это то, что отличает «жидкое стекло» от простого затемнения. */
.sheet__panel::before {
  content: "";
  position: absolute;
  inset: -40%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(115deg,
    transparent 38%,
    rgba(255,255,255,.055) 47%,
    rgba(236,214,169,.10) 50%,
    rgba(255,255,255,.05) 53%,
    transparent 62%);
  animation: sheetsheen 7s ease-in-out infinite;
}
@keyframes sheetsheen {
  0%, 100% { transform: translate3d(-22%, -12%, 0); opacity: .5; }
  50%      { transform: translate3d(18%, 10%, 0);   opacity: 1; }
}
/* Тонкая световая кромка сверху — стекло ловит свет ребром */
.sheet__panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(150deg, rgba(255,255,255,.34), rgba(255,255,255,0) 34%, rgba(236,205,145,.22) 72%, rgba(255,255,255,0));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
}
@media (prefers-reduced-motion: reduce) { .sheet__panel::before { animation: none; } }

.sheet__scroll {
  position: relative;
  z-index: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: clamp(1.6rem, 3.4vw, 2.6rem);
}

.sheet__close {
  position: absolute;
  top: .9rem; right: .9rem;
  z-index: 5;
  width: 2.6rem; height: 2.6rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  background: rgba(18,20,28,.6);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  color: var(--muted);
  cursor: pointer;
  transition: color .3s ease, border-color .3s ease, background .3s ease, transform .3s var(--ease);
}
.sheet__close:hover {
  color: var(--ivory);
  border-color: rgba(198,166,110,.5);
  background: rgba(198,166,110,.16);
  transform: rotate(90deg);
}

/* Внутри слоя карточка теряет собственную рамку — панель уже стекло */
.sheet .detail {
  margin: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  -webkit-backdrop-filter: none;
          backdrop-filter: none;
  animation: none;
  padding: 0;
}

/* ---------- телефон: панель снизу ---------- */

@media (max-width: 760px) {
  .sheet { padding: 0; place-items: end stretch; }
  .sheet__panel {
    width: 100%;
    max-height: 92svh;
    border-radius: var(--r-lg) var(--r-lg) 0 0;
    border-bottom: 0;
    transform: translateY(100%);
  }
  .sheet.is-on .sheet__panel { transform: none; }
  .sheet__scroll { padding: 1.4rem 1.1rem calc(1.6rem + env(safe-area-inset-bottom)); }
  /* полоска-ручка, как у системных панелей — сразу понятно, что это можно закрыть */
  .sheet__panel > .sheet__scroll::before {
    content: "";
    display: block;
    width: 3rem; height: 4px;
    margin: 0 auto 1.1rem;
    border-radius: 999px;
    background: rgba(255,255,255,.22);
  }
  .sheet__close { top: .6rem; right: .7rem; width: 2.4rem; height: 2.4rem; }
}

/* ------------------------------------------------------------
   3D-просмотр: холст не имеет права выйти за рамку.
   На iOS обрезка родителя иногда не срабатывает для слоя, который
   рисует видеокарта, поэтому холст прижат к рамке абсолютно,
   а сама рамка получает собственный слой отрисовки.
   ------------------------------------------------------------ */
.viewer__stage {
  position: relative;
  overflow: hidden;
  contain: paint;
  -webkit-transform: translateZ(0);
          transform: translateZ(0);
}
.viewer__stage canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  display: block;
  touch-action: pan-y;
}

/* ============================================================
   16. ТЕЛЕФОН
   Разбиралось по живому экрану: знак должен держать первый экран,
   мелкий текст должен читаться без прищура, поп-ап — не разъезжаться.
   ============================================================ */

@media (max-width: 760px) {

  /* ---------- первый экран: знак — главное ---------- */
  :root {
    --seal-size: min(90vw, 420px);
    --stage-h: 300svh;
  }
  .seal        { top: 33%; }
  .stage__rays { top: 33%; }
  .stage__hero { top: 58%; width: min(94vw, 30rem); }
  .stage__hero .hero__sub  { font-size: .8rem; letter-spacing: .22em; line-height: 1.7; }
  .stage__hero .hero__line { margin-top: 1.3rem; font-size: 1.3rem; line-height: 1.45; }
  .stage__hero .hero__cta  { margin-top: 1.5rem; display: grid; gap: .7rem; justify-items: center; }
  .stage__hero .hero__cta .btn { width: min(100%, 20rem); }

  /* ---------- размер текста ----------
     На телефоне вся мелкая типографика поднимается: то, что на
     мониторе читается как деликатная подпись, в руке превращается
     в нечитаемую строку. */
  body { font-size: 17px; }

  .lede            { font-size: 1.02rem; line-height: 1.65; }
  .sec__eyebrow    { font-size: .74rem; letter-spacing: .22em; }
  .layer p,
  .gift__item p,
  .flow__body p,
  .where__cell span,
  .creed__cols p,
  .format li       { font-size: .98rem; line-height: 1.7; }
  .layers__note,
  .mins__note,
  .fineprint p,
  .form__note      { font-size: .9rem; line-height: 1.75; }
  .field label     { font-size: .8rem; letter-spacing: .1em; }
  .field input,
  .field select,
  .field textarea  { font-size: 16px; }   /* меньше 16px — iOS увеличит страницу при фокусе */
  .field small,
  .field__hint,
  .field__err      { font-size: .84rem; }
  .consent label   { font-size: .92rem !important; line-height: 1.6; }
  .am__name        { font-size: 1.05rem; }
  .am__note        { font-size: .82rem; }
  .detail__origin,
  .detail__hint    { font-size: .76rem; letter-spacing: .16em; }
  .detail__meta    { font-size: .92rem; }
  .detail__text    { font-size: 1rem; line-height: 1.78; }
  .comp__stones,
  .comp__body      { font-size: .9rem; line-height: 1.65; }
  .foot p          { font-size: .95rem; }
  .foot p[style]   { font-size: .82rem !important; line-height: 2 !important; }
  .flow__body h3   { font-size: 1.25rem; }
  .layer h3        { font-size: 1.3rem; }
  .cookie          { font-size: .88rem; }

  /* ---------- карточка амулета внутри слоя ----------
     Длинный текст по центру читать невозможно: глаз каждый раз ищет
     начало строки. Центрируем только предмет и заголовок. */
  .sheet .detail            { grid-template-columns: 1fr; text-align: left; }
  .sheet .detail__view      { text-align: center; }
  .sheet .detail__origin,
  .sheet .detail h3,
  .sheet .detail__meta      { text-align: center; }
  .sheet .detail__view .am__plate { max-width: 17rem; margin-inline: auto; }
  .sheet .detail__cta       { display: grid; gap: .7rem; }
  .sheet .detail__cta .btn  { width: 100%; }
  .sheet .comps             { gap: .9rem; }

  /* ---------- прочее ---------- */
  .grid { gap: 1.4rem .9rem; }
  .top__mark img { width: 82px; }
}

/* Совсем узкие экраны */
@media (max-width: 380px) {
  :root { --seal-size: min(94vw, 380px); }
  .stage__hero .hero__line { font-size: 1.2rem; }
}

/* ------------------------------------------------------------
   Горизонтальный сдвиг на телефоне.
   Слои сцены и мандалы шире экрана — так и задумано, их обрезают
   родители. Но Safari всё равно позволял утянуть страницу вбок
   пальцем: overflow-x: hidden он для этого не считает достаточным.
   clip обрезает жёстче и, в отличие от hidden, не превращает
   элемент в область прокрутки — липкая сцена продолжает работать.
   overscroll-behavior-x убирает резиновый отскок вбок.
   ------------------------------------------------------------ */
html, body {
  max-width: 100%;
  overflow-x: hidden;          /* запасной вариант для старых браузеров */
  overflow-x: clip;
  overscroll-behavior-x: none;
}

/* ============================================================
   17. МАТЕРИАЛЫ ФОТОГРАФИЕЙ, ЧИТАЕМОСТЬ НА ТЕЛЕФОНЕ
   ============================================================ */

/* ---------- образец материала: настоящая фактура, а не цветной квадрат ----------
   Круг — камень-кабошон, ромб — огранённый драгоценный, круг с металлическим
   ободком — металл. Поверх фотографии — блик и внутренняя тень, чтобы образец
   читался как предмет, а не как картинка. */
.mins__list li { grid-template-columns: 1.7rem 2.3rem 1fr; gap: .85rem; padding: .7rem 0; }
.mins__gem {
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 26%, rgba(255,255,255,.34), rgba(255,255,255,0) 42%),
    radial-gradient(circle at 50% 50%, rgba(0,0,0,0) 58%, rgba(0,0,0,.38) 100%),
    var(--tex, none) center / cover no-repeat,
    var(--gem, #8d8477);
  box-shadow:
    0 0 0 1px rgba(0,0,0,.55),
    0 0 0 2px rgba(198,166,110,.22),
    0 6px 14px -6px rgba(0,0,0,.8);
}
.mins__list li:hover .mins__gem {
  transform: scale(1.14);
  box-shadow:
    0 0 0 1px rgba(0,0,0,.55),
    0 0 0 2px rgba(198,166,110,.5),
    0 0 18px -2px var(--gem, #8d8477);
}
.mins__group--rare .mins__gem {
  border-radius: 7px;
  transform: rotate(45deg) scale(.84);
  background:
    linear-gradient(135deg, rgba(255,255,255,.38), rgba(255,255,255,0) 40%),
    linear-gradient(315deg, rgba(0,0,0,.35), rgba(0,0,0,0) 45%),
    var(--tex, none) center / 140% no-repeat,
    var(--gem, #8d8477);
}
.mins__group--rare .mins__list li:hover .mins__gem { transform: rotate(45deg) scale(1); }
.mins__group--metal .mins__gem {
  box-shadow:
    0 0 0 1px rgba(0,0,0,.55),
    0 0 0 2.5px rgba(226,214,188,.38),
    0 6px 14px -6px rgba(0,0,0,.8);
}

/* ---------- поле «по желанию» ---------- */
.field__opt { text-transform: none; letter-spacing: .02em; color: var(--dim); }

/* ---------- cookie: не четверть экрана, а одна аккуратная строка ---------- */
@media (max-width: 760px) {
  .cookie {
    bottom: .7rem;
    width: calc(100vw - 1.4rem);
    padding: .8rem .9rem .8rem 1.1rem;
    gap: .8rem;
    flex-wrap: nowrap;
    font-size: .86rem;
    line-height: 1.5;
  }
  .cookie p { flex: 1 1 auto; }
  .cookie .btn { flex: none; padding: .55rem 1.1rem; }
}

/* ---------- телефон: читаемость ----------
   Замер по живому экрану 390 px показал подписи в 10–13 px и серый
   текст с контрастом ниже 3:1. Здесь всё поднято до размеров, которые
   читаются в руке без прищура. Cormorant мельче Manrope при том же
   кегле, поэтому шрифт с засечками получает запас. */
@media (max-width: 760px) {
  .sec__eyebrow,
  .gift__eyebrow,
  .mins__title      { font-size: .8rem; letter-spacing: .2em; }
  .lede             { font-size: 1.08rem; }

  .stage__hero .hero__sub { font-size: .86rem; }
  .hero__line--dim  { color: #b3ac9a; font-size: .86em; }

  /* Четыре тезиса под знаком — сеткой 2×2. Ось страницы проходит
     ровно в просвете между колонками и больше не режет строки.
     На узкой колонке шрифт без засечек читается лучше Cormorant. */
  .stage__manifest   { padding-bottom: calc(3svh + env(safe-area-inset-bottom, 0px)); }
  .stage__manifest .manifest__col,
  html.no-motion .stage__manifest .manifest__col { grid-template-columns: 1fr 1fr; column-gap: 2.2rem; row-gap: 1.2rem; }
  .manifest__col--l .manifest__item,
  .manifest__col--r .manifest__item { border-left: 0 !important; padding-left: 0 !important; border-right: 0 !important; padding-right: 0 !important; }
  .manifest__item h3 { font-size: .7rem !important; letter-spacing: .14em; line-height: 1.4; margin-bottom: .4rem; }
  .manifest__item p  { font-family: var(--body); font-size: .9rem !important; line-height: 1.5; color: #e2dbcc; }

  .creed__quiet     { font-size: 1rem; line-height: 1.75; color: #aaa391; }

  .mins__label      { font-size: .78rem; }
  .mins__label i    { font-size: .74rem; }
  .mins__lede       { font-size: 1.12rem; }
  .mins__list li {
    font-size: 1.12rem;
    grid-template-columns: 2.1rem 1fr;
    gap: .65rem;
    padding: .6rem 0;
  }
  .mins__list li::before { display: none; }
  .mins__gem        { width: 2.1rem; height: 2.1rem; }
  .mins__note,
  .layers__note     { font-size: .95rem; }

  .viewer__hint     { font-size: .86rem; color: var(--muted); }
  .format__term     { font-size: .86rem; }
  .am__note         { font-size: .86rem; color: var(--muted); }
  .am__name         { font-size: 1.12rem; }
  .field label      { font-size: .86rem; }
  .chips label      { font-size: .92rem; }
  .field small,
  .field__hint      { font-size: .9rem; color: var(--muted); }
  .objects__lede    { font-size: 1rem; line-height: 1.7; }
  .gift__item p     { font-size: 1rem; }
  .gift__item h3    { font-size: 1.35rem; }
  .fineprint p      { font-size: .95rem; color: var(--muted); }
  .top nav a        { font-size: .95rem; }
  .btn              { font-size: .92rem; }
}

/* ---------- мандала-поток ---------- */
.veil__flow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: .72;
  /* Под колонкой текста мандала притихает, по краям — дышит в полную силу */
  -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.55) 26%, rgba(0,0,0,.32) 50%, rgba(0,0,0,.55) 74%, #000 100%);
          mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.55) 26%, rgba(0,0,0,.32) 50%, rgba(0,0,0,.55) 74%, #000 100%);
}
@media (max-width: 760px) { .veil__flow { opacity: .5; } }

/* ---------- телефон: кнопка заявки в шапке ----------
   Меню на телефоне скрыто, а страница длинная — до формы было
   шестнадцать экранов прокрутки. Одна тихая кнопка в шапке. */
.top__cta { display: none; }
@media (max-width: 720px) {
  .top__cta {
    display: inline-flex;
    align-items: center;
    margin-left: auto;
    padding: .5rem 1rem;
    border: 1px solid rgba(198,166,110,.45);
    border-radius: 999px;
    font-size: .82rem;
    letter-spacing: .06em;
    color: #ecdcb8;
    background: rgba(13,18,25,.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    text-decoration: none;
    white-space: nowrap;
  }
}

/* Невысокие телефоны (и обычные — с панелями Safari): знак чуть
   меньше и выше, тезисы плотнее. Иначе нижний ряд текста доставал
   до кольца «О». */
@media (max-width: 760px) and (max-height: 780px) {
  :root { --seal-size: min(80vw, 42svh); }
  .seal, .stage__rays { top: 29%; }
  .stage__hero { top: 56%; }
  .stage__manifest .manifest__col { row-gap: .9rem; }
  .manifest__col--r { margin-top: .9rem !important; }
  .manifest__item h3 { font-size: .66rem !important; margin-bottom: .3rem; }
  .manifest__item p  { font-size: .84rem !important; line-height: 1.45; }
}

/* ---------- фокусы внимания: выбор до пяти ----------
   Карточки с номером программы: номер — тихая золотая метка,
   название — главное. Выбранная карточка светится изнутри,
   счётчик сверху говорит, сколько осталось. */
.focus__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .3rem 1rem;
}
.focus__head label { margin: 0; }
.focus__count {
  font-size: .8rem;
  letter-spacing: .04em;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  transition: color .3s ease;
}
.focus__count.is-full { color: #ecdcb8; }
.focus__lede {
  margin: .45rem 0 1rem;
  font-size: .86rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 40rem;
}
.form-glass .chips--focus {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(12.5rem, 1fr));
  gap: .5rem;
}
.form-glass .chips--focus label {
  position: relative;
  display: flex;
  align-items: center;
  gap: .75rem;
  min-height: 3.1rem;
  padding: .6rem 2.2rem .6rem .8rem;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  background: rgba(255,255,255,.025);
  font-size: .92rem;
  line-height: 1.3;
  color: #d9d2c3;
  letter-spacing: 0;
  text-transform: none;
  transition: border-color .25s ease, background .25s ease, color .25s ease, transform .2s ease;
}
.form-glass .chips--focus label i {
  flex: none;
  min-width: 2.5rem;
  padding: .22rem .4rem;
  border: 1px solid rgba(198,166,110,.35);
  border-radius: 999px;
  font-style: normal;
  font-size: .72rem;
  letter-spacing: .06em;
  text-align: center;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
/* галочка справа: пустой круг → золотой с отметкой */
.form-glass .chips--focus label::after {
  content: "";
  position: absolute;
  right: .8rem;
  top: 50%;
  width: .95rem;
  height: .95rem;
  margin-top: -.475rem;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  transition: all .25s ease;
}
@media (hover: hover) {
  .form-glass .chips--focus label:hover { border-color: rgba(198,166,110,.45); color: var(--ivory); }
}
.form-glass .chips--focus input:checked + label {
  border-color: rgba(214,184,126,.85);
  background: linear-gradient(135deg, rgba(198,166,110,.20), rgba(198,166,110,.07));
  color: #f3ead6;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 10px 26px -18px rgba(198,166,110,.9);
}
.form-glass .chips--focus input:checked + label i {
  background: var(--gold);
  border-color: var(--gold);
  color: #14100a;
}
.form-glass .chips--focus input:checked + label::after {
  border-color: var(--gold);
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4l2.6 2.6L12 5.4' fill='none' stroke='%2314100a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat;
}
.form-glass .chips--focus input:disabled + label { opacity: .38; }
.form-glass .chips--focus input:active + label { transform: scale(.985); }
@media (max-width: 560px) {
  .form-glass .chips--focus { grid-template-columns: 1fr 1fr; gap: .45rem; }
  .form-glass .chips--focus label {
    flex-direction: column;
    align-items: flex-start;
    gap: .4rem;
    min-height: 4.6rem;
    padding: .65rem 1.9rem .65rem .7rem;
    font-size: .92rem;
  }
  .form-glass .chips--focus label::after { top: .95rem; margin-top: 0; right: .65rem; }
  .focus__lede { font-size: .9rem; }
}

/* ---------- персональный амулет: пояснение и фото ---------- */
.personal__note {
  margin: -.2rem 0 1.4rem;
  padding: .9rem 1.1rem;
  border-left: 2px solid var(--gold);
  border-radius: 0 12px 12px 0;
  background: rgba(198,166,110,.07);
  font-size: .92rem;
  line-height: 1.65;
  color: #d8d0bf;
}
.field .label {
  display: block;
  font-size: .78rem;
  letter-spacing: .1em;
  color: var(--muted);
  margin-bottom: .45rem;
}
.photo { position: relative; }
.photo [hidden] { display: none !important; }
.photo__input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.field .photo__pick {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0;
  padding: 1rem 1.1rem;
  border: 1px dashed rgba(198,166,110,.45);
  border-radius: 14px;
  background: rgba(255,255,255,.03);
  color: var(--ivory);
  letter-spacing: 0;
  font-size: 1rem;
  cursor: pointer;
  transition: border-color .25s ease, background .25s ease;
}
.field .photo__pick:hover { border-color: var(--gold); background: rgba(198,166,110,.07); }
.photo__input:focus-visible + .photo__pick { outline: 2px solid var(--gold); outline-offset: 3px; }
.photo__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  border: 1px solid rgba(198,166,110,.4);
  color: var(--gold);
}
.photo__text { display: grid; gap: .2rem; }
.photo__text b { font-weight: 500; }
.photo__text small { margin: 0; font-size: .82rem; line-height: 1.5; color: var(--muted); }
.photo__preview {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .7rem .8rem;
  border: 1px solid rgba(214,184,126,.6);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(198,166,110,.14), rgba(198,166,110,.04));
}
.photo__preview img {
  flex: none;
  width: 4.2rem;
  height: 4.2rem;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(0,0,0,.4);
}
.photo__meta { display: grid; gap: .2rem; flex: 1; min-width: 0; }
.photo__meta b { font-weight: 500; font-size: .95rem; color: #f3ead6; }
.photo__meta small { margin: 0; font-size: .8rem; line-height: 1.45; color: var(--muted); }
.photo__remove {
  flex: none;
  padding: .45rem .85rem;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  background: none;
  color: var(--ivory);
  font: inherit;
  font-size: .8rem;
  cursor: pointer;
}
.photo__remove:hover { border-color: var(--gold); }
#field-photo.is-err .photo__pick { border-color: #d99a86; }
@media (max-width: 760px) {
  .field .label { font-size: .86rem; }
  .personal__note { font-size: .98rem; }
  .photo__text small, .photo__meta small { font-size: .86rem; }
}
/* Колонки фокусов не имеют права расталкивать форму: длинные слова
   («Самоуверенность») переносятся, а не раздвигают сетку. */
.form-glass .chips--focus { grid-template-columns: repeat(auto-fill, minmax(min(12.5rem, 100%), 1fr)); }
.form-glass .chips--focus label { min-width: 0; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.form-glass .chips--focus label span { min-width: 0; }
@media (max-width: 560px) {
  .form-glass .chips--focus { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-glass .chips--focus label { padding: .6rem .65rem .65rem; font-size: .88rem; }
  .form-glass .chips--focus label::after { top: .78rem; right: .6rem; }
}
@media (max-width: 760px) { .gift__close { font-size: 1.22rem; line-height: 1.5; } }
.focus__legal {
  margin: -.4rem 0 1rem;
  font-size: .76rem;
  line-height: 1.55;
  color: var(--dim);
  max-width: 40rem;
}
@media (max-width: 760px) { .focus__legal { font-size: .84rem; } }

/* ============================================================
   18. КАТАЛОГ БЕЗ ФОТО: ЧЕРТЁЖ ПРОРИСОВЫВАЕТСЯ
   Места под будущие фотографии и 3D-модели. Пока снимка нет,
   плита показывает линейный чертёж формы: он прорисовывается
   золотой линией, когда карточка появляется, и дышит светом.
   ============================================================ */
.am__art--draw { inset: 16%; opacity: .86; }
.am__art--draw svg * { transition: stroke-dashoffset 2.4s cubic-bezier(.6,.05,.25,1) calc(var(--i, 0) * 90ms + 250ms); }
.am.is-in .am__art--draw svg *,
.sheet.is-on .am__art--draw svg * { stroke-dashoffset: 0 !important; }
.am__art--draw::after {
  content: "";
  position: absolute;
  inset: -12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(236,205,145,.16), transparent 62%);
  animation: glyphbreath 7s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * -1.3s);
  pointer-events: none;
}
@keyframes glyphbreath { 0%, 100% { opacity: .35; transform: scale(.94); } 50% { opacity: 1; transform: scale(1.04); } }

/* ---------- карточка формы: два варианта ---------- */
.variants__title {
  margin: 1.6rem 0 .8rem;
  font-size: .72rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
}
.variants { display: grid; gap: .8rem; }
.variant {
  padding: 1rem 1.1rem 1.1rem;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  background: rgba(255,255,255,.025);
}
.variant--main {
  border-color: rgba(214,184,126,.55);
  background: linear-gradient(140deg, rgba(198,166,110,.14), rgba(198,166,110,.03));
}
.variant__name { margin: 0 0 .2rem; font-family: var(--display); font-size: 1.3rem; color: #f1e7d2; }
.variant__lede { margin: 0 0 .7rem; font-size: .88rem; color: var(--muted); }
.variant .comp { margin-top: .6rem; }
.variant__list { margin: 0; padding: 0; list-style: none; display: grid; gap: .45rem; }
.variant__list li { position: relative; padding-left: 1.1rem; font-size: .92rem; line-height: 1.55; color: #ddd5c4; }
.variant__list li::before { content: ""; position: absolute; left: 0; top: .62em; width: .4rem; height: 1px; background: var(--gold); }
.detail__unique {
  margin: 1.1rem 0 1.2rem;
  font-family: var(--display);
  font-size: 1.08rem;
  line-height: 1.5;
  color: #e6dcc6;
}
@media (max-width: 760px) {
  .variant__lede { font-size: .95rem; }
  .variant__list li { font-size: 1rem; }
  .detail__unique { font-size: 1.15rem; }
}
.variant .comp { padding: .75rem .85rem; border-radius: 12px; background: rgba(8,11,17,.4); border: 1px solid rgba(255,255,255,.07); }

/* ============================================================
   19. ЧАКРЫ В ЗАЯВКЕ
   Семь живых точек на оси — от корня к макушке, в традиционных
   цветах. Каждая пульсирует своим цветом; выбранная светится
   сильнее и открывает строку для цели.
   ============================================================ */
.chakras { position: relative; display: grid; gap: .45rem; }
.chakras::before {
  content: "";
  position: absolute;
  left: calc(.9rem + 1.15rem - .5px);
  top: 1.6rem;
  bottom: 1.6rem;
  width: 1px;
  background: linear-gradient(180deg, #E53935, #FB8C00, #FDD835, #43A047, #29B6F6, #3949AB, #8E24AA);
  opacity: .45;
  pointer-events: none;
}
.ck {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  background: rgba(8,11,17,.35);
  transition: border-color .3s ease, background .3s ease, opacity .3s ease;
}
.ck.is-on {
  border-color: color-mix(in srgb, var(--c) 70%, transparent);
  background: linear-gradient(100deg, color-mix(in srgb, var(--c) 16%, transparent), rgba(8,11,17,.35) 70%);
}
.ck.is-off { opacity: .45; }
.ck__input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.field .ck__row {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin: 0;
  padding: .75rem .5rem .75rem .9rem;
  min-height: 3.6rem;
  cursor: pointer;
  letter-spacing: 0;
  color: var(--ivory);
}
.ck__input:focus-visible + .ck__row { outline: 2px solid var(--c); outline-offset: -2px; border-radius: 16px; }
.ck__input:disabled + .ck__row { cursor: not-allowed; }

.ck__orb {
  position: relative;
  flex: none;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, rgba(255,255,255,.95) 0 7%, transparent 26%),
    radial-gradient(circle at 50% 50%, var(--c) 0 42%, color-mix(in srgb, var(--c) 45%, #000) 100%);
  box-shadow: 0 0 14px -2px var(--c), inset 0 0 8px rgba(0,0,0,.35);
  z-index: 1;
}
.ck__orb::before,
.ck__orb::after,
.ck__orb i {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--c);
  opacity: 0;
  animation: ckpulse 3.2s cubic-bezier(.2,.6,.3,1) infinite;
}
.ck__orb::after { animation-delay: 1.07s; }
.ck__orb i { animation-delay: 2.13s; }
.ck:nth-child(2n) .ck__orb::before { animation-delay: .5s; }
.ck.is-on .ck__orb { box-shadow: 0 0 26px 2px var(--c), inset 0 0 8px rgba(0,0,0,.25); }
.ck.is-on .ck__orb::before,
.ck.is-on .ck__orb::after,
.ck.is-on .ck__orb i { animation-duration: 2s; }
@keyframes ckpulse {
  0%   { transform: scale(1);   opacity: .75; }
  100% { transform: scale(2.2); opacity: 0; }
}

.ck__text { display: grid; gap: .1rem; min-width: 0; }
.ck__text b { font-family: var(--display); font-weight: 400; font-size: 1.2rem; line-height: 1.2; }
.ck__text small { font-size: .78rem; line-height: 1.4; color: var(--muted); letter-spacing: .02em; }
.ck__tick {
  flex: none;
  margin-left: auto;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  transition: all .25s ease;
}
.ck.is-on .ck__tick {
  border-color: var(--c);
  background: var(--c) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4l2.6 2.6L12 5.4' fill='none' stroke='%23fff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 78% no-repeat;
}
.ck__more {
  margin-right: .7rem;
  padding: .42rem .8rem;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: none;
  color: var(--ivory);
  font: inherit;
  font-size: .78rem;
  letter-spacing: .03em;
  cursor: pointer;
  transition: border-color .25s ease, color .25s ease;
}
.ck__more:hover { border-color: var(--c); color: #fff; }
.ck__goal {
  grid-column: 1 / -1;
  display: none;
  padding: 0 .9rem .85rem calc(.9rem + 2.3rem + .9rem);
}
.ck.is-on .ck__goal { display: block; animation: ckgoal .35s ease both; }
@keyframes ckgoal { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.form-glass .ck__goal input { border-color: color-mix(in srgb, var(--c) 45%, rgba(255,255,255,.14)); }

@media (max-width: 560px) {
  .field .ck__row { gap: .75rem; padding-left: .75rem; }
  .chakras::before { left: calc(.75rem + 1.15rem - .5px); }
  .ck__text b { font-size: 1.15rem; }
  .ck__text small { font-size: .8rem; }
  .ck__more { padding: .42rem .65rem; font-size: .8rem; margin-right: .55rem; }
  .ck__goal { padding: 0 .75rem .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  .ck__orb::before, .ck__orb::after, .ck__orb i { animation: none; }
}

/* ---------- описание чакры в слое ---------- */
.ckd__head { text-align: center; padding-top: .6rem; }
.ckd__orb { width: 4.4rem; height: 4.4rem; margin: .8rem auto 1.4rem; display: block; box-shadow: 0 0 44px 4px var(--c), inset 0 0 12px rgba(0,0,0,.3); }
.ckd__head h3 { margin: .2rem 0 .3rem; font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 5vw, 2.6rem); color: #f4ead5; }
.ckd__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
  gap: 1px;
  margin: 1.6rem 0 1.2rem;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.08);
}
.ckd__cell { display: grid; gap: .2rem; padding: .8rem .9rem; background: rgba(10,13,20,.6); }
.ckd__cell span { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.ckd__cell b { font-weight: 400; font-size: .98rem; color: #efe6d2; }
.ckd__block { padding: .9rem 0; border-top: 1px solid rgba(255,255,255,.07); }
.ckd__block h4, .ckd__affirm h4 {
  margin: 0 0 .35rem;
  font-family: var(--body);
  font-weight: 500;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--c) 70%, #fff);
}
.ckd__block p { margin: 0; font-size: .98rem; line-height: 1.7; color: #d7cfbe; }
.ckd__affirm {
  margin: 1rem 0 .4rem;
  padding: 1.1rem 1.2rem;
  border-left: 2px solid var(--c);
  border-radius: 0 14px 14px 0;
  background: linear-gradient(100deg, color-mix(in srgb, var(--c) 14%, transparent), transparent);
}
.ckd__affirm p { margin: .3rem 0; font-family: var(--display); font-size: 1.18rem; line-height: 1.45; color: #f3ead6; }
.ckd__note { margin: 1rem 0 1.2rem; font-size: .8rem; line-height: 1.6; color: var(--dim); }
.form-glass .ck__goal input { background: rgba(10,13,20,.88); }
.ckd__cell:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* ---------- служба заботы рядом с формой ---------- */
.care { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .8rem 1.4rem; margin-top: 1.6rem; }
.care__tg {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  padding: .75rem 1.3rem .75rem 1rem;
  border: 1px solid rgba(98,178,236,.45);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(42,151,221,.18), rgba(42,151,221,.05));
  color: #eaf5ff;
  text-decoration: none;
  transition: border-color .25s ease, background .25s ease, transform .2s ease;
}
.care__tg:hover { border-color: #5cb4ee; background: linear-gradient(135deg, rgba(42,151,221,.28), rgba(42,151,221,.08)); }
.care__tg:active { transform: scale(.98); }
.care__tg svg { color: #5cb4ee; flex: none; }
.care__tg span { display: grid; line-height: 1.25; text-align: left; }
.care__tg b { font-weight: 500; font-size: .95rem; }
.care__tg small { font-size: .78rem; color: #9fc6e2; }
.care__or { margin: 0; font-size: .86rem; color: var(--muted); }
.objects__note { margin: .6rem auto 0; max-width: 40rem; font-size: .8rem; line-height: 1.6; color: var(--dim); text-align: center; }
.photo__text em { font-style: normal; color: #ecdcb8; }
@media (max-width: 760px) { .objects__note { font-size: .88rem; } .care__or { font-size: .92rem; } }

/* ============================================================
   20. КАК ЭТО РАБОТАЕТ: цитата, цикл, триада
   ============================================================ */
#princip { position: relative; }
.clarke { margin: clamp(2.2rem, 5vw, 3.4rem) auto 0; max-width: 40rem; text-align: center; }
.clarke blockquote {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.45rem, 3.2vw, 2.1rem);
  line-height: 1.3;
  color: #f1e6cf;
}
.clarke figcaption { margin-top: .8rem; font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }

.cycle {
  list-style: none;
  margin: clamp(2.4rem, 5vw, 3.4rem) auto 0;
  padding: 0;
  max-width: 52rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
}
.cycle::before {
  content: "";
  position: absolute;
  left: 12.5%;
  right: 12.5%;
  top: 1.35rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(198,166,110,.15), rgba(236,205,145,.7), rgba(198,166,110,.15));
}
.cycle::after {
  content: "";
  position: absolute;
  top: calc(1.35rem - 3px);
  left: 12.5%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f6e3b4;
  box-shadow: 0 0 12px 3px rgba(236,205,145,.7);
  animation: cyclerun 6s cubic-bezier(.45,0,.55,1) infinite;
}
@keyframes cyclerun { 0% { left: 12.5%; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { left: calc(87.5% - 7px); opacity: 0; } }
.cycle li { position: relative; display: grid; justify-items: center; gap: .7rem; text-align: center; }
.cycle i {
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 50%;
  border: 1px solid rgba(236,205,145,.5);
  background: radial-gradient(circle, rgba(198,166,110,.22), rgba(12,16,24,.9) 70%);
  font-style: normal;
  font-size: .72rem;
  letter-spacing: .08em;
  color: var(--gold);
  z-index: 1;
}
.cycle b { font-family: var(--display); font-weight: 400; font-size: 1.2rem; color: #efe5cf; }
.cycle__text { margin: 1.8rem auto 0; max-width: 40rem; font-size: .95rem; line-height: 1.8; color: #bfb8a8; text-align: center; }

.triad {
  margin-top: clamp(2.6rem, 6vw, 3.8rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.08);
}
.triad__item { padding: clamp(1.3rem, 3vw, 2rem); background: rgba(10,13,20,.72); }
.triad__key {
  margin: 0 0 .7rem;
  font-family: var(--display);
  font-size: 1.6rem;
  color: #f1e6cf;
}
.triad__key::before {
  content: "";
  display: block;
  width: 1.8rem;
  height: 1px;
  margin-bottom: .9rem;
  background: var(--gold);
}
.triad__item p:not(.triad__key) { margin: 0; font-size: .93rem; line-height: 1.75; color: #c9c1b1; }

.usage { margin-top: clamp(2.2rem, 5vw, 3rem); text-align: center; }
.usage__title { margin: 0 0 1rem; font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.usage__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.usage__list li {
  padding: .5rem 1rem;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  font-size: .86rem;
  color: #ddd5c4;
  background: rgba(255,255,255,.03);
}
.princip__note { margin: 1.8rem auto 0; max-width: 38rem; text-align: center; font-size: .84rem; line-height: 1.7; color: var(--muted); }

@media (max-width: 760px) {
  .cycle { grid-template-columns: repeat(2, 1fr); row-gap: 1.6rem; }
  .cycle::before, .cycle::after { display: none; }
  .cycle__text { font-size: 1rem; text-align: left; }
  .triad { grid-template-columns: 1fr; }
  .triad__item p:not(.triad__key) { font-size: 1rem; }
  .usage__list li { font-size: .92rem; }
  .princip__note { font-size: .95rem; }
}
@media (prefers-reduced-motion: reduce) { .cycle::after { animation: none; display: none; } }

/* Тринадцатая форма не висит одна у левого края — встаёт по центру */
@media (min-width: 901px) {
  .grid#grid .am:nth-child(13):last-child { grid-column: 2 / span 2; justify-self: center; width: calc(50% - clamp(.4rem, 1vw, .8rem)); }
}
@media (min-width: 621px) and (max-width: 900px) {
  .grid#grid .am:nth-child(13):last-child { grid-column: 2; }
}
@media (max-width: 620px) {
  .grid#grid .am:nth-child(13):last-child { grid-column: 1 / span 2; justify-self: center; width: calc(50% - .45rem); }
}
/* Узкие телефоны: «Подробнее» превращается в круглую кнопку «i»,
   иначе строка чакры не помещается в 360 px */
@media (max-width: 400px) {
  .ck__more {
    width: 2.1rem;
    height: 2.1rem;
    padding: 0;
    font-size: 0;
    display: grid;
    place-items: center;
  }
  .ck__more::before { content: "i"; font-family: var(--display); font-style: italic; font-size: 1.05rem; line-height: 1; }
  .field .ck__row { gap: .6rem; padding-right: .3rem; }
}

/* ============================================================
   21. ЧЕРТЁЖ → ФОТО
   В сетке форма показана чертежом; при наведении чертёж отступает
   в глубину, а на его месте проявляется настоящая фотография.
   На телефоне наведения нет — фото открывается в карточке по нажатию.
   ============================================================ */
.am__photo--hover {
  opacity: 0;
  transform: translateZ(30px) scale(.9);
  filter: drop-shadow(0 12px 20px rgba(0,0,0,.55)) blur(4px);
  transition: opacity .6s ease, transform .9s var(--ease), filter .7s ease;
}
.am__plate--flip .am__art--draw { transition: opacity .6s ease, transform .9s var(--ease), color .5s ease, filter .5s ease; }
@media (hover: hover) {
  .am:hover .am__photo--hover,
  .am:focus-visible .am__photo--hover {
    opacity: 1;
    transform: translateZ(30px) scale(1.04);
    filter: drop-shadow(0 16px 26px rgba(0,0,0,.6)) drop-shadow(0 0 26px rgba(236,205,145,.38)) blur(0);
  }
  .am:hover .am__plate--flip .am__art--draw,
  .am:focus-visible .am__plate--flip .am__art--draw {
    opacity: .16;
    transform: translateZ(8px) scale(1.14);
  }
}

/* В слое: фото крупно, символ медленно вращается позади */
.am__plate--big .am__ghost {
  opacity: .38;
  transform: translateZ(4px) scale(1);
  clip-path: circle(84% at 50% 50%);
}
.am__plate--big .am__ghost svg { animation: veilturn 120s linear infinite; }
.detail__sym {
  display: block;
  width: 3.2rem;
  height: 3.2rem;
  margin: 0 0 .9rem;
  color: var(--gold);
  filter: drop-shadow(0 0 10px rgba(198,166,110,.35));
}
.detail__sym svg { width: 100%; height: 100%; display: block; }
@media (max-width: 760px) { .sheet .detail__sym { margin: 0 auto .8rem; } }

/* ---------- телефон: логотип стоит на оси страницы ----------
   Кольцо «О» в логотипе — точка, через которую проходит ось. На телефоне
   логотип ставим так, чтобы его «О» легло ровно на вертикаль экрана:
   ось из шапки продолжается в знак на сцене и дальше вниз по странице. */
@media (max-width: 720px) {
  .top { position: fixed; }
  .top__mark {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(calc(-145 / 600 * var(--logo-w, 82px)), -50%);
  }
  .top__mark img { width: var(--logo-w, 82px); }
  .top__cta { margin-left: auto; }
}

/* ---------- цикл: огонёк идёт по шагам, каждый шаг вспыхивает ----------
   На компьютере — слева направо, на телефоне — сверху вниз по оси.
   Движение равномерное, чтобы вспышка совпадала с приходом огонька. */
.cycle::after { animation-timing-function: linear; }
.cycle i { animation: cyclelit 6s linear infinite; animation-delay: var(--d, 0s); }
.cycle b { animation: cyclelitb 6s linear infinite; animation-delay: var(--d, 0s); }
@keyframes cyclelit {
  0%, 30%, 100% { box-shadow: none; border-color: rgba(236,205,145,.5); color: var(--gold); }
  10% { box-shadow: 0 0 22px 3px rgba(236,205,145,.55), inset 0 0 12px rgba(236,205,145,.35); border-color: #f3dcaa; color: #fff6e0; }
}
@keyframes cyclelitb {
  0%, 30%, 100% { color: #efe5cf; }
  10% { color: #fff3d6; text-shadow: 0 0 14px rgba(236,205,145,.45); }
}
@media (max-width: 760px) {
  .cycle {
    grid-template-columns: 1fr;
    max-width: 17rem;
    row-gap: 1.3rem;
  }
  .cycle li { grid-template-columns: 2.7rem 1fr; justify-items: start; align-items: center; text-align: left; gap: 1rem; }
  .cycle::before {
    display: block;
    left: 1.35rem;
    right: auto;
    top: 1.35rem;
    bottom: 1.35rem;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, rgba(198,166,110,.15), rgba(236,205,145,.7), rgba(198,166,110,.15));
  }
  .cycle::after {
    display: block;
    left: calc(1.35rem - 3px);
    animation-name: cyclerunv;
  }
  .cycle b { font-size: 1.3rem; }
}
@keyframes cyclerunv {
  0%   { top: calc(1.35rem - 3px); opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { top: calc(100% - 1.35rem - 4px); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .cycle i, .cycle b { animation: none; } }

/* ---------- подсказка «наведи / коснись» ---------- */
.hint-touch { display: none; }
@media (hover: none) { .hint-hover { display: none; } .hint-touch { display: inline; } }

.am__hint {
  position: absolute;
  right: .55rem;
  bottom: .55rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .28rem .55rem .28rem .45rem;
  border: 1px solid rgba(236,205,145,.35);
  border-radius: 999px;
  background: rgba(10,13,20,.62);
  color: #ecdcb8;
  font-size: .6rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  pointer-events: none;
  transition: opacity .4s ease, transform .4s ease;
  animation: hintglow 3.6s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * .35s);
}
.am__hint b { font-weight: 500; }
.am__hint-b { display: none; }
@keyframes hintglow { 0%, 100% { box-shadow: 0 0 0 0 rgba(236,205,145,0); } 50% { box-shadow: 0 0 14px 0 rgba(236,205,145,.28); } }
@media (hover: hover) {
  .am:hover .am__hint { opacity: 0; transform: translateY(4px); }
}
/* после первого касания — фото проявлено, подсказка зовёт открыть описание */
.am.is-flip .am__photo--hover {
  opacity: 1;
  transform: translateZ(30px) scale(1.04);
  filter: drop-shadow(0 16px 26px rgba(0,0,0,.6)) drop-shadow(0 0 26px rgba(236,205,145,.38)) blur(0);
}
.am.is-flip .am__plate--flip .am__art--draw { opacity: .16; transform: translateZ(8px) scale(1.14); }
.am.is-flip .am__hint-a { display: none; }
.am.is-flip .am__hint-b { display: inline; }
.am.is-flip .am__hint svg { display: none; }
@media (max-width: 620px) {
  .am__hint { right: .4rem; bottom: .4rem; font-size: .58rem; padding: .24rem .45rem .24rem .38rem; }
}
@media (prefers-reduced-motion: reduce) { .am__hint { animation: none; } }

/* ---------- падающие звёзды ---------- */
.stars { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.stars i {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--len, 100px);
  height: 1px;
  border-radius: 1px;
  background: linear-gradient(90deg, rgba(255,246,224,0), rgba(255,246,224,.85));
  transform-origin: 100% 50%;
  transform: rotate(var(--ang)) translateX(0);
  opacity: 0;
  animation: shoot var(--dur, 1.2s) cubic-bezier(.3,.1,.4,1) forwards;
}
.stars i[style*="--dist: -"] { background: linear-gradient(270deg, rgba(255,246,224,0), rgba(255,246,224,.85)); transform-origin: 0 50%; }
.stars i::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -1.5px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff8e6;
  box-shadow: 0 0 8px 2px rgba(255,236,196,.7);
}
/* на компьютере след толще и голова ярче — иначе на большом экране не видно */
.stars i.is-wide { height: 1.5px; }
.stars i.is-wide::after { width: 5px; height: 5px; top: -1.75px; box-shadow: 0 0 12px 3px rgba(255,236,196,.8); }
.stars i[style*="--dist: -"]::after { right: auto; left: -1px; }
@keyframes shoot {
  0%   { opacity: 0; transform: rotate(var(--ang)) translateX(0) scaleX(.3); }
  15%  { opacity: var(--o, .7); }
  70%  { opacity: calc(var(--o, .7) * .8); }
  100% { opacity: 0; transform: rotate(var(--ang)) translateX(var(--dist)) scaleX(1); }
}

/* ---------- состав без 3D-модели: три карточки в ряд ---------- */
.layers--solo { grid-template-columns: 1fr; }
.layers--solo .layers__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.2rem, 3vw, 2.4rem); }
.layers--solo .layer { border-bottom: 1px solid var(--line-cold); }
@media (max-width: 860px) { .layers--solo .layers__list { grid-template-columns: 1fr; gap: 0; } .layers--solo .layer { border-bottom: 0; } .layers--solo .layer:last-child { border-bottom: 1px solid var(--line-cold); } }

/* ---------- «Как это работает»: по центру, текст по ширине ----------
   На телефоне шаги стоят по центральной оси экрана: кружки на линии,
   подписи под ними, огонёк бежит сверху вниз ровно по оси. */
#princip .cycle__text,
#princip .triad__item p:not(.triad__key),
#princip .princip__note,
#princip .lede {
  text-align: justify;
  text-align-last: center;
  hyphens: auto;
  -webkit-hyphens: auto;
}
#princip .triad__item p:not(.triad__key) { text-align-last: left; }
@media (max-width: 760px) {
  .cycle { max-width: none; row-gap: 1.5rem; }
  .cycle li { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: .55rem; }
  .cycle::before { left: calc(50% - .5px); top: 1.35rem; bottom: 2.6rem; }
  .cycle::after { left: calc(50% - 3.5px); }
  .cycle i { background: radial-gradient(circle, rgba(198,166,110,.22), rgba(12,16,24,1) 70%); }
  .cycle b { padding: 0 .6rem; background: rgba(8,10,16,.85); border-radius: 8px; position: relative; z-index: 1; }
  .triad__item { text-align: left; }
}
@media (max-width: 760px) {
  .cycle::before { bottom: 3.5rem; }
  .cycle::after { animation-name: cyclerunc; }
}
@keyframes cyclerunc {
  0%   { top: calc(1.35rem - 3px); opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { top: calc(100% - 3.5rem - 4px); opacity: 0; }
}

/* ============================================================
   22. ОДНА ОСЬ ОТ ВЕРХА ДО НИЗА
   Через сцену идёт общая ось страницы — ровно по центру экрана,
   с первого экрана. Своя ось логотипа проявляется, только когда
   «О» доезжает до центра и совпадает с ней. Дальше ось продолжает
   линия body::before — та же вертикаль, те же 50%.
   ============================================================ */
.stage__axis {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  margin-left: -.5px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg,
    rgba(198,166,110,0) 0%,
    rgba(219,190,132,.34) 12%,
    rgba(219,190,132,.34) 88%,
    rgba(198,166,110,.24) 100%);
}
body::before, body::after { top: var(--stage-h) !important; }

/* ============================================================
   23. ПЛАВНОСТЬ НА ТЕЛЕФОНЕ
   Самое дорогое для видеокарты телефона — то, что пересчитывается
   на каждом кадре прокрутки поверх всего экрана: плёночное зерно
   в режиме наложения, размытие под шапкой, размытая тень логотипа,
   меняющая радиус, и радиальное затемнение, меняющее размер.
   На телефоне всё это заменено неподвижными дешёвыми слоями.
   ============================================================ */
@media (max-width: 760px), (hover: none) {
  .grain { display: none; }
  .top, .top.is-stuck {
    -webkit-backdrop-filter: none !important;
            backdrop-filter: none !important;
  }
  .top { background: linear-gradient(180deg, rgba(7,9,16,.9), rgba(7,9,16,0)); }
  .top.is-stuck { background: rgba(7,9,16,.94); }
  .seal__logo { filter: none; }
  .stage__dim {
    background: radial-gradient(circle 520px at 50% 36%,
      rgba(3,5,9,0) 0%, rgba(3,5,9,.18) 34%, rgba(3,5,9,.52) 62%, rgba(3,5,9,.72) 84%, rgba(3,5,9,.8) 100%);
    will-change: opacity;
  }
  .veil__flow { -webkit-mask-image: none; mask-image: none; }
  .stage__pin { contain: paint; }
}
/* Пока на первом экране стоит текст и кнопки, ось за ними гаснет —
   чтобы линия не резала строку; уходит текст — ось проявляется целиком. */
.stage__axis {
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 50%, rgba(0,0,0, calc(1 - var(--heroOn, 1))) 55%, rgba(0,0,0, calc(1 - var(--heroOn, 1))) 94%, #000 100%);
          mask-image: linear-gradient(180deg, #000 0%, #000 50%, rgba(0,0,0, calc(1 - var(--heroOn, 1))) 55%, rgba(0,0,0, calc(1 - var(--heroOn, 1))) 94%, #000 100%);
}
.stage__axis { opacity: 0; }

/* ============================================================
   24. ВИДЕО «В РУКЕ», ФИЛЬТР ЗНАКОВ, «КАК ВЫБРАТЬ»
   ============================================================ */
.clip {
  position: relative;
  margin: 0;
  cursor: pointer;
}
.clip__video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
  border: 1px solid rgba(236,205,145,.22);
  background: #0b0e14 center / cover no-repeat;
  box-shadow: 0 30px 70px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(0,0,0,.4);
  object-fit: cover;
}
.clip--tall .clip__video { aspect-ratio: 600 / 734; }
.clip--wide .clip__video { aspect-ratio: 600 / 416; }
.clip__cap {
  margin-top: .8rem;
  text-align: center;
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.clip::before {
  content: "";
  position: absolute;
  inset: -8% -8% 12%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle closest-side, rgba(198,166,110,.16), transparent 72%);
  filter: blur(28px);
  pointer-events: none;
}

/* состав: видео слева, три карточки справа.
   Колонки равные не ради симметрии, а чтобы зазор между ними встал ровно
   по центру страницы: там проходит общая ось сайта. При неравных колонках
   граница уезжала влево и линия оси резала левый край заголовков. */
.layers--video {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.layers--video .clip { max-width: 26rem; width: 100%; justify-self: center; }
@media (max-width: 860px) {
  .layers--video { grid-template-columns: 1fr; }
  .layers--video .clip { max-width: 22rem; }
}

/* фильтр типов */
.kinds { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: clamp(1.6rem, 4vw, 2.4rem); }
.kinds__btn {
  padding: .55rem 1.05rem;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: rgba(255,255,255,.03);
  color: #d9d2c3;
  font: inherit;
  font-size: .86rem;
  letter-spacing: .02em;
  cursor: pointer;
  transition: all .25s ease;
}
.kinds__btn:hover { border-color: rgba(236,205,145,.5); color: var(--ivory); }
.kinds__btn.is-on { background: var(--gold); border-color: var(--gold); color: #14100a; }
.kinds__note { margin: .9rem auto 0; max-width: 36rem; text-align: center; font-size: .84rem; line-height: 1.6; color: var(--muted); }
.am[hidden] { display: none !important; }
.grid.is-filtered .am:nth-child(13):last-child { grid-column: auto !important; width: auto !important; justify-self: stretch !important; }

/* «для чего» в карточке знака */
.purpose {
  margin: 1.1rem 0 1.3rem;
  padding: .95rem 1.1rem 1rem;
  border: 1px solid rgba(214,184,126,.4);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(198,166,110,.12), rgba(198,166,110,.02));
}
.purpose__type { margin: 0 0 .5rem; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.purpose ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .4rem; }
.purpose li { position: relative; padding-left: 1.2rem; font-size: .98rem; line-height: 1.5; color: #efe6d2; }
.purpose li::before { content: ""; position: absolute; left: 0; top: .62em; width: .5rem; height: .5rem; border-radius: 50%; border: 1px solid var(--gold); }

/* как выбрать */
.choose {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  margin-top: clamp(2rem, 5vw, 3.2rem);
}
.choose__text p { margin: 0 0 1rem; font-size: 1rem; line-height: 1.8; color: #cdc6b7; text-align: justify; hyphens: auto; }
.choose__lead { font-family: var(--display); font-size: clamp(1.25rem, 2.2vw, 1.55rem) !important; line-height: 1.5 !important; color: #f1e6cf !important; text-align: left !important; }
.choose__soft { font-size: .9rem !important; color: var(--muted) !important; }
@media (max-width: 860px) { .choose { grid-template-columns: 1fr; } }
.formats__title {
  margin: clamp(3rem, 7vw, 4.5rem) 0 0;
  text-align: center;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
}

/* как создаётся персональный */
.making { margin-top: clamp(3rem, 7vw, 4.5rem); }
.making__title {
  margin: 0 0 1.8rem;
  text-align: center;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
}
.making__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: mk;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.08);
}
.making__steps li {
  counter-increment: mk;
  position: relative;
  display: grid;
  gap: .45rem;
  padding: 1.4rem 1.4rem 1.5rem 4.2rem;
  background: rgba(10,13,20,.78);
}
.making__steps li::before {
  content: counter(mk, decimal-leading-zero);
  position: absolute;
  left: 1.3rem;
  top: 1.35rem;
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  border: 1px solid rgba(236,205,145,.5);
  font-size: .72rem;
  letter-spacing: .06em;
  color: var(--gold);
}
.making__steps b { font-family: var(--display); font-weight: 400; font-size: 1.3rem; color: #f1e6cf; }
.making__steps span { font-size: .93rem; line-height: 1.75; color: #c9c1b1; text-align: justify; hyphens: auto; }
.making__gifts { margin-top: 1.2rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.gift-card {
  padding: 1.2rem 1.25rem 1.3rem;
  border: 1px solid rgba(214,184,126,.35);
  border-radius: 16px;
  background: linear-gradient(140deg, rgba(198,166,110,.12), rgba(198,166,110,.02));
}
.gift-card__key { margin: 0 0 .5rem; font-family: var(--display); font-size: 1.3rem; color: #f3e8d0; }
.gift-card p:not(.gift-card__key) { margin: 0; font-size: .92rem; line-height: 1.7; color: #d2cab9; }
.making__note { margin: 1.2rem auto 0; max-width: 40rem; text-align: center; font-size: .8rem; line-height: 1.6; color: var(--dim); }
@media (max-width: 860px) {
  .making__steps, .making__gifts { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .making__steps li { padding: 1.2rem 1.1rem 1.3rem 3.7rem; }
  .making__steps li::before { left: 1rem; }
  .making__steps span, .gift-card p:not(.gift-card__key), .choose__text p { font-size: 1rem; }
  .kinds__btn { font-size: .9rem; }
  .kinds__note, .making__note { font-size: .9rem; }
  .clip__cap { font-size: .78rem; }
  .purpose li { font-size: 1.02rem; }
}
.making__steps li { align-content: start; }
.making__steps span, .choose__text p { text-align: left; }

/* ---------- видео: атмосфера сайта ----------
   Сама цветокоррекция вшита в ролики (темнее, приглушённая зелень,
   тёплые света, холодные тени). Поверх — тонкая виньетка в цвет ночного
   фона и золотистый блик по краю, чтобы кадр не «вырезался» из страницы. */
.clip::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  aspect-ratio: inherit;
  height: calc(100% - 2.2rem);
  border-radius: 22px;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 45%, rgba(7,9,16,0) 55%, rgba(7,9,16,.5) 100%),
    linear-gradient(180deg, rgba(198,166,110,.08), rgba(7,9,16,0) 30%, rgba(7,9,16,0) 70%, rgba(7,9,16,.35));
  box-shadow: inset 0 1px 0 rgba(255,236,196,.14), inset 0 0 0 1px rgba(236,205,145,.08);
}
.clip__video { filter: none; }
.making__gifts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 860px) { .making__gifts { grid-template-columns: 1fr; } }
.detail__stone {
  margin: 1rem 0 0;
  padding: .75rem .95rem;
  border-left: 2px solid var(--gold);
  border-radius: 0 10px 10px 0;
  background: rgba(198,166,110,.07);
  font-size: .9rem;
  line-height: 1.6;
  color: #d8d0bf;
}
/* естественный цвет: поверх ролика только лёгкая тёмная виньетка по краям */
.clip::after {
  background: radial-gradient(125% 95% at 50% 45%, rgba(7,9,16,0) 62%, rgba(7,9,16,.32) 100%);
  box-shadow: inset 0 0 0 1px rgba(236,205,145,.06);
}

/* ---------- одна ось: те же 50% и тот же 1 px, что у оси страницы ---------- */
.stage__axis { margin-left: 0; }
/* свечение оси в центре «О»: раньше его рисовала своя линия логотипа,
   теперь — сама общая ось, поэтому линия всегда одна */
.stage__axis::after {
  content: "";
  position: absolute;
  left: -1px;
  width: 3px;
  top: var(--cy, 40%);
  height: 70vh;
  transform: translateY(-50%);
  background: linear-gradient(180deg, rgba(255,246,224,0), rgba(255,246,224,.9) 50%, rgba(255,246,224,0));
  filter: blur(.4px);
  box-shadow: 0 0 10px rgba(255,236,196,.35);
  opacity: calc(.25 + .75 * var(--glow, 0));
  border-radius: 2px;
}

/* ---------- телефон: логотип снова слева ---------- */
@media (max-width: 720px) {
  .top__mark { position: static; transform: none; }
}
/* линия толщиной 1 px центрируется ровно по середине экрана — как и «О» */
.stage__axis, body::before { margin-left: -.5px !important; }
.focus__key {
  margin: -.3rem 0 .9rem;
  padding: .7rem .9rem;
  border-left: 2px solid var(--gold);
  border-radius: 0 10px 10px 0;
  background: rgba(198,166,110,.07);
  font-size: .86rem;
  line-height: 1.6;
  color: #d8d0bf;
  max-width: 40rem;
}
.focus__key b { font-weight: 500; color: #f1e6cf; }
.focus__key i { font-style: normal; color: var(--gold); }
@media (max-width: 760px) { .focus__key { font-size: .92rem; } }

/* ============================================================
   25. МАТЕРИАЛЫ: подсказка, кликабельный список, карточка
   ============================================================ */
.mins__hint {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  margin: 1.4rem 0 0;
  max-width: 42rem;
  font-size: .88rem;
  line-height: 1.6;
  color: var(--muted);
}
.mins__hint-ico {
  flex: none;
  width: 1.5rem;
  height: 1.5rem;
  margin-top: -.1rem;
  border-radius: 50%;
  border: 1px solid rgba(198,166,110,.45);
  background: rgba(198,166,110,.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 11.5V5.8a1.6 1.6 0 0 1 3.2 0v5.2m0-1.4a1.6 1.6 0 0 1 3.2 0v1.8m0-.6a1.5 1.5 0 0 1 3 0v3.4c0 3.3-2.3 5.8-5.6 5.8h-.6c-2 0-3.3-.9-4.4-2.5L4.9 14a1.5 1.5 0 0 1 2.4-1.8L9 14' fill='none' stroke='%23ecdcb8' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 62% no-repeat;
}
.mins__btn {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: color .25s ease;
  position: relative;
}
.mins__btn::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -.15em;
  height: 1px;
  background: linear-gradient(90deg, rgba(198,166,110,.5), rgba(198,166,110,0));
  opacity: 0;
  transition: opacity .25s ease;
}
.mins__list li:hover .mins__btn { color: #fff6e0; }
.mins__list li:hover .mins__btn::after { opacity: 1; }
.mins__btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 3px; }
.mins.is-plain .mins__btn { cursor: default; }
.mins.is-plain .mins__btn::after { display: none; }

/* карточка материала */
.matd__head { text-align: center; padding-top: .4rem; }
.matd__gem {
  display: block;
  width: 5.4rem;
  height: 5.4rem;
  margin: .6rem auto 1.3rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 26%, rgba(255,255,255,.3), rgba(255,255,255,0) 45%),
    radial-gradient(circle at 50% 50%, rgba(0,0,0,0) 58%, rgba(0,0,0,.4) 100%),
    var(--tex, none) center / cover no-repeat,
    var(--gem, #8d8477);
  box-shadow: 0 0 0 1px rgba(0,0,0,.5), 0 0 0 3px rgba(198,166,110,.28), 0 18px 40px -22px rgba(0,0,0,.9);
}
.matd__head h3 { margin: .2rem 0 .2rem; font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 5vw, 2.6rem); color: #f4ead5; }
.matd__key {
  margin: 1.6rem 0 .7rem;
  font-size: .7rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
}
.matd__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 1px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.08);
}
.matd__cell { display: grid; gap: .2rem; padding: .75rem .9rem; background: rgba(10,13,20,.62); }
.matd__cell span { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.matd__cell b { font-weight: 400; font-size: .96rem; color: #efe6d2; }
.matd__fact { margin: .9rem 0 0; font-size: .95rem; line-height: 1.75; color: #cdc6b7; }
.matd__tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.matd__tag {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .34rem .7rem;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  font-size: .78rem;
  color: #ddd5c4;
}
.matd__tag--ch { border-color: color-mix(in srgb, var(--c) 55%, transparent); }
.matd__tag--ch i {
  width: .6rem;
  height: .6rem;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 8px -1px var(--c);
}
.matd__energy { margin: .9rem 0 0; font-family: var(--display); font-size: 1.2rem; line-height: 1.5; color: #f1e6cf; }
.matd__does { margin: .8rem 0 0; padding: 0; list-style: none; display: grid; gap: .45rem; }
.matd__does li { position: relative; padding-left: 1.2rem; font-size: .96rem; line-height: 1.6; color: #d7cfbe; }
.matd__does li::before { content: ""; position: absolute; left: 0; top: .62em; width: .5rem; height: .5rem; border-radius: 50%; border: 1px solid var(--gold); }
.matd__for { margin: .8rem 0 0; font-size: .95rem; line-height: 1.7; color: #cdc6b7; }
.matd__for b { font-weight: 500; color: #efe6d2; }
.matd__note { margin: 1.2rem 0 .6rem; font-size: .78rem; line-height: 1.6; color: var(--dim); }
.matd__src { margin: 0 0 1rem; font-size: .76rem; line-height: 1.6; color: var(--dim); }
.matd__src a { color: var(--muted); }
@media (max-width: 760px) {
  .mins__hint { font-size: .94rem; }
  .matd__fact, .matd__does li, .matd__for { font-size: 1rem; }
  .matd__note, .matd__src { font-size: .84rem; }
}

/* ============================================================
   26. ВКЛАДЫШ: бланк-паспорт изделия
   ============================================================ */
.vkl { margin-top: clamp(2.2rem, 5vw, 3.2rem); }
.vkl__tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 1.4rem; }
.vkl__tab {
  padding: .55rem 1.1rem;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: rgba(255,255,255,.03);
  color: #d9d2c3;
  font: inherit;
  font-size: .86rem;
  cursor: pointer;
  transition: all .25s ease;
}
.vkl__tab:hover { border-color: rgba(236,205,145,.5); color: var(--ivory); }
.vkl__tab.is-on { background: var(--gold); border-color: var(--gold); color: #14100a; }
.vkl__card { display: none; }
.vkl__card.is-on { display: block; animation: vklin .5s ease both; }
@keyframes vklin { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.vkl__card {
  max-width: 46rem;
  margin: 0 auto;
  padding: clamp(1.4rem, 3.5vw, 2.4rem);
  border: 1px solid rgba(214,184,126,.42);
  border-radius: 20px;
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(255,243,222,.08), transparent 60%),
    linear-gradient(160deg, rgba(255,255,255,.055), rgba(255,255,255,.015) 55%, rgba(190,214,238,.04));
  background-color: rgba(12,16,24,.72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 40px 90px -60px rgba(0,0,0,.9);
}
.vkl__head { display: flex; align-items: center; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.vkl__sign { flex: none; width: 3.6rem; height: 3.6rem; color: var(--gold); }
.vkl__sign svg { width: 100%; height: 100%; display: block; }
.vkl__id { display: grid; gap: .15rem; }
.vkl__brand { margin: 0; font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.vkl__code { margin: 0; font-family: var(--body); font-size: 1.05rem; letter-spacing: .14em; color: #f3e8d0; }
.vkl__title { margin: 1.1rem 0 .3rem; font-family: var(--display); font-weight: 400; font-size: clamp(1.6rem, 3.2vw, 2.1rem); color: #f4ead5; }
.vkl__sub { margin: 0 0 1.2rem; font-size: .86rem; color: var(--muted); }
.vkl__rows { display: grid; gap: 1.1rem; }
.vkl__row { display: grid; gap: .55rem; }
.vkl__key { margin: 0; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.vkl__text { margin: 0; font-size: .95rem; line-height: 1.7; color: #cdc6b7; }
.vkl__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
  column-gap: 1.2rem;
}
.vkl__list li {
  display: grid;
  grid-template-columns: 1.5rem 1.5rem 1fr;
  align-items: center;
  gap: .5rem;
  padding: .4rem 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-family: var(--display);
  font-size: 1.02rem;
  color: #e9e2d4;
}
.vkl__list li::before { content: attr(data-n); font-family: var(--body); font-size: .6rem; letter-spacing: .08em; color: var(--gold-dim); }
.vkl__list .mins__gem { width: 1.5rem; height: 1.5rem; }
.vkl__chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.vkl__chips span {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .34rem .75rem;
  border: 1px solid rgba(236,205,145,.32);
  border-radius: 999px;
  background: rgba(198,166,110,.08);
  font-size: .8rem;
  color: #ecdcb8;
  font-variant-numeric: tabular-nums;
}
.vkl__chips--ch span { border-color: color-mix(in srgb, var(--c) 55%, transparent); background: color-mix(in srgb, var(--c) 12%, transparent); color: #f0e9db; }
.vkl__chips--ch i { width: .55rem; height: .55rem; border-radius: 50%; background: var(--c); box-shadow: 0 0 8px -1px var(--c); }
.vkl__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .4rem 1rem;
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.vkl__note { margin: 1.4rem auto 0; max-width: 40rem; text-align: center; font-size: .85rem; line-height: 1.7; color: var(--muted); }
@media (max-width: 620px) {
  .vkl__list { grid-template-columns: 1fr; }
  .vkl__tab { font-size: .84rem; padding: .5rem .9rem; }
  .vkl__text, .vkl__note { font-size: 1rem; }
  .vkl__list li { font-size: 1.06rem; }
}
.matd__fact b { font-weight: 500; color: #efe6d2; }
/* «образец» — чтобы пример вкладыша никто не принял за свой */
.vkl__head { position: relative; }
.vkl__stamp {
  margin-left: auto;
  align-self: flex-start;
  padding: .3rem .7rem;
  border: 1px solid rgba(236,205,145,.45);
  border-radius: 999px;
  font-size: .62rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(198,166,110,.1);
  white-space: nowrap;
}
.vkl__example {
  margin: -.6rem 0 1.2rem;
  padding-left: .8rem;
  border-left: 2px solid rgba(236,205,145,.5);
  font-size: .85rem;
  line-height: 1.6;
  color: var(--muted);
}
@media (max-width: 620px) { .vkl__example { font-size: .92rem; } }
.matd__lead { margin: .8rem 0 .2rem; font-size: .86rem; line-height: 1.6; color: var(--muted); }
.vkl__code { white-space: nowrap; }
.doc--credits .req { display: block; overflow-x: auto; }
.doc--credits .req td { overflow-wrap: anywhere; word-break: break-word; }
#field-nocancel[hidden] { display: none !important; }
@media (max-width: 760px) { .matd__lead { font-size: .92rem; } }

/* ============================================================
   27 · ЧАСТЫЕ ВОПРОСЫ
   Раскрывающиеся ответы на <details>: без JS, доступно с
   клавиатуры, и поисковым роботам виден весь текст сразу.
   ============================================================ */
.qa {
  max-width: 54rem;
  margin: 2.6rem auto 0;
  border-top: 1px solid var(--line);
}
.qa__item {
  border-bottom: 1px solid var(--line);
}
.qa__item > summary {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1.15rem .2rem;
  cursor: pointer;
  list-style: none;
  transition: color .3s ease;
}
.qa__item > summary::-webkit-details-marker { display: none; }
.qa__item > summary::after {
  content: '';
  flex: none;
  width: 11px;
  height: 11px;
  margin-left: auto;
  position: relative;
  top: .35em;
  background:
    linear-gradient(var(--gold), var(--gold)) center / 100% 1px no-repeat,
    linear-gradient(var(--gold), var(--gold)) center / 1px 100% no-repeat;
  opacity: .75;
  transition: transform .35s ease, opacity .3s ease;
}
.qa__item[open] > summary::after {
  transform: rotate(180deg);
  background: linear-gradient(var(--gold), var(--gold)) center / 100% 1px no-repeat;
  opacity: 1;
}
.qa__item > summary h3 {
  display: inline;
  margin: 0;
  font-family: var(--display);
  font-size: 1.12rem;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: .02em;
  color: var(--ivory);
}
.qa__item > summary:hover h3,
.qa__item[open] > summary h3 { color: var(--gold); }
.qa__item > summary:focus-visible {
  outline: 1px solid var(--gold-dim);
  outline-offset: 4px;
}
.qa__a {
  padding: 0 2rem 1.35rem .2rem;
  max-width: 46rem;
}
.qa__a p {
  margin: 0;
  font-size: .93rem;
  line-height: 1.85;
  color: var(--muted);
}
.qa__a p + p { margin-top: .7rem; }
.qa__a a { color: var(--gold); text-decoration: none; border-bottom: 1px solid var(--gold-dim); }
.qa__a a:hover { border-bottom-color: var(--gold); }
.qa__item[open] .qa__a { animation: qa-open .4s ease both; }
@keyframes qa-open { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

@media (max-width: 760px) {
  .qa { margin-top: 2rem; }
  .qa__item > summary { padding: 1.05rem 0; gap: .7rem; }
  .qa__item > summary h3 { font-size: 1.06rem; }
  .qa__a { padding: 0 0 1.2rem; }
  .qa__a p { font-size: .98rem; line-height: 1.8; }
}
@media (prefers-reduced-motion: reduce) {
  .qa__item[open] .qa__a { animation: none; }
  .qa__item > summary::after { transition: none; }
}

/* контраст мелких надписей: 3.82:1 было ниже нормы, стало 5.34:1 */
.sec__eyebrow, .gift__eyebrow { color: #96825A; }

/* Невысокие телефоны (360×640 и подобные): две кнопки под текстом
   уезжали за нижний край экрана. Поднимаем блок и поджимаем отступы —
   так «Посмотреть формы» видно сразу, без прокрутки. */
@media (max-width: 760px) and (max-height: 700px) {
  :root { --seal-size: min(72vw, 330px); }
  .seal        { top: 30%; }
  .stage__rays { top: 30%; }
  .stage__hero { top: 55%; }
  .stage__hero .hero__line { margin-top: 1rem; font-size: 1.2rem; }
  .stage__hero .hero__cta  { margin-top: 1.1rem; gap: .55rem; }
  .stage__hero .hero__cta .btn { padding-block: .75rem; }
}

/* кружок с фактурой материала кликается так же, как название */
.mins__gem { cursor: pointer; }

/* международное название знака под заголовком карточки */
.detail__en {
  margin: .35rem 0 0;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-dim);
}

/* ссылка на азбуку материалов рядом с логотипом */
.top__section {
  margin-left: clamp(.6rem, 1.6vw, 1.2rem);
  padding: .34rem .9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ivory);
  text-decoration: none;
  white-space: nowrap;
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color .3s ease, color .3s ease;
}
.top__section:hover { border-color: var(--gold-dim); color: var(--gold); }
@media (max-width: 820px) {
  .top__section { font-size: .64rem; padding: .28rem .7rem; letter-spacing: .08em; margin-left: .5rem; }
}
@media (max-width: 520px) {
  .top__section { display: none; }
}

/* прижимаем ссылку к логотипу, остальное меню — вправо */
.top__section { margin-right: auto; }

/* уведомление о cookie на телефоне: текст сверху, кнопки во всю ширину */
@media (max-width: 620px) {
  .cookie { flex-direction: column; align-items: stretch; gap: .9rem; }
  .cookie p { flex: none; font-size: .86rem; line-height: 1.65; }
  .cookie__acts { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
  .cookie__acts .btn { width: 100%; padding: .7rem .4rem; font-size: .74rem; letter-spacing: .04em; }
}
@media (max-width: 380px) {
  .cookie__acts { grid-template-columns: 1fr; }
}

/* ============================================================
   ВХОД В АЗБУКУ МАТЕРИАЛОВ

   Раньше это была строка мелким шрифтом в примечании под списком:
   ссылку не замечали. Теперь — карточка ровно в той точке, где человек
   уже перебирает камни и любопытство на пике. Стрелка и живые фактуры
   говорят «здесь есть что открыть» лучше любого пояснения.
   ============================================================ */
.azb {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(1rem, 2.6vw, 2rem);
  margin-top: clamp(1.6rem, 3.4vw, 2.4rem);
  padding: clamp(1.1rem, 2.4vw, 1.5rem) clamp(1.2rem, 2.6vw, 1.8rem);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(150deg, rgba(255,255,255,.055), rgba(255,255,255,.018) 55%, rgba(255,255,255,.04));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-decoration: none;
  color: inherit;
  transition: border-color .3s ease, transform .3s ease, background .3s ease;
}
.azb:hover {
  border-color: var(--gold-dim);
  transform: translateY(-2px);
  background: linear-gradient(150deg, rgba(255,255,255,.08), rgba(255,255,255,.03) 55%, rgba(255,255,255,.06));
}
.azb__stones { display: flex; flex: none; }
.azb__stones img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(0,0,0,.45);
  box-shadow: 0 6px 18px -8px rgba(0,0,0,.9);
  margin-left: -.7rem;               /* стопкой, как горсть камней */
  transition: transform .35s ease;
}
.azb__stones img:first-child { margin-left: 0; }
.azb:hover .azb__stones img { transform: translateY(-2px); }
.azb__text { display: block; min-width: 0; }
.azb__text strong {
  display: block;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.02rem, 1.8vw, 1.22rem);
  color: var(--ivory);
  margin-bottom: .3rem;
}
.azb__text > span { display: block; font-size: .88rem; line-height: 1.65; color: var(--muted); }
.azb__go {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .62rem 1.15rem;
  border: 1px solid var(--gold-dim);
  border-radius: 999px;
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}
.azb__go i { font-style: normal; transition: transform .3s ease; }
.azb:hover .azb__go i { transform: translateX(4px); }

@media (max-width: 860px) {
  .azb { grid-template-columns: 1fr; justify-items: start; gap: .9rem; }
  .azb__go { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .azb, .azb__stones img, .azb__go i { transition: none; }
  .azb:hover { transform: none; }
}

/* стрелка у кнопки раздела в шапке: ярлык превращается в приглашение */
.top__section i {
  font-style: normal;
  margin-left: .45rem;
  display: inline-block;
  transition: transform .3s ease;
}
.top__section:hover i { transform: translateX(3px); }
/* на узких экранах кнопка раньше пропадала совсем — входа в азбуку
   с телефона не было; оставляем её, сокращая подпись */
@media (max-width: 520px) {
  .top__section { display: inline-flex; align-items: center; font-size: .6rem; padding: .26rem .6rem; letter-spacing: .06em; margin-left: .4rem; }
  .top__section__long { display: none; }
}

/* ============================================================
   ПЕРВЫЙ ЭКРАН НА БОЛЬШИХ МОНИТОРАХ

   Формально знак и текст стояли по центру, но шапка высотой 87 px
   съедает верх, и воздуха над знаком казалось меньше, чем под кнопками.
   Опускаем всю группу — знак, подпись и слоган — на несколько процентов
   вниз: сверху появляется воздух, снизу уходит пустота.

   Только для высоких широких экранов: на низких ноутбуках действует
   правило max-height: 820px, на телефонах — свои значения ниже по файлу.
   ============================================================ */
@media (min-width: 861px) and (min-height: 821px) {
  /* Размер знака привязан к высоте окна, а не задан жёстко.
     При фиксированных 450 px кольцо на ноутбуке 1440×900 занимало больше
     половины высоты экрана, и подпись «мастерская персональных амулетов»
     налезала на нижнюю дугу. На больших мониторах упор в те же 450 px
     сохраняется, так что там знак не мельчает. */
  :root { --seal-size: min(66vw, clamp(300px, 39vh, 450px)); }
  .seal, .stage__rays { top: 41%; }
  .stage__hero        { top: 64.5%; }
}

/* Невысокие ноутбуки (1366×768 и подобные): кольцо занимало почти две трети
   высоты экрана, и подпись уходила внутрь него. Поднимаем знак, уменьшаем
   его по высоте окна и опускаем текстовый блок — чтобы подпись встала под
   кольцом, а не на нём. */
@media (min-width: 861px) and (max-height: 820px) {
  :root { --seal-size: min(66vw, clamp(260px, 46vh, 400px)); }
  .seal, .stage__rays { top: 34%; }
  .stage__hero        { top: 63%; }
}

/* ---------- галочки согласий: попасть пальцем ----------
   У длинных подписей текст переносится и зона нажатия получается высокой
   сама собой, а у короткой «Мне исполнилось 18 лет» была всего 24 px —
   вдвое меньше пальца. Промахнуться по обязательной галочке и не понять,
   почему форма не отправляется, — худшее, что может случиться с заявкой.

   ВАЖНО: подпись здесь нельзя делать flex-контейнером. Внутри неё обычный
   текст со ссылками, и при display:flex каждое слово и ссылка становятся
   отдельными колонками — строка рассыпается. Высоту набираем отступами,
   не трогая способ вывода текста. */
@media (hover: none) {
  .consent label { padding-block: .7rem; }
  .consent input { margin-top: 1.05rem; }   /* по центру первой строки подписи */
}

/* ============================================================
   ВЫБОР ФОРМЫ АМУЛЕТА — ПЛИТКАМИ

   Был выпадающий список с одними названиями. «Ша-Аш», «Vesica Piscis»,
   «Алатырь» ничего не говорят человеку, который видел знаки один раз
   на главной. Теперь он выбирает глазами: картинка, имя и строка о том,
   когда этот знак берут.
   ============================================================ */
.pick__hint {
  margin: -.2rem 0 .7rem;
  font-size: .82rem;
  color: var(--muted);
}
.pick {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
  gap: .55rem;
}
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick__group {
  grid-column: 1 / -1;
  margin: .9rem 0 .1rem;
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.pick__item {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-height: 56px;
  padding: .5rem .7rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.02);
  cursor: pointer;
  transition: border-color .25s ease, background .25s ease;
}
.pick__item img {
  flex: none;
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
}
.pick__ask {
  flex: none;
  width: 2.5rem; height: 2.5rem;
  display: grid; place-items: center;
  border: 1px dashed var(--line);
  border-radius: 50%;
  color: var(--muted);
  font-family: var(--display);
  font-size: 1.1rem;
}
.pick__txt {
  min-width: 0;
  line-height: 1.3;
  font-size: .95rem;
  color: var(--ivory);
}
.pick__item:hover { border-color: var(--gold-dim); background: rgba(255,255,255,.045); }
.pick input:focus-visible + .pick__item { outline: 2px solid var(--gold); outline-offset: 2px; }
.pick input:checked + .pick__item {
  border-color: var(--gold);
  background: rgba(198,166,110,.10);
}
.pick input:checked + .pick__item .pick__txt { color: var(--gold); }
@media (max-width: 560px) {
  .pick { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { .pick__item { transition: none; } }

/* ============================================================
   КЛЮЧЕВЫЕ ПОЛЯ ПЕРСОНАЛЬНОЙ ЗАЯВКИ

   Данные для расчёта состава — время и место рождения, чакры, запрос,
   программы — терялись в общем потоке полей, и человек не понимал,
   что из этого мастеру действительно нужно. Помечаем их золотой
   полосой слева: не «обязательно», а «вот по этому считается состав».
   ============================================================ */
.field--key {
  position: relative;
  padding: .9rem 0 .9rem 1.1rem;
  border-left: 2px solid var(--gold-dim);
  border-radius: 0 12px 12px 0;
  background: linear-gradient(90deg, rgba(198,166,110,.07), rgba(198,166,110,0) 60%);
}
.field--key + .field--key { margin-top: .9rem; }
.field--key > label,
.field--key .label,
.field--key #focus-label,
.field--key #chakra-label { color: var(--ivory); }
/* мелкая подпись-ориентир у первой строки блока */
.field--key > label::after,
.field--key .focus__head .label::after,
.field--key .focus__head label::after {
  content: "для расчёта состава";
  display: block;
  margin-top: .15rem;
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-dim);
}
@media (max-width: 560px) {
  .field--key { padding-left: .85rem; }
}

/* ============================================================
   СОГЛАСИЯ — ОДНОЙ КАРТОЧКОЙ, А НЕ КУЧЕЙ

   Четыре одинаковые галочки шли подряд без границ и читались как
   сплошное полотно. Теперь это карточка со строками-разделителями,
   а необязательная подписка отделена и подписана «по желанию»,
   чтобы её не путали с обязательными.
   ============================================================ */
.agree {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.02);
  overflow: hidden;
}
.agree__row {
  margin: 0;
  padding: .85rem 1rem;
  font-size: .85rem;
  letter-spacing: 0;
}
.agree__row + .agree__row { border-top: 1px solid var(--line-cold, rgba(255,255,255,.07)); }
.agree__row label { letter-spacing: 0; font-size: .85rem; margin: 0; }
.agree__row--opt { background: rgba(255,255,255,.015); }
.agree__tag {
  display: inline-block;
  margin-right: .45rem;
  padding: .1rem .45rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .64rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  vertical-align: .05em;
}
/* незакрытая обязательная галочка — видно сразу, какая строка */
.agree__row.is-err { background: rgba(229,154,134,.08); }
@media (hover: none) {
  .agree__row { padding-block: .35rem; }   /* высоту добирает отступ подписи */
}

/* ============================================================
   БЮДЖЕТ — блок под форматами.
   Живой запрос из Вебмастера: «а могли бы скинуть ассортимент
   амулетов до 15 тысяч». Человек приходит с суммой в голове и
   не находит, куда её назвать. Блок отвечает прямо и даёт два
   пути: заявка или короткий вопрос в Telegram.
   ============================================================ */
.budget {
  margin-top: clamp(1.8rem, 3.6vw, 2.8rem);
  padding: clamp(1.4rem, 3vw, 2.2rem) clamp(1.3rem, 3vw, 2.4rem);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(150deg, rgba(255,255,255,.055), rgba(255,255,255,.018) 55%, rgba(255,255,255,.04));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.budget__title {
  font-family: var(--font-display, Georgia, serif);
  font-weight: 500;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  line-height: 1.25;
  margin: 0 0 .7rem;
}
.budget__text {
  margin: 0 0 .7rem;
  max-width: 62ch;
  line-height: 1.65;
  color: var(--muted, #b9b2a6);
  font-size: clamp(.94rem, 1.5vw, 1rem);
}
.budget__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: 1.1rem;
}
/* Второстепенная кнопка: Telegram — это «спросить», а не «заказать»,
   поэтому она не должна спорить с основным призывом. */
.budget .btn--ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ivory, #efe6d3);
}
.budget .btn--ghost:hover { border-color: var(--gold-dim); }

@media (max-width: 520px) {
  .budget__actions .btn { width: 100%; text-align: center; }
}

/* ============================================================
   ВИДЕО: МАКРОСЪЁМКА В КАРТОЧКЕ «МАТЕРИЯ · ИНФОРМАЦИЯ · МЕРА»
   И ЗНАК В РУКЕ ВНУТРИ КАРТОЧКИ ФОРМЫ
   ============================================================ */

/* Полоса поверхности амулетов — не отдельный блок, а верх самой карточки:
   углы режет её скругление, снизу кадр растворяется в цвете колонок.
   Высоты странице почти не добавляет, подпись лежит поверх кадра. */
.clip--band { grid-column: 1 / -1; cursor: default; }
.clip--band::before { display: none; }
.clip--band .clip__video {
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background-color: #0a0d14;
}
.clip--band::after {
  height: 100%;
  aspect-ratio: auto;
  border-radius: 0;
  box-shadow: none;
  background:
    radial-gradient(130% 110% at 50% 38%, rgba(7,9,16,0) 50%, rgba(7,9,16,.55) 100%),
    linear-gradient(180deg, rgba(7,9,16,0) 52%, rgba(10,13,20,.94) 100%);
}
.clip--band .clip__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: .95rem;
  z-index: 1;
  margin: 0;
  color: #d9ceb6;
}

/* Знак в руке в карточке формы: узкий, по центру, между названием и рассказом */
.clip--sheet { max-width: 16.5rem; margin: 1.6rem auto 0; cursor: default; }
.clip--sheet .clip__video { aspect-ratio: auto; }
/* виньетка вшита в сам ролик; наложение от больших роликов здесь лишнее —
   его высота рассчитана на подпись в одну строку и в узкой карточке вылезала рамкой */
.clip--sheet::after { display: none; }
@media (max-width: 760px) { .clip--sheet { max-width: 13rem; margin-top: 1.3rem; } }

/* Подсказка у обязательной галочки — отдельной строкой под подписью.
   Без переноса она вставала третьей узкой колонкой справа от текста. */
.consent { flex-wrap: wrap; }
.consent label { flex: 1 1 0; min-width: 0; }
.consent .field__err { flex: 0 0 100%; margin: 0 0 .55rem calc(1rem + 18px); }   /* ровно под текстом подписи */

/* Три карточки подарка — по центру, как остальные блоки раздела */
.gift__item { text-align: center; }
.gift__item p { max-width: 34ch; margin-inline: auto; }

/* «С чем работаем»: вступление по ширине, с переносами — без переносов
   в узкой колонке телефона между словами появлялись дыры */
.mins__lede { text-align: justify; -webkit-hyphens: auto; hyphens: auto; }

/* «Если есть сумма…» — по центру, текст по ширине, последняя строка по центру */
.budget { text-align: center; }
.budget__text { margin-inline: auto; text-align: justify; text-align-last: center; -webkit-hyphens: auto; hyphens: auto; }
.budget__actions { justify-content: center; }

/* ============================================================
   РАВНЫЕ ПРОМЕЖУТКИ МЕЖДУ РАЗДЕЛАМИ
   Отступы подобраны по замеру: от последней строки одного раздела
   до первой строки следующего — 170 px на компьютере и 100 px
   на телефоне, везде одинаково. У разделов с карточками внутри
   (подарок, форматы) собственное поле карточки уже входит в счёт,
   поэтому их отступы меньше.
   ============================================================ */
#ustroystvo { padding-top: clamp(45.6px, calc(36.1px + 2.438vw), 71.2px); }
#princip { padding-top: clamp(45.4px, calc(35.8px + 2.457vw), 71.2px); }
#formy { padding-top: clamp(46.0px, calc(36.7px + 2.381vw), 71.0px); }
#podarok { padding-top: clamp(25.6px, calc(19.8px + 1.486vw), 41.2px); }
#kak { padding-top: clamp(12.8px, calc(4.8px + 2.057vw), 34.4px); }
#vkladysh { padding-top: clamp(45.4px, calc(35.8px + 2.457vw), 71.2px); }
#poryadok { padding-top: clamp(45.8px, calc(36.7px + 2.343vw), 70.4px); }
#voprosy { padding-top: clamp(45.4px, calc(35.8px + 2.457vw), 71.2px); }
#zayavka { padding-top: clamp(44.2px, calc(34.6px + 2.457vw), 70.0px); }
#vazhno { padding-top: clamp(0.0px, calc(0.0px + 0.000vw), 0.0px); }
#zayavka { padding-bottom: clamp(43.4px, calc(27.9px + 3.962vw), 85.0px); }
.foot { padding-top: clamp(52.6px, calc(32.4px + 5.181vw), 107.0px); }

/* Первый экран: одна фраза вместо трёх строк разного цвета и размера.
   Один шрифт, один цвет — глаз не выбирает, что читать первым. */
.stage__hero .hero__line--one {
  margin-top: 0;
  max-width: 40rem;
  color: #efe6d3;
  font-size: clamp(1.35rem, 2.9vw, 1.95rem);
  line-height: 1.4;
}
@media (max-width: 760px) {
  .stage__hero .hero__line--one { margin-top: 0; font-size: 1.4rem; }
}

.nobr { white-space: nowrap; }

/* ============================================================
   КАРТОЧКА МАТЕРИАЛА: шапка и таблица — по центру, компактно;
   текст ниже таблицы — по левому краю, как было: длинные абзацы
   и списки по центру читаются тяжело.
   ============================================================ */
.matd { max-width: 44rem; margin-inline: auto; }
.matd__key { margin: 1.4rem 0 .6rem; }
.matd__key:first-of-type { text-align: center; }
.matd__grid { grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr)); }
.matd__cell { place-content: center; text-align: center; padding: .7rem .8rem; }
.matd__cell b { overflow-wrap: anywhere; -webkit-hyphens: auto; hyphens: auto; line-height: 1.45; }
.matd__tag small { font-size: inherit; color: var(--muted); }
/* подсказка к чакре: наведение мышью или касание */
.matd__tag[data-tip] { position: relative; cursor: help; outline: none; }
.matd__tag[data-tip]::after {
  content: attr(data-tip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + .55rem);
  z-index: 5;
  width: max-content;
  max-width: min(17rem, 80vw);
  padding: .6rem .8rem;
  border: 1px solid rgba(198,166,110,.35);
  border-radius: 12px;
  background: #11151f;
  box-shadow: 0 14px 30px -12px rgba(0,0,0,.8);
  font-size: .8rem;
  line-height: 1.5;
  text-align: left;
  color: #e6ddca;
  white-space: normal;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 4px);
  transition: opacity .2s ease, transform .2s ease;
}
.matd__tag[data-tip]:hover::after,
.matd__tag[data-tip]:focus::after { opacity: 1; transform: translate(-50%, 0); }
/* ячейки растягиваются на всю строку — без пустой клетки в конце таблицы */
.matd__grid { display: flex; flex-wrap: wrap; }
.matd__cell { flex: 1 1 12.5rem; display: grid; }
@media (max-width: 560px) {
  .matd__cell { flex-basis: 8.5rem; padding: .6rem .5rem; }
  .matd__cell span { font-size: .6rem; letter-spacing: .1em; }
  .matd__gem { width: 4.4rem; height: 4.4rem; margin-bottom: 1rem; }
}


.pick__group small { display: block; margin-top: .35rem; font-size: .78rem; letter-spacing: 0; text-transform: none; color: var(--muted); }

/* Заявка: сначала Telegram, под ним — «или оставьте заявку», ниже форма.
   Раньше кнопка и подпись стояли в строку, и подпись читалась как пояснение к кнопке. */
#zayavka .care { display: flex; flex-direction: column; align-items: center; gap: .9rem; text-align: center; }
#zayavka .care__or { margin: 0; font-family: var(--display); font-size: clamp(1.15rem, 2.2vw, 1.4rem); color: #e6ddca; }

/* Телефон: длинные значения таблицы материала — во всю ширину,
   короткие (состав, твёрдость) — парой. Так нет узких колонок с переносом каждого слова. */
@media (max-width: 560px) {
  .matd__cell--long { flex-basis: 100%; }
  .matd__cell b { -webkit-hyphens: manual; hyphens: manual; }
}

/* Карточка амулета на телефоне — всё по одной оси */
@media (max-width: 760px) {
  .sheet .detail__body,
  .sheet .detail__en,
  .sheet .detail__text,
  .sheet .purpose,
  .sheet .variants__title,
  .sheet .variant,
  .sheet .comp { text-align: center; }
  .sheet .detail__sym { margin-inline: auto; }
  .sheet .purpose ul { justify-items: center; }
  .sheet .purpose li { padding-left: 0; }
  .sheet .purpose li::before { position: static; display: inline-block; margin-right: .5rem; vertical-align: .08em; }
  .sheet .clip--sheet { margin: 1.6rem auto .4rem; }
}
@media (max-width: 760px) { .sheet .clip--sheet { margin-bottom: 2rem; } }

/* ============================================================
   ДЛЯ ПОКУПАТЕЛЯ: «Читать дальше», кнопки заказа, цены
   ============================================================ */
.more { margin: 1rem 0 0; }
.more > summary {
  list-style: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .55rem 1.1rem;
  border: 1px solid rgba(198,166,110,.4); border-radius: 999px;
  font-size: .85rem; letter-spacing: .04em; color: var(--gold);
  transition: background .25s ease, border-color .25s ease;
}
.more > summary::-webkit-details-marker { display: none; }
.more > summary::after {
  content: ""; width: .45rem; height: .45rem;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg); transition: transform .25s ease;
}
.more[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.more > summary:hover { background: rgba(198,166,110,.08); border-color: rgba(198,166,110,.65); }
.more > summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.more .more__close { display: none; }
.more[open] .more__open { display: none; }
.more[open] .more__close { display: inline; }
.more[open] > summary { margin-bottom: 1.2rem; }
.creed .more, .objects .more { text-align: center; }
.making .more { text-align: center; margin-top: 1.2rem; }
.making .more[open] { text-align: left; }
.mins > .more { margin-top: 1.4rem; text-align: center; }
.mins > .more[open] { text-align: left; }
.mins > .more[open] > summary, .making .more[open] > summary { display: flex; width: max-content; margin-inline: auto; }
.more--form { margin-top: .6rem; }
.more--form > summary { font-size: .82rem; }

.detail__quick { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0 0 1.4rem; }
@media (max-width: 760px) { .detail__quick { justify-content: center; } .detail__quick .btn { flex: 1 1 100%; } }

.objects__price { margin: -.2rem 0 .9rem; text-align: center; font-size: .95rem; letter-spacing: .04em; color: var(--gold); }
#vybor { scroll-margin-top: 5.5rem; }

/* горизонтальный ролик (Цветок жизни) в карточке — шире вертикальных */
.clip--sheet:has(video[height="416"]) { max-width: 22rem; }
@media (max-width: 760px) { .clip--sheet:has(video[height="416"]) { max-width: 100%; } }

/* промежутки: каталог — сразу после «Во что мы верим» */
#ustroystvo { padding-top: clamp(74.6px, calc(56.9px + 4.533vw), 122.2px); }
#princip { padding-bottom: clamp(51.0px, calc(36.7px + 3.657vw), 89.4px); }
#podarok { padding-top: clamp(0.0px, calc(0.0px + 0.000vw), 0.0px); }

/* Пока знак рисуется линией, не считаем вокруг него размытую тень:
   на телефоне это тот же рисунок, но без лишней работы на каждом кадре.
   Готовый знак снова со свечением. */
@media (hover: none) {
  .grid .am:not(.is-in) .am__art { filter: none; }
  .grid .am__art--draw svg * { transition-duration: 1.3s; }
}




/* Паспорт-образец: вёрстка один в один с печатным вкладышем */
.vkl__card--pass .vkl__head { gap: 1.1rem; }
.vkl__code--big { font-size: clamp(1.5rem, 3.4vw, 2.1rem); letter-spacing: .12em; }
.vkl__photo { margin-left: auto; width: 5.6rem; height: auto; filter: drop-shadow(0 10px 18px rgba(0,0,0,.55)); }
.vkl__caption { margin: 1rem auto 0; max-width: 36rem; text-align: center; font-size: .88rem; line-height: 1.65; color: var(--muted); }
.vkl__card--pass ~ .vkl__caption { display: none; }
.vkl__card--pass.is-on ~ .vkl__caption { display: block; }
.vkl__list--pass { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.4rem; }
@media (max-width: 620px) { .vkl__photo { width: 4.4rem; } .vkl__list--pass { grid-template-columns: 1fr; } }

/* Паспорт: благородные камни — ромбиком, как во вкладыше и в списке материалов */
.vkl__list li.is-rare .mins__gem {
  border-radius: 4px;
  transform: rotate(45deg) scale(.84);
  background:
    linear-gradient(135deg, rgba(255,255,255,.38), rgba(255,255,255,0) 40%),
    linear-gradient(315deg, rgba(0,0,0,.35), rgba(0,0,0,0) 45%),
    var(--tex, none) center / 140% no-repeat,
    var(--gem, #8d8477);
}

/* Шапка: только «Формы» и выделенная кнопка «Заказать» — на всех экранах */
.top__cta {
  display: inline-flex;
  align-items: center;
  margin-left: 1.4rem;
  padding: .55rem 1.3rem;
  border: 0;
  border-radius: 999px;
  font-size: .86rem;
  font-weight: 500;
  letter-spacing: .08em;
  color: #15120c;
  background: linear-gradient(180deg, #e3c893, #c6a66e);
  box-shadow: 0 6px 18px -8px rgba(198,166,110,.7);
  text-decoration: none;
  white-space: nowrap;
  transition: filter .2s ease, transform .2s ease;
}
.top__cta:hover { filter: brightness(1.08); transform: translateY(-1px); }
.top nav { margin-left: auto; }
@media (max-width: 720px) {
  .top__cta { margin-left: auto; padding: .5rem 1.1rem; font-size: .84rem; color: #15120c; background: linear-gradient(180deg, #e3c893, #c6a66e); border: 0; }
}

/* ссылка на статью о символе в карточке формы */
.detail__read { margin: 1.1rem 0 0; font-size: .92rem; }
.detail__read a { color: var(--gold); text-decoration: none; border-bottom: 1px solid rgba(198,166,110,.35); padding-bottom: 1px; }
.detail__read a:hover, .detail__read a:focus-visible { border-bottom-color: var(--gold); }

/* ---------- переключатель языка ----------
   Заметная «таблетка» с глобусом: иностранец узнаёт её без слов.
   Отдельная страница /en/, а не подмена текста — поэтому без задержек. */
.top__section { margin-right: 0; }
.top__lang {
  display: inline-flex; align-items: center; gap: .38rem;
  margin: 0 auto 0 .7rem;
  padding: .34rem .72rem;
  border: 1px solid rgba(198,166,110,.55);
  border-radius: 999px;
  font-size: .74rem; font-weight: 600; letter-spacing: .12em;
  color: var(--gold, #c6a66e);
  background: rgba(198,166,110,.08);
  text-decoration: none; white-space: nowrap;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.top__lang:hover, .top__lang:focus-visible { background: rgba(198,166,110,.18); color: var(--ivory, #efe6d6); border-color: var(--gold, #c6a66e); }
.top__lang svg { flex: none; }
@media (max-width: 720px) {
  .top__lang { margin-left: .4rem; padding: .28rem .55rem; font-size: .66rem; gap: .3rem; }
  .top__lang svg { width: 11px; height: 11px; }
}
/* подсказка для тех, у кого браузер не на русском */
.lang-hint {
  position: fixed; z-index: 60; top: 64px; left: 50%; transform: translate(-50%, -6px);
  max-width: calc(100vw - 32px);
  display: flex; align-items: center; gap: .7rem;
  padding: .6rem .7rem .6rem 1rem;
  border: 1px solid rgba(198,166,110,.45); border-radius: 999px;
  background: rgba(10,12,20,.92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: var(--ivory, #efe6d6); font-size: .86rem;
  box-shadow: 0 14px 30px -18px rgba(0,0,0,.9);
  opacity: 0; transition: opacity .35s ease, transform .35s ease;
}
.lang-hint.is-on { opacity: 1; transform: translate(-50%, 0); }
.lang-hint a { color: #15120c; background: linear-gradient(180deg, #e3c893, #c6a66e); border-radius: 999px; padding: .38rem .9rem; text-decoration: none; font-weight: 600; white-space: nowrap; }
.lang-hint button { background: none; border: 0; color: var(--muted, #9a927f); font-size: 1.1rem; line-height: 1; cursor: pointer; padding: .2rem .35rem; }
.top__mark { flex: none; }
@media (max-width: 400px) {
  .top__lang { margin-left: .3rem; padding: .26rem .45rem; gap: .22rem; letter-spacing: .06em; }
  .top__lang svg { width: 10px; height: 10px; }
  .top__cta { padding: .45rem .8rem; font-size: .78rem; }
  .top__section { margin-left: .3rem; }
}
.lang-hint span { white-space: nowrap; }
@media (max-width: 480px) {
  .lang-hint { top: 58px; gap: .45rem; padding: .45rem .45rem .45rem .8rem; font-size: .76rem; }
  .lang-hint a { padding: .34rem .7rem; }
}
@media (max-width: 360px) {
  .top__mark img { width: 60px; }
  .top__lang svg { display: none; }
  .top__lang { padding: .26rem .5rem; }
  .top__section { padding: .24rem .5rem; letter-spacing: .04em; }
}
@media (max-width: 360px) {
  .top__cta { padding: .42rem .7rem; font-size: .74rem; letter-spacing: .04em; }
  .top__section { font-size: .56rem; margin-left: .25rem; }
  .top__lang { margin-left: .25rem; }
}
