/* Homepage opening sequence (12 October 2026): the hero is a charcoal stage with a canvas (home-intro.js), a small
   HUD in the corners, the "Room Intelligence" title card and, after the sequence, the headline. The hero stays
   charcoal in the light theme (it is a KEEP scope of the light-theme generator), so these rules have no light version.
   Weights stay 300–500 and no text is under 11 px (site rules). */

.hero.hero-show{--show-foot:96px;height:min(82vh,780px);min-height:560px;background:#161818;isolation:isolate;cursor:default}
/* The three entry cards overlap the foot of the hero by 72 px (40 px on narrow screens), so the HUD's bottom row sits above them (--show-foot). */
.hero-show .show-stage{position:absolute;inset:0;width:100%;height:100%;display:block;z-index:0}
.hero-show .hero-shade{z-index:1;background:radial-gradient(110% 95% at 50% 50%,transparent 45%,#161818 100%)}
.hero-show .show-text-shade{position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,#161818e6 0%,#161818a6 38%,transparent 68%)}

/* The frame: four corner marks and the HUD */
.show-hud{position:absolute;inset:0;z-index:2;pointer-events:none;opacity:0;font-size:11px;font-weight:500;letter-spacing:2px;color:#939898;font-variant-numeric:tabular-nums}
.hero-show.is-hud .show-hud{opacity:1}
.hero-show.is-landed .show-hud{opacity:.75}
.show-hud>div{position:absolute;display:flex;align-items:center;gap:10px}
.show-hud-tl{left:28px;top:24px}
.show-hud-tr{right:28px;top:24px;color:#dcdede;flex-direction:row-reverse}
.show-hud-bl{left:28px;bottom:var(--show-foot)}
.show-hud-dot{width:6px;height:6px;border-radius:50%;background:#c5a77b;box-shadow:0 0 0 3px #c5a77b2e;animation:show-pulse 1.1s ease-in-out infinite}
.show-hud-dot.is-steady{background:#def29b;box-shadow:0 0 0 3px #def29b2e;animation:none}
@keyframes show-pulse{0%,100%{opacity:1;box-shadow:0 0 0 3px #c5a77b2e}50%{opacity:.45;box-shadow:0 0 0 6px #c5a77b14}}
.show-meter{display:flex;gap:3px;align-items:flex-end;height:16px}
.show-meter i{display:block;width:3px;height:calc(16px * var(--lvl,.1));min-height:2px;border-radius:1px;background:#c5a77b;opacity:.85;transition:height .09s linear}
.show-meter i:nth-child(n+11){background:#def29b}
.show-frame i{position:absolute;width:18px;height:18px;border:1px solid #c5a77b80;z-index:2;pointer-events:none}
.show-frame i:nth-child(1){left:14px;top:14px;border-right-color:transparent;border-bottom-color:transparent}
.show-frame i:nth-child(2){right:14px;top:14px;border-left-color:transparent;border-bottom-color:transparent}
.show-frame i:nth-child(3){left:14px;bottom:calc(var(--show-foot) - 10px);border-right-color:transparent;border-top-color:transparent}
.show-frame i:nth-child(4){right:14px;bottom:calc(var(--show-foot) - 10px);border-left-color:transparent;border-top-color:transparent}

/* The title card */
.show-title{position:absolute;left:50%;top:50%;z-index:3;transform:translate(-50%,-50%);text-align:center;white-space:nowrap;opacity:0;pointer-events:none}
.show-title-word{display:block;font-weight:300;font-size:clamp(30px,6.4vw,92px);line-height:1.08;letter-spacing:.16em;text-transform:uppercase;color:#dcdede;opacity:0}
.show-title-word+.show-title-word{color:#c5a77b;font-weight:400}
.show-title-rule{display:block;height:1px;width:0;margin:22px auto 0;background:linear-gradient(90deg,transparent,#c5a77b,transparent)}
.show-title.is-on{opacity:1}
.show-title.is-on .show-title-word{animation:show-word 2.4s cubic-bezier(.16,.7,.2,1) forwards}
.show-title.is-on .show-title-word:nth-child(2){animation-delay:.4s}
.show-title.is-on .show-title-rule{animation:show-rule 1.4s 1.3s cubic-bezier(.2,.7,.2,1) forwards}
@keyframes show-word{from{opacity:0;letter-spacing:.48em;filter:blur(14px);transform:translateY(8px)}55%{opacity:1}to{opacity:1;letter-spacing:.16em;filter:blur(0);transform:none}}
@keyframes show-rule{to{width:min(58vw,520px)}}
.show-title.is-off{transition:opacity 1.2s ease,transform 1.2s cubic-bezier(.2,.7,.2,1);opacity:0;transform:translate(-50%,-60%) scale(.96)}
/* Once the headline is up the sequence loops beside it: the cards and the light sweep move to the stage's side box */
.hero-show.is-landed .show-title{left:71%;top:calc(50% - 20px)}
.hero-show.is-landed .show-title-word{font-size:clamp(20px,3.3vw,50px)}
.hero-show.is-landed .show-title.is-on .show-title-rule{animation-name:show-rule-side}
@keyframes show-rule-side{to{width:min(34vw,300px)}}
.hero-show.is-landed .show-flare.is-on{animation-name:show-flare-side}
@keyframes show-flare-side{0%{opacity:0;left:40%}12%{opacity:.9}88%{opacity:.9}100%{opacity:0;left:102%}}
.show-flare{position:absolute;top:30%;bottom:30%;left:-6%;width:2px;z-index:3;pointer-events:none;opacity:0;background:linear-gradient(180deg,transparent,#def29b,#c5a77b,transparent);box-shadow:0 0 24px 6px #c5a77b4d}
.show-flare.is-on{animation:show-flare 2.4s .5s cubic-bezier(.3,.6,.2,1) forwards}
@keyframes show-flare{0%{opacity:0;left:-6%}12%{opacity:.9}88%{opacity:.9}100%{opacity:0;left:106%}}

/* The headline: there from the first paint, never animated (owner, 12 October 2026) */
.hero-show .hero-content{z-index:4;top:50%;transform:translateY(-50%)}
.hero-show .hero-kicker,.hero-show .hero-content h1 .h1-kicker{color:#c5a77b}
.hero-show .hero-kicker i{background:#def29b;box-shadow:0 0 0 4px #def29b1f}
.hero-show .hero-content p{color:#dcdede}
.hero-show .hero-link{color:#dcdede;border-bottom-color:#c5a77b80}
.hero-show .hero-link:hover{color:#fff;border-bottom-color:#c5a77b}
.hero-show .hero-providers{display:none}


@media (prefers-reduced-motion:reduce){
  .show-hud-dot,.show-title.is-on .show-title-word,.show-title.is-on .show-title-rule,.show-flare.is-on{animation:none}
  .show-title.is-on .show-title-word{opacity:1}
  .show-title.is-off{transition:none}
}
@media (max-width:1100px){.show-title-word{font-size:clamp(28px,6vw,72px)}}
@media (max-width:900px){.hero.hero-show{--show-foot:58px}}
@media (max-width:700px){
  .hero.hero-show{height:640px;min-height:0}
  .hero-show .hero-content{top:8%;transform:none;left:7%;right:7%}
  .hero-show .show-text-shade{background:linear-gradient(180deg,#161818e6 0%,#161818a6 42%,transparent 72%)}
  .show-hud-tl,.show-hud-bl{left:16px}.show-hud-tr{right:16px}.show-hud-tl,.show-hud-tr{top:16px}
  .show-frame i:nth-child(odd){left:8px}.show-frame i:nth-child(even){right:8px}.show-frame i:nth-child(-n+2){top:8px}
  .show-hud-bl span{max-width:52vw;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .show-hud-tr .show-meter{display:none}
  .show-title-word{font-size:clamp(24px,7.4vw,34px);letter-spacing:.14em}
  .hero-show.is-landed .show-title{left:50%;top:77%}
  .hero-show.is-landed .show-title-word{font-size:20px}
  .hero-show.is-landed .show-flare{top:62%;bottom:14%}
  .hero-show.is-landed .show-flare.is-on{animation-name:show-flare}
  @keyframes show-word{from{opacity:0;letter-spacing:.4em;filter:blur(10px);transform:translateY(6px)}55%{opacity:1}to{opacity:1;letter-spacing:.14em;filter:blur(0);transform:none}}
}
@media (max-width:360px){.show-title-word{font-size:22px}.show-hud-bl{display:none}}
