/*
Theme Name: dds_niurestaurant.com
Theme URI: https://niurestaurant.com/
Author: Дмитрий Воронов
Description: Тема аналитического портала о рынке недвижимости и прогнозировании цен. Стиль архитектурного атласа-чертежа: графитовая калька, тонкие чертёжные линии, изумрудная линия прогноза и медные метки.
Version: 1.1
Requires at least: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: niuatlas
*/

/* ---------- Шрифты ---------- */
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/oswald-cyrillic-400-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/oswald-latin-400-normal.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+2190-21FF, U+20AC, U+2122, U+2212, U+2215; }
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/oswald-cyrillic-500-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/oswald-latin-500-normal.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+2190-21FF, U+20AC, U+2122, U+2212, U+2215; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/ibm-plex-sans-cyrillic-400-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/ibm-plex-sans-latin-400-normal.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+2190-21FF, U+20AC, U+2122, U+2212, U+2215; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/ibm-plex-sans-cyrillic-500-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/ibm-plex-sans-latin-500-normal.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+2190-21FF, U+20AC, U+2122, U+2212, U+2215; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/ibm-plex-sans-cyrillic-600-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/ibm-plex-sans-latin-600-normal.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+2190-21FF, U+20AC, U+2122, U+2212, U+2215; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/ibm-plex-mono-cyrillic-400-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/ibm-plex-mono-latin-400-normal.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+2190-21FF, U+20AC, U+2122, U+2212, U+2215; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/ibm-plex-mono-cyrillic-500-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/ibm-plex-mono-latin-500-normal.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+2190-21FF, U+20AC, U+2122, U+2212, U+2215; }

/* ---------- Палитра ---------- */
:root {
    --graphite: #14181C;
    --tracing: #2A3238;
    --blueprint: #1B2530;
    --paper: #E8E2D6;
    --paper-card: #EEE9DF;
    --frame: #3D4A52;
    --night: #0E1114;
    --text: #E6EAED;
    --muted: #8A979F;
    --emerald: #35E0A1;
    --emerald-deep: #1FA877;
    --copper: #E07A3F;
    --paper-ink: #2B3036;
    --paper-muted: #6C757D;
    --flat: #6E7C86;
    --font-head: "Oswald", "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
    --font-text: "IBM Plex Sans", "Segoe UI", Roboto, Arial, sans-serif;
    --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, "Courier New", monospace;
}

/* ---------- Скрытые элементы ---------- */
.cookie-banner[hidden] { display: none !important; }
[hidden] { display: none !important; }

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    overflow-x: hidden;
    background-color: var(--graphite);
    background-image:
        linear-gradient(rgba(42, 50, 56, 0.55) 1px, transparent 1px),
        linear-gradient(90deg, rgba(42, 50, 56, 0.55) 1px, transparent 1px);
    background-size: 40px 40px;
    color: var(--text);
    font-family: var(--font-text);
    font-size: 1rem;
    line-height: 1.65;
    overflow-wrap: break-word;
    -webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; height: auto; }
img { display: block; }

a { color: var(--emerald); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.22em; transition: color 0.2s ease, text-decoration-color 0.2s ease; }
a:hover { color: var(--text); text-decoration-color: var(--emerald); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--emerald);
    outline-offset: 3px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    font-weight: 500;
    line-height: 1.2;
    margin: 1.6em 0 0.6em;
    color: var(--text);
    letter-spacing: 0.02em;
    hyphens: auto;
}
h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.12rem; }

p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.4em; }

.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 100;
    padding: 0.6rem 1rem;
    background: var(--emerald);
    color: var(--graphite);
    font-weight: 600;
    text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* Единый контейнер ширины */
.shell { width: min(92%, 1320px); margin-inline: auto; }

/* ---------- Кнопка-штамп ---------- */
.stamp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6em;
    padding: 0.62rem 1.15rem;
    border: 1px solid var(--text);
    border-radius: 0;
    background: transparent;
    color: var(--text);
    font-family: var(--font-head);
    font-size: 0.98rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    line-height: 1.3;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 3px 3px 0 0 transparent;
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.stamp-btn span { transition: transform 0.2s ease; }
.stamp-btn:hover {
    border-color: var(--emerald);
    color: var(--emerald);
    box-shadow: 3px 3px 0 0 rgba(53, 224, 161, 0.35);
    transform: translate(-1px, -1px);
}
.stamp-btn:hover span { transform: translateX(4px); }
.stamp-btn--sm { padding: 0.45rem 0.85rem; font-size: 0.9rem; }

/* ---------- Шапка ---------- */
.masthead {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    margin-top: 0.9rem;
    border: 1px solid var(--frame);
    background: rgba(20, 24, 28, 0.86);
}
.masthead::before {
    content: "";
    position: absolute;
    inset: 4px;
    border: 1px solid rgba(61, 74, 82, 0.45);
    pointer-events: none;
}
.masthead-brand {
    display: flex;
    align-items: stretch;
    flex: 1 1 auto;
    min-width: 0;
}
.brand-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    padding: 0.9rem 1rem;
    border-right: 1px solid var(--frame);
}
.brand-svg { width: 84px; height: auto; }
.brand-logo { max-height: 64px; width: auto; }
.brand-text {
    min-width: 0;
    padding: 0.85rem 1.1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.brand-name {
    color: var(--text);
    font-family: var(--font-head);
    font-size: 0.98rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    line-height: 1.35;
    text-decoration: none;
    max-width: 46ch;
}
.brand-name:hover { color: var(--emerald); }
.brand-desc {
    margin: 0.35rem 0 0;
    color: var(--muted);
    font-size: 0.76rem;
    line-height: 1.45;
    max-width: 70ch;
}

.nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0.8rem 1rem 0.8rem auto;
    padding: 0.5rem 0.85rem;
    border: 1px solid var(--frame);
    background: transparent;
    color: var(--text);
    font-family: var(--font-head);
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    cursor: pointer;
}
.nav-toggle:hover { border-color: var(--emerald); color: var(--emerald); }
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
    display: block;
    width: 18px;
    height: 1px;
    background: currentColor;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before,
.nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.masthead-nav {
    display: none;
    flex: 1 1 100%;
    border-top: 1px solid var(--frame);
}
.masthead-nav.is-open { display: block; }
.nav-list {
    list-style: none;
    margin: 0;
    padding: 0.4rem 1rem 0.8rem;
}
.nav-list li { margin: 0; }
.nav-list a {
    display: block;
    padding: 0.55rem 0;
    color: var(--text);
    font-family: var(--font-head);
    font-size: 1.05rem;
    letter-spacing: 0.04em;
    text-decoration: none;
    border-bottom: 1px dashed rgba(61, 74, 82, 0.7);
}
.nav-list a:hover,
.nav-list .current-menu-item > a { color: var(--emerald); }

/* ---------- Заголовки секций атласа ---------- */
.atlas-head {
    display: flex;
    align-items: baseline;
    gap: 1.6rem;
    margin: 0 0 2.2rem;
}
.atlas-head::after {
    content: "";
    flex: 1 1 auto;
    min-width: 2rem;
    height: 1px;
    background: var(--frame);
    align-self: center;
    transform: translateY(0.35em);
}
.atlas-num {
    flex: 0 0 auto;
    font-family: var(--font-head);
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--text);
    padding-bottom: 0.1rem;
    border-bottom: 2px solid var(--emerald);
    line-height: 1.1;
}
.atlas-title {
    margin: 0;
    min-width: 0;
    font-family: var(--font-head);
    font-size: clamp(1.15rem, 2.3vw, 1.6rem);
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    line-height: 1.25;
    hyphens: manual;
}
.atlas-head--paper::after { background: rgba(43, 48, 54, 0.45); }
.atlas-head--paper .atlas-num,
.atlas-head--paper .atlas-title { color: var(--paper-ink); }
.atlas-head--paper .atlas-num { border-bottom-color: var(--paper-ink); }

/* ---------- Главная ---------- */
.front-section { padding: 3rem 0; }

.cover {
    position: relative;
    border-bottom: 1px solid var(--frame);
    overflow: hidden;
}
.cover-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    align-items: center;
    padding: 2.6rem 0 0;
}
.cover-text { min-width: 0; position: relative; z-index: 1; }
.cover-title {
    margin: 0 0 1.4rem;
    font-family: var(--font-head);
    font-size: clamp(2.3rem, 5vw, 4rem);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: 0.01em;
}
.cover-lead {
    max-width: 46ch;
    margin: 0 0 1.8rem;
    color: #C9D1D6;
    font-size: 1.06rem;
}
.cover-figure {
    margin: 0;
    min-width: 0;
    position: relative;
}
.cover-figure img {
    width: 100%;
    aspect-ratio: 1600 / 840;
    object-fit: cover;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 100%);
}

/* Шкала прогноза */
.scale-block { border-bottom: 1px solid var(--frame); }
.scale { position: relative; padding-left: 2.2rem; }
.scale-rule {
    position: absolute;
    left: 0.55rem;
    top: 0.3rem;
    bottom: 0.3rem;
    width: 1px;
    background: var(--muted);
}
.scale-rule::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -4px;
    width: 9px;
    background-image: repeating-linear-gradient(180deg, var(--muted) 0 1px, transparent 1px 14px);
    opacity: 0.6;
}
.scale-marks { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.8rem; }
.scale-mark { position: relative; min-width: 0; }
.scale-node {
    position: absolute;
    left: -2.2rem;
    top: 0.3rem;
    width: 1.1rem;
    height: 1.1rem;
    border: 1px solid var(--emerald);
    border-radius: 50%;
    background: var(--graphite);
    box-shadow: 0 0 0 4px var(--graphite);
}
.scale-node::after {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: var(--emerald);
}
.scale-mark.is-down .scale-node { border-color: var(--copper); }
.scale-mark.is-down .scale-node::after { background: var(--copper); }
.scale-name {
    margin: 0 0 0.45rem;
    font-size: 1.32rem;
    font-weight: 400;
    letter-spacing: 0.02em;
}
.scale-note {
    display: flex;
    gap: 0.6rem;
    margin: 0;
    color: #C3CBD0;
    font-size: 0.92rem;
    line-height: 1.45;
}
.scale-arrow {
    flex: 0 0 auto;
    color: var(--emerald);
    font-size: 1.35rem;
    line-height: 1;
}
.scale-mark.is-down .scale-arrow { color: var(--copper); }

/* Бумажная вклейка */
.sheets-block { padding: 3rem 0; }
.paper-inlay {
    position: relative;
    padding: 2.2rem 1.4rem 2.4rem;
    background-color: var(--paper);
    background-image:
        linear-gradient(rgba(43, 48, 54, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(43, 48, 54, 0.05) 1px, transparent 1px);
    background-size: 24px 24px;
    color: var(--paper-ink);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    clip-path: polygon(0 0.5%, 99.4% 0, 100% 99.2%, 0.6% 100%);
}
.paper-inlay::before,
.paper-inlay::after {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    border-color: rgba(43, 48, 54, 0.55);
    border-style: solid;
    pointer-events: none;
}
.paper-inlay::before { top: 10px; right: 12px; border-width: 1px 1px 0 0; }
.paper-inlay::after { bottom: 10px; left: 12px; border-width: 0 0 1px 1px; }
.sheets-more { margin-top: 2rem; text-align: center; }
.stamp-btn--dark { border-color: var(--paper-ink); color: var(--paper-ink); }
.stamp-btn--dark:hover {
    background: var(--paper-ink);
    border-color: var(--paper-ink);
    color: var(--paper);
    box-shadow: 3px 3px 0 0 rgba(53, 224, 161, 0.55);
}
.empty-note { color: var(--muted); font-size: 1rem; }
.paper-inlay .empty-note { color: var(--paper-muted); }

/* Карточки — листы чертежа */
.card-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.6rem;
}
.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    padding: 1rem;
    background-color: var(--paper-card);
    background-image:
        linear-gradient(rgba(43, 48, 54, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(43, 48, 54, 0.045) 1px, transparent 1px);
    background-size: 20px 20px;
    border: 1px solid rgba(43, 48, 54, 0.28);
    color: var(--paper-ink);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover {
    transform: translateY(-4px);
    border-color: rgba(43, 48, 54, 0.6);
    box-shadow: 0 10px 0 -4px rgba(31, 168, 119, 0.55);
}
.card-tick {
    position: absolute;
    width: 14px;
    height: 14px;
    border: 0 solid var(--paper-ink);
    pointer-events: none;
    z-index: 2;
}
.card-tick--tl { top: 6px; left: 6px; border-top-width: 1px; border-left-width: 1px; }
.card-tick--tr { top: 6px; right: 6px; border-top-width: 1px; border-right-width: 1px; }
.card-tick--bl { bottom: 6px; left: 6px; border-bottom-width: 1px; border-left-width: 1px; }
.card-tick--br { bottom: 6px; right: 6px; border-bottom-width: 1px; border-right-width: 1px; }
.card-thumb {
    position: relative;
    margin: 0.4rem 0.4rem 0;
    border-bottom: 1px solid rgba(43, 48, 54, 0.25);
    padding-bottom: 0.8rem;
}
.card-thumb a { display: block; }
.card-thumb img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9.2;
    object-fit: cover;
    mix-blend-mode: multiply;
    filter: saturate(0.9);
    transition: filter 0.25s ease;
}
.card:hover .card-thumb img { filter: saturate(1.1) contrast(1.05); }
.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 0.9rem 0.4rem 0.4rem;
}
.card-sheet {
    display: inline-block;
    margin-bottom: 0.45rem;
    color: var(--copper);
    font-family: var(--font-mono);
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.card-title {
    margin: 0 0 0.55rem;
    font-size: 1.28rem;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: 0.01em;
    color: var(--paper-ink);
}
.card-title a { color: inherit; text-decoration: none; }
.card-title a:hover { color: var(--emerald-deep); text-decoration: underline; text-decoration-color: var(--emerald-deep); }
.card-excerpt {
    flex: 1;
    color: var(--paper-muted);
    font-size: 0.93rem;
    line-height: 1.55;
}
.card-excerpt p { margin: 0 0 0.5em; background: none; }
.card-excerpt a { color: var(--emerald-deep); }
.card-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    margin-top: 0.9rem;
}
.sheet-date {
    color: var(--paper-muted);
    font-family: var(--font-mono);
    font-size: 0.82rem;
}
.card .stamp-btn { border-color: var(--paper-ink); color: var(--paper-ink); }
.card .stamp-btn:hover {
    background: var(--paper-ink);
    color: var(--paper);
    border-color: var(--paper-ink);
    box-shadow: 3px 3px 0 0 rgba(53, 224, 161, 0.55);
}
.sticky .card-sheet::after { content: " · закреплено"; color: var(--emerald-deep); }

/* Разбор по слоям */
.layers {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.6rem;
    align-items: start;
}
.layers-figure {
    position: relative;
    margin: 0;
    max-width: 340px;
    justify-self: center;
}
.layers-figure img { width: 100%; aspect-ratio: 610 / 950; object-fit: cover; }
.layers-leader { display: none; }
.layers-list { min-width: 0; border-top: 1px solid var(--frame); }
.layer-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    border-bottom: 1px solid var(--frame);
}
.layer { min-width: 0; }
.layer-sum {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 1.1rem;
    align-items: center;
    padding: 1rem 0.9rem;
    cursor: pointer;
    list-style: none;
    transition: background-color 0.2s ease;
}
.layer-sum::-webkit-details-marker { display: none; }
.layer-sum::marker { content: ""; }
.layer-sum:hover { background: rgba(27, 37, 48, 0.85); }
.layer-num {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    color: var(--text);
}
.layer-head { display: flex; flex-direction: column; min-width: 0; }
.layer-name {
    font-family: var(--font-head);
    font-size: 1.28rem;
    letter-spacing: 0.04em;
    line-height: 1.3;
}
.layer-brief { color: var(--muted); font-size: 0.88rem; line-height: 1.45; }
.layer-chevron {
    width: 10px;
    height: 10px;
    margin-right: 0.4rem;
    border-right: 1.5px solid var(--text);
    border-bottom: 1.5px solid var(--text);
    transform: rotate(45deg) translateY(-3px);
    transition: transform 0.25s ease, border-color 0.2s ease;
}
.layer[open] .layer-chevron { transform: rotate(-135deg) translateY(-3px); border-color: var(--emerald); }
.layer[open] .layer-name { color: var(--emerald); }
.layer-more {
    padding: 0 0.9rem 1.1rem calc(0.9rem + 2.6rem);
    color: #C3CBD0;
    font-size: 0.93rem;
}
.layer-more p { margin: 0; padding-left: 0.9rem; border-left: 1px dashed var(--emerald); }
.layer-thumb {
    display: none;
    width: 100%;
    aspect-ratio: 290 / 166;
    object-fit: cover;
}

/* Карта районов */
.districts {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
}
.districts-map {
    margin: 0;
    min-width: 0;
    padding: 6px;
    border: 1px solid var(--frame);
    background: var(--blueprint);
}
.districts-map img { width: 100%; aspect-ratio: 1202 / 532; object-fit: cover; }
.districts-legend { min-width: 0; position: relative; }
.legend-list { list-style: none; margin: 0 0 1.4rem; padding: 0; }
.legend-list li {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 0.7rem;
    font-family: var(--font-head);
    font-size: 1.15rem;
    letter-spacing: 0.04em;
}
.legend-dot { width: 18px; height: 18px; border-radius: 50%; flex: 0 0 auto; }
.legend-dot--up { background: var(--emerald-deep); box-shadow: 0 0 0 3px rgba(53, 224, 161, 0.18); }
.legend-dot--flat { background: var(--flat); }
.legend-dot--down { background: var(--copper); }
.legend-cross {
    position: relative;
    display: block;
    width: 28px;
    height: 28px;
    margin: 0 0 0.9rem;
    border: 1px solid var(--muted);
    border-radius: 50%;
}
.legend-cross::before,
.legend-cross::after {
    content: "";
    position: absolute;
    background: var(--muted);
}
.legend-cross::before { left: 50%; top: -6px; bottom: -6px; width: 1px; }
.legend-cross::after { top: 50%; left: -6px; right: -6px; height: 1px; }
.legend-scale {
    display: block;
    width: 100%;
    max-width: 220px;
    height: 9px;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--muted);
    background-image: repeating-linear-gradient(90deg, var(--muted) 0 1px, transparent 1px 22px);
    background-size: 100% 6px;
    background-position: 0 100%;
    background-repeat: no-repeat;
}
.legend-note { margin: 0; color: var(--muted); font-size: 0.84rem; line-height: 1.5; }
.districts-facts { min-width: 0; }
.facts-title {
    margin: 0 0 1.1rem;
    color: var(--muted);
    font-size: 0.95rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.facts-list { list-style: none; margin: 0; padding: 0; }
.facts-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.15rem;
}
.facts-num {
    flex: 0 0 auto;
    align-self: flex-start;
    padding: 0 0.15rem 0.05rem;
    border-bottom: 2px solid var(--emerald);
    font-family: var(--font-head);
    font-size: 1.15rem;
    line-height: 1.25;
}
.facts-list li.is-down .facts-num { border-bottom-color: var(--copper); }
.facts-list strong {
    display: block;
    font-family: var(--font-head);
    font-weight: 500;
    font-size: 1.15rem;
    letter-spacing: 0.03em;
}
.facts-list p { margin: 0.15rem 0 0; color: var(--muted); font-size: 0.88rem; line-height: 1.5; }

/* ---------- Внутренние страницы ---------- */
.inner { padding: 1.6rem 0 3.5rem; }
.crumbs {
    margin: 0 0 1.8rem;
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    line-height: 1.6;
}
.crumbs a { color: var(--text); text-decoration-color: var(--frame); }
.crumbs a:hover { color: var(--emerald); text-decoration-color: var(--emerald); }
.crumbs-sep { margin: 0 0.4rem; color: var(--copper); }

.layout-single { display: block; }
.layout-single .content-area { margin-left: auto; margin-right: auto; }
.layout-with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.4rem; }
.content-area { min-width: 0; }
.atlas-head--page .atlas-title { font-size: clamp(1.35rem, 3vw, 2rem); }
.page-intro, .archive-desc { margin-bottom: 2rem; color: #C3CBD0; }

.entry {
    position: relative;
    padding: 1.6rem 1.2rem;
    border: 1px solid var(--frame);
    background: rgba(20, 24, 28, 0.9);
}
.entry::before {
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    width: 64px;
    height: 3px;
    background: var(--emerald);
}
.entry-head { margin-bottom: 1.4rem; padding-bottom: 1.1rem; border-bottom: 1px dashed var(--frame); }
.entry-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1.2rem;
    align-items: center;
    margin-bottom: 0.6rem;
}
.entry-meta .sheet-date { color: var(--muted); }
.entry-cat {
    padding: 0.1rem 0.55rem;
    border: 1px solid var(--copper);
    color: var(--copper);
    font-family: var(--font-mono);
    font-size: 0.74rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
}
.entry-cat:hover { background: var(--copper); color: var(--graphite); }
.entry-title { margin: 0; font-size: clamp(1.8rem, 4vw, 2.7rem); font-weight: 400; line-height: 1.15; }
.entry-figure { margin: 0 0 1.6rem; border: 1px solid var(--frame); padding: 5px; }
.entry-figure img { width: 100%; height: auto; }

.entry-content { color: #D6DCE0; font-size: 1.04rem; hyphens: auto; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 {
    padding-bottom: 0.4rem;
    border-bottom: 1px solid var(--frame);
    letter-spacing: 0.04em;
}
.entry-content h3 { color: var(--text); }
.entry-content ul { list-style: none; padding-left: 1.4em; }
.entry-content ul li { position: relative; margin-bottom: 0.4em; }
.entry-content ul li::before {
    content: "";
    position: absolute;
    left: -1.2em;
    top: 0.72em;
    width: 0.55em;
    height: 1px;
    background: var(--emerald);
}
.entry-content ol li { margin-bottom: 0.4em; }
.entry-content ol li::marker { color: var(--copper); font-family: var(--font-mono); }
.entry-content blockquote {
    margin: 1.8em 0;
    padding: 1.2rem 1.4rem;
    border-left: 3px solid var(--emerald);
    background: var(--blueprint);
    color: var(--text);
    font-family: var(--font-head);
    font-size: 1.2rem;
    letter-spacing: 0.02em;
}
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content blockquote cite { display: block; margin-top: 0.6rem; color: var(--muted); font-family: var(--font-mono); font-size: 0.82rem; font-style: normal; }
.entry-content table {
    width: 100%;
    margin: 1.6em 0;
    border-collapse: collapse;
    border: 1px solid var(--frame);
    font-size: 0.94rem;
}
.entry-content th,
.entry-content td {
    padding: 0.6rem 0.8rem;
    border: 1px solid var(--frame);
    text-align: left;
    vertical-align: top;
}
.entry-content th {
    background: var(--blueprint);
    color: var(--text);
    font-family: var(--font-head);
    font-weight: 500;
    letter-spacing: 0.04em;
}
.entry-content .wp-block-table { overflow-x: auto; }
.entry-content img { height: auto; }
.entry-content figure { margin: 1.6em 0; }
.entry-content figcaption { margin-top: 0.5rem; color: var(--muted); font-size: 0.84rem; }
.entry-content code { padding: 0.1em 0.35em; background: var(--blueprint); font-family: var(--font-mono); font-size: 0.9em; }
.entry-content pre { padding: 1rem; overflow-x: auto; background: var(--night); border: 1px solid var(--frame); font-family: var(--font-mono); font-size: 0.9rem; }
.entry-content hr { border: 0; height: 1px; margin: 2em 0; background: repeating-linear-gradient(90deg, var(--frame) 0 8px, transparent 8px 14px); }
.alignleft { float: left; margin: 0.3em 1.4em 1em 0; }
.alignright { float: right; margin: 0.3em 0 1em 1.4em; }
.aligncenter { margin-left: auto; margin-right: auto; }

.entry-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.6rem; }
.entry-tags a {
    padding: 0.2rem 0.6rem;
    border: 1px solid var(--frame);
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    text-decoration: none;
}
.entry-tags a:hover { border-color: var(--emerald); color: var(--emerald); }

.sheet-nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}
.sheet-nav-link {
    display: block;
    padding: 1rem 1.2rem;
    border: 1px solid var(--frame);
    color: var(--text);
    font-family: var(--font-head);
    font-size: 1.08rem;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease;
}
.sheet-nav-link span {
    display: block;
    margin-bottom: 0.3rem;
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 0.76rem;
    letter-spacing: 0.06em;
}
.sheet-nav-link:hover { border-color: var(--emerald); color: var(--emerald); }
.sheet-nav-link--next { text-align: right; }

/* ---------- Сайдбар ---------- */
.sidebar { min-width: 0; }
.sidebar .plate {
    position: relative;
    margin-bottom: 1.6rem;
    padding: 1.3rem 1.3rem 1.1rem;
    border: 1px solid var(--frame);
    background: var(--blueprint);
    color: #C9D1D6;
}
.sidebar .plate::after {
    content: "";
    position: absolute;
    top: 6px;
    right: 6px;
    width: 12px;
    height: 12px;
    border-top: 1px solid var(--copper);
    border-right: 1px solid var(--copper);
}
.sidebar .plate-title {
    margin: 0 0 0.9rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--frame);
    color: var(--text);
    font-size: 1.05rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.sidebar ul { list-style: none; margin: 0; padding: 0; }
.sidebar li { padding: 0.5rem 0; border-bottom: 1px dashed rgba(61, 74, 82, 0.8); line-height: 1.45; }
.sidebar li:last-child { border-bottom: 0; }
.sidebar a { color: var(--text); text-decoration: none; }
.sidebar a:hover { color: var(--emerald); text-decoration: underline; }
.sidebar .post-date, .sidebar .rss-date { display: block; color: var(--muted); font-family: var(--font-mono); font-size: 0.78rem; }
.sidebar p { color: #C9D1D6; }

/* ---------- Пагинация ---------- */
.pager {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    margin: 2.4rem 0 0;
}
.pager .page-numbers,
.pager > span,
.pager > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.6rem;
    height: 2.6rem;
    padding: 0 0.75rem;
    border: 1px solid var(--frame);
    color: var(--text);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}
.pager a.page-numbers:hover { border-color: var(--emerald); color: var(--emerald); }
.pager .page-numbers.current { background: var(--emerald); border-color: var(--emerald); color: var(--graphite); font-weight: 500; }
.pager .page-numbers.dots { border-color: transparent; min-width: 1.6rem; padding: 0; }

/* ---------- Поиск ---------- */
.seek { margin: 1.4rem 0; }
.seek-label { display: block; margin-bottom: 0.45rem; color: var(--muted); font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.06em; }
.seek-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.seek-field {
    flex: 1 1 14rem;
    min-width: 0;
    padding: 0.62rem 0.9rem;
    border: 1px solid var(--frame);
    border-radius: 0;
    background: var(--night);
    color: var(--text);
    font-family: var(--font-text);
    font-size: 1rem;
}
.seek-field::placeholder { color: var(--muted); }
.seek-field:focus { border-color: var(--emerald); outline: none; }

.empty-plate { padding: 1.6rem 1.4rem; border: 1px dashed var(--frame); background: rgba(27, 37, 48, 0.6); }

/* ---------- 404 ---------- */
.missing { max-width: 760px; padding: 2rem 0 1rem; }
.missing-code {
    margin: 0;
    color: transparent;
    -webkit-text-stroke: 1px var(--emerald);
    font-family: var(--font-head);
    font-size: clamp(6rem, 22vw, 11rem);
    line-height: 1;
    letter-spacing: 0.06em;
}
.missing-title { margin: 0.4rem 0 1rem; font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 400; }
.missing-text { color: #C3CBD0; }

/* ---------- Комментарии ---------- */
.notes { margin-top: 2.6rem; }
.notes-title, .comment-reply-title {
    margin: 0 0 1.2rem;
    font-size: 1.3rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.notes-list, .notes-list .children { list-style: none; margin: 0; padding: 0; }
.notes-list .children { margin-left: 1.4rem; padding-left: 1rem; border-left: 1px dashed var(--frame); }
.note-body {
    margin-bottom: 1rem;
    padding: 1rem 1.2rem;
    border: 1px solid var(--frame);
    background: var(--blueprint);
}
.note-head { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.6rem; }
.note-avatar { border: 1px solid var(--frame); }
.note-meta { display: flex; flex-direction: column; }
.note-author { font-family: var(--font-head); font-size: 1.05rem; color: var(--text); }
.note-meta time { color: var(--muted); font-family: var(--font-mono); font-size: 0.76rem; }
.note-moderation { color: var(--copper); font-size: 0.88rem; }
.note-text { color: #D0D7DB; font-size: 0.95rem; }
.note-text p:last-child { margin-bottom: 0; }
.note-reply a { font-family: var(--font-mono); font-size: 0.8rem; }
.notes-nav { display: flex; justify-content: space-between; gap: 1rem; margin: 1rem 0; }
.notes-closed { color: var(--muted); }

.comment-respond {
    margin-top: 1.8rem;
    padding: 1.4rem 1.3rem;
    border: 1px solid var(--frame);
    background: rgba(20, 24, 28, 0.92);
}
.comment-reply-title small { margin-left: 0.8rem; font-size: 0.8rem; text-transform: none; letter-spacing: 0; }
.comment-notes, .logged-in-as, .must-log-in { color: var(--muted); font-size: 0.86rem; }
.comment-form p { margin-bottom: 1rem; }
.comment-form label { display: block; margin-bottom: 0.35rem; color: #C9D1D6; font-size: 0.88rem; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 0.6rem 0.8rem;
    border: 1px solid var(--frame);
    border-radius: 0;
    background: var(--night);
    color: var(--text);
    font-family: var(--font-text);
    font-size: 1rem;
}
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--emerald); outline: none; }
.comment-form-cookies-consent { display: flex; gap: 0.6rem; align-items: flex-start; }
.comment-form-cookies-consent label { margin: 0; font-size: 0.84rem; color: var(--muted); }
.comment-form-cookies-consent input { margin-top: 0.3rem; accent-color: var(--emerald); }
.required { color: var(--copper); }
.form-submit .stamp-btn { font-size: 1rem; }

/* ---------- Подвал ---------- */
.baseplate {
    margin-top: 2rem;
    background: var(--night);
    border-top: 1px solid var(--frame);
    color: #B9C2C8;
}
.baseplate-cols {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    padding: 2.2rem 0 1.4rem;
}
.baseplate-col {
    min-width: 0;
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(230, 234, 237, 0.12);
}
.baseplate-col:last-child { border-bottom: 0; }
.baseplate .plate { margin: 0; }
.baseplate .plate-title {
    margin: 0 0 0.9rem;
    color: var(--text);
    font-size: 1.3rem;
    font-weight: 500;
    letter-spacing: 0.04em;
}
.baseplate p, .baseplate .textwidget { color: #B9C2C8; font-size: 0.9rem; line-height: 1.65; }
.baseplate .textwidget p:last-child { margin-bottom: 0; }
.baseplate a { color: var(--text); text-decoration: none; }
.baseplate a:hover { color: var(--emerald); }
.baseplate ul { list-style: none; margin: 0; padding: 0; }
.baseplate li { margin-bottom: 0.55rem; }
.baseplate .menu a::after {
    content: "→";
    margin-left: 0.6rem;
    color: var(--emerald);
    display: inline-block;
    transition: transform 0.2s ease;
}
.baseplate .menu a:hover::after { transform: translateX(4px); }
.baseplate-stamp {
    padding: 1.2rem 0 1.6rem;
    border-top: 1px solid rgba(230, 234, 237, 0.14);
}
.baseplate-stamp p { margin: 0; color: var(--muted); font-family: var(--font-mono); font-size: 0.78rem; }

/* ---------- Cookie-баннер ---------- */
.cookie-banner {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 90;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.4rem;
    max-width: 920px;
    margin: 0 auto;
    padding: 1.1rem 1.3rem;
    border: 1px solid var(--frame);
    border-top: 2px solid var(--emerald);
    background: var(--blueprint);
    color: var(--text);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.5);
}
.cookie-banner-text { flex: 1 1 18rem; min-width: 0; margin: 0; color: #C9D1D6; font-size: 0.88rem; line-height: 1.5; }
.cookie-banner-btn { flex: 0 0 auto; }

/* ---------- Телефон ---------- */
@media (max-width: 599px) {
    .masthead-brand { flex-direction: column; }
    .brand-mark { justify-content: flex-start; border-right: 0; border-bottom: 1px solid var(--frame); padding: 0.8rem 1rem; }
    .brand-svg { width: 72px; }
    .brand-text { padding: 0.8rem 1rem 0.2rem; }
    .brand-name { font-size: 0.92rem; }
    .nav-toggle { margin: 0.7rem 1rem 0.9rem; }
    .atlas-head { gap: 1rem; }
    .atlas-head::after { min-width: 1rem; }
    .atlas-title { letter-spacing: 0.08em; }
    .paper-inlay { clip-path: none; }
}

/* ---------- Планшет ---------- */
@media (min-width: 600px) {
    .front-section { padding: 3.6rem 0; }
    .paper-inlay { padding: 2.6rem 2.2rem 2.8rem; }
    .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .entry { padding: 2rem 2rem 2.2rem; }
    .sheet-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sheet-nav-link--next { grid-column: 2; }
    .layer-row { grid-template-columns: minmax(0, 1fr) 150px; }
    .layer-thumb {
        display: block;
        border-left: 1px solid var(--frame);
        padding: 0.7rem;
        align-self: center;
        height: auto;
        object-fit: contain;
        background: #0F1519;
    }
    .districts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .districts-map { grid-column: 1 / -1; }
    .baseplate-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .baseplate-col { padding: 0.4rem 1.6rem 0.8rem; border-bottom: 0; border-left: 1px solid rgba(230, 234, 237, 0.14); }
    .baseplate-col:first-child { padding-left: 0; border-left: 0; }
}

/* ---------- Десктоп ---------- */
@media (min-width: 960px) {
    .shell { width: min(85%, 1320px); }

    .masthead { flex-wrap: nowrap; }
    .brand-mark { padding: 1rem 1.6rem; }
    .brand-svg { width: 104px; }
    .brand-text { padding: 0.9rem 1.6rem; }
    .nav-toggle { display: none; }
    .masthead-nav {
        display: flex;
        align-items: center;
        flex: 0 0 auto;
        border-top: 0;
        padding-right: 1.6rem;
    }
    .nav-list { display: flex; gap: 2.2rem; padding: 0; }
    .nav-list a {
        position: relative;
        padding: 0.35rem 0;
        border-bottom: 0;
        font-size: 1.04rem;
        white-space: nowrap;
    }
    .nav-list a::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: -2px;
        height: 2px;
        background: var(--emerald);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.25s ease;
    }
    .nav-list a:hover::after,
    .nav-list .current-menu-item > a::after { transform: scaleX(1); }

    .cover-grid {
        grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
        gap: 0;
        padding: 3rem 0 0;
    }
    .cover-text { padding-bottom: 3rem; }
    .cover-figure { margin-right: -4%; }

    .scale { padding-left: 0; padding-top: 3.4rem; }
    .scale-rule {
        left: 0;
        right: 0;
        top: 1.05rem;
        bottom: auto;
        width: auto;
        height: 1px;
    }
    .scale-rule::before {
        top: -4px;
        bottom: auto;
        left: 0;
        right: 0;
        width: auto;
        height: 9px;
        background-image:
            repeating-linear-gradient(90deg, var(--muted) 0 1px, transparent 1px 16px);
    }
    .scale-rule::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: -8px;
        height: 17px;
        background-image: repeating-linear-gradient(90deg, var(--muted) 0 1px, transparent 1px 128px);
        opacity: 0.8;
    }
    .scale-marks { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.4rem; }
    .scale-mark { text-align: center; }
    .scale-node { left: 50%; top: -2.9rem; transform: translateX(-50%); width: 1.25rem; height: 1.25rem; }
    .scale-note { justify-content: center; text-align: left; }

    .card-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .paper-inlay { padding: 2.6rem 2.6rem 3rem; }

    .layers { grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr); gap: 2.6rem; }
    .layers-figure { max-width: none; justify-self: stretch; }
    .layers-leader {
        display: block;
        position: absolute;
        top: 8%;
        bottom: 12%;
        right: -1.3rem;
        width: 1.3rem;
        border-top: 1px dashed var(--muted);
        border-right: 1px dashed var(--muted);
        border-bottom: 1px dashed var(--muted);
        opacity: 0.7;
    }
    .layers-list { border: 1px solid var(--frame); border-bottom: 0; }
    .layer-row { grid-template-columns: minmax(0, 1fr) 230px; }
    .layer-sum { padding: 1.05rem 1.3rem; gap: 1.6rem; }
    .layer-more { padding-left: calc(1.3rem + 3.2rem); padding-right: 1.3rem; }

    .districts { grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.55fr) minmax(0, 0.95fr); gap: 2.6rem; }
    .districts-map { grid-column: auto; }
    .districts-legend { padding-top: 1.4rem; }

    .layout-single .content-area { width: 85%; }
    .layout-with-sidebar {
        grid-template-columns: minmax(0, 67fr) minmax(0, 27fr);
        column-gap: 6%;
        align-items: start;
    }
    .entry { padding: 2.4rem 2.6rem 2.6rem; }
}

@media (min-width: 1280px) {
    .layer-row { grid-template-columns: minmax(0, 1fr) 260px; }
    .cover-title { font-size: 4.2rem; }
}

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