.fhgd .fhgd-stage{pointer-events:none;transition:none}
.fhgd .fhgd-devices{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(96%,var(--fhgd-logo-width),calc((100svh - 160px)*1.3));aspect-ratio:1.3;pointer-events:auto}
/* Keep navigation inside the visible page, including wide Avada containers. */
.fhgd .fhgd-nav{right:calc(var(--fhgd-right-clip,0px) + var(--fhgd-nav-inset,44px));padding:6px;max-height:60%;gap:4px}
.fhgd .fhgd-dot{width:36px;height:36px;min-width:36px}
.fhgd .fhgd-dot .fhgd-nav-icon{width:var(--fhgd-nav-icon-size,16px)!important;height:var(--fhgd-nav-icon-size,16px)!important;max-width:none}
.fhgd .fhgd-details{right:max(8%,calc(var(--fhgd-right-clip,0px) + var(--fhgd-nav-inset,44px) + 54px))}
.fhgd .fhgd-scroll-hint{left:50%;right:auto;transform:translateX(-50%);width:max-content;max-width:calc(100% - 48px);padding:11px 20px;margin:0;border:1px solid var(--fhgd-active-panel-border,rgba(255,255,255,.2));border-radius:999px;background:var(--fhgd-active-panel-fill,rgba(255,255,255,.09));backdrop-filter:blur(var(--fhgd-active-panel-blur,16px));-webkit-backdrop-filter:blur(var(--fhgd-active-panel-blur,16px));color:var(--fhgd-active-text,#fff);font-weight:600;opacity:1;cursor:pointer;pointer-events:auto;white-space:normal}
.fhgd .fhgd-scroll-hint:hover{filter:brightness(1.15)}
.fhgd .fhgd-scroll-hint[hidden]{display:none}
@media(max-width:700px){
 .fhgd .fhgd-nav{right:calc(var(--fhgd-right-clip,0px) + var(--fhgd-nav-inset-mobile,18px));padding:4px;gap:2px}
 .fhgd .fhgd-dot{width:32px;height:32px;min-width:32px}
 .fhgd .fhgd-details{right:calc(var(--fhgd-right-clip,0px) + var(--fhgd-nav-inset-mobile,18px) + 44px)}
 .fhgd .fhgd-scroll-hint{padding:10px 14px;bottom:12px;font-size:8px;letter-spacing:1px}
}

.fhgd .fhgd-devices{container-type:inline-size;font-family:var(--fhgd-body-font);pointer-events:none}
.fhgd .fhgd-art{position:absolute;margin:0;padding:0;left:var(--fhgd-card-x);top:var(--fhgd-card-y);width:var(--fhgd-card-width);transform:translate(-50%,-50%) rotate(var(--fhgd-card-rotation));opacity:1;transition:left .95s cubic-bezier(.22,.75,.2,1),top .95s cubic-bezier(.22,.75,.2,1),transform .95s cubic-bezier(.22,.75,.2,1),opacity .6s;transition-delay:calc(var(--fhgd-i)*65ms);filter:drop-shadow(0 16px 18px #20103335);pointer-events:auto}
.fhgd[data-fhgd-ready] .fhgd-slide:not(.fhgd-active) .fhgd-art{opacity:0;transform:translate(-50%,-40%) scale(.94)}
.fhgd[data-fhgd-ready] .fhgd-slide[data-layout=collection]:not(.fhgd-active) .fhgd-art{left:50%;top:50%;transform:translate(-50%,-50%) rotate(0) scale(.35)}
.fhgd .fhgd-art-image{display:block;width:auto;max-width:100%;height:auto;max-height:48cqw;object-fit:contain;margin:0 auto;background:none;border:0;border-radius:8px}
.fhgd .fhgd-placeholder{aspect-ratio:var(--fhgd-ratio);background:var(--fhgd-placeholder);color:var(--fhgd-placeholder-text);border:1px solid #ffffff45;border-radius:8px;padding:8%;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden}
.fhgd .fhgd-placeholder span{font:500 1.7cqw/1.3 var(--fhgd-body-font);opacity:.6}
.fhgd .fhgd-placeholder strong{font:600 clamp(9px,2.2cqw,22px)/1.25 var(--fhgd-heading-font);overflow-wrap:anywhere}
.fhgd .fhgd-image-frame{position:relative;width:fit-content;max-width:100%;margin:0 auto;border-radius:8px;overflow:hidden;isolation:isolate;clip-path:inset(0 round 8px);-webkit-clip-path:inset(0 round 8px)}
.fhgd .fhgd-image-frame:has(.fhgd-placeholder){width:100%}
.fhgd .fhgd-image-caption{position:absolute;left:0;right:0;bottom:0;z-index:1;border-radius:0 0 8px 8px;clip-path:inset(0 round 0 0 8px 8px);padding:clamp(6px,1.5cqw,16px);background:rgba(20,14,32,.62);border-top:1px solid rgba(255,255,255,.2);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);text-align:left;font:500 clamp(9px,2cqw,18px)/1.4 var(--fhgd-body-font);color:#fff;white-space:pre-line;overflow-wrap:anywhere;max-height:65%;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
.fhgd .fhgd-platforms:empty{display:none}.fhgd .fhgd-client-logo{max-width:140px;max-height:44px;object-fit:contain;margin-bottom:12px}
.fhgd .fhgd-badge{display:inline-block;border:1px solid currentColor;border-radius:20px;padding:4px 10px;font-size:10px}
.fhgd .fhgd-caption{opacity:1;max-width:80%;bottom:80px}.fhgd .fhgd-bottom-heading{font:var(--fhgd-heading-weight) var(--fhgd-bottom-size,24px)/1.25 var(--fhgd-heading-font)!important;color:var(--fhgd-text)!important;margin:0!important}.fhgd .fhgd-caption span{opacity:.7}
.fhgd .fhgd-nav{overflow-y:auto;scrollbar-width:none;max-height:78%;color:var(--fhgd-active-text)}
.fhgd .fhgd-nav-number{font:600 10px/1 var(--fhgd-body-font);color:var(--fhgd-active-text)}
.fhgd .fhgd-scroll-hint{transition:background .25s,box-shadow .25s;display:flex;align-items:center;gap:16px;letter-spacing:1.4px;font-size:9px}
.fhgd .fhgd-scroll-hint::after{content:'↓';display:grid;place-items:center;border:1px solid currentColor;border-radius:50%;width:24px;height:24px;flex:none;transition:transform .25s,background .25s;font-size:13px}
.fhgd .fhgd-scroll-hint:hover::after{transform:translateY(2px);background:#ffffff12}
@media(min-width:701px){.fhgd .fhgd-details{top:20%}}
@media(max-width:700px){
.fhgd .fhgd-devices{width:min(80%,var(--fhgd-logo-mobile),calc((100svh - 60px)*.60))}
.fhgd .fhgd-art{left:var(--fhgd-card-mx);top:var(--fhgd-card-my);width:var(--fhgd-card-mwidth)}
.fhgd .fhgd-details{top:47%;bottom:17%;left:20px;right:20px}
.fhgd .fhgd-nav{top:25%;max-height:40%;right:calc(var(--fhgd-right-clip,0px) + var(--fhgd-nav-inset-mobile,18px));padding:2px;gap:0}
.fhgd .fhgd-dot{width:24px;height:24px;min-width:24px;flex-shrink:0}
.fhgd .fhgd-caption{bottom:65px;left:22px;right:22px}.fhgd .fhgd-bottom-heading{font-size:var(--fhgd-bottom-mobile,16px)!important}
.fhgd .fhgd-scroll-hint{padding:8px 13px;font-size:8px;gap:12px}.fhgd .fhgd-scroll-hint::after{width:21px;height:21px}
}
@media(prefers-reduced-motion:reduce){.fhgd .fhgd-art,.fhgd .fhgd-scroll-hint::after{transition:none!important}}

/* Five-image collection: 10% smaller than v1.0.3, including tall artwork. */
.fhgd .fhgd-slide[data-layout="collection"] .fhgd-art{width:calc(var(--fhgd-card-width)*1.08)}
.fhgd .fhgd-slide[data-layout="collection"] .fhgd-art-image{max-height:51.84cqw}
@media(max-width:700px){.fhgd .fhgd-slide[data-layout="collection"] .fhgd-art{width:calc(var(--fhgd-card-mwidth)*1.08)}}

/* Slightly wider desktop spacing; mobile positions stay the same. */
@media(min-width:701px){.fhgd .fhgd-slide[data-layout="collection"] .fhgd-art{left:calc(50% + (var(--fhgd-card-x) - 50%)*1.08);top:calc(50% + (var(--fhgd-card-y) - 50%)*1.08)}}

/* Per-slide and per-image size controls also scale portrait height limits. */
.fhgd .fhgd-slide[data-layout] .fhgd-art-image{max-height:var(--fhgd-image-max-height,48cqw)}
@media(max-width:700px){.fhgd .fhgd-slide[data-layout] .fhgd-art-image{max-height:var(--fhgd-image-max-height-mobile,48cqw)}}
