@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@300;400;500&family=Manrope:wght@400;500;600;700&display=swap');

:root {
    --paper: #f1eee6;
    --paper-deep: #e7e2d7;
    --ink: #151514;
    --muted: #6e6b64;
    --line: #cbc5b8;
    --accent: #9f4a2d;
    --black: #10100f;
    --white: #f7f4ee;
    --max: 1440px;
    --pad: clamp(22px, 4vw, 66px)
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: "Manrope", system-ui, sans-serif;
    text-rendering: optimizeLegibility
}

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

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--pad);
    border-bottom: 1px solid transparent;
    transition: .25s
}

.site-header.scrolled {
    background: rgba(241, 238, 230, .9);
    backdrop-filter: blur(16px);
    border-color: var(--line)
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    letter-spacing: .15em;
    font-size: .88rem
}

.brand-mark {
    width: 26px;
    height: 26px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    transform: skewY(-14deg)
}

.brand-mark span {
    background: var(--ink)
}

.desktop-nav {
    display: flex;
    gap: 32px;
    font-size: .85rem
}

.menu-button {
    display: none;
    background: none;
    border: 0;
    width: 42px;
    height: 42px;
    position: relative
}

.menu-button span {
    position: absolute;
    left: 8px;
    right: 8px;
    height: 1px;
    background: var(--ink)
}

.menu-button span:first-child {
    top: 16px
}

.menu-button span:last-child {
    top: 25px
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 82px;
    left: 0;
    right: 0;
    z-index: 45;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 26px var(--pad) 34px;
    flex-direction: column;
    gap: 22px;
    font-size: 1.3rem
}

.mobile-menu.open {
    display: flex
}

.section-pad {
    padding-left: var(--pad);
    padding-right: var(--pad)
}

.section-rule {
    border-top: 1px solid var(--line)
}

.eyebrow,
.hero-kicker,
.mini-label,
.feature-number,
.card-index,
.pipeline-top {
    font-family: "DM Mono", monospace;
    text-transform: uppercase;
    letter-spacing: .12em
}

.eyebrow,
.hero-kicker {
    font-size: .72rem
}

.hero {
    padding-top: 150px;
    padding-bottom: 80px;
    max-width: var(--max);
    margin: auto
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 60px;
    align-items: end
}

.hero-kicker {
    margin-bottom: 34px
}

.display {
    margin: 0;
    font-size: clamp(4rem, 9.7vw, 10rem);
    line-height: .84;
    letter-spacing: -.065em;
    font-weight: 500;
    max-width: 1120px
}

.accent-line {
    color: var(--accent);
    display: block
}

.hero-sub {
    max-width: 720px;
    font-size: clamp(1.05rem, 1.7vw, 1.42rem);
    line-height: 1.55;
    margin: 42px 0 0
}

.hero-note {
    border-top: 1px solid var(--ink);
    padding-top: 14px
}

.hero-note p {
    font-size: .92rem;
    line-height: 1.6;
    color: #494741
}

.mini-label {
    font-size: .65rem
}

.hero-visual {
    margin-top: 72px;
    height: clamp(360px, 47vw, 650px);
    border: 1px solid var(--ink);
    overflow: hidden
}

.visual-grid {
    height: 100%;
    display: grid;
    grid-template-columns: 1.2fr .7fr 1fr;
    grid-template-rows: 1.1fr .9fr
}

.block {
    position: relative;
    border-right: 1px solid var(--ink);
    border-bottom: 1px solid var(--ink)
}

.block span {
    position: absolute;
    font-family: "DM Mono", monospace;
    font-size: .62rem;
    letter-spacing: .12em
}

.b1 {
    background: var(--paper-deep)
}

.b1 span {
    top: 18px;
    left: 18px
}

.b2 {
    background: linear-gradient(135deg, #272724 0 48%, #b7b0a2 48% 52%, #1b1b19 52%)
}

.b3 {
    background: var(--accent)
}

.b3 span {
    bottom: 18px;
    right: 18px;
    color: var(--white)
}

.b4 {
    background: repeating-linear-gradient(90deg, #121210 0 2px, var(--paper) 2px 52px)
}

.b5 {
    background: linear-gradient(180deg, var(--paper) 0 48%, #b9b2a4 48% 52%, var(--paper) 52%)
}

.b5 span {
    left: 18px;
    bottom: 18px
}

.b6 {
    background: linear-gradient(115deg, #171715 0 46%, var(--paper) 46% 100%)
}

.section-intro,
.pipeline-header {
    max-width: var(--max);
    margin: auto;
    padding-top: 110px;
    padding-bottom: 72px;
    display: grid;
    grid-template-columns: .75fr 1.25fr;
    gap: 60px
}

.section-title {
    font-size: clamp(3rem, 7vw, 7rem);
    line-height: .93;
    letter-spacing: -.055em;
    margin: 26px 0 0;
    font-weight: 500
}

.section-lead {
    align-self: end;
    font-size: 1.08rem;
    line-height: 1.7;
    max-width: 680px;
    color: #4e4b45
}

.feature-list {
    max-width: var(--max);
    margin: auto;
    padding-bottom: 110px
}

.feature-row {
    display: grid;
    grid-template-columns: 90px minmax(260px, .75fr) 1fr;
    gap: 26px;
    padding: 28px 0;
    border-top: 1px solid var(--line)
}

.feature-row:last-child {
    border-bottom: 1px solid var(--line)
}

.feature-name {
    font-size: clamp(1.35rem, 2.4vw, 2.3rem);
    letter-spacing: -.03em
}

.feature-row p {
    margin: 0;
    color: #555149;
    line-height: 1.65
}

.dark-section {
    background: var(--black);
    color: var(--white);
    padding-top: 95px;
    padding-bottom: 105px
}

.split-heading {
    max-width: var(--max);
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px
}

.split-caption {
    justify-self: end;
    max-width: 580px;
    margin: 0;
    color: #aaa59b;
    line-height: 1.65
}

.statement {
    max-width: var(--max);
    margin: 110px auto 90px;
    font-size: clamp(3rem, 7vw, 7rem);
    line-height: .98;
    letter-spacing: -.055em;
    font-weight: 500
}

.statement em {
    font-style: normal;
    color: #b75a39
}

.approach-grid {
    max-width: var(--max);
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid #393936
}

.approach-card {
    padding: 26px;
    min-height: 270px;
    border-right: 1px solid #393936
}

.approach-card:last-child {
    border-right: 0
}

.approach-card h3 {
    font-size: 1.45rem;
    font-weight: 500;
    margin: 58px 0 15px
}

.approach-card p {
    font-size: .92rem;
    line-height: 1.65;
    color: #aaa59b
}

.pipeline-grid {
    max-width: var(--max);
    margin: auto;
    padding-bottom: 112px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px
}

.pipeline-card {
    border-top: 1px solid var(--ink);
    padding-top: 12px
}

.pipeline-top {
    font-size: .61rem;
    display: flex;
    justify-content: space-between
}

.pipeline-visual {
    height: 330px;
    margin: 18px 0 22px;
    border: 1px solid var(--ink)
}

.pv-one {
    background: linear-gradient(90deg, transparent 0 19%, #1a1a18 19% 21%, transparent 21% 47%, #1a1a18 47% 49%, transparent 49%), linear-gradient(0deg, var(--paper-deep) 0 68%, #9f4a2d 68% 100%)
}

.pv-two {
    background: linear-gradient(135deg, #181816 0 38%, #ece8df 38% 46%, #b0aa9e 46% 70%, #181816 70% 100%)
}

.pv-three {
    background: repeating-linear-gradient(0deg, var(--paper) 0 39px, #151513 39px 41px)
}

.pipeline-card h3 {
    font-size: 1.34rem;
    margin: 0 0 10px;
    font-weight: 500
}

.pipeline-card p {
    font-size: .92rem;
    line-height: 1.65;
    color: #5c5850
}

.manifesto {
    max-width: var(--max);
    margin: auto;
    padding-top: 35px;
    padding-bottom: 120px
}

.manifesto-line {
    height: 1px;
    background: var(--ink);
    margin-bottom: 70px
}

.manifesto-copy {
    font-size: clamp(2.3rem, 5.2vw, 5.4rem);
    line-height: 1.05;
    letter-spacing: -.048em;
    margin: 0
}

.manifesto-copy strong {
    font-weight: 500;
    color: var(--accent)
}

.contact-section {
    background: var(--accent);
    color: var(--white);
    padding-top: 100px;
    padding-bottom: 105px
}

.contact-grid {
    max-width: var(--max);
    margin: auto;
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 80px
}

.contact-title {
    font-size: clamp(3.2rem, 7.8vw, 8rem);
    line-height: .9;
    letter-spacing: -.06em;
    font-weight: 500;
    margin: 24px 0 0
}

.contact-copy {
    align-self: end
}

.contact-copy p {
    font-size: 1.08rem;
    line-height: 1.65
}

.contact-link {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, .7);
    border-bottom: 1px solid rgba(255, 255, 255, .7);
    padding: 20px 0;
    margin-top: 36px
}

.site-footer {
    background: var(--black);
    color: #aaa59b;
    padding: 28px var(--pad);
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
    font-family: "DM Mono", monospace;
    font-size: .62rem;
    letter-spacing: .08em;
    text-transform: uppercase
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .65s ease, transform .65s ease
}

.reveal.visible {
    opacity: 1;
    transform: none
}

@media(max-width:1000px) {

    .hero-grid,
    .section-intro,
    .pipeline-header,
    .contact-grid,
    .split-heading {
        grid-template-columns: 1fr
    }

    .approach-grid {
        grid-template-columns: repeat(2, 1fr)
    }

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

    .pipeline-visual {
        height: 420px
    }
}

@media(max-width:760px) {
    .site-header {
        height: 70px
    }

    .desktop-nav {
        display: none
    }

    .menu-button {
        display: block
    }

    .mobile-menu {
        top: 70px
    }

    .hero {
        padding-top: 120px
    }

    .display {
        font-size: clamp(3.8rem, 18vw, 6.3rem)
    }

    .feature-row {
        grid-template-columns: 55px 1fr
    }

    .feature-row p {
        grid-column: 2
    }

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

    .approach-card {
        border-right: 0;
        border-bottom: 1px solid #393936;
        min-height: auto
    }

    .pipeline-visual {
        height: 300px
    }

    .site-footer {
        flex-direction: column
    }
}

@media(prefers-reduced-motion:reduce) {
    * {
        scroll-behavior: auto !important
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none
    }
}