@font-face {
  font-family: "DM Serif Display";
  src: url("assets/fonts/DMSerifDisplay-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Serif Display";
  src: url("assets/fonts/DMSerifDisplay-Italic.ttf") format("truetype");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Avenir Site";
  src: url("assets/fonts/Avenir-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Avenir Site";
  src: url("assets/fonts/Avenir-Book.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Avenir Site";
  src: url("assets/fonts/Avenir-Regular.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Avenir Site";
  src: url("assets/fonts/Avenir-Heavy.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Avenir Site";
  src: url("assets/fonts/Avenir-Heavy.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Avenir Site";
  src: url("assets/fonts/Avenir-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #ff6a00;
  --scrollbar-track: #ff6a00;
  --scrollbar-thumb: #ffffff;
  --hero-visible-height: calc(100svh - 138px);
  --paper: #101010;
  --panel: #101010;
  --ink: #ffffff;
  --muted: #d8d0c0;
  --line: #ffffff;
  --red: #f25238;
  --blue: #1267a6;
  --green: #1b7b54;
  --pink: #f2a7b5;
  --shadow: 8px 8px 0 var(--ink);
}

body.dark {
  color-scheme: dark;
  --bg: #121212;
  --paper: #101010;
  --panel: #101010;
  --ink: #ffffff;
  --muted: #d8d0c0;
  --line: #ffffff;
  --red: #ff715f;
  --blue: #63b7ff;
  --green: #63d49e;
  --pink: #ffb8c9;
  --shadow: 8px 8px 0 #000;
}

html.dark {
  --scrollbar-track: #101010;
  --scrollbar-thumb: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

::-webkit-scrollbar {
  width: 24px;
}

::-webkit-scrollbar-track {
  background: var(--scrollbar-track);
}

::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb);
  border: 4px solid var(--scrollbar-track);
  border-radius: 999px;
}

::-webkit-scrollbar-button {
  background: var(--scrollbar-track);
}

::-webkit-scrollbar-button:vertical:decrement {
  background:
    linear-gradient(135deg, transparent 50%, #ffffff 50%) 8px 9px / 8px 8px no-repeat,
    linear-gradient(225deg, transparent 50%, #ffffff 50%) 16px 9px / 8px 8px no-repeat,
    var(--scrollbar-track);
}

::-webkit-scrollbar-button:vertical:increment {
  background:
    linear-gradient(45deg, transparent 50%, #ffffff 50%) 8px 7px / 8px 8px no-repeat,
    linear-gradient(315deg, transparent 50%, #ffffff 50%) 16px 7px / 8px 8px no-repeat,
    var(--scrollbar-track);
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: "Avenir Site", Avenir, "Avenir Next", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.45;
}

a {
  color: inherit;
  text-decoration: none;
}

.nav-thoughts {
  display: none;
}

.custom-cursor {
  display: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 54px);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  border-bottom: 3px solid transparent;
  backdrop-filter: blur(12px);
}

.site-header.is-scrolled {
  border-color: var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  max-width: max-content;
  font-family: "DM Serif Display", Georgia, "Times New Roman", serif;
  font-size: clamp(1.1rem, 2vw, 1.8rem);
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
}

.brand-mark {
  width: clamp(46px, 5vw, 72px);
  height: clamp(46px, 5vw, 72px);
  object-fit: contain;
  mix-blend-mode: screen;
}

.mobile-header-hero-media {
  display: none;
}

.mobile-header-cta {
  display: none;
}

.site-nav {
  display: flex;
  gap: clamp(14px, 3vw, 34px);
  align-items: center;
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
}

.site-nav a,
.nav-item > a {
  border-bottom: 3px solid transparent;
}

.site-nav a:hover,
.nav-item > a:hover {
  border-color: var(--ink);
}

.nav-item {
  position: relative;
}

.subnav {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  z-index: 30;
  display: grid;
  min-width: 190px;
  padding: 10px;
  background: var(--panel);
  border: 3px solid var(--line);
  box-shadow: 6px 6px 0 var(--line);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.subnav a {
  padding: 10px 12px;
  border-bottom: 0;
  color: var(--ink);
  font-size: 0.86rem;
  white-space: nowrap;
}

.subnav a:hover,
.subnav a:focus-visible {
  background: var(--bg);
}

.has-subnav:hover .subnav,
.has-subnav:focus-within .subnav {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.site-nav .subnav {
  display: none;
}

.theme-toggle {
  min-height: 42px;
  padding: 0 16px;
  border: 3px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 4px 4px 0 var(--line);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.8fr);
  align-items: end;
  gap: clamp(34px, 6vw, 86px);
  min-height: var(--hero-visible-height);
  padding: 0 clamp(18px, 4vw, 54px) 0;
  border-bottom: 3px solid var(--line);
}

.proof-strip,
.contact,
.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
}

.hero-copy-block {
  display: grid;
  align-self: start;
  gap: 32px;
  padding-top: 60px;
  padding-bottom: clamp(18px, 4vh, 48px);
}

.hero-kicker {
  display: grid;
  gap: 32px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-kicker span:last-child {
  font-size: clamp(2.25rem, 4.5vw, 4.5rem);
  line-height: 1;
}

.hero-kicker span:first-child {
  font-family: "DM Serif Display", Georgia, "Times New Roman", serif;
  font-style: italic;
  text-transform: none;
}

.hero-bottom {
  display: grid;
  justify-items: start;
  gap: 32px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 1250px;
  margin-bottom: clamp(30px, 7vw, 90px);
  font-size: clamp(4rem, 13vw, 12.5rem);
  line-height: 0.84;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.8rem, 7.5vw, 8rem);
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.7rem, 3vw, 3.4rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.hero-bottom p {
  max-width: 620px;
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

.hero-bottom strong {
  font-weight: 900;
}

.style-list-trigger {
  position: relative;
  display: inline-block;
  cursor: help;
  outline: none;
}

.hero-description-intro-mobile {
  display: none;
}

.hero-description-gap {
  display: block;
  height: 1.45em;
}

.hero-description-second {
  display: inline;
}

.style-list-trigger strong em {
  font-family: "DM Serif Display", Georgia, "Times New Roman", serif;
  font-style: italic;
}

.style-list-panel {
  position: absolute;
  left: 0;
  top: calc(100% + 12px);
  z-index: 40;
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  gap: 8px 18px;
  min-width: min(520px, 80vw);
  padding: 16px;
  border: 3px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  box-shadow: 6px 6px 0 var(--line);
  font-size: 14px;
  font-style: normal;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.style-list-trigger:hover .style-list-panel,
.style-list-trigger:focus-visible .style-list-panel,
.style-list-trigger:focus-within .style-list-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.hero-media {
  position: relative;
  overflow: hidden;
  align-self: stretch;
  justify-self: end;
  width: calc(86.25% + clamp(18px, 4vw, 54px));
  margin-right: calc(clamp(18px, 4vw, 54px) * -1);
  min-height: var(--hero-visible-height);
  background: transparent;
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: contain;
  object-position: right bottom;
  mix-blend-mode: screen;
  animation: funkeeraLoop 9s ease-in-out infinite alternate;
}

@keyframes funkeeraLoop {
  from {
    transform: scale(1.02) translate3d(0, 1%, 0);
  }

  to {
    transform: scale(1.07) translate3d(1.5%, -1%, 0);
  }
}

.button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 3px solid var(--line);
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: var(--shadow);
}

.button.dark {
  background: var(--panel);
  color: var(--ink);
}

.proof-strip {
  position: relative;
  padding: 0;
  border-bottom: 3px solid var(--line);
  background: var(--paper);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
}

.proof-strip div {
  min-height: 120px;
  padding: 18px clamp(18px, 4vw, 54px);
  border-right: 3px solid var(--line);
}

.proof-strip div:last-child {
  border-right: 0;
}

.proof-strip strong {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(1.1rem, 2vw, 1.8rem);
  line-height: 1;
  text-transform: uppercase;
}

.proof-strip span {
  display: block;
  max-width: 360px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.manifesto,
.work-section,
.skills-band,
.notes-section,
.quote-band,
.contact {
  position: relative;
  padding: clamp(58px, 9vw, 120px) clamp(18px, 4vw, 54px);
  border-bottom: 3px solid var(--line);
}

.manifesto {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 5vw, 64px);
  padding-block: clamp(23px, 3.6vw, 48px);
  background: var(--paper);
}

.work-section {
  padding-top: 60px;
}

.manifesto-copy {
  max-width: none;
}

.eyebrow {
  margin-bottom: 18px;
  font-size: 22px;
  font-weight: 900;
  text-transform: uppercase;
}

.about-lead {
  margin: 0 0 18px;
  color: var(--ink);
  font-family: "DM Serif Display", Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-style: italic;
  font-weight: 700;
  line-height: 1;
}

.about-marquee {
  overflow: hidden;
  width: calc(100% + (clamp(18px, 4vw, 54px) * 2));
  margin-left: calc(clamp(18px, 4vw, 54px) * -1);
  border-top: 3px solid var(--line);
  border-bottom: 3px solid var(--line);
  white-space: nowrap;
}

.about-marquee-track {
  display: flex;
  width: max-content;
  animation: aboutMarquee 18s linear infinite;
}

.about-marquee-track span {
  padding: 18px 0;
  margin-right: 0.35em;
  font-size: clamp(2.25rem, 4.5vw, 4.5rem);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

@keyframes aboutMarquee {
  from {
    transform: translateX(-33.333%);
  }

  to {
    transform: translateX(0);
  }
}

.hero-kicker span:first-child,
.work-meta p,
.notes-list span,
.quote-band span,
.quote-grid span {
  font-size: 22px;
}

.hero-kicker span:first-child {
  font-size: 28px;
}

.manifesto-copy > p:not(.eyebrow):not(.about-lead) {
  max-width: 720px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 20px;
  font-weight: 700;
}

.manifesto-copy > p.resume-sentence {
  max-width: none;
  white-space: nowrap;
}

.resume-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 18px;
  border: 3px solid var(--line);
  border-radius: 0;
  background: var(--panel);
  color: var(--ink);
  font: inherit;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: var(--shadow);
}

.resume-link img {
  width: 1em;
  height: 1em;
  object-fit: contain;
  display: block;
  filter: invert(1);
}

.text-link {
  display: inline-block;
  margin-top: 20px;
  border-bottom: 3px solid var(--line);
  font-weight: 900;
  text-transform: uppercase;
}

.poster-stack {
  position: relative;
  min-height: 520px;
}

.poster,
.poster-label {
  position: absolute;
  border: 3px solid var(--line);
  box-shadow: var(--shadow);
}

.poster-one {
  inset: 0 12% 18% 0;
  background:
    linear-gradient(90deg, var(--ink) 10px, transparent 10px 36px) 0 0 / 46px 100%,
    linear-gradient(135deg, var(--red), var(--pink));
  transform: rotate(-4deg);
}

.poster-two {
  inset: 20% 0 0 20%;
  background:
    radial-gradient(circle at 32% 30%, var(--paper) 0 11%, transparent 12%),
    radial-gradient(circle at 68% 66%, var(--ink) 0 15%, transparent 16%),
    linear-gradient(135deg, var(--green), var(--blue));
  transform: rotate(6deg);
}

.poster-label {
  right: 8%;
  bottom: 6%;
  max-width: 220px;
  padding: 16px;
  background: var(--bg);
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  transform: rotate(-2deg);
}

.section-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  margin-bottom: clamp(30px, 6vw, 72px);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.work-title-block {
  margin-bottom: 32px;
}

.work-card {
  position: relative;
  display: grid;
  grid-template-rows: minmax(280px, 45vw) auto;
  min-height: 100%;
  border: 3px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.work-card.media-card {
  grid-template-rows: auto auto;
}

.work-card.feature {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  grid-template-rows: auto;
}

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

.work-image {
  min-height: 340px;
  border-bottom: 3px solid var(--line);
}

.feature .work-image {
  min-height: 560px;
  border-right: 3px solid var(--line);
  border-bottom: 0;
}

.work-video-frame {
  position: relative;
  overflow: hidden;
}

.feature .work-video-frame {
  min-height: 0;
  aspect-ratio: 3884 / 2134;
}

.work-media-16x9 {
  min-height: 0;
  aspect-ratio: 16 / 9;
}

.work-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.film-image {
  background:
    linear-gradient(90deg, rgba(16, 16, 16, 0.9) 13px, transparent 13px 50px) 0 0 / 64px 100%,
    linear-gradient(145deg, #111, var(--red) 58%, var(--bg));
}

.brand-image {
  background:
    linear-gradient(135deg, transparent 0 38%, rgba(255, 255, 255, 0.34) 38% 56%, transparent 56%),
    repeating-linear-gradient(0deg, rgba(16, 16, 16, 0.16) 0 4px, transparent 4px 18px),
    linear-gradient(135deg, var(--blue), var(--green));
}

.art-image {
  background:
    radial-gradient(circle at 20% 22%, var(--paper) 0 8%, transparent 9%),
    radial-gradient(circle at 75% 45%, var(--ink) 0 13%, transparent 14%),
    radial-gradient(circle at 42% 76%, var(--bg) 0 10%, transparent 11%),
    linear-gradient(135deg, var(--pink), var(--red));
}

.work-meta {
  padding: clamp(22px, 4vw, 40px);
}

.work-card.feature .work-meta {
  position: relative;
  padding-right: clamp(86px, 7vw, 112px);
}

.work-meta p {
  margin-bottom: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.work-card.feature .work-meta p,
.work-card.media-card .work-meta p {
  max-width: 620px;
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  text-transform: none;
}

.work-card.feature .work-meta h3 {
  font-size: clamp(2rem, 3.2vw, 3.5rem);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.work-expand-toggle {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 4;
  display: inline-grid;
  width: 86px;
  height: 86px;
  place-items: center;
  border: 3px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 3.6rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--line);
}

.work-expand-toggle[aria-expanded="true"] span[aria-hidden="true"] {
  animation: none;
  transform: rotate(45deg);
}

.work-expand-toggle span[aria-hidden="true"] {
  animation: expandPlusPulse 2s ease-in-out infinite;
  transition: transform 280ms ease;
}

@keyframes expandPlusPulse {
  0%,
  78%,
  100% {
    transform: scale(1) rotate(0deg);
  }

  84% {
    transform: scale(1.14) rotate(0deg);
  }

  90% {
    transform: scale(0.96) rotate(0deg);
  }
}

.work-expanded-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  padding: 0 18px;
  border-top: 0 solid var(--line);
  background: var(--paper);
  opacity: 0;
  transition: grid-template-rows 420ms ease, padding 420ms ease, border-top-width 420ms ease, opacity 280ms ease;
}

.work-expanded-strip.is-expanded {
  grid-template-rows: 1fr;
  padding: 18px;
  border-top-width: 3px;
  opacity: 1;
}

.work-expanded-media {
  display: flex;
  gap: 16px;
  min-height: 0;
  overflow-x: scroll;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-color: var(--ink) var(--panel);
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.work-expanded-media::-webkit-scrollbar {
  display: block;
  height: 10px;
}

.work-expanded-media::-webkit-scrollbar-track {
  background: var(--panel);
}

.work-expanded-media::-webkit-scrollbar-thumb {
  background: var(--ink);
  border: 2px solid var(--panel);
  border-radius: 999px;
}

.work-expanded-media img {
  flex: 0 0 min(18vw, 216px);
  height: clamp(180px, 24vw, 282px);
  border: 0;
  object-fit: contain;
  background: var(--ink);
  scroll-snap-align: start;
}

.work-meta ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.work-meta li,
.skill-list span {
  padding: 8px 10px;
  border: 3px solid var(--line);
  background: var(--bg);
  font-weight: 900;
  text-transform: uppercase;
}

.skills-band {
  background: var(--paper);
}

.skills-band-video {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.8fr);
  align-items: end;
  gap: clamp(34px, 6vw, 86px);
  isolation: isolate;
  overflow: hidden;
  min-height: calc(var(--hero-visible-height) * 1.15);
  padding: 0 clamp(18px, 4vw, 54px);
}

.skills-band-video::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgb(16 16 16 / 58%);
  content: "";
}

.skills-backdrop-video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.skills-backdrop-content {
  position: relative;
  z-index: 1;
}

.skills-expand-toggle {
  position: static;
  width: 56px;
  height: 56px;
  margin: 0;
  align-self: center;
  justify-self: start;
  font-size: 2.35rem;
  grid-column: 1;
  grid-row: 3;
}

.skills-band-video .hero-bottom {
  grid-template-columns: auto auto;
  align-items: center;
  justify-content: start;
  column-gap: 0;
}

.skills-band-video .hero-bottom p,
.skills-band-video .festival-marks,
.skills-band-video .skills-control-row,
.skills-band-video .media-credit {
  grid-column: 1 / -1;
}

.skills-control-row {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  gap: 3px;
}

.skills-control-row .trailer-button {
  margin: 0;
}

.skills-expanded-strip {
  position: relative;
  z-index: 1;
}

.skills-expanded-content {
  min-height: 0;
  overflow: hidden;
}

.skills-expanded-media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  width: 100%;
  max-width: 100%;
  overflow: visible;
  overscroll-behavior-x: auto;
  scroll-snap-type: none;
  scrollbar-width: none;
}

.skills-expanded-media::-webkit-scrollbar {
  display: none;
}

.skills-expanded-media .skills-expanded-item,
.skills-expanded-media .skills-media-slot {
  width: 100%;
  height: clamp(180px, 24vw, 282px);
  aspect-ratio: 16 / 9;
  border: 0;
  background: var(--panel);
  scroll-snap-align: start;
}

.skills-expanded-media .skills-expanded-feature {
  grid-column: 1 / -1;
  height: clamp(240px, 32vw, 376px);
}

.skills-expanded-item {
  display: block;
  object-fit: contain;
}

.skills-stills-gallery {
  display: flex;
  gap: 16px;
  width: 100%;
  margin-top: 18px;
  padding-bottom: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-color: var(--ink) var(--panel);
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.skills-stills-gallery::-webkit-scrollbar {
  height: 10px;
}

.skills-stills-gallery::-webkit-scrollbar-track {
  background: var(--panel);
}

.skills-stills-gallery::-webkit-scrollbar-thumb {
  background: var(--ink);
  border: 2px solid var(--panel);
  border-radius: 999px;
}

.stills-item {
  position: relative;
  flex: 0 0 min(29vw, 380px);
  height: clamp(90px, 14vw, 190px);
  margin: 0;
  background: var(--panel);
  scroll-snap-align: start;
}

.skills-stills-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: var(--panel);
  object-fit: cover;
}

.festival-marks {
  display: grid;
  width: min(100%, 620px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 24px;
}

.oscars-wordmark {
  display: block;
  width: min(100%, 208px);
  height: auto;
  filter: brightness(0) invert(1);
}

.annecy-wordmark {
  display: block;
  width: min(100%, 208px);
  height: auto;
}

.cannes-feature-mark {
  display: grid;
  width: 100%;
  justify-items: center;
  gap: 6px;
}

.cannes-feature-mark img {
  display: block;
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
}

.cannes-feature-mark span {
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.trailer-button {
  margin-top: 0;
}

.hero-bottom .media-credit {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
}

.skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.notes-list {
  display: grid;
  border-top: 3px solid var(--line);
}

.notes-list a {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 24px;
  padding: 24px 0;
  border-bottom: 3px solid var(--line);
}

.notes-list span {
  font-weight: 900;
  text-transform: uppercase;
}

.notes-list strong {
  font-size: clamp(1.3rem, 3vw, 3rem);
  line-height: 1;
  text-transform: uppercase;
}

.quote-band {
  background: var(--panel);
  color: var(--ink);
}

.quote-band p {
  max-width: 1150px;
  margin-bottom: 24px;
  font-size: clamp(2.2rem, 6vw, 6.5rem);
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
}

.quote-band span {
  font-weight: 900;
  text-transform: uppercase;
}

.kind-words {
  position: relative;
  padding: clamp(58px, 9vw, 120px) clamp(18px, 4vw, 54px);
  border-bottom: 3px solid var(--line);
  background: var(--paper);
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.quote-grid article {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(22px, 4vw, 36px);
  border: 3px solid var(--line);
  background: var(--bg);
  box-shadow: var(--shadow);
}

.quote-grid p {
  margin-bottom: 32px;
  font-size: clamp(1.5rem, 3vw, 2.6rem);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.quote-grid span {
  font-weight: 900;
  text-transform: uppercase;
}

.contact {
  background: var(--paper);
  grid-template-columns: minmax(0, 0.75fr) minmax(260px, 0.67fr);
  align-items: center;
  justify-items: start;
}

.contact-content {
  display: grid;
  gap: 32px;
}

.contact-copy {
  max-width: 900px;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
  min-width: 0;
}

.contact-links a {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 16px;
  border: 3px solid var(--line);
  background: var(--bg);
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 4px 4px 0 var(--line);
}

.contact-links img {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.contact-media {
  justify-self: end;
  width: min(40.8vw, 516px);
}

.contact-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.site-footer {
  position: relative;
  padding: 24px clamp(18px, 4vw, 54px);
  font-weight: 900;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  justify-content: flex-end;
}

.footer-links a {
  border-bottom: 3px solid transparent;
}

.footer-links a:hover {
  border-color: var(--line);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (pointer: fine) and (hover: hover) {
  body.cursor-enabled,
  body.cursor-enabled a,
  body.cursor-enabled button,
  body.cursor-enabled [data-cursor] {
    cursor: none;
  }

  .custom-cursor {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: block;
    pointer-events: none;
    opacity: 0;
    transition: opacity 160ms ease;
  }

  body.cursor-enabled .custom-cursor {
    opacity: 1;
  }

  .cursor-dot,
  .cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    will-change: transform;
  }

  .cursor-dot {
    width: 9px;
    height: 9px;
    border: 2px solid var(--line);
    background: var(--paper);
    border-radius: 50%;
    transform: translate3d(var(--cursor-x, 50vw), var(--cursor-y, 50vh), 0) translate(-50%, -50%);
  }

  .cursor-ring {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 3px solid var(--line);
    border-radius: 50%;
    background: var(--paper);
    color: var(--ink);
    font-size: 0.5rem;
    font-weight: 900;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
    box-shadow: 3px 3px 0 var(--line);
    transform: translate3d(var(--cursor-ring-x, 50vw), var(--cursor-ring-y, 50vh), 0) translate(-50%, -50%) scale(0.64) rotate(-6deg);
    transition: width 160ms ease, height 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
  }

  .cursor-ring span {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 120ms ease, transform 120ms ease;
  }

  body.cursor-active .cursor-ring {
    width: 48px;
    height: 48px;
    background: var(--bg);
    color: var(--ink);
    transform: translate3d(var(--cursor-ring-x, 50vw), var(--cursor-ring-y, 50vh), 0) translate(-50%, -50%) scale(1) rotate(-6deg);
  }

  body.cursor-active .cursor-ring span {
    opacity: 1;
    transform: scale(1);
  }

  body.cursor-pressed .cursor-ring {
    transform: translate3d(var(--cursor-ring-x, 50vw), var(--cursor-ring-y, 50vh), 0) translate(-50%, -50%) scale(0.86) rotate(-6deg);
  }
}

@media (max-width: 980px) {
  .site-header,
  .manifesto,
  .contact,
  .site-footer,
  .work-card.feature,
  .quote-grid {
    grid-template-columns: 1fr;
  }

  .site-nav {
    justify-content: space-between;
  }

  .feature .work-image {
    min-height: 380px;
    border-right: 0;
    border-bottom: 3px solid var(--line);
  }

  .feature .work-video-frame {
    min-height: 0;
    aspect-ratio: 3884 / 2134;
  }

  .poster-stack {
    min-height: 360px;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .contact-media {
    justify-self: start;
    width: min(72vw, 360px);
  }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) minmax(120px, 42vw);
    grid-template-rows: 1fr auto auto auto 1fr;
    align-items: start;
    min-height: 300px;
    gap: 16px 12px;
    padding-bottom: 0;
    overflow: hidden;
  }

  .brand {
    position: relative;
    z-index: 2;
    grid-column: 1;
    grid-row: 2;
    align-self: end;
    padding-top: 10px;
    font-size: clamp(1.848rem, 3.36vw, 3.024rem);
    line-height: calc(1em + 2px);
    transform: translateX(-14px);
  }

  .brand-mark {
    width: clamp(64.4px, 7vw, 100.8px);
    height: clamp(64.4px, 7vw, 100.8px);
  }

  .mobile-header-hero-media {
    display: block;
    grid-column: 2;
    grid-row: 1 / -1;
    align-self: stretch;
    justify-self: end;
    width: calc(42vw + clamp(18px, 4vw, 54px));
    margin-right: calc(clamp(18px, 4vw, 54px) * -1);
    min-height: 100%;
    pointer-events: none;
  }

  .mobile-header-hero-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: right bottom;
    mix-blend-mode: normal;
  }

  .site-nav {
    position: relative;
    z-index: 2;
    grid-column: 1;
    grid-row: 3;
    align-self: start;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 8px;
    width: max-content;
    overflow: visible;
    padding-bottom: 0;
  }

  .mobile-header-cta {
    position: relative;
    z-index: 2;
    grid-column: 1;
    grid-row: 4;
    align-self: start;
    justify-self: start;
    display: inline-flex;
    min-height: 42px;
    padding: 0 16px;
  }

  .theme-toggle {
    display: none;
  }

  main,
  .site-footer {
    font-size: 12.8px;
  }

  main {
    display: flex;
    flex-direction: column;
  }

  main h1 {
    font-size: clamp(3.2rem, 10.4vw, 10rem);
  }

  main h2 {
    font-size: clamp(2.24rem, 6vw, 6.4rem);
  }

  main h3 {
    font-size: clamp(1.36rem, 2.4vw, 2.72rem);
  }

  .hero-bottom p,
  .manifesto-copy > p:not(.eyebrow):not(.about-lead),
  .work-card.feature .work-meta p,
  .work-card.media-card .work-meta p {
    font-size: 16px;
  }

  .hero-kicker span:first-child,
  .work-meta p,
  .notes-list span,
  .quote-band span,
  .quote-grid span {
    font-size: 17.6px;
  }

  .eyebrow,
  .about-lead {
    font-size: 22.4px;
  }

  .proof-strip strong {
    font-size: clamp(0.88rem, 1.6vw, 1.44rem);
  }

  .work-card.feature .work-meta h3 {
    font-size: clamp(1.6rem, 2.56vw, 2.8rem);
  }

  .notes-list strong {
    font-size: clamp(1.04rem, 2.4vw, 2.4rem);
  }

  .quote-band p {
    font-size: clamp(1.76rem, 4.8vw, 5.2rem);
  }

  .quote-grid p {
    font-size: clamp(1.2rem, 2.4vw, 2.08rem);
  }

  .proof-strip span {
    font-size: 0.72rem;
  }

  .style-note {
    font-size: 11.2px;
  }

  .cannes-feature-mark span {
    font-size: 0.576rem;
  }

  .hero-bottom .media-credit {
    font-size: 11.2px;
  }

  .work-expand-toggle {
    width: 56px;
    height: 56px;
    font-size: 2.35rem;
  }

  .hero,
  .skills-band-video {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero {
    min-height: auto;
    isolation: isolate;
    overflow: hidden;
    background: var(--bg);
  }

  .hero::before,
  .hero::after {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
  }

  .hero::before {
    z-index: -2;
    background-image: url("assets/funkeera-mobile-portfolio-bg.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 130% auto;
  }

  .hero::after {
    z-index: -1;
    background:
      radial-gradient(circle at center, rgb(0 0 0 / 32%) 0 42%, rgb(0 0 0 / 58%) 100%),
      linear-gradient(180deg, rgb(0 0 0 / 28%), rgb(0 0 0 / 52%));
  }

  .proof-strip,
  .work-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy-block {
    position: static;
    z-index: auto;
    gap: 17px;
    padding-top: 26px;
  }

  .hero .hero-copy-block {
    position: relative;
    z-index: 1;
    justify-items: center;
    text-align: center;
  }

  .hero .hero-kicker,
  .hero .hero-bottom {
    justify-items: center;
    text-align: center;
  }

  .hero .hero-kicker span:first-child {
    font-size: clamp(2.25rem, 4.5vw, 4.5rem);
  }

  .hero .hero-kicker span:last-child {
    display: none;
  }

  .hero .hero-bottom p {
    width: min(100%, 320px);
    margin-inline: auto;
    padding-inline: 16px;
    padding-bottom: 8px;
  }

  .hero .hero-description-intro-desktop {
    display: none;
  }

  .hero .hero-description-intro-mobile {
    display: inline;
  }

  .hero .hero-description-gap {
    height: 0.87em;
  }

  .hero .style-list-trigger {
    cursor: inherit;
    pointer-events: none;
  }

  .hero .style-list-trigger > span[aria-hidden="true"],
  .hero .style-list-panel {
    display: none;
  }

  .hero-media {
    display: none;
  }

  .hero .hero-bottom .button {
    display: none;
  }

  .skills-band-video .hero-bottom {
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }

  .skills-band-video .hero-bottom p,
  .skills-band-video .festival-marks,
  .skills-band-video .skills-control-row,
  .skills-band-video .media-credit {
    grid-column: 1 / -1;
  }

  .skills-band-video .skills-control-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0;
  }

  .skills-band-video .trailer-button {
    grid-column: 1;
    grid-row: 1;
    display: inline-flex;
    height: 56px;
  }

  .skills-expand-toggle {
    position: static;
    grid-column: 3;
    grid-row: 1;
    align-self: center;
    justify-self: end;
    margin: 0;
    width: 56px;
    height: 56px;
  }

  .hero-media img {
    object-position: right bottom;
  }

  .manifesto {
    order: -1;
    display: block;
    min-height: auto;
    padding: 13px 18px 18px;
    margin-top: 0;
    border-top: 3px solid var(--line);
    background: var(--paper);
  }

  .manifesto-copy {
    display: grid;
    gap: 10px;
    max-width: 100%;
  }

  .about-lead {
    margin: 0;
    font-size: 17.6px;
  }

  .skills-band-video .hero-kicker span:first-child,
  .work-title-block.hero-kicker span:first-child,
  .contact-copy.hero-kicker span:first-child {
    font-size: 26.4px;
  }

  .contact-copy.hero-kicker span:last-child {
    max-width: 340px;
    font-size: clamp(2.05rem, 7.4vw, 2.45rem);
  }

  .about-marquee {
    width: 100%;
    margin-left: 0;
    background: var(--paper);
    color: var(--ink);
  }

  .about-marquee-track span {
    padding: 14px 0;
    font-size: clamp(2.25rem, 4.5vw, 4.5rem);
  }

  .manifesto-copy > p.resume-sentence {
    display: none;
  }

  .resume-link {
    min-height: 42px;
    padding: 0 14px;
  }

  .contact-links {
    gap: 8px;
  }

  .contact-links a {
    gap: 7px;
    padding: 10px;
    font-size: 0.7em;
  }

  .contact-links img {
    width: 22px;
    height: 22px;
  }

  .work-section,
  .contact {
    padding-top: 30px;
  }

  .proof-strip div {
    min-height: 130px;
    border-right: 0;
    border-bottom: 3px solid var(--line);
  }

  .proof-strip div:last-child {
    border-bottom: 0;
  }

  .notes-list a {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (min-width: 757px) {
  .mobile-header-cta {
    display: none;
  }
}

@media (min-width: 761px) {
  :root {
    --hero-visible-height: calc((100svh - 138px) * 0.75);
  }

  .hero,
  .hero-media {
    height: calc(var(--hero-visible-height) * 1.388625);
    min-height: 0;
  }

  .hero {
    overflow: hidden;
  }

  .hero .hero-copy-block {
    margin-top: -40px;
  }

  .hero-media img {
    min-height: 0;
  }

  .brand {
    font-size: clamp(1.76rem, 3.2vw, 2.88rem);
  }

  .hero-kicker span:first-child,
  .about-lead {
    font-size: 31.36px;
  }

  .hero .hero-kicker span:first-child,
  .skills-band-video .hero-kicker span:first-child,
  .work-title-block.hero-kicker span:first-child,
  .contact-copy.hero-kicker span:first-child {
    font-size: 37.632px;
  }

  .hero .hero-bottom .button,
  .skills-control-row .trailer-button {
    min-height: 86px;
  }

  .skills-expand-toggle {
    width: 86px;
    height: 86px;
    font-size: 3.6rem;
  }

}

@media (max-width: 520px) {
  h1 {
    font-size: 2.8rem;
  }

  h2 {
    font-size: 2.08rem;
  }

  .work-card {
    grid-template-rows: minmax(230px, 70vw) auto;
  }

  .work-card.media-card {
    grid-template-rows: auto auto;
  }
}
