:root {
  --bg: #0a0a0a;
  --bg-elev: #121212;
  --ink: #f2f2f2;
  --muted: #8a8a8a;
  --line: #2a2a2a;
  --accent: #c41212;
  --max: 1100px;
  --font: "Inter", system-ui, sans-serif;
  --display: "Syne", "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover { color: #fff; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 1.5rem;
  background: rgba(10, 10, 10, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.wordmark {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}
.nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.nav a:hover { color: var(--ink); }

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 5rem 1.5rem 3.5rem;
}
.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.8rem, 8vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.95;
}
.hero-sub {
  max-width: 28rem;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.work {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.5rem 4rem;
}
.work-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.75rem;
  border-top: 1px solid var(--line);
  padding-top: 1.75rem;
}
.work-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 600;
}
.filters { display: flex; gap: 0.5rem; }
.filter {
  appearance: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.8rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
}
.filter.is-active,
.filter:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.card h3 {
  margin: 0.85rem 0 0.25rem;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.card.is-hidden { display: none; }
.card-frame {
  aspect-ratio: 4 / 5;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  overflow: hidden;
}
.card-frame img,
.card-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  display: block;
}
.card-frame.placeholder {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background:
    linear-gradient(135deg, #121212 0%, #1a1a1a 50%, #101010 100%);
}
.card-frame.placeholder span {
  border-left: 2px solid var(--accent);
  padding-left: 0.65rem;
}
.work-note {
  margin: 1.75rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.contact {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 5rem;
  border-top: 1px solid var(--line);
}
.contact h2 {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-size: 1.35rem;
}
.contact-line {
  margin: 0.35rem 0;
  font-size: 1.15rem;
}
.contact-line a:hover { color: var(--accent); }
.muted { color: var(--muted); }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.25rem 1.5rem 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

@media (max-width: 800px) {
  .grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .grid { grid-template-columns: 1fr; }
  .hero { padding-top: 3.5rem; }
}
