:root {
  --dark: #242424;
  --white-smoke: #edf2f4;
  --darker: #202020;
  --midnight-blue: #2b2d42;
  --powerpoint-orange: #ed6c47;
}

body {
  background-color: #fff;
  color: var(--dark);
  font-family: 'Google Sans Flex', sans-serif;
  font-size: .875rem;
  line-height: 1.25rem;
  letter-spacing: 0;
}

/* Font display optimization */
@font-face {
  font-family: 'Google Sans Flex';
  font-display: swap;
}

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

.hero-top-wrapper {
  position: relative;
  padding-top: 1.5%;
  padding-left: 2%;
  padding-right: 2%;
}

.category-title-wrapper {
  position: absolute;
  bottom: -12px;
  right: 2%;
  z-index: 10;
  padding-top: 0;
  padding-bottom: 0;
  display: flex;
  align-items: flex-end;
  height: 3vw;
}

.large-heading.category-page-title {
  font-size: 1.5vw;
  font-weight: 300;
  color: #000;
  border: .0625rem solid rgba(36, 36, 36, 0.4);
  border-radius: 2rem;
  padding: 0.25rem 0.75rem;
  display: inline-block;
}

.large-heading {
  letter-spacing: 0;
  margin-top: 0;
  margin-bottom: 0;
  font-size: 6vw;
  font-weight: 400;
  line-height: 1.15;
}

.large-heading.offset-right {
  text-align: left;
  text-transform: none;
  margin-top: 1.1rem;
  margin-bottom: 1.1rem;
  font-size: 5vw;
}

.large-heading.smaller {
  margin-top: 1.4rem;
  font-size: 2.5vw;
}

.hero-top-wrapper > div.overflow-none:nth-child(1) > h1.large-heading {
  font-weight: 900;
  font-size: 6vw;
}

.hero-top-wrapper > div.overflow-none:nth-child(2) > h2.large-heading {
  font-size: 3vw;
  font-weight: 600;
}

.hero-top-wrapper > div.overflow-none:nth-child(3) > h2.large-heading {
  font-size: 3vw;
  font-weight: 300;
}

.sketchable {
  z-index: 1;
  width: 100%;
  max-width: 100%;
  height: 70vh;
  position: fixed;
  inset: 0%;
}

.hero-link {
  z-index: 10;
  pointer-events: auto;
  color: var(--dark);
  cursor: pointer;
  font-size: 2vw;
  line-height: 1;
  text-decoration: none;
  position: relative;
}

.hero-link:hover {
  text-decoration: line-through;
}

/* Force cursor dot transition speed to match work items when hovering over hero-link */
body:has(.hero-link:hover) .cursor-dot,
.hero-link:hover ~ * .cursor-dot {
  transition: width 0.5s cubic-bezier(0.33, 1, 0.68, 1) !important, 
              height 0.5s cubic-bezier(0.33, 1, 0.68, 1) !important, 
              background-color 0.3s ease !important;
}

/* Also target when cursor-dot is being animated by Webflow */
.cursor-dot[style*="width"] {
  transition: width 0.5s cubic-bezier(0.33, 1, 0.68, 1) !important, 
              height 0.5s cubic-bezier(0.33, 1, 0.68, 1) !important, 
              background-color 0.3s ease !important;
}

.section {
  z-index: 1;
  width: 100%;
  min-height: 50vh;
  margin-top: 13px;
  position: relative;
  overflow: hidden;
}

.section.project {
  min-height: auto;
  margin-top: 0;
  display: flex;
  align-items: flex-start;
}

.section.info {
  min-height: auto;
  padding-bottom: 2rem;
}

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

.work-item-wrapper {
  color: var(--dark);
  object-fit: cover;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  height: 100%;
  text-decoration: none;
  display: flex;
  filter: none !important;
  min-width: 0;
  max-width: 100%;
}

.work-item-image {
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
  height: 100%;
  filter: none !important;
}

.work-item-title {
  z-index: 7;
  color: #fff;
  margin-top: 0;
  margin-bottom: 0;
  font-size: 1.017rem;
  font-weight: 400;
  position: absolute;
  inset: auto auto 2% 2%;
}

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

.info-wrapper.fw {
  flex-flow: column;
  display: flex;
}

.overflow-none {
  overflow: hidden;
}

.overflow-none.full {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 4px;
  width: 100%;
  position: relative;
  filter: none !important;
}

.image-cover {
  display: none;
}

.card-hover {
  z-index: 6;
  color: #fff;
  background-color: #00000080;
  justify-content: center;
  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: 8vh;
}

.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;
}

.brand-ticker {
  width: 100%;
  height: 3rem;
  background-color: #000;
  overflow: hidden;
  position: relative;
  z-index: 100;
}

.brand-ticker-track {
  display: flex;
  width: fit-content;
  height: 100%;
  align-items: center;
  animation: scroll-left 60s linear infinite;
}

.brand-ticker-content {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 2rem;
  padding: 0 2rem;
  flex-shrink: 0;
}

.brand-ticker-content:first-of-type {
  padding-right: 1rem;
}

.brand-ticker-content:last-of-type,
.brand-ticker-content[aria-hidden="true"] {
  padding-left: 1rem;
}

.brand-ticker-logo {
  height: 1.5rem;
  width: auto;
  max-width: 150px;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  transition: opacity 0.3s ease;
  object-fit: contain;
}

.brand-ticker-logo:hover {
  opacity: 1;
}

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

.infinite-marquee {
  display: none;
}

.muted {
  opacity: .8;
}

.muted.pointer {
  z-index: 10;
  cursor: pointer;
  position: relative;
}

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

/* Ensure cursor-wrap is always above Vimeo embeds and iframes */
.cursor-wrap,
.cursor-wrap .cursor-dot {
  z-index: 999999 !important;
}

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

.cursor-dot {
  mix-blend-mode: exclusion;
  background-color: var(--dark);
  border: 1px solid var(--dark);
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 12px;
  height: 12px;
  transition: width 0.5s cubic-bezier(0.33, 1, 0.68, 1), height 0.5s cubic-bezier(0.33, 1, 0.68, 1), background-color 0.3s ease !important;
}

.cursor {
  display: none;
}

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

.body {
  background-color: #fff;
}

.summary {
  text-align: left;
  letter-spacing: 0;
  margin-top: 0;
  margin-bottom: 0;
  font-size: 2.4vw;
  font-weight: 300;
  line-height: 1.15;
}

.slideimg {
  aspect-ratio: 16 / 9;
  object-fit: contain;
  width: 100%;
  height: auto;
}

.slider {
  width: 100%;
  max-width: 50%;
  height: auto;
  align-self: flex-start;
}

.flex-stack {
  flex-flow: column;
  justify-content: flex-start;
  align-items: center;
  max-width: 50%;
  padding-left: 50px;
  padding-right: 50px;
  display: flex;
}

.slide {
  background-color: #fff;
}

.slidevideo {
  width: 100%;
  height: auto;
}

.app-icons {
  grid-column-gap: 10px;
  grid-row-gap: 10px;
  justify-content: flex-end;
  align-items: flex-end;
  display: flex;
  position: relative;
  flex-shrink: 0;
  flex-grow: 0;
  align-self: flex-start;
  margin: 0;
  margin-top: 1.1rem;
  margin-left: auto;
  padding: 0;
}

.app-icon {
  width: 7.3vw;
}

.footer {
  z-index: 5;
  grid-column-gap: 6vw;
  grid-row-gap: 6vw;
  pointer-events: none;
  border-top: .0625rem solid rgba(36, 36, 36, 0.4);
  justify-content: flex-start;
  align-items: center;
  min-height: 6rem;
  margin-top: 26px;
  padding-left: 2%;
  padding-right: 2%;
  font-size: .6rem;
  display: flex;
  position: sticky;
  inset: auto 0% 0%;
}

.footer-section {
  z-index: 5;
  width: 100%;
  min-height: auto;
  margin-top: 2rem;
  position: relative;
}

.projectpage-nav {
  z-index: 10000;
  grid-column-gap: 6vw;
  grid-row-gap: 6vw;
  pointer-events: none;
  border-top: .0625rem solid rgba(36, 36, 36, 0.4);
  justify-content: flex-start;
  align-items: center;
  height: 5.5rem;
  margin-top: 26px;
  padding-left: 2%;
  padding-right: 2%;
  display: flex;
  position: sticky;
  inset: auto 0% 0%;
  background-color: #fff;
}

.homepagenav {
  z-index: 10000;
  grid-column-gap: 6vw;
  grid-row-gap: 6vw;
  pointer-events: none;
  border-top: .0625rem solid rgba(36, 36, 36, 0.4);
  justify-content: flex-start;
  align-items: center;
  height: 4.5rem;
  margin-top: 26px;
  padding-left: 2%;
  padding-right: 2%;
  font-size: .6rem;
  display: flex;
  position: sticky;
  inset: auto 0% 0%;
  background-color: #fff;
}

/* Filter Dropdown Styles */
.filter-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  line-height: 1;
  pointer-events: auto !important;
  z-index: 10001;
  isolation: isolate;
}

.filter-dropdown-toggle {
  color: var(--dark);
  cursor: pointer;
  font-size: 2vw;
  line-height: 1;
  text-decoration: none;
  position: relative;
  pointer-events: auto !important;
  z-index: 10002;
}

.filter-dropdown-toggle:hover {
  text-decoration: line-through;
}

.filter-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  border: .0625rem solid rgba(36, 36, 36, 0.2);
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  min-width: 320px;
  white-space: nowrap;
  z-index: 10003 !important;
  pointer-events: auto !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Dropdown visibility is now controlled by JavaScript for delay functionality */

.filter-dropdown-item {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--dark);
  text-decoration: none;
  font-size: 1.5vw;
  line-height: 1.5;
  pointer-events: auto !important;
  cursor: pointer;
  border: .0625rem solid transparent;
  margin: 0;
  transition: border-color 0.2s ease;
  white-space: nowrap;
}

.filter-dropdown-item:hover {
  border: .0625rem solid rgba(36, 36, 36, 0.4);
  background-color: transparent;
  text-decoration: none;
}

.right-arrow, .left-arrow {
  height: 70px;
}

.project-header-wrapper {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0;
  padding-top: 1%;
  padding-bottom: 1%;
  padding-left: 2%;
  padding-right: 2%;
  position: relative;
  box-sizing: border-box;
}

.template-title {
  text-align: left;
  border: 1px #000;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
  margin: 0;
  display: flex;
  flex: 1;
  min-width: 0;
}

.footer-link {
  z-index: 10;
  pointer-events: auto;
  color: var(--dark);
  cursor: pointer;
  font-size: 2vw;
  line-height: 1;
  text-decoration: none;
  position: relative;
}

.footer-link:hover {
  text-decoration: line-through;
}

.lightbox-link {
  aspect-ratio: 16 / 9;
  object-fit: contain;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  display: flex;
}

.lightbox-image {
  aspect-ratio: 16 / 9;
  object-fit: contain;
  width: 100%;
  height: 100%;
}

.icon {
  filter: drop-shadow(0 10px 15px #000);
  color: #7e7e7e;
  transition: all .2s;
}

.icon:hover {
  color: #dfdfdf;
}

/* Remove drop shadow from carousel arrows */
.w-icon-slider-left,
.w-icon-slider-right,
.icon.w-icon-slider-left,
.icon.w-icon-slider-right {
  filter: none !important;
}

@media screen and (max-width: 991px) {
  .large-heading.offset-right {
    font-size: 6vw;
  }

  .app-icon {
    width: 8.76vw;
  }

  .hero-link {
    font-size: 3vw;
  }

  .filter-dropdown-item {
    font-size: 2.5vw;
  }

  .footer-link {
    font-size: 3vw;
  }

  .large-heading.smaller {
    font-size: 3vw;
  }

  .hero-top-wrapper > div.overflow-none:nth-child(1) > h1.large-heading {
    font-size: 9vw;
  }

  .hero-top-wrapper > div.overflow-none:nth-child(2) > h2.large-heading {
    font-size: 4vw;
    font-weight: 600;
    white-space: nowrap;
  }

  .hero-top-wrapper > div.overflow-none:nth-child(3) > h2.large-heading {
    font-size: 4vw;
    font-weight: 300;
  }

  .category-title-wrapper {
    bottom: -12px;
    right: 2%;
    height: 4.5vw;
  }

  .large-heading.category-page-title {
    font-size: 2.25vw;
    font-weight: 300;
    color: #000;
  }

  .section.project {
    flex-flow: column;
  }

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

  .info-wrapper {
    flex-flow: column;
    display: flex;
  }

  .card-hover {
    display: none;
  }

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

  .divider {
    min-height: 2.8125rem;
  }

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

  .summary {
    font-size: 3vw;
  }

  .slider {
    max-width: 100%;
  }

  .flex-stack {
    max-width: 100%;
    margin-top: 20px;
    padding-left: 25px;
  }

  .project-header-wrapper {
    flex-direction: column;
    gap: 0.75rem;
    padding-left: 25px;
    padding-right: 25px;
  }

  .app-icons {
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    justify-content: flex-start;
    position: relative;
    top: auto;
    right: auto;
  }

  .projectpage-nav {
    padding-left: 25px;
    padding-right: 25px;
  }
}

@media screen and (max-width: 479px) {
  .hero-section {
    margin-top: 20px;
  }

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

  .hero-top-wrapper > div.overflow-none:nth-child(2) {
    overflow: visible;
  }

  .category-title-wrapper {
    bottom: -12px;
    right: 5%;
  }

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

  .hero-link {
    font-size: 5vw;
  }

  .filter-dropdown-item {
    font-size: 4vw;
  }

  .hero-top-wrapper > div.overflow-none:nth-child(1) > h1.large-heading {
    font-size: 10vw;
  }

  .hero-top-wrapper > div.overflow-none:nth-child(2) > h2.large-heading {
    font-size: 4.5vw;
    font-weight: 600;
    white-space: nowrap;
  }

  .hero-top-wrapper > div.overflow-none:nth-child(3) > h2.large-heading {
    font-size: 4.5vw;
    font-weight: 300;
  }

  .category-title-wrapper {
    position: absolute;
    bottom: -12px;
    right: 5%;
    height: 5vw;
  }

  .large-heading.category-page-title {
    font-size: 2.5vw;
    font-weight: 300;
    color: #000;
  }

  .work-grid {
    grid-template-columns: 1fr;
    padding-left: 5%;
    padding-right: 5%;
  }

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

  .summary {
    font-size: 5vw;
  }

  .app-icon {
    width: 8.76vw;
  }

  .footer {
    grid-column-gap: 10vw;
    grid-row-gap: 10vw;
    padding-left: 5%;
    padding-right: 5%;
  }

  .projectpage-nav {
    padding-left: 5%;
    padding-right: 5%;
  }

  .homepagenav {
    grid-column-gap: 10vw;
    grid-row-gap: 10vw;
    padding-left: 5%;
    padding-right: 5%;
  }

  .project-header-wrapper {
    padding-left: 5%;
    padding-right: 5%;
    gap: 0.5rem;
  }

  .template-title {
    padding-left: 0;
    padding-right: 0;
  }

  .footer-link {
    font-size: 5vw;
  }

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

/* Scroll to Top Button */
.scroll-to-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background-color: #ffffff;
  border: 1px solid #242424;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  z-index: 999998;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.scroll-to-top-btn.show {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.scroll-to-top-btn:active {
  transform: translateY(-1px);
}

.scroll-to-top-btn i {
  color: #242424;
  font-size: 18px;
  line-height: 1;
}

@media screen and (max-width: 767px) {
  .hero-section {
    margin-top: 20px;
  }

  .hero-top-wrapper {
    padding-top: 2.25%;
  }

  .hero-top-wrapper > div.overflow-none:nth-child(2) {
    overflow: visible;
  }

  .hero-top-wrapper > div.overflow-none:nth-child(2) > h2.large-heading {
    white-space: nowrap;
  }

  .scroll-to-top-btn {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }
  
  .scroll-to-top-btn i {
    font-size: 16px;
  }
}


