@font-face {
    font-family: "Manrope Variable";
    src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2-variations");
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
}

@font-face {
    font-family: "IBM Plex Mono";
    src: url("../fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

:root {
    color-scheme: dark light;
    --page: #151514;
    --page-soft: #1e1d1b;
    --surface: #292824;
    --surface-strong: #33312d;
    --ink: #f4f2ea;
    --ink-soft: #b9b5aa;
    --line: #403e38;
    --accent: #e46f42;
    --accent-hover: #f07d4e;
    --accent-ink: #17120f;
    --header: rgb(21 21 20 / 88%);
    --radius: 16px;
    --content: 1440px;
    --gutter: clamp(1.2rem, 4vw, 4.75rem);
    --z-header: 30;
    --z-menu: 20;
}

@media (prefers-color-scheme: light) {
    :root {
        --page: #f1f0ec;
        --page-soft: #e7e5de;
        --surface: #dad7ce;
        --surface-strong: #cbc7bc;
        --ink: #1d1c1a;
        --ink-soft: #56534c;
        --line: #c2beb3;
        --accent: #c94e23;
        --accent-hover: #b9431c;
        --accent-ink: #fff8f2;
        --header: rgb(241 240 236 / 90%);
    }
}

html.home-theme,
body.home-page {
    color-scheme: dark;
    --page: #151514;
    --page-soft: #1e1d1b;
    --surface: #292824;
    --surface-strong: #33312d;
    --ink: #f4f2ea;
    --ink-soft: #b9b5aa;
    --line: #403e38;
    --accent: #e46f42;
    --accent-hover: #f07d4e;
    --accent-ink: #17120f;
    --header: rgb(21 21 20 / 86%);
}

html.home-theme {
    background: #151514;
}

* {
    box-sizing: border-box;
}

html {
    background: var(--page);
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    margin: 0;
    overflow-x: hidden;
    background: var(--page);
    color: var(--ink);
    font-family: "Manrope Variable", "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: color-mix(in srgb, var(--accent) 24%, transparent);
}

body.menu-open {
    overflow: hidden;
}

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

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

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

button,
a {
    touch-action: manipulation;
}

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

h1,
h2,
h3,
p,
figure {
    margin: 0;
}

h1,
h2,
h3 {
    font-weight: 690;
    letter-spacing: -0.055em;
    line-height: 1.02;
    text-wrap: balance;
    scroll-margin-top: 6rem;
}

p {
    text-wrap: pretty;
}

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

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

.skip-link {
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 100;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: var(--accent);
    color: var(--accent-ink);
    font-weight: 750;
    transform: translateY(-170%);
    transition: transform 180ms ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.section-shell {
    width: min(calc(100% - (var(--gutter) * 2)), var(--content));
    margin-inline: auto;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: var(--z-header);
    display: flex;
    width: 100%;
    height: calc(4.5rem + env(safe-area-inset-top));
    align-items: center;
    justify-content: space-between;
    padding: env(safe-area-inset-top) var(--gutter) 0;
    border-bottom: 1px solid color-mix(in srgb, var(--line) 68%, transparent);
    background: var(--header);
    backdrop-filter: blur(18px) saturate(125%);
    -webkit-backdrop-filter: blur(18px) saturate(125%);
}

.wordmark {
    font-size: 1.03rem;
    font-weight: 800;
    letter-spacing: -0.06em;
}

.wordmark span {
    color: var(--accent);
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: clamp(0.85rem, 1.45vw, 1.65rem);
    font-size: 0.75rem;
    font-weight: 620;
}

.desktop-nav a,
.footer-nav a {
    color: var(--ink-soft);
    transition: color 180ms ease;
}

.desktop-nav a {
    padding-block: 0.7rem;
}

.desktop-nav a:hover,
.footer-nav a:hover {
    color: var(--ink);
}

.desktop-nav .nav-patreon {
    padding: 0.55rem 0.9rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink);
}

.desktop-nav .nav-patreon:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.menu-button {
    display: none;
    min-width: 3.5rem;
    min-height: 2.65rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--ink);
    color: var(--page);
    cursor: pointer;
    font-size: 0.76rem;
    font-weight: 750;
}

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: var(--z-menu);
    padding: calc(6rem + env(safe-area-inset-top)) var(--gutter) 2rem;
    background: var(--page);
    overscroll-behavior: contain;
}

.mobile-menu[hidden] {
    display: none;
}

.mobile-menu nav {
    display: grid;
}

.mobile-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--line);
    font-size: clamp(1.8rem, 8vw, 3rem);
    font-weight: 650;
    letter-spacing: -0.05em;
}

.button {
    display: inline-flex;
    min-height: 3rem;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.15rem;
    border: 1px solid transparent;
    border-radius: 999px;
    cursor: pointer;
    font-size: 0.84rem;
    font-weight: 750;
    line-height: 1;
    white-space: nowrap;
    transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:active {
    transform: translateY(1px) scale(0.985);
}

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

.button-primary:hover {
    background: var(--accent-hover);
}

.button-secondary {
    border-color: var(--line);
    background: transparent;
    color: var(--ink);
}

.button-secondary:hover {
    border-color: var(--ink-soft);
    background: var(--page-soft);
}

.text-link,
.back-link {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 0.45rem;
    color: var(--ink);
    font-size: 0.84rem;
    font-weight: 720;
}

.text-link span {
    transition: transform 180ms ease;
}

.text-link:hover span {
    transform: translate(0.14rem, -0.14rem);
}

.hero {
    position: relative;
    z-index: 1;
    display: grid;
    min-height: 100dvh;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: clamp(2rem, 4vw, 5rem);
    align-items: center;
    padding: calc(5.5rem + env(safe-area-inset-top)) var(--gutter) 2rem;
}

.hero::before {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: rgb(8 8 7 / 14%);
    content: "";
    pointer-events: none;
}

.hero-copy {
    position: relative;
    z-index: 1;
    max-width: 39rem;
}

.eyebrow {
    margin-bottom: 1.25rem;
    color: var(--accent);
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 9ch;
    font-size: clamp(3.25rem, 7.2vw, 7.75rem);
    line-height: 0.9;
}

.hero-intro {
    max-width: 37ch;
    margin-top: 1.6rem;
    color: var(--ink-soft);
    font-size: clamp(1rem, 1.2vw, 1.18rem);
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1.15rem;
    margin-top: 2rem;
}

.hero-media {
    position: relative;
    z-index: 1;
    overflow: hidden;
    width: 100%;
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: var(--radius);
    background: rgb(14 14 13 / 72%);
    box-shadow:
        inset 0 1px 0 rgb(255 255 255 / 8%),
        0 2rem 6rem rgb(0 0 0 / 24%);
    aspect-ratio: 16 / 10;
}

.hero-media::after {
    position: absolute;
    inset: 0;
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: inherit;
    content: "";
    pointer-events: none;
}

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

.hero-media .hero-logo-video {
    object-fit: contain;
}

.home-cinema {
    position: relative;
    overflow: clip;
    background: #151514;
    color: #f4f2ea;
    isolation: isolate;
}

.home-cinema-background {
    position: sticky;
    top: 0;
    z-index: 0;
    overflow: hidden;
    height: 100dvh;
    margin-bottom: -100dvh;
    background: #151514;
}

.home-cinema-background video,
.home-cinema-scrim {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.home-cinema-background video {
    object-fit: cover;
    opacity: 0.76;
    transform: scale(1.04);
    will-change: transform;
}

.home-cinema-scrim {
    background:
        linear-gradient(90deg, rgb(11 11 10 / 74%) 0%, rgb(11 11 10 / 42%) 48%, rgb(11 11 10 / 62%) 100%),
        linear-gradient(0deg, rgb(11 11 10 / 78%) 0%, transparent 48%, rgb(11 11 10 / 34%) 100%);
    pointer-events: none;
}

.home-cinema > :not(.home-cinema-background) {
    position: relative;
    z-index: 1;
}

.home-cinema .hero-intro,
.home-cinema .intro-section p {
    color: rgb(244 242 234 / 74%);
}

.intro-section {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.65fr);
    gap: 2rem;
    align-items: end;
    padding-block: clamp(7rem, 13vw, 13rem);
}

.intro-section h2 {
    max-width: 12ch;
    font-size: clamp(3rem, 7.5vw, 7.5rem);
}

.intro-section p {
    max-width: 40ch;
    padding-bottom: 0.65rem;
    color: var(--ink-soft);
    font-size: clamp(1.05rem, 1.4vw, 1.3rem);
}

.story-index {
    padding-bottom: clamp(8rem, 14vw, 14rem);
}

.story-index-link {
    display: grid;
    min-width: 0;
    grid-template-columns: minmax(0, 0.8fr) minmax(15rem, 1fr) auto;
    gap: clamp(1rem, 3vw, 4rem);
    align-items: center;
    padding-block: clamp(1.5rem, 3.4vw, 3rem);
    border-bottom: 1px solid rgb(244 242 234 / 18%);
    color: #f4f2ea;
    transition:
        border-color 220ms ease,
        color 220ms ease;
}

.story-index-link:first-child {
    border-top: 1px solid rgb(244 242 234 / 18%);
}

.story-index-link strong {
    min-width: 0;
    font-size: clamp(2.2rem, 5vw, 5.6rem);
    font-weight: 670;
    letter-spacing: -0.055em;
    line-height: 0.95;
}

.story-index-link span {
    max-width: 34ch;
    color: rgb(244 242 234 / 62%);
}

.story-index-link i {
    font-size: 1.4rem;
    font-style: normal;
    transition: transform 220ms ease;
}

.story-index-link:hover,
.story-index-link:focus-visible {
    border-color: var(--accent);
    color: var(--accent);
}

.story-index-link:hover i,
.story-index-link:focus-visible i {
    transform: translate(0.22rem, -0.22rem);
}

.content-section,
.resource-section,
.cockpit-section {
    padding-block: clamp(7rem, 12vw, 12rem);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.section-heading h2,
.resource-title h2,
.cockpit-copy h2,
.patreon-section h2 {
    font-size: clamp(2.6rem, 5.7vw, 6rem);
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 1.75rem);
}

.work-card {
    grid-column: span 5;
}

.work-card:nth-child(3n) {
    grid-column: 7 / span 6;
}

.work-card-featured {
    grid-column: span 7;
}

.work-card a {
    display: block;
}

.work-card img {
    width: 100%;
    border-radius: var(--radius);
    background: var(--surface);
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1), filter 500ms ease;
}

.work-card a:hover img {
    filter: saturate(1.08);
    transform: translateY(-0.25rem);
}

.work-card-copy {
    display: block;
    padding-top: 0.8rem;
}

.work-card-copy strong {
    display: block;
    font-size: 1rem;
}

.work-card-copy small {
    display: block;
    max-width: 56ch;
    margin-top: 0.25rem;
    color: var(--ink-soft);
    font-size: 0.8rem;
    overflow-wrap: anywhere;
}

.empty-stage {
    display: grid;
    min-height: 25rem;
    place-content: center;
    justify-items: start;
    padding: clamp(2rem, 6vw, 6rem);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--page-soft);
}

.empty-stage h2 {
    max-width: 14ch;
    font-size: clamp(2rem, 4vw, 4rem);
}

.empty-stage p {
    max-width: 38ch;
    margin: 0.85rem 0 1.5rem;
    color: var(--ink-soft);
}

.empty-stage-visual {
    position: relative;
    overflow: hidden;
    min-height: min(68dvh, 46rem);
    place-content: end start;
    isolation: isolate;
}

.empty-stage-visual::after {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, transparent 25%, rgb(0 0 0 / 80%));
    content: "";
}

.empty-stage-visual img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.empty-stage-visual p {
    color: #f4f2ea;
    font-size: clamp(1.6rem, 3vw, 3rem);
    font-weight: 650;
    letter-spacing: -0.04em;
}

.resource-section {
    position: relative;
    overflow: clip;
    border-top: 1px solid var(--line);
    background: #11110f;
    color: #f4f2ea;
    isolation: isolate;
}

.resource-section-inner {
    position: relative;
    z-index: 1;
}

.ambient-video-layer {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    background: #11110f;
    pointer-events: none;
}

.ambient-video-layer video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 62% center;
    opacity: 0.72;
    transform: scale(1.06);
    will-change: transform;
}

.ambient-video-layer::after {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgb(17 17 15 / 92%) 0%, rgb(17 17 15 / 62%) 42%, rgb(17 17 15 / 34%) 72%, rgb(17 17 15 / 76%) 100%),
        linear-gradient(0deg, rgb(17 17 15 / 92%) 0%, transparent 42%, rgb(17 17 15 / 72%) 100%);
    content: "";
}

.resource-title {
    max-width: 54rem;
}

.resource-title p {
    max-width: 46ch;
    margin-top: 1rem;
    color: rgb(244 242 234 / 70%);
    font-size: 1.05rem;
}

.resource-columns {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr 1fr;
    gap: clamp(1rem, 3vw, 3.5rem);
    margin-top: 4rem;
}

.resource-column {
    display: flex;
    min-height: 23rem;
    flex-direction: column;
    padding-top: 1.1rem;
    border-top: 2px solid rgb(244 242 234 / 82%);
}

.resource-column h3 {
    margin-bottom: 1.75rem;
    font-size: clamp(1.5rem, 2.4vw, 2.25rem);
}

.resource-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgb(244 242 234 / 18%);
    color: rgb(244 242 234 / 72%);
    font-size: 0.88rem;
    transition: color 180ms ease, padding-left 180ms ease;
}

.resource-row:hover {
    padding-left: 0.25rem;
    color: #f4f2ea;
}

.resource-empty {
    max-width: 25ch;
    color: rgb(244 242 234 / 68%);
}

.resource-column > .text-link {
    margin-top: auto;
    padding-top: 2rem;
}

.cockpit-section {
    display: grid;
    grid-template-columns: minmax(17rem, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(2.5rem, 8vw, 9rem);
    align-items: center;
}

.cockpit-image {
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--surface);
    aspect-ratio: 4 / 5;
}

.cockpit-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1);
    transform: scale(1.04);
}

.cockpit-copy p {
    max-width: 43ch;
    margin: 1.2rem 0 2rem;
    color: var(--ink-soft);
    font-size: 1.05rem;
}

.cockpit-list {
    display: grid;
    margin-bottom: 2rem;
}

.cockpit-list a {
    display: flex;
    justify-content: space-between;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--line);
}

.patreon-section {
    position: relative;
    display: flex;
    overflow: hidden;
    align-items: end;
    justify-content: space-between;
    gap: 3rem;
    margin-bottom: clamp(7rem, 12vw, 12rem);
    padding: clamp(2rem, 5vw, 5rem);
    border-radius: var(--radius);
    background: #171715;
    color: #f4f2ea;
    isolation: isolate;
}

.patreon-section > :not(.ambient-video-layer) {
    position: relative;
    z-index: 1;
}

.patreon-section .ambient-video-layer video {
    object-position: 72% center;
    opacity: 0.82;
}

.patreon-section .ambient-video-layer::after {
    background:
        linear-gradient(90deg, rgb(17 17 15 / 96%) 0%, rgb(17 17 15 / 82%) 42%, rgb(17 17 15 / 24%) 76%, rgb(17 17 15 / 54%) 100%),
        linear-gradient(0deg, rgb(17 17 15 / 72%) 0%, transparent 58%, rgb(17 17 15 / 56%) 100%);
}

.patreon-section h2 {
    max-width: 11ch;
}

.patreon-section p {
    max-width: 42ch;
    margin-top: 1rem;
    color: rgb(244 242 234 / 72%);
}

.page-hero {
    display: flex;
    min-height: min(76dvh, 52rem);
    flex-direction: column;
    justify-content: end;
    padding-top: 8rem;
    padding-bottom: clamp(4rem, 8vw, 7rem);
}

.page-hero h1,
.entry-header h1,
.not-found h1 {
    max-width: 12ch;
    font-size: clamp(3.4rem, 8vw, 8.5rem);
    line-height: 0.93;
}

.page-hero > p:last-child,
.entry-header > p {
    max-width: 44ch;
    margin-top: 1.4rem;
    color: var(--ink-soft);
    font-size: clamp(1rem, 1.4vw, 1.25rem);
}

.archive-section {
    padding-bottom: clamp(7rem, 12vw, 12rem);
}

.archive-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: clamp(2.5rem, 5vw, 5rem);
}

.archive-filters a {
    padding: 0.62rem 1rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink-soft);
    font-size: 0.76rem;
    transition: border-color 180ms ease, color 180ms ease, background-color 180ms ease;
}

.archive-filters a:hover,
.archive-filters a:focus-visible,
.archive-filters a.active {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--page);
}

.archive-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: clamp(1.2rem, 2.5vw, 2.5rem);
}

.archive-card {
    grid-column: span 6;
}

.archive-card:nth-child(3n + 1) {
    grid-column: span 7;
}

.archive-card:nth-child(3n + 2) {
    grid-column: span 5;
    margin-top: 10vw;
}

.archive-media {
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--surface);
    aspect-ratio: 16 / 11;
}

.archive-media img,
.archive-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.archive-placeholder {
    background:
        linear-gradient(135deg, transparent 35%, color-mix(in srgb, var(--accent) 28%, transparent)),
        var(--surface);
}

.archive-copy {
    padding: 1rem 0 2rem;
}

.archive-category {
    display: inline-block;
    margin-bottom: 0.55rem;
    color: var(--accent);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.archive-copy h2 {
    font-size: clamp(1.5rem, 2.4vw, 2.3rem);
}

.archive-copy p {
    max-width: 48ch;
    margin: 0.55rem 0 0.9rem;
    color: var(--ink-soft);
    font-size: 0.88rem;
    overflow-wrap: anywhere;
}

.entry-page {
    padding-top: 4.5rem;
}

.entry-header {
    padding-top: clamp(5rem, 10vw, 10rem);
    padding-bottom: clamp(3rem, 6vw, 6rem);
}

.back-link {
    margin-bottom: 2rem;
    color: var(--ink-soft);
}

.entry-cover {
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--surface);
}

.entry-cover img {
    width: 100%;
    max-height: 80dvh;
    object-fit: cover;
}

.entry-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.38fr);
    gap: clamp(3rem, 8vw, 8rem);
    padding-block: clamp(4rem, 8vw, 8rem);
}

.prose {
    max-width: 68ch;
    font-size: clamp(1rem, 1.2vw, 1.14rem);
    overflow-wrap: anywhere;
}

.prose p + p {
    margin-top: 1.3em;
}

.entry-action {
    align-self: start;
    padding: 1.4rem;
    border-radius: var(--radius);
    background: var(--surface);
}

.entry-action h2 {
    margin-bottom: 1.2rem;
    font-size: 1.4rem;
}

.entry-action .button {
    width: 100%;
    line-height: 1.25;
    text-align: center;
    white-space: normal;
}

.entry-action .button + .button {
    margin-top: 0.65rem;
}

.contact-section {
    display: grid;
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
    gap: clamp(3rem, 10vw, 10rem);
    padding-bottom: clamp(7rem, 12vw, 12rem);
}

.contact-context h2 {
    max-width: 12ch;
    font-size: clamp(2rem, 3.4vw, 3.5rem);
}

.contact-context p {
    max-width: 34ch;
    margin-top: 1rem;
    color: var(--ink-soft);
}

.contact-form {
    display: grid;
    gap: 1.2rem;
}

.field {
    display: grid;
    gap: 0.45rem;
}

.field label {
    font-size: 0.78rem;
    font-weight: 720;
}

.field input,
.field textarea,
.field select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--page-soft);
    color: var(--ink);
}

.field input,
.field select {
    min-height: 3.2rem;
    padding: 0.65rem 0.8rem;
}

.field textarea {
    min-height: 8rem;
    padding: 0.8rem;
    resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
    border-color: var(--accent);
    outline: 2px solid color-mix(in srgb, var(--accent) 30%, transparent);
    outline-offset: 1px;
}

.field small {
    color: var(--ink-soft);
    font-size: 0.72rem;
}

.honeypot {
    position: absolute;
    left: -9999px;
}

.notice {
    margin-bottom: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 10px;
    font-size: 0.86rem;
}

.notice-success {
    border: 1px solid color-mix(in srgb, #40ad77 55%, var(--line));
    background: color-mix(in srgb, #40ad77 14%, var(--page));
}

.notice-error {
    border: 1px solid color-mix(in srgb, #d55952 60%, var(--line));
    background: color-mix(in srgb, #d55952 14%, var(--page));
}

.not-found {
    display: grid;
    min-height: 100dvh;
    align-content: center;
    justify-items: start;
    padding-block: 7rem;
}

.not-found > p:not(.eyebrow) {
    max-width: 40ch;
    margin: 1rem 0 1.75rem;
    color: var(--ink-soft);
}

.site-footer {
    width: min(calc(100% - (var(--gutter) * 2)), var(--content));
    margin-inline: auto;
    padding: clamp(4rem, 8vw, 8rem) 0 2rem;
    border-top: 1px solid var(--line);
}

.footer-main {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
}

.footer-statement {
    font-size: clamp(2.7rem, 6vw, 6rem);
    font-weight: 670;
    letter-spacing: -0.055em;
    line-height: 0.96;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-top: clamp(4rem, 8vw, 8rem);
    padding-top: 1rem;
    border-top: 1px solid var(--line);
    color: var(--ink-soft);
    font-size: 0.72rem;
}

.footer-nav {
    display: flex;
    gap: 1.2rem;
}

.js.motion-ok [data-reveal] {
    /* Content stays readable even if motion code fails or loads late. */
    opacity: 1;
}

@media (max-width: 1100px) {
    .desktop-nav {
        gap: 0.85rem;
        font-size: 0.7rem;
    }

    .hero {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    }
}

@media (max-width: 900px) {
    .desktop-nav {
        display: none;
    }

    .menu-button {
        display: inline-flex;
    }

    .hero {
        min-height: auto;
        grid-template-columns: 1fr;
        padding-top: 7.5rem;
        padding-bottom: 4rem;
    }

    .hero-copy {
        max-width: 44rem;
    }

    .hero h1 {
        max-width: 10ch;
        font-size: clamp(3.8rem, 13vw, 7rem);
    }

    .hero-media {
        max-height: 60dvh;
        aspect-ratio: 16 / 10;
    }

    .intro-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .intro-section p {
        padding-bottom: 0;
    }

    .resource-columns {
        grid-template-columns: 1fr 1fr;
    }

    .resource-column:last-child {
        grid-column: 1 / -1;
    }

    .cockpit-section {
        gap: 3rem;
    }
}

@media (max-width: 767px) {
    :root {
        --gutter: 1rem;
        --radius: 13px;
    }

    .site-header {
        height: calc(4.2rem + env(safe-area-inset-top));
    }

    .hero {
        padding-top: 6.8rem;
        padding-bottom: 2.5rem;
    }

    .hero h1 {
        font-size: clamp(3.3rem, 17vw, 5.5rem);
    }

    .hero-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero-media {
        aspect-ratio: 4 / 3;
    }

    .intro-section,
    .content-section,
    .resource-section,
    .cockpit-section {
        padding-block: 6rem;
    }

    .intro-section h2,
    .section-heading h2,
    .resource-title h2,
    .cockpit-copy h2,
    .patreon-section h2 {
        font-size: clamp(2.7rem, 13vw, 4.5rem);
    }

    .story-index-link {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 0.6rem 1rem;
        align-items: start;
        padding-block: 1.6rem;
    }

    .story-index-link span {
        grid-row: 2;
        grid-column: 1 / -1;
    }

    .story-index-link i {
        grid-row: 1;
        grid-column: 2;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 1.5rem;
    }

    .work-grid,
    .archive-grid {
        grid-template-columns: 1fr;
    }

    .work-card,
    .work-card-featured,
    .work-card:nth-child(3n),
    .archive-card,
    .archive-card:nth-child(3n + 1),
    .archive-card:nth-child(3n + 2) {
        grid-column: 1;
        margin-top: 0;
    }

    .empty-stage {
        min-height: 21rem;
        padding: 1.5rem;
    }

    .empty-stage-visual {
        min-height: 60dvh;
    }

    .resource-columns {
        grid-template-columns: 1fr;
        margin-top: 3rem;
    }

    .resource-column,
    .resource-column:last-child {
        min-height: auto;
        grid-column: auto;
        padding-bottom: 3rem;
    }

    .resource-column > .text-link {
        margin-top: 2rem;
    }

    .cockpit-section,
    .contact-section,
    .entry-content {
        grid-template-columns: 1fr;
    }

    .cockpit-image {
        max-height: 70dvh;
        aspect-ratio: 4 / 4.7;
    }

    .patreon-section {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 6rem;
        padding: 1.5rem;
    }

    .ambient-video-layer video {
        object-position: 66% center;
    }

    .resource-section .ambient-video-layer::after {
        background:
            linear-gradient(90deg, rgb(17 17 15 / 88%) 0%, rgb(17 17 15 / 54%) 70%, rgb(17 17 15 / 76%) 100%),
            linear-gradient(0deg, rgb(17 17 15 / 92%) 0%, rgb(17 17 15 / 38%) 48%, rgb(17 17 15 / 72%) 100%);
    }

    .patreon-section .ambient-video-layer::after {
        background: linear-gradient(90deg, rgb(17 17 15 / 94%) 0%, rgb(17 17 15 / 68%) 68%, rgb(17 17 15 / 48%) 100%);
    }

    .page-hero {
        min-height: 72dvh;
        padding-top: 7rem;
        padding-bottom: 3rem;
    }

    .page-hero h1,
    .entry-header h1,
    .not-found h1 {
        font-size: clamp(3.2rem, 16vw, 5.7rem);
    }

    .entry-page {
        padding-top: 4.2rem;
    }

    .entry-header {
        padding-top: 4rem;
    }

    .entry-content {
        gap: 2.5rem;
    }

    .footer-main,
    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-statement {
        font-size: clamp(2.5rem, 13vw, 4.2rem);
    }
}

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

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .js [data-reveal] {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-transparency: reduce) {
    .site-header {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: var(--page);
    }
}
