@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,450;9..144,600;9..144,700&family=Inter:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  --ink: #15130f;
  --ink2: #1c1912;
  --paper: #efe9dd;
  --paper-dim: #d9d2c1;
  --rust: #b4502b;
  --rust-bright: #d8703f;
  --moss: #5c6650;
  --stone: #8c8577;
  --line: #3a362e;
  --line-light: #cdc5b2;

  --display: 'Fraunces', serif;
  --body: 'Inter', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', monospace;

  --wrap: 1240px;
  --gap: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 32px;
}

:focus-visible {
  outline: 2px solid var(--rust-bright);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- topbar ---------- */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 32px;
  mix-blend-mode: difference;
}

.topbar .mark {
  font-family: var(--display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.02em;
  color: var(--paper);
}

.topbar nav {
  display: flex;
  gap: 28px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.topbar nav a { color: var(--paper); opacity: 0.85; transition: opacity 0.2s ease; }
.topbar nav a:hover { opacity: 1; }

/* ---------- hero ---------- */
.hero {
  min-height: 100svh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 120px 32px 64px;
  background:
    radial-gradient(circle at 18% 20%, rgba(180,80,43,0.20), transparent 45%),
    radial-gradient(circle at 82% 78%, rgba(92,102,80,0.25), transparent 50%),
    linear-gradient(180deg, #0f0d0a 0%, #181510 70%, #15130f 100%);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(239,233,221,0.035) 0px, rgba(239,233,221,0.035) 1px, transparent 1px, transparent 3px);
  pointer-events: none;
  opacity: 0.5;
}

.hero .aperture-ring {
  position: absolute;
  right: -140px;
  top: -140px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  border: 1px solid var(--line);
  opacity: 0.6;
}
.hero .aperture-ring::after {
  content: '';
  position: absolute;
  inset: 60px;
  border-radius: 50%;
  border: 1px solid var(--line);
}

.hero-content { position: relative; max-width: 980px; }

.hero-eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rust-bright);
  margin: 0 0 18px;
}

.hero h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(48px, 9vw, 118px);
  line-height: 0.94;
  margin: 0 0 28px;
  letter-spacing: -0.01em;
}

.hero h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--paper-dim);
}

.hero p.lede {
  font-size: clamp(16px, 1.6vw, 20px);
  max-width: 560px;
  color: var(--paper-dim);
  margin: 0 0 40px;
}

.hero-meta {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--stone);
  letter-spacing: 0.05em;
}
.hero-meta strong { color: var(--paper); font-weight: 500; }

/* ---------- aperture nav / category rail ---------- */
.stops {
  border-bottom: 1px solid var(--line);
  background: var(--ink2);
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(6px);
}

.stops-rail {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
}
.stops-rail::-webkit-scrollbar { display: none; }

.stop {
  flex: 0 0 auto;
  padding: 18px 26px;
  border-right: 1px solid var(--line);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: transparent;
  border-top: none;
  border-bottom: none;
  border-left: none;
  color: var(--paper);
  font-family: var(--body);
  transition: background 0.2s ease;
}

.stop:hover { background: rgba(239,233,221,0.04); }

.stop .fstop {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--rust-bright);
  letter-spacing: 0.04em;
}

.stop .cat-name {
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.stop.active { background: var(--rust); }
.stop.active .fstop,
.stop.active .cat-name { color: var(--ink); }
.stop.active .fstop { color: rgba(21,19,15,0.6); }

/* ---------- section shell ---------- */
section { padding: 96px 0; border-bottom: 1px solid var(--line); }
section.tight { padding: 64px 0; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.section-eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rust-bright);
  margin: 0 0 10px;
}

.section-head h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(30px, 4vw, 46px);
  margin: 0;
  letter-spacing: -0.01em;
}

.section-desc { max-width: 480px; color: var(--stone); font-size: 15px; }

/* ---------- work grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
}

.card {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
}

.card:nth-child(3n+2) { aspect-ratio: 4 / 5.6; }

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.6s ease;
  filter: grayscale(0.15) contrast(1.05);
}
.card:hover img { transform: scale(1.045); filter: grayscale(0) contrast(1.05); }

.card .placeholder-art {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 24px;
  font-family: var(--display);
  font-size: 22px;
  color: rgba(239,233,221,0.7);
  background:
    linear-gradient(135deg, rgba(180,80,43,0.35), rgba(92,102,80,0.35)),
    repeating-linear-gradient(45deg, rgba(239,233,221,0.03) 0 2px, transparent 2px 10px);
}

.card-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px 18px;
  background: linear-gradient(0deg, rgba(10,9,7,0.88), transparent);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.card:hover .card-caption,
.card:focus-within .card-caption { opacity: 1; transform: translateY(0); }

.card-caption .title { font-family: var(--display); font-size: 17px; font-weight: 600; }
.card-caption .meta { font-family: var(--mono); font-size: 11px; color: var(--stone); margin-top: 4px; letter-spacing: 0.03em; }

.grid-empty {
  grid-column: 1 / -1;
  border: 1px dashed var(--line);
  padding: 64px 24px;
  text-align: center;
  color: var(--stone);
  font-family: var(--mono);
  font-size: 13px;
}

/* ---------- contact sheet: about / collaborations / awards / features ---------- */
.sheet {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 800px) { .sheet { grid-template-columns: 1fr; } }

.frame {
  background: var(--ink);
  padding: 40px;
  position: relative;
}
.frame::before {
  content: attr(data-frame);
  position: absolute;
  top: 16px; right: 20px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--stone);
  letter-spacing: 0.05em;
}

.frame h3 {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 16px;
}

.frame p { color: var(--paper-dim); font-size: 15px; margin: 0; }

/* ---------- journal ---------- */
.filmstrip { border-top: 1px solid var(--line); }
.entry {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 640px) { .entry { grid-template-columns: 1fr; gap: 8px; } }

.entry .frame-no {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--stone);
  letter-spacing: 0.05em;
}
.entry h3 { font-family: var(--display); font-size: 21px; font-weight: 600; margin: 0 0 8px; }
.entry .body { color: var(--paper-dim); font-size: 15px; }

.journal-empty {
  padding: 40px 0;
  color: var(--stone);
  font-family: var(--mono);
  font-size: 13px;
}

/* ---------- footer / slate ---------- */
footer {
  background: var(--ink2);
  padding: 72px 0 40px;
}

.slate {
  border: 1px solid var(--line);
  padding: 40px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
}
@media (max-width: 760px) { .slate { grid-template-columns: 1fr; } }

.slate h2 {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
  margin: 0 0 20px;
  line-height: 1.05;
}

.slate .contact-line {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--rust-bright);
}

.social-list { display: flex; flex-direction: column; gap: 14px; }
.social-list a {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--body);
  font-size: 16px;
  font-weight: 500;
  transition: color 0.2s ease;
}
.social-list a:hover { color: var(--rust-bright); }
.social-list a .arrow { font-family: var(--mono); color: var(--stone); }

.bottom-bar {
  max-width: var(--wrap);
  margin: 40px auto 0;
  padding: 24px 32px 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--stone);
  letter-spacing: 0.05em;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10,9,7,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox-inner { max-width: 1000px; width: 100%; }
.lightbox img, .lightbox .placeholder-art { max-height: 76vh; width: auto; margin: 0 auto; }
.lightbox .lb-meta { margin-top: 18px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.lightbox .lb-title { font-family: var(--display); font-size: 24px; font-weight: 600; }
.lightbox .lb-desc { color: var(--paper-dim); font-size: 14px; margin-top: 6px; max-width: 560px; }
.lightbox .lb-close {
  position: absolute; top: 28px; right: 32px;
  font-family: var(--mono); font-size: 13px;
  background: none; border: 1px solid var(--line-light); color: var(--paper);
  padding: 8px 14px; cursor: pointer;
}
