:root {
    --navy: #19232d;
    --navy-2: #253442;
    --paper: #eeeae2;
    --white: #f8f7f3;
    --blue: #315f9b;
    --amber: #ce8737;
    --line: #aeb4b4;
    --sans: Archivo, sans-serif;
    --serif: "Source Serif 4", serif;
    --ease: cubic-bezier(.2, .75, .18, 1)
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--navy);
    font: 400 16px/1.62 var(--serif);
    overflow-x: hidden
}

img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover
}

a {
    color: inherit
}

button {
    font: inherit;
    color: inherit
}

.skip {
    position: fixed;
    z-index: 99;
    top: 1rem;
    left: 1rem;
    background: var(--amber);
    color: var(--navy);
    padding: .75rem;
    transform: translateY(-180%)
}

.skip:focus {
    transform: none
}

:focus-visible {
    outline: 3px solid var(--amber);
    outline-offset: 4px
}

.label {
    font: 600 .62rem/1.2 var(--sans);
    letter-spacing: .13em
}

header {
    height: 86px;
    padding: 0 min(4.5vw, 70px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--navy);
    color: #fff;
    position: relative;
    z-index: 20
}

.brand {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    font-family: var(--sans)
}

.brand span {
    font-weight: 700;
    letter-spacing: .08em
}

.brand small {
    font-size: .5rem;
    letter-spacing: .15em;
    color: #b7c0c6
}

nav {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2.4vw, 2.5rem)
}

nav a {
    font: 500 .7rem var(--sans);
    text-decoration: none
}

.start {
    border: 1px solid #75818b;
    padding: .8rem 1rem
}

.menu {
    display: none
}

.hero {
    min-height: calc(100svh - 86px);
    display: grid;
    grid-template-columns: minmax(390px, .88fr) minmax(0, 1.2fr) 78px;
    background: var(--navy);
    color: #fff
}

.hero-copy {
    padding: clamp(4rem, 9vh, 8rem) clamp(2rem, 5vw, 6rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--navy)
}

.hero-copy .label {
    color: #9db3c3
}

.hero-copy h1 {
    font: 600 clamp(3.35rem, 4.3vw, 3.8rem)/1.02 var(--sans);
    letter-spacing: -.035em;
    max-width: 12ch;
    margin: 1.5rem 0
}

.hero-copy>p:not(.label) {
    font-size: 1.12rem;
    max-width: 34rem;
    color: #d1d8dc
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    margin-top: 2rem
}

.hero-actions a:first-child {
    background: var(--amber);
    color: var(--navy);
    padding: .9rem 1.1rem;
    text-decoration: none;
    font: 600 .78rem var(--sans)
}

.hero-actions a:last-child {
    font: 500 .75rem var(--sans);
    text-underline-offset: 5px
}

.hero-image {
    margin: 0;
    position: relative;
    overflow: hidden
}

.hero-image:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(25, 35, 45, .2), transparent 35%)
}

.hero-image figcaption {
    position: absolute;
    left: 2rem;
    bottom: 2rem;
    z-index: 1;
    background: rgba(25, 35, 45, .92);
    padding: 1rem 1.2rem;
    display: flex;
    flex-direction: column;
    max-width: 270px
}

.hero-image figcaption span {
    font: 500 .58rem var(--sans);
    letter-spacing: .12em;
    color: #aebbc4
}

.hero-image figcaption b {
    font: 500 1.05rem var(--serif);
    margin-top: .35rem
}

.status-rail {
    display: flex;
    flex-direction: column;
    border-left: 1px solid #43505a
}

.status-rail span {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font: 500 .58rem var(--sans);
    letter-spacing: .1em;
    border-bottom: 1px solid #43505a;
    color: #9da9b1
}

.status-rail span:first-child {
    background: var(--amber);
    color: var(--navy)
}

.control {
    padding: clamp(6rem, 9vw, 9rem) min(4.5vw, 70px);
    background: var(--white)
}

.control-intro {
    display: grid;
    grid-template-columns: .45fr 1.2fr .7fr;
    gap: 4vw;
    align-items: end
}

.control h2,
.living h2,
.work h2,
.contact h2 {
    font: 600 clamp(3rem, 5vw, 5.2rem)/.98 var(--sans);
    letter-spacing: -.035em;
    margin: 0
}

.control-intro>p:last-child {
    margin: 0
}

.phase-nav {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 4.5rem;
    border-top: 1px solid var(--navy)
}

.phase-nav button {
    height: 92px;
    border: 0;
    border-right: 1px solid var(--line);
    background: transparent;
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    font: 600 .78rem var(--sans);
    cursor: pointer
}

.phase-nav button span {
    font-size: .6rem;
    color: var(--blue)
}

.phase-nav button[aria-selected="true"] {
    background: var(--navy);
    color: #fff
}

.phase-nav button[aria-selected="true"] span {
    color: var(--amber)
}

.phase-progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 4px;
    background: #d8d8d3
}

.phase-progress i {
    display: block;
    height: 100%;
    width: 100%;
    background: var(--amber);
    transform: scaleX(.25);
    transform-origin: left center;
    transition: transform .5s var(--ease)
}

.phase-detail {
    display: grid;
    grid-template-columns: 100px minmax(340px, .85fr) minmax(0, 1.15fr);
    min-height: 520px;
    margin-top: 2rem;
    background: var(--paper)
}

.phase-number {
    display: flex;
    justify-content: center;
    padding-top: 2.5rem;
    font: 600 3rem var(--sans);
    color: rgba(25, 35, 45, .18);
    border-right: 1px solid var(--line)
}

.phase-copy {
    padding: clamp(2rem, 4vw, 4rem)
}

.phase-copy .label {
    color: var(--blue)
}

.phase-copy h3 {
    font: 600 clamp(2.2rem, 3vw, 3.25rem)/1.03 var(--sans);
    letter-spacing: -.04em;
    margin: 1.4rem 0
}

.phase-copy>p:not(.label) {
    max-width: 36rem
}

.phase-copy dl {
    margin: 2rem 0 0;
    border-top: 1px solid var(--navy)
}

.phase-copy dl>div {
    display: grid;
    grid-template-columns: 110px 1fr;
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
    gap: 1rem
}

.phase-copy dt {
    font: 600 .65rem var(--sans);
    text-transform: uppercase
}

.phase-copy dd {
    margin: 0;
    font-size: .82rem
}

.phase-detail figure {
    margin: 0;
    overflow: hidden
}

.phase-detail img {
    transition: opacity .2s, transform .6s var(--ease)
}

.phase-detail.changing img {
    opacity: .15;
    transform: scale(1.025)
}

.living {
    padding: clamp(6rem, 9vw, 9rem) min(4.5vw, 70px);
    background: var(--navy);
    color: #fff
}

.living-lead {
    display: grid;
    grid-template-columns: .45fr 1.05fr .75fr;
    gap: 4vw;
    align-items: end
}

.living-lead>p:last-child {
    margin: 0;
    color: #c9d0d3
}

.living-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 4.5rem;
    border-top: 1px solid #65717a
}

.living-grid article {
    min-height: 330px;
    padding: 1.5rem;
    border-right: 1px solid #65717a;
    display: flex;
    flex-direction: column
}

.living-grid span {
    font: 600 .6rem var(--sans);
    letter-spacing: .1em;
    color: var(--amber)
}

.living-grid h3 {
    font: 600 1.5rem/1.08 var(--sans);
    margin: auto 0 .8rem
}

.living-grid p {
    font-size: .85rem;
    color: #c9d0d3;
    margin: 0
}

.work {
    padding: clamp(6rem, 9vw, 9rem) min(4.5vw, 70px)
}

.work-intro {
    display: grid;
    grid-template-columns: .45fr 1.1fr .7fr;
    gap: 4vw;
    align-items: end
}

.work-intro>p:last-child {
    margin: 0
}

.work-canvas {
    display: grid;
    grid-template-columns: 1.15fr .65fr .8fr;
    grid-template-rows: 310px 300px;
    gap: 1rem;
    margin-top: 4.5rem
}

.work-canvas figure {
    margin: 0;
    overflow: hidden
}

.project-large {
    grid-row: 1/3
}

.project-wide {
    grid-column: 2/4
}

.project-index {
    padding: 1.5rem;
    background: var(--white);
    border: 1px solid var(--line)
}

.project-index>p {
    font: 600 .6rem var(--sans);
    letter-spacing: .12em
}

.project-index ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0
}

.project-index li {
    padding: .45rem 0;
    border-bottom: 1px solid #d5d3cd;
    font: 500 .78rem var(--sans)
}

.project-index small {
    display: block;
    font-size: .65rem;
    line-height: 1.45;
    color: #666
}

.contact {
    padding: clamp(6rem, 9vw, 9rem) min(4.5vw, 70px);
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 8vw;
    background: var(--blue);
    color: #fff
}

.contact h2 {
    max-width: 11ch
}

.contact-copy>p {
    font-size: 1.08rem
}

.contact-copy>div {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin: 2rem 0
}

.contact-copy>div a:first-child {
    background: var(--amber);
    color: var(--navy);
    padding: .9rem 1.1rem;
    text-decoration: none;
    font: 600 .75rem var(--sans)
}

.contact-copy>div a:last-child {
    font: 600 .8rem var(--sans)
}

address {
    font-style: normal;
    font-size: .76rem
}

footer {
    min-height: 145px;
    padding: 2rem min(4.5vw, 70px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--navy);
    color: #fff
}

footer p,
footer>a:last-child {
    font-size: .72rem
}

@media(max-width:980px) {
    .hero {
        grid-template-columns: .85fr 1.15fr
    }

    .status-rail {
        display: none
    }

    .control-intro,
    .living-lead,
    .work-intro {
        grid-template-columns: .4fr 1fr
    }

    .control-intro>p:last-child,
    .living-lead>p:last-child,
    .work-intro>p:last-child {
        grid-column: 2
    }

    .phase-detail {
        grid-template-columns: 72px 1fr
    }

    .phase-detail figure {
        grid-column: 1/3;
        height: 390px
    }

    .living-grid {
        grid-template-columns: 1fr 1fr
    }

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

    .project-wide {
        grid-column: 2
    }

    .project-index {
        grid-column: 2
    }
}

@media(max-width:720px) {
    header {
        height: 70px;
        padding: 0 1.1rem
    }

    .menu {
        display: block;
        width: 48px;
        height: 48px;
        border: 0;
        background: none
    }

    .menu i {
        display: block;
        width: 23px;
        height: 1px;
        background: #fff;
        margin: 6px auto
    }

    .menu b {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden
    }

    nav {
        position: fixed;
        inset: 70px 0 auto;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        padding: 1.25rem;
        background: var(--navy);
        border-bottom: 1px solid #64717b;
        transform: translateY(-130%);
        visibility: hidden;
        transition: .35s var(--ease)
    }

    nav.open {
        transform: none;
        visibility: visible
    }

    nav a {
        padding: .8rem
    }

    .hero {
        min-height: 0;
        display: flex;
        flex-direction: column
    }

    .hero-copy {
        padding: 4.5rem 1.15rem
    }

    .hero-copy h1 {
        font-size: clamp(2.7rem, 12.8vw, 3.5rem)
    }

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

    .hero-image {
        height: 500px
    }

    .control,
    .living,
    .work,
    .contact {
        padding: 5rem 1.15rem
    }

    .control-intro,
    .living-lead,
    .work-intro,
    .contact {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 1.3rem
    }

    .control h2,
    .living h2,
    .work h2,
    .contact h2 {
        font-size: clamp(2.75rem, 13vw, 3.8rem)
    }

    .phase-nav {
        display: flex;
        overflow-x: auto
    }

    .phase-nav button {
        flex: 0 0 48%
    }

    .phase-progress {
        display: none
    }

    .phase-detail {
        display: flex;
        flex-direction: column
    }

    .phase-number {
        display: none
    }

    .phase-copy {
        padding: 2rem 1.15rem
    }

    .phase-copy dl>div {
        grid-template-columns: 1fr
    }

    .phase-detail figure {
        height: 340px
    }

    .living-grid {
        grid-template-columns: 1fr
    }

    .living-grid article {
        min-height: 220px;
        border-right: 0;
        border-bottom: 1px solid #65717a
    }

    .work-canvas {
        display: flex;
        flex-direction: column
    }

    .work-canvas figure {
        height: 320px
    }

    .project-index {
        order: -1
    }

    .contact {
        gap: 2rem
    }

    .contact-copy>div {
        align-items: flex-start;
        flex-direction: column
    }

    footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 1rem
    }
}

.living-grid>div {
    min-height: 330px;
    padding: 1.5rem;
    border-right: 1px solid #65717a;
    display: flex;
    flex-direction: column
}

.living-grid dt {
    font: 600 .6rem var(--sans);
    letter-spacing: .1em;
    color: var(--amber)
}

.living-grid dd {
    margin: auto 0 0
}

.living-grid>div h3 {
    font: 600 1.5rem/1.08 var(--sans);
    margin: 0 0 .8rem
}

.living-grid>div p {
    font-size: .85rem;
    color: #c9d0d3;
    margin: 0
}

@media(max-width:720px) {
    .living-grid>div {
        min-height: 220px;
        border-right: 0;
        border-bottom: 1px solid #65717a
    }
}

@media(max-width:720px) {

    .hero-actions a,
    .contact-copy a,
    footer>a {
        min-height: 44px;
        display: inline-flex;
        align-items: center
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    *,
    *:before,
    *:after {
        transition: none !important;
        animation: none !important
    }
}
