:root {
  color-scheme: dark;
  --ink: #000000;
  --ink-soft: #0a0a0a;
  --ivory: #ffffff;
  --ivory-muted: #a3a3a3;
  --warm: #ffffff;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --header-height: 10rem;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --display: "Inter", "Helvetica Neue", Arial, sans-serif;
}

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

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

body {
  min-width: 20rem;
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--sans);
  font-optical-sizing: auto;
  font-size: 1rem;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.dialog-open {
  overflow: hidden;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

::selection {
  background: var(--warm);
  color: var(--ink);
}

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

button,
a {
  color: inherit;
  font: inherit;
}

button {
  border: 0;
}

a {
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 0.35rem;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  transform: translateY(-150%);
  background: var(--ivory);
  color: var(--ink);
  transition: transform 180ms ease-out;
}

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

.section-shell {
  padding-right: var(--gutter);
  padding-left: var(--gutter);
}

.site-header {
  position: fixed;
  z-index: 90;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: var(--header-height);
  padding: 0 var(--gutter);
  pointer-events: none;
  color: #fff;
  transition: min-height 300ms ease;
}

.site-header.is-scrolled {
  min-height: 4.35rem;
}

.brand {
  pointer-events: none;
  z-index: 1;
  display: grid;
  place-items: center;
  justify-self: center;
  grid-column: 2;
  line-height: 0;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, -0.75rem, 0) scale(0.88);
  transition:
    opacity 520ms ease,
    visibility 520ms ease,
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header.is-past-hero .brand {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
  transform: none;
}

.brand img {
  width: clamp(7rem, 16vw, 13rem);
  height: clamp(7rem, 16vw, 13rem);
  object-fit: contain;
}

.site-nav {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 2.8vw, 3rem);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-nav--left {
  grid-column: 1;
  justify-self: start;
}

.site-nav--right {
  grid-column: 3;
  justify-self: end;
}

.site-nav a {
  position: relative;
  padding: 0.5rem 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0.2rem;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background: currentColor;
  content: "";
  transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hero {
  position: relative;
  z-index: 1;
  height: 100svh;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: #000;
}

.hero__grid,
.hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__grid {
  z-index: 0;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(12, minmax(0, 1fr));
  gap: 0.35rem;
  padding: 0.35rem;
  background: #000;
  transform: translate3d(0, var(--hero-grid-y, 0px), 0)
    scale(var(--hero-grid-scale, 1));
  transform-origin: center center;
  will-change: transform;
}

.hero__tile {
  --parallax-y: 0px;
  position: relative;
  display: block;
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  background: #141311;
  opacity: 0;
  transform: translate3d(0, var(--parallax-y), 0) scale(1.02);
  transition:
    opacity 900ms ease,
    transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.hero__tile--wise {
  grid-column: 1 / 8;
  grid-row: 1 / 9;
}

.hero__tile--sumi {
  grid-column: 8 / 13;
  grid-row: 1 / 7;
  transition-delay: 90ms;
}

.hero__tile--circle {
  grid-column: 8 / 13;
  grid-row: 7 / 13;
  transition-delay: 160ms;
}

.hero__tile--red {
  grid-column: 1 / 8;
  grid-row: 9 / 13;
  transition-delay: 230ms;
}

.hero__tile video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(var(--hero-video-scale, 1.08));
  filter: blur(var(--hero-blur, 0px));
  transition:
    transform 900ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 0ms linear;
  will-change: transform, filter;
}

.hero.is-ready.is-parallax-live .hero__tile video {
  transition:
    transform 0ms linear,
    filter 0ms linear;
}

.hero__tile-logo {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: clamp(-1.5rem, -2vw, -0.5rem);
  left: 0;
  width: 100%;
  max-width: none;
  margin: -8% 0 -10%;
  pointer-events: none;
  filter: invert(1);
  opacity: 0;
  transform: translateY(0.8rem);
  transition:
    opacity 900ms 280ms ease,
    transform 1.1s 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero.is-ready .hero__tile-logo {
  opacity: 0.96;
  transform: translateY(0);
}

.hero__tile--wise .hero__tile-label {
  display: none;
}

.hero__tile::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 55%,
    rgba(0, 0, 0, 0.55) 100%
  );
  content: "";
  opacity: 0.55;
  transition: opacity 350ms ease;
}

.hero__tile-label {
  position: absolute;
  z-index: 1;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-align: left;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(0.4rem);
  transition:
    opacity 350ms ease,
    transform 450ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero__tile:hover video,
.hero__tile:focus-visible video {
  transform: scale(calc(var(--hero-video-scale, 1.08) + 0.04));
}

.hero__tile:hover::after,
.hero__tile:focus-visible::after {
  opacity: 0.75;
}

.hero__tile:hover .hero__tile-label,
.hero__tile:focus-visible .hero__tile-label {
  opacity: 1;
  transform: translateY(0);
}

.hero__tile:active {
  transform: translate3d(0, var(--parallax-y), 0) scale(0.995);
}

.hero.is-ready .hero__tile {
  opacity: 1;
  transform: translate3d(0, var(--parallax-y), 0) scale(1);
}

.hero.is-ready.is-parallax-live .hero__tile {
  transition:
    opacity 900ms ease,
    transform 0ms linear;
}

.hero__shade {
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.2) 0%,
    transparent 30%
  );
}

.hero::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    circle at 50% 42%,
    transparent 0,
    transparent 42%,
    rgba(0, 0, 0, 0.18) 100%
  );
  content: "";
}

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

[data-parallax] {
  --parallax-y: 0px;
  will-change: transform;
}

.section-index {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid currentColor;
  font-size: 0.63rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.statement {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  padding-top: clamp(5rem, 10vw, 9rem);
  padding-bottom: clamp(6rem, 12vw, 11rem);
  background: #000;
  color: #fff;
}

.statement .section-index {
  width: min(32rem, 100%);
  margin-left: auto;
}

.statement h2 {
  max-width: 11ch;
  margin: clamp(6rem, 12vw, 11rem) 0 0;
  font-family: var(--display);
  font-size: clamp(3.6rem, 10vw, 9.5rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.86;
}

.statement h2[data-parallax],
.statement__copy[data-parallax],
.statement .section-index[data-parallax],
.text-reveal[data-parallax],
.section-heading h2[data-parallax],
.section-heading__aside[data-parallax],
.contact__eyebrow[data-parallax] {
  transform: translate3d(0, var(--parallax-y, 0px), 0);
}

.statement__copy {
  width: min(31rem, 100%);
  margin: clamp(4rem, 8vw, 8rem) 8vw 0 auto;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.2vw, 2.15rem);
  line-height: 1.25;
}

/* Text-masked video scroll — vector veil scaled over full video */

.mask-scroll {
  position: relative;
  z-index: 2;
  height: 420vh;
  background: #000;
}

.mask-scroll__sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  background: #000;
}

.mask-scroll__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mask-scroll__veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  user-select: none;
  overflow: visible;
}

.mask-scroll__letter-stroke {
  paint-order: stroke fill;
}

.text-reveal .word {
  display: inline-block;
  margin-right: 0.14em;
  opacity: 0.15;
  transform: translateY(0.22em);
  transition:
    opacity 720ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--word-index) * 65ms);
}

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

.js .reveal {
  opacity: 0;
  transform: translate3d(0, calc(2rem + var(--parallax-y, 0px)), 0);
  transition:
    opacity 800ms ease,
    transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, var(--parallax-y, 0px), 0);
}

.js .reveal.is-visible[data-parallax] {
  transition:
    opacity 800ms ease,
    transform 0ms linear;
}

.work {
  position: relative;
  z-index: 2;
  padding-top: clamp(6rem, 11vw, 10rem);
  padding-bottom: clamp(8rem, 14vw, 14rem);
  background: #000;
}

.section-heading {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
  align-items: end;
  margin-bottom: clamp(6rem, 12vw, 11rem);
}

.section-heading .section-index {
  grid-column: 1 / 5;
  align-self: start;
}

.section-heading h2 {
  grid-column: 5 / 11;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.4rem, 7.5vw, 7.2rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.9;
}

.section-heading__aside {
  grid-column: 11 / 13;
  margin: 0 0 0.5rem;
  color: var(--ivory-muted);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  line-height: 1.7;
  text-transform: uppercase;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto auto auto auto auto;
  column-gap: clamp(1rem, 2.5vw, 2.5rem);
  row-gap: clamp(8rem, 14vw, 14rem);
}

.project--wise {
  grid-column: 1 / 11;
  grid-row: 1;
}

.project--sumi {
  grid-column: 8 / 13;
  grid-row: 2;
}

.project--circle {
  grid-column: 2 / 6;
  grid-row: 2;
  align-self: end;
}

.project--red {
  grid-column: 5 / 13;
  grid-row: 3;
}

.project--morning {
  grid-column: 1 / 10;
  grid-row: 4;
}

.project--twilight {
  grid-column: 4 / 13;
  grid-row: 5;
}

.project__media {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  background: #181715;
  text-align: left;
  isolation: isolate;
}

.project--landscape .project__media {
  aspect-ratio: 16 / 9;
}

.project--portrait .project__media {
  aspect-ratio: 9 / 16;
}

.project__media video,
.project__media img {
  --media-parallax-y: 0px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate3d(0, var(--media-parallax-y), 0) scale(1.18);
  will-change: transform;
  transition:
    transform 0ms linear,
    filter 700ms ease;
}

.project__media:hover video,
.project__media:focus-visible video,
.project__media:hover img,
.project__media:focus-visible img {
  transform: translate3d(0, var(--media-parallax-y), 0) scale(1.24);
}

.project__media:active {
  transform: scale(0.995);
}

.project__wash {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 58%, rgba(0, 0, 0, 0.35));
  transition: background-color 500ms ease;
}

.project__hover {
  --hover-x: 0;
  --hover-y: 14%;
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: clamp(1rem, 2.2vw, 2rem);
  background: rgba(15, 13, 10, 0.5);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: translate3d(var(--hover-x), var(--hover-y), 0);
  transition:
    opacity 380ms ease,
    transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.project__hover > span:first-child {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.6vw, 2.8rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.project__hover > span:last-child {
  font-size: clamp(1.4rem, 2.5vw, 2.5rem);
}

.project__media[data-hover-side="top"] .project__hover {
  --hover-y: -14%;
}

.project__media[data-hover-side="right"] .project__hover {
  --hover-x: 14%;
  --hover-y: 0;
}

.project__media[data-hover-side="bottom"] .project__hover {
  --hover-y: 14%;
}

.project__media[data-hover-side="left"] .project__hover {
  --hover-x: -14%;
  --hover-y: 0;
}

.project__media.is-hovered .project__hover,
.project__media:focus-visible .project__hover {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.project__number {
  position: absolute;
  z-index: 3;
  top: 1rem;
  left: 1rem;
  display: grid;
  width: 2.3rem;
  height: 2.3rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  color: #fff;
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  transition:
    background-color 300ms ease,
    color 300ms ease;
}

.project__media:hover .project__number {
  background: var(--ivory);
  color: var(--ink);
}

.project__meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line-light);
}

.project__meta h3,
.project__meta p {
  margin: 0;
}

.project__meta h3 {
  font-family: var(--display);
  font-size: clamp(1.25rem, 2vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.project__meta div p,
.project__meta > p {
  margin-top: 0.3rem;
  color: var(--ivory-muted);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project__meta > p {
  flex: 0 0 auto;
  text-align: right;
}

.studio {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(20rem, 42vw) 1fr;
  background: #000;
  color: #fff;
}

.studio__image {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: #181611;
}

.studio__image video,
.studio__image-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.studio__image video {
  --media-parallax-y: 0px;
  z-index: -2;
  object-fit: cover;
  transform: translate3d(0, var(--media-parallax-y), 0) scale(1.22);
  will-change: transform;
}

.studio__image-shade {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.55)),
    radial-gradient(circle at center, transparent, rgba(0, 0, 0, 0.25));
}

.studio__image img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(65%, 27rem);
  transform: translate(-50%, -50%);
}

.studio__content {
  display: flex;
  min-height: 145svh;
  flex-direction: column;
  padding-top: clamp(6rem, 10vw, 10rem);
  padding-bottom: clamp(6rem, 10vw, 10rem);
}

.studio__content .section-index {
  width: min(29rem, 100%);
  margin-left: auto;
}

.studio__content h2 {
  max-width: 8ch;
  margin: auto 0 clamp(4rem, 8vw, 8rem);
  padding-top: 8rem;
  font-family: var(--display);
  font-size: clamp(3.6rem, 8vw, 8rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.9;
}

.studio__copy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 5rem);
  max-width: 50rem;
  margin-left: auto;
}

.studio__copy p {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.15rem, 1.8vw, 1.65rem);
  line-height: 1.35;
}

.studio__services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: clamp(5rem, 9vw, 9rem) 0 0;
  padding: 1rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  list-style: none;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  overflow: hidden;
  background: #000;
}

.contact__inner {
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  padding-top: clamp(6rem, 10vw, 9rem);
}

.contact .section-index {
  width: min(31rem, 100%);
  margin-left: auto;
}

.contact__eyebrow {
  margin: clamp(6rem, 11vw, 11rem) 0 1.5rem;
  color: var(--warm);
  font-size: 0.67rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contact h2 {
  max-width: 12ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.2rem, 9vw, 9.5rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.92;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact-form {
  display: grid;
  width: min(43rem, 100%);
  margin: clamp(3.5rem, 7vw, 7rem) 0 clamp(6rem, 12vw, 11rem) auto;
  gap: 1.35rem;
}

.contact-form__field {
  display: grid;
  gap: 0.55rem;
}

.contact-form__field span {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ivory-muted);
}

.contact-form__field input,
.contact-form__field textarea {
  width: 100%;
  margin: 0;
  padding: 1rem 0 0.85rem;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0;
  background: transparent;
  color: var(--ivory);
  font: inherit;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  letter-spacing: -0.01em;
  outline: none;
  resize: vertical;
  transition: border-color 250ms ease;
}

.contact-form__field input::placeholder,
.contact-form__field textarea::placeholder {
  color: rgba(255, 255, 255, 0.28);
}

.contact-form__field input:focus,
.contact-form__field textarea:focus {
  border-bottom-color: var(--ivory);
}

.contact-form__field--message textarea {
  min-height: 8rem;
  line-height: 1.45;
}

.contact-form .contact__button {
  width: 100%;
  margin: 1rem 0 0;
}

.contact-form__status {
  margin: 0.25rem 0 0;
  color: var(--ivory-muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-form__status.is-error {
  color: #f0b4b4;
}

.contact__button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(43rem, 100%);
  min-height: 5.8rem;
  margin: clamp(4rem, 8vw, 8rem) 0 clamp(8rem, 14vw, 13rem) auto;
  padding: 0 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 99rem;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  font-size: clamp(1.1rem, 2.1vw, 1.8rem);
  letter-spacing: -0.02em;
  transform: translate3d(var(--magnetic-x, 0), var(--magnetic-y, 0), 0);
  will-change: transform;
  transition:
    background-color 300ms ease,
    color 300ms ease,
    border-color 300ms ease;
}

.contact__button:hover {
  border-color: var(--ivory);
  background: var(--ivory);
  color: var(--ink);
}

.contact__button:active {
  scale: 0.98;
}

.contact__button > span:last-child {
  font-size: 1.7em;
  line-height: 1;
}

.footer {
  display: grid;
  grid-template-columns: minmax(13rem, 1fr) minmax(12rem, 0.65fr) minmax(12rem, 0.65fr);
  gap: clamp(2rem, 5vw, 6rem);
  align-items: end;
  margin-top: auto;
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--line-light);
}

.footer__brand {
  display: block;
  width: min(26rem, 100%);
  overflow: hidden;
}

.footer__brand img {
  width: 100%;
  margin: -16% 0 -20%;
  filter: invert(1);
}

.footer > p {
  max-width: 22rem;
  margin: 0;
  color: var(--ivory-muted);
  font-family: var(--display);
  font-size: 1.05rem;
  line-height: 1.35;
}

.footer__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.6rem;
  color: var(--ivory-muted);
  font-size: 0.61rem;
  letter-spacing: 0.1em;
  text-align: right;
  text-transform: uppercase;
}

.footer__socials {
  display: flex;
  gap: 1.1rem;
  margin-bottom: 0.4rem;
}

.footer__meta a {
  color: var(--ivory);
}

.film-dialog {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: rgba(5, 5, 4, 0.96);
  color: var(--ivory);
}

.film-dialog[open] {
  display: grid;
  grid-template-rows: auto 1fr;
  animation: dialog-in 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.film-dialog::backdrop {
  background: #050504;
}

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

.film-dialog__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5.2rem;
  padding: 0 var(--gutter);
  border-bottom: 1px solid var(--line-light);
}

.film-dialog__bar p {
  margin: 0;
}

.film-dialog__bar p:first-child {
  font-family: var(--display);
  font-size: 1.15rem;
}

.film-dialog__bar p:last-child {
  margin-top: 0.1rem;
  color: var(--ivory-muted);
  font-size: 0.59rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.film-dialog__bar button {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
  cursor: pointer;
  background: transparent;
  font-size: 0.63rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.film-dialog__close-icon {
  display: grid;
  width: 2.4rem;
  height: 2.4rem;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  line-height: 0;
  transition:
    background-color 250ms ease,
    color 250ms ease,
    border-color 250ms ease;
}

.film-dialog__close-icon svg {
  display: block;
}

.film-dialog__bar button:hover .film-dialog__close-icon {
  border-color: var(--ivory);
  background: var(--ivory);
  color: var(--ink);
}

.film-dialog__stage {
  display: grid;
  min-height: 0;
  padding: clamp(1rem, 2vw, 2rem);
  place-items: center;
}

.film-dialog__stage video {
  width: 100%;
  max-width: min(100%, 100rem);
  max-height: calc(100dvh - 9.2rem);
  background: #000;
  border: 0;
  object-fit: contain;
}

.film-dialog__stage[data-orientation="portrait"] video {
  width: auto;
  height: 100%;
  aspect-ratio: 9 / 16;
}

.noscript {
  position: fixed;
  z-index: 200;
  right: 1rem;
  bottom: 1rem;
  max-width: 25rem;
  margin: 0;
  padding: 1rem;
  background: var(--ivory);
  color: var(--ink);
  font-size: 0.8rem;
}

@media (max-width: 900px) {
  .section-heading h2 {
    grid-column: 5 / 13;
  }

  .section-heading__aside {
    display: none;
  }

  .work-grid {
    row-gap: 7rem;
  }

  .project--wise {
    grid-column: 1 / 13;
  }

  .project--circle {
    grid-column: 1 / 6;
  }

  .project--sumi {
    grid-column: 7 / 13;
  }

  .project--red {
    grid-column: 3 / 13;
  }

  .project--morning {
    grid-column: 1 / 13;
  }

  .project--twilight {
    grid-column: 2 / 13;
  }

  .studio {
    grid-template-columns: 38vw 1fr;
  }

  .studio__copy {
    grid-template-columns: 1fr;
  }

  .footer {
    grid-template-columns: 1fr 1fr;
  }

  .footer__meta {
    grid-column: 1 / 3;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (max-width: 680px) {
  :root {
    --gutter: 1.15rem;
    --header-height: 5.25rem;
  }

  .site-header {
    min-height: var(--header-height);
    padding-top: 0.35rem;
  }

  .brand img {
    width: 3.75rem;
    height: 3.75rem;
  }

  .site-nav {
    gap: 0.75rem;
    font-size: 0.55rem;
  }

  .site-nav--left a:last-child {
    display: none;
  }

  .hero__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(12, minmax(0, 1fr));
    gap: 0.25rem;
    padding: 0.25rem;
  }

  .hero__tile--wise {
    grid-column: 1 / 3;
    grid-row: 1 / 5;
  }

  .hero__tile--sumi {
    grid-column: 1;
    grid-row: 5 / 10;
  }

  .hero__tile--circle {
    grid-column: 2;
    grid-row: 5 / 10;
  }

  .hero__tile--red {
    grid-column: 1 / 3;
    grid-row: 10 / 13;
  }

  .hero__tile-logo {
    width: 100%;
    margin: -6% 0 -8%;
  }

  .hero__tile-label {
    font-size: 0.52rem;
    right: 0.65rem;
    bottom: 0.65rem;
    left: 0.65rem;
  }

  .mask-scroll {
    height: 380vh;
  }

  .statement,
  .work,
  .studio__content,
  .contact__inner {
    padding-top: calc(var(--header-height) + 1.75rem);
  }

  .statement {
    min-height: auto;
    padding-bottom: 4.5rem;
  }

  .statement .section-index,
  .studio__content .section-index,
  .contact .section-index {
    width: 100%;
  }

  .statement h2,
  .section-heading h2,
  .studio__content h2,
  .contact h2 {
    max-width: none;
    width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
  }

  .statement h2 {
    margin-top: 3.5rem;
    font-size: clamp(2.6rem, 11.5vw, 4rem);
    line-height: 0.95;
  }

  .statement__copy {
    width: 100%;
    margin: 3rem 0 0;
    font-size: clamp(1.15rem, 4.8vw, 1.45rem);
  }

  .section-heading {
    display: block;
    margin-bottom: 3.5rem;
  }

  .section-heading h2 {
    margin-top: 3rem;
    font-size: clamp(2.5rem, 11vw, 3.8rem);
    line-height: 0.95;
  }

  .text-reveal .word {
    max-width: 100%;
  }

  .work {
    padding-bottom: 5rem;
  }

  .work-grid {
    display: block;
  }

  .project {
    width: 100%;
    margin-bottom: 4.5rem;
  }

  .project--portrait {
    width: 82%;
  }

  .project--sumi {
    margin-left: auto;
  }

  .project--circle {
    margin-right: auto;
  }

  .project__meta {
    display: block;
  }

  .project__meta > p {
    text-align: left;
  }

  .project__meta h3 {
    font-size: clamp(1.15rem, 5vw, 1.5rem);
  }

  .studio {
    display: block;
  }

  .studio__image {
    position: relative;
    height: 72svh;
  }

  .studio__content {
    min-height: auto;
    padding-bottom: 4.5rem;
  }

  .studio__content h2 {
    margin: 1.75rem 0 2.5rem;
    padding-top: 0;
    font-size: clamp(2.6rem, 11.5vw, 4rem);
    line-height: 0.95;
  }

  .studio__content .section-index {
    margin-bottom: 0.25rem;
  }

  [data-parallax] {
    --parallax-y: 0px !important;
  }

  .studio__copy p {
    font-size: clamp(1.05rem, 4.4vw, 1.35rem);
  }

  .studio__services {
    grid-template-columns: 1fr;
  }

  .contact {
    overflow: visible;
  }

  .contact__inner {
    min-height: auto;
    padding-bottom: 2rem;
  }

  .contact__eyebrow {
    margin: 2.75rem 0 1.1rem;
  }

  .contact h2 {
    font-size: clamp(2.45rem, 10.8vw, 3.6rem);
    line-height: 0.96;
    letter-spacing: -0.04em;
  }

  .contact-form {
    width: 100%;
    margin: 2.75rem 0 4rem;
    gap: 1.15rem;
  }

  .contact__button {
    min-height: 4.25rem;
    padding: 0 1.15rem;
    font-size: 1.05rem;
  }

  .footer {
    display: block;
    gap: 0;
    padding-top: 2.25rem;
    padding-bottom: 1.5rem;
  }

  .footer__brand {
    width: min(16rem, 78%);
  }

  .footer > p {
    margin: 1.5rem 0 2.25rem;
    font-size: 0.95rem;
  }

  .footer__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
  }

  .footer__socials {
    justify-content: flex-start;
    gap: 0.75rem 1rem;
  }

  .film-dialog__bar {
    min-height: 4.5rem;
  }

  .film-dialog__bar p:last-child,
  .film-dialog__bar button span:first-child {
    display: none;
  }

  .film-dialog__stage {
    padding: 0.75rem;
  }

  .film-dialog__stage[data-orientation="portrait"] video {
    width: min(100%, 22rem);
    height: auto;
  }
}

@media (max-width: 400px) {
  .contact h2,
  .statement h2,
  .studio__content h2,
  .section-heading h2 {
    font-size: clamp(2.15rem, 10vw, 2.8rem);
  }

  .contact__button {
    font-size: 0.95rem;
  }

  .site-nav {
    font-size: 0.5rem;
    letter-spacing: 0.12em;
  }
}

@media (hover: none) {
  .hero__tile-label {
    opacity: 0.9;
    transform: none;
  }

  .hero__tile::after {
    opacity: 0.7;
  }

  .project__hover {
    top: auto;
    display: flex;
    height: 4rem;
    padding: 1rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    opacity: 1;
    transform: none;
  }

  .project__hover > span:first-child {
    font-size: 1rem;
  }
}

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

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

  .brand,
  .site-header.is-past-hero .brand {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto;
  }

  .hero__tile,
  .hero__tile-logo,
  .hero__grid,
  .js .reveal,
  .text-reveal .word,
  [data-parallax] {
    opacity: 1 !important;
    transform: none !important;
  }

  .mask-scroll {
    height: auto;
  }

  .mask-scroll__veil {
    display: none;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .project__hover {
    background: rgba(8, 8, 7, 0.96);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

@media (prefers-contrast: more) {
  .project__meta,
  .section-index,
  .footer {
    border-color: currentColor;
  }
}
