:root {
  color-scheme: dark;
  --ink: #f2eee7;
  --muted: #aaa39a;
  --paper: #12100f;
  --card: #1b1816;
  --line: #37312d;
  --accent: #eeff41;
  --display: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.5;
}

a { color: inherit; }

.site-header,
main,
footer {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -.05em;
  text-decoration: none;
}

.wordmark span { color: var(--accent); }

.header-link,
.down-link,
footer a {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-underline-offset: .35em;
}

.hero {
  display: grid;
  min-height: min(760px, calc(100vh - 92px));
  align-content: center;
  padding: 96px 0 88px;
}

.eyebrow {
  margin: 0 0 26px;
  color: var(--accent);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

h1 {
  max-width: 960px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4.1rem, 11vw, 9.5rem);
  font-weight: 400;
  letter-spacing: -.065em;
  line-height: .8;
}

h1 em { color: var(--accent); font-weight: 400; }

.intro {
  max-width: 580px;
  margin: 52px 0 36px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.down-link { justify-self: start; text-decoration: none; }
.down-link span { padding-left: .55rem; color: var(--accent); }

.work { padding: 84px 0 120px; }

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 400;
  letter-spacing: -.045em;
}

#project-count {
  margin: 0;
  color: var(--muted);
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.project-list {
  border-top: 1px solid var(--line);
}

.project {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) 1.2fr;
  gap: clamp(28px, 6vw, 86px);
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
}

.project-image-link {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--card);
}

.project img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.project:hover img { transform: scale(1.025); }

.project-body { align-self: center; }

.project-meta {
  display: flex;
  gap: 12px;
  align-items: center;
}

.project-number {
  color: var(--accent);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .14em;
}

.project-status {
  padding: 5px 9px 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .09em;
  line-height: 1;
  text-transform: uppercase;
}

.project h3 {
  margin: 16px 0 18px;
  font-family: var(--display);
  font-size: clamp(2.3rem, 5vw, 4.8rem);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: .95;
}

.project-description {
  max-width: 570px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 1rem;
}

.play-link {
  display: inline-flex;
  gap: .65rem;
  align-items: center;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-decoration: none;
  text-transform: uppercase;
}

.play-link span {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--paper);
  transition: transform .2s ease;
}

.play-link:hover span { transform: translate(3px, -3px); }

.empty-state {
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

footer {
  display: flex;
  justify-content: space-between;
  padding: 32px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .8rem;
}

footer p { margin: 0; }

@media (max-width: 720px) {
  .site-header, main, footer { width: min(100% - 28px, 1180px); }
  .site-header { min-height: 72px; }
  .hero { min-height: calc(100svh - 72px); padding: 72px 0; }
  .intro { margin-top: 36px; }
  .work { padding: 60px 0 84px; }
  .project { grid-template-columns: 1fr; padding: 34px 0 44px; }
  .project h3 { margin-top: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .project img, .play-link span { transition: none; }
}
