
:root {
    --black: #050505;
    --white: #ffffff;
    --cream: #f6f1e7;
    --soft: #c9c9c9;
    --gold: #d9a441;
    --cyan: #62d9ee;
    --line: rgba(255, 255, 255, 0.22);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--black);
    color: var(--white);
    font-family: Arial, Helvetica, sans-serif;
}

body.menu-open,
body.modal-open {
    overflow: hidden;
}

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

button {
    font: inherit;
}

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

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

    min-height: 76px;
    padding: 0 2.4rem;

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

    color: #fff;

    mix-blend-mode: difference;
}

.wordmark {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.desktop-nav {
    display: flex;
    gap: 1.7rem;
}

.desktop-nav a {
    font-weight: 700;
}

.menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    padding: 8px 4px;

    background: transparent;
    border: 0;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    height: 3px;
    margin: 5px 0;
    background: #fff;
}

.menu-panel {
    position: fixed;
    inset: 0;

    z-index: 200;

    background: rgba(0, 0, 0, 0.96);

    display: grid;
    place-items: center;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.35s ease,
        visibility 0.35s ease;
}

.menu-panel.open {
    opacity: 1;
    visibility: visible;
}

.menu-close {
    position: absolute;
    top: 1.2rem;
    left: 1.4rem;

    border: 0;
    background: transparent;
    color: #fff;

    font-size: 3rem;
    line-height: 1;

    cursor: pointer;
}

.menu-panel nav {
    display: grid;
    gap: 1.2rem;
    text-align: center;
}

.menu-panel nav a {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
}


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

.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

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

    width: 100%;
    height: 100%;

    object-fit: cover;
}

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

    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.16),
            rgba(0, 0, 0, 0.08) 45%,
            rgba(0, 0, 0, 0.44)
        );
}

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

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 7rem 1.5rem 5rem;

    text-align: center;
}

.hero-kicker {
    margin: 0 0 0.75rem;

    font-size: 0.85rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0;

    font-size: clamp(3.2rem, 8vw, 8.5rem);
    line-height: 0.87;

    font-weight: 900;
    letter-spacing: -0.05em;
}

.hero h1 span {
    display: block;
}

.hero h1 span:first-child {
    color: var(--gold);

    animation:
        titleInLeft
        1.4s
        cubic-bezier(0.22, 1, 0.36, 1)
        both;
}

.hero h1 span:last-child {
    color: var(--cyan);

    animation:
        titleInRight
        1.5s
        cubic-bezier(0.22, 1, 0.36, 1)
        0.18s
        both;
}

.hero-role {
    margin-top: 1.7rem;

    font-family: "Courier New", monospace;
    font-size: clamp(0.8rem, 1.4vw, 1rem);
    font-weight: 700;
    letter-spacing: 0.06em;
}

.hero-role b {
    padding: 0 0.6rem;
}

.hero-socials {
    position: absolute;

    left: 50%;
    bottom: 1.3rem;

    transform: translateX(-50%);

    display: flex;
    gap: 1.1rem;

    z-index: 4;
}

.hero-socials a {
    font-size: 1.25rem;
    transition: transform 0.25s ease;
}

.hero-socials a:hover {
    transform: translateY(-4px);
}

.scroll-cue {
    position: absolute;
    left: 2.2rem;
    bottom: 1.25rem;

    z-index: 3;

    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.scroll-cue span {
    padding-left: 0.7rem;
}


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

.portfolio-intro {
    padding: 8rem 5vw;
    background: #000;
}

.section-label {
    margin: 0 0 1.2rem;

    font-size: 0.77rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #a8a8a8;
}

.portfolio-intro h2,
.section-heading h2,
.credentials h2 {
    max-width: 1000px;
    margin: 0;

    font-size: clamp(2.6rem, 6vw, 6.2rem);
    line-height: 0.96;
    letter-spacing: -0.045em;
}


/* =========================
   PROJECT PANELS
========================= */

.project-panel {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.project-video {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.project-shade {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.70),
            rgba(0, 0, 0, 0.25) 48%,
            rgba(0, 0, 0, 0.10)
        );
}

.project-copy {
    position: absolute;

    left: 4.5vw;
    bottom: 7vh;

    z-index: 3;

    width: min(680px, 86vw);
}

.project-number {
    margin: 0 0 0.7rem;

    font-size: 0.85rem;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.7);
}

.project-copy h2 {
    margin: 0;

    font-size: clamp(3rem, 7vw, 7rem);
    line-height: 0.9;
    letter-spacing: -0.045em;
}

.project-type {
    margin: 1.1rem 0 1.4rem;

    font-size: 0.78rem;
    letter-spacing: 0.16em;
}

.project-description {
    max-width: 680px;
    margin: 0 0 1.8rem;

    font-size: clamp(1rem, 1.4vw, 1.15rem);
    line-height: 1.65;
}

.watch-button {
    min-width: 200px;
    padding: 0.95rem 1.8rem;

    border: 2px solid #fff;

    background: rgba(0, 0, 0, 0.1);
    color: #fff;

    cursor: pointer;

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

.watch-button:hover {
    background: #fff;
    color: #000;
}


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

.more-work {
    padding: 8rem 5vw;
    background: #050505;
}

.section-heading {
    margin-bottom: 4rem;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}

.work-card {
    background: #111;
    overflow: hidden;
}

.work-card img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.work-card:hover img {
    transform: scale(1.025);
}

.work-card div {
    padding: 1.1rem 1.1rem 1.5rem;
}

.work-card p {
    margin: 0 0 0.6rem;

    color: #999;

    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.work-card h3 {
    margin: 0 0 0.4rem;
    font-size: 1.8rem;
}

.work-card span {
    color: #bcbcbc;
}

.text-work-list {
    margin-top: 2rem;

    display: grid;
    grid-template-columns: repeat(2, 1fr);

    border-top: 1px solid #333;
}

.text-work-list span {
    padding: 1.1rem 0;
    border-bottom: 1px solid #333;

    color: #bcbcbc;
}


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

.about {
    min-height: 100vh;

    display: grid;
    grid-template-columns: 44% 56%;

    background: #000;
}

.about-image-wrap {
    min-height: 100vh;

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

    padding: 5rem 3vw;
}

.about-image-wrap img {
    width: min(560px, 90%);
    max-height: 82vh;

    object-fit: cover;
    object-position: top;

    filter: grayscale(1);
}

.about-copy {
    padding: 8rem 6vw 6rem 2vw;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-copy h2 {
    margin: 0 0 1.5rem;

    font-size: clamp(3rem, 6vw, 6rem);
    line-height: 0.93;
}

.about-copy p {
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    line-height: 1.65;

    color: #dedede;
}

.about-copy .lead {
    font-size: clamp(1.25rem, 2vw, 1.65rem);
    color: #fff;
}

.roles {
    margin-top: 2rem;

    display: grid;
    grid-template-columns: repeat(2, 1fr);

    border-top: 1px solid #333;
}

.roles div {
    padding: 1rem 1rem 1rem 0;

    border-bottom: 1px solid #333;
}

.roles strong,
.roles span {
    display: block;
}

.roles span {
    margin-top: 0.2rem;
    color: #aaa;
}


/* =========================
   CREDENTIALS
========================= */

.credentials {
    padding: 8rem 5vw;

    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 5vw;

    background: #f1eee8;
    color: #111;
}

.credentials .section-label {
    color: #666;
}

.credentials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.credentials-grid article {
    border-top: 1px solid #999;
    padding-top: 1.2rem;
}

.credentials-grid h3 {
    margin: 0 0 0.6rem;
    font-size: 1.35rem;
}

.credentials-grid p {
    margin: 0;
    color: #555;
    line-height: 1.6;
}


/* =========================
   AWARDS
========================= */

.awards {
    padding: 8rem 5vw;
    background: #000;
}

.award-list {
    border-top: 1px solid #333;
}

.award-list article {
    display: grid;
    grid-template-columns: 120px 1fr 1fr;
    gap: 2rem;

    padding: 1.6rem 0;

    border-bottom: 1px solid #333;
}

.award-list span {
    color: #aaa;
}

.award-list h3,
.award-list p {
    margin: 0;
}

.award-list p {
    color: #bbb;
}


/* =========================
   EDUCATION / PIPELINE
========================= */

.two-column-info {
    padding: 8rem 5vw;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7vw;

    background: #111;
}

.two-column-info ul {
    margin: 0;
    padding-left: 1.2rem;
}

.two-column-info li {
    margin-bottom: 0.9rem;
    color: #ddd;
}

.languages {
    margin-top: 2rem;
    color: #aaa;
}


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

.contact-visual {
    background: #fff;
    color: #111;
}

.contact-banner {
    position: relative;
    height: 56vh;
    min-height: 420px;

    overflow: hidden;
    background: #111;
}

.contact-banner img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    filter: grayscale(0.15);
}

.contact-banner::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.12),
            rgba(0, 0, 0, 0.52)
        );
}

.contact-title {
    position: absolute;
    z-index: 2;

    left: 5vw;
    bottom: 3vh;

    color: #fff;

    font-size: clamp(3.5rem, 8vw, 7rem);
    font-weight: 800;
}

.contact-body {
    padding: 4rem 5vw 5rem;
    text-align: center;
}

.contact-intro {
    max-width: 1200px;
    margin: 0 auto 3rem;

    font-size: clamp(1.25rem, 2vw, 1.7rem);
    line-height: 1.5;
}

.contact-details {
    display: grid;
    gap: 0.8rem;

    justify-items: center;

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

.contact-details a {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.contact-socials {
    margin-top: 3rem;

    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.contact-socials a {
    padding: 0.75rem 1rem;

    border: 1px solid #111;

    display: inline-flex;
    align-items: center;
    gap: 0.55rem;

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

.contact-socials a:hover {
    background: #111;
    color: #fff;
}


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

footer {
    padding: 1.4rem 5vw;

    display: flex;
    justify-content: space-between;
    gap: 1rem;

    background: #000;
    color: #888;

    font-size: 0.78rem;
    letter-spacing: 0.08em;
}


/* =========================
   VIDEO MODAL
========================= */

.video-modal {
    position: fixed;
    inset: 0;

    z-index: 400;

    background: rgba(0, 0, 0, 0.97);

    display: grid;
    place-items: center;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.video-modal.open {
    opacity: 1;
    visibility: visible;
}

.video-close {
    position: absolute;
    top: 1.2rem;
    right: 1.5rem;

    z-index: 2;

    background: transparent;
    border: 0;

    color: #fff;
    font-size: 3rem;

    cursor: pointer;
}

.video-modal-inner {
    width: min(1200px, 92vw);
}

.video-modal-inner h2 {
    margin: 0 0 1rem;
    font-size: 1.2rem;
    color: #fff;
}

.video-modal-inner video {
    width: 100%;
    max-height: 82vh;

    background: #000;
}


/* =========================
   ANIMATION
========================= */

@keyframes titleInLeft {
    from {
        opacity: 0;
        transform: translateX(-120px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes titleInRight {
    from {
        opacity: 0;
        transform: translateX(120px);
    }

    to {
        opacity: 1;
        transform: translateX(24px);
    }
}


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

@media (max-width: 980px) {

    .desktop-nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .site-header {
        padding: 0 1.3rem;
    }

    .scroll-cue {
        display: none;
    }

    .project-shade {
        background:
            linear-gradient(
                90deg,
                rgba(0, 0, 0, 0.72),
                rgba(0, 0, 0, 0.28)
            );
    }

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

    .about-image-wrap {
        min-height: auto;
        padding-bottom: 1rem;
    }

    .about-image-wrap img {
        max-height: none;
    }

    .about-copy {
        padding: 3rem 6vw 6rem;
    }

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


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

@media (max-width: 700px) {

    .wordmark {
        font-size: 1.05rem;
    }

    .hero-center {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hero h1 {
        font-size: clamp(3rem, 16vw, 5.3rem);
    }

    .hero h1 span:last-child {
        margin-left: -16px;
    }

    .hero-role {
        line-height: 1.7;
    }

    .hero-socials {
        bottom: 1rem;
    }

    .portfolio-intro,
    .more-work,
    .awards,
    .two-column-info,
    .credentials {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .project-copy {
        left: 1.25rem;
        right: 1.25rem;
        bottom: 5vh;

        width: auto;
    }

    .project-copy h2 {
        font-size: clamp(3rem, 16vw, 5.2rem);
    }

    .project-shade {
        background:
            linear-gradient(
                180deg,
                rgba(0, 0, 0, 0.10),
                rgba(0, 0, 0, 0.72)
            );
    }

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

    .text-work-list {
        grid-template-columns: 1fr;
    }

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

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

    .award-list article {
        grid-template-columns: 70px 1fr;
        gap: 1rem;
    }

    .award-list article p {
        grid-column: 2;
    }

    .two-column-info {
        grid-template-columns: 1fr;
    }

    .contact-banner {
        min-height: 300px;
        height: 42vh;
    }

    footer {
        flex-direction: column;
    }
}


/* =========================
   REDUCED MOTION
========================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
    }
}


.video-missing {
    position: absolute;
    inset: 0;
    z-index: 20;
    display: grid;
    place-items: center;
    padding: 2rem;
    background: #080808;
    color: #fff;
    font-size: 1rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-align: center;
}
