/* Shared navigation follows the route builder; each guide keeps its wordmark. */
body[data-guide] .guide-nav{inset:18px 0 auto;padding:0;background:transparent;border:0}
body[data-guide] .guide-nav__inner{position:relative;box-sizing:border-box;width:min(1320px,calc(100% - 64px));max-width:none;min-height:66px;margin:auto;padding:0 34px 0 40px;display:grid;grid-template-columns:minmax(240px,1fr) auto minmax(240px,1fr);align-items:center;border:1px solid #ffffff6b;border-radius:26px;background:#f7f2ebbd;box-shadow:0 8px 28px #463a2e1a,inset 0 1px 0 #ffffff99;backdrop-filter:blur(12px) saturate(108%);-webkit-backdrop-filter:blur(12px) saturate(108%)}
body[data-guide] .guide-nav nav{grid-column:2;justify-self:center;display:flex;align-items:center;gap:0;padding:0;width:auto;background:none;position:static;box-shadow:none}
body[data-guide] .guide-nav nav a{box-sizing:content-box;position:relative;display:inline-flex;align-items:center;justify-content:center;width:auto;min-height:0;height:32px;padding:10px 27px;border:0;border-radius:999px;color:#4b4742;text-decoration:none;font:600 11px/1 -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;letter-spacing:.13em;text-transform:uppercase;white-space:nowrap}
body[data-guide] .guide-nav nav a+a::before{content:"";position:absolute;left:-1px;top:50%;width:3px;height:3px;border-radius:50%;background:#b98d4a;opacity:.72;transform:translateY(-50%)}
body[data-guide] .guide-nav nav a:hover{color:#27231f;background:#b98d4a17;transform:none}
body[data-guide] .guide-nav nav a[aria-current="page"]{color:#2a241f;background:#f1e8da;font-weight:700}
body[data-guide] .guide-menu-toggle{display:none}
body[data-guide] .guide-earth{grid-column:3;justify-self:end;display:inline-flex;align-items:center;gap:12px;min-height:44px;color:#a57535;text-decoration:none;font:600 11px/1 -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;white-space:nowrap;letter-spacing:.13em;text-transform:uppercase}
.guide-earth img{width:30px;height:30px;object-fit:contain}.guide-earth>span:last-child{font-size:24px;margin-left:3px}
@media(min-width:901px) and (max-width:1200px){body[data-guide] .guide-nav__inner{grid-template-columns:auto 1fr auto;padding:0 24px}body[data-guide] .guide-nav nav a{padding-left:14px;padding-right:14px}body[data-guide] .guide-earth{font-size:11px;gap:7px}}
@media(max-width:1100px){body[data-guide] .guide-nav{inset:10px 0 auto}body[data-guide] .guide-nav__inner{width:calc(100% - 24px);min-height:56px;display:flex;justify-content:space-between;padding:6px 12px 6px 18px;border-radius:18px}body[data-guide] .guide-earth{display:none}body[data-guide] .guide-menu-toggle{display:block;flex:0 0 44px;width:44px;height:44px;padding:10px;border:0;border-radius:50%;background:transparent}body[data-guide] .guide-nav nav{position:absolute;top:62px;left:0;right:0;display:none;box-sizing:border-box;width:100%;height:auto;flex-direction:column;align-items:stretch;gap:0;padding:8px;border-radius:16px;background:#faf7f1fa;box-shadow:0 16px 32px #30261e2e}body[data-guide] .guide-nav__inner.is-open nav{display:flex}body[data-guide] .guide-nav nav a{box-sizing:border-box;justify-content:flex-start;width:100%;height:46px;padding:8px 14px;font-size:11px}body[data-guide] .guide-nav nav a+a::before{display:none}}
/* Keyboard navigation remains visible across all guide pages. */
body[data-guide] :is(a,button,input,select,textarea,summary,[tabindex]):focus-visible{outline:2px solid #765027;outline-offset:3px}
.guide-skip-link{position:fixed;top:8px;left:12px;z-index:10000;padding:12px 18px;border-radius:10px;background:#fffaf2;color:#533717;box-shadow:0 4px 15px #30261e30;transform:translateY(-160%)}
.guide-skip-link:focus{transform:none}
@media(prefers-reduced-motion:reduce){body[data-guide] *,body[data-guide] *::before,body[data-guide] *::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Keep scenic artwork quiet behind guide headings on narrow screens. */
@media(max-width:900px){
 body:is([data-guide="money"],[data-guide="loopholes"],[data-guide="updates"])::before{background-image:linear-gradient(180deg,transparent 35%,#edf3f21f 58%,#edf3f2 95%),linear-gradient(90deg,#fffbf0ed,#fffbf0d6 72%,#fffbf099),url('./assets/money-coast-v1.jpg')}
}

/* Metallic gold flows through the lettering, without a capsule or glow. */
@keyframes daleqo-earth-gold{from{background-position:100% 50%}to{background-position:0% 50%}}
:is(.top-nav__earth,body[data-guide] .guide-earth){background:none;animation:none;text-shadow:none;transition:color .25s ease}
:is(.top-nav__earth,body[data-guide] .guide-earth):hover{background:none;color:#a57535;text-shadow:none}
:is(.top-nav__earth,.guide-earth)>span:first-child{color:#a57535}
@supports ((background-clip:text) or (-webkit-background-clip:text)){
 :is(.top-nav__earth,.guide-earth)>span:first-child{display:inline-block;background-image:linear-gradient(110deg,#8c5419 0%,#a86c20 35%,#c7963e 44%,#f0cc75 48%,#c18b32 52%,#945b1c 62%,#8c5419 100%);background-size:260% 100%;background-position:100% 50%;background-clip:text;-webkit-background-clip:text;color:transparent;-webkit-text-fill-color:transparent;animation:daleqo-earth-gold 3.8s ease-in-out infinite alternate}
}
:is(.top-nav__earth,.guide-earth)>span:last-child{color:#a57535;transform:none;transition:none}
@media(prefers-reduced-motion:reduce){
 :is(.top-nav__earth,.guide-earth)>span:first-child{animation:none;background-position:50% 50%}
}
/* Increase the brand compass without changing the navigation height. */
body[data-guide] .guide-brand>span{display:block;width:34px;height:34px;flex:0 0 34px}
body[data-guide] .guide-brand>span img{width:100%;height:100%;object-fit:contain}
@media(max-width:600px){body[data-guide] .guide-brand>span{width:30px;height:30px;flex-basis:30px}}
/* Readable navigation within the existing header panel. */
body[data-guide] .guide-nav nav a{font-size:15px;padding-left:20px;padding-right:20px;letter-spacing:.1em}
body[data-guide] .guide-earth{font-size:16px;letter-spacing:.1em}
@media(min-width:901px) and (max-width:1200px){
 body[data-guide] .guide-nav nav a{padding-left:11px;padding-right:11px;letter-spacing:.06em}
 body[data-guide] .guide-earth{font-size:16px;gap:7px}
 body[data-guide] .guide-brand{font-size:23px}
}
@media(max-width:900px){body[data-guide] .guide-nav nav a{font-size:15px;padding-left:14px;padding-right:14px}}

/* The discovery section appears only inside the collapsed mobile navigation. */
body[data-guide] .guide-nav nav a.mobile-earth-link{display:none}
@media(max-width:1100px){
 body[data-guide] .guide-earth{display:none!important}
 body[data-guide] .guide-nav nav a.mobile-earth-link{display:flex;align-items:center;justify-content:flex-start;gap:12px;box-sizing:border-box;width:100%;height:auto;min-height:76px;margin-top:8px;padding:16px 14px 10px;border:0;border-top:1px solid #dfd1ba;border-radius:0;background:none;color:#9d702e;letter-spacing:normal;text-transform:none;white-space:normal;text-decoration:none}
 body[data-guide] .guide-nav nav a.mobile-earth-link::before{display:none}
 body[data-guide] .guide-nav nav a.mobile-earth-link img{width:32px;height:32px;flex:none;object-fit:contain}
 body[data-guide] .guide-nav nav a.mobile-earth-link>span:not(.mobile-earth-link__arrow){display:flex;flex:1;flex-direction:column;gap:5px}
 body[data-guide] .guide-nav nav a.mobile-earth-link strong{font:400 20px/1.2 "Iowan Old Style",Baskerville,Georgia,serif;color:#936524}
 body[data-guide] .guide-nav nav a.mobile-earth-link small{font:400 13px/1.35 -apple-system,BlinkMacSystemFont,sans-serif;color:#82725b;letter-spacing:normal}
 body[data-guide] .guide-nav nav a.mobile-earth-link .mobile-earth-link__arrow{font:400 23px/1 sans-serif;color:#a57535}
 body[data-guide] .guide-nav nav a.mobile-earth-link:hover{background:#b98d4a0d}
}

@media(max-width:1100px){body[data-guide] .guide-nav nav{max-height:calc(100vh - 100px);max-height:calc(100dvh - 100px);overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;background:#faf7f1}body[data-guide] .guide-nav nav>a{flex-shrink:0}}
