/* Shared, compact navigation. The guide owns one masthead across every template. */
html:has(.guide-header){--header-height:72px;scroll-padding-top:92px}
.site-header.guide-header{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:32px;position:sticky;top:0;z-index:90;height:72px;min-height:72px;margin:0;padding:0 max(var(--gutter,32px),calc((100vw - 1560px)/2));background:#f5f6f2;color:#101e26;border-bottom:1px solid #cbd3d5;box-shadow:none;backdrop-filter:none}
.site-header.guide-header .brand{justify-self:start;display:flex;align-items:center;min-height:44px}
.site-header.guide-header .brand img{width:112px;height:52px;object-fit:contain;filter:brightness(0)}
.site-header.guide-header .desktop-nav{display:flex;align-items:center;gap:36px;color:inherit}
.site-header.guide-header .header-actions{display:flex;align-items:center;justify-self:end;gap:18px}
.guide-header .guide-disclosure{position:relative}
.guide-header .guide-disclosure>summary,.guide-header .guide-direct{position:relative;display:flex;align-items:center;gap:8px;min-height:52px;padding:0;font:400 13px/1.5 Poppins,Arial,sans-serif;cursor:pointer;list-style:none;white-space:nowrap}
.guide-disclosure>summary::-webkit-details-marker,.guide-menu-section>summary::-webkit-details-marker{display:none}
.guide-header .guide-disclosure>summary>svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.4;transition:transform .18s}
.guide-disclosure[open]>summary>svg,.guide-menu-section[open]>summary>svg{transform:rotate(180deg)}
.guide-header .guide-disclosure.is-current>summary::after,.guide-header .guide-direct.is-current::after{content:'';position:absolute;bottom:3px;left:0;right:0;height:2px;background:#f6a72d}
.guide-header .guide-direct:hover,.guide-header .guide-disclosure>summary:hover{color:#92600e}
.guide-header .guide-dropdown{position:absolute;top:calc(100% + 10px);left:-28px;z-index:2;padding:24px;background:#f5f6f2;color:#101e26;border:1px solid #cbd3d5;box-shadow:0 12px 30px #10273314;animation:guide-menu-in .16s ease-out}
.guide-dropdown-explorer{width:448px;display:grid;grid-template-columns:1fr 1fr;gap:28px}
.guide-dropdown-prepare{width:262px}
.guide-nav-column{display:grid;align-content:start;min-width:0}
.guide-nav-column>p{margin:0 0 8px;font:400 11px/1.6 Poppins,Arial,sans-serif;color:#64727a}
.guide-header .guide-nav-column>a,.guide-menu .guide-nav-column>a{display:flex;align-items:center;min-height:44px;padding:8px 0;font:400 13px/1.5 Poppins,Arial,sans-serif;white-space:normal;border:0;text-decoration:none}
.guide-header .guide-nav-column>a::after{display:none}
.guide-nav-column>a:hover{color:#92600e}
.guide-nav-column>a[aria-current]{color:#101e26;text-decoration:underline!important;text-decoration-color:#f6a72d!important;text-decoration-thickness:2px!important;text-underline-offset:6px}
.guide-nav-secondary{display:flex;flex-wrap:wrap;gap:8px 22px;border-top:1px solid #cbd3d5;padding-top:16px;margin-top:16px}
.guide-header .guide-nav-secondary>a,.guide-menu .guide-nav-secondary>a{display:inline-flex;align-items:center;justify-content:space-between;gap:10px;min-height:40px;padding:0;font:400 11px/1.6 Poppins,Arial,sans-serif;color:#64727a;border:0}
.guide-header .guide-nav-secondary>a::after{display:none}
.guide-header .guide-nav-secondary{display:grid;gap:0}
.site-header.guide-header .guide-compose,.guide-menu .guide-menu-compose{display:inline-flex;align-items:center;justify-content:center;gap:18px;min-height:44px;padding:11px 18px;background:#f6a72d;color:#101e26;border:1px solid #f6a72d;border-radius:2px;white-space:nowrap;font:600 12px/1.5 Poppins,Arial,sans-serif;transition:background .18s,border-color .18s}
.guide-compose>svg,.guide-menu-compose>svg,.guide-menu-direct>svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.4;flex:none}
.site-header.guide-header .guide-compose:hover,.guide-menu .guide-menu-compose:hover{background:#eeb043;border-color:#eeb043}
.site-header.guide-header .guide-menu-trigger{display:none;align-items:center;justify-content:center;gap:10px;min-height:44px;min-width:44px;padding:0;font:400 12px/1.5 Poppins,Arial,sans-serif;border:0;background:none;color:inherit}
.guide-menu-trigger>svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.4}
.guide-header :is(a,summary,button):focus-visible,.guide-menu :is(a,summary,button):focus-visible{outline:2px solid #92600e;outline-offset:4px}
/* One mobile menu, with the same order and vocabulary as the desktop header. */
dialog.guide-menu{width:min(440px,100%);max-width:100%;height:100dvh;max-height:100dvh;margin:0 0 0 auto;padding:0;border:0;background:#f5f6f2;color:#101e26;overscroll-behavior:contain}
#mobile-menu.guide-menu{width:min(440px,100%);padding-bottom:0}
.guide-menu::backdrop{background:#10273370;backdrop-filter:blur(3px)}
.guide-menu :is(.mobile-menu-heading,.mobile-menu-head,.pg-menu-head){position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:64px;height:64px;padding:6px 24px;background:#f5f6f2;border-bottom:1px solid #cbd3d5}
.guide-menu :is(.mobile-menu-heading,.mobile-menu-head,.pg-menu-head) img{width:96px;height:44px;object-fit:contain;filter:brightness(0)}
.guide-menu .pg-menu-head>strong{font:400 14px/1.5 Poppins,Arial,sans-serif}
.guide-menu :is(.pg-menu-close,.icon-button){display:grid;place-items:center;min-width:44px;min-height:44px;border:0;background:none;font:300 28px/1 Poppins,Arial,sans-serif}
.guide-menu-content{display:flex;flex-direction:column;min-height:calc(100dvh - 64px);padding:16px 24px max(20px,env(safe-area-inset-bottom))}
.guide-menu .guide-menu-primary{display:block;padding:0}
.guide-menu .guide-menu-home{display:flex;align-items:center;min-height:44px;padding:8px 0;margin-bottom:12px;font:400 13px/1.5 Poppins,Arial,sans-serif;color:#64727a;border:0}
.guide-menu-section{border-top:1px solid #cbd3d5}
.guide-menu .guide-menu-section>summary,.guide-menu .guide-menu-direct{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:68px;padding:16px 0;font:700 32px/1.05 Cormorant,Georgia,serif;letter-spacing:-.02em;cursor:pointer;list-style:none}
.guide-menu .guide-menu-direct{border-top:1px solid #cbd3d5;border-bottom:0}
.guide-menu-section>summary>svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.2;transition:transform .18s}
.guide-menu-links{display:grid;gap:24px;grid-template-columns:1fr 1fr;padding:0 0 20px}
.guide-menu .guide-menu-section[data-guide-section=preparer] .guide-menu-links{grid-template-columns:1fr}
.guide-menu .guide-menu-section.is-current>summary,.guide-menu .guide-menu-direct.is-current{color:#92600e}
.guide-menu .guide-menu-home[aria-current]{color:#101e26}
.guide-menu-bottom{margin-top:auto;padding-top:30px}
.guide-menu .guide-menu-compose{display:flex;width:100%;min-height:48px;justify-content:space-between;font-size:13px}
.guide-menu .guide-nav-secondary{justify-content:space-between;margin-top:20px;padding-top:10px}
@keyframes guide-menu-in{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}
/* Focused journey pages share the masthead dimensions, without catalogue menus. */
.project-journey .site-header.guide-header{grid-template-columns:auto 1fr auto;gap:24px}
.project-journey .site-header.guide-header :is(.desktop-nav,.header-actions){display:none}
.project-journey .project-journey-brand{font-size:13px;font-weight:400;letter-spacing:0;text-transform:none}
body:has(>.guide-header)>.utility-bar{display:none}
body:has(>.guide-header)>.mobile-bottom{display:none}
@media(max-width:900px){
  .site-header.guide-header{grid-template-columns:1fr auto;gap:20px}
  .site-header.guide-header .desktop-nav{display:none}
  .site-header.guide-header .guide-menu-trigger{display:flex}
}
@media(max-width:640px){
  html:has(.guide-header){--header-height:64px;scroll-padding-top:84px}
  .site-header.guide-header{height:64px;min-height:64px;padding-inline:20px;gap:12px}
  .site-header.guide-header .brand img{width:96px;height:44px}
  .site-header.guide-header .header-actions{gap:14px}
  .site-header.guide-header .guide-compose{display:none}
  .project-journey .site-header.guide-header{gap:12px}
  .project-journey .project-journey-brand{font-size:11px;padding-left:12px}
  .project-journey .project-journey-back{font-size:11px;min-height:44px}
  body:has(>.guide-header):has(>.mobile-bottom){padding-bottom:0}
}
@media(max-width:360px){.guide-menu-content{padding-inline:20px}.guide-menu-links{column-gap:16px}.guide-menu .guide-nav-column>a{font-size:12px}}
@media(max-width:380px){.project-journey .project-journey-brand{display:none}.project-journey .site-header.guide-header{grid-template-columns:1fr auto}}
@media(prefers-reduced-motion:reduce){.guide-header *,.guide-menu *{animation:none!important;transition:none!important}}
@media print{.site-header.guide-header,dialog.guide-menu{display:none!important}}

/* One dark footer treatment; each page retains its own content and layout. */
body footer.guide-footer{
  --footer-paper:#f5f6f2;
  --footer-muted:#bdcdd4;
  --footer-line:#ffffff29;
  --muted:var(--footer-muted);
  --line:var(--footer-line);
  --amber:#f6c46e;
  background:#132e3d;
  color:#dbe5e8;
  border-color:var(--footer-line);
}
body footer.guide-footer img{filter:brightness(0) invert(1);object-fit:contain}
body footer.guide-footer :is(h3,nav strong){color:var(--footer-paper)}
body footer.guide-footer :is(.footer-brand>p,.footer-legal,.footer-bottom,.pg-footer-brand p,.pg-footer-bottom,.photo-credits){color:var(--footer-muted)}
body footer.guide-footer :is(.footer-brand,.footer-legal,.footer-bottom,.pg-footer-bottom){border-color:var(--footer-line)}
body footer.guide-footer a{color:#dbe5e8;text-decoration-thickness:1px;text-underline-offset:5px}
body footer.guide-footer :is(a,summary):hover{color:#f6c46e}
body footer.guide-footer :is(a,summary):focus-visible{outline:2px solid #f6c46e;outline-offset:4px;border-radius:2px}
body footer.guide-footer nav a,body footer.guide-footer summary{display:inline-flex;align-items:center;min-height:44px}
body footer.guide-footer :is(.footer-legal,.footer-bottom,.pg-footer-bottom,.photo-credits){font-size:11px;line-height:1.8}
body footer.guide-footer .footer-bottom details p{font-size:11px;line-height:1.8}
body footer.guide-footer.pg-footer{max-width:none;padding-inline:max(var(--gutter,24px),calc((100% - 1680px)/2 + var(--gutter,24px)))}
body footer.guide-footer.composer-footer{max-width:none;padding-inline:max(var(--gutter,24px),calc((100% - var(--max,1440px))/2 + var(--gutter,24px)))}
body footer.guide-footer .footer-signature{display:inline-flex;align-items:center;gap:24px;max-width:100%;min-height:61px}
body footer.guide-footer .footer-signature img{display:block;flex:none;width:132px;height:61px}
body footer.guide-footer .footer-signature span{font:400 12px/1.8 Poppins,Arial,sans-serif;color:var(--footer-muted);max-width:28ch}
@media(max-width:640px){
  body footer.guide-footer .footer-signature{align-items:center;flex-direction:row;gap:24px}
  body footer.guide-footer .footer-signature img{width:104px;height:48px}
  body footer.guide-footer .footer-signature span{font-size:11px;max-width:20ch}
  body footer.guide-footer .photo-credits{flex-basis:100%}
}

/* Six useful destinations, with generous horizontal space instead of a sitemap. */
body footer.guide-footer.footer-condensed{max-width:none;padding:32px 0 16px}
body footer.guide-footer .footer-inner{max-width:1440px;margin-inline:auto}
body footer.guide-footer .footer-main{display:grid;grid-template-columns:minmax(210px,.85fr) minmax(0,2fr);align-items:center;gap:clamp(48px,6vw,96px)}
body footer.guide-footer .footer-identity{min-width:0}
body footer.guide-footer .footer-identity>a{display:inline-flex;align-items:center;min-height:61px}
body footer.guide-footer .footer-identity img{display:block;width:132px;height:61px}
body footer.guide-footer .footer-identity>p{margin:12px 0 0;font:400 12px/1.8 Poppins,Arial,sans-serif;color:var(--footer-muted)}
body footer.guide-footer nav.footer-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:12px clamp(24px,3.5vw,56px);padding:0;margin:0}
body footer.guide-footer nav.footer-links>a{display:flex;align-items:center;gap:10px;min-width:0;min-height:44px;padding:8px 0;margin:0;font:400 12px/1.65 Poppins,Arial,sans-serif;border:0;text-decoration:none}
body footer.guide-footer nav.footer-links>a:hover{text-decoration:underline}
body footer.guide-footer .footer-meta{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-top:28px;padding-top:12px;border-top:1px solid var(--footer-line);font:400 11px/1.8 Poppins,Arial,sans-serif;color:var(--footer-muted)}
body footer.guide-footer .footer-meta>p{margin:0;min-height:44px;display:flex;align-items:center}
body footer.guide-footer .footer-notes{width:min(560px,55%);font:inherit}
body footer.guide-footer .footer-notes>summary{display:flex;align-items:center;justify-content:flex-end;gap:14px;min-height:44px;cursor:pointer;list-style:none;font:inherit}
body footer.guide-footer .footer-notes>summary::-webkit-details-marker{display:none}
body footer.guide-footer .footer-notes>summary::after{content:'+';font:400 18px/1 Poppins,Arial,sans-serif}
body footer.guide-footer .footer-notes[open]>summary::after{content:'−'}
body footer.guide-footer .footer-notes>div{padding-top:12px;max-width:72ch}
body footer.guide-footer .footer-notes p{margin:0 0 14px;font:inherit}
body footer.guide-footer .footer-notes a{text-decoration:underline}
@media(max-width:1000px){
  body footer.guide-footer .footer-main{grid-template-columns:190px minmax(0,1fr);gap:48px}
  body footer.guide-footer nav.footer-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 32px}
}
@media(max-width:640px){
  body footer.guide-footer.footer-condensed{padding-top:28px;padding-bottom:max(16px,env(safe-area-inset-bottom))}
  body footer.guide-footer .footer-main{grid-template-columns:1fr;gap:24px}
  body footer.guide-footer .footer-identity{display:flex;align-items:center;gap:28px}
  body footer.guide-footer .footer-identity>a{min-height:51px;flex:none}
  body footer.guide-footer .footer-identity img{width:112px;height:51px}
  body footer.guide-footer .footer-identity>p{margin:0;font-size:11px;max-width:22ch}
  body footer.guide-footer nav.footer-links{gap:6px 28px}
  body footer.guide-footer .footer-meta{display:block;margin-top:20px;padding-top:12px;font-size:10px}
  body footer.guide-footer .footer-meta>p{min-height:26px}
  body footer.guide-footer .footer-notes{width:100%}
  body footer.guide-footer .footer-notes>summary{justify-content:flex-start}
  body.project-journey footer.guide-footer{padding-bottom:max(24px,env(safe-area-inset-bottom))}
}
@media(max-width:700px){body:has(.circuit-mobile-action) footer.guide-footer.footer-condensed{padding-bottom:max(90px,calc(72px + env(safe-area-inset-bottom)))}}
