/* Canonical GBCA site header (preview chrome) for standalone pages.
   ONE source of truth: pages outside the /preview tree that need the
   default GBCA header link this file and use <header class="gbca-hdr">;
   nav.js fills the menu from the CMS HeaderTemplate. Do NOT copy these
   rules inline into a page: inline copies drift (Arial-menu incident,
   2026-09-12). Vars are declared on the header itself so a page's own
   palette cannot recolor the shared chrome. */
header.gbca-hdr{
  --ink:#1c1a17; --paper:#fdfcf9; --clay:#b8542f; --clay-dk:#8f3f22;
  --forest:#1f3a32; --line:rgba(28,26,23,.14);
  --maxw:1240px; --ease:cubic-bezier(.16,1,.3,1);
  position:sticky; top:0; z-index:100;
  background:rgba(253,252,249,.94); backdrop-filter:blur(12px);
  border-bottom:1px solid var(--line);
}
header.gbca-hdr nav{ display:flex; align-items:center; justify-content:space-between;
  max-width:var(--maxw); margin:0 auto; padding:1.4rem 2.5rem; gap:1.2rem; }
header.gbca-hdr .brand{ font-family:'Fraunces',serif; font-size:1.4rem; font-weight:600;
  text-decoration:none; color:var(--ink); }
header.gbca-hdr .brand i{ font-style:normal; color:var(--clay); }
header.gbca-hdr .navlinks{ display:flex; gap:1.4rem; list-style:none;
  align-items:center; margin:0; padding:0; }
header.gbca-hdr .navlinks a{ text-decoration:none; font-size:.92rem; font-weight:500;
  font-family:'Sora',sans-serif; color:var(--ink); }
header.gbca-hdr .navlinks a:hover{ color:var(--clay-dk); }
header.gbca-hdr .nav-cta{ padding:.65rem 1.4rem; border:1.5px solid var(--clay-dk);
  background:transparent; font-family:'Sora',sans-serif; font-size:.85rem; font-weight:600; cursor:pointer;
  color:var(--clay-dk); text-decoration:none;
  transition:background .35s var(--ease),color .35s var(--ease); }
header.gbca-hdr .nav-cta:hover{ background:var(--clay); border-color:var(--clay); color:#fff; }
header.gbca-hdr .nav-toggle{ display:none; width:44px; height:44px; min-width:44px; min-height:44px;
  background:transparent; border:none; cursor:pointer; padding:0;
  flex-direction:column; align-items:center; justify-content:center;
  gap:5px; border-radius:8px;
  transition:background .2s var(--ease); }
header.gbca-hdr .nav-toggle:hover{ background:rgba(28,26,23,.06); }
header.gbca-hdr .nav-toggle .nav-toggle__bar{ display:block; width:22px; height:2px;
  background:var(--ink); border-radius:2px;
  transition:transform .25s var(--ease),opacity .25s var(--ease); }
header.gbca-hdr .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1){
  transform:translateY(7px) rotate(45deg); }
header.gbca-hdr .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2){ opacity:0; }
header.gbca-hdr .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3){
  transform:translateY(-7px) rotate(-45deg); }
@media(max-width:880px){
  header.gbca-hdr nav{ padding:1.1rem 1.4rem; gap:.8rem; }
  header.gbca-hdr .nav-toggle{ display:flex !important; order:3; }
  header.gbca-hdr .navlinks{ position:absolute; top:calc(100% + .4rem); right:1rem; left:auto;
    background:var(--paper); border:1px solid var(--line); border-radius:14px;
    box-shadow:0 24px 40px -20px rgba(28,26,23,.35);
    display:none; flex-direction:column; gap:0;
    padding:.4rem 0; margin:0;
    max-width:calc(100vw - 2rem); min-width:240px; }
  header.gbca-hdr .navlinks.is-open{ display:flex !important; }
  header.gbca-hdr .navlinks li{ width:100%; }
  header.gbca-hdr .navlinks a{ display:flex !important; align-items:center; width:100%;
    padding:.85rem 1.4rem !important; color:var(--ink) !important;
    background:transparent !important;
    border-bottom:1px solid rgba(28,26,23,.08);
    font-size:1rem; min-height:48px; }
  header.gbca-hdr .navlinks li:last-child a{ border-bottom:none; }
  header.gbca-hdr .nav-cta{ order:2; padding:.55rem 1rem; font-size:.82rem; }
}
