/* My Featured Films. Matches the WordPress site's measurements; no framework. */
@font-face {
  font-family: "Futura";
  src: url("/assets/fonts/futura-book.woff2") format("woff2"),
       url("/wp-content/uploads/2025/03/Futura-Book-font.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("/assets/fonts/roboto-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0f1b24;
  --futura: "Futura", sans-serif;
  --roboto: "Roboto", sans-serif;
  --boxed: 1160px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #fff;
  color: #333;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

img, video { max-width: 100%; height: auto; }

a { color: inherit; }

button {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

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

.skip-link:focus {
  z-index: 100001;
  top: 8px;
  left: 8px;
  width: auto;
  height: auto;
  margin: 0;
  padding: 8px 16px;
  clip: auto;
  background: #fff;
  color: #000;
}

/* Header */
.site-header {
  display: flex;
  padding: 10px;
  background: #000;
}

.site-logo {
  display: flex;
  flex: 0 0 33.3333%;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.site-logo img { display: block; width: 80%; }

.site-nav {
  display: flex;
  flex: 0 0 66.6666%;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 10px;
}

.menu, .sub-menu { margin: 0; padding: 0; list-style: none; }

.menu { display: flex; flex-wrap: wrap; }

.menu > li { position: relative; display: flex; }

.menu > li:not(:last-child)::after {
  content: "";
  align-self: center;
  height: 35%;
  border-left: 2px solid #6d6d6d;
}

.menu a {
  position: relative;
  display: flex;
  align-items: center;
  padding: 13px 20px;
  color: #fff;
  font-family: var(--futura);
  font-size: 18px;
  font-weight: 400;
  line-height: 20px;
  text-decoration: none;
  white-space: nowrap;
}

.menu > li > a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: #fff;
  opacity: 0;
  transition: opacity .2s;
}

.menu > li > a:hover::after,
.menu > li > a:focus-visible::after,
.menu > li > a.is-active::after { opacity: 1; }

.sub-arrow { display: flex; margin: -10px 0; padding: 10px 0 10px 10px; line-height: 1; }

.sub-arrow svg { width: 1em; height: 1em; fill: currentColor; }

.sub-menu {
  position: absolute;
  z-index: 9999;
  top: 100%;
  left: 0;
  display: none;
  width: 12em;
  background: #fff;
  font-size: 13px;
}

.has-sub:hover > .sub-menu,
.has-sub:focus-within > .sub-menu,
.has-sub.is-open > .sub-menu { display: block; }

.sub-menu a {
  padding: 13px 20px;
  border-left: 8px solid transparent;
  color: #000;
  font-size: 13px;
  font-weight: 500;
  white-space: normal;
}

.sub-menu a:hover,
.sub-menu a:focus-visible,
.sub-menu a.is-active { background: #000; color: #fff; }

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 33px;
  height: 33px;
  margin: 0 auto;
  color: #fff;
}

.menu-toggle svg { width: 22px; height: 22px; fill: currentColor; }

.menu-toggle .icon-close { display: none; }

.site-nav.is-open .menu-toggle .icon-open { display: none; }

.site-nav.is-open .menu-toggle .icon-close { display: block; }

/* Page title block */
.intro {
  max-width: var(--boxed);
  margin: 40px auto 0;
  padding: 10px;
  text-align: center;
}

.intro h2 {
  margin: 0 0 20px;
  color: var(--ink);
  font-family: var(--futura);
  font-size: 50px;
  font-weight: 700;
  line-height: 1;
}

.rule { display: block; padding: 15px 0; }

.rule::before {
  content: "";
  display: block;
  margin: 0 auto;
  border-top: 2px solid var(--ink);
}

.rule--8::before { width: 8%; }
.rule--15::before { width: 15%; }
.rule--22::before { width: 22%; }

/* Film carousel */
.showcase-wrap { padding: 10px 0; }

.showcase {
  position: relative;
  overflow: hidden;
  padding: 30px 20px;
  background: var(--ink);
  outline: 0;
  touch-action: pan-y;
}

@keyframes showcase-in { from { opacity: 0; } to { opacity: 1; } }

.showcase__slides {
  position: relative;
  display: grid;
  width: 100%;
  max-width: 840px;
  margin: 0 auto;
  animation: showcase-in 1s;
}

.slide {
  position: relative;
  display: flex;
  grid-area: 1 / 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 70px 10px 60px;
  color: #fff;
  text-align: center;
  cursor: pointer;
  transition: transform .6s cubic-bezier(.455, .03, .515, .955), opacity .6s cubic-bezier(.455, .03, .515, .955);
}

.slide:not(.is-active) > * { pointer-events: none; }

.js .slide:not(.is-active) { opacity: .7; }

.slide__poster {
  display: block;
  overflow: hidden;
  width: 100%;
  max-width: 720px;
  border-radius: 15px;
  box-shadow: 0 1px 10px 0 rgba(0, 0, 0, .5);
}

.slide__poster picture, .slide__poster img { display: block; width: 100%; height: auto; }

.slide__title {
  max-width: 800px;
  margin-top: 60px;
  color: #fff;
  font-family: var(--roboto);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.5;
}

.slide__text {
  max-width: 600px;
  color: rgba(255, 255, 255, .69);
  font-family: var(--roboto);
  font-size: 18px;
  line-height: 1.5;
}

.slide__next {
  display: inline-flex;
  align-items: center;
  margin-top: 20px;
  color: #fff;
  font-family: var(--roboto);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.5;
}

.slide__next svg { width: 18px; height: 18px; margin-left: 5px; fill: currentColor; }

.showcase--futura .slide__title,
.showcase--futura .slide__text,
.showcase--futura .slide__next { font-family: "FUTURA", var(--futura); }

.showcase__arrow {
  position: absolute;
  z-index: 18;
  top: 50%;
  line-height: 0;
  transform: translateY(-50%);
}

.showcase__arrow img { display: block; width: 32px; height: 32px; }

.showcase__arrow--prev { left: 15px; }
.showcase__arrow--next { right: 15px; }

/* Without JavaScript the slides simply stack and the arrows go away */
html:not(.js) .showcase__slides { display: block; }
html:not(.js) .showcase__arrow, html:not(.js) .slide__next { display: none; }

/* Video lightbox */
.litebox {
  position: fixed;
  z-index: 100000;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-width: 280px;
  background: rgba(0, 0, 0, .8);
  animation: litebox-in .4s;
}

.litebox[hidden] { display: none; }

@keyframes litebox-in { from { opacity: 0; } to { opacity: 1; } }

.litebox__container {
  position: absolute;
  top: 10%;
  right: 10%;
  bottom: 10%;
  left: 10%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.litebox video { width: 100%; height: auto; max-height: 100%; background: #000; }

.litebox__close {
  position: absolute;
  z-index: 2;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  color: #fff;
}

.litebox__close svg { display: block; width: 36px; height: 36px; }

/* Press viewers */
.press-grid {
  display: flex;
  flex-wrap: wrap;
  max-width: var(--boxed);
  margin: 0 auto;
  padding: 10px;
}

.press-item { flex: 0 0 50%; min-width: 0; padding: 10px; }

.press-grid--one .press-item { flex-basis: 100%; }

.pdf { position: relative; display: flex; flex-direction: column; height: 600px; background: #d4d4d4; }

.pdf__stage { position: relative; flex: 1 1 auto; min-height: 0; }

.pdf__pages {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: auto;
  padding: 16px;
}

.pdf__page { max-width: 100%; max-height: 100%; margin-bottom: 16px; box-shadow: 0 1px 4px rgba(0, 0, 0, .3); background: #fff; object-fit: contain; }

.js .pdf__pages { justify-content: center; overflow: hidden; }

.js .pdf__page { display: none; margin: 0; }

.js .pdf__page.is-current { display: block; width: auto; height: auto; }

.pdf__nav {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-top: -28px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .3);
  color: #fff;
}

.pdf__nav svg { width: 36px; height: 36px; fill: currentColor; }

.pdf__nav--prev { left: 5px; }
.pdf__nav--next { right: 5px; }

.pdf__nav[disabled] { opacity: .35; cursor: default; }

html:not(.js) .pdf__nav { display: none; }

.pdf__bar {
  display: flex;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: #f9f9f9;
  color: #222;
}

.pdf__bar a { display: flex; color: inherit; }

.pdf__bar svg { width: 18px; height: 18px; fill: currentColor; }

.pdf__count { display: inline-flex; overflow: hidden; border-radius: 4px; color: #333; font-size: 13px; }

.pdf__count span { min-width: 50px; padding: 1px 8px; background: #e4e4e4; text-align: center; }

.pdf__count span + span { background: #cecece; }

.press-title {
  margin: 26px 0 20px;
  color: #000;
  font-family: var(--futura);
  font-size: 40px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
}

.press-rule::before { border-top-color: #000; }

/* About */
.about-figure {
  max-width: var(--boxed);
  margin: 0 auto;
  padding: 10px;
  text-align: center;
}

.about-figure img { display: block; width: 100%; height: auto; }

.about-figure figcaption {
  color: #000;
  font-family: var(--futura);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.about-text {
  max-width: var(--boxed);
  margin: 40px auto 0;
  padding: 10px;
  color: var(--ink);
  font-family: var(--futura);
  font-size: 20px;
  line-height: 1.5;
}

.about-text p { margin: 0 0 14.4px; }

.about-text p:last-child { margin-bottom: 0; }

/* 404 */
.notfound { max-width: var(--boxed); margin: 40px auto; padding: 10px; text-align: center; color: var(--ink); font-family: var(--futura); }

.notfound h1 { margin: 0 0 20px; font-size: 50px; font-weight: 700; line-height: 1; }

/* Footer */
.site-footer { background: #fff; }

.site-footer__inner {
  display: flex;
  max-width: var(--boxed);
  margin: 0 auto;
  padding: 10px;
}

.site-footer__col {
  display: flex;
  flex: 0 0 50%;
  flex-direction: column;
  justify-content: center;
  padding: 10px;
  text-align: center;
}

.footer-mail {
  display: inline-flex;
  align-items: center;
  align-self: center;
  padding: 12px 24px;
  color: #000;
  font-family: var(--futura);
  font-size: 18px;
  line-height: 18px;
  text-decoration: none;
}

.footer-mail__icon { display: inline-flex; margin-right: 5px; }

.footer-mail__icon svg { width: 18px; height: 18px; fill: currentColor; }

.site-footer p {
  margin: 12px 0 14.4px;
  color: #000;
  font-family: var(--futura);
  font-size: 18px;
  line-height: 1.5;
}

/* Burger menu */
@media (max-width: 1024px) {
  .menu-toggle { display: flex; }

  .menu { display: none; margin-top: 10px; background: #fff; }

  .site-nav.is-open .menu { display: block; }

  .menu > li { display: block; }

  .menu > li:not(:last-child)::after, .menu > li > a::after { display: none; }

  .menu a { padding: 10px 20px; color: #000; font-weight: 500; }

  .menu a:hover, .menu a:focus-visible, .menu a.is-active { background: #000; color: #fff; }

  .sub-menu { position: static; width: auto; }

  .has-sub:hover > .sub-menu, .has-sub:focus-within > .sub-menu { display: none; }

  .has-sub.is-open > .sub-menu { display: block; }

  .sub-menu a { padding: 10px 20px; font-size: 15px; }

  .press-item .pdf { height: 400px; }
}

@media (max-width: 767px) {
  .site-header { flex-wrap: wrap; }

  .site-logo, .site-nav { flex-basis: 100%; }

  .site-nav { padding-bottom: 20px; }

  .intro h2 { font-size: 40px; }

  .intro--about h2 { font-size: 60px; }

  .rule--8::before { width: 15%; }

  .press-item { flex-basis: 100%; }

  .press-item .pdf { height: 300px; }

  .press-title { font-size: 25px; }

  .press-rule { padding: 0; }

  .press-rule::before { width: 15%; }

  .site-footer__inner { flex-wrap: wrap; }

  .site-footer__col { flex-basis: 100%; }
}

/* Smart Slider's phone sizes */
@media (orientation: landscape) and (max-width: 900px), (orientation: portrait) and (max-width: 700px) {
  .slide { padding: 70px 10px 60px; }

  .slide__poster { max-width: 300px; }

  .slide__title { font-size: 22.4px; }

  .showcase__arrow img { width: 16px; height: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .slide { transition: none; }
  .showcase__slides, .litebox { animation: none; }
}
