@font-face {
  font-family: "Instrument Sans";
  src: url("./instrument-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("./plex-mono-light.woff2") format("woff2");
  font-weight: 300;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #f3f0e9;
  --ink: #20201d;
  --dim: #59564d;
  --rule: #c3bdb0;
  --accent: #943b21;
  --gutter: clamp(18px, 3.8vw, 68px);
  font-family: "Instrument Sans", Arial, Helvetica, sans-serif;
  line-height: 1.4;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.wrap { margin-inline: auto; max-width: 1800px; padding-inline: var(--gutter); }
.skip {
  position: fixed; z-index: 4; left: 12px; top: 12px; padding: 10px 14px;
  color: var(--ink); background: var(--paper); transform: translateY(-170%);
}
.skip:focus { transform: none; }
.header {
  min-height: 84px; display: flex; justify-content: space-between;
  align-items: center; gap: 14px;
}
.wordmark, .info h1 {
  font-size: clamp(1.3rem, 2.2vw, 2rem); line-height: 1;
  font-weight: 600; letter-spacing: -.035em;
}
.wordmark {
  word-spacing: .045em;
  text-decoration: none; white-space: nowrap;
}
.nav, .kicker {
  font-size: .875rem; font-weight: 600; line-height: 1.3;
}
.nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(12px, 2.5vw, 36px); }
.nav a, .footer-contact { text-decoration-thickness: 1px; text-underline-offset: .32em; }
.nav a:not([aria-current]), .footer-contact { text-decoration: none; }
.nav a:hover, .footer-contact:hover { text-decoration: underline; text-underline-offset: .32em; }
.home { color: #fffaf3; background: #11100f; }
html:has(.home) { scroll-snap-type: y mandatory; }
.home .header {
  position: fixed; z-index: 2; inset: 0 0 auto; max-width: none;
  background: linear-gradient(#09080782, transparent);
  pointer-events: none;
}
.home .header a { pointer-events: auto; }
.slide { scroll-snap-align: start; scroll-snap-stop: always; }
.slide-link {
  position: relative; isolation: isolate; display: flex; align-items: center;
  min-height: 100vh; min-height: 100dvh;
  padding-inline: var(--gutter);
  overflow: hidden; text-decoration: none; background: #1a1715;
}
.slide-link:focus-visible { outline-offset: -5px; }
.slide-media {
  position: absolute; z-index: -2; inset: 0;
  width: 100%; height: 100%; object-fit: cover; pointer-events: none;
}
.slide-loop { opacity: 0; transition: opacity .36s ease; }
.slide-loop.has-played { opacity: 1; }
.slide-link::before {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background: radial-gradient(ellipse at left center, #0b08075c, transparent 65%);
}
.slide-caption {
  display: grid; grid-template-columns: minmax(7.25rem, 15vw) minmax(0, 24rem);
  align-items: baseline; gap: clamp(12px, 1.75vw, 32px);
  width: 100%; opacity: .8; text-shadow: 0 1px 8px #000;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: clamp(.75rem, 1.025vw, .875rem); font-weight: 300; line-height: 1.4;
  text-transform: uppercase; letter-spacing: .07em;
}
.slide-caption > * {
  margin: 0; font: inherit; overflow-wrap: anywhere;
}
.home > .wrap:has(.footer) { scroll-snap-align: end; }
.footer {
  display: flex; justify-content: space-between;
  align-items: center; gap: 14px; padding-block: 24px 34px;
}
.footer-contact { overflow-wrap: anywhere; }
.info {
  min-height: min(72vh, 810px); display: grid; grid-template-columns: 1.2fr 1fr;
  align-items: center; gap: clamp(24px, 6vw, 100px); border-top: 1px solid var(--rule);
  padding-block: 54px 66px;
}
.info h1 { margin: 0; }
.info p { font-size: .875rem; margin: 12px 0 0; }
.info .location { color: var(--dim); margin-top: 4px; }
.contact-links { display: grid; min-width: 0; margin: 0; }
.contact-links div { padding-block: 17px; border-bottom: 1px solid var(--rule); }
.contact-links dt {
  color: var(--dim); margin: 0 0 4px; font-size: .7rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .13em;
}
.contact-links dd { font-size: 1rem; margin: 0; overflow-wrap: anywhere; }
.contact-links a { text-decoration-thickness: 1px; text-underline-offset: .15em; }
.contact-links a:hover { color: var(--accent); }
.player {
  position: fixed; inset: 0; margin: 0; width: 100%; height: 100%;
  max-width: none; max-height: none; padding: 0; border: 0; overflow: hidden;
  background: #000; color: #fff;
}
.player::backdrop { background: #000; }
.player-view { position: relative; width: 100%; height: 100%; background: #000; }
.player-stage {
  position: absolute; inset: 0; display: grid; place-items: center;
}
.player-stage > :is(video, mux-video) {
  display: block; width: 100%; height: 100%; object-fit: contain; --media-object-fit: contain;
}
.player-stage p { padding: 26px; text-align: center; }
.player button {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 0; border-radius: 50%; color: inherit; background: #0008; cursor: pointer;
}
.player button:disabled { opacity: .5; cursor: default; }
.player button:not(:disabled):hover { background: #303030; }
.player .close {
  position: absolute; top: max(16px, env(safe-area-inset-top));
  right: max(16px, env(safe-area-inset-right)); font-size: 1.75rem; line-height: 1;
}
.player-controls {
  position: absolute; inset: auto 0 0; display: flex; align-items: center; gap: 12px;
  padding: 16px max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  background: linear-gradient(transparent, #000b);
}
.player-toggle { flex: none; }
.player-toggle::before {
  content: ""; width: 14px; height: 16px; background: currentColor;
  clip-path: polygon(0 0, 100% 50%, 0 100%); transform: translateX(1px);
}
.player-toggle.is-playing::before {
  clip-path: none; transform: none;
  background: linear-gradient(90deg, currentColor 36%, transparent 36% 64%, currentColor 64%);
}
.player-seek { flex: 1; min-width: 0; height: 28px; margin: 0; color: white; accent-color: white; cursor: pointer; }
.player-seek:disabled { cursor: default; }
body:has(dialog[open]) { overflow: hidden; }
@media (max-width: 620px) {
  .header { min-height: 67px; }
  .nav { padding-block: 6px; }
  .info { grid-template-columns: 1fr; align-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  html:has(.home) { scroll-snap-type: none; }
  *, *::before, *::after { transition: none !important; }
}
