:root {
  color-scheme: dark;
  --bg: #050505;
  --ink: #f4f1ea;
  --muted: #9c9a93;
  --quiet: #64635f;
  --line: rgba(244, 241, 234, 0.14);
  --panel: rgba(18, 19, 20, 0.72);
  --blue: #8bbcff;
  --steel: #c9d2dd;
  --smoke: #111315;
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  min-width: 0;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(139, 188, 255, 0.08), transparent 34rem),
    linear-gradient(115deg, transparent 0%, rgba(201, 210, 221, 0.06) 48%, transparent 74%),
    var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 18%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035), transparent 1px);
  background-size: 100% 100%, 7.5rem 7.5rem;
  opacity: 0.42;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.5rem;
  padding: 0 2rem;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.78);
  backdrop-filter: blur(1.1rem);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.brand {
  font-size: 0.92rem;
  font-weight: 760;
  text-transform: uppercase;
}

.brand-mark {
  display: inline-grid;
  width: 2.15rem;
  height: 2.15rem;
  place-items: center;
  border: 1px solid var(--line);
  background: #0a0b0c;
  color: var(--blue);
}

.nav-links a {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 660;
}

.nav-links a:hover {
  color: var(--ink);
}

main {
  width: min(74rem, calc(100% - 2.5rem));
  margin: 0 auto;
  overflow: visible;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(18rem, 0.72fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  min-height: calc(100vh - 4.5rem);
  padding: clamp(3rem, 7vw, 5.5rem) 0;
  isolation: isolate;
}

.ambient-stage {
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.ambient-stage::after {
  position: absolute;
  inset: 0;
  z-index: 3;
  content: "";
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.96) 0%, rgba(5, 5, 5, 0.82) 36%, rgba(5, 5, 5, 0.6) 100%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.08), #050505 96%);
}

.ambient-video {
  position: absolute;
  z-index: 0;
  top: 4%;
  right: -4%;
  width: min(56rem, 68vw);
  height: 86%;
  opacity: 0.16;
  filter: blur(0.55rem) saturate(1.2) contrast(1.1);
  object-fit: cover;
  transform: scale(1.08);
}

.ambient-panel {
  position: absolute;
  z-index: 1;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(244, 241, 234, 0.08);
  object-fit: cover;
  opacity: 0.16;
  filter: grayscale(0.12) saturate(1.1);
}

.ambient-panel-one {
  top: 18%;
  right: 21%;
  width: min(18rem, 22vw);
  aspect-ratio: 9 / 16;
  transform: rotate(-4deg);
}

.ambient-panel-two {
  right: 9%;
  bottom: 15%;
  width: min(19rem, 24vw);
  aspect-ratio: 16 / 9;
  transform: rotate(3deg);
}

.motion-ribbon {
  position: absolute;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  width: min(28rem, 36vw);
  padding: 0.55rem;
  border: 1px solid rgba(244, 241, 234, 0.1);
  background: rgba(5, 5, 5, 0.62);
  opacity: 0.2;
  backdrop-filter: blur(0.6rem);
}

.motion-ribbon img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 13;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.08);
}

.motion-ribbon-one {
  right: 18%;
  bottom: 9%;
  transform: rotate(-7deg);
}

.ambient-tag {
  position: absolute;
  z-index: 4;
  display: grid;
  gap: 0.25rem;
  min-width: 11rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(244, 241, 234, 0.12);
  background: rgba(10, 12, 14, 0.58);
  color: var(--steel);
  opacity: 0.28;
  backdrop-filter: blur(0.75rem);
}

.ambient-tag span {
  color: var(--blue);
  font-size: 0.66rem;
  font-weight: 780;
}

.ambient-tag strong {
  color: var(--ink);
  font-size: 0.92rem;
}

.ambient-tag-one {
  top: 28%;
  right: 31%;
}

.ambient-tag-two {
  right: 6%;
  bottom: 32%;
}

.studio-line {
  position: absolute;
  z-index: 4;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 188, 255, 0.34), transparent);
  opacity: 0.34;
  transform-origin: center;
}

.studio-line-one {
  top: 23%;
  right: -8%;
  width: min(42rem, 58vw);
  transform: rotate(-18deg);
}

.studio-line-two {
  right: 2%;
  bottom: 24%;
  width: min(33rem, 48vw);
  transform: rotate(14deg);
}

.hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.eyebrow,
.project-index,
.story-step span,
.proof-item span {
  margin: 0;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 780;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 11ch;
  margin-bottom: 1.2rem;
  font-size: clamp(4.1rem, 11vw, 9.5rem);
  line-height: 0.86;
  letter-spacing: 0;
}

.intro {
  max-width: 34rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.16rem);
  line-height: 1.65;
}

.placement-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.55rem;
}

.placement-rail span {
  display: inline-flex;
  align-items: center;
  min-height: 2.45rem;
  padding: 0 0.85rem;
  border: 1px solid var(--line);
  background: rgba(9, 10, 11, 0.72);
  color: var(--steel);
  font-size: 0.82rem;
  font-weight: 650;
}

.hero-visual {
  position: relative;
  z-index: 2;
  width: min(100%, 28rem);
  min-width: 0;
  margin-left: auto;
  perspective: 72rem;
  isolation: isolate;
}

.hero-video {
  position: relative;
  z-index: 2;
  display: block;
  width: min(21rem, 78vw);
  aspect-ratio: 9 / 16;
  margin-left: auto;
  border: 1px solid var(--line);
  background: #000;
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.5);
  object-fit: cover;
  transform: rotateY(-7deg) rotateX(3deg);
  transform-origin: center;
}

.poster-card {
  position: absolute;
  z-index: 1;
  width: min(11.5rem, 32vw);
  overflow: hidden;
  border: 1px solid rgba(244, 241, 234, 0.12);
  background: #090a0b;
  opacity: 0.78;
  box-shadow: 0 1.4rem 3rem rgba(0, 0, 0, 0.38);
}

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

.poster-card-left {
  top: 12%;
  left: 0;
  aspect-ratio: 9 / 16;
  transform: translateX(-18%) rotateY(13deg) rotateZ(-2deg);
}

.poster-card-right {
  right: 0;
  bottom: 8%;
  aspect-ratio: 16 / 9;
  transform: translateX(16%) rotateY(-16deg) rotateZ(2deg);
}

.format-cloud,
.scroll-story,
.work,
.proof {
  border-top: 1px solid var(--line);
}

.format-cloud {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding: clamp(4rem, 9vw, 7.5rem) 0;
}

.cloud-copy h2 {
  max-width: 11ch;
  margin-bottom: 0;
  font-size: clamp(3rem, 7vw, 6.6rem);
  line-height: 0.88;
  letter-spacing: 0;
}

.cloud-stage {
  position: relative;
  min-height: min(44rem, 72vw);
  overflow: hidden;
}

.cloud-stage::before {
  position: absolute;
  inset: 10% 0 8%;
  content: "";
  border: 1px solid rgba(244, 241, 234, 0.1);
  background:
    linear-gradient(120deg, rgba(139, 188, 255, 0.08), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 70%);
}

.float-card {
  position: absolute;
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0.65rem;
  border: 1px solid rgba(244, 241, 234, 0.14);
  background: rgba(8, 9, 10, 0.82);
  box-shadow: 0 1.4rem 3rem rgba(0, 0, 0, 0.32);
  transform: translateY(var(--parallax-y, 0));
}

.float-card img,
.float-card video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  background: #000;
}

.float-card figcaption {
  color: var(--steel);
  font-size: 0.74rem;
  font-weight: 760;
  text-transform: uppercase;
}

.float-card-main {
  top: 11%;
  right: 6%;
  z-index: 3;
  width: min(22rem, 46vw);
  aspect-ratio: 9 / 14;
}

.float-card-tall {
  top: 3%;
  left: 1%;
  z-index: 2;
  width: min(14rem, 28vw);
  aspect-ratio: 9 / 14;
  opacity: 0.92;
}

.float-card-wide {
  right: 22%;
  bottom: 6%;
  z-index: 4;
  width: min(22rem, 42vw);
  aspect-ratio: 16 / 10;
}

.format-chip {
  position: absolute;
  z-index: 5;
  display: grid;
  place-items: center;
  min-height: 3rem;
  padding: 0 1rem;
  border: 1px solid rgba(244, 241, 234, 0.16);
  background: rgba(201, 210, 221, 0.1);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 780;
  backdrop-filter: blur(0.75rem);
  transform: translateY(var(--parallax-y, 0));
}

.format-chip-one {
  top: 28%;
  left: 34%;
}

.format-chip-two {
  right: 4%;
  bottom: 28%;
}

.format-chip-three {
  left: 16%;
  bottom: 20%;
}

.scroll-story {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  padding: clamp(4rem, 9vw, 7rem) 0;
}

.story-copy {
  position: sticky;
  top: 6.5rem;
  align-self: start;
}

.story-copy h2,
.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(2.6rem, 6vw, 5.25rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.story-track {
  display: grid;
  gap: 0.8rem;
}

.story-step,
.proof-item,
.project {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(18, 19, 20, 0.76), rgba(6, 7, 8, 0.86));
}

.story-step {
  min-height: 12.5rem;
  padding: 1.45rem;
}

.js-motion .story-step,
.js-motion .project,
.js-motion .proof-item,
.js-motion .media-reveal {
  transform: translateY(1.15rem);
  opacity: 0;
}

.story-step.is-visible,
.project.is-visible,
.proof-item.is-visible,
.media-reveal.is-visible {
  transform: translateY(0);
  opacity: 1;
  transition:
    opacity 720ms ease,
    transform 720ms ease;
}

.story-step h3,
.proof-item h3,
.project-copy h3 {
  margin-bottom: 0;
  letter-spacing: 0;
}

.story-step h3 {
  margin-top: 2.4rem;
  font-size: clamp(1.55rem, 3vw, 2.5rem);
  line-height: 1;
}

.work {
  padding: clamp(4rem, 9vw, 7rem) 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.8rem;
}

.project {
  display: grid;
  gap: 1.5rem;
  padding: clamp(1.25rem, 3vw, 1.9rem);
}

.project-feature {
  grid-template-columns: minmax(0, 0.86fr) minmax(16rem, 1fr);
  align-items: center;
  margin-bottom: 1.5rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.project-copy {
  display: grid;
  align-content: start;
  gap: 0.75rem;
  min-width: 0;
}

.project-copy h3 {
  font-size: clamp(1.85rem, 3.2vw, 3rem);
  line-height: 0.98;
}

.project-copy p:not(.project-index) {
  max-width: 24rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.video-shell {
  display: grid;
  place-items: center;
  width: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #050505;
}

.video-shell video {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
}

.video-shell.vertical {
  width: min(22rem, 100%);
  margin: 0 auto;
  padding: 0.7rem;
}

.video-shell.vertical video {
  aspect-ratio: 9 / 16;
  max-height: 40rem;
  object-fit: contain;
}

.video-shell.landscape {
  padding: 0.7rem;
}

.video-shell.landscape video {
  aspect-ratio: 16 / 9;
  max-height: 22rem;
  object-fit: contain;
}

.proof {
  padding: clamp(4rem, 9vw, 7rem) 0 6.5rem;
}

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

.proof-item {
  min-height: 11rem;
  padding: 1.35rem;
}

.proof-item h3 {
  margin-top: 3rem;
  font-size: clamp(1.45rem, 2.6vw, 2.15rem);
  line-height: 1;
}

@media (max-width: 980px) {
  main {
    width: min(100% - 1.5rem, 44rem);
  }

  .hero,
  .format-cloud,
  .scroll-story,
  .project-feature,
  .project-grid,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 3rem 0 4.5rem;
  }

  .ambient-video {
    top: 22%;
    right: -16%;
    width: min(44rem, 118vw);
    height: 54%;
    opacity: 0.12;
  }

  .ambient-panel-one,
  .ambient-panel-two {
    opacity: 0.11;
  }

  .motion-ribbon,
  .ambient-tag {
    opacity: 0.16;
  }

  .hero-visual {
    width: min(100%, 26rem);
    margin: 0 auto;
  }

  .hero-video {
    margin: 0 auto;
  }

  .poster-card-left {
    left: 5%;
    transform: translateX(-8%) rotateY(12deg) rotateZ(-2deg);
  }

  .poster-card-right {
    right: 4%;
    transform: translateX(8%) rotateY(-12deg) rotateZ(2deg);
  }

  .story-copy {
    position: static;
  }

  .cloud-stage {
    min-height: 42rem;
  }

  .cloud-copy h2 {
    max-width: 12ch;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 4rem;
    padding: 0 1rem;
  }

  .nav-links {
    gap: 0.8rem;
  }

  .brand {
    font-size: 0.8rem;
  }

  h1 {
    max-width: 10ch;
  }

  .placement-rail span {
    width: 100%;
  }

  .hero-visual {
    overflow: hidden;
    padding: 0.25rem 0;
  }

  .ambient-video {
    right: -60%;
    width: 170vw;
  }

  .ambient-tag,
  .motion-ribbon {
    display: none;
  }

  .hero-video {
    width: min(17.5rem, 74vw);
    transform: rotateY(-4deg) rotateX(2deg);
  }

  .poster-card {
    width: min(8rem, 28vw);
  }

  .story-step,
  .project,
  .proof-item {
    padding: 1.05rem;
  }

  .cloud-stage {
    min-height: 35rem;
  }

  .float-card-main {
    right: 2%;
    width: min(17rem, 74vw);
  }

  .float-card-tall {
    width: min(9rem, 34vw);
  }

  .float-card-wide {
    right: 12%;
    width: min(16rem, 70vw);
  }

  .format-chip {
    min-height: 2.55rem;
    padding: 0 0.8rem;
    font-size: 0.74rem;
  }

  .format-chip-one {
    left: 8%;
  }

  .format-chip-two {
    right: 3%;
  }

  .format-chip-three {
    left: 4%;
  }

  .video-shell.vertical {
    width: min(19rem, 100%);
  }
}

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

  .js-motion .story-step,
  .js-motion .project,
  .js-motion .proof-item,
  .js-motion .media-reveal,
  .story-step.is-visible,
  .project.is-visible,
  .proof-item.is-visible,
  .media-reveal.is-visible {
    transform: none;
    opacity: 1;
    transition: none;
  }
}
