/* ============================================================
   BRANDEE LABS — FRONT-END STYLES
   Prefix: brandee- (kept distinct from Elementor / theme classes)
   ============================================================ */

.brandee-proof {
  position: relative;
  background: #0a0a0a;
  color: #f3f3f0;
  padding: 110px 20px 90px;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
  font-family: Arial, Helvetica, sans-serif;
  box-sizing: border-box;
}
.brandee-proof * { box-sizing: border-box; }

.brandee-proof-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 70px;
}
.brandee-proof-kicker {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(243,243,240,0.45);
  margin-bottom: 18px;
}

/* Heading style echoes the bold BranDee wordmark: heavy weight, tight,
   with a hard offset duplicate behind it to suggest the comic/sticker
   shadow from the logo, without literally reusing the logo's font. */
.brandee-proof-title {
  font-family: Arial Black, Arial, sans-serif;
  font-weight: 900;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0 0 18px;
  position: relative;
  display: inline-block;
  color: #f3f3f0;
}
.brandee-proof-title span {
  position: relative;
  display: inline-block;
}
.brandee-proof-title span::after {
  content: attr(data-text);
  position: absolute;
  left: 4px;
  top: 4px;
  z-index: -1;
  color: rgba(243,243,240,0.18);
}
.brandee-proof-sub {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(243,243,240,0.55);
  margin: 0;
}

.brandee-proof-empty {
  text-align: center;
  padding: 60px 20px;
  color: rgba(243,243,240,0.5);
  font-size: 0.95rem;
}

/* ---------------- 3D coverflow stage ---------------- */
.brandee-proof-stage {
  position: relative;
  height: 460px;
  perspective: 1400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brandee-proof-track {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
}

.brandee-proof-card {
  position: absolute;
  width: 260px;
  height: 360px;
  left: 50%;
  top: 50%;
  margin-left: -130px;
  margin-top: -180px;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.6s ease, filter 0.6s ease;
  transform-style: preserve-3d;
  cursor: pointer;
}

.brandee-proof-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 6px;
  overflow: hidden;
  background: #161616;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 30px 60px rgba(0,0,0,0.55);
}

.brandee-proof-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(1) contrast(1.05) brightness(0.85);
  transition: filter 0.5s ease, transform 0.6s ease;
}

.brandee-proof-noimg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Arial Black, Arial, sans-serif;
  font-weight: 900;
  font-size: 4rem;
  color: rgba(255,255,255,0.18);
  background: linear-gradient(160deg, #1c1c1c, #0c0c0c);
}

/* dim, de-saturate, and shrink everything not actively focused/hovered */
.brandee-proof-card.is-dim .brandee-proof-card-inner {
  filter: brightness(0.55);
}

/* the centered "focused" card sits frontmost, full size, still B/W until hover */
.brandee-proof-card.is-center {
  z-index: 5;
}

/* hover (or focused+touched on mobile) reveals colour + overlay + grows slightly */
.brandee-proof-card:hover img,
.brandee-proof-card.is-active img {
  filter: grayscale(0) contrast(1) brightness(1);
  transform: scale(1.04);
}
.brandee-proof-card:hover,
.brandee-proof-card.is-active {
  z-index: 20 !important;
}
.brandee-proof-card:hover .brandee-proof-card-inner,
.brandee-proof-card.is-active .brandee-proof-card-inner {
  box-shadow: 0 10px 50px rgba(255,255,255,0.12), 0 30px 70px rgba(0,0,0,0.6);
}

.brandee-proof-overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 22px 20px 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.55) 55%, transparent 100%);
  transform: translateY(12px);
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.brandee-proof-card:hover .brandee-proof-overlay,
.brandee-proof-card.is-active .brandee-proof-overlay {
  opacity: 1;
  transform: translateY(0);
}

.brandee-proof-category {
  display: block;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(243,243,240,0.55);
  margin-bottom: 6px;
}
.brandee-proof-client {
  font-family: Arial Black, Arial, sans-serif;
  font-weight: 900;
  font-size: 1.2rem;
  margin: 0 0 8px;
  color: #fff;
  text-transform: uppercase;
  line-height: 1.15;
}
.brandee-proof-desc {
  font-size: 0.82rem;
  line-height: 1.4;
  color: rgba(243,243,240,0.7);
  margin: 0 0 10px;
}
.brandee-proof-link {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding-bottom: 2px;
}
.brandee-proof-link:hover { border-color: #fff; }

/* ---------------- nav controls ---------------- */
.brandee-proof-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 46px;
}
.brandee-proof-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  background: transparent;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}
.brandee-proof-arrow:hover {
  background: #fff;
  color: #0a0a0a;
  border-color: #fff;
  transform: scale(1.06);
}
.brandee-proof-dots {
  display: flex;
  gap: 8px;
}
.brandee-proof-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  transition: all 0.3s ease;
}
.brandee-proof-dots span.active {
  background: #fff;
  width: 22px;
  border-radius: 4px;
}

/* ---------------- responsive ---------------- */
@media (max-width: 900px) {
  .brandee-proof-stage { height: 400px; perspective: 1000px; }
  .brandee-proof-card { width: 220px; height: 310px; margin-left: -110px; margin-top: -155px; }
}

@media (max-width: 600px) {
  .brandee-proof { padding: 80px 16px 70px; }
  .brandee-proof-stage { height: 360px; perspective: 800px; }
  .brandee-proof-card { width: 190px; height: 270px; margin-left: -95px; margin-top: -135px; }
  .brandee-proof-overlay { padding: 16px 14px 18px; }
  /* On small screens the 3D depth effect is hard to use with touch, so the
     JS simplifies this to a horizontal swipe (handled in frontend.js) and
     this just ensures cards still look right at swipe-card sizing. */
}

@media (prefers-reduced-motion: reduce) {
  .brandee-proof-card { transition: none; }
}

/* ================================================================
 * THE MAKERS — team carousel styles
 * ================================================================ */
  .brandee-makers {
    position: relative;
    background: #060606;
    color: #f3f3f0;
    padding: 110px 0 120px;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    border-top: 1px solid rgba(255,255,255,0.06);
    overflow: hidden;
  }
  .brandee-makers * { box-sizing: border-box; }

  .brandee-makers-head {
    text-align: center;
    margin: 0 auto 60px;
    padding: 0 20px;
  }
  .brandee-makers-kicker {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: rgba(243,243,240,0.45);
    margin-bottom: 18px;
  }
  .brandee-makers-title {
    font-family: Arial Black, Arial, sans-serif;
    font-weight: 900;
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    letter-spacing: -0.01em;
    text-transform: uppercase;
    margin: 0;
    color: #f3f3f0;
  }
  .brandee-makers-title span {
    position: relative;
    display: inline-block;
  }
  .brandee-makers-title span::after {
    content: attr(data-text);
    position: absolute;
    left: 4px;
    top: 4px;
    z-index: -1;
    color: rgba(243,243,240,0.18);
  }

  .brandee-makers-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 50px;
    align-items: center;
    padding: 0 20px;
  }

  .brandee-makers-strip-wrap {
    position: relative;
    overflow: hidden;
    height: 360px;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  }

  .brandee-makers-strip {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    display: flex;
    gap: 16px;
    will-change: transform;
  }

  .brandee-makers-photo {
    position: relative;
    flex-shrink: 0;
    width: 220px;
    height: 100%;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    background: linear-gradient(160deg, #1c1c1c, #0a0a0a);
    border: 1px solid rgba(255,255,255,0.06);
    transition: transform 0.4s ease, border-color 0.4s ease;
  }
  .brandee-makers-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) brightness(0.8);
    transition: filter 0.5s ease, transform 0.5s ease;
  }
  .brandee-makers-photo-ph {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Arial Black, Arial, sans-serif;
    font-weight: 900;
    font-size: 2.4rem;
    color: rgba(255,255,255,0.15);
  }

  .brandee-makers-photo:hover,
  .brandee-makers-photo.is-active {
    border-color: rgba(255,255,255,0.3);
    transform: translateY(-4px);
  }
  .brandee-makers-photo:hover img,
  .brandee-makers-photo.is-active img {
    filter: grayscale(0) brightness(1);
    transform: scale(1.05);
  }

  .brandee-makers-panel {
    background: #0e0e0e;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 40px;
    min-height: 220px;
    transition: border-color 0.4s ease;
  }
  .brandee-makers-panel-name {
    font-family: Arial Black, Arial, sans-serif;
    font-weight: 900;
    font-size: 1.5rem;
    text-transform: uppercase;
    margin: 0 0 16px;
    color: #fff;
    transition: opacity 0.3s ease;
  }
  .brandee-makers-panel-line {
    font-size: 0.96rem;
    line-height: 1.65;
    color: rgba(243,243,240,0.7);
    margin: 0 0 22px;
    transition: opacity 0.3s ease;
  }
  .brandee-makers-panel-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .brandee-makers-panel-tags span {
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(243,243,240,0.6);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 20px;
    padding: 5px 14px;
  }

  @media (max-width: 900px) {
    .brandee-makers-inner { grid-template-columns: 1fr; gap: 40px; }
    .brandee-makers-strip-wrap { height: 280px; }
    .brandee-makers-photo { width: 170px; }
  }
  @media (max-width: 600px) {
    .brandee-makers { padding: 80px 0 90px; }
    .brandee-makers-strip-wrap { height: 220px; }
    .brandee-makers-photo { width: 140px; }
    .brandee-makers-panel { padding: 28px; }
  }

  @media (prefers-reduced-motion: reduce) {
    .brandee-makers-strip { animation: none !important; }
  }

.brandee-makers-empty {
  text-align: center;
  padding: 40px 20px;
  color: rgba(243,243,240,0.5);
  font-size: 0.95rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ================================================================
 * BRANDS IN THE LAB — client logo wall styles
 * ================================================================ */
.brandee-clients {
  position: relative;
  background: #050505;
  color: #f3f3f0;
  padding: 100px 20px 110px;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}
.brandee-clients * { box-sizing: border-box; }

.brandee-clients-head {
  max-width: 640px;
  margin: 0 auto 56px;
}
.brandee-clients-kicker {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(243,243,240,0.45);
  margin-bottom: 18px;
}
.brandee-clients-title {
  font-family: Arial Black, Arial, sans-serif;
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0 0 16px;
  color: #f3f3f0;
}
.brandee-clients-title span {
  position: relative;
  display: inline-block;
}
.brandee-clients-title span::after {
  content: attr(data-text);
  position: absolute;
  left: 3px;
  top: 3px;
  z-index: -1;
  color: rgba(243,243,240,0.18);
}
.brandee-clients-sub {
  font-size: 0.95rem;
  color: rgba(243,243,240,0.55);
  margin: 0;
}

.brandee-clients-empty {
  text-align: center;
  padding: 40px 20px;
  color: rgba(243,243,240,0.5);
  font-size: 0.95rem;
}

.brandee-clients-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.06);
}
.brandee-clients-item {
  background: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 34px 20px;
  min-height: 110px;
  transition: background 0.3s ease;
}
.brandee-clients-item:hover {
  background: #131313;
}
.brandee-clients-item img {
  max-width: 100%;
  max-height: 56px;
  filter: grayscale(1) brightness(1.3) contrast(0.9);
  opacity: 0.7;
  transition: filter 0.45s ease, opacity 0.45s ease, transform 0.45s ease;
}
.brandee-clients-item:hover img {
  filter: grayscale(0) brightness(1) contrast(1);
  opacity: 1;
  transform: scale(1.06);
}
.brandee-clients-fallback {
  font-family: Arial Black, Arial, sans-serif;
  font-weight: 900;
  font-size: 0.95rem;
  text-transform: uppercase;
  color: rgba(243,243,240,0.4);
  letter-spacing: 0.02em;
  transition: color 0.4s ease;
}
.brandee-clients-item:hover .brandee-clients-fallback {
  color: #fff;
}

@media (max-width: 900px) {
  .brandee-clients-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .brandee-clients { padding: 70px 16px 80px; }
  .brandee-clients-grid { grid-template-columns: repeat(2, 1fr); }
  .brandee-clients-item { padding: 26px 14px; min-height: 90px; }
}
