@font-face {
  font-family: 'Inter Tight';
  src: url('fonts/inter-tight-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --paper: #f3efe8;
  --muted: #b6b5b8;
  --cyan: #7bdee7;
  --violet: #bf8af0;
  --bg: #101114;
  --line: #414247;
  --font: 'Inter Tight', 'Helvetica Neue', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--paper); font: 400 17px/1.55 var(--font); }
body.viewer-open { overflow: hidden; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; cursor: pointer; }
button:disabled { cursor: default; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 6px; }
::selection { background: var(--cyan); color: var(--bg); }
.wrap { width: min(1280px, calc(100% - 112px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 20; top: 10px; left: 10px; padding: 12px 20px; background: var(--cyan); color: var(--bg); transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-block: 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 750; letter-spacing: -.045em; white-space: nowrap; }
.brand img { width: 48px; height: 32px; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: 32px; font-size: 15px; font-weight: 600; }
.site-nav a { padding-block: 10px; }
.site-nav a:hover, .footer-nav a:hover { color: var(--cyan); }
.intro { padding-top: 8px; }
h1 { font-size: clamp(40px, 4.6vw, 64px); line-height: 1.05; letter-spacing: -.05em; font-weight: 750; margin: 0 0 12px; }
.accent { color: var(--cyan); }
.intro p { max-width: 62ch; margin: 0; color: var(--muted); font-size: 18px; line-height: 1.5; }
.kind-label { display: inline-block; margin: 12px 0 0; color: var(--cyan); font-size: 11px; font-weight: 650; letter-spacing: .14em; line-height: 1.4; text-transform: uppercase; }
.kind-concept, .kind-tool { color: var(--muted); }
.kind-personal { color: var(--violet); }
.filter-bar { position: sticky; top: 0; z-index: 5; margin-top: 43px; padding-top: 10px; background: var(--bg); }
.filter-list { display: flex; gap: 32px; border-bottom: 1px solid var(--line); }
.filter { appearance: none; border: 0; background: transparent; padding: 14px 0 18px; position: relative; font-size: 18px; font-weight: 500; white-space: nowrap; }
.filter::after { content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 3px; background: transparent; }
.filter[aria-pressed='true'] { color: var(--cyan); }
.filter[aria-pressed='true']::after { background: var(--cyan); }
.filter:hover { color: var(--cyan); }
.filter:focus-visible { outline-offset: -2px; }
.gallery-section { padding-top: 42px; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; row-gap: 49px; }
.work-card { min-width: 0; }
.work-card.lead { grid-column: 1 / -1; }
.work-link { display: block; }
.work-image { background: #18191d; overflow: hidden; display: flex; align-items: center; justify-content: center; aspect-ratio: 1.55; }
.work-image img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 350ms ease, opacity 200ms ease; }
.lead .work-image { aspect-ratio: 2.2; }
.work-card.world-feature .work-image { aspect-ratio: 1; background: #090a0a; }
.work-card.world-feature .work-image img { object-fit: cover; object-position: right center; }
.work-card.poster-feature .work-image { aspect-ratio: 2 / 3; background: #090a0a; }
.work-card.artwork .work-image { aspect-ratio: 1; padding: 20px; }
.work-card.artwork .work-image img { object-fit: contain; object-position: center; }
.work-card[data-mat='light'] .work-image { background: #f4f0e8; }
.work-card.poster-feature .work-image img { object-fit: contain; object-position: center; }
.work-card.poster-feature .work-image { padding: 0; }
.work-link:hover .work-image img { transform: scale(1.018); }
.work-title { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 17px 0 5px; }
.work-title h2 { font-size: 27px; font-weight: 650; line-height: 1.2; letter-spacing: -.035em; margin: 0; }
.work-link:hover h2 { color: var(--cyan); }
.icon { display: inline-block; width: 20px; height: 20px; flex-shrink: 0; background: var(--cyan); mask: url('icons/arrow-up-right.svg') center / contain no-repeat; -webkit-mask: url('icons/arrow-up-right.svg') center / contain no-repeat; }
.icon-plus { mask-image: url('icons/plus.svg'); -webkit-mask-image: url('icons/plus.svg'); }
.work-meta { margin: 0 0 7px; color: var(--muted); font-size: 12px; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; }
.work-description { color: var(--muted); font-size: 18px; line-height: 1.5; margin: 0; max-width: 55ch; }
.work-card.lead .work-description { max-width: 70ch; }
.gallery-end { margin-top: 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); padding-top: 25px; }
.result-count { color: var(--muted); font-size: 14px; margin: 0; }
.load-more { display: inline-flex; align-items: center; gap: 24px; background: transparent; border: 1px solid var(--line); padding: 13px 20px; font-weight: 600; font-size: 15px; }
.load-more:hover { border-color: var(--cyan); color: var(--cyan); }
.project-note { color: var(--muted); font-size: 13px; max-width: 72ch; margin: 25px 0 0; }
.contact { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 30px; padding-block: 62px 48px; margin-top: 65px; border-top: 1px solid var(--line); }
.contact h2 { font-size: clamp(32px, 3.4vw, 49px); font-weight: 650; line-height: 1.12; letter-spacing: -.045em; margin: 0 0 13px; }
.contact p { color: var(--muted); margin: 0; font-size: 16px; }
.contact-links { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.contact-links .email { color: var(--cyan); font-size: 20px; }
.contact-links .phone { display: flex; align-items: center; gap: 16px; font-size: 16px; }
.contact-links .phone a:last-child { color: var(--cyan); font-size: 14px; border-left: 1px solid var(--line); padding-left: 16px; }
.contact-links a:hover { text-decoration: underline; text-underline-offset: 5px; }
.site-footer { border-top: 1px solid var(--line); padding-block: 25px 35px; display: flex; justify-content: space-between; align-items: start; gap: 30px; font-size: 13px; color: var(--muted); }
.site-footer p { margin: 0; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: flex-end; max-width: 580px; }
.viewer { width: min(1120px, calc(100% - 40px)); max-height: calc(100dvh - 40px); padding: 0; border: 1px solid var(--line); background: #151619; color: var(--paper); }
.viewer::backdrop { background: rgb(0 0 0 / .88); }
.viewer-top { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; border-bottom: 1px solid var(--line); gap: 20px; }
.viewer-top p { margin: 0; font-size: 13px; color: var(--muted); }
.viewer-controls { display: flex; align-items: center; gap: 8px; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--line); padding: 10px; width: 44px; height: 44px; }
.icon-button:hover { border-color: var(--cyan); }
.icon-button:disabled { opacity: .4; }
.icon-button img { width: 20px; height: 20px; filter: invert(1); }
.viewer-art { min-height: 220px; padding: 24px; display: flex; align-items: center; justify-content: center; }
.viewer-art img { max-height: calc(100dvh - 250px); width: auto; height: auto; object-fit: contain; }
.viewer-art.light-mat img { background: #f4f0e8; }
.viewer-caption { border-top: 1px solid var(--line); padding: 18px 24px 22px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.viewer-caption h2 { font-size: 23px; font-weight: 650; letter-spacing: -.03em; line-height: 1.2; margin: 0 0 4px; }
.viewer-caption p { color: var(--muted); font-size: 14px; margin: 0; }
.viewer-source { display: inline-flex; align-items: center; gap: 8px; color: var(--cyan); font-size: 14px; white-space: nowrap; }
.viewer-error { padding: 20px; text-align: center; color: var(--muted); }
@media (min-width: 1100px) {
  .gallery.is-artwork { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gallery.is-artwork .work-card { grid-column: auto; }
  .gallery.is-artwork .work-title h2 { font-size: 21px; }
}
@media (max-width: 900px) {
  .wrap { width: calc(100% - 64px); }
  .intro { padding-top: 42px; }
  .filter-list { gap: 23px; }
  .filter { font-size: 14px; }
  .contact { grid-template-columns: 1fr; gap: 26px; }
  .contact-links { align-items: flex-start; }
  .site-footer { flex-direction: column; gap: 22px; }
  .footer-nav { justify-content: flex-start; }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 120px; }
  .wrap { width: calc(100% - 40px); }
  .site-header { padding-block: 23px; gap: 16px; align-items: flex-start; }
  .brand { font-size: 18px; gap: 8px; }
  .brand img { width: 34px; height: 24px; }
  .site-nav { gap: 17px; font-size: 13px; }
  .site-nav .nav-home { display: none; }
  .site-nav a { padding-block: 3px; }
  .intro { padding-top: 45px; }
  h1 { font-size: clamp(34px, 8vw, 44px); margin-bottom: 12px; }
  .intro p { font-size: 17px; line-height: 1.55; }
  .filter-bar { margin-top: 30px; padding-top: 5px; }
  .filter-list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0 10px; padding-bottom: 5px; }
  .filter { padding-block: 11px; font-size: 13px; min-height: 44px; text-align: left; }
  .filter:nth-child(1) { grid-column: span 1; }
  .filter:nth-child(2) { grid-column: span 2; }
  .filter:nth-child(3) { grid-column: span 3; }
  .filter:nth-child(4) { grid-column: span 4; }
  .filter:nth-child(5) { grid-column: span 2; }
  .filter::after { bottom: 3px; height: 2px; right: auto; width: 24px; }
  .gallery-section { padding-top: 26px; }
  .gallery { grid-template-columns: 1fr; row-gap: 33px; }
  .work-card.lead { grid-column: auto; }
  .lead .work-image { aspect-ratio: 16 / 9; }
  .work-card.world-feature .work-image { aspect-ratio: 1.3; }
  .work-card.poster-feature .work-image { aspect-ratio: .85; }
  .work-title { margin-top: 13px; }
  .work-title h2 { font-size: 23px; }
  .work-description { font-size: 15px; }
  .work-meta { font-size: 11px; letter-spacing: .07em; }
  .gallery-end { margin-top: 32px; align-items: center; gap: 16px; }
  .load-more { padding: 12px 14px; gap: 10px; font-size: 14px; }
  .contact { margin-top: 45px; padding-block: 40px; }
  .contact-links .email { font-size: 19px; }
  .footer-nav { gap: 12px 20px; }
  .viewer { width: calc(100% - 20px); max-height: calc(100dvh - 20px); }
  .viewer-top { padding: 10px 12px; gap: 10px; }
  .viewer-top p { font-size: 12px; }
  .viewer-art { padding: 12px; }
  .viewer-art img { max-height: calc(100dvh - 260px); }
  .viewer-caption { padding: 16px; flex-direction: column; align-items: flex-start; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
.vh-lead { display: grid; grid-template-columns: 1.05fr .95fr; gap: 36px; align-items: end; }
.vh-lead img { width: 100%; height: 320px; object-fit: cover; object-position: center top; background: #18191d; }
.vh-lead p { color: var(--muted); font-size: 18px; line-height: 1.5; max-width: 58ch; }
.vh-actions { display: flex; flex-wrap: wrap; gap: 18px 28px; margin-top: 18px; }
.vh-actions a { display: inline-flex; align-items: center; gap: 8px; color: var(--cyan); font-weight: 600; text-decoration: none; }
.vh-actions a:hover { color: var(--ink); }
.vh-groups { display: grid; gap: 56px; padding: 64px 0 24px; }
.vh-group h2 { margin: 0 0 8px; font-size: clamp(28px, 3vw, 40px); letter-spacing: -.04em; line-height: 1.1; }
.vh-group > p { margin: 0; color: var(--muted); max-width: 62ch; }
.vh-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; list-style: none; margin: 18px 0 0; padding: 0; }
.vh-list a { display: block; padding: 14px 0; border-top: 1px solid var(--line); color: inherit; text-decoration: none; }
.vh-list strong { display: block; font-weight: 650; }
.vh-list span { color: var(--muted); font-size: 15px; line-height: 1.4; }
.vh-list a:hover strong { color: var(--cyan); }
@media (max-width: 800px) {
  .vh-lead, .vh-list { grid-template-columns: 1fr; }
  .vh-lead img { height: 210px; }
}
@media (max-width: 380px) {
  .site-header { flex-wrap: wrap; gap: 12px; }
  .site-nav { width: 100%; justify-content: flex-end; }
}
