@import url("https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500&display=swap");

:root {
  --ink: #f2f0ea;
  --mute: rgba(242, 240, 234, 0.48);
  --line: rgba(242, 240, 234, 0.16);
  --bg: #050505;
  --pad: clamp(20px, 3.2vw, 36px);
}

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

html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter Tight", "Helvetica Neue", Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; max-width: 100%; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
  padding: 0 var(--pad);
}

body.is-home .site-header,
body.is-project .site-header { mix-blend-mode: difference; }
body.is-playing .site-header {
  mix-blend-mode: normal;
  background: #050505;
}

.wordmark { line-height: 1.15; }
.wordmark-name {
  display: block;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.wordmark-role {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.62;
}

.site-nav { display: flex; gap: 22px; }
.site-nav a {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.55;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { opacity: 1; }

/* Home stage */
.stage {
  position: fixed;
  inset: 0;
  background: #050505;
}
.stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.55s ease;
}
.stage img.on { opacity: 1; }

.veil {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.30) 0%, rgba(0,0,0,.06) 30%, rgba(0,0,0,.10) 52%, rgba(0,0,0,.74) 100%);
}

.list {
  position: relative;
  z-index: 4;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 100px var(--pad) 36px;
}

.job {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  width: 100%;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  color: rgba(242, 240, 234, 0.38);
  text-align: left;
  transition: color 0.3s ease;
}
.job:last-child { border-bottom: 1px solid var(--line); }
.job b {
  font-size: clamp(20px, 3vw, 36px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 0.96;
}
.job span {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.job.is-on,
.job:hover { color: var(--ink); }

/* Interior */
.page {
  padding: 120px var(--pad) 80px;
  max-width: 720px;
}
.page-wide { max-width: 1080px; margin: 0 auto; }

.kicker {
  margin: 0 0 22px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute);
}

.page p {
  margin: 0 0 1em;
  font-size: 17px;
  line-height: 1.55;
  color: rgba(242, 240, 234, 0.86);
}

.credits {
  display: grid;
  gap: 22px;
  margin-top: 36px;
}
.credits h2 {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
}
.credits a { border-bottom: 1px solid var(--line); }

.player {
  position: relative;
  margin: 0;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  cursor: pointer;
}
.player[data-vimeo=""] { cursor: default; }
.player[data-vimeo=""] .play { display: none; }
.player img,
.player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border: 0;
}
.player.is-on img,
.player.is-on .play {
  display: none;
}
.play {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  background: transparent;
}
.play i {
  width: 64px;
  height: 64px;
  border: 1px solid rgba(242, 240, 234, 0.85);
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.play i::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 3px;
  border-style: solid;
  border-width: 8px 0 8px 14px;
  border-color: transparent transparent transparent #f2f0ea;
}
.player:hover .play i {
  background: rgba(242, 240, 234, 0.08);
}
.still-cap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px var(--pad) 20px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
}
.still-cap .who { display: flex; gap: 18px; align-items: baseline; }
.still-cap .next,
.still-cap .transport { color: var(--mute); }
.still-cap .next:hover,
.still-cap .transport:hover { color: var(--ink); }

.site-footer {
  padding: 0 var(--pad) 36px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
}
.site-footer a:hover { color: var(--ink); }

@media (max-width: 640px) {
  .job { grid-template-columns: 1fr; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  .stage img { transition: none; }
}

.hp { position:absolute; left:-9999px; height:0; width:0; opacity:0; }
.contact-form { display:grid; gap:16px; margin-top:48px; max-width:420px; }
.contact-form label { font-size:11px; letter-spacing:.16em; text-transform:uppercase; color:var(--mute); }
.contact-form input,
.contact-form select,
.contact-form textarea {
  display:block; width:100%; margin-top:6px;
  background:#111; color:var(--ink);
  border:1px solid var(--line); padding:10px;
  font:inherit; font-size:15px; letter-spacing:0; text-transform:none;
}
.contact-form button {
  justify-self:start;
  border:1px solid var(--line);
  padding:10px 16px;
  font-size:11px; letter-spacing:.16em; text-transform:uppercase;
}

.page .quote {
  margin: 0 0 2em;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
}

html { -webkit-text-size-adjust: 100%; }
button { -webkit-tap-highlight-color: transparent; }
.job { -webkit-tap-highlight-color: transparent; }

.stage-film {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: none;
  background: #000;
}
.stage-film iframe {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  height: calc(100vw * 9 / 16);
  min-height: 100%;
  min-width: 100%;
  transform: translate(-50%, -50%);
  border: 0;
}
.stage.is-playing .stage-film {
  display: block;
  top: 76px;
  bottom: 76px;
  overflow: hidden;
}
.stage.is-playing img { opacity: 0 !important; }
@media (max-width: 720px) {
  .stage.is-playing .stage-film { top: 64px; }
}

.home-cap {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  height: 76px;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 0 var(--pad);
  padding-bottom: env(safe-area-inset-bottom);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  background: #050505;
  pointer-events: none;
}
.home-cap .home-actions { display: flex; gap: 22px; pointer-events: auto; }
.home-cap .who { pointer-events: none; }
.home-cap button { color: rgba(242,240,234,.55); pointer-events: auto; }
.home-cap button:hover { color: var(--ink); }
body.is-playing .home-cap { display: flex; }
body.is-playing .list,
body.is-playing .veil { opacity: 0; pointer-events: none; }
body.is-muted .home-cap .sound { color: var(--ink); }
body:not(.is-muted) .home-cap .sound { display: none; }

@media (max-width: 720px) {
  .site-header { height: 64px; gap: 12px; }
  .wordmark-role { display: none; }
  .site-nav { gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
  .site-nav a { font-size: 10px; letter-spacing: 0.12em; }
  .list { padding: 88px var(--pad) calc(24px + env(safe-area-inset-bottom)); }
  .job { padding: 8px 0; }
  .job b { font-size: clamp(18px, 6.4vw, 28px); }
}

.film-unmute {
  display: none;
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 25;
  transform: translate(-50%, -50%);
  padding: 14px 22px;
  border: 1px solid rgba(242,240,234,.85);
  background: rgba(5,5,5,.55);
  color: var(--ink);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  pointer-events: auto;
}
body.needs-sound .film-unmute { display: block; }
body.needs-sound .home-cap .sound { display: none; }
