/* ============================================================
   «Шабыт» 2026 — компоненты
   Шапка, кнопки, чипы, глифы номинаций, сетка номинаций,
   таймлайн, таймер, бегущие строки, лестница призов, шаги,
   карточки новостей на нити, аккордеон, оглавление, подвал.
   ============================================================ */

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; top: -100px; left: 16px; z-index: 1000;
  padding: 10px 16px; background: var(--ink-900); color: #fff; border-radius: var(--radius-s);
}
.skip-link:focus { top: 12px; }

/* ---------- Шапка ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  color: #fff;
  transition: transform var(--dur) var(--ease-out);
}
.topbar {
  height: var(--topbar-h);
  background: var(--ink-950);
  color: var(--ink-300);
  font-size: var(--fs-tiny);
  transition: margin-top var(--dur) var(--ease-out), opacity var(--dur);
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 100%; }
.topbar__org { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar__org a { color: var(--ink-200); }
.topbar__org a:hover { color: #fff; }

.lang { display: inline-flex; gap: 2px; padding: 2px; border-radius: var(--radius-pill); background: rgba(255,255,255,0.06); flex-shrink: 0; }
.lang__btn { padding: 2px 10px; border-radius: var(--radius-pill); color: var(--ink-300); line-height: 1.6; }
.lang__btn:hover { color: #fff; }
.lang__btn.is-active { background: #fff; color: var(--ink-900); font-weight: 500; }

.navbar {
  height: var(--header-h);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background var(--dur), color var(--dur), border-color var(--dur), backdrop-filter var(--dur);
}
.navbar__inner { display: flex; align-items: center; gap: 24px; height: 100%; }

.brand { display: inline-flex; align-items: center; gap: 12px; margin-right: auto; }
.brand__mark { width: 36px; height: 51px; border-radius: 3px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; letter-spacing: -0.01em; }
.brand__ed { font-family: var(--font-numeral); font-size: 0.8125rem; color: var(--ink-300); margin-top: 3px; letter-spacing: 0.08em; }

.nav__list { display: flex; gap: 6px; }
.nav__link {
  display: inline-block; position: relative; padding: 10px 12px; font-size: var(--fs-small); font-weight: 500;
  color: inherit; opacity: 0.86;
}
.nav__link::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 1.5px;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform var(--dur) var(--ease-out);
}
.nav__link:hover { opacity: 1; }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__link[aria-current="page"] { opacity: 1; }

.navbar__actions { display: flex; align-items: center; gap: 10px; }
.navbar__phone { font-size: var(--fs-small); font-weight: 500; opacity: 0.86; margin-right: 6px; white-space: nowrap; }
.navbar__phone:hover { opacity: 1; }

/* Состояние после прокрутки: шапка сжимается и становится матово-белой */
.site-header.is-scrolled { color: var(--ink-900); }
.site-header.is-scrolled .topbar { margin-top: calc(-1 * var(--topbar-h)); opacity: 0; pointer-events: none; }
.site-header.is-scrolled .navbar {
  background: rgba(243, 243, 248, 0.86);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line);
}
.site-header.is-scrolled .brand__ed { color: var(--ink-500); }
.site-header.is-scrolled .btn--ghost { color: var(--ink-900); }

/* Бургер */
.nav-toggle { display: none; width: 44px; height: 44px; position: relative; border-radius: var(--radius-pill); }
.nav-toggle__bar { position: absolute; left: 12px; width: 20px; height: 1.6px; background: currentColor; transition: transform var(--dur) var(--ease-out), top var(--dur) var(--ease-out); }
.nav-toggle__bar:nth-child(1) { top: 18px; }
.nav-toggle__bar:nth-child(2) { top: 25px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* Мобильное меню */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--ink-900); color: #fff;
  padding-top: calc(var(--header-h) + var(--topbar-h));
  overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__inner { padding-block: 24px 48px; display: grid; gap: 40px; }
.mobile-menu__list a { display: block; padding: 10px 0; font-family: var(--font-display); font-size: clamp(1.75rem, 7vw, 2.5rem); font-weight: 600; border-bottom: 1px solid var(--line-dark-2); }
.mobile-menu__label { color: var(--ink-300); font-size: var(--fs-tiny); margin-bottom: 8px; }
.mobile-menu__noms a { display: block; padding: 8px 0; font-size: 1.0625rem; color: var(--ink-200); }
.mobile-menu__actions { display: grid; gap: 12px; }
.mobile-menu__phone { font-size: 1.25rem; font-weight: 500; padding: 8px 0; }
.lang--menu { justify-self: start; }

@media (max-width: 1100px) {
  .nav, .navbar__phone, .navbar__login { display: none; }
  .nav-toggle { display: block; }
  .navbar__inner { gap: 12px; }
}
@media (max-width: 640px) {
  .topbar__org { font-size: 0.75rem; }
  .navbar .btn--cta { display: none; }
}

/* Открытое меню: шапка принудительно тёмная */
body.menu-open .site-header { color: #fff; }
body.menu-open .site-header .navbar { background: var(--ink-900); border-bottom-color: var(--line-dark-2); -webkit-backdrop-filter: none; backdrop-filter: none; }
body.menu-open .site-header .topbar { margin-top: 0; opacity: 1; pointer-events: auto; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 24px; border-radius: var(--radius-pill);
  font-weight: 500; font-size: 1rem; line-height: 1; white-space: nowrap;
  border: 1px solid transparent;
  transition: transform var(--dur-fast) var(--ease-out), background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.btn:active { transform: translateY(1px); }
.btn--sm { height: 40px; padding: 0 18px; font-size: var(--fs-small); }
.btn--lg { height: 56px; padding: 0 30px; font-size: 1.0625rem; }

.btn--primary { background: var(--ink-900); color: #fff; }
.btn--primary:hover { background: var(--ink-700); }

.btn--light { background: #fff; color: var(--ink-900); }
.btn--light:hover { background: var(--paper-2); }

.btn--ghost { background: transparent; color: inherit; border-color: color-mix(in srgb, currentColor 35%, transparent); }
.btn--ghost:hover { border-color: currentColor; }

.btn--cta {
  background: var(--cta-gradient); color: #fff;
  box-shadow: 0 14px 30px -14px rgba(107, 91, 255, 0.65);
}
.btn--cta:hover { filter: brightness(1.07); transform: translateY(-1px); box-shadow: 0 18px 34px -14px rgba(255, 46, 99, 0.55); }

/* Текстовая ссылка с подчёркиванием-линией */
.link { position: relative; display: inline-block; font-weight: 500; padding-bottom: 2px; }
.link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor; transform-origin: left; transition: transform var(--dur) var(--ease-out); }
.link:hover::after { transform: scaleX(0.55); }

/* ---------- Чипы ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips li, .chip {
  font-size: var(--fs-tiny); line-height: 1.4; padding: 5px 11px;
  border: 1px solid var(--line); border-radius: var(--radius-pill); color: var(--ink-600);
}
.section--dark .chips li, .section--dark .chip { border-color: var(--line-dark); color: var(--ink-200); }

/* ---------- Силуэты номинаций ----------
   Иконки: game-icons.net (CC BY 3.0), домбыра нарисована отдельно в том же стиле.
   Одноцветные заливки, цвет берут из currentColor. */
.glyph { display: inline-block; color: currentColor; line-height: 0; }
.g { width: 100%; height: 100%; fill: currentColor; overflow: visible; }

/* ---------- Сетка номинаций: цветные карточки, у каждой номинации свой цвет ---------- */
.nom-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1023px) { .nom-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px)  { .nom-grid { grid-template-columns: minmax(0, 1fr); } }

/* --accent — цвет номинации, --on — цвет текста поверх него (контраст проверен) */
.nom-card { --accent: var(--violet); --on: #FFFFFF; }
.nom-card--woodwind    { --accent: var(--nom-woodwind);    --on: #FFFFFF; }
.nom-card--brass       { --accent: var(--nom-brass);       --on: var(--ink-900); }
.nom-card--singing     { --accent: var(--nom-singing);     --on: #FFFFFF; }
.nom-card--composition { --accent: var(--nom-composition); --on: var(--ink-900); }
.nom-card--art         { --accent: var(--nom-art);         --on: var(--ink-900); }
.nom-card--dombyra     { --accent: var(--nom-dombyra);     --on: var(--ink-900); }

.nom-card {
  position: relative; overflow: hidden; isolation: isolate; border-radius: 14px; color: var(--on);
  background:
    radial-gradient(90% 70% at 100% 0%, color-mix(in srgb, var(--accent) 55%, #FFFFFF) 0%, transparent 60%),
    linear-gradient(160deg, var(--accent) 35%, color-mix(in srgb, var(--accent) 72%, var(--ink-900)) 100%);
  box-shadow: 0 22px 44px -28px color-mix(in srgb, var(--accent) 90%, var(--ink-900));
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
/* лёгкое зерно, чтобы заливка выглядела как печать, а не как плоский цвет */
.nom-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.18; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%27160%27 height=%27160%27%3E%3Cfilter id=%27n%27%3E%3CfeTurbulence type=%27fractalNoise%27 baseFrequency=%270.9%27 numOctaves=%272%27 stitchTiles=%27stitch%27/%3E%3C/filter%3E%3Crect width=%27100%25%27 height=%27100%25%27 filter=%27url(%23n)%27/%3E%3C/svg%3E");
}
.nom-card:hover { transform: translateY(-4px); box-shadow: 0 30px 56px -26px color-mix(in srgb, var(--accent) 95%, var(--ink-900)); }

.nom-card__link { position: relative; display: flex; flex-direction: column; gap: 14px; height: 100%; min-height: 400px; padding: 184px 28px 26px; }
/* Силуэт инструмента — крупная графика, срезанная правым краем карточки */
.nom-card__glyph {
  position: absolute; top: 18px; right: -30px; width: 156px; height: 156px;
  color: var(--on); opacity: 0.9;
  transform-origin: 70% 60%;
  transition: transform 0.7s var(--ease-out), opacity 0.5s;
}
.nom-card:hover .nom-card__glyph { opacity: 1; transform: rotate(-8deg) translate(-10px, 4px) scale(1.04); }
.nom-card__title { font-size: 1.25rem; max-width: 15em; }
.nom-card__sub { color: color-mix(in srgb, var(--on) 80%, transparent); font-size: var(--fs-small); }
.nom-card .chips { margin-top: auto; padding-top: 8px; }
.nom-card .chips li { border-color: color-mix(in srgb, var(--on) 35%, transparent); background: color-mix(in srgb, var(--on) 10%, transparent); color: var(--on); }
.nom-card__format { display: flex; align-items: center; gap: 8px; font-size: var(--fs-tiny); font-weight: 500; color: var(--on); }
.nom-card__format::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--on); }
.nom-card__link:focus-visible { outline: 3px solid var(--on); outline-offset: -6px; border-radius: 12px; }

/* ---------- Таймлайн ключевых дат ---------- */
.timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; position: relative; padding-top: 30px; }
.timeline::before {
  content: ""; position: absolute; top: 8px; left: 0; right: 0; height: 1px; background: var(--line-strong);
  transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease-out);
}
.timeline.is-in::before { transform: scaleX(1); }
.timeline__item { position: relative; }
.timeline__item::before {
  content: ""; position: absolute; top: -26px; left: 0; width: 9px; height: 9px; border-radius: 50%;
  background: var(--ink-900); opacity: 0; transition: opacity 0.4s;
}
.timeline.is-in .timeline__item::before { opacity: 1; }
.timeline.is-in .timeline__item:nth-child(2)::before { transition-delay: 0.35s; }
.timeline.is-in .timeline__item:nth-child(3)::before { transition-delay: 0.7s; }
.timeline.is-in .timeline__item:nth-child(4)::before { transition-delay: 1.05s; }
.timeline time { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; }
.timeline p { color: var(--ink-600); font-size: var(--fs-small); margin-top: 6px; max-width: 26em; }
.timeline__item--key time { color: var(--magenta); }
.timeline__item--key::before { background: var(--magenta); }
@media (max-width: 1023px) { .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; } .timeline::before { display: none; } .timeline__item::before { position: static; display: block; margin-bottom: 12px; opacity: 1; } }

/* ---------- Таймер ---------- */
.countdown__label { font-size: var(--fs-small); color: var(--ink-300); margin-bottom: 6px; }
.countdown__time { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 4px; margin: 0; }
.countdown__time span {
  display: inline-block; min-width: 1.25em; text-align: right;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); line-height: 1;
}
.countdown__time small { font-family: var(--font-text); font-size: var(--fs-small); color: var(--ink-300); margin: 0 14px 0 6px; }
.countdown__time span.tick { animation: tick 0.5s var(--ease-out); }
@keyframes tick { 0% { transform: translateY(0.35em); opacity: 0; } 100% { transform: none; opacity: 1; } }
.countdown__until { font-size: var(--fs-tiny); color: var(--ink-300); margin-top: 8px; }
.countdown.is-over .countdown__time { display: none; }
@media (max-width: 640px) {
  .countdown__time span { font-size: clamp(1.5rem, 7.5vw, 2rem); min-width: 1.15em; }
  .countdown__time small { margin: 0 8px 0 4px; font-size: var(--fs-tiny); }
}

/* ---------- Бегущая строка (чистый CSS, контент дублируется скриптом) ---------- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee var(--marquee-dur, 48s) linear infinite; }
.marquee--reverse .marquee__track { animation-direction: reverse; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track > * { flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Лестница призов ---------- */
.ladder { border-top: 1px solid var(--line-dark); }
.ladder__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line-dark); }
.ladder__place { font-size: var(--fs-lead); }
.ladder__note { display: block; font-size: var(--fs-small); color: var(--ink-300); margin-top: 4px; }
.ladder__sum { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.375rem, 1rem + 1.6vw, 2.25rem); white-space: nowrap; }
.ladder__row--gp { padding: 32px 0; }
.ladder__row--gp .ladder__place { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-h3); }
.ladder__row--gp .ladder__sum { font-size: clamp(2.25rem, 1.4rem + 4vw, 4.25rem); color: var(--amber); }

/* ---------- Шаги ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 44px 32px; }
.step { position: relative; padding-top: 28px; border-top: 1px solid var(--line-strong); }
.step__n {
  position: absolute; top: -15px; left: 0; width: 30px; height: 30px; border-radius: 50%;
  background: var(--ink-900); color: #fff; display: grid; place-items: center;
  font-size: var(--fs-tiny); font-weight: 600; font-variant-numeric: tabular-nums;
}
.step h3 { font-size: 1.125rem; margin-bottom: 10px; }
.step p { color: var(--ink-600); font-size: var(--fs-small); }
.doclist { margin-top: 12px; font-size: var(--fs-tiny); color: var(--ink-600); }
.doclist li { position: relative; padding-left: 14px; margin-bottom: 4px; }
.doclist li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 6px; height: 1px; background: currentColor; }
@media (max-width: 1023px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px)  { .steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Статистика ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0; }
.stats dt { font-family: var(--font-numeral); font-size: clamp(2.5rem, 1.5rem + 3.5vw, 4.25rem); line-height: 1; color: var(--ink-900); }
.stats dd { margin: 10px 0 0; color: var(--ink-500); font-size: var(--fs-small); max-width: 14em; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Карточки новостей на нити ---------- */
.news-line { position: relative; height: 480px; overflow: hidden; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.news-line.is-dragging { cursor: grabbing; }
.news-line__string { position: absolute; top: 0; left: 0; width: 100%; height: 120px; stroke: var(--ink-300); stroke-width: 1.5; fill: none; pointer-events: none; }
.news-line__cards { position: absolute; inset: 0; }
.pin-card { position: absolute; top: 0; left: 0; width: 264px; transform-origin: 50% 0; will-change: transform; }
.pin-card::before {
  content: ""; position: absolute; top: -8px; left: calc(50% - 5px); width: 10px; height: 26px;
  background: var(--ink-900); border-radius: 3px; z-index: 2;
}
.pin-card__body {
  display: block; margin-top: 10px; background: var(--white); border: 1px solid var(--line);
  padding: 10px 10px 16px; box-shadow: var(--shadow-lift); transition: box-shadow var(--dur);
}
.pin-card:hover .pin-card__body { box-shadow: 0 26px 46px -22px rgba(14, 14, 34, 0.45); }
.pin-card__cover { position: relative; display: block; height: 170px; overflow: hidden; background: var(--ink-800); }
.pin-card__cover img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; transition: transform 0.8s var(--ease-out); }
.pin-card:hover .pin-card__cover img { transform: scale(1.05); }
.pin-card__cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(8, 8, 26, 0.72)); }
.pin-card__cover time { position: absolute; left: 12px; bottom: 10px; z-index: 1; color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; }
.pin-card h3 { font-size: 1.0625rem; font-family: var(--font-text); font-weight: 600; letter-spacing: 0; margin: 14px 2px 6px; line-height: 1.35; }
.pin-card p { font-size: var(--fs-tiny); color: var(--ink-500); margin: 0 2px; }
.news-line__hint { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); font-size: var(--fs-tiny); color: var(--ink-500); pointer-events: none; }
@media (max-width: 640px) { .news-line { height: 440px; } .pin-card { width: 230px; } .pin-card__cover { height: 130px; } }

/* ---------- Аккордеон (details/summary) ---------- */
.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 20px 0; font-weight: 600; font-size: 1.0625rem;
}
.acc__item summary::-webkit-details-marker { display: none; }
.acc__item summary::after {
  content: ""; flex: none; width: 12px; height: 12px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px); transition: transform var(--dur) var(--ease-out);
}
.acc__item[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.acc__body { padding: 0 0 24px; }
.acc__body > .prose { max-width: 64ch; }

/* ---------- Липкое оглавление ---------- */
.toc { position: sticky; top: calc(var(--header-h) + 24px); font-size: var(--fs-small); }
.toc__title { font-size: var(--fs-tiny); color: var(--ink-500); margin-bottom: 12px; }
.toc a { display: block; padding: 7px 0 7px 14px; border-left: 1.5px solid var(--line); color: var(--ink-600); transition: color var(--dur-fast), border-color var(--dur-fast); }
.toc a:hover { color: var(--ink-900); }
.toc a.is-active { color: var(--ink-900); border-left-color: var(--ink-900); font-weight: 500; }

/* ---------- Выноска ---------- */
.callout { border: 1px solid var(--line); border-left: 3px solid var(--accent, var(--violet)); padding: 20px 24px; background: var(--white); }
.callout h3, .callout h4 { font-size: 1.0625rem; font-family: var(--font-text); font-weight: 600; letter-spacing: 0; margin-bottom: 8px; }
.callout p, .callout li { font-size: var(--fs-small); color: var(--ink-600); }
.callout ul { padding-left: 1.2em; list-style: disc; }

/* ---------- Факты (ключ — значение) ---------- */
.facts {
  position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0;
  background: var(--ink-900); color: #fff; border-radius: 14px; overflow: hidden; isolation: isolate;
}
.facts::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 90% at 0% 0%, rgba(107, 91, 255, 0.38), transparent 70%),
    radial-gradient(50% 80% at 100% 100%, rgba(255, 46, 99, 0.26), transparent 70%);
}
.facts > div { padding: 26px 28px 28px; border-right: 1px solid var(--line-dark-2); border-bottom: 1px solid var(--line-dark-2); }
.facts > div:nth-child(3n) { border-right: 0; }
.facts > div:nth-last-child(-n+3) { border-bottom: 0; }
.facts dt { display: flex; align-items: center; gap: 8px; font-size: var(--fs-small); color: var(--ink-300); }
.facts dt::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--dot, var(--violet)); }
.facts dd { margin: 10px 0 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem); line-height: 1.3; letter-spacing: -0.01em; text-wrap: balance; }
.facts > div:nth-child(1) { --dot: var(--violet); }
.facts > div:nth-child(2) { --dot: var(--amber); }
.facts > div:nth-child(2) dd { color: var(--amber); }
.facts > div:nth-child(3) { --dot: var(--mint); }
.facts > div:nth-child(4) { --dot: var(--magenta); }
.facts > div:nth-child(5) { --dot: var(--cyan); }
.facts > div:nth-child(6) { --dot: var(--coral); }
@media (max-width: 900px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts > div:nth-child(3n) { border-right: 1px solid var(--line-dark-2); }
  .facts > div:nth-child(2n) { border-right: 0; }
  .facts > div:nth-last-child(-n+3) { border-bottom: 1px solid var(--line-dark-2); }
  .facts > div:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 560px) {
  .facts { grid-template-columns: minmax(0, 1fr); }
  .facts > div { border-right: 0 !important; border-bottom: 1px solid var(--line-dark-2) !important; padding: 20px 22px; }
  .facts > div:last-child { border-bottom: 0 !important; }
}

/* ---------- Подвал ---------- */
.site-footer { background: var(--ink-950); color: var(--ink-300); padding: 72px 0 32px; font-size: var(--fs-small); }
.footer__top { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; }
.footer__mark { width: 48px; height: 68px; border-radius: 3px; }
.footer__title { color: #fff; font-weight: 500; max-width: 22em; margin-top: 18px; }
.footer__dates { margin-top: 4px; }
.footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer__heading { color: #fff; font-weight: 600; margin-bottom: 14px; }
.footer__col li { margin-bottom: 8px; }
.footer__col a:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-dark-2); font-size: var(--fs-tiny); }
.footer__bottom a:hover { color: #fff; }
@media (max-width: 900px) { .footer__top { grid-template-columns: minmax(0, 1fr); } .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .footer__cols { grid-template-columns: minmax(0, 1fr); } }

/* Нить новостей без JS (или до инициализации): карточки просто в ряд с прокруткой */
.news-line:not(.is-ready) { height: auto; cursor: default; }
.news-line:not(.is-ready) .news-line__string, .news-line:not(.is-ready) .news-line__hint { display: none; }
.news-line:not(.is-ready) .news-line__cards { position: static; display: flex; gap: 24px; overflow-x: auto; padding: 16px var(--gutter) 32px; scroll-snap-type: x mandatory; }
.news-line:not(.is-ready) .pin-card { position: static; flex: none; scroll-snap-align: start; transform: none !important; }
.news-line:not(.is-ready) .pin-card::before { display: none; }
