:root {
  --ink: #0a0a0a;
  --paper: #f4f3ef;
  --muted: #85847f;
  --line: rgba(10, 10, 10, 0.18);
  --white: #ffffff;
  --edge: clamp(20px, 3.2vw, 52px);
  --ease: cubic-bezier(0.76, 0, 0.24, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  overscroll-behavior-y: none;
  background: var(--paper);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family:
    "Helvetica Neue",
    "Avenir Next",
    "PingFang SC",
    "Hiragino Sans GB",
    "Microsoft YaHei",
    sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.is-locked {
  overflow: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

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

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  display: grid;
  width: 100%;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 22px var(--edge);
  color: var(--white);
  mix-blend-mode: difference;
  transition: color 0.45s ease;
}

.brand,
.site-nav,
.header-meta {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.brand {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  display: block;
  width: 9px;
  height: 9px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.site-nav {
  display: flex;
  gap: 28px;
}

.site-nav a {
  position: relative;
  padding: 5px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease);
}

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

.header-meta {
  justify-self: end;
  margin: 0;
  color: inherit;
}

.scroll-meter {
  position: fixed;
  z-index: 90;
  right: var(--edge);
  bottom: 26px;
  display: grid;
  grid-template-columns: auto 1px auto;
  align-items: center;
  gap: 11px;
  color: var(--white);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  mix-blend-mode: difference;
}

.meter-line {
  position: relative;
  display: block;
  width: 1px;
  height: 54px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.35);
}

.meter-line span {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 0;
  background: var(--white);
  transition: height 0.55s var(--ease);
}

.panel {
  position: relative;
  min-height: 100svh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  overflow: hidden;
}

.hero {
  display: flex;
  align-items: flex-end;
  background: #111313;
  color: var(--white);
}

.hero::before {
  position: absolute;
  z-index: 3;
  top: 112px;
  right: var(--edge);
  left: var(--edge);
  height: 1px;
  background: rgba(255, 255, 255, 0.26);
  content: "";
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  overflow: hidden;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.25s 0.42s var(--ease);
}

.hero-slide {
  position: relative;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #1a1c1b;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8) contrast(1.04);
  transform: scale(1.08);
}

.hero-slide.is-active img {
  animation: hero-kenburns 15s ease-in-out infinite alternate;
}

.is-visible .hero-media {
  clip-path: inset(0 0 0 0);
}

.hero-shade {
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(7, 9, 9, 0.84) 0%,
      rgba(7, 9, 9, 0.58) 44%,
      rgba(7, 9, 9, 0.16) 72%,
      rgba(7, 9, 9, 0.28) 100%
    ),
    linear-gradient(0deg, rgba(5, 6, 6, 0.66), transparent 56%);
  opacity: 0;
  transition: opacity 0.95s 0.76s ease;
}

.is-visible .hero-shade {
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 110px var(--edge) 34px;
}

.section-kicker {
  margin: 0 0 18px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-title {
  width: min(66vw, 960px);
  max-width: 960px;
  margin: 0;
  font-size: clamp(58px, 9.7vw, 164px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.78;
  text-transform: uppercase;
}

.hero-title span {
  display: block;
}

.hero-title-name {
  margin-bottom: 0.64em;
  font-size: 0.17em;
  font-weight: 650;
  letter-spacing: 0.13em;
  line-height: 1.35;
}

.hero-foot {
  display: grid;
  width: min(480px, 56vw);
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 38px;
  margin-left: 0;
  font-size: 12px;
  line-height: 1.65;
}

.hero-foot p {
  margin: 0;
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  right: var(--edge);
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.scroll-cue i {
  display: block;
  width: 30px;
  height: 30px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) scale(0.55);
  animation: cue 1.8s ease-in-out infinite;
}

.statement {
  display: grid;
  place-items: center;
  height: 100svh;
  padding: 92px var(--edge) 56px;
  background: var(--paper);
}

.statement-inner {
  width: min(1240px, 100%);
}

.about-title {
  margin: 0 0 clamp(38px, 5vh, 58px);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.75fr);
  gap: clamp(48px, 7vw, 110px);
  align-items: start;
}

.statement-copy {
  max-width: 760px;
  margin: 0;
  font-size: clamp(28px, 3.05vw, 48px);
  font-weight: 520;
  letter-spacing: -0.045em;
  line-height: 1.18;
}

.statement-copy span {
  display: block;
}

.about-facts {
  border-top: 1px solid var(--line);
}

.about-facts > div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.about-facts > div > span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about-facts p {
  margin: 0;
  font-size: 11px;
  line-height: 1.58;
}

.capabilities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.capabilities > div {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: start;
  min-height: 72px;
  padding-right: 22px;
}

.capabilities span {
  color: var(--muted);
  font-size: 10px;
}

.capabilities p {
  max-width: 190px;
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

.project {
  background: var(--paper);
}

.project-index {
  position: absolute;
  z-index: 4;
  top: 92px;
  left: var(--edge);
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.project-split {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
  gap: clamp(20px, 3.5vw, 64px);
  padding: 90px var(--edge);
}

.project-media {
  position: relative;
  height: min(72vh, 760px);
  margin: 0;
  overflow: hidden;
  background: #d6d3cb;
  opacity: 0;
  transition:
    opacity 0.7s 0.42s ease,
    transform 1.08s 0.46s var(--ease),
    clip-path 1.15s 0.46s var(--ease);
}

.project-media img {
  filter: saturate(0.83) contrast(1.02);
  transform: scale(1.14);
  transition:
    transform 1.8s 0.5s var(--ease),
    filter 0.9s 0.56s ease;
}

.project-split--left .project-media {
  clip-path: inset(0 100% 0 0);
  transform: translateX(-30px);
}

.project-split--right .project-media {
  clip-path: inset(0 0 0 100%);
  transform: translateX(30px);
}

.is-visible .project-media {
  clip-path: inset(0 0 0 0);
  opacity: 1;
  transform: translateX(0);
}

.is-visible .project-media img {
  transform: scale(1);
  filter: saturate(0.83) contrast(1.02);
}

.project-media figcaption {
  position: absolute;
  right: 16px;
  bottom: 15px;
  padding: 6px 8px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.1em;
  opacity: 0;
  text-transform: uppercase;
  transition: opacity 0.6s 1s ease;
}

.is-visible .project-media figcaption {
  opacity: 1;
}

.project-media--poster {
  padding: clamp(18px, 2.2vw, 36px);
  background: #dedbd3;
}

.project-media--poster img {
  object-fit: contain;
}

.project-split--left.project-split--compact .project-media {
  grid-column: 1 / 6;
}

.project-split--left.project-split--compact .project-copy {
  grid-column: 7 / 13;
}

.project-split--right.project-split--compact .project-copy {
  grid-column: 1 / 7;
}

.project-split--right.project-split--compact .project-media {
  grid-column: 8 / 13;
}

.project-split--compact .project-media--poster {
  padding: 0;
}

.project-media--collage {
  display: grid;
  grid-template-columns: 1.45fr 0.85fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 8px;
  background: #dedbd3;
}

.project-media--collage img {
  min-width: 0;
  min-height: 0;
}

.project-media--collage img:first-child {
  grid-row: 1 / 3;
}

.project-media--collage figcaption {
  right: 18px;
  bottom: 17px;
}

.project-media--motion img {
  animation: cover-breathe 13s 2.45s ease-in-out infinite alternate;
}

.project-split--left .project-media {
  grid-column: 1 / 9;
}

.project-split--left .project-copy {
  grid-column: 10 / 13;
}

.project-split--right .project-copy {
  grid-column: 1 / 4;
}

.project-split--right .project-media {
  grid-column: 5 / 13;
}

.project-copy {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 340px;
  flex-direction: column;
  justify-content: center;
}

.project-category {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.15em;
}

.project-title {
  margin: 0;
  font-size: clamp(48px, 6.2vw, 106px);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.88;
}

.project-description {
  max-width: 390px;
  margin: 28px 0 0;
  font-size: 13px;
  line-height: 1.78;
}

.project-link {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.1em;
}

.project-link svg,
.contact-link svg {
  width: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.45s var(--ease);
}

.project-link:hover svg,
.contact-link:hover svg {
  transform: translateX(6px);
}

.project-feature {
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background: #151515;
}

.feature-media,
.feature-shade {
  position: absolute;
  inset: 0;
}

.feature-media {
  margin: 0;
  background: #2b2b29;
}

.feature-media img {
  filter: saturate(0.6) contrast(1.05);
  transform: scale(1.12);
  transition:
    transform 1.9s 0.48s var(--ease),
    filter 1s 0.56s ease;
}

.feature-media {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.35s 0.44s var(--ease);
}

.is-visible .feature-media {
  clip-path: inset(0 0 0 0);
}

.is-visible .feature-media img {
  transform: scale(1);
  filter: saturate(0.6) contrast(1.05);
}

.feature-shade {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.73), rgba(0, 0, 0, 0.04) 70%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.66), transparent 48%);
  opacity: 0;
  transition: opacity 0.9s 0.78s ease;
}

.is-visible .feature-shade {
  opacity: 1;
}

.project-feature .project-index {
  color: rgba(255, 255, 255, 0.62);
}

.feature-copy {
  position: relative;
  z-index: 3;
  width: min(680px, 78vw);
  padding: 120px var(--edge) 74px;
}

.project-feature .project-category {
  color: rgba(255, 255, 255, 0.62);
}

.contact {
  display: grid;
  place-items: center;
  height: 100svh;
  padding: 120px var(--edge) 34px;
  background: #e7e5df;
}

.contact-inner {
  display: flex;
  width: min(1300px, 100%);
  min-height: calc(100svh - 154px);
  flex-direction: column;
}

.contact-title {
  margin: auto 0;
  font-size: clamp(58px, 9vw, 152px);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.contact-link {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 18px;
  margin: 20px 0 8vh;
  padding-bottom: 8px;
  border-bottom: 1px solid currentColor;
  font-size: clamp(18px, 2vw, 30px);
  letter-spacing: -0.02em;
}

.contact-link svg {
  width: 22px;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 42px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.contact-details p {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  font-size: 11px;
}

.contact-details p > span:first-child {
  color: var(--muted);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.1em;
}

.site-footer p {
  margin: 0;
}

.site-footer div {
  display: flex;
  gap: 24px;
}

.site-footer > a {
  justify-self: end;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s ease,
    transform 0.9s var(--ease);
}

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

.is-visible .reveal:nth-child(2) {
  transition-delay: 0.08s;
}

.is-visible .reveal:nth-child(3) {
  transition-delay: 0.14s;
}

.is-visible .reveal:nth-child(4) {
  transition-delay: 0.2s;
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  z-index: 200;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%);
}

.cursor-dot {
  width: 5px;
  height: 5px;
  background: currentColor;
  transition: opacity 0.2s ease;
}

.cursor-ring {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(127, 127, 127, 0.72);
  transition:
    width 0.35s var(--ease),
    height 0.35s var(--ease),
    opacity 0.2s ease,
    background-color 0.35s ease;
}

body.has-cursor .cursor-dot,
body.has-cursor .cursor-ring {
  opacity: 1;
}

body.cursor-active .cursor-ring {
  width: 58px;
  height: 58px;
  background: rgba(127, 127, 127, 0.09);
}

@keyframes cue {
  0%,
  100% {
    opacity: 0.45;
    transform: rotate(45deg) translate(-3px, -3px) scale(0.55);
  }
  50% {
    opacity: 1;
    transform: rotate(45deg) translate(0, 0) scale(0.55);
  }
}

@keyframes hero-kenburns {
  from {
    transform: scale(1.06) translate3d(-1.4%, -0.8%, 0);
  }
  to {
    transform: scale(1.13) translate3d(1.4%, 0.8%, 0);
  }
}

@keyframes cover-breathe {
  from {
    transform: scale(1) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.055) translate3d(-1.2%, 1%, 0);
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .hero-foot {
    width: 100%;
  }

  .scroll-cue {
    display: none;
  }

  .project-split {
    height: 100svh;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 18px;
    padding-top: 72px;
    padding-bottom: 38px;
  }

  .project-split--left .project-media,
  .project-split--right .project-media {
    grid-column: 1 / 3;
    grid-row: 1;
    height: 100%;
  }

  .project-split--left .project-copy,
  .project-split--right .project-copy {
    grid-column: 1 / 3;
    grid-row: 2;
    min-height: 0;
  }

  .project-split--left.project-split--compact .project-media,
  .project-split--right.project-split--compact .project-media {
    grid-column: 1 / 3;
    grid-row: 1;
  }

  .project-split--left.project-split--compact .project-copy,
  .project-split--right.project-split--compact .project-copy {
    grid-column: 1 / 3;
    grid-row: 2;
  }

  .project-title {
    font-size: clamp(46px, 10vw, 76px);
  }

  .project-description {
    max-width: 520px;
    margin-top: 16px;
  }

  .project-link {
    margin-top: 20px;
  }

  .capabilities {
    gap: 26px;
  }

  .capabilities > div {
    display: block;
    padding: 0;
  }

  .capabilities span {
    display: block;
    margin-bottom: 12px;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
    gap: 22px;
  }

  .site-footer div {
    display: none;
  }
}

@media (max-width: 620px) {
  :root {
    --edge: 20px;
  }

  .site-header {
    padding-top: 18px;
  }

  .header-meta {
    font-size: 8px;
  }

  .scroll-meter {
    right: 18px;
    bottom: 18px;
  }

  .hero-content {
    padding-bottom: 28px;
  }

  .hero::before {
    top: 82px;
  }

  .hero-title {
    font-size: clamp(54px, 18.2vw, 92px);
    line-height: 0.82;
  }

  .hero-title-name {
    font-size: 0.15em;
  }

  .hero-foot {
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 28px;
  }

  .hero-foot p:last-child {
    display: none;
  }

  .statement {
    align-items: center;
    padding-top: 82px;
    padding-bottom: 24px;
  }

  .about-title {
    margin-bottom: 28px;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .statement-copy {
    margin: 0;
    font-size: clamp(22px, 6.4vw, 29px);
    line-height: 1.2;
  }

  .statement-copy span {
    display: block;
  }

  .about-facts > div {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 12px;
    padding: 9px 0;
  }

  .about-facts p {
    font-size: 10px;
    line-height: 1.5;
  }

  .project-index {
    top: 70px;
  }

  .project-split {
    grid-template-rows: minmax(0, 1fr) auto;
    padding-top: 68px;
    padding-bottom: 34px;
  }

  .project-category {
    margin-bottom: 12px;
  }

  .project-title {
    font-size: clamp(46px, 15vw, 70px);
  }

  .project-description {
    font-size: 12px;
    line-height: 1.65;
  }

  .feature-copy {
    width: 100%;
    padding-bottom: 56px;
  }

  .contact-inner {
    min-height: calc(100svh - 104px);
  }

  .contact {
    padding: 84px var(--edge) 20px;
  }

  .contact-title {
    font-size: clamp(52px, 16vw, 84px);
  }

  .contact-link {
    margin-bottom: 4vh;
  }

  .contact-details {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 24px;
    padding-top: 12px;
  }

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

  .site-footer > a {
    justify-self: start;
  }
}

@media (hover: none), (pointer: coarse) {
  .cursor-dot,
  .cursor-ring {
    display: none;
  }
}

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

  *,
  *::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;
  }
}
