    /* ============ TOKENS ============ */
    :root {
        --ink: #0A0E14;
        --ink-2: #10161F;
        --ink-3: #1B232E;
        --line: rgba(243, 239, 230, 0.09);
        --line-strong: rgba(243, 239, 230, 0.16);
        --paper: #F3EFE6;
        --slate: #8C93A1;
        --gold: #C9A24A;
        --gold-soft: #E8C97A;
        --gold-dim: rgba(201, 162, 74, 0.35);
        --teal: #4FB8AE;
        --teal-dim: rgba(79, 184, 174, 0.35);

        --font-display: 'Schibsted Grotesk', 'Inter', sans-serif;
        --font-body: 'Inter', sans-serif;
        --font-mono: 'IBM Plex Mono', monospace;

        --container: 1120px;
        --gutter: clamp(24px, 5vw, 64px);
        --rail-x: 30px;
        --rail-w: 30px;
        --section-pad: clamp(72px, 11vw, 140px);
    }

    * {
        box-sizing: border-box;
    }

    html {
        scroll-behavior: smooth;
        overflow-x: hidden;
    }

    body {
        margin: 0;
        background: var(--ink);
        color: var(--paper);
        font-family: var(--font-body);
        -webkit-font-smoothing: antialiased;
    }

    img,
    svg {
        display: block;
        max-width: 100%;
    }

    a {
        color: inherit;
        text-decoration: none;
    }

    ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    h1,
    h2,
    h3,
    p,
    blockquote {
        margin: 0;
    }

    :focus-visible {
        outline: 2px solid var(--gold-soft);
        outline-offset: 4px;
        border-radius: 4px;
    }

    /* ============ AMBIENT BACKGROUND ============ */
    .ambient {
        position: fixed;
        inset: 0;
        z-index: 0;
        pointer-events: none;
        background:
            radial-gradient(800px 600px at 85% -5%, rgba(201, 162, 74, 0.16), transparent 60%),
            radial-gradient(600px 500px at -5% 30%, rgba(79, 184, 174, 0.10), transparent 60%);
    }

    .grain {
        position: fixed;
        inset: 0;
        z-index: 1;
        pointer-events: none;
        opacity: 0.05;
        mix-blend-mode: overlay;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    }

    .page {
        position: relative;
        z-index: 2;
        padding-left: calc(var(--rail-x) + var(--rail-w) + 6px);
    }

    /* ============ RAIL (desktop transfer thread) ============ */
    .rail {
        position: absolute;
        top: 0;
        bottom: 0;
        left: var(--rail-x);
        width: var(--rail-w);
        z-index: 1;
    }

    .rail-track {
        position: absolute;
        inset: 0;
    }

    .rail-track svg {
        width: 100%;
        height: 100%;
        display: block;
    }

    .rail-node {
        position: absolute;
        left: 50%;
        width: 11px;
        height: 11px;
        margin-left: -5.5px;
        margin-top: -5.5px;
        border-radius: 50%;
        background: var(--ink-2);
        border: 1.5px solid var(--line-strong);
        transition: background .5s ease, border-color .5s ease, box-shadow .5s ease;
    }

    .rail-node.active {
        background: var(--gold);
        border-color: var(--gold-soft);
        box-shadow: 0 0 14px var(--gold-dim);
    }

    .rail-dot {
        position: absolute;
        left: 50%;
        top: 0;
        width: 9px;
        height: 9px;
        margin-left: -4.5px;
        margin-top: -4.5px;
        border-radius: 50%;
        background: var(--gold-soft);
        box-shadow: 0 0 0 3px rgba(232, 201, 122, 0.18), 0 0 18px 4px var(--gold-dim);
        will-change: transform, top;
    }

    @media (max-width: 859px) {
        .rail {
            display: none;
        }

        .page {
            padding-left: 0;
        }
    }

    /* mobile progress thread */
    .mobile-progress {
        display: none;
    }

    @media (max-width: 859px) {
        .mobile-progress {
            display: block;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            z-index: 50;
            background: rgba(243, 239, 230, 0.06);
        }

        .mobile-progress-fill {
            height: 100%;
            width: 0%;
            background: linear-gradient(90deg, var(--teal), var(--gold-soft));
            transition: width .08s linear;
        }
    }

    /* ============ NAV ============ */
    .nav {
        position: sticky;
        top: 0;
        z-index: 40;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 18px var(--gutter);
        background: rgba(10, 14, 20, 0.7);
        backdrop-filter: blur(14px);
        border-bottom: 1px solid var(--line);
    }

    .nav-mark {
        font-family: var(--font-mono);
        font-weight: 600;
        font-size: 14px;
        letter-spacing: 0.04em;
        color: var(--paper);
        border: 1px solid var(--line-strong);
        border-radius: 8px;
        padding: 6px 10px;
    }

    .nav-links {
        display: flex;
        gap: 32px;
    }

    .nav-links a {
        font-family: var(--font-mono);
        font-size: 13px;
        letter-spacing: 0.03em;
        color: var(--slate);
        position: relative;
        padding-bottom: 4px;
        transition: color .25s ease;
    }

    .nav-links a::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        height: 1px;
        width: 0%;
        background: var(--gold-soft);
        transition: width .3s ease;
    }

    .nav-links a:hover {
        color: var(--paper);
    }

    .nav-links a:hover::after {
        width: 100%;
    }

    .nav-cta {
        font-family: var(--font-mono);
        font-size: 13px;
        border: 1px solid var(--gold-dim);
        color: var(--gold-soft);
        padding: 8px 14px;
        border-radius: 999px;
        transition: background .25s ease, color .25s ease, border-color .25s ease;
    }

    .nav-cta:hover {
        background: var(--gold);
        color: var(--ink);
        border-color: var(--gold);
    }

    @media (max-width:640px) {
        .nav-links {
            display: none;
        }
    }

    /* ============ SHARED ============ */
    section {
        padding: var(--section-pad) var(--gutter);
    }

    .container {
        max-width: var(--container);
        margin: 0 auto;
    }

    .eyebrow {
        font-family: var(--font-mono);
        font-size: 12.5px;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: var(--teal);
        margin-bottom: 18px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .eyebrow::before {
        content: '';
        width: 18px;
        height: 1px;
        background: var(--teal);
    }

    .reveal {
        opacity: 0;
        transform: translateY(28px);
        transition: opacity .8s ease, transform .8s ease;
    }

    .reveal.in-view {
        opacity: 1;
        transform: translateY(0);
    }

    .btn {
        font-family: var(--font-mono);
        font-size: 13.5px;
        letter-spacing: 0.02em;
        padding: 14px 26px;
        border-radius: 999px;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
    }

    .btn-primary {
        background: var(--gold);
        color: var(--ink);
        border: 1px solid var(--gold);
    }

    .btn-primary:hover {
        box-shadow: 0 0 0 6px var(--gold-dim);
        transform: translateY(-2px);
    }

    .btn-ghost {
        border: 1px solid var(--line-strong);
        color: var(--paper);
    }

    .btn-ghost:hover {
        border-color: var(--teal);
        color: var(--teal);
        transform: translateY(-2px);
    }

    /* ============ HERO ============ */
    .hero {
        min-height: 92vh;
        display: flex;
        align-items: center;
        padding-top: clamp(100px, 14vh, 160px);
    }

    .hero .container {
        display: grid;
        grid-template-columns: 1.25fr 0.75fr;
        gap: 48px;
        align-items: center;
    }

    .hero h1 {
        font-family: var(--font-display);
        font-weight: 800;
        font-size: clamp(3rem, 7vw, 6.2rem);
        line-height: 0.96;
        letter-spacing: -0.01em;
        margin: 6px 0 22px;
    }

    .hero-sub {
        font-size: clamp(1.05rem, 1.6vw, 1.3rem);
        color: var(--slate);
        max-width: 46ch;
        margin-bottom: 30px;
    }

    .manifesto {
        font-family: var(--font-display);
        font-weight: 600;
        font-size: clamp(1.15rem, 1.7vw, 1.45rem);
        line-height: 1.4;
        color: var(--gold-soft);
        border-left: 2px solid var(--gold-dim);
        padding-left: 22px;
        max-width: 42ch;
        margin-bottom: 38px;
    }

    .hero-actions {
        display: flex;
        gap: 16px;
        flex-wrap: wrap;
    }

    .hero-mark {
        display: flex;
        justify-content: center;
    }

    .card-mark {
        position: relative;
        width: min(280px, 70vw);
        aspect-ratio: 1.55;
        border-radius: 22px;
        background: linear-gradient(155deg, var(--gold-soft) 0%, var(--gold) 55%, #8a6a25 100%);
        box-shadow: 0 30px 70px -20px rgba(201, 162, 74, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
        transform: rotate(-7deg);
        animation: float 7s ease-in-out infinite;
    }

    .card-chip {
        position: absolute;
        top: 24px;
        left: 24px;
        width: 38px;
        height: 28px;
        border-radius: 6px;
        background: rgba(10, 14, 20, 0.55);
        border: 1px solid rgba(10, 14, 20, 0.4);
    }

    .card-initials {
        position: absolute;
        left: 24px;
        bottom: 22px;
        font-family: var(--font-display);
        font-weight: 800;
        font-size: 2.6rem;
        color: var(--ink);
        letter-spacing: -0.02em;
    }

    .card-role {
        position: absolute;
        right: 24px;
        top: 26px;
        font-family: var(--font-mono);
        font-size: 10.5px;
        color: rgba(10, 14, 20, 0.6);
        text-align: right;
        line-height: 1.4;
        letter-spacing: 0.04em;
    }

    .card-shine {
        position: absolute;
        inset: 0;
        border-radius: 22px;
        background: linear-gradient(120deg, transparent 40%, rgba(255, 255, 255, 0.35) 50%, transparent 60%);
        background-size: 220% 220%;
        background-position: 0% 0%;
        animation: shine 5s ease-in-out infinite;
        mix-blend-mode: soft-light;
    }

    @keyframes float {

        0%,
        100% {
            transform: rotate(-7deg) translateY(0);
        }

        50% {
            transform: rotate(-7deg) translateY(-10px);
        }
    }

    @keyframes shine {
        0% {
            background-position: -20% -20%;
        }

        50% {
            background-position: 120% 120%;
        }

        100% {
            background-position: -20% -20%;
        }
    }

    @media (max-width: 859px) {
        .hero .container {
            grid-template-columns: 1fr;
        }

        .hero-mark {
            order: -1;
            margin-bottom: 12px;
        }

        .hero {
            min-height: auto;
            padding-bottom: 60px;
        }
    }

    /* ============ ABOUT ============ */
    .about .container {
        display: grid;
        grid-template-columns: 0.9fr 1.4fr;
        gap: 60px;
    }

    .about h2 {
        font-family: var(--font-display);
        font-weight: 700;
        font-size: clamp(1.9rem, 3vw, 2.6rem);
        line-height: 1.15;
    }

    .about-body p {
        font-size: 1.08rem;
        line-height: 1.8;
        color: var(--slate);
        max-width: 58ch;
    }

    .about-body p+p {
        margin-top: 18px;
    }

    .about-body strong {
        color: var(--paper);
        font-weight: 600;
    }

    @media (max-width: 859px) {
        .about .container {
            grid-template-columns: 1fr;
            gap: 24px;
        }
    }

    /* ============ WORK / PROJECTS ============ */
    .work-head {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 24px;
        flex-wrap: wrap;
        margin-bottom: 56px;
    }

    .work-head h2 {
        font-family: var(--font-display);
        font-weight: 700;
        font-size: clamp(1.9rem, 3vw, 2.6rem);
    }

    .work-head p {
        color: var(--slate);
        max-width: 36ch;
        font-size: 0.98rem;
    }

    .cards {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 26px;
    }

    .card {
        background: var(--ink-2);
        border: 1px solid var(--line);
        border-radius: 18px;
        padding: 28px 26px 30px;
        display: flex;
        flex-direction: column;
        transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
    }

    .card:hover {
        transform: translateY(-6px);
        border-color: var(--gold-dim);
        box-shadow: 0 24px 50px -28px rgba(0, 0, 0, 0.6);
    }

    .card-visual {
        height: 130px;
        border-radius: 12px;
        background: var(--ink);
        border: 1px solid var(--line);
        margin-bottom: 22px;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    .tag {
        font-family: var(--font-mono);
        font-size: 11px;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--teal);
        margin-bottom: 12px;
    }

    .card h3 {
        font-family: var(--font-display);
        font-weight: 700;
        font-size: 1.3rem;
        margin-bottom: 10px;
    }

    .card p {
        color: var(--slate);
        font-size: 0.96rem;
        line-height: 1.65;
        flex-grow: 1;
    }

    .card-status {
        margin-top: 18px;
        font-family: var(--font-mono);
        font-size: 11px;
        letter-spacing: 0.06em;
        color: var(--gold-soft);
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .card-status::before {
        content: '';
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--gold-soft);
        box-shadow: 0 0 8px var(--gold-dim);
    }

    @media (max-width: 1023px) {
        .cards {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media (max-width: 700px) {
        .cards {
            grid-template-columns: 1fr;
        }
    }

    /* moving dots inside transfer visual */
    .flow-dot {
        animation: flow 2.4s linear infinite;
    }

    .flow-dot:nth-child(2) {
        animation-delay: .8s;
    }

    .flow-dot:nth-child(3) {
        animation-delay: 1.6s;
    }

    @keyframes flow {
        0% {
            offset-distance: 0%;
            opacity: 0;
        }

        10% {
            opacity: 1;
        }

        90% {
            opacity: 1;
        }

        100% {
            offset-distance: 100%;
            opacity: 0;
        }
    }

    /* ============ FOCUS ============ */
    .focus h2 {
        font-family: var(--font-display);
        font-weight: 700;
        font-size: clamp(1.9rem, 3vw, 2.6rem);
        margin-bottom: 36px;
        max-width: 20ch;
    }

    .chips {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
    }

    .chips span {
        font-family: var(--font-mono);
        font-size: 13px;
        letter-spacing: 0.02em;
        color: var(--paper);
        border: 1px solid var(--line-strong);
        border-radius: 999px;
        padding: 10px 18px;
        transition: border-color .3s ease, color .3s ease, background .3s ease;
    }

    .chips span:hover {
        border-color: var(--teal);
        color: var(--teal);
        background: rgba(79, 184, 174, 0.06);
    }

    /* ============ CONTACT ============ */
    .contact {
        text-align: left;
        border-top: 1px solid var(--line);
    }

    .contact h2 {
        font-family: var(--font-display);
        font-weight: 800;
        font-size: clamp(2.4rem, 6vw, 4.4rem);
        line-height: 1.05;
        margin-bottom: 22px;
        max-width: 16ch;
    }

    .contact p {
        color: var(--slate);
        max-width: 50ch;
        margin-bottom: 34px;
        font-size: 1.05rem;
    }

    /* ============ FOOTER ============ */
    .footer {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 12px;
        padding: 28px var(--gutter) 44px;
        border-top: 1px solid var(--line);
        font-family: var(--font-mono);
        font-size: 12px;
        color: var(--slate);
    }

    /* ============ REDUCED MOTION ============ */
    @media (prefers-reduced-motion: reduce) {
        html {
            scroll-behavior: auto;
        }

        .card-mark,
        .card-shine,
        .flow-dot {
            animation: none !important;
        }

        .reveal {
            transition: none;
            opacity: 1;
            transform: none;
        }

        .rail-dot {
            transition: none;
        }

        * {
            transition-duration: 0.01ms !important;
        }
    }