
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --black: #080808;
    --surface: #111111;
    --surface-light: #171717;
    --white: #f5f5f5;
    --gray: #929292;
    --border: #292929;
    --font: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    background: var(--black);
    color: var(--white);
    font-family: var(--font);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

.container {
    width: min(1160px, 90%);
    margin: 0 auto;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(8, 8, 8, 0.85);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.navbar {
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 21px;
    font-weight: 900;
    letter-spacing: -1px;
}

.logo span {
    color: #777;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 38px;
    list-style: none;
}

.nav-links a {
    color: var(--gray);
    font-size: 13px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--white);
}

.nav-links .nav-contact {
    color: var(--white);
    border: 1px solid var(--border);
    padding: 11px 17px;
    border-radius: 4px;
}

.nav-contact span {
    margin-left: 8px;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: white;
    margin: 6px;
}

.hero {
    min-height: 760px;
    padding-top: 190px;
    padding-bottom: 45px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    top: 170px;
    right: 2%;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.035);
    filter: blur(100px);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--gray);
}

.status-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    background: #f5f5f5;
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
}

.hero h1 {
    font-size: clamp(65px, 10vw, 126px);
    line-height: 0.94;
    letter-spacing: -8px;
    font-weight: 900;
    margin: 35px 0;
}

.hero h1 span,
.section-heading h2 span,
.contact-box h2 span {
    color: transparent;
    -webkit-text-stroke: 1px #777;
}

.hero-description {
    max-width: 420px;
    color: var(--gray);
    font-size: 15px;
    line-height: 1.9;
}

.hero-actions {
    display: flex;
    gap: 13px;
    margin-top: 35px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 15px 22px;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid var(--border);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--white);
    color: var(--black);
    border-color: var(--white);
}

.btn-primary:hover {
    background: transparent;
    color: var(--white);
}

.btn-secondary {
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--black);
}

.hero-bottom {
    display: flex;
    justify-content: space-between;
    color: #666;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    border-top: 1px solid var(--border);
    padding-top: 20px;
}

.section {
    padding-top: 125px;
}

.section-heading {
    margin-bottom: 45px;
}

.section-heading h2 {
    font-size: clamp(40px, 7vw, 72px);
    line-height: 1;
    letter-spacing: -4px;
    font-weight: 900;
    margin-top: 18px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.service-card {
    min-height: 240px;
    padding: 30px;
    background: var(--surface);
    border: 1px solid var(--border);
    position: relative;
    transition: all 0.3s ease;
}

.service-card:hover {
    background: var(--surface-light);
    border-color: #777;
    transform: translateY(-5px);
}

.card-number {
    color: #777;
    font-size: 12px;
}

.service-card h3 {
    font-size: 20px;
    margin-top: 35px;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--gray);
    font-size: 13px;
    line-height: 1.8;
}

.card-arrow {
    position: absolute;
    top: 25px;
    right: 28px;
    font-size: 18px;
    color: #777;
}

.work-placeholder {
    min-height: 280px;
    border: 1px solid var(--border);
    background: linear-gradient(135deg, #141414, #090909);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 30px;
}

.work-placeholder span {
    font-size: clamp(20px, 4vw, 35px);
    font-weight: 800;
    letter-spacing: -1px;
}

.work-placeholder p {
    margin-top: 15px;
    color: var(--gray);
    font-size: 13px;
}

.about-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 70px;
    align-items: start;
}

.about-content > p {
    font-size: 19px;
    line-height: 1.9;
    color: #c5c5c5;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skills span {
    border: 1px solid var(--border);
    padding: 11px 16px;
    color: #aaa;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.skills span:hover {
    background: var(--white);
    color: var(--black);
}

.contact-box {
    background: #111;
    border: 1px solid var(--border);
    padding: 80px 60px;
}

.contact-box h2 {
    font-size: clamp(55px, 9vw, 100px);
    font-weight: 900;
    letter-spacing: -6px;
    line-height: 0.95;
    margin: 25px 0;
}

.contact-box > p:not(.eyebrow) {
    color: var(--gray);
    margin-bottom: 30px;
    font-size: 14px;
}

.footer {
    margin-top: 120px;
    min-height: 100px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer p,
.footer > span {
    font-size: 10px;
    color: #777;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .navbar {
        height: 72px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        background: #101010;
        border-bottom: 1px solid var(--border);
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 15px 5%;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li a {
        display: block;
        padding: 14px 0;
    }

    .nav-links .nav-contact {
        display: inline-block;
        width: fit-content;
        margin-top: 10px;
    }

    .hero {
        min-height: 680px;
        padding-top: 165px;
    }

    .hero h1 {
        font-size: clamp(55px, 12vw, 90px);
        letter-spacing: -4px;
    }

    .hero-bottom {
        font-size: 8px;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 210px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-box {
        padding: 55px 25px;
    }

    .contact-box h2 {
        letter-spacing: -3px;
    }

    .footer {
        flex-direction: column;
        align-items: flex-start;
        padding: 30px 0;
    }
}

@media (max-width: 420px) {
    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-bottom {
        gap: 15px;
    }

    .hero-bottom span:last-child {
        text-align: right;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

.work-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.85fr;
    gap: 22px;
    align-items: start;
}

.project-card {
    min-width: 0;
}

.project-visual {
    min-height: 350px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border);
    background: #101010;
    transition: border-color 0.35s ease;
}

.project-card:hover .project-visual {
    border-color: #777;
}

.portfolio-preview {
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background:
        radial-gradient(ellipse at 70% 45%, #242424 0%, transparent 55%),
        #090909;
}

.preview-topbar,
.preview-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.preview-logo {
    font-size: 11px;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.preview-dots {
    display: flex;
    gap: 5px;
}

.preview-dots i {
    width: 5px;
    height: 5px;
    background: #777;
    border-radius: 50%;
}

.preview-content {
    padding: 20px 0;
}

.preview-content > span {
    color: #888;
    font-size: 8px;
    letter-spacing: 2px;
}

.preview-content strong {
    display: block;
    font-size: clamp(35px, 5vw, 65px);
    line-height: 0.95;
    letter-spacing: -4px;
    margin-top: 15px;
    font-weight: 900;
}

.preview-content em {
    color: transparent;
    font-style: normal;
    -webkit-text-stroke: 1px #888;
}

.preview-line {
    width: 65px;
    height: 2px;
    background: white;
    margin-top: 22px;
}

.preview-footer {
    color: #777;
    font-size: 8px;
    letter-spacing: 1px;
}

.project-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
}

.project-category {
    color: #777;
    font-size: 9px;
    letter-spacing: 1.3px;
    font-weight: 700;
}

.project-info h3 {
    font-size: 20px;
    margin-top: 8px;
}

.project-index {
    font-size: 13px;
    color: #777;
}

.project-description {
    color: var(--gray);
    font-size: 13px;
    margin-top: 12px;
    line-height: 1.8;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.project-tags span {
    border: 1px solid var(--border);
    padding: 7px 10px;
    color: #aaa;
    font-size: 9px;
    letter-spacing: 0.8px;
}

.upcoming-visual {
    min-height: 350px;
    background: #0e0e0e;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    color: #777;
    font-size: 10px;
    letter-spacing: 1.5px;
    transition: all 0.35s ease;
}

.upcoming-project:hover .upcoming-visual {
    border-color: #777;
    background: #141414;
}

.upcoming-symbol {
    font-size: 65px;
    font-weight: 200;
    color: #555;
    transition: transform 0.35s ease;
}

.upcoming-project:hover .upcoming-symbol {
    transform: rotate(90deg);
}

@media (max-width: 768px) {
    .work-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .project-visual,
    .upcoming-visual {
        min-height: 290px;
    }

    .preview-content strong {
        font-size: clamp(40px, 11vw, 65px);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.2,.7,.2,1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-content {
    animation: heroEnter 1s cubic-bezier(.2,.7,.2,1) both;
}

.hero-bottom {
    animation: heroEnter 1s 0.35s cubic-bezier(.2,.7,.2,1) both;
}

@keyframes heroEnter {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.project-card {
    transition: transform 0.35s ease, border-color 0.35s ease;
}

.service-card:hover,
.project-card:hover {
    transform: translateY(-6px);
}

.project-visual,
.upcoming-visual {
    transition: transform 0.45s ease, border-color 0.35s ease;
}

.project-card:hover .project-visual,
.upcoming-project:hover .upcoming-visual {
    transform: scale(0.985);
}

@media (prefers-reduced-motion: reduce) {
    .reveal,
    .hero-content,
    .hero-bottom {
        animation: none;
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 35px;
}

.contact-link {
    min-width: 150px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 16px 18px;
    border: 1px solid var(--border);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.contact-link:hover {
    background: var(--white);
    color: var(--black);
    border-color: var(--white);
}

.contact-link span:last-child {
    font-size: 16px;
}

@media (max-width: 500px) {
    .contact-links {
        flex-direction: column;
    }

    .contact-link {
        width: 100%;
    }
}
