@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/golos-text-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/golos-text-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/golos-text-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/golos-text-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Unbounded;
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("fonts/unbounded-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: Unbounded;
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("fonts/unbounded-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: Unbounded;
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("fonts/unbounded-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #efece6;
  --ink: #17191a;
  --muted: #5e6468;
  --line: #d7d2c8;
  --red: #9d2218;
  --paper: #f7f6f2;
  --night: #121416;
  --night-text: #f4f0e8;
  --display: Unbounded, "Arial Narrow", Impact, sans-serif;
  --sans: "Golos Text", "Segoe UI", sans-serif;
  --header: 4.1rem;
  --max: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 0.8rem);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.6;
  font-weight: 400;
}

a { color: var(--red); text-underline-offset: 0.16em; }
a:hover { color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.8rem;
  top: -3rem;
  background: var(--paper);
  padding: 0.4rem 0.7rem;
  z-index: 20;
}
.skip:focus { top: 0.6rem; }

.topbar {
  background: var(--night);
  color: var(--night-text);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 8;
  background: rgba(239, 236, 230, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(var(--max), calc(100% - 1.5rem));
  margin: 0 auto;
  min-height: var(--header);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  color: inherit;
  text-decoration: none;
  margin-right: auto;
}
.brand strong {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.04em;
  display: block;
}
.brand span {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.desktop-nav { display: flex; gap: 1rem; }
.desktop-nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.desktop-nav a:hover { color: var(--red); }

.nav-fold { display: none; }

.wrap {
  width: min(var(--max), calc(100% - 1.5rem));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 1.5rem;
  padding: 2.2rem 0 1.4rem;
  align-items: end;
}

h1, h2, h3 { font-family: var(--display); font-weight: 500; letter-spacing: -0.045em; line-height: 0.98; scroll-margin-top: calc(var(--header) + 0.9rem); }

h1 { margin: 0.2rem 0 0.8rem; font-size: clamp(2.7rem, 7vw, 5.4rem); font-weight: 700; }

.kicker {
  margin: 0;
  color: var(--red);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.lede { font-size: 1.15rem; max-width: 40rem; margin-top: 0; }

.ticket {
  background: var(--night);
  color: var(--night-text);
  padding: 1rem 1rem 0.4rem;
  display: grid;
  gap: 0;
}
.ticket div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(244, 240, 232, 0.18);
  padding: 0.75rem 0;
  font-size: 0.95rem;
}
.ticket div:first-child { border-top: 0; }
.ticket b { font-family: var(--display); font-weight: 500; font-size: 1.15rem; }

.actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1rem 0 0; }
.btn {
  display: inline-block;
  text-decoration: none;
  background: var(--ink);
  color: var(--bg);
  padding: 0.7rem 1rem;
  font-weight: 600;
}
.btn.line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn:hover { background: var(--red); color: white; }

.note, .warn {
  background: var(--paper);
  border-left: 4px solid var(--red);
  padding: 0.8rem 1rem;
  margin: 1.2rem 0;
}

h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); margin: 0 0 0.6rem; }
h3 { font-size: 1.15rem; margin: 0 0 0.35rem; }

.block { padding: 2rem 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header) + 0.4rem); }

.menu {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 2.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.menu a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0.2rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}
.menu a:hover { color: var(--red); }
.menu small { color: var(--muted); font-weight: 400; }

.service p, .prose p, .district p { max-width: 68ch; }
.service { padding: 1.6rem 0; border-top: 1px solid var(--line); }
.alias {
  margin: 0 0 0.35rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.ledger { margin-top: 0.5rem; }
.district {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 0.4rem 1.2rem;
  padding: 0.95rem 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--header) + 0.6rem);
}
.district h3 { font-size: 1rem; padding-top: 0.15rem; }

.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0; margin: 0.8rem 0 0; list-style: none; }
.chips a {
  text-decoration: none;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 0.28rem 0.5rem;
  font-size: 0.92rem;
}
.chips a:hover { border-color: var(--red); color: var(--red); }

details.qa { border-top: 1px solid var(--line); padding: 0.75rem 0; }
details.qa summary { cursor: pointer; font-weight: 600; }
details.qa summary h3 { display: inline; font-family: var(--sans); font-size: 1.05rem; letter-spacing: 0; font-weight: 600; }
details.qa summary::-webkit-details-marker { color: var(--red); }

.ask {
  background: var(--night);
  color: var(--night-text);
  padding: 1.3rem 1.1rem;
  margin: 1rem 0 2rem;
}
.ask h2 { color: white; }
.ask p { color: rgba(244, 240, 232, 0.86); max-width: 65ch; }
.slip {
  white-space: pre-wrap;
  font-family: var(--sans);
  background: transparent;
  border: 1px dashed rgba(244, 240, 232, 0.35);
  padding: 0.8rem;
  color: white;
}

footer {
  border-top: 1px solid var(--line);
  padding: 1.4rem 0 2rem;
  color: var(--muted);
  font-size: 0.92rem;
}
footer a { color: var(--ink); }

@media (max-width: 800px) {
  .hero, .menu, .district { grid-template-columns: 1fr; }
  .desktop-nav { display: none; }
  .nav-fold { display: block; margin-left: auto; }
  .nav-fold summary { cursor: pointer; font-weight: 600; list-style: none; }
  .nav-fold summary::-webkit-details-marker { display: none; }
  .nav-fold a { display: block; padding: 0.45rem 0; color: var(--ink); text-decoration: none; }
  .topbar { letter-spacing: 0.06em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
