#nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
  height: 66px;
  border-bottom: 1px solid rgba(200,144,10,.15);
  transition: height .4s var(--r2), background .5s, border-color .5s, box-shadow .5s;
}
#nav.g {
  background: rgba(6,7,10,.88);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  height: 54px;
  border-bottom: 1px solid rgba(200,144,10,.2);
  box-shadow: 0 4px 32px rgba(0,0,0,.4);
}
.n-logo { display: flex; align-items: center; gap: .65rem; cursor: default; }
.n-icon {
  width: 38px; height: 38px;
  border-radius: 9px;
  background: linear-gradient(145deg, #C8900A, #E5A812, rgba(200,144,10,.6));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 1.05rem; font-weight: 700; color: #000;
  box-shadow: 0 0 20px rgba(200,144,10,.35), 0 2px 8px rgba(0,0,0,.4);
  transition: box-shadow .3s;
}
.n-icon:hover { box-shadow: 0 0 32px rgba(200,144,10,.6), 0 2px 8px rgba(0,0,0,.4); }
.n-words { display: flex; flex-direction: column; gap: 3px; line-height: 1; }
.n-words b   { font-size: .75rem; font-weight: 700; letter-spacing: .2em; color: #FAFAF8; line-height: 1; }
.n-words span{ font-size: .5rem; font-weight: 300; letter-spacing: .18em; color: rgba(250,250,248,.45); line-height: 1; }
.n-mid { display: flex; align-items: center; gap: .15rem; }
.n-mid a {
  padding: .44rem .85rem;
  font-size: .7rem; font-weight: 400;
  color: rgba(250,250,248,.55);
  letter-spacing: .08em;
  border-radius: 7px;
  position: relative;
  transition: color .2s, background .2s;
}
.n-mid a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: .85rem; right: .85rem;
  height: 1px;
  background: var(--g);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--r);
}
.n-mid a:hover,
.n-mid a.on { color: var(--t); background: var(--s1); }
.n-mid a:hover::after,
.n-mid a.on::after { transform: scaleX(1); }
.n-cta {
  padding: .55rem 1.4rem;
  background: linear-gradient(135deg, var(--g), rgba(229,168,18,.75));
  border: none; border-radius: 9px;
  font-family: var(--sans); font-size: .7rem; font-weight: 700; color: #000;
  letter-spacing: .08em; cursor: pointer;
  box-shadow: 0 4px 20px rgba(200,144,10,.4), 0 0 0 1px rgba(200,144,10,.2);
  transition: box-shadow .25s, transform .2s;
}
.n-cta:hover { box-shadow: 0 6px 28px rgba(200,144,10,.6), 0 0 0 1px rgba(200,144,10,.4); transform: translateY(-2px); }
.brg {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 3px;
}
.brg span {
  display: block; width: 19px; height: 1.5px;
  background: var(--t); border-radius: 2px; transition: all .3s;
}

/* ── Mobile menu ── */
.mob {
  display: none;
  position: fixed; inset: 0; z-index: 190;
  background: rgba(5,6,8,.97);
  backdrop-filter: blur(24px);
  flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
}
.mob.o { display: flex; }
.mob a {
  font-family: var(--serif); font-size: 3rem; font-weight: 300;
  color: var(--t2); transition: color .2s;
}
.mob a:hover { color: var(--g); }
