

:root {
    --ink: #0d0a11;
    --plum: #1a1322;
    --violet: #3b2f4d;
    --concrete: #8f8a98;
    --slab: #2a2433;
    --chalk: #eeeaf2;
    --acid: #c8ff3a;


    --ink-2: #120e18;
    --plum-2: #211929;
    --violet-2: #4a3c60;
    --violet-3: #6b5b85;
    --chalk-2: #cfc9d7;
    --concrete-2: #a8a3b0;
    --acid-ink: #0d0a11;
    --acid-press: #b3ea22;
    --signal: #ff8a75;
    --signal-ground: #2b1517;
    --ok: #c8ff3a;


    --bg: var(--ink);
    --surface: var(--plum);
    --surface-raised: var(--plum-2);
    --field: var(--slab);
    --line: var(--slab);
    --line-strong: var(--violet);
    --text: var(--chalk);
    --text-soft: var(--chalk-2);
    --text-meta: var(--concrete);
    --accent: var(--acid);


    --tazu-183: 'Big Shoulders Stencil Display', 'Oswald', 'Arial Narrow', 'Helvetica Neue', sans-serif;
    --tazu-7f5: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
    --tazu-04b: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;


    --fw-body: 400;
    --fw-body-mid: 500;
    --fw-body-strong: 600;
    --fw-display: 800;
    --fw-display-soft: 600;
    --fw-mono: 400;
    --fw-mono-strong: 500;


    --step--2: clamp(0.72rem, 0.7rem + 0.1vw, 0.78rem);
    --step--1: clamp(0.82rem, 0.79rem + 0.15vw, 0.9rem);
    --tazu-c7f: clamp(1rem, 0.96rem + 0.2vw, 1.0875rem);
    --tazu-e97: clamp(1.15rem, 1.07rem + 0.4vw, 1.35rem);
    --tazu-6d9: clamp(1.4rem, 1.22rem + 0.9vw, 1.9rem);
    --tazu-65c: clamp(1.8rem, 1.45rem + 1.75vw, 2.85rem);
    --tazu-1f4: clamp(2.2rem, 1.6rem + 3vw, 4.1rem);
    --tazu-41e: clamp(2.4rem, 1.5rem + 4.6vw, 5.9rem);
    --step-hero: clamp(2.6rem, 9vw, 8.5rem);
    --step-numeral: clamp(4.5rem, 3rem + 9vw, 12rem);


    --lh-tight: 0.9;
    --lh-head: 1.02;
    --lh-snug: 1.3;
    --lh-body: 1.6;
    --track-display: -0.005em;
    --track-caps: 0.02em;
    --track-mono: 0.04em;
    --track-meta: 0.12em;


    --base: 8px;
    --s-1: 0.25rem;

    --s-2: 0.5rem;
    --s-3: 0.75rem;
    --s-4: 1rem;
    --s-5: 1.5rem;
    --s-6: 2rem;
    --s-7: 3rem;
    --s-8: 4rem;
    --s-9: 6rem;
    --s-10: 8rem;


    --gutter: clamp(16px, 2.4vw, 32px);
    --pad-x: clamp(20px, 4vw, 56px);
    --section-y: clamp(72px, 10vw, 160px);
    --section-y-half: clamp(40px, 5vw, 80px);
    --shell-max: 1440px;
    --measure: 66ch;
    --measure-wide: 78ch;
    --measure-narrow: 44ch;
    --rail-w: clamp(13.5rem, 16vw, 17rem);
    --header-h: 5rem;
    --tap: 44px;


    --radius: 0;
    --rule: 1px solid var(--line);
    --rule-strong: 1px solid var(--line-strong);
    --tick: 14px;
    --tape: repeating-linear-gradient(45deg, var(--acid) 0 12px, var(--ink) 12px 24px);
    --tape-h: 10px;


    --shadow-lift: 0 1px 0 var(--violet), 0 18px 40px -22px rgba(0, 0, 0, 0.85);
    --shadow-deep: 0 30px 60px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px var(--slab);
    --ring: 0 0 0 2px var(--ink), 0 0 0 4px var(--acid);


    --dur-instant: 90ms;
    --dur-fast: 140ms;
    --dur: 180ms;
    --dur-mid: 320ms;
    --dur-slow: 560ms;
    --dur-xslow: 900ms;
    --ease-out: cubic-bezier(0.2, 0.7, 0.1, 1);
    --ease-in: cubic-bezier(0.5, 0, 0.75, 0);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --ease-snap: cubic-bezier(0.3, 1.3, 0.4, 1);
    --ease-linear: linear;


    --z-base: 1;
    --z-raised: 10;
    --z-header: 40;
    --z-rail: 50;
    --z-scrim: 55;
    --z-toggle: 60;
    --z-consent: 70;
    --z-chat: 80;
    --z-skip: 100;


    --consent-h: 0px;


    color-scheme: dark;
}


*,
*::before,
*::after { box-sizing: border-box; }


html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 1rem);
    overflow-x: clip;
}


body {

    margin: 0;
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font-family: var(--tazu-7f5);
    font-weight: var(--fw-body);
    font-size: var(--tazu-c7f);
    line-height: var(--lh-body);
    font-kerning: normal;
    font-variant-ligatures: common-ligatures;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: clip;
}


h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }


ul[class], ol[class] {
    list-style: none;
    padding: 0;
}


img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}


img {
    height: auto;
    background-color: var(--plum);
}


iframe, embed, object { max-width: 100%; }


input, button, textarea, select {
    font: inherit;
    color: inherit;
    letter-spacing: inherit;
}


button {
    cursor: pointer;
    background: none;
    border: 0;
    padding: 0;
    border-radius: 0;
}


a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.22em;
}


table {
    border-collapse: collapse;
    border-spacing: 0;
}


hr {
    border: 0;
    border-top: var(--rule);
    margin: var(--s-7) 0;
}


[hidden] { display: none !important; }


::selection {
    background: var(--acid);
    color: var(--acid-ink);
}


:focus { outline: none; }


:focus-visible {
    outline: 2px solid var(--acid);
    outline-offset: 3px;
}


.icon {
    width: 1.25em;
    height: 1.25em;
    flex: none;
    stroke: currentColor;
    fill: none;
    vertical-align: middle;
}


.icon--sm { width: 1em; height: 1em; }
.icon--lg { width: 1.6em; height: 1.6em; }


h1, .h1,
h2, .h2,
h3, .h3,
.display {
    font-family: var(--tazu-183);
    font-weight: var(--fw-display);
    line-height: var(--lh-head);
    letter-spacing: var(--track-display);
    text-wrap: balance;
    overflow-wrap: break-word;
    hyphens: manual;
}


h1, .h1 {
    font-size: var(--tazu-41e);
    line-height: var(--lh-tight);
    text-transform: uppercase;
}


.h-hero {
    font-family: var(--tazu-183);
    font-weight: var(--fw-display);
    font-size: var(--step-hero);
    line-height: 0.86;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    text-wrap: balance;
    overflow-wrap: break-word;
}


h2, .h2 {
    font-size: var(--tazu-1f4);
    line-height: 0.95;
    text-transform: uppercase;
}


h3, .h3 {
    font-size: var(--tazu-6d9);
    font-weight: var(--fw-display-soft);
    line-height: 1.05;
    letter-spacing: 0.005em;
}


h4, .h4 {
    font-family: var(--tazu-7f5);
    font-size: var(--tazu-e97);
    font-weight: var(--fw-body-strong);
    line-height: var(--lh-snug);
}


.lede {
    font-size: var(--tazu-e97);
    line-height: 1.5;
    color: var(--text);
    max-width: 52ch;
    text-wrap: pretty;
}


p { text-wrap: pretty; }


.meta,
.mono {
    font-family: var(--tazu-04b);
    font-weight: var(--fw-mono);
    font-size: var(--step--1);
    letter-spacing: var(--track-mono);
    color: var(--text-meta);
    font-variant-numeric: tabular-nums;
}


.kicker {
    display: inline-flex;

    align-items: baseline;
    gap: 0.75em;
    font-family: var(--tazu-04b);
    font-weight: var(--fw-mono-strong);
    font-size: var(--step--2);
    letter-spacing: var(--track-meta);
    text-transform: uppercase;
    color: var(--text-meta);
}


.kicker__num { color: var(--chalk); }


.kicker::after {
    content: "";
    display: inline-block;
    width: 3rem;
    height: 1px;
    background: var(--violet-3);
    transform: translateY(-0.3em);
}


.num {
    font-family: var(--tazu-04b);
    font-variant-numeric: tabular-nums;
}


.text-soft { color: var(--text-soft); }
.text-meta { color: var(--text-meta); }
.upper { text-transform: uppercase; }


.prose {
    max-width: var(--measure);
    color: var(--text-soft);
    hanging-punctuation: first last;
}


.prose > * + * { margin-top: 1.1em; }


.prose h2 {
    font-size: var(--tazu-65c);
    color: var(--text);
    margin-top: 2.2em;
}


.prose h3 {
    font-size: var(--tazu-6d9);
    color: var(--text);
    margin-top: 1.8em;
}


.prose h4 {
    color: var(--text);
    margin-top: 1.6em;
}


.prose h2 + *,
.prose h3 + *,
.prose h4 + * { margin-top: 0.6em; }


.prose strong {
    color: var(--text);
    font-weight: var(--fw-body-strong);
}


.prose a {
    color: var(--text);
    text-decoration-color: var(--violet-3);
    transition: text-decoration-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}


.prose a:hover { text-decoration-color: var(--acid); }


.prose ul,
.prose ol {
    padding-left: 0;
    list-style: none;
}


.prose li {
    position: relative;
    padding-left: 2rem;
}


.prose li + li { margin-top: 0.5em; }


.prose ul > li::before {
    content: "";
    position: absolute;
    left: 0.25rem;
    top: 0.78em;
    width: 0.9rem;
    height: 1px;
    background: var(--violet-3);
}


.prose ol { counter-reset: prose-ol; }


.prose ol > li { counter-increment: prose-ol; }


.prose ol > li::before {
    content: counter(prose-ol, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 0.18em;
    font-family: var(--tazu-04b);
    font-size: var(--step--2);
    color: var(--text-meta);
}


.prose blockquote {
    border-left: 2px solid var(--violet-3);
    padding: 0.25em 0 0.25em 1.25em;
    font-size: var(--tazu-e97);
    color: var(--text);
}


.prose code {
    font-family: var(--tazu-04b);
    font-size: 0.9em;
    background: var(--slab);
    padding: 0.1em 0.35em;
    overflow-wrap: anywhere;
}


.prose pre {
    overflow-x: auto;
    max-width: 100%;
    background: var(--plum);
    padding: var(--s-4);
    font-family: var(--tazu-04b);
    font-size: var(--step--1);
}


.shell {
    width: 100%;
    max-width: var(--shell-max);
    margin-inline: 0 auto;
    padding-inline: var(--pad-x);
}


.section {
    position: relative;
    padding-block: var(--section-y);
}


.section--tight { padding-block: var(--section-y-half); }


.section--plum { background: var(--plum); }


.section--rule { border-top: var(--rule); }


.baseline-bg { background-image: repeating-linear-gradient(to bottom, transparent 0 63px, rgba(59, 47, 77, 0.28) 63px 64px); }


.grid-12 {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gutter);
    row-gap: var(--s-6);
}


.grid-12 > * {
    grid-column: 1 / -1;
    min-width: 0;
}


.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--s-7) var(--gutter);
    align-items: start;
}


.split > * { min-width: 0; }


@media (min-width: 900px) {
    .split--8-4 { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
    .split--4-8 { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
    .split--7-5 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
    .split--5-7 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
    .split--end { align-items: end; }
}


.stack {
    display: flex;
    flex-direction: column;
    gap: var(--stack-gap, var(--s-5));
}


.stack > * { min-width: 0; }


.stack--sm { --stack-gap: var(--s-3); }
.stack--lg { --stack-gap: var(--s-7); }


.cluster {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--cluster-gap, var(--s-4));
}


.cluster > * { min-width: 0; }


.measure { max-width: var(--measure); }
.measure-wide { max-width: var(--measure-wide); }
.measure-narrow { max-width: var(--measure-narrow); }


.flow > * + * { margin-top: var(--flow, 1em); }


.visually-hidden,
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
}


.media {
    position: relative;
    overflow: hidden;
    background: var(--plum);
}


.media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.ratio-3x2 { aspect-ratio: 3 / 2; }
.ratio-4x5 { aspect-ratio: 4 / 5; }
.ratio-1x1 { aspect-ratio: 1 / 1; }


@media (prefers-reduced-motion: reduce) {
    :root {
        --dur-instant: 0ms;
        --dur-fast: 0ms;
        --dur: 0ms;
        --dur-mid: 0ms;
        --dur-slow: 0ms;
        --dur-xslow: 0ms;
    }
    html {
        scroll-behavior: auto;
        scroll-snap-type: none !important;
    }
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    [data-pin],
    .is-pinned { position: static !important; }
}


@media print {
    body {
        background: #fff;
        color: #000;
    }
    .site-header .rail,
    .nav-toggle,
    .consent,
    .chat,
    .chat-launcher,
    .chat-panel { display: none !important; }
}
