/* warpg.ru — one stylesheet, no web fonts, no frameworks. Palette: night, ash and ember. */
:root {
  --bg: #16110d; --bg2: #1f1812; --card: #261d16; --line: #3a2d22;
  --text: #e9dfd2; --muted: #b3a493; --gold: #e0a64a; --ember: #d0642c; --link: #f0bf6a;
  --serif: Georgia, "Times New Roman", "PT Serif", serif;
  --sans: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --w: 1080px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.65 var(--sans); }
a { color: var(--link); text-underline-offset: 2px; }
a:hover { color: #ffd88f; }
img { max-width: 100%; height: auto; }
.wrap { max-width: var(--w); margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: var(--gold); color: #000; padding: 6px 10px; z-index: 9; }

/* header */
.top { position: sticky; top: 0; z-index: 5; background: rgba(22, 17, 13, .94); border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px); }
.top-in { display: flex; align-items: center; gap: 16px; height: 60px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none;
  font: 700 19px/1 var(--serif); letter-spacing: .3px; white-space: nowrap; }
.logo img { width: 36px; height: 36px; }
.nav-wide { margin-left: auto; }
.menu { display: none; }
.menu summary { list-style: none; cursor: pointer; display: none; width: 40px; height: 40px; position: relative; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span, .menu summary span::before, .menu summary span::after { position: absolute; left: 9px; width: 22px;
  height: 2px; background: var(--text); content: ""; }
.menu summary span { top: 19px; } .menu summary span::before { top: -7px; left: 0; } .menu summary span::after { top: 7px; left: 0; }
.nav { display: flex; gap: 4px 18px; flex-wrap: wrap; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.nav a:hover, .nav a[aria-current] { color: var(--text); }
.btn { display: inline-block; border-radius: 6px; padding: 10px 20px; font-weight: 700; text-decoration: none;
  background: linear-gradient(#e8a24a, #c4692a); color: #1b0f05; box-shadow: 0 2px 0 #7a3b14; }
.btn:hover { color: #000; filter: brightness(1.08); }
.btn-top { padding: 7px 14px; font-size: 15px; }
@media (max-width: 900px) {
  .nav-wide { display: none; }
  .menu { display: block; }
  .menu summary { display: block; }
  .menu[open] .nav { position: absolute; left: 0; right: 0; top: 60px; display: flex; flex-direction: column; gap: 0;
    background: var(--bg2); border-bottom: 1px solid var(--line); padding: 8px 16px 14px; }
  .menu[open] .nav a { padding: 10px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .btn-top { order: 2; }
  .menu { order: 3; margin-left: 0; }
  .logo { margin-right: auto; }
}
@media (max-width: 380px) { .logo span { font-size: 16px; } }

/* page */
main { padding-bottom: 48px; }
.crumbs { font-size: 14px; color: var(--muted); margin: 18px 0 0; }
.crumbs a { color: var(--muted); }
.page { max-width: 760px; }
.home .page, .hub .page { max-width: none; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.25; color: #f4e7d4; }
h1 { font-size: clamp(30px, 5vw, 44px); margin: 18px 0 14px; }
h2 { font-size: clamp(23px, 3.2vw, 30px); margin: 40px 0 12px; }
h3 { font-size: 21px; margin: 28px 0 8px; }
p, ul, ol { margin: 0 0 16px; }
li { margin: 4px 0; }
.meta { color: var(--muted); font-size: 14px; margin-top: -6px; }
.lead { font-size: 19px; color: #f1e6d8; }
.answer { background: var(--card); border-left: 3px solid var(--gold); padding: 14px 18px; margin: 0 0 24px;
  border-radius: 0 6px 6px 0; }
.hero-img img, figure img { border-radius: 8px; display: block; }
figure { margin: 24px 0; }
figcaption { color: var(--muted); font-size: 14px; margin-top: 6px; }
blockquote { margin: 20px 0; padding: 4px 18px; border-left: 3px solid var(--ember); color: #e6d6c2;
  font-family: var(--serif); font-size: 19px; }
table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 15.5px; }
.tbl { overflow-x: auto; }
th, td { text-align: left; vertical-align: top; padding: 9px 10px; border-bottom: 1px solid var(--line); }
th { color: var(--gold); font-weight: 600; background: var(--bg2); }
code { background: var(--card); padding: 1px 5px; border-radius: 4px; }
.note { color: var(--muted); font-size: 15px; }

/* cards */
.cards { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.cards li { margin: 0; }
.cards a { display: flex; flex-direction: column; height: 100%; background: var(--card); border: 1px solid var(--line);
  border-radius: 8px; overflow: hidden; text-decoration: none; color: var(--text); }
.cards a:hover { border-color: var(--gold); }
.cards img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.card-t { font: 700 19px/1.3 var(--serif); padding: 12px 14px 4px; color: #f4e7d4; }
.cards time { padding: 0 14px; color: var(--muted); font-size: 13px; }
.card-d { padding: 4px 14px 14px; color: var(--muted); font-size: 15px; }

/* home */
.splash { position: relative; margin: 0 -16px; min-height: 460px; display: flex; align-items: flex-end;
  background: #0d0a08 center/cover no-repeat; border-bottom: 1px solid var(--line); }
.splash img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.splash-in { position: relative; padding: 48px 16px 40px; max-width: 760px; }
.splash h1 { margin-top: 0; text-shadow: 0 2px 12px #000; }
.splash p { font-size: 19px; text-shadow: 0 1px 8px #000; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin: 28px 0; }
.facts div { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; }
.facts b { display: block; font-family: var(--serif); color: var(--gold); font-size: 18px; margin-bottom: 4px; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
@media (max-width: 760px) { .duo { grid-template-columns: 1fr; } .splash { min-height: 420px; } }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.gallery figure { margin: 0; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 28px 0; }
.btn-play { font-size: 18px; padding: 13px 26px; }
.cta-note { color: var(--muted); font-size: 14px; }

/* faq, related */
.faq details { border-bottom: 1px solid var(--line); padding: 10px 0; }
.faq summary { cursor: pointer; font-weight: 600; color: #f4e7d4; }
.faq details p { margin: 8px 0 4px; }
.related { margin-top: 40px; border-top: 1px solid var(--line); }
.related h2 { font-size: 21px; }

/* footer, consent */
.foot { border-top: 1px solid var(--line); background: #110d0a; color: var(--muted); font-size: 14px; padding: 24px 0 32px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 12px; }
.foot a { color: var(--muted); }
.age { display: inline-block; border: 1px solid var(--muted); border-radius: 4px; padding: 0 5px; margin-right: 6px;
  font-weight: 700; color: var(--text); }
.consent { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 9; max-width: 640px; margin: 0 auto;
  background: var(--bg2); border: 1px solid var(--gold); border-radius: 8px; padding: 14px 16px; font-size: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .6); }
.consent p { margin: 0 0 10px; }
.consent button { font: inherit; cursor: pointer; border-radius: 6px; padding: 7px 14px; margin-right: 8px;
  border: 1px solid var(--line); background: var(--card); color: var(--text); }
.consent button.yes { background: var(--gold); color: #1b0f05; border-color: var(--gold); font-weight: 700; }
