.rjy-hero { position: relative; isolation: isolate; background: #071b21; color: #fff; }
.rjy-hero__slides { position: relative; }
.rjy-hero__slide { position: relative; isolation: isolate; min-height: min(760px, calc(100svh - var(--rjy-header-height, 114px))); display: flex; align-items: center; overflow: hidden; }
.rjy-hero__slide[hidden] { display: none !important; }
.rjy-hero__image { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.rjy-hero__slide::before { content: ''; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(4,19,25,.95) 0%, rgba(4,19,25,.88) 31%, rgba(4,19,25,.38) 62%, rgba(4,19,25,.12) 100%); }
.rjy-hero__content { width: 100%; padding-top: clamp(60px, 8vw, 110px); padding-bottom: 150px; }
.rjy-hero__copy { max-width: 610px; }
.rjy-hero__eyebrow { color: #b7e6e7; font: 600 11px/1.5 var(--font-mono, monospace); letter-spacing: .16em; text-transform: uppercase; }
.rjy-hero__event-logo { display: inline-flex; align-items: center; justify-content: center; margin-top: 18px; padding: 10px 14px; background: rgba(4,19,25,.88); border-radius: 4px; }
.rjy-hero__event-logo img { display: block; width: min(220px, 50vw); height: 42px; object-fit: contain; }
.rjy-hero__title { margin: 22px 0 0; color: #fff; font-family: var(--font-display, sans-serif); font-weight: 700; letter-spacing: -.045em; font-size: clamp(38px, 5.1vw, 68px); line-height: 1.08; text-wrap: balance; }
.rjy-hero__text { max-width: 515px; margin: 24px 0 0; color: #e1edef; font-size: clamp(15px, 1.25vw, 17px); line-height: 1.7; }
.rjy-hero__event { color: #fff; font-size: clamp(15px, 1.2vw, 17px); font-weight: 600; letter-spacing: .01em; margin-top: 22px; }
.rjy-hero__booth { display: table; padding: 5px 10px; margin-top: 10px; border: 1px solid rgba(255,255,255,.62); border-radius: 4px; white-space: nowrap; }
.rjy-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.rjy-hero__button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 11px 22px; border: 1px solid #fff; border-radius: 999px; background: #fff; color: #09232a; font-size: 14px; font-weight: 700; text-decoration: none; transition: background .2s, color .2s; }
.rjy-hero__button--secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.65); }
.rjy-hero__button:hover { background: #dceff0; color: #09232a; }
.rjy-hero__button:focus-visible, .rjy-hero__controls button:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.rjy-hero__controls { position: absolute; z-index: 1; left: 0; right: 0; bottom: 32px; display: flex; align-items: center; gap: 10px; }
.rjy-hero__controls[hidden] { display: none !important; }
.rjy-hero__control { width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; background: rgba(4,19,25,.58); color: #fff; cursor: pointer; font: inherit; }
.rjy-hero__control:hover, .rjy-hero__pause:hover { background: rgba(255,255,255,.18); }
.rjy-hero__dots { display: flex; gap: 7px; align-items: center; margin: 0 8px; }
.rjy-hero__dot { position: relative; border: 0; padding: 12px 2px; background: transparent; cursor: pointer; }
.rjy-hero__dot::before { content: ''; display: block; width: 24px; height: 3px; background: rgba(255,255,255,.38); }
.rjy-hero__dot::after { content: ''; position: absolute; left: 2px; top: 12px; width: 24px; height: 3px; background: #fff; transform: scaleX(var(--rjy-hero-progress, 0)); transform-origin: left center; }
.rjy-hero__dot[aria-current="true"]::before { background: rgba(255,255,255,.62); }
.rjy-hero__pause { min-width: 62px; min-height: 42px; padding: 8px 12px; border: 1px solid rgba(255,255,255,.6); border-radius: 999px; color: #fff; background: rgba(4,19,25,.58); cursor: pointer; font-size: 12px; }
.rjy-hero__slide.is-entering .rjy-hero__copy { animation: rjy-hero-in .55s ease both; }
@keyframes rjy-hero-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 767px) {
  .rjy-hero__slide { min-height: max(620px, calc(100svh - var(--rjy-header-height, 108px))); align-items: flex-end; }
  .rjy-hero__image { object-position: 65% center; }
  .rjy-hero__slide::before { background: linear-gradient(0deg, rgba(4,19,25,.96) 0%, rgba(4,19,25,.86) 43%, rgba(4,19,25,.36) 80%, rgba(4,19,25,.25) 100%); }
  .rjy-hero__content { padding-top: 64px; padding-bottom: 82px; }
  .rjy-hero__event-logo { margin-top: 10px; padding: 6px 10px; }
  .rjy-hero__event-logo img { width: min(190px, 48vw); height: 32px; }
  .rjy-hero__title { margin-top: 14px; font-size: clamp(32px, 8.5vw, 44px); }
  .rjy-hero__text { margin-top: 12px; font-size: 14px; line-height: 1.5; }
  .rjy-hero__event { margin-top: 12px; font-size: 14px; line-height: 1.45; }
  .rjy-hero__booth { margin: 7px 0 0; padding: 3px 9px; }
  .rjy-hero__actions { margin-top: 16px; gap: 8px; }
  .rjy-hero__button { min-height: 42px; padding: 8px 16px; font-size: 13px; }
  .rjy-hero__controls { bottom: 20px; }
}
@media (prefers-reduced-motion: reduce) { .rjy-hero__slide.is-entering .rjy-hero__copy { animation: none; } .rjy-hero__button, .rjy-hero__dot::after { transition: none; } }

/* The hero occupies the viewport remaining below the shared sticky header.
   Its content may still grow when text is enlarged or the viewport is very short. */
.rjy-hero__slide { min-height: calc(100svh - var(--rjy-header-height, 113px)); }

/* Short desktop windows need room for the event details and carousel controls. */
@media (min-width: 768px) and (max-height: 800px) {
  .rjy-hero__content { padding-top: 28px; padding-bottom: 84px; }
  .rjy-hero__event-logo { margin-top: 8px; padding: 6px 10px; }
  .rjy-hero__event-logo img { height: 32px; }
  .rjy-hero__title { margin-top: 12px; font-size: clamp(36px, 4.2vw, 56px); }
  .rjy-hero__event { margin-top: 12px; line-height: 1.45; }
  .rjy-hero__booth { margin-top: 6px; padding: 3px 9px; }
  .rjy-hero__text { margin-top: 12px; line-height: 1.5; }
  .rjy-hero__actions { margin-top: 16px; }
  .rjy-hero__controls { bottom: 20px; }
}

/* Compact the longest (event) slide for phones with shorter viewports. */
@media (max-width: 767px) and (max-height: 700px) {
  .rjy-hero__content { padding-top: 20px; padding-bottom: 66px; }
  .rjy-hero__eyebrow { font-size: 10px; line-height: 1.3; }
  .rjy-hero__event-logo { margin-top: 5px; padding: 4px 8px; }
  .rjy-hero__event-logo img { height: 26px; }
  .rjy-hero__title { margin-top: 8px; font-size: clamp(27px, 8vw, 34px); line-height: 1.05; }
  .rjy-hero__event { margin-top: 8px; font-size: 12px; line-height: 1.3; }
  .rjy-hero__booth { margin-top: 5px; padding: 2px 8px; }
  .rjy-hero__text { margin-top: 8px; font-size: 12px; line-height: 1.4; }
  .rjy-hero__actions { margin-top: 10px; gap: 6px; }
  .rjy-hero__button { min-height: 38px; padding: 7px 12px; font-size: 12px; }
  .rjy-hero__controls { bottom: 12px; }
}
