@charset "UTF-8";

main > section { scroll-margin-top: 72px; }

.phase-three-nav {
    grid-template-columns: 1fr auto 1fr;
}

.phase-three-nav > nav { gap: 24px; }

.nav-actions {
    display: flex;
    align-items: center;
    justify-self: end;
    gap: 12px;
}

.mobile-nav { display: none; }

.homepage-hero {
    padding-block: 64px;
    background: var(--canvas);
}

.homepage-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(480px, 1.1fr);
    gap: 64px;
    align-items: center;
    min-height: 660px;
}

.homepage-hero-copy { position: relative; z-index: 2; }
.homepage-hero-copy h1 { margin-bottom: 16px; }

.hero-project-stage {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 580px;
    overflow: hidden;
    background: var(--canvas-soft);
    border-radius: 16px;
}

.orbit-ring {
    position: absolute;
    border: 1px solid var(--mute);
    border-radius: 50%;
    opacity: .55;
}

.orbit-ring-one { width: 78%; height: 42%; transform: rotate(-16deg); }
.orbit-ring-two { width: 52%; height: 76%; transform: rotate(26deg); }

.hero-device {
    position: absolute;
    z-index: 2;
    margin: 0;
    padding: 7px;
    overflow: hidden;
    background: #000000;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,.16);
}

.hero-device picture,
.cover-frame picture { display: contents; }

.project-image picture {
    display: grid;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    place-items: center;
    overflow: hidden;
}

.project-image picture img {
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    object-fit: contain;
}
.hero-device img { width: 100%; height: 100%; object-fit: contain; border-radius: 12px; }
.hero-device-primary { width: 220px; height: 500px; }
.hero-device-primary figcaption { padding: 8px 4px 2px; color: #afafaf; font-size: 12px; line-height: 16px; }
.hero-device-primary img { height: calc(100% - 27px); }
.hero-device-secondary { z-index: 1; width: 172px; height: 360px; opacity: .88; }
.hero-device-left { left: 9%; transform: rotate(-5deg); }
.hero-device-right { right: 9%; transform: rotate(5deg); }

.homepage-work { padding-top: 80px; }
.phase-three-privy { min-height: 620px; }
.phase-three-privy .cover-frame { width: min(100%, 286px); }
.phase-three-privy .cover-frame img {
    aspect-ratio: 858 / 1928;
    border-radius: 20px;
}
.phase-three-privy .privy-content > p:not(.eyebrow) { max-width: 620px; }

.resume-contribution-list {
    margin: 4px 0 8px;
    padding-left: 20px;
    color: #efefef;
    font-size: 14px;
    line-height: 20px;
}
.resume-contribution-list li + li { margin-top: 6px; }

.skill-dot-list {
    gap: 8px 0;
}

.skill-dot-list li,
.project-content .tag-list.skill-dot-list li,
.capability-grid .tag-list.skill-dot-list li {
    padding: 0;
    color: var(--ink);
    background: transparent;
    border-radius: 0;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
}

.skill-dot-list li:not(:last-child)::after {
    content: "•";
    margin-inline: 10px;
    color: var(--mute);
}

.phase-three-privy .skill-dot-list li { color: #efefef; }
.phase-three-privy .skill-dot-list li:not(:last-child)::after { color: #707070; }

.secondary-projects .project-card { display: flex; flex-direction: column; }
.secondary-projects .project-image { padding-bottom: 0; }
.secondary-projects .project-content { display: flex; flex: 1; flex-direction: column; align-items: flex-start; }
.secondary-project-footer {
    display: flex;
    width: 100%;
    margin-top: auto;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
}
.secondary-projects .secondary-project-footer .tag-list { margin: 16px 0 0; }
.secondary-project-footer .button { flex: 0 0 auto; margin-top: 16px; margin-left: auto; }

.contributed-projects {
    margin-top: 64px;
    padding: 24px;
    border: 1px solid var(--surface-pressed);
    border-radius: 16px;
}
.contributed-projects ul { margin: 0; padding: 0; list-style: none; }
.contributed-projects li { border-top: 1px solid var(--surface-pressed); }
.contributed-projects a {
    display: grid;
    grid-template-columns: minmax(220px, .4fr) minmax(0, 1fr) 96px;
    gap: 24px;
    padding: 16px 0;
    text-decoration: none;
}
.contributed-projects span:last-child { justify-self: end; }
.contributed-projects a:hover span:first-child,
.contributed-projects a:focus-visible span:first-child { text-decoration: underline; text-underline-offset: 4px; }
.contributed-projects a:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 4px;
    border-radius: 6px;
}
.contributed-projects span:first-child { font-weight: 500; }
.contributed-projects span:nth-child(2),
.contributed-projects span:last-child { color: var(--body); }

.experience-band {
    padding-block: 64px;
    color: #ffffff;
    background: #000000;
}

.experience-list { margin: 0; padding: 0; list-style: none; }
.experience-list > li {
    display: grid;
    grid-template-columns: minmax(230px, .35fr) 1fr;
    gap: 32px;
    padding: 32px 0;
    border-top: 1px solid #4b4b4b;
}
.experience-list > li > div { display: flex; flex-direction: column; gap: 6px; color: #afafaf; font-size: 14px; line-height: 20px; }
.experience-list article > p:first-child { margin-bottom: 6px; color: #afafaf; font-size: 14px; line-height: 20px; text-transform: uppercase; }
.experience-list article h3 { margin-bottom: 8px; }
.experience-list article > p:last-child { max-width: 720px; margin: 0; color: #efefef; font-size: 16px; line-height: 24px; }

.capability-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 32px;
}

.section-heading-single { grid-template-columns: 1fr; }
.capability-grid article { padding: 24px; background: var(--canvas-soft); border-radius: 16px; }
.capability-grid .tag-list { margin-bottom: 0; }
.capability-grid .tag-list li { color: var(--ink); background: var(--canvas); }

.about-grid {
    display: grid;
    grid-template-columns: minmax(320px,.72fr) minmax(0,1.28fr);
    gap: 64px;
    align-items: center;
}
.about-image { margin: 0; overflow: hidden; aspect-ratio: 4/5; border-radius: 16px; background: var(--canvas-soft); }
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-content > p:not(.eyebrow) { max-width: 680px; color: var(--body); font-size: 18px; line-height: 28px; }

.contact-band {
    padding-block: 64px;
    color: #ffffff;
    background: #000000;
}
.contact-grid { display: grid; grid-template-columns: 1fr auto; gap: 64px; align-items: center; }
.contact-grid > div:first-child > p:last-child { max-width: 620px; margin: 0; color: #efefef; font-size: 18px; line-height: 24px; }
.contact-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.contact-actions > a:not(.button) { color: #ffffff; text-underline-offset: 4px; }

.phase-three-footer {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
}

.phase-three-footer .footer-brand {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.phase-three-footer .footer-links {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px 24px;
}

.phase-three-footer .footer-links a {
    color: #ffffff;
    text-decoration: none;
}

.phase-three-footer .footer-links a:hover,
.phase-three-footer .footer-links a:focus-visible {
    text-decoration: underline;
    text-underline-offset: 4px;
}

@media (max-width: 1080px) {
    .phase-three-nav > nav { gap: 16px; }
    .phase-three-nav > nav a { font-size: 14px; }
    .homepage-hero-grid { grid-template-columns: minmax(0,.85fr) minmax(400px,1.15fr); gap: 32px; }
    .hero-device-left { left: 4%; }
    .hero-device-right { right: 4%; }
}

@media (max-width: 860px) {
    .phase-three-nav { grid-template-columns: 1fr auto; }
    .phase-three-nav > nav { display: none; }
    .mobile-nav { display: block; position: relative; }
    .mobile-nav summary {
        min-height: 44px;
        padding: 12px 16px;
        background: var(--canvas-soft);
        border-radius: 999px;
        font-size: 14px;
        line-height: 20px;
        font-weight: 500;
        cursor: pointer;
        list-style: none;
    }
    .mobile-nav summary::-webkit-details-marker { display: none; }
    .mobile-nav nav {
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        display: flex;
        flex-direction: column;
        min-width: 210px;
        padding: 12px;
        background: var(--canvas);
        border: 1px solid var(--surface-pressed);
        border-radius: 16px;
        box-shadow: 0 4px 16px rgba(0,0,0,.16);
    }
    .mobile-nav nav a { padding: 10px 12px; text-decoration: none; }
    .homepage-hero-grid,
    .about-grid { grid-template-columns: 1fr; }
    .homepage-hero-grid { min-height: auto; }
    .hero-project-stage { min-height: 560px; }
    .capability-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .nav-actions { gap: 4px; }
    .theme-toggle { width: 58px; }
    .theme-scene { width: 54px; height: 38px; }
    .homepage-hero { padding-block: 48px; }
    .homepage-hero-grid { gap: 48px; }
    .hero-project-stage { min-height: 440px; }
    .hero-device-primary { width: 165px; height: 380px; }
    .hero-device-secondary { width: 118px; height: 258px; }
    .hero-device-left { left: 2%; }
    .hero-device-right { right: 2%; }
    .homepage-work { padding-top: 56px; }
    .phase-three-privy { min-height: auto; }
    .contributed-projects { margin-top: 48px; padding: 20px; }
    .contributed-projects a { grid-template-columns: minmax(0, 1fr) 96px; gap: 6px 16px; }
    .contributed-projects a span:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
    .secondary-project-footer { flex-wrap: wrap; }
    .experience-list > li { grid-template-columns: 1fr; gap: 16px; }
    .about-grid { gap: 32px; }
    .about-image { max-height: 520px; }
    .contact-grid { grid-template-columns: 1fr; gap: 32px; }
    .phase-three-footer { grid-template-columns: 1fr; gap: 24px; }
    .phase-three-footer .footer-links { justify-content: flex-start; }
}
