@font-face {
  font-family: 'VCR OSD Mono';
  src: url('../../assets/fonts/vcr-osd-mono.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #050507;
  --text: #f0eff4;
  --muted: #a6a5b2;
  --line: #2c2936;
  --cyan: #55d6ff;
  --pink: #ff286c;
  --mono: 'VCR OSD Mono', 'Courier New', monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--background); color: var(--text); font-family: Arial, Helvetica, sans-serif; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 7px; }
::selection { background: var(--pink); color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 10; transform: translateY(-180%); padding: 12px 16px; background: var(--text); color: var(--background); font-family: var(--mono); }
.skip-link:focus { transform: none; }

.site-header, .hero-meta, .hero-bottom, .section-label, .work-meta, .installation figcaption, .site-footer { font-family: var(--mono); font-weight: 400; text-transform: uppercase; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1600px; margin: auto; padding: 25px 4%; border-bottom: 1px solid var(--line); }
.wordmark { font-size: 23px; letter-spacing: .03em; }
.wordmark span { color: var(--pink); }
.site-header nav { display: flex; gap: 32px; font-size: 12px; letter-spacing: .06em; }
.site-header nav a { padding: 8px 0; }
.site-header nav a:hover, .hero-bottom a:hover, .site-footer a:hover { color: var(--cyan); }

main { max-width: 1600px; margin: auto; }
.hero { padding: 0 4%; background: #000; border-bottom: 1px solid var(--line); }
.hero-meta, .hero-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 12px; line-height: 1.6; letter-spacing: .07em; }
.hero-meta { padding: 24px 0 0; color: var(--muted); }
.hero-meta p, .hero-bottom p { margin: 0; }
.hero-meta time { color: var(--text); }
.title-artwork { display: block; width: 100%; height: auto; }
.hero-bottom { padding: 0 0 28px; color: var(--pink); }
.hero-bottom a { color: var(--text); padding: 10px 0; }
.hero-bottom a span { padding-left: 14px; color: var(--cyan); }

.work { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(32px, 6vw, 96px); padding: clamp(48px, 7vw, 112px) 4%; }
.section-label { margin: 0 0 28px; color: var(--cyan); font-size: 12px; letter-spacing: .1em; }
.work h2 { margin: 0 0 30px; font-size: clamp(25px, 2.5vw, 38px); font-weight: 400; line-height: 1.25; letter-spacing: -.025em; text-wrap: pretty; }
.work-copy > p:not(.section-label) { max-width: 65ch; margin: 0 0 22px; color: #bfbdca; font-size: clamp(16px, 1.2vw, 18px); line-height: 1.8; }
.work-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 36px 0 0; padding-top: 22px; border-top: 1px solid var(--line); font-size: 12px; line-height: 1.6; }
.work-meta dt { color: var(--muted); margin-bottom: 8px; }
.work-meta dd { margin: 0; }
.installation { margin: 0; border: 1px solid var(--line); }
.installation a { display: block; }
.installation img { display: block; width: 100%; height: auto; }
.installation figcaption { display: flex; justify-content: space-between; gap: 20px; padding: 14px 16px; color: var(--muted); font-size: 11px; line-height: 1.5; letter-spacing: .05em; }
.installation figcaption span:last-child { color: var(--cyan); }

.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 0 4%; padding: 28px 72px 40px 0; border-top: 1px solid var(--line); font-size: 12px; line-height: 1.8; letter-spacing: .04em; }
.site-footer p { margin: 0; color: var(--muted); }
.site-footer p span { padding: 0 8px; color: var(--pink); }
.site-footer a span { color: var(--pink); }

@media (min-width: 1600px) {
  .site-header { padding-left: 64px; padding-right: 64px; }
}

@media (max-width: 800px) {
  .work { grid-template-columns: 1fr; gap: 40px; }
  .work h2 { max-width: 24ch; }
  .installation { max-width: 600px; width: 100%; margin: auto; }
  .site-footer { align-items: start; flex-direction: column; gap: 18px; }
}

@media (max-width: 520px) {
  .site-header { padding-top: 18px; padding-bottom: 18px; gap: 12px; }
  .wordmark { font-size: 19px; }
  .site-header nav { gap: 16px; font-size: 10px; letter-spacing: 0; }
  .hero-meta { align-items: start; flex-direction: column; gap: 6px; font-size: 10px; padding-top: 20px; }
  .hero-bottom { align-items: start; flex-direction: column; gap: 6px; font-size: 10px; padding-bottom: 18px; }
  .title-artwork { margin: 12px 0; }
  .work { padding-top: 42px; }
  .work-meta { gap: 16px; font-size: 11px; }
  .site-footer { font-size: 11px; }
}

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