/*
Theme Name: Bricks Child
Template: bricks
*/

.page {
    overflow-x: clip;
}

html {
    scrollbar-width: none;
    -ms-overflow-style: none;
}
html::-webkit-scrollbar {
    display: none;
}

/* Cursor */
.mf-cursor {
	mix-blend-mode: difference !important;
}
@media screen and (max-width:768px) {
	.mf-cursor {
		display: none !important;
	}
}
.mf-cursor:before {
	background: white !important;
}
.mf-cursor.-pointer:before {
    transform: scale(0.35) !important;
}

/* Buttons on Hover */
.bricks-button.bricks-background-primary {
    position: relative;
    overflow: hidden;
	transition: all 100ms ease-in-out;
    
    &:before {
        content: '';
        position: absolute;
        inset: 0;
        width: 0%;
        height: 100%;
        background: var(--white);
        transition: all 300ms ease-in-out;
        z-index: -1;
    }

    &:hover{
        color: var(--black) !important;
		background: transparent !important;
    }
	
    &:hover:before {
        width: 100%;
    }
}

/* Hamburger Menu Icon */
#toggle-container {
    justify-content: center;
    display: flex;
	width: 100%;
}
button.hamburger.hamburger--spin {
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    place-self: center;
}

span.hamburger-box {
    transform: scale(0.75);
}

/* Menu Lines */
.menu-line {
    position: absolute;
    top: 80px;
    left: 100px;
    height: calc(100vh - 101px);
    width: 1px;
    background: white;
}
.menu-line.right {
    left: unset;
    right: 100px;
}
@media (max-width:768px) {
	.menu-line {
		left: 50px !important;
	}
	.menu-line.right {
		left: unset !important;
		right: 50px !important;
	}
}

/* Header Title */
.header-title {
    color: var(--white);
    text-align: center;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity 0.25s ease;
}
.header-title.visible {
    opacity: 1;
}

/* HOME BG FIXED 
 * 
 * #hero {
  background-attachment: fixed;
}

@supports (-webkit-clip-path: polygon(0 0, 0 10%, 10% 10%)) or (clip-path: polygon(0 0, 0 10%, 10% 10%)) {
  @media (hover: none) and (pointer: coarse) {
    #hero {
      -webkit-clip-path: polygon(0 0, 0 100%, 100% 100%, 100% 0);
      clip-path: polygon(0 0, 0 100%, 100% 100%, 100% 0);
      overflow: hidden;
      position: relative;
      background-image: none; 
    }

#hero::before {
      content: '';
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100vh;
      pointer-events: none;
      background-image: url('/wp-content/uploads/2026/03/hero.avif');
      background-size: cover;
      background-position: center;
      z-index: 0;
    }
  }
} */

/* MISSION ITEMS */
.mission-items {
    position: relative;
    width: 100%;
    padding: 80px 0 40px;
    color: #fff;
    background: #141414;
    overflow: visible;
}
.mission-items__track-wrap {
    position: relative;
    z-index: 1;
}
.mission-items__track-line {
    position: absolute;
    top: 166px;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.5);
    z-index: 1;
    width: 100%;
}
.mission-items__track-line:before,
.mission-items__track-line:after {
    content: "";
    position: absolute;
    top: -9.5px;
    left: 0px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50px;
}
.mission-items__track-line:after {
    left: unset;
    right: 0px;
}
.mission-items__items {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    min-height: 210px;
}
.mission-item {
    position: relative;
    flex: 1 1 0;
    min-width: 120px;
    text-align: center;
    cursor: pointer;
    transition: opacity 0.3s ease;
}
.mission-item__circle {
    position: relative;
    width: 58px;
    height: 58px;
    margin: 0 auto 26px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 999px;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition:
        width 0.35s ease,
        height 0.35s ease,
        transform 0.35s ease;
}
.mission-item.is-active .mission-item__circle {
    width: 170px;
    height: 170px;
}
.mission-item:hover:not(.is-active) .mission-item__circle {
    transform: scale(1.2);
}

/* Icon — visible at all times, scales with the circle */
.mission-item__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    transition:
        width 0.35s ease,
        height 0.35s ease;
}
.mission-item.is-active .mission-item__icon {
    width: 110px;
    height: 110px;
}
.mission-item__icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

/* Video — sits on top of the icon, fills the circle */
.mission-item__video {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    overflow: hidden;
}
.mission-item__video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mission-item__title {
    margin: 0;
    font-size: var(--text-m);
    line-height: 1.1;
    font-weight: 400;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

/* Tooltip */
.mission-items__tooltip {
    position: absolute;
    width: min(460px, 40%);
    border: 1px solid rgba(255, 255, 255, 0.8);
    padding: 28px 56px 28px 28px;
    background: var(--black);
    z-index: 10;
    opacity: 1;
    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}
.mission-items__tooltip.is-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
}
.mission-items__tooltip-close {
    position: absolute;
    top: 10px;
    right: 14px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}
.mission-items__tooltip-inner {
    font-size: var(--text-m);
    line-height: 1.2;
}
.mission-items__tooltip-inner p:last-child {
    margin-bottom: 0;
}

/* Pagination dots — mobile only */
.mission-items__pagination {
    display: none;
}

/* Mobile */
@media (max-width: 767px) {
    .mission-items {
        padding: 30px 0 40px;
        overflow: hidden;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        width: 100vw;
        max-width: 100vw;
    }
    .mission-items__track-wrap {
        overflow-x: auto;
        overflow-y: visible;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .mission-items__track-wrap::-webkit-scrollbar {
        display: none;
    }
    .mission-items__track-line {
        top: 120px;
        left: 0;
        right: 0;
    }
    .mission-items__track-line:before,
    .mission-items__track-line:after {
        display: none;
    }
    .mission-items__items {
        display: flex;
        gap: 0;
        width: max-content;
        padding: 0 25vw;
        min-height: 200px;
    }
    .mission-item {
        flex: 0 0 50vw;
        scroll-snap-align: center;
    }
    .mission-item .mission-item__icon,
    .mission-item .mission-item__title {
        opacity: 0.4;
        transition: opacity 0.3s ease;
    }
    .mission-item.is-active .mission-item__icon,
    .mission-item.is-active .mission-item__title {
        opacity: 1;
    }
    .mission-item .mission-item__circle {
        border-color: rgba(255, 255, 255, 0.4);
        transition:
            width 0.35s ease,
            height 0.35s ease,
            transform 0.35s ease,
            border-color 0.3s ease;
    }
    .mission-item.is-active .mission-item__circle {
        border-color: rgba(255, 255, 255, 0.8);
    }
    .mission-item__circle {
        width: 78px;
        height: 78px;
        margin-bottom: 20px;
    }
    .mission-item.is-active .mission-item__circle {
        width: 180px;
        height: 180px;
    }
    .mission-item__title {
        margin-top: 8px;
        font-size: var(--text-l, 18px);
    }
    .mission-items__tooltip {
        position: relative;
        top: auto;
        left: auto !important;
        width: calc(100% - 40px);
        margin: 16px auto 0;
        padding: 20px;
    }
    .mission-items__tooltip-close {
        display: none;
    }
    .mission-items__tooltip-inner {
        font-size: 16px;
    }

    /* Pagination dots */
    .mission-items__pagination {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 20px;
        padding: 0 20px;
    }
    .mission-items__dot {
        width: 8px;
        height: 8px;
        padding: 0;
        border: 1px solid rgba(255, 255, 255, 0.6);
        border-radius: 50%;
        background: transparent;
        cursor: pointer;
        transition:
            background 0.25s ease,
            transform 0.25s ease,
            border-color 0.25s ease;
    }
    .mission-items__dot.is-active {
        background: #fff;
        border-color: #fff;
        transform: scale(1.2);
    }
}


/* Coordinates Cursor */
.cursor-coordinates {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  pointer-events: none;
  padding: 6px 10px;
  background: rgba(20, 20, 20, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #737373;
  font-size: 12px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .cursor-coordinates {
    display: none;
  }
}

/* Services */
.service-card {
	position: relative;
    display: flex;
    flex-flow: column;
    justify-content: center;
	height: 100%;
	width: 100%;
    gap: 25px;
    padding-inline: var(--space-xl);
    padding-block: var(--space-3xl);
}

.service-card__title--container {
    display: flex;
    align-items: center;
	justify-content: center;
    gap: 12px;
	transition: all 300ms ease;
}

.service-card__dot {
  animation: pulsate 1s infinite;
  animation-direction: alternate-reverse;
}

@keyframes pulsate {
  0% {
    opacity: 0.6;
    transform: scale(0.95);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.service-card__title {
    color: var(--white);
    font-size: var(--space-m);
    text-transform: uppercase;
}

.service-card__main-image {
	flex: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
	transition: all 300ms ease;
	text-align:center;
	mix-blend-mode: lighten;
}

.service-card__main-image img {
    width: 100%;
	height: 200px;
	max-width: 360px;
    object-fit: contain;
	mix-blend-mode: lighten;
}

.service-card__hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #141414a1;
    display: flex;
    flex-flow: column;
    padding-inline: var(--space-xl);
    padding-block: var(--space-3xl);
    transition: all 500ms ease;
    opacity: 0;
}

.service-card:hover .service-card__title--container {
    filter: blur(5px);
}
.service-card:hover .service-card__main-image {
    filter: blur(20px);
}

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

.service-card__hover-image {
    width: 60px;
    height: 60px;
    aspect-ratio: 1;
    margin-bottom: 10px;
	mix-blend-mode: lighten;
}

.service-card__hover-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
	mix-blend-mode: lighten;
}

.service-card__content {
    font-size: 14px;
    color: white;
    line-height: 1.2em;
    margin-top: auto;
}

/* Clients Logos Marquee */
.client-logos-marquee {
    overflow: hidden;
    width: 100%;
    position: relative;
    mask-image: linear-gradient(
        to right,
        transparent,
        black 30%,
        black 90%,
        transparent
    );
    -webkit-mask-image: linear-gradient(
        to right,
        transparent,
        black 30%,
        black 90%,
        transparent
    );
    &:not(:last-of-type) {
        margin-bottom: 40px;
    }
}
.client-logos-marquee__track {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 4rem;
    width: max-content;
    animation: clientLogosMarquee 55s linear infinite;
}
.client-logos-marquee__item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.client-logos-marquee__image {
    display: block;
    height: auto;
    max-height: 45px;
    width: 100%;
	max-width: 100px;
}
.row-reverse .client-logos-marquee__track {
    animation-direction: reverse;
}

@keyframes clientLogosMarquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* Our Work Grid Filter Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.work-archive {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}
/* Stagger each item */
.work-archive:nth-child(1) {
    animation-delay: 0.05s;
}
.work-archive:nth-child(2) {
    animation-delay: 0.15s;
}
.work-archive:nth-child(3) {
    animation-delay: 0.25s;
}
.work-archive:nth-child(4) {
    animation-delay: 0.35s;
}
.work-archive:nth-child(5) {
    animation-delay: 0.45s;
}
.work-archive:nth-child(6) {
    animation-delay: 0.55s;
}

/* Team Members */
.tm-wrap {
	position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    color: #ffffff;
    overflow: hidden;
	align-items: flex-start;
}

.tm-overlay {
    position: absolute;
    bottom: 0;
    background: linear-gradient(0deg, var(--black), #14141440);
    height: 100px;
    width: calc(50% - 10px);
    z-index: 5;
    pointer-events: none;
}

/* ── LEFT ── */
.tm-list {
    padding: 48px 40px 48px 48px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    border-right: 1px solid white;
	overflow-y: scroll;
	position: relative;
	scrollbar-width: thin;
 	scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.tm-list::-webkit-scrollbar {
  width: 5px;
}

.tm-list::-webkit-scrollbar-track {
  background: transparent;
}

.tm-list::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 10px;
}

.tm-list::-webkit-scrollbar-thumb:hover {
  background-color: rgba(255, 255, 255, 0.6);
}

.tm-label {
    color: var(--white);
    font-weight: 300;
    font-size: var(--text-l);
}

.tm-names {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.tm-name-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 7px 0;
    cursor: pointer;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
    outline: none;
    line-height: 1.2em;
}

.tm-name-item:focus-visible {
    outline: 1px solid rgba(255, 255, 255, 0.3);
    outline-offset: 4px;
    border-radius: 2px;
}

.tm-name {
    font-size: clamp(24px, 3vw, 40px);
    font-weight: 300;
    color: #2f2f2f;
    letter-spacing: -0.01em;
    line-height: 1;
    transition: color 0.3s ease;
}

.tm-role {
    font-size: 14px;
    color: #2f2f2f;
    transition: color 0.3s ease;
}

.tm-name-item.is-active .tm-name,
.tm-name-item:hover .tm-name {
    color: #ffffff;
}

.tm-name-item.is-active .tm-role,
.tm-name-item:hover .tm-role {
    color: var(--gray-dark);
}

/* ── RIGHT ── */
.tm-panels {
    position: relative;
	overflow: hidden;
}

.tm-panel {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease;
    overflow-y: auto;
}

.tm-panel.is-active {
    opacity: 1;
    pointer-events: auto;
    position: relative;
}

.tm-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    flex-shrink: 0;
}

.tm-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Info box */
.tm-info-box {
    border: 1px solid white;
    margin: 40px 25px;
}

.tm-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-bottom: 1px solid white;
}

.tm-info-cell {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    border-right: 1px solid white;
}

.tm-info-cell:last-child {
    border-right: none;
}

.tm-info-label {
    color: var(--gray-dark);
    display: block;
	line-height: 1.2em;
}

.tm-info-value {
    font-size: 15px;
    font-weight: 400;
    color: #ffffff;
    display: block;
}

.tm-song {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tm-song-embed iframe {
    width: 100%;
    border-radius: 8px;
    display: block;
}

@media (max-width: 768px) {
    .tm-wrap {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
    }

    .tm-list {
        border-right: none;
        border-bottom: 1px solid white;
        padding: 32px 24px;
    }

    .tm-panels {
        min-height: 600px;
    }
	
	.tm-overlay {
		display: none;
	}
	
	.tm-name-item {
		flex-flow: column;
		align-items: flex-start;
		gap: 1px;
	}

    .tm-info-grid {
        grid-template-columns: 1fr 1fr;
    }

    .tm-info-grid .tm-info-cell:last-child {
        grid-column: span 2;
        border-right: none;
        border-top: 1px solid white;
    }
}
