:root {
    --bg: #0a0a0f;
    --bg-2: #11111a;
    --bg-3: #16161f;
    --ink: #f2f1ec;
    --mute: #9b9aa8;
    --line: rgba(242, 241, 236, .08);

    --t-code: #54d6ff; /* thread 01 — code */
    --t-vent: #ffb347; /* thread 02 — ventures */
    --t-film: #ff5470; /* thread 03 — film & flight */
    --t-stage: #9d7bff; /* thread 04 — sound & stage */
    --t-class: #5de4a7; /* thread 05 — classroom */
    --t-advn: #b91d2d; /* thread 06 — adventure */

    --accent: var(--t-code);

    --font-display: 'Clash Display', 'Arial Narrow', sans-serif;
    --font-body: 'Satoshi', 'Helvetica Neue', sans-serif;
    --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

    --gutter: clamp(20px, 5vw, 96px);
    --rail-w: 72px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto
    }
}

body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

::selection {
    background: var(--t-code);
    color: #06121a
}

a {
    color: inherit;
    text-decoration: none
}

img {
    max-width: 100%;
    display: block
}

button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    cursor: pointer
}

:focus-visible {
    outline: 2px solid var(--t-code);
    outline-offset: 3px;
    border-radius: 2px
}

h1, h2, h3, .display {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.02;
    letter-spacing: -.015em
}

.mono {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--mute)
}

/* ---------- preloader ---------- */
#loader {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 28px;
}

#loader .threads {
    display: flex;
    gap: 10px;
    height: 64px;
    align-items: flex-end
}

#loader .threads i {
    width: 3px;
    height: 0%;
    border-radius: 2px;
    display: block
}

#loader .threads i:nth-child(1) {
    background: var(--t-code)
}

#loader .threads i:nth-child(2) {
    background: var(--t-vent)
}

#loader .threads i:nth-child(3) {
    background: var(--t-film)
}

#loader .threads i:nth-child(4) {
    background: var(--t-stage)
}

#loader .threads i:nth-child(5) {
    background: var(--t-class)
}

#loader .threads i:nth-child(6) {
    background: var(--t-advn)
}

#loader .word {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--mute)
}

/* ---------- thread rail (signature element) ---------- */
#rail {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: var(--rail-w);
    z-index: 40;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    border-right: 1px solid var(--line);
    background: linear-gradient(90deg, rgba(10, 10, 15, .85), rgba(10, 10, 15, 0));
}

#rail a {
    position: relative;
    flex: 0 0 auto;
    width: 100%;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#rail a i {
    display: block;
    width: 2px;
    height: 40px;
    border-radius: 2px;
    background: var(--c);
    opacity: .28;
    transform: scaleY(.55);
    transition: opacity .4s, transform .4s cubic-bezier(.22, 1, .36, 1), box-shadow .4s;
}

#rail a span {
    position: absolute;
    left: 54px;
    white-space: nowrap;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--c);
    opacity: 0;
    transform: translateX(-6px);
    transition: .3s;
    pointer-events: none;
    background: rgba(10, 10, 15, .8);
    padding: 4px 10px;
    border: 1px solid var(--line);
    border-radius: 3px;
}

#rail a:hover span, #rail a:focus-visible span {
    opacity: 1;
    transform: none
}

#rail a.on i {
    opacity: 1;
    transform: scaleY(1);
    box-shadow: 0 0 18px var(--c)
}

@media (max-width: 900px) {
    #rail {
        display: none
    }

    :root {
        --rail-w: 0px
    }
}

/* ---------- top gradient progress bar ---------- */
#progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    z-index: 56;
    pointer-events: none;
    background: rgba(242, 241, 236, .05)
}

#progress i {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--t-code), var(--t-vent), var(--t-film), var(--t-stage), var(--t-class), var(--t-advn));
    background-size: 100vw 100%;
    background-repeat: no-repeat;
    box-shadow: 0 0 12px rgba(157, 123, 255, .35)
}

/* ---------- header ---------- */
header {
    position: fixed;
    top: 0;
    left: var(--rail-w);
    right: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px var(--gutter);
    pointer-events: none;
}

header .logo {
    pointer-events: auto;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 18px;
    letter-spacing: .02em
}

header .logo b {
    color: var(--accent);
    transition: color .6s
}

header nav {
    pointer-events: auto;
    display: flex;
    gap: 28px
}

header nav a {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--mute);
    transition: color .25s
}

header nav a:hover {
    color: var(--ink)
}

#menuBtn {
    display: none;
    pointer-events: auto
}

@media (max-width: 900px) {
    header nav {
        display: none
    }

    #menuBtn {
        display: flex;
        align-items: center;
        gap: 10px;
        font-family: var(--font-mono);
        font-size: 12px;
        letter-spacing: .2em;
        text-transform: uppercase
    }

    #menuBtn .bars {
        display: flex;
        flex-direction: column;
        gap: 5px
    }

    #menuBtn .bars i {
        width: 22px;
        height: 2px;
        background: var(--ink);
        display: block;
        transition: .3s
    }
}

#mobileMenu {
    position: fixed;
    inset: 0;
    z-index: 60;
    background: rgba(10, 10, 15, .98);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 32px;
    gap: 6px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s, visibility .35s;
}

#mobileMenu.open {
    opacity: 1;
    visibility: visible
}

#mobileMenu a {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(30px, 9vw, 44px);
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: baseline;
    gap: 14px;
}

#mobileMenu a small {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .2em;
    color: var(--c)
}

#mobileMenu .close {
    position: absolute;
    top: 24px;
    right: 28px;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--mute)
}

/* ---------- hero ---------- */
#hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    overflow: hidden
}

#loom {
    position: absolute;
    inset: 0;
    z-index: 0
}

#hero .veil {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: radial-gradient(60% 50% at 50% 60%, transparent 0%, rgba(10, 10, 15, .55) 100%)
}

#hero .inner {
    position: relative;
    z-index: 2;
    padding: 0 var(--gutter);
    padding-left: calc(var(--rail-w) + var(--gutter));
    width: 100%
}

#hero .eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 26px
}

#hero .eyebrow::before {
    content: "";
    width: 36px;
    height: 1px;
    background: var(--mute)
}

#hero h1 {
    font-size: clamp(56px, 12.5vw, 176px);
    font-weight: 700;
    letter-spacing: -.03em;
    text-transform: uppercase;
}

#hero h1 .ln {
    display: block;
    overflow: hidden
}

#hero h1 .ch {
    display: inline-block;
    transform: translateY(110%)
}

#hero .tag {
    margin-top: 30px;
    max-width: 560px;
    display: flex;
    flex-direction: column;
    gap: 10px
}

#hero .tag p {
    font-size: clamp(17px, 2.2vw, 21px);
    color: var(--ink)
}

.careerpills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
    max-width: 640px
}

.cpill {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 500;
    color: #0a0a0f;
    background: var(--c);
    padding: 11px 15px;
    border-radius: 9px;
    line-height: 1;
    transition: transform .25s cubic-bezier(.22, 1, .36, 1), box-shadow .25s;
}

.cpill:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 26px color-mix(in srgb, var(--c) 45%, transparent)
}

.cpill.on-dark {
    color: var(--ink)
}

.cpill:focus-visible {
    outline-color: var(--c)
}

.cpill.adv {
    color: var(--ink)
}

#hero .scrollcue {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--mute);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

#hero .scrollcue i {
    width: 1px;
    height: 44px;
    background: linear-gradient(var(--ink), transparent);
    display: block;
    animation: drip 1.8s ease-in-out infinite
}

@keyframes drip {
    0% {
        transform: scaleY(0);
        transform-origin: top
    }
    45% {
        transform: scaleY(1);
        transform-origin: top
    }
    55% {
        transform: scaleY(1);
        transform-origin: bottom
    }
    100% {
        transform: scaleY(0);
        transform-origin: bottom
    }
}

@media (prefers-reduced-motion: reduce) {
    #hero .scrollcue i {
        animation: none
    }
}

/* ---------- generic section ---------- */
section {
    position: relative;
    padding: clamp(90px, 12vh, 160px) var(--gutter);
    padding-left: calc(var(--rail-w) + var(--gutter))
}

.eyebrow-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 34px
}

.eyebrow-row .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--c, var(--accent));
    box-shadow: 0 0 14px var(--c, var(--accent))
}

.h2 {
    font-size: clamp(38px, 6.4vw, 92px);
    text-transform: uppercase;
    letter-spacing: -.02em;
    max-width: 14ch
}

.h2 em {
    font-style: normal;
    color: var(--c, var(--accent))
}

.lede {
    max-width: 62ch;
    color: var(--mute);
    font-size: clamp(16px, 1.9vw, 19px)
}

.lede strong {
    color: var(--ink);
    font-weight: 500
}

/* reveal helper */
.reveal {
    opacity: 0;
    transform: translateY(34px)
}

.no-js .reveal, .rm .reveal {
    opacity: 1;
    transform: none
}

/* ---------- life layer: grain ---------- */
#grain {
    position: fixed;
    inset: -100%;
    z-index: 90;
    pointer-events: none;
    opacity: .045;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    animation: grain 7s steps(8) infinite;
}

@keyframes grain {
    0% {
        transform: translate(0, 0)
    }
    12% {
        transform: translate(-4%, 3%)
    }
    25% {
        transform: translate(3%, -5%)
    }
    37% {
        transform: translate(-5%, -2%)
    }
    50% {
        transform: translate(4%, 4%)
    }
    62% {
        transform: translate(-2%, 5%)
    }
    75% {
        transform: translate(5%, -3%)
    }
    87% {
        transform: translate(-3%, 2%)
    }
    100% {
        transform: translate(0, 0)
    }
}

/* ---------- life layer: ambient career glow ---------- */
.thread {
    overflow: hidden
}

.thread::before {
    content: "";
    position: absolute;
    z-index: 0;
    pointer-events: none;
    width: 58vmax;
    height: 58vmax;
    border-radius: 50%;
    top: -18%;
    right: -22%;
    background: radial-gradient(circle, color-mix(in srgb, var(--c) 8%, transparent), transparent 62%);
    animation: drift 24s ease-in-out infinite alternate;
}

.thread:nth-of-type(even)::before {
    right: auto;
    left: -22%;
    animation-duration: 30s
}

@keyframes drift {
    from {
        transform: translate(0, 0) scale(1)
    }
    to {
        transform: translate(-10%, 16%) scale(1.18)
    }
}

.thread > * {
    position: relative;
    z-index: 1
}

/* ---------- life layer: heading line reveal ---------- */
.h2 .l {
    display: block;
    overflow: hidden
}

.h2 .li {
    display: inline-block;
    transform: translateY(112%);
    will-change: transform
}

.rm .h2 .li, .no-js .h2 .li {
    transform: none
}

/* ---------- life layer: cursor ember (desktop) ---------- */
#cursor {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 95;
    pointer-events: none;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: none;
    transform: translate(-50%, -50%);
    mix-blend-mode: screen;
    opacity: 0;
    transition: width .25s, height .25s, opacity .3s, background .6s, box-shadow .6s;
}

#cursor.grow {
    width: 38px;
    height: 38px;
    opacity: .5;
    box-shadow: 0 0 18px var(--accent), 0 0 46px color-mix(in srgb, var(--accent) 45%, transparent)
}

/* ---------- life layer: pulses & waves ---------- */
.eyebrow-row .dot {
    animation: pulse 2.6s ease-in-out infinite
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 12px var(--c, var(--accent));
        transform: scale(1)
    }
    50% {
        box-shadow: 0 0 26px var(--c, var(--accent));
        transform: scale(1.3)
    }
}

#rail a.on i {
    animation: breathe 2.2s ease-in-out infinite
}

@keyframes breathe {
    0%, 100% {
        box-shadow: 0 0 14px var(--c)
    }
    50% {
        box-shadow: 0 0 30px var(--c)
    }
}

footer .threads-mini i {
    animation: wave 2.4s ease-in-out infinite
}

footer .threads-mini i:nth-child(2) {
    animation-delay: .15s
}

footer .threads-mini i:nth-child(3) {
    animation-delay: .3s
}

footer .threads-mini i:nth-child(4) {
    animation-delay: .45s
}

footer .threads-mini i:nth-child(5) {
    animation-delay: .6s
}

footer .threads-mini i:nth-child(6) {
    animation-delay: .75s
}

@keyframes wave {
    0%, 100% {
        transform: scaleX(1);
        opacity: .7
    }
    50% {
        transform: scaleX(1.7);
        opacity: 1
    }
}

.vcard {
    transform-style: preserve-3d;
    will-change: transform
}

.ventures {
    perspective: 1100px
}

@media (prefers-reduced-motion: reduce) {
    #grain, .thread::before, .eyebrow-row .dot, #rail a.on i, footer .threads-mini i {
        animation: none
    }

    #cursor {
        display: none
    }
}

/* ---------- about / stats ---------- */
#about .grid {
    display: grid;
    grid-template-columns:1.2fr .8fr;
    gap: 60px;
    align-items: start
}

@media (max-width: 900px) {
    #about .grid {
        grid-template-columns:1fr;
        gap: 40px
    }
}

#about .facts {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line)
}

#about .facts div {
    background: var(--bg);
    padding: 26px 22px
}

#about .facts .num {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(34px, 4.5vw, 52px);
    line-height: 1
}

#about .facts .num span {
    color: var(--accent)
}

#about .facts .lbl {
    margin-top: 8px
}

#about .bio p + p {
    margin-top: 1.1em
}

#about .bio .firstword::first-letter {
    color: var(--t-code)
}

/* ---------- timeline (vertical fuse) ---------- */
#timeline .vtl {
    position: relative;
    margin-top: 56px;
    padding-left: clamp(46px, 7vw, 90px);
    max-width: 860px
}

#timeline .fuse {
    position: absolute;
    left: clamp(10px, 3vw, 28px);
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--line);
    border-radius: 2px
}

#timeline .fuse .lit {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, var(--t-code), var(--t-vent), var(--t-film), var(--t-stage), var(--t-class), var(--t-advn));
    box-shadow: 0 0 12px rgba(255, 179, 71, .35);
    border-radius: 2px;
}

#timeline .ember {
    position: absolute;
    left: 50%;
    top: 0%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ffd9a0;
    box-shadow: 0 0 8px 2px #ffb347, 0 0 26px 8px rgba(255, 84, 112, .55), 0 0 60px 18px rgba(255, 179, 71, .25);
    animation: flicker 1.1s ease-in-out infinite alternate;
}

@keyframes flicker {
    0% {
        box-shadow: 0 0 8px 2px #ffb347, 0 0 26px 8px rgba(255, 84, 112, .55), 0 0 60px 18px rgba(255, 179, 71, .25)
    }
    100% {
        box-shadow: 0 0 11px 3px #ffcf7d, 0 0 34px 11px rgba(255, 84, 112, .7), 0 0 80px 26px rgba(255, 179, 71, .35)
    }
}

@media (prefers-reduced-motion: reduce) {
    #timeline .ember {
        animation: none
    }
}

#timeline .ev {
    position: relative;
    padding: 26px 0 30px
}

#timeline .ev .node {
    position: absolute;
    left: calc(clamp(10px, 3vw, 28px) - clamp(46px, 7vw, 90px));
    top: 38px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    transform: translateX(-3.5px);
    background: var(--bg);
    border: 2px solid var(--c, var(--mute));
}

#timeline .ev .yr {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(26px, 3.4vw, 34px);
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap
}

#timeline .ev p {
    margin-top: 10px;
    color: var(--mute);
    font-size: 15.5px;
    max-width: 60ch
}

#timeline .ev .badge {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--c);
    border: 1px solid color-mix(in srgb, var(--c) 55%, transparent);
    padding: 5px 10px;
    border-radius: 100px;
}

/* post-2013 emphasis */
#timeline .ev.hl .yr {
    font-size: clamp(36px, 5vw, 54px);
    color: var(--c)
}

#timeline .ev.hl .node {
    width: 13px;
    height: 13px;
    transform: translateX(-5.5px);
    top: 44px;
    background: var(--c);
    border-color: var(--c);
    box-shadow: 0 0 16px var(--c)
}

#timeline .ev.hl p {
    color: var(--ink);
    font-size: 16.5px
}

/* ---------- threads ---------- */
.thread {
    border-top: 1px solid var(--line)
}

.thread .head {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 42px
}

.thread .body {
    display: grid;
    grid-template-columns:1.05fr .95fr;
    gap: clamp(32px, 5vw, 80px);
    align-items: start
}

@media (max-width: 980px) {
    .thread .body {
        grid-template-columns:1fr
    }
}

.chiplist {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 26px
}

.chip {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    border: 1px solid var(--line);
    color: var(--mute);
    padding: 7px 12px;
    border-radius: 100px
}

.thread .aside {
    border: 1px solid var(--line);
    background: var(--bg-2);
    padding: 30px 28px
}

.thread .aside h3 {
    font-size: 20px;
    margin-bottom: 14px;
    letter-spacing: 0
}

.thread .aside ul {
    list-style: none;
    display: flex;
    flex-direction: column
}

.thread .aside li {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    display: flex;
    gap: 14px;
    align-items: baseline;
    font-size: 15px;
    color: var(--mute)
}

.thread .aside li:last-child {
    border: 0
}

.thread .aside li b {
    color: var(--ink);
    font-weight: 500
}

.thread .aside li::before {
    content: "—";
    color: var(--c, var(--accent))
}

.linkline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--c, var(--accent));
    border-bottom: 1px solid currentColor;
    padding-bottom: 6px;
    transition: gap .25s
}

.linkline:hover {
    gap: 16px
}

/* image placeholder frames */
.ph {
    margin: 10px 0 48px;
    position: relative;
    aspect-ratio: 16/6;
    border: 1.5px dashed color-mix(in srgb, var(--c, var(--mute)) 45%, var(--line));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: repeating-linear-gradient(45deg, transparent 0 16px, rgba(255, 255, 255, .016) 16px 32px),
    var(--bg-2);
    overflow: hidden;
}

.ph::before, .ph::after {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    border: 2px solid color-mix(in srgb, var(--c, var(--mute)) 70%, transparent);
}

.ph::before {
    top: 14px;
    left: 14px;
    border-right: 0;
    border-bottom: 0;
    border-radius: 6px 0 0 0
}

.ph::after {
    bottom: 14px;
    right: 14px;
    border-left: 0;
    border-top: 0;
    border-radius: 0 0 6px 0
}

.ph .mono {
    color: color-mix(in srgb, var(--c, var(--mute)) 75%, var(--mute));
    text-align: center;
    padding: 0 20px
}

.ph img, .ph video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover
}

@media (max-width: 700px) {
    .ph {
        aspect-ratio: 16/9;
        margin-bottom: 36px
    }
}

/* image placeholder (swap with real photos) */
.imgph {
    position: relative;
    margin: 0 0 50px;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 21/8;
    aspect-ratio: 16/9;
    border: 1px dashed color-mix(in srgb, var(--c, var(--accent)) 45%, var(--line));
    background: repeating-linear-gradient(45deg, transparent 0 16px, color-mix(in srgb, var(--c, var(--accent)) 5%, transparent) 16px 17px),
    radial-gradient(60% 90% at 50% 110%, color-mix(in srgb, var(--c, var(--accent)) 9%, transparent), transparent 70%),
    var(--bg-2);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.imgph .ph-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--c, var(--accent)) 70%, var(--mute));
}

/*
.imgph .ph-label::before {
    content: "";
    width: 44px;
    height: 34px;
    border-radius: 6px;
    border: 1.5px solid currentColor;
    opacity: .8;
    background: radial-gradient(circle at 30% 38%, currentColor 4px, transparent 4.5px),
    linear-gradient(to top right, transparent 46%, currentColor 46.5% 53.5%, transparent 54%) no-repeat 55% 100%/60% 55%;
}
*/

@media (max-width: 700px) {
    .imgph {
        aspect-ratio: 16/9
    }
}

/* client marquee */
.marquee {
    overflow: hidden;
    border-block: 1px solid var(--line);
    margin-top: 54px;
    padding: 18px 0;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent)
}

.marquee .track {
    display: flex;
    gap: 16px;
    width: max-content;
    will-change: transform;
    align-items: center
}

.marquee img {
    height: 72px;
    width: auto;
    border-radius: 10px;
    display: block;
    filter: saturate(.92);
    transition: filter .3s, transform .3s
}

.marquee img:hover {
    filter: saturate(1.15);
    transform: scale(1.06)
}

/* ventures cards */
.ventures {
    display: grid;
    grid-template-columns:repeat(2, 1fr);
    gap: 18px;
    margin-top: 50px
}

@media (max-width: 820px) {
    .ventures {
        grid-template-columns:1fr
    }
}

.vcard {
    --vc: var(--t-vent);
    position: relative;
    border: 1px solid var(--line);
    background: var(--bg-2);
    padding: 34px 30px 30px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform .35s cubic-bezier(.22, 1, .36, 1), border-color .35s;
}

.vcard::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: var(--vc);
    opacity: .9
}

.vcard::after {
    content: "";
    position: absolute;
    inset: -40%;
    background: radial-gradient(40% 40% at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--vc) 14%, transparent), transparent 70%);
    opacity: 0;
    transition: opacity .4s;
    pointer-events: none
}

.vcard:hover {
    transform: translateY(-5px);
    border-color: color-mix(in srgb, var(--vc) 45%, var(--line))
}

.vcard:hover::after {
    opacity: 1
}

.vcard .top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px
}

.vlogo {
    height: 34px;
    width: auto;
    max-width: 170px;
    object-fit: contain;
    align-self: flex-start;
    border-radius: 7px
}

.vlogo.light {
    background: rgba(255, 255, 255, .94);
    padding: 6px 10px
}

.vlogo.word {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 24px;
    letter-spacing: -.01em;
    line-height: 34px
}

.vlogo.word b {
    font-weight: 700;
    color: var(--ink)
}

.bizlogo {
    height: 30px;
    width: auto;
    margin-top: 22px;
    opacity: .9
}

.vcard h3 {
    font-size: clamp(24px, 3vw, 30px);
    letter-spacing: -.01em
}

.vcard .role {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--vc);
    white-space: nowrap
}

.vcard p {
    color: var(--mute);
    font-size: 15px
}

.vcard .go {
    margin-top: auto;
    padding-top: 10px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--vc)
}

/* film stats */
.bigstats {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(28px, 6vw, 90px);
    margin-top: 48px
}

.bigstats .b .num {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(46px, 7vw, 96px);
    line-height: 1;
    color: var(--ink)
}

.bigstats .b .num span {
    color: var(--c)
}

.bigstats .b .lbl {
    margin-top: 10px
}

/* pull quote (stage) */
.pull {
    border-left: 2px solid var(--c);
    padding: 6px 0 6px 28px;
    margin-top: 40px;
    max-width: 56ch
}

.pull p {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(20px, 2.8vw, 28px);
    line-height: 1.35
}

.pull cite {
    display: block;
    margin-top: 14px;
    font-style: normal
}

/* ---------- awards ---------- */
#awards ul {
    list-style: none;
    margin-top: 40px;
    border-top: 1px solid var(--line)
}

#awards li {
    display: grid;
    grid-template-columns:90px 1fr auto;
    gap: 24px;
    align-items: baseline;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
    transition: padding-left .3s
}

#awards li:hover {
    padding-left: 12px
}

#awards li .yr {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--mute)
}

#awards li .what {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(18px, 2.6vw, 26px)
}

#awards li .who {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--mute)
}

@media (max-width: 700px) {
    #awards li {
        grid-template-columns:64px 1fr
    }

    #awards li .who {
        grid-column: 2
    }
}

/* ---------- contact ---------- */
#contact {
    padding-bottom: 60px
}

#contact .big {
    font-size: clamp(44px, 9vw, 130px);
    text-transform: uppercase;
    letter-spacing: -.025em
}

#contact .big a {
    position: relative;
    display: inline-block
}

#contact .big a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 6px;
    height: 3px;
    background: linear-gradient(90deg, var(--t-code), var(--t-vent), var(--t-film), var(--t-stage), var(--t-class), var(--t-advn));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .5s cubic-bezier(.22, 1, .36, 1)
}

#contact .big a:hover::after {
    transform: scaleX(1)
}

#contact .links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 34px;
    margin-top: 46px
}

#contact .links a {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--mute);
    transition: color .25s
}

#contact .links a:hover {
    color: var(--ink)
}

footer {
    padding: 34px var(--gutter) 40px;
    padding-left: calc(var(--rail-w) + var(--gutter));
    display: flex;
    flex-wrap: wrap;
    gap: 10px 30px;
    justify-content: space-between;
    border-top: 1px solid var(--line)
}

footer .threads-mini {
    display: flex;
    gap: 5px;
    align-items: center
}

footer .threads-mini i {
    width: 14px;
    height: 2px;
    display: block
}
