:root{
  --bg:#030807;--bg2:#07100e;--ink:#f1f4ef;--muted:#8fa09b;--grid:#7fd5bd;
  --line:rgba(127,213,189,.17);--warm:#d2a06a;--orange:#d86e2d;
}
*{box-sizing:border-box}
html{background:var(--bg);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
body{margin:0;min-height:100vh;background:radial-gradient(circle at 50% -10%,#0b1714 0,#030807 38%,#010303 100%);color:var(--ink)}
a{color:inherit}
.hg-noise{position:fixed;inset:0;pointer-events:none;opacity:.055;z-index:20;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E")}
.hg-header{position:fixed;z-index:40;top:0;left:0;right:0;height:68px;display:flex;align-items:center;padding:0 28px;border-bottom:1px solid rgba(127,213,189,.11);background:linear-gradient(180deg,rgba(1,5,4,.94),rgba(1,5,4,.74));backdrop-filter:blur(14px)}
.hg-brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-size:12px;letter-spacing:.22em;font-weight:700}
.hg-mark{width:38px;height:26px;display:grid;place-items:center;transform:none;border:0;position:relative;color:#cfe9e1;font:700 9px/1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:.08em;text-shadow:0 0 18px rgba(127,213,189,.16)}
.hg-mark:after{content:"H / G";white-space:nowrap}
.hg-mark:before{content:"";position:absolute;left:0;right:0;bottom:2px;height:1px;background:linear-gradient(90deg,transparent,rgba(127,213,189,.55),transparent)}
.hg-nav{margin-left:auto;display:flex;gap:25px;align-items:center}
.hg-nav a{text-decoration:none;color:#879a94;font-size:10px;letter-spacing:.14em;text-transform:uppercase;transition:.2s}.hg-nav a:hover,.hg-nav a[aria-current="page"]{color:#eafbf6}
.hg-main{padding-top:68px;min-height:100vh}
.hg-footer{position:relative;z-index:5;display:flex;justify-content:space-between;gap:24px;padding:18px 28px;border-top:1px solid rgba(127,213,189,.12);color:#62736e;font-size:9px;letter-spacing:.11em;text-transform:uppercase;background:#020504}
.hg-footer nav{display:flex;gap:18px}.hg-footer a{text-decoration:none}.hg-footer a:hover{color:#cde8df}
.eyebrow{font-size:9px;letter-spacing:.22em;text-transform:uppercase;color:#7fd5bd;font-weight:700}
.serif{font-family:Georgia,"Times New Roman",serif;font-weight:400}
@media(max-width:820px){.hg-header{height:60px;padding:0 16px}.hg-nav{gap:11px}.hg-nav a{font-size:8px}.hg-main{padding-top:60px}.hg-footer{padding:16px;flex-direction:column}.hg-footer nav{flex-wrap:wrap}.hg-brand span:last-child{display:none}}

/* v1.0 — Henigma Grid signature mark */
.hg-mark{
  width:34px;height:25px;display:block;position:relative;flex:0 0 auto;
  background:url('../brand/hg-signature-white.png') center/contain no-repeat;
  opacity:.94;filter:drop-shadow(0 0 10px rgba(127,213,189,.08));
  font-size:0;color:transparent;text-shadow:none;
}
.hg-mark:before,.hg-mark:after{content:none!important}
.hg-footer>span{display:inline-flex;align-items:center;gap:9px}
.hg-footer>span:before{
  content:"";width:24px;height:17px;display:inline-block;
  background:url('../brand/hg-signature-white.png') center/contain no-repeat;
  opacity:.5;
}
@media(max-width:820px){.hg-mark{width:29px;height:22px}.hg-footer>span:before{width:21px;height:15px}}


/* v2.0 — Solo Invito public identity + consistent navigation */
:root{--si-ivory:#f4ede0;--si-gold:#c7a064;--si-gold-soft:rgba(199,160,100,.22)}
.hg-header{border-bottom-color:rgba(199,160,100,.14);background:linear-gradient(180deg,rgba(5,4,3,.97),rgba(5,4,3,.80));}
.hg-brand{gap:10px;color:var(--si-ivory);letter-spacing:.20em;font-weight:650}
.hg-mark{width:34px!important;height:34px!important;background:url('../brand/solo-invito-emblem.png') center/cover no-repeat!important;border-radius:2px;box-shadow:0 0 0 1px rgba(244,237,224,.10),0 6px 22px rgba(0,0,0,.25);filter:none!important;opacity:1!important}
.hg-nav{gap:21px}
.hg-nav a{color:#8f918d}.hg-nav a:hover,.hg-nav a[aria-current="page"]{color:var(--si-ivory)}
.hg-nav .nav-home{color:rgba(199,160,100,.82)}
.hg-footer{justify-content:flex-end;border-top-color:rgba(199,160,100,.12);background:#050403;color:#7f7a70}
.hg-footer>span{display:none!important}.hg-footer nav{margin-left:auto}
.hg-footer a:hover{color:var(--si-ivory)}
@media(max-width:920px){.hg-nav{gap:13px}.hg-nav a{font-size:8px}}
@media(max-width:720px){.hg-nav a:not(.nav-home):not([aria-current="page"]){display:none}.hg-brand span:last-child{display:inline;font-size:9px}.hg-mark{width:29px!important;height:29px!important}}
