/* JBD × Boutiq hero. Scoped so theme and Bricks styles cannot restyle it. */

.jbdx-hero,
.jbdx-hero * ,
.jbdx-hero *::before,
.jbdx-hero *::after {
  box-sizing: border-box;
}

.jbdx-hero {
  --jbdx-ac: #17d3c8;
  --jbdx-ac2: #e5248d;
  --jbdx-ink: #f2f0ea;
  --jbdx-muted: #c9c7cf;
  --jbdx-bar: rgba(13, 13, 16, 0.92);
  --jbdx-line: #1f1f25;
  display: flex !important;
  flex-direction: column !important;
  width: auto !important;
  max-width: none !important;
  height: calc(100vh - var(--wp-admin--admin-bar--height, 0px));
  height: calc(100dvh - var(--wp-admin--admin-bar--height, 0px));
  max-height: calc(100vh - var(--wp-admin--admin-bar--height, 0px));
  max-height: calc(100dvh - var(--wp-admin--admin-bar--height, 0px));
  overflow: hidden;
  margin-top: 0;
  margin-bottom: 0;
  margin-left: calc(var(--jbdx-bleed-left, 0px) * -1);
  margin-right: calc(var(--jbdx-bleed-right, 0px) * -1);
  background: #0d0d10;
  color: var(--jbdx-ink);
  font-family: Figtree, system-ui, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  text-align: left;
  text-transform: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  isolation: isolate;
}

.jbdx-hero h1,
.jbdx-hero p,
.jbdx-hero header,
.jbdx-hero section {
  float: none;
}

.jbdx-hero img {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  vertical-align: top;
}

.jbdx-hero > header.jbdx-hero__bar {
  flex: 0 0 auto !important;
  align-self: stretch;
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex !important;
  align-items: center !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  line-height: 1 !important;
  background: var(--jbdx-bar) !important;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--jbdx-line) !important;
}

.jbdx-hero__bar-inner {
  width: 100%;
  max-width: 1192px;
  height: auto !important;
  max-height: none !important;
  margin: 0 auto !important;
  padding-top: 15px !important;
  padding-bottom: 15px !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  min-height: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px;
  line-height: 1 !important;
}

.jbdx-hero__logo {
  display: block;
  height: 52px !important;
  width: auto !important;
  max-width: min(58vw, 380px);
  margin: 0 !important;
  object-fit: contain;
  object-position: center center;
  flex: 0 1 auto;
  align-self: center !important;
}

.jbdx-hero__soon {
  margin: 0 !important;
  padding: 0 !important;
  font-family: Silkscreen, "Courier New", monospace !important;
  font-weight: 700 !important;
  font-size: 20px !important;
  line-height: 1 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: var(--jbdx-ac) !important;
  white-space: nowrap;
  flex: 0 0 auto;
  align-self: center !important;
}

.jbdx-hero__stage {
  flex: 1 1 auto;
  min-height: 0;
  margin-top: 0 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background-color: #0d0d0f !important;
  background-image: var(--jbdx-pattern) !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: cover !important;
}

.jbdx-hero__stage-inner {
  width: 100%;
  max-width: 1192px;
  margin: 0 auto !important;
  padding: clamp(24px, 3vh, 48px) 24px !important;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
  gap: 56px;
  align-items: center;
}

.jbdx-hero__copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
}

.jbdx-hero__eyebrow {
  margin: 0 !important;
  font-family: Silkscreen, "Courier New", monospace !important;
  font-weight: 400 !important;
  font-size: 11px !important;
  line-height: 1.4 !important;
  letter-spacing: 0.3em !important;
  text-transform: uppercase !important;
  color: var(--jbdx-ac) !important;
}

.jbdx-hero__title {
  margin: 0 !important;
  padding: 0 !important;
  font-family: Outfit, "Arial Black", Impact, sans-serif !important;
  font-weight: 900 !important;
  font-size: clamp(48px, 6.4vw, 76px) !important;
  line-height: 0.92 !important;
  letter-spacing: -0.02em !important;
  text-transform: uppercase !important;
  color: var(--jbdx-ink) !important;
  text-shadow: -2px 0 0 var(--jbdx-ac2), 3px 3px 0 var(--jbdx-ac) !important;
}

.jbdx-hero__lede {
  margin: 0 !important;
  padding: 0 !important;
  font-family: Figtree, system-ui, sans-serif !important;
  font-weight: 400 !important;
  font-size: 17px !important;
  line-height: 1.6 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: var(--jbdx-muted) !important;
  max-width: 540px !important;
  text-wrap: pretty;
}

.jbdx-hero__lede strong {
  color: var(--jbdx-ink) !important;
  font-weight: 600 !important;
}

.jbdx-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid #26262d !important;
  border-radius: 10px;
  background: rgba(22, 22, 27, 0.8) !important;
  max-width: 556px !important;
  overflow: hidden;
}

.jbdx-hero__stat {
  margin: 0;
  padding: 14px 16px !important;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-left: 1px solid #26262d !important;
  min-width: 0;
  background: transparent !important;
}

.jbdx-hero__stat:first-child {
  border-left: 0 !important;
}

.jbdx-hero__stat-value {
  font-family: Silkscreen, "Courier New", monospace !important;
  font-weight: 700 !important;
  font-size: 22px !important;
  line-height: 1 !important;
  letter-spacing: 0.04em !important;
  text-transform: none !important;
  color: var(--jbdx-ac) !important;
}

.jbdx-hero__stat-label {
  font-family: Figtree, system-ui, sans-serif !important;
  font-weight: 400 !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: #9a98a3 !important;
}

.jbdx-hero__visual {
  display: flex;
  justify-content: flex-end;
  min-width: 0;
}

.jbdx-hero__frame {
  width: min(100%, 528px, calc(100vh - 230px));
  width: min(100%, 528px, calc(100dvh - 230px));
  max-width: 528px;
  aspect-ratio: 1 / 1;
  background: #fff !important;
  box-shadow: 12px 12px 0 var(--jbdx-ac) !important;
  overflow: hidden;
}

.jbdx-hero__frame img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  display: block;
}

.jbdx-hero__marquee {
  flex: 0 0 auto;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: block;
  background: var(--jbdx-ac) !important;
  overflow: hidden;
  padding: 14px 0 !important;
  white-space: nowrap;
  position: relative;
}

.jbdx-hero__track {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  min-width: 100%;
  animation: jbdx-hero-marquee 40s linear infinite;
  -webkit-animation: jbdx-hero-marquee 40s linear infinite;
}

.jbdx-hero__group {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  align-items: center;
  width: max-content;
  min-width: 100vw;
  white-space: nowrap;
}

.jbdx-hero__item {
  font-family: Silkscreen, "Courier New", monospace !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  line-height: 1 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: #0d0d10 !important;
  padding: 0 22px !important;
  white-space: nowrap !important;
  flex: 0 0 auto;
}

.jbdx-hero__x {
  display: inline-block;
  padding-left: 44px;
  font-weight: 700;
}

@-webkit-keyframes jbdx-hero-marquee {
  from { -webkit-transform: translate3d(0, 0, 0); }
  to { -webkit-transform: translate3d(-50%, 0, 0); }
}

@keyframes jbdx-hero-marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@media (max-width: 720px) {
  .jbdx-hero__bar-inner {
    gap: 12px;
    padding-top: 15px !important;
    padding-bottom: 15px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .jbdx-hero__eyebrow-brand {
    display: none !important;
  }

  .jbdx-hero__logo {
    height: auto !important;
    max-height: 40px !important;
    max-width: 48vw !important;
  }

  .jbdx-hero__soon {
    font-size: 15px !important;
    letter-spacing: 0.06em !important;
  }

  .jbdx-hero__eyebrow {
    display: block !important;
    padding-top: 14px !important;
    margin-top: 0 !important;
  }

  .jbdx-hero__stage-inner {
    height: 100%;
    padding: 22px 16px 40px !important;
    gap: 16px;
    grid-template-rows: auto minmax(0, 1fr);
    align-items: center;
  }

  .jbdx-hero__visual {
    height: 100%;
    min-height: 0;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 8px;
  }

  .jbdx-hero__copy {
    gap: 12px;
  }

  .jbdx-hero__title {
    font-size: clamp(34px, 9vw, 48px) !important;
  }

  .jbdx-hero__lede {
    font-size: 14px !important;
    line-height: 1.45 !important;
  }

  .jbdx-hero__frame {
    width: auto;
    height: min(100%, 78vw, 320px);
    max-width: 100%;
    margin-inline: auto;
  }

  .jbdx-hero__stat {
    padding: 12px 10px !important;
  }

  .jbdx-hero__stat-value {
    font-size: 20px !important;
  }

  .jbdx-hero__stat-label {
    font-size: 13px !important;
  }

  .jbdx-hero__frame {
    box-shadow: 8px 8px 0 var(--jbdx-ac) !important;
  }
}

