:root {
    --black: #050505;
    --white: #f7f7f3;
    --muted: #aaa9a3;
    --cyan: #43e8df;
    --acid: #d8ff45;
    --coral: #ff5c4d;
    --violet: #a985ff;
    color-scheme: dark;
    font-family: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--black); scroll-behavior: smooth; }
body { min-width: 320px; min-height: 100vh; margin: 0; overflow-x: hidden; background: var(--black); color: var(--white); }
a { color: inherit; }
img { max-width: 100%; }

.generative-field { position: fixed; inset: 0; z-index: 0; width: 100%; height: 100%; background: var(--black); pointer-events: none; }
.site-header, main, .page-footer { position: relative; z-index: 1; }

.site-header {
    position: absolute;
    inset: 0 0 auto;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 44px;
    width: min(calc(100% - 48px), 1540px);
    min-height: 72px;
    margin: 0 auto;
    border-bottom: 1px solid rgba(247, 247, 243, .24);
    font-size: .69rem;
    text-transform: uppercase;
}
.brand { font-weight: 800; text-decoration: none; white-space: nowrap; }
.site-header nav { display: flex; justify-content: flex-end; gap: 28px; min-width: 0; }
.site-header nav a { color: #c8c7c2; text-decoration: none; white-space: nowrap; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: var(--acid); }

.hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
    align-items: end;
    gap: 72px;
    min-height: 94vh;
    width: min(calc(100% - 48px), 1540px);
    margin: 0 auto;
    padding: 150px 0 88px;
}
h1, h2, p { margin-top: 0; }
h1 { margin: 0; font-size: 10.8rem; font-weight: 700; line-height: .78; letter-spacing: 0; text-shadow: 0 2px 32px #050505; }
.hero-statement { align-self: end; max-width: 610px; padding-bottom: 4px; text-shadow: 0 2px 20px #050505; }
.statement-lead { margin-bottom: 28px; font-family: Georgia, "Times New Roman", serif; font-size: 2.65rem; font-style: italic; line-height: 1.08; }
.statement-body { margin-bottom: 0; color: #deddd8; font-size: 1rem; line-height: 1.65; }
.hero-line { position: absolute; right: 0; bottom: 24px; left: 0; height: 1px; background: linear-gradient(90deg, var(--cyan), var(--acid) 45%, var(--coral)); }

.projects { position: relative; z-index: 1; border-bottom: 1px solid rgba(247, 247, 243, .2); }
.project {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(340px, .65fr);
    min-height: 680px;
    overflow: hidden;
    border-top: 1px solid rgba(247, 247, 243, .2);
    background: rgba(5, 5, 5, .91);
}
.project:nth-child(even) { grid-template-columns: minmax(340px, .65fr) minmax(0, 1.35fr); }
.project:nth-child(even) .project-media { order: 2; }
.project-media { position: relative; min-height: 620px; overflow: hidden; background: #090909; }
.project-media::after { position: absolute; inset: 0; content: ""; border: 1px solid rgba(255,255,255,.1); pointer-events: none; }
.project-media img, .project-media iframe { display: block; width: 100%; height: 100%; object-fit:contain; transition: filter 500ms ease, transform 900ms cubic-bezier(.16,1,.3,1); }
.project-media iframe { border: 0; pointer-events: none; }
.project-media--live { cursor: pointer; }
.project--sandscapes .project-media img, .project--last-ai .project-media img { object-fit: contain; }
.project-media:hover img { filter: saturate(1.14); transform: scale(1.015); }
.project-copy { display: flex; flex-direction: column; justify-content: center; padding: 72px 64px; }
.project-state { margin-bottom: 44px; color: var(--acid); font: 700 .64rem/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; text-transform: uppercase; }
.project:nth-child(4n+2) .project-state { color: var(--cyan); }
.project:nth-child(4n+3) .project-state { color: var(--coral); }
.project:nth-child(4n+4) .project-state { color: var(--violet); }
.project-copy h2 { margin-bottom: 32px; font-family: Georgia, "Times New Roman", serif; font-size: 5.1rem; font-weight: 400; line-height: .86; letter-spacing: 0; }
.project--memes h2, .project--last-ai h2 { font-size: 4.1rem; line-height: .92; }
.project-copy h2 a { text-decoration: none; }
.project-voice { max-width: 560px; margin-bottom: 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.85rem; line-height: 1.16; }
.project-link { align-self: flex-start; margin-top: 54px; padding-bottom: 6px; border-bottom: 1px solid currentColor; font-size: .68rem; font-weight: 800; text-decoration: none; text-transform: uppercase; }

.discipline-switcher {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.2fr repeat(4, 1fr);
    border-bottom: 1px solid rgba(247,247,243,.22);
    background: #050505;
}
.discipline-switcher span, .discipline-switcher a { min-width: 0; padding: 28px 32px; border-right: 1px solid rgba(247,247,243,.18); }
.discipline-switcher span { color: var(--muted); font-family: Georgia, "Times New Roman", serif; font-style: italic; }
.discipline-switcher a { font-size: 1rem; text-decoration: none; }
.discipline-switcher a:hover { color: var(--acid); }

.page-footer { display: flex; justify-content: space-between; gap: 24px; width: min(calc(100% - 48px), 1540px); margin: 0 auto; padding: 36px 0 46px; color: var(--muted); font-size: .64rem; text-transform: uppercase; }
.page-footer p { margin: 0; }

@media (max-width: 1120px) {
    .site-header { display: flex; flex-wrap: wrap; gap: 14px 28px; padding: 18px 0; }
    .site-header nav { order: 2; justify-content: flex-start; width: 100%; overflow-x: auto; padding-bottom: 4px; }
    .hero { grid-template-columns: 1fr; align-content: end; min-height: 920px; padding-top: 130px; }
    h1 { font-size: 8rem; }
    .hero-statement { max-width: 760px; }
    .project, .project:nth-child(even) { grid-template-columns: 1fr; min-height: auto; }
    .project:nth-child(even) .project-media { order: 0; }
    .project-media { min-height: 62vw; }
    .project-copy { min-height: 470px; }
}

@media (max-width: 700px) {
    .site-header, .hero, .page-footer { width: calc(100% - 24px); }
    .site-header { align-items: flex-start; min-height: 92px; font-size: .58rem; }
    .site-header nav { flex-wrap: wrap; gap: 10px 18px; overflow: visible; }
    .hero { min-height: 92vh; padding: 136px 0 64px; gap: 40px; }
    h1 { font-size: 4.45rem; line-height: .8; }
    .statement-lead { margin-bottom: 22px; font-size: 1.65rem; }
    .statement-body { font-size: .9rem; line-height: 1.55; }
    .project-media { min-height: 100vw; }
    .project-copy { min-height: 0; padding: 56px 20px 70px; }
    .project-copy h2, .project--memes h2, .project--last-ai h2 { font-size: 3.55rem; line-height: .9; overflow-wrap: anywhere; }
    .project-voice { font-size: 1.55rem; }
    .project-state { margin-bottom: 34px; }
    .project-link { margin-top: 44px; }
    .discipline-switcher { grid-template-columns: 1fr; }
    .discipline-switcher span, .discipline-switcher a { border-right: 0; border-bottom: 1px solid rgba(247,247,243,.18); }
    .page-footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .project-media img { transition: none; }
}
