:root {
    --paper: #e9e7df;
    --paper-2: #f5f3ed;
    --ink: #171b1c;
    --steel: #42565f;
    --signal: #c9552e;
    --line: #bbb9af;
    --white: #fff;
    --display: "Barlow Condensed", sans-serif;
    --body: "IBM Plex Sans", sans-serif;
    --mono: "IBM Plex Mono", monospace;
    --ease: cubic-bezier(.2, .75, .25, 1)
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 400 16px/1.55 var(--body);
    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: 100;
    top: 1rem;
    left: 1rem;
    padding: .75rem 1rem;
    background: var(--signal);
    color: #fff;
    transform: translateY(-180%)
}

.skip:focus {
    transform: none
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0
}

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

.eyebrow,
.problem-code {
    font: 500 .68rem/1.2 var(--mono);
    letter-spacing: .12em
}

.site-header {
    height: 84px;
    padding: 0 min(4vw, 64px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    background: rgba(233, 231, 223, .94);
    backdrop-filter: blur(16px);
    position: relative;
    z-index: 20
}

.wordmark {
    display: flex;
    flex-direction: column;
    font: 700 1.15rem/.78 var(--display);
    letter-spacing: .045em;
    text-decoration: none
}

.wordmark span:last-child {
    font-size: .72em;
    letter-spacing: .095em
}

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

.site-header nav a {
    font: 500 .72rem/1 var(--mono);
    letter-spacing: .05em;
    text-decoration: none
}

.nav-contact {
    border: 1px solid;
    padding: .8rem 1rem
}

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

.menu-toggle span:not(.sr-only) {
    display: block;
    width: 24px;
    height: 1px;
    background: currentColor;
    margin: 6px auto
}

.hero {
    min-height: calc(100svh - 84px);
    display: grid;
    grid-template-columns: minmax(54px, .13fr) minmax(340px, .82fr) minmax(420px, 1.15fr);
    grid-template-rows: 1fr auto;
    border-bottom: 1px solid var(--line)
}

.hero-index {
    grid-row: 1/3;
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    border-right: 1px solid var(--line);
    font: 500 .62rem var(--mono);
    letter-spacing: .08em
}

.hero-index span {
    writing-mode: vertical-rl;
    transform: rotate(180deg)
}

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

.hero-copy h1 {
    font: 600 clamp(3.75rem, 4.7vw, 4.25rem)/.92 var(--display);
    letter-spacing: -.025em;
    text-transform: uppercase;
    max-width: 11ch;
    margin: 1.3rem 0 1.6rem
}

.hero-deck {
    font-size: clamp(1.05rem, 1.25vw, 1.25rem);
    max-width: 35rem;
    margin: 0;
    color: #3a4345
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: .9rem 1.25rem;
    text-decoration: none;
    font-weight: 600
}

.button-dark {
    background: var(--ink);
    color: #fff
}

.button-light {
    background: var(--paper-2);
    color: var(--ink)
}

.text-link {
    font-weight: 600;
    text-underline-offset: 5px
}

.hero-visual {
    grid-column: 3;
    grid-row: 1/3;
    margin: 2rem 2rem 2rem 0;
    position: relative;
    min-width: 0
}

.hero-visual:before {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(255, 255, 255, .65);
    z-index: 1;
    pointer-events: none
}

.hero-visual figcaption {
    position: absolute;
    left: 0;
    bottom: 0;
    background: var(--ink);
    color: #fff;
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    min-width: min(75%, 330px)
}

.hero-visual figcaption span {
    font: 400 .62rem var(--mono);
    letter-spacing: .1em;
    color: #b8c3c5
}

.hero-visual figcaption strong {
    font-weight: 500
}

.hero-spec {
    grid-column: 2;
    padding: 1rem clamp(2rem, 5vw, 6rem);
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 1rem;
    align-items: center
}

.hero-spec span {
    font: 500 .7rem var(--mono);
    color: var(--signal)
}

.hero-spec p {
    font-size: .82rem;
    max-width: 34rem;
    margin: 0
}

.problem-lab {
    background: var(--ink);
    color: #eef0ed;
    padding: clamp(5rem, 9vw, 9rem) min(5vw, 76px)
}

.section-intro {
    display: grid;
    grid-template-columns: .55fr 1.25fr .75fr;
    gap: 4vw;
    align-items: end;
    border-bottom: 1px solid #4b5456;
    padding-bottom: 2.5rem
}

.section-intro h2,
.system-title h2,
.work-heading h2,
.contact h2 {
    font: 600 clamp(3.1rem, 5.7vw, 5.7rem)/.88 var(--display);
    text-transform: uppercase;
    letter-spacing: -.018em;
    margin: 0
}

.section-intro>p:last-child {
    max-width: 32rem;
    color: #b9c0c0;
    margin: 0
}

.problem-ui {
    display: grid;
    grid-template-columns: minmax(240px, .65fr) minmax(0, 1.6fr);
    margin-top: 3rem;
    gap: 3vw
}

.problem-tabs {
    border-top: 1px solid #4b5456
}

.problem-tabs button {
    width: 100%;
    min-height: 72px;
    display: grid;
    grid-template-columns: 44px 1fr;
    text-align: left;
    align-items: center;
    border: 0;
    border-bottom: 1px solid #4b5456;
    background: transparent;
    color: #9fa8a8;
    cursor: pointer
}

.problem-tabs button span {
    font: 400 .65rem var(--mono)
}

.problem-tabs button[aria-selected="true"] {
    color: #fff;
    padding-left: 1rem;
    background: #22292b;
    box-shadow: inset 0 -2px var(--signal)
}

.problem-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
    min-height: 500px;
    background: #273033;
    outline: none
}

.problem-media {
    overflow: hidden
}

.problem-media img {
    transition: opacity .25s var(--ease), transform .7s var(--ease)
}

.problem-panel.is-changing img {
    opacity: .15;
    transform: scale(1.025)
}

.problem-copy {
    padding: clamp(2rem, 4vw, 4rem);
    display: flex;
    flex-direction: column
}

.problem-code {
    color: #e5805c
}

.problem-copy h3 {
    font: 600 clamp(2.3rem, 3.5vw, 3.8rem)/.95 var(--display);
    text-transform: uppercase;
    letter-spacing: -.01em;
    margin: 2rem 0 1rem
}

.problem-copy>p:not(.problem-code) {
    color: #c6cccc;
    max-width: 33rem
}

.capability-chain {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    list-style: none;
    padding: 0;
    margin: auto 0 0;
    border-top: 1px solid #596164
}

.capability-chain li {
    font: 400 .64rem var(--mono);
    text-transform: uppercase;
    padding: 1rem .4rem;
    position: relative
}

.capability-chain li:not(:last-child):after {
    content: "";
    position: absolute;
    right: 6px;
    top: 50%;
    width: 18px;
    height: 1px;
    background: #8a9293
}

.shop-system {
    padding: clamp(5rem, 9vw, 9rem) min(5vw, 76px)
}

.system-title {
    display: grid;
    grid-template-columns: .6fr 1.4fr;
    gap: 3vw;
    align-items: start
}

.system-title h2 {
    max-width: 10ch
}

.system-map {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 5rem;
    border-top: 1px solid var(--ink);
    border-left: 1px solid var(--ink)
}

.system-map article {
    min-height: 310px;
    padding: 2rem;
    border-right: 1px solid var(--ink);
    border-bottom: 1px solid var(--ink);
    display: flex;
    flex-direction: column
}

.system-map span {
    font: 500 .65rem var(--mono);
    letter-spacing: .08em;
    color: var(--signal)
}

.system-map h3 {
    font: 600 2rem/.95 var(--display);
    text-transform: uppercase;
    margin: auto 0 1rem
}

.system-map p {
    margin: 0;
    color: #4b5050;
    max-width: 29rem
}

.system-map .network {
    grid-column: 1/4;
    min-height: 230px;
    background: var(--steel);
    color: #fff;
    display: grid;
    grid-template-columns: .5fr .7fr 1.3fr;
    gap: 3vw;
    align-items: center
}

.system-map .network h3 {
    margin: 0
}

.system-map .network p {
    color: #e2e6e4
}

.work-index {
    background: var(--paper-2);
    padding: clamp(5rem, 9vw, 9rem) min(5vw, 76px)
}

.work-heading {
    display: grid;
    grid-template-columns: .55fr 1.45fr;
    gap: 3vw
}

.work-heading h2 {
    max-width: 12ch
}

.work-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr .8fr;
    grid-template-rows: 330px 250px;
    gap: 1rem;
    margin-top: 5rem
}

.work-grid figure {
    margin: 0;
    position: relative;
    overflow: hidden
}

.work-grid figcaption {
    position: absolute;
    inset: auto 0 0;
    display: flex;
    justify-content: space-between;
    padding: .85rem 1rem;
    background: rgba(20, 24, 25, .88);
    color: #fff;
    font: 400 .68rem var(--mono)
}

.work-grid figcaption b {
    color: #e5805c
}

.work-a {
    grid-row: 1/3
}

.work-b {
    grid-column: 2/4
}

.work-grid img {
    transition: transform .8s var(--ease)
}

.work-grid figure:hover img {
    transform: scale(1.025)
}

.contact {
    background: var(--signal);
    color: #fff;
    padding: clamp(5rem, 8vw, 8rem) min(5vw, 76px);
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 8vw
}

.contact h2 {
    max-width: 9ch
}

.contact-copy {
    padding-top: 1.75rem
}

.contact-copy>p {
    font-size: 1.12rem;
    max-width: 36rem
}

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

.phone {
    font: 600 1.25rem var(--display);
    letter-spacing: .04em
}

.contact address {
    font: 400 .74rem/1.6 var(--mono);
    font-style: normal
}

footer {
    min-height: 140px;
    padding: 2rem min(4vw, 64px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--ink);
    color: #dfe3df
}

footer p {
    font-size: .8rem
}

footer>a:last-child {
    font: 400 .68rem var(--mono)
}

@media(max-width:960px) {
    .hero {
        grid-template-columns: 54px 1fr;
        grid-template-rows: auto auto
    }

    .hero-copy {
        grid-column: 2;
        padding-bottom: 2rem
    }

    .hero-visual {
        grid-column: 2;
        grid-row: 2;
        margin: 0 1.5rem 1.5rem 0;
        height: 520px
    }

    .hero-spec {
        display: none
    }

    .section-intro {
        grid-template-columns: 1fr 1.4fr
    }

    .section-intro>p:last-child {
        grid-column: 2
    }

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

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

    .problem-tabs button {
        border-right: 1px solid #4b5456
    }

    .system-map {
        grid-template-columns: 1fr 1fr
    }

    .system-map .network {
        grid-column: 1/3
    }

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

    .work-b {
        grid-column: 2
    }

    .work-d {
        display: none
    }
}

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

    .menu-toggle {
        display: block;
        position: relative;
        z-index: 2
    }

    .site-header nav {
        position: fixed;
        inset: 72px 0 auto;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        padding: 2rem 1.25rem;
        background: var(--paper-2);
        border-bottom: 1px solid var(--ink);
        transform: translateY(-130%);
        visibility: hidden;
        transition: transform .35s var(--ease), visibility .35s
    }

    .site-header nav.open {
        transform: none;
        visibility: visible
    }

    .site-header nav a {
        padding: .85rem 0;
        font-size: .8rem
    }

    .nav-contact {
        text-align: center
    }

    .hero {
        min-height: 0;
        grid-template-columns: 34px 1fr
    }

    .hero-index {
        padding: 1.25rem 0
    }

    .hero-copy {
        padding: 4rem 1.25rem 2.25rem
    }

    .hero-copy h1 {
        font-size: clamp(2.7rem, 13vw, 3.35rem);
        max-width: 10ch
    }

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

    .hero-visual {
        height: 430px;
        margin: 0 0 0 0
    }

    .hero-visual figcaption {
        min-width: 90%;
        padding: .8rem 1rem
    }

    .problem-lab,
    .shop-system,
    .work-index,
    .contact {
        padding: 4.5rem 1.25rem
    }

    .section-intro,
    .system-title,
    .work-heading,
    .contact {
        grid-template-columns: 1fr
    }

    .section-intro>p:last-child {
        grid-column: auto
    }

    .section-intro h2,
    .system-title h2,
    .work-heading h2,
    .contact h2 {
        font-size: clamp(2.8rem, 14vw, 4rem)
    }

    .problem-tabs {
        display: flex;
        overflow-x: auto
    }

    .problem-tabs button {
        flex: 0 0 78%;
        padding: .5rem 1rem
    }

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

    .problem-media {
        height: 300px
    }

    .problem-copy {
        min-height: 420px;
        padding: 2rem 1.25rem
    }

    .capability-chain {
        grid-template-columns: 1fr 1fr
    }

    .system-title {
        gap: 1.2rem
    }

    .system-map {
        grid-template-columns: 1fr;
        margin-top: 3rem
    }

    .system-map .network {
        grid-column: auto;
        display: flex;
        align-items: flex-start
    }

    .system-map article {
        min-height: 250px
    }

    .work-heading {
        gap: 1.25rem
    }

    .work-grid {
        grid-template-columns: 1fr;
        grid-template-rows: 330px 230px 230px;
        margin-top: 3rem
    }

    .work-a,
    .work-b {
        grid-column: auto;
        grid-row: auto
    }

    .work-d {
        display: none
    }

    .contact {
        gap: 2rem
    }

    .contact-copy {
        padding: 0
    }

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

@media(max-width:720px) {

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

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

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