/* ============================================================
                           BASE
============================================================ */

:root {
    --navy: #14243a;
    --text: #20252b;
    --muted: #69727d;
    --light: #f4f5f5;
    --white: #ffffff;
    --line: #d9dde0;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

section {
    scroll-margin-top: 75px;
}

body {
    margin: 0;
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Helvetica,
        Arial,
        sans-serif;

    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

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

img {
    display: block;
    width: 100%;
}


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

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 18px 5vw;

    color: white;

    background: rgba(15, 27, 43, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.site-name {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

nav {
    display: flex;
    gap: 32px;
}

nav a {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.94;

    transition: opacity 0.2s ease;
}

nav a:hover {
    opacity: 0.6;
}


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

.hero {
    position: relative;

    min-height: 92vh;

    display: flex;
    align-items: center;

    padding: 120px 7vw 90px;

    background:
        url("../images/home/P_home_hero-tahoe-mountains.jpg")
        center center / cover
        no-repeat;

    color: white;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(7, 15, 25, 0.78) 0%,
            rgba(7, 15, 25, 0.53) 38%,
            rgba(7, 15, 25, 0.08) 72%,
            rgba(7, 15, 25, 0.02) 100%
        );
}

.hero-content {
    position: relative;
    z-index: 2;

    max-width: 680px;
}

.eyebrow,
.section-label {
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.15em;
}

.eyebrow {
    margin-bottom: 14px;
    opacity: 0.82;
}

.hero h1 {
    margin: 0;

    font-size: clamp(3.8rem, 8vw, 7.2rem);
    line-height: 0.96;
    letter-spacing: -0.055em;
}

.hero h2 {
    margin: 20px 0 16px;

    font-size: clamp(1.35rem, 2.5vw, 2rem);
    font-weight: 450;
}

.hero-description {
    max-width: 620px;

    margin: 0;

    font-size: 1.07rem;
    color: rgba(255,255,255,0.88);
}

.hero-buttons {
    display: flex;
    gap: 14px;

    margin-top: 32px;
}

.button {
    padding: 11px 20px;

    border: 1px solid white;

    font-size: 0.9rem;
    font-weight: 600;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.button-primary {
    color: var(--text);
    background: white;
}

.button-primary:hover {
    background: rgba(255,255,255,0.85);
}

.button-secondary {
    color: white;
    background: transparent;
}

.button-secondary:hover {
    color: var(--text);
    background: white;
}


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

.section {
    padding: 100px 7vw;
}

.section-label {
    color: var(--muted);
    margin-bottom: 12px;
}

.section h2 {
    margin: 0;

    font-size: clamp(2.2rem, 4vw, 3.6rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.section-heading {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;

    align-items: end;

    margin-bottom: 55px;
}

.section-heading > p {
    max-width: 520px;
    margin: 0;

    color: var(--muted);
}


/* ============================================================
                         INTRO
============================================================ */

.intro-section {
    background: white;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 90px;
}

.intro-grid h2 {
    max-width: 650px;
}

.intro-text {
    max-width: 580px;
}

.intro-text p:first-child {
    margin-top: 0;
}


/* ============================================================
                     SELECTED PROJECTS
============================================================ */

.work-section {
    background: var(--light);
}

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

.project-row {
    display: grid;
    grid-template-columns: 80px 1fr 60px;
    gap: 30px;

    align-items: center;

    padding: 38px 0;

    border-bottom: 1px solid var(--line);

    transition: padding 0.2s ease;
}

.project-row:hover {
    padding-left: 10px;
}

.project-number {
    color: var(--muted);
    font-size: 0.85rem;
}

.project-category {
    margin: 0 0 4px;

    color: var(--muted);

    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.11em;
}

.project-info h3 {
    margin: 0 0 7px;

    font-size: 1.65rem;
    letter-spacing: -0.025em;
}

.project-info > p:last-child {
    max-width: 720px;
    margin: 0;

    color: var(--muted);
}

.project-arrow {
    text-align: right;

    font-size: 1.7rem;
    color: var(--muted);
}


/* ============================================================
                       CURRENT RESEARCH
============================================================ */

.research-section {
    display: grid;
    grid-template-columns: 1fr 1fr;

    min-height: 650px;
}

.research-image {
    overflow: hidden;
}

.research-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.research-content {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 80px 8vw;

    background: var(--navy);
    color: white;
}

.research-content .section-label {
    color: rgba(255,255,255,0.6);
}

.research-content h2 {
    margin: 0 0 25px;

    font-size: clamp(2.3rem, 4vw, 3.6rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.research-content p {
    max-width: 600px;
    color: rgba(255,255,255,0.78);
}

.coming-soon {
    margin-top: 18px;

    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}


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

.about-gallery {
    display: grid;
    grid-template-columns: 1fr 0.85fr 1fr;
    gap: 25px;

    align-items: stretch;
}

.about-photo {
    overflow: hidden;

    min-height: 420px;
}

.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 30px;

    background: var(--light);
}

.about-copy p {
    margin-top: 0;
}

.about-copy span {
    margin-top: 15px;

    font-weight: 700;
    font-size: 0.9rem;
}


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

footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    padding: 80px 7vw 45px;

    color: white;
    background: #11181f;
}

footer h2 {
    margin: 0 0 8px;

    font-size: clamp(2rem, 4vw, 3.5rem);
    letter-spacing: -0.04em;
}

footer a {
    color: rgba(255,255,255,0.7);
}

.footer-right {
    text-align: right;

    color: rgba(255,255,255,0.55);
    font-size: 0.85rem;
}


/* ============================================================
                       MOBILE / TABLET
============================================================ */

@media (max-width: 800px) {

    .site-header {
        padding: 22px 6vw;
    }

    nav {
        gap: 14px;
    }

    nav a:nth-child(2),
    nav a:nth-child(3) {
        display: none;
    }

    .hero {
        min-height: 85vh;

        padding-left: 6vw;
        padding-right: 6vw;

        background-position: 63% center;
    }

    .hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(7,15,25,0.8) 0%,
                rgba(7,15,25,0.6) 60%,
                rgba(7,15,25,0.3) 100%
            );
    }

    .section {
        padding: 75px 6vw;
    }

    .intro-grid,
    .section-heading {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .project-row {
        grid-template-columns: 42px 1fr;
    }

    .project-arrow {
        display: none;
    }

    .research-section {
        grid-template-columns: 1fr;
    }

    .research-image {
        min-height: 420px;
    }

    .research-content {
        padding: 65px 6vw;
    }

    .about-gallery {
        grid-template-columns: 1fr;
    }

    .about-photo {
        min-height: 500px;
    }

    footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 50px;
    }

    .footer-right {
        text-align: left;
    }
}