/* ==========================================================================
   MAURICE UDOM: TEMPLATE SHELL
   The floating nav bar, beige footer and slim-band look from the homepage
   template, applied on top of site.css for every page.
   ========================================================================== */

/* ---- Floating glass nav bar ------------------------------------------- */
html body .mu-header{position:sticky;top:0;z-index:200;height:0;pointer-events:none}
html body .mu-bar{pointer-events:auto;position:relative;margin:12px auto 0;width:min(1160px,calc(100% - 24px));min-height:58px;padding:0 10px 0 18px;display:flex;align-items:center;gap:14px;border-radius:999px;background:rgba(17,29,27,.88);-webkit-backdrop-filter:blur(18px) saturate(180%);backdrop-filter:blur(18px) saturate(180%);border:1px solid rgba(255,255,255,.2);box-shadow:0 14px 40px -14px rgba(0,0,0,.6),inset 0 1px 0 rgba(255,255,255,.16);color:#f4eee2;font-family:var(--sans)}
html body .mu-logo{display:inline-flex;align-items:center;gap:10px;font:500 1.35rem var(--serif);letter-spacing:-.05em;white-space:nowrap;color:#f4eee2;text-decoration:none}
html body .mu-logo b{color:#d9ad69;font-weight:500}
.mu-mark{width:34px;height:34px;flex:none;display:block}
.mu-nav{display:flex;align-items:center;gap:2px;margin:0 0 0 auto;padding:0;list-style:none}
.mu-item{position:relative;display:flex;align-items:center;margin:0}
html body .mu-link{display:block;padding:9px 10px;border-radius:999px;font-size:.78rem;font-weight:500;line-height:1.2;color:#f4eee2;white-space:nowrap;text-decoration:none;transition:color .2s,background-color .2s}
html body .mu-link:hover,html body .mu-link.active,html body .mu-item.is-active>.mu-link,html body .mu-item:focus-within>.mu-link{color:#f0cf90;background:rgba(217,173,105,.14)}
.mu-chev{display:inline-flex;align-items:center;justify-content:center;width:20px;height:28px;margin-left:-8px;padding:0;border:0;background:transparent;color:#f4eee2;opacity:.8;cursor:pointer}
.mu-chev svg{transition:transform .2s}
.mu-item.open .mu-chev svg{transform:rotate(180deg)}
.mu-sub{position:absolute;top:calc(100% + 12px);left:-8px;min-width:250px;margin:0;padding:8px;list-style:none;background:#0d1716;border:1px solid rgba(255,255,255,.14);border-radius:18px;box-shadow:0 30px 60px -14px rgba(0,0,0,.65);opacity:0;visibility:hidden;transform:translateY(6px);transition:opacity .18s,transform .18s,visibility .18s}
.mu-sub::before{content:'';position:absolute;left:0;right:0;top:-14px;height:14px}
html body .mu-sub a{display:block;padding:9px 14px;border-radius:11px;font-size:.84rem;line-height:1.3;color:#e9e4d7;white-space:nowrap;text-decoration:none}
html body .mu-sub a:hover{background:rgba(217,173,105,.15);color:#f0cf90}
html body .mu-sub li:first-child a{font-weight:700;color:#f0cf90}
.mu-tools{display:flex;align-items:center;gap:10px;margin-left:8px}
.mu-theme{display:inline-flex;padding:2px;border:1px solid rgba(255,255,255,.26);border-radius:999px;background:rgba(255,255,255,.06)}
.mu-theme button{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border:0;border-radius:50%;background:transparent;color:#e9e4d7;padding:0;cursor:pointer}
.mu-theme button[aria-pressed="true"]{background:#d9ad69;color:#14221e}
html body .mu-bar .mu-cta{display:inline-flex;align-items:center;margin:0;min-height:0;padding:11px 18px;border-radius:999px;font-size:.78rem;font-weight:700;line-height:1.2;white-space:nowrap;text-decoration:none;background:linear-gradient(180deg,#e8c283,#d9ad69);color:#14221e;border:1px solid #c0904a;box-shadow:0 3px 0 #a8793a}
html body .mu-bar .mu-cta:hover{transform:translateY(-2px)}
.mu-menu-btn{display:none;margin-left:auto;align-items:center;gap:8px;min-height:44px;padding:0 16px;border-radius:999px;border:1px solid rgba(255,255,255,.28);background:rgba(255,255,255,.08);color:#f4eee2;font:600 .85rem var(--sans);cursor:pointer}
@media(hover:hover) and (min-width:1081px){.mu-item:hover>.mu-sub,.mu-item:focus-within>.mu-sub{opacity:1;visibility:visible;transform:none}.mu-item:hover .mu-chev svg{transform:rotate(180deg)}}
.mu-item.open>.mu-sub{opacity:1;visibility:visible;transform:none}
@media(max-width:1080px){
 .mu-menu-btn{display:inline-flex}
 .mu-nav{display:none;position:absolute;top:calc(100% + 10px);left:0;right:0;margin:0;flex-direction:column;align-items:stretch;gap:0;padding:10px 20px 22px;background:#0d1716;border:1px solid rgba(255,255,255,.14);border-radius:26px;box-shadow:0 30px 60px -12px rgba(0,0,0,.65);max-height:calc(100vh - 100px);overflow-y:auto}
 .mu-nav.open{display:flex}
 .mu-item{flex-wrap:wrap;border-bottom:1px solid #263430}
 html body .mu-link{flex:1;font-size:.95rem;padding:14px 4px;border-radius:0;background:none!important}
 .mu-chev{width:44px;height:44px;margin:0}
 .mu-sub{position:static;display:none;width:100%;min-width:0;opacity:1;visibility:visible;transform:none;border:0;box-shadow:none;background:transparent;padding:0 0 10px 12px}
 .mu-sub::before{display:none}
 .mu-item.open>.mu-sub{display:block}
 html body .mu-sub a{white-space:normal}
 .mu-tools{margin:16px 0 0;justify-content:space-between}
}
@media(max-width:420px){html body .mu-logo{font-size:1.15rem}.mu-mark{width:30px;height:30px}}

/* ---- Beige footer ------------------------------------------------------ */
html body .mu-footer{background:#e9e8df;color:#33423d;padding:56px 0 24px;border-top:1px solid #d6d1c2;font-family:var(--sans)}
.mu-footer .mu-wrap{width:min(1160px,calc(100% - 32px));margin:0 auto}
.mu-ft-top{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;gap:40px}
.mu-ft-top h3{font:500 1.25rem var(--serif);color:#14221e;margin:0 0 12px}
.mu-ft-top p{margin:0 0 10px;font-size:.92rem;line-height:1.6;color:#33423d}
html body .mu-ft-top a{display:block;font-size:.86rem;margin:7px 0;color:#33423d;text-decoration:none}
html body .mu-footer a:hover{color:#8a5f22}
.mu-ft-social{display:flex;gap:10px 16px;flex-wrap:wrap}
html body .mu-ft-social a{display:inline;margin:0;text-decoration:underline;text-underline-offset:3px}
.mu-ft-bottom{display:flex;flex-wrap:wrap;gap:12px 20px;justify-content:space-between;margin-top:36px;padding-top:18px;border-top:1px solid #cfc7b4;font-size:.84rem;color:#33423d}
html body .mu-ft-bottom a{color:#14221e;font-weight:600;text-decoration:underline;text-underline-offset:3px}
@media(max-width:900px){.mu-ft-top{grid-template-columns:1fr 1fr;gap:28px}}
@media(max-width:470px){.mu-ft-top{grid-template-columns:1fr}}
html[data-theme="dark"] body .mu-footer{background:#0c1312;color:#c9d0c8;border-top-color:#22302c}
html[data-theme="dark"] .mu-ft-top h3,html[data-theme="dark"] body .mu-ft-bottom a{color:#f4eee2}
html[data-theme="dark"] .mu-ft-top p,html[data-theme="dark"] body .mu-ft-top a,html[data-theme="dark"] .mu-ft-bottom{color:#c9d0c8}
html[data-theme="dark"] .mu-ft-bottom{border-top-color:#2c3a35}

@media print{.mu-header,.mu-footer{display:none!important}}

/* ==========================================================================
   INNER PAGES: the template look on top of site.css
   ========================================================================== */
html body.mu-inner{background:#f6f3ec}
/* leave room under the floating bar */
body.mu-inner main>section:first-child{padding-top:clamp(112px,13vw,140px)}
/* page heading band */
body.mu-inner .page-hero{background:linear-gradient(180deg,#f6f3ec 0%,#fff 100%);padding-bottom:clamp(40px,5vw,60px)}
body.mu-inner .page-hero h1{font-weight:500;font-size:clamp(2.2rem,4.6vw,3.4rem);letter-spacing:-.025em}
body.mu-inner h2{font-weight:500;letter-spacing:-.02em}
/* slim bands, same heading size everywhere */
body.mu-inner .section{padding:64px 0}
body.mu-inner .section-head{margin-bottom:26px}
body.mu-inner .section-head h2,body.mu-inner .section>.wrap>h2{font-size:clamp(1.7rem,2.8vw,2.5rem)}
body.mu-inner .section-head h2{position:relative;padding-bottom:16px}
body.mu-inner .section-head h2::after{content:'';position:absolute;left:0;bottom:0;height:3px;width:72px;border-radius:3px;background:linear-gradient(90deg,#a4742f,#e6c27f)}
body.mu-inner .section-head.center h2::after{left:50%;transform:translateX(-50%)}
body.mu-inner .eyebrow{font-size:.72rem;letter-spacing:.19em}
/* beige bands like "Scholar. Author. Linguist." */
body.mu-inner .section.cream,body.mu-inner .section.sand{background:#e9e8df}
/* glass cards like the homepage */
body.mu-inner .card,body.mu-inner .quote-card,body.mu-inner .form-card,body.mu-inner .price-panel,body.mu-inner .info-panel{background:linear-gradient(135deg,rgba(255,255,255,.78),rgba(255,255,255,.42));border:1px solid rgba(255,255,255,.85);border-radius:16px;box-shadow:0 14px 40px -14px rgba(20,34,30,.22),inset 0 1px 0 rgba(255,255,255,.95)}
body.mu-inner .section:not(.cream):not(.sand):not(.dark) .card{background:linear-gradient(135deg,#fff,rgba(255,255,255,.7));border-color:#ece6d8}
body.mu-inner .card-link:hover{box-shadow:0 18px 40px -16px rgba(20,34,30,.3),inset 0 1px 0 rgba(255,255,255,.95)}
body.mu-inner .section.dark .card.dark{background:linear-gradient(135deg,rgba(255,255,255,.1),rgba(255,255,255,.03));border-color:rgba(255,255,255,.14);box-shadow:0 18px 44px -16px rgba(0,0,0,.6),inset 0 1px 0 rgba(255,255,255,.14)}
/* gold buttons like the template */
body.mu-inner .btn-primary,body.mu-inner .btn-light{background:linear-gradient(180deg,#e8c283,#d9ad69);color:#14221e;border:1px solid #c0904a;box-shadow:0 4px 0 #a8793a,0 12px 22px -10px rgba(169,121,50,.55),inset 0 1px 0 rgba(255,255,255,.5)}
body.mu-inner .btn-primary:hover,body.mu-inner .btn-light:hover{background:linear-gradient(180deg,#ecc98f,#ddb371);color:#14221e;border-color:#c0904a;box-shadow:0 6px 0 #a8793a,0 16px 26px -10px rgba(169,121,50,.6),inset 0 1px 0 rgba(255,255,255,.5)}
body.mu-inner .btn-outline{background:rgba(255,255,255,.4);border:1px solid rgba(20,34,30,.32);box-shadow:0 4px 0 rgba(20,34,30,.12),inset 0 1px 0 rgba(255,255,255,.65)}
body.mu-inner .btn-outline:hover{background:#14221e;color:#fff}
body.mu-inner .btn-dark{box-shadow:0 4px 0 rgba(0,0,0,.25)}
/* call-to-action band at the foot of pages: a light glass card on beige */
body.mu-inner .section:has(>.wrap>.cta-band){background:#e9e8df}
body.mu-inner .cta-band{background:linear-gradient(135deg,rgba(255,255,255,.8),rgba(255,255,255,.45));color:#33423d;border:1px solid rgba(255,255,255,.85);border-radius:16px;box-shadow:0 14px 40px -14px rgba(20,34,30,.2),inset 0 1px 0 rgba(255,255,255,.95);padding:clamp(22px,3vw,34px)}
body.mu-inner .cta-band h2{color:#14221e;font-size:clamp(1.7rem,2.8vw,2.5rem);font-weight:500}
body.mu-inner .cta-band p{color:#33423d}
body.mu-inner .cta-band .eyebrow{color:#8a5f22}
body.mu-inner .cta-band .btn-ghost-light{color:#14221e;border:1px solid rgba(20,34,30,.32);background:rgba(255,255,255,.4)}
body.mu-inner .cta-band .btn-ghost-light:hover{background:#14221e;color:#fff}
body.mu-inner .cta-band a:not(.btn){color:#8a5f22}
@media(max-width:640px){body.mu-inner .section{padding:48px 0}}

/* ---- Inner pages in dark mode ------------------------------------------ */
html[data-theme="dark"] body.mu-inner{--ink:#f4eee2;--body:#d8ded7;--muted:#aab4ad;--white:#101817;--cream:#141f1d;--sand:#141f1d;--line:#2c3a35;--line-soft:#22302c;--gold-wash:#2b2a20;--gold-ink:#d9ad69;background:#0f1716;color:#d8ded7}
html[data-theme="dark"] body.mu-inner .page-hero{background:linear-gradient(180deg,#141f1d 0%,#0f1716 100%)}
html[data-theme="dark"] body.mu-inner .section.cream,html[data-theme="dark"] body.mu-inner .section.sand,html[data-theme="dark"] body.mu-inner .section:has(>.wrap>.cta-band){background:#141f1d}
html[data-theme="dark"] body.mu-inner .card,html[data-theme="dark"] body.mu-inner .quote-card,html[data-theme="dark"] body.mu-inner .form-card,html[data-theme="dark"] body.mu-inner .price-panel,html[data-theme="dark"] body.mu-inner .info-panel,html[data-theme="dark"] body.mu-inner .cta-band,html[data-theme="dark"] body.mu-inner .section:not(.cream):not(.sand):not(.dark) .card{background:linear-gradient(135deg,rgba(255,255,255,.1),rgba(255,255,255,.03));border-color:rgba(255,255,255,.14);box-shadow:0 18px 44px -16px rgba(0,0,0,.6),inset 0 1px 0 rgba(255,255,255,.14)}
html[data-theme="dark"] body.mu-inner .cta-band h2{color:#f4eee2}
html[data-theme="dark"] body.mu-inner .cta-band p{color:#d8ded7}
html[data-theme="dark"] body.mu-inner .cta-band .eyebrow,html[data-theme="dark"] body.mu-inner .cta-band a:not(.btn){color:#d9ad69}
html[data-theme="dark"] body.mu-inner .btn-outline,html[data-theme="dark"] body.mu-inner .cta-band .btn-ghost-light{color:#f4eee2;border-color:rgba(255,255,255,.3);background:rgba(255,255,255,.06)}
html[data-theme="dark"] body.mu-inner .btn-outline:hover,html[data-theme="dark"] body.mu-inner .cta-band .btn-ghost-light:hover{background:#f4eee2;color:#111}
html[data-theme="dark"] body.mu-inner input,html[data-theme="dark"] body.mu-inner select,html[data-theme="dark"] body.mu-inner textarea{background:#0c1312;color:#f4eee2;border-color:#2c3a35}

/* real reviews: About page groups, Books page pull quotes */
.praise-book{font-family:var(--serif);font-size:1.25rem;margin:40px 0 14px;padding-bottom:8px;border-bottom:1px solid var(--line)}
.section-head + .praise-book{margin-top:8px}
.praise-long blockquote p{margin:0 0 .8em}
.praise-long blockquote p:last-child{margin-bottom:0}
.quote-card cite{display:block}
.book-praise{margin:12px 0 14px;padding:2px 0 2px 14px;border-left:3px solid #c9a15d;font-family:var(--serif);font-style:italic;font-size:1rem;line-height:1.5;color:var(--ink)}
.book-praise cite{display:block;margin-top:6px;font-family:var(--sans,inherit);font-style:normal;font-size:.8rem;font-weight:600;color:var(--muted)}
.praise-more{margin-top:12px;font-weight:600}
.praise-more a{color:#8a6a3a}
html[data-theme="dark"] .praise-more a{color:#d9ad69}