/* Shared sticky navigation for every page. Font paths are relative to this file (site root). */
@font-face{font-family:"Instrument Sans";src:url("fonts/InstrumentSans-Variable.ttf") format("truetype");font-weight:100 900;font-style:normal;font-display:swap}

.nav-toggle{display:none;flex:0 0 auto;width:44px;height:44px;margin-left:auto;padding:0;border:1px solid rgba(247,245,240,.18);border-radius:12px;background:transparent;flex-direction:column;align-items:center;justify-content:center;gap:5px;z-index:72}
.nav-toggle span{display:block;width:18px;height:2px;border-radius:2px;background:#f7f5f0;transition:transform .2s,opacity .2s}
.nav-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.nav-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
.nav-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

.header-nav a.is-active,
.header-nav a[aria-current="page"]{opacity:1;color:#7af0d6}

/* Keep the charcoal bar on inner pages even before scroll */
.site-header.is-solid{background:rgba(11,14,18,.86);backdrop-filter:blur(16px);border-bottom-color:rgba(247,245,240,.10)}

@media (max-width:1100px){
  :root{--header-h:76px}
  .nav-toggle{display:flex}
  .header-inner{width:calc(100% - 24px);flex-wrap:nowrap;align-items:center}
  .header-nav{
    display:none;
    position:absolute;
    top:100%;
    left:0;right:0;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    padding:10px 20px 22px;
    background:rgba(11,14,18,.96);
    border-bottom:1px solid rgba(247,245,240,.12);
    backdrop-filter:blur(18px);
  }
  .header-nav.is-open{display:flex}
  .header-nav a{padding:12px 4px;border-bottom:1px solid rgba(247,245,240,.08);opacity:1}
  .site-header{height:var(--header-h)}
}

/* Legacy intake / AI in a Box / order pages: isolate the shared bar from older CSS */
body.has-isa-bar{padding-top:76px}
header.isa-bar.site-header{
  position:fixed;
  top:0;left:0;right:0;
  z-index:70;
  height:76px;
  display:flex;
  align-items:center;
  margin:0;
  background:rgba(11,14,18,.92);
  backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(247,245,240,.10);
  color:#f7f5f0;
  font-family:"Instrument Sans",system-ui,sans-serif;
}
header.isa-bar .header-inner{
  width:min(1280px,calc(100% - 40px));
  height:auto;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  min-width:0;
  padding:0;
}
header.isa-bar .brand{
  display:flex;
  flex-direction:column;
  line-height:1;
  flex:0 0 auto;
  text-decoration:none;
  color:inherit;
  gap:0;
}
header.isa-bar .brand-top{
  font-family:"Instrument Sans",system-ui,sans-serif;
  font-weight:700;
  letter-spacing:-.01em;
  font-size:15px;
  color:#f7f5f0;
  text-transform:none;
}
header.isa-bar .brand-bot{
  margin-top:3px;
  font-size:11px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#7af0d6;
  font-weight:650;
}
header.isa-bar .header-nav{
  display:flex;
  gap:18px;
  align-items:center;
  min-width:0;
}
header.isa-bar .header-nav a{
  font-family:"Instrument Sans",system-ui,sans-serif;
  font-size:13px;
  font-weight:500;
  letter-spacing:.06em;
  text-transform:uppercase;
  opacity:.82;
  color:#f7f5f0;
  text-decoration:none;
  border:0;
  background:none;
  padding:0;
}
header.isa-bar .header-nav a:hover{opacity:1;color:#f7f5f0}
header.isa-bar .header-nav a.is-active,
header.isa-bar .header-nav a[aria-current="page"]{opacity:1;color:#7af0d6}
header.isa-bar .nav-toggle{border-color:rgba(247,245,240,.18)}
header.isa-bar .nav-toggle span{background:#f7f5f0}

@media (max-width:1100px){
  header.isa-bar .header-inner{width:calc(100% - 24px)}
  header.isa-bar .header-nav{
    display:none;
    position:absolute;
    top:100%;
    left:0;right:0;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    padding:10px 20px 22px;
    background:rgba(11,14,18,.96);
    border-bottom:1px solid rgba(247,245,240,.12);
  }
  header.isa-bar .header-nav.is-open{display:flex}
  header.isa-bar .header-nav a{
    padding:12px 4px;
    border-bottom:1px solid rgba(247,245,240,.08);
    opacity:1;
  }
}
