/* Hero slider: every slide shares one grid cell so the hero keeps the height of the tallest slide. */
.hero-slides{display:grid}
.hero-slide{grid-area:1/1;opacity:0;visibility:hidden;transform:translateX(24px);transition:opacity .6s ease,transform .6s ease,visibility 0s linear .6s}
.hero-slide.is-active{opacity:1;visibility:visible;transform:none;transition:opacity .6s ease,transform .6s ease,visibility 0s}
.hero-slide.is-leaving{transform:translateX(-24px)}

.hero-ctrl{display:flex;align-items:center;justify-content:center;gap:1rem;margin-top:2.5rem}
.hero-arrow{width:2.5rem;height:2.5rem;border-radius:9999px;border:1px solid rgb(51 65 85);background:rgb(15 23 42/.8);color:rgb(203 213 225);display:inline-flex;align-items:center;justify-content:center;transition:all .2s}
.hero-arrow:hover{border-color:rgb(16 185 129);color:#fff;background:rgb(6 78 59/.7)}
.hero-dots{display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem}
.hero-dot{width:.6rem;height:.6rem;border-radius:9999px;background:rgb(71 85 105);border:0;padding:0;transition:all .3s}
.hero-dot:hover{background:rgb(148 163 184)}
.hero-dot.is-active{width:1.75rem;background:rgb(52 211 153)}
.hero-counter{font-family:ui-monospace,monospace;font-size:.7rem;color:rgb(148 163 184);min-width:3.5rem;text-align:center}
.hero-progress{height:2px;margin-top:1.25rem;background:rgb(30 41 59);border-radius:9999px;overflow:hidden}
.hero-progress>span{display:block;height:100%;width:0;background:linear-gradient(90deg,#34d399,#2dd4bf)}
.hero-progress.run>span{width:100%;transition:width var(--hero-ms,7000ms) linear}

.hero-feat{display:grid;grid-template-columns:1fr;gap:.55rem}
@media(min-width:640px){.hero-feat{grid-template-columns:1fr 1fr}}

@media(prefers-reduced-motion:reduce){
  .hero-slide,.hero-slide.is-active{transition:opacity .01s;transform:none}
  .hero-progress.run>span{transition:none}
}

/* Slideshow clock (top of the hero): what is showing, and a countdown to the next slide */
.hero-topbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}
.hero-now{display:flex;align-items:center;gap:10px;min-width:0;font-size:12px;color:rgb(148 163 184)}
.hero-now-tag{flex:none;text-transform:uppercase;letter-spacing:.08em;font-weight:800;font-size:10px;color:rgb(110 231 183);background:rgb(6 78 59/.55);border:1px solid rgb(16 185 129/.45);padding:3px 9px;border-radius:9999px}
.hero-now-name{font-weight:700;color:rgb(226 232 240);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hero-now-count{flex:none;font-family:ui-monospace,monospace;font-size:11px;color:rgb(100 116 139)}
.hero-clock{flex:none;display:flex;align-items:center;gap:10px;background:rgb(15 23 42/.78);border:1px solid rgb(51 65 85);border-radius:9999px;padding:5px 6px 5px 6px;backdrop-filter:blur(6px)}
.hero-ring{width:34px;height:34px;transform:rotate(-90deg);flex:none}
.hero-ring circle{fill:none;stroke-width:3}
.hero-ring .bg{stroke:rgb(51 65 85)}
.hero-ring .fg{stroke:rgb(52 211 153);stroke-linecap:round;transition:stroke-dashoffset .1s linear}
.hero-clock.is-paused .hero-ring .fg{stroke:rgb(251 191 36)}
.hero-secs{position:relative;margin-left:-44px;width:34px;text-align:center;font-family:ui-monospace,monospace;font-weight:800;font-size:13px;color:#fff;line-height:34px}
.hero-clock-text{display:flex;flex-direction:column;line-height:1.2;margin-left:2px;max-width:230px}
.hero-clock-label{font-size:10px;text-transform:uppercase;letter-spacing:.07em;color:rgb(148 163 184);font-weight:700}
.hero-clock.is-paused .hero-clock-label{color:rgb(251 191 36)}
.hero-clock-next{font-size:12px;font-weight:700;color:rgb(226 232 240);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hero-pause{flex:none;width:30px;height:30px;border-radius:9999px;border:1px solid rgb(71 85 105);background:rgb(30 41 59);color:rgb(203 213 225);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s}
.hero-pause:hover{border-color:rgb(16 185 129);color:#fff;background:rgb(6 78 59/.7)}
.hero-pause:focus-visible{outline:2px solid rgb(52 211 153);outline-offset:2px}
.hero-pause .i-play{display:none}
.hero-clock.is-user-paused .hero-pause .i-play{display:block}
.hero-clock.is-user-paused .hero-pause .i-pause{display:none}
@media(max-width:640px){
  .hero-clock-text{display:none}
  .hero-now-count{display:none}
  .hero-now-name{font-size:12px}
}
