/* ==========================================================================
   Александр Шаровский (1948–2026) — тема «Занавес и свет»
   Сценическая чернота + бархат занавеса + латунь софитов + слоновая кость.
   Bodoni Moda (дисплей) + Commissioner (текст) + Frank Ruhl Libre / Heebo (иврит).
   ========================================================================== */

:root {
  /* сцена */
  --stage:   #0d0c10;
  --stage-2: #141319;
  --stage-3: #1d1b23;
  --line:    #2a2731;

  /* бархат занавеса */
  --velvet:   #6f1a26;
  --velvet-2: #962b36;
  --velvet-3: #3a0f18;

  /* латунь софита */
  --brass:   #c9a24a;
  --brass-2: #e5c780;

  /* свет */
  --ivory:  #f2ece1;
  --ash:    #b3aaa0;
  --ash-2:  #8b8279;
  --ash-3:  #6b645d;

  --wrap: 1180px;
  --jbar-h: 38px;

  --d: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--stage);
  color: var(--ivory);
  font-family: "Commissioner", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

[dir="rtl"] body { font-family: "Heebo", "Commissioner", system-ui, sans-serif; }

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { width: min(100% - 2.6rem, var(--wrap)); margin-inline: auto; }

/* ---------- типографика ---------- */
h1, h2, h3, .fn, .lede, .stat b, .tl .y, .lifedates, .pl .t, .aw .y, .cine .q, .quote span {
  font-family: "Bodoni Moda", "Didot", Georgia, serif;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.01em;
}

[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3,
[dir="rtl"] .fn, [dir="rtl"] .lede, [dir="rtl"] .stat b, [dir="rtl"] .tl .y,
[dir="rtl"] .lifedates, [dir="rtl"] .pl .t, [dir="rtl"] .aw .y,
[dir="rtl"] .cine .q, [dir="rtl"] .quote span {
  font-family: "Frank Ruhl Libre", Georgia, serif;
  letter-spacing: 0;
}

h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.14rem; font-weight: 600; }

/* «ярлык» — маленькая надпись капсом над заголовком */
.lbl {
  font-size: .69rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: .8rem;
}

.head { margin-bottom: 2.2rem; max-width: 48ch; }
.head .sub { margin-top: .9rem; color: var(--ash); font-size: 1.02rem; }

.prose p { margin-bottom: 1.05rem; color: var(--ash); }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--ivory); font-weight: 600; }
.prose .first::first-letter {
  font-family: "Bodoni Moda", Georgia, serif;
  float: inline-start;
  font-size: 3.5em;
  line-height: .82;
  font-weight: 500;
  color: var(--brass);
  padding-inline-end: .12em;
  padding-block-start: .06em;
}

/* ---------- бегущая строка jnews ---------- */
.jbar {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 200;
  height: var(--jbar-h);
  display: flex;
  align-items: center;
  gap: .6rem;
  padding-inline: .9rem;
  background: #000;
  color: var(--ivory);
  font-size: .74rem;
  overflow: hidden;
  border-block-end: 1px solid #1c1a20;
}
.jbar-logo { font-weight: 800; text-decoration: none; letter-spacing: -.01em; flex: none; }
.jbar-logo b { color: var(--brass); }
.jbar-sep { color: var(--ash-3); flex: none; }
.jbar-marquee { flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); }
.jbar-track {
  display: inline-flex;
  gap: 3.5rem;
  white-space: nowrap;
  text-decoration: none;
  color: inherit;
  opacity: .78;
  animation: jslide 46s linear infinite;
}
.jbar-track:hover { animation-play-state: paused; opacity: 1; }
@keyframes jslide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
[dir="rtl"] .jbar-track { animation-direction: reverse; }

/* ---------- шапка ---------- */
.top {
  position: sticky;
  inset-block-start: var(--jbar-h);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 1.4rem;
  padding: .95rem clamp(1.3rem, 4vw, 2.4rem);
  background: color-mix(in srgb, var(--stage) 86%, transparent);
  backdrop-filter: blur(9px);
  border-block-end: 1px solid transparent;
  transition: background .3s var(--d), border-color .3s var(--d), padding .3s var(--d);
}
.top.scrolled {
  background: color-mix(in srgb, var(--stage) 96%, transparent);
  border-block-end-color: var(--line);
  padding-block: .6rem;
}

.brand { display: flex; align-items: center; gap: .62rem; text-decoration: none; flex: none; }
.brand b {
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: 1.16rem;
  font-weight: 500;
  letter-spacing: -.01em;
}
[dir="rtl"] .brand b { font-family: "Frank Ruhl Libre", Georgia, serif; }
.glyph { width: 30px; height: 30px; flex: none; }

.menu { display: flex; gap: 1.4rem; margin-inline-start: auto; }
.menu a {
  text-decoration: none;
  font-size: .86rem;
  font-weight: 500;
  color: var(--ash);
  padding-block: .2rem;
  border-block-end: 2px solid transparent;
  transition: color .2s var(--d), border-color .2s var(--d);
}
.menu a:hover { color: var(--ivory); }
.menu a.cur { color: var(--brass); border-block-end-color: var(--brass); }

.langs { display: flex; gap: .1rem; flex: none; }
.langs button {
  background: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .04em;
  padding: .3rem .42rem;
  color: var(--ash-2);
  opacity: .7;
  transition: opacity .25s var(--d);
}
.langs button:hover { opacity: .95; }
.langs button.active, .langs a.active { opacity: 1; color: var(--brass); }

.burger { display: none; background: none; border: 0; font-size: 1.4rem; cursor: pointer; color: var(--ivory); }

/* ---------- герой ---------- */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-block: 6rem 3.4rem;
  overflow: hidden;
  isolation: isolate;
}
.hbg { position: absolute; inset: 0; z-index: -2; }
.hbg img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 26%; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 90% at 78% 22%, rgba(201, 162, 74, .09), transparent 55%),
    linear-gradient(to top, rgba(13, 12, 16, .96) 6%, rgba(13, 12, 16, .62) 44%, rgba(13, 12, 16, .3) 100%),
    linear-gradient(to right, rgba(13, 12, 16, .94) 4%, rgba(13, 12, 16, .55) 40%, rgba(13, 12, 16, .05) 72%);
}
[dir="rtl"] .hero::after {
  background:
    radial-gradient(120% 90% at 22% 22%, rgba(201, 162, 74, .09), transparent 55%),
    linear-gradient(to top, rgba(13, 12, 16, .96) 6%, rgba(13, 12, 16, .62) 44%, rgba(13, 12, 16, .3) 100%),
    linear-gradient(to left, rgba(13, 12, 16, .94) 4%, rgba(13, 12, 16, .55) 40%, rgba(13, 12, 16, .05) 72%);
}
[dir="rtl"] .hbg img { transform: scaleX(-1); }

.kduo {
  display: flex;
  align-items: center;
  gap: .8rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: 1.2rem;
}
.kduo i { font-style: normal; }
.kduo s { text-decoration: none; color: var(--brass); }

.hero h1 { display: flex; flex-direction: column; gap: .7rem; max-width: 20ch; }
.hero h1 span {
  font-size: clamp(2.9rem, 8.4vw, 6.4rem);
  font-weight: 500;
  letter-spacing: -.03em;
  line-height: .9;
}
.hero h1 em {
  font-style: normal;
  font-family: "Commissioner", sans-serif;
  font-size: clamp(1rem, 2.1vw, 1.35rem);
  font-weight: 400;
  line-height: 1.42;
  letter-spacing: 0;
  max-width: 32ch;
  color: var(--ash);
  padding-inline-start: 1rem;
  border-inline-start: 2px solid var(--velvet-2);
}
[dir="rtl"] .hero h1 em { font-family: "Heebo", sans-serif; }

/* даты жизни — фирменный локап */
.lifedates {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  margin-bottom: 1.5rem;
  font-size: clamp(1.05rem, 2.4vw, 1.5rem);
  letter-spacing: .04em;
  color: var(--brass-2);
}
.lifedates i { font-style: normal; }
.lifedates s {
  text-decoration: none;
  width: clamp(28px, 6vw, 62px);
  height: 1px;
  background: linear-gradient(90deg, var(--brass), transparent);
}
[dir="rtl"] .lifedates s { background: linear-gradient(270deg, var(--brass), transparent); }

.hero .lead {
  margin-top: 1.7rem;
  max-width: 54ch;
  font-size: 1.04rem;
  color: color-mix(in srgb, var(--ivory) 74%, transparent);
}

.scrollcue {
  position: absolute;
  inset-block-end: 1.3rem;
  inset-inline-end: clamp(1.3rem, 4vw, 2.4rem);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ash-2);
  opacity: .8;
}
.scrollcue::after {
  content: "";
  display: block;
  width: 1px;
  height: 30px;
  margin: .5rem auto 0;
  background: linear-gradient(var(--brass), transparent);
}

/* ---------- герой подстраницы ---------- */
.phero {
  position: relative;
  min-height: min(74vh, 580px);
  display: flex;
  align-items: flex-end;
  padding-block: 6rem 2.8rem;
  overflow: hidden;
  isolation: isolate;
}
.phero img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.phero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(13, 12, 16, .95) 6%, rgba(13, 12, 16, .6) 54%, rgba(13, 12, 16, .3) 100%);
}
.crumb { font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ash-2); margin-bottom: 1rem; }
.crumb a { color: var(--brass); text-decoration: none; }
.crumb a:hover { text-decoration: underline; }
.phero h1 { font-size: clamp(2.3rem, 6vw, 4.2rem); font-weight: 500; letter-spacing: -.025em; }
.psub { margin-top: .9rem; max-width: 46ch; color: var(--ash); font-size: 1.02rem; }

/* ---------- блоки и складка занавеса ---------- */
.block { padding-block: clamp(3.6rem, 7vw, 6.4rem); }
.paper { background: var(--stage-2); }
.band  { background: var(--stage); }

/* фирменный мотив — складки занавеса тонкой полосой над секцией */
.band, .dark { position: relative; }
.band::before, .dark::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 10px;
  background-repeat: repeat-x;
  background-size: 26px 10px;
  opacity: .55;
}
.band::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='26' height='10' viewBox='0 0 26 10'><path d='M1 0v10M7 0v10M13 0v10M19 0v10M25 0v10' stroke='%23c9a24a' stroke-width='.9' opacity='.5'/></svg>");
}
.dark::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='26' height='10' viewBox='0 0 26 10'><path d='M1 0v10M7 0v10M13 0v10M19 0v10M25 0v10' stroke='%23e5c780' stroke-width='.9' opacity='.55'/></svg>");
}

.dark {
  background:
    radial-gradient(90% 120% at 50% 0%, rgba(150, 43, 54, .5), transparent 62%),
    linear-gradient(180deg, var(--velvet-3), #180a0e);
  color: var(--ivory);
}
.dark .lbl { color: var(--brass-2); }
.dark .prose p { color: color-mix(in srgb, var(--ivory) 78%, transparent); }
.dark .prose .first::first-letter { color: var(--brass-2); }

/* ---------- заявление ---------- */
.statement .lede {
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  font-weight: 500;
  line-height: 1.2;
  max-width: 22ch;
  margin-bottom: 2.2rem;
}
.lede .hl { color: var(--brass-2); }
.statement .prose { column-count: 2; column-gap: 2.8rem; max-width: 74ch; }
@media (max-width: 760px) { .statement .prose { column-count: 1; } }

/* ---------- цифры ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}
.stat { background: var(--stage-2); padding: 1.8rem 1.3rem; }
.stat b { display: block; font-size: clamp(1.6rem, 2.8vw, 2.2rem); color: var(--brass); margin-bottom: .4rem; }
.stat span { font-size: .84rem; color: var(--ash); line-height: 1.45; display: block; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- лента времени ---------- */
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.7rem 2rem; }
.tl { padding-block-start: 1.1rem; border-block-start: 2px solid var(--velvet); }
.tl .y { font-size: 1.1rem; color: var(--brass); margin-bottom: .45rem; letter-spacing: .02em; }
.tl .d { font-size: .93rem; color: var(--ash); }
@media (max-width: 900px) { .timeline { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .timeline { grid-template-columns: 1fr; } }

/* ---------- сплит: текст ↔ фотография ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split.rev .ph { order: 2; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split.rev .ph { order: 0; }
}

.ph { position: relative; }
.ph img {
  width: 100%;
  height: 100%;
  max-height: 580px;
  object-fit: cover;
  border-radius: 2px;
}
.ph .tag {
  position: absolute;
  inset-block-end: 0;
  inset-inline-start: 0;
  background: var(--velvet);
  color: var(--ivory);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: .45rem .9rem;
}
.ph .cap {
  margin-top: .6rem;
  font-size: .76rem;
  color: var(--ash-3);
  line-height: 1.45;
}

/* ---------- карточки ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card {
  background: var(--stage-3);
  border: 1px solid var(--line);
  border-block-start: 3px solid var(--velvet);
  padding: 1.5rem 1.4rem;
}
.card .n {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--brass);
  margin-bottom: .7rem;
}
.card h3 { margin-bottom: .5rem; }
.card p { font-size: .92rem; color: var(--ash); }
@media (max-width: 900px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

/* ---------- афиша (список спектаклей) ---------- */
.playbill { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 2.6rem; }
.pl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .9rem;
  align-items: baseline;
  padding-block: .72rem;
  border-block-end: 1px solid var(--line);
}
.pl .b { color: var(--velvet-2); font-size: .8rem; line-height: 1.6; }
.pl .t { font-size: 1.02rem; color: var(--ivory); }
.pl .a { display: block; font-size: .8rem; color: var(--ash-3); font-family: "Commissioner", sans-serif; letter-spacing: 0; margin-top: .15rem; }
[dir="rtl"] .pl .a { font-family: "Heebo", sans-serif; }
@media (max-width: 780px) { .playbill { grid-template-columns: 1fr; } }

/* ---------- награды ---------- */
.awards { display: grid; gap: 0; border-block-start: 1px solid var(--line); }
.aw {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 1.2rem;
  padding-block: 1.05rem;
  border-block-end: 1px solid var(--line);
  align-items: baseline;
}
.aw .y { font-size: 1.05rem; color: var(--brass); letter-spacing: .03em; }
.aw h3 { font-size: 1.04rem; margin-bottom: .25rem; }
.aw p { font-size: .89rem; color: var(--ash-2); }
@media (max-width: 620px) { .aw { grid-template-columns: 1fr; gap: .2rem; } }

/* ---------- перечень фактов ---------- */
.roll { display: grid; gap: 0; border-block-start: 1px solid var(--line); max-width: 78ch; }
.rw {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 1.2rem;
  padding-block: .85rem;
  border-block-end: 1px solid var(--line);
}
.rw dt { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ash-3); }
.rw dd { font-size: .97rem; color: var(--ash); }
@media (max-width: 620px) { .rw { grid-template-columns: 1fr; gap: .2rem; } }

/* ---------- кинематографичная цитата ---------- */
.cine {
  position: relative;
  padding-block: clamp(5rem, 12vw, 9rem);
  isolation: isolate;
  overflow: hidden;
}
.cine img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.cine::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, rgba(13, 12, 16, .93), rgba(58, 15, 24, .78));
}
.cine .q {
  font-size: clamp(1.4rem, 3.2vw, 2.4rem);
  font-weight: 500;
  line-height: 1.28;
  color: var(--ivory);
  max-width: 28ch;
}
.cine .qc {
  display: block;
  margin-top: 1.3rem;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brass);
}

/* ---------- цитата в тексте ---------- */
.quote { border-inline-start: 2px solid var(--brass); padding-inline-start: 1.6rem; max-width: 48ch; }
.quote span { font-size: clamp(1.15rem, 2.4vw, 1.6rem); font-weight: 500; line-height: 1.34; display: block; }
.quote cite {
  display: block;
  margin-top: .9rem;
  font-style: normal;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ash-3);
}

/* ---------- поминальный блок ---------- */
.candle {
  display: grid;
  gap: 1.4rem;
  justify-items: center;
  text-align: center;
  padding-block: clamp(2.4rem, 6vw, 4rem);
}
.candle .flame {
  width: 34px;
  height: 54px;
  background: radial-gradient(50% 40% at 50% 32%, var(--brass-2), rgba(201, 162, 74, .18) 62%, transparent 72%);
  border-radius: 50% 50% 46% 46%;
  animation: flick 3.6s ease-in-out infinite;
}
@keyframes flick { 0%, 100% { opacity: .92; transform: scaleY(1); } 50% { opacity: .7; transform: scaleY(.94); } }
.candle .t { font-family: "Bodoni Moda", Georgia, serif; font-size: clamp(1.3rem, 3vw, 2rem); max-width: 24ch; }
[dir="rtl"] .candle .t { font-family: "Frank Ruhl Libre", Georgia, serif; }
.candle .s { color: var(--ash-2); font-size: .95rem; max-width: 52ch; }

/* ---------- тизеры разделов ---------- */
.teasers { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.teaser {
  position: relative;
  display: block;
  text-decoration: none;
  overflow: hidden;
  min-height: 320px;
  isolation: isolate;
  background: #000;
}
.teaser img {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--d), opacity .4s var(--d);
  opacity: .55;
}
.teaser:hover img { transform: scale(1.06); opacity: .38; }
.teaser .ov {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 320px;
  padding: 1.3rem;
  color: var(--ivory);
  background: linear-gradient(to top, rgba(13, 12, 16, .9), rgba(13, 12, 16, .08) 64%);
}
.teaser .tnum { font-size: .74rem; font-weight: 700; letter-spacing: .14em; color: var(--brass); }
.teaser h3 { margin-top: auto; font-size: 1.2rem; }
.teaser p { font-size: .84rem; margin-top: .35rem; color: var(--ash); }
.teaser .go { margin-top: .8rem; font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); }
@media (max-width: 1080px) { .teasers { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .teasers { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 80ch; border-block-start: 1px solid var(--line); }
.faq-item { border-block-end: 1px solid var(--line); }
.faq-q {
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: 1.14rem;
  font-weight: 500;
  padding-block: 1.1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: color .2s var(--d);
}
[dir="rtl"] .faq-q { font-family: "Frank Ruhl Libre", Georgia, serif; }
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: "+";
  margin-inline-start: auto;
  font-family: "Commissioner", sans-serif;
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--brass);
  transition: transform .3s var(--d);
}
.faq-item[open] .faq-q { color: var(--brass-2); }
.faq-item[open] .faq-q::after { transform: rotate(45deg); }
.faq-q:hover { color: var(--brass-2); }
.faq-a { padding-block-end: 1.2rem; color: var(--ash); max-width: 70ch; font-size: .96rem; }

/* ---------- подвал ---------- */
footer {
  background: #08070a;
  color: var(--ash);
  padding-block: 3.4rem 2rem;
  font-size: .9rem;
  border-block-start: 1px solid var(--line);
}
.fgrid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.4rem; margin-bottom: 2.6rem; }
.fn { font-size: 1.26rem; color: var(--ivory); margin-bottom: .7rem; }
.fgrid p { max-width: 48ch; color: var(--ash-3); }
.fh {
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: .9rem;
}
.flinks { list-style: none; display: grid; gap: .5rem; }
.flinks a { text-decoration: none; color: var(--ash); transition: color .2s var(--d); }
.flinks a:hover { color: var(--brass); }
.rights, .credits {
  border-block-start: 1px solid var(--line);
  padding-block-start: 1.1rem;
  font-size: .75rem;
  color: var(--ash-3);
}
.credits { border: 0; padding-block-start: .5rem; }
@media (max-width: 760px) { .fgrid { grid-template-columns: 1fr; gap: 1.8rem; } }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--d), transform .7s var(--d); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .09s; }
.rv.d2 { transition-delay: .18s; }
.rv.d3 { transition-delay: .27s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 640px) { .scrollcue { display: none; } }

/* ---------- мобильное меню ---------- */
@media (max-width: 980px) {
  .burger { display: block; margin-inline-start: auto; order: 3; }
  .langs { order: 2; margin-inline-start: auto; }
  .menu {
    order: 4;
    display: none;
    flex-direction: column;
    gap: .2rem;
    width: 100%;
    margin: .8rem 0 0;
    padding-block: .6rem;
    border-block-start: 1px solid var(--line);
  }
  .menu.open { display: flex; }
  .menu a { padding-block: .6rem; border: 0; }
  .top { flex-wrap: wrap; }
}
