#site-header{
  position:sticky;
  top:0;
  z-index:100;
  background:var(--header-bg);
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--ink-3);
}
.hdr-brand-row{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  padding:14px 24px 0 24px;
  max-width:var(--container);
  margin:0 auto;
}
.hdr-brand-row .hdr-brand-link{ justify-self:center; }
.hdr-theme-toggle{
  justify-self:start;
  display:flex;
  align-items:center;
  justify-content:center;
  width:30px;
  height:30px;
  padding:0;
  background:transparent;
  border:1px solid var(--ink-3);
  border-radius:50%;
  color:var(--text-dim);
  cursor:pointer;
  transition:border-color 0.15s ease, color 0.15s ease;
}
.hdr-theme-toggle:hover{ border-color:var(--brass); color:var(--brass-bright); }
.hdr-theme-toggle:focus-visible{ outline:2px solid var(--brass-bright); outline-offset:2px; }
.hdr-theme-toggle svg{ width:15px; height:15px; }
.hdr-theme-toggle .icon-moon{ display:none; }
:root[data-theme="light"] .hdr-theme-toggle .icon-sun{ display:none; }
:root[data-theme="light"] .hdr-theme-toggle .icon-moon{ display:block; }
.hdr-brand-link{
  display:block;
  line-height:1;
}
.hdr-brand-logo{
  display:block;
  width:65px;
  height:26px;
  background-color:var(--text-dim);
  -webkit-mask-image:url('../../assets/delaverse-logo.png');
  mask-image:url('../../assets/delaverse-logo.png');
  -webkit-mask-repeat:no-repeat;
  mask-repeat:no-repeat;
  -webkit-mask-size:contain;
  mask-size:contain;
  -webkit-mask-position:center;
  mask-position:center;
  transition:background-color 0.15s ease;
}
.hdr-brand-link:hover .hdr-brand-logo{ background-color:var(--brass-bright); }
.hdr-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:12px 24px 16px 24px;
  max-width:var(--container);
  margin:0 auto;
}
.hdr-brand-group{
  display:flex;
  align-items:center;
  gap:10px;
}
.hdr-logo{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:3px;
  text-decoration:none;
  line-height:1;
}
.hdr-logo-sub{
  font-family:var(--mono);
  font-size:10px;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:var(--muted);
  white-space:nowrap;
}
.hdr-download{
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  width:24px;
  height:24px;
  border:1px solid var(--ink-3);
  border-radius:50%;
  color:var(--text-dim);
  text-decoration:none;
  transition:border-color 0.15s ease, color 0.15s ease;
}
.hdr-download:hover{ border-color:var(--brass); color:var(--brass-bright); }
.hdr-download:focus-visible{ outline:2px solid var(--brass-bright); outline-offset:2px; }
.hdr-download svg{ width:12px; height:12px; }
.hdr-nav{
  display:flex;
  align-items:center;
  gap:28px;
}
.hdr-links{
  display:flex;
  gap:24px;
  list-style:none;
  margin:0;
  padding:0;
}
.hdr-links a{
  font-family:var(--mono);
  font-size:12px;
  letter-spacing:0.04em;
  text-transform:uppercase;
  color:var(--text-dim);
  text-decoration:none;
  white-space:nowrap;
  transition:color 0.15s ease;
}
.hdr-links a:hover{ color:var(--brass-bright); }
.hdr-lang-switch{
  display:flex;
  align-items:center;
  justify-self:end;
  gap:6px;
  font-family:var(--mono);
  font-size:12px;
  letter-spacing:0.04em;
  white-space:nowrap;
}
.hdr-lang-switch button{
  background:none;
  border:none;
  padding:2px;
  color:var(--text-dim);
  cursor:pointer;
  font-family:inherit;
  font-size:inherit;
  letter-spacing:inherit;
  transition:color 0.15s ease;
}
.hdr-lang-switch button:hover{ color:var(--brass-bright); }
.hdr-lang-switch button.active{
  color:var(--brass-bright);
  font-weight:600;
  cursor:default;
}
.hdr-lang-sep{ color:var(--ink-3); }
.hdr-cta{
  font-size:11.5px;
  padding:11px 18px;
  white-space:nowrap;
}
.hdr-toggle{
  display:none;
  background:none;
  border:1px solid var(--ink-3);
  color:var(--text-dim);
  padding:8px 10px;
  cursor:pointer;
  font-family:var(--mono);
  font-size:11px;
}

@media (max-width:960px){
  .hdr-links{
    position:absolute;
    top:100%;
    left:0;
    right:0;
    flex-direction:column;
    background:var(--ink-2);
    border-bottom:1px solid var(--ink-3);
    padding:18px 24px;
    gap:16px;
    display:none;
  }
  .hdr-links.open{ display:flex; }
  .hdr-toggle{ display:block; }
  .hdr-cta{ display:none; }
}
