/* HUS Product Showcase: full-screen product scenes the visitor flies through by scrolling.
   Opens on a tilted wall of product photos; each product then fills the screen with its photo,
   a giant word drifting behind it, its key numbers and its brand. */
.hus-ps {
  --bg0: #050A08;
  --ink: #F4F6F2;
  --body: rgba(236, 241, 236, .84);
  --muted: rgba(214, 224, 217, .6);
  --line: rgba(255, 255, 255, .14);
  --green: #15823F;
  --green-hi: #7FD6A0;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --top: 0px;
  --bottom: 0px;
  position: relative; display: block; color: var(--ink); background: var(--bg0);
  font: 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased;
}
.hus-ps *, .hus-ps *::before, .hus-ps *::after { box-sizing: border-box; }
.hus-ps__h1 { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hus-ps__track { position: relative; height: 900vh; }
.hus-ps__stage { position: sticky; top: var(--top); overflow: hidden; height: calc(100vh - var(--top)); background: var(--bg0); }
@supports (height: 100svh) { .hus-ps__stage { height: calc(100svh - var(--top)); } }

/* ---------- scenes ---------- */
.hus-ps__scene { position: absolute; inset: 0; overflow: hidden; visibility: hidden; opacity: 0; transform-origin: 50% 55%; will-change: transform, opacity; background: var(--tint, var(--bg0)); }
.hus-ps__scene.is-vis { visibility: visible; }
.hus-ps__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); will-change: transform; }
.hus-ps__scene--cut .hus-ps__bg { opacity: .35; }
.hus-ps__glow { position: absolute; left: 50%; top: 42%; width: 120vmax; height: 120vmax; transform: translate(-50%, -50%); pointer-events: none;
  background: radial-gradient(closest-side, var(--glow, rgba(80, 160, 110, .32)) 0%, rgba(0, 0, 0, 0) 62%); }
.hus-ps__scrim { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 10, 8, .55) 0%, rgba(5, 10, 8, 0) 28%, rgba(5, 10, 8, 0) 50%, rgba(5, 10, 8, .55) 72%, rgba(5, 10, 8, .92) 100%); }
.hus-ps__scene--photo .hus-ps__scrim { background: linear-gradient(90deg, rgba(5, 10, 8, .6) 0%, rgba(5, 10, 8, .25) 32%, rgba(5, 10, 8, 0) 58%), linear-gradient(180deg, rgba(5, 10, 8, .55) 0%, rgba(5, 10, 8, 0) 28%, rgba(5, 10, 8, 0) 50%, rgba(5, 10, 8, .55) 72%, rgba(5, 10, 8, .92) 100%); }
.hus-ps__word { position: absolute; left: 0; right: 0; top: 36%; margin: 0; transform: translateY(-50%); text-align: center; white-space: nowrap; pointer-events: none; user-select: none;
  font: 600 clamp(6rem, 22vw, 22rem)/1 var(--display); letter-spacing: -.02em; color: rgba(255, 255, 255, .04);
  -webkit-text-stroke: 1px rgba(255, 255, 255, .22); will-change: transform; }
.hus-ps__cut { position: absolute; left: 57%; top: 42%; width: min(52vw, 760px); max-height: 62vh; transform: translate(-50%, -50%); pointer-events: none; perspective: 1400px; transform-style: preserve-3d; will-change: transform; }
.hus-ps__cut img { display: block; width: 100%; height: auto; max-height: 62vh; object-fit: contain; filter: drop-shadow(0 50px 50px rgba(0, 0, 0, .7)); backface-visibility: hidden; -webkit-box-reflect: below 6px linear-gradient(transparent 72%, rgba(255, 255, 255, .13)); }
.hus-ps__sweep { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; -webkit-mask: var(--mask) center / contain no-repeat; mask: var(--mask) center / contain no-repeat;
  background: linear-gradient(100deg, rgba(255,255,255,0) 38%, rgba(255,255,255,.55) 50%, rgba(255,255,255,0) 62%) no-repeat; background-size: 300% 100%; background-position: calc(var(--sw, .5) * 100%) 0; }
.hus-ps__side { position: absolute; right: clamp(16px, 4vw, 64px); top: 24%; width: clamp(150px, 16vw, 260px); border-radius: 14px; overflow: hidden; box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .1); transform: rotate(4deg); }
.hus-ps__side img { display: block; width: 100%; height: auto; }
.hus-ps__badge { position: absolute; z-index: 3; right: clamp(16px, 4vw, 64px); top: 72px; display: grid; place-items: center; --pv: 10px; padding: var(--pv) 14px; border-radius: 12px; --lh: 30px; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .8); }
.hus-ps .hus-ps__badge img, .hus-ps .hus-ps__plate img { display: block; height: var(--lh) !important; width: auto !important; max-width: none !important; }
.hus-ps__badge--light, .hus-ps__plate--light { background: #fff; }
.hus-ps__badge--dark, .hus-ps__plate--dark { background: #121815; border: 1px solid rgba(255, 255, 255, .16); }
/* crop variants show only the wordmark band of a taller badge file (the band sits at 24-39% of that file's height) */
.hus-ps__badge--crop, .hus-ps__plate--crop { overflow: hidden; height: calc(var(--lh) + 2 * var(--pv)); padding-top: 0; padding-bottom: 0; align-content: start; }
.hus-ps .hus-ps__badge--crop img, .hus-ps .hus-ps__plate--crop img { height: calc(var(--lh) * 2.6) !important; margin-top: calc(var(--pv) - var(--lh) * .3175); clip-path: inset(0 0 calc(var(--lh) * 1.5) 0); }

/* film card: video only, no words on top */
.hus-ps__video { object-fit: cover; background: #0b0f0d; }
.hus-ps__video--later { opacity: 0; transition: opacity .8s ease; } /* fades in over the still once the film plays */
.hus-ps__video--later.is-ready { opacity: 1; }
.hus-ps__pp { position: absolute; z-index: 5; right: clamp(16px, 4vw, 64px); bottom: calc(18px + var(--bottom)); width: 38px; height: 38px; padding: 0; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .28); background: rgba(5, 10, 8, .5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); cursor: pointer; transition: opacity .3s; }
.hus-ps__pp::before, .hus-ps__pp::after { content: ""; position: absolute; top: 12px; width: 4px; height: 13px; border-radius: 1px; background: #fff; }
.hus-ps__pp::before { left: 13px; }
.hus-ps__pp::after { right: 13px; }
.hus-ps__pp.is-paused::after { display: none; }
.hus-ps__pp.is-paused::before { left: 14px; top: 11px; width: 0; height: 0; border-radius: 0; background: none; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent #fff; }
.hus-ps__pp.is-off { opacity: 0; pointer-events: none; }
.hus-ps__pp:focus-visible { outline: 3px solid var(--green-hi); outline-offset: 3px; }

/* ---------- copy block ---------- */
.hus-ps__copy { position: absolute; z-index: 3; left: clamp(24px, 5.5vw, 92px); bottom: calc(40px + var(--bottom)); width: min(560px, 44vw); }
.hus-ps__eyebrow { margin: 0 0 10px; font: 600 .74rem/1.25 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--green-hi); text-shadow: 0 1px 14px rgba(0, 0, 0, .8); }
.hus-ps__name { margin: 0; font: 500 clamp(2.1rem, 3.6vw, 3.6rem)/1.02 var(--display); letter-spacing: -.015em; color: #fff; text-wrap: balance; text-shadow: 0 4px 40px rgba(0, 0, 0, .5); }
.hus-ps__line { margin: 12px 0 0; max-width: 34em; color: var(--body); font-size: 1.04rem; text-shadow: 0 2px 20px rgba(0, 0, 0, .6); }
.hus-ps__specs { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.hus-ps__spec { display: flex; flex-direction: column; gap: 3px; min-width: 120px; padding: 11px 15px 10px; border-radius: 14px; background: rgba(10, 18, 14, .62); border: 1px solid rgba(127, 214, 160, .3); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }
.hus-ps__scene.is-on .hus-ps__spec { opacity: 1; transform: none; }
.hus-ps__scene.is-on .hus-ps__spec:nth-child(2) { transition-delay: .1s; }
.hus-ps__scene.is-on .hus-ps__spec:nth-child(3) { transition-delay: .2s; }
.hus-ps__spec b { font: 600 1.5rem/1 var(--display); color: #fff; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.hus-ps__spec b small { font-size: .62em; margin-left: 2px; }
.hus-ps__spec > span { font: 500 .7rem/1.25 var(--sans); color: var(--green-hi); letter-spacing: .05em; text-transform: uppercase; max-width: 22ch; }
.hus-ps__brand { display: flex; align-items: center; gap: 12px; margin-top: 16px; font: 500 .86rem/1.3 var(--sans); color: var(--body); }
.hus-ps__plate { display: inline-grid; place-items: center; --pv: 8px; padding: var(--pv) 11px; border-radius: 9px; flex: none; --lh: 20px; }
.hus-ps__more { display: inline-block; margin-top: 14px; color: var(--green-hi); font-weight: 600; text-decoration: none; }
.hus-ps__more:hover { text-decoration: underline; }

/* ---------- opening and closing wall ---------- */
.hus-ps__wall { position: absolute; left: 50%; top: 40%; width: 170vw; transform: translate(-50%, -50%) perspective(1100px) rotateX(54deg) rotateZ(-11deg); transform-style: preserve-3d; display: grid; gap: 22px; pointer-events: none; animation: hus-ps-wallin 1.6s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes hus-ps-wallin { from { transform: translate(-50%, -50%) perspective(1100px) rotateX(54deg) rotateZ(-11deg) scale(1.18); opacity: 0; } to { transform: translate(-50%, -50%) perspective(1100px) rotateX(54deg) rotateZ(-11deg) scale(1); opacity: 1; } }
.hus-ps__row { display: flex; gap: 22px; width: max-content; animation: hus-ps-drift 70s linear infinite; }
.hus-ps__row:nth-child(2n) { animation-direction: reverse; animation-duration: 84s; }
.hus-ps__row:nth-child(3) { animation-duration: 96s; }
.hus-ps__row:nth-child(5) { animation-duration: 78s; }
.hus-ps__tile { width: 300px; height: 200px; flex: none; border-radius: 14px; overflow: hidden; background: #111; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .08); }
.hus-ps__tile img { display: block; width: 100%; height: 100%; object-fit: cover; }
@keyframes hus-ps-drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
/* opening and closing photo: fades and settles in on load; scroll or the story timer then pushes in slowly */
.hus-ps__scene--wall .hus-ps__bg { animation: hus-ps-heroin 2.4s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes hus-ps-heroin { from { scale: 1.08; } to { scale: 1; } } /* no fade: the opening frame must paint at once */
.hus-ps .hus-ps__scene--early .hus-ps__bg { animation: none; } /* the server already showed this exact frame: continue from it without a zoom jump */
.hus-ps__scene--wall .hus-ps__scrim { background: linear-gradient(90deg, rgba(5, 10, 8, .78) 0%, rgba(5, 10, 8, .42) 38%, rgba(5, 10, 8, 0) 68%), linear-gradient(180deg, rgba(5, 10, 8, .8) 0%, rgba(5, 10, 8, .15) 24%, rgba(5, 10, 8, .25) 52%, rgba(5, 10, 8, .96) 100%); }
.hus-ps__hero { position: absolute; z-index: 3; left: clamp(24px, 5.5vw, 92px); right: clamp(24px, 5.5vw, 92px); bottom: calc(44px + var(--bottom)); max-width: 760px; }
.hus-ps__title { margin: 0; font: 500 clamp(2.8rem, 6.2vw, 6.2rem)/.98 var(--display); letter-spacing: -.02em; color: #fff; text-wrap: balance; text-shadow: 0 6px 50px rgba(0, 0, 0, .6); }
.hus-ps__text { margin: 16px 0 0; max-width: 38em; color: var(--body); font-size: 1.08rem; }
.hus-ps__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hus-ps__btn, .hus-ps__phone { display: inline-flex; align-items: center; padding: 14px 22px; border-radius: 999px; font: 600 1rem/1 var(--sans); text-decoration: none; }
.hus-ps__btn { background: var(--green); color: #fff; box-shadow: 0 10px 30px -10px rgba(21, 130, 63, .9); }
.hus-ps__btn:hover { background: #106B33; color: #fff; }
.hus-ps__phone { color: #fff; border: 1px solid rgba(255, 255, 255, .32); background: rgba(255, 255, 255, .05); font-variant-numeric: tabular-nums; }
.hus-ps__logos { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 22px; }
.hus-ps__logos-label { width: 100%; margin: 0 0 2px !important; font: 600 .68rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.hus-ps__cred { margin: 14px 0 0; font: 400 .74rem/1.3 var(--mono); color: var(--muted); }
.hus-ps__btn:focus-visible, .hus-ps__phone:focus-visible, .hus-ps__more:focus-visible, .hus-ps__skip:focus-visible { outline: 3px solid var(--green-hi); outline-offset: 3px; }

/* ---------- rail, note, skip ---------- */
.hus-ps__rail { position: absolute; z-index: 4; top: 22px; left: clamp(24px, 5.5vw, 92px); display: flex; flex-wrap: wrap; gap: 6px; opacity: 0; transition: opacity .35s; pointer-events: none; }
.hus-ps__rail.is-on { opacity: 1; }
.hus-ps__rail span { font: 600 .72rem/1 var(--sans); color: var(--muted); padding: 7px 11px; border-radius: 999px; background: rgba(5, 10, 8, .5); border: 1px solid rgba(255, 255, 255, .12); transition: background .3s, color .3s; }
.hus-ps__rail span.is-done { color: var(--green-hi); }
.hus-ps__rail span.is-done::before { content: "\2713\00a0"; }
.hus-ps__rail span.is-on { background: var(--green); color: #fff; border-color: transparent; }
.hus-ps__note { position: absolute; z-index: 4; right: clamp(24px, 5.5vw, 92px); bottom: calc(14px + var(--bottom)); margin: 0; max-width: 44ch; text-align: right; font: 400 .62rem/1.35 var(--mono); color: rgba(214, 224, 217, .45); transition: opacity .4s; }
.hus-ps__note.is-off { opacity: 0; }
.hus-ps__skip { position: absolute; z-index: 4; right: clamp(24px, 5.5vw, 92px); top: 22px; font: 600 .78rem/1 var(--sans); color: #fff; text-decoration: none; padding: 9px 14px; border-radius: 999px; background: rgba(5, 10, 8, .5); border: 1px solid rgba(255, 255, 255, .16); }
.hus-ps__hint { position: absolute; z-index: 4; left: 50%; bottom: calc(14px + var(--bottom)); transform: translateX(-50%); font: 500 .74rem/1 var(--sans); color: var(--muted); white-space: nowrap; transition: opacity .4s; }
.hus-ps__hint.is-off { opacity: 0; }
.hus-ps__hint::after { content: ""; display: block; width: 1px; height: 22px; margin: 8px auto 0; background: linear-gradient(180deg, var(--green-hi), transparent); animation: hus-ps-hint 1.6s ease-in-out infinite; }
@keyframes hus-ps-hint { 0%, 100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(6px); opacity: .4; } }

/* ---------- phones and tall screens ---------- */
@media (max-aspect-ratio: 1/1), (max-width: 819px) {
  .hus-ps__track { height: 860vh; }
  .hus-ps__word { top: 27%; font-size: clamp(5rem, 24vw, 9rem); }
  .hus-ps__cut { left: 50%; top: 33%; width: min(94vw, 480px); max-height: 46vh; }
  .hus-ps__cut img { max-height: 46vh; }
  .hus-ps__scene--photo .hus-ps__bg, .hus-ps__scene--wall .hus-ps__bg { object-position: var(--posm, var(--pos, 50% 50%)); }
  .hus-ps__side { display: none; }
  .hus-ps__badge { right: 16px; top: 48px; --lh: 22px; --pv: 7px; padding: var(--pv) 10px; border-radius: 10px; }
  .hus-ps__copy { left: 18px; right: 18px; width: auto; bottom: calc(46px + var(--bottom)); }
  .hus-ps__eyebrow { margin-bottom: 6px; font-size: .66rem; }
  .hus-ps__name { font-size: clamp(1.9rem, 8.6vw, 2.5rem); }
  .hus-ps__line { margin-top: 8px; font-size: .95rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .hus-ps__specs { gap: 7px; margin-top: 12px; }
  .hus-ps__spec { min-width: 0; flex: 1 1 0; padding: 9px 9px 8px; border-radius: 12px; }
  .hus-ps__spec b { font-size: 1.2rem; }
  .hus-ps__spec > span { font-size: .58rem; letter-spacing: .03em; max-width: none; }
  .hus-ps__brand { margin-top: 12px; font-size: .78rem; gap: 10px; }
  .hus-ps__plate { --pv: 6px; padding: var(--pv) 9px; --lh: 16px; }
  .hus-ps__more { margin-top: 8px; font-size: .92rem; }
  .hus-ps__scrim, .hus-ps__scene--photo .hus-ps__scrim { background: linear-gradient(180deg, rgba(5, 10, 8, .6) 0%, rgba(5, 10, 8, 0) 24%, rgba(5, 10, 8, 0) 42%, rgba(5, 10, 8, .72) 62%, rgba(5, 10, 8, .97) 100%); }
  .hus-ps__wall { width: 250vw; top: 31%; gap: 14px; transform: translate(-50%, -50%) perspective(800px) rotateX(50deg) rotateZ(-12deg); }
  @keyframes hus-ps-wallin { from { transform: translate(-50%, -50%) perspective(800px) rotateX(50deg) rotateZ(-12deg) scale(1.18); opacity: 0; } to { transform: translate(-50%, -50%) perspective(800px) rotateX(50deg) rotateZ(-12deg) scale(1); opacity: 1; } }
  .hus-ps__row { gap: 14px; }
  .hus-ps__tile { width: 220px; height: 148px; border-radius: 10px; }
  .hus-ps__scene--wall .hus-ps__scrim { background: linear-gradient(180deg, rgba(5, 10, 8, .7) 0%, rgba(5, 10, 8, .1) 18%, rgba(5, 10, 8, .15) 40%, rgba(5, 10, 8, .85) 58%, rgba(5, 10, 8, .98) 100%); }
  .hus-ps__hero { left: 18px; right: 18px; bottom: calc(26px + var(--bottom)); }
  .hus-ps__title { font-size: clamp(2.4rem, 11vw, 3.2rem); }
  .hus-ps__text { margin-top: 10px; font-size: .96rem; }
  .hus-ps__ctas { margin-top: 14px; gap: 8px; }
  .hus-ps__btn, .hus-ps__phone { padding: 12px 16px; font-size: .92rem; }
  .hus-ps__logos { gap: 6px; margin-top: 14px; }
  .hus-ps__logos .hus-ps__plate { --lh: 13px; padding: var(--pv) 8px; }
  .hus-ps__cred { margin-top: 10px; font-size: .66rem; }
  /* the step chips become a thin segmented progress line, like story dots */
  .hus-ps__rail { top: 14px; left: 16px; right: 92px; gap: 4px; flex-wrap: nowrap; }
  .hus-ps__rail span { flex: 1 1 0; height: 4px; padding: 0; border: 0; border-radius: 2px; background: rgba(255, 255, 255, .22); color: transparent; font-size: 0; overflow: hidden; }
  .hus-ps__rail span.is-done::before { content: none; }
  .hus-ps__rail span.is-done { background: var(--green-hi); }
  .hus-ps__rail span.is-on { background: #fff; box-shadow: 0 0 10px rgba(255, 255, 255, .7); }
  .hus-ps__skip { right: 14px; top: 10px; padding: 7px 11px; font-size: .72rem; }
  .hus-ps__note { right: 16px; left: 16px; bottom: calc(8px + var(--bottom)); text-align: left; font-size: .54rem; max-width: none; }
  .hus-ps__hint { display: none; }
}

/* ---------- phones: swipe stories (one screen tall) ---------- */
.hus-ps--stories .hus-ps__track { height: auto; }
.hus-ps--stories .hus-ps__stage { position: relative; top: 0; margin-top: var(--top); height: calc(100vh - var(--top)); perspective: 1200px; touch-action: pan-y; -webkit-user-select: none; user-select: none; }
@supports (height: 100svh) { .hus-ps--stories .hus-ps__stage { height: calc(100svh - var(--top)); } }
.hus-ps--stories .hus-ps__scene { transform-origin: 50% 50%; backface-visibility: hidden; }
.hus-ps--stories .hus-ps__rail, .hus-ps--stories .hus-ps__skip, .hus-ps--stories .hus-ps__hint { display: none; }
.hus-ps__bars { position: absolute; z-index: 5; top: 12px; left: 14px; right: 14px; display: flex; gap: 4px; pointer-events: none; }
.hus-ps__bars span { flex: 1 1 0; height: 3px; border-radius: 2px; overflow: hidden; background: rgba(255, 255, 255, .28); }
.hus-ps__bars i { display: block; height: 100%; background: #fff; transform: scaleX(0); transform-origin: 0 50%; }
.hus-ps__nav { position: absolute; z-index: 4; top: 18%; height: 34%; width: 22%; padding: 0; border: 0; background: transparent; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.hus-ps__nav--prev { left: 0; }
.hus-ps__nav--next { right: 0; }
.hus-ps__nav::after { content: ""; position: absolute; top: 50%; width: 11px; height: 11px; margin-top: -6px; border: solid rgba(255, 255, 255, .75); border-width: 2px 2px 0 0; filter: drop-shadow(0 1px 4px rgba(0, 0, 0, .6)); }
.hus-ps__nav--prev::after { left: 14px; transform: rotate(-135deg); }
.hus-ps__nav--next::after { right: 14px; transform: rotate(45deg); }
.hus-ps__nav:focus-visible { outline: 2px solid var(--green-hi); outline-offset: -4px; }
.hus-ps__swipe { position: absolute; z-index: 5; right: 16px; top: 28px; display: flex; align-items: center; gap: 6px; font: 600 .72rem/1 var(--sans); color: #fff; padding: 7px 11px; border-radius: 999px; background: rgba(5, 10, 8, .55); border: 1px solid rgba(255, 255, 255, .18); transition: opacity .4s; pointer-events: none; }
.hus-ps__swipe::after { content: ""; width: 7px; height: 7px; border: solid #fff; border-width: 2px 2px 0 0; transform: rotate(45deg); animation: hus-ps-nudge 1.4s ease-in-out infinite; }
.hus-ps__swipe.is-off { opacity: 0; }
@keyframes hus-ps-nudge { 0%, 100% { transform: translateX(0) rotate(45deg); } 50% { transform: translateX(4px) rotate(45deg); } }
.hus-ps--stories .hus-ps__badge { top: 28px; }
.hus-ps--stories .hus-ps__copy { bottom: calc(40px + var(--bottom)); }
.hus-ps--stories .hus-ps__wall { top: 30%; }

/* ---------- homepage hero placement ---------- */
html:not(.hus-ps-on) #hus2-home-root main > :first-child:not(.hus-ps) > * { animation: hus-ps-hold 5s step-end both; }
@keyframes hus-ps-hold { from { visibility: hidden; } to { visibility: visible; } }
#hus2-home-root main > .hus-ps--hero + *, .hus-ps--hero + .hus-ch, .hus-ps--hero + .hus-ch + * { display: none !important; }
.hus-ps--pending { display: none; }

/* ---------- reduced motion: a plain readable section ---------- */
.hus-ps--static .hus-ps__track { height: auto; }
.hus-ps--static .hus-ps__stage { position: relative; height: auto; }
.hus-ps--static .hus-ps__scene { position: relative; visibility: visible; opacity: 1; min-height: 70vh; padding: 48px clamp(20px, 6vw, 96px); }
.hus-ps--static .hus-ps__scene--wall { display: none; }
.hus-ps--static .hus-ps__bg { position: absolute; }
.hus-ps--static .hus-ps__copy, .hus-ps--static .hus-ps__hero { position: relative; left: auto; right: auto; bottom: auto; width: auto; max-width: 640px; }
.hus-ps--static .hus-ps__spec { opacity: 1; transform: none; }
.hus-ps--static .hus-ps__word, .hus-ps--static .hus-ps__rail, .hus-ps--static .hus-ps__skip, .hus-ps--static .hus-ps__hint, .hus-ps--static .hus-ps__sweep { display: none; }
.hus-ps--static .hus-ps__cut { position: relative; left: auto; top: auto; transform: none; margin: 0 auto 24px; }
.hus-ps--static .hus-ps__pp { display: none; }
.hus-ps--static .hus-ps__note { position: static; padding: 16px clamp(20px, 6vw, 96px) 32px; text-align: left; opacity: 1; }
/* The opening film has no text on it, so it only gets a light shade at the very top and bottom (for the header,
   story bars and buttons). This must beat the heavier wall-scene scrims above, which exist for the closing card's text. */
.hus-ps .hus-ps__scene--bare .hus-ps__scrim { background: linear-gradient(180deg, rgba(5, 10, 8, .32) 0%, rgba(5, 10, 8, 0) 14%, rgba(5, 10, 8, 0) 86%, rgba(5, 10, 8, .28) 100%); }
/* Caption on the opening film: name, one line, the upgrades (each lights up while the film shows it), credentials.
   Only a soft shade low on the frame, so the house stays bright. */
.hus-ps .hus-ps__scene--cap .hus-ps__scrim { background: linear-gradient(90deg, rgba(5, 10, 8, .4) 0%, rgba(5, 10, 8, .1) 42%, rgba(5, 10, 8, 0) 62%), linear-gradient(180deg, rgba(5, 10, 8, .32) 0%, rgba(5, 10, 8, 0) 14%, rgba(5, 10, 8, 0) 50%, rgba(5, 10, 8, .34) 74%, rgba(5, 10, 8, .66) 100%); }
.hus-ps__cap { position: absolute; z-index: 3; left: clamp(24px, 5.5vw, 92px); right: clamp(24px, 5.5vw, 92px); bottom: calc(44px + var(--bottom)); max-width: 820px; pointer-events: none; animation: hus-ps-capin 1.1s .5s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes hus-ps-capin { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hus-ps__cap .hus-ps__title { font-size: clamp(2.6rem, 5vw, 5rem); }
.hus-ps__chaps { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 22px 0 0; padding: 0; list-style: none; }
.hus-ps__chap { position: relative; margin: 0; padding: 0 0 9px; font: 600 .8rem/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .58); text-shadow: 0 1px 12px rgba(0, 0, 0, .8); transition: color .5s; }
.hus-ps__chap::before, .hus-ps__chap i { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; }
.hus-ps__chap::before { background: rgba(255, 255, 255, .28); }
.hus-ps__chap i { background: var(--green-hi); transform: scaleX(0); transform-origin: 0 50%; transition: transform .3s linear; }
.hus-ps__chap.is-on, .hus-ps__chap.is-past { color: #fff; }
.hus-ps__cap .hus-ps__cred { margin-top: 16px; white-space: pre-line; color: rgba(255, 255, 255, .8); text-shadow: 0 1px 10px rgba(0, 0, 0, .85); }
@media (max-aspect-ratio: 1/1), (max-width: 819px) {
  .hus-ps .hus-ps__scene--cap .hus-ps__scrim { background: linear-gradient(180deg, rgba(5, 10, 8, .32) 0%, rgba(5, 10, 8, 0) 14%, rgba(5, 10, 8, 0) 46%, rgba(5, 10, 8, .38) 68%, rgba(5, 10, 8, .68) 100%); }
  .hus-ps__cap { left: 18px; right: 64px; bottom: calc(22px + var(--bottom)); }
  .hus-ps__cap .hus-ps__title { font-size: clamp(2rem, 9.4vw, 2.6rem); }
  .hus-ps__chaps { gap: 7px 15px; margin-top: 14px; }
  .hus-ps__chap { padding-bottom: 6px; font-size: .66rem; letter-spacing: .08em; }
  .hus-ps__cap .hus-ps__cred { margin-top: 12px; }
}
.hus-ps--static .hus-ps__cap { position: relative; left: auto; right: auto; bottom: auto; max-width: 640px; animation: none; }
@media (prefers-reduced-motion: reduce) { .hus-ps__cap, .hus-ps__chap i, .hus-ps__scene--wall .hus-ps__bg, .hus-ps__rail, .hus-ps__row, .hus-ps__wall, .hus-ps__swipe::after { transition: none !important; animation: none !important; } }
