/* /home hero: the 3D Dock harbour from the "Dock Home Hero" design. Source of truth: site/home.body.html (markup) + this file +
   public/home-hero.js (scroll behaviour + the three.js scene, a vanilla port of the design's <dock-scene>).
   three.js r184 is vendored flat in public/ (three.module.min.js + three.core.min.js) and loaded after first paint.
   Fallbacks: no WebGL / no JS -> poster image (home-hero-poster*.webp); reduced motion -> one static frame, no parallax. */
:root{--dh-nav:69px}
.dh{position:relative;height:200vh;margin-top:calc(-1 * var(--dh-nav));font-family:"IBM Plex Sans",system-ui,sans-serif;color:#16172E}
.dh-stage{position:sticky;top:0;height:100vh;overflow:hidden;background:#F5F6FB}
.dh-scene{position:absolute;inset:0;will-change:transform}
.dh-scene canvas{position:absolute;inset:0;width:100%;height:100%;display:block}
.dh-poster,.dh-poster img{position:absolute;inset:0;width:100%;height:100%;display:block}
.dh-poster img{object-fit:cover;object-position:50% 50%}
.dh-copy{position:absolute;left:clamp(20px,4vw,48px);top:clamp(96px,16vh,150px);max-width:520px;pointer-events:none;z-index:2}
.dh-eye{font-family:'IBM Plex Mono',monospace;font-weight:600;font-size:12px;line-height:1.55;letter-spacing:.1em;text-transform:uppercase;color:#7A7E9C;display:flex;align-items:center;gap:8px}
.dh-eye i{width:8px;height:8px;border-radius:2px;background:#2F54FF;display:block}
.dh h1{font-family:'Bricolage Grotesque',sans-serif;font-weight:800;font-size:clamp(56px,9vw,112px);letter-spacing:-.035em;line-height:.95;margin:10px 0 16px;color:#16172E}
.dh-sub{margin:0 0 24px;font-size:clamp(16px,1.6vw,19px);line-height:1.55;color:#43466A;text-wrap:pretty}
.dh-cta{display:flex;gap:10px;flex-wrap:wrap;pointer-events:auto}
.dh-btn{border:none;border-radius:11px;font-family:'IBM Plex Sans','Noto Sans HK','PingFang HK',-apple-system,sans-serif;font-weight:600;cursor:pointer;transition:all .18s ease;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:13px 22px;font-size:16px;line-height:normal;text-decoration:none}
.dh-pri{background:#2F54FF;color:#fff}
.dh-pri:hover{background:#1B34C7;color:#fff}
.dh-ghost{background:transparent;border:1px solid #E7E9F4;color:#16172E}
.dh-ghost:hover{color:#1B34C7}
.dh-btn:focus-visible,.dh-cue:focus-visible{outline:2px solid #2F54FF;outline-offset:3px}
.dh-cue{position:absolute;left:50%;bottom:28px;transform:translateX(-50%);z-index:2;display:flex;flex-direction:column;align-items:center;gap:8px;font-family:'IBM Plex Mono',monospace;font-weight:600;font-size:12px;line-height:1.55;letter-spacing:.1em;color:#7A7E9C;text-decoration:none}
.dh-cue:hover{color:#43466A}
.dh-cue i{width:1px;height:32px;background:#7A7E9C;display:block}
/* the existing content slides up over the sticky scene, as the design's <main> does */
#see.dh-next{position:relative;z-index:5;margin-top:-60vh;background-color:#fff;border-radius:28px 28px 0 0;box-shadow:0 -30px 60px -40px rgba(22,23,46,.35);scroll-margin-top:var(--dh-nav)}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.dh-btn{transition:none}.dh-scene{will-change:auto}}
