/* Amazon style full screen layer (Ryan TG 11/25 10:37): edge to edge content, floating see through icon dock.
   Closed screen and landscape: vertical dock on the right. Open screen portrait (wide): bottom pill. */
html,body{background:var(--bg)}
body{padding-left:env(safe-area-inset-left,0px);padding-right:env(safe-area-inset-right,0px)}

/* Full width: no fixed 1200px column leaving dead bands on big screens */
.wrap{max-width:none;padding-inline:clamp(16px,3.2vw,56px)}
@media (min-width:1600px){.wrap{padding-inline:clamp(56px,4vw,96px)}}

/* Header floats over the picture, see through, like the Amazon top bar */
.site-head{position:fixed;left:0;right:0;background:linear-gradient(180deg,rgba(8,13,23,.78),rgba(8,13,23,0));backdrop-filter:none;-webkit-backdrop-filter:none;border-bottom:0!important}
.site-head.scrolled{background:rgba(8,13,23,.55);backdrop-filter:blur(18px) saturate(150%);-webkit-backdrop-filter:blur(18px) saturate(150%)}
.site-head .nav{display:none!important}
.tape{margin-top:calc(68px + env(safe-area-inset-top,0px))}

/* Quick icon dock removed (Ryan TG 12/1 08:07): its links are in the header Menu */
[id]{scroll-margin-top:96px}

html[data-theme="light"] .site-head{background:linear-gradient(180deg,rgba(245,247,251,.85),rgba(245,247,251,0))}

/* Phone fix 11/25: grid children never wider than the column, so text stays clear of the dock */
.hero-grid>*{min-width:0}
@media (max-width:999px){.hero-grid{grid-template-columns:minmax(0,1fr)}}
.hero h1{overflow-wrap:anywhere}

.hright:has(>#gwho:not([hidden]))>.thm{display:none}
#gmenu .gmi{display:none;width:22px;height:22px}
@media (max-width:719px){#gmenu{display:inline-grid;place-items:center;width:40px;height:40px;padding:0;background:none;box-shadow:none;border:0}#gmenu .gml{display:none}#gmenu .gmi{display:block}}
@media (max-width:519px){#gmenu{width:32px;height:32px}#gmenu .gmi{width:20px;height:20px}}
