.ghero{
  --ghero-ink: #FFFFFF;
  --ghero-strip-h: 108px;
  --ghero-fade: 700ms;
  --ghero-scrim: .45;
  --ghero-font: "Noto Sans Hebrew", system-ui, Arial, sans-serif;
  position: relative;
  isolation: isolate;
  inline-size: 100%;
  min-block-size: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #07080A;
  font-family: var(--ghero-font);
  color: var(--ghero-ink);
}

/* Stage ----------------------------------------------------------------
   Real <img> rather than background-image: the first frame is then a normal
   LCP candidate the browser can prioritise, and the rest can stay lazy. */

.ghero__stage{
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ghero__slide{
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--ghero-fade) ease;
}
.ghero__slide.is-active{
  opacity: 1;
}
.ghero .ghero__slide img{
  display: block;
  inline-size: 100%;
  block-size: 100%;
  max-inline-size: none;
  object-fit: cover;
  object-position: center;
}

/* Scrim ----------------------------------------------------------------
   Constant, not tied to the play state. White type over a photograph cannot be
   guaranteed to clear 4.5:1 - it depends on the frame - and that is equally
   true whether the picture is moving or still, so readability must not depend
   on a button the visitor happened to press. */
.ghero__scrim{
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(to bottom,
      rgba(4, 4, 4, calc(var(--ghero-scrim) * .9)) 0%,
      rgba(4, 4, 4, calc(var(--ghero-scrim) * .55)) 32%,
      rgba(4, 4, 4, calc(var(--ghero-scrim) * .75)) 72%,
      rgba(4, 4, 4, calc(var(--ghero-scrim) * 1)) 100%);
}

/* Content --------------------------------------------------------------
   Deliberately not position:relative. It is a flex item, so z-index alone
   lifts it above the scrim - and leaving it unpositioned means the play button
   inside it anchors to the cover rather than to this block. */

.ghero__content{
  z-index: 2;
  inline-size: 100%;
  max-inline-size: 596px;
  margin-inline: auto;
  padding-inline: 28px;
  padding-block: 120px calc(var(--ghero-strip-h) + 80px);
  text-align: center;
}

.ghero .ghero__eyebrow{
  margin: 0 0 24px;
  font-size: 17.6px;
  line-height: 26.4px;
  font-weight: 400;
  color: var(--ghero-ink);
}

.ghero .ghero__title{
  margin: 0 0 28px;
  font-size: clamp(56px, 24px + 4.5vw, 128px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ghero-ink);
}

.ghero .ghero__body{
  margin: 0;
  font-size: 17.6px;
  line-height: 26.4px;
  font-weight: 400;
  color: var(--ghero-ink);
}

/* Strip ----------------------------------------------------------------
   Three equal cards along the foot, each label set to the inline start as in
   the original frame. Buttons, not tabs: nothing but the picture changes, so
   there is no panel for a tablist to own. aria-pressed carries the state,
   which a screen reader reports without announcing every automatic change. */

.ghero__strip{
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0;
  z-index: 3;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  block-size: var(--ghero-strip-h);
}

.ghero .ghero__tab{
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  padding-inline: 48px;
  background-color: #000000;
  color: #FFFFFF;
  font-family: var(--ghero-font);
  text-align: start;
  transition: background-color .35s ease, color .35s ease;
  -webkit-tap-highlight-color: transparent;
}
.ghero .ghero__tab.is-active{
  background-color: var(--tab-bg);
  color: var(--tab-ink);
}
.ghero .ghero__tab:hover{
  background-color: var(--tab-bg);
  color: var(--tab-ink);
}
.ghero .ghero__tab:focus-visible{
  outline: 2px solid #FFFFFF;
  outline-offset: -6px;
}

.ghero__tab-kicker{
  font-size: 15px;
  line-height: 20px;
  font-weight: 400;
}
.ghero__tab-name{
  font-size: 20px;
  line-height: 26px;
  font-weight: 700;
}

/* Centred with auto margins rather than a half-width transform. transform is
   physical - translateX always moves toward the right of the screen - so the
   previous pairing of inset-inline-start with translateX(50%) only centred the
   bar because the page happens to be RTL, and would have pushed it a full
   width off centre the moment the site gained an LTR language. Two logical
   insets and auto margins do the same job in either direction. */
.ghero__handle{
  position: absolute;
  inset-block-end: 14px;
  inset-inline: 0;
  margin-inline: auto;
  inline-size: 46px;
  block-size: 3px;
  border-radius: 2px;
  background-color: rgba(255, 255, 255, .8);
  pointer-events: none;
}

/* Play / pause ---------------------------------------------------------
   Neither bottom corner is available. The accessibility widget owns one and a
   chat button will want the other, so on desktop the control sits inside the
   division strip at the inline end, which is empty space. On a phone the hero
   is still, and the button is not rendered at all. */

.ghero .ghero__pause{
  all: unset;
  box-sizing: border-box;
  position: absolute;
  z-index: 4;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: 44px;
  block-size: 44px;
  inset-block-end: 24px;
  inset-inline: 0;
  margin-inline: auto;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .55);
  background-color: rgba(4, 4, 4, .45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #FFFFFF;
  transition: background-color .2s ease;
}
.ghero .ghero__pause[hidden]{ display: none; }
.ghero .ghero__pause:hover{
  background-color: rgba(4, 4, 4, .75);
}
.ghero .ghero__pause:focus-visible{
  outline: 2px solid #FFFFFF;
  outline-offset: 3px;
}
.ghero__pause-ico--play{ display: none; }
.ghero .ghero__pause[aria-pressed="true"] .ghero__pause-ico--pause{ display: none; }
.ghero .ghero__pause[aria-pressed="true"] .ghero__pause-ico--play{ display: block; }

/* Breakpoints ----------------------------------------------------------- */

@media (min-width: 768px){
  /* svh rather than vh: on a phone in landscape vh is measured against the
     browser chrome expanded, which crops the strip. On desktop the two are the
     same number. */
  .ghero{
    min-block-size: 100svh;
  }
  .ghero .ghero__eyebrow{
    margin-block-end: 32px;
  }
  .ghero .ghero__pause{
    inset-inline: auto 40px;
    margin-inline: 0;
    inset-block-end: calc((var(--ghero-strip-h) - 44px) / 2);
  }
}

@media (max-width: 767px){
  /* No division buttons on a phone - the strip is a desktop control. */
  .ghero{
    --ghero-strip-h: 0px;
    /* Same first screen as every other page hero on a phone: the small
       viewport, so the cover never sits under the browser toolbar. */
    min-block-size: 100svh;
  }
  .ghero__strip{
    display: none;
  }
  .ghero__content{
    padding-block: 96px 96px;
  }
  /* Hidden in CSS as well as by the script, so it never flashes on screen in
     the moment before the script runs. */
  .ghero[data-mobile-static="1"] .ghero__pause{
    display: none;
  }
}

@media (prefers-reduced-motion: reduce){
  .ghero__slide{
    transition-duration: .01ms;
  }
  .ghero .ghero__tab{
    transition-duration: .01ms;
  }
}
