@font-face {
  font-family: "FG Futurist";
  src: url("../../fonts/WOFF2/FG_FuturistTRIAL-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "FG Futurist";
  src: url("../../fonts/WOFF2/FG_FuturistTRIAL-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "FG Futurist";
  src: url("../../fonts/WOFF2/FG_FuturistTRIAL-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "FG Futurist";
  src: url("../../fonts/WOFF2/FG_FuturistTRIAL-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "FG Futurist";
  src: url("../../fonts/WOFF2/FG_FuturistTRIAL-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* CSS Variables */
:root {
  --default-font:
    "FG Futurist", "Helvetica Neue", Arial, sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";

  /* Colors */
  --main-color: #ff7518;
  --whitest: #ffffff;
  --blackest: #000000;
  --manteca: #f5f5dc;

  --mint: #1ba165;
  --petrol-blue: #0a6dca;
  --gold-yellow: #ffb700;
  --terracotta-dark: #ad4025;
  --bubblegum: #F45B69;
  --teal: #40BCD8;

  --graphite: #596275;

  --black-50: #00000080;
  --black-20: #00000033;

  /* Font sizes */
  --fs-nav: clamp(1.25rem, 3vw, 2rem);
  --fs-nav-mobile: 7.5vw;
  --fs-nav-tablet: clamp(2rem, 4vw, 3rem);
  --fs-intro: clamp(1rem, 2.5vw, 1.25rem);
  --fs-tile-text: 1.25rem;
  --fs-tile-xl: 1.25rem;
  --fs-caption: 1rem;
  --fs-product-meta: 1.2rem;
  --fs-cursor: 3rem;


  /* Easing */
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* Z-index scale */
  --z-tile: 10;
  --z-tile-overlay: 20;
  --z-tile-text: 21;
  --z-overlay: 5000;
  --z-option: 2001;
  --z-content: 4000;
  --z-sidebar: 6000;
  --z-toggle: 9999;
}

.fw-bold,
strong {
  font-weight: 500 !important;
}

/* Base Styles */
html {
  overflow: hidden;
  height: 100%;
}

body {
  overflow-y: auto;
  overflow-x: hidden;
  height: 100%;
  font-family: var(--default-font);
  background-color: var(--manteca);
  color: var(--blackest);
}

@media (min-width: 1920px) {
  .container-fluid {
    max-width: 1920px;
    margin-left: 0;
  }
}

.logo {
  position: relative;
}

.logo img {
  height: 44px;
  width: auto;
  display: block;
  bottom: -1px;
  position: relative;
}

.guide-h-double-100 {
  border-top: 1px solid var(--graphite);
  border-bottom: 1px solid var(--graphite);
  width: 200vw;
  height: 100%;
  position: absolute;
  left: -100%;
  top: 0;
}

.guide-v-double-100 {
  border-right: 1px solid var(--graphite);
  border-left: 1px solid var(--graphite);
  height: 60vh;
  width: 100%;
  position: absolute;
  top: -10%;
}

@media (min-width: 1025px) {
  :root:not(.safari-browser) .guide-h-double-100,
  :root:not(.safari-browser) .guide-v-double-100 {
    filter: url(#pencil);
  }
}

.guide-v-short {
  border-right: 1px solid var(--graphite);
  border-left: 1px solid var(--graphite);
  height: 200%;
  width: calc(100% - 1.5rem);
  position: absolute;
  top: -50%;
  z-index: var(--z-overlay);
}

/* Tiles — shared base */
.tile,
.tile-xl {
  position: relative;
  overflow: hidden;
  background-color: var(--manteca);
  border: 1px solid var(--graphite);
}

.tile {
  width: 100%;
  height: 12.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--z-tile);
}

.tile.tile-text {
  align-items: flex-start;
  box-sizing: border-box;
  cursor: default;
}

.tile-text-content {
  padding: 2rem;
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.2;
  color: var(--blackest);
  margin: 0;
}

.tile-text-image {
  height: 1.25rem !important;
  width: auto !important;
}

.tile-xl {
  height: calc(25rem + 1.5rem);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.tile img:not(.logo-sized) {
  max-height: 60%;
  max-width: 60%;
  display: block;
}

.tile-xl img:not(.logo-sized) {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

/* Tile Panels */
.tile:not(.carousel):not(.tile-xl),
.tile-xl:not(.carousel) {
  cursor: pointer;
}



/* Project Backgrounds — shared pseudo pattern */
/* Mobile menu toggle */
.mobile-menu-toggle {
  cursor: pointer;
  width: 2rem;
  height: 2rem;
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 0.25rem;
  background: none;
  border: none;
  padding: 0;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--blackest);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu-toggle.open span:nth-child(2),
.mobile-menu-toggle.open span:nth-child(4),
.mobile-menu-toggle.open span:nth-child(6),
.mobile-menu-toggle.open span:nth-child(8) {
  opacity: 0 !important;
}

/* Overlay */
.overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: var(--black-50);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: var(--z-overlay);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.25s var(--ease-out),
    visibility 0.25s var(--ease-out);
}

.overlay.active {
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.5s var(--ease-out),
    visibility 0.5s var(--ease-out);
}

/* Carousel */
.carousel-indicators {
  bottom: 1.25rem;
}

.carousel-control-next-icon,
.carousel-control-prev-icon {
  background-color: var(--black-20);
  border-radius: 50%;
  padding: 0.9375rem;
  width: 3.125rem;
  height: 3.125rem;
  background-size: 50%;
}

.carousel-control-next,
.carousel-control-prev {
  margin: 0.625rem;
}

/* Language & Options */
#lang-en,
#lang-es {
  position: relative;
  padding-bottom: 0.1875rem;
}

#lang-en::after,
#lang-es::after {
  content: "";
  position: absolute;
  bottom: 0.1rem;
  left: 0;
  width: 0;
  height: 0.25rem;
  background-color: var(--main-color);
  transition: width 0.3s ease;
}

#lang-en.active::after,
#lang-es.active::after,
#lang-en:hover::after,
#lang-es:hover::after {
  width: 100%;
}

#lang-en.active,
#lang-es.active {
  color: var(--main-color);
  cursor: default;
}

.option {
  z-index: var(--z-option);
  position: relative;
  cursor: pointer;
  padding-bottom: 0.1875rem;
}

.option::after {
  content: "";
  position: absolute;
  bottom: 0.1rem;
  left: 0;
  width: 0;
  height: 0.25rem;
  background-color: var(--main-color);
  transition: width 0.3s ease;
}

.option:hover::after {
  width: 100%;
}

/* Links */
.link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.link:hover,
.link:focus,
.link:active {
  color: var(--main-color);
}


/* Mobile Styles */
@media (max-width: 767px) {
  .mobile-menu-toggle-container {
    top: 1.25rem;
  }

  .nav-button,
  .contact-link,
  .lang-selector {
    font-size: var(--fs-nav-mobile) !important;
    min-height: 2.75rem;
    display: flex;
    align-items: center;
  }

  .sidebar-nav-btn {
    min-height: 2.75rem;
  }

  #sidebar .logo+.mt-4 {
    margin-top: 3rem !important;
  }

  #sidebar .d-flex.flex-column.gap-2 {
    gap: 1.5rem !important;
  }

  #lang-es,
  #lang-en {
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
  }

  .tile {
    height: 12.5rem;
  }

  .tile-xl {
    height: 25rem;
  }

  .carousel-indicators {
    bottom: 0.625rem;
  }

  .carousel-indicators button {
    width: 0.5rem;
    height: 0.5rem;
  }

  #product-design .carousel-item .d-flex {
    align-items: flex-start !important;
  }

  #product-design .text-center {
    text-align: left !important;
  }

  #product-design .justify-content-center {
    justify-content: flex-start !important;
  }

  #brand-creation .tile:not(.carousel).active .brand-hover-overlay,
  #brand-creation .tile-xl:not(.carousel).active .brand-hover-overlay {
    clip-path: circle(150% at 0% 0%);
  }

  #brand-creation .tile:not(.carousel).active .brand-hover-text,
  #brand-creation .tile-xl:not(.carousel).active .brand-hover-text {
    opacity: 1;
  }

  footer {
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
  }

  .brand-grid.mb-5 {
    margin-bottom: 1rem !important;
  }
}


/* Sidebar Nav Buttons */
.sidebar-nav-btn {
  width: fit-content !important;
  max-width: 100% !important;
  white-space: normal !important;
  word-break: keep-all !important;
  overflow-wrap: break-word !important;
  position: relative;
  padding-bottom: 0.1875rem;
}

.sidebar-nav-btn::after {
  content: "";
  position: absolute;
  bottom: -0.1rem;
  left: 0;
  width: 0;
  height: 0.25rem;
  background-color: var(--main-color);
  transition: width 0.3s ease;
}

.sidebar-nav-btn:hover::after,
.sidebar-nav-btn.active::after {
  width: 100%;
}

/* Sidebar */
.sidebar-container {
  min-width: 25rem;
  height: 100vh;
  background-color: var(--manteca);
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-sidebar);
  border-right: 1px solid var(--graphite);
  overflow: hidden;
  transition: transform 0.3s ease;
}

@media (min-width: 1025px) {
  .sidebar-container {
    border-right: none;
  }

  .sidebar-container::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background: var(--graphite);
    filter: url(#pencil);
  }

  .content-area {
    margin-left: 25.625rem;
    margin-right: 3.125rem;
  }

  #brand-creation-grid .tile:hover .logo-sized {
    transform: scale(1.05);
    transition: transform 0.2s var(--ease-out);
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .col-4 {
    flex: 0 0 auto;
    width: 50%;
  }

  .col-8 {
    flex: 0 0 auto;
    width: 100%;
  }

  .nav-button,
  .contact-link,
  .lang-selector {
    font-size: var(--fs-nav-tablet) !important;
    min-height: 2.75rem;
    display: flex;
    align-items: center;
  }

  .sidebar-nav-btn {
    min-height: 2.75rem;
  }

  #sidebar .logo+.mt-4 {
    margin-top: 3rem !important;
  }

  #sidebar .d-flex.flex-column.gap-2 {
    gap: 1.5rem !important;
  }

  #lang-es,
  #lang-en {
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
  }
}

@media (max-width: 1024px) {

  .option::after,
  .sidebar-nav-btn::after {
    display: none;
  }
}

@media (max-width: 767px) {
  .sidebar-container {
    height: 85vh;
  }

  .tab-intro h1 {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .sidebar-container {
    min-width: 80vw;
  }
}

@media (max-width: 1024px) {
  .sidebar-container {
    transform: translateX(-100%);
    min-width: 100vw;
    border-right: none;
    box-shadow: none;
  }

  .sidebar-container.open {
    transform: translateX(0);
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.3);
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .content-area {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .content-area .d-block.d-lg-none {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* Nav / Contact / Lang */
.nav-button,
.contact-link,
.lang-selector {
  color: var(--blackest) !important;
  text-decoration: none;
  font-size: var(--fs-nav);
}

.contact-link {
  position: relative;
  width: fit-content !important;
  max-width: fit-content !important;
  display: inline-block !important;
  padding-bottom: 0.1875rem;
}

.contact-link::after {
  content: "";
  position: absolute;
  bottom: 0.1rem;
  left: 0;
  width: 0;
  height: 0.25rem;
  background-color: var(--main-color);
  transition: width 0.3s ease;
}

.contact-link:hover::after {
  width: 100%;
}

.nav-button {
  text-transform: lowercase;
}

.lang-selector {
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: var(--fs-nav);
  font-weight: inherit;
  color: inherit;
}

/* Content Area */
.content-area {
  z-index: var(--z-content);
  position: relative;
  background-color: var(--manteca);
  transition: margin-left 0.3s ease, opacity 0.5s ease;
}


.content-area.fading {
  opacity: 0;
}

.tab-visible {
  display: block;
}

.tab-hidden {
  display: none;
}

.hidden {
  display: none;
}

.project-description {
  font-size: var(--fs-tile-text);
}

.tab-intro {
  padding-top: 2.5rem;
  padding-bottom: 3rem;
}

.project-title {
  line-height: 1.2;
  margin: 0;
  font-weight: 600;
  letter-spacing: -1px;
}

.project-back-arrow {
  height: 0.9em;
  width: auto;
}

.project-header {
  padding-top: 2.5rem;
  padding-bottom: 3rem;
}

.project-back {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  color: inherit;
  text-decoration: none;
  font-weight: 300;
  line-height: 1;
}

.project-back-inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.4s ease;
}

.project-back:hover .project-back-inner {
  transform: translateX(-0.75rem);
}

.project-back-arrow-large {
  font-size: 3.25rem;
  line-height: 1;
  flex-shrink: 0;
}

.project-back-label {
  font-size: 1.25rem;
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  transition: max-width 0.4s ease;
  margin-bottom: 0.4rem;
}

.project-back:hover .project-back-label {
  max-width: 6rem;
}

.mobile-menu-toggle-container {
  position: fixed;
  top: 3.375rem;
  right: 1rem;
  z-index: var(--z-toggle);
}

/* Brand Creation hover */
#brand-creation .tile:not(.carousel),
#brand-creation .tile-xl:not(.carousel) {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.brand-hover-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: var(--main-color);
  opacity: 0.95;
  clip-path: circle(0% at 0% 0%);
  transition: clip-path 0.9s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: var(--z-tile-overlay);
  pointer-events: none;
}

.brand-hover-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: var(--blackest);
  font-size: var(--fs-tile-text);
  line-height: 1.25;
  font-weight: 300;
  text-align: left;
  opacity: 0;
  transition: opacity 0.3s ease 0s;
  z-index: var(--z-tile-text);
  padding: 2rem;
  box-sizing: border-box;
}

.brand-hover-name {
  font-weight: 500;
  font-size: 1.65rem;
  margin-bottom: 0.75rem;
  display: block;
}

.brand-hover-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.tile:not(.tile-xl) .brand-hover-meta {
  margin-bottom: 1rem;
}

.brand-hover-worktype,
.brand-hover-year {
  font-size: 0.85rem;
  font-weight: 400;
  text-transform: uppercase;
}

.pd-tile-year {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 0.85rem;
  font-weight: 400;
  z-index: var(--z-tile-text);
}

.brand-hover-tags {
  display: block;
  font-size: var(--fs-tile-text);
  font-weight: 300;
  margin-bottom: 0.75rem;
}

.brand-hover-industry {
  display: block;
  font-size: var(--fs-tile-text);
  font-weight: 300;
}

#brand-creation .tile-xl .brand-hover-text {
  font-size: var(--fs-tile-xl);
}


#brand-creation .tile:not(.carousel):hover .brand-hover-overlay,
#brand-creation .tile-xl:not(.carousel):hover .brand-hover-overlay {
  clip-path: circle(150% at 0% 0%);
}

/* todos los tiles de brand-creation: hover manejado por GSAP (hover-gsap.js) */
#brand-creation-grid .tile .brand-hover-overlay,
#brand-creation-grid .tile:hover .brand-hover-overlay {
  transition: none;
  clip-path: unset !important;
}

#brand-creation-grid .tile .brand-hover-text,
#brand-creation-grid .tile:hover .brand-hover-text {
  transition: none !important;
  opacity: unset;
}

.cursor-pointer {
  cursor: pointer;
}

.logo-sized {
  max-width: var(--logo-size);
  max-height: var(--logo-size);
  width: 100%;
  height: auto;
  transition: transform 0.2s var(--ease-out);
}

#brand-development-grid .tile,
#brand-development-grid .tile-xl {
  align-items: stretch;
  justify-content: stretch;
}

#brand-development-grid .tile img,
#brand-development-grid .tile-xl img {
  position: relative;
  z-index: var(--z-tile-text);
}

.brand-dev-arrow {
  font-size: 8rem;
  line-height: 1;
  color: var(--blackest);
  position: relative;
  z-index: var(--z-tile-text);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.brand-dev-tool-icon {
  width: 4.5rem;
  height: 4.5rem;
  object-fit: contain;
  opacity: 0.6;
}

#brand-development-grid .tile:hover .brand-dev-arrow,
#brand-development-grid .tile-xl:hover .brand-dev-arrow {
  opacity: 1;
  color: var(--whitest);
}

#product-design-grid .tile .p-2rem,
#product-design-grid .tile-xl .p-2rem {
  position: relative;
  z-index: var(--z-tile-text);
}

#product-design-grid .tile:hover .brand-dev-arrow,
#product-design-grid .tile-xl:hover .brand-dev-arrow {
  opacity: 1;
}

@media (max-width: 1024px) {
  #product-design-grid .brand-dev-arrow {
    opacity: 1;
  }

  #brand-development-grid .brand-dev-arrow {
    opacity: 1;
    color: var(--whitest);
  }
}

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

.brand-grid-item {
  min-width: 0;
  position: relative;
}

.brand-grid-item.span-4 {
  grid-column: span 4;
}

.brand-grid-item.span-6 {
  grid-column: span 6;
}

.brand-grid-item.span-8 {
  grid-column: span 8;
}

.brand-grid-stack {
  display: grid;
  gap: 1.5rem;
  height: 100%;
}

.brand-grid-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 2rem;
}

.brand-grid-logo-wrap.responsive-padding {
  padding: 2rem;
}

.brand-grid-logo-wrap.multi-logo {
  flex-wrap: wrap;
  gap: 1rem;
}

.brand-grid-logo-wrap img:not(.logo-sized) {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

@media (min-width: 576px) {
  .brand-grid-logo-wrap.responsive-padding {
    padding: 3rem;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .brand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .brand-grid-item.span-4 {
    grid-column: span 1;
  }

  .brand-grid-item.span-6 {
    grid-column: span 1;
  }

  .brand-grid-item.span-8 {
    grid-column: span 2;
  }
}

@media (max-width: 767px) {
  .brand-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .brand-grid-item.span-4,
  .brand-grid-item.span-6,
  .brand-grid-item.span-8 {
    grid-column: span 1;
  }
}

/* Product Hover */
.product-hover-custom {
  position: relative;
  overflow: hidden;
  background: var(--manteca);
}

.tile-bg-video {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1.25rem;
  z-index: 0;
  pointer-events: none;
}

/* Tile Background Image */
.tile-bg-image {
  position: relative;
}

.tile-bg-image::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 1.25rem;
  z-index: 0;
}

.tile-bg-image .brand-grid-logo-wrap,
.tile-has-video .brand-grid-logo-wrap {
  position: relative;
  z-index: 2;
}



/* Project Gallery — Grid */
.project-gallery-embed {
  display: block;
  position: relative;
}

.project-gallery-embed .guide-v-double-100 {
  height: 101%;
  top: -0.5%;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.project-gallery-item {
  position: relative;
  box-sizing: border-box;
  border: 1px solid var(--graphite);
  background-color: var(--manteca);
  margin: 0;
}

.project-gallery-item.gallery-span-3 {
  grid-column: span 3;
}

.project-gallery-item.gallery-span-4 {
  grid-column: span 4;
}

.project-gallery-item.gallery-span-6 {
  grid-column: span 6;
}

.project-gallery-item.gallery-span-12 {
  grid-column: span 12;
}

.project-gallery-item .guide-h-double-100 {
  top: -1px;
  bottom: -1px;
  height: auto;
  z-index: 0;
}

.project-gallery-item .guide-v-double-100 {
  left: -1px;
  right: -1px;
  width: auto;
  z-index: 0;
}

.project-gallery-item img,
.project-gallery-item video {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
}

.project-gallery-item .gallery-video {
  width: calc(100% - 2rem);
  margin: 1rem;
  border-radius: 0.75rem;
  border: 10px solid var(--blackest);
  box-sizing: border-box;
}

.project-gallery-item figcaption {
  font-size: var(--fs-caption);
  padding: 0.5rem 0.75rem;
  border-top: 1px solid var(--graphite);
  background: var(--manteca);
  position: relative;
  z-index: 1;
}

@media (max-width: 767px) {
  .project-gallery {
    grid-template-columns: 1fr;
  }

  .project-gallery-item.gallery-span-3,
  .project-gallery-item.gallery-span-4,
  .project-gallery-item.gallery-span-6,
  .project-gallery-item.gallery-span-12 {
    grid-column: span 1;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .project-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-gallery-item.gallery-span-3,
  .project-gallery-item.gallery-span-4,
  .project-gallery-item.gallery-span-6 {
    grid-column: span 1;
  }

  .project-gallery-item.gallery-span-12 {
    grid-column: span 2;
  }
}

.project-gallery-item.gallery-item-text {
  align-self: stretch;
  display: flex;
  flex-direction: column;
}

.project-masonry-color-text {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 1.5rem;
  font-size: var(--fs-intro);
  font-weight: 300;
  line-height: 1.4;
  color: var(--blackest);
}

.project-masonry-text-logo {
  display: block;
  max-height: 3rem;
  width: auto !important;
  max-width: 60%;
  padding: 1.75rem 1.75rem 0;
  position: relative;
  z-index: 1;
  align-self: flex-start;
  margin-right: auto;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--manteca);
  border: 1px solid var(--blackest);
  font-size: var(--fs-product-meta);
  line-height: 1;
  padding: 0.25rem 0.6rem;
  cursor: pointer;
  z-index: 2;
}

.carousel-prev {
  left: 0;
}

.carousel-next {
  right: 0;
}

.carousel-counter {
  position: absolute;
  bottom: 2.5rem;
  right: 0.75rem;
  font-size: var(--fs-caption);
  z-index: 2;
  background: var(--manteca);
  padding: 0 0.25rem;
}

.pixel-grid {
  border-radius: 1.25rem;
  overflow: hidden;
}

#brand-development-grid h4,
#brand-development-grid .d-flex.gap-2 {
  color: var(--whitest);
  position: relative;
  z-index: var(--z-tile-text);
}

/* Gooey cursor */
#cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  font-size: var(--fs-cursor);
  line-height: 1;
  color: var(--main-color);
  pointer-events: none;
  z-index: 99999;
  will-change: transform;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

@media (hover: hover) and (pointer: fine) {
  :root:not(.safari-browser) * {
    cursor: none !important;
  }
}

.brand-hover-image {
  display: block;
  max-width: 50%;
  max-height: 3rem;
  object-fit: contain;
  margin-top: 1rem;
}

.project-loader {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--manteca);
  transition: opacity 0.5s ease;
}

.project-loader.dismiss {
  opacity: 0;
  pointer-events: none;
}

.project-loader-dot {
  width: 2rem;
  height: 2rem;
  background: var(--blackest);
  animation: loader-blink 1s ease-in-out infinite;
}

@keyframes loader-blink {

  0%,
  100% {
    opacity: 0.15;
  }

  50% {
    opacity: 1;
  }
}

.intro-arrow {
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
}

.p-2rem {
  padding: 2rem;
}

@media (min-width: 1200px) {
  .display-4 {
    font-size: 3.25rem;
  }
}

#footer-quote,
#footer-author {
  font-size: var(--fs-tile-text);
}

#footer-author {
  font-weight: 300;
}

.project-meta {
  font-size: var(--fs-tile-text);
  font-weight: 300;
}

.project-breadcrumb {
  font-size: 0.85rem;
  font-weight: 400;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  color: var(--blackest);
}

.active-client-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--blackest);
  background: var(--main-color);
  padding: 0.2rem 0.5rem;
  z-index: var(--z-tile-text);
  pointer-events: none;
}

.version-label {
  font-size: var(--fs-caption);
  opacity: 0.45;
}