/* ===================================================================
 * Ismatulaev.ru — site styles (2026)
 * Тёмная тема, красный акцент, DM Serif Display + Public Sans
 * =================================================================== */

:root {
    --font-1: "Public Sans", system-ui, sans-serif;
    --font-2: "DM Serif Display", Georgia, serif;

    --accent: #e60f00;
    --accent-soft: rgba(230, 15, 0, .14);
    --accent-glow: rgba(230, 15, 0, .35);

    --bg: #141516;
    --bg-2: #101112;
    --bg-3: #1b1c1e;
    --line: rgba(255, 255, 255, .08);
    --line-2: rgba(255, 255, 255, .16);
    --text: #a1a1a2;
    --text-dim: #6c6c6e;
    --white: #ffffff;

    --gutter: clamp(16px, 4vw, 64px);
    --maxw: 1320px;
    --ease: cubic-bezier(.2, .7, .1, 1);
    --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-1);
    font-size: 17px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.is-loading { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.2em; }
h1, h2, h3, h4 { margin: 0; color: var(--white); font-weight: 400; }

::selection { background: var(--accent); color: #fff; }

.wrap {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* ---------- grain / bg layer ---------- */
.bg-grid {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 120px 120px;
    mask-image: radial-gradient(ellipse at 70% 20%, #000 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 70% 20%, #000 0%, transparent 70%);
    opacity: .5;
}

#net {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

main, header, footer { position: relative; z-index: 2; }

/* ---------- preloader ---------- */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: var(--bg-2);
    display: grid;
    place-items: center;
    transition: opacity .6s var(--ease), visibility .6s;
}
.preloader__mark {
    font-family: var(--font-2);
    font-size: clamp(42px, 8vw, 80px);
    color: var(--white);
    letter-spacing: .02em;
    display: flex;
    align-items: baseline;
    overflow: hidden;
}
.preloader__mark span {
    display: inline-block;
    transform: translateY(110%);
    animation: pre-up .7s var(--ease-out) forwards;
}
.preloader__mark span:nth-child(2) { animation-delay: .08s; }
.preloader__mark .dot { color: var(--accent); animation-delay: .16s; }
.preloader__bar {
    position: absolute;
    left: 50%;
    bottom: 22%;
    width: 140px;
    height: 1px;
    background: var(--line-2);
    transform: translateX(-50%);
    overflow: hidden;
}
.preloader__bar::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--accent);
    transform: translateX(-100%);
    animation: pre-bar 1.1s var(--ease) forwards;
}
@keyframes pre-up { to { transform: none; } }
@keyframes pre-bar { to { transform: none; } }
body.is-loaded .preloader { opacity: 0; visibility: hidden; }

/* ---------- progress ---------- */
.progress {
    position: fixed;
    top: 0; left: 0;
    height: 2px;
    width: 100%;
    background: var(--accent);
    transform-origin: 0 50%;
    transform: scaleX(0);
    z-index: 60;
}

/* ---------- header ---------- */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 50;
    transition: background .4s, border-color .4s, transform .4s var(--ease);
    border-bottom: 1px solid transparent;
}
.header.is-scrolled {
    background: rgba(16, 17, 18, .82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom-color: var(--line);
}
.header.is-hidden { transform: translateY(-100%); }
.menu-open .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: transparent; border-bottom-color: transparent; transform: none; }
.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.logo {
    font-family: var(--font-2);
    font-size: 24px;
    color: var(--white);
    letter-spacing: .01em;
}
.logo b { color: var(--accent); font-weight: 400; }

.nav ul {
    display: flex;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.nav a {
    position: relative;
    display: block;
    padding: 10px 16px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--text);
    transition: color .3s;
}
.nav a::after {
    content: "";
    position: absolute;
    left: 16px; right: 16px; bottom: 4px;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .4s var(--ease);
}
.nav a:hover, .nav a.is-active { color: var(--white); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }

.nav__cta {
    border: 1px solid var(--line-2);
    border-radius: 999px;
    margin-left: 10px;
}
.nav__cta:hover { border-color: var(--accent); }
.nav .nav__cta::after { display: none; }

.burger {
    display: none;
    width: 44px; height: 44px;
    border: 0;
    background: none;
    cursor: pointer;
    position: relative;
    z-index: 2;
}
.burger span, .burger span::before, .burger span::after {
    position: absolute;
    left: 50%;
    width: 24px; height: 1.5px;
    background: var(--white);
    transition: transform .35s var(--ease), background .2s;
}
.burger span { top: 50%; transform: translate(-50%, -50%); }
.burger span::before, .burger span::after { content: ""; left: 0; }
.burger span::before { top: -7px; }
.burger span::after { top: 7px; }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { transform: translateY(7px) rotate(45deg); }
.menu-open .burger span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- common ---------- */
.pretitle {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 28px;
}
.pretitle::before {
    content: "";
    width: 44px;
    height: 1px;
    background: rgba(255, 255, 255, .5);
}

.section {
    padding: clamp(90px, 13vw, 180px) 0;
    position: relative;
}
.section__head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 80px;
    align-items: end;
    margin-bottom: clamp(48px, 7vw, 96px);
}
.h2 {
    font-family: var(--font-2);
    font-size: clamp(40px, 6vw, 82px);
    line-height: 1.05;
}
.h2 em { font-style: normal; color: var(--accent); }
.lead { font-size: 19px; color: var(--text); max-width: 540px; margin: 0; }

.btn {
    --h: 60px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: var(--h);
    padding: 0 32px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    overflow: hidden;
    isolation: isolate;
    transition: color .4s var(--ease), border-color .4s;
    will-change: transform;
}
.btn svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    transform: translateY(101%);
    transition: transform .5s var(--ease-out);
}
.btn:hover::before { transform: none; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary::before { background: #fff; }
.btn--primary:hover { color: #000; }
.btn--ghost { border: 1px solid var(--line-2); color: var(--white); }
.btn--ghost::before { background: var(--white); }
.btn--ghost:hover { color: #000; border-color: #fff; }

/* ---------- reveal animations ---------- */
.js [data-reveal] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
    transition-delay: var(--d, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="scale"] { transform: scale(.94); }

.split-line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.split-line > span {
    display: inline-block;
    transform: translateY(105%);
    transition: transform 1.1s var(--ease-out);
    transition-delay: var(--d, 0s);
}
.is-in .split-line > span, .split-line.is-in > span { transform: none; }
.no-js .split-line > span { transform: none; }

/* ---------- hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: 120px 0 100px;
    overflow: hidden;
}
.hero__inner { position: relative; z-index: 2; width: 100%; }
.hero__title {
    font-family: var(--font-2);
    font-size: clamp(44px, 7.4vw, 122px);
    line-height: 1.02;
    letter-spacing: -.01em;
}
.hero__title .accent { color: var(--accent); }
.hero__title .rotator {
    display: inline-grid;
    vertical-align: bottom;
    overflow: hidden;
    height: 1.08em;
}
.hero__title .rotator > i {
    grid-area: 1 / 1;
    font-style: italic;
    color: var(--accent);
    transform: translateY(110%);
    transition: transform .9s var(--ease-out);
}
.hero__title .rotator > i.is-current { transform: none; }
.hero__title .rotator > i.is-out { transform: translateY(-110%); }

.hero__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-top: clamp(40px, 6vw, 80px);
}
.hero__text { max-width: 480px; font-size: 19px; margin: 0; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__social {
    position: absolute;
    right: var(--gutter);
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin: 0; padding: 0;
    list-style: none;
    z-index: 3;
}
.hero__social a {
    writing-mode: vertical-rl;
    font-size: 12px;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--text-dim);
    transition: color .3s;
}
.hero__social a:hover { color: var(--accent); }

.hero__scroll {
    position: absolute;
    left: 50%;
    bottom: 28px;
    width: 26px;
    height: 44px;
    border: 1px solid var(--line-2);
    border-radius: 20px;
    transform: translateX(-50%);
    z-index: 3;
}
.hero__scroll::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 9px;
    width: 3px;
    height: 8px;
    margin-left: -1.5px;
    border-radius: 2px;
    background: var(--accent);
    animation: scroll-dot 1.8s var(--ease) infinite;
}
@keyframes scroll-dot {
    0% { transform: translateY(0); opacity: 1; }
    70% { transform: translateY(14px); opacity: 0; }
    100% { transform: translateY(0); opacity: 0; }
}

/* orbit graphic */
.orbit {
    position: absolute;
    z-index: 1;
    right: -12vw;
    top: 50%;
    width: min(78vw, 980px);
    aspect-ratio: 1;
    transform: translateY(-50%);
    pointer-events: none;
}
.orbit svg { width: 100%; height: 100%; overflow: visible; }
.orbit .ring { fill: none; stroke: var(--accent); stroke-width: 1; opacity: .16; }
.orbit .ring--dash { stroke-dasharray: 2 10; opacity: .35; }
.orbit .ring--white { stroke: #fff; opacity: .06; }
.orbit .spin { transform-origin: 500px 500px; animation: spin 60s linear infinite; }
.orbit .spin--rev { animation-duration: 90s; animation-direction: reverse; }
.orbit .spin--fast { animation-duration: 24s; }
.orbit .sat { fill: var(--accent); }
.orbit .sat--w { fill: #fff; opacity: .7; }
.orbit .tick { stroke: #fff; opacity: .18; }
.orbit .pulse { fill: none; stroke: var(--accent); transform-origin: 500px 500px; animation: pulse 5s var(--ease) infinite; }
.orbit .pulse:nth-of-type(2) { animation-delay: 2.5s; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse {
    0% { transform: scale(.2); opacity: .6; stroke-width: 2; }
    100% { transform: scale(1); opacity: 0; stroke-width: .5; }
}

/* ---------- marquee ---------- */
.marquee {
    position: relative;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 26px 0;
    overflow: hidden;
    background: var(--bg-2);
}
.marquee__track {
    display: flex;
    width: max-content;
    animation: marquee 40s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
    display: flex;
    align-items: center;
    gap: 40px;
    padding-right: 40px;
    font-family: var(--font-2);
    font-size: clamp(30px, 4vw, 54px);
    color: var(--white);
    white-space: nowrap;
}
.marquee__item:nth-child(even) {
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, .45);
}
.marquee__item::after {
    content: "";
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--accent);
    flex: none;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- services ---------- */
.services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}
.card {
    position: relative;
    padding: clamp(28px, 3vw, 44px);
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    min-height: 360px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    isolation: isolate;
}
.card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), var(--accent-soft), transparent 60%);
    opacity: 0;
    transition: opacity .5s;
}
.card:hover::before { opacity: 1; }
.card__num {
    font-size: 12px;
    letter-spacing: .25em;
    color: var(--text-dim);
    margin-bottom: auto;
}
.card__icon {
    width: 64px; height: 64px;
    margin: 36px 0 30px;
    color: var(--accent);
}
.card__icon svg { width: 100%; height: 100%; overflow: visible; }
.card__icon .draw {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: var(--len, 300);
    stroke-dashoffset: var(--len, 300);
    transition: stroke-dashoffset 1.6s var(--ease-out);
    transition-delay: calc(var(--d, 0s) + .2s);
}
.card__icon .draw.w { stroke: #fff; opacity: .7; }
.is-in .card__icon .draw, .no-js .card__icon .draw { stroke-dashoffset: 0; }
.card:hover .card__icon .spin-on-hover { animation: spin 6s linear infinite; transform-box: fill-box; transform-origin: center; }

.card h3 {
    font-family: var(--font-2);
    font-size: clamp(26px, 2.4vw, 34px);
    line-height: 1.15;
    margin-bottom: 14px;
}
.card p { margin: 0; font-size: 16px; }
.card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 22px;
    padding: 0;
    list-style: none;
}
.card__tags li {
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 5px 10px;
    border: 1px solid var(--line-2);
    border-radius: 999px;
    color: var(--text);
}

/* ---------- stats ---------- */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
    margin-top: clamp(60px, 8vw, 110px);
}
.stat { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 36px clamp(20px, 2.4vw, 36px); }
.stat__num {
    font-family: var(--font-2);
    font-size: clamp(48px, 5.4vw, 80px);
    line-height: 1;
    color: var(--white);
    display: flex;
    align-items: baseline;
}
.stat__num sup { font-family: var(--font-1); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-left: 12px; align-self: flex-start; margin-top: .6em; }
.stat__label { margin-top: 14px; font-size: 14px; letter-spacing: .04em; color: var(--text); }

/* ---------- process ---------- */
.process { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    counter-reset: step;
}
.steps__line {
    position: absolute;
    top: 27px;
    left: 0; right: 0;
    height: 1px;
    background: var(--line-2);
}
.steps__line::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--accent);
    transform: scaleX(var(--p, 0));
    transform-origin: 0 50%;
    transition: transform .2s linear;
}
.step { position: relative; }
.step__dot {
    position: relative;
    width: 56px; height: 56px;
    border-radius: 50%;
    border: 1px solid var(--line-2);
    background: var(--bg-2);
    display: grid;
    place-items: center;
    font-family: var(--font-2);
    font-size: 22px;
    color: var(--white);
    margin-bottom: 30px;
    transition: border-color .5s, background .5s, color .5s;
}
.step.is-active .step__dot { border-color: var(--accent); background: var(--accent); color: #fff; box-shadow: 0 0 0 8px var(--accent-soft); }
.step h3 { font-family: var(--font-2); font-size: 28px; margin-bottom: 12px; }
.step p { font-size: 16px; margin: 0; }

/* ---------- about / principles ---------- */
.about__grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: clamp(40px, 8vw, 120px);
    align-items: start;
}
.about__quote {
    position: sticky;
    top: 120px;
}
.about__quote blockquote {
    margin: 0;
    font-family: var(--font-2);
    font-size: clamp(26px, 2.5vw, 36px);
    line-height: 1.25;
    color: var(--white);
}
.about__quote blockquote::before {
    content: "“";
    display: block;
    font-size: 2.6em;
    line-height: .7;
    color: var(--accent);
    margin-bottom: 10px;
}
.about__quote figcaption { margin-top: 24px; font-size: 14px; letter-spacing: .2em; text-transform: uppercase; color: var(--text-dim); }

.timeline { position: relative; margin: 0; padding: 0; list-style: none; }
.timeline::before {
    content: "";
    position: absolute;
    left: 7px; top: 8px; bottom: 8px;
    width: 1px;
    background: var(--line-2);
}
.timeline__item { position: relative; padding: 0 0 54px 52px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
    content: "";
    position: absolute;
    left: 0; top: 8px;
    width: 15px; height: 15px;
    border-radius: 50%;
    border: 1px solid var(--accent);
    background: var(--bg);
    transition: background .6s, box-shadow .6s;
}
.timeline__item.is-in::before { background: var(--accent); box-shadow: 0 0 0 6px var(--accent-soft); }
.timeline__year {
    font-size: 13px;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 8px;
}
.timeline__item h3 { font-family: var(--font-2); font-size: clamp(26px, 2.6vw, 36px); margin-bottom: 12px; line-height: 1.15; }
.timeline__item p { margin: 0; }

.principles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: clamp(80px, 10vw, 140px);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}
.principle { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 40px clamp(24px, 3vw, 40px); }
.principle h3 { font-family: var(--font-2); font-size: 28px; margin-bottom: 12px; }
.principle h3 span { color: var(--accent); }
.principle p { margin: 0; font-size: 16px; }

/* ---------- contact ---------- */
.contact { overflow: hidden; }
.contact__title {
    font-family: var(--font-2);
    font-size: clamp(48px, 9vw, 140px);
    line-height: 1;
    margin-bottom: clamp(40px, 5vw, 64px);
}
.contact__title a { color: var(--accent); position: relative; display: inline-block; }
.contact__title a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: .06em;
    height: 3px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .6s var(--ease);
}
.contact__title a:hover::after { transform: scaleX(1); transform-origin: left; }
.contact__text { font-size: 20px; max-width: 640px; margin-bottom: 56px; }
.contact__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}
.channel {
    position: relative;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 34px clamp(22px, 2.6vw, 36px);
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow: hidden;
    isolation: isolate;
    transition: color .4s;
}
.channel::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--accent);
    transform: translateY(101%);
    transition: transform .55s var(--ease-out);
}
.channel:hover::before { transform: none; }
.channel__label { font-size: 12px; letter-spacing: .25em; text-transform: uppercase; color: var(--text-dim); transition: color .4s; }
.channel__value { font-family: var(--font-2); font-size: clamp(22px, 2.2vw, 30px); color: var(--white); word-break: break-word; }
.channel__arrow {
    position: absolute;
    right: 28px; top: 30px;
    width: 22px; height: 22px;
    color: var(--white);
    transition: transform .5s var(--ease);
}
.channel:hover .channel__arrow { transform: rotate(45deg); }
.channel:hover .channel__label { color: rgba(255, 255, 255, .8); }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 34px 0; font-size: 14px; }
.footer__inner { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.footer a:hover { color: var(--white); }
.to-top {
    width: 48px; height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line-2);
    border-radius: 50%;
    color: var(--white);
    transition: border-color .3s, background .3s, transform .4s var(--ease);
}
.to-top:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-4px); }
.to-top svg { width: 18px; height: 18px; fill: currentColor; }

/* ---------- cursor ---------- */
.cursor {
    position: fixed;
    top: 0; left: 0;
    width: 36px; height: 36px;
    margin: -18px 0 0 -18px;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 90;
    transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background .3s, border-color .3s, opacity .3s;
    opacity: 0;
    mix-blend-mode: difference;
}
.cursor.is-visible { opacity: 1; }
.cursor.is-hover { width: 72px; height: 72px; margin: -36px 0 0 -36px; background: #fff; border-color: #fff; }
.cursor-dot {
    position: fixed;
    top: 0; left: 0;
    width: 6px; height: 6px;
    margin: -3px 0 0 -3px;
    border-radius: 50%;
    background: var(--accent);
    pointer-events: none;
    z-index: 91;
    opacity: 0;
    transition: opacity .3s;
}
.cursor-dot.is-visible { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor, .cursor-dot { display: none; } }

/* ===================================================================
 * responsive
 * =================================================================== */
@media (max-width: 1100px) {
    .services { grid-template-columns: repeat(2, 1fr); }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); row-gap: 56px; }
    .steps__line { display: none; }
    .hero__social { display: none; }
}

@media (max-width: 900px) {
    .burger { display: block; }
    .nav {
        position: fixed;
        inset: 0;
        background: var(--bg-2);
        display: flex;
        align-items: center;
        padding: 0 var(--gutter);
        clip-path: circle(0 at calc(100% - 40px) 36px);
        transition: clip-path .7s var(--ease-out);
    }
    .menu-open .nav { clip-path: circle(150% at calc(100% - 40px) 36px); }
    .nav ul { flex-direction: column; gap: 0; width: 100%; }
    .nav li { border-bottom: 1px solid var(--line); }
    .nav a {
        font-family: var(--font-2);
        font-size: 40px;
        letter-spacing: 0;
        text-transform: none;
        padding: 14px 0;
        color: var(--white);
    }
    .nav a::after { display: none; }
    .nav__cta { border: 0; margin: 0; color: var(--accent) !important; }
    .section__head { grid-template-columns: 1fr; }
    .about__grid { grid-template-columns: 1fr; }
    .about__quote { position: static; }
    .principles { grid-template-columns: 1fr; }
    .contact__grid { grid-template-columns: 1fr; }
    .orbit { right: -40vw; width: 120vw; opacity: .7; }
}

@media (max-width: 640px) {
    body { font-size: 16px; }
    .services { grid-template-columns: 1fr; }
    .card { min-height: 0; }
    .steps { grid-template-columns: 1fr; }
    .stats { grid-template-columns: 1fr 1fr; }
    .stat { padding: 26px 18px; }
    .hero { padding-top: 110px; }
    .hero__text { font-size: 17px; }
    .btn { --h: 54px; padding: 0 24px; width: 100%; }
    .hero__actions { width: 100%; }
    .pretitle::before { width: 24px; }
    .hero__scroll { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
    .marquee__track { animation: none; }
    html { scroll-behavior: auto; }
}
