/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-dark: #1d1d1d;
    --text-light: #fff;
    --text-dark: #000;
    --gutter: 1.6rem;
    --margin: 2.6rem;
    --column: calc((100vw - (var(--margin) * 2) - (var(--gutter) * 11)) / 12);
}

html {
    font-size: 10px;
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-size: 1.2rem;
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    margin: 0;
    padding: 0;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: var(--margin);
    right: var(--margin);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: var(--margin) 0;
    mix-blend-mode: difference;
}

.header--dark {
    color: var(--text-light);
}

.header__logo a {
    display: block;
    transition: opacity 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.header__logo img {
    height: 3rem;
    width: auto;
    display: block;
}

.header__logo a:hover {
    opacity: 0.6;
}

.header__nav {
    display: flex;
    gap: 1rem;
}

.header__link {
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: opacity 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.header__link:hover {
    opacity: 0.6;
}

.header__contact {
    display: flex;
    gap: 1rem;
}

.header__toggle {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 4.2rem;
    height: 4.2rem;
    justify-content: center;
    align-items: center;
}

.header__toggle span {
    width: 2.4rem;
    height: 0.2rem;
    background-color: var(--text-light);
    transition: all 0.3s ease;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-dark);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu__nav {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 4rem;
}

.mobile-menu__link {
    font-size: 4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    transition: opacity 0.3s ease;
}

.mobile-menu__link:hover {
    opacity: 0.6;
}

.mobile-menu__contact {
    display: flex;
    gap: 2rem;
}

.mobile-menu__contact a {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Dropdown Sections */
.dropdown-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 998;
    overflow: hidden;
    transition: height 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.dropdown-section.active {
    height: 100vh;
}

.dropdown-section__content {
    width: 100%;
    height: 100%;
    padding: calc(var(--margin) * 3) var(--margin) var(--margin);
    overflow-y: auto;
    background-color: transparent;
}

/* Footer */
.footer {
    position: relative;
    padding: var(--margin);
    background-color: var(--bg-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer__logo {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.footer__content {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.footer__text {
    font-size: 9.6rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    opacity: 0.1;
}

.footer__links {
    display: flex;
    gap: 1.6rem;
}

.footer__links a {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: opacity 0.3s ease;
}

.footer__links a:hover {
    opacity: 0.6;
}

/* Responsive Design */
@media (max-width: 1024px) {
    :root {
        --column: calc((100vw - (var(--margin) * 2) - (var(--gutter) * 7)) / 8);
    }
}

@media (max-width: 768px) {
    .header__nav,
    .header__contact {
        display: none;
    }

    .header__toggle {
        display: flex;
    }
}

@media (max-width: 480px) {
    :root {
        --column: calc((100vw - (var(--margin) * 2) - (var(--gutter) * 3)) / 4);
        --margin: 1.6rem;
    }

    .footer {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .footer__content {
        position: static;
        transform: none;
    }

    .footer__text {
        font-size: 4rem;
    }

    .footer__links {
        flex-direction: column;
        gap: 1rem;
    }
}
