@font-face {
  font-family: "Inter Tight";
  src: url("assets/fonts/InterTight[wght].ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "VC Nudge";
  src: url("assets/fonts/VCNudgeExtraBoldTrial.otf") format("opentype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

.anim .logo,
.anim .headline-wrap h1,
.anim .headline-wrap p,
.anim .cta,
.anim .cards {
  opacity: 0;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-width: 320px;
  background: #000;
  color: #fff;
}

body {
  font-family: "Inter Tight", Arial, sans-serif;
}

main {
  min-height: 100vh;
  overflow-x: hidden;
  background: #000;
}

.hero {
  position: relative;
  width: 100%;
  height: calc(100vw * 1042 / 1440);
  margin: 0 auto;
  overflow: hidden;
  background: #000;
  isolation: isolate;
}

.hero-stage {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1440px;
  height: 1042px;
  transform: translateX(-50%) scale(min(1, calc(100vw / 1440px)));
  transform-origin: top center;
  background: #000 url("assets/images/ellipse-desktop.svg") no-repeat 109px 133px;
}

/* dots pattern */
.hero-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 25% 15%, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px),
    radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px);
  background-size: 4px 4px, 5px 5px;
  opacity: 0.22;
  mix-blend-mode: soft-light;
  pointer-events: none;
  z-index: 0;
}

/* noise grain overlay */
.hero-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
  opacity: 0.04;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 0;
}

.guide {
  position: absolute;
  z-index: 1;
  opacity: 0.4;
  pointer-events: none;
}

.guide-left,
.guide-right {
  top: 0;
  height: 801px;
  width: 1px;
  background: repeating-linear-gradient(to bottom, #737373 0 18px, transparent 18px 24px);
}

.guide-left {
  left: 58px;
}

.guide-right {
  left: 1382px;
}

.guide-top,
.guide-bottom {
  left: 0;
  width: 1441px;
  height: 1px;
  background: repeating-linear-gradient(to right, #737373 0 18px, transparent 18px 24px);
}

.guide-top {
  top: 58px;
}

.guide-bottom {
  top: 742px;
}

.guide-dot {
  position: absolute;
  z-index: 2;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #737373;
  opacity: 0.4;
  transform: translate(-50%, -50%);
}

.dot-tl {
  left: 58px;
  top: 58px;
}

.dot-tr {
  left: 1382px;
  top: 58px;
}

.dot-bl {
  left: 58px;
  top: 742px;
}

.dot-br {
  left: 1382px;
  top: 742px;
}

.logo {
  position: absolute;
  z-index: 4;
  left: 709px;
  top: 117px;
  width: 23px;
  height: 36px;
}

.headline-wrap {
  position: absolute;
  z-index: 5;
  top: 183px;
  left: 50%;
  width: 1044px;
  transform: translateX(-50%);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

h1 {
  margin: 0;
  font-family: "VC Nudge", Impact, sans-serif;
  font-size: 72px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: rgba(251, 251, 251, 0.7);
}

h1 span {
  display: inline-block;
}

/* line-one locks all first-line words together — can never wrap */
h1 .line-one {
  display: block;
  white-space: nowrap;
}

/* line-two is always the second line */
h1 .line-two {
  display: block;
  margin-top: 18px;
  white-space: nowrap;
}

.agency-word {
  display: inline-block;
}

.creative {
  position: relative;
  margin-inline: 10px;
  padding: 10px 18px 8px;
  color: #fff;
}

.creative::before,
.creative::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.96);
  transform: skew(-1.6deg) rotate(0.6deg);
}

.creative::after {
  inset: -3px 2px 2px -2px;
  transform: skew(1.4deg) rotate(-1deg);
  opacity: 0.8;
}

.headline-wrap p {
  width: 668px;
  margin: 32px auto 0;
  color: #bbb;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.78;
  letter-spacing: 0.56px;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 211px;
  height: 65px;
  margin-top: 40px;
  border: 1px solid #3e3b3b;
  border-radius: 999px;
  background: #222;
  color: #fff;
  font-size: 25px;
  font-weight: 400;
  text-decoration: none;
  box-shadow:
    0 2px 2px rgba(255, 255, 255, 0.12) inset,
    0 0 8px rgba(51, 92, 255, 0.9),
    0 0 22px rgba(51, 92, 255, 0.7),
    0 0 54px rgba(51, 92, 255, 0.45);
  transition: filter 0.2s ease, transform 0.2s ease;
}

.cta:hover {
  filter: brightness(1.08);
}

.cta:active {
  transform: scale(0.98);
}

.cta:focus-visible {
  outline: 2px solid #4e98ff;
  outline-offset: 4px;
}

.cards {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.card {
  position: absolute;
  display: block;
  perspective: 1400px;
  filter: drop-shadow(0 34px 42px rgba(0, 0, 0, 0.4));
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  will-change: transform;
}

.card-front,
.card-back {
  display: block;
  width: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.card-front {
  position: relative;
  height: auto;
}

.card-back {
  position: absolute;
  inset: 0;
  height: 100%;
  transform: rotateY(180deg);
}

.card-face {
  left: -14px;
  top: 522px;
  width: 185px;
  height: auto;
}

.card-sneaker {
  left: 191px;
  top: 583px;
  width: 226px;
  height: auto;
}

.card-player {
  left: 431px;
  top: 629px;
  width: 185px;
  height: auto;
}

.card-ball {
  left: 632px;
  top: 645px;
  width: 173px;
  height: auto;
}

.card-flower {
  left: 817px;
  top: 625px;
  width: 185px;
  height: auto;
}

.card-pink {
  left: 1018px;
  top: 582px;
  width: 226px;
  height: auto;
}

.card-cat {
  left: 1261px;
  top: 521px;
  width: 193px;
  height: auto;
}

/* ── DESKTOP (501px and above) ── */
@media (min-width: 501px) {
  .hero {
    height: calc(100vw * 1042 / 1440);
  }

  .hero-stage {
    left: 50%;
    transform: translateX(-50%) scale(min(1, calc(100vw / 1440px)));
    transform-origin: top center;
  }

  h1 {
    white-space: nowrap;
  }
}

/* ── MID-SIZE FIX (501px to 1440px) ── */
@media (min-width: 501px) and (max-width: 1440px) {
  .hero {
    height: calc(100vw * 1350 / 1440);
  }

  h1 {
    white-space: nowrap;
    font-size: 72px;
  }

  .cta {
    margin-top: 48px;
  }
}

/* ── MOBILE (500px and below) ── */
@media (max-width: 500px) {
  .hero {
    width: 100%;
    height: calc(100vw * 872 / 390);
  }

  .hero-stage {
    left: 0;
    width: 390px;
    height: 872px;
    transform: scale(calc(100vw / 390px));
    transform-origin: top left;
    background: #000 url("assets/images/ellipse-mobile.svg") no-repeat 0 0;
  }

  .hero-stage::before {
    display: none;
  }

  /* keep noise on mobile */
  .hero-stage::after {
    background-size: 150px 150px;
    opacity: 0.035;
  }

  .guide-left,
  .guide-right {
    top: -1px;
    height: 801px;
  }

  .guide-left {
    left: 19px;
  }

  .guide-right {
    left: 368px;
  }

  .guide-top,
  .guide-bottom {
    left: -9px;
    width: 408px;
  }

  .guide-top {
    top: 36px;
  }

  .guide-bottom {
    top: 742px;
  }

  .dot-tl {
    left: 19px;
    top: 35px;
  }

  .dot-tr {
    left: 368px;
    top: 36px;
  }

  .dot-bl {
    left: 19px;
    top: 742px;
  }

  .dot-br {
    left: 368px;
    top: 742px;
  }

  .logo {
    left: 184px;
    top: 83px;
    width: 23px;
    height: 36px;
  }

  .headline-wrap {
    top: 159px;
    width: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  h1 {
    font-size: 22px;
    line-height: 1.1;
    letter-spacing: 1px;
  }

  h1 .line-one {
    white-space: nowrap;
  }

  h1 .line-two {
    margin-top: 8px;
    white-space: nowrap;
  }

  .agency-word {
    display: inline-block;
    font-size: 22px;
  }

  .creative {
    margin-inline: 2px 4px;
    padding: 2px 4px 1px;
  }

  .creative::before,
  .creative::after {
    border-width: 0.65px;
  }

  .creative::after {
    inset: -1px 1px 1px -1px;
  }

  .headline-wrap p {
    width: 318px;
    margin: 24px auto 0;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0.56px;
  }

  .cta {
    margin: 28px auto 0;
    width: 158px;
    height: 49px;
    font-size: 18px;
    border-color: #3e3b3b;
    box-shadow:
      0 5px 4px rgba(0, 0, 0, 0.8),
      0 1px 0 #4e98ff,
      0 -4px 11px #335cff,
      0 -1px 3px #335cff,
      inset 0 1px 4px #272727;
  }

  .card {
    filter: drop-shadow(0 26px 32px rgba(0, 0, 0, 0.42));
    border-radius: 12px;
  }

  .card-face,
  .card-sneaker,
  .card-pink,
  .card-cat {
    display: none;
  }

  .card-player {
    left: -93px;
    top: 533px;
    width: 186px;
    height: 271px;
  }

  .card-ball {
    left: 107px;
    top: 549px;
    width: 174px;
    height: 239px;
  }

  .card-flower {
    left: 293px;
    top: 529px;
    width: 185px;
    height: 276px;
  }

  .view-more-mobile {
    position: absolute;
    right: 10px;
    bottom: 130px;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #335cff;
    color: #fff;
    display: grid;
    place-items: center;
    text-align: center;
    font: 600 10px/1.15 "Inter Tight", Arial, sans-serif;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    z-index: 10;
    box-shadow: 0 0 26px rgba(51, 92, 255, 0.6);
    border: none;
    cursor: pointer;
  }
}

/* Cards become hover-interactive */
.card {
  pointer-events: auto;
}

/* Hide native cursor over cards when custom cursor is active */
.has-view-cursor .card {
  cursor: none;
}

/* Keep headline/CTA above card fan */
.headline-wrap {
  z-index: 6;
}

/* Custom cursor — desktop only */
.view-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: #335cff;
  color: #fff;
  display: grid;
  place-items: center;
  text-align: center;
  font: 600 12px/1.15 "Inter Tight", Arial, sans-serif;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  pointer-events: none;
  z-index: 9999;
  box-shadow: 0 0 26px rgba(51, 92, 255, 0.6);
}

/* Pulsing CTA glow */
@keyframes ctaGlow {
  0%,
  100% {
    box-shadow:
      0 2px 2px rgba(255, 255, 255, 0.12) inset,
      0 0 8px rgba(51, 92, 255, 0.7),
      0 0 22px rgba(51, 92, 255, 0.5),
      0 0 54px rgba(51, 92, 255, 0.3);
  }
  50% {
    box-shadow:
      0 2px 2px rgba(255, 255, 255, 0.12) inset,
      0 0 12px rgba(51, 92, 255, 1),
      0 0 32px rgba(51, 92, 255, 0.8),
      0 0 72px rgba(51, 92, 255, 0.55);
  }
}

.cta {
  animation: ctaGlow 2.6s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .cta {
    animation: none;
  }
}