@font-face {
  font-family: 'Archivo';
  src: url('assets/fonts/archivo-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --bg: #FAFAF8;
  --ink: #101014;
  --muted: #6B6B70;
  --accent: #2733E0;
  --rule: #E4E4DF;
  --tile: #EFEFEA;
  --max: 84rem;
  --gutter: 1.5rem;
  --gap: 0.75rem;
}

* { box-sizing: border-box; margin: 0; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Archivo', system-ui, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.top, main section, footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Header */
.top {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 1.5rem; padding-bottom: 1.5rem;
}
.wordmark { display: block; line-height: 0; }
.wordmark img { height: 2.5rem; width: auto; }
.top nav { display: flex; gap: 1.5rem; }
.top nav a {
  font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); text-decoration: none;
}
.top nav a:hover { color: var(--ink); }

/* Statement */
.statement { padding-top: 5rem; padding-bottom: 6rem; }
h1 {
  font-size: clamp(1.7rem, 3.6vw, 3rem);
  font-weight: 500; line-height: 1.15; letter-spacing: -0.015em;
  max-width: 26ch;
}

/* Work */
.work { padding-bottom: 3rem; }
.group { margin-bottom: 4.5rem; }
.grid {
  display: grid;
  grid-template-columns: repeat(var(--cols, 3), 1fr);
  gap: var(--gap);
  align-items: start;
}
.caption { margin-top: 0.9rem; font-size: 0.9rem; color: var(--muted); }
.note { font-size: 0.9rem; color: var(--muted); }

.slot { position: relative; overflow: hidden; background: var(--tile); }
.slot img, .slot video { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 48rem) {
  .grid {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
    scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter);
  }
  .grid::-webkit-scrollbar { display: none; }
  .grid .slot { flex: 0 0 68vw; scroll-snap-align: start; }
}

/* Studio + contact */
.studio, .contact { border-top: 1px solid var(--rule); padding-top: 4rem; padding-bottom: 4rem; }
h2 {
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 1.5rem;
}
.studio p { max-width: 52ch; font-size: 1.15rem; }
.studio p + p { margin-top: 1rem; }
.studio .services { margin-top: 1.5rem; font-size: 0.9rem; color: var(--muted); max-width: none; }
.contact p { font-size: clamp(1.4rem, 3vw, 2.2rem); }
.contact a { color: var(--ink); text-decoration-color: var(--accent); text-underline-offset: 0.2em; }
.studio a, .fine a { color: inherit; text-decoration-color: var(--accent); text-underline-offset: 0.2em; }

/* Footer */
footer { border-top: 1px solid var(--rule); padding-top: 2rem; padding-bottom: 3rem; }
.fine { font-size: 0.8rem; color: var(--muted); }
.fine + .fine { margin-top: 0.4rem; }
