/* Токени, reset, типография */
:root {
    --slab: #c9c6c0;        /* сух бетон */
    --slab-deep: #b4b0a9;   /* бетон в сянка */
    --paper: #ecebe8;       /* светла секция */
    --graphite: #2a2b2d;    /* мокър бетон / текст */
    --wet: #55585a;         /* вторичен текст */
    --ochre: #c98e22;       /* цветен хардер */
    --ochre-deep: #8a5e10;  /* охра за текст на светло */
    --line: rgba(42, 43, 45, .18);

    --f-display: "Unbounded", system-ui, sans-serif;
    --f-body: "Golos Text", system-ui, sans-serif;
    --f-mono: "IBM Plex Mono", ui-monospace, monospace;

    --gutter: 16px;
    --radius: 3px;
    --bar-h: 64px;
    /* Шум за текстура на бетон */
    --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--graphite);
    font: 400 1rem/1.6 var(--f-body);
    padding-bottom: var(--bar-h);
}
[id] { scroll-margin-top: 80px; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.12; text-wrap: balance; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

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

.skip {
    position: absolute; left: var(--gutter); top: -100px; z-index: 100;
    background: var(--graphite); color: #fff; padding: .6em 1em;
}
.skip:focus { top: var(--gutter); }

.h2 {
    font: 700 clamp(1.5rem, 6vw, 2.4rem)/1.1 var(--f-display);
    letter-spacing: -.01em;
}
.label {
    font: 500 .75rem/1.3 var(--f-mono);
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--wet);
    margin: 0 0 .5em;
}
.more {
    font: 500 .85rem var(--f-mono);
    text-transform: uppercase;
    letter-spacing: .06em;
    text-decoration: none;
    border-bottom: 2px solid var(--ochre);
    padding-bottom: 2px;
    white-space: nowrap;
}
.more::after { content: " →"; }

/* Подпис: текст, „щампован“ в бетона */
.deboss {
    color: var(--graphite);
    text-shadow: 0 1px 0 rgba(255, 255, 255, .55), 0 -1px 0 rgba(0, 0, 0, .25);
}

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