:root {
    --black: #090909;
    --white: #f3f2ed;
    --gray: #aaa9a3;
    --line: rgba(243, 242, 237, 0.22);
    --accent: #d7ff35;
}

* { box-sizing: border-box; }

html { background: var(--black); color: var(--white); }

body {
    margin: 0;
    min-height: 100vh;
    background: var(--black);
    color: var(--white);
    font-family: Arial, Helvetica, sans-serif;
}

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

.site-header {
    height: 76px;
    padding: 0 3vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 12px;
}

.wordmark { font-weight: 700; }
.edition, .eyebrow { color: var(--accent); }

.intro {
    min-height: 70vh;
    padding: 8vw 3vw 5vw;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4vw;
    align-content: end;
}

.intro .eyebrow { grid-column: 1 / -1; }
.eyebrow { margin: 0 0 18px; text-transform: uppercase; font-size: 11px; letter-spacing: .14em; }

.intro h1 {
    margin: 0;
    font-size: clamp(64px, 11vw, 170px);
    font-weight: 500;
    line-height: .82;
    letter-spacing: -.07em;
}

.intro-copy { max-width: 540px; align-self: end; }
.intro-copy p, .artwork-statement { color: #d4d3ce; font-size: clamp(16px, 1.35vw, 21px); line-height: 1.45; }
.intro-copy p + p { margin-top: 1.5em; }

.collection { padding: 7vw 3vw; border-top: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 3vw; }
.section-heading h2 { margin: 0; font-size: clamp(30px, 4vw, 64px); font-weight: 500; }
.section-heading span { color: var(--gray); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }

.collection-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6vw 2vw; }
.work-card figure { position: relative; overflow: hidden; margin: 0; aspect-ratio: 4 / 3; background: #171717; }
.work-card img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: transform .6s ease, filter .4s ease; }
.view-work { position: absolute; right: 16px; bottom: 16px; padding: 10px 12px; background: var(--accent); color: #000; font-size: 11px; text-transform: uppercase; opacity: 0; transform: translateY(8px); transition: .3s ease; }
.work-card:hover img { transform: scale(1.025); filter: grayscale(0); }
.work-card:hover .view-work { opacity: 1; transform: none; }
.card-caption { display: grid; grid-template-columns: 90px 1fr; padding-top: 15px; border-top: 1px solid var(--line); }
.card-caption span { color: var(--gray); font-size: 11px; letter-spacing: .1em; }
.card-caption h3 { margin: 0; font-size: clamp(20px, 2vw, 32px); font-weight: 400; }

footer { margin: 0 3vw; padding: 30px 0; display: flex; justify-content: space-between; border-top: 1px solid var(--line); color: var(--gray); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }

.technology { padding: 8vw 3vw; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; }
.technology h2 { margin: 0; font-size: clamp(54px, 7.5vw, 118px); line-height: .9; letter-spacing: -.06em; font-weight: 500; }
.technology-copy > p { margin: 0 0 1.5em; color: #d4d3ce; font-size: clamp(16px, 1.25vw, 20px); line-height: 1.5; }
.technology code { color: var(--accent); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .85em; }
.tech-specs { margin: 60px 0 0; border-top: 1px solid var(--line); }
.tech-specs div { display: grid; grid-template-columns: 1fr 1.5fr; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.tech-specs dt, .tech-specs dd { margin: 0; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.tech-specs dt { color: var(--gray); }

.artwork-page { height: 100vh; overflow: hidden; }
.artwork-header { position: relative; z-index: 2; }
.back-link:hover { color: var(--accent); }
.artwork-layout { height: calc(100vh - 76px); display: grid; grid-template-columns: minmax(0, 2.15fr) minmax(320px, .85fr); }
.glitch-canvas { min-width: 0; min-height: 0; overflow: hidden; background: #000; }
.glitch-canvas iframe { display: block; width: 100%; height: 100%; border: 0; }
.artwork-info { padding: clamp(28px, 4vw, 64px) 3vw; border-left: 1px solid var(--line); display: flex; flex-direction: column; }
.artwork-info h1 { margin: 0; max-width: 10ch; font-size: clamp(42px, 5.5vw, 88px); line-height: .92; letter-spacing: -.055em; font-weight: 500; }
.artwork-meta { margin-top: 32px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; color: var(--gray); font-size: 10px; text-transform: uppercase; letter-spacing: .09em; }
.artwork-statement { margin-top: auto; font-size: clamp(14px, 1.1vw, 18px); }
.artwork-nav { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.artwork-nav a:hover { color: var(--accent); }

@media (max-width: 760px) {
    .site-header { height: 60px; }
    .intro { min-height: auto; padding-top: 100px; grid-template-columns: 1fr; }
    .intro .eyebrow { grid-column: auto; }
    .intro-copy { margin-top: 50px; }
    .collection { padding-top: 80px; }
    .collection-grid { grid-template-columns: 1fr; gap: 60px; }
    .view-work { opacity: 1; transform: none; }
    .card-caption { grid-template-columns: 70px 1fr; }
    footer { gap: 25px; flex-direction: column; }
    .technology { padding-top: 80px; grid-template-columns: 1fr; }
    .technology-copy { margin-top: 40px; }

    .artwork-page { height: auto; overflow: auto; }
    .artwork-layout { height: auto; display: block; }
    .glitch-canvas { width: 100%; height: 56vh; }
    .artwork-info { min-height: 44vh; border-left: 0; border-top: 1px solid var(--line); }
    .artwork-info h1 { max-width: 12ch; }
    .artwork-statement { margin-top: 60px; }
}
