:root {
  --bg: #050505;
  --panel: #111111;
  --panel-light: #181818;

  --text: #f7f7f5;
  --muted: #a5a5a5;

  --blue: #0867ff;
  --yellow: #ffd21c;
  --red: #f1281d;

  --line: rgba(255, 255, 255, 0.14);
  --line-dark: rgba(0, 0, 0, 0.16);

  --radius-large: 30px;
  --radius-medium: 22px;

  --page-padding: 4vw;
  --section-padding: 130px;
}

/* RESET */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

button {
  color: inherit;
  font: inherit;
}

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

::selection {
  background: var(--yellow);
  color: #050505;
}

.section {
  padding: var(--section-padding) var(--page-padding);
}

.eyebrow,
.section-kicker {
  margin-bottom: 20px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* HEADER */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;

  width: 100%;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 18px var(--page-padding);

  color: white;
  mix-blend-mode: difference;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: clamp(72px, 7vw, 105px);
  height: auto;
  object-fit: contain;
  filter:
    drop-shadow(0 5px 18px rgba(0, 0, 0, 0.55))
    saturate(1.08);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.desktop-nav a {
  position: relative;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 2px;
  background: white;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* MOBILE MENU */

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 7px 0;
  background: currentColor;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;

  display: grid;
  place-content: center;
  gap: 18px;

  padding: 30px;

  background:
    radial-gradient(
      circle at 75% 20%,
      rgba(8, 103, 255, 0.24),
      transparent 35%
    ),
    var(--bg);

  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(42px, 12vw, 78px);
  font-weight: 600;
  letter-spacing: -0.05em;
  text-align: center;

  transform: translateY(-105%);
  transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mobile-menu.open {
  transform: translateY(0);
}

.mobile-menu a:hover {
  color: var(--yellow);
}

/* HERO */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 11rem var(--page-padding) 5vw;
  overflow: hidden;
}

.hero-media,
.hero-video,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video {
  object-fit: cover;
  opacity: 0;
  transform: scale(1.025);
  transition:
    opacity 1.4s ease,
    transform 9s linear;
}

.hero-video.active {
  opacity: 1;
  transform: scale(1.1);
}

.hero-overlay {
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.35) 0%,
      rgba(0, 0, 0, 0.12) 34%,
      rgba(0, 0, 0, 0.82) 76%,
      rgba(0, 0, 0, 0.96) 100%
    ),
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.55),
      transparent 70%
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-title {
  max-width: 1300px;
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(54px, 9.2vw, 148px);
  font-weight: 600;
  line-height: 0.87;
  letter-spacing: -0.07em;
}

.hero-title span {
  display: block;
}

.hero-title .italic {
  color: var(--yellow);
  font-family: Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.06em;
}

.hero-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-top: 42px;
}

.hero-bottom p {
  max-width: 610px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(15px, 1.35vw, 20px);
  line-height: 1.6;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  min-width: 220px;
  padding: 18px 21px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    box-shadow 0.3s ease;
}

.button-primary {
  background: var(--blue);
  color: white;
  box-shadow: 0 12px 35px rgba(8, 103, 255, 0.3);
}

.button-primary:hover {
  background: var(--yellow);
  color: #050505;
}

.scroll-cue {
  position: absolute;
  top: 50%;
  right: var(--page-padding);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transform: rotate(90deg) translateY(-100%);
  transform-origin: top right;
}

.scroll-line {
  width: 60px;
  height: 1px;
  background: rgba(255, 255, 255, 0.55);
}

/* STATEMENT */

.statement {
  min-height: 84vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(
      circle at 15% 75%,
      rgba(8, 103, 255, 0.12),
      transparent 36%
    );
}

.statement-title,
.section-heading h2,
.process-intro h2 {
  margin-bottom: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(48px, 7vw, 110px);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.statement-title span {
  display: block;
}

.accent-text {
  color: var(--blue);
}

.statement-copy {
  max-width: 660px;
  margin: 55px 0 0 auto;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1.55;
}

/* TICKER */

.ticker {
  overflow: hidden;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--blue);
  color: white;
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(24px, 3vw, 48px);
  font-weight: 700;
  animation: ticker 32s linear infinite;
}

.ticker-track i {
  color: var(--yellow);
  font-style: normal;
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

/* SECTION HEADINGS */

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 70px;
}

.section-heading h2 {
  font-size: clamp(50px, 6vw, 94px);
}

.section-intro {
  max-width: 380px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

/* WORK */

.projects {
  display: grid;
  grid-template-columns: 1.45fr 0.8fr;
  gap: 22px;
}

.project-card {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-large);
  background: var(--panel);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.34);
}

.project-wide {
  grid-row: span 3;
  min-height: 1874px;
}

.project-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.project-card:hover video {
  transform: scale(1.05);
}

.project-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      transparent 36%,
      rgba(0, 0, 0, 0.85) 100%
    );
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  border-radius: inherit;
  pointer-events: none;
  transition: border-color 0.35s ease;
}

.project-card:hover::after {
  border-color: var(--blue);
}

.project-meta {
  position: absolute;
  inset: auto 0 0;
  z-index: 5;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 30px;
}

.project-meta p {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project-meta h3 {
  margin-bottom: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(28px, 3vw, 48px);
  letter-spacing: -0.045em;
}

.project-index {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
}

/* APP SHOWCASE */

.app-showcase-card {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  background: #050505;
}

.app-showcase-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.01);
}

.app-showcase-card:hover .app-showcase-video {
  transform: scale(1.05);
}

.app-showcase-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.02) 30%,
      rgba(0, 0, 0, 0.14) 62%,
      rgba(0, 0, 0, 0.86) 100%
    );
}

/* MERCH SHOWCASE */

.merch-showcase-card {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  background: #050505;
}

.merch-showcase-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.01);
}

.merch-showcase-card:hover .merch-showcase-video {
  transform: scale(1.05);
}

.merch-showcase-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.02) 28%,
      rgba(0, 0, 0, 0.16) 62%,
      rgba(0, 0, 0, 0.88) 100%
    );
}

.app-project-meta,
.merch-project-meta {
  z-index: 4;
}

.app-project-meta p,
.merch-project-meta p {
  color: rgba(255, 255, 255, 0.72);
}

.app-project-meta h3,
.merch-project-meta h3 {
  color: white;
}

.app-project-meta .project-index,
.merch-project-meta .project-index {
  color: white;
  border-color: rgba(255, 255, 255, 0.55);
}

/* CAPABILITIES */

.capabilities {
  background: #f3f0e8;
  color: #101010;
}

.capabilities .section-kicker {
  color: var(--blue);
}

.capabilities .section-intro {
  color: #696661;
}

.capability-list {
  border-top: 1px solid var(--line-dark);
}

.capability-row {
  position: relative;
  min-height: 124px;
  display: grid;
  grid-template-columns: 70px 1.1fr 1fr 50px;
  align-items: center;
  gap: 25px;
  border-bottom: 1px solid var(--line-dark);
  overflow: hidden;
  transition:
    padding 0.35s ease,
    color 0.35s ease;
}

.capability-row::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--blue);
  transform: translateX(-101%);
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.capability-row:hover::before {
  transform: translateX(0);
}

.capability-row:hover {
  padding: 0 22px;
  color: white;
}

.capability-row > * {
  position: relative;
  z-index: 1;
}

.cap-number {
  font-size: 11px;
  font-weight: 800;
}

.capability-row h3 {
  margin-bottom: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(29px, 4vw, 60px);
  letter-spacing: -0.05em;
}

.capability-row p {
  max-width: 470px;
  margin-bottom: 0;
  color: #65625d;
  line-height: 1.55;
  transition: color 0.35s ease;
}

.capability-row:hover p {
  color: rgba(255, 255, 255, 0.8);
}

.cap-arrow {
  font-size: 28px;
  transition:
    transform 0.3s ease,
    color 0.3s ease;
}

.capability-row:hover .cap-arrow {
  color: var(--yellow);
  transform: rotate(45deg);
}

/* INDUSTRIES */

.industries {
  text-align: center;
  background:
    radial-gradient(
      circle at center,
      rgba(8, 103, 255, 0.1),
      transparent 55%
    );
}

.industry-cloud {
  max-width: 1150px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 13px;
  margin: 50px auto 0;
}

.industry-cloud span {
  padding: 18px 28px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.02);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(20px, 3vw, 42px);
  letter-spacing: -0.035em;
  transition:
    transform 0.3s ease,
    background 0.3s ease,
    color 0.3s ease;
}

.industry-cloud span:hover {
  background: var(--yellow);
  color: #050505;
  border-color: var(--yellow);
  transform: translateY(-5px);
}

/* PROCESS */

.process {
  background:
    radial-gradient(
      circle at 90% 0%,
      rgba(8, 103, 255, 0.2),
      transparent 32%
    ),
    var(--panel);

  border-radius:
    var(--radius-large)
    var(--radius-large)
    0
    0;
}

.process-intro h2 {
  font-size: clamp(48px, 6vw, 94px);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 75px;
}

.process-card {
  min-height: 340px;
  display: flex;
  flex-direction: column;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius-medium);
  background: rgba(255, 255, 255, 0.015);
  transition:
    transform 0.35s ease,
    background 0.35s ease;
}

.process-card:hover {
  background: var(--blue);
  border-color: var(--blue);
  transform: translateY(-8px);
}

.process-card > span {
  color: var(--yellow);
  font-size: 11px;
  font-weight: 800;
}

.process-card h3 {
  margin: auto 0 15px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 38px;
  letter-spacing: -0.045em;
}

.process-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.process-card:hover p {
  color: rgba(255, 255, 255, 0.82);
}

/* CONTACT */

.contact {
  position: relative;
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.contact-glow {
  position: absolute;
  top: 8%;
  right: -10vw;
  width: 58vw;
  height: 58vw;
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(8, 103, 255, 0.75) 0%,
      rgba(8, 103, 255, 0.25) 38%,
      rgba(8, 103, 255, 0.05) 58%,
      transparent 72%
    );
  filter: blur(90px);
  opacity: 0.38;
  pointer-events: none;
}

.contact h2 {
  position: relative;
  margin-bottom: 55px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(55px, 9vw, 145px);
  font-weight: 600;
  line-height: 0.88;
  letter-spacing: -0.07em;
}

.contact h2 span {
  color: var(--yellow);
}

.contact-link {
  position: relative;
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 35px;
  padding-bottom: 9px;
  border-bottom: 2px solid var(--blue);
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 600;
}

.contact-link:hover {
  color: var(--yellow);
  border-color: var(--yellow);
}

/* FOOTER */

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 25px;
  padding: 35px var(--page-padding);
  border-top: 1px solid var(--line);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.footer-brand {
  color: var(--yellow);
  font-family: "Space Grotesk", sans-serif;
}

.footer-links {
  display: flex;
  gap: 22px;
}

.footer-links a:hover {
  color: var(--blue);
}

footer p {
  margin-bottom: 0;
  text-align: right;
}

/* REVEAL */

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

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

/* CURSOR */

.cursor,
.cursor-label {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0;
}

.cursor {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: white;
  mix-blend-mode: difference;
}

.cursor-label {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow);
  color: #050505;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

/* TABLET */

@media (max-width: 920px) {
  :root {
    --section-padding: 95px;
    --page-padding: 5vw;
  }

  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .hero-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .scroll-cue {
    display: none;
  }

  .section-heading {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .project-wide {
    grid-row: auto;
    min-height: 680px;
  }

  .project-card,
  .app-showcase-card,
  .merch-showcase-card {
    min-height: 580px;
  }

  .capability-row {
    grid-template-columns: 45px 1fr 30px;
    padding: 28px 0;
  }

  .capability-row p {
    grid-column: 2 / 4;
    margin: 0;
  }

  .cap-arrow {
    grid-column: 3;
    grid-row: 1;
  }

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

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

  footer p {
    text-align: left;
  }
}

/* MOBILE */

@media (max-width: 600px) {
  :root {
    --radius-large: 20px;
    --radius-medium: 18px;
    --section-padding: 80px;
  }

  .site-header {
    padding: 16px var(--page-padding);
  }

  .brand img {
    width: 68px;
  }

  .hero {
    min-height: 94svh;
    padding: 9rem var(--page-padding) 32px;
  }

  .hero-title {
    font-size: clamp(48px, 15vw, 76px);
    line-height: 0.9;
  }

  .hero-bottom {
    margin-top: 30px;
  }

  .button {
    width: 100%;
  }

  .statement {
    min-height: auto;
  }

  .statement-copy {
    margin-top: 35px;
  }

  .projects {
    gap: 14px;
  }

  .project-wide,
  .project-card,
  .app-showcase-card,
  .merch-showcase-card {
    min-height: 560px;
  }

  .project-tall {
    min-height: 620px;
  }

  .app-showcase-video,
  .merch-showcase-video {
    object-position: center center;
  }

  .project-meta {
    padding: 21px;
  }

  .project-index {
    width: 42px;
    height: 42px;
  }

  .capability-row h3 {
    font-size: 30px;
  }

  .industry-cloud span {
    padding: 14px 20px;
  }

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

  .process-card {
    min-height: 260px;
  }

  .contact h2 {
    margin-bottom: 38px;
  }

  .contact-link {
    gap: 16px;
    font-size: 16px;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}

/* ACCESSIBILITY */

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

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
