@font-face {
  font-family: "DM Sans";
  src: url("assets/dm-sans-regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Instrument";
  src: url("assets/instrument-serif.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Instrument";
  src: url("assets/instrument-serif-italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #121310;
  --fg: #efeee7;
  --muted: #999b90;
  --line: #efeee730;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: "DM Sans", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--fg); outline-offset: 7px; }
::selection { color: var(--bg); background: var(--fg); }
.page { position: relative; min-height: 100svh; display: flex; flex-direction: column; overflow: hidden; }
.site-header, .site-footer { display: flex; align-items: center; position: relative; margin: 0 6%; }
.site-header { justify-content: center; height: 108px; flex-shrink: 0; }
.brand { display: flex; gap: 11px; align-items: center; }
.mark { width: 35px; height: 35px; flex-shrink: 0; }
.mark-pink, .mark-blue { stroke: var(--fg); }
.wordmark { font-size: 25px; font-weight: 400; letter-spacing: -.8px; }
.hero { display: flex; flex-direction: column; justify-content: center; flex: 1; }
.hero-content { padding: 40px 5% 58px; text-align: center; }
h1 { font-size: clamp(90px, 7.9vw, 130px); font-family: "Instrument", Georgia, serif; font-weight: 400; letter-spacing: -.045em; line-height: .91; margin: 0; }
h1 em { font-style: italic; }
.contact { display: inline-flex; align-items: center; margin: 34px auto 0; padding: 8px 0; border: 0; border-radius: 0; background: transparent; font-size: 11px; transition: opacity .2s; }
.contact:hover { opacity: .65; }
.contact span { font-size: 17px; }
.specimen { width: min(88%, 1320px); margin: 0 auto; }
.specimen-link { display: block; }
.specimen img { display: block; width: 100%; height: clamp(260px, 35svh, 410px); object-fit: cover; object-position: 50% 61%; }
.specimen figcaption { height: 36px; display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 9px; letter-spacing: .025em; }
.specimen figcaption a { padding: 6px 0; }
.specimen figcaption a:hover, .image-credit a:hover { color: var(--fg); }
.specimen figcaption a span { margin-left: 12px; }
.site-footer { justify-content: flex-start; gap: 20px; height: 64px; flex-shrink: 0; font-size: 9px; color: var(--muted); }
.image-credit a { text-underline-offset: 3px; text-decoration: underline; text-decoration-color: #efeee749; }
dialog { position: fixed; max-width: 500px; width: calc(100% - 40px); padding: 60px 45px; border: 1px solid var(--line); background: var(--bg); color: var(--fg); box-shadow: 0 20px 120px #0005; }
dialog::backdrop { background: #090a08cf; backdrop-filter: blur(12px); }
dialog .mark { margin-bottom: 45px; }
dialog h2 { font-family: "Instrument", Georgia, serif; font-size: 58px; line-height: 1; margin: 0 0 28px; font-weight: 400; letter-spacing: -.02em; }
.email-link { display: inline-block; padding: 4px 0 8px; border-bottom: 1px solid #efeee78c; font-size: 17px; }
.email-link:hover { opacity: .65; }
.dialog-close { position: absolute; right: 18px; top: 14px; border: 0; background: transparent; padding: 8px; font-size: 26px; font-weight: 400; }
@media (max-width: 700px) {
  .site-header { height: 96px; }
  .brand { gap: 9px; }
  .mark { width: 32px; height: 32px; }
  .wordmark { font-size: 23px; }
  .hero-content { padding: 28px 5% 46px; }
  h1 { font-size: clamp(62px, 17vw, 100px); }
  .contact { margin-top: 28px; font-size: 10px; gap: 24px; }
  .specimen { width: 100%; }
  .specimen img { height: clamp(290px, 38svh, 430px); object-position: 43% 58%; }
  .specimen figcaption { margin: 0 7%; height: 38px; font-size: 8px; }
  .site-footer { margin: 0 7%; height: 65px; font-size: 8px; }
  .image-credit { max-width: 72%; text-align: right; line-height: 1.7; }
  dialog { padding: 50px 30px; }
  dialog h2 { font-size: 50px; }
}
@media (max-height: 700px) and (min-width: 701px) {
  .site-header { height: 85px; }
  .hero-content { padding: 20px 5% 38px; }
  h1 { font-size: clamp(80px, 7vw, 105px); }
  .contact { margin-top: 22px; }
  .specimen img { height: 240px; }
  .site-footer { height: 55px; }
}

.credits-link:hover { color: var(--fg); }

.credits-page { max-width: 720px; margin: 10svh auto; padding: 0 7%; }
.credits-page h1 { font-size: 64px; margin: 60px 0 35px; }
.credits-page p { color: var(--muted); font-size: 14px; line-height: 1.8; }
.credits-page a { text-decoration: underline; text-underline-offset: 4px; }

.footer-contact { border: 0; padding: 0; margin: 0; background: transparent; font: inherit; color: inherit; }
.footer-contact:hover { color: var(--fg); }

.film-specimen { position: relative; overflow: hidden; }
.archive-film { display: block; width: 100%; height: clamp(300px, 42svh, 440px); object-fit: contain; background: #070807; }
.launch-note { margin: 0; padding: 36px 5% 38px; text-align: center; color: var(--muted); font-size: 11px; line-height: 1.6; letter-spacing: .035em; }
.film-toggle { position: absolute; right: 13px; bottom: 10px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; padding: 10px; background: #070807a6; color: var(--fg); opacity: .5; transition: opacity .2s; }
.film-toggle:hover, .film-toggle:focus-visible, .film-specimen:hover .film-toggle { opacity: 1; }
.film-toggle svg { width: 18px; height: 18px; }
.film-toggle .pause-icon { display: none; }
.film-toggle[data-playing=true] .pause-icon { display: block; }
.film-toggle[data-playing=true] .play-icon { display: none; }
.film-source-fallback { display: block; padding: 18px 5%; text-align: center; font-size: 11px; text-decoration: underline; text-underline-offset: 4px; }
@media(max-width:700px) { .archive-film { height: 350px; } .launch-note { font-size: 10px; padding: 29px 5% 32px; } .film-toggle { right: 7px; bottom: 7px; opacity: .75; } }
