:root {
  --paper: #ffffff;
  --ink: #1e1e1e;
  --muted: #333333;
  --line: rgba(17, 17, 17, 0.35);
  --sans: Roboto, Helvetica, Arial, sans-serif;
  --display: Didot, "Bodoni Moda", "Bodoni MT", "Times New Roman", serif;
  --edge: clamp(24px, 3.5vw, 56px);
  --film-gap: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  color-scheme: light;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 14px;
  line-height: 21px;
}

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

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

button, input, select, textarea { font: inherit; color: inherit; }

::selection { background: #111; color: var(--paper); }

:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -40px;
  background: var(--ink);
  color: var(--paper);
  padding: 8px 12px;
  z-index: 6;
}

.skip:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--paper);
}

.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  min-height: 28px;
  padding: 4px var(--edge);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: #6b6b6b;
}

.nav-right { justify-content: flex-end; }

.mark {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding-left: 0.28em;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 2.39 / 1;
  background: #111;
  overflow: hidden;
}

.hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.intro {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(180px, 280px) minmax(240px, 420px);
  gap: 28px 40px;
  align-items: start;
  justify-content: center;
  width: min(1120px, calc(100% - 2 * var(--edge)));
  margin: var(--edge) auto;
  padding: var(--edge);
  background: #f7f7f7;
}

.intro h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(28px, 2.4vw, 34px);
  letter-spacing: 0.01em;
  line-height: 1.15;
  color: var(--ink);
}

.intro p,
.intro .bio p {
  margin: 0 0 16px;
  max-width: 550px;
  font-size: 14px;
  line-height: 21px;
}

.intro a { text-decoration: underline; }

.intro .bio p.intro-place {
  margin: 12px 0 10px;
  max-width: none;
  color: #6b6b6b;
  font-size: 14px;
  font-weight: 300;
  line-height: 21px;
  text-align: left;
}

.intro .bio a.intro-contact {
  display: inline-block;
  width: auto;
  margin: 0;
  padding: 18px 28px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.06em;
  line-height: 1;
  text-align: center;
  text-decoration: none;
}

.intro .portrait {
  margin: 0;
  background: transparent;
}

.intro .portrait img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
  gap: 48px 40px;
  align-items: start;
  padding: 72px 36px 80px;
}

.about.has-portrait {
  grid-template-columns: minmax(0, 1.1fr) minmax(220px, 280px) minmax(240px, 0.8fr);
}

.about h1 {
  margin: 0;
  min-width: 0;
  font-family: var(--display);
  font-size: clamp(36px, 3.6vw, 48px);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.08;
}

.about.has-portrait h1 {
  font-size: clamp(40px, 4.4vw, 60px);
}

.portrait {
  margin: 0;
  background: #e7e2d6;
}

.portrait img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.bio p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.45;
}

.films {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: var(--film-gap);
  row-gap: 0;
  padding: 0 var(--edge) 8px;
}

.tile {
  position: relative;
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 2;
  margin-bottom: 64px;
}

.tile-open {
  position: absolute;
  inset: 0;
  z-index: 3;
}

.tile-copy {
  container-type: inline-size;
  margin: 0 0 14px;
  color: var(--ink);
}

.tile-still {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #111;
  overflow: hidden;
}

.tile-still iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.tile-loop { pointer-events: none; }

.tile-credit {
  position: absolute;
  z-index: 2;
  right: 14px;
  bottom: 12px;
  width: min(168px, 36%);
  margin: 0;
  pointer-events: none;
  user-select: none;
}

.tile-credit img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.4));
}

.tile-kicker,
.tile-venue,
.tile-city {
  margin: 0;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.35;
  color: #6b6b6b;
}

.tile-city { margin-top: 3px; }

.tile-name {
  margin: 6px 0 7px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(22px, 3.4cqw, 30px);
  letter-spacing: 0.01em;
  line-height: 1.05;
  color: var(--ink);
}

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

.contact {
  padding: 72px var(--edge) 48px;
}

.contact-top {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(240px, 0.7fr);
  gap: 32px 48px;
  align-items: start;
  margin-bottom: 48px;
}

.contact h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.08;
}

.contact-top p {
  margin: 8px 0 0;
  max-width: 36rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 32px;
}

.form-grid h3 {
  margin: 0 0 18px;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b6b6b;
}

.field { display: block; margin: 0 0 18px; }

.field span {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.02em;
  color: #6b6b6b;
}

input:not([type="checkbox"]),
select,
textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 8px 0 10px;
  outline: none;
}

textarea { min-height: 96px; resize: vertical; }

select { background: var(--paper); }

.checks {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checks label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  margin: 3px 0 0;
  accent-color: var(--ink);
}

.send {
  appearance: none;
  width: 100%;
  margin-top: 28px;
  border: 0;
  background: #111;
  color: #fff;
  padding: 14px 18px;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

.send:disabled {
  opacity: 0.55;
  cursor: wait;
}

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

.form-note {
  margin: 28px 0 0;
  max-width: 36rem;
}

.contact form.is-sent .form-grid,
.contact form.is-sent .send {
  display: none;
}

.contact form.is-sent .form-note {
  margin-top: 0;
}

.contact-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 22px 0 0;
  font-size: 14px;
}

.project {
  width: min(1080px, calc(100% - 2 * var(--edge)));
  margin: 0 auto;
  padding: 36px 0 88px;
}

.project-back {
  margin: 0 0 28px;
}

.project-back a {
  color: #6b6b6b;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
}

.project-back a:hover { color: var(--ink); }

.project h1 {
  margin: 6px 0 7px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.05;
}

.project-piece {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 42px;
}

.project-piece > .tile-kicker {
  width: 78%;
  text-align: left;
}

.project-piece:has(.is-teaser) > .tile-kicker {
  width: 50%;
}

.project-frame {
  position: relative;
  width: 78%;
  aspect-ratio: 16 / 9;
  margin-top: 10px;
  background: #111;
}

.project-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.project-frame.is-teaser { width: 50%; }

.project-note {
  max-width: 38em;
  margin: 64px 0 0;
}

.project-note p {
  margin: 0;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
}

.project-note footer {
  margin-top: 16px;
  color: #6b6b6b;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project-next {
  position: relative;
  display: block;
  width: 50%;
  aspect-ratio: 16 / 9;
  margin: 72px auto 0;
  overflow: hidden;
  background: #111;
  color: #fff;
}

.project-next iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}

.project-next-copy {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 16px;
  text-align: center;
  background: rgba(0, 0, 0, 0.22);
}

.project-next .tile-kicker { color: #fff; }

.project-next-name {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1;
}

@media (max-width: 900px) {
  .nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    row-gap: 6px;
    padding: 8px var(--edge) 10px;
  }

  .mark { width: 100%; text-align: center; }

  .about,
  .about.has-portrait,
  .contact-top,
  .form-grid,
  .films { grid-template-columns: 1fr; }

  :root { --edge: 20px; }

  .about,
  .contact { padding: 40px var(--edge) 48px; }

  .intro {
    grid-template-columns: 1fr;
    width: auto;
    margin: var(--edge);
    padding: var(--edge);
  }

  .films { padding: 0 var(--edge) 8px; }

  .intro h1 { font-size: 28px; }
  .contact h2 { font-size: 36px; }
  .project-piece > .tile-kicker,
  .project-piece:has(.is-teaser) > .tile-kicker,
  .project-frame,
  .project-frame.is-teaser,
  .project-next { width: 100%; }
}

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