:root {
  --text: #fff;
  --surface: #101010;
  --text-hover: #f1e6d9;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: "Roboto Flex", sans-serif;
}
body.player-open, body.contact-is-open { overflow: hidden; }
button { font: inherit; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: max(10px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) 10px max(20px, env(safe-area-inset-left));
  background: transparent;
  pointer-events: none;
}
.site-header a, .site-header button { pointer-events: auto; }
.menu-toggle { display: none; }
.logo {
  color: #a41315;
  font-size: clamp(28px, 2.6vw, 50px);
  font-weight: 900;
  font-stretch: 151%;
  line-height: 1;
  letter-spacing: -.08em;
  white-space: nowrap;
  text-transform: uppercase;
  text-shadow: 0 2px 12px #0009;
}
.logo-role {
  display: inline-block;
  margin-left: .3em;
  font-size: .34em;
  letter-spacing: -.02em;
  text-transform: none;
  vertical-align: baseline;
}
.site-header nav {
  width: 59%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: clamp(10px, .85vw, 16px);
  font-weight: 900;
  font-stretch: 151%;
  text-transform: uppercase;
  letter-spacing: -.045em;
  text-shadow: 0 2px 12px #0009;
}
.site-header nav button, .site-header nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  text-transform: inherit;
  font: inherit;
  text-shadow: inherit;
  white-space: nowrap;
  transition: color .3s;
}
.site-header nav a:hover, .site-header nav button:hover,
.site-header nav .is-active { color: var(--text-hover); }
.site-header nav .contact-open { color: #a41315; }
.filter.is-active { text-decoration: underline; text-underline-offset: 5px; }
.work {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #181818;
}
.work:nth-child(even) { background: #222; }
.work iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}
.work::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(#0003, transparent 30%, transparent 75%, #0003);
}
.work-title {
  position: absolute;
  z-index: 2;
  top: 42%;
  left: 50%;
  width: min(900px, 85%);
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity .24s;
  text-shadow: 0 2px 18px #000b;
}
.work:hover .work-title, .work:focus-within .work-title,
.work:not(.has-preview) .work-title { opacity: 1; visibility: visible; }
.work-title strong, .work-title em {
  min-width: 0;
  font-size: clamp(24px, 2.2vw, 40px);
  line-height: 1.2;
  font-weight: 900;
  font-stretch: 151%;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}
.work-title strong, .work-title em, .player-toolbar h2 { text-transform: uppercase; }
.work-title em {
  font-style: normal;
  font-stretch: 125%;
  font-size: clamp(13px, 1.1vw, 18px);
  font-weight: 700;
  letter-spacing: .02em;
}
.work-open {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.work-open:focus-visible { outline-offset: -6px; }
.play-icon {
  position: absolute;
  right: 18px;
  bottom: 14px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #ffffff80;
  border-radius: 50%;
  font: 16px sans-serif;
  text-shadow: 0 1px 5px #000;
}
.work[hidden] { display: none; }
.player-dialog {
  width: min(94vw, 1500px, calc((100dvh - 140px) * 16 / 9));
  max-width: 100%;
  max-height: calc(100dvh - 24px);
  padding: 0;
  border: 0;
  overflow: auto;
  overscroll-behavior: contain;
  background: #000;
  color: #fff;
}
.player-dialog::backdrop { background: #000e; }
.player-toolbar { display: flex; align-items: center; gap: 16px; padding: 4px 12px; }
.player-toolbar h2 { flex: 1; margin: 0; font-size: 15px; font-weight: 600; line-height: 1.3; }
.close {
  flex: 0 0 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font: 400 36px/1 sans-serif;
}
.player-frame { aspect-ratio: 16 / 9; }
.player-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.vimeo-link { display: flex; align-items: center; width: fit-content; min-height: 44px; padding: 0 12px; font-size: 13px; text-decoration: underline; }
.contact-dialog {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--surface);
  color: var(--text);
}
.contact-dialog::backdrop { background: #101010; }
.contact-close {
  position: fixed;
  top: max(12px, env(safe-area-inset-top));
  right: max(16px, env(safe-area-inset-right));
  z-index: 2;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #101010d9;
  color: #fff;
  cursor: pointer;
  font: 400 36px/1 sans-serif;
}
.contact-layout { position: relative; isolation: isolate; display: flex; align-items: center; min-height: 100%; }
.contact-photo { position: fixed; inset: 0; z-index: 0; background: #000; pointer-events: none; }
.contact-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.contact-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #000b 0%, #0008 48%, #0002 100%);
}
.contact-content {
  position: relative;
  z-index: 1;
  width: min(100%, 850px);
  min-width: 0;
  padding: 76px clamp(28px, 5vw, 90px) 48px;
  text-shadow: 0 2px 12px #0009;
}
.contact-content h2 {
  margin: 0;
  color: #a41315;
  font-size: clamp(28px, 3vw, 48px);
  font-weight: 900;
  font-stretch: 151%;
  letter-spacing: -.045em;
  text-transform: uppercase;
}
.contact-links { display: flex; gap: 12px; margin: 18px 0 28px; }
.contact-links a { display: grid; place-items: center; width: 44px; height: 44px; }
.contact-links a:hover { color: var(--text-hover); }
.contact-links svg { display: block; width: 27px; height: 27px; }
.contact-bio { max-width: 62ch; font-size: clamp(16px, 1.15vw, 19px); line-height: 1.65; font-weight: 400; }
.contact-bio p { margin: 0 0 1.25em; }
.contact-bio p:last-child { margin-bottom: 0; }
@media (max-width: 900px) {
  .contact-photo::after { background: #0009; }
  .contact-content { padding: max(76px, calc(env(safe-area-inset-top) + 60px)) max(24px, env(safe-area-inset-right)) max(36px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left)); }
  .site-header { display: flex; flex-wrap: wrap; gap: 4px 8px; min-height: 68px; padding: max(8px, env(safe-area-inset-top)) 12px 8px; }
  .site-header.menu-open { background: #101010ed; }
  .menu-toggle { display: block; min-height: 44px; padding: 0 8px; border: 0; background: transparent; color: #fff; font-weight: 900; font-stretch: 151%; text-transform: uppercase; font-size: 11px; text-shadow: 0 2px 12px #0009; }
  .logo { display: block; width: fit-content; font-size: clamp(24px, 7vw, 50px); line-height: 1.1; letter-spacing: -.06em; }
  .site-header nav { display: none; width: 100%; margin-top: 4px; gap: 2px 12px; font-size: 13px; letter-spacing: -.035em; }
  .site-header.menu-open nav { display: grid; grid-template-columns: 1fr 1fr; }
  .site-header nav button, .site-header nav a { min-width: 44px; padding-inline: 6px; }
  .work-title { top: 60%; width: 88%; display: flex; flex-direction: column; gap: 4px; opacity: 1; visibility: visible; }
  .work-title strong, .work-title em { font-size: clamp(16px, 4.4vw, 26px); line-height: 1.2; letter-spacing: -.025em; }
  .work-title em { font-size: 12px; letter-spacing: .02em; margin-left: 0; }
  .play-icon { right: 12px; bottom: 8px; }
  .player-dialog { width: min(100%, calc((100dvh - 140px) * 16 / 9)); }
  .player-toolbar h2 { font-size: 13px; }
}
@media (hover: none) {
  .work-title { opacity: 1; visibility: visible; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
