/* Shared navigation, using the site's existing dark, warm-white and amber palette. */
.aq-header { --aq-surface:#10191f; --aq-text:#f6f4ee; --aq-muted:#aebcc4; --aq-accent:#edb46e; overflow:visible; }
.aq-header [hidden] { display:none!important; }
.aq-header .aq-nav { display:block; position:relative; font:14px/1.4 Arial,Helvetica,sans-serif; }
.aq-header .aq-links { display:flex; align-items:center; gap:26px; }
.aq-header .aq-group { position:static; }
.aq-header .aq-trigger,.aq-header .aq-mobile-toggle { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:12px 0; min-height:44px; border:0; background:none; color:inherit; cursor:pointer; font:inherit; white-space:nowrap; }
.aq-header .aq-trigger:hover,.aq-header .aq-trigger[aria-expanded="true"] { color:var(--aq-accent); }
.aq-header .aq-chevron { width:16px; height:16px; transition:transform 180ms ease; }
.aq-header .aq-trigger[aria-expanded="true"] .aq-chevron { transform:rotate(180deg); }
.aq-header .aq-arrow { width:21px; height:21px; flex:none; }
.aq-header .aq-about { display:inline-flex; align-items:center; min-height:44px; padding:10px 0; font:inherit; text-decoration:none; white-space:nowrap; }
.aq-header .aq-project { display:inline-flex; align-items:center; gap:22px; min-height:44px; padding:11px 19px; border:1px solid #aebcc470; border-radius:3px; color:inherit; font:inherit; text-decoration:none; white-space:nowrap; }
.aq-header .aq-project:hover { border-color:var(--aq-accent); }
.aq-header .aq-panel { position:absolute; right:0; top:calc(100% + 16px); width:min(720px,90vw); display:grid; grid-template-columns:1fr 1.2fr; gap:35px; padding:32px; background:var(--aq-surface); color:var(--aq-text); border:1px solid #b8c6cd29; border-top:2px solid var(--aq-accent); border-radius:4px; box-shadow:0 22px 60px #0005; animation:aq-reveal 170ms ease-out; }
.aq-header .aq-panel h2 { font:400 28px/1.12 Arial,Helvetica,sans-serif; letter-spacing:-.045em; margin:0 0 16px; }
.aq-header .aq-panel p { font:14px/1.6 Arial,Helvetica,sans-serif; color:var(--aq-muted); margin:0 0 30px; }
.aq-header .aq-panel .aq-overview { display:inline-flex; align-items:center; gap:22px; padding:8px 0; min-height:44px; color:var(--aq-accent); font:14px/1.4 Arial,Helvetica,sans-serif; text-decoration:none; }
.aq-header .aq-items { border-left:1px solid #b8c6cd29; padding-left:26px; }
.aq-header .aq-panel .aq-item { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:16px 8px; color:var(--aq-text); text-decoration:none; border-bottom:1px solid #b8c6cd29; transition:background 140ms,color 140ms; }
.aq-header .aq-item:first-child { padding-top:6px; }
.aq-header .aq-item:last-child { border-bottom:0; }
.aq-header .aq-item strong { display:block; font:500 18px/1.3 Arial,Helvetica,sans-serif; letter-spacing:-.02em; }
.aq-header .aq-item small { display:block; font:13px/1.5 Arial,Helvetica,sans-serif; color:var(--aq-muted); margin-top:6px; }
.aq-header .aq-item>.aq-arrow { width:18px; color:var(--aq-muted); transition:transform 140ms; }
.aq-header .aq-panel .aq-item:hover,.aq-header .aq-panel .aq-item[aria-current="page"] { color:var(--aq-accent); background:#ffffff06; }
.aq-header .aq-item:hover>.aq-arrow { transform:translateX(3px); color:var(--aq-accent); }
.aq-header :is(a,button):focus-visible { outline:2px solid var(--aq-accent); outline-offset:5px; }
.aq-header .aq-mobile-toggle { display:none; }
.aq-header .aq-menu-close,.aq-header .aq-mobile-toggle[aria-expanded="true"] .aq-menu-lines { display:none; }
.aq-header .aq-mobile-toggle[aria-expanded="true"] .aq-menu-close { display:block; }
.service-header.aq-header { position:relative; z-index:50; align-items:center; }
.service-header.aq-header .aq-trigger:hover,.service-header.aq-header .aq-trigger[aria-expanded="true"],.site-header.light.aq-header .aq-trigger[aria-expanded="true"] { color:#8d4c10; }
@keyframes aq-reveal { from { opacity:0; transform:translateY(-5px); } to { opacity:1; transform:translateY(0); } }
@media(min-width:901px) and (max-width:1120px) {
  .aq-header .aq-links { gap:18px; }
  .aq-header .brand span { display:none; }
  .aq-header .aq-nav { font-size:13px; }
}
@media(max-width:900px) {
  .aq-header .aq-nav { position:static; }
  .aq-header .aq-mobile-toggle { display:flex; gap:14px; font-size:14px; }
  .aq-header .aq-mobile-toggle svg { width:24px; height:24px; }
  .aq-header .aq-mobile-toggle[aria-expanded="true"] { color:var(--aq-accent); }
  .service-header.aq-header .aq-mobile-toggle[aria-expanded="true"],.site-header.light.aq-header .aq-mobile-toggle[aria-expanded="true"] { color:#8d4c10; }
  .aq-header .aq-links { position:absolute; top:100%; left:0; right:0; display:flex; flex-direction:column; align-items:stretch; gap:0; padding:14px 6vw 26px; max-height:calc(100svh - 94px); overflow:auto; overscroll-behavior:contain; background:var(--aq-surface); color:var(--aq-text); border-top:1px solid #b8c6cd29; border-bottom:1px solid #b8c6cd29; box-shadow:0 24px 32px #0004; animation:aq-reveal 170ms ease-out; }
  .aq-header .aq-group { border-bottom:1px solid #b8c6cd29; }
  .aq-header .aq-trigger { width:100%; min-height:62px; padding:16px 0; font-size:20px; }
  .aq-header .aq-trigger[aria-expanded="true"] { color:var(--aq-accent)!important; }
  .aq-header .aq-panel { position:static; display:flex; flex-direction:column-reverse; gap:0; width:100%; border:0; border-radius:0; box-shadow:none; padding:0 0 18px; animation:none; }
  .aq-header .aq-panel-intro h2,.aq-header .aq-panel-intro p { display:none; }
  .aq-header .aq-items { padding:0; border:0; }
  .aq-header .aq-panel .aq-item { padding:14px 9px; }
  .aq-header .aq-item strong { font-size:16px; }
  .aq-header .aq-item small { font-size:12px; }
  .aq-header .aq-panel .aq-overview { padding:12px 9px 0; font-size:13px; }
  .aq-header .aq-links>.aq-about { display:flex; font-size:17px; padding:20px 0; }
  .aq-header .aq-links>.aq-project,.aq-header .aq-links>.quote-trigger { display:flex; justify-content:space-between; width:100%; margin-top:8px; padding:15px 18px; font:15px/1.3 Arial,Helvetica,sans-serif; border-color:#b8c6cd70; color:var(--aq-text); }
  .service-header.aq-header { margin:0; padding:18px 6vw; }
}
@media(prefers-reduced-motion:reduce) { .aq-header *, .aq-header *::before { animation:none!important; transition:none!important; } }
