:root {
  --paper: #f2f1ed;
  --paper-bright: #fbfaf6;
  --ink: #050505;
  --blue: #284dff;
  --electric: #7657ff;
  --line: rgba(5, 5, 5, 0.18);
  --gutter: clamp(1rem, 1.25vw, 1.5rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
  font-synthesis: none;
  text-rendering: geometricPrecision;
}

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

html {
  background: var(--paper);
  scroll-behavior: auto;
  scrollbar-width: none;
}

html::-webkit-scrollbar {
  display: none;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-size: clamp(0.9rem, 1.09vw, 1.1rem);
  line-height: 1.08;
}

body.is-loading,
body.menu-open {
  overflow: hidden;
}

body.menu-open {
  touch-action: none;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

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

ul {
  padding: 0;
  list-style: none;
}

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

::selection {
  background: var(--blue);
  color: white;
}

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

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 0.7rem;
  left: 0.7rem;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: var(--blue);
  color: white;
  transform: translateY(-180%);
  transition: transform 0.3s var(--ease-out);
}

.skip-link:focus {
  transform: translateY(0);
}

.section-pad {
  padding-inline: var(--gutter);
}

.eyebrow,
.project header span,
.showreel__stamp,
.studio-screen > span {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.045em;
  line-height: 1.1;
  text-transform: uppercase;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.1rem;
  min-width: 8.2rem;
  padding: 0.85rem 1.05rem;
  overflow: hidden;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.65rem;
  letter-spacing: 0.045em;
  line-height: 1;
  text-transform: uppercase;
  transition: color 0.45s var(--ease-out), background-color 0.45s var(--ease-out), transform 0.45s var(--ease-out);
}

.pill span {
  display: inline-block;
  transform-origin: left center;
  transition: transform 0.45s var(--ease-out);
}

.pill:hover span,
.pill:focus-visible span {
  transform: translateX(0.35rem) scaleX(1.35);
}

.pill:active {
  transform: scale(0.97);
}

.pill--dark {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}

.pill--light {
  border-color: white;
  background: white;
  color: var(--ink);
}

.pill--outline {
  background: transparent;
}

/* -------------------------------------------------------------------------- */
/* Loader                                                                     */
/* -------------------------------------------------------------------------- */

.loader {
  position: fixed;
  z-index: 1000;
  inset: 0;
  overflow: hidden;
  background: #000;
  color: white;
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.8s var(--ease-in-out), visibility 0s linear 1.8s;
}

.loader.is-hidden {
  visibility: hidden;
  clip-path: inset(0 0 100% 0);
}

.loader.is-skipped {
  display: none;
}

.loader__stage {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 20rem;
  transform: translate(-50%, -50%);
  pointer-events: none;
  white-space: nowrap;
}

.loader__mark {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  align-items: flex-end;
  justify-content: center;
  height: 7.5rem;
  overflow: hidden;
}

.loader__mark--lead {
  width: 5rem;
}

.loader__mark--tail {
  width: 4.35rem;
}

.loader__mark-image {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center bottom;
}

.loader__mark--lead .loader__mark-image {
  animation: loader-lead-in 1s var(--ease-in-out) both;
}

.loader__mark--tail .loader__mark-image {
  height: auto;
  transform-origin: center;
  animation: loader-tail-in 1s var(--ease-in-out) both;
}

.loader.is-hidden .loader__mark--lead .loader__mark-image {
  animation: loader-lead-out 1s var(--ease-in-out) both;
}

.loader.is-hidden .loader__mark--tail .loader__mark-image {
  animation: loader-tail-out 1s var(--ease-in-out) both;
}

.loader__slot {
  position: relative;
  flex: 0 0 auto;
  width: 1rem;
  height: 20rem;
  overflow: visible;
  transition: width 1.2s var(--ease-in-out);
}

.loader.is-expanded .loader__slot {
  width: 20rem;
}

.loader.is-collapsing .loader__slot {
  width: 1rem;
  transition-duration: 0.8s;
}

.loader__object {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20rem;
  height: 20rem;
  max-width: none;
  opacity: 0;
  object-fit: contain;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.8);
  transform-origin: center;
  transition: opacity 0s linear, transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.loader__object.is-active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.loader__object--landscape {
  top: 47%;
  height: 15rem;
}

.loader__object--5 {
  transform: translate(-50%, -50%) rotate(120deg) scale(0.8);
}

.loader__object--5.is-active {
  transform: translate(-50%, -50%) rotate(120deg) scale(1);
}

.loader__counter {
  position: absolute;
  z-index: 1;
  bottom: 1.875rem;
  left: 50%;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  transform: translateX(-50%);
}

@keyframes loader-lead-in {
  from { opacity: 0; transform: translateY(110%); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes loader-tail-in {
  from { opacity: 0; transform: scale(0); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes loader-lead-out {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(110%); }
}

@keyframes loader-tail-out {
  from { opacity: 1; transform: scale(1); }
  to { opacity: 0; transform: scale(0); }
}

/* -------------------------------------------------------------------------- */
/* Navigation                                                                 */
/* -------------------------------------------------------------------------- */

.site-nav {
  position: fixed;
  z-index: 90;
  top: 0;
  left: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  padding: var(--gutter);
  color: white;
  mix-blend-mode: difference;
  pointer-events: none;
}

.site-nav a,
.site-nav button,
.desktop-menu {
  pointer-events: auto;
}

.site-nav__brand {
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  width: auto;
  max-width: 1.05rem;
  font-size: 1.3rem;
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.08em;
  opacity: 0;
  transform: translateY(-0.4rem);
  transition: max-width 0.7s var(--ease-out), opacity 0.4s ease, transform 0.4s var(--ease-out);
}

.site-nav.is-scrolled .site-nav__brand,
.site-nav__brand:focus-visible,
.site-nav__brand:hover {
  max-width: 9rem;
  opacity: 1;
  transform: translateY(0);
}

.brand-expand {
  display: inline-flex;
}

.brand-expand::after {
  content: "_";
}

.desktop-menu {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: -0.1rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.62rem;
  text-transform: uppercase;
}

.desktop-menu__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.desktop-menu__trigger i,
.mobile-menu-button i {
  position: relative;
  width: 0.7rem;
  height: 0.7rem;
  background:
    linear-gradient(currentColor 0 0) 0 0 / 0.2rem 0.2rem no-repeat,
    linear-gradient(currentColor 0 0) 100% 0 / 0.2rem 0.2rem no-repeat,
    linear-gradient(currentColor 0 0) 0 100% / 0.2rem 0.2rem no-repeat,
    linear-gradient(currentColor 0 0) 100% 100% / 0.2rem 0.2rem no-repeat;
  transition: transform 0.5s var(--ease-out);
}

.desktop-menu:hover .desktop-menu__trigger i,
.desktop-menu:focus-within .desktop-menu__trigger i {
  transform: rotate(45deg) scale(0.72);
}

.desktop-menu__links {
  display: flex;
  gap: 0.75rem;
  width: 0;
  overflow: hidden;
  white-space: nowrap;
  transition: width 0.65s var(--ease-out);
}

.desktop-menu__links a {
  position: relative;
  transform: translateY(120%);
  transition: transform 0.55s var(--ease-out);
}

.desktop-menu__links a::after,
.footer__social a::after {
  position: absolute;
  right: 0;
  bottom: -0.14rem;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.6s var(--ease-out);
}

.desktop-menu__links a:hover::after,
.desktop-menu__links a:focus-visible::after,
.footer__social a:hover::after,
.footer__social a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.desktop-menu:hover .desktop-menu__links,
.desktop-menu:focus-within .desktop-menu__links {
  width: 10.7rem;
}

.desktop-menu:hover .desktop-menu__links a,
.desktop-menu:focus-within .desktop-menu__links a {
  transform: translateY(0);
}

.desktop-menu:hover .desktop-menu__links a:nth-child(2),
.desktop-menu:focus-within .desktop-menu__links a:nth-child(2) { transition-delay: 0.08s; }
.desktop-menu:hover .desktop-menu__links a:nth-child(3),
.desktop-menu:focus-within .desktop-menu__links a:nth-child(3) { transition-delay: 0.16s; }

.mobile-menu-button {
  display: none;
  align-items: center;
  gap: 0.4rem;
  padding: 0;
  border: 0;
  background: transparent;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.62rem;
  text-transform: uppercase;
}

.mobile-menu {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: none;
  grid-template-rows: 1fr auto;
  padding: 6rem var(--gutter) var(--gutter);
  background: #050505;
  color: white;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease-out), visibility 0s linear 0.5s;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  font-size: clamp(3.5rem, 16vw, 6rem);
  letter-spacing: -0.065em;
  line-height: 0.87;
  text-transform: lowercase;
}

.mobile-menu nav a {
  transform: translateY(1.2rem);
  opacity: 0;
  transition: opacity 0.45s ease, transform 0.65s var(--ease-out);
}

.mobile-menu.is-open nav a {
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu.is-open nav a:nth-child(2) { transition-delay: 0.08s; }
.mobile-menu.is-open nav a:nth-child(3) { transition-delay: 0.16s; }

.mobile-menu__actions {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.75rem;
}

/* -------------------------------------------------------------------------- */
/* Hero                                                                       */
/* -------------------------------------------------------------------------- */

.hero {
  position: relative;
  z-index: 1;
  height: 100svh;
  min-height: 38rem;
  overflow: hidden;
  background: var(--paper-bright);
  isolation: isolate;
  touch-action: pan-y;
}

.hero::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background: #000;
  content: "";
  opacity: 0;
  transition: opacity 0.5s ease;
}

.hero.has-video::before { opacity: 1; }

.hero__media,
.hero__video,
.hero__mask {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__media {
  z-index: 1;
  transition: opacity 0.5s ease;
}

.hero__video {
  z-index: 1;
  max-width: none;
  background: #000;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.hero.has-video .hero__video { opacity: 1; }
.hero.has-video .hero__media { opacity: 0; }
.hero__mask { z-index: 2; pointer-events: none; }

.hero__top,
.hero__bottom {
  position: absolute;
  z-index: 4;
  right: var(--gutter);
  left: var(--gutter);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.hero__top {
  top: var(--gutter);
  flex-direction: column;
  align-items: flex-start;
  gap: 1.15rem;
  justify-content: flex-start;
}

.hero__top > * {
  pointer-events: auto;
}

.hero__top > p {
  max-width: 22rem;
  font-size: clamp(1.15rem, 1.55vw, 1.55rem);
  letter-spacing: -0.035em;
  line-height: 0.96;
}

.hero__bottom {
  bottom: var(--gutter);
  align-items: flex-end;
  font-size: 0.78rem;
}

.hero__socials {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.61rem;
  font-weight: 700;
  text-transform: uppercase;
  pointer-events: auto;
}

body.is-loading .site-nav {
  opacity: 0;
  transform: translateY(-1rem);
}

body.is-loading .reveal-lines > * {
  opacity: 0;
  clip-path: inset(0 0 100% 0);
  transform: translateY(1.25rem);
}

body.is-loading.is-hero-revealing .site-nav {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.65s ease 1.75s,
    transform 0.9s var(--ease-out) 1.75s;
}

body.is-loading.is-hero-revealing .hero__top > p {
  opacity: 1;
  clip-path: inset(0 0 0 0);
  transform: translateY(0);
  transition:
    opacity 0.65s ease 1.5s,
    clip-path 0.95s var(--ease-out) 1.5s,
    transform 0.95s var(--ease-out) 1.5s;
}

body.is-loading.is-hero-revealing .hero__top > .pill {
  opacity: 1;
  clip-path: inset(0 0 0 0);
  transform: translateY(0);
  transition:
    opacity 0.65s ease 1.68s,
    clip-path 0.95s var(--ease-out) 1.68s,
    transform 0.95s var(--ease-out) 1.68s,
    color 0.45s var(--ease-out),
    background-color 0.45s var(--ease-out);
}

body.is-loading.is-hero-revealing .hero__bottom > * {
  opacity: 1;
  clip-path: inset(0 0 0 0);
  transform: translateY(0);
  transition:
    opacity 0.65s ease 1.9s,
    clip-path 0.95s var(--ease-out) 1.9s,
    transform 0.95s var(--ease-out) 1.9s;
}

.locale {
  padding: 0.18rem 0.24rem;
  border-radius: 0.18rem;
  background: var(--ink);
  color: white;
}

/* -------------------------------------------------------------------------- */
/* Showreel                                                                   */
/* -------------------------------------------------------------------------- */

.showreel {
  position: relative;
  z-index: 2;
  height: 190vh;
  min-height: 70rem;
  background: var(--paper-bright);
}

.showreel__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.showreel__copy {
  position: absolute;
  z-index: 1;
  inset: 0;
  padding: var(--gutter);
}

.showreel__copy h2 {
  max-width: 76rem;
  font-size: clamp(3.2rem, 6.15vw, 7.4rem);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.92;
}

.showreel__aside {
  position: absolute;
  right: var(--gutter);
  bottom: var(--gutter);
  left: var(--gutter);
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: var(--gutter);
  align-items: start;
  font-size: 0.83rem;
}

.showreel__aside p:last-child {
  grid-column: 2;
  max-width: 30rem;
}

.showreel__media {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: #000;
  color: white;
  will-change: width, height, border-radius;
}

.showreel__media video {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.showreel__stamp {
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
  padding: 0.35rem 0.5rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.72);
  color: white;
  backdrop-filter: blur(8px);
  display: none;
}

/* -------------------------------------------------------------------------- */
/* Work                                                                       */
/* -------------------------------------------------------------------------- */

.works {
  position: relative;
  z-index: 3;
  min-height: 380vh;
  overflow: clip;
  background: #030303;
  color: white;
}

.works__letters {
  position: sticky;
  z-index: 5;
  top: 0;
  display: flex;
  justify-content: space-between;
  height: 0;
  padding: 0 var(--gutter);
  pointer-events: none;
}

.works__letters span {
  display: inline-block;
  padding-top: calc(var(--gutter) + 2.6rem);
  font-size: clamp(1.45rem, 2.65vw, 3rem);
  font-weight: 900;
  line-height: 1;
}

.works__intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 82vh;
  padding-top: 7rem;
  align-items: start;
}

.works__intro h2 {
  grid-column: 2;
  margin-top: 9rem;
  max-width: 45rem;
  font-size: clamp(2.6rem, 4.4vw, 5.2rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.96;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16rem var(--gutter);
  align-items: start;
  padding-bottom: 18rem;
}

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

.project--wide { grid-column: 1 / span 6; }
.project--small { grid-column: 9 / span 4; }
.project--mid { grid-column: 3 / span 8; }
.project--center { margin-top: -3rem; }
.project--right { grid-column: 5 / span 8; }
.project--offset { margin-top: 14rem; }

.project header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.project header > span {
  opacity: 0.54;
  white-space: nowrap;
}

.project header h3 {
  margin-top: 0.5rem;
  font-size: clamp(1.3rem, 1.9vw, 2.15rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1;
}

.project__media {
  position: relative;
  display: block;
  aspect-ratio: 1.44 / 1;
  overflow: hidden;
  background: #111;
  clip-path: inset(0);
  isolation: isolate;
  will-change: transform, clip-path;
}

.project--small .project__media { aspect-ratio: 1 / 1.12; }
.project--mid .project__media { aspect-ratio: 1.6 / 1; }

.art {
  color: white;
}

.art__image {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-out);
}

.art:hover .art__image,
.art:focus-visible .art__image {
  transform: scale(1.045);
}

.art__film {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.art.is-playing .art__film {
  opacity: 1;
}

.art strong {
  position: absolute;
  z-index: 3;
  font-size: clamp(2rem, 5.2vw, 6rem);
  font-weight: 900;
  letter-spacing: -0.075em;
  line-height: 0.82;
}

.art strong span {
  font-size: 0.16em;
  vertical-align: top;
}

.art small {
  position: absolute;
  z-index: 3;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
}

.art strong { left: 5%; bottom: 8%; }
.art small { right: 4%; top: 5%; }

.art--long strong {
  max-width: 76%;
  font-size: clamp(1.5rem, 3.4vw, 3.9rem);
}

.art--light {
  color: #101010;
}

.works__outro {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.works__outro > p:last-child {
  position: absolute;
  right: var(--gutter);
  bottom: 1.8rem;
  left: var(--gutter);
  display: flex;
  justify-content: space-between;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.65rem;
}

.project-cursor {
  position: fixed;
  z-index: 120;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 6rem;
  height: 2.15rem;
  border-radius: 999px;
  background: #050505;
  color: white;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.6rem;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  will-change: transform;
}

@media (hover: hover) and (pointer: fine) and (min-width: 992px) {
  .project__media { cursor: none; }
}

/* -------------------------------------------------------------------------- */
/* Studio                                                                     */
/* -------------------------------------------------------------------------- */

.studio-reel {
  position: relative;
  z-index: 4;
  height: 200vh;
  min-height: 70rem;
  background: #000;
}

.studio-reel__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: #050505;
}

.studio-room {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #101315;
  transform: scale(1.8);
  will-change: transform;
}

.studio-room img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.studio-room::after {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 44%, transparent 0 34%, rgba(0,0,0,.38) 72%, rgba(0,0,0,.66));
  content: "";
}

.studio-screen {
  position: absolute;
  z-index: 4;
  inset: 0;
  overflow: hidden;
  background: #000;
  box-shadow: 0 0 3rem rgba(23, 46, 255, 0.32);
  transform: scale(1.4);
  will-change: transform;
}

.studio-screen video {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.studio-screen > span {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  color: white;
  mix-blend-mode: difference;
  display: none;
}

.sound-toggle {
  position: absolute;
  z-index: 6;
  top: var(--gutter);
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.42rem 0.7rem;
  border: 0;
  border-radius: 999px;
  background: #050505;
  color: white;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.6rem;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.sound-toggle i {
  position: relative;
  width: 1.4rem;
  height: 0.55rem;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 999px;
}

.sound-toggle i::after {
  position: absolute;
  top: 50%;
  left: 0.1rem;
  width: 0.31rem;
  height: 0.31rem;
  border-radius: 50%;
  background: white;
  content: "";
  transform: translateY(-50%);
  transition: transform 0.3s var(--ease-out);
}

.sound-toggle[aria-pressed="true"] i::after {
  transform: translate(0.78rem, -50%);
}

.studio-info {
  position: relative;
  z-index: 5;
  overflow: clip;
  background: #020202;
  color: white;
}

.studio-info__manifesto {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  min-height: 125vh;
  padding-top: 8rem;
  padding-bottom: 7rem;
}

.studio-info__manifesto > div {
  grid-column: 2 / span 2;
  max-width: 76rem;
}

.studio-info__manifesto > div > p {
  max-width: 67rem;
  font-size: clamp(2.8rem, 5.6vw, 6.8rem);
  letter-spacing: -0.065em;
  line-height: 0.94;
}

.studio-info__manifesto h2 {
  margin-top: 22vh;
  font-size: clamp(4rem, 9vw, 11rem);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 0.82;
}

.services {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  min-height: 105vh;
  padding-top: 7rem;
  padding-bottom: 7rem;
  align-items: start;
}

.services ul {
  grid-column: 2 / span 2;
  width: 100%;
  margin-top: -0.4rem;
}

.services li {
  position: relative;
  padding: 0.22em 0;
  overflow: hidden;
  font-size: clamp(2.8rem, 5.6vw, 6.6rem);
  letter-spacing: -0.065em;
  line-height: 0.95;
}

.services li i {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: rgba(255,255,255,.35);
}

.services__closing {
  grid-column: 2;
  margin-top: 6rem;
  font-size: clamp(1.5rem, 2.4vw, 2.8rem);
  letter-spacing: -0.04em;
}

.forms-field {
  position: relative;
  height: 125vh;
  min-height: 58rem;
  overflow: hidden;
  background: #000;
  isolation: isolate;
}

.forms-field > p {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  color: rgba(255,255,255,.5);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.62rem;
  text-transform: uppercase;
  transform: translate(-50%, -50%);
}

.form-object {
  position: absolute;
  will-change: translate, transform;
  filter: drop-shadow(0 2.2rem 2.6rem rgba(0, 0, 0, 0.55));
}

.form-object img {
  width: 100%;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.form-object--asterisk {
  top: 8%;
  left: 33%;
  width: clamp(12rem, 24vw, 26rem);
}

.form-object--smiley {
  top: 20%;
  right: 4%;
  width: clamp(9rem, 18vw, 20rem);
}

.form-object--heart {
  bottom: 7%;
  left: 10%;
  width: clamp(10rem, 20vw, 22rem);
}

.form-object--candy {
  top: 50%;
  left: 43%;
  width: clamp(9rem, 17vw, 19rem);
}

.form-object--bag {
  right: 16%;
  bottom: 10%;
  width: clamp(9rem, 18vw, 20rem);
}

.team {
  display: grid;
  grid-template-columns: 2fr 1.3fr 1.3fr;
  gap: var(--gutter);
  min-height: 80vh;
  padding-top: 14rem;
  padding-bottom: 8rem;
  align-items: center;
  font-size: 0.78rem;
}

.team .eyebrow {
  margin-bottom: 1rem;
  color: rgba(255,255,255,.45);
}

/* -------------------------------------------------------------------------- */
/* Glitch scene                                                               */
/* -------------------------------------------------------------------------- */

.glitch {
  position: relative;
  z-index: 4;
  height: 185vh;
  min-height: 74rem;
  overflow: hidden;
  background: #050505;
  color: white;
  isolation: isolate;
}

.glitch__architecture {
  position: absolute;
  z-index: -3;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 12%, #c9ced0 12% 24%, #687076 24% 25%, transparent 25% 75%, #343a3f 75% 76%, #d8dcdd 76% 88%, transparent 88%),
    linear-gradient(180deg, #d9dcdd 0 34%, #4d555a 34% 39%, #11181b 39% 100%);
  opacity: 0.54;
  filter: grayscale(1) contrast(1.1);
}

.glitch__architecture::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.8), transparent 45% 55%, rgba(0,0,0,.8)), linear-gradient(180deg, rgba(0,0,0,.15), #000 90%);
  content: "";
}

.glitch__architecture span {
  position: absolute;
  top: 8%;
  width: 0.55rem;
  height: 35%;
  background: white;
  box-shadow: 0 0 1.5rem white;
}

.glitch__architecture span:nth-child(1) { left: 31%; }
.glitch__architecture span:nth-child(2) { left: 44%; }
.glitch__architecture span:nth-child(3) { left: 57%; }
.glitch__architecture span:nth-child(4) { left: 70%; }

.glitch__noise {
  position: absolute;
  z-index: 4;
  inset: -1rem;
  background:
    repeating-linear-gradient(0deg, transparent 0 2px, rgba(255,255,255,.12) 3px 4px),
    repeating-linear-gradient(90deg, rgba(67,87,255,.15) 0 1px, transparent 1px 5px);
  opacity: 0.08;
  pointer-events: none;
  mix-blend-mode: screen;
}

.glitch__cloud {
  position: absolute;
  top: 13%;
  left: -10vw;
  width: 120vw;
  color: rgba(255,255,255,.66);
  font-size: clamp(1.1rem, 2.4vw, 2.9rem);
  line-height: 0.88;
  letter-spacing: -0.04em;
  mix-blend-mode: difference;
}

.glitch__cloud p:nth-child(2) {
  margin-left: 18vw;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.48em;
  letter-spacing: 0.08em;
}

.glitch__cloud p:nth-child(3) {
  margin-left: 48vw;
  font-size: 0.7em;
}

.glitch h2 {
  position: absolute;
  z-index: 3;
  right: var(--gutter);
  bottom: 11vh;
  left: var(--gutter);
  max-width: 91rem;
  min-height: 2.2em;
  font-size: clamp(3.6rem, 8vw, 10rem);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 0.86;
}

.glitch__object {
  position: absolute;
  z-index: 2;
  will-change: translate;
  filter: drop-shadow(0 1.6rem 2.4rem rgba(0, 0, 0, 0.55));
}

.glitch__object img {
  width: 100%;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.glitch__object--one {
  top: 40%;
  right: 8%;
  width: clamp(10rem, 20vw, 23rem);
}

.glitch__object--two {
  top: 26%;
  left: 11%;
  width: clamp(8rem, 15vw, 17rem);
}

/* -------------------------------------------------------------------------- */
/* Footer                                                                     */
/* -------------------------------------------------------------------------- */

.footer {
  position: relative;
  z-index: 6;
  overflow: hidden;
  background: var(--paper-bright);
  color: var(--ink);
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr;
  min-height: 78vh;
  padding-top: 6rem;
  padding-bottom: 6rem;
  align-items: start;
}

.footer__top h2 {
  max-width: 68rem;
  font-size: clamp(4.3rem, 9.4vw, 11.2rem);
  font-weight: 500;
  letter-spacing: -0.08em;
  line-height: 0.82;
}

.footer__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-self: end;
}

.footer__details {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--gutter);
  padding-bottom: 4.5rem;
  font-size: 0.85rem;
  line-height: 1.4;
}

.footer__details .eyebrow {
  margin-bottom: 0.6rem;
  opacity: 0.48;
}

.footer__details a:hover,
.footer__details a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.footer__social {
  display: flex;
  gap: 1rem;
  padding-bottom: 1rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.66rem;
  text-transform: uppercase;
}

.footer__social a {
  position: relative;
}

.footer__wordmark {
  position: relative;
  width: calc(100% - 2 * var(--gutter));
  height: clamp(4rem, 17.21vw, 29rem);
  margin-inline: var(--gutter);
  overflow: hidden;
  cursor: crosshair;
}

.footer__wordmark span {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--slice-left);
  width: var(--slice-width);
  overflow: hidden;
  transform-origin: center bottom;
  will-change: transform;
}

.footer__wordmark span img {
  position: absolute;
  top: -139%;
  left: var(--image-left);
  width: var(--image-width);
  max-width: none;
  pointer-events: none;
  user-select: none;
}

.footer__meta {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 1rem;
  padding-top: 2rem;
  padding-bottom: var(--gutter);
  font-size: 0.7rem;
}

/* -------------------------------------------------------------------------- */
/* Responsive                                                                 */
/* -------------------------------------------------------------------------- */

@media (max-width: 991px) {
  .loader__stage,
  .loader__slot {
    height: 10rem;
  }

  .loader__mark {
    height: 3.75rem;
  }

  .loader__mark--lead {
    width: 2.5rem;
  }

  .loader__mark--tail {
    width: 2.175rem;
  }

  .loader.is-expanded .loader__slot {
    width: 10rem;
  }

  .loader__object {
    width: 10rem;
    height: 10rem;
  }

  .loader__object--1 {
    width: 8rem;
    height: 8rem;
  }

  .loader__object--landscape {
    height: 7.5rem;
  }

  .desktop-menu { display: none; }
  .mobile-menu-button { display: flex; }
  .mobile-menu { display: grid; }

  .site-nav__brand {
    max-width: 9rem;
    opacity: 1;
    transform: none;
  }

  .hero__top { top: 3.2rem; }

  .showreel {
    height: auto;
    min-height: 0;
    padding: 7rem var(--gutter);
  }

  .showreel__sticky {
    position: relative;
    height: auto;
    overflow: visible;
  }

  .showreel__copy {
    position: relative;
    padding: 0;
  }

  .showreel__aside {
    position: relative;
    inset: auto;
    grid-template-columns: 1fr 2fr;
    margin: 5rem 0 2rem;
  }

  .showreel__aside p:last-child { grid-column: 2; }

  .showreel__media {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: min(64vh, 120vw) !important;
    border-radius: 0 !important;
  }

  .works { min-height: 0; }
  .works__letters { position: relative; height: auto; padding-top: 1rem; }
  .works__letters span { padding-top: 0; transform: none !important; }

  .works__intro { min-height: 65vh; }
  .project-grid { gap: 10rem var(--gutter); }
  .project--wide { grid-column: 1 / span 8; }
  .project--small { grid-column: 8 / span 5; }
  .project--mid { grid-column: 2 / span 10; }
  .project--right { grid-column: 3 / span 10; }

  .studio-reel {
    height: auto;
    min-height: 0;
    background: #000;
  }

  .studio-reel__sticky {
    position: relative;
    height: 70svh;
    min-height: 34rem;
  }

  .studio-room,
  .studio-screen { transform: none !important; }
  .studio-screen { inset: 14% 6% 10%; }

  .studio-info__manifesto,
  .services { grid-template-columns: 1fr 3fr; }
  .studio-info__manifesto > div,
  .services ul { grid-column: 2; }
  .services__closing { grid-column: 2; }

  .forms-field { height: 105vh; }
}

@media (max-width: 767px) {
  :root { --gutter: 0.8rem; }

  body { font-size: 0.88rem; }

  .hero { min-height: 34rem; }
  .hero__top > p { font-size: 1.02rem; }
  .hero__socials a:not(:first-child),
  .hero__socials > span:not(.locale) { display: none; }

  .showreel { padding-top: 6rem; padding-bottom: 6rem; }
  .showreel__copy h2 { font-size: clamp(2.7rem, 12vw, 5rem); }
  .showreel__aside { grid-template-columns: 1fr; gap: 1.5rem; margin-top: 4rem; }
  .showreel__aside p:last-child { grid-column: 1; max-width: 22rem; }

  .works__intro {
    grid-template-columns: 1fr;
    min-height: 60vh;
    padding-top: 5rem;
  }

  .works__intro h2 {
    grid-column: 1;
    margin-top: 7rem;
    font-size: clamp(2.5rem, 11vw, 4.5rem);
  }

  .project-grid {
    display: flex;
    flex-direction: column;
    gap: 8rem;
    padding-bottom: 10rem;
  }

  .project,
  .project--offset,
  .project--center { width: 100%; margin-top: 0; }
  .project--small { width: 82%; margin-left: auto; }
  .project--mid { width: 94%; margin-inline: auto; }
  .project header { align-items: flex-start; }
  .project header > span { display: none; }
  .project__media { transform: none !important; }

  .works__outro { min-height: 50vh; }

  .studio-reel__sticky { height: 60svh; min-height: 28rem; }
  .studio-screen { inset: 18% 4% 8%; }

  .studio-info__manifesto,
  .services {
    display: block;
    min-height: 0;
    padding-top: 6rem;
    padding-bottom: 8rem;
  }

  .studio-info__manifesto > div { margin-top: 5rem; }
  .studio-info__manifesto > div > p { font-size: clamp(2.5rem, 10.5vw, 4.6rem); }
  .studio-info__manifesto h2 { margin-top: 20vh; font-size: clamp(4.2rem, 20vw, 8rem); }

  .services ul { margin-top: 5rem; }
  .services li { font-size: clamp(2.7rem, 12.8vw, 5rem); }
  .services__closing { margin-top: 5rem; }

  .forms-field { height: 92vh; min-height: 42rem; }
  .form-object--asterisk { left: 20%; }
  .form-object--smiley { right: -6%; }
  .form-object--candy { left: 38%; }

  .team {
    grid-template-columns: 1fr 1fr;
    min-height: 70vh;
    padding-top: 8rem;
  }

  .team > p { grid-column: 1 / -1; margin-bottom: 4rem; }

  .glitch { height: 160vh; }
  .glitch h2 { font-size: clamp(3.5rem, 16vw, 7rem); }

  .footer__top {
    display: flex;
    flex-direction: column;
    min-height: 82vh;
    justify-content: space-between;
  }

  .footer__top h2 { font-size: clamp(4.5rem, 21vw, 9rem); }
  .footer__actions { align-self: auto; }
  .footer__details { grid-template-columns: 1fr; gap: 1.6rem; padding-bottom: 3.5rem; }
  .footer__wordmark { height: max(4rem, 17.21vw); }
  .footer__meta { grid-template-columns: 1fr auto; }
  .footer__meta p:nth-child(2) { display: none; }
}

@media (max-width: 479px) {
  .hero__bottom > p { max-width: 8rem; }
  .pill { min-width: 7.8rem; padding: 0.75rem 0.9rem; }
  .project--small,
  .project--mid { width: 100%; }
  .studio-reel__sticky { height: 50svh; min-height: 24rem; }
  .forms-field { pointer-events: none; }
  .team { grid-template-columns: 1fr; }
  .team > p { grid-column: 1; }
  .glitch__object--one { right: -8%; }
  .glitch__object--two { left: 4%; }
  .mobile-menu__actions { align-items: flex-start; flex-direction: column; }
}

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

  .loader { display: none; }
  .project__media { clip-path: none; }
  .showreel,
  .studio-reel { height: auto; min-height: 100vh; }
  .showreel__sticky,
  .studio-reel__sticky { position: relative; }
}
