.rbhs-slider {
  --rbhs-accent: #ff7300;
  --rbhs-ink: #090909;
  --rbhs-muted: #454545;
  --rbhs-min-height: 720px;
  --rbhs-delay: 5000ms;
  --rbhs-speed: 650ms;
  position: relative;
  width: 100%;
  min-width: 0;
  min-height: var(--rbhs-min-height);
  overflow: hidden;
  isolation: isolate;
  color: var(--rbhs-ink);
  background:
    radial-gradient(circle at 88% 18%, color-mix(in srgb, var(--rbhs-accent) 8%, transparent), transparent 28%),
    linear-gradient(105deg, #fff 0%, #fffaf7 100%);
  touch-action: pan-y;
}

.rbhs-slider *,
.rbhs-slider *::before,
.rbhs-slider *::after {
  box-sizing: border-box;
}

.rbhs-slider:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--rbhs-accent) 45%, transparent);
  outline-offset: -3px;
}

.rbhs-corner {
  position: absolute;
  z-index: -1;
  top: -170px;
  left: -150px;
  width: 410px;
  aspect-ratio: 1;
  border-radius: 47% 53% 55% 45% / 58% 43% 57% 42%;
  background: linear-gradient(145deg, #ff6500, #ffa126);
  transform: rotate(-18deg);
  box-shadow: 42px 46px 0 2px #ffe4d2, 82px 75px 0 3px #fff0e7;
  pointer-events: none;
}

.rbhs-dot-grid {
  position: absolute;
  z-index: 3;
  top: 24px;
  right: 24px;
  width: 58px;
  height: 80px;
  opacity: .9;
  background-image: radial-gradient(circle, var(--rbhs-accent) 2.6px, transparent 3px);
  background-size: 20px 22px;
  pointer-events: none;
}

.rbhs-slides {
  position: relative;
  width: 100%;
  min-height: var(--rbhs-min-height);
}

.rbhs-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(4%, 0, 0);
  transition:
    opacity var(--rbhs-speed) ease,
    transform var(--rbhs-speed) cubic-bezier(.2,.8,.2,1),
    visibility 0s linear var(--rbhs-speed);
  pointer-events: none;
}

.rbhs-slide.is-active {
  z-index: 2;
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, 0, 0);
  transition-delay: 0s;
  pointer-events: auto;
}

.rbhs-shell {
  width: calc(100% - 48px);
  max-width: 1240px;
  min-height: var(--rbhs-min-height);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(440px, 1.08fr);
  align-items: center;
  column-gap: 64px;
  padding: 82px 0 96px;
}

.rbhs-copy {
  position: relative;
  z-index: 4;
  min-width: 0;
  max-width: 640px;
}

.rbhs-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #df5d00;
}

.rbhs-eyebrow::before {
  content: "";
  width: 30px;
  height: 3px;
  border-radius: 99px;
  background: var(--rbhs-accent);
}

.rbhs-title {
  margin: 0;
  max-width: 690px;
  font-size: clamp(2.65rem, 4.3vw, 4.65rem);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.rbhs-description {
  max-width: 600px;
  margin: 25px 0 31px;
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.55;
  color: var(--rbhs-muted);
  text-wrap: pretty;
}

.rbhs-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.rbhs-primary-button,
.rbhs-secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 7px;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .085em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, color 180ms ease, background-color 180ms ease;
}

.rbhs-primary-button {
  padding: 0 27px;
  color: #fff;
  background: var(--rbhs-accent);
  box-shadow: 0 12px 28px color-mix(in srgb, var(--rbhs-accent) 28%, transparent);
}

.rbhs-primary-button:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 36px color-mix(in srgb, var(--rbhs-accent) 36%, transparent);
}

.rbhs-secondary-link {
  padding: 0 8px;
  color: #252525;
  gap: 8px;
}

.rbhs-secondary-link:hover {
  color: var(--rbhs-accent);
}

.rbhs-secondary-link span {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  color: #fff;
  background: #1d1d1d;
}

.rbhs-primary-button:focus-visible,
.rbhs-secondary-link:focus-visible,
.rbhs-arrow:focus-visible,
.rbhs-dot:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--rbhs-accent) 42%, transparent);
  outline-offset: 4px;
}

.rbhs-visual {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  min-width: 0;
}

.rbhs-visual-frame {
  position: relative;
  width: min(100%, 690px);
  border-radius: 30px;
  filter: drop-shadow(0 28px 35px rgba(73, 38, 12, .12));
  transform: translateY(8px);
}

.rbhs-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 30px;
  user-select: none;
  -webkit-user-drag: none;
}

.rbhs-floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 155px;
  padding: 12px 15px;
  border: 1px solid color-mix(in srgb, var(--rbhs-accent) 16%, transparent);
  border-radius: 16px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 15px 35px rgba(72,34,6,.13);
  backdrop-filter: blur(12px);
  animation: rbhs-float 4.5s ease-in-out infinite;
  pointer-events: none;
}

.rbhs-floating-card strong,
.rbhs-floating-card small {
  display: block;
}

.rbhs-floating-card strong {
  font-size: .87rem;
}

.rbhs-floating-card small {
  margin-top: 2px;
  color: #707070;
  font-size: .72rem;
}

.rbhs-card-icon {
  display: grid;
  place-items: center;
  flex: 0 0 37px;
  width: 37px;
  height: 37px;
  border-radius: 12px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, #ffa000, var(--rbhs-accent));
}

.rbhs-card-one {
  left: -18px;
  bottom: 15%;
}

.rbhs-card-two {
  right: -12px;
  top: 17%;
  animation-delay: -1.8s;
}

.rbhs-metric {
  position: absolute;
  right: 3%;
  bottom: 12%;
  padding: 12px 17px;
  border-radius: 999px;
  color: #fff;
  font-weight: 900;
  letter-spacing: -.02em;
  background: #161616;
  box-shadow: 0 24px 70px rgba(90,42,7,.15);
  animation: rbhs-float 4.8s ease-in-out infinite;
  animation-delay: -.8s;
  pointer-events: none;
}

@keyframes rbhs-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.rbhs-controls {
  position: absolute;
  z-index: 30;
  left: 50%;
  bottom: 29px;
  display: flex;
  align-items: center;
  gap: 13px;
  transform: translateX(-50%);
  pointer-events: auto;
}

.rbhs-arrow {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(0,0,0,.11);
  border-radius: 50%;
  color: #222;
  background-color: rgba(255,255,255,.94);
  cursor: pointer;
  transition: transform 180ms ease, color 180ms ease, background-color 180ms ease, border-color 180ms ease, opacity 180ms ease;
  backdrop-filter: blur(10px);
  pointer-events: auto;
  touch-action: manipulation;
  appearance: none;
  -webkit-appearance: none;
}

.rbhs-arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.rbhs-arrow:hover:not(:disabled) {
  color: #fff;
  border-color: var(--rbhs-accent);
  background-color: var(--rbhs-accent);
  transform: translateY(-2px);
}

.rbhs-arrow:disabled {
  opacity: .35;
  cursor: not-allowed;
}

.rbhs-dots {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(10px);
  pointer-events: auto;
}

.rbhs-dot {
  position: relative;
  z-index: 2;
  width: 12px;
  height: 12px;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background-color: #b9b9b9;
  cursor: pointer;
  overflow: hidden;
  transition: width 220ms ease, transform 180ms ease;
  pointer-events: auto;
  touch-action: manipulation;
  appearance: none;
  -webkit-appearance: none;
}

.rbhs-dot:hover {
  transform: scale(1.12);
}

.rbhs-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--rbhs-accent);
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}

.rbhs-dot.is-active {
  width: 35px;
  background-color: #dadada;
}

.rbhs-slider.is-playing .rbhs-dot.is-active::after {
  animation: rbhs-progress var(--rbhs-delay) linear forwards;
}

.rbhs-slider:not(.is-playing) .rbhs-dot.is-active::after {
  transform: scaleX(1);
}

@keyframes rbhs-progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.rbhs-wave {
  position: absolute;
  z-index: 1;
  left: 0;
  bottom: 0;
  width: min(690px, 45vw);
  height: 180px;
  color: var(--rbhs-accent);
  opacity: .55;
  pointer-events: none;
}

.rbhs-screen-reader {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 1050px) {
  .rbhs-shell {
    grid-template-columns: minmax(0,.95fr) minmax(380px,1.05fr);
    column-gap: 30px;
  }

  .rbhs-title {
    font-size: clamp(2.55rem,5.5vw,4rem);
  }
}

@media (max-width: 840px) {
  .rbhs-slider,
  .rbhs-slides,
  .rbhs-shell {
    min-height: var(--rbhs-min-height);
  }

  .rbhs-corner {
    width: 330px;
    top: -170px;
    left: -165px;
  }

  .rbhs-shell {
    width: min(720px,calc(100% - 36px));
    grid-template-columns: 1fr;
    align-content: center;
    gap: 30px;
    padding: 96px 0 116px;
  }

  .rbhs-copy {
    max-width: 680px;
    text-align: center;
    margin-inline: auto;
  }

  .rbhs-eyebrow,
  .rbhs-actions {
    justify-content: center;
  }

  .rbhs-description {
    margin-inline: auto;
  }

  .rbhs-visual-frame {
    width: min(100%,620px);
  }

  .rbhs-wave {
    width: 70vw;
  }
}

@media (max-width: 560px) {
  .rbhs-shell {
    width: min(calc(100% - 24px),520px);
    padding: 88px 0 108px;
  }

  .rbhs-dot-grid {
    top: 16px;
    right: 10px;
    transform: scale(.78);
  }

  .rbhs-eyebrow {
    margin-bottom: 13px;
    font-size: .7rem;
  }

  .rbhs-title {
    font-size: clamp(2.2rem,11.5vw,3.25rem);
    line-height: 1.01;
  }

  .rbhs-description {
    margin: 20px auto 25px;
    font-size: .98rem;
  }

  .rbhs-actions {
    gap: 8px;
  }

  .rbhs-primary-button {
    width: min(100%,310px);
  }

  .rbhs-secondary-link {
    min-height: 44px;
  }

  .rbhs-visual {
    margin-inline: -5px;
  }

  .rbhs-visual-frame,
  .rbhs-image {
    border-radius: 20px;
  }

  .rbhs-floating-card {
    min-width: 0;
    max-width: 145px;
    padding: 8px 10px;
    border-radius: 12px;
  }

  .rbhs-floating-card strong { font-size: .74rem; }
  .rbhs-floating-card small { font-size: .62rem; }

  .rbhs-card-icon {
    flex-basis: 31px;
    width: 31px;
    height: 31px;
    border-radius: 9px;
  }

  .rbhs-card-one { left: 0; bottom: 5%; }
  .rbhs-card-two { right: 0; top: 8%; }

  .rbhs-metric {
    right: 4%;
    bottom: 4%;
    padding: 8px 12px;
    font-size: .75rem;
  }

  .rbhs-controls {
    bottom: 22px;
    gap: 8px;
  }

  .rbhs-arrow {
    width: 38px;
    height: 38px;
  }

  .rbhs-dots {
    gap: 7px;
    padding: 9px 10px;
  }

  .rbhs-dot {
    width: 10px;
    height: 10px;
  }

  .rbhs-dot.is-active { width: 28px; }
}

@media (max-width: 390px) {
  .rbhs-secondary-link { width: 100%; }
  .rbhs-card-two { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .rbhs-slider *,
  .rbhs-slider *::before,
  .rbhs-slider *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
