:root {
  color-scheme: dark;
  --ink: #101718;
  --surface: #151e20;
  --paper: #e8ede8;
  --muted: #a1adaa;
  --accent: #a8d6d0;
  --rule: #324043;
  --gutter: clamp(22px, 4vw, 68px);
  font-family: Arial, Helvetica, sans-serif;
  background: var(--ink);
  color: var(--paper);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; line-height: 1.6; background: var(--ink); -webkit-font-smoothing: antialiased; }
body.contour { --ink: #181719; --surface: #211f22; --paper: #eee8e2; --muted: #b0a6a5; --accent: #e1b59b; --rule: #443a40; }
body.resonance { --ink: #121d2b; --surface: #192536; --paper: #eeeae0; --muted: #b0bbcc; --accent: #dfc489; --rule: #37465d; }
a { color: inherit; text-underline-offset: .25em; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; }
button, .button { cursor: pointer; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
button:disabled { cursor: default; opacity: .5; }
.skip { position: fixed; top: -80px; left: 20px; z-index: 30; padding: 10px 18px; background: var(--paper); color: var(--ink); }
.skip:focus { top: 16px; }
.site-header { position: absolute; z-index: 5; inset: 0 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 28px var(--gutter); }
.wordmark { display: inline-flex; align-items: center; gap: 12px; font-size: 19px; font-weight: 600; text-decoration: none; letter-spacing: -.04em; white-space: nowrap; }
.wordmark svg { width: 28px; height: 28px; color: var(--accent); }
nav { display: flex; gap: clamp(16px, 3vw, 40px); }
nav a { font-size: 12px; text-decoration: none; color: var(--paper); }
nav a:hover { color: var(--accent); }
.hero { position: relative; min-height: 850px; min-height: min(1000px, 100svh); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; padding: 150px var(--gutter) 38px; background: var(--ink); isolation: isolate; }
.hero-art { position: absolute; inset: 0; z-index: -3; }
.hero-art img, .hero-art canvas { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.hero-art canvas { opacity: 0; transition: opacity .5s; }
.hero-art canvas.ready { opacity: 1; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, var(--ink) 0%, transparent 76%), linear-gradient(0deg, var(--ink), transparent 32%); pointer-events: none; }
.hero-kicker, .section-kicker, .work-type, .live-caption, .serial, .caption, .site-footer { font-family: 'Courier New', Courier, monospace; font-size: 11px; letter-spacing: .06em; }
.hero-kicker { margin: 0 0 28px; color: var(--muted); }
h1 { font-size: clamp(64px, 9.1vw, 154px); font-weight: 400; line-height: .97; letter-spacing: -.065em; margin: 0; max-width: 850px; }
h1 em { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: -.06em; color: var(--accent); }
.hero-intro { max-width: 400px; margin: 30px 0 0; font-size: 16px; line-height: 1.7; color: var(--muted); }
.hero-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; margin-top: 42px; }
.hero-controls { display: flex; gap: 10px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; padding: 10px 17px; border: 1px solid #60716e; background: transparent; color: var(--paper); font-size: 12px; text-decoration: none; border-radius: 3px; transition: background .2s, border-color .2s; }
.button:hover { background: #ffffff0a; border-color: var(--accent); }
.button-primary { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.button-primary:hover { background: var(--accent); border-color: var(--accent); }
.live-caption { display: flex; align-items: center; gap: 8px; color: var(--muted); text-align: right; }
.live-caption::before { content: ''; width: 5px; height: 5px; background: var(--accent); border-radius: 100%; }
section { padding: 96px var(--gutter); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.section-head h2 { margin: 0; font-size: 30px; font-weight: 400; letter-spacing: -.04em; }
.section-kicker { color: var(--muted); margin: 0; }
.works { border-top: 1px solid var(--rule); }
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 24px; }
.work { margin: 0; min-width: 0; }
.work-link { display: block; text-decoration: none; position: relative; overflow: hidden; background: var(--surface); border-radius: 3px; }
.work-link img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .5s; }
.work-link:hover img { transform: scale(1.025); }
.view-label { position: absolute; bottom: 15px; right: 15px; background: var(--ink); color: var(--paper); padding: 5px 10px; font-size: 12px; opacity: 0; transform: translateY(5px); transition: opacity .2s, transform .2s; }
.work-link:hover .view-label, .work-link:focus-visible .view-label { opacity: 1; transform: none; }
figcaption { display: flex; justify-content: space-between; gap: 12px; padding-top: 13px; }
.work-title { font-size: 14px; }
.work-type { color: var(--muted); text-align: right; padding-top: 2px; }
.about { border-block: 1px solid var(--rule); display: grid; grid-template-columns: 1.2fr 1fr; gap: 8vw; }
.about h2 { font-size: clamp(32px, 4vw, 56px); line-height: 1.15; letter-spacing: -.045em; font-weight: 400; max-width: 500px; margin: 22px 0 0; }
.about-copy { max-width: 470px; padding-top: 23px; color: var(--muted); font-size: 15px; }
.about-copy p { margin: 0 0 20px; }
.about-copy a { color: var(--paper); }
.notes { display: grid; grid-template-columns: .65fr 1.35fr; gap: 8vw; }
.notes h2 { font-size: 30px; font-weight: 400; letter-spacing: -.04em; margin: 14px 0; }
.note { border-top: 1px solid var(--rule); padding: 24px 0; }
.note:first-child { padding-top: 0; border-top: 0; }
.note h3 { font-size: 18px; font-weight: 400; margin: 0 0 10px; }
.note p { max-width: 590px; color: var(--muted); font-size: 14px; margin: 0; }
.site-footer { border-top: 1px solid var(--rule); padding: 28px var(--gutter); display: flex; justify-content: space-between; gap: 20px; color: var(--muted); }
.site-footer a { text-decoration: none; }
dialog { background: var(--ink); color: var(--paper); border: 1px solid var(--rule); border-radius: 5px; max-width: min(880px, calc(100vw - 32px)); max-height: calc(100svh - 32px); padding: 20px; }
dialog::backdrop { background: #070d0eeb; }
.dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding-bottom: 16px; }
.dialog-head h2 { font-size: 18px; font-weight: 400; margin: 0; }
.close { border: 0; background: transparent; padding: 8px; font-size: 13px; cursor: pointer; }
.dialog-image { display: block; max-height: 66svh; max-width: 100%; width: auto; margin: auto; }
.dialog-bottom { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-top: 18px; }
.caption { color: var(--muted); margin: 0; }
noscript p { margin: 12px 0 0; color: var(--muted); font-size: 12px; }
[hidden] { display: none !important; }
@media (min-width: 1800px) { .hero { min-height: 1000px; } main, .site-header, .site-footer { max-width: 2000px; margin-inline: auto; } }
@media (max-width: 900px) { .hero { min-height: 850px; } .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .about, .notes { gap: 44px; } }
@media (max-width: 600px) {
  .site-header { padding-block: 23px; gap: 10px; } .wordmark { font-size: 17px; gap: 8px; } .wordmark svg { width: 23px; height: 23px; }
  nav { gap: 15px; } nav a { font-size: 11px; } nav a:last-child { display: none; }
  .hero { min-height: 760px; min-height: 100svh; padding-top: 150px; padding-bottom: 26px; }
  .hero::before { background: linear-gradient(90deg, #101718b3, transparent), linear-gradient(0deg, var(--ink), transparent 90%); }
  .contour .hero::before { background: linear-gradient(90deg, #181719b3, transparent), linear-gradient(0deg, var(--ink), transparent 90%); }
  .resonance .hero::before { background: linear-gradient(90deg, #121d2bb3, transparent), linear-gradient(0deg, var(--ink), transparent 90%); }
  .hero-kicker { margin-bottom: 24px; font-size: 10px; } h1 { font-size: clamp(59px, 17vw, 90px); max-width: 100%; }
  .hero-intro { max-width: 310px; font-size: 14px; margin-top: 24px; } .hero-bottom { margin-top: 30px; flex-direction: column; align-items: flex-start; gap: 18px; }
  .live-caption { font-size: 10px; } .button { padding-inline: 13px; } section { padding-block: 60px; }
  .section-head { align-items: flex-start; gap: 15px; margin-bottom: 26px; } .section-head h2 { font-size: 26px; } .section-kicker { max-width: 120px; font-size: 10px; text-align: right; }
  .work-grid { gap: 32px 14px; } figcaption { flex-direction: column; gap: 2px; } .work-title { font-size: 13px; } .work-type { font-size: 10px; text-align: left; }
  .about, .notes { grid-template-columns: 1fr; gap: 22px; } .about .section-kicker, .notes .section-kicker { text-align: left; max-width: none; }
  .about h2 { max-width: 350px; } .about-copy { padding-top: 0; } .site-footer { flex-direction: column; gap: 8px; font-size: 10px; }
  dialog { padding: 15px; } .dialog-head { gap: 10px; } .dialog-bottom { align-items: flex-start; flex-direction: column; gap: 14px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
