@font-face {
  font-family: 'Lomo';
  src: url('../fonts/Lomo.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'ProtoMono';
  src: url('../fonts/ProtoMono-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'ProtoMono';
  src: url('../fonts/ProtoMono-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
}

:root {
  --black: #070707;
  --white-smoke: #edf2f4;
  --midnight-blue: #2b2d42;
}

.w-layout-hflex {
  flex-direction: row;
  align-items: flex-start;
  display: flex;
}

body {
  background-color: var(--black);
  color: #edf2f4;
  font-family: Inter, sans-serif;
  font-size: .875rem;
  line-height: 1.25rem;
}

.hero-section {
  width: 100%;
  height: 100vh;
  position: relative;
}

.hero-top-wrapper {
  padding-top: 1%;
  padding-left: 2%;
  padding-right: 2%;
}

.large-heading {
  letter-spacing: -.045em;
  margin-top: 0;
  margin-bottom: 0;
  font-size: 5.5vw;
  font-weight: 400;
  line-height: 1.15;
  font-family: 'Lomo', Inter, sans-serif;
  text-transform: uppercase;
}

.large-heading.smaller {
  text-align: center;
  margin-bottom: .125rem;
  font-size: 5vw;
}

.large-heading.smaller.text-align-center, .large-heading.counter {
  text-align: center;
}

.sketchable {
  z-index: 1;
  opacity: .5;
  width: 100vw;
  height: 100vh;
  position: fixed;
  inset: 0%;
}

.section-bottom-wrapper {
  z-index: 5;
  border-top: .0625rem solid #edf2f466;
  justify-content: space-between;
  align-items: center;
  height: 3.75rem;
  padding-left: 2%;
  padding-right: 2%;
  display: flex;
  position: absolute;
  inset: auto 0% 0%;
}

.section-bottom-wrapper.vertical.border-bottom.mobile {
  display: none;
}


.section-bottom-wrapper.sticky {
  z-index: 500;
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  background-color: #070707cc;
  display: flex;
  position: sticky;
  top: 0;
}

.section-bottom-wrapper.sticky.mobile {
  display: none;
}

.hero-link {
  color: #bbb;
  text-transform: uppercase;
  font-family: 'ProtoMono', 'Lomo', Inter, sans-serif;
  font-size: 11px;
  line-height: 11px;
  text-decoration: none;
  transition: all .2s;
  overflow: hidden;
}

.hero-link:hover {
  color: var(--white-smoke);
}

.hero-link.pop-up {
  display: block;
}

.section {
  z-index: 5;
  width: 100%;
  min-height: 100vh;
  margin-top: 0;
  padding-top: 8rem;
  position: relative;
}

.section.section-overflow-hidden {
  margin-top: 0;
  padding-top: 8rem;
  padding-bottom: 60px;
  overflow: hidden;
}

.section-heading-wrapper {
  border-top: 1px solid #edf2f466;
  border-bottom: .0625rem solid #edf2f466;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  padding: 1% 2%;
  display: flex;
}

.work-grid {
  grid-column-gap: 1rem;
  grid-row-gap: 1rem;
  grid-template-rows: auto auto;
  grid-template-columns: 1fr 1fr 1fr;
  grid-auto-columns: 1fr;
  margin-top: 100px;
  padding-top: 1%;
  padding-left: 2%;
  padding-right: 2%;
  display: grid;
}

.work-item-wrapper {
  color: var(--white-smoke);
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  height: 100%;
  text-decoration: none;
  display: flex;
  overflow: hidden;
  cursor: default;
}

.work-item-image {
  object-fit: cover;
  width: 100%;
  height: 31.25rem;
}

.work-item-title {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 1rem;
  font-weight: 400;
  font-family: 'Lomo', Inter, sans-serif;
  text-transform: uppercase;
}

.info-wrapper {
  padding-left: 2%;
  padding-right: 2%;
}

.overflow-none {
  overflow: hidden;
}

.overflow-none.full {
  border-radius: 4px;
  width: 100%;
  position: relative;
}

.image-cover {
  z-index: 1;
  background-color: var(--black);
  mix-blend-mode: color-burn;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0% 0% auto;
}

.card-hover {
  z-index: 6;
  color: #fff;
  background-color: #00000080;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  height: 100%;
  display: flex;
  position: absolute;
  inset: 0%;
  overflow: hidden;
}

.track {
  white-space: nowrap;
  flex: none;
  justify-content: flex-start;
  align-items: center;
  display: flex;
  position: static;
  overflow: hidden;
}

.works-title {
  z-index: 90;
  text-transform: uppercase;
  white-space: nowrap;
  margin-top: 2vh;
  margin-bottom: 2vh;
  font-size: 18vh;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  position: relative;
}

.works-title.med-size {
  font-size: 13vh;
}

.works-title.small-size {
  font-size: 3vh;
}

.track.track-small {
  margin-top: 16vh;
  /* JavaScript-controlled animation - no CSS animation needed */
}

@keyframes marquee-small-reverse {
  from { transform: translateX(20%); }
  to { transform: translateX(-100%); }
}

.divider.works.small {
  width: 1.5rem;
  height: 0.15rem;
}

.divider {
  flex-direction: column;
  justify-content: flex-end;
  min-height: 5vh;
  display: flex;
  overflow: hidden;
}

.divider.works {
  background-color: #fff;
  width: 2.8125rem;
  height: .25rem;
  min-height: auto;
  margin-left: 1.5vw;
  margin-right: 1.5vw;
}

.infinite-marquee {
  display: none;
}

.muted {
  opacity: .63;
  filter: blur(1px);
  transition: all .2s;
  position: static;
  inset: 0%;
}

.muted.pointer {
  cursor: pointer;
}

.cursor-wrap {
  z-index: 10000;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  display: flex;
  position: fixed;
  inset: 0%;
}

.cursor-wrap.mbm-ex {
  opacity: 0;
  transition: opacity .2s;
}

.cursor-dot {
  mix-blend-mode: exclusion;
  background-color: #fff;
  border: 1px solid #fff;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 12px;
  height: 12px;
}

.cursor {
  display: none;
}

.welcome-text-wrapper {
  justify-content: space-between;
  align-items: flex-start;
  display: flex;
  position: relative;
}

.hover-gif {
  width: 250px;
  height: 250px;
  position: absolute;
}

.hover-gif.pointer-off {
  z-index: 1;
  width: 250px;
  height: auto;
  position: absolute;
  inset: 0% auto auto 0%;
}

.hover-gif.pointer-off._1 {
  position: absolute;
  inset: -73% 0% 0%;
}

.hover-gif.pointer-off {
  z-index: 1;
  display: none;
  inset: 80px 19% 0% auto;
}

.mid-heading {
  letter-spacing: -.045em;
  margin-top: 0;
  margin-bottom: 0;
  font-size: 2.5vw;
  font-weight: 400;
  line-height: 1.15;
  font-family: 'Lomo', Inter, sans-serif;
  text-transform: uppercase;
}

.mid-heading.smaller {
  font-size: 5vw;
}

.link-block {
  width: 200px;
  margin-bottom: 10px;
}

.image {
  object-fit: scale-down;
  width: auto;
  max-height: 60px;
}

.div-block {
  z-index: 59049;
  filter: invert();
  width: 30px;
  height: 30px;
  margin-bottom: 10px;
  position: static;
  inset: 20px 20px auto auto;
}

.speaker {
  transition: all .2s;
  position: static;
  inset: 0%;
}

.code-embed {
  z-index: -9;
  position: fixed;
  inset: -25% auto auto 0%;
}

.flex-block {
  white-space: nowrap;
  object-fit: scale-down;
  flex: 0 auto;
  justify-content: center;
  align-self: center;
  align-items: center;
  width: 50%;
  min-width: 2650px;
  max-height: 200px;
  margin-top: 60px;
  margin-left: 0;
  padding-top: 0;
  display: flex;
  gap: 4rem;
}

.image-2 {
  mix-blend-mode: normal;
  object-fit: contain;
  flex: 0 auto;
  align-self: center;
  width: 200px;
  min-width: 200px;
  max-height: 80px;
  margin-top: 0;
  padding-top: 0;
}

.image-2.cherry {
  filter: invert(50%) brightness(200%);
  align-self: center;
  max-height: 80px;
  margin: 0;
}

.flex-block-2 {
  aspect-ratio: auto;
  flex-flow: row;
  width: auto;
  margin-top: 0;
  margin-bottom: 0;
  padding-right: 0;
  overflow: visible;
}

.counter-section {
  z-index: 19;
  position: relative;
}

.flex-block-3 {
  text-align: center;
  justify-content: center;
  align-items: center;
}

.small-heading {
  text-align: center;
  margin: 10px;
  font-size: 3.4vw;
  font-weight: 400;
}

.utility-page-wrap {
  justify-content: center;
  align-items: center;
  width: 100vw;
  max-width: 100%;
  height: 100vh;
  max-height: 100%;
  display: flex;
}

.utility-page-content {
  text-align: center;
  flex-direction: column;
  width: 260px;
  display: flex;
}

.utility-page-form {
  flex-direction: column;
  align-items: stretch;
  display: flex;
}

.modal {
  z-index: 999;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;
  display: none;
  position: fixed;
  inset: 0%;
}

.modal-bg {
  -webkit-backdrop-filter: blur(1px);
  backdrop-filter: blur(1px);
  background-color: #0006;
  width: 100%;
  height: 100%;
}

.modal-container {
  border: 1px solid var(--white-smoke);
  background-color: #070707cc;
  width: 100%;
  max-width: 35rem;
  padding: 40px;
  position: absolute;
}

.heading {
  font-weight: 400;
}

.paragraph {
  margin-bottom: 40px;
  font-size: 1.2rem;
  line-height: 2rem;
}

.button {
  background-color: #3898ec00;
  padding: 0;
  font-size: 1.5rem;
  font-style: italic;
  text-decoration: underline;
}

.image-3 {
  cursor: pointer;
  max-width: 25px;
  margin-left: auto;
}

.div-block-2 {
  filter: invert();
  display: flex;
  position: absolute;
  top: 20px;
  right: 20px;
}

.div-block-3 {
  position: relative;
}

.muted-2 {
  opacity: .8;
}

.muted-2.pointer {
  cursor: pointer;
}

.pointer.muted {
  vertical-align: baseline;
  display: inline;
  position: static;
}

.div-block-4 {
  margin-top: 60px;
}

.div-block-5 {
  margin-top: 60px;
  margin-bottom: 40px;
}

.div-block-6 {
  margin-top: 60px;
  margin-bottom: 40px;
}

/* Third marquee - Vanilla JS implementation */
.wrap--logobar {
  height: 120px;
  overflow: hidden;
  position: relative;
  margin-top: 20px;
}

.marquee-list {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  position: absolute;
  width: 100%;
  margin-left: 0;
}

.marquee-list__item {
  flex-grow: 0;
  flex-shrink: 0;
  padding: 0 4rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
}

.marquee-logo {
  max-height: 80px;
  width: auto;
  object-fit: contain;
}

@media screen and (max-width: 991px) {
  .work-grid {
    grid-template-columns: 1fr 1fr;
  }


  .works-title {
    font-size: 9vh;
  }

  .works-title.small-size {
    font-size: 4vh;
  }

  .divider {
    min-height: 2.8125rem;
  }

  .cursor-wrap.mbm-ex {
    display: none;
  }

  .div-block {
    width: 40px;
  }

  .modal {
    display: none;
  }
}

@media screen and (max-width: 767px) {
  .hero-section {
    height: 90vh;
  }

  .cursor-wrap, .cursor-dot {
    display: none;
  }

  .link-block {
    width: 150px;
    margin-top: 20px;
  }

  .div-block {
    width: 30px;
    height: 30px;
  }

  .grid {
    grid-column-gap: 75px;
    grid-row-gap: 75px;
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 479px) {
  .hero-section {
    height: 80vh;
  }

  .hero-top-wrapper {
    padding-top: 40px;
    padding-left: 5%;
    padding-right: 5%;
  }

  .large-heading {
    font-size: 7vw;
  }

  .large-heading.offset-right {
    font-size: 10vw;
  }

  .sketchable {
    height: 90vh;
  }

  .section-bottom-wrapper {
    z-index: 999;
    background-color: var(--black);
    border-top-style: none;
    border-top-color: #edf2f466;
    border-bottom: .0625rem solid #edf2f466;
    padding-left: 5%;
    padding-right: 5%;
    position: fixed;
    top: 0;
    bottom: auto;
  }

  .section-bottom-wrapper.vertical {
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    flex-direction: column;
    height: auto;
    top: auto;
    bottom: 0;
  }

  .section-bottom-wrapper.vertical.border-bottom {
    border-top-style: solid;
    border-bottom-style: none;
    padding-top: 10px;
    padding-bottom: 10px;
    display: none;
    overflow: visible;
  }

  .section-bottom-wrapper.vertical.border-bottom.mobile {
    z-index: 10;
    display: flex;
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
  }

  .section-bottom-wrapper.sticky {
    display: flex;
  }

  .section-bottom-wrapper.sticky.mobile {
    z-index: 998;
    display: none;
    position: sticky;
  }

  .hero-link {
    font-size: .7rem;
  }

  .hero-link.w--current {
    display: block;
  }

  .section-heading-wrapper {
    margin-bottom: 20px;
    padding-left: 5%;
    padding-right: 5%;
  }

  .work-grid {
    grid-template-columns: 1fr;
    padding-left: 5%;
    padding-right: 5%;
  }
  
  .work-item-image {
    height: 20rem;
  }

  .info-wrapper {
    padding-left: 5%;
    padding-right: 5%;
  }

  .mid-heading {
    font-size: 5vw;
  }

  .link-block {
    width: 110px;
    margin-top: 0;
    margin-bottom: 0;
  }

  .div-block {
    width: 20px;
    height: 20px;
    margin-bottom: 0;
    display: block;
    top: 20px;
    right: 20px;
  }

  .image-2 {
    width: 150px;
    min-width: 150px;
  }

  .flex-block-2 {
    margin-top: 20px;
  }

  .modal-container {
    max-width: 100%;
    padding: 20px;
  }

  .heading {
    font-size: 32px;
  }

  .paragraph {
    font-size: 1rem;
    line-height: 1.5rem;
  }

  .button {
    font-size: 1.2rem;
  }

  .image-3 {
    max-width: 20px;
  }
}

.marquee {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.marquee-content {
  display: inline-flex;
  animation: scroll 3000s linear infinite;
}

.marquee-section-large-text {
  font-size: 6vw;
  margin-right: 2rem;
}

.scroll {
  animation: scroll 120s linear infinite !important;
}

.highlight-haze-grey {
  color: #666;
}

.flicker {
  animation: flicker 2s infinite alternate;
}

.dampen {
  opacity: 0.7;
}

@keyframes scroll {
  0% {
    transform: translateX(10%);
  }
  100% {
    transform: translateX(-100%);
  }
}

@keyframes flicker {
  0%, 100% {
    opacity: 1;
    text-shadow: 0 0 5px #666;
  }
  50% {
    opacity: 0.8;
    text-shadow: 0 0 10px #666, 0 0 15px #666;
  }
}

.tv-flicker {
  animation: tv-flicker 1.2s infinite linear alternate-reverse;
}

@keyframes tv-flicker {
  0%, 20%, 40%, 60%, 80%, 100% {
    opacity: 1;
    text-shadow: 0 0 1px #fff;
  }
  10%, 30%, 50%, 70%, 90% {
    opacity: 0.3;
    text-shadow: none;
  }
}

.tv-flicker-slow {
  animation: tv-flicker 1.2s infinite linear alternate-reverse;
  opacity: 0.6;
}

.barely-visible {
  opacity: 0.35 !important;
  color: #666 !important;
}

.marquee-content {
  display: inline-flex;
  animation: scroll 20s linear infinite;
  gap: 4rem;
  opacity: 0.35;
}

.marquee .large-heading {
  transform: none !important;
  -webkit-transform: none !important;
  -moz-transform: none !important;
  -ms-transform: none !important;
}

.grey-text {
  color: #666 !important;
}

.welcome-text-wrapper-flex {
  display: flex;
  align-items: flex-start;
  gap: 3rem;
}

.section-label {
  font-family: 'Lomo', Inter, sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  text-transform: uppercase;
  color: #edf2f4;
  margin: 0;
  min-width: 120px;
  line-height: 1.15;
  padding-top: 0.4rem;
}

.lomo-font {
  font-family: 'Lomo', Inter, sans-serif !important;
  font-size: 2rem !important;
  text-transform: uppercase;
}

.div-block-4 {
  margin-top: 6rem !important;
}

.main-nav-logo-wrapper {
  display: flex;
  align-items: center;
}

.main-nav-items-inner.desktop {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.main-nav-items-wrapper {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 8px 12px;
  display: flex;
  gap: 1rem;
  backdrop-filter: blur(10px);
}

.start-item {
  color: var(--white-smoke) !important;
}

.start-item:hover {
  color: #666 !important;
}

.section-bottom-wrapper.sticky {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2%;
}

/* Bottom marquee goes left to right */
.div-block-5 .flex-block {
  animation: marquee-reverse 20s linear infinite;
  gap: 4.4rem;
}

@keyframes marquee-reverse {
  from { transform: translateX(-100%); }
  to { transform: translateX(0%); }
}

@media screen and (max-width: 479px) {
  .marquee-section-large-text {
    font-size: 8vw;
  }
}

@media screen and (max-width: 479px) {
  /* Make "What we do" and "About" section text larger on mobile */
  .w-embed p,
  .about-content {
    font-size: 4vw !important;
  }
  
  /* Slower flicker animation for mobile */
  .tv-flicker-slow {
    animation: tv-flicker-mobile 2.4s infinite linear alternate-reverse;
  }
}

/* Mobile-specific slower flicker animation */
@keyframes tv-flicker-mobile {
  0%, 20%, 40%, 60%, 80%, 100% {
    opacity: 1;
    text-shadow: 0 0 1px #fff;
  }
  10%, 30%, 50%, 70%, 90% {
    opacity: 0.4;
    text-shadow: none;
  }
}

/* Web Bae Infinite Marquee CSS */
@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-100% - 4rem));
  }
}

.scroll {
  animation: scroll 25s linear infinite;
}

.reverse {
  animation-direction: reverse;
}

.marquee {
  width: 100%;
  overflow: hidden;
  margin-top: 60px;
}

.marquee-content {
  display: flex;
  gap: 4rem;
  width: fit-content;
}

.marquee .image-2 {
  width: 200px;
  min-width: 200px;
  max-height: 120px;
  flex-shrink: 0;
  flex-grow: 0;
}

@media screen and (max-width: 479px) {
  .marquee-content {
    gap: 3rem;
  }
  
  .marquee .image-2 {
    width: 150px;
    min-width: 150px;
    max-height: 100px;
  }
  
  @keyframes scroll {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(calc(-100% - 3rem));
    }
  }
}
