:root {
  --bg: #0c0c0c;
  --mist: #d7e2ea;
  --white: #fff;
  --ink: #0c0c0c;
  --purple: #b600a8;
  --silver-a: #646973;
  --silver-b: #bbccd7;
  --radius-xl: 60px;
  --page-x: clamp(20px, 3vw, 48px);
}

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

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

body {
  min-width: 320px;
  overflow-x: clip;
  color: var(--mist);
  background: var(--bg);
  font-family: Kanit, "Arial Narrow", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

[hidden] {
  display: none !important;
}

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

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

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

.page {
  overflow-x: clip;
  background: var(--bg);
}

.hero-heading,
.section-gradient {
  color: transparent;
  background: linear-gradient(180deg, var(--silver-a) 0%, var(--silver-b) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.fade-in {
  opacity: 0;
  animation: fade-in .75s cubic-bezier(.25, .1, .25, 1) forwards;
}

.nav.fade-in { animation-delay: .05s; }
.hero-heading.fade-in { animation-delay: .15s; }
.hero-description.fade-in { animation-delay: .35s; }
.contact-button.fade-in { animation-delay: .5s; }
.hero-portrait.fade-in { animation-delay: .6s; }

@keyframes fade-in {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: none; }
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  min-height: 720px;
  height: 100svh;
  padding-inline: var(--page-x);
  flex-direction: column;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 100%, rgba(182, 0, 168, .09), transparent 38%),
    var(--bg);
}

.nav {
  position: relative;
  z-index: 10;
  display: flex;
  padding-top: clamp(24px, 3vw, 36px);
  justify-content: space-between;
}

.nav a {
  color: var(--mist);
  font-size: clamp(12px, 1.4vw, 22px);
  font-weight: 500;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: opacity .2s ease;
}

.nav a:hover {
  opacity: .7;
}

.hero-title-wrap {
  position: relative;
  z-index: 1;
  margin-top: clamp(26px, 3.5vw, 48px);
  overflow: hidden;
}

.hero-heading {
  width: 100%;
  font-size: clamp(54px, 10.6vw, 180px);
  font-weight: 900;
  line-height: .78;
  letter-spacing: -.075em;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-portrait {
  --magnet-x: 0px;
  --magnet-y: 0px;
  --portrait-base-y: 0%;
  position: absolute;
  z-index: 4;
  bottom: 0;
  left: 50%;
  width: clamp(340px, 44vw, 560px);
  height: min(79vh, 890px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transform: translate(-50%, var(--portrait-base-y)) translate3d(var(--magnet-x), var(--magnet-y), 0);
  will-change: transform;
}

.hero-portrait.fade-in {
  animation-name: portrait-fade;
}

@keyframes portrait-fade {
  from {
    opacity: 0;
    transform: translate(-50%, calc(var(--portrait-base-y) + 30px)) translate3d(var(--magnet-x), var(--magnet-y), 0);
  }
  to {
    opacity: 1;
    transform: translate(-50%, var(--portrait-base-y)) translate3d(var(--magnet-x), var(--magnet-y), 0);
  }
}

.hero-portrait img {
  position: relative;
  z-index: 2;
  width: auto;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 25px 55px rgba(0, 0, 0, .3));
}

.portrait-glow {
  position: absolute;
  z-index: 1;
  right: 8%;
  bottom: 1%;
  left: 8%;
  height: 62%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(126, 33, 176, .28), rgba(182, 0, 168, .1) 42%, transparent 73%);
  filter: blur(28px);
}

.hero-bottom {
  position: relative;
  z-index: 7;
  display: flex;
  margin-top: auto;
  padding-bottom: clamp(28px, 4vw, 48px);
  align-items: flex-end;
  justify-content: space-between;
}

.hero-description {
  max-width: 280px;
  color: var(--mist);
  font-size: clamp(12px, 1.35vw, 22px);
  font-weight: 300;
  line-height: 1.22;
  letter-spacing: .045em;
}

.contact-button {
  display: inline-flex;
  padding: clamp(12px, 1.2vw, 17px) clamp(30px, 3.5vw, 52px);
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  outline: 2px solid white;
  outline-offset: -4px;
  color: white;
  background: linear-gradient(123deg, #18011f 7%, #b600a8 37%, #7621b0 72%, #be4c00 100%);
  box-shadow: inset 4px 4px 12px #7721b1, 0 4px 18px rgba(181, 1, 167, .25);
  font-size: clamp(11px, 1vw, 16px);
  font-weight: 500;
  letter-spacing: .13em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .25s ease, box-shadow .25s ease;
}

.contact-button:hover {
  box-shadow: inset 4px 4px 12px #7721b1, 0 8px 35px rgba(182, 0, 168, .38);
  transform: translateY(-4px) scale(1.02);
}

.hero-role {
  position: absolute;
  z-index: 6;
  top: 52%;
  right: -78px;
  color: rgba(215, 226, 234, .38);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .19em;
  transform: rotate(90deg);
}

/* Scroll-driven showreel */
.showreel {
  padding: clamp(96px, 12vw, 160px) 0 44px;
  overflow: hidden;
  background: var(--bg);
}

.marquee-row {
  width: 100%;
  overflow: visible;
}

.marquee-row + .marquee-row {
  margin-top: 12px;
}

.marquee-track {
  display: flex;
  gap: 12px;
  width: max-content;
  padding-inline: 12px;
  will-change: transform;
}

.motion-tile {
  position: relative;
  flex: 0 0 420px;
  height: 270px;
  padding: 24px;
  overflow: hidden;
  border-radius: 20px;
  isolation: isolate;
}

.motion-tile::before,
.motion-tile::after {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  content: "";
}

.motion-tile::before {
  top: -36%;
  right: -12%;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(255, 255, 255, .32);
  box-shadow: 0 0 0 30px rgba(255, 255, 255, .06), 0 0 0 60px rgba(255, 255, 255, .04);
}

.motion-tile::after {
  right: 18%;
  bottom: -38%;
  width: 190px;
  height: 190px;
  background: rgba(255, 255, 255, .13);
  filter: blur(2px);
}

.motion-tile > img {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

[data-photo-copy][hidden],
[data-photo-frame].has-photo [data-photo-copy],
[data-photo-frame].is-loading [data-photo-copy],
.motion-tile > img:not([hidden]) ~ [data-photo-copy] {
  display: none !important;
}

.motion-tile.has-photo::before,
.motion-tile.has-photo::after,
.motion-tile:has(> img:not([hidden]))::before,
.motion-tile:has(> img:not([hidden]))::after {
  display: none;
}

.motion-tile > span,
.motion-tile > i {
  display: block;
  font-size: 10px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: .12em;
}

.motion-tile strong {
  display: block;
  margin-top: 70px;
  font-size: clamp(38px, 3vw, 54px);
  font-weight: 800;
  line-height: .92;
  letter-spacing: -.05em;
}

.motion-tile > i {
  margin-top: 14px;
  opacity: .62;
}

.motion-tile--star { color: #101116; background: linear-gradient(135deg, #bac8ff, #8569c8); }
.motion-tile--sport { color: #1a1019; background: linear-gradient(135deg, #ffc495, #bc62ab); }
.motion-tile--forum { color: #e8e6ff; background: linear-gradient(135deg, #20273c, #6d4a96); }
.motion-tile--stream { color: #160d19; background: linear-gradient(135deg, #d9d8e5, #9e83b3); }

/* AIGC selected work */
.visual-lab {
  position: relative;
  padding: clamp(90px, 11vw, 165px) var(--page-x) clamp(110px, 13vw, 190px);
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 8%, rgba(118, 33, 176, .2), transparent 25%),
    var(--bg);
}

.visual-lab::before {
  position: absolute;
  top: 5%;
  left: -16%;
  width: 45vw;
  aspect-ratio: 1;
  border: 1px solid rgba(215, 226, 234, .08);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(215, 226, 234, .018), 0 0 0 140px rgba(215, 226, 234, .012);
  content: "";
  pointer-events: none;
}

.visual-lab-head {
  position: relative;
  z-index: 2;
  display: grid;
  margin-bottom: clamp(55px, 8vw, 110px);
  grid-template-columns: 1.15fr .55fr;
  gap: clamp(35px, 7vw, 100px);
  align-items: end;
}

.visual-kicker {
  margin-bottom: 22px;
  color: rgba(215, 226, 234, .48);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .17em;
}

.visual-lab h2 {
  font-size: clamp(62px, 11.7vw, 172px);
  text-align: left;
}

.visual-intro {
  max-width: 540px;
  padding-bottom: .6vw;
  color: rgba(215, 226, 234, .68);
  font-size: clamp(14px, 1.45vw, 20px);
  font-weight: 300;
  line-height: 1.75;
}

.motion-feature-stage {
  position: relative;
  z-index: 2;
  display: grid;
  margin-top: clamp(20px, 3vw, 46px);
  grid-template-columns: minmax(0, 8.35fr) minmax(310px, 3.65fr);
  gap: clamp(30px, 4.2vw, 68px);
  align-items: center;
}

.feature-film {
  position: relative;
  min-width: 0;
  margin: 0;
}

.feature-film--portrait {
  width: min(100%, 405px);
  padding-top: clamp(36px, 5vw, 82px);
  justify-self: end;
}

.cinema-frame {
  padding: 1px;
  overflow: hidden;
  border: 1px solid rgba(215, 226, 234, .23);
  border-radius: clamp(24px, 2.7vw, 42px);
  background: linear-gradient(145deg, rgba(230, 232, 239, .42), rgba(75, 42, 82, .28) 42%, rgba(9, 9, 11, .96));
  box-shadow: 0 38px 110px rgba(0, 0, 0, .48), inset 0 1px 0 rgba(255, 255, 255, .16);
}

.cinema-frame__bar {
  display: grid;
  min-height: clamp(42px, 4vw, 56px);
  padding: 0 clamp(17px, 2vw, 28px);
  grid-template-columns: 1fr auto 1fr;
  gap: 15px;
  align-items: center;
  color: rgba(215, 226, 234, .5);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .17em;
}

.cinema-frame__bar > :last-child {
  text-align: right;
}

.cinema-frame__status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(215, 226, 234, .8);
}

.cinema-frame__status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #d58ad0;
  box-shadow: 0 0 12px rgba(213, 138, 208, .9);
}

.cinema-frame__screen {
  margin: 0 7px 7px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: clamp(18px, 2.25vw, 34px);
  background: #050506;
}

.cinema-frame video,
.portrait-gate video,
.archive-film video {
  display: block;
  width: 100%;
  height: auto;
  background: #050506;
}

.portrait-orbit {
  position: absolute;
  z-index: -1;
  top: 5%;
  right: -23%;
  width: 150%;
  aspect-ratio: 1;
  border: 1px solid rgba(215, 226, 234, .13);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(127, 77, 137, .04), 0 0 0 70px rgba(127, 77, 137, .025);
}

.portrait-gate {
  position: relative;
  padding: 12px;
  overflow: hidden;
  border: 1px solid rgba(238, 234, 242, .36);
  border-radius: clamp(38px, 4vw, 58px);
  background: linear-gradient(145deg, #918b98 0%, #28262c 8%, #09090b 28%, #151219 77%, #8d8294 100%);
  box-shadow: 0 34px 90px rgba(0, 0, 0, .55), 0 0 48px rgba(129, 69, 139, .17), inset 0 1px 1px rgba(255, 255, 255, .25);
}

.portrait-gate::after {
  position: absolute;
  pointer-events: none;
  inset: 5px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: inherit;
  content: "";
}

.portrait-gate__bar,
.portrait-gate__foot {
  display: flex;
  height: 34px;
  padding: 0 9px;
  align-items: center;
  justify-content: space-between;
  color: rgba(230, 226, 234, .48);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: .17em;
}

.portrait-gate__bar i {
  width: 5px;
  height: 5px;
  border: 1px solid rgba(230, 226, 234, .4);
  border-radius: 50%;
}

.portrait-gate__screen {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: clamp(27px, 3vw, 40px);
  background: #050506;
  box-shadow: inset 0 0 28px rgba(0, 0, 0, .45);
}

.portrait-gate__foot {
  height: 30px;
  padding-top: 5px;
}

.feature-caption {
  display: grid;
  padding: 21px 4px 0;
  grid-template-columns: auto 1fr auto;
  gap: 12px 20px;
  align-items: end;
}

.feature-caption__index {
  color: rgba(215, 226, 234, .2);
  font-size: clamp(36px, 4.4vw, 68px);
  font-weight: 800;
  line-height: .78;
  letter-spacing: -.08em;
}

.feature-caption div > span {
  display: block;
  margin-bottom: 8px;
  color: rgba(215, 226, 234, .42);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .16em;
}

.feature-caption strong {
  display: block;
  color: var(--mist);
  font-size: clamp(22px, 2.4vw, 36px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.045em;
}

.feature-caption em {
  color: rgba(215, 226, 234, .52);
  font-size: 9px;
  font-style: normal;
  letter-spacing: .09em;
  text-align: right;
}

.feature-caption--portrait {
  grid-template-columns: auto 1fr;
}

.feature-caption--portrait em {
  grid-column: 2;
  text-align: left;
}

.film-archive {
  position: relative;
  z-index: 2;
  margin-top: clamp(120px, 13vw, 190px);
  padding: clamp(42px, 5vw, 74px) 0 60px;
  border-top: 1px solid rgba(215, 226, 234, .17);
}

.film-archive::before {
  position: absolute;
  z-index: -1;
  top: 20px;
  right: 0;
  color: rgba(215, 226, 234, .025);
  content: "ARCHIVE";
  font-size: clamp(80px, 15vw, 220px);
  font-weight: 900;
  line-height: .8;
  letter-spacing: -.08em;
}

.film-archive__head {
  display: flex;
  margin-bottom: clamp(48px, 6vw, 82px);
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.film-archive__head > div > span {
  display: block;
  margin-bottom: 18px;
  color: rgba(215, 226, 234, .42);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .17em;
}

.film-archive__head h3 {
  color: var(--mist);
  font-size: clamp(50px, 7vw, 98px);
  font-weight: 800;
  line-height: .78;
  letter-spacing: -.065em;
  text-transform: uppercase;
}

.film-archive__head p {
  display: grid;
  padding-bottom: 5px;
  grid-template-columns: auto auto;
  gap: 12px;
  align-items: end;
}

.film-archive__head p strong {
  color: rgba(215, 226, 234, .84);
  font-size: clamp(48px, 6vw, 82px);
  font-weight: 700;
  line-height: .72;
  letter-spacing: -.08em;
}

.film-archive__head p span {
  color: rgba(215, 226, 234, .4);
  font-size: 8px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .14em;
}

.film-archive__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 28px);
  align-items: start;
}

.archive-film {
  min-width: 0;
}

.archive-film:nth-child(even) {
  margin-top: 46px;
}

.archive-film__media {
  padding: 7px;
  overflow: hidden;
  border: 1px solid rgba(215, 226, 234, .2);
  border-radius: clamp(25px, 2.5vw, 38px);
  background: linear-gradient(145deg, rgba(215, 226, 234, .26), rgba(24, 20, 27, .96) 24%, rgba(5, 5, 7, 1));
  box-shadow: 0 25px 65px rgba(0, 0, 0, .42), inset 0 1px 0 rgba(255, 255, 255, .13);
}

.archive-film video {
  border-radius: clamp(19px, 2vw, 30px);
}

.archive-film footer {
  display: grid;
  padding: 17px 4px 0;
  gap: 7px;
}

.archive-film footer span,
.archive-film footer em {
  color: rgba(215, 226, 234, .4);
  font-size: 8px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: .12em;
}

.archive-film footer strong {
  color: var(--mist);
  font-size: clamp(15px, 1.4vw, 21px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.025em;
}

.visual-lab-foot {
  position: relative;
  z-index: 2;
  display: flex;
  margin-top: 22px;
  padding-top: 22px;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(215, 226, 234, .18);
  color: rgba(215, 226, 234, .46);
  font-size: 9px;
  letter-spacing: .12em;
}

/* About */
.about {
  position: relative;
  display: grid;
  min-height: 100svh;
  padding: 110px var(--page-x);
  place-items: center;
  overflow: hidden;
  background: var(--bg);
}

.about-content {
  position: relative;
  z-index: 3;
  display: flex;
  max-width: 830px;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.section-gradient {
  font-size: clamp(60px, 12vw, 170px);
  font-weight: 900;
  line-height: .82;
  letter-spacing: -.07em;
  text-transform: uppercase;
}

.animated-copy {
  max-width: 630px;
  margin-top: clamp(42px, 6vw, 78px);
  color: var(--mist);
  font-size: clamp(16px, 1.8vw, 23px);
  font-weight: 500;
  line-height: 1.72;
}

.animated-copy .char {
  opacity: .18;
  transition: opacity .15s linear;
}

.about .contact-button {
  margin-top: clamp(62px, 8vw, 105px);
}

.decor {
  position: absolute;
  z-index: 1;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.decor span {
  display: block;
  width: 100%;
  height: 100%;
}

.decor--moon {
  top: 5%;
  left: 4%;
  width: clamp(110px, 14vw, 210px);
  aspect-ratio: 1;
}

.decor--moon span {
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 35%, rgba(255, 255, 255, .7) 0 4%, transparent 5%),
    radial-gradient(circle at 67% 62%, rgba(20, 14, 32, .5) 0 8%, transparent 9%),
    linear-gradient(145deg, #d8cadf, #5f5369 55%, #26212e);
  box-shadow: inset -20px -20px 40px rgba(0, 0, 0, .5), 0 25px 45px rgba(0, 0, 0, .35);
  animation: float 6s ease-in-out infinite;
}

.decor--cube {
  top: 6%;
  right: 5%;
  width: clamp(105px, 14vw, 205px);
  aspect-ratio: 1;
  perspective: 500px;
}

.decor--cube span {
  border: 12px solid rgba(191, 161, 220, .9);
  border-radius: 25%;
  background: linear-gradient(145deg, rgba(237, 220, 255, .7), rgba(82, 49, 114, .3));
  box-shadow: inset 20px 20px 35px rgba(255, 255, 255, .2), 0 30px 50px rgba(0, 0, 0, .4);
  transform: rotate(27deg) rotateX(38deg);
  animation: cube-turn 9s ease-in-out infinite;
}

.decor--knot {
  bottom: 9%;
  left: 9%;
  width: clamp(95px, 12vw, 175px);
  aspect-ratio: 1;
}

.decor--knot span {
  border: 22px solid #9c66b5;
  border-right-color: #d4a086;
  border-radius: 50%;
  box-shadow: inset 0 0 20px rgba(255, 255, 255, .4), 0 25px 35px rgba(0, 0, 0, .35);
  transform: rotateX(62deg) rotateZ(25deg);
  animation: knot-turn 8s linear infinite;
}

.decor--orb {
  right: 9%;
  bottom: 9%;
  width: clamp(115px, 15vw, 220px);
  aspect-ratio: 1;
}

.decor--orb span {
  border-radius: 46% 54% 42% 58% / 48% 38% 62% 52%;
  background: conic-gradient(from 30deg, #63257b, #d69b85, #4d255f, #c887bd, #63257b);
  box-shadow: inset -20px -20px 35px rgba(0, 0, 0, .34), 0 28px 55px rgba(0, 0, 0, .4);
  animation: float 7s ease-in-out infinite reverse;
}

@keyframes float {
  50% { transform: translateY(-18px) rotate(5deg); }
}

@keyframes cube-turn {
  50% { transform: rotate(-12deg) rotateX(52deg) rotateY(25deg); }
}

@keyframes knot-turn {
  to { transform: rotateX(62deg) rotateZ(385deg); }
}

/* Capabilities */
.services {
  position: relative;
  z-index: 2;
  padding: clamp(85px, 10vw, 145px) var(--page-x) 130px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  color: var(--ink);
  background: white;
}

.services-title {
  margin-bottom: clamp(70px, 9vw, 125px);
  font-size: clamp(58px, 11.5vw, 165px);
  font-weight: 900;
  line-height: .83;
  letter-spacing: -.075em;
  text-align: center;
  text-transform: uppercase;
}

.service-list {
  max-width: 1180px;
  margin-inline: auto;
  border-top: 1px solid rgba(12, 12, 12, .15);
}

.service-item {
  display: grid;
  padding: clamp(30px, 4vw, 55px) 0;
  grid-template-columns: minmax(135px, .35fr) 1fr;
  gap: clamp(25px, 5vw, 75px);
  align-items: center;
  border-bottom: 1px solid rgba(12, 12, 12, .15);
}

.service-number {
  font-size: clamp(58px, 9vw, 140px);
  font-weight: 900;
  line-height: .75;
  letter-spacing: -.08em;
}

.service-item h3 {
  font-size: clamp(19px, 2.3vw, 36px);
  font-weight: 500;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.service-item p {
  max-width: 760px;
  margin-top: 13px;
  font-size: clamp(14px, 1.45vw, 20px);
  font-weight: 300;
  line-height: 1.7;
  opacity: .6;
}

/* Sticky projects */
.projects {
  position: relative;
  z-index: 5;
  margin-top: -55px;
  padding: 110px var(--page-x) 120px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  background: var(--bg);
}

.projects-title {
  margin-bottom: clamp(80px, 10vw, 150px);
  text-align: center;
}

.project-stage {
  height: 89vh;
}

.project-card {
  position: sticky;
  top: 70px;
  min-height: min(760px, calc(100vh - 105px));
  padding: clamp(18px, 2.5vw, 34px);
  overflow: hidden;
  border: 2px solid var(--mist);
  border-radius: clamp(35px, 4vw, 60px);
  color: var(--mist);
  background: var(--bg);
  box-shadow: 0 -12px 45px rgba(0, 0, 0, .32);
  transform-origin: top center;
}

.project-card--two { top: 98px; }
.project-card--three { top: 126px; }
.project-card--four { top: 154px; }

.project-card-head {
  display: grid;
  min-height: 145px;
  padding: 0 8px 24px;
  grid-template-columns: .24fr .32fr 1fr auto;
  gap: 24px;
  align-items: center;
}

.project-number {
  font-size: clamp(50px, 7vw, 105px);
  font-weight: 900;
  line-height: .7;
  letter-spacing: -.08em;
}

.project-card-head > p {
  color: rgba(215, 226, 234, .56);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.project-card-head h3 {
  font-size: clamp(24px, 2.9vw, 45px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.04em;
}

.project-card-head > a {
  padding: 13px 22px;
  border: 2px solid var(--mist);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .11em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .2s ease;
}

.project-card-head > a:hover {
  background: rgba(215, 226, 234, .1);
}

.project-gallery {
  display: grid;
  height: min(530px, calc(100vh - 300px));
  min-height: 360px;
  grid-template-columns: .4fr .6fr;
  gap: 12px;
}

.gallery-small {
  display: grid;
  grid-template-rows: .43fr .57fr;
  gap: 12px;
}

.project-analysis {
  min-width: 0;
}

.analysis-panel {
  position: relative;
  display: flex;
  min-height: 0;
  padding: clamp(20px, 2.1vw, 30px);
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: clamp(26px, 3vw, 44px);
  isolation: isolate;
}

.analysis-panel::before {
  position: absolute;
  z-index: -1;
  width: 190px;
  aspect-ratio: 1;
  border-radius: 50%;
  content: "";
  filter: blur(4px);
  opacity: .48;
}

.analysis-panel--pain {
  color: #ece6ef;
  background: linear-gradient(145deg, #211720, #121115 78%);
}

.analysis-panel--pain::before {
  top: -115px;
  right: -55px;
  background: rgba(168, 83, 143, .38);
  box-shadow: 0 0 65px rgba(168, 83, 143, .45);
}

.analysis-panel--solution {
  color: #17131a;
  background: linear-gradient(145deg, #e5e2e8, #aaa5b4);
}

.analysis-panel--solution::before {
  right: -75px;
  bottom: -125px;
  background: rgba(100, 68, 121, .24);
  box-shadow: 0 0 70px rgba(100, 68, 121, .35);
}

.analysis-panel header {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
}

.analysis-panel header span {
  padding-top: 4px;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .15em;
  opacity: .48;
}

.analysis-panel h4 {
  font-size: clamp(18px, 1.65vw, 25px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.04em;
}

.analysis-panel ul {
  display: grid;
  max-height: calc(100% - 46px);
  margin: 20px 0 0;
  padding: 0;
  gap: 8px;
  overflow: auto;
  list-style: none;
  scrollbar-width: thin;
}

.analysis-panel li {
  display: grid;
  grid-template-columns: 13px 1fr;
  gap: 6px;
  font-size: clamp(10px, .82vw, 12px);
  font-weight: 400;
  line-height: 1.48;
  letter-spacing: .01em;
}

.analysis-panel li::before {
  content: "—";
  opacity: .45;
}

.gallery-panel,
.gallery-main {
  position: relative;
  display: flex;
  padding: clamp(20px, 3vw, 38px);
  justify-content: space-between;
  flex-direction: column;
  overflow: hidden;
  border-radius: clamp(28px, 3.5vw, 52px);
}

.gallery-panel strong {
  font-size: clamp(38px, 5vw, 75px);
  font-weight: 900;
  letter-spacing: -.07em;
}

.gallery-panel span,
.gallery-main > span {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.gallery-panel--metric { color: #1a1322; background: linear-gradient(135deg, #dac7ec, #8e70ad); }
.gallery-panel--sport { color: #27131b; background: linear-gradient(135deg, #ffc49a, #c86d9f); }
.gallery-panel--forum { color: #e6e5f0; background: linear-gradient(135deg, #24273c, #65507d); }
.gallery-panel--stream { color: #241325; background: linear-gradient(135deg, #d7b6dc, #b86f9e); }
.gallery-panel--copy { color: #19151d; background: #d6d4dc; }

.gallery-panel--copy p {
  font-size: clamp(30px, 4vw, 60px);
  font-weight: 900;
  line-height: .78;
  letter-spacing: -.07em;
}

.gallery-main {
  color: white;
  isolation: isolate;
}

.gallery-main::before {
  position: absolute;
  z-index: -1;
  inset: 28% 0 0;
  background: linear-gradient(180deg, transparent, rgba(5, 5, 8, .78));
  content: "";
}

.gallery-main::after {
  position: absolute;
  z-index: -1;
  top: -15%;
  right: -12%;
  width: 70%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 50%;
  box-shadow: 0 0 0 38px rgba(255, 255, 255, .06), 0 0 0 76px rgba(255, 255, 255, .04);
  content: "";
}

.gallery-main > img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-main > img:not([hidden]) ~ [data-photo-copy] {
  display: none !important;
}

.gallery-main.has-photo::before,
.gallery-main.has-photo::after,
.gallery-main:has(> img:not([hidden]))::before,
.gallery-main:has(> img:not([hidden]))::after {
  display: none;
}

.gallery-main > strong {
  margin-top: auto;
  font-size: clamp(55px, 7vw, 112px);
  font-weight: 900;
  line-height: .75;
  letter-spacing: -.08em;
}

.gallery-main--star { background: linear-gradient(140deg, #5b3a77, #b16898); }
.gallery-main--sport { background: linear-gradient(140deg, #a6497c, #d58c66); }
.gallery-main--forum { background: linear-gradient(140deg, #2d3554, #71527e); }
.gallery-main--stream { background: linear-gradient(140deg, #48284f, #b16b8e); }

/* Career journey */
.experience {
  position: relative;
  z-index: 7;
  margin-top: -55px;
  padding: clamp(90px, 10vw, 145px) var(--page-x) 130px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 12%, rgba(182, 0, 168, .08), transparent 25%),
    #f2f1f3;
}

.experience-intro {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 70px;
  align-items: end;
}

.experience-kicker {
  margin-bottom: 22px;
  color: rgba(12, 12, 12, .42);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .15em;
}

.experience-title {
  font-size: clamp(64px, 11.5vw, 165px);
  font-weight: 900;
  line-height: .78;
  letter-spacing: -.075em;
  text-transform: uppercase;
}

.experience-summary {
  max-width: 600px;
  color: rgba(12, 12, 12, .62);
  font-size: clamp(15px, 1.6vw, 21px);
  font-weight: 300;
  line-height: 1.75;
}

.experience-metrics {
  display: grid;
  margin-top: clamp(75px, 9vw, 125px);
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(12, 12, 12, .15);
  border-bottom: 1px solid rgba(12, 12, 12, .15);
}

.experience-metrics article {
  padding: 28px 24px;
  border-right: 1px solid rgba(12, 12, 12, .15);
}

.experience-metrics article:first-child {
  padding-left: 0;
}

.experience-metrics article:last-child {
  border-right: 0;
}

.experience-metrics strong {
  display: block;
  font-size: clamp(34px, 4vw, 60px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.06em;
}

.experience-metrics span {
  display: block;
  margin-top: 10px;
  color: rgba(12, 12, 12, .48);
  font-size: 10px;
  letter-spacing: .08em;
}

.career-list {
  margin-top: clamp(70px, 8vw, 110px);
  border-top: 1px solid rgba(12, 12, 12, .15);
}

.career-item {
  display: grid;
  min-height: 122px;
  padding: 25px 5px;
  grid-template-columns: .34fr 1fr .48fr;
  gap: 30px;
  align-items: center;
  border-bottom: 1px solid rgba(12, 12, 12, .15);
  transition: padding .3s ease, color .3s ease, background .3s ease;
}

.career-item:hover {
  padding-inline: 22px;
  color: white;
  background: var(--ink);
}

.career-item time,
.career-item > span {
  color: rgba(12, 12, 12, .46);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.career-item > span {
  text-align: right;
}

.career-item:hover time,
.career-item:hover > span,
.career-item:hover p {
  color: rgba(255, 255, 255, .56);
}

.career-item h3 {
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 500;
  letter-spacing: -.03em;
}

.career-item p {
  margin-top: 7px;
  color: rgba(12, 12, 12, .52);
  font-size: 12px;
}

.career-item--education {
  color: #47164f;
}

.toolkit {
  display: grid;
  margin-top: 55px;
  padding: 28px;
  grid-template-columns: 160px 1fr;
  gap: 30px;
  border: 1px solid rgba(12, 12, 12, .15);
  border-radius: 25px;
}

.toolkit > p {
  color: rgba(12, 12, 12, .45);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .15em;
}

.toolkit > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.toolkit span {
  padding: 9px 13px;
  border: 1px solid rgba(12, 12, 12, .18);
  border-radius: 999px;
  font-size: 11px;
}

/* Contact */
.contact {
  position: relative;
  z-index: 9;
  margin-top: -55px;
  min-height: 90svh;
  padding: 120px var(--page-x) 35px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  background:
    radial-gradient(circle at 70% 45%, rgba(182, 0, 168, .14), transparent 28%),
    var(--bg);
}

.contact-kicker {
  color: rgba(215, 226, 234, .5);
  font-size: 11px;
  letter-spacing: .15em;
  text-align: center;
}

.contact h2 {
  margin-top: 55px;
  text-align: center;
}

.contact-details {
  display: flex;
  margin-top: 80px;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px 50px;
}

.contact-details a {
  padding-bottom: 7px;
  border-bottom: 1px solid currentColor;
  font-size: clamp(18px, 2vw, 28px);
  text-decoration: none;
}

.contact-bottom {
  display: flex;
  margin-top: 180px;
  padding-top: 22px;
  justify-content: space-between;
  border-top: 1px solid rgba(215, 226, 234, .18);
  color: rgba(215, 226, 234, .55);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.contact-bottom a {
  text-decoration: none;
}

.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity .75s ease, transform .75s cubic-bezier(.25, .1, .25, 1);
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .hero-heading {
    font-size: 10.6vw;
  }

  .hero-portrait {
    width: clamp(300px, 46vw, 455px);
    height: min(73vh, 720px);
  }

  .visual-lab-head {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .visual-intro {
    max-width: 620px;
  }

  .motion-feature-stage {
    grid-template-columns: minmax(0, 1.45fr) minmax(250px, .55fr);
    gap: 24px;
  }

  .feature-film--portrait {
    width: min(100%, 330px);
  }

  .feature-caption {
    grid-template-columns: auto 1fr;
  }

  .feature-caption em {
    grid-column: 2;
    text-align: left;
  }

  .film-archive__grid {
    gap: 14px;
  }

  .project-card-head {
    grid-template-columns: .25fr .75fr auto;
  }

  .project-card-head > p {
    display: none;
  }

  .project-card-head h3 {
    grid-column: 2;
  }

  .project-card-head > a {
    grid-column: 3;
  }
}

@media (max-width: 640px) {
  :root {
    --radius-xl: 40px;
  }

  .hero {
    min-height: 680px;
  }

  .nav a {
    font-size: 10px;
  }

  .nav {
    gap: 12px;
  }

  .hero-title-wrap {
    margin-top: 34px;
  }

  .hero-heading {
    font-size: 10.6vw;
    line-height: .88;
  }

  .hero-portrait {
    --portrait-base-y: -50%;
    top: 47%;
    bottom: auto;
    width: min(92vw, 390px);
    height: min(58vh, 520px);
  }

  .hero-portrait img {
    max-height: 100%;
  }

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

  .hero-description {
    max-width: 145px;
    font-size: 10px;
  }

  .contact-button {
    padding: 12px 24px;
    font-size: 9px;
  }

  .hero-role {
    display: none;
  }

  .showreel {
    padding-top: 100px;
  }

  .visual-lab {
    padding-top: 92px;
    padding-bottom: 112px;
  }

  .visual-lab h2 {
    font-size: 17vw;
  }

  .visual-intro {
    font-size: 14px;
  }

  .motion-feature-stage {
    grid-template-columns: 1fr;
    gap: 62px;
  }

  .feature-film--portrait {
    width: min(82vw, 360px);
    padding-top: 0;
    justify-self: center;
  }

  .cinema-frame__bar {
    min-height: 40px;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cinema-frame__bar > :first-child,
  .cinema-frame__bar > :last-child {
    display: none;
  }

  .feature-caption {
    padding-top: 16px;
    gap: 9px 14px;
  }

  .feature-caption__index {
    font-size: 38px;
  }

  .feature-caption strong {
    font-size: 23px;
  }

  .feature-caption em {
    font-size: 8px;
  }

  .film-archive {
    margin-top: 105px;
    padding-top: 40px;
  }

  .film-archive__head {
    margin-bottom: 38px;
    align-items: flex-end;
  }

  .film-archive__head h3 {
    font-size: 13.5vw;
  }

  .film-archive__head p {
    display: none;
  }

  .film-archive__grid {
    width: calc(100% + var(--page-x));
    padding: 0 var(--page-x) 16px 0;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(74vw, 300px);
    gap: 17px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
  }

  .film-archive__grid::-webkit-scrollbar {
    display: none;
  }

  .archive-film,
  .archive-film:nth-child(even) {
    margin-top: 0;
    scroll-snap-align: start;
  }

  .visual-lab-foot {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .motion-tile {
    flex-basis: 270px;
    height: 180px;
    padding: 17px;
    border-radius: 14px;
  }

  .motion-tile strong {
    margin-top: 42px;
    font-size: 33px;
  }

  .about {
    min-height: 900px;
    padding-block: 130px;
  }

  .about-content {
    max-width: 92%;
  }

  .section-gradient,
  .services-title {
    font-size: 17vw;
  }

  .animated-copy {
    font-size: 15px;
  }

  .decor--moon,
  .decor--cube {
    width: 96px;
  }

  .decor--knot,
  .decor--orb {
    width: 86px;
  }

  .decor--moon { top: 4%; left: -2%; }
  .decor--cube { top: 5%; right: -1%; }
  .decor--knot { bottom: 4%; left: 3%; }
  .decor--orb { right: 3%; bottom: 4%; }

  .services {
    padding-bottom: 100px;
  }

  .service-item {
    grid-template-columns: 86px 1fr;
    gap: 18px;
  }

  .service-number {
    font-size: 58px;
  }

  .service-item h3 {
    font-size: 17px;
  }

  .service-item p {
    font-size: 12px;
  }

  .projects {
    margin-top: -38px;
    padding-top: 90px;
  }

  .project-stage {
    height: auto;
    margin-bottom: 18px;
  }

  .project-card {
    position: relative;
    top: auto !important;
    min-height: 0;
    border-radius: 34px;
    transform: none !important;
  }

  .project-card-head {
    min-height: 155px;
    grid-template-columns: 75px 1fr;
    gap: 10px;
  }

  .project-number {
    font-size: 58px;
  }

  .project-card-head h3 {
    grid-column: 2;
    font-size: 20px;
  }

  .project-card-head > a {
    display: none;
  }

  .project-gallery {
    height: auto;
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(330px, 52vh);
  }

  .gallery-small.project-analysis {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, minmax(205px, auto));
  }

  .analysis-panel {
    padding: 23px;
    border-radius: 25px;
  }

  .analysis-panel li {
    font-size: 12px;
  }

  .gallery-panel,
  .gallery-main {
    padding: 20px;
    border-radius: 25px;
  }

  .gallery-panel strong {
    font-size: 36px;
  }

  .gallery-panel--copy p {
    font-size: 25px;
  }

  .gallery-main > strong {
    font-size: 52px;
  }

  .experience {
    margin-top: -38px;
    padding-top: 90px;
  }

  .experience-intro {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .experience-title {
    font-size: 17vw;
  }

  .experience-summary {
    font-size: 14px;
  }

  .experience-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .experience-metrics article:nth-child(2) {
    border-right: 0;
  }

  .experience-metrics article:nth-child(3),
  .experience-metrics article:nth-child(4) {
    border-top: 1px solid rgba(12, 12, 12, .15);
  }

  .experience-metrics article:nth-child(3) {
    padding-left: 0;
  }

  .career-item {
    grid-template-columns: 1fr;
    gap: 11px;
    padding-block: 24px;
  }

  .career-item > span {
    text-align: left;
  }

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

  .contact {
    margin-top: -38px;
    min-height: 750px;
  }

  .contact-details {
    align-items: center;
    flex-direction: column;
  }

  .contact-bottom {
    align-items: flex-start;
    margin-top: 130px;
    flex-direction: column;
    gap: 14px;
  }
}

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

  .fade-in,
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .animated-copy .char {
    opacity: 1 !important;
  }
}
