.hero-photo-steam { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .7s ease; }
.hero-photo-steam canvas { display: block; width: 100%; height: 100%; }
.hero[data-photo-steam="ready"] .hero-photo-steam { opacity: 1; }
.hero .hero-photo { position: absolute; inset: 0; }
.hero .hero-copy, .hero .hero-scroll { z-index: 2; }
.hero .hero-copy { pointer-events: none; }
.hero .hero-copy a { pointer-events: auto; }
.hero-tools { position: absolute; right: 24px; bottom: 14px; z-index: 3; display: flex; gap: 6px; }
.hero-tools[hidden], .hero-tools [hidden] { display: none !important; }
.hero-tool { position: relative; width: 40px; height: 40px; display: grid; place-items: center; background: #18231ecc; color: #fff; border: 1px solid #ffffff4d; border-radius: 4px; }
.hero-tool:hover { background: #36423b; border-color: #fff; }
.hero-tool[aria-pressed="true"] { border-color: #ece5d3; }
.hero-tool svg { display: block; width: 18px; height: 18px; }
.hero-tool::after { content: attr(aria-label); position: absolute; right: 0; bottom: calc(100% + 9px); padding: 7px 10px; color: #fff; background: #17211d; font: 11px/1.5 var(--sans); white-space: nowrap; border: 1px solid #ffffff4d; opacity: 0; visibility: hidden; pointer-events: none; }
.hero-tool:hover::after, .hero-tool:focus-visible::after { opacity: 1; visibility: visible; }
@media (max-width: 700px) {
  .hero#top { height: min(560px, calc(100svh - 245px)); min-height: 340px; }
  .hero .hero-copy { top: 24px; left: 24px; width: calc(100% - 48px); }
  .hero .hero-copy .button { margin-top: 16px; }
  .hero-tools { right: 14px; bottom: 13px; gap: 5px; }
  .hero-tool { width: 38px; height: 38px; }
  .hero .hero-scroll { display: none; }
}
@media (max-width: 700px) and (max-height: 714px) {
  .hero .hero-copy { top: 16px; }
  .hero .hero-copy h1 { font-size: 42px; line-height: 1.25; }
  .hero .hero-subtitle { font-size: 16px; line-height: 1.6; }
  .hero .hero-copy .button { margin-top: 12px; min-height: 38px; padding: 8px 14px; }
}
@media (max-width: 360px) {
  .hero .hero-copy { left: 18px; width: calc(100% - 36px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-photo-steam { transition: none; }
  .hero[data-photo-steam="ready"] .hero-photo-steam { opacity: 0; }
}
