:root {
  --paper: #f2f0eb;
  --ink: #181818;
  --muted: #686762;
  --line: #c9c6be;
  --accent: #a5472f;
  --page: min(78vw, 1080px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

body.is-locked {
  overflow: hidden;
}

body.is-locked > :not(.access-gate) {
  display: none;
}

.access-gate {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 28px 4vw;
}

.access-gate[hidden] {
  display: none;
}

.access-content {
  width: min(100%, 520px);
}

.access-kicker {
  margin: 0 0 56px;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.access-content h1 {
  display: flex;
  flex-direction: column;
  margin: 0;
  font-size: clamp(2.8rem, 8vw, 5.4rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.access-content h1 span:last-child {
  color: var(--muted);
  font-weight: 400;
}

.access-form {
  margin-top: 80px;
}

.access-form label {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.access-field {
  display: grid;
  grid-template-columns: 1fr auto;
  border-bottom: 1px solid var(--ink);
}

.access-field input,
.access-field button {
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
}

.access-field input {
  min-width: 0;
  padding: 12px 0;
  outline: none;
}

.access-field button {
  padding: 12px 0 12px 24px;
  cursor: pointer;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.access-field button:hover,
.access-field button:focus-visible {
  color: var(--accent);
}

.access-error {
  min-height: 1.4em;
  margin: 10px 0 0;
  color: var(--accent);
  font-size: 0.75rem;
}

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

a:hover,
a:focus-visible {
  color: var(--accent);
}

.site-header,
main,
.site-footer {
  width: var(--page);
  margin-inline: auto;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 28px 0 84px;
}

.identity {
  display: flex;
  flex-direction: column;
  font-size: clamp(1.4rem, 2.3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.96;
}

.identity span:last-child {
  color: var(--muted);
  font-weight: 400;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 32px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ink);
}

.section-heading h1,
.section-heading h2,
.section-heading p {
  margin: 0;
}

.section-heading h1,
.section-heading h2 {
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-heading p {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.player-frame {
  margin-top: 18px;
  background: #0c0c0c;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.player-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.work {
  padding-top: 112px;
}

.work-list {
  display: grid;
  gap: 82px;
  padding-top: 22px;
}

.work-entry {
  margin: 0;
}

.work-meta {
  display: flex;
  align-items: baseline;
  gap: 26px;
  margin-bottom: 12px;
}

.work-meta span {
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
}

.work-meta h3 {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.75rem);
  font-weight: 400;
  letter-spacing: -0.035em;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 144px;
  padding: 30px 0 38px;
  border-top: 1px solid var(--ink);
}

.site-footer p {
  margin: 0;
}

.copyright {
  width: 100%;
  margin-top: 18px !important;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

@media (max-width: 680px) {
  :root {
    --page: 92vw;
  }

  .access-kicker {
    margin-bottom: 42px;
  }

  .access-form {
    margin-top: 60px;
  }

  .site-header {
    padding: 22px 0 64px;
  }

  .section-heading {
    align-items: flex-end;
  }

  .work {
    padding-top: 78px;
  }

  .work-list {
    gap: 58px;
  }

  .site-footer {
    flex-direction: column;
    margin-top: 100px;
  }

  .copyright {
    margin-top: 20px;
  }
}

@media (min-width: 681px) and (max-width: 1024px) {
  :root {
    --page: 88vw;
  }
}

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

}
