:root {
  --bg: #101410;
  --bg-raise: #181e19;
  --ink: #f4efe4;
  --muted: #c9c0b0;
  --line: rgba(244, 239, 228, 0.14);
  --ochre: #e4b06a;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --serif: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
  --wrap: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 380;
  font-size: 1.05rem;
  line-height: 1.6;
  background:
    radial-gradient(900px 520px at 0% -10%, rgba(228, 176, 106, 0.16), transparent 55%),
    radial-gradient(780px 520px at 100% 8%, rgba(90, 122, 78, 0.22), transparent 52%),
    var(--bg);
}

img,
video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p,
figure,
dl,
dd,
ul {
  margin: 0;
}

h1,
h2,
h3,
.brand,
.index,
.poster-title {
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.03em;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 1rem;
  top: 0.6rem;
  transform: translateY(-140%);
  background: var(--ochre);
  color: #1b140c;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  z-index: 10;
  font-weight: 640;
}

.skip:focus {
  transform: none;
}

.site-header,
.hero,
.work,
.about,
.peers,
.site-footer {
  width: min(var(--wrap), calc(100% - 2.4rem));
  margin-inline: auto;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem 1.5rem;
  flex-wrap: wrap;
  padding: 1.15rem 0;
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(16, 20, 16, 0.82);
  backdrop-filter: blur(14px);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-size: 1.02rem;
}

.mark {
  width: 2.15rem;
  height: 2.15rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--ochre);
  border-radius: 0.45rem;
  color: var(--ochre);
  font-family: var(--serif);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--ink);
}

.hero {
  padding: 4.2rem 0 3.2rem;
}

.kicker {
  color: var(--ochre);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 640;
  margin-bottom: 0.9rem;
}

h1 {
  font-size: clamp(3.3rem, 9vw, 6.6rem);
  line-height: 0.9;
  max-width: 11ch;
  font-weight: 650;
}

.lede {
  max-width: 42rem;
  margin-top: 1.4rem;
  color: var(--muted);
  font-size: 1.15rem;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 2.8rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
  text-decoration: none;
}

.button-solid {
  background: var(--ochre);
  border-color: var(--ochre);
  color: #1b140c;
  font-weight: 640;
}

.button:hover,
.button:focus-visible {
  border-color: var(--ochre);
}

.button-solid:hover,
.button-solid:focus-visible {
  background: #f0c48a;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem 2rem;
  align-items: end;
  padding-bottom: 1.2rem;
}

.section-head h2,
.about h2,
.peers h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.section-head p,
.peers > p {
  max-width: 32rem;
  color: var(--muted);
}

.project,
.about {
  scroll-margin-top: 4.5rem;
}

.project {
  display: grid;
  gap: 1.8rem 2.4rem;
  padding: 2.6rem 0 3rem;
  border-top: 1px solid var(--line);
}

.poster,
.still {
  position: relative;
  border-radius: 1.15rem;
  overflow: hidden;
  background: #070907;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.poster img,
.still img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.poster figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 3.2rem 1.3rem 1.15rem;
  background: linear-gradient(transparent, rgba(7, 9, 7, 0.92) 70%);
}

.poster-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1;
}

.credits {
  margin-top: 0.4rem;
  color: var(--ochre);
  font-size: 0.95rem;
}

.project-body .index {
  color: var(--ochre);
  font-style: italic;
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
}

.project-body h3 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 0.95;
  margin-bottom: 1.2rem;
}

.facts {
  display: grid;
  gap: 1.15rem;
}

.facts dt {
  color: var(--ochre);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 640;
  margin-bottom: 0.3rem;
}

.facts dd {
  color: var(--muted);
  max-width: 46rem;
}

.still {
  margin-top: 1.5rem;
}

.still figcaption {
  padding: 0.75rem 1rem 0.9rem;
  color: var(--muted);
  font-size: 0.92rem;
  background: var(--bg-raise);
}

.qr-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 16rem));
  gap: 1rem;
  margin-top: 1.4rem;
}

.qr-card {
  display: grid;
  justify-items: start;
  gap: 0.35rem;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--bg-raise);
  text-decoration: none;
}

.qr-card img {
  width: 7.5rem;
  height: 7.5rem;
  border-radius: 0.4rem;
}

.qr-card span {
  font-weight: 640;
  color: var(--ink);
}

.qr-card small {
  color: var(--muted);
  font-size: 0.82rem;
  word-break: break-all;
}

.qr-card:hover,
.qr-card:focus-visible {
  border-color: var(--ochre);
}

.source-link {
  margin-top: 1rem;
}

.source-link a,
.about a,
.peers a {
  color: var(--ochre);
}

.about {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 2rem 2.5rem;
  align-items: center;
  padding: 3rem 0 2.4rem;
  border-top: 1px solid var(--line);
}

.about p + p {
  margin-top: 0.9rem;
}

.portrait {
  width: 200px;
  height: 200px;
  border-radius: 1.3rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, #3c4a34, #1a2018);
  box-shadow: var(--shadow);
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.peers {
  padding: 0 0 3rem;
}

.peers h2 {
  margin-bottom: 0.6rem;
}

.peers ul {
  list-style: none;
  padding: 0;
  margin-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.4rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.2rem 0 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer a {
  color: var(--ink);
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--ochre);
}

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

@media (max-width: 840px) {
  .section-head,
  .about,
  .qr-row {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: grid;
    align-items: start;
  }

  .hero {
    padding-top: 2.6rem;
  }

  .portrait {
    width: 140px;
    height: 140px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
