@font-face {
  font-family: 'Archivo Black';
  src: url('/assets/fonts/archivo-black.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/inter-regular.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/inter-medium.ttf') format('truetype');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --paper: #171717;
  --ink: #f5f4f0;
  --muted: #aaa9a5;
  --gutter: clamp(24px, 4.2vw, 80px);
  font-family: 'Inter', Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); }
body.dialog-open { overflow: hidden; }
::selection { color: var(--paper); background: var(--ink); }
a { color: inherit; text-decoration: none; text-underline-offset: .3em; }
a:hover { text-decoration: underline; }
button { font: inherit; color: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 6px; }
img { display: block; max-width: 100%; }
p, h1, h2, h3 { margin: 0; }
h1, h2, h3 { font-weight: 400; }
.outline-title, .project-title { font-family: 'Archivo Black', 'Arial Black', sans-serif; font-weight: 400; text-transform: uppercase; }
@supports (-webkit-text-stroke: 1px white) {
  .outline-title { color: transparent; -webkit-text-stroke: .85px var(--ink); }
}
[hidden] { display: none !important; }
.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; top: 16px; left: 16px; z-index: 20; padding: 16px; background: var(--ink); color: var(--paper); transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.header { position: absolute; top: 0; left: 0; width: 100%; z-index: 2; padding: 32px var(--gutter); }
.header nav { display: flex; justify-content: flex-end; gap: clamp(24px, 3vw, 48px); font-size: .875rem; font-weight: 500; text-transform: uppercase; letter-spacing: .02em; }
.header a { padding-block: 8px; }
.hero { min-height: min(900px, 100svh); display: grid; place-items: center; padding: 100px var(--gutter); }
.wordmark { position: relative; overflow: hidden; width: 50%; max-width: 575px; aspect-ratio: 1160 / 274; }
.wordmark img { position: absolute; width: 187.24138%; max-width: none; height: auto; left: -43.44828%; top: -86.13139%; filter: grayscale(1) invert(1) contrast(3); mix-blend-mode: screen; }
.project-section-title { padding: clamp(120px, 11vw, 160px) var(--gutter) 48px; font-size: clamp(1.275rem, 3.825vw, 3.4rem); line-height: 1.15; letter-spacing: -.025em; text-align: center; }
.project-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.project { min-width: 0; }
.project.wide { grid-column: span 2; }
.project-link { position: relative; display: block; height: 100%; overflow: hidden; }
.project-link::after { content: ''; position: absolute; inset: 0; background: rgb(0 0 0 / .72); opacity: 0; transition: opacity .2s ease; }
.project-image { aspect-ratio: 2 / 3; overflow: hidden; }
.project.wide .project-image { aspect-ratio: 1.65; }
.project-image img { width: 100%; height: 100%; object-fit: cover; }
.project-title { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; padding: 24px; font-size: clamp(1.0625rem, 2.04vw, 1.9125rem); line-height: 1.15; letter-spacing: -.025em; text-align: center; opacity: 0; transition: opacity .2s ease; }
.project-link:hover::after, .project-link:focus-visible::after,
.project-link:hover .project-title, .project-link:focus-visible .project-title { opacity: 1; }
.project-link:focus-visible { outline-offset: -6px; }
.contact { padding: clamp(140px, 15vw, 240px) var(--gutter) clamp(90px, 12vw, 180px); text-align: center; }
.contact > h2 { font-size: clamp(1.87rem, 4.25vw, 3.4rem); line-height: 1; letter-spacing: -.04em; }
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; max-width: 950px; margin: 80px auto 0; }
.person h3 { font-family: 'Archivo Black', 'Arial Black', sans-serif; font-size: clamp(1.125rem, 1.5vw, 1.3rem); line-height: 1.4; font-weight: 400; }
.person p { font-size: .875rem; color: var(--muted); line-height: 1.5; margin-top: 8px; }
.person a { display: inline-block; font-size: clamp(.875rem, 1.3vw, 1.125rem); line-height: 1.5; margin-top: 24px; padding-block: 6px; }
.artwork-dialog { width: 100%; max-width: none; height: 100%; max-height: none; padding: 24px 40px; border: 0; margin: 0; background: #101010; color: var(--ink); }
.artwork-dialog[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 24px; }
.artwork-dialog::backdrop { background: #101010; }
.dialog-top { display: flex; justify-content: flex-end; }
.dialog-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.text-button { padding: 12px 0; border: 0; background: none; font-size: .875rem; text-transform: uppercase; }
.text-button:hover { text-decoration: underline; text-underline-offset: .3em; }
.artwork-image-wrap { min-height: 0; display: flex; justify-content: center; }
.artwork-image-wrap img { width: 100%; height: 100%; object-fit: contain; }
.dialog-bottom h2 { font-size: clamp(1.0625rem, 1.87vw, 1.7rem); line-height: 1.2; }
.dialog-bottom p { font-size: .8125rem; line-height: 1.4; color: var(--muted); margin-top: 5px; }
.artwork-controls { display: flex; gap: 28px; }
@media (max-width: 600px) {
  .header { padding-block: 20px; }
  .hero { min-height: 86svh; }
  .wordmark { width: calc(50% + 4px); }
  .project-section-title { padding-block: 96px 32px; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-title { font-size: max(.875rem, min(3.825vw, 1.275rem)); padding: 16px; }
  .people { grid-template-columns: 1fr; gap: 52px; margin-top: 56px; }
  .person a { font-size: 1rem; }
  .artwork-dialog { padding: 16px 20px; }
  .dialog-bottom { align-items: flex-start; flex-direction: column; gap: 10px; }
  .artwork-controls { justify-content: space-between; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
@media (forced-colors: active) {
  .outline-title { color: CanvasText; -webkit-text-stroke: 0; }
}
