/* Токены «Пространства „Наследие. ПМЭФ“». Палитра и типографика — из презентации проекта
   (измерено по PDF: фон #05152b, кремовый #f4f0e9, приглушённый #bccbdb, золото #d8b887, голубой #91d6f5, линейка #30465e).
   Антиква отвечает за смысл, гротеск — за служебное. Золота на экране должно быть мало. */
@font-face{font-family:"Cormorant Garamond";font-style:normal;font-weight:500 700;font-display:swap;src:url(../fonts/cormorant-cyrillic.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Cormorant Garamond";font-style:normal;font-weight:500 700;font-display:swap;src:url(../fonts/cormorant-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Cormorant Garamond";font-style:italic;font-weight:500 600;font-display:swap;src:url(../fonts/cormorant-italic-cyrillic.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Cormorant Garamond";font-style:italic;font-weight:500 600;font-display:swap;src:url(../fonts/cormorant-italic-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/inter-regular.woff2) format("woff2")}
@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/inter-medium.woff2) format("woff2")}
@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/inter-semibold.woff2) format("woff2")}

:root{
  /* «архивный космос» — тема по умолчанию, как в презентации */
  --bg:#05152b; --surface-0:#05152b; --surface-1:#081b34; --surface-2:#0c2342; --surface-3:#123055;
  --glass:#081b34e6; --glass-hi:#ffffff14; --panel:#061429f7; --scrim:#020a18e0;
  --text-1:#f4f0e9; --text-2:#bccbdb; --text-3:#8496ad;
  --stone:#eee7db; --stone-2:#cfc4b2;
  --gold:#d8b887; --gold-hi:#e8c98a; --gold-warm:#e8c98a; --sky:#91d6f5; --sky-soft:#9fd6f5;
  --rule:#30465e; --partner-red:#a50a32;
  --accent:var(--gold); --accent-hi:var(--gold-warm); --accent-soft:#d8b8871f; --accent-line:#d8b88773; --accent-ink:#0a1524;
  --accent-fill:linear-gradient(135deg,#e8c98a,#d8b887);
  --line:#30465e88; --line-2:#30465ecc; --focus:#e8c98a;
  --font-d:"Cormorant Garamond",Georgia,"Times New Roman",serif;
  --font-b:Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --r-1:2px; --r-2:3px; --r-3:4px;
  --shadow:0 24px 60px #01060fcc;
  --ease:cubic-bezier(.2,.7,.2,1);
}
/* «читальный зал» — светлая тема: бумага, сепия, тот же порядок */
[data-theme="dawn"]{
  --bg:#f4efe6; --surface-0:#f4efe6; --surface-1:#faf6ee; --surface-2:#fffdf8; --surface-3:#ece5d7;
  --glass:#faf6eef2; --glass-hi:#00000010; --panel:#fffdf8f7; --scrim:#2a2118cc;
  --text-1:#12213a; --text-2:#33465e; --text-3:#5f7088;
  --gold:#8a6432; --gold-hi:#6f4f26; --accent:#8a6432; --accent-hi:#6f4f26; --accent-soft:#8a64321a; --accent-line:#8a643266; --accent-ink:#fff;
  --accent-fill:linear-gradient(135deg,#9c7339,#8a6432);
  --sky:#1a6a8a; --rule:#cbbfa8; --line:#12213a26; --line-2:#12213a3d; --focus:#8a6432; --shadow:0 24px 50px #2a211822;
}
/* в презентации нет арок и скруглений: только прямоугольники и волосяные линейки */
.arch{clip-path:none}
.hex{clip-path:none}
