/* House of Gardner Technologies — unified site bar */
#hgt-bar{position:fixed;top:0;left:0;right:0;height:34px;z-index:2147483000;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 16px;
  background:rgba(5,6,10,.94);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid rgba(212,170,90,.28);
  font-family:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,monospace;font-size:10.5px;letter-spacing:.2em;text-transform:uppercase;line-height:1;box-sizing:border-box}
#hgt-bar *{box-sizing:border-box;margin:0;padding:0}
#hgt-bar a{color:rgba(239,230,210,.72);text-decoration:none;transition:color .3s}
#hgt-bar a:hover,#hgt-bar a:focus-visible{color:#e3b544}
#hgt-bar a.on{color:#e3b544}
#hgt-bar .hb-brand{display:flex;align-items:center;gap:9px;white-space:nowrap;color:#efe6d2;font-family:"Cormorant Garamond",Georgia,serif;font-size:13px;letter-spacing:.24em;font-weight:500}
#hgt-bar .hb-brand img{height:20px;width:auto;display:block}
#hgt-bar .hb-links{display:flex;align-items:center;gap:22px;height:100%}
#hgt-bar .hb-dd{position:relative;height:100%;display:flex;align-items:center}
#hgt-bar .hb-dd>button,#hgt-bar .hb-menu{background:none;border:0;cursor:pointer;color:rgba(239,230,210,.72);font:inherit;letter-spacing:inherit;text-transform:inherit;display:flex;align-items:center;gap:6px;height:100%}
#hgt-bar .hb-dd>button:hover,#hgt-bar .hb-dd.open>button,#hgt-bar .hb-dd>button.on,#hgt-bar .hb-menu:hover{color:#e3b544}
#hgt-bar .hb-caret{font-size:8px;opacity:.8}
#hgt-bar .hb-panel{display:none;position:absolute;top:34px;right:-12px;min-width:250px;padding:8px 0;background:rgba(7,8,13,.98);border:1px solid rgba(212,170,90,.3);border-top:0;box-shadow:0 18px 40px rgba(0,0,0,.55)}
#hgt-bar .hb-dd.open .hb-panel{display:block}
@media (hover:hover){#hgt-bar .hb-dd:hover .hb-panel{display:block}}
#hgt-bar .hb-panel a{display:block;padding:11px 18px;white-space:nowrap}
#hgt-bar .hb-panel .hb-sep{height:1px;margin:6px 18px;background:rgba(212,170,90,.18)}
#hgt-bar .hb-panel .hb-head{padding:9px 18px 5px;color:rgba(212,170,90,.6);font-size:9px}
#hgt-bar .hb-mdd{display:none}
#hgt-bar .hb-mobile{right:0;left:auto}
@media (max-width:860px){
  #hgt-bar{padding:0 12px}
  #hgt-bar .hb-links{display:none}
  #hgt-bar .hb-mdd{display:flex}
  #hgt-bar .hb-brand{font-size:11.5px;letter-spacing:.18em}
  #hgt-bar .hb-mdd{position:static}
  #hgt-bar .hb-mdd .hb-panel{left:0;right:0;width:100%;min-width:0;max-height:calc(100dvh - 34px);overflow:auto}
}
@media (max-width:360px){#hgt-bar .hb-brand span{display:none}}
@media print{#hgt-bar{display:none}}
/* step aside for full-screen viewers: deck close-up, estate modals, browser full screen */
body:has(#lb.show) #hgt-bar,body:has(.modal-root.open) #hgt-bar,html:fullscreen #hgt-bar{display:none}
/* page offsets so the bar never covers content */
html.hgt-bar:not(:fullscreen).hgt-m-page body{padding-top:34px}
html.hgt-bar:not(:fullscreen).hgt-m-estate body{padding-top:34px}
html.hgt-bar:not(:fullscreen).hgt-m-estate body>nav,html.hgt-bar:not(:fullscreen).hgt-m-estate header.nav{top:34px!important}
html.hgt-bar:not(:fullscreen).hgt-m-estate{scroll-padding-top:110px}
html.hgt-bar:not(:fullscreen).hgt-m-spa body{padding-top:34px}
html.hgt-bar:not(:fullscreen).hgt-m-spa [data-testid="primary-nav"],html.hgt-bar:not(:fullscreen).hgt-m-spa .fixed.top-0{top:34px!important}
html.hgt-bar:not(:fullscreen).hgt-m-deck #stage{top:34px!important}
html.hgt-bar:not(:fullscreen).hgt-m-deck #start{top:34px!important}
html.hgt-bar:not(:fullscreen).hgt-m-deck2 #frame{width:min(100vw,calc((100vh - 98px)*0.8))!important;width:min(100vw,calc((100dvh - 98px)*0.8))!important}
html.hgt-bar:not(:fullscreen).hgt-m-deck1 #frame{width:min(100vw,calc((100vh - 98px)*16/9))!important;width:min(100vw,calc((100dvh - 98px)*16/9))!important}
/* estate pages: their own top nav overflowed small phones (Intake button cut off, page wider than the screen) — tighten it on phones only */
@media (max-width:520px){
  html.hgt-m-estate .nav-inner{padding:14px 16px;gap:10px}
  html.hgt-m-estate .brand{gap:10px}
  html.hgt-m-estate .brand .mark{width:42px;height:42px}
  html.hgt-m-estate .brand .name b,html.hgt-m-estate .brand .name .spread{font-size:.98rem}
  html.hgt-m-estate .intake{padding:10px 12px;letter-spacing:.16em}
}

/* Frontiers: top-bar menu arrow + home-page section (list lives at the top of /hgt-nav.js) */
#hgt-bar .hb-ext{font-size:9px;opacity:.6}
#hgt-frontiers{position:relative;border-top:1px solid rgba(255,255,255,.05);background:#040408;padding:88px 24px 96px}
#hgt-frontiers .hf-in{max-width:80rem;margin:0 auto;padding:0 24px}
#hgt-frontiers .hf-over{font-family:"JetBrains Mono",ui-monospace,monospace;font-size:10px;letter-spacing:.42em;text-transform:uppercase;color:rgba(212,175,55,.75)}
#hgt-frontiers .hf-h{margin:18px 0 0;font-family:Cinzel,"Cormorant Garamond",Georgia,serif;font-weight:500;font-size:clamp(30px,4vw,46px);letter-spacing:.06em;color:#f5f2ea}
#hgt-frontiers .hf-sub{margin:12px 0 0;font-family:"Cormorant Garamond",Georgia,serif;font-style:italic;font-size:20px;line-height:1.5;color:rgba(245,242,234,.75)}
#hgt-frontiers .hf-grid{margin-top:40px;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:20px}
#hgt-frontiers .hf-card{display:flex;flex-direction:column;gap:14px;padding:28px 28px 24px;border:1px solid rgba(212,175,55,.22);background:linear-gradient(180deg,rgba(212,175,55,.05),rgba(255,255,255,.01));text-decoration:none;transition:border-color .3s,background .3s,transform .3s}
#hgt-frontiers .hf-card:hover,#hgt-frontiers .hf-card:focus-visible{border-color:rgba(229,193,88,.7);background:linear-gradient(180deg,rgba(212,175,55,.1),rgba(255,255,255,.02));transform:translateY(-2px)}
#hgt-frontiers .hf-t{font-family:Cinzel,"Cormorant Garamond",Georgia,serif;font-size:19px;letter-spacing:.08em;line-height:1.35;color:#f5f2ea;text-transform:uppercase}
#hgt-frontiers .hf-d{font-family:"Plus Jakarta Sans",system-ui,sans-serif;font-size:14.5px;line-height:1.65;color:#9ca3b5}
#hgt-frontiers .hf-go{margin-top:auto;font-family:"JetBrains Mono",ui-monospace,monospace;font-size:10.5px;letter-spacing:.3em;text-transform:uppercase;color:#e5c158}
@media (max-width:640px){#hgt-frontiers{padding:64px 4px 72px}#hgt-frontiers .hf-card{padding:22px 20px 20px}#hgt-frontiers .hf-t{font-size:16.5px}}
@media (max-width:860px){#hgt-bar .hb-mobile a[target]{white-space:normal;line-height:1.5}}

/* Atlas under construction card (switch: HGT_ATLAS_UNDER_CONSTRUCTION at the top of /hgt-nav.js) */
html.hgt-uc-on #root{display:none!important}
html.hgt-uc-on body{background:#040408}
#hgt-uc{position:fixed;inset:34px 0 0 0;z-index:2147482000;display:flex;align-items:center;justify-content:center;padding:24px;background:radial-gradient(ellipse at 50% 40%,rgba(212,175,55,.10),transparent 60%),#040408;overflow:auto}
#hgt-uc .uc-card{width:100%;max-width:520px;text-align:center;padding:48px 36px 44px;border:1px solid rgba(212,175,55,.3);background:linear-gradient(180deg,rgba(212,175,55,.06),rgba(255,255,255,.01));box-shadow:0 30px 80px rgba(0,0,0,.5)}
#hgt-uc .uc-over{font-family:"JetBrains Mono",ui-monospace,monospace;font-size:10px;letter-spacing:.38em;text-transform:uppercase;color:rgba(212,175,55,.75)}
#hgt-uc .uc-h{margin:20px 0 0;font-family:Cinzel,"Cormorant Garamond",Georgia,serif;font-weight:500;font-size:clamp(28px,6vw,42px);letter-spacing:.06em;line-height:1.15;color:#f5f2ea}
#hgt-uc .uc-p{margin:16px 0 0;font-family:"Cormorant Garamond",Georgia,serif;font-style:italic;font-size:20px;line-height:1.5;color:rgba(245,242,234,.8)}
#hgt-uc .uc-btn{display:inline-block;margin-top:32px;padding:14px 26px;background:linear-gradient(180deg,#e5c158,#d4af37);color:#0a0a0f;text-decoration:none;font-family:"JetBrains Mono",ui-monospace,monospace;font-size:11px;letter-spacing:.3em;text-transform:uppercase;transition:filter .3s}
#hgt-uc .uc-btn:hover,#hgt-uc .uc-btn:focus-visible{filter:brightness(1.1)}
@media (max-width:520px){#hgt-uc .uc-card{padding:40px 22px 36px}}
/* ===== AWS site: link row always visible (phones too) + footer link row ===== */
#hgt-bar .hb-links a,#hgt-bar .hb-links .hb-dd>button{padding:0 2px}
@media (max-width:860px){
  #hgt-bar{gap:10px}
  #hgt-bar .hb-links{display:flex;gap:14px;font-size:9.5px;letter-spacing:.12em;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  #hgt-bar .hb-links::-webkit-scrollbar{display:none}
  #hgt-bar .hb-links>a,#hgt-bar .hb-links .hb-dd>button{white-space:nowrap}
  #hgt-bar .hb-brand span{display:none}
  #hgt-bar .hb-links .hb-dd{position:static}
  #hgt-bar .hb-links .hb-panel{left:0;right:0;width:100%;min-width:0;top:34px}
  #hgt-bar .hb-panel a{white-space:normal}
}
@media (max-width:380px){#hgt-bar .hb-links{gap:10px;font-size:9px;letter-spacing:.08em}#hgt-bar{padding:0 8px}}
#hgt-foot{max-width:none!important;width:100%;padding:0!important;letter-spacing:.18em;position:relative;z-index:5;clear:both;margin:0;background:#05060a;border-top:1px solid rgba(212,170,90,.28);color:rgba(239,230,210,.72);
  font-family:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;letter-spacing:.18em;text-transform:uppercase;line-height:1.4;text-align:center}
#hgt-foot *{box-sizing:border-box}
#hgt-foot .hf2-in{max-width:1100px;margin:0 auto;padding:28px 18px 26px;display:flex;flex-direction:column;align-items:center;gap:14px}
#hgt-foot a{color:rgba(239,230,210,.78);text-decoration:none;transition:color .3s}
#hgt-foot a:hover,#hgt-foot a:focus-visible,#hgt-foot a.on{color:#e3b544}
#hgt-foot .hf2-brand{display:flex;align-items:center;gap:10px;color:#efe6d2;font-family:"Cormorant Garamond",Georgia,serif;font-size:15px;letter-spacing:.22em}
#hgt-foot .hf2-brand img{height:24px;width:auto}
#hgt-foot .hf2-row{display:flex;flex-wrap:wrap;justify-content:center;gap:10px 26px}
#hgt-foot .hf2-row:first-of-type a{color:#e3b544;border:1px solid rgba(212,170,90,.35);padding:9px 16px;border-radius:2px}
#hgt-foot .hf2-row:first-of-type a:hover,#hgt-foot .hf2-row:first-of-type a.on{background:rgba(212,170,90,.12)}
#hgt-foot .hf2-sub{font-size:10px;letter-spacing:.14em;gap:8px 20px}
#hgt-foot .hf2-h{color:rgba(212,170,90,.6)}
#hgt-foot .hb-ext{font-size:9px}
#hgt-foot .hf2-c{font-size:9px;color:rgba(239,230,210,.4);letter-spacing:.2em}
@media (max-width:600px){#hgt-foot .hf2-row{gap:10px 12px}#hgt-foot .hf2-row:first-of-type a{padding:9px 12px;font-size:10px}#hgt-foot .hf2-sub{flex-direction:column;align-items:center}}
@media print{#hgt-foot{display:none}}
/* packets pages: their own header sits under the site bar */
html.hgt-bar.hgt-m-packets body{padding-top:80px}
html.hgt-bar.hgt-m-packets .bar{top:34px}
html.hgt-bar.hgt-m-packets .tabs{top:80px}
html.hgt-uc-on #hgt-foot{display:none}

/* ===== ONE top bar + ONE footer: the site bar/footer replace each page's own header and footer (AWS copy) ===== */
html.hgt-bar.hgt-m-spa #root header.fixed.top-0,html.hgt-bar.hgt-m-spa [data-testid="primary-nav"],html.hgt-bar.hgt-m-spa [data-testid="site-footer"]{display:none!important}
html.hgt-bar.hgt-m-estate body>nav,html.hgt-bar.hgt-m-estate header.nav,html.hgt-bar.hgt-m-estate footer:not(#hgt-foot){display:none!important}
html.hgt-bar:not(:fullscreen).hgt-m-estate{scroll-padding-top:50px}
html.hgt-bar.hgt-m-page body>footer:not(#hgt-foot){display:none!important}
html.hgt-bar.hgt-m-packets header.bar,html.hgt-bar.hgt-m-packets footer:not(#hgt-foot){display:none!important}
html.hgt-bar.hgt-m-packets body{padding-top:34px}
html.hgt-bar.hgt-m-packets .tabs{top:34px}
html.hgt-m-deck #hgt-foot{display:none}
#hgt-foot .hf2-note{margin:4px auto 0;max-width:760px;font-family:"Plus Jakarta Sans",system-ui,sans-serif;font-size:11px;line-height:1.6;letter-spacing:.02em;text-transform:none;color:rgba(239,230,210,.45)}
/* phones: all seven bar links fit without scrolling */
@media (max-width:600px){
  #hgt-bar{padding:0 8px;gap:8px}
  #hgt-bar .hb-brand img{height:18px}
  #hgt-bar .hb-links{gap:9px;font-size:9px;letter-spacing:.04em}
  #hgt-bar .hb-caret{display:none}
}
@media (max-width:370px){#hgt-bar .hb-brand{display:none}#hgt-bar .hb-links{gap:8px;font-size:8.5px;letter-spacing:0}}
/* page styles for bare nav elements (estate pages) must not leak into the site footer */
#hgt-foot nav.hf2-row{position:static!important;top:auto!important;background:none!important;border:0!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;padding:0!important;margin:0!important;width:auto!important;height:auto!important;z-index:auto!important}
@media (max-width:600px){#hgt-foot .hf2-brand{font-size:13px}#hgt-foot .hf2-brand span{white-space:nowrap}}
/* ===== flat bar (round 4): every page is a direct link ===== */
#hgt-bar .hb-links{gap:15px;font-size:10px;letter-spacing:.1em}
#hgt-bar .hb-links>a,#hgt-bar .hb-links .hb-dd>button{white-space:nowrap;padding:0 1px}
#hgt-bar .hb-lock{font-size:8px;opacity:.75;filter:grayscale(1) brightness(1.6)}
#hgt-bar .hb-mdd{display:none}
#hgt-bar .hb-burger{font-size:13px;letter-spacing:0}
#hgt-bar .hb-pw{font-size:8.5px;color:rgba(212,170,90,.7);letter-spacing:.06em}
@media (max-width:1360px){#hgt-bar .hb-brand span{display:none}}
@media (max-width:1100px){#hgt-bar .hb-links{gap:11px;font-size:9.5px;letter-spacing:.05em}}
@media (max-width:960px){
  #hgt-bar{padding:0 12px;gap:10px}
  #hgt-bar .hb-links{display:none!important}
  #hgt-bar .hb-mdd{display:flex!important;position:static;height:100%}
  #hgt-bar .hb-brand span{display:inline!important;font-size:11px;letter-spacing:.16em}
  #hgt-bar .hb-brand img{height:18px}
  #hgt-bar .hb-menu{font-size:10.5px;letter-spacing:.14em;gap:8px}
  #hgt-bar .hb-mdd .hb-panel{left:0;right:0;width:100%;min-width:0;top:34px;max-height:calc(100vh - 34px);max-height:calc(100dvh - 34px);overflow:auto;font-size:11px;letter-spacing:.12em}
  #hgt-bar .hb-mdd .hb-panel a{white-space:normal;padding:13px 20px;border-bottom:1px solid rgba(212,170,90,.08)}
  #hgt-bar .hb-mdd .hb-head{padding:14px 20px 6px}
}
@media (max-width:360px){#hgt-bar .hb-brand span{display:none!important}}
#hgt-foot .hf2-row .hb-lock{font-size:9px;filter:grayscale(1) brightness(1.6)}
#hgt-foot .hf2-pw{margin:2px 0 0;font-size:10px;letter-spacing:.08em;color:rgba(212,170,90,.6);text-align:center}
#hgt-foot .hf2-pw .hb-lock{filter:grayscale(1) brightness(1.6)}
#hgt-foot .hf2-row:first-of-type{gap:10px 10px;max-width:1100px;margin-left:auto;margin-right:auto}
#hgt-foot .hf2-row:first-of-type a{padding:8px 13px;white-space:nowrap}
@media (max-width:600px){#hgt-foot .hf2-row:first-of-type{gap:8px}#hgt-foot .hf2-row:first-of-type a{padding:8px 10px;font-size:9.5px}}
/* ===== round 5: footer link bar mirrors the top bar (same links, order, font, spacing, right edge) ===== */
#hgt-foot .hf2-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;height:44px;padding:0 16px;border-bottom:1px solid rgba(212,170,90,.14);
  font-size:10px;letter-spacing:.1em;line-height:1;text-transform:uppercase;text-align:left}
#hgt-foot .hf2-bar .hf2-brand{font-size:13px;letter-spacing:.24em;gap:9px;white-space:nowrap}
#hgt-foot .hf2-bar .hf2-brand img{height:20px}
#hgt-foot .hf2-links{display:flex;align-items:center;gap:15px}
#hgt-foot .hf2-links a{white-space:nowrap;padding:0 1px;color:rgba(239,230,210,.72)}
#hgt-foot .hf2-links a.on,#hgt-foot .hf2-links a:hover{color:#e3b544}
#hgt-foot .hb-caret{font-size:8px;opacity:.8;margin-left:6px}
#hgt-foot .hf2-in{padding-top:22px}
#hgt-foot #hf2-frontiers .hb-pw{font-size:9px;color:rgba(212,170,90,.7)}
#hgt-foot #hf2-frontiers .hb-lock,#hgt-frontiers .hb-lock{filter:grayscale(1) brightness(1.6);font-size:.85em}
@media (max-width:1360px){#hgt-foot .hf2-bar .hf2-brand span{display:none}}
@media (max-width:1100px){#hgt-foot .hf2-links{gap:11px;font-size:9.5px;letter-spacing:.05em}}
/* phones: the footer lists the links in the same order as the Menu, as an aligned two-column grid */
@media (max-width:960px){
  #hgt-foot .hf2-bar{flex-direction:column;align-items:stretch;height:auto;padding:22px 20px 18px;gap:16px}
  #hgt-foot .hf2-bar .hf2-brand{justify-content:center}
  #hgt-foot .hf2-bar .hf2-brand span{display:inline}
  #hgt-foot .hf2-links{display:grid;grid-template-columns:1fr 1fr;gap:0 16px;font-size:11px;letter-spacing:.12em}
  #hgt-foot .hf2-links a{padding:12px 4px;border-bottom:1px solid rgba(212,170,90,.08)}
  #hgt-foot .hf2-links .hb-caret{display:none}
}
@media (max-width:340px){#hgt-foot .hf2-links{grid-template-columns:1fr}}
#hgt-frontiers .hf-deck .hf-go{white-space:normal}
#hgt-foot .hf2-in .hf2-sub a{border:0!important;padding:0!important;background:none!important;color:rgba(239,230,210,.78);font-size:inherit}
#hgt-foot .hf2-in .hf2-sub a.on,#hgt-foot .hf2-in .hf2-sub a:hover{color:#e3b544}
@media (min-width:961px){#hgt-foot .hf2-links .hb-caret{margin-left:0!important}}
#hgt-bar .hb-links .hb-panel{right:12px;left:auto;width:auto;min-width:300px}
#hgt-bar .hb-links .hb-panel a{display:block!important;padding:11px 18px!important;line-height:1.35;white-space:nowrap}
#hgt-bar .hb-links .hb-panel .hb-head{padding:9px 18px 5px!important}
