:root {
  --white: #fff;
  --ink: #11110f;
  --muted: #77766f;
  --line: #deded9;
  --blue: #002fa7;
  --page-pad: clamp(18px, 2.1vw, 34px);
  --stack-top: clamp(76px, 9svh, 96px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --opening-progress: 0;
  --credentials-label-gap: clamp(18px, 1.45vw, 24px);
  --media-max-width: min(92vw, 1680px);
  --media-max-height: 80svh;
  --phone-height: clamp(320px, min(68svh, 58vw), 720px);
  --prototype-phone-height: clamp(360px, min(74svh, 48vw), 720px);
  --phone-gap: clamp(24px, 4vw, 72px);
  --phone-radius: clamp(20px, 2vw, 30px);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--white);
  color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.35;
  -webkit-font-smoothing: antialiased;
}

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

p,
h1,
h2,
figure,
figcaption {
  margin: 0;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--page-pad);
  color: #fff;
  pointer-events: none;
}

.site-header a {
  pointer-events: auto;
}

.brand-mark {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
}

.brand-dot {
  display: block;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: currentColor;
}

.external-nav {
  display: flex;
  gap: clamp(14px, 1.7vw, 28px);
  font-size: 13px;
}

.external-nav a {
  position: relative;
  padding-bottom: 2px;
}

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

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

.opening {
  position: relative;
  min-height: 130svh;
  background: var(--white);
}

.opening-viewport {
  position: sticky;
  top: 0;
  height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 10svh var(--page-pad) 7svh;
  background-color: var(--blue);
  color: #fff;
  isolation: isolate;
  animation: opening-blue-loop 8s cubic-bezier(0.45, 0, 0.55, 1) infinite;
  will-change: background-color;
}

.opening-viewport::after {
  position: absolute;
  z-index: 0;
  inset: 0;
  background: var(--white);
  content: "";
  opacity: var(--opening-progress);
  pointer-events: none;
}

.opening-copy {
  position: relative;
  z-index: 1;
  width: min(780px, 86vw);
  opacity: calc(1 - (var(--opening-progress) * 1.35));
  text-align: center;
  transform: translateY(calc(var(--opening-progress) * -18px));
}

.opening h1 {
  font-size: clamp(22px, 2.15vw, 34px);
  font-weight: 450;
  letter-spacing: -0.025em;
  line-height: 1.18;
}

html.hero-first-session .opening h1 {
  animation: opening-copy-in 1.35s var(--ease) 275ms both;
}

html.hero-repeat-session .opening h1 {
  opacity: 1;
  filter: none;
  transform: none;
}

@keyframes opening-blue-loop {
  0%,
  100% {
    background-color: #002fa7;
  }

  33.333% {
    background-color: #0039c6;
  }

  66.666% {
    background-color: #001f88;
  }
}

@keyframes opening-copy-in {
  from {
    opacity: 0;
    filter: blur(4px);
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

.project-feed {
  position: relative;
  isolation: isolate;
}

.project-chapter {
  position: relative;
  isolation: isolate;
  padding-bottom: 62svh;
}

.project-chapter:last-child {
  padding-bottom: 55svh;
}

.project-title-track {
  position: relative;
  z-index: 3;
  height: 165svh;
  margin: 0;
}

.project-chapter:first-child .project-title-track {
  height: 165svh;
  margin: 0;
}

.project-title-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  display: grid;
  place-items: center;
  padding: 9svh var(--page-pad);
}

.project-title-lockup {
  width: min(1220px, 92vw);
  text-align: center;
  --intro-title-opacity: 1;
  --intro-context-opacity: 1;
  --intro-title-y: 0px;
  --intro-context-y: 0px;
}

.project-title-lockup h2 {
  opacity: var(--intro-title-opacity);
  font-size: clamp(64px, 7.6vw, 128px);
  font-weight: 460;
  letter-spacing: -0.05em;
  line-height: 0.94;
  transform: translate3d(0, var(--intro-title-y), 0);
  will-change: opacity, transform;
}

.project-title-lockup .project-overview {
  width: min(680px, 86vw);
  margin: clamp(34px, 4.5svh, 52px) auto 0;
  color: var(--ink);
  font-size: clamp(17px, 1.55vw, 25px);
  font-weight: 440;
  letter-spacing: -0.035em;
  line-height: 1.25;
  opacity: var(--intro-context-opacity);
  transform: translate3d(0, var(--intro-context-y), 0);
  will-change: opacity, transform;
}

.project-title-lockup .project-scope {
  margin-top: clamp(18px, 2.5svh, 28px);
  color: var(--muted);
  font-size: clamp(14px, 1.2vw, 20px);
  font-weight: 440;
  letter-spacing: -0.025em;
  line-height: 1.2;
  opacity: var(--intro-context-opacity);
  transform: translate3d(0, var(--intro-context-y), 0);
  will-change: opacity, transform;
}

.project-media-sequence {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 0;
  pointer-events: none;
}

.media-step {
  position: relative;
  height: 160svh;
}

.media-step + .media-step {
  margin-top: 28svh;
}

.media-plate {
  --media-content-opacity: 1;
  --media-content-y: 0px;
  --media-content-scale: 1;
  position: sticky;
  top: 0;
  width: 100%;
  height: 100svh;
  display: grid;
  place-items: center;
  overflow: visible;
  margin: 0 auto;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.plate-wide {
  width: 100%;
  aspect-ratio: auto;
}

.media-plate > * {
  opacity: var(--media-content-opacity);
  transform: translate3d(0, var(--media-content-y), 0) scale(var(--media-content-scale));
  transform-origin: center;
  will-change: opacity, transform;
}

.nike-white {
  background: transparent;
}

.phone-layout {
  width: min(92vw, 1400px);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-layout-pair {
  gap: var(--phone-gap);
}

.prototype-layout {
  position: relative;
  width: min(92vw, 1400px);
  height: 100%;
  display: block;
}

.prototype-screen {
  --prototype-opacity: 0;
  --prototype-y: 24px;
  --prototype-scale: 0.985;
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: var(--prototype-opacity);
  transform: translate3d(0, var(--prototype-y), 0) scale(var(--prototype-scale));
  transform-origin: center;
  will-change: opacity, transform;
}

.prototype-screen:first-child {
  --prototype-opacity: 1;
  --prototype-y: 0px;
  --prototype-scale: 1;
}

.prototype-layout .device-phone,
.prototype-layout-three .device-phone {
  height: var(--prototype-phone-height);
}

.prototype-step[data-prototype-count="2"] {
  height: 220svh;
}

.prototype-step[data-prototype-count="3"] {
  height: 300svh;
}

.phone-layout-trio {
  width: 92%;
  gap: clamp(14px, 2.5vw, 42px);
}

.device-phone {
  position: relative;
  flex: 0 0 auto;
  height: var(--phone-height);
  aspect-ratio: 945 / 2048;
  overflow: hidden;
  border: 1px solid rgb(17 17 15 / 14%);
  border-radius: var(--phone-radius);
  background: var(--white);
  box-shadow: none;
}

.device-phone-compact,
.device-phone-small {
  width: auto;
}

.device-phone img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: var(--phone-radius);
  object-fit: contain;
}

.device-phone::after {
  content: none;
}

.is-lowered {
  transform: none;
}

.is-raised {
  transform: none;
}

.nike-desktop-plate {
  padding: 11svh 4vw;
}

.desktop-export {
  display: block;
  width: auto;
  height: auto;
  max-width: var(--media-max-width);
  max-height: var(--media-max-height);
  object-fit: contain;
  border: 1px solid #e7e7e2;
  box-shadow: none;
}

.yahoo-desktop-plate {
  padding: 8svh 3vw;
}

.yahoo-export {
  display: block;
  width: auto;
  height: auto;
  max-width: var(--media-max-width);
  max-height: var(--media-max-height);
  object-fit: contain;
  border: 0;
  box-shadow: none;
}

.yahoo-phone-layout {
  width: min(92vw, 1400px);
}

.yahoo-device-phone {
  aspect-ratio: 664 / 1439;
  height: var(--phone-height);
}

.yahoo-device-phone img {
  object-fit: contain;
  object-position: center;
}

.binance-desktop-plate {
  padding: 7svh 3vw;
}

.long-page-step {
  height: 200svh;
}

.long-page-plate {
  overflow: hidden;
}

.long-page-window {
  position: relative;
  width: min(92vw, 1680px, 128svh);
  height: auto;
  aspect-ratio: 1953 / 1221;
  overflow: hidden;
}

.long-page-export {
  --long-page-y: 0px;
  position: absolute;
  top: 0;
  left: 50%;
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  object-fit: initial;
  transform: translate3d(-50%, var(--long-page-y), 0);
  will-change: transform;
  border: 0;
  box-shadow: none;
}

.binance-phone-layout {
  width: min(92vw, 1400px);
}

.binance-device-phone {
  aspect-ratio: 550 / 1191;
  height: var(--phone-height);
}

.binance-device-phone img {
  object-fit: contain;
  object-position: center;
}

.binance-native-screen {
  aspect-ratio: 945 / 2048;
  background: #111217;
}

.binance-native-screen img {
  position: absolute;
  top: -3%;
  left: -7.2%;
  width: 114.4%;
  height: auto;
  max-width: none;
  border-radius: 0;
  object-fit: initial;
}

.dapper-desktop-plate {
  padding: 8svh 3vw;
}

.dapper-export {
  display: block;
  width: auto;
  height: auto;
  max-width: var(--media-max-width);
  max-height: var(--media-max-height);
  object-fit: contain;
  border: 0;
  box-shadow: none;
}

.dapper-phone-layout {
  width: min(92vw, 1380px);
}

.dapper-device-phone {
  height: clamp(280px, min(68svh, 58vw), 720px);
}

.dapper-device-phone img {
  object-fit: cover;
  object-position: top center;
  background: #f4f6f8;
}

.dapper-collage-step {
  height: 180svh;
}

.dapper-collage {
  max-height: 86svh;
}

.placeholder-plate {
  background: transparent;
  box-shadow: none;
}

.placeholder-plate::before {
  content: none;
}

.placeholder-plate > p {
  position: relative;
  z-index: 1;
  width: min(92vw, 1500px);
  padding: clamp(38px, 5svh, 64px) 0;
  border-top: 1px solid #e8e8e4;
  border-bottom: 1px solid #e8e8e4;
  color: #a09f99;
  font-size: clamp(25px, 3.4vw, 56px);
  font-weight: 440;
  letter-spacing: -0.05em;
  line-height: 0.98;
  text-align: center;
}

.credentials {
  width: min(92vw, 1600px);
  margin: 0 auto;
  padding: clamp(140px, 18svh, 240px) 0 clamp(54px, 8svh, 100px);
  background: var(--white);
}

.clients-block {
  scroll-margin-top: clamp(64px, 8svh, 96px);
}

.section-label {
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.clients-block .section-label,
.about-block .section-label,
.capabilities-block .section-label {
  margin-bottom: var(--credentials-label-gap);
}

.client-names {
  max-width: 1500px;
  font-size: clamp(38px, 4.8vw, 78px);
  font-weight: 450;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
  gap: clamp(16px, 2vw, 34px);
  margin-top: clamp(76px, 9svh, 118px);
}

.about-block {
  grid-column: 1 / span 8;
}

.capabilities-block {
  grid-column: 10 / span 3;
}

.about-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(34px, 5vw, 84px);
}

.about-columns p {
  font-size: clamp(15px, 1.2vw, 19px);
  letter-spacing: -0.025em;
  line-height: 1.38;
}

.capabilities-block ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.capabilities-block li {
  font-size: clamp(17px, 1.45vw, 23px);
  letter-spacing: -0.03em;
  line-height: 1.28;
}

.contact {
  padding: clamp(44px, 5svh, 72px) 0 clamp(28px, 4svh, 52px);
}

.contact-inner {
  width: min(92vw, 1600px);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: end;
  gap: clamp(16px, 2vw, 34px);
  margin: 0 auto;
}

.contact-copy {
  grid-column: 1 / span 8;
}

.contact-label {
  margin-bottom: var(--credentials-label-gap);
  color: var(--ink);
}

.contact-inner h2 {
  font-size: clamp(25px, 3.1vw, 49px);
  font-weight: 460;
  letter-spacing: -0.055em;
  line-height: 1.05;
}

.contact-inner h2 span {
  display: inline-block;
  font-size: 55%;
  vertical-align: top;
  transition: transform 300ms var(--ease);
}

.contact-inner a {
  display: inline-block;
  padding-bottom: 5px;
  border-bottom: 1px solid transparent;
  transition: border-color 300ms ease;
}

.contact-inner a:hover,
.contact-inner a:focus-visible {
  border-color: currentColor;
}

.contact-inner a:hover h2 span,
.contact-inner a:focus-visible h2 span {
  transform: translate(3px, -3px);
}

.contact-inner small {
  display: block;
  grid-column: 10 / span 3;
  font-size: 10px;
  letter-spacing: 0.03em;
}

@media (max-width: 1024px) {
  .project-title-lockup h2 {
    font-size: clamp(58px, 9.5vw, 96px);
  }
}

@media (max-width: 720px) {
  :root {
    --stack-top: 72px;
  }

  .site-header {
    align-items: flex-start;
  }

  .brand-dot {
    width: 15px;
    height: 15px;
  }

  .external-nav {
    gap: 12px;
    font-size: 11px;
  }

  .opening-copy {
    width: 84vw;
  }

  .opening h1 {
    font-size: 24px;
  }

  .project-title-track,
  .project-chapter:first-child .project-title-track {
    height: 132svh;
    margin: 0;
  }

  .project-chapter {
    padding-bottom: 32svh;
  }

  .project-chapter:last-child {
    padding-bottom: 28svh;
  }

  .project-title-sticky {
    padding: 12svh 16px;
  }

  .project-title-lockup {
    width: 91vw;
  }

  .project-title-lockup h2 {
    font-size: clamp(48px, 15vw, 72px);
    letter-spacing: -0.045em;
    line-height: 0.96;
  }

  .project-title-lockup .project-overview {
    width: min(82vw, 360px);
    margin-top: 32px;
    font-size: 18px;
    line-height: 1.3;
  }

  .project-title-lockup .project-scope {
    width: min(82vw, 360px);
    margin: 18px auto 0;
    font-size: 14px;
    line-height: 1.3;
  }

  .project-media-sequence {
    margin: 0;
  }

  .media-step {
    height: 128svh;
  }

  .media-step + .media-step {
    margin-top: 14svh;
  }

  .prototype-step[data-prototype-count="2"] {
    height: 200svh;
  }

  .prototype-step[data-prototype-count="3"] {
    height: 260svh;
  }

  .plate-wide {
    width: 100%;
    height: 100svh;
    aspect-ratio: auto;
  }

  .phone-layout {
    width: calc(100vw - 24px);
    height: 100%;
  }

  .device-phone-compact,
  .device-phone-small {
    width: auto;
    height: min(82svh, 178vw, 720px);
    max-height: none;
    border: 1px solid rgb(17 17 15 / 14%);
    border-radius: 25px;
    --phone-radius: 25px;
  }

  .prototype-layout {
    position: relative;
    width: calc(100vw - 24px);
    height: 100%;
    display: block;
  }

  .prototype-screen {
    --prototype-opacity: 0;
    --prototype-y: 24px;
    --prototype-scale: 0.985;
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    opacity: var(--prototype-opacity);
    transform: translate3d(0, var(--prototype-y), 0) scale(var(--prototype-scale));
    transform-origin: center;
    will-change: opacity, transform;
  }

  .prototype-screen:first-child {
    --prototype-opacity: 1;
    --prototype-y: 0px;
    --prototype-scale: 1;
  }

  .prototype-layout .device-phone,
  .prototype-layout-three .device-phone {
    width: auto;
    height: min(82svh, 178vw, 720px);
  }

  .nike-desktop-plate {
    padding: 12svh 14px;
  }

  .desktop-export {
    width: auto;
    max-width: 100%;
    max-height: 76svh;
  }

  .yahoo-desktop-plate {
    padding: 11svh 12px;
  }

  .yahoo-export {
    width: auto;
    max-width: 100%;
    max-height: 76svh;
  }

  .yahoo-phone-layout {
    width: calc(100vw - 24px);
  }

  .yahoo-device-phone {
    height: min(82svh, 178vw, 720px);
  }

  .binance-desktop-plate {
    padding: 10svh 12px;
  }

  .long-page-step {
    height: 160svh;
  }

  .long-page-window {
    width: calc(100vw - 24px);
    height: auto;
    aspect-ratio: 1953 / 1221;
  }

  .long-page-export {
    width: 100%;
  }

  .binance-phone-layout {
    width: calc(100vw - 24px);
  }

  .binance-device-phone {
    height: min(82svh, 178vw, 720px);
  }

  .dapper-desktop-plate {
    padding: 11svh 12px;
  }

  .dapper-export {
    width: auto;
    max-width: 100%;
    max-height: 78svh;
  }

  .dapper-phone-layout {
    width: calc(100vw - 24px);
  }

  .dapper-device-phone {
    height: clamp(280px, 82vw, 430px);
  }

  .dapper-collage-step {
    height: 150svh;
  }

  .placeholder-plate::before {
    content: none;
  }

  .placeholder-plate > p {
    width: calc(100vw - 36px);
    font-size: 32px;
  }

  .credentials {
    width: 88vw;
    margin: 0 auto;
    padding: 18svh 0 5svh;
  }

  .client-names {
    font-size: 10.5vw;
    line-height: 1.04;
  }

  .credentials-grid {
    grid-template-columns: 1fr;
    gap: 56px;
    margin-top: 72px;
  }

  .about-block,
  .capabilities-block {
    grid-column: auto;
  }

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

  .about-columns p {
    font-size: 16px;
  }

  .capabilities-block li {
    font-size: 20px;
  }

  .contact {
    padding: 60px 0 28px;
  }

  .contact-inner {
    width: 88vw;
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .contact-copy,
  .contact-inner small {
    grid-column: auto;
  }

  .contact-inner h2 {
    font-size: 8vw;
  }
}

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

  .opening-viewport {
    background-color: var(--blue);
    animation: none;
  }

  .opening-copy {
    transform: none;
  }

  html.hero-first-session .opening h1,
  html.hero-repeat-session .opening h1 {
    opacity: 1;
    filter: none;
    transform: none;
    animation: none;
  }

  .project-title-track,
  .project-chapter:first-child .project-title-track {
    height: auto;
    margin: 0;
  }

  .project-title-sticky {
    position: relative;
    height: 74svh;
  }

  .project-chapter,
  .project-chapter:last-child {
    padding-bottom: 16svh;
  }

  .project-title-lockup h2,
  .project-title-lockup .project-overview,
  .project-title-lockup .project-scope {
    opacity: 1;
    transform: none;
  }

  .project-media-sequence {
    display: grid;
    gap: 56px;
    margin: 0;
    padding: 0 0 16svh;
  }

  .media-step {
    height: auto;
  }

  .media-step + .media-step {
    margin-top: 0;
  }

  .media-plate {
    position: relative;
    top: auto;
  }

  .media-plate > * {
    opacity: 1;
    transform: none;
  }

  .prototype-step .media-plate {
    height: auto;
  }

  .prototype-layout {
    height: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
  }

  .prototype-screen {
    position: relative;
    inset: auto;
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 720px) and (prefers-reduced-motion: reduce) {
  .prototype-layout {
    width: calc(100vw - 24px);
    grid-template-columns: 1fr;
    padding: 48px 0;
  }

  .prototype-layout .device-phone,
  .prototype-layout-three .device-phone {
    height: min(78svh, 170vw, 680px);
  }
}
