:root {
  --ink: #030407;
  --cobalt: #1558c9;
  --lime: #d4ff24;
  --paper: #f2f4f8;
  --mute: #8a93a6;
  --line: rgba(242, 244, 248, 0.1);
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --nav-h: 4.5rem;
  --ease-out: cubic-bezier(0.215, 0.61, 0.355, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  background: var(--ink);
  color: var(--paper);
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-padding-top: var(--nav-h);
}

body {
  min-height: 100vh;
  min-height: 100svh;
  overflow-x: hidden;
}

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

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

/* Lenis */
html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}

/* Layout */
.shell {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

@media (min-width: 768px) {
  .grid-12 {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 1.5rem;
  }
}

.hairline {
  border-color: var(--line);
}

.label {
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.6875rem;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mute);
}

.accent-word {
  font-family: "Instrument Serif", "Playfair Display", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--lime);
  padding-right: 0.04em;
}

/* Film grain */
.grain {
  position: fixed;
  inset: -50%;
  z-index: 90;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.2 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 7s steps(8) infinite;
  will-change: transform;
}

@keyframes grain {
  0% { transform: translate(0, 0); }
  12% { transform: translate(-4%, -6%); }
  25% { transform: translate(-9%, 3%); }
  37% { transform: translate(6%, -9%); }
  50% { transform: translate(-3%, 8%); }
  62% { transform: translate(-8%, 2%); }
  75% { transform: translate(9%, 5%); }
  87% { transform: translate(2%, -4%); }
  100% { transform: translate(0, 0); }
}

/* Navbar */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition: transform 0.6s var(--ease-expo), background-color 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
}

.nav.is-scrolled {
  background: rgba(3, 4, 7, 0.72);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
}

.nav.is-hidden {
  transform: translateY(-100%);
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 0.5rem 0;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
  transition: color 0.3s var(--ease-out);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.2rem;
  height: 1px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease-expo);
}

.nav-link:hover {
  color: var(--paper);
}

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

/* Buttons */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  height: 2.75rem;
  padding: 0 1.1rem;
  border: 1px solid rgba(242, 244, 248, 0.16);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--paper);
  background: rgba(242, 244, 248, 0.02);
  transition: background-color 0.4s var(--ease-out), color 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
}

.btn-ghost:hover {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
}

.btn-lime {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  height: 3.5rem;
  padding: 0 1.6rem 0 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--ink);
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(212, 255, 36, 0), 0 18px 40px -18px rgba(212, 255, 36, 0.55);
  transition: box-shadow 0.5s var(--ease-out), background-color 0.3s var(--ease-out);
}

.btn-lime:hover {
  box-shadow: 0 0 0 6px rgba(212, 255, 36, 0.12), 0 24px 50px -16px rgba(212, 255, 36, 0.6);
}

.btn-lime .arrow,
.btn-ghost .arrow {
  transition: transform 0.5s var(--ease-expo);
}

.btn-lime:hover .arrow,
.btn-ghost:hover .arrow {
  transform: translateX(4px);
}

/* Focus */
:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 4px;
  border-radius: 4px;
}

.btn-lime:focus-visible,
.btn-ghost:focus-visible {
  border-radius: 999px;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.875rem;
  transform: translateY(-200%);
  transition: transform 0.3s var(--ease-out);
}

.skip-link:focus {
  transform: translateY(0);
}

/* Cursor */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 95;
  pointer-events: none;
  display: none;
}

.has-cursor .cursor {
  display: block;
}

.cursor__dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 3.5rem;
  height: 3.5rem;
  margin: -1.75rem 0 0 -1.75rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--paper);
  transform: scale(0.14);
  opacity: 0;
  transition: transform 0.5s var(--ease-expo), opacity 0.3s var(--ease-out), background-color 0.3s var(--ease-out);
}

.cursor.is-visible .cursor__dot {
  opacity: 1;
}

.cursor.is-hovering .cursor__dot {
  transform: scale(0.75);
  background: var(--lime);
  opacity: 0.9;
  mix-blend-mode: difference;
}

.cursor.has-label .cursor__dot {
  transform: scale(1.5);
  opacity: 1;
  mix-blend-mode: normal;
}

.cursor__label {
  font-size: 0.4375rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
}

.cursor.has-label .cursor__label {
  opacity: 1;
}

/* Status dot */
.status-dot {
  position: relative;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--lime);
}

.status-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--lime);
  animation: ping 2.4s var(--ease-out) infinite;
}

@keyframes ping {
  0% { transform: scale(1); opacity: 0.6; }
  80%, 100% { transform: scale(3); opacity: 0; }
}

/* 12-col dev overlay (press G) */
.grid-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
}

.grid-overlay.is-visible {
  opacity: 1;
}

.grid-overlay .grid-12 {
  height: 100%;
}

.grid-overlay span {
  background: rgba(21, 88, 201, 0.08);
  border-inline: 1px solid rgba(21, 88, 201, 0.25);
}

.js [data-reveal],
.js [data-hero-in],
.js [data-hero-visual],
.js [data-split],
.js .hero-title {
  opacity: 0;
}

/* Split headlines */
.word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0.1em 0.08em 0.14em 0;
  margin: -0.1em -0.08em -0.14em 0;
}

.word-inner {
  display: inline-block;
  will-change: transform;
}

/* Hero */
.hero-title {
  font-family: "Inter Tight", "Space Grotesk", Inter, system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(4.75rem, 24vw, 8.75rem);
  line-height: 0.86;
  letter-spacing: -0.055em;
  color: var(--paper);
}

.hero-title .accent-word,
.hero-title .word--accent .accent-word {
  font-size: 1.14em;
  letter-spacing: -0.03em;
  line-height: 0.86;
}

.hero-title .word--accent,
.hero-title > .accent-word {
  display: block;
  width: fit-content;
  margin-left: 0.32em;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: clamp(5.25rem, 11.2vw, 12.25rem);
  }

  .hero-title .word--accent,
  .hero-title > .accent-word {
    margin-left: 0.5em;
  }
}

.hero-visual {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 1 / 0.95;
  border-radius: 20px;
  border: 1px solid rgba(242, 244, 248, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(242, 244, 248, 0.18),
    0 50px 80px -40px rgba(0, 0, 0, 0.9),
    0 30px 120px -50px rgba(21, 88, 201, 0.7);
  align-self: start;
}

@media (min-width: 768px) {
  .hero-visual {
    aspect-ratio: 5 / 4.8;
  }
}

@media (min-width: 1024px) {
  .hero-visual {
    aspect-ratio: 5 / 4.4;
  }
}

.hero-visual__bg {
  position: absolute;
  inset: -16% 0;
  z-index: -2;
  background:
    radial-gradient(60% 50% at 18% 92%, rgba(212, 255, 36, 0.2), transparent 70%),
    radial-gradient(110% 80% at 88% 0%, #3b7bea 0%, #1558c9 30%, #0b2f6e 64%, #050a1a 100%);
}

.hero-visual__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(242, 244, 248, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 244, 248, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(90% 70% at 70% 30%, #000 20%, transparent 80%);
  mask-image: radial-gradient(90% 70% at 70% 30%, #000 20%, transparent 80%);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 1.75rem;
  padding: 0 0.75rem;
  border: 1px solid rgba(242, 244, 248, 0.18);
  border-radius: 999px;
  background: rgba(3, 4, 7, 0.35);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper);
}

.roles li {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  font-size: 0.875rem;
  color: var(--paper);
}

.roles li span {
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  color: var(--mute);
  font-variant-numeric: tabular-nums;
}

/* Marquee */
.marquee {
  overflow: hidden;
  padding-block: 1.4rem;
}

@media (min-width: 768px) {
  .marquee {
    padding-block: 2.25rem;
  }
}

.marquee__track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.marquee__group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  font-size: clamp(2.5rem, 8vw, 6.5rem);
}

.marquee__item {
  padding-inline: 0.32em;
  font-family: "Inter Tight", Inter, system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.045em;
  white-space: nowrap;
  color: var(--paper);
}

.marquee__item--serif {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: rgba(242, 244, 248, 0.5);
}

.marquee__sep {
  display: inline-flex;
  color: var(--lime);
}

.marquee__sep svg {
  width: 0.2em;
  height: 0.2em;
}

/* Stats */
.stat {
  display: grid;
  grid-template-areas: "label" "value";
  gap: 1.1rem;
  padding-block: 1.6rem 1.9rem;
  border-top: 1px solid var(--line);
}

.stat:last-child {
  border-bottom: 1px solid var(--line);
}

.stat__label {
  grid-area: label;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
}

.stat__name {
  display: block;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--paper);
  text-align: right;
}

.stat__note {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--mute);
}

.stat__value {
  grid-area: value;
  margin: 0;
  font-family: "Inter Tight", Inter, system-ui, sans-serif;
  font-size: clamp(4.25rem, 21vw, 9.5rem);
  font-weight: 600;
  line-height: 0.82;
  letter-spacing: -0.06em;
  color: var(--lime);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.stat__affix {
  display: inline-block;
  font-size: 0.4em;
  letter-spacing: -0.02em;
  vertical-align: 0.95em;
}

.stat__affix--pre {
  margin-right: 0.08em;
}

.stat__affix--post {
  margin-left: 0.1em;
}

@media (min-width: 768px) {
  .stat {
    grid-template-columns: auto 1fr;
    grid-template-areas: "value label";
    align-items: end;
    gap: 2rem;
    padding-block: 2.25rem;
  }

  .stat__label {
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    align-self: stretch;
    text-align: right;
    padding-bottom: 0.4rem;
  }
}

/* Services */
.service-card {
  --mx: 80%;
  --my: 15%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 20px;
  border: 1px solid rgba(21, 88, 201, 0.42);
  background:
    linear-gradient(160deg, rgba(21, 88, 201, 0.1) 0%, rgba(10, 13, 20, 0.92) 44%, rgba(3, 4, 7, 0.98) 100%);
  box-shadow:
    inset 0 1px 0 rgba(242, 244, 248, 0.08),
    0 34px 70px -36px rgba(0, 0, 0, 0.92),
    0 14px 40px -28px rgba(21, 88, 201, 0.42);
  transition:
    border-color 0.45s var(--ease-out),
    box-shadow 0.55s var(--ease-out),
    transform 0.55s var(--ease-expo);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(212, 255, 36, 0.14), rgba(21, 88, 201, 0.08) 45%, transparent 72%);
  transition: opacity 0.45s var(--ease-out);
}

.service-card:hover {
  border-color: rgba(212, 255, 36, 0.58);
  box-shadow:
    inset 0 1px 0 rgba(212, 255, 36, 0.2),
    0 0 0 1px rgba(212, 255, 36, 0.18),
    0 36px 80px -32px rgba(0, 0, 0, 0.95),
    0 0 48px -14px rgba(212, 255, 36, 0.28);
  transform: translateY(-3px);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card__num {
  font-family: "Inter Tight", Inter, system-ui, sans-serif;
  font-size: clamp(2.5rem, 4.5vw, 3.75rem);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: rgba(242, 244, 248, 0.22);
  font-variant-numeric: tabular-nums;
  transition: color 0.4s var(--ease-out);
}

.service-card:hover .service-card__num {
  color: var(--lime);
}

.service-card__icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  border: 1px solid rgba(21, 88, 201, 0.45);
  background: rgba(21, 88, 201, 0.12);
  color: var(--paper);
  transition: border-color 0.4s var(--ease-out), background-color 0.4s var(--ease-out), color 0.4s var(--ease-out);
}

.service-card:hover .service-card__icon {
  border-color: rgba(212, 255, 36, 0.55);
  background: rgba(212, 255, 36, 0.12);
  color: var(--lime);
}

.service-card__points {
  display: grid;
  gap: 0.7rem;
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}

.service-card__points li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: rgba(242, 244, 248, 0.86);
}

.service-card__points li::before {
  content: "";
  width: 0.375rem;
  height: 0.375rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--cobalt);
  transition: background-color 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}

.service-card:hover .service-card__points li::before {
  background: var(--lime);
  transform: scale(1.15);
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper);
  transition: color 0.35s var(--ease-out);
}

.service-card__link svg {
  transition: transform 0.45s var(--ease-expo);
}

.service-card:hover .service-card__link {
  color: var(--lime);
}

.service-card__link:hover svg,
.service-card:hover .service-card__link svg {
  transform: translateX(4px);
}

/* Featured case study */
.featured-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(21, 88, 201, 0.48);
  background: linear-gradient(155deg, rgba(21, 88, 201, 0.12) 0%, rgba(10, 13, 20, 0.96) 42%, #05070c 100%);
  box-shadow:
    inset 0 1px 0 rgba(242, 244, 248, 0.1),
    0 50px 90px -45px rgba(0, 0, 0, 0.95),
    0 24px 100px -50px rgba(21, 88, 201, 0.6);
}

.featured-card__glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(50% 60% at 15% 15%, rgba(21, 88, 201, 0.25), transparent 70%),
    radial-gradient(35% 35% at 88% 90%, rgba(212, 255, 36, 0.09), transparent 70%);
}

.featured-media {
  position: relative;
  display: flex;
  align-items: center;
  padding: 1.25rem;
  background: radial-gradient(90% 80% at 50% 25%, rgba(21, 88, 201, 0.18), rgba(3, 4, 7, 0.45) 75%);
  border-bottom: 1px solid var(--line);
}

@media (min-width: 768px) {
  .featured-media {
    padding: 2rem;
  }
}

@media (min-width: 1024px) {
  .featured-media {
    padding: 2.5rem;
    border-bottom: 0;
  }
}

.featured-media__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(242, 244, 248, 0.12);
  background: #030407;
  box-shadow:
    0 30px 60px -28px rgba(0, 0, 0, 0.92),
    0 12px 32px -18px rgba(21, 88, 201, 0.45);
}

.featured-media__img {
  width: 100%;
  height: 112%;
  object-fit: cover;
  margin-top: -6%;
  will-change: transform;
}

.featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  height: 2rem;
  padding: 0 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 255, 36, 0.42);
  background: rgba(212, 255, 36, 0.08);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lime);
}

.featured-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}

@media (max-width: 479px) {
  .featured-meta {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }
}

.featured-meta__item dt {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute);
}

.featured-meta__item dd {
  margin-top: 0.4rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--paper);
}

/* Video ads grid */
.video-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 78%;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
}

.video-grid::-webkit-scrollbar {
  display: none;
}

.video-card {
  scroll-snap-align: start;
}

@media (min-width: 768px) {
  .video-grid {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    overflow: visible;
    padding-bottom: 0;
    align-items: start;
  }

  .video-card:nth-child(3n + 2) {
    margin-top: 2.25rem;
  }
}

.video-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 9 / 14;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(21, 88, 201, 0.36);
  background: #070a12;
  text-align: left;
  padding: 0;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(242, 244, 248, 0.08),
    0 28px 60px -34px rgba(0, 0, 0, 0.92);
  transition: border-color 0.4s var(--ease-out), box-shadow 0.45s var(--ease-out), transform 0.55s var(--ease-expo);
}

.video-card:hover {
  border-color: rgba(212, 255, 36, 0.6);
  box-shadow:
    0 0 0 1px rgba(212, 255, 36, 0.2),
    0 34px 70px -30px rgba(0, 0, 0, 0.95),
    0 0 42px -16px rgba(212, 255, 36, 0.28);
  transform: translateY(-4px);
}

.video-card__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-expo), opacity 0.4s var(--ease-out);
}

.video-card:hover .video-card__media {
  transform: scale(1.045);
}

.video-card__video {
  opacity: 0;
  pointer-events: none;
}

.video-card.is-playing .video-card__video {
  opacity: 1;
}

.video-card__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 4, 7, 0.62) 0%, rgba(3, 4, 7, 0.05) 36%, rgba(3, 4, 7, 0.16) 60%, rgba(3, 4, 7, 0.92) 100%);
  pointer-events: none;
}

.video-card__top {
  position: absolute;
  inset: 0.85rem 0.85rem auto 0.85rem;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.video-card__pill {
  display: inline-flex;
  align-items: center;
  min-height: 1.5rem;
  max-width: 100%;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(242, 244, 248, 0.16);
  background: rgba(3, 4, 7, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--paper);
}

.video-card__pill--time {
  flex-shrink: 0;
  max-width: none;
}

.video-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 3.1rem;
  height: 3.1rem;
  margin: -1.55rem 0 0 -1.55rem;
  border-radius: 50%;
  border: 1px solid rgba(242, 244, 248, 0.24);
  background: rgba(3, 4, 7, 0.56);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--paper);
  transition: transform 0.45s var(--ease-expo), background-color 0.35s var(--ease-out), color 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}

.video-card:hover .video-card__play {
  transform: scale(1.08);
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
}

.video-card__foot {
  position: absolute;
  inset: auto 0.85rem 0.85rem 0.85rem;
  z-index: 2;
}

@media (min-width: 768px) {
  .video-card__top {
    inset: 1.15rem 1.15rem auto 1.15rem;
  }

  .video-card__foot {
    inset: auto 1.15rem 1.15rem 1.15rem;
  }
}

.video-card__metric {
  display: inline-block;
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  line-height: 1;
  color: var(--lime);
}

.video-card__title {
  margin-top: 0.3rem;
  font-family: "Inter Tight", Inter, system-ui, sans-serif;
  font-size: clamp(0.95rem, 1.8vw, 1.25rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--paper);
}

/* Results gallery */
.result-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(21, 88, 201, 0.36);
  background: #080b14;
  text-align: left;
  padding: 0;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(242, 244, 248, 0.06),
    0 30px 60px -36px rgba(0, 0, 0, 0.9);
  transition: border-color 0.4s var(--ease-out), box-shadow 0.45s var(--ease-out), transform 0.55s var(--ease-expo);
}

.result-card:hover {
  border-color: rgba(212, 255, 36, 0.55);
  box-shadow:
    0 0 0 1px rgba(212, 255, 36, 0.16),
    0 34px 72px -32px rgba(0, 0, 0, 0.95),
    0 0 38px -16px rgba(212, 255, 36, 0.24);
  transform: translateY(-3px);
}

.result-card__frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #030407;
}

.result-card--wide .result-card__frame {
  aspect-ratio: 16 / 10;
}

.result-card--tall .result-card__frame {
  aspect-ratio: 4 / 4.6;
}

@media (min-width: 1024px) {
  .result-card {
    height: 100%;
  }

  .result-card--wide .result-card__frame,
  .result-card--tall .result-card__frame {
    aspect-ratio: auto;
    height: 23rem;
  }
}

.result-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.75s var(--ease-expo);
}

.result-card:hover .result-card__img {
  transform: scale(1.03);
}

.result-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding: 0.95rem 1.15rem;
}

.result-card__caption {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--paper);
}

.result-card__expand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
  transition: color 0.3s var(--ease-out);
}

.result-card:hover .result-card__expand {
  color: var(--lime);
}

/* Testimonials slider */
.icon-btn {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  border: 1px solid rgba(242, 244, 248, 0.18);
  background: rgba(242, 244, 248, 0.02);
  color: var(--paper);
  cursor: pointer;
  transition: background-color 0.35s var(--ease-out), border-color 0.35s var(--ease-out), color 0.35s var(--ease-out), transform 0.4s var(--ease-expo);
}

.icon-btn:hover {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
}

.icon-btn:active {
  transform: scale(0.95);
}

.slider-progress {
  width: 100%;
  max-width: 8.5rem;
  height: 1px;
  background: var(--line);
  overflow: hidden;
}

.slider-progress__bar {
  display: block;
  height: 100%;
  width: 33.333%;
  background: var(--lime);
  transition: width 0.55s var(--ease-expo);
}

.slider-quote-mark {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  line-height: 0.6;
  color: var(--lime);
  margin-bottom: 1rem;
  user-select: none;
}

.slider-card {
  min-height: 13.5rem;
}

.slider-quote {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(1.65rem, 3.6vw, 2.85rem);
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--paper);
}

.slider-author {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem 1.25rem;
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}

.slider-dot {
  width: 1.5rem;
  height: 2px;
  padding: 0.5rem 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  position: relative;
}

.slider-dot::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  background: rgba(242, 244, 248, 0.22);
  transition: background-color 0.35s var(--ease-out), transform 0.35s var(--ease-expo);
}

.slider-dot[aria-selected="true"]::after {
  background: var(--lime);
}

/* Why Team Berlin strip */
.why-strip {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

@media (min-width: 640px) {
  .why-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .why-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.why-item {
  position: relative;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.4s var(--ease-out);
}

.why-item:last-child {
  border-bottom: 0;
}

@media (min-width: 640px) {
  .why-item {
    padding: 2rem 1.5rem;
  }

  .why-item:nth-child(odd) {
    padding-left: 0;
    border-right: 1px solid var(--line);
  }

  .why-item:nth-child(even) {
    padding-right: 0;
  }

  .why-item:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
}

@media (min-width: 1024px) {
  .why-item {
    padding: 2.25rem 1.75rem;
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }

  .why-item:first-child {
    padding-left: 0;
  }

  .why-item:last-child {
    padding-right: 0;
    border-right: 0;
  }
}

.why-item__num {
  font-family: "Inter Tight", Inter, system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--lime);
  font-variant-numeric: tabular-nums;
}

.why-item__title {
  margin-top: 1.15rem;
  font-family: "Inter Tight", Inter, system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--paper);
}

.why-item__body {
  margin-top: 0.65rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--mute);
}

/* Modals (Video player & Lightbox) */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.modal[hidden] {
  display: none;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 4, 7, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(21, 88, 201, 0.5);
  background: #070a12;
  box-shadow:
    inset 0 1px 0 rgba(242, 244, 248, 0.1),
    0 50px 100px -30px rgba(0, 0, 0, 0.96),
    0 0 80px -35px rgba(21, 88, 201, 0.55);
}

.modal__dialog--video {
  max-width: 460px;
}

.modal__dialog--lightbox {
  max-width: 960px;
}

.modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding: 1rem 1.25rem;
}

.modal__stage {
  position: relative;
  aspect-ratio: 9 / 14;
  max-height: 75svh;
  width: 100%;
  background: #030407;
}

.modal__video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #030407;
}

.modal__fallback {
  position: absolute;
  inset: 0;
}

.modal__fallback[hidden] {
  display: none;
}

.modal__fallback-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
}

.modal__fallback-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: radial-gradient(circle at center, rgba(3, 4, 7, 0.45), rgba(3, 4, 7, 0.88));
}

.lightbox__figure {
  margin: 0;
}

.lightbox__img {
  width: 100%;
  max-height: 72svh;
  object-fit: contain;
  background: #030407;
}

.lightbox__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding: 0.95rem 1.25rem;
}

/* Contact */
.contact__bg {
  background:
    radial-gradient(58% 65% at 82% 28%, rgba(21, 88, 201, 0.34), rgba(21, 88, 201, 0.06) 55%, transparent 78%),
    radial-gradient(30% 38% at 76% 74%, rgba(212, 255, 36, 0.1), transparent 72%);
}

.contact__title {
  font-family: "Inter Tight", "Space Grotesk", Inter, system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(3.25rem, 11vw, 9.25rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--paper);
}

.contact__title .accent-word {
  font-size: 1.12em;
  letter-spacing: -0.025em;
}

.btn-lime-xl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  width: 100%;
  min-height: 4.25rem;
  padding: 0 2rem;
  border-radius: 999px;
  font-family: "Inter Tight", Inter, system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  background: var(--lime);
  box-shadow:
    0 0 0 0 rgba(212, 255, 36, 0),
    0 24px 60px -18px rgba(212, 255, 36, 0.55);
  transition: box-shadow 0.5s var(--ease-out), transform 0.5s var(--ease-expo);
}

@media (min-width: 480px) {
  .btn-lime-xl {
    width: auto;
    min-height: 4.75rem;
    padding: 0 2.5rem;
    font-size: 1.1875rem;
  }
}

.btn-lime-xl:hover {
  box-shadow:
    0 0 0 8px rgba(212, 255, 36, 0.14),
    0 30px 70px -16px rgba(212, 255, 36, 0.65);
}

.btn-lime-xl .arrow {
  transition: transform 0.5s var(--ease-expo);
}

.btn-lime-xl:hover .arrow {
  transform: translateX(5px);
}

.btn-lime-xl:focus-visible {
  border-radius: 999px;
}

.footer-link {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
  transition: color 0.3s var(--ease-out);
}

.footer-link:hover {
  color: var(--lime);
}

.video-card:focus-visible,
.result-card:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 4px;
  border-radius: 18px;
}

.icon-btn:focus-visible {
  border-radius: 999px;
}

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

  .grain {
    animation: none;
  }

  .status-dot::after {
    display: none;
  }

  .marquee__track {
    width: auto;
    max-width: 1440px;
    margin-inline: auto;
    padding-inline: var(--gutter);
    justify-content: center;
  }

  .marquee__group {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 0.5rem;
    font-size: clamp(1.75rem, 4.5vw, 3.25rem);
  }

  .marquee__group:nth-child(n + 2) {
    display: none;
  }

  .js [data-reveal],
  .js [data-hero-in],
  .js [data-hero-visual],
  .js [data-split],
  .js .hero-title {
    opacity: 1;
  }
}
