:root {
    --paper: #f3f2ed;
    --surface: #fbfaf7;
    --ink: #0d0d0c;
    --muted: #66645e;
    --line: rgba(13, 13, 12, .22);
    --grid-line: rgba(13, 13, 12, .055);
    --red: #e82930;
    --progress: 0;
    --draft-focus: 1;
    --link-focus: 1;
    --cnc-focus: 1;
    --parts-focus: 1;
}

* {
    box-sizing: border-box;
}

html {
    background: var(--paper);
    color: var(--ink);
    font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
    scroll-behavior: smooth;
}

body {
    margin: 0;
}

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

img {
    display: block;
    max-width: 100%;
}

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

.scroll-hero {
    min-height: 100svh;
}

.hero-pin {
    background: var(--surface);
    display: grid;
    grid-template-rows: 64px minmax(280px, 1.1fr) minmax(315px, .9fr) 58px;
    height: 100svh;
    min-height: 680px;
    overflow: hidden;
    position: relative;
}

.site-header {
    align-items: center;
    border-bottom: 1px solid var(--line);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    padding: 0 clamp(24px, 3.6vw, 58px);
}

.brand {
    align-items: center;
    display: inline-flex;
    font-size: 1.05rem;
    font-weight: 800;
    gap: 10px;
    letter-spacing: -.035em;
    justify-self: start;
}

.brand img {
    height: 27px;
    object-fit: contain;
    width: 34px;
}

.site-header nav {
    align-items: center;
    display: flex;
    gap: clamp(20px, 2.5vw, 42px);
}

.site-header nav a,
.header-action {
    font-size: .67rem;
    font-weight: 800;
    letter-spacing: .025em;
    text-transform: uppercase;
}

.site-header nav a {
    position: relative;
}

.site-header nav a::after {
    background: var(--red);
    bottom: -7px;
    content: "";
    height: 2px;
    left: 0;
    position: absolute;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 180ms ease;
    width: 100%;
}

.site-header nav a:hover::after {
    transform: scaleX(1);
}

.header-action {
    align-items: center;
    background: var(--red);
    color: white;
    display: flex;
    height: 100%;
    justify-content: center;
    justify-self: end;
    padding: 0 clamp(18px, 2.3vw, 38px);
}

.hero-copy {
    align-items: center;
    display: grid;
    gap: clamp(40px, 8vw, 150px);
    grid-template-columns: minmax(0, 1.13fr) minmax(300px, .87fr);
    padding: clamp(26px, 3.6vw, 56px) clamp(24px, 3.6vw, 58px);
}

.hero-copy h1 {
    font-size: clamp(3.4rem, 6.7vw, 7.2rem);
    letter-spacing: -.075em;
    line-height: .92;
    margin: 0;
    max-width: 820px;
}

.hero-copy h1 span {
    display: block;
    font-size: .42em;
    letter-spacing: -.045em;
    line-height: .96;
    margin-top: .38em;
}

.hero-pitch {
    align-self: center;
}

.hero-pitch p {
    font-size: clamp(1rem, 1.35vw, 1.3rem);
    line-height: 1.42;
    margin: 0 0 clamp(18px, 2vw, 28px);
    max-width: 540px;
}

.hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 570px;
}

.button {
    align-items: center;
    border: 1px solid var(--ink);
    display: flex;
    font-size: .7rem;
    font-weight: 800;
    justify-content: center;
    min-height: 54px;
    padding: 0 20px;
    text-align: center;
    text-transform: uppercase;
    transition: background-color 180ms ease, color 180ms ease;
}

.button:hover {
    background: var(--ink);
    color: white;
}

.button-primary {
    background: var(--red);
    border-color: var(--red);
    color: white;
}

.button-primary:hover {
    background: var(--ink);
    border-color: var(--ink);
}

.workflow {
    --axis-y: 50%;
    background-color: var(--paper);
    border-block: 1px solid var(--line);
    min-height: 0;
    overflow: hidden;
    position: relative;
}

.workflow-grid {
    background-image:
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 30px 30px;
    inset: 0;
    position: absolute;
}

.workflow-labels {
    display: grid;
    font-size: .61rem;
    font-weight: 800;
    grid-template-columns: 41% 18% 41%;
    inset: 16px 0 auto;
    letter-spacing: .08em;
    padding: 0;
    position: absolute;
    text-transform: uppercase;
    z-index: 9;
}

.workflow-labels span {
    text-align: center;
}

.workflow-labels span:nth-child(2) {
    color: var(--red);
}

.flow-rail {
    background: rgba(13, 13, 12, .26);
    height: 3px;
    left: 3.5%;
    position: absolute;
    right: 3.5%;
    top: var(--axis-y);
    z-index: 1;
}

.flow-rail::before,
.flow-rail::after {
    background: var(--ink);
    border-radius: 50%;
    content: "";
    height: 6px;
    position: absolute;
    top: -2px;
    width: 6px;
}

.flow-rail::before {
    left: 0;
}

.flow-rail::after {
    right: 0;
}

.flow-fill {
    background: var(--red);
    height: 4px;
    left: 0;
    position: absolute;
    top: -1px;
    transform: none;
    width: 100%;
}

.process-break {
    background: var(--paper);
    height: 22px;
    position: absolute;
    top: calc(var(--axis-y) - .5px);
    transform: translateY(-50%);
    width: 42px;
    z-index: 2;
}

.process-break path {
    fill: none;
    stroke: var(--red);
    stroke-linecap: square;
    stroke-linejoin: miter;
    stroke-width: 4;
    vector-effect: non-scaling-stroke;
}

.process-break-left { left: .75%; }
.process-break-right { right: .75%; }

.workstation,
.link-node,
.information-stream {
    z-index: 4;
}

.route-comparison {
    inset: 40px 4% 66px;
    position: absolute;
    z-index: 1;
}

.route-comparison svg {
    height: 58%;
    left: 0;
    overflow: visible;
    position: absolute;
    top: 0;
    width: 100%;
}

.route-comparison path {
    fill: none;
    stroke: rgba(13, 13, 12, .23);
    stroke-dasharray: 4 7;
    stroke-width: 1.3;
    vector-effect: non-scaling-stroke;
}

.route-comparison rect {
    fill: var(--paper);
    stroke: rgba(13, 13, 12, .38);
    stroke-width: 1.2;
    vector-effect: non-scaling-stroke;
}

.route-comparison .route-terminal {
    fill: rgba(13, 13, 12, .42);
    stroke: none;
}

.route-caption {
    color: var(--muted);
    font-size: .48rem;
    font-weight: 800;
    left: 50%;
    letter-spacing: .08em;
    position: absolute;
    text-transform: uppercase;
    top: 7px;
    transform: translateX(-50%);
}

.workstation,
.link-node {
    position: absolute;
    top: var(--axis-y);
    transform: translateY(-50%);
    transition: filter 220ms linear, opacity 220ms linear;
    z-index: 5;
}

.workstation-draft {
    left: 6%;
    opacity: 1;
    width: 29%;
}

.workstation::before {
    background: var(--paper);
    content: "";
    left: -2%;
    position: absolute;
    right: -2%;
    top: 35%;
    height: 43%;
    z-index: 0;
}

.workstation-draft::before {
    left: 8%;
    right: 8%;
}

.workstation-cnc::before {
    left: 0;
    right: 0;
}

.laptop {
    aspect-ratio: 1376 / 768;
    position: relative;
    width: 100%;
}

.laptop-frame {
    height: 100%;
    inset: 0;
    position: absolute;
    width: 100%;
    z-index: 3;
}

.laptop-screen {
    background: var(--surface);
    height: 60.8%;
    left: 20.25%;
    overflow: hidden;
    position: absolute;
    top: 25.45%;
    width: 59.45%;
    z-index: 2;
}

.laptop-screen > img {
    filter: contrast(1.18);
    height: 100%;
    object-fit: contain;
    padding: 2%;
    width: 100%;
}

.cursor-motion {
    height: 24%;
    left: 28%;
    position: absolute;
    top: 27%;
    transform: translate(var(--cursor-x, 0), var(--cursor-y, 0));
    width: 17%;
    z-index: 5;
}

.screen-cursor {
    fill: white;
    filter: drop-shadow(0 0 1px var(--ink));
    height: 100%;
    inset: 0;
    position: relative;
    stroke: var(--ink);
    stroke-linejoin: round;
    stroke-width: 2;
    width: 100%;
}

.cursor-click {
    border: 2px solid var(--ink);
    border-radius: 50%;
    height: 18px;
    left: -4px;
    opacity: 0;
    position: absolute;
    top: -4px;
    width: 18px;
}

.link-node {
    align-items: center;
    display: flex;
    justify-content: center;
    left: 43%;
    opacity: 1;
    width: 14%;
    z-index: 7;
}

.link-node::before {
    background: var(--paper);
    border-radius: 50%;
    content: "";
    height: clamp(112px, 10.2vw, 166px);
    position: absolute;
    width: clamp(112px, 10.2vw, 166px);
    z-index: 1;
}

.link-node img {
    height: auto;
    object-fit: contain;
    position: relative;
    width: clamp(66px, 7.5vw, 122px);
    z-index: 3;
}

.link-halo {
    border: clamp(4px, .45vw, 7px) solid var(--red);
    border-radius: 50%;
    height: clamp(104px, 9.7vw, 158px);
    opacity: .92;
    position: absolute;
    transform: scale(1);
    width: clamp(104px, 9.7vw, 158px);
    z-index: 2;
}

.information-stream {
    inset: 0;
    pointer-events: none;
    position: absolute;
    z-index: 3;
}

.document-packet {
    height: clamp(30px, 2.7vw, 44px);
    left: 21%;
    object-fit: contain;
    opacity: 0;
    position: absolute;
    top: var(--axis-y);
    transform: translate(-50%, -50%);
    width: clamp(40px, 3.6vw, 58px);
}

.workstation-cnc {
    align-items: center;
    display: block;
    left: 65%;
    opacity: 1;
    width: 29%;
}

.cnc {
    aspect-ratio: 350 / 190;
    overflow: hidden;
    position: relative;
    width: 100%;
    z-index: 2;
}

.cnc-body {
    height: auto;
    left: -21%;
    max-width: none;
    position: absolute;
    top: -26%;
    width: 143%;
    z-index: 2;
}

.cnc-head {
    height: auto;
    left: 24%;
    position: absolute;
    top: 15%;
    transform: translateX(var(--cnc-head-x, 0));
    width: 15%;
    z-index: 3;
}

.parts-output {
    bottom: 3%;
    height: 86%;
    left: 82%;
    opacity: 1;
    overflow: hidden;
    position: absolute;
    right: -9%;
    top: auto;
    transform: none;
}

.parts-output img {
    height: clamp(58px, 6.5vw, 92px);
    left: 0;
    object-fit: contain;
    opacity: 0;
    position: absolute;
    top: 0;
    transform: translate(-110%, 0);
    transform-origin: top left;
    width: clamp(58px, 6.5vw, 92px);
    z-index: 1;
}

.workflow-status {
    align-items: center;
    background: rgba(251, 250, 247, .94);
    border: 1px solid var(--line);
    bottom: 14px;
    display: grid;
    gap: 11px;
    grid-template-columns: auto minmax(160px, auto) minmax(90px, 180px);
    left: 50%;
    min-height: 40px;
    padding: 8px 12px;
    position: absolute;
    transform: translateX(-50%);
    z-index: 10;
}

.status-index,
.status-copy {
    font-size: .56rem;
    letter-spacing: .075em;
    text-transform: uppercase;
}

.status-index {
    color: var(--red);
    font-weight: 800;
}

.status-progress {
    background: var(--line);
    height: 2px;
    min-width: 100px;
}

.status-progress i {
    background: var(--red);
    display: block;
    height: 2px;
    transform: scaleX(var(--progress));
    transform-origin: left;
    width: 100%;
}

@media (prefers-reduced-motion: no-preference) {
    .cursor-click {
        animation: cursor-click 2.4s ease-out infinite;
    }
}

@keyframes cursor-click {
    0%, 62% {
        opacity: 0;
        transform: scale(.25);
    }
    68% {
        opacity: .9;
    }
    84%, 100% {
        opacity: 0;
        transform: scale(1.6);
    }
}

.capability-strip {
    align-items: center;
    display: grid;
    font-size: .61rem;
    gap: clamp(14px, 2.3vw, 38px);
    grid-template-columns: auto auto auto auto 1fr auto;
    letter-spacing: .035em;
    padding: 0 clamp(24px, 3.6vw, 58px);
    text-transform: uppercase;
}

.capability-strip span {
    color: var(--red);
    font-weight: 800;
}

.capability-strip i {
    border-top: 1px solid var(--line);
}

.motion-enabled .site-header,
.motion-enabled .hero-copy h1,
.motion-enabled .hero-pitch,
.motion-enabled .workflow,
.motion-enabled .capability-strip {
    opacity: 0;
    will-change: opacity, transform;
}

.motion-enabled .site-header {
    transform: translateY(-100%);
}

.motion-enabled .hero-copy h1,
.motion-enabled .hero-pitch {
    transform: translateY(28px);
}

.motion-enabled .workflow {
    clip-path: inset(0 0 100% 0);
}

.motion-enabled .capability-strip {
    transform: translateY(18px);
}

.motion-enabled.is-ready .site-header,
.motion-enabled.is-ready .hero-copy h1,
.motion-enabled.is-ready .hero-pitch,
.motion-enabled.is-ready .workflow,
.motion-enabled.is-ready .capability-strip {
    opacity: 1;
    transform: none;
}

.motion-enabled.is-ready .site-header {
    transition: opacity .55s ease, transform .75s cubic-bezier(.16, 1, .3, 1);
}

.motion-enabled.is-ready .hero-copy h1 {
    transition: opacity .7s .14s ease, transform .9s .14s cubic-bezier(.16, 1, .3, 1);
}

.motion-enabled.is-ready .hero-pitch {
    transition: opacity .7s .25s ease, transform .9s .25s cubic-bezier(.16, 1, .3, 1);
}

.motion-enabled.is-ready .workflow {
    clip-path: inset(0);
    transition: opacity .65s .38s ease, clip-path 1s .38s cubic-bezier(.76, 0, .24, 1);
}

.motion-enabled.is-ready .capability-strip {
    transition: opacity .5s .72s ease, transform .65s .72s cubic-bezier(.16, 1, .3, 1);
}

@media (max-width: 860px) {
    .hero-pin {
        grid-template-rows: 56px minmax(230px, .82fr) minmax(310px, 1.18fr) 50px;
    }

    .site-header {
        grid-template-columns: 1fr auto;
        padding-inline: 18px;
    }

    .site-header nav {
        display: none;
    }

    .header-action {
        font-size: .58rem;
        padding-inline: 15px;
    }

    .hero-copy {
        align-content: center;
        align-items: start;
        gap: 18px;
        grid-template-columns: 1fr;
        padding: 22px 18px 20px;
    }

    .hero-copy h1 {
        font-size: clamp(3rem, 12vw, 5.1rem);
        line-height: .94;
    }

    .hero-copy h1 span {
        font-size: .39em;
        margin-top: .45em;
    }

    .hero-pitch {
        display: grid;
        gap: 14px;
        grid-template-columns: 1fr 1.08fr;
    }

    .hero-pitch p {
        font-size: clamp(.78rem, 2.8vw, .96rem);
        line-height: 1.35;
        margin: 0;
    }

    .button {
        font-size: .55rem;
        min-height: 42px;
        padding-inline: 8px;
    }

    .workflow-labels {
        font-size: .47rem;
        grid-template-columns: 39% 22% 39%;
        padding-inline: 0;
    }

    .flow-rail {
        left: 2%;
        right: 2%;
    }

    .workstation,
    .link-node {
        transform: translateY(-38%);
    }

    .workstation-draft {
        left: 5%;
        width: 29%;
    }

    .link-node {
        left: 43%;
        width: 14%;
    }

    .link-node img {
        width: clamp(48px, 10vw, 74px);
    }

    .link-node::before {
        height: clamp(76px, 15vw, 100px);
        width: clamp(76px, 15vw, 100px);
    }

    .link-halo {
        height: clamp(70px, 14vw, 96px);
        width: clamp(70px, 14vw, 96px);
    }

    .workstation-cnc {
        left: 66%;
        width: 29%;
    }

    .parts-output img {
        height: 100%;
    }

    .workflow-status {
        bottom: 9px;
        gap: 7px;
        grid-template-columns: auto minmax(120px, 1fr) 70px;
        left: 10px;
        right: 10px;
        transform: none;
    }

    .status-progress {
        min-width: 70px;
    }

    .capability-strip {
        gap: 10px;
        grid-template-columns: repeat(4, 1fr);
        padding-inline: 14px;
        text-align: center;
    }

    .capability-strip span,
    .capability-strip i {
        display: none;
    }

    .capability-strip strong {
        font-size: .48rem;
    }
}

@media (max-width: 700px) {
    .workflow {
        --axis-y: 39%;
    }

    .workflow-labels {
        grid-template-columns: 37% 26% 37%;
    }

    .flow-rail {
        left: 4%;
        right: 4%;
    }

    .workstation,
    .link-node {
        transform: translateY(-50%);
    }

    .workstation-draft {
        left: 4%;
        width: 29%;
    }

    .link-node {
        left: 43%;
        width: 14%;
    }

    .workstation-cnc {
        left: 67%;
        width: 29%;
    }

    .cnc {
        width: 100%;
    }

    .parts-output {
        bottom: 0;
        height: 84%;
        left: 80%;
        position: absolute;
        right: -14%;
        top: auto;
        transform: none;
        width: auto;
    }

    .parts-output img {
        height: clamp(34px, 9vw, 52px);
        width: clamp(34px, 9vw, 52px);
    }

    .route-comparison {
        inset: 42px 4% 74px;
    }

    .route-comparison svg {
        height: 45%;
        width: 100%;
    }

    .route-caption {
        left: 50%;
    }
}

@media (max-width: 520px) {
    .hero-pin {
        grid-template-rows: 54px 245px minmax(300px, 1fr) 44px;
        min-height: 620px;
    }

    .brand {
        font-size: .9rem;
    }

    .brand img {
        height: 23px;
        width: 29px;
    }

    .header-action {
        height: 38px;
    }

    .hero-copy {
        align-content: start;
        padding-top: 18px;
    }

    .hero-copy h1 {
        font-size: clamp(2.95rem, 13.8vw, 4.25rem);
    }

    .hero-pitch {
        grid-template-columns: 1fr;
    }

    .hero-pitch p {
        max-width: 340px;
    }

    .hero-actions {
        max-width: none;
    }

    .workflow-labels { inset-block-start: 11px; }

    .document-packet {
        height: 29px;
        width: 38px;
    }

    .workflow-status {
        grid-template-columns: auto 1fr;
    }

    .status-progress {
        display: none;
    }

}

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

    .flow-fill {
        transform: scaleX(1);
    }

    .document-packet {
        display: none;
    }

    .workstation,
    .link-node,
    .parts-output {
        opacity: 1;
    }

    .parts-output img {
        transform: none;
    }

    .motion-enabled .site-header,
    .motion-enabled .hero-copy h1,
    .motion-enabled .hero-pitch,
    .motion-enabled .workflow,
    .motion-enabled .capability-strip {
        clip-path: none;
        opacity: 1;
        transform: none;
    }
}
