:root {
    --bg: #000000;
    --text: #ffffff;
    --text-dim: #888888;
    --border: rgba(255, 255, 255, 0.12);
    --serif: 'Cormorant Garamond', serif;
    --sans: 'Inter', sans-serif;
    --mobile-padding: 10px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}


header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent);
}

.logo {
    font-size: 0.9rem;
    letter-spacing: 4px;
    font-weight: 600;
    text-decoration: none;
    color: var(--text);
}

nav a {
    margin-left: 1.5rem;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text);
    text-decoration: none;
}

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 120px 8% 60px;
    gap: 2vw;
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.hero-text-container {
    flex: 1;
    text-align: left;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 7.5rem);
    font-weight: 200;
    line-height: 0.85;
    text-transform: uppercase;
    letter-spacing: -3px;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(1.1rem, 2.5vw, 2.2rem);
    color: var(--text-dim);
    padding-left: 10%;
    display: inline-block;
    min-height: 1.2em;
    position: relative;
}

.hero-description::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 15%;
    width: 1px;
    height: 70%;
    background-color: var(--text-dim);
    animation: blink 1s step-end infinite;
}

@keyframes blink {

    from,
    to {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }
}

.hero-stack {
    position: relative;
    width: 300px;
    height: 400px;
    cursor: pointer;
    z-index: 3;
    flex-shrink: 0;
    margin-right: 20px;
}

.stack-card {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.6s;
    background: #111;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.stack-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-1 {
    z-index: 3;
    transform: rotate(0deg);
}

.card-2 {
    z-index: 2;
    transform: rotate(-6deg) translateY(12px);
    opacity: 0.8;
}

.card-3 {
    z-index: 1;
    transform: rotate(6deg) translateY(22px);
    opacity: 0.6;
}

.hero-stack:hover .card-1 {
    transform: translateY(-25px);
}

.hero-stack:hover .card-2 {
    transform: translateX(-80px) translateY(15px) rotate(-12deg);
    opacity: 1;
}

.hero-stack:hover .card-3 {
    transform: translateX(80px) translateY(15px) rotate(12deg);
    opacity: 1;
}

.manifesto {
    padding: 8rem 15%;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.manifesto p {
    font-family: var(--serif);
    font-size: clamp(1.4rem, 2.5vw, 2.2rem);
    line-height: 1.5;
    font-weight: 300;
    color: var(--text);
    max-width: 900px;
    margin: 0 auto;
}

.manifesto .highlight {
    color: var(--text-dim);
    font-style: italic;
}

.section-header {
    padding: 8rem 5% 2rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.section-header h2 {
    font-family: var(--serif);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-style: italic;
    font-weight: 300;
}

.section-header span {
    color: var(--text-dim);
    font-size: 0.65rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.work-grid,
.photo-grid {
    display: grid;
}

.work-grid {
    grid-template-columns: repeat(2, 1fr);
}

.photo-grid {
    grid-template-columns: repeat(3, 1fr);
}

.work-item {
    position: relative;
    overflow: hidden;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    aspect-ratio: 16/9;
}

.photo-item {
    aspect-ratio: 4/5;
}

.work-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 1.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.work-item:hover img {
    transform: scale(1.06);
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: 0.5s;
    padding: 25px;
    text-align: center;
}

.work-item:hover .overlay {
    opacity: 1;
}

.overlay h3 {
    font-family: var(--serif);
    font-size: 1.4rem;
    font-style: italic;
    font-weight: 300;
}

.founders {
    padding: 10rem 5%;
    display: grid;
    grid-template-columns: repeat(2, 350px);
    gap: 4rem;
    justify-content: center;
}

.founder-card {
    border-left: 1px solid var(--border);
    padding-left: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.founder-img {
    width: 100%;
    max-width: 300px;
    aspect-ratio: 4/5;
    object-fit: cover;
    margin-bottom: 2rem;
}

.contact-cta {
    padding: 10rem 5%;
    text-align: center;
    background: linear-gradient(to top, #080808, #000);
    border-top: 1px solid var(--border);
}

.contact-cta h2 {
    font-family: var(--serif);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 300;
    margin-bottom: 2rem;
    font-style: italic;
}

.whatsapp-btn {
    display: inline-block;
    padding: 1.2rem 3.5rem;
    border: 1px solid var(--text);
    color: var(--text);
    text-decoration: none;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    transition: all 0.4s ease;
    margin-top: 1rem;
}

.whatsapp-btn:hover {
    background: var(--text);
    color: var(--bg);
    transform: translateY(-5px);
}

#mainModal {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 9999;
    display: none;
    flex-direction: column;
    overflow-y: auto;
}

.modal-header {
    padding: 3rem 5% 2rem;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    background: #000;
}

.close-btn {
    font-size: 3rem;
    cursor: pointer;
    font-weight: 100;
    line-height: 1;
}

#mediaDisplay {
    padding: 4rem 5%;
    width: 100%;
}

footer {
    padding: 5rem 5%;
    text-align: center;
    border-top: 1px solid var(--border);
    font-size: 0.6rem;
    letter-spacing: 5px;
    color: #444;
    text-transform: uppercase;
}

@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 140px var(--mobile-padding) 60px;
        gap: 40px;
        justify-content: center;
    }

    .hero-stack {
        margin-right: 0;
        width: 220px;
        height: 300px;
        order: 2;
    }

    .hero-text-container {
        order: 1;
        width: 100%;
    }

    .hero-description {
        padding-left: 0;
    }

    .manifesto {
        padding: 6rem 5%;
    }

    .work-grid,
    .photo-grid {
        grid-template-columns: 1fr;
        padding: 0 var(--mobile-padding);
        gap: 15px;
    }

    .work-item {
        border: 1px solid var(--border);
        border-radius: 2px;
    }

    .founders {
        grid-template-columns: 1fr;
        padding: 5rem var(--mobile-padding);
        gap: 3rem;
        justify-items: center;
    }

    .founder-card {
        border-left: none;
        padding-left: 0;
    }

    .contact-cta {
        padding: 7rem var(--mobile-padding);
    }

    nav {
        display: none;
    }

    .section-header {
        padding: 5rem var(--mobile-padding) 1.5rem;
    }
}