/* Fonts are loaded from index.html via <link rel="preconnect"> +
   <link rel="stylesheet"> so the browser can discover them without
   first downloading this file. */

/* ============================================================
   Улетай — a Russian companion to Borodin's Polovtsian Dances
   Palette drawn from the steppe at dusk and Roerich's 1909
   designs for the Ballets Russes: vast night-violet sky, hot
   ochre-gold horizon, poppy/oxblood textiles, sand parchment,
   deep grass green.
   ============================================================ */

:root {
  color-scheme: light;

  /* Sand / parchment neutrals */
  --sand-0: #F6EDD8;
  --sand-1: #EFE3C6;
  --sand-2: #E4D3AA;
  --sand-3: #CFB984;
  --sand-4: #B79E68;

  /* Ink / sepia */
  --ink-900: #211710;
  --ink-700: #382A1D;
  --ink-500: #5A4936;
  --ink-300: #877358;

  /* Steppe night (violet-blue) */
  --night-900: #1B1730;
  --night-800: #252040;
  --night-700: #322B55;
  --night-500: #4C4377;
  --moon-300: #CFC9DE;

  /* Hot gold (the horizon) */
  --gold-900: #80591A;
  --gold-700: #A87B23;
  --gold-500: #C7A035;
  --gold-300: #E0BF6E;
  --gold-150: #F0DCA8;

  /* Poppy / oxblood (Polovtsian textiles) */
  --poppy-900: #58150F;
  --poppy-700: #84291B;
  --poppy-500: #A63A24;
  --poppy-300: #C75E40;

  /* Steppe grass */
  --grass-900: #1F2B1A;
  --grass-700: #34472B;
  --grass-500: #51663F;
  --grass-300: #7E9362;

  /* Bone on dark */
  --bone-100: #F0E9D8;
  --bone-300: #D9CDB2;

  /* Semantic aliases */
  --surface: var(--sand-1);
  --surface-raised: var(--sand-0);
  --surface-tint: var(--sand-2);
  --surface-night: var(--night-900);

  --text-ink: var(--ink-700);
  --text-strong: var(--ink-900);
  --text-muted: var(--ink-500);
  --text-faint: var(--ink-300);
  --text-on-dark: var(--bone-100);
  --text-on-dark-muted: #B5AA90;

  --accent-gold: var(--gold-700);
  --accent-poppy: var(--poppy-700);
  --accent-grass: var(--grass-700);
  --accent-night: var(--night-700);

  --rule-fine: var(--ink-300);

  /* Typography — chosen for full Cyrillic support */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'EB Garamond', Garamond, Georgia, serif;
  --font-engrave: 'Forum', 'Playfair Display', Georgia, serif;

  --leading-tight: 1.05;
  --leading-snug: 1.2;
  --leading-body: 1.55;
  --leading-prose: 1.68;

  --measure-prose: 64ch;

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6rem;

  --radius-card: 6px;
  --shadow-card: 0 1px 2px rgba(33, 23, 16, 0.10), 0 8px 28px rgba(33, 23, 16, 0.10);
  --header-h: 56px;
}

/* ---------- Reset & base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--surface);
  background-image:
    radial-gradient(ellipse 1200px 500px at 50% -120px, rgba(199, 160, 53, 0.10), transparent 70%),
    repeating-linear-gradient(0deg, transparent 0 3px, rgba(33, 23, 16, 0.012) 3px 4px);
  color: var(--text-ink);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text-strong);
  line-height: var(--leading-snug);
  margin: 0 0 0.5em;
  font-weight: 600;
}

p { margin: 0 0 1em; }

a { color: var(--accent-poppy); text-decoration-color: rgba(132, 41, 27, 0.4); text-underline-offset: 2px; }
a:hover { color: var(--poppy-500); }

/* Cyrillic must stay upright — italic Cyrillic letterforms would
   contradict the page's own advice to the reader. */
[lang="ru"] { font-style: normal; }

img, iframe { max-width: 100%; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--night-900);
  color: var(--bone-100);
  padding: 10px 18px;
  z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(27, 23, 48, 0.97);
  color: var(--bone-100);
  border-bottom: 1px solid rgba(224, 191, 110, 0.25);
}

.nav-shell {
  max-width: 1200px;
  margin: 0 auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  padding: 0 var(--space-3);
}

.brand-mark {
  font-family: var(--font-engrave);
  font-size: 1.02rem;
  letter-spacing: 0.06em;
  color: var(--gold-300);
  text-decoration: none;
  white-space: nowrap;
}
.brand-mark:hover { color: var(--gold-150); }

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(224, 191, 110, 0.5);
  color: var(--gold-300);
  font-family: var(--font-engrave);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: 3px;
  cursor: pointer;
}

.site-nav { display: flex; gap: clamp(10px, 2vw, 26px); flex-wrap: wrap; }

.site-nav a {
  color: var(--bone-300);
  text-decoration: none;
  font-family: var(--font-engrave);
  font-size: 0.86rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
}
.site-nav a:hover { color: var(--gold-150); border-bottom-color: var(--gold-500); }

/* The promise made visible: a gold line that fills as you scroll. */
.journey-bar {
  height: 3px;
  background: rgba(224, 191, 110, 0.14);
}
.journey-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-700), var(--gold-300));
  box-shadow: 0 0 8px rgba(224, 191, 110, 0.6);
}

@media (max-width: 760px) {
  .menu-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--night-900);
    border-bottom: 1px solid rgba(224, 191, 110, 0.3);
    flex-direction: column;
    gap: 0;
    padding: var(--space-2) var(--space-3) var(--space-3);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 10px 0; border-bottom: 1px solid rgba(240, 233, 216, 0.08); }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 150% 100% at 50% 120%, rgba(199, 135, 59, 0.85) 0%, rgba(138, 74, 44, 0.55) 30%, transparent 62%),
    linear-gradient(180deg, var(--night-900) 0%, var(--night-800) 38%, var(--night-700) 62%, #6B4A4A 84%, #9C6238 100%);
  color: var(--text-on-dark);
  padding: clamp(72px, 12vh, 140px) var(--space-3) clamp(64px, 10vh, 120px);
}

.hero-sky {
  position: absolute;
  inset: 0;
  pointer-events: none;
  user-select: none;
}

.hero-glyph {
  position: absolute;
  font-family: var(--font-display);
  font-weight: 700;
  color: rgba(224, 191, 110, 0.07);
  line-height: 1;
}
.hero-glyph.g1 { font-size: clamp(9rem, 24vw, 22rem); top: -4%; left: 2%; transform: rotate(-8deg); }
.hero-glyph.g2 { font-size: clamp(6rem, 15vw, 14rem); top: 38%; left: 16%; transform: rotate(5deg); color: rgba(207, 201, 222, 0.05); }
.hero-glyph.g3 { font-size: clamp(7rem, 18vw, 17rem); top: 6%; right: 14%; transform: rotate(7deg); }
.hero-glyph.g4 { font-size: clamp(5rem, 13vw, 12rem); bottom: 10%; right: 4%; transform: rotate(-6deg); color: rgba(207, 201, 222, 0.06); }
.hero-glyph.g5 { font-size: clamp(8rem, 20vw, 19rem); bottom: -8%; left: 38%; transform: rotate(3deg); color: rgba(224, 191, 110, 0.05); }
.hero-glyph.g6 { font-size: clamp(5rem, 12vw, 11rem); top: 52%; right: 30%; transform: rotate(-10deg); color: rgba(224, 191, 110, 0.06); }

.hero-panel {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  font-family: var(--font-engrave);
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin: 0 0 var(--space-2);
}
.hero .eyebrow { color: var(--gold-300); }

.hero h1 {
  font-size: clamp(3.4rem, 11vw, 6.8rem);
  font-weight: 700;
  color: var(--gold-150);
  letter-spacing: 0.02em;
  margin-bottom: 0.1em;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35);
}

.hero-translit {
  font-family: var(--font-engrave);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: var(--moon-300);
  margin-bottom: var(--space-3);
}

.subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  color: var(--bone-100);
  font-style: italic;
  margin-bottom: var(--space-2);
}

.supporting-line {
  max-width: 620px;
  margin: 0 auto var(--space-3);
  color: var(--text-on-dark-muted);
  font-size: 1.05rem;
  line-height: var(--leading-prose);
}

.button-row { display: flex; gap: var(--space-2); justify-content: center; flex-wrap: wrap; }

.button {
  display: inline-block;
  font-family: var(--font-engrave);
  font-size: 0.92rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--night-900);
  background: linear-gradient(180deg, var(--gold-300), var(--gold-500));
  border: 1px solid var(--gold-700);
  padding: 13px 28px;
  border-radius: 3px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}
.button:hover { background: linear-gradient(180deg, var(--gold-150), var(--gold-300)); color: var(--night-900); }

.button.secondary {
  background: transparent;
  color: var(--gold-300);
  border-color: rgba(224, 191, 110, 0.55);
  box-shadow: none;
}
.button.secondary:hover { color: var(--gold-150); border-color: var(--gold-300); background: rgba(224, 191, 110, 0.08); }

.hero-note {
  margin-top: var(--space-3);
  font-size: 0.92rem;
  font-style: italic;
  color: var(--text-on-dark-muted);
}

/* ---------- Sequence strip ---------- */

.sequence-strip {
  background: var(--night-800);
  border-top: 1px solid rgba(224, 191, 110, 0.2);
  border-bottom: 1px solid rgba(224, 191, 110, 0.2);
}

.sequence-strip nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px var(--space-3);
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px 14px;
  flex-wrap: wrap;
  font-family: var(--font-engrave);
  font-size: 0.84rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sequence-strip span:first-child { color: var(--text-on-dark-muted); margin-right: 6px; }
.sequence-strip .num { color: var(--gold-500); }
.sequence-strip .sep { color: rgba(224, 191, 110, 0.4); }
.sequence-strip a { color: var(--bone-300); text-decoration: none; border-bottom: 1px solid transparent; }
.sequence-strip a:hover { color: var(--gold-150); border-bottom-color: var(--gold-500); }

/* ---------- Sections ---------- */

.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-6) var(--space-3) var(--space-5);
}

.section-header { max-width: 760px; margin: 0 auto var(--space-4); text-align: center; }

.section-header h2 { font-size: clamp(1.9rem, 4.5vw, 2.9rem); }

.lede {
  font-size: 1.18rem;
  line-height: var(--leading-prose);
  color: var(--text-muted);
}

.prose p { max-width: var(--measure-prose); }
.prose { line-height: var(--leading-prose); }
.prose h3 {
  font-size: 1.35rem;
  margin-top: 1.4em;
  color: var(--accent-poppy);
}
.prose h3:first-child { margin-top: 0; }

/* ---------- Paper cards ---------- */

.paper-card {
  background: var(--surface-raised);
  border: 1px solid rgba(135, 115, 88, 0.35);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: clamp(24px, 4vw, 44px);
}

/* ---------- Quiet (promise / coda) sections ---------- */

.quiet-section {
  background:
    linear-gradient(180deg, rgba(33, 23, 16, 0.035), transparent 120px),
    var(--surface-tint);
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.quiet-inner { max-width: 860px; margin: 0 auto; padding: 0 var(--space-3); }

/* The promise strip: one paragraph, spoken once, before the story. */
.promise {
  max-width: 720px;
  margin: 0 auto;
  padding: var(--space-5) var(--space-3) 0;
}
.promise p {
  font-size: 1.12rem;
  line-height: var(--leading-prose);
  color: var(--text-muted);
  font-style: italic;
  border-left: 3px solid var(--gold-500);
  padding-left: var(--space-3);
  margin: 0;
}

/* The theatre poster — the hero’s dominant visual. */
.hero-poster-figure {
  margin: var(--space-3) auto var(--space-4);
  max-width: min(960px, 100%);
  text-align: center;
}
.hero-poster-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1672 / 941;
  border-radius: 4px;
  border: 1px solid rgba(224, 191, 110, 0.28);
  box-shadow:
    0 1px 0 rgba(240, 220, 168, 0.10) inset,
    0 2px 6px rgba(0, 0, 0, 0.35),
    0 24px 70px rgba(0, 0, 0, 0.55);
}
.hero-poster-figure figcaption {
  margin: var(--space-2) auto 0;
  max-width: 52ch;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-on-dark-muted);
}

/* ---------- The reveal moments (Бородин, КНЯЗЬ ИГОРЬ) ---------- */

.moment {
  margin: var(--space-3) 0;
  padding: var(--space-3);
  text-align: center;
  background: linear-gradient(180deg, rgba(27, 23, 48, 0.04), rgba(27, 23, 48, 0.08));
  border: 1px solid rgba(76, 67, 119, 0.3);
  border-radius: 4px;
}

.moment-label {
  font-family: var(--font-engrave);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-night);
  margin: 0 auto 10px;
  max-width: 56ch;
}

.moment-ru {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 7vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--night-700);
  letter-spacing: 0.04em;
  margin: 0 0 10px;
  cursor: pointer;
}
.moment-ru:hover { color: var(--poppy-700); }

.moment-note { margin: 0 auto; color: var(--text-muted); font-size: 1.02rem; max-width: 56ch; }

/* ---------- Cyrillic letters wandering into the English ---------- */

.cy, .hy {
  color: var(--accent-poppy);
  font-style: normal;
  cursor: pointer;
}

/* ---------- The letters map (coda) ---------- */

.letters-map {
  margin: var(--space-3) 0;
  border: 1px dashed rgba(135, 115, 88, 0.55);
  border-radius: 4px;
  padding: 12px 18px;
}
.letters-map summary {
  cursor: pointer;
  font-family: var(--font-engrave);
  font-size: 0.86rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-gold);
}
.letters-map summary:hover { color: var(--gold-900); }
.letters-map-body { padding-top: var(--space-2); text-align: center; }

.alpha-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: var(--space-2) 0;
}

.al {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  border-radius: 3px;
  border: 1px solid rgba(135, 115, 88, 0.4);
  background: var(--surface);
  color: var(--text-strong);
}

.al.unmet { opacity: 0.28; border-style: dashed; }

.alpha-note { max-width: 68ch; margin: 0 auto; color: var(--text-muted); font-size: 1.02rem; }

/* ---------- The weave (Part II) ---------- */

.steppe-section {
  max-width: none;
  background:
    radial-gradient(ellipse 900px 300px at 50% 0%, rgba(199, 160, 53, 0.12), transparent 70%),
    linear-gradient(180deg, var(--sand-2), var(--sand-1) 280px);
  padding-left: 0;
  padding-right: 0;
}

.steppe-section .section-header,
.steppe-section .weave { padding-left: var(--space-3); padding-right: var(--space-3); }

.weave {
  max-width: 740px;
  margin: 0 auto;
  font-size: 1.2rem;
}

.weave p {
  max-width: none;
  margin-bottom: 1.5em;
}

/* A new Russian word: gold-underlined, with its gloss riding beside it. */
.w {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--night-700);
  border-bottom: 2px solid var(--gold-500);
  cursor: pointer;
  white-space: nowrap;
  padding-bottom: 1px;
}
.w:hover { color: var(--poppy-700); border-bottom-color: var(--poppy-500); }

.g {
  font-size: 0.78em;
  font-style: italic;
  color: var(--text-faint);
}
.g::before { content: " ("; }
.g::after { content: ")"; }

/* A returning Russian word or phrase: familiar now, no gloss. */
.r {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--night-700);
  cursor: pointer;
}
.r:hover { color: var(--poppy-700); }

.weave-final {
  border-top: 1px dashed rgba(135, 115, 88, 0.6);
  padding-top: var(--space-3);
}

/* ---------- The song (Part III): verse scenes ---------- */

.scenes { background: transparent; }
.scenes > .section { padding-bottom: var(--space-2); }

.verse {
  max-width: 1200px;
  margin: 0 auto var(--space-5);
  padding: 0 var(--space-3);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: var(--space-4);
  align-items: start;
}

.verse:nth-of-type(even) .verse-plate { order: 2; }
@media (max-width: 900px) {
  .verse { grid-template-columns: 1fr; gap: var(--space-3); }
  .verse:nth-of-type(even) .verse-plate { order: 0; }
}

.verse-plate {
  background: var(--night-900);
  background-image: radial-gradient(ellipse 120% 90% at 50% 110%, rgba(199, 135, 59, 0.28), transparent 60%);
  color: var(--bone-100);
  border-radius: var(--radius-card);
  border: 1px solid rgba(224, 191, 110, 0.35);
  box-shadow: var(--shadow-card);
  padding: clamp(24px, 4vw, 40px);
}

.verse-number {
  font-family: var(--font-engrave);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin-bottom: var(--space-2);
}

.verse-ru p {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.2vw, 1.75rem);
  line-height: 1.5;
  color: var(--bone-100);
  margin: 0 0 0.35em;
  cursor: pointer;
}
.verse-ru p:hover { color: var(--gold-150); }

.verse-aid {
  margin-top: var(--space-2);
  border-top: 1px solid rgba(224, 191, 110, 0.25);
  padding-top: 10px;
}

.verse-aid summary {
  cursor: pointer;
  font-family: var(--font-engrave);
  font-size: 0.84rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-300);
}
.verse-aid summary:hover { color: var(--gold-150); }

.aid-body { padding: 12px 0 4px; color: var(--moon-300); font-size: 1rem; }
.aid-body p { margin-bottom: 0.4em; letter-spacing: 0.03em; }
.aid-note { font-style: italic; color: var(--text-on-dark-muted); font-size: 0.9rem; margin-top: 0.6em; }

.interlinear { display: flex; flex-wrap: wrap; gap: 8px 10px; }

.il {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: rgba(240, 233, 216, 0.07);
  border: 1px solid rgba(224, 191, 110, 0.22);
  border-radius: 3px;
  padding: 5px 9px;
}
.il b { font-family: var(--font-display); font-weight: 600; color: var(--bone-100); font-size: 1.02rem; cursor: pointer; }
.il b:hover { color: var(--gold-150); }
.il i { font-size: 0.78rem; color: var(--text-on-dark-muted); font-style: italic; }

.verse-copy h3 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); color: var(--text-strong); }

/* ---------- The whole song (night section) ---------- */

.night-section {
  max-width: none;
  background:
    radial-gradient(ellipse 160% 100% at 50% 125%, rgba(199, 135, 59, 0.5) 0%, rgba(138, 74, 44, 0.25) 35%, transparent 65%),
    linear-gradient(180deg, var(--night-900), var(--night-800));
  color: var(--text-on-dark);
  padding-left: var(--space-3);
  padding-right: var(--space-3);
}

.section-header.on-dark h2 { color: var(--gold-150); }
.section-header.on-dark .lede { color: var(--moon-300); }
.section-header.on-dark .eyebrow { color: var(--gold-300); }

.full-song {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: var(--space-3) 0;
}

.fs-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  color: var(--gold-150);
  margin-bottom: 0.2em;
}

.fs-sub {
  font-family: var(--font-engrave);
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
  margin-bottom: var(--space-4);
}

.fs-verse { margin-bottom: var(--space-3); }

.fs-verse p {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3.4vw, 1.7rem);
  line-height: 1.65;
  color: var(--bone-100);
  margin: 0;
  cursor: pointer;
}
.fs-verse p:hover { color: var(--gold-150); }

.full-check {
  max-width: 760px;
  margin: var(--space-3) auto 0;
  border: 1px solid rgba(224, 191, 110, 0.3);
  border-radius: var(--radius-card);
  background: rgba(27, 23, 48, 0.55);
  padding: 14px 20px;
}

.full-check summary {
  cursor: pointer;
  font-family: var(--font-engrave);
  font-size: 0.88rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-300);
  text-align: center;
}
.full-check summary:hover { color: var(--gold-150); }

.check-grid { padding: var(--space-2) 0 6px; display: grid; gap: 6px; }

.check-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: baseline;
}
.check-row span[lang="ru"] { font-family: var(--font-display); color: var(--bone-100); }
.check-row span:last-child { color: var(--text-on-dark-muted); font-style: italic; }
.check-row.spacer { height: 10px; }

@media (max-width: 640px) {
  .check-row { grid-template-columns: 1fr; gap: 0; margin-bottom: 8px; }
}

/* ---------- Listen ---------- */

.watch-plate {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: var(--space-3);
  align-items: start;
}

@media (max-width: 900px) { .watch-plate { grid-template-columns: 1fr; } }

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--night-900);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(135, 115, 88, 0.4);
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.listening-panel {
  background: var(--surface-raised);
  border: 1px solid rgba(135, 115, 88, 0.35);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: var(--space-3);
  margin-bottom: var(--space-2);
}

.listening-panel h4 {
  font-family: var(--font-engrave);
  font-size: 0.86rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-poppy);
}

.listening-panel ul { margin: 0; padding-left: 1.2em; }
.listening-panel li { margin-bottom: 0.6em; font-size: 1.02rem; }

.watch-credit {
  background: var(--surface-raised);
  border: 1px solid rgba(135, 115, 88, 0.35);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: var(--space-3);
}

.watch-credit-label {
  font-family: var(--font-engrave);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin: 0 0 6px;
}
.watch-credit-text + .watch-credit-label { margin-top: var(--space-2); }

.watch-credit-text { font-size: 0.98rem; color: var(--text-muted); }

.alt-list { margin: 0; padding-left: 1.2em; }
.alt-list li { margin-bottom: 0.5em; font-size: 0.98rem; }

.kismet-card { max-width: 860px; margin: var(--space-4) auto 0; }
.kismet-card h3 { margin-top: 0; }

/* ---------- Coda ---------- */

.coda-card h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); }

.coda-sendoff {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 4.5vw, 2.3rem);
  text-align: center;
  color: var(--accent-poppy);
  margin: var(--space-3) 0 0;
  cursor: pointer;
}
.coda-sendoff:hover { color: var(--poppy-500); }

/* ---------- Credits & footer ---------- */

.credits .credit-list {
  max-width: 860px;
  margin: 0 auto;
  padding-left: 1.2em;
}
.credits .credit-list li { margin-bottom: 0.8em; font-size: 1rem; color: var(--text-muted); }

.site-footer {
  background: var(--night-900);
  color: var(--text-on-dark-muted);
  text-align: center;
  padding: var(--space-4) var(--space-3);
  font-size: 0.95rem;
}
.site-footer a { color: var(--gold-300); }
.site-footer p { margin-bottom: 0.4em; }

/* ---------- Small-screen comfort ---------- */

@media (max-width: 640px) {
  body { font-size: 1.06rem; }
  .section { padding-top: var(--space-5); padding-bottom: var(--space-4); }
  .letter-tile { min-width: 84px; }
  .weave { font-size: 1.1rem; }
}
