/* How it works — its OWN rendered artwork (media/coast/workflow-five.webp, 2026-11-17): five frosted-glass stages on
   ONE mint thread, in the homepage's material. Labels, the passport's details and the light are drawn over it in
   SVG; the stages are the selectors.
   Illustrative: nothing runs here and no passport is issued. */
.hf{display:block!important;grid-template-columns:none!important}
.hf-row{margin:4px 0 0}
.hf-scroll{overflow:visible}
.hf-canvas{position:relative}
.hs-scene{display:block;width:100%;height:auto;overflow:visible;font-family:Manrope,Inter,system-ui,sans-serif}
/* captions and the passport's details: real text over the render */
.hs-title{font-size:45px;font-weight:680;fill:#1f2433;text-anchor:middle;letter-spacing:-.02em}
.hs-line{font-size:30px;font-weight:460;fill:#5d6680;text-anchor:middle}
.hs-doc-brand{font-size:40px;font-weight:750;fill:#333d57}
.hs-doc-title{font-size:62px;font-weight:650;fill:#212f47;letter-spacing:-.02em}
.hs-doc-id{font-size:24px;fill:#7a8299}
.hs-doc-k{font-size:32px;fill:#717990}.hs-doc-v{font-size:32px;font-weight:600;fill:#34425b;text-anchor:end}
.hs-doc-rule{stroke:#b9bfd2;stroke-width:2.2;opacity:.7;fill:none}.hs-doc-bar{fill:#748097;opacity:.45}
.hs-ok{fill:#5fc7a6;stroke:#fff;stroke-width:4}.hs-ok-mark{fill:none;stroke:#fff;stroke-width:6;stroke-linecap:round;stroke-linejoin:round}
/* the chosen stage stands in the light; the others step back a little */
.hs-veil{fill:#f0f5f9;opacity:.2;transition:opacity .7s ease}
.hs-halo{fill:none;stroke:#7fefd6;stroke-width:26;opacity:0;filter:url(#hsGlow);transition:opacity .7s ease}
.hs-edge{fill:none;stroke:#8ff0d9;stroke-width:5;stroke-linejoin:round;opacity:0;transition:opacity .7s ease}
polygon.hs-halo,polygon.hs-edge,polygon.hs-veil{stroke-linejoin:round}
polygon.hs-edge{opacity:0!important}
polygon.hs-halo{stroke-width:16}
.hf[data-step="3"] polygon.hs-halo[data-card="3"]{opacity:.34}
.hs-cap,.hs-doc{opacity:.82;transition:opacity .7s ease}
.hf[data-step="0"] .hs-veil[data-card="0"],.hf[data-step="1"] .hs-veil[data-card="1"],.hf[data-step="2"] .hs-veil[data-card="2"],.hf[data-step="3"] .hs-veil[data-card="3"],.hf[data-step="4"] .hs-veil[data-card="4"]{opacity:0}
.hf[data-step="0"] .hs-halo[data-card="0"],.hf[data-step="1"] .hs-halo[data-card="1"],.hf[data-step="2"] .hs-halo[data-card="2"],.hf[data-step="3"] .hs-halo[data-card="3"],.hf[data-step="4"] .hs-halo[data-card="4"]{opacity:.55}
.hf[data-step="0"] .hs-edge[data-card="0"],.hf[data-step="1"] .hs-edge[data-card="1"],.hf[data-step="2"] .hs-edge[data-card="2"],.hf[data-step="4"] .hs-edge[data-card="4"]{opacity:.95}
.hf[data-step="0"] .hs-cap[data-card="0"],.hf[data-step="1"] .hs-cap[data-card="1"],.hf[data-step="2"] .hs-cap[data-card="2"],.hf[data-step="3"] .hs-doc,.hf[data-step="4"] .hs-cap[data-card="4"]{opacity:1}
/* light travelling along the thread INTO the chosen stage */
.hs-flow{fill:none;stroke:#fff;stroke-width:9;stroke-linecap:round;stroke-dasharray:22 78;stroke-dashoffset:100;opacity:0;filter:drop-shadow(0 0 10px #7fefd6)}
.hf[data-step="1"] .hs-flow[data-gap="0"],.hf[data-step="2"] .hs-flow[data-gap="1"],.hf[data-step="3"] .hs-flow[data-gap="2"],.hf[data-step="4"] .hs-flow[data-gap="3"]{opacity:1;animation:hs-flow 1.9s linear infinite}
@keyframes hs-flow{from{stroke-dashoffset:100}to{stroke-dashoffset:0}}
.how-motion-paused .hs-flow{animation-play-state:paused}
/* what comes back */
.hs-return{opacity:0;transition:opacity .7s ease}
.hs-return path{fill:none;stroke:#6ccdb6;stroke-width:4;stroke-dasharray:3 15;stroke-linecap:round}
.hs-return .hs-arrow{stroke-dasharray:none;stroke-linejoin:round}
.hs-return text{font-size:29px;font-weight:560;fill:#3f8f7c;text-anchor:middle;paint-order:stroke;stroke:#f3f8fc;stroke-width:16px;stroke-linejoin:round}
.hf[data-step="3"] .hs-return-a,.hf[data-step="4"] .hs-return-b{opacity:1}
/* the selectors: one column per stage over the scene, the numbered rail beneath */
.hf .hf-stages{position:absolute;inset:0;list-style:none;margin:0;padding:0;display:grid;grid-template-columns:20.74% 19.53% 19.3% 19.66% 20.77%}
.hf .hf-stages li{min-width:0;display:flex}
.hf .hf-stages button{all:unset;box-sizing:border-box;flex:1;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;cursor:pointer;-webkit-tap-highlight-color:transparent;border-radius:30px;padding-bottom:0}
.hf .hf-stages button:focus-visible{outline:2px solid #5fbfa8;outline-offset:-4px}
.hf-step{display:flex;flex-direction:column;align-items:center;gap:7px;font-family:Manrope,Inter,system-ui,sans-serif}
.hf-step i{font-style:normal;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;font:600 10px/1 ui-monospace,SFMono-Regular,Menlo,monospace;color:#587ca5;background:#ffffffd9;border:1px solid #d0e0ef;box-shadow:0 2px 8px #6098d71a;transition:background .5s,color .5s,border-color .5s,box-shadow .5s}
.hf-step em{font-style:normal;font-size:12px;font-weight:560;color:#587ca5;transition:color .5s}
.hf-stages button[aria-pressed=true] .hf-step i{background:#5fbfa8;border-color:#5fbfa8;color:#fff;box-shadow:0 0 0 5px #8ff3dc47}
.hf-stages button[aria-pressed=true] .hf-step em{color:#1f2433}
.hf[data-step="1"] li:nth-child(-n+1) .hf-step i,.hf[data-step="2"] li:nth-child(-n+2) .hf-step i,.hf[data-step="3"] li:nth-child(-n+3) .hf-step i,.hf[data-step="4"] li:nth-child(-n+4) .hf-step i{border-color:#8fd9c6;color:#3f8f7c;background:#ecfbf6}
.hf-canvas{padding-bottom:62px}
/* the detail of the chosen stage */
.hf .hf-detail{margin-top:22px;display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:10px 56px;align-items:start;padding:30px 36px 28px;background:linear-gradient(145deg,#ffffffd9,#f0f6fbd1);border:1px solid #d7e6f5;border-radius:22px;box-shadow:0 18px 40px #6098d714;backdrop-filter:blur(10px)}
.hf .hf-detail .how-stage-meta{grid-column:1/-1;margin:0 0 14px}
.hf .hf-detail h3{margin:10px 0 0;font-size:clamp(22px,2.1vw,29px);line-height:1.18;font-weight:500;letter-spacing:-.03em}
.hf .hf-detail .eyebrow{font-size:9px;color:#527dae}
.hf .hf-detail-body p{margin:6px 0 16px;min-height:6.2em;font-size:14px;line-height:1.8;color:#55607c}
.hf .hf-detail-body a{font-size:13px;color:#2f7d6c;text-decoration:none;min-height:32px;display:inline-flex;align-items:center;font-weight:550}
.hf .hf-detail-body a:hover{text-decoration:underline}
@media (max-width:900px){
 .hf .hf-detail{grid-template-columns:1fr;gap:0;padding:24px 22px}
 .hf .hf-detail-body p{margin:14px 0 12px;min-height:0}
 .hf .hf-detail .how-stage-meta{margin-bottom:12px}
}
@media (max-width:760px){
 /* a phone: the same connected scene, wider than the screen and scrolled sideways; the chosen stage sits in the middle */
 .hf-row{margin:0 calc(-1*var(--how-gutter,22px))}
 .hf-scroll{overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;scrollbar-width:none;scroll-snap-type:x proximity}
 .hf-scroll::-webkit-scrollbar{display:none}
 .hf-canvas{width:1240px;margin:0 calc(50vw - 128px)}
 .hf .hf-stages li{scroll-snap-align:center}
 /* the floating assistant tab steps aside while the artwork is on screen (how.js sets the class) */
 .consultant-launcher{transition:opacity .3s ease,transform .3s ease,visibility 0s linear 0s}
 body.how-art-in-view .consultant-launcher{opacity:0;transform:translateX(24px);pointer-events:none;visibility:hidden;transition:opacity .3s ease,transform .3s ease,visibility 0s linear .3s}
 /* the return paths span the whole row: on a phone only a piece would show */
 .hs-return{display:none}
}
@media (prefers-reduced-motion:reduce){.hs-veil,.hs-halo,.hs-edge,.hs-cap,.hs-doc,.hs-return,.hf-step i,.hf-step em{transition:none}.hs-flow{animation:none!important;opacity:0!important}}
