/* Local hero treatment: integrated pedestal artwork, no floating logo cards. */
.hero-backdrop img { object-fit: cover; object-position: right center; } /* full-res room scene fills the hero (2026-10-26) */
.hero .label-linux, .hero .scene-light { display: none; }
.linux-mouth { position: absolute; z-index: 1; pointer-events: none; opacity: 0; transform-origin: 50% 35%; }
.linux-mouth svg { display: block; width: 100%; height: 100%; }
.linux-speaking .linux-mouth { opacity: 1; animation: linux-talk 1.7s ease-in-out infinite; }
@keyframes linux-talk {
  0%,28%,58%,85%,100% { transform: scaleY(.05); opacity: 0; }
  12%,44% { transform: scaleY(.8); opacity: 1; }
  72% { transform: scaleY(.5); opacity: 1; }
}
.linux-greeting { position: absolute; z-index: 3; right: 6%; top: 12%; max-width: 260px; padding: 12px 16px; border: 1px solid #d8b97c44; border-radius: 14px; background: #102631ed; color: #e8ddc7; font-size: 13px; line-height: 1.8; pointer-events: none; opacity: 0; transition: opacity .2s; }
.linux-speaking .linux-greeting { opacity: 1; }
@media(max-width:1000px) and (min-width:601px) { .linux-greeting { top: 7%; right: 4%; max-width: 230px; font-size: 12px; } }
@media(max-width:600px) {
  .hero-backdrop img { object-fit: cover; object-position: right center; }
  .linux-greeting { top: auto; bottom: 267px; right: 18px; max-width: 220px; font-size: 11px; padding: 9px 12px; }
}
@media(prefers-reduced-motion:reduce) { .linux-mouth { display: none!important; } .linux-greeting { opacity: 1; transition: none; } }
.hero-backdrop{background:#08141e}.hero-backdrop img{mask-image:linear-gradient(to bottom,transparent 0%,#000 9%,#000 87%,transparent 100%)}
.hero .label-cloud{display:none}
/* Reuse the original courses character frames, keeping eyes and beak registered. */
.linux-mouth,.linux-speaking .linux-mouth{opacity:1;animation:none;transform:none}
.linux-mouth svg{overflow:visible}.local-tux-body{transform-origin:126px 291px}
.local-tux-blink,.local-tux-talk{opacity:0}
.linux-active .local-tux-body{animation:local-tux-breathe 5.5s ease-in-out infinite}
.linux-active .local-tux-blink{animation:local-tux-blink 6.8s linear infinite}
.linux-speaking .local-tux-talk{animation:local-tux-talk 3.8s ease-in-out infinite}
@keyframes local-tux-breathe{0%,100%{transform:rotate(-.6deg) scaleY(1)}50%{transform:rotate(.6deg) scaleY(1.012)}}
@keyframes local-tux-blink{0%,35%,40%,74%,79%,100%{opacity:0}36%,38%,75%,77%{opacity:1}}
@keyframes local-tux-talk{0%,48%,69%,100%{opacity:0}10%,22%,34%,51%,57%,63%,66%{opacity:1}16%,28%,60%{opacity:.1}}
@media(prefers-reduced-motion:reduce){.linux-mouth{display:block!important}.local-tux-body,.local-tux-blink,.local-tux-talk{animation:none!important}.local-tux-blink,.local-tux-talk{opacity:0!important}}

/* Anchor the greeting beside the beak rather than at the top of the hero. */
.linux-greeting{right:auto;bottom:auto;max-width:none;font-size:12px;padding:10px 13px;border-radius:12px;background:#102631f5}
.linux-greeting:after{content:"";position:absolute;right:-7px;top:42%;width:12px;height:12px;background:#102631;border-top:1px solid #d8b97c44;border-right:1px solid #d8b97c44;transform:rotate(45deg)}
@media(max-width:600px){.linux-greeting{font-size:10px;line-height:1.65;padding:8px 10px}}

/* Speech bubble sits to the right of the beak, with a left-facing tail. */
.linux-greeting{font-size:12px;text-wrap:pretty}
.linux-greeting:after{right:auto;left:-7px;top:18px;border:0;border-left:1px solid #d8b97c44;border-bottom:1px solid #d8b97c44}
@media(max-width:600px){.linux-greeting{font-size:10px;padding:8px;line-height:1.65}}
/* Subtle independent activity LEDs; baseline stays dimly lit. */
.rack-activity{position:absolute;z-index:0;pointer-events:none}
.rack-activity i{position:absolute;width:var(--led-size);height:var(--led-size);border-radius:50%;background:#9beaff;box-shadow:0 0 4px 1px #35bde980;opacity:.3;animation:rack-io var(--period) linear infinite;animation-delay:var(--delay);animation-play-state:paused}
.rack-activity.running i{animation-play-state:running}
@keyframes rack-io{0%,19%,27%,52%,61%,100%{opacity:.25}21%,24%,55%,58%{opacity:.88}75%,82%{opacity:.5}}
@media(prefers-reduced-motion:reduce){.rack-activity i{animation:none;opacity:.4}}
/* Bubble flipped to Tux's left on narrow screens: tail points right, toward the beak. */
.linux-greeting.linux-greeting-left:after{left:auto;right:-7px;border:0;border-top:1px solid #d8b97c44;border-right:1px solid #d8b97c44}
/* Speech driven by linux-greeting.js: beak frame follows the typed text instead of a free-running loop. */
.linux-speaking .local-tux-talk{animation:none}
.linux-mouth-open .local-tux-talk{opacity:1}
.linux-greeting-rest{visibility:hidden}
.linux-greeting{transition:opacity .45s ease}
.linux-greeting-line{color:#e4c181;font-weight:600}
/* Smaller artwork with complete racks retained; motion anchors follow image sizing. */
@media(min-width:1001px){
 .hero .hero-backdrop img{object-fit:contain;object-position:right center;}
}
/* Compact desktop hero, retaining readable text and full artwork. */
@media(min-width:1001px){
 .hero .hero-grid{min-height:560px;padding-top:24px;padding-bottom:24px;}
 .hero .scene{height:490px;}
 .hero .hero-bottom{padding-top:12px;padding-bottom:14px;}
 .hero h1{margin-top:18px;margin-bottom:18px;}
 .hero .hero-proof{margin-top:24px;}
}
/* Never show the sprite/bubble before position() has run (e.g. image still loading): avoids a 'fallen' Tux. */
.hero:not(.linux-placed) .linux-mouth,.hero:not(.linux-placed) .linux-greeting{visibility:hidden}
