
/* ==============================
   RESET & VARIABLES
============================== */

:root {
    --bg: #080808;
    --surface: #101010;
    --surface-hover: #161616;
    --text: #f2f2f0;
    --muted: #858585;
    --border: #262626;
    --accent: #ffffff;
    --font: 'Manrope', sans-serif;
    --mono: 'DM Mono', monospace;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    overflow-x: hidden;
    line-height: 1.6;
}

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

button {
    font: inherit;
}

::selection {
    background: white;
    color: black;
}

.container {
    width: min(1160px, 88%);
    margin: auto;
}

.noise {
    position: fixed;
    inset: 0;
    z-index: 10;
    pointer-events: none;
    opacity: .035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}

/* ==============================
   NAVIGATION
============================== */

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(8, 8, 8, .88);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,.07);
}

.nav {
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -1.5px;
}

.logo span,
.dot {
    color: #888;
}

.nav-links {
    display: flex;
    gap: 28px;
}

.nav-links a,
.nav-contact {
    font-size: 12px;
    color: #aaa;
    transition: .3s;
}

.nav-links a:hover,
.nav-contact:hover {
    color: white;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.language-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: white;
    padding: 7px 11px;
    cursor: pointer;
    font-family: var(--mono);
    font-size: 11px;
}

.nav-contact {
    color: white;
    border-bottom: 1px solid #666;
    padding-bottom: 5px;
}

.menu-btn {
    display: none;
    background: none;
    border: 0;
    cursor: pointer;
}

.menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    margin: 6px;
}

/* ==============================
   HERO
============================== */

.hero {
    min-height: 720px;
    padding-top: 55px;
    display: flex;
    flex-direction: column;
}

.hero-top,
.hero-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.availability,
.hero-location,
.hero-bottom,
.eyebrow,
.section-label,
.image-caption,
.card-number,
.card-bottom,
.stack-item small,
.work-empty-label,
.contact-footer,
.footer .back-top {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 1px;
    color: var(--muted);
}

.availability {
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-dot {
    width: 7px;
    height: 7px;
    background: #b8b8b8;
    border-radius: 50%;
    box-shadow: 0 0 12px #aaa;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.3fr .7fr;
    align-items: center;
    gap: 70px;
    flex: 1;
    padding: 75px 0;
}

.eyebrow {
    margin-bottom: 28px;
}

.hero h1 {
    font-size: clamp(65px, 9vw, 112px);
    line-height: .98;
    letter-spacing: -8px;
    font-weight: 700;
}

.hero h1 > span:first-child {
    display: block;
    font-size: .48em;
    letter-spacing: -3px;
    color: #888;
    margin-bottom: 12px;
}

.hero-name {
    display: block;
}

.hero-description {
    color: #999;
    max-width: 480px;
    font-size: 15px;
    line-height: 1.9;
    margin: 30px 0;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    padding: 14px 19px;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    font-size: 12px;
    transition: .3s;
}

.button-light {
    background: white;
    color: black;
}

.button-light:hover {
    background: #ccc;
    transform: translateY(-3px);
}

.button-outline {
    border: 1px solid #333;
    color: white;
}

.button-outline:hover {
    border-color: white;
}

.hero-image-wrapper {
    max-width: 310px;
    justify-self: end;
    position: relative;
}

.image-frame {
    width: 270px;
    height: 340px;
    border: 1px solid #333;
    padding: 9px;
    position: relative;
    z-index: 2;
    background: var(--surface);
}

.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
}

.image-decoration {
    position: absolute;
    border: 1px solid #333;
    width: 270px;
    height: 340px;
    top: 17px;
    left: 17px;
}

.image-caption {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    font-size: 8px;
}

.hero-bottom {
    padding: 25px 0;
    border-top: 1px solid var(--border);
}

.scroll-line {
    height: 1px;
    background: #333;
    flex: 1;
    max-width: 150px;
}

/* ==============================
   GENERAL SECTIONS
============================== */

.section {
    padding-top: 125px;
    padding-bottom: 25px;
}

.section-label {
    display: flex;
    gap: 12px;
}

.section-label span:first-child {
    color: white;
}

.section-heading {
    max-width: 680px;
    margin: 45px 0;
}

.section-heading h2,
.intro h2 {
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.2;
    letter-spacing: -2.5px;
    margin: 22px 0;
}

.section-heading > p,
.intro-content > p {
    font-size: 14px;
    line-height: 1.9;
    color: var(--muted);
    max-width: 560px;
}

/* ==============================
   INTRODUCTION
============================== */

.intro {
    display: grid;
    grid-template-columns: .4fr 1fr;
    gap: 50px;
    border-top: 1px solid var(--border);
    margin-top: 30px;
}

.intro-content {
    max-width: 780px;
}

/* ==============================
   PROBLEMS
============================== */

.problem-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.problem-card {
    min-height: 270px;
    border: 1px solid var(--border);
    background: var(--surface);
    padding: 28px;
    position: relative;
    transition: .35s;
}

.problem-card:hover {
    background: var(--surface-hover);
    border-color: #555;
    transform: translateY(-5px);
}

.card-number {
    color: #777;
}

.card-icon {
    position: absolute;
    right: 28px;
    top: 20px;
    font-size: 28px;
    color: #777;
}

.problem-card h3 {
    font-size: 21px;
    margin: 48px 0 12px;
    letter-spacing: -.7px;
}

.problem-card p {
    font-size: 13px;
    color: #999;
    max-width: 370px;
    line-height: 1.8;
}

.card-bottom {
    display: block;
    margin-top: 25px;
    font-size: 8px;
}

/* ==============================
   PROCESS
============================== */

.process-list {
    border-top: 1px solid var(--border);
}

.process-item {
    display: grid;
    grid-template-columns: 70px 1fr 40px;
    gap: 20px;
    align-items: center;
    padding: 30px 15px;
    border-bottom: 1px solid var(--border);
    transition: .3s;
}

.process-item:hover {
    background: var(--surface);
    padding-left: 25px;
}

.process-number {
    color: #777;
    font-family: var(--mono);
    font-size: 12px;
}

.process-item h3 {
    font-size: 18px;
    margin-bottom: 6px;
}

.process-item p {
    font-size: 12px;
    color: #888;
}

.process-symbol {
    color: #777;
    font-size: 20px;
}

/* ==============================
   WORK
============================== */

.work-empty {
    border: 1px solid var(--border);
    background: var(--surface);
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
}

.work-empty-icon {
    font-size: 35px;
    margin-bottom: 18px;
    color: #aaa;
}

.work-empty h3 {
    font-size: 23px;
    margin-bottom: 8px;
}

.work-empty p {
    color: #888;
    font-size: 13px;
}

.work-empty-label {
    margin-top: 30px;
    font-size: 9px;
}

/* ==============================
   STACK
============================== */

.stack-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.stack-item {
    min-height: 160px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 23px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    transition: .3s;
}

.stack-item:hover {
    background: var(--surface-hover);
}

.stack-icon {
    width: 34px;
    height: 34px;
    border: 1px solid #444;
    display: grid;
    place-items: center;
    font-family: var(--mono);
    font-size: 12px;
    margin-bottom: 8px;
}

.stack-item > span:nth-child(2) {
    font-size: 15px;
    font-weight: 700;
}

.stack-item small {
    font-size: 8px;
}

/* ==============================
   ABOUT / JOURNEY
============================== */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.about-big {
    font-size: 27px;
    line-height: 1.5;
    letter-spacing: -1px;
    margin-bottom: 25px;
}

.about-main > p:last-child {
    color: #999;
    font-size: 13px;
    line-height: 2;
}

.journey {
    border-top: 1px solid var(--border);
}

.journey-item {
    display: flex;
    gap: 25px;
    padding: 22px 0;
    border-bottom: 1px solid var(--border);
}

.journey-item > span {
    font-family: var(--mono);
    color: #888;
    font-size: 11px;
}

.journey-item h3 {
    font-size: 15px;
    margin-bottom: 6px;
}

.journey-item p {
    color: #888;
    font-size: 12px;
}

/* ==============================
   CONTACT
============================== */

.contact-section {
    margin-top: 130px;
    padding: 85px 0 35px;
    background: #111;
    border-top: 1px solid #282828;
}

.contact-content {
    padding: 80px 0 100px;
    max-width: 780px;
}

.contact-content h2 {
    font-size: clamp(42px, 7vw, 75px);
    line-height: 1.1;
    letter-spacing: -4px;
    margin: 25px 0;
}

.contact-content > p:not(.eyebrow) {
    color: #999;
    font-size: 14px;
    max-width: 480px;
    line-height: 1.9;
}

.contact-button {
    display: inline-flex;
    gap: 35px;
    padding: 17px 22px;
    background: white;
    color: black;
    font-size: 12px;
    margin-top: 35px;
    transition: .3s;
}

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

.contact-footer {
    display: flex;
    justify-content: space-between;
    padding-top: 22px;
    border-top: 1px solid #333;
}

/* ==============================
   FOOTER
============================== */

.footer {
    min-height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer p {
    color: #777;
    font-size: 11px;
}

.footer .back-top {
    font-size: 9px;
}

/* ==============================
   ANIMATIONS
============================== */

.reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity .8s ease, transform .8s ease;
}

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

/* ==============================
   RESPONSIVE
============================== */

@media (max-width: 900px) {
    .nav-links {
        gap: 15px;
    }

    .nav-links a {
        font-size: 10px;
    }

    .hero-content {
        gap: 30px;
    }

    .hero h1 {
        letter-spacing: -5px;
    }
}

@media (max-width: 700px) {
    .container {
        width: 90%;
    }

    .nav {
        height: 68px;
    }

    .menu-btn {
        display: block;
    }

    .nav-contact {
        display: none;
    }

    .nav-links {
        position: absolute;
        top: 68px;
        left: 0;
        width: 100%;
        background: #0c0c0c;
        border-bottom: 1px solid var(--border);
        padding: 25px 5%;
        display: flex;
        flex-direction: column;
        gap: 22px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: .3s;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-links a {
        font-size: 14px;
    }

    .hero {
        min-height: auto;
        padding-top: 35px;
    }

    .hero-top {
        align-items: flex-start;
        gap: 15px;
        flex-direction: column;
    }

    .hero-location {
        font-size: 8px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        padding: 65px 0;
        gap: 55px;
    }

    .hero h1 {
        font-size: clamp(65px, 16vw, 100px);
        letter-spacing: -5px;
    }

    .hero-description {
        font-size: 13px;
    }

    .hero-image-wrapper {
        justify-self: center;
        margin-right: 15px;
    }

    .image-frame {
        width: min(270px, 75vw);
        height: 340px;
    }

    .image-decoration {
        width: min(270px, 75vw);
        height: 340px;
    }

    .section {
        padding-top: 90px;
    }

    .section-heading h2,
    .intro h2 {
        font-size: 35px;
        letter-spacing: -1.5px;
    }

    .intro {
        grid-template-columns: 1fr;
        gap: 25px;
    }

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

    .problem-card {
        min-height: 240px;
    }

    .process-item {
        grid-template-columns: 35px 1fr 20px;
        gap: 10px;
        padding: 25px 5px;
    }

    .process-item h3 {
        font-size: 15px;
    }

    .process-item p {
        font-size: 11px;
    }

    .stack-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stack-item {
        min-height: 135px;
        padding: 15px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .about-big {
        font-size: 23px;
    }

    .contact-section {
        margin-top: 90px;
        padding-top: 65px;
    }

    .contact-content {
        padding: 65px 0;
    }

    .contact-content h2 {
        font-size: 47px;
        letter-spacing: -2px;
    }

    .contact-footer {
        gap: 20px;
        flex-direction: column;
    }

    .footer {
        padding: 25px 0;
        flex-wrap: wrap;
    }
}

@media (max-width: 380px) {
    .hero h1 {
        font-size: 60px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-content h2 {
        font-size: 40px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}
