/* Glass ribbon: existing header controls and navigation only. */
:root{--header-height:100px}
body .site-header,
body.is-home .site-header,
body.is-home:not(.page-scrolled) .site-header,
body.is-home.page-scrolled .site-header{
 inset:16px 32px auto;max-width:1230px;margin:0 auto;min-height:70px;
 display:flex;align-items:center;justify-content:center;gap:24px;padding:7px 22px;
 border:1px solid rgba(255,255,255,.5);border-radius:18px;
 background:rgba(255,255,255,.22);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
 box-shadow:0 9px 24px -18px rgba(61,70,48,.35);pointer-events:auto;
}
body.page-scrolled .site-header,body.is-home.page-scrolled .site-header{background:rgba(255,255,255,.72)}
body #primary-nav{gap:10px;padding:0;background:transparent;border:0;box-shadow:none}
body #primary-nav a{
 display:block;width:auto;padding:11px 14px;border:1px solid transparent;border-radius:11px;
 font:400 14px/1.4 Arial,sans-serif;color:#30483b;white-space:nowrap;text-decoration:none;
 text-shadow:0 0 8px rgba(255,255,255,.9);transition:background .3s,border-color .3s,color .3s;
}
body #primary-nav a:hover,body #primary-nav a.active,body #primary-nav a[aria-current="page"]{
 color:#30483b;background:rgba(255,255,255,.45);border-color:rgba(255,255,255,.45);text-decoration:none;
}
body .site-header #account{
 min-height:44px;padding:11px 15px;border:1px solid rgba(255,255,255,.65);border-radius:100px;
 font:400 13px/1.4 Arial,sans-serif;color:#30483b;background:rgba(255,255,255,.5);box-shadow:none;
 transition:background .3s,border-color .3s;
}
body .site-header #account:hover{background:rgba(255,255,255,.8);border-color:rgba(179,127,64,.4)}
@supports not ((backdrop-filter:blur(10px)) or (-webkit-backdrop-filter:blur(10px))){
 body .site-header,body.is-home .site-header,body.is-home:not(.page-scrolled) .site-header,body.is-home.page-scrolled .site-header{background:rgba(255,255,255,.9)}
}
@media(min-width:681px) and (max-width:1000px){
 body .site-header,body.is-home .site-header,body.is-home:not(.page-scrolled) .site-header,body.is-home.page-scrolled .site-header{gap:12px;padding:7px 14px;left:20px;right:20px}
 body #primary-nav{gap:3px;flex-wrap:wrap}
 body #primary-nav a{font-size:13px;padding:11px 9px}
 body .site-header #account{font-size:12px;padding:11px 12px}
}
@media(max-width:680px){
 :root{--header-height:90px}
 body .site-header,body.is-home .site-header,body.is-home:not(.page-scrolled) .site-header,body.is-home.page-scrolled .site-header{
  inset:12px 16px auto;min-height:62px;justify-content:flex-end;gap:0;padding:7px 10px;border-radius:0;
  background:transparent;border:0;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;pointer-events:none;
 }
 body .site-header .header-actions{gap:10px;max-width:100%}
 body .site-header #account{font-size:13px;min-height:44px;padding:10px 14px;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
 body .site-header #menu-toggle{width:44px;height:44px;min-width:44px;padding:11px;border:1px solid rgba(255,255,255,.65);border-radius:50%;background:rgba(255,255,255,.55);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);box-shadow:0 2px 12px rgba(48,72,59,.05)}
 body .site-header #menu-toggle:hover{background:rgba(255,255,255,.45)}
 body .site-header #menu-toggle span{background:#30483b;height:1.5px}
 body .site-header #primary-nav{
  top:calc(100% + 9px);left:0;right:0;bottom:auto;width:auto;max-height:calc(100dvh - 108px);
  gap:4px;padding:12px;border:1px solid rgba(255,255,255,.7);border-radius:18px;
  background:rgba(255,253,247,.82);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
  box-shadow:0 12px 25px -16px rgba(48,72,59,.3);
 }
 body .site-header #primary-nav a{font-size:14px;padding:13px 14px;white-space:normal;min-height:46px;text-align:left}
 body .site-header #primary-nav a:hover,body .site-header #primary-nav a.active{background:rgba(179,127,64,.09);border-color:transparent}
}
@media(prefers-reduced-motion:reduce){body .site-header #primary-nav a,body .site-header #account{transition:none}}

/* Leave the existing welcome logo outside the blurred ribbon. */
@media(min-width:681px){body.is-home .site-header,body.is-home:not(.page-scrolled) .site-header,body.is-home.page-scrolled .site-header{left:128px}}
@media(max-width:680px){body.is-home .site-header,body.is-home:not(.page-scrolled) .site-header,body.is-home.page-scrolled .site-header{left:96px;right:12px}}
