@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url(/template/default/client/fonts/inter-cyrillic-ext.woff2) format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url(/template/default/client/fonts/inter-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url(/template/default/client/fonts/inter-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url(/template/default/client/fonts/inter-cyrillic-ext.woff2) format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url(/template/default/client/fonts/inter-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url(/template/default/client/fonts/inter-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url(/template/default/client/fonts/inter-cyrillic-ext.woff2) format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url(/template/default/client/fonts/inter-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url(/template/default/client/fonts/inter-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url(/template/default/client/fonts/inter-cyrillic-ext.woff2) format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url(/template/default/client/fonts/inter-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url(/template/default/client/fonts/inter-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(/template/default/client/fonts/jbmono-cyrillic-ext.woff2) format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(/template/default/client/fonts/jbmono-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(/template/default/client/fonts/jbmono-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 700; font-display: swap; src: url(/template/default/client/fonts/jbmono-cyrillic-ext.woff2) format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 700; font-display: swap; src: url(/template/default/client/fonts/jbmono-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 700; font-display: swap; src: url(/template/default/client/fonts/jbmono-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Sofia Sans Extra Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url(/template/default/client/fonts/sofiaxc-cyrillic-ext.woff2) format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Sofia Sans Extra Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url(/template/default/client/fonts/sofiaxc-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Sofia Sans Extra Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url(/template/default/client/fonts/sofiaxc-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Sofia Sans Extra Condensed'; font-style: normal; font-weight: 800; font-display: swap; src: url(/template/default/client/fonts/sofiaxc-cyrillic-ext.woff2) format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Sofia Sans Extra Condensed'; font-style: normal; font-weight: 800; font-display: swap; src: url(/template/default/client/fonts/sofiaxc-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Sofia Sans Extra Condensed'; font-style: normal; font-weight: 800; font-display: swap; src: url(/template/default/client/fonts/sofiaxc-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Sofia Sans Extra Condensed'; font-style: normal; font-weight: 900; font-display: swap; src: url(/template/default/client/fonts/sofiaxc-cyrillic-ext.woff2) format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Sofia Sans Extra Condensed'; font-style: normal; font-weight: 900; font-display: swap; src: url(/template/default/client/fonts/sofiaxc-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Sofia Sans Extra Condensed'; font-style: normal; font-weight: 900; font-display: swap; src: url(/template/default/client/fonts/sofiaxc-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

*,*::before,*::after { box-sizing: border-box; }

:root {
    --ink:      #0B100A;
    --ink-2:    #0E140D;
    --ink-3:    #141A12;
    --ink-4:    #1B2219;
    --blood:    #C80004;
    --blood-2:  #9A0003;
    --ember:    #C08A12;
    --bone:     #E8E9E4;
    --ash:      #A7ABA2;
    --ash-2:    #74796F;
    --line:     rgba(232,233,228,.11);
    --line-2:   rgba(232,233,228,.20);

    --wrap:     1240px;
    --clip:     14px;
    --clip-sm:  9px;

    --disp: 'Sofia Sans Extra Condensed', 'Arial Narrow', sans-serif;
    --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', monospace;
}

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

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

body {
    margin: 0;
    background: var(--ink);
    color: var(--bone);
    font-family: var(--body);
    font-size: 16.5px;
    line-height: 1.62;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }

h1, h2, h3, h4 {
    font-family: var(--disp);
    font-weight: 900;
    text-transform: uppercase;
    line-height: .92;
    letter-spacing: .004em;
    margin: 0;
    text-wrap: balance;
}

h1 { font-size: clamp(2.6rem, 7.4vw, 5.6rem); line-height: .88; }
h2 { font-size: clamp(1.95rem, 4.4vw, 3.3rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.42rem); }
h4 { font-size: 1rem; letter-spacing: .06em; }

::selection { background: var(--blood); color: #fff; }

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

.skip-link {
    position: fixed; top: -60px; left: 12px; z-index: 999;
    background: var(--blood); color: #fff; padding: 10px 16px;
    font: 700 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase;
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.clip    { clip-path: polygon(0 0, calc(100% - var(--clip)) 0, 100% var(--clip), 100% 100%, 0 100%); }
.clip-sm { clip-path: polygon(0 0, calc(100% - var(--clip-sm)) 0, 100% var(--clip-sm), 100% 100%, 0 100%); }

.mono {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--ash-2);
    font-weight: 400;
}

.lead {
    font-size: clamp(1rem, 1.55vw, 1.14rem);
    line-height: 1.6;
    color: var(--ash);
    max-width: 62ch;
}

/* ---------- plate / eyebrow ---------- */

.plate {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--mono); font-size: 10.5px; font-weight: 700;
    letter-spacing: .22em; text-transform: uppercase;
    color: var(--bone);
    background: rgba(232,233,228,.06);
    border-left: 2px solid var(--blood);
    padding: 7px 12px 6px;
}
.plate svg { color: var(--blood); }
.plate-blood { background: var(--blood); color: #fff; border-left-color: #fff; }
.plate-blood svg { color: #fff; }

/* ---------- buttons ---------- */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    font-family: var(--disp); font-weight: 800; font-size: 1.06rem;
    text-transform: uppercase; letter-spacing: .045em;
    padding: 13px 24px 11px;
    min-height: 46px;
    background: transparent;
    color: var(--bone);
    border: 1px solid var(--line-2);
    cursor: pointer;
    transition: background .18s ease, border-color .18s ease, color .18s ease;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}
.btn:hover { background: rgba(232,233,228,.07); border-color: var(--bone); }

.btn-primary { background: var(--blood); border-color: var(--blood); color: #fff; }
.btn-primary:hover { background: #E20105; border-color: #E20105; }

.btn-lg { font-size: 1.22rem; padding: 16px 30px 13px; min-height: 54px; }
.btn-sm { font-size: .95rem; padding: 10px 16px 8px; min-height: 38px; }
.btn-block { width: 100%; }

/* ---------- header ---------- */

.nav {
    position: sticky; top: 0; z-index: 90;
    background: rgba(11,16,10,.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; gap: 22px; height: 66px; }

.brand { display: inline-flex; align-items: center; gap: 9px; flex: 0 0 auto; }
.brand-name {
    font-family: var(--disp); font-weight: 900; font-size: 1.6rem;
    letter-spacing: .01em; text-transform: uppercase; line-height: 1;
    color: var(--bone);
}
.brand-tile {
    display: inline-block;
    background: var(--blood); color: #fff;
    font-family: var(--disp); font-weight: 900; font-size: 1.36rem; line-height: 1;
    padding: 5px 9px 3px;
    clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 0 100%);
}

.nav-links { display: flex; align-items: center; gap: 22px; margin-left: 10px; }
.nav-links a {
    font-family: var(--mono); font-size: 11px; font-weight: 500;
    letter-spacing: .15em; text-transform: uppercase;
    color: var(--ash); padding: 6px 0;
    border-bottom: 1px solid transparent;
    transition: color .15s ease, border-color .15s ease;
}
.nav-links a:hover { color: var(--bone); border-bottom-color: var(--blood); }

.nav-tail { margin-left: auto; display: flex; align-items: center; gap: 14px; }

.lang-switch { display: inline-flex; align-items: center; gap: 2px; }
.lang-switch a {
    font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .1em;
    text-transform: uppercase; color: var(--ash-2);
    padding: 6px 8px; line-height: 1;
    transition: color .15s ease, background .15s ease;
}
.lang-switch a:hover { color: var(--bone); background: rgba(232,233,228,.07); }
.lang-switch a.is-active { color: #fff; background: var(--blood); }

.nav-burger {
    display: none; align-items: center; justify-content: center;
    width: 42px; height: 42px; padding: 0;
    background: transparent; border: 1px solid var(--line-2); color: var(--bone);
    cursor: pointer;
}

.drawer {
    display: none;
    position: fixed; inset: 66px 0 auto 0; z-index: 89;
    background: var(--ink-2); border-bottom: 1px solid var(--line);
    padding: 18px 24px 24px;
    flex-direction: column; gap: 2px;
    max-height: calc(100dvh - 66px); overflow-y: auto;
}
.drawer.is-open { display: flex; }
.drawer > a {
    font-family: var(--disp); font-weight: 800; font-size: 1.5rem;
    text-transform: uppercase; letter-spacing: .02em;
    padding: 11px 0; border-bottom: 1px solid var(--line);
    color: var(--bone);
}
.drawer .lang-switch { margin: 16px 0; gap: 6px; }
.drawer .lang-switch a { border: 1px solid var(--line-2); padding: 9px 14px; }
.drawer .btn { margin-top: 4px; }

/* ---------- hero ---------- */

.hero { position: relative; min-height: min(90dvh, 820px); display: flex; align-items: flex-end; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg picture, .hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg img { filter: saturate(.78) contrast(1.04); }
.hero-bg::after {
    content: ''; position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(11,16,10,.86) 0%, rgba(11,16,10,.34) 34%, rgba(11,16,10,.82) 74%, var(--ink) 100%),
        linear-gradient(90deg, rgba(11,16,10,.8) 0%, rgba(11,16,10,.12) 62%);
}
.hero .wrap { position: relative; z-index: 1; padding-top: 110px; padding-bottom: 54px; }

.hero-title { max-width: 15ch; margin: 18px 0 0; }
.hero-title em { font-style: normal; color: var(--blood); }
.hero .lead { margin-top: 20px; max-width: 54ch; color: #C9CDC4; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ---------- stat strip ---------- */

.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--ink-2); }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-cell { padding: 22px 24px; border-left: 1px solid var(--line); }
.strip-cell:first-child { border-left: 0; }
.strip-cell b {
    display: block; font-family: var(--disp); font-weight: 900;
    font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1; color: var(--bone);
}
.strip-cell b i { font-style: normal; color: var(--blood); }
.strip-cell span { display: block; margin-top: 7px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--ash-2); }

/* ---------- ticker ---------- */

.tape {
    position: relative; height: 34px; overflow: hidden;
    background: var(--blood);
    border-top: 1px solid #7A0002; border-bottom: 1px solid #7A0002;
}
.tape-row { display: flex; gap: 0; width: max-content; animation: slide 42s linear infinite; }
.tape span {
    display: inline-flex; align-items: center; height: 34px; padding: 0 20px;
    font-family: var(--mono); font-size: 10.5px; font-weight: 700;
    letter-spacing: .22em; text-transform: uppercase; color: #fff; white-space: nowrap;
}
.tape span::after { content: ''; display: block; width: 4px; height: 4px; background: rgba(255,255,255,.55); margin-left: 20px; }
@keyframes slide { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }
@media (prefers-reduced-motion: reduce) { .tape-row { animation: none; } }

/* ---------- sections ---------- */

.sec { padding: clamp(62px, 9vw, 108px) 0; position: relative; }
.sec-alt { background: var(--ink-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.sec-head { margin-bottom: 40px; position: relative; }
.sec-head h2 { margin: 16px 0 0; max-width: 20ch; }
.sec-head .lead { margin-top: 16px; }

.sec-num {
    position: absolute; right: 0; top: -18px;
    font-family: var(--disp); font-weight: 900; font-size: clamp(4rem, 9vw, 7.4rem);
    line-height: 1; color: rgba(232,233,228,.045);
    pointer-events: none; user-select: none;
}

/* ---------- split ---------- */

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 60px); align-items: start; }
.split-media { display: grid; gap: 14px; }

.frame { position: relative; border: 1px solid var(--line); background: var(--ink-3); }
.frame img { width: 100%; display: block; aspect-ratio: 3/2; object-fit: cover; }
.frame-wide img { aspect-ratio: 21/9; }
.frame-cap {
    display: flex; justify-content: space-between; gap: 14px; align-items: baseline;
    padding: 10px 13px; border-top: 1px solid var(--line);
    font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--ash-2);
}
.frame-cap span:first-child { color: var(--ash); }

/* ---------- mechanics grid ---------- */

.grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

.cell {
    background: var(--ink); padding: 26px 24px 28px;
    display: flex; flex-direction: column; gap: 11px;
    transition: background .18s ease;
    position: relative;
}
.sec-alt .cell { background: var(--ink-2); }
.cell:hover { background: var(--ink-3); }
.cell-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cell-ico { color: var(--blood); display: inline-flex; }
.cell-k { font-family: var(--mono); font-size: 10px; letter-spacing: .2em; color: var(--ash-2); }
.cell h3 { margin: 0; }
.cell p { margin: 0; font-size: .94rem; line-height: 1.58; color: var(--ash); }

/* ---------- modes ---------- */

.modes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.mode {
    position: relative; overflow: hidden; min-height: 300px;
    display: flex; flex-direction: column; justify-content: flex-end;
    border: 1px solid var(--line);
    clip-path: polygon(0 0, calc(100% - var(--clip)) 0, 100% var(--clip), 100% 100%, 0 100%);
}
.mode-bg { position: absolute; inset: 0; z-index: 0; }
.mode-bg picture, .mode-bg img { width: 100%; height: 100%; object-fit: cover; }
.mode-bg img { filter: saturate(.7) contrast(1.05); transition: transform .5s ease; }
.mode:hover .mode-bg img { transform: scale(1.045); }
.mode-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,16,10,.15) 0%, rgba(11,16,10,.82) 58%, rgba(11,16,10,.97) 100%); }
.mode-body { position: relative; z-index: 1; padding: 26px 24px 24px; }
.mode-body h3 { margin: 12px 0 8px; }
.mode-body p { margin: 0; font-size: .93rem; color: var(--ash); max-width: 42ch; }
.mode-tag {
    display: inline-block; font-family: var(--mono); font-size: 10px; font-weight: 700;
    letter-spacing: .2em; text-transform: uppercase; color: #fff;
    background: var(--blood); padding: 5px 9px 4px;
}

/* ---------- kits ---------- */

.kits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.kit { background: var(--ink); padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; }
.sec-alt .kit { background: var(--ink-2); }
.kit-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.kit-head h3 { font-size: 1.28rem; }
.kit-slot { font-family: var(--mono); font-size: 10px; letter-spacing: .18em; color: var(--blood); }
.kit ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.kit li { font-family: var(--mono); font-size: 11.5px; letter-spacing: .05em; color: var(--ash); display: flex; gap: 8px; }
.kit li::before { content: '//'; color: var(--ash-2); flex: 0 0 auto; }

/* ---------- ranks ---------- */

.ranks { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.rank { background: var(--ink); padding: 20px 16px; text-align: center; }
.sec-alt .rank { background: var(--ink-2); }
.rank b { display: block; font-family: var(--disp); font-weight: 900; font-size: 1.22rem; text-transform: uppercase; color: var(--bone); }
.rank span { display: block; margin-top: 6px; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; color: var(--ash-2); }
.rank-bar { height: 3px; background: var(--blood); margin-bottom: 14px; }

/* ---------- gallery ---------- */

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery a { display: block; position: relative; overflow: hidden; border: 1px solid var(--line); }
.gallery img { width: 100%; display: block; aspect-ratio: 16/9; object-fit: cover; transition: transform .45s ease, filter .3s ease; filter: saturate(.72); }
.gallery a:hover img { transform: scale(1.06); filter: saturate(1); }
.gallery-note { margin-top: 16px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ash-2); }

/* ---------- steps ---------- */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: st; }
.step {
    border: 1px solid var(--line); background: var(--ink-3);
    padding: 26px 24px 28px; position: relative;
    clip-path: polygon(0 0, calc(100% - var(--clip)) 0, 100% var(--clip), 100% 100%, 0 100%);
}
.step::before {
    counter-increment: st; content: counter(st, decimal-leading-zero);
    display: block; font-family: var(--disp); font-weight: 900; font-size: 2.6rem;
    line-height: 1; color: var(--blood); margin-bottom: 12px;
}
.step h3 { margin: 0 0 8px; }
.step p { margin: 0; font-size: .93rem; color: var(--ash); }

.ipbox {
    margin-top: 22px; border: 1px solid var(--line-2); background: var(--ink-3);
    padding: 16px 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
}
.ipbox .mono { font-size: 10px; }
.ipbox code {
    font-family: var(--mono); font-size: 14px; letter-spacing: .06em;
    color: var(--bone); background: rgba(232,233,228,.06); padding: 7px 11px;
}

/* ---------- faq ---------- */

.faq { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.faq details { background: var(--ink); }
.sec-alt .faq details { background: var(--ink-2); }
.faq summary {
    list-style: none; cursor: pointer; padding: 19px 22px;
    display: flex; align-items: flex-start; gap: 14px;
    font-family: var(--disp); font-weight: 800; font-size: 1.16rem;
    text-transform: uppercase; letter-spacing: .02em; color: var(--bone);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
    content: '+'; flex: 0 0 auto; color: var(--blood);
    font-family: var(--mono); font-size: 15px; line-height: 1.15;
}
.faq details[open] summary::before { content: '\2212'; }
.faq summary:hover { background: rgba(232,233,228,.035); }
.faq-body { padding: 0 22px 22px 50px; font-size: .95rem; color: var(--ash); max-width: 78ch; }

/* ---------- cta ---------- */

.cta { position: relative; overflow: hidden; padding: clamp(70px, 10vw, 128px) 0; text-align: center; }
.cta-bg { position: absolute; inset: 0; z-index: 0; }
.cta-bg picture, .cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-bg img { filter: saturate(.62) contrast(1.05); }
.cta-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, var(--ink) 0%, rgba(11,16,10,.72) 46%, var(--ink) 100%); }
.cta .wrap { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.cta h2 { max-width: 18ch; }
.cta .lead { margin: 0 auto; }
.cta .hero-cta { justify-content: center; }

/* ---------- footer ---------- */

.foot { border-top: 1px solid var(--line); background: var(--ink-2); padding: 56px 0 30px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 34px; }
.foot-about p { margin-top: 14px; font-size: .9rem; color: var(--ash-2); max-width: 42ch; }
.foot h4 { font-family: var(--mono); font-size: 10.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ash-2); margin: 0 0 14px; }
.foot-links { display: grid; gap: 9px; }
.foot-links a { font-size: .92rem; color: var(--ash); transition: color .15s ease; }
.foot-links a:hover { color: var(--bone); }

.foot-bottom {
    margin-top: 42px; padding-top: 20px; border-top: 1px solid var(--line);
    display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between;
}
.foot-bottom p { margin: 0; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ash-2); }
.socials { display: flex; align-items: center; gap: 14px; }
.socials a { color: var(--ash-2); transition: color .15s ease; }
.socials a:hover { color: var(--bone); }

.disclaimer { margin-top: 20px; font-size: 11.5px; line-height: 1.6; color: #5D6259; max-width: 100ch; }

/* ---------- inner pages ---------- */

.page-head { position: relative; overflow: hidden; padding: 96px 0 54px; border-bottom: 1px solid var(--line); }
.page-head-bg { position: absolute; inset: 0; z-index: 0; }
.page-head-bg picture, .page-head-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-head-bg img { filter: saturate(.55) contrast(1.02); }
.page-head-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,16,10,.9) 0%, rgba(11,16,10,.78) 40%, var(--ink) 100%); }
.page-head .wrap { position: relative; z-index: 1; }
.page-head h1 { font-size: clamp(2rem, 5vw, 3.6rem); max-width: 20ch; }

.page-content { padding: clamp(48px, 6vw, 76px) 0 clamp(64px, 8vw, 96px); }
.prose { max-width: 76ch; }
.prose h2 { margin: 44px 0 16px; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.prose h3 { margin: 30px 0 12px; }
.prose p, .prose li { color: var(--ash); }
.prose ul, .prose ol { margin: 0 0 1.1em; padding-left: 20px; }
.prose li { margin-bottom: .5em; }
.prose strong { color: var(--bone); font-weight: 600; }
.prose a { color: var(--bone); border-bottom: 1px solid var(--blood); }
.prose a:hover { color: var(--blood); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0; }

.tile-card { display: block; border: 1px solid var(--line); background: var(--ink-3); padding: 20px; }
.tile-card:hover { border-color: var(--line-2); }
.tile-card h3 { margin: 0 0 8px; }
.tile-card p { margin: 0; font-size: .92rem; color: var(--ash); }

/* ---------- 404 ---------- */

.err { position: relative; overflow: hidden; min-height: 76dvh; display: flex; align-items: center; text-align: center; padding: 90px 0; }
.err .wrap { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.err-code { font-family: var(--disp); font-weight: 900; font-size: clamp(6rem, 22vw, 15rem); line-height: .8; color: var(--blood); }
.err .lead { margin: 0 auto; }

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
    .g-4 { grid-template-columns: repeat(2, 1fr); }
    .ranks { grid-template-columns: repeat(3, 1fr); }
    .gallery { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 980px) {
    .nav-links { display: none; }
    .nav-burger { display: inline-flex; }
    .nav-tail .btn { display: none; }
    .split { grid-template-columns: 1fr; }
    .g-3, .kits { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: 1fr; }
    .foot-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .strip-grid { grid-template-columns: repeat(2, 1fr); }
    .strip-cell:nth-child(3) { border-left: 0; }
    .strip-cell:nth-child(n+3) { border-top: 1px solid var(--line); }
}

@media (max-width: 700px) {
    body { font-size: 16px; }
    .wrap { padding: 0 18px; }
    .hero { min-height: auto; }
    .hero .wrap { padding-top: 76px; padding-bottom: 44px; }
    .hero-title { max-width: 100%; }
    .g-2, .g-3, .g-4, .kits, .modes { grid-template-columns: 1fr; }
    .ranks { grid-template-columns: repeat(2, 1fr); }
    .gallery { grid-template-columns: repeat(2, 1fr); }
    .sec-num { font-size: 3.6rem; top: -8px; }
    .foot-grid { grid-template-columns: 1fr; }
    .btn { width: 100%; }
    .hero-cta .btn, .cta .btn { width: 100%; }
    .faq-body { padding-left: 22px; }
}

@media (max-width: 420px) {
    .gallery { grid-template-columns: 1fr; }
    .ranks { grid-template-columns: 1fr; }
}

/* ---------- toasts ---------- */

#dm-toasts { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 200; display: grid; gap: 8px; width: min(92vw, 420px); }
.toast {
    background: var(--ink-4); border: 1px solid var(--line-2); color: var(--bone);
    padding: 13px 16px; font-size: .92rem; transition: opacity .3s ease;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}

.tile-card-img { border-bottom: 1px solid var(--line); margin: -20px -20px 16px; }
.tile-card-img img { width: 100%; display: block; aspect-ratio: 16/9; object-fit: cover; }
.tile-card-body { display: block; }
