/*
Theme Name: dds_infoiyt.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: iytdraw
*/

/* ---------- Шрифты ---------- */
@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+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: "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+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: "Oswald"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/oswald-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: "Oswald"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/oswald-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+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: "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+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: "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+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: "IBM Plex Mono"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/ibm-plex-mono-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 Mono"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/ibm-plex-mono-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+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 {
    --c-bg: #12233A;
    --c-grid: #2E4A6B;
    --c-line: #4C7FA8;
    --c-text: #D7E4F2;
    --c-muted: #7E9BB8;
    --c-accent: #FF6B35;
    --c-accent-dark: #E0521E;
    --c-teal: #38E1C6;
    --c-foot: #0B1626;
    --c-side: #0F1E33;
    --c-paper: #FFFFFF;
    --c-ink: #14181F;
    --c-ink-muted: #4B5866;
    --f-head: "Oswald", "Arial Narrow", "Roboto Condensed", "Helvetica Neue", Arial, sans-serif;
    --f-mono: "IBM Plex Mono", "JetBrains Mono", "Consolas", "Courier New", monospace;
    --gap: clamp(1.2rem, 3vw, 2.4rem);
}

/* ---------- Сброс и база ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }

body {
    margin: 0;
    overflow-x: hidden;
    font-family: var(--f-mono);
    font-size: 15px;
    line-height: 1.7;
    color: var(--c-text);
    background-color: var(--c-bg);
    background-image:
        linear-gradient(rgba(46, 74, 107, .62) 1px, transparent 1px),
        linear-gradient(90deg, rgba(46, 74, 107, .62) 1px, transparent 1px),
        linear-gradient(rgba(46, 74, 107, .24) 1px, transparent 1px),
        linear-gradient(90deg, rgba(46, 74, 107, .24) 1px, transparent 1px);
    background-size: 60px 60px, 60px 60px, 12px 12px, 12px 12px;
    background-position: -1px -1px;
}

img, svg { max-width: 100%; }
img { height: auto; display: block; }
p { margin: 0 0 1em; }
h1, h2, h3, h4, h5, h6 {
    font-family: var(--f-head);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin: 1.6em 0 .6em;
    color: var(--c-text);
}
p, li, h1, h2, h3, h4, h5, h6, td, th, dd, dt, figcaption, blockquote {
    overflow-wrap: break-word;
    hyphens: auto;
}
a { color: var(--c-text); text-decoration-color: var(--c-accent); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--c-accent); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--c-teal);
    outline-offset: 2px;
}

.screen-reader-text {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 100;
    padding: .6rem 1rem;
    background: var(--c-accent);
    color: #12161C;
    font-family: var(--f-mono);
    text-transform: uppercase;
    text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* ---------- Лист чертежа ---------- */
.shell {
    width: min(94%, 1240px);
    margin-inline: auto;
    padding: 1.4rem 0 2rem;
}
.sheet {
    position: relative;
    border: 1px solid var(--c-line);
    outline: 1px solid rgba(76, 127, 168, .45);
    outline-offset: 6px;
    background: rgba(18, 35, 58, .55);
}
.sheet-cols,
.sheet-rows { display: none; }

@media (min-width: 960px) {
    .shell { padding-top: 2.6rem; }
    .sheet { margin-left: 22px; }
    .sheet-cols {
        position: absolute;
        left: 0; right: 0;
        top: -30px;
        height: 22px;
        display: grid;
        grid-template-columns: repeat(10, minmax(0, 1fr));
        border: 1px solid rgba(76, 127, 168, .6);
        border-bottom: 0;
    }
    .sheet-rows {
        position: absolute;
        top: 0; bottom: 0;
        left: -30px;
        width: 22px;
        display: grid;
        grid-template-rows: repeat(6, minmax(0, 1fr));
        border: 1px solid rgba(76, 127, 168, .6);
        border-right: 0;
    }
    .sheet-cols span,
    .sheet-rows span {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 10px;
        line-height: 1;
        color: var(--c-muted);
    }
    .sheet-cols span + span { border-left: 1px solid rgba(76, 127, 168, .5); }
    .sheet-rows span + span { border-top: 1px solid rgba(76, 127, 168, .5); }
}

/* ---------- Шапка ---------- */
.masthead {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem 2rem;
    padding: 1.6rem var(--gap) 1rem;
}
.brand {
    display: flex;
    align-items: flex-start;
    gap: 1.1rem;
    flex: 1 1 520px;
    min-width: 0;
}
.brand-mark {
    flex: 0 0 auto;
    display: block;
    width: 70px;
    height: 70px;
    border: 1px solid var(--c-line);
    padding: 3px;
    background: rgba(11, 22, 38, .6);
    transition: border-color .15s, transform .15s;
}
.brand-mark:hover { border-color: var(--c-accent); transform: translate(-2px, -2px); }
.brand-svg, .brand-logo { width: 100%; height: 100%; display: block; object-fit: contain; }
.brand-text { min-width: 0; }
.brand-name {
    margin: 0 0 .5rem;
    font-family: var(--f-head);
    font-size: clamp(1.25rem, 2.4vw, 1.75rem);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: .07em;
    text-transform: uppercase;
}
.brand-name a { text-decoration: none; color: var(--c-text); }
.brand-name a:hover { color: var(--c-text); text-decoration: underline; text-decoration-color: var(--c-accent); }
.brand-desc {
    margin: 0;
    max-width: 58ch;
    font-size: 12.5px;
    line-height: 1.6;
    color: var(--c-muted);
}

.nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .55rem .9rem;
    border: 2px solid var(--c-accent);
    background: transparent;
    color: var(--c-text);
    font-family: var(--f-mono);
    font-size: 12px;
    letter-spacing: .1em;
    text-transform: uppercase;
    cursor: pointer;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--c-text);
    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; }

.main-nav { display: none; flex: 1 0 100%; }
.main-nav.is-open { display: block; }
.main-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--c-line);
}
.main-menu li { border-bottom: 1px solid rgba(76, 127, 168, .5); }
.main-menu a {
    display: block;
    padding: .7rem .2rem;
    font-family: var(--f-head);
    font-size: 14px;
    letter-spacing: .1em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--c-text);
}
.main-menu .current-menu-item > a,
.main-menu .current_page_item > a,
.main-menu a:hover { color: var(--c-accent); }

@media (min-width: 960px) {
    .nav-toggle { display: none; }
    .main-nav { display: block; flex: 0 1 auto; padding-top: .3rem; }
    .main-menu { display: flex; flex-wrap: wrap; gap: .4rem 1.8rem; border: 0; }
    .main-menu li { border: 0; }
    .main-menu a { padding: .15rem 0; border-bottom: 2px solid transparent; font-size: 13px; }
    .main-menu a:hover { border-bottom-color: var(--c-accent); }
    .main-menu .current-menu-item > a,
    .main-menu .current_page_item > a { border-bottom-color: var(--c-accent); }
}

/* Ось под шапкой */
.axis {
    position: relative;
    height: 30px;
    margin: .4rem var(--gap) 0;
    border-bottom: 1px solid var(--c-line);
    background-image:
        repeating-linear-gradient(90deg, var(--c-line) 0 1px, transparent 1px 25%),
        repeating-linear-gradient(90deg, rgba(76, 127, 168, .9) 0 1px, transparent 1px 2.5%);
    background-size: 100% 12px, 100% 6px;
    background-position: left bottom, left bottom;
    background-repeat: no-repeat;
}
.axis::after {
    content: "";
    position: absolute;
    right: -1px;
    bottom: 0;
    width: 1px;
    height: 12px;
    background: var(--c-line);
}
.axis-mark {
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    font-size: 11px;
    line-height: 1;
    color: var(--c-text);
}
.axis-mark:first-child { transform: none; }
.axis-mark--end { transform: translateX(-100%); }

/* ---------- Основная область ---------- */
.site-main { padding: 1.6rem var(--gap) 3rem; min-width: 0; }

.layout-single { width: 85%; margin-left: auto; margin-right: auto; }
.layout-with-sidebar { display: block; }
.content-area { min-width: 0; }

@media (min-width: 960px) {
    .layout-with-sidebar {
        display: grid;
        grid-template-columns: minmax(0, 67fr) minmax(0, 27fr);
        column-gap: 6%;
        align-items: start;
    }
}
@media (max-width: 959px) {
    .layout-single { width: 100%; }
}

/* ---------- Выносная полка (заголовок узла) ---------- */
.shelf {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin: 0 0 1.4rem;
    font-size: clamp(1.05rem, 1.8vw, 1.3rem);
    font-weight: 500;
    letter-spacing: .08em;
}
.shelf::after {
    content: "";
    flex: 1 1 40px;
    min-width: 30px;
    height: 1px;
    align-self: flex-end;
    margin-bottom: .35em;
    background: var(--c-line);
    box-shadow: 4px 0 0 0 transparent;
}
.shelf-num {
    flex: 0 0 auto;
    display: inline-block;
    min-width: 2.2em;
    padding: .1em .35em;
    background: var(--c-accent);
    color: #12161C;
    font-family: var(--f-head);
    font-weight: 600;
    text-align: center;
    letter-spacing: .02em;
}
.shelf-name { min-width: 0; }
.shelf--plain .shelf-name { padding-left: 0; }
.shelf--page { font-size: clamp(1.3rem, 2.6vw, 1.9rem); margin-bottom: .8rem; }

.node-caption {
    margin: 1.2rem 0 0;
    max-width: 70ch;
    font-size: 12.5px;
    color: var(--c-muted);
}

/* ---------- Главная ---------- */
.front-wrap { width: 85%; margin-left: auto; margin-right: auto; }
@media (max-width: 959px) { .front-wrap { width: 100%; } }

.front-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 3rem;
}
.node { min-width: 0; position: relative; }

@media (min-width: 960px) {
    .front-grid {
        grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
        grid-template-areas:
            "flow cut"
            "posts cut"
            "gauges atlas";
        gap: 3.2rem 3.4rem;
    }
    .node--flow { grid-area: flow; }
    .node--cut { grid-area: cut; }
    .node--posts { grid-area: posts; }
    .node--gauges { grid-area: gauges; }
    .node--atlas { grid-area: atlas; }
    .node--gauges::before {
        content: "";
        position: absolute;
        left: 0; right: -1.7rem;
        top: -1.6rem;
        height: 1px;
        background: var(--c-line);
    }
    .node--atlas::before {
        content: "";
        position: absolute;
        left: -1.7rem; right: 0;
        top: -1.6rem;
        height: 1px;
        background: var(--c-line);
    }
}

/* Узлы-уголки у секций */
.node--flow::after,
.node--cut::after,
.node--gauges::after,
.node--atlas::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -14px;
    width: 12px;
    height: 12px;
    border-right: 2px solid var(--c-line);
    border-bottom: 2px solid var(--c-line);
}

/* Блок 1: схема */
.flow-wrap {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
}
.flow {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1 1 auto;
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.6rem;
}
.flow-node {
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: .45rem;
}
.flow-box {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 64px;
    padding: .6rem .5rem;
    border: 1.5px solid var(--c-line);
    background: rgba(11, 22, 38, .55);
    font-family: var(--f-head);
    font-size: 15px;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-align: center;
    transition: border-color .15s, background .15s;
}
.flow-node:hover .flow-box { border-color: var(--c-accent); background: rgba(255, 107, 53, .08); }
.flow-note {
    font-size: 11.5px;
    line-height: 1.45;
    color: var(--c-muted);
    text-align: center;
}
.flow-node:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -1.5rem;
    width: 10px;
    height: 1.4rem;
    transform: translateX(-50%);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 22' preserveAspectRatio='none'%3E%3Cpath d='M5 1v20M1 5l4-4 4 4M1 17l4 4 4-4' fill='none' stroke='%23FF6B35' stroke-width='1.6'/%3E%3C/svg%3E") center / 10px 100% no-repeat;
}
.flow-term {
    flex: 0 0 34px;
    align-self: stretch;
    position: relative;
    border-top: 1px solid var(--c-accent);
    border-bottom: 1px solid var(--c-accent);
    min-height: 120px;
}
.flow-term::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 0; bottom: 0;
    width: 1px;
    background: var(--c-accent);
}
.flow-term::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 0;
    width: 11px;
    height: 100%;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 7'%3E%3Cpath d='M1 6l4.5-5L10 6' fill='none' stroke='%23FF6B35' stroke-width='1.4'/%3E%3C/svg%3E") top / 11px 7px no-repeat,
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 7'%3E%3Cpath d='M1 1l4.5 5L10 1' fill='none' stroke='%23FF6B35' stroke-width='1.4'/%3E%3C/svg%3E") bottom / 11px 7px no-repeat;
}
.flow-term-text {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%) rotate(180deg);
    writing-mode: vertical-rl;
    font-size: 11.5px;
    white-space: nowrap;
    color: var(--c-text);
    background: var(--c-bg);
    padding: .3rem 0;
}

@media (min-width: 600px) {
    .flow {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 1.4rem;
    }
    .flow-node:not(:last-child)::after {
        left: auto;
        right: -1.35rem;
        bottom: auto;
        top: 27px;
        width: 1.3rem;
        height: 10px;
        transform: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 10' preserveAspectRatio='none'%3E%3Cpath d='M1 5h20M5 1L1 5l4 4M17 1l4 4-4 4' fill='none' stroke='%23FF6B35' stroke-width='1.6'/%3E%3C/svg%3E");
        background-size: 100% 10px;
    }
    .flow-box { font-size: 13px; padding: .6rem .3rem; }
    .flow-term { min-height: 64px; height: 64px; align-self: flex-start; }
}
@media (min-width: 1100px) {
    .flow-box { font-size: 14px; }
}

/* Блок 2: разрез страницы */
.cut {
    max-width: 440px;
    font-size: 11.5px;
}
.cut-dim {
    position: relative;
    color: var(--c-text);
    text-align: center;
}
.cut-dim--top,
.cut-dim--bottom {
    margin-left: 42px;
    margin-right: 96px;
    height: 22px;
}
.cut-dim--top::before,
.cut-dim--bottom::before {
    content: "";
    position: absolute;
    left: 0; right: 0;
    top: 50%;
    height: 7px;
    transform: translateY(-50%);
    border-left: 1px solid var(--c-muted);
    border-right: 1px solid var(--c-muted);
    background:
        linear-gradient(var(--c-muted), var(--c-muted)) center / 100% 1px no-repeat;
}
.cut-dim--top span,
.cut-dim--bottom span {
    position: relative;
    padding: 0 .5rem;
    background: var(--c-bg);
    color: var(--c-muted);
    line-height: 22px;
}
.cut-body { display: flex; align-items: stretch; }
.cut-dim--side {
    flex: 0 0 42px;
    position: relative;
}
.cut-dim--side::before {
    content: "";
    position: absolute;
    top: 0; bottom: 0;
    left: 18px;
    width: 7px;
    border-top: 1px solid var(--c-accent);
    border-bottom: 1px solid var(--c-accent);
    background: linear-gradient(var(--c-accent), var(--c-accent)) center / 1px 100% no-repeat;
}
.cut-dim--side span {
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%) rotate(180deg);
    writing-mode: vertical-rl;
    padding: .4rem 0;
    background: var(--c-bg);
    color: var(--c-accent);
    white-space: nowrap;
}
.cut-layers {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1 1 auto;
    min-width: 0;
}
.cut-layer {
    display: flex;
    align-items: stretch;
    min-height: 58px;
}
.cut-layer--h25 { min-height: 88px; }
.cut-layer--h30 { min-height: 96px; }
.cut-slab {
    flex: 1 1 auto;
    min-width: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .2rem;
    padding: .7rem .8rem;
    border: 1.5px solid var(--c-line);
    border-top-width: 0;
    background: rgba(11, 22, 38, .5);
    text-align: center;
}
.cut-layer:first-child .cut-slab { border-top-width: 1.5px; }
.cut-layer--hatch .cut-slab {
    background:
        repeating-linear-gradient(45deg, rgba(76, 127, 168, .32) 0 1px, transparent 1px 9px),
        rgba(11, 22, 38, .5);
}
.cut-num {
    position: absolute;
    left: .45rem;
    top: .35rem;
    font-size: 10px;
    color: var(--c-accent);
}
.cut-name {
    font-family: var(--f-head);
    font-size: 14px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--c-text);
}
.cut-hint { font-size: 11px; line-height: 1.4; color: var(--c-muted); }
.cut-size {
    flex: 0 0 44px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    line-height: 1;
    color: var(--c-accent);
}
.cut-size::before {
    content: "";
    position: absolute;
    top: 3px; bottom: 3px;
    left: 50%;
    width: 7px;
    transform: translateX(-50%);
    border-top: 1px solid var(--c-accent);
    border-bottom: 1px solid var(--c-accent);
    background:
        linear-gradient(var(--c-accent), var(--c-accent)) center top / 1px calc(50% - 12px) no-repeat,
        linear-gradient(var(--c-accent), var(--c-accent)) center bottom / 1px calc(50% - 12px) no-repeat;
}
.cut-check {
    flex: 0 0 52px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cut-check::before {
    content: "";
    width: 20px;
    height: 14px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 14'%3E%3Cpath d='M1.5 7.5l5.5 5L18.5 1.5' fill='none' stroke='%2338E1C6' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.cut-check--none::before { display: none; }

/* Блок «Последние записи» */
.posts-head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .6rem 1.2rem;
    margin-bottom: 1.4rem;
}
.posts-head .shelf { flex: 1 1 260px; margin: 0; }

.arrow-link {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--c-text);
    text-decoration: underline;
    text-decoration-color: var(--c-line);
}
.arrow-link::after {
    content: "";
    width: 16px;
    height: 8px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 8'%3E%3Cpath d='M0 4h15M11 1l4 3-4 3' fill='none' stroke='%23FF6B35' stroke-width='1.4'/%3E%3C/svg%3E") center / contain no-repeat;
    transition: transform .15s;
}
.arrow-link:hover { color: var(--c-accent); text-decoration-color: var(--c-accent); }
.arrow-link:hover::after { transform: translateX(4px); }

.card-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.6rem;
}
@media (min-width: 600px) {
    .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
    .card-grid--front { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
}

/* Карточка записи — белая техническая плашка */
.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background: var(--c-paper);
    color: var(--c-ink);
    border: 1px solid var(--c-ink);
    outline: 1px solid rgba(255, 255, 255, .35);
    outline-offset: 2px;
    transition: transform .15s, box-shadow .15s;
}
.card::before {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 18px;
    height: 18px;
    border-left: 1px solid var(--c-ink);
    border-top: 1px solid var(--c-ink);
    background: linear-gradient(135deg, transparent 49%, var(--c-ink) 50%, var(--c-ink) 54%, transparent 55%);
    pointer-events: none;
}
.card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 4px 4px 0 0 var(--c-accent);
}
.card-thumb {
    padding: 12px 12px 0;
}
.card-thumb a {
    display: block;
    border: 1.5px solid var(--c-ink);
    background: #F4F6F8;
}
.card-thumb img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 15 / 8;
    object-fit: cover;
}
.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1rem 12px 14px;
    min-width: 0;
}
.card-pin {
    align-self: flex-start;
    margin-bottom: .5rem;
    padding: .1rem .45rem;
    border: 1px solid var(--c-accent);
    color: var(--c-accent-dark);
    font-size: 10.5px;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.card-title {
    margin: 0 0 .45rem;
    font-family: var(--f-head);
    font-size: 1.12rem;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: .05em;
    color: var(--c-ink);
}
.card-title a { color: var(--c-ink); text-decoration: none; }
.card-title a:hover { text-decoration: underline; text-decoration-color: var(--c-accent); }
.card-excerpt {
    flex: 1;
    font-size: 12px;
    line-height: 1.55;
    color: #2B333D;
}
.card-excerpt p { margin: 0 0 0.5em; background: none; }
.card-excerpt a { color: var(--c-ink); }
.card-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    margin-top: .8rem;
    padding-right: 14px;
}
.card-date { font-size: 11.5px; color: var(--c-ink-muted); }
.card-more {
    display: inline-block;
    padding: .35rem .7rem;
    border: 2px solid var(--c-accent);
    background: var(--c-accent);
    color: #12161C;
    font-family: var(--f-mono);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background .15s, color .15s, transform .15s;
}
.card-more:hover { background: transparent; color: var(--c-accent-dark); transform: translateX(2px); }

/* Блок 3: приборы */
.gauges {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.6rem;
}
@media (min-width: 600px) {
    .gauges { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.gauge { margin: 0; min-width: 0; text-align: center; }
.gauge-svg { display: block; width: 100%; max-width: 210px; height: auto; margin: 0 auto; overflow: visible; }
.gauge-arc { fill: none; stroke: var(--c-line); stroke-width: 2; }
.gauge-fill { fill: none; stroke: var(--c-accent); stroke-width: 3; opacity: .9; }
.gauge-ticks line { stroke: var(--c-line); stroke-width: 1.4; }
.gauge-needle { stroke: var(--c-accent); stroke-width: 3; stroke-linecap: round; }
.gauge-hub { fill: var(--c-bg); stroke: var(--c-accent); stroke-width: 2; }
.gauge-mark { fill: var(--c-muted); font-family: var(--f-mono); font-size: 11px; }
.gauge figcaption { display: flex; flex-direction: column; align-items: center; gap: .1rem; margin-top: .6rem; }
.gauge-name {
    font-family: var(--f-head);
    font-size: 15px;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.gauge-value {
    font-family: var(--f-head);
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--c-accent);
}
.gauge-note { font-size: 11px; line-height: 1.4; color: var(--c-muted); }
.gauge:hover .gauge-needle { stroke: var(--c-teal); }
.gauges-legend {
    position: relative;
    margin: 1.2rem 0 0 auto;
    width: fit-content;
    max-width: 100%;
    padding: .3rem .7rem;
    border-left: 1px solid var(--c-line);
    border-bottom: 1px solid var(--c-line);
    font-size: 11px;
    color: var(--c-muted);
}
.gauges-legend::before {
    content: "";
    position: absolute;
    left: -1px;
    top: -10px;
    width: 1px;
    height: 10px;
    background: var(--c-line);
}

/* Блок 4: атлас инструментов */
.atlas-scroll { overflow-x: auto; }
.atlas {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    line-height: 1.4;
    border: 1px solid var(--c-line);
}
.atlas th,
.atlas td {
    padding: .5rem .6rem;
    border: 1px solid var(--c-line);
    text-align: left;
    vertical-align: middle;
}
.atlas thead th {
    font-family: var(--f-head);
    font-weight: 500;
    font-size: 13px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--c-text);
    background: rgba(76, 127, 168, .12);
    padding-left: .8rem;
}
.atlas tbody th {
    font-family: var(--f-head);
    font-weight: 500;
    font-size: 13px;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
    padding-left: 0;
}
.atlas tbody td { color: var(--c-text); }
.atlas tbody td:last-child { color: var(--c-muted); }
.atlas-num {
    display: inline-block;
    width: 2.4em;
    margin-right: .7rem;
    padding: .25rem 0;
    background: var(--c-accent);
    color: #12161C;
    text-align: center;
    font-family: var(--f-head);
    font-weight: 600;
    letter-spacing: 0;
}
.atlas tbody tr { transition: background .15s; }
.atlas tbody tr:hover { background: rgba(255, 107, 53, .07); }

@media (max-width: 599px) {
    .atlas thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
    .atlas, .atlas tbody, .atlas tr, .atlas th, .atlas td { display: block; width: 100%; }
    .atlas { border: 0; }
    .atlas tr { border: 1px solid var(--c-line); margin-bottom: .8rem; }
    .atlas th, .atlas td { border: 0; border-bottom: 1px solid rgba(76, 127, 168, .45); }
    .atlas td:last-child { border-bottom: 0; }
    .atlas tbody th { white-space: normal; }
    .atlas td:nth-of-type(1)::before { content: "Инструмент: "; color: var(--c-muted); }
    .atlas td:nth-of-type(2)::before { content: "Метрика: "; color: var(--c-muted); }
}

/* ---------- Хлебные крошки ---------- */
.crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .2rem .4rem;
    margin: 0 0 1.8rem;
    font-size: 12px;
    color: var(--c-muted);
}
.crumbs a { color: var(--c-text); text-decoration-color: var(--c-line); }
.crumbs a:hover { color: var(--c-accent); }
.crumbs-sep { color: var(--c-accent); }
.crumbs-current { color: var(--c-muted); }

/* ---------- Заголовки страниц ---------- */
.page-head { margin-bottom: 1.8rem; }
.page-sub { font-size: 13px; color: var(--c-muted); }
.empty-state {
    padding: 1.4rem 1.6rem;
    border: 1px dashed var(--c-line);
    color: var(--c-muted);
}
.empty-block .search-form { margin-top: 1rem; }

/* ---------- Пагинация ---------- */
.pager {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .45rem;
    margin: 2.4rem 0 0;
}
.pager .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.6rem;
    height: 2.6rem;
    padding: 0 .8rem;
    border: 1.5px solid var(--c-line);
    background: rgba(11, 22, 38, .55);
    color: var(--c-text);
    font-size: 13px;
    text-decoration: none;
    transition: border-color .15s, background .15s, transform .15s;
}
.pager a.page-numbers:hover { border-color: var(--c-accent); color: var(--c-accent); transform: translateY(-2px); }
.pager .page-numbers.current {
    border-color: var(--c-accent);
    background: var(--c-accent);
    color: #12161C;
    font-weight: 600;
}
.pager .page-numbers.dots { border: 0; background: none; min-width: 1.6rem; padding: 0; }

/* ---------- Запись и страница ---------- */
.doc-head { margin-bottom: 1.6rem; padding-bottom: 1rem; border-bottom: 1px solid var(--c-line); position: relative; }
.doc-head::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 64px;
    height: 3px;
    background: var(--c-accent);
}
.doc-title {
    margin: 0 0 .7rem;
    font-size: clamp(1.5rem, 3.2vw, 2.3rem);
    letter-spacing: .06em;
}
.doc-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem 1.2rem;
    font-size: 12.5px;
    color: var(--c-muted);
}
.doc-cats { display: inline-flex; flex-wrap: wrap; gap: .4rem; }
.doc-cats a {
    padding: .05rem .5rem;
    border: 1px solid var(--c-line);
    color: var(--c-teal);
    text-decoration: none;
}
.doc-cats a:hover { border-color: var(--c-teal); }
.doc-cover {
    margin: 0 0 1.8rem;
    padding: 10px;
    border: 1px solid var(--c-line);
}
.doc-cover img { width: 100%; height: auto; display: block; }

.entry { font-size: 15px; line-height: 1.8; }
.entry > *:first-child { margin-top: 0; }
.entry h2 { font-size: 1.45rem; padding-left: .9rem; border-left: 4px solid var(--c-accent); }
.entry h3 { font-size: 1.2rem; }
.entry h4 { font-size: 1.05rem; }
.entry a { color: var(--c-teal); text-decoration-color: currentColor; }
.entry a:hover { color: var(--c-accent); }
.entry ul, .entry ol { padding-left: 1.4rem; margin: 0 0 1.2em; }
.entry ul { list-style: none; padding-left: 1.4rem; }
.entry ul > li { position: relative; }
.entry ul > li::before {
    content: "";
    position: absolute;
    left: -1.2rem;
    top: .7em;
    width: 8px;
    height: 8px;
    border: 1.5px solid var(--c-accent);
}
.entry ol > li::marker { color: var(--c-accent); font-weight: 600; }
.entry li { margin-bottom: .35em; }
.entry blockquote {
    position: relative;
    margin: 1.8rem 0;
    padding: 1.3rem 1.5rem 1.3rem 1.8rem;
    border: 1px solid var(--c-line);
    border-left: 4px solid var(--c-accent);
    background: rgba(11, 22, 38, .6);
    font-size: 1.02rem;
}
.entry blockquote p:last-child { margin-bottom: 0; }
.entry blockquote cite { display: block; margin-top: .6rem; font-size: 12px; color: var(--c-muted); font-style: normal; }
.entry table {
    width: 100%;
    margin: 1.6rem 0;
    border-collapse: collapse;
    font-size: 13px;
    border: 1px solid var(--c-line);
}
.entry th, .entry td {
    padding: .55rem .7rem;
    border: 1px solid var(--c-line);
    text-align: left;
    vertical-align: top;
}
.entry th {
    font-family: var(--f-head);
    font-weight: 500;
    letter-spacing: .06em;
    text-transform: uppercase;
    background: rgba(76, 127, 168, .15);
}
.entry .wp-block-table { overflow-x: auto; margin: 1.6rem 0; }
.entry .wp-block-table table { margin: 0; }
.entry img { max-width: 100%; height: auto; }
.entry figure { margin: 1.6rem 0; }
.entry figcaption { margin-top: .5rem; font-size: 12px; color: var(--c-muted); }
.entry code, .entry pre { font-family: var(--f-mono); }
.entry code { padding: .1em .35em; background: rgba(11, 22, 38, .75); border: 1px solid rgba(76, 127, 168, .5); font-size: .92em; }
.entry pre { overflow-x: auto; padding: 1rem 1.2rem; background: var(--c-foot); border: 1px solid var(--c-line); line-height: 1.5; }
.entry pre code { padding: 0; border: 0; background: none; }
.entry hr { border: 0; height: 1px; margin: 2rem 0; background: var(--c-line); }
.entry--intro { margin-top: .6rem; color: var(--c-muted); }
.alignleft { float: left; margin: .3rem 1.4rem 1rem 0; }
.alignright { float: right; margin: .3rem 0 1rem 1.4rem; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text { font-size: 12px; color: var(--c-muted); }
.page-links { margin-top: 1.4rem; display: flex; gap: .5rem; flex-wrap: wrap; }

.doc-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .4rem .6rem;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px dashed var(--c-line);
    font-size: 12px;
}
.doc-tags-label { color: var(--c-muted); }
.doc-tags a { padding: .05rem .5rem; border: 1px solid var(--c-line); text-decoration: none; }
.doc-tags a:hover { border-color: var(--c-accent); }

.post-navigation { margin-top: 2.4rem; }
.post-navigation .nav-links {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
}
@media (min-width: 600px) {
    .post-navigation .nav-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .post-navigation .nav-next { grid-column: 2; text-align: right; }
}
.post-navigation a {
    display: block;
    padding: .9rem 1.1rem;
    border: 1px solid var(--c-line);
    background: rgba(11, 22, 38, .5);
    text-decoration: none;
    transition: border-color .15s, transform .15s;
}
.post-navigation a:hover { border-color: var(--c-accent); transform: translateY(-2px); }
.pn-label { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--c-muted); }
.pn-title { display: block; font-family: var(--f-head); letter-spacing: .04em; color: var(--c-text); }

/* ---------- Кнопки, поиск ---------- */
.btn {
    display: inline-block;
    padding: .7rem 1.3rem;
    border: 3px solid var(--c-accent);
    font-family: var(--f-mono);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background .15s, color .15s, transform .15s;
}
.btn--main { background: var(--c-accent); color: #12161C; }
.btn--main:hover { background: transparent; color: var(--c-accent); transform: translate(-2px, -2px); }

.search-form {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    max-width: 520px;
}
.search-field {
    flex: 1 1 200px;
    min-width: 0;
    padding: .65rem .8rem;
    border: 1.5px solid var(--c-line);
    border-radius: 0;
    background: rgba(11, 22, 38, .75);
    color: var(--c-text);
    font-family: var(--f-mono);
    font-size: 14px;
}
.search-field::placeholder { color: var(--c-muted); }
.search-submit {
    padding: .65rem 1.2rem;
    border: 2px solid var(--c-accent);
    border-radius: 0;
    background: var(--c-accent);
    color: #12161C;
    font-family: var(--f-mono);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .15s, color .15s;
}
.search-submit:hover { background: transparent; color: var(--c-accent); }

/* ---------- 404 ---------- */
.lost { padding: 1rem 0 2rem; }
.lost-code {
    position: relative;
    display: inline-block;
    padding: 1.6rem 0 .4rem;
    margin-bottom: 1rem;
}
.lost-dim {
    position: absolute;
    left: 0; right: 0;
    top: 0;
    text-align: center;
    font-size: 11px;
    color: var(--c-accent);
    border-left: 1px solid var(--c-accent);
    border-right: 1px solid var(--c-accent);
    background: linear-gradient(var(--c-accent), var(--c-accent)) center 60% / 100% 1px no-repeat;
}
.lost-dim { line-height: 18px; }
.lost-num {
    display: block;
    font-family: var(--f-head);
    font-size: clamp(5rem, 16vw, 9rem);
    line-height: 1;
    letter-spacing: .1em;
    color: transparent;
    -webkit-text-stroke: 2px var(--c-line);
}
.lost-title { margin: 0 0 .8rem; font-size: clamp(1.4rem, 3vw, 2rem); }
.lost-text { max-width: 60ch; color: var(--c-muted); }
.lost .search-form { margin: 1.4rem 0; }

/* ---------- Сайдбар ---------- */
.sidebar {
    min-width: 0;
    margin-top: 3rem;
    padding: 1.4rem 1.4rem .6rem;
    background: var(--c-side);
    border: 1px solid var(--c-line);
    color: var(--c-text);
}
@media (min-width: 960px) { .sidebar { margin-top: 0; } }
.sidebar .widget { margin-bottom: 1.8rem; font-size: 13px; color: var(--c-text); }
.sidebar .widget-title {
    display: flex;
    align-items: center;
    gap: .55rem;
    margin: 0 0 1rem;
    padding-bottom: .55rem;
    border-bottom: 1px solid var(--c-line);
    font-size: 14px;
    letter-spacing: .1em;
    color: var(--c-text);
}
.sidebar .widget-title::before {
    content: "";
    flex: 0 0 10px;
    height: 10px;
    background: var(--c-accent);
}
.sidebar ul { list-style: none; margin: 0; padding: 0; }
.sidebar li { padding: .5rem 0; border-bottom: 1px dashed rgba(76, 127, 168, .45); line-height: 1.5; }
.sidebar li:last-child { border-bottom: 0; }
.sidebar a { color: var(--c-text); text-decoration: none; }
.sidebar a:hover { color: var(--c-accent); text-decoration: underline; }
.sidebar .post-date, .sidebar .rss-date { display: block; font-size: 11px; color: var(--c-muted); }
.sidebar p { color: var(--c-text); }
.sidebar .search-form { max-width: none; }

/* ---------- Комментарии ---------- */
.notes { margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--c-line); }
.notes-title, .comment-reply-title { font-size: 1.2rem; margin: 0 0 1.2rem; }
.notes-list, .notes-list .children { list-style: none; margin: 0; padding: 0; }
.notes-list .children { margin-left: 1.6rem; border-left: 1px dashed var(--c-line); padding-left: 1rem; }
.note-body {
    margin-bottom: 1rem;
    padding: 1rem 1.2rem;
    border: 1px solid var(--c-line);
    background: rgba(11, 22, 38, .55);
}
.note-head { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .8rem; margin-bottom: .6rem; }
.note-head img { display: block; border: 1px solid var(--c-line); }
.note-author { font-family: var(--f-head); letter-spacing: .06em; text-transform: uppercase; }
.note-date { font-size: 11.5px; color: var(--c-muted); }
.note-wait { font-size: 12px; color: var(--c-accent); }
.note-text p:last-child { margin-bottom: 0; }
.note-reply a { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--c-teal); }
.comment-respond { margin-top: 2rem; }
.comment-form p { margin-bottom: 1rem; }
.comment-form label { display: block; margin-bottom: .3rem; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--c-muted); }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: .6rem .8rem;
    border: 1.5px solid var(--c-line);
    border-radius: 0;
    background: rgba(11, 22, 38, .75);
    color: var(--c-text);
    font-family: var(--f-mono);
    font-size: 14px;
}
.comment-form-cookies-consent { display: flex; gap: .5rem; align-items: flex-start; }
.comment-form-cookies-consent label { text-transform: none; letter-spacing: 0; }
.comment-form .submit {
    padding: .7rem 1.4rem;
    border: 3px solid var(--c-accent);
    border-radius: 0;
    background: var(--c-accent);
    color: #12161C;
    font-family: var(--f-mono);
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    cursor: pointer;
}
.comment-form .submit:hover { background: transparent; color: var(--c-accent); }
.comment-notes, .logged-in-as, .must-log-in { font-size: 12.5px; color: var(--c-muted); }

/* ---------- Подвал ---------- */
.site-foot {
    position: relative;
    padding: 2.2rem var(--gap) 1.4rem;
    background-color: var(--c-foot);
    background-image:
        linear-gradient(rgba(46, 74, 107, .35) 1px, transparent 1px),
        linear-gradient(90deg, rgba(46, 74, 107, .35) 1px, transparent 1px);
    background-size: 24px 24px;
    border-top: 1px solid var(--c-line);
    color: var(--c-text);
}
.foot-cols {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.8rem;
}
@media (min-width: 600px) {
    .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
    .foot-cols { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr) minmax(0, 1fr); gap: 2.6rem; }
}
.foot-col { min-width: 0; }
.site-foot .widget { margin-bottom: 1rem; font-size: 12.5px; line-height: 1.65; color: #C4D3E3; }
.site-foot .widget-title {
    margin: 0 0 .8rem;
    font-size: 14px;
    letter-spacing: .1em;
    color: var(--c-text);
}
.site-foot .widget p { color: #C4D3E3; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin-bottom: .35rem; }
.site-foot a { color: var(--c-text); text-decoration: underline; text-decoration-color: var(--c-line); }
.site-foot a:hover { color: var(--c-accent); text-decoration-color: var(--c-accent); }

.foot-base {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.2rem 2rem;
    margin-top: 1.8rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--c-line);
}
.copyright { margin: 0; font-size: 12px; color: var(--c-muted); flex: 1 1 280px; }
.title-block {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, auto));
    border: 1px solid var(--c-line);
    font-size: 10.5px;
    line-height: 1.2;
    color: var(--c-text);
    text-transform: uppercase;
    letter-spacing: .06em;
    min-width: 0;
}
.tb-cell { padding: .45rem .7rem; border: 1px solid rgba(76, 127, 168, .6); white-space: nowrap; }
.tb-cell--wide { grid-column: 1 / -1; text-align: center; }
.tb-cell--muted { color: var(--c-muted); }
@media (max-width: 599px) {
    .title-block { width: 100%; }
    .tb-cell { white-space: normal; padding: .4rem .45rem; }
}

/* ---------- Cookie-баннер ---------- */
.cookie-banner[hidden] { display: none !important; }
.cookie-banner {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 90;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .8rem 1.4rem;
    max-width: 760px;
    margin: 0 auto;
    padding: 1rem 1.3rem;
    background: var(--c-foot);
    border: 1px solid var(--c-line);
    border-left: 4px solid var(--c-accent);
    box-shadow: 6px 6px 0 rgba(0, 0, 0, .35);
    color: var(--c-text);
}
.cookie-text { flex: 1 1 320px; margin: 0; font-size: 12.5px; line-height: 1.55; color: var(--c-text); }
.cookie-accept {
    flex: 0 0 auto;
    padding: .55rem 1.3rem;
    border: 2px solid var(--c-accent);
    border-radius: 0;
    background: var(--c-accent);
    color: #12161C;
    font-family: var(--f-mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    cursor: pointer;
}
.cookie-accept:hover { background: transparent; color: var(--c-accent); }

/* ---------- Адаптив ---------- */
@media (max-width: 599px) {
    body { font-size: 14px; }
    .shell { width: 96%; padding-top: .8rem; }
    .sheet { outline-offset: 3px; }
    .masthead { padding-top: 1.1rem; }
    .brand { gap: .8rem; }
    .brand-mark { width: 52px; height: 52px; }
    .axis-mark { font-size: 10px; }
    .axis-mark:nth-child(2), .axis-mark:nth-child(4) { display: none; }
    .site-main { padding-bottom: 2rem; }
    .cut-dim--top, .cut-dim--bottom { margin-right: 80px; }
    .cut-size { flex-basis: 34px; }
    .cut-check { flex-basis: 46px; }
    .cookie-banner { left: .5rem; right: .5rem; bottom: .5rem; padding: .9rem 1rem; }
}

/* Заголовки и подписи без автопереносов слов */
h1, h2, h3, h4, h5, h6, .shelf, .card-title, .brand-desc, .flow-note, .cut-hint, .gauge-note, .atlas td, .atlas th, .main-menu a {
    hyphens: manual;
}
