:root {
  --ink: #050505;
  --paper: #f3f0df;
  --blue: #008afc;
  --green: #587c68;
  --line: rgba(243, 240, 223, .24);
  --pad: clamp(20px, 4vw, 64px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: Inter, Arial, sans-serif;
  overflow-x: hidden;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
button { font: inherit; }
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 50; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}
.site-header {
  position: fixed; z-index: 40; top: 0; left: 0; right: 0;
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px var(--pad); border-bottom: 1px solid var(--line);
  background: rgba(5,5,5,.82); backdrop-filter: blur(16px);
}
.wordmark { text-decoration: none; font: 700 1rem/1 Space Mono, monospace; letter-spacing: -.07em; }
nav { display: flex; gap: clamp(18px, 3vw, 48px); }
nav a, .menu-toggle { text-transform: uppercase; text-decoration: none; font: 500 11px/1 Space Mono, monospace; letter-spacing: .08em; }
.menu-toggle { display: none; color: var(--paper); background: none; border: 0; }
.hero {
  min-height: 100svh; padding: 120px var(--pad) 42px; display: grid;
  grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 90px); align-items: center;
  position: relative;
}
.hero-copy { max-width: 780px; }
.eyebrow { margin: 0 0 28px; color: var(--blue); text-transform: uppercase; font: 700 11px/1.4 Space Mono, monospace; letter-spacing: .1em; }
h1, h2 { margin: 0; letter-spacing: -.065em; font-weight: 500; line-height: .92; }
h1 { font-size: clamp(58px, 8.7vw, 148px); }
h1 em { display: block; color: var(--blue); font-weight: 400; }
.intro { max-width: 600px; margin: 30px 0; color: #b9b6aa; font-size: clamp(15px, 1.3vw, 20px); line-height: 1.55; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.button {
  display: inline-flex; padding: 15px 20px; border: 1px solid currentColor; text-decoration: none;
  text-transform: uppercase; font: 700 11px/1 Space Mono, monospace; letter-spacing: .06em;
  transition: .25s ease;
}
.button:hover { color: var(--ink); background: var(--paper); transform: translateY(-2px); }
.button-solid { background: var(--paper); color: var(--ink); }
.button-solid:hover, .button-blue:hover { background: var(--blue); border-color: var(--blue); color: var(--ink); }
.button-blue { background: var(--blue); border-color: var(--blue); color: var(--ink); }
.hero-art { margin: 0; position: relative; transform: rotate(1.3deg); }
.hero-art img { width: 100%; max-height: 72vh; object-fit: cover; filter: saturate(.92) contrast(1.05); }
.hero-art:before { content: ""; position: absolute; inset: -10px; border: 1px solid var(--blue); transform: rotate(-2deg); z-index: -1; }
.hero-art figcaption { display: flex; justify-content: space-between; margin-top: 12px; text-transform: uppercase; font: 10px Space Mono, monospace; color: #8d8a82; }
.scroll-note { position: absolute; bottom: 24px; left: var(--pad); text-transform: uppercase; font: 10px Space Mono, monospace; color: #77746c; }
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 16px 0; color: var(--blue); font: 700 12px Space Mono, monospace; white-space: nowrap; }
.marquee div { width: max-content; animation: move 28s linear infinite; }
@keyframes move { to { transform: translateX(-50%); } }
.section { padding: clamp(90px, 12vw, 180px) var(--pad); }
.section-heading { display: grid; grid-template-columns: 1.4fr .6fr; gap: 40px; margin-bottom: 70px; align-items: end; }
h2 { font-size: clamp(48px, 7.7vw, 120px); }
.section-heading > p { max-width: 420px; color: #a6a398; line-height: 1.6; }
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(12px, 2vw, 28px); }
.art-card {
  grid-column: span 5; color: inherit; border: 0; border-top: 1px solid var(--line); background: none;
  padding: 14px 0 0; text-align: left; cursor: zoom-in; overflow: hidden;
}
.art-card:nth-child(2) { grid-column: 7 / span 6; margin-top: 15vw; }
.art-card:nth-child(3) { grid-column: 2 / span 4; margin-top: 4vw; }
.art-card.wide { grid-column: 7 / span 6; }
.art-card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; transition: transform .7s cubic-bezier(.2,.8,.2,1), filter .7s; }
.art-card.wide img { aspect-ratio: 1.5; }
.art-card:hover img { transform: scale(1.025); filter: saturate(1.2); }
.art-card > span { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0 0; }
.art-card b { text-transform: uppercase; font: 600 11px Space Mono, monospace; }
.art-card small { color: #77746c; font: 10px Space Mono, monospace; text-align: right; }
.manifesto { background: var(--paper); color: var(--ink); }
.manifesto .eyebrow { color: var(--green); }
.manifesto-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(40px, 8vw, 130px); }
.manifesto h2 { font-size: clamp(44px, 6.2vw, 96px); }
.manifesto-grid > div > p { max-width: 560px; font-size: clamp(16px, 1.6vw, 22px); line-height: 1.55; }
dl { margin: 60px 0 0; }
dl div { display: grid; grid-template-columns: 100px 1fr; padding: 14px 0; border-top: 1px solid rgba(5,5,5,.22); }
dt, dd { margin: 0; font: 11px Space Mono, monospace; }
dt { text-transform: uppercase; color: var(--green); }
.commission-layout { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(30px, 6vw, 100px); align-items: center; }
.commission-layout > img { width: 100%; }
.commission-copy ol { padding: 0; margin: 0 0 42px; list-style: none; }
.commission-copy li { display: grid; grid-template-columns: 50px 1fr; gap: 20px; padding: 24px 0; border-top: 1px solid var(--line); }
.commission-copy li > span { color: var(--blue); font: 11px Space Mono, monospace; }
.commission-copy b { text-transform: uppercase; font: 600 12px Space Mono, monospace; }
.commission-copy p { color: #9d9a91; line-height: 1.55; }
.fine-print { max-width: 540px; font-size: 11px; }
.contact { min-height: 78vh; padding: clamp(100px, 14vw, 220px) var(--pad) 30px; background: var(--blue); color: var(--ink); display: flex; flex-direction: column; }
.contact .eyebrow { color: var(--ink); }
.contact h2 { max-width: 1100px; }
.contact > a { margin: 40px 0 120px; width: max-content; font: clamp(17px, 2vw, 28px) Space Mono, monospace; text-underline-offset: 8px; }
footer { margin-top: auto; padding-top: 20px; border-top: 1px solid rgba(5,5,5,.35); display: flex; justify-content: space-between; text-transform: uppercase; font: 10px Space Mono, monospace; }
.lightbox { width: min(92vw, 1100px); max-height: 92vh; padding: 42px 20px 20px; border: 1px solid var(--line); background: #090909; color: var(--paper); }
.lightbox::backdrop { background: rgba(0,0,0,.88); backdrop-filter: blur(8px); }
.lightbox img { max-height: 76vh; margin: auto; object-fit: contain; }
.lightbox p { font: 11px Space Mono, monospace; text-transform: uppercase; }
.lightbox-close { position: absolute; top: 12px; right: 15px; border: 0; background: none; color: inherit; font: 11px Space Mono, monospace; text-transform: uppercase; cursor: pointer; }

@media (max-width: 780px) {
  .site-header { padding-block: 17px; }
  .menu-toggle { display: block; }
  nav { display: none; position: absolute; top: 53px; left: 0; right: 0; padding: 25px var(--pad); flex-direction: column; background: var(--ink); border-bottom: 1px solid var(--line); }
  nav.open { display: flex; }
  .hero { grid-template-columns: 1fr; padding-top: 105px; }
  .hero-art { width: 85%; margin: 20px 0 50px auto; }
  .scroll-note { display: none; }
  .section-heading, .manifesto-grid, .commission-layout { grid-template-columns: 1fr; }
  .section-heading { margin-bottom: 40px; }
  .gallery { display: block; }
  .art-card, .art-card:nth-child(2), .art-card:nth-child(3), .art-card.wide { width: 100%; margin: 0 0 55px; }
  .art-card img, .art-card.wide img { aspect-ratio: 4/5; }
  footer { gap: 20px; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
