@font-face {
  font-family: "Comfortaa";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/fonts/comfortaa-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Comfortaa";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/fonts/comfortaa-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Courier Prime";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/courier-prime-regular-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Courier Prime";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/courier-prime-regular-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Courier Prime";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/courier-prime-bold-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Courier Prime";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/courier-prime-bold-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  --bg: #050505;
  --fg: #f4f4f0;
  --muted: #a2a29b;
  --dim: #6f706b;
  --line: rgba(244, 244, 240, 0.18);
  --panel: #10100f;
  --accent: #d7ff45;
  --max: 1680px;
  --pad: clamp(18px, 3vw, 48px);
  --font-brand: "Comfortaa", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-script: "Courier Prime", "Courier New", Courier, monospace;
  font-family: var(--font-brand);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-brand);
  letter-spacing: 0;
}

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

img,
video {
  display: block;
  max-width: 100%;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px var(--pad);
  color: var(--fg);
  overflow: visible;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 0;
  height: clamp(140px, 18svh, 260px);
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(5, 5, 5, 0.7) 0%,
    rgba(5, 5, 5, 0.58) 18%,
    rgba(5, 5, 5, 0.42) 38%,
    rgba(5, 5, 5, 0.24) 58%,
    rgba(5, 5, 5, 0.11) 76%,
    rgba(5, 5, 5, 0.035) 90%,
    rgba(5, 5, 5, 0) 100%
  );
}

.site-header.is-scrolled::before {
  background: linear-gradient(
    to bottom,
    rgba(5, 5, 5, 0.76) 0%,
    rgba(5, 5, 5, 0.62) 18%,
    rgba(5, 5, 5, 0.46) 38%,
    rgba(5, 5, 5, 0.27) 58%,
    rgba(5, 5, 5, 0.12) 76%,
    rgba(5, 5, 5, 0.04) 90%,
    rgba(5, 5, 5, 0) 100%
  );
}

.brand {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  width: clamp(78px, 7vw, 122px);
  line-height: 1;
}

.brand__logo {
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
}

.brand__logo {
  transition: opacity 160ms ease;
}

.brand:hover .brand__logo {
  opacity: 0.72;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: clamp(14px, 2vw, 30px);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.site-nav {
  position: relative;
  z-index: 1;
}

.site-nav a,
.site-footer a,
.text-link {
  color: var(--fg);
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-footer a:hover,
.text-link:hover {
  color: var(--accent);
}

.work-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 5, 5, 0.74), rgba(5, 5, 5, 0.04) 48%, rgba(5, 5, 5, 0.18));
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-family: var(--font-script);
  font-size: 12px;
  line-height: 1;
  text-transform: uppercase;
}

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

.work-section,
.about-story,
.about-clients,
.about-awards,
.about-copy,
.about-grid,
.project-shell,
.not-found {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.work-section {
  width: 100%;
  max-width: none;
  padding: 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.section-head h2 {
  font-size: clamp(24px, 4vw, 52px);
  line-height: 0.96;
}

.section-head p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
  text-align: right;
}

.work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.work-card {
  position: relative;
  display: block;
  min-width: 0;
  min-height: 50svh;
  background: #000;
  overflow: hidden;
}

.work-card__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #111;
}

.work-card__media img,
.work-card__media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 180ms ease, transform 600ms ease;
}

.work-card__media video {
  opacity: 1;
}

.work-card:hover .work-card__media img,
.work-card:focus-within .work-card__media img {
  transform: scale(1.035);
}

.work-card__text {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  padding: clamp(96px, 10vw, 150px) var(--pad) clamp(48px, 7vw, 96px);
  color: var(--fg);
  text-align: center;
}

.work-card__text h2 {
  font-size: clamp(20px, 2.8vw, 48px);
  font-weight: 700;
  line-height: 1.05;
}

.work-card__text p,
.work-card__text span {
  margin-top: 16px;
  color: var(--fg);
  font-family: var(--font-script);
  font-size: clamp(13px, 1.35vw, 21px);
  font-weight: 700;
  line-height: 1.1;
}

.project-shell {
  padding-top: clamp(86px, 10vw, 128px);
  padding-bottom: clamp(44px, 7vw, 92px);
}

.project-player {
  background: #000;
  border: 1px solid var(--line);
}

.project-player__video {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: calc(100svh - 150px);
  object-fit: contain;
  background: #000;
}

.reel-note {
  max-width: 920px;
  margin: 0 auto;
  color: var(--fg);
  font-family: var(--font-brand);
  font-size: clamp(14px, 1.05vw, 18px);
  line-height: 1.45;
  text-align: center;
}

.reel-note--intro {
  margin-bottom: clamp(20px, 3vw, 42px);
}

.reel-page .project-shell {
  padding-bottom: clamp(28px, 4vw, 56px);
}

.reel-work {
  width: 100%;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

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

.reel-work-grid .work-card {
  grid-column: span 2;
  min-height: 33.333svh;
  outline: 1px solid rgba(244, 244, 240, 0.12);
  outline-offset: -1px;
}

.reel-work-grid .work-card--span-2 {
  grid-column: span 4;
}

.reel-work-grid .work-card--span-3 {
  grid-column: 1 / -1;
}

.reel-work-grid .work-card__text {
  padding: clamp(34px, 4vw, 64px) clamp(18px, 2vw, 32px);
}

.reel-work-grid .work-card__text h2 {
  font-size: clamp(15px, 1.4vw, 24px);
}

.reel-work-grid .work-card__text p,
.reel-work-grid .work-card__text span {
  margin-top: 8px;
  font-size: clamp(11px, 0.8vw, 13px);
}

.project-meta {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: clamp(28px, 7vw, 96px);
  padding: clamp(24px, 5vw, 58px) 0;
  border-bottom: 1px solid var(--line);
}

.project-meta h1,
.not-found h1 {
  font-size: clamp(42px, 7vw, 104px);
  font-weight: 700;
  line-height: 0.92;
}

.project-meta__subtitle {
  margin-top: 16px;
  color: var(--muted);
  font-family: var(--font-script);
  font-size: clamp(17px, 1.8vw, 26px);
  line-height: 1.2;
}

.credit-grid {
  display: grid;
  gap: 14px;
  margin: 0;
}

.credit-grid div {
  display: grid;
  grid-template-columns: minmax(120px, 0.75fr) minmax(0, 1fr);
  gap: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(244, 244, 240, 0.12);
}

.credit-grid dt {
  color: var(--dim);
  font-family: var(--font-script);
  font-size: 12px;
  text-transform: uppercase;
}

.credit-grid dd {
  margin: 0;
  color: var(--fg);
  font-family: var(--font-script);
  font-size: 15px;
  line-height: 1.25;
}

.project-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  margin-top: clamp(24px, 5vw, 58px);
  border: 1px solid var(--line);
}

.project-nav__item {
  position: relative;
  overflow: hidden;
  display: grid;
  min-height: clamp(150px, 18vw, 260px);
  align-content: end;
  padding: 18px;
  background: var(--bg);
}

.project-nav__item--index {
  align-content: center;
  text-align: center;
}

.project-nav__item:nth-child(3) {
  text-align: right;
}

.project-nav__media,
.project-nav__media img,
.project-nav__media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.project-nav__media img,
.project-nav__media video {
  object-fit: cover;
}

.project-nav__media video {
  opacity: 1;
}

.project-nav__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 5, 5, 0.86), rgba(5, 5, 5, 0.2));
}

.project-nav__content {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 8px;
}

.project-nav__label {
  color: var(--dim);
  font-family: var(--font-script);
  font-size: 12px;
  text-transform: uppercase;
}

.project-nav strong {
  color: var(--fg);
  font-size: clamp(17px, 1.6vw, 26px);
  line-height: 1.08;
}

.about-story {
  display: grid;
  gap: clamp(34px, 5vw, 82px);
  padding-top: clamp(116px, 12vw, 168px);
  padding-bottom: clamp(46px, 7vw, 96px);
}

.about-definition {
  display: grid;
  justify-items: center;
  text-align: center;
}

.about-definition h1 {
  font-size: clamp(38px, 6.6vw, 108px);
  font-weight: 700;
  line-height: 0.96;
}

.about-definition h1 span {
  display: inline-block;
  margin-left: clamp(10px, 1.5vw, 26px);
  color: var(--muted);
  font-family: var(--font-script);
  font-weight: 700;
  font-size: 0.3em;
  vertical-align: middle;
}

.about-definition p {
  margin-top: 16px;
  color: var(--muted);
  font-family: var(--font-script);
  font-size: clamp(16px, 1.5vw, 22px);
  line-height: 1.1;
}

.about-definition p + p {
  margin-top: 8px;
}

.about-media {
  margin: 0;
  overflow: hidden;
  background: #000;
}

.about-media img {
  width: 100%;
  height: auto;
}

.about-copy {
  display: grid;
  gap: 1em;
  max-width: 1040px;
  padding-top: clamp(28px, 5vw, 72px);
  padding-bottom: clamp(28px, 5vw, 72px);
}

.about-copy p {
  color: var(--fg);
  font-family: var(--font-script);
  font-size: clamp(18px, 2.15vw, 34px);
  line-height: 1.22;
}

.about-copy--lead {
  padding-top: 0;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.about-copy--closing {
  margin-right: auto;
  margin-left: auto;
}

.about-copy--closing p:last-child {
  margin-top: clamp(18px, 3vw, 38px);
  color: var(--muted);
  font-size: clamp(15px, 1.4vw, 22px);
}

.about-clients,
.about-awards {
  padding-top: clamp(36px, 7vw, 90px);
  padding-bottom: clamp(36px, 7vw, 90px);
  border-top: 1px solid var(--line);
}

.about-clients h2,
.about-awards h2 {
  margin-bottom: clamp(24px, 4vw, 52px);
  color: var(--muted);
  font-family: var(--font-script);
  font-size: 12px;
  line-height: 1;
  text-transform: uppercase;
}

.about-clients img {
  width: min(100%, 1180px);
  margin: 0 auto;
}

.awards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(12px, 1.6vw, 24px);
}

.awards-grid img {
  width: 100%;
  height: auto;
  background: var(--panel);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  padding-bottom: clamp(60px, 10vw, 120px);
}

.about-grid > div {
  min-height: 190px;
  padding: 18px;
  background: var(--panel);
}

.about-grid h2 {
  margin-bottom: 20px;
  color: var(--dim);
  font-family: var(--font-script);
  font-size: 12px;
  text-transform: uppercase;
}

.about-grid p,
.about-grid a {
  color: var(--fg);
  font-family: var(--font-script);
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1.1;
}

.not-found {
  min-height: 72svh;
  display: grid;
  align-content: center;
  gap: 18px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(18px, 4vw, 64px);
  align-items: center;
  min-height: clamp(96px, 12svh, 132px);
  padding: 20px var(--pad);
  border-top: 1px solid var(--line);
  color: var(--fg);
  font-family: var(--font-script);
  font-size: clamp(12px, 0.9vw, 15px);
  line-height: 1.35;
  text-transform: lowercase;
}

.site-footer__links {
  display: grid;
  gap: 8px;
  grid-column: 3;
  grid-row: 1;
  justify-items: end;
  text-align: right;
  text-transform: lowercase;
}

.site-footer__brand {
  display: inline-flex;
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  width: clamp(42px, 4vw, 62px);
  margin: 0;
  color: var(--fg);
}

.site-footer__brand .brand__logo {
  width: 100%;
}

.site-footer a {
  color: var(--fg);
}

.site-footer a:hover {
  color: var(--muted);
}

.has-video-error video {
  display: none;
}

@media (max-width: 980px) {
  .project-meta,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .reel-work-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .reel-work-grid .work-card {
    grid-column: span 2;
    min-height: 40svh;
  }

  .reel-work-grid .work-card--span-2,
  .reel-work-grid .work-card--span-3 {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
  }

  .site-nav {
    gap: 10px 14px;
    max-width: 230px;
    line-height: 1.2;
  }

  .project-nav {
    grid-template-columns: 1fr;
  }

  .section-head,
  .site-footer {
    display: grid;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    min-height: auto;
    padding: 28px var(--pad);
  }

  .site-footer__links,
  .site-footer__brand {
    grid-column: auto;
  }

  .site-footer__links {
    justify-items: center;
    text-align: center;
    order: 2;
  }

  .site-footer__brand {
    order: 1;
  }

  .work-card {
    min-height: 64svh;
  }

  .reel-work-grid {
    grid-template-columns: 1fr;
  }

  .reel-work-grid .work-card,
  .reel-work-grid .work-card--span-2,
  .reel-work-grid .work-card--span-3 {
    grid-column: 1 / -1;
    min-height: 56svh;
  }

  .section-head p,
  .project-nav__item,
  .project-nav__item--index,
  .project-nav__item:nth-child(3) {
    text-align: left;
  }

  .credit-grid div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .project-player__video {
    max-height: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
