.elementor-widget-blu_cafe_intro,
.elementor-widget-blu_cafe_intro > .elementor-widget-container {
  width: 100%;
}

.blu-intro {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-height: 100svh;
  overflow: hidden;
  gap: 0;
  padding: clamp(116px, 15vh, 160px) 24px clamp(54px, 8vh, 90px);
  background:
    radial-gradient(circle at 34% 42%, rgba(81, 165, 217, 0.18), transparent 34%),
    radial-gradient(circle at 68% 46%, rgba(242, 1, 3, 0.14), transparent 34%),
    radial-gradient(circle at 50% 88%, rgba(26, 111, 255, 0.08), transparent 30%),
    linear-gradient(135deg, #03060c 0%, #06162b 50%, #100307 100%);
}

.blu-intro::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  content: "";
  opacity: 0.3;
  background-image:
    linear-gradient(rgba(73, 180, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 61, 84, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58, 169, 255, 0.016) 50%, transparent 50%),
    linear-gradient(rgba(255, 58, 81, 0.014) 50%, transparent 50%);
  background-size: 112px 112px, 112px 112px, 224px 224px, 224px 224px;
}

.blu-intro-atmosphere {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  width: min(92vw, 1100px);
  aspect-ratio: 1.45;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  opacity: 0;
  background:
    radial-gradient(circle at 40% 50%, rgba(81, 165, 217, 0.24), transparent 52%),
    radial-gradient(circle at 62% 52%, rgba(242, 1, 3, 0.2), transparent 54%);
  animation: blu-atmosphere-in 0.4s 0.5s ease-out forwards;
}

.blu-brand-reveal {
  position: relative;
  flex: 0 0 auto;
  width: clamp(250px, 22.5vw, 425px);
  aspect-ratio: 1;
  perspective: 900px;
  transform-style: preserve-3d;
}

.blu-brand-home-link {
  display: block;
  flex: 0 0 auto;
  width: fit-content;
  line-height: 0;
  text-decoration: none;
  transform: translate3d(0, 0, 0) scale(1);
  transform-origin: center;
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.blu-brand-home-link:focus-visible {
  border-radius: 12px;
  outline: 2px solid rgba(255, 255, 255, 0.94);
  outline-offset: 8px;
}

.blu-intro-orbit,
.blu-intro-logo,
.blu-intro-logo-fragment,
.blu-intro-flash {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.blu-intro-orbit {
  overflow: visible;
  transform-box: fill-box;
  transform-origin: center;
  backface-visibility: hidden;
  will-change: transform, opacity;
  animation: blu-orbit-build-rise-collapse 1.24s linear both;
}

.blu-orbit-line {
  fill: none;
  stroke: url(#blu-brand-gradient);
  stroke-linecap: round;
}

.blu-orbit-line--soft {
  stroke-width: 8;
  opacity: 0.14;
  stroke-dasharray: 974;
  stroke-dashoffset: 974;
  animation: blu-draw-circle 0.76s 0.04s cubic-bezier(0.24, 0.72, 0.24, 1) forwards;
}

.blu-orbit-line--bright {
  stroke-width: 2.6;
  stroke-dasharray: 1044;
  stroke-dashoffset: 1044;
  animation: blu-draw-circle 0.8s 0.04s cubic-bezier(0.24, 0.72, 0.24, 1) forwards;
}

.blu-orbit-ticks {
  fill: none;
  stroke: var(--blu-accent);
  stroke-width: 9;
  stroke-dasharray: 2 34.6;
  stroke-linecap: square;
  opacity: 0;
  transform-origin: center;
  animation: blu-ticks-in 0.4s 0.2s cubic-bezier(0.2, 0.72, 0.24, 1) forwards;
}

.blu-intro-flash {
  z-index: 1;
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.12);
  will-change: transform, opacity;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(130, 197, 235, 0.68) 18%,
    rgba(8, 124, 255, 0.42) 36%,
    rgba(242, 1, 3, 0.28) 54%,
    transparent 74%
  );
  animation: blu-logo-backlight 0.42s 1.18s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.blu-intro-logo,
.blu-intro-logo-fragment {
  z-index: 2;
  display: block;
  object-fit: contain;
  object-position: 50% 50%;
  transform-origin: 50% 50%;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform, opacity;
}

.blu-intro-logo-fragment {
  display: none;
  opacity: 0;
  pointer-events: none;
}

.blu-intro-logo-fragment--blue {
  animation: none;
}

.blu-intro-logo-fragment--red {
  animation: none;
}

.blu-intro-logo {
  z-index: 3;
  opacity: 0;
  transform: translate3d(0, 0, 0) scale(0.06);
  animation: blu-logo-light-pop 0.32s 1.24s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  body:not(.elementor-editor-active) .blu-brand-home-link:is(:hover, :focus-visible) {
    transform: translate3d(0, -3px, 0) scale(1.045);
  }

  body:not(.elementor-editor-active) .blu-brand-home-link .blu-intro-logo-fragment--blue {
    z-index: 4;
    display: block;
    opacity: 0;
    pointer-events: none;
    filter:
      brightness(3.2)
      saturate(0.55)
      drop-shadow(0 0 9px rgba(130, 197, 235, 0.95));
    -webkit-clip-path: polygon(-38% -10%, -14% -10%, -49% 110%, -73% 110%);
    clip-path: polygon(-38% -10%, -14% -10%, -49% 110%, -73% 110%);
  }

  body:not(.elementor-editor-active) .blu-brand-home-link:is(:hover, :focus-visible) .blu-intro-logo-fragment--blue {
    animation: blu-logo-hover-sweep 0.46s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }
}

.blu-intro-copy {
  position: relative;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  flex-direction: column;
  width: min(calc(100vw - 32px), 1180px);
  margin-top: clamp(23px, calc(2vh + 7px), 31px);
  text-align: center;
}

.blu-intro h1 {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  column-gap: 0.22em;
  width: 100%;
  margin: 0;
  color: var(--blu-paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 4.1vw, 72px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.98;
  text-shadow: -8px 0 32px rgba(81, 165, 217, 0.14), 8px 0 32px rgba(242, 1, 3, 0.11);
  white-space: nowrap;
}

.blu-intro h1 span {
  display: inline-block;
  opacity: 0;
  transform: translateY(18px);
  animation: blu-word-rise 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.blu-intro h1 span:not(:last-child) {
  margin-right: 0;
}

.blu-intro h1 span:nth-child(1) { animation-delay: 1.94s; }
.blu-intro h1 span:nth-child(2) { animation-delay: 1.98s; }
.blu-intro h1 span:nth-child(3) { animation-delay: 2.02s; }
.blu-intro h1 span:nth-child(4) { animation-delay: 2.06s; }

.blu-intro h1 span.is-accent {
  position: relative;
  z-index: 0;
  isolation: isolate;
  color: #fff;
  background: none !important;
  -webkit-text-fill-color: #fff;
  text-shadow: none;
}

.blu-intro h1 span.is-accent::before,
.blu-intro h1 span.is-accent::after {
  position: absolute;
  inset: 0;
  content: attr(data-text);
  font: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  white-space: nowrap;
  pointer-events: none;
}

.blu-intro h1 span.is-accent::before {
  z-index: -1;
  color: var(--blu-accent-text);
  -webkit-text-fill-color: var(--blu-accent-text);
  -webkit-text-stroke: 0.075em var(--blu-accent-text);
  paint-order: stroke fill;
  text-shadow: 0.04em 0 0 var(--blu-accent-red);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .blu-intro h1 span.is-accent::before {
    background-color: transparent;
    background-image: linear-gradient(
      100deg,
      var(--blu-accent-text) 0%,
      var(--blu-accent-text) 30%,
      var(--blu-accent-text) 48%,
      #756dff 62%,
      var(--blu-accent-red) 82%,
      var(--blu-accent-red) 100%
    );
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 0.075em transparent;
    paint-order: stroke fill;
    text-shadow: none;
  }
}

.blu-intro h1 span.is-accent::after {
  z-index: -2;
  color: transparent;
  -webkit-text-fill-color: transparent;
  opacity: 0.78;
  transform: translateY(0.025em);
  text-shadow:
    -0.045em 0.12em 0.13em var(--blu-accent-text),
    0.05em 0.15em 0.17em var(--blu-accent-red),
    0 0.22em 0.3em #414cff;
}

.blu-intro-subtitle {
  width: 100%;
  margin: clamp(17px, 2.2vh, 24px) 0 0;
  opacity: 0;
  transform: translateY(8px);
  color: rgba(220, 241, 255, 0.72);
  font-family: "Courier New", Courier, monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4em;
  line-height: 1.4;
  text-transform: uppercase;
  text-align: center;
  text-indent: 0.4em;
  animation: blu-subtitle-in 0.24s 2.22s ease-out forwards;
}

@keyframes blu-draw-circle { to { stroke-dashoffset: 0; } }

@keyframes blu-ticks-in {
  from { opacity: 0; transform: rotate(-10deg) scale(0.92); }
  to { opacity: 0.82; transform: rotate(0) scale(1); }
}

@keyframes blu-orbit-build-rise-collapse {
  0% {
    opacity: 1;
    transform: translate3d(0, 42px, -64px) rotateX(72deg) rotateY(-16deg) rotateZ(-22deg) scale(0.7);
    animation-timing-function: cubic-bezier(0.22, 0.61, 0.36, 1);
  }
  66% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale(1);
    animation-timing-function: cubic-bezier(0.42, 0, 0.58, 1);
  }
  89% {
    opacity: 1;
    transform: translate3d(0, -34px, 0) rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale(1);
    animation-timing-function: cubic-bezier(0.4, 0, 1, 1);
  }
  100% {
    opacity: 0;
    transform: translate3d(0, -34px, 0) rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale(0.025);
  }
}

@keyframes blu-logo-backlight {
  0% {
    opacity: 0;
    transform: scale(0.12);
  }
  24% {
    opacity: 0.96;
    transform: scale(0.54);
  }
  58% {
    opacity: 0.68;
    transform: scale(1.08);
  }
  100% {
    opacity: 0;
    transform: scale(1.55);
  }
}

@keyframes blu-logo-light-pop {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.06);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes blu-logo-hover-sweep {
  0% {
    opacity: 0;
    -webkit-clip-path: polygon(-38% -10%, -14% -10%, -49% 110%, -73% 110%);
    clip-path: polygon(-38% -10%, -14% -10%, -49% 110%, -73% 110%);
  }
  14% { opacity: 0.94; }
  76% { opacity: 0.94; }
  100% {
    opacity: 0;
    -webkit-clip-path: polygon(173% -10%, 197% -10%, 162% 110%, 138% 110%);
    clip-path: polygon(173% -10%, 197% -10%, 162% 110%, 138% 110%);
  }
}

@keyframes blu-word-rise {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes blu-subtitle-in {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes blu-atmosphere-in { to { opacity: 1; } }

@media (max-width: 760px) {
  .blu-intro {
    padding: 102px 18px 58px;
  }

  .blu-brand-reveal {
    width: clamp(235px, 71vw, 320px);
  }

  .blu-intro-copy {
    width: calc(100vw - 28px);
    margin-top: clamp(17px, calc(2vh + 1px), 25px);
  }

  .blu-intro h1 {
    font-size: clamp(39px, 11vw, 58px);
    line-height: 1.02;
    white-space: normal;
  }

  .blu-intro-subtitle {
    padding-left: 0;
    font-size: 10px;
    letter-spacing: 0.32em;
    text-indent: 0.32em;
  }
}

@media (max-height: 690px) and (min-width: 761px) {
  .blu-brand-reveal {
    width: 290px;
  }

  .blu-intro-copy {
    margin-top: clamp(17px, calc(2vh + 1px), 25px);
  }

  .blu-intro h1 {
    font-size: 54px;
  }
}

.elementor-editor-active .blu-intro-atmosphere,
.elementor-editor-active .blu-intro-logo,
.elementor-editor-active .blu-intro h1 span,
.elementor-editor-active .blu-intro-subtitle {
  opacity: 1;
  transform: none;
  animation: none;
  filter: none;
}

.elementor-editor-active .blu-intro-orbit,
.elementor-editor-active .blu-intro-logo-fragment,
.elementor-editor-active .blu-intro-flash {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .blu-intro *,
  .blu-intro *::before,
  .blu-intro *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
  }

  .blu-intro-atmosphere,
  .blu-intro-logo,
  .blu-intro h1 span,
  .blu-intro-subtitle {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .blu-intro-orbit,
  .blu-intro-logo-fragment,
  .blu-intro-flash {
    display: none;
  }
}
