:root {
  --ink: #f2f2ee;
  --muted: rgba(242, 242, 238, 0.62);
  --line: rgba(255, 255, 255, 0.22);
  --background: #050505;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--background);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  text-rendering: optimizeLegibility;
}

.direction-gateway {
  min-height: 100svh;
  position: relative;
  overflow: hidden;
}

.gateway-brand,
.gateway-note {
  position: fixed;
  z-index: 20;
  top: 28px;
  margin: 0;
  color: #fff;
  mix-blend-mode: difference;
  pointer-events: none;
}

.gateway-brand {
  left: 30px;
}

.gateway-brand img {
  display: block;
  width: clamp(118px, 9vw, 158px);
  height: auto;
}

.gateway-note {
  right: 30px;
  font-size: 0.75rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.direction-grid {
  min-height: 100svh;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.direction-card {
  position: relative;
  display: flex;
  min-height: 100svh;
  overflow: hidden;
  border-left: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  isolation: isolate;
}

.direction-card:first-child {
  border-left: 0;
}

.direction-card__image,
.direction-card__shade {
  position: absolute;
  inset: 0;
}

.direction-card__image {
  z-index: -2;
  background-image: var(--card-image);
  background-position: center;
  background-size: cover;
  filter: grayscale(1) contrast(1.05);
  opacity: 0.28;
  transform: scale(1.025);
  transition: transform 650ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 500ms ease, opacity 500ms ease;
}

.direction-card__shade {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.58) 0%, transparent 35%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.84) 0%, transparent 62%);
}

.direction-card__number {
  position: absolute;
  top: 28px;
  left: 26px;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1;
  letter-spacing: 0.09em;
}

.direction-card__content {
  align-self: flex-end;
  width: 100%;
  padding: 0 26px 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.direction-card__title {
  display: flex;
  flex-direction: column;
  font-size: clamp(2rem, 3.1vw, 4.2rem);
  font-weight: 400;
  line-height: 0.89;
  letter-spacing: -0.075em;
}

.direction-card__label {
  max-width: 15rem;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.25;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.direction-card__arrow {
  position: absolute;
  right: 24px;
  bottom: 34px;
  font-size: 1.25rem;
  line-height: 1;
  opacity: 0;
  transform: translate(-8px, 8px);
  transition: opacity 250ms ease, transform 350ms ease;
}

.direction-card:hover .direction-card__image,
.direction-card:focus-visible .direction-card__image {
  filter: grayscale(0) contrast(1.02);
  opacity: 0.82;
  transform: scale(1.065);
}

.direction-card:hover .direction-card__arrow,
.direction-card:focus-visible .direction-card__arrow {
  opacity: 1;
  transform: translate(0, 0);
}

.direction-card:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -4px;
}

@media (max-width: 980px) {
  .direction-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .direction-card {
    min-height: 50svh;
    border-bottom: 1px solid var(--line);
  }

  .direction-card:nth-child(odd) {
    border-left: 0;
  }
}

@media (max-width: 620px) {
  .gateway-brand,
  .gateway-note {
    position: absolute;
    top: 20px;
  }

  .gateway-brand {
    left: 18px;
  }

  .gateway-note {
    right: 18px;
    font-size: 0.75rem;
  }

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

  .direction-card {
    min-height: 54svh;
    border-left: 0;
  }

  .direction-card:first-child {
    min-height: 72svh;
  }

  .direction-card__number {
    top: 20px;
    left: 18px;
  }

  .direction-card:first-child .direction-card__number {
    top: 84px;
  }

  .direction-card__content {
    padding: 0 18px 22px;
  }

  .direction-card__title {
    font-size: clamp(2.5rem, 15vw, 4rem);
  }

  .direction-card__arrow {
    right: 18px;
    bottom: 22px;
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .direction-card__image,
  .direction-card__arrow {
    transition: none;
  }
}

html {
  scroll-behavior: smooth;
}

.section-page,
.project-page {
  background: #080808;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  height: 78px;
  padding: 0 30px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(5, 5, 5, 0.72);
  backdrop-filter: blur(18px);
}

.site-brand {
  justify-self: start;
  display: block;
  text-decoration: none;
}

.site-brand img {
  display: block;
  width: clamp(116px, 9vw, 152px);
  height: auto;
}

.section-nav {
  display: flex;
  gap: clamp(22px, 3vw, 52px);
}

.section-nav a,
.direction-switch {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.section-nav a:hover,
.section-nav a:focus-visible,
.direction-switch:hover,
.direction-switch:focus-visible {
  color: #fff;
}

.direction-switch {
  justify-self: end;
}

.section-hero {
  position: relative;
  min-height: 100svh;
  padding: 140px 30px 40px;
  display: flex;
  overflow: hidden;
  isolation: isolate;
}

.section-hero__image,
.section-hero__veil {
  position: absolute;
  inset: 0;
}

.section-hero__image {
  z-index: -2;
  background-position: center;
  background-size: cover;
  filter: grayscale(0.2) contrast(1.05);
  transform: scale(1.02);
}

.section-hero__veil {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.26) 64%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.76) 0%, transparent 55%);
}

.section-hero__number {
  position: absolute;
  top: 112px;
  right: 30px;
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

.section-hero__content {
  width: min(1120px, 92vw);
  align-self: flex-end;
}

.section-hero__label,
.section-kicker {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-hero h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(4.1rem, 11vw, 10.5rem);
  font-weight: 400;
  line-height: 0.8;
  letter-spacing: -0.085em;
}

.section-hero__statement {
  max-width: 580px;
  margin: 42px 0 0;
  font-size: clamp(1.18rem, 2vw, 1.75rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.section-hero__scroll {
  position: absolute;
  right: 30px;
  bottom: 42px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.content-section {
  padding: clamp(80px, 10vw, 150px) 30px;
}

.section-heading {
  margin-bottom: 70px;
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(300px, 2fr);
  gap: 30px;
}

.section-heading > p:last-child {
  max-width: 880px;
  margin: 0;
  font-size: clamp(1.65rem, 3.4vw, 3.7rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

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

.work-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: inherit;
  text-decoration: none;
}

.work-card:nth-child(3n + 1) {
  grid-column: span 2;
}

.work-card__visual {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #121212;
}

.work-card__visual::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(135deg, rgba(9, 50, 58, 0.18), rgba(182, 77, 29, 0.13));
  mix-blend-mode: color;
  transition: opacity 450ms ease;
}

.work-card:nth-child(3n + 1) .work-card__visual {
  aspect-ratio: 16 / 8;
}

.work-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: grayscale(1) contrast(1.1) brightness(0.94);
  transition: transform 650ms cubic-bezier(0.22, 1, 0.36, 1), filter 450ms ease;
}

.work-card:hover img,
.work-card:focus-visible img {
  filter: grayscale(0) saturate(0.9) contrast(1.1) brightness(0.96);
  transform: scale(1.035);
}

.work-card:hover .work-card__visual::after,
.work-card:focus-visible .work-card__visual::after {
  opacity: 1;
}

.work-card__index,
.work-card__open,
.planned-mark {
  position: absolute;
  z-index: 2;
  top: 18px;
  color: #fff;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.work-card__index,
.planned-mark {
  left: 18px;
}

.work-card__open {
  right: 18px;
  font-size: 0.75rem;
  opacity: 0;
  transform: translate(-6px, 6px);
  transition: opacity 200ms ease, transform 260ms ease;
}

.work-card:hover .work-card__open,
.work-card:focus-visible .work-card__open {
  opacity: 1;
  transform: none;
}

.work-card__title {
  max-width: 34ch;
  font-size: clamp(1.1rem, 1.8vw, 1.65rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.work-card--planned .work-card__visual {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(135deg, transparent 49.8%, rgba(255, 255, 255, 0.13) 50%, transparent 50.2%),
    #0c0c0c;
}

.work-card--planned .work-card__title {
  color: rgba(255, 255, 255, 0.56);
}

.about-section {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 7vw;
}

.about-grid h2 {
  margin: 0;
  font-size: clamp(2.8rem, 6.5vw, 7.4rem);
  font-weight: 400;
  line-height: 0.89;
  letter-spacing: -0.075em;
}

.about-copy {
  align-self: end;
}

.about-copy p {
  margin: 0 0 1.2em;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  line-height: 1.55;
}

.contact-section {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  background: #ededE8;
  color: #0a0a0a;
}

.contact-section .section-kicker {
  color: rgba(0, 0, 0, 0.5);
}

.contact-prompt {
  margin: 0 0 52px;
  font-size: clamp(2.6rem, 6.6vw, 7.4rem);
  line-height: 0.9;
  letter-spacing: -0.07em;
}

.contact-mail {
  display: flex;
  justify-content: space-between;
  padding: 22px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(0, 0, 0, 0.3);
  color: inherit;
  font-size: clamp(1.1rem, 2.4vw, 2.4rem);
  letter-spacing: -0.03em;
  text-decoration: none;
}

.contact-meta {
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.contact-meta a {
  color: inherit;
  text-decoration: none;
}

.site-footer {
  padding: 24px 30px;
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.project-hero {
  position: relative;
  height: max(72svh, 620px);
  overflow: hidden;
  isolation: isolate;
}

.project-hero > img,
.project-hero__veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.project-hero > img {
  z-index: -2;
  object-fit: cover;
}

.project-hero__veil {
  z-index: -1;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.82), transparent 68%);
}

.project-hero__content {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 42px;
}

.project-hero__content > a {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.project-hero h1 {
  max-width: 15ch;
  margin: 20px 0 0;
  font-size: clamp(3rem, 7vw, 8.2rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.075em;
}

.project-intro {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 7vw;
}

.project-facts {
  margin: 0;
  padding: 0;
  list-style: none;
}

.project-facts li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.85rem;
  line-height: 1.35;
}

.project-copy p {
  margin: 0 0 1em;
  max-width: 70ch;
  font-size: clamp(1.05rem, 1.45vw, 1.35rem);
  line-height: 1.55;
  letter-spacing: -0.018em;
}

.about-page {
  background: #080808;
}

.about-hero {
  min-height: 100svh;
  padding-top: clamp(150px, 18vh, 220px);
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 7vw;
  align-content: end;
}

.about-hero > .section-kicker {
  align-self: start;
}

.about-hero h1 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(3.3rem, 7.4vw, 8.5rem);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: -0.075em;
}

.about-hero__copy {
  grid-column: 2;
  max-width: 780px;
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.about-hero__copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  line-height: 1.55;
}

.team-section,
.capabilities-section {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

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

.team-card__portrait {
  aspect-ratio: 1;
  overflow: hidden;
  background: #111;
}

.team-card__portrait img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: grayscale(1) contrast(1.06);
  transition: filter 400ms ease, transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.team-card:hover .team-card__portrait img {
  filter: grayscale(0) saturate(0.9) contrast(1.06);
  transform: scale(1.025);
}

.team-card__meta {
  padding: 18px 0 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.team-card__meta h2 {
  margin: 0 0 8px;
  font-size: clamp(1.25rem, 2vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.04em;
}

.team-card__meta p,
.team-card blockquote {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.9rem;
  line-height: 1.45;
}

.team-card blockquote {
  padding-top: 22px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
}

.capabilities-grid {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.capability-item {
  padding: 24px 0;
  display: grid;
  grid-template-columns: 0.35fr 1fr 1.4fr;
  gap: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.capability-item span,
.capability-item p {
  color: rgba(255, 255, 255, 0.58);
}

.capability-item h3,
.capability-item p {
  margin: 0;
}

.capability-item h3 {
  font-size: clamp(1.25rem, 2vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.035em;
}

.capability-item p {
  font-size: 1rem;
  line-height: 1.5;
}

.project-media {
  padding-top: 0;
}

.project-video {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}

.project-video + .project-video {
  margin-top: 24px;
}

.project-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.project-gallery {
  padding-top: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.project-gallery__item {
  margin: 0;
  min-height: 320px;
  background: #111;
}

.project-gallery__item:nth-child(3n + 1) {
  grid-column: span 2;
}

.project-gallery__item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.project-back {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.project-back a {
  display: flex;
  gap: 14px;
  color: inherit;
  font-size: clamp(1.4rem, 2.5vw, 2.5rem);
  letter-spacing: -0.04em;
  text-decoration: none;
}

@media (max-width: 760px) {
  .site-header {
    height: 68px;
    padding: 0 18px;
    grid-template-columns: 1fr auto;
  }

  .section-nav {
    gap: 10px;
  }

  .section-nav a {
    font-size: 0.875rem;
    white-space: nowrap;
  }

  .site-brand img {
    width: 94px;
  }

  .direction-switch {
    display: none;
  }

  .section-hero {
    padding: 110px 18px 24px;
  }

  .section-hero__number {
    top: 92px;
    right: 18px;
  }

  .section-hero h1 {
    font-size: clamp(3.7rem, 20vw, 6rem);
  }

  .section-hero__statement {
    margin-top: 28px;
    padding-right: 0;
  }

  .section-hero__scroll {
    display: none;
  }

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

  .section-heading,
  .about-grid,
  .project-intro,
  .about-hero {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .section-heading {
    margin-bottom: 42px;
  }

  .work-grid,
  .project-gallery {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .work-card:nth-child(3n + 1),
  .project-gallery__item:nth-child(3n + 1) {
    grid-column: auto;
  }

  .work-card:nth-child(3n + 1) .work-card__visual,
  .work-card__visual {
    aspect-ratio: 4 / 3;
  }

  .about-grid h2,
  .contact-prompt {
    font-size: clamp(2.65rem, 14vw, 4.5rem);
  }

  .contact-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .site-footer {
    padding: 22px 18px;
  }

  .project-hero {
    height: 76svh;
    min-height: 520px;
  }

  .project-hero__content {
    left: 18px;
    right: 18px;
    bottom: 26px;
  }

  .project-gallery__item {
    min-height: 240px;
  }

  .about-hero {
    min-height: auto;
    padding-top: 130px;
  }

  .about-hero__copy {
    grid-column: 1;
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .capability-item {
    grid-template-columns: 48px 1fr;
  }

  .capability-item p {
    grid-column: 2;
  }
}

.direction-card__image{background-position:var(--card-position,50% 50%)}
.gateway-brand .site-brand img{width:clamp(118px,9vw,158px)}

/* Shared tone curve: cooler shadow detail, warmer highlights, controlled saturation. */
.project-hero>img,.project-gallery__item img{filter:url('/photo-grade.svg#cinema')}
.work-card img{filter:url('/photo-grade.svg#cinema') grayscale(1)}
.work-card:hover img,.work-card:focus-visible img{filter:url('/photo-grade.svg#cinema') grayscale(0)}
.team-card__portrait img{filter:url('/photo-grade.svg#cinema') grayscale(1)}
.team-card:hover .team-card__portrait img{filter:url('/photo-grade.svg#cinema') grayscale(0)}
