:root {
    --bg: #000;
    --text: #fff;
    --gray: #888;
    --accent: #00bbff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Roboto Mono', monospace;
    margin: 0;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.project-section {
    display: flex;
    gap: 100px;
    padding-top: 160px;
    align-items: flex-start;
}

.project-info {
    flex: 0 0 420px;
}

.project-info__sticky {
    position: sticky;
    top: 160px;
}

.project-title {
    font-size: 96px;
    margin: 0;
    font-weight: 400;
    letter-spacing: -4px;
    line-height: 1;
}

.project-subtitle {
    font-size: 28px;
    color: var(--gray);
    margin: 15px 0 40px;
    font-weight: 400;
}

.tags {
    display: flex;
    gap: 12px;
    margin-bottom: 60px;
}

.tag {
    padding: 10px 24px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    align-content: center;
}

.tag--primary {
    background: #fff;
    color: #000;
}

.tag--secondary {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
}

.label {
    color: var(--gray);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.about-block p {
    font-size: 20px;
    line-height: 1.5;
    color: #aaa;
    max-width: 380px;
}

.gallery {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 120px;
    padding-bottom: 200px;
}

.parallax-frame {
    margin: 0;
    width: 100%;
    height: 75vh;
    overflow: hidden; 
    border-radius: 32px;
    position: relative;
    background: #111;
}

.parallax-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    will-change: transform;
    transform: scale(1.2); 
    display: block;
}


.ticker {
    background: #000;
    color: #fff;
    overflow: hidden;
    padding: clamp(20px, 2vw, 40px) 0;
    border-top: 1px solid #1a1a1a;
    border-bottom: 1px solid #1a1a1a;
}

.ticker__track {
    display: flex;
    width: max-content;
    animation: scrollTicker 50s linear infinite;
}

.ticker__track span {
    display: block;
    padding-right: 20px;
    font-size: clamp(27px, 2vw, 4vw);
    font-weight: 500;
    white-space: nowrap;
}

@keyframes scrollTicker {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.related-section {
    padding: 120px 0;
    background: #000;
}

.grid-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.project-card {
    text-decoration: none;
    color: #fff;
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    height: 550px;
    display: block;
}

.project-card__img-wrap {
    width: 100%;
    height: 100%;
}

.project-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}

.project-card:hover img {
    transform: scale(1.1);
}

.project-card__content {
    position: absolute;
    inset: 0;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), transparent, rgba(0,0,0,0.7));
}

.project-card__tag {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    width: fit-content;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 14px;
}

.project-card__title {
    font-size: 36px;
    margin: 0;
    font-weight: 400;
}

@media (max-width: 1100px) {
    .project-section {
        flex-direction: column;
        gap: 60px;
        padding-top: 120px;
    }
    .project-info {
        flex: none;
        width: 100%;
    }
    .project-info__sticky {
        position: relative;
        top: 0;
    }
    .project-title {
        font-size: 64px;
    }
    .parallax-frame {
        height: 50vh;
    }
    .grid-footer {
        grid-template-columns: 1fr;
    }
    .related-section {
        padding: 120px 0 0 0;
    }
}

.project-layout {
    display: flex;
    gap: 80px;
    padding-top: 150px;
}

.project-sidebar {
    flex: 0 0 400px;
    position: relative; 
}

.project-info-sticky {
    position: sticky;
    top: 150px; 
    padding-bottom: 100px; 
}

.project-gallery {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 100px; 
    padding-bottom: 100px;
}

.parallax-frame {
    width: 100%;
    height: 80vh; 
    overflow: hidden;
    border-radius: 32px;
    position: relative;
}

.parallax-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    will-change: transform;
    transform: scale(1.4);
    display: block;
}

@media (max-width: 1024px) {
    .project-sidebar {
        flex: 0 0 300px;
    }
}

@media (max-width: 950px) {
    .project-layout {
        display: block;
        padding-top: 40px;
    }
}
