:root {
    --ink: #121719;
    --ink-2: #1d262a;
    --paper: #f0efe9;
    --white: #fafaf7;
    --blue: #2b8fc2;
    --blue-dark: #176286;
    --sand: #c9b99f;
    --line: #b9bebd;
    --sans: "Familjen Grotesk", sans-serif;
    --serif: Literata, serif;
    --ease: cubic-bezier(.18, .8, .2, 1)
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    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(--blue);
    color: #fff;
    padding: .75rem;
    transform: translateY(-180%)
}

.skip:focus {
    transform: none
}

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

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

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

.brand {
    font: 600 1.35rem var(--sans);
    text-decoration: none;
    letter-spacing: -.025em
}

.brand span {
    color: var(--blue);
    font-weight: 700
}

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

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

.quote {
    background: var(--ink);
    color: #fff;
    padding: .8rem 1rem
}

.menu {
    display: none
}

.hero {
    min-height: calc(100svh - 82px);
    display: grid;
    grid-template-columns: minmax(390px, .76fr) minmax(0, 1.35fr);
    background: var(--ink);
    color: #fff
}

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

.hero-copy .eyebrow {
    color: #8ec8e3
}

.hero-copy h1 {
    font: 500 clamp(3.2rem, 4vw, 3.55rem)/1.03 var(--sans);
    letter-spacing: -.035em;
    max-width: 12ch;
    margin: 1.5rem 0
}

.hero-copy>p:not(.eyebrow) {
    font-size: 1.05rem;
    max-width: 34rem;
    color: #c9d0d1
}

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

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

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

.hero-proof {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    margin-top: 3rem
}

.hero-proof span {
    border: 1px solid #475255;
    padding: .5rem .65rem;
    font: 500 .62rem var(--sans)
}

.hero-material {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    grid-template-rows: 1fr 170px;
    gap: 1px;
    background: #4a5356;
    position: relative
}

.hero-material figure {
    margin: 0;
    position: relative;
    overflow: hidden;
    background: var(--ink)
}

.material-close {
    grid-row: 1/3
}

.hero-material figcaption {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    background: rgba(18, 23, 25, .9);
    padding: .65rem .8rem;
    font: 500 .57rem var(--sans);
    letter-spacing: .1em
}

.material-key {
    background: var(--paper);
    color: var(--ink);
    display: grid;
    grid-template-columns: 34px 1fr 34px 1fr;
    gap: .5rem;
    padding: 1.2rem;
    align-items: center
}

.material-key span {
    font: 600 .65rem var(--sans);
    color: var(--blue)
}

.material-key p {
    font: 500 .72rem/1.35 var(--sans);
    margin: 0
}

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

.board-heading {
    display: grid;
    grid-template-columns: .42fr 1.15fr .75fr;
    gap: 4vw;
    align-items: end
}

.board h2,
.showroom h2,
.process h2,
.proof h2,
.contact h2 {
    font: 500 clamp(3rem, 5vw, 5rem)/1 var(--sans);
    letter-spacing: -.035em;
    margin: 0
}

.board-heading>p:last-child {
    margin: 0
}

.board-shell {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 1px;
    background: var(--line);
    margin-top: 4.5rem;
    border: 1px solid var(--line)
}

.material-tabs {
    display: flex;
    flex-direction: column;
    background: var(--paper)
}

.material-tabs button {
    flex: 1;
    display: grid;
    grid-template-columns: 38px 1fr;
    text-align: left;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: transparent;
    padding: 1.2rem;
    cursor: pointer
}

.material-tabs button span {
    font: 600 .62rem var(--sans);
    color: var(--blue)
}

.material-tabs button b {
    font: 600 1rem var(--sans)
}

.material-tabs button small {
    grid-column: 2;
    margin-top: .3rem
}

.material-tabs button[aria-selected="true"] {
    background: var(--ink);
    color: #fff
}

.material-stage {
    min-height: 590px;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
    background: var(--paper)
}

.material-stage figure {
    margin: 0;
    overflow: hidden
}

.material-stage img {
    transition: opacity .2s, transform .65s var(--ease), filter .4s
}

.material-stage.changing img {
    opacity: .15;
    transform: translateX(2%)
}

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

.stage-code {
    font: 600 .62rem var(--sans);
    letter-spacing: .12em;
    color: var(--blue)
}

.material-copy h3 {
    font: 500 clamp(2.2rem, 3.2vw, 3.35rem)/1.02 var(--sans);
    letter-spacing: -.03em;
    margin: 1.3rem 0
}

.material-copy>p:not(.stage-code) {
    max-width: 31rem
}

.cabinet-tone {
    margin-top: 2rem;
    border-top: 1px solid var(--ink);
    padding-top: 1rem;
    display: flex;
    gap: .5rem;
    flex-wrap: wrap
}

.cabinet-tone span {
    width: 100%;
    font: 600 .58rem var(--sans);
    letter-spacing: .12em
}

.cabinet-tone button {
    border: 1px solid var(--line);
    background: var(--white);
    padding: .55rem .7rem;
    font: 500 .65rem var(--sans);
    cursor: pointer
}

.cabinet-tone button[aria-pressed="true"] {
    background: var(--blue-dark);
    color: #fff;
    border-color: var(--blue-dark)
}

.material-stage[data-tone="mid"] img {
    filter: sepia(.18) saturate(.9)
}

.material-stage[data-tone="dark"] img {
    filter: brightness(.78) contrast(1.08)
}

.showroom {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    min-height: 760px;
    background: var(--paper)
}

.showroom-images {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    grid-template-rows: 1fr 1fr;
    gap: 1px;
    background: var(--ink)
}

.showroom-images figure {
    margin: 0
}

.showroom-images figure:first-child {
    grid-row: 1/3
}

.showroom-copy {
    padding: clamp(4rem, 7vw, 7rem);
    display: flex;
    flex-direction: column;
    justify-content: center
}

.showroom-copy h2 {
    margin: 1.3rem 0
}

.showroom-copy>p:not(.eyebrow) {
    max-width: 34rem
}

.bring-list {
    margin-top: 2rem;
    border-top: 1px solid var(--ink)
}

.bring-list button {
    width: 100%;
    display: grid;
    grid-template-columns: 28px 1fr;
    align-items: center;
    text-align: left;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: transparent;
    padding: 1rem 0;
    cursor: pointer
}

.bring-list i {
    width: 16px;
    height: 16px;
    border: 1px solid var(--ink);
    position: relative
}

.bring-list button[aria-pressed="true"] i {
    background: var(--blue)
}

.bring-list button[aria-pressed="true"] i:after {
    content: "";
    position: absolute;
    width: 7px;
    height: 3px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
    left: 3px;
    top: 4px
}

.bring-list span {
    font: 500 .76rem var(--sans)
}

.showroom-copy>small {
    margin-top: 1rem;
    font-size: .65rem
}

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

.process-head {
    display: grid;
    grid-template-columns: .42fr 1.05fr .75fr;
    gap: 4vw;
    align-items: end
}

.process-head>p:last-child {
    margin: 0;
    color: #c9d0d1
}

.process ol {
    list-style: none;
    padding: 0;
    margin: 4.5rem 0 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid #586164
}

.process li {
    min-height: 320px;
    padding: 1.5rem;
    border-right: 1px solid #586164;
    display: flex;
    flex-direction: column
}

.process li>span {
    font: 600 .65rem var(--sans);
    color: #68b8df
}

.process li h3 {
    font: 500 1.35rem var(--sans);
    margin: auto 0 .7rem
}

.process li p {
    font-size: .84rem;
    color: #c9d0d1;
    margin: 0
}

.proof {
    padding: clamp(6rem, 9vw, 9rem) min(4.5vw, 70px);
    display: grid;
    grid-template-columns: .4fr .9fr .65fr;
    gap: 5vw;
    align-items: center;
    background: var(--sand)
}

.proof-number {
    font: 700 clamp(8rem, 15vw, 14rem)/.7 var(--sans);
    letter-spacing: -.12em;
    color: var(--blue-dark)
}

.proof h2 {
    margin: 1rem 0
}

.proof-note {
    border-top: 1px solid var(--ink)
}

.proof-note span {
    display: block;
    font: 600 .6rem var(--sans);
    letter-spacing: .12em;
    margin-top: 1.2rem
}

.proof-note p {
    font-size: .85rem
}

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

.contact h2 {
    max-width: 12ch
}

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

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

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

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

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

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

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

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

    .board-heading,
    .process-head {
        grid-template-columns: .4fr 1fr
    }

    .board-heading>p:last-child,
    .process-head>p:last-child {
        grid-column: 2
    }

    .material-stage {
        grid-template-columns: 1fr
    }

    .material-stage figure {
        height: 370px
    }

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

    .showroom-images {
        grid-template-columns: 1fr
    }

    .showroom-images figure:first-child {
        grid-row: auto
    }

    .showroom-images figure:last-child {
        display: none
    }

    .proof {
        grid-template-columns: .35fr 1fr
    }

    .proof-note {
        grid-column: 2
    }

    .process ol {
        grid-template-columns: 1fr 1fr
    }
}

@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: var(--ink);
        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(--white);
        border-bottom: 1px solid var(--ink);
        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.5vw, 3.4rem)
    }

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

    .hero-material {
        height: 590px;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 140px
    }

    .material-close {
        grid-column: 1/3;
        grid-row: 1
    }

    .room-inset {
        grid-column: 1
    }

    .material-key {
        grid-column: 2;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center
    }

    .material-key span:nth-of-type(2),
    .material-key p:nth-of-type(2) {
        display: none
    }

    .board,
    .process,
    .proof,
    .contact {
        padding: 5rem 1.15rem
    }

    .board-heading,
    .process-head,
    .proof,
    .contact {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 1.3rem
    }

    .board h2,
    .showroom h2,
    .process h2,
    .proof h2,
    .contact h2 {
        font-size: clamp(2.75rem, 13vw, 3.8rem)
    }

    .board-shell {
        display: flex;
        flex-direction: column
    }

    .material-tabs {
        flex-direction: row;
        overflow-x: auto
    }

    .material-tabs button {
        flex: 0 0 62%
    }

    .material-stage {
        display: flex;
        flex-direction: column
    }

    .material-stage figure {
        height: 350px
    }

    .material-copy {
        min-height: 430px
    }

    .showroom {
        display: flex;
        flex-direction: column
    }

    .showroom-images {
        height: 540px;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr
    }

    .showroom-images figure:first-child {
        grid-row: auto
    }

    .showroom-images figure:nth-child(2) {
        display: block
    }

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

    .process ol {
        grid-template-columns: 1fr
    }

    .process li {
        min-height: 220px;
        border-right: 0;
        border-bottom: 1px solid #586164
    }

    .proof-number {
        font-size: 9rem
    }

    .proof-note {
        width: 100%
    }

    .contact {
        gap: 2rem
    }

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

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

@media(max-width:720px) {

    header .brand,
    .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
    }
}

/* Keep the service-led headline large without forcing one-word desktop rows. */
@media(min-width:721px) {
    .hero-copy h1 {
        font-size: clamp(2.8rem, 3.35vw, 3rem);
        max-width: 14ch;
        text-wrap: balance
    }
}

@media(max-width:720px) {
    .hero-copy h1 {
        font-size: clamp(2.2rem, 10vw, 2.75rem);
        max-width: 16ch;
        text-wrap: balance
    }
}
