@font-face {
  font-family: "Bebas Neue";
  src: url("../fonts/bebas-neue.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400 800;
}

:root {
  --black: #080806;
  --black-soft: #11110e;
  --bone: #eee9de;
  --white: #faf8f2;
  --yellow: #f2b91f;
  --red: #ff492f;
  --line-dark: rgba(255, 255, 255, 0.22);
  --line-light: rgba(8, 8, 6, 0.18);
  --sans: "Manrope", Arial, sans-serif;
  --display: "Bebas Neue", Impact, sans-serif;
}

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

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

body {
  margin: 0;
  color: var(--black);
  background: var(--bone);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

::selection {
  color: var(--black);
  background: var(--yellow);
}

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

.skip-link:focus {
  z-index: 1000;
  top: 16px;
  left: 16px;
  width: auto;
  height: auto;
  padding: 12px 18px;
  margin: 0;
  clip: auto;
  color: var(--black);
  background: var(--yellow);
  font-weight: 800;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 94px;
  padding: 0 clamp(22px, 4vw, 64px);
  color: var(--white);
  border-bottom: 1px solid transparent;
  transition: background-color 220ms ease, border-color 220ms ease, height 220ms ease;
}

.site-header.is-scrolled,
.site-header:has(.site-nav.is-open) {
  height: 76px;
  border-color: var(--line-dark);
  background: rgba(8, 8, 6, 0.94);
  backdrop-filter: blur(15px);
}

.brand {
  z-index: 2;
  display: inline-flex;
  width: max-content;
  align-items: center;
  text-decoration: none;
}

.brand img,
.brand .custom-logo {
  width: 66px;
  height: 66px;
  object-fit: contain;
}

.brand-discipline {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.menu-toggle {
  z-index: 102;
  justify-self: end;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  padding: 0;
  color: var(--white);
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  background: rgba(8, 8, 6, 0.25);
  cursor: pointer;
}

.menu-icon {
  grid-area: 1 / 1;
  width: 22px;
  height: 22px;
  filter: invert(1);
  transition: opacity 160ms ease, transform 200ms ease;
}

.menu-icon-close,
.menu-toggle[aria-expanded="true"] .menu-icon-open {
  opacity: 0;
  transform: rotate(-45deg) scale(0.7);
}

.menu-toggle[aria-expanded="true"] .menu-icon-close {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.site-nav {
  position: fixed;
  z-index: 101;
  inset: 0;
  display: flex;
  visibility: hidden;
  flex-direction: column;
  justify-content: center;
  padding: 120px clamp(24px, 8vw, 140px);
  opacity: 0;
  color: var(--white);
  background: var(--black);
  transform: translateY(-18px);
  transition: opacity 220ms ease, transform 220ms ease, visibility 220ms;
}

.site-nav.is-open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.site-nav > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--display);
  font-size: clamp(58px, 9vw, 120px);
  line-height: 0.95;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav > a:hover {
  color: var(--yellow);
}

.nav-instagram img {
  width: clamp(24px, 3vw, 42px);
  height: auto;
  filter: invert(1);
}

.grade-hero {
  --grade-position: 52%;
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
  background: var(--black);
}

.grade-stage {
  position: absolute;
  inset: 0 0 118px;
}

.grade-frame,
.grade-vignette {
  position: absolute;
  inset: 0;
}

.grade-frame {
  margin: 0;
  overflow: hidden;
}

.grade-frame img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 39%;
}

.grade-frame-colour img {
  filter: saturate(1.12) contrast(1.05) brightness(0.92);
}

.grade-frame-raw {
  z-index: 1;
  clip-path: polygon(0 0, var(--grade-position) 0, var(--grade-position) 100%, 0 100%);
}

.grade-frame-raw img {
  filter: grayscale(1) contrast(1.12) brightness(0.73);
}

.grade-vignette {
  z-index: 2;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.24), transparent 45%, rgba(0, 0, 0, 0.1)), linear-gradient(0deg, rgba(0, 0, 0, 0.76), transparent 53%);
  pointer-events: none;
}

.grade-range {
  position: absolute;
  z-index: 8;
  inset: 0 0 118px;
  width: 100%;
  height: calc(100% - 118px);
  margin: 0;
  opacity: 0.001;
  cursor: ew-resize;
  touch-action: pan-y;
}

.grade-range:focus-visible + .grade-divider .grade-handle {
  outline: 4px solid var(--white);
  outline-offset: 5px;
}

.grade-divider {
  position: absolute;
  z-index: 7;
  top: 0;
  bottom: 118px;
  left: var(--grade-position);
  width: 1px;
  border-left: 1px solid rgba(255, 255, 255, 0.75);
  pointer-events: none;
}

.grade-handle {
  position: absolute;
  top: 48%;
  left: 50%;
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  border: 8px solid rgba(8, 8, 6, 0.15);
  border-radius: 50%;
  color: var(--black);
  background: var(--yellow);
  background-clip: padding-box;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.36);
  transform: translate(-50%, -50%);
}

.grade-handle img {
  width: 25px;
  filter: none;
}

.hero-copy {
  position: absolute;
  z-index: 5;
  left: clamp(22px, 4vw, 64px);
  bottom: 158px;
  max-width: min(870px, 68vw);
  pointer-events: none;
}

.hero-index,
.section-kicker,
.hero-rail,
.project-copy > p:first-child,
.film-time {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-index {
  margin: 0 0 12px;
}

.hero-copy h1 {
  max-width: 920px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(82px, 11vw, 172px);
  font-weight: 400;
  line-height: 0.78;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.3);
}

.hero-copy h1 span {
  color: var(--yellow);
}

.hero-line {
  margin: 20px 0 24px;
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.play-action {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--white);
  text-decoration: none;
  pointer-events: auto;
}

.play-icon,
.film-play {
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--black);
  background: var(--yellow);
}

.play-icon {
  width: 56px;
  height: 56px;
}

.play-icon img,
.film-play img {
  filter: none;
}

.play-action small,
.play-action strong,
.instagram-button small,
.instagram-button strong {
  display: block;
}

.play-action small,
.instagram-button small {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.play-action strong,
.instagram-button strong {
  font-size: 16px;
}

.hero-rail {
  position: absolute;
  z-index: 5;
  top: 112px;
  right: clamp(22px, 4vw, 64px);
  bottom: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  color: rgba(255, 255, 255, 0.7);
  writing-mode: vertical-rl;
  pointer-events: none;
}

.chapter-nav {
  position: absolute;
  z-index: 12;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-height: 118px;
  background: var(--black);
}

.chapter-nav a {
  position: relative;
  display: grid;
  grid-template-columns: 38px 1fr;
  grid-template-rows: auto auto;
  align-content: center;
  padding: 20px clamp(20px, 3vw, 44px);
  border-top: 1px solid var(--line-dark);
  border-right: 1px solid var(--line-dark);
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease;
}

.chapter-nav a:last-child {
  border-right: 0;
}

.chapter-nav a:hover {
  color: var(--black);
  background: var(--yellow);
}

.chapter-nav span {
  grid-row: 1 / 3;
  align-self: start;
  font-size: 11px;
  font-weight: 800;
}

.chapter-nav strong {
  font-family: var(--display);
  font-size: clamp(25px, 2.5vw, 38px);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.chapter-nav small {
  margin-top: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  opacity: 0.64;
  text-transform: uppercase;
}

.section-shell {
  padding: clamp(82px, 10vw, 150px) clamp(22px, 5vw, 76px);
}

.work-index {
  overflow: hidden;
  background: var(--bone);
}

.work-heading,
.process-heading {
  margin-bottom: clamp(70px, 10vw, 150px);
}

.section-kicker {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 30px;
  padding-top: 14px;
  border-top: 1px solid currentColor;
}

.work-heading h2,
.process-heading h2,
.contact-copy h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(78px, 12.5vw, 190px);
  font-weight: 400;
  line-height: 0.78;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.work-heading h2 strong {
  color: transparent;
  font-weight: 400;
  -webkit-text-stroke: 1.5px var(--black);
}

.work-heading > p:last-child {
  max-width: 560px;
  margin: 42px 0 0 auto;
  font-size: clamp(17px, 1.6vw, 22px);
}

.project {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(260px, 0.62fr);
  align-items: end;
  gap: clamp(38px, 6vw, 94px);
  margin: 0 0 clamp(120px, 16vw, 250px);
  scroll-margin-top: 90px;
}

.project:last-child {
  margin-bottom: 0;
}

.project:nth-of-type(even) {
  grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1.65fr);
}

.project:nth-of-type(even) .project-visual {
  grid-column: 2;
  grid-row: 1;
}

.project:nth-of-type(even) .project-copy {
  grid-column: 1;
  grid-row: 1;
}

.project-visual {
  position: relative;
  min-width: 0;
}

.film-visual {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  color: var(--white);
  background: var(--black);
}

.film-visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 41%;
  filter: saturate(0.92) contrast(1.03);
  transition: transform 800ms cubic-bezier(0.2, 0.75, 0.2, 1), filter 500ms ease;
}

.film-visual:hover > img {
  filter: saturate(1.08) contrast(1.03);
  transform: scale(1.025);
}

.film-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 82px;
  height: 82px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  transform: translate(-50%, -50%);
}

.film-time {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 8px 10px;
  color: var(--white);
  background: rgba(8, 8, 6, 0.78);
}

.project-copy > p:first-child {
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-light);
}

.project-copy h3 {
  margin: 0 0 28px;
  font-family: var(--display);
  font-size: clamp(62px, 7vw, 112px);
  font-weight: 400;
  line-height: 0.83;
  text-transform: uppercase;
}

.project-copy > p:not(:first-child) {
  max-width: 440px;
  margin: 0 0 28px;
  color: rgba(8, 8, 6, 0.7);
  font-size: 15px;
}

.project-copy > a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
}

.photo-pair {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(10px, 1.5vw, 22px);
  align-items: end;
}

.photo-pair figure,
.post-strip figure {
  margin: 0;
  overflow: hidden;
}

.photo-pair figure:first-child {
  aspect-ratio: 3 / 4;
}

.photo-pair figure:last-child {
  aspect-ratio: 4 / 5;
  margin-bottom: 9%;
}

.photo-pair img,
.post-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-strip {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: minmax(350px, 56vw);
  max-height: 720px;
  overflow: hidden;
  background: var(--black);
}

.post-strip figure {
  min-height: 0;
}

.post-strip figure:first-child img {
  filter: grayscale(1) contrast(1.07);
}

.post-strip figure:last-child img {
  filter: saturate(1.12) contrast(1.04);
}

.post-strip > span {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 18px 22px;
  color: var(--white);
  background: rgba(8, 8, 6, 0.82);
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 55px);
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.process-section {
  color: var(--white);
  background: var(--black);
}

.process-heading h2 {
  max-width: 1100px;
}

.process-list {
  border-top: 1px solid var(--line-dark);
}

.process-row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: center;
  min-height: 144px;
  gap: 28px;
  border-bottom: 1px solid var(--line-dark);
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease, padding 220ms ease;
}

.process-row:hover {
  padding-right: 24px;
  padding-left: 24px;
  color: var(--black);
  background: var(--yellow);
}

.process-row > span,
.process-row > small {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.process-row > strong {
  font-family: var(--display);
  font-size: clamp(44px, 6vw, 86px);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  min-height: 820px;
  background: var(--yellow);
}

.contact-image {
  min-height: 680px;
  overflow: hidden;
  background: var(--black);
}

.contact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: grayscale(1) contrast(1.1) brightness(0.7);
}

.contact-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(62px, 8vw, 120px) clamp(28px, 6vw, 92px);
}

.contact-copy h2 {
  font-size: clamp(80px, 10vw, 150px);
}

.contact-copy > p:not(.section-kicker, .optional-phone) {
  max-width: 600px;
  margin: 38px 0 34px;
  font-size: clamp(17px, 1.5vw, 21px);
}

.instagram-button {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  max-width: 570px;
  gap: 17px;
  padding: 18px 0;
  border-top: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
  text-decoration: none;
}

.instagram-button > img {
  width: 26px;
  height: 26px;
}

.instagram-button > img:last-child {
  width: 22px;
  height: 22px;
}

.instagram-button strong {
  font-size: 18px;
}

.optional-phone {
  margin: 22px 0 0;
  font-size: 13px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 130px;
  padding: 24px clamp(22px, 5vw, 76px);
  color: var(--white);
  background: var(--black);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-brand img {
  width: 54px;
  height: 54px;
}

.site-footer p:nth-child(2) {
  text-align: center;
}

.site-footer p:last-child {
  text-align: right;
}

.reveal {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity 700ms ease var(--reveal-delay, 0ms), transform 800ms cubic-bezier(0.2, 0.75, 0.2, 1) var(--reveal-delay, 0ms);
}

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

@media (max-width: 980px) {
  .project,
  .project:nth-of-type(even) {
    grid-template-columns: 1fr;
  }

  .project:nth-of-type(even) .project-visual,
  .project:nth-of-type(even) .project-copy {
    grid-column: 1;
    grid-row: auto;
  }

  .project-copy {
    max-width: 650px;
  }

  .project-copy h3 {
    font-size: clamp(70px, 13vw, 116px);
  }

  .contact-section {
    grid-template-columns: 0.8fr 1.2fr;
  }
}

@media (max-width: 780px) {
  .site-header {
    height: 76px;
    padding: 0 18px;
  }

  .brand img,
  .brand .custom-logo {
    width: 52px;
    height: 52px;
  }

  .brand-discipline {
    display: none;
  }

  .site-nav {
    padding: 110px 22px 50px;
  }

  .site-nav > a {
    font-size: clamp(54px, 19vw, 88px);
  }

  .grade-hero {
    min-height: 860px;
  }

  .grade-stage {
    bottom: 216px;
  }

  .grade-range {
    bottom: 216px;
    height: calc(100% - 216px);
  }

  .grade-divider {
    bottom: 216px;
  }

  .grade-frame img {
    object-position: center 32%;
  }

  .grade-handle {
    top: 43%;
    width: 58px;
    height: 58px;
    border-width: 6px;
  }

  .hero-copy {
    right: 18px;
    bottom: 250px;
    left: 18px;
    max-width: none;
  }

  .hero-copy h1 {
    max-width: 340px;
    font-size: clamp(76px, 25vw, 105px);
    line-height: 0.78;
  }

  .hero-line {
    margin: 14px 0 18px;
    font-size: 16px;
  }

  .play-icon {
    width: 48px;
    height: 48px;
  }

  .hero-rail {
    display: none;
  }

  .chapter-nav {
    grid-template-columns: 1fr;
    min-height: 216px;
  }

  .chapter-nav a {
    grid-template-columns: 30px 1fr auto;
    grid-template-rows: auto;
    min-height: 72px;
    padding: 12px 18px;
    border-right: 0;
  }

  .chapter-nav span {
    grid-row: auto;
  }

  .chapter-nav strong {
    font-size: 25px;
  }

  .chapter-nav small {
    margin-top: 0;
    font-size: 9px;
  }

  .section-shell {
    padding: 78px 18px;
  }

  .work-heading,
  .process-heading {
    margin-bottom: 76px;
  }

  .section-kicker {
    margin-bottom: 22px;
  }

  .work-heading h2,
  .process-heading h2,
  .contact-copy h2 {
    font-size: clamp(68px, 23vw, 100px);
  }

  .work-heading > p:last-child {
    margin-top: 28px;
    font-size: 16px;
  }

  .project,
  .project:nth-of-type(even) {
    gap: 28px;
    margin-bottom: 112px;
  }

  .film-visual {
    aspect-ratio: 4 / 5;
  }

  .film-play {
    width: 68px;
    height: 68px;
  }

  .photo-pair {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .photo-pair figure:first-child,
  .photo-pair figure:last-child {
    aspect-ratio: 4 / 5;
    margin: 0;
  }

  .photo-pair figure:first-child img {
    object-position: center 34%;
  }

  .post-strip {
    grid-template-columns: 1fr;
    grid-template-rows: 450px 450px;
    max-height: none;
  }

  .post-strip > span {
    font-size: 28px;
  }

  .project-copy h3 {
    font-size: clamp(63px, 21vw, 91px);
  }

  .process-row {
    grid-template-columns: 34px 1fr;
    min-height: 116px;
    gap: 12px;
  }

  .process-row > strong {
    font-size: clamp(41px, 12vw, 58px);
  }

  .process-row > small {
    grid-column: 2;
    margin-top: -24px;
  }

  .process-row:hover {
    padding-right: 10px;
    padding-left: 10px;
  }

  .contact-section {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .contact-image {
    min-height: 500px;
  }

  .contact-copy {
    padding: 70px 18px 78px;
  }

  .contact-copy > p:not(.section-kicker, .optional-phone) {
    margin: 28px 0;
    font-size: 16px;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    padding: 24px 18px;
  }

  .site-footer p:nth-child(2) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
