
:root {
    --black: #111111;
    --red: #d71920;
    --white: #f0ede6;
    --gray: #a9a9a9;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--black);
    color: var(--white);
    font-family: Arial, Helvetica, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 5%;
    border-bottom: 1px solid #333;
}

.logo {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: -2px;
}

.logo span {
    color: var(--red);
    font-size: 16px;
}

nav {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    font-size: 12px;
    font-weight: bold;
}

nav a:hover {
    color: var(--red);
}

.hero {
    min-height: 78vh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 70px 5%;
}

.eyebrow,
.section-label {
    color: var(--red);
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 2px;
}

.hero h1 {
    margin: 28px 0;
    font-size: clamp(60px, 11vw, 170px);
    line-height: 0.9;
    letter-spacing: -0.07em;
    font-weight: 900;
}

.hero h1 span {
    color: var(--red);
}

.hero-subtitle {
    color: var(--gray);
    letter-spacing: 3px;
}

.hero-button {
    margin-top: 36px;
    padding: 18px 28px;
    background: var(--red);
    color: white;
    font-weight: bold;
    transition: transform 0.2s, background 0.2s;
}

.hero-button:hover {
    transform: translateY(-4px);
    background: #f12730;
}

.marquee {
    overflow: hidden;
    background: var(--red);
    color: white;
    padding: 18px 0;
    font-weight: 900;
    font-size: 24px;
    white-space: nowrap;
}

.marquee-track {
    width: max-content;
    animation: move 18s linear infinite;
}

@keyframes move {
    from { transform: translateX(0); }
    to { transform: translateX(-40%); }
}

.section {
    padding: 110px 5%;
    border-bottom: 1px solid #333;
}

.section h2 {
    font-size: clamp(48px, 8vw, 110px);
    line-height: 0.95;
    letter-spacing: -0.06em;
    margin: 28px 0;
}

.section > p:not(.section-label) {
    max-width: 650px;
    color: var(--gray);
    font-size: 19px;
    line-height: 1.7;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 50px;
}

.project-card {
    min-height: 300px;
    padding: 30px;
    border: 1px solid #444;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: background 0.25s, transform 0.25s;
}

.project-card:hover {
    background: var(--red);
    transform: translateY(-6px);
}

.project-card span {
    font-size: 14px;
}

.project-card h3 {
    font-size: clamp(34px, 4vw, 65px);
    letter-spacing: -3px;
    margin: 0;
}

.project-card p {
    color: #bbb;
}

.project-card:hover p {
    color: white;
}

.contact {
    background: #191919;
}

.footer {
    padding: 35px 5%;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: var(--gray);
}

.footer strong {
    color: var(--white);
    font-size: 25px;
}

@media (max-width: 700px) {
    .header {
        flex-direction: column;
        align-items: flex-start;
    }

    nav {
        gap: 14px;
    }

    .hero {
        min-height: 65vh;
    }

    .hero h1 {
        font-size: clamp(48px, 13vw, 90px);
    }

    .project-grid {
        grid-template-columns: 1fr;
    }

    .project-card {
        min-height: 230px;
    }

    .section {
        padding: 75px 5%;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .marquee-track {
        animation: none;
    }

    .hero-button,
    .project-card {
        transition: none;
    }
}

/* Плавное появление разделов */

.section.reveal {
    opacity: 0;
    transform: translateY(45px);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.section.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .section.reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* UNDERGROUND VISUAL DETAILS */

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;

    background-image:
        linear-gradient(#ffffff08 1px, transparent 1px),
        linear-gradient(90deg, #ffffff08 1px, transparent 1px);

    background-size: 60px 60px;
    mask-image: linear-gradient(to bottom, black, transparent);
}

.hero::after {
    content: "DOZA / 001";
    position: absolute;
    right: 5%;
    bottom: 35px;
    color: #777;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 4px;
    pointer-events: none;
}

::selection {
    background: #d71920;
    color: #ffffff;
}

.project-card {
    position: relative;
    overflow: hidden;
}

.project-card::after {
    content: "↗";
    position: absolute;
    right: 25px;
    top: 20px;
    font-size: 26px;
    color: #d71920;
    transition: transform 0.25s;
}

.project-card:hover::after {
    color: #ffffff;
    transform: translate(4px, -4px);
}

/* DOZA TEAM — фирменный логотип */

.logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    display: block;
    width: 180px;
    max-width: 100%;
    height: auto;
}

@media (max-width: 700px) {
    .logo img {
        width: 145px;
    }
}


/* DOZA UNDERGROUND — HERO V2 */

.hero {
    position: relative;
    min-height: 85vh;
}

.hero h1 {
    position: relative;
    z-index: 2;
    text-transform: uppercase;
}

.hero h1 span {
    display: inline-block;
    color: transparent;
    -webkit-text-stroke: 2px #d71920;
}

.hero::after {
    content: "001 / DOZA TEAM";
    position: absolute;
    right: 5%;
    bottom: 35px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 3px;
    color: #888;
}

.hero::before {
    background-image:
        linear-gradient(#ffffff08 1px, transparent 1px),
        linear-gradient(90deg, #ffffff08 1px, transparent 1px);
    background-size: 50px 50px;
}

@media (max-width: 700px) {
    .hero {
        min-height: 70vh;
    }

    .hero h1 span {
        -webkit-text-stroke: 1px #d71920;
    }
}

/* DOZA — responsive hero typography */

.hero h1 {
    width: 100%;
    font-size: clamp(42px, 10vw, 160px);
    overflow-wrap: normal;
}

.hero h1 span {
    max-width: 100%;
}

@media (max-width: 700px) {
    .hero h1 {
        font-size: clamp(38px, 11vw, 76px);
        letter-spacing: -0.065em;
    }

    .hero-subtitle {
        font-size: 12px;
        line-height: 1.8;
        letter-spacing: 2px;
    }
}

/* DOZA TEAM — UNDERGROUND PROJECT CARDS */

.project-grid {
    gap: 12px;
}

.project-card {
    min-height: 380px;
    background: #181818;
    border: 1px solid #444;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    transition:
        background 0.3s ease,
        transform 0.3s ease,
        border-color 0.3s ease;
}

.project-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: repeating-linear-gradient(
        -45deg,
        transparent 0px,
        transparent 16px,
        #ffffff08 17px,
        transparent 18px
    );
    pointer-events: none;
}

.project-card > span {
    color: #d71920;
    font-weight: 900;
    font-size: 18px;
}

.project-card h3 {
    font-size: clamp(40px, 5vw, 80px);
    line-height: 0.9;
    letter-spacing: -0.06em;
    overflow-wrap: anywhere;
}

.project-card:hover {
    background: #d71920;
    border-color: #d71920;
    transform: translateY(-8px);
}

.project-card:hover > span {
    color: #fff;
}

.project-card:hover::before {
    opacity: 0.3;
}

@media (max-width: 700px) {
    .project-grid {
        grid-template-columns: 1fr;
    }

    .project-card {
        min-height: 250px;
    }

    .project-card h3 {
        font-size: 58px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .project-card {
        transition: none;
    }
}

/* DOZA TEAM — MANIFESTO */

#about {
    position: relative;
    overflow: hidden;
    background: #141414;
}

#about::before {
    content: "DOZA";
    position: absolute;
    right: -2%;
    top: 15%;
    font-size: clamp(120px, 25vw, 400px);
    font-weight: 900;
    letter-spacing: -0.1em;
    color: rgba(255, 255, 255, 0.025);
    pointer-events: none;
}

#about > * {
    position: relative;
    z-index: 1;
}

#about h2 {
    max-width: 1100px;
    text-transform: uppercase;
}

#about h2::first-line {
    color: #d71920;
}

#about > p:not(.section-label) {
    border-left: 3px solid #d71920;
    padding-left: 24px;
    margin-top: 40px;
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.6;
}

@media (max-width: 700px) {
    #about::before {
        top: 35%;
        right: 0;
    }

    #about > p:not(.section-label) {
        padding-left: 16px;
        font-size: 17px;
    }
}
