dspm-family-banner {
  --fb-ink: #0a1e30;
  --fb-top: clamp(64px, 7.5vw, 135px);
  --fb-bottom: clamp(70px, 8vw, 144px);
  --fb-ramp: #000 0 3px, rgb(0 0 0 / .98) 10%, rgb(0 0 0 / .9) 22%, rgb(0 0 0 / .72) 36%,
    rgb(0 0 0 / .5) 50%, rgb(0 0 0 / .28) 64%, rgb(0 0 0 / .1) 78%, rgb(0 0 0 / .02) 90%, transparent;
  position: relative;
  display: block;
  isolation: isolate;
  overflow: clip;
  padding-block: var(--fb-top) var(--fb-bottom);
  background: var(--fb-ink);
  color: #fff;
  touch-action: pan-y pinch-zoom;
}
/* Fixed fades sit outside the copy, controls, and cabinet on every slide. */
dspm-family-banner::before, dspm-family-banner::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset-inline: 0;
  pointer-events: none;
}
dspm-family-banner::before {
  top: 0;
  height: var(--fb-top);
  background: var(--hf-paper, #fff);
  mask-image: linear-gradient(to bottom, var(--fb-ramp));
}
dspm-family-banner::after {
  bottom: 0;
  height: var(--fb-bottom);
  background: var(--hm-env-surface);
  mask-image: linear-gradient(to top, var(--fb-ramp));
}
.fb-scenery, .fb-scene, .fb-scenery::after { position: absolute; inset: 0; pointer-events: none; }
.fb-scenery { z-index: -1; }
.fb-scene { display: block; opacity: 0; transition: opacity 600ms ease-in-out; }
.fb-scene[data-current] { opacity: 1; }
.fb-scene img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
.fb-scenery::after {
  content: "";
  background: linear-gradient(90deg, rgb(3 19 34 / .92), rgb(3 21 37 / .84) 28%, rgb(5 22 36 / .36) 47%, transparent 65%),
    linear-gradient(0deg, rgb(6 23 37 / .46), transparent 34%);
}
.fb-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  align-content: center;
  margin-inline: var(--hf-pad, var(--hm-pad));
  min-height: clamp(325px, 27.4vw, 484px);
  padding-block: 16px;
}
.fb-copy { display: grid; grid-area: 1 / 1; align-self: center; }
.fb-slide { grid-area: 1 / 1; align-self: center; min-width: 0; }
.fb-slide[inert] { visibility: hidden; }
.fb-type { display: flex; align-items: center; gap: 12px; color: #d5e8fc; font-size: clamp(.82rem, .95vw, 1rem); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.fb-type::before { content: ""; width: 30px; height: 3px; flex: none; background: #79b4ff; }
.fb-slide h2 { margin: 17px 0 13px; color: #fff; font-size: clamp(2.7rem, 4.7vw, 5.25rem); line-height: 1.01; letter-spacing: -.045em; }
.fb-description { max-width: 40ch; color: #e4eff9; font-size: clamp(1.03rem, 1.42vw, 1.5rem); line-height: 1.45; text-wrap: pretty; }
.fb-actions { display: flex; align-items: center; gap: 4px 18px; flex-wrap: wrap; margin-top: clamp(18px, 1.75vw, 28px); }
.fb-primary, .fb-secondary { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; font-size: 1rem; line-height: 1.25; font-weight: 700; }
.fb-primary { padding: 11px 18px; border: 1px solid #81b6ff; border-radius: 5px; color: #fff; background: #155bbf; }
.fb-primary:hover { background: #0d459a; }
.fb-secondary { color: #d8eaff; text-decoration: underline; text-underline-offset: 4px; }
.fb-secondary:hover { color: #fff; }
.fb-cabinet {
  position: relative;
  grid-area: 1 / 2 / span 2;
  justify-self: end;
  align-self: center;
  margin-right: clamp(10px, 3vw, 75px);
  height: clamp(300px, 27vw, 468px);
  max-width: 88%;
  aspect-ratio: 640 / 1033;
}
.fb-cabinet::before {
  content: ""; position: absolute; inset: auto -16% -2.2% -12%; height: 11%;
  border-radius: 50%; background: radial-gradient(ellipse, rgb(2 10 15 / .9) 4%, rgb(2 10 15 / .65) 31%, transparent 70%);
}
.fb-cabinet img { position: relative; width: 100%; height: 100%; object-fit: contain; display: block; filter: drop-shadow(4px 5px 3px rgb(4 12 17 / .4)); }
.fb-navigation, .fb-fallback { grid-area: 2 / 1; }
.fb-navigation { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 24px; margin-top: 22px; }
.fb-switches { display: flex; gap: 18px; }
.fb-switches button {
  position: relative; min-height: 44px; padding: 6px 1px; color: #c3d4e3; font-size: .94rem; font-weight: 600;
  border-bottom: 2px solid rgb(197 220 241 / .32);
}
.fb-switches button[aria-pressed="true"] { color: #fff; border-color: #8cc3ff; }
.fb-switches button:hover { color: #fff; border-color: #e5f2ff; }
.fb-feature-controls { display: inline-flex; align-items: center; gap: 6px; }
.fb-count { min-width: 38px; text-align: center; font-size: .9rem; font-variant-numeric: tabular-nums; font-weight: 600; color: #e1edf7; }
.fb-round {
  display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; flex: none;
  border: 1px solid #8ca6b9; border-radius: 50%; color: #fff; background: rgb(9 26 42 / .7);
}
.fb-round:hover { border-color: #fff; background: #264965; }
.fb-round .ico { width: 18px; height: 18px; }
.fb-playback { margin-inline-start: 6px; }
.fb-playback .ico { width: 16px; height: 16px; }
.fb-play-icon { fill: currentColor; }
.fb-pause-icon { stroke-width: 3; }
.fb-playback .fb-pause-icon, .fb-playback[data-playing] .fb-play-icon { display: none; }
.fb-playback[data-playing] .fb-pause-icon { display: block; }
dspm-family-banner :is(button,a,summary):focus-visible { outline: 3px solid #c0e3ff; outline-offset: 3px; }
.fb-fallback { justify-self: start; margin-top: 16px; }
.fb-fallback summary { width: fit-content; padding-block: 12px; line-height: 20px; color: #e0eeff; font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.fb-fallback[open] section { margin-block: 16px; max-width: 52ch; }
.fb-fallback h3 { color: #fff; font-size: 1.15rem; }
.fb-fallback ul { margin: 10px 0; padding-left: 1.25rem; list-style: disc; }
.fb-fallback li { margin-bottom: .5em; color: #e4eff9; line-height: 1.5; }
.fb-fallback a { margin-inline-end: 12px; }
@media (max-width: 680px) {
  dspm-family-banner {
    --fb-top: clamp(60px, 15vw, 88px);
    --fb-bottom: clamp(66px, 17vw, 96px);
    --fb-photo: clamp(213px, 57vw, 322px);
  }
  .fb-layout { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; min-height: 0; padding-block: 0 10px; }
  .fb-scenery { bottom: auto; height: calc(var(--fb-top) + var(--fb-photo) + 43px); }
  .fb-scene img { object-position: 50% 56%; }
  .fb-scenery::after { background: linear-gradient(0deg, var(--fb-ink), rgb(10 30 48 / .94) 4%, rgb(10 30 48 / .46) 17%, transparent 48%); }
  .fb-cabinet { grid-area: 1 / 1; height: var(--fb-photo); max-width: 65%; margin-right: 4%; }
  .fb-copy { grid-area: 2 / 1; margin-top: 28px; }
  .fb-slide { align-self: start; }
  .fb-slide h2 { margin: 12px 0 10px; font-size: clamp(2.3rem, 9.8vw, 3.7rem); }
  .fb-description { font-size: 1.03rem; max-width: 40ch; }
  .fb-actions { margin-top: 16px; column-gap: 14px; }
  .fb-primary, .fb-secondary { font-size: .94rem; }
  .fb-primary { padding-inline: 13px; }
  .fb-navigation, .fb-fallback { grid-area: 3 / 1; margin-top: 18px; }
}
@media (prefers-reduced-motion: reduce) { .fb-scene { transition: none; } }
@media (forced-colors: active) {
  dspm-family-banner::before, dspm-family-banner::after, .fb-scenery { display: none; }
  .fb-primary, .fb-round { border: 1px solid ButtonText; }
  .fb-switches button[aria-pressed="true"] { border-bottom: 3px solid Highlight; }
}
