:root {
  --fg: #fff;
  --muted: #8a8a8a;
  --gutter: clamp(20px, 5vw, 72px);
  color-scheme: dark;
}

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

body {
  background: #000;
  color: var(--fg);
  font: 400 16px/1.5 "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

header, main {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-block: 40px;
  font-size: 14px;
}
header nav, footer { display: flex; gap: 24px; color: var(--muted); }
header nav a[aria-current] { color: var(--fg); }
header a:hover, footer a:hover { color: var(--fg); }

footer {
  max-width: 1280px;
  margin-inline: auto;
  padding: 0 var(--gutter) 48px;
  font-size: 14px;
}

.intro { padding-block: clamp(48px, 10vw, 120px) clamp(48px, 8vw, 96px); }
h1 { font-size: clamp(44px, 6vw, 72px); font-weight: 400; letter-spacing: -0.03em; line-height: 1; }
.intro p { margin-top: 24px; max-width: 46ch; color: #bdbdbd; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; }

article { padding-bottom: clamp(80px, 12vw, 160px); }

.media {
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  place-items: center;
  aspect-ratio: 16 / 10;
  border-radius: 6px;
  overflow: hidden;
  padding: clamp(20px, 6%, 72px);
}
.media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 4px;
  box-shadow: 0 24px 60px rgb(0 0 0 / 0.35);
  transition: transform 0.6s cubic-bezier(.2, .7, .2, 1);
}
.media video {
  display: block;
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 24px 60px rgb(0 0 0 / 0.35);
}
.media video.hero { box-shadow: none; }
.media video.tall { width: auto; height: 100%; max-width: 100%; object-fit: contain; }
.type {
  justify-self: start;
  font-size: clamp(28px, 5.5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

@media (hover: hover) {
  .media:hover img { transform: scale(1.015); }
  h2 a:hover, .name a:hover, .more a:hover { color: var(--muted); }
}
@media (prefers-reduced-motion: reduce) {
  .media img { transition: none; }
}

h2, .line {
  margin-top: 32px;
  max-width: 30ch;
  font-size: clamp(26px, 3.4vw, 44px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.name { margin-top: 16px; color: var(--muted); }

.more {
  display: flex;
  justify-content: space-between;
  padding-bottom: 80px;
  font-size: 14px;
  color: var(--muted);
}

.project { padding-top: 24px; padding-bottom: clamp(64px, 8vw, 112px); }

.detail {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: 32px;
  border-top: 1px solid #222;
}
.note { max-width: 60ch; font-size: 18px; line-height: 1.6; }
.note p + p { margin-top: 1em; }

.links { list-style: none; padding: 0; font-size: 15px; }
.links li + li { border-top: 1px solid #222; }
.links a { display: flex; justify-content: space-between; gap: 16px; padding-block: 12px; }
.links a::after { content: "↗"; color: var(--muted); }
.links span { margin-left: auto; color: var(--muted); }
@media (hover: hover) { .links a:hover span, .links a:hover::after { color: var(--fg); } }

.clips { display: grid; gap: clamp(24px, 4vw, 48px); margin-top: clamp(48px, 6vw, 80px); }
.clip { display: block; width: 100%; border-radius: 6px; background: #111; }
.clip.tall { width: auto; max-width: 100%; height: min(85vh, 900px); margin-inline: auto; }

@media (width < 760px) {
  .detail { grid-template-columns: 1fr; }
  .note { font-size: 17px; }
}
