/*  

Theme Name: Pinch Media 2026
Theme URI: https://pinch-media.com/
Description: A custom theme for Pinch Media website
Author: Fabio Venni
Author URI: http://fabio.antanix.net
Version: 2.0
Text Domain: pinch_2026
*/

@font-face {
    font-family: 'Avenir Next';
    src: url('fonts/AvenirNext-Regular.woff2') format('woff2'),
        url('fonts/AvenirNext-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Avenir Next';
    src: url('fonts/AvenirNext-Bold.woff2') format('woff2'),
        url('fonts/AvenirNext-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Avenir Next';
    src: url('fonts/AvenirNext-Italic.woff2') format('woff2'),
        url('fonts/AvenirNext-Italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
}
:root {
  --accent: #F54559;
  --accent-text: #D90B23;
  --accent-2: #00AEEF;
  --bg: #f5f4f1;
  --surface: #ebe9e4;
  --text: #101e24;
  --text-muted: #4f5a5f;
  --text-faint: #657074;
  --line: rgba(16, 30, 36, .12);
  --img-bg: #dcd9d3;
  --nav-bg: #f5f4f1;
  --input-bg: #feddda;
  --footer-bg: #101e24;
  --footer-line: #485256;
  --nav-h: 76px;
  --gutter: 1rem;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --accent-text: #F54559;
  --bg: #0b1013;
  --surface: #151c20;
  --text: #eef0f1;
  --text-muted: #b3bbbf;
  --text-faint: #8a9397;
  --line: rgba(255, 255, 255, .1);
  --img-bg: #1a2226;
  --nav-bg: #0b1013;
  --input-bg: #1f282d;
  --footer-bg: #070b0d;
  --footer-line: #2a3438;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --accent-text: #F54559;
    --bg: #0b1013;
    --surface: #151c20;
    --text: #eef0f1;
    --text-muted: #b3bbbf;
    --text-faint: #8a9397;
    --line: rgba(255, 255, 255, .1);
    --img-bg: #1a2226;
    --nav-bg: #0b1013;
    --input-bg: #1f282d;
    --footer-bg: #070b0d;
    --footer-line: #2a3438;
    color-scheme: dark;
  }
}
@media (min-width: 40em) {
  :root {
    --gutter: 1.5rem;
  }
}

* {
  box-sizing: border-box;
}
html, body, h1,h2,h3,h4,p,ul,ol,li,strong, section, article, figure {
  padding: 0;
  margin: 0;
  border: 0;
}
body {
  font: normal 16px/1 'Avenir Next', Helvetica, Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  transition: background-color .25s ease, color .25s ease;
}
::selection {
  background: var(--accent);
  color: white;
}
a {
  text-decoration: none;
  color: var(--text);
}
a,
button {
  transition: color .2s ease, border-color .2s ease, background-color .2s ease, opacity .2s ease;
}
a:hover,
a:focus-visible {
  color: var(--accent);
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}


/*****************

      Header

******************/
.nav {
  width: 100%;
  margin: 0 auto;
  background-color: var(--nav-bg);
  border-top: 3px solid var(--accent);
  border-bottom: 1px solid transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem var(--gutter);
  position: fixed;
  top: 0;
  z-index: 4;
  transition: border-color .2s ease, background-color .25s ease;
}
@media (min-width: 83em) {
  .nav {
    padding: 1rem calc((100% - 80em) / 2);
  }
}
.admin-bar .nav {
  top: var(--wp-admin--admin-bar--height, 32px);
}
@media (max-width: 600px) {
  .admin-bar #wpadminbar {
    position: fixed;
  }
}
.nav-right {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.25rem);
}
.nav-menu ul {
  list-style: none;
  display: flex;
  gap: clamp(.875rem, 3vw, 2.25rem);
}
.nav-menu ul {
  align-items: center;
}
.nav-link {
  display: block;
  padding: .9375rem 0;
  font-size: .6875rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  line-height: 1;
  text-box: trim-both cap alphabetic;
  color: var(--text);
}
.logo {
  align-self: center;
}
.theme-switch {
  align-self: center;
}
@media (max-width: 39.99em) {
  .nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: .75rem;
  }
  .nav-menu ul {
    gap: 1rem;
  }
  .nav-link {
    margin-right: -.18em;
  }
  .nav-right {
    display: contents;
  }
  .nav-menu {
    justify-self: center;
  }
  .nav .theme-switch {
    justify-self: end;
  }
}
.nav-link.selected {
  color: var(--accent);
}
.nav-link:hover {
  color: var(--accent);
}
.theme-switch {
  appearance: none;
  -webkit-appearance: none;
  display: block;
  padding: .25rem 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.theme-switch-track {
  position: relative;
  display: block;
  width: 3.5rem;
  height: 1.875rem;
  border-radius: 1rem;
  background-color: var(--surface);
  transition: background-color .25s ease;
}
.theme-switch-thumb {
  position: absolute;
  top: .1875rem;
  left: .1875rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background-color: var(--text);
  transition: transform .25s cubic-bezier(.3, .7, .3, 1), background-color .25s ease;
}
.theme-switch-icon {
  position: absolute;
  z-index: 1;
  top: .5rem;
  left: .5rem;
  display: block;
  width: .875rem;
  height: .875rem;
  color: var(--text-faint);
  transition: color .25s ease;
}
.theme-switch-moon {
  left: auto;
  right: .5rem;
}
.theme-switch-sun,
[data-theme="dark"] .theme-switch-moon {
  color: var(--bg);
}
[data-theme="dark"] .theme-switch-sun {
  color: var(--text-faint);
}
[data-theme="dark"] .theme-switch-thumb {
  transform: translateX(1.625rem);
}
.theme-switch:hover .theme-switch-thumb,
.theme-switch:focus-visible .theme-switch-thumb {
  background-color: var(--accent);
}
.theme-switch:hover .theme-switch-sun,
[data-theme="dark"] .theme-switch:hover .theme-switch-moon {
  color: white;
}
.nav .theme-switch-thumb {
  background-color: white;
  box-shadow: 0 1px 3px rgba(16, 30, 36, .18);
}
.nav .theme-switch-sun {
  color: var(--text-muted);
}
[data-theme="dark"] .nav .theme-switch-thumb {
  background-color: #2f3a3f;
  box-shadow: none;
}
[data-theme="dark"] .nav .theme-switch-moon {
  color: var(--text);
}
.nav .theme-switch:hover .theme-switch-thumb,
.nav .theme-switch:focus-visible .theme-switch-thumb {
  background-color: var(--accent);
}
@media (max-width: 39.99em) {
  .nav .theme-switch-track {
    width: 2rem;
    height: 2rem;
    background-color: transparent;
  }
  .nav .theme-switch-icon {
    top: .5rem;
    right: auto;
    left: .5rem;
    width: 1rem;
    height: 1rem;
  }
  .nav .theme-switch-icon,
  [data-theme="dark"] .nav .theme-switch-sun {
    color: var(--text-muted);
  }
  .nav .theme-switch-thumb,
  .nav .theme-switch-sun,
  [data-theme="dark"] .nav .theme-switch-moon {
    display: none;
  }
  [data-theme="dark"] .nav .theme-switch-sun {
    display: block;
  }
  .nav .theme-switch:hover .theme-switch-icon,
  .nav .theme-switch:focus-visible .theme-switch-icon {
    color: var(--accent);
  }
}
@media (max-width: 22.49em) {
  .nav-menu ul {
    gap: .625rem;
  }
  .nav-link {
    letter-spacing: .12em;
    margin-right: -.12em;
  }
}
.logo {
  display: block;
  flex-shrink: 0;
  padding: 0;
  z-index: 999;
  width: 76px;
  overflow: hidden;
}
.logo svg {
  display: block;
  width: 228px;
}
.logo svg g {
  transition: fill .2s ease;
}
.logo:hover svg g,
.logo:focus-visible svg g {
  fill: var(--text);
}

.logo svg path {
  transition: opacity 300ms ease-out, transform 150ms ease-out;
}
.logo-edia {
  opacity: 0;
}
.logo-m {
  transform: scale(.6) translate(-33%, -5%);
}
.logo-inch {
  opacity: 0;
}
@media (min-width: 540px) {
  .logo svg path {
    transition: opacity 200ms ease-in, transform 150ms ease-in;
  }
  .logo-inch {
    opacity: 1;
  }
  .logo {
    height: 40px;
    width: 140px;
  }
  .logo-m {
    transform: scale(.6) translate(28%, -5%);
  }
}
@media (min-width: 660px) {
  .logo {
    width: 228px;
  }
  .logo-edia {
    opacity: 1;
  }
  .logo-m {
    transform: scale(1);
  }
}

.pinch_media-logo {
  display: block;
  width: 100%;
  max-width: 35em;
  margin: 0 auto;
  -webkit-transition: all .15s ease;
  transition: all .15s ease;
}

.stuck {
  border-bottom-color: var(--line);
}

/*****************

      Layout

******************/
.section-wrapper {
  display: block;
  width: 100%;
  margin-top: var(--nav-h);
  position: relative;
  z-index: 3;
  background-color: var(--bg);
  padding-bottom: 4em;
  transition: background-color .25s ease;
}
.section {
  width: 100%;
  max-width: calc(80em + 2 * var(--gutter));
  margin: 0 auto;
  padding: 1.5rem var(--gutter) 0;
}

/*****************

    Work hero

******************/
.work-hero {
  position: relative;
  overflow: hidden;
  min-height: 18rem;
  width: 100%;
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
  background-color: var(--img-bg);
  color: white;
  aspect-ratio: 4 / 3;
}
@media (min-width: 40em) {
  .work-hero {
    aspect-ratio: 16 / 9;
    max-height: calc(100vh - var(--nav-h) - 3rem);
    max-height: calc(100svh - var(--nav-h) - 3rem);
  }
}
@media (min-width: 64em) {
  .work-hero {
    aspect-ratio: 16 / 9;
    max-height: calc(100vh - var(--nav-h) - 3rem);
    max-height: calc(100svh - var(--nav-h) - 3rem);
  }
}
.work-hero-link {
  position: absolute;
  inset: 0;
  display: block;
  color: white;
}
.work-hero-link:hover {
  color: white;
}
.work-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .6s ease, transform 1.2s cubic-bezier(.2, .7, .2, 1);
}
.work-hero {
  container-type: size;
}
.work-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  pointer-events: none;
  transition: opacity .6s ease;
}
.work-hero-embed {
  inset: auto;
  top: 50%;
  left: 50%;
  width: max(100cqw, 100cqh * (var(--video-ratio, 16 / 9)));
  height: max(100cqh, 100cqw / (var(--video-ratio, 16 / 9)));
  transform: translate(-50%, -50%);
}
.work-hero-video.is-entering,
.work-hero-image.is-entering {
  opacity: 0;
}
@media (prefers-reduced-motion: reduce) {
  .work-hero-video {
    display: none;
  }
}
.work-hero-link:hover .work-hero-image {
  transform: scale(1.03);
}
.work-hero-link::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0) 60%), linear-gradient(to right, rgba(0, 0, 0, .35), rgba(0, 0, 0, 0) 55%);
}
.work-hero-caption {
  position: absolute;
  z-index: 1;
  left: clamp(1.25rem, 4vw, 2.5rem);
  right: 8rem;
  bottom: clamp(1.25rem, 4vw, 2.25rem);
  display: block;
}
.work-hero-meta {
  display: block;
  position: relative;
  padding-left: 1.5rem;
  font-size: .6875rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  line-height: 1.5;
  transition: opacity .6s ease;
}
.work-hero-meta::before {
  content: '';
  position: absolute;
  left: 0;
  top: .7em;
  width: .875rem;
  height: 2px;
  background-color: var(--accent);
}
.work-hero-title {
  display: block;
  margin-top: .5rem;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: .01em;
  transition: opacity .6s ease;
}
.work-hero.is-changing .work-hero-meta,
.work-hero.is-changing .work-hero-title {
  opacity: 0;
}
.work-hero-controls {
  position: absolute;
  z-index: 2;
  right: clamp(1.25rem, 4vw, 2.5rem);
  bottom: clamp(1.25rem, 4vw, 2.25rem);
  display: flex;
  align-items: center;
  gap: 1rem;
  color: white;
  font-size: .6875rem;
  letter-spacing: .14em;
}
@media (max-width: 39.99em) {
  .work-hero-controls {
    top: .5rem;
    bottom: auto;
  }
  .work-hero-caption {
    right: 1.25rem;
  }
}
.work-hero-next {
  appearance: none;
  -webkit-appearance: none;
  background: none;
  border: 0;
  padding: .75rem 0;
  color: white;
  cursor: pointer;
  transition: color .15s ease, transform .2s ease;
}
.work-hero-next:hover {
  color: var(--accent);
  transform: translateX(4px);
}
.work-hero-next svg {
  display: block;
  width: 3rem;
  height: .75rem;
}

/*****************

    Film item

******************/
.film-items {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 2rem var(--gutter);
}
.film_item {
  grid-column: span 12;
  position: relative;
}
@media (min-width: 40em) {
  .film_item {
    grid-column: span 6;
  }
  .film_item.is-full {
    grid-column: span 12;
  }
}
@media (min-width: 64em) {
  .film-items {
    gap: 2.25rem 1rem;
  }
  .film_item.is-quarter {
    grid-column: span 3;
  }
  .film_item.is-third,
  .film_item.is-narrow {
    grid-column: span 4;
  }
  .film_item.is-wide {
    grid-column: span 8;
  }
}
.film_item-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: var(--text);
}
.film_item-media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background-color: var(--img-bg);
}
@media (min-width: 64em) {
  .is-quarter .film_item-media {
    aspect-ratio: 16 / 10;
  }
  .is-third .film_item-media {
    aspect-ratio: 5 / 3;
  }
  .is-wide .film_item-media {
    aspect-ratio: 16 / 5;
  }
  .is-narrow .film_item-media {
    aspect-ratio: auto;
    flex: 1 1 auto;
    min-height: 12rem;
  }
  .is-full .film_item-media {
    aspect-ratio: 80 / 27;
  }
}
.film_item-media img,
.wp-post-placeholder {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .6s cubic-bezier(.2, .7, .2, 1), opacity .3s ease;
}
.wp-post-placeholder {
  background: linear-gradient(135deg, var(--accent), #7a1f2c);
}
.film_item-link:hover .film_item-media img {
  transform: scale(1.03);
}
.film_item-caption {
  position: relative;
  display: block;
  padding: .875rem 0 0 1.5rem;
}
.film_item-caption::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.4rem;
  width: .875rem;
  height: 2px;
  background-color: var(--accent);
  transition: width .2s ease;
}
.film_item-link:hover .film_item-caption::before {
  width: 1.125rem;
}
.film_item-title {
  font-size: .9375rem;
  font-weight: normal;
  line-height: 1.6;
  letter-spacing: .01em;
  color: var(--text);
}
.film_item-link:hover .film_item-title {
  color: var(--accent);
}
.film_item-meta {
  margin-top: .25rem;
  font-size: .625rem;
  line-height: 1.5;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.film_item-private {
  position: absolute;
  top: .75rem;
  left: .75rem;
  padding: .375rem .5rem;
  background-color: var(--text);
  color: var(--bg);
  font-size: .625rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.site-index {
  position: relative;
  z-index: 3;
  background-color: var(--bg);
  transition: background-color .25s ease;
}
.site-index-inner {
  max-width: calc(80em + 2 * var(--gutter));
  margin: 0 auto;
  padding: 1.5rem var(--gutter) 3rem;
}
.project-index {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .625rem;
  text-align: center;
}
.project-index-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .375rem 1.25rem;
  font-size: .6875rem;
  line-height: 1.6;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.project-index-list li:not(:last-child)::after,
.project-index-list:first-child li:last-child::after {
  content: "/";
  content: "/" / "";
  margin-left: 1.25rem;
  color: var(--text-faint);
}
.project-index-list:first-child li:last-child::after {
  display: none;
}
@media (min-width: 64em) {
  .project-index-list:first-child li:last-child::after {
    display: inline;
  }
}
.project-index-list a {
  color: var(--text-muted);
}
.project-index-list a:hover,
.project-index-list a[aria-current="page"] {
  color: var(--accent);
}
.project-index-all {
  color: var(--text) !important;
}
.project-index-all:hover,
.project-index-all[aria-current="page"] {
  color: var(--accent) !important;
}
.project-index-list sup {
  margin-left: .25em;
  font-size: .75em;
  letter-spacing: .08em;
  vertical-align: super;
  line-height: 0;
  color: var(--text-faint);
}
.project-index-collections a {
  color: var(--text-faint);
}
@media (min-width: 64em) {
  .project-index {
    flex-direction: row;
    justify-content: center;
    gap: 1.25rem;
  }
  .project-index-list {
    flex-wrap: nowrap;
    white-space: nowrap;
  }
}

/*****************

      Footer

******************/

.footer {
  float: left;
  clear: both;
  width: 100%;
  background-color: var(--footer-bg);
  color: white;
  text-align: center;
  padding: max(6rem, 18vh) var(--gutter);
  border-top: 1px solid var(--footer-line);
  line-height: 1.5;
  position: relative;
  z-index: 3;
}
.footer-logo-link {
  display: block;
  width: 65%;
  max-width: 228px;
  margin: 0 auto;
}
.footer-logo {
  display: block;
  width: 100%;
  height: auto;
}
.footer-logo path {
  fill: var(--footer-line);
  transition: fill .2s ease;
}
.footer-logo-link:hover .footer-logo path,
.footer-logo-link:focus-visible .footer-logo path {
  fill: var(--accent);
}
.footer-socials {
  list-style-type:none;
  margin:1em auto 0;
  padding:0;
  display:flex;
  justify-content: space-around;
  align-items: center;
  max-width:9rem;
}
.footer-social {
  width: 2em;
}
.footer-org-address {
  margin: 0 0 1em 0;
}
.footer-copyright {
  margin: 2em 0 0 0;
  font-size: .75em;
  color: #6c777b;
}
.footer a {
  color: white;
}
.footer a:hover,
.footer a:focus-visible {
  color: var(--accent);
}
.footer-social > path:first-child,
.footer-social > g {
  fill: var(--footer-line);
  transition: fill .2s ease;
}
.footer-social > path:nth-child(2) {
  fill: var(--footer-bg);
}
.footer a:hover .footer-social > path:first-child,
.footer a:hover .footer-social > g,
.footer a:focus-visible .footer-social > path:first-child,
.footer a:focus-visible .footer-social > g {
  fill: var(--accent);
}
.footer-theme {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}
.footer .theme-switch-track {
  background-color: rgba(255, 255, 255, .12);
}
.footer .theme-switch-thumb {
  background-color: white;
}
.footer .theme-switch-sun,
[data-theme="dark"] .footer .theme-switch-moon {
  color: var(--footer-bg);
}
.footer .theme-switch-moon,
[data-theme="dark"] .footer .theme-switch-sun {
  color: #6c777b;
}
.footer .theme-switch:hover .theme-switch-thumb,
.footer .theme-switch:focus-visible .theme-switch-thumb {
  background-color: var(--accent);
}
.footer .theme-switch:hover .theme-switch-sun,
[data-theme="dark"] .footer .theme-switch:hover .theme-switch-moon {
  color: white;
}
.footer-locations {
  display: flex;
  justify-content: space-between;
  width: 65%;
  max-width: 228px;
  margin: 1em auto;
  font-size: .75em;
  text-transform: uppercase;
  color: #6c777b;
}

/*******************

    Shared

********************/

.eyebrow {
  position: relative;
  display: block;
  padding-left: 1.5rem;
  font-size: .6875rem;
  font-weight: normal;
  line-height: 1.5;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.eyebrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: .7em;
  width: .875rem;
  height: 2px;
  background-color: var(--accent);
}
.button {
  display: inline-block;
  padding: .875rem 1.25rem;
  border: 1px solid var(--line);
  font-size: .6875rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text);
}
.button:hover {
  color: var(--accent);
  border-color: var(--accent);
  background-color: transparent;
}

/*******************

    Page hero

********************/

.page-hero {
  position: relative;
  padding: clamp(2rem, 6vw, 4.5rem) 0 clamp(1.5rem, 3vw, 2rem);
}
.page-hero-title {
  margin-top: .75rem;
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  font-weight: normal;
  line-height: 1.02;
  letter-spacing: -.005em;
  color: var(--text);
  overflow-wrap: break-word;
}
.page-hero.has-image {
  padding: 0;
  border: 0;
  overflow: hidden;
  min-height: 18rem;
  width: 100%;
  aspect-ratio: 4 / 3;
  background-color: var(--img-bg);
}
@media (min-width: 40em) {
  .page-hero.has-image {
    aspect-ratio: 16 / 9;
    max-height: calc(100vh - var(--nav-h) - 3rem);
    max-height: calc(100svh - var(--nav-h) - 3rem);
  }
}
@media (min-width: 64em) {
  .page-hero.has-image {
    aspect-ratio: 16 / 9;
    max-height: calc(100vh - var(--nav-h) - 3rem);
    max-height: calc(100svh - var(--nav-h) - 3rem);
  }
}
@media (max-width: 47.99em) and (orientation: portrait) {
  .work-hero,
  .page-hero.has-image {
    aspect-ratio: auto;
    height: calc(100vh - var(--nav-h));
    height: calc(100svh - var(--nav-h));
    margin-top: -1.5rem;
    margin-left: calc(-1 * var(--gutter));
    margin-right: calc(-1 * var(--gutter));
    width: calc(100% + 2 * var(--gutter));
  }
}
.page-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero.has-video {
  container-type: size;
}
.page-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  pointer-events: none;
}
.page-hero-embed {
  inset: auto;
  top: 50%;
  left: 50%;
  width: max(100cqw, 100cqh * (var(--video-ratio, 16 / 9)));
  height: max(100cqh, 100cqw / (var(--video-ratio, 16 / 9)));
  transform: translate(-50%, -50%);
}
@media (prefers-reduced-motion: reduce) {
  .page-hero.has-video .page-hero-video {
    display: none;
  }
}
.page-hero.has-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .6), rgba(0, 0, 0, 0) 60%), linear-gradient(to right, rgba(0, 0, 0, .35), rgba(0, 0, 0, 0) 55%);
}
.page-hero.has-image .page-hero-caption {
  position: absolute;
  z-index: 1;
  left: clamp(1.25rem, 4vw, 2.5rem);
  right: clamp(1.25rem, 4vw, 2.5rem);
  bottom: clamp(1.25rem, 4vw, 2.25rem);
}
.page-hero.has-image .page-hero-meta,
.page-hero.has-image .page-hero-title {
  color: white;
}

/*******************

    Entry content

********************/

.page-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 64em) {
  .page-body {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 1rem;
  }
  .page-body > .entry {
    grid-column: 1 / span 8;
  }
}
.page-hero.has-image + .page-body {
  display: block;
  max-width: 60rem;
  margin: clamp(2.5rem, 6vw, 5rem) auto 0;
}
.page-hero.has-image + .page-body > .entry {
  max-width: none;
}
.entry {
  max-width: 42rem;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text-muted);
}
.entry > * + * {
  margin-top: 1.25em;
}
.entry > p:first-child {
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  line-height: 1.5;
  color: var(--text);
}
.entry h2,
.entry h3,
.entry h4 {
  margin-top: 2.25em;
  font-weight: normal;
  line-height: 1.25;
  color: var(--text);
}
.entry h2 {
  font-size: 1.625rem;
}
.entry h3 {
  font-size: 1.25rem;
}
.entry h4 {
  font-size: .6875rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.entry strong,
.entry b {
  font-weight: normal;
  color: var(--text);
}
.entry .is-lead strong,
.entry .is-lead b {
  color: var(--accent-text);
}
.entry a:not(.button) {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
}
.entry a:not(.button):hover,
.credits a:hover {
  color: var(--accent);
}
.entry ul,
.entry ol {
  padding-left: 1.25em;
}
.entry li + li {
  margin-top: .5em;
}
.entry blockquote {
  margin: 2em 0;
  padding-left: 1.5rem;
  border-left: 2px solid var(--accent);
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--text);
}
.entry img,
.entry video,
.entry iframe {
  max-width: 100%;
  height: auto;
}
.entry figure {
  margin-left: 0;
  margin-right: 0;
}
.entry figcaption,
.wp-caption-text {
  margin-top: .5rem;
  font-size: .75rem;
  color: var(--text-faint);
}
.entry hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.5em 0;
}
.alignleft {
  float: left;
  margin: .25em 1.5em 1em 0;
}
.alignright {
  float: right;
  margin: .25em 0 1em 1.5em;
}
.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.pinch-feature {
  padding: 1.25rem 1.5rem;
  border-left: 2px solid var(--accent);
  background-color: var(--surface);
  color: var(--text);
}
.pinch-feature p + p {
  margin-top: .5em;
}

/*******************

    Project

********************/

.project .page-hero {
  margin-bottom: clamp(2.5rem, 6vw, 5rem);
}
.page-hero.is-collapsible {
  position: sticky;
  z-index: 3;
  top: var(--nav-h);
}
.page-hero.is-collapsible::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background-color: rgba(0, 0, 0, .5);
  opacity: var(--p, 0);
  pointer-events: none;
}
.page-hero.is-collapsible::after {
  z-index: 1;
}
.page-hero.is-collapsible {
  --cb0: clamp(1.25rem, 4vw, 2.25rem);
}
.page-hero.is-collapsible .page-hero-caption {
  z-index: 2;
  bottom: calc(var(--cb0) + (var(--cb1, 1rem) - var(--cb0)) * var(--p, 0));
}
.is-collapsible .page-hero-title {
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  transform-origin: 0 100%;
  transform: scale(calc(1 - (1 - var(--title-min, .4)) * var(--p, 0)));
  will-change: transform;
}
.is-collapsible .page-hero-meta {
  transform: translateY(calc(var(--title-shrink, 0px) * var(--p, 0)));
  will-change: transform;
}

.project-about,
.project-watch-block,
.project-credits {
  max-width: 60rem;
  margin-left: auto;
  margin-right: auto;
}
.project-entry {
  max-width: none;
}
.entry .section {
  max-width: none;
  padding: 0;
}
.project-credits {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
  row-gap: 1.25rem;
  font-size: .875rem;
  line-height: 1.5;
}
.project-credits.has-poster .project-poster {
  justify-self: center;
  width: 100%;
  max-width: 16rem;
}
.project-credits > .project-section-title {
  grid-column: 1 / -1;
  margin-bottom: 0;
}
@media (min-width: 40em) {
  .project-credits.has-poster {
    grid-template-columns: minmax(0, 16rem) minmax(0, 1fr);
    column-gap: clamp(2rem, 5vw, 4.5rem);
    align-items: start;
  }
}
@media (min-width: 64em) {
  .project-credits.has-poster {
    grid-template-columns: minmax(0, 22rem) minmax(0, 1fr);
  }
  .project-credits.has-poster .project-poster {
    max-width: none;
  }
}
.project-credits-info {
  max-width: 34rem;
}
.project-poster {
  display: block;
  margin: 0;
}
.project-poster picture,
.project-poster img {
  display: block;
  width: 100%;
  height: auto;
}
.project-poster img {
  box-shadow: 0 1.5rem 3rem -1.5rem rgba(0, 0, 0, .45);
}
.credits-roll {
  position: relative;
  overflow: hidden;
}
.credits-roll.is-rolling,
.credits-roll.is-scrollable,
.credits-roll.is-manual {
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
}
.credits-roll.is-scrollable {
  overflow-y: auto;
}
.credits-roll.is-rolling .credits-track {
  animation: credits-roll var(--roll-duration, 60s) linear infinite;
  will-change: transform;
}
.credits-roll.is-manual {
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}
.credits-roll.is-manual::-webkit-scrollbar {
  display: none;
}
.credits-roll.is-rolling .credits,
.credits-roll.is-manual .credits {
  padding: 2.5rem 0 3.5rem;
}
.credits-roll.is-rolling:hover .credits-track,
.credits-roll.is-rolling:focus-within .credits-track,
.credits-roll.is-rolling:focus .credits-track {
  animation-play-state: paused;
}
.credits-roll:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
@keyframes credits-roll {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(var(--roll-distance, -50%));
  }
}
.credits {
  margin: 0;
}
.credits-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.25rem;
  padding: .625rem 0;
}
@media (min-width: 40em) {
  .credits-row {
    grid-template-columns: minmax(0, 11rem) minmax(0, 1fr);
  }
}
.credits dt {
  text-align: right;
  font-size: .625rem;
  line-height: 2.2;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.credits dd {
  margin: 0;
  color: var(--text);
}
.credits a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: .2em;
}
.project-watch-title {
  margin-bottom: 1.25rem;
  color: var(--text);
}
.project-watch {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.project-watch a {
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .625rem;
  min-height: 3.25rem;
  padding: .75rem 1rem;
  border: 1px solid var(--accent);
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}
.project-watch a:hover,
.project-watch a:focus-visible {
  color: var(--text);
  border-color: var(--text);
  background-color: transparent;
}
.watch-icon {
  flex-shrink: 0;
  width: 1.375rem;
  height: 1.375rem;
}
.watch-icon.is-wide {
  width: auto;
  height: 1.25rem;
}
.project-section {
  margin-top: clamp(3rem, 7vw, 5rem);
}
.project-section-title {
  margin-bottom: 1.25rem;
}
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background-color: black;
}
.video-frame iframe,
.video-frame video,
.video-frame embed,
.video-frame object {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/*******************

    Gallery

********************/

.collage {
  display: block;
  width: 100%;
  height: 0;
  padding-bottom: 61.53846%;
  position: relative;
  overflow: hidden;
  margin: 0;
}
.collage + .collage {
  margin-top: 1rem;
}
.collage_caption {
  display: none;
}
.collage_thumb {
  position: absolute;
  display: block;
  overflow: hidden;
  background-color: var(--img-bg);
  cursor: zoom-in;
}
.collage_thumb picture {
  display: block;
  width: 100%;
  height: 100%;
}
.collage_thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
.collage_thumb:hover img {
  transform: scale(1.03);
}
.collage_large {
  width: calc(61.53846% - .5rem);
  height: 100%;
  top: 0;
  left: 0;
}
.collage_medium {
  width: calc(38.4616% - .5rem);
  height: calc(61.53846% - .5rem);
  top: 0;
  left: calc(61.53846% + .5rem);
}
.collage_small {
  width: calc(38.4616% - .5rem);
  height: calc(38.4616% - .5rem);
  top: calc(61.53846% + .5rem);
  left: calc(61.53846% + .5rem);
}
.collage_no_preview {
  display: none;
}

/*******************

    Project nav

********************/

.project-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: clamp(5rem, 12vw, 9rem);
}
.project-nav-heading {
  grid-column: 1 / -1;
  margin-bottom: clamp(.75rem, 2vw, 1.5rem);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: normal;
  line-height: 1.05;
  letter-spacing: -.005em;
  color: var(--text);
}
.project-nav-link {
  display: flex;
  flex-direction: column;
  color: var(--text);
}
.project-nav-next {
  text-align: right;
}
.project-nav-next .eyebrow {
  padding-left: 0;
  padding-right: 1.5rem;
}
.project-nav-next .eyebrow::before {
  left: auto;
  right: 0;
}
.project-nav-media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  margin-bottom: .875rem;
  background-color: var(--img-bg);
}
.project-nav-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
.project-nav-link:hover .project-nav-media img {
  transform: scale(1.03);
}
.project-nav-title {
  margin-top: .25rem;
  font-size: clamp(1rem, 2vw, 1.375rem);
  line-height: 1.3;
}
.project-nav-link:hover .project-nav-title {
  color: var(--accent);
}

/*******************

    About

********************/

.page-hero.is-statement::after {
  background: linear-gradient(to top, rgba(0, 0, 0, .85), rgba(0, 0, 0, .35) 60%, rgba(0, 0, 0, .2));
}
.is-statement .page-hero-title {
  max-width: 18em;
  font-size: clamp(1.75rem, 3.6vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -.01em;
}
.is-statement .page-hero-title b {
  color: var(--accent);
}
.about-section {
  max-width: 60rem;
  margin: clamp(3.5rem, 8vw, 6rem) auto 0;
}
.section-label {
  margin-bottom: 1.5rem;
}
.about-entry {
  max-width: none;
}
.team-items .film_item {
  grid-column: span 6;
}
.team-items .film_item-media {
  aspect-ratio: 4 / 5;
}
.team-items .film_item-media img {
  filter: grayscale(1);
  transition: transform .6s cubic-bezier(.2, .7, .2, 1), filter .4s ease;
}
.team-items .film_item-link:hover .film_item-media img {
  filter: grayscale(0);
}
.team-bio {
  display: none;
  margin-top: .625rem;
  font-size: .875rem;
  line-height: 1.65;
  color: var(--text-muted);
}
@media (min-width: 40em) {
  .team-bio {
    display: block;
  }
}
@media (min-width: 64em) {
  .team-items .film_item {
    grid-column: span 4;
  }
}
.about-stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--text);
}
.about-stat {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  padding: 1.5rem .75rem 1.5rem 0;
  border-bottom: 1px solid var(--line);
}
.about-stat:nth-child(even) {
  padding-left: .75rem;
  border-left: 1px solid var(--line);
}
.about-stat-value {
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: normal;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--text);
}
.about-stat-label {
  font-size: .625rem;
  line-height: 1.5;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-faint);
}
@media (min-width: 40em) {
  .about-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .about-stat,
  .about-stat:nth-child(even) {
    padding: 2rem 1.25rem 2.25rem;
    border-left: 1px solid var(--line);
  }
  .about-stat:first-child {
    padding-left: 0;
    border-left: 0;
  }
}
.about-timeline {
  list-style: none;
}
.about-milestone {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  column-gap: 1rem;
  row-gap: .375rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}
.about-milestone-year {
  font-size: .8125rem;
  line-height: 1.6;
  color: var(--text-faint);
  font-variant-numeric: tabular-nums;
}
.about-milestone-title {
  font-size: 1.125rem;
  line-height: 1.35;
}
.about-milestone-note {
  grid-column: 2;
  font-size: .875rem;
  line-height: 1.5;
  color: var(--text-muted);
}
a.about-milestone:hover .about-milestone-title {
  color: var(--accent);
}
@media (min-width: 40em) {
  .about-milestone {
    grid-template-columns: 5.5rem minmax(0, 1fr) minmax(0, 1.3fr);
    column-gap: 1.5rem;
    align-items: baseline;
    padding: 1.375rem 0;
  }
  .about-milestone-title {
    font-size: 1.3125rem;
  }
  .about-milestone-note {
    grid-column: auto;
  }
}

/*******************

    Pagination

********************/

.pagination ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
  margin-top: 3.5rem;
}
.pagination a,
.pagination span {
  display: block;
  min-width: 2.5rem;
  padding: .75rem;
  border: 1px solid var(--line);
  font-size: .6875rem;
  letter-spacing: .14em;
  text-align: center;
  text-transform: uppercase;
}
.pagination a:hover {
  color: var(--accent);
  border-color: var(--accent);
  background-color: transparent;
}
.pagination .current {
  border-color: var(--accent);
  color: var(--accent);
}

/*******************

    Forms

********************/

.footer-contact {
  padding: 1em 0;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}
.contact-cta {
  display: inline-block;
  padding: .75rem 1.25rem;
  border: 1px solid var(--accent);
  font-size: .6875rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.footer a.contact-cta {
  color: var(--accent);
}
.footer a.contact-cta:hover,
.footer a.contact-cta:focus-visible {
  color: white;
  border-color: white;
  background-color: transparent;
}
.wpcf7-form {
  width: 100%;
  max-width: 42rem;
  margin-top: 2rem;
}
.wpcf7-form p {
  text-align: left;
  font-size: 1rem;
  color: var(--text-muted);
}
.wpcf7-form p + p {
  margin-top: 1.5rem;
}
.wpcf7-form label {
  display: block;
  font-size: .9375rem;
  line-height: 1.5;
  color: var(--text);
}
.wpcf7-form-control-wrap {
  display: block;
  width: 100%;
  margin-top: .375rem;
}
.wpcf7-form-control {
  width: 100%;
  display: block;
  padding: .75rem 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background-color: transparent;
  font: inherit;
  font-size: 1.0625rem;
  letter-spacing: normal;
  text-transform: none;
  color: var(--text);
  transition: border-color .15s ease;
}
.wpcf7-form-control:focus {
  outline: none;
  border-bottom-color: var(--accent);
}
textarea.wpcf7-form-control {
  min-height: 8rem;
  resize: vertical;
}
.wpcf7-submit {
  appearance: none;
  -webkit-appearance: none;
  width: auto;
  padding: .875rem 1.5rem;
  border: 1px solid var(--line);
  background-color: transparent;
  color: var(--text);
  font-size: .6875rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  cursor: pointer;
}
.wpcf7-submit:hover {
  color: var(--accent);
  border-color: var(--accent);
  background-color: transparent;
}
.wpcf7-not-valid-tip {
  margin-top: .375rem;
  font-size: .75rem;
  color: var(--accent);
}
div.wpcf7-response-output {
  margin: 1.5rem 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  font-size: .875rem;
  color: var(--accent);
}
div.wpcf7-mail-sent-ok,
.wpcf7 form.sent .wpcf7-response-output {
  color: #2fa37f;
}
#captcha {
  margin: 1em 0;
  padding: 0;
}

/*******************

    Misc

********************/

#wpadminbar {
  position: fixed;
}
.mfp-figure > .mfp-close {
  display: none !important;
}
.pinch-error {
  margin: 1rem 0;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--accent);
  background-color: var(--surface);
  font: .875rem/1.5 ui-monospace, Menlo, monospace;
  color: var(--text);
  overflow-wrap: anywhere;
}
