/* The View (her call, 1 Dec 2026): the design system for the repositioned site.
 * Rooms built around a window. A calm snow ground, slate ink, graphite panels, a forest
 * green for action, glacier hairlines on dark, and one warm lamp tone used sparingly.
 * Replaces Ceylon Luminous + Cosmic D (css/ceylon.css and css/cosmic.css stay on disk, unlinked).
 * Brief: maheshika-repositioning/strategy/design-direction.md
 *
 * Link it AFTER the page's own <style>. It covers both page shells: the nav-link shell (CSS tokens)
 * and the Tailwind shell (utilities and inline colours, overridden by attribute selectors).
 * Every text pairing here is measured by tests/browser/contrast.js. Lamp (#E3B46A) is only ever
 * used on graphite: on snow it fails contrast. */

/* ── Tokens ─────────────────────────────────────────────────────────── */
:root{
  --snow:#f6f6f3;--mist:#e7ebea;--slate:#2a3137;--graphite:#151a1e;--glacier:#8ea7b5;--forest:#2e4b3f;--lamp:#e3b46a;
  --forest-deep:#233a31;
  --bg:#f6f6f3;--bg2:transparent;--panel:#ffffff;--panel2:#ffffff;--line:rgba(42,49,55,.14);
  --cream:#2a3137;--body:rgba(42,49,55,.9);--faint:rgba(42,49,55,.76);
  --gold:#2e4b3f;--gold-soft:#2e4b3f;
  --serif:'Cormorant Garamond',Georgia,serif;--sans:'DM Sans',Arial,sans-serif
}
html{background:#f6f6f3!important}
body{background:#f6f6f3!important;color:rgba(42,49,55,.9)}
::selection{background:rgba(142,167,181,.38)}
::-webkit-scrollbar-track{background:#f6f6f3}::-webkit-scrollbar-thumb{background:rgba(42,49,55,.28)}
#spot{display:none!important}

/* ── Type: a well-made book ─────────────────────────────────────────── */
h1,h2,h3{font-family:var(--serif);font-weight:400!important;color:#2a3137;letter-spacing:-.01em}
h1 em,h2 em,h3 em{font-style:italic;color:#2e4b3f!important;background:none!important;-webkit-text-fill-color:currentColor!important;animation:none!important;padding-right:.04em}
.eyebrow{font-size:.72rem!important;letter-spacing:.26em!important;font-weight:600!important;color:#2e4b3f!important}
.eyebrow::before{background:#2e4b3f!important;height:1px;opacity:.6}
.lead{color:rgba(42,49,55,.9)}
.go-link{font-weight:600;color:#2e4b3f!important;border-bottom-color:rgba(46,75,63,.4)!important}
a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #2e4b3f!important;outline-offset:3px}

/* ── Nav: a quiet room ──────────────────────────────────────────────── */
nav,.nav-glass{background:rgba(246,246,243,.94)!important;border-bottom:1px solid rgba(42,49,55,.1)!important;backdrop-filter:blur(14px)}
.nav-brand{color:#2a3137!important;font-size:1.4rem;font-weight:500!important;letter-spacing:.02em}
.nav-link{font-size:.74rem!important;letter-spacing:.12em!important;font-weight:500;color:rgba(42,49,55,.82)!important}
.nav-link:hover,.nav-link[aria-current="page"]{color:#151a1e!important}
.nav-link::after{background:#2e4b3f!important}
.nav-burger{color:rgba(42,49,55,.85)!important}
.mob-menu,#mob-menu{background:#f6f6f3!important;border-top-color:rgba(42,49,55,.1)!important}
.mob-menu a{color:rgba(42,49,55,.88)!important;border-bottom-color:rgba(42,49,55,.08)!important}
.mob-menu a[aria-current="page"]{color:#2e4b3f!important;font-weight:600}
/* mobile.css forces these white with a long selector; these outrank it */
html nav.nav-glass a:not(.btn-gold):not([style*="color:#c9a84c"]){color:rgba(42,49,55,.85)!important}
html nav.nav-glass a:not(.btn-gold):not([style*="color:#c9a84c"]):hover,html nav.nav-glass a[aria-current="page"]:not(.btn-gold){color:#151a1e!important}
html nav.nav-glass a.text-gold:not(.btn-gold){color:#2a3137!important}

/* ── Buttons: forest for action, no glow ────────────────────────────── */
.btn-gold,.nav-cta,.mob-menu .nav-cta{background:#2e4b3f!important;color:#f6f6f3!important;box-shadow:none!important;border:1px solid #2e4b3f!important}
.btn-gold:hover,.nav-cta:hover{background:#233a31!important;transform:none!important;box-shadow:0 10px 24px -14px rgba(21,26,30,.6)!important}
.btn-gold::before,.nav-cta::before{display:none!important;animation:none!important}
.nav-cta{font-size:.7rem!important;font-weight:600!important;letter-spacing:.14em!important}
.btn{font-weight:600!important;border-radius:2px!important;letter-spacing:.14em!important}
.nav-cta,.mob-menu .nav-cta{border-radius:2px!important}
.btn-ghost{background:transparent!important;color:#2a3137!important;border:1px solid rgba(42,49,55,.4)!important;backdrop-filter:none!important}
.btn-ghost:hover{border-color:#2a3137!important;background:rgba(42,49,55,.04)!important}

/* ── Surfaces: snow rooms, mist bands, hairline mullions ────────────── */
section{background-image:none!important}
section::after{display:none!important}
.plain{background:#e7ebea!important;border-top:1px solid rgba(42,49,55,.08)!important;border-bottom:1px solid rgba(42,49,55,.08)!important}
.final:not(.cosmic):not(.dark){background:#e7ebea!important;border-top:1px solid rgba(42,49,55,.08)}
.glass,.card,.thought,.territory,.route,.advance-card,.quote,.format,.form-card,.terms,.note,.tool{background:#ffffff!important;border:1px solid rgba(42,49,55,.12)!important;border-radius:4px!important;box-shadow:0 1px 0 rgba(42,49,55,.04),0 18px 40px -30px rgba(21,26,30,.35)!important;backdrop-filter:none!important}
.glass::after,.thought::before,.territory::after{display:none!important}
.card .n,.territory .n,.route .n{color:rgba(46,75,63,.32)!important}
.card .k,.card dt,.note .lab,.terms .lab,.thought .cat,.route .k,.t-k{color:#2e4b3f!important}
.note{background:#ffffff!important}
.thought:hover,.card:hover,.route:hover,.territory:hover{transform:none!important;border-color:rgba(46,75,63,.45)!important}
.awards span,.format-pill{color:#2e4b3f!important;background:#ffffff!important;border:1px solid rgba(46,75,63,.3)!important;font-weight:600}
.creds span,.arc span{color:rgba(42,49,55,.9)!important;background:#ffffff!important;border-color:rgba(42,49,55,.16)!important}
.arc i{color:#2e4b3f!important}
.chap-n,p.chap-n{color:rgba(46,75,63,.4)!important}
.book-fig .aura,.hero-covers .aura{display:none!important}
.book-fig .arcs circle{stroke:rgba(42,49,55,.16)!important}
.book-fig img,.hero-covers img{filter:drop-shadow(0 22px 30px rgba(21,26,30,.28))!important}
.book-copy .sub{color:rgba(42,49,55,.8)!important}
.num .n{background:none!important;-webkit-text-fill-color:currentColor!important;color:#2a3137!important}
.num .n i{color:#2e4b3f!important}

/* ── The window frame: editorial photography, framed like glass ────── */
.window,.ed-fig{position:relative;margin:0;background:#ffffff;padding:8px;border:1px solid rgba(42,49,55,.18)!important;border-radius:2px!important;box-shadow:0 30px 60px -40px rgba(21,26,30,.55)!important;overflow:hidden}
.window img,.ed-fig img{display:block;width:100%;height:auto}
.window::after,.ed-fig::after{content:"";position:absolute;inset:8px;border:1px solid rgba(21,26,30,.22);pointer-events:none}

/* ── Forms ──────────────────────────────────────────────────────────── */
.field label{color:#2a3137}
.field input,.field textarea,.field select{background:#ffffff!important;border:1px solid rgba(42,49,55,.28)!important;color:#2a3137!important;border-radius:2px!important}
.field select option{background:#fff!important;color:#2a3137!important}
.field input:focus,.field textarea:focus,.field select:focus{border-color:#2e4b3f!important}
.req{color:#8a2f3c}
.consent input{accent-color:#2e4b3f!important}
.privacy-note a,.consent a{color:#2e4b3f!important;border-bottom-color:rgba(46,75,63,.4)!important}
.form-err{color:#9a2b39!important}

/* ── Graphite panels: the weight of the page (footer, one block per page) ─ */
footer,.cosmic,.dark,.on-dark{background-color:#151a1e!important;background-image:linear-gradient(180deg,rgba(142,167,181,.06),rgba(142,167,181,0) 40%)!important;color:rgba(246,246,243,.86);
  --cream:#f6f6f3;--body:rgba(246,246,243,.86);--faint:rgba(246,246,243,.74);--gold:#e3b46a;--gold-soft:#e3b46a;--line:rgba(142,167,181,.22);--panel:rgba(255,255,255,.04)}
.cosmic h1,.cosmic h2,.cosmic h3,.dark h1,.dark h2,.dark h3,footer h2,footer h3{color:#f6f6f3!important}
.cosmic h1 em,.cosmic h2 em,.cosmic h3 em,.dark h1 em,.dark h2 em,.dark h3 em{color:#e3b46a!important}
.cosmic p,.dark p{color:rgba(246,246,243,.86)}
.cosmic .eyebrow,.dark .eyebrow{color:#e3b46a!important}
.cosmic .eyebrow::before,.dark .eyebrow::before{background:#e3b46a!important}
.cosmic .go-link,.dark .go-link{color:#e3b46a!important;border-bottom-color:rgba(227,180,106,.45)!important}
.cosmic .btn-gold,.dark .btn-gold{background:#f6f6f3!important;color:#151a1e!important;border-color:#f6f6f3!important}
.cosmic .btn-gold:hover,.dark .btn-gold:hover{background:#ffffff!important}
.cosmic .btn-ghost,.dark .btn-ghost{color:#f6f6f3!important;border-color:rgba(246,246,243,.5)!important}
.cosmic .card,.cosmic .glass,.cosmic .advance-card,.cosmic .form-card,.cosmic .note,.dark .card,.dark .advance-card,.dark .note{background:rgba(255,255,255,.05)!important;border-color:rgba(142,167,181,.28)!important;box-shadow:none!important}
.cosmic .field label,.dark .field label{color:#f6f6f3}
.cosmic .consent span,.dark .consent span,.cosmic .privacy-note,.dark .privacy-note{color:rgba(246,246,243,.86)}
.cosmic .consent a,.dark .consent a,.cosmic .privacy-note a,.dark .privacy-note a{color:#e3b46a!important;border-bottom-color:rgba(227,180,106,.45)!important}
.cosmic .form-err,.dark .form-err{color:#ffb8c1!important}
.cosmic .req,.dark .req{color:#e3b46a}
.cosmic .arc span,.dark .arc span{background:rgba(255,255,255,.06)!important;border-color:rgba(142,167,181,.35)!important;color:rgba(246,246,243,.9)!important}
.cosmic .chap-n,.cosmic p.chap-n{color:rgba(227,180,106,.45)!important}
.cosmic .num .n,.dark .num .n{color:#f6f6f3!important}

/* ── Footer ─────────────────────────────────────────────────────────── */
footer{border-top:0!important}
footer .foot-brand{color:#f6f6f3!important}
footer .foot-blurb,footer .foot-col a{color:rgba(246,246,243,.8)!important}
footer .foot-col a:hover{color:#ffffff!important}
footer .foot-col p.lab{color:#8ea7b5!important}
footer .foot-social a{color:rgba(246,246,243,.74)!important}
footer .foot-base{border-top-color:rgba(142,167,181,.2)!important;color:rgba(246,246,243,.7)!important}
footer .foot-legal a{color:#e3b46a!important}
footer .foot-legal span{color:rgba(246,246,243,.4)!important}
footer .foot-legal-line{color:rgba(246,246,243,.66)!important}

/* ── Tailwind shell (blog index, essays, /book) ─────────────────────── */
.bg-black,.section-dark,.section-glow,[class*="bg-black/"]{background-color:transparent!important;background-image:none!important}
section[style*="#000"]{background:#f6f6f3!important}
.text-cream,.text-white{color:#2a3137!important}
[class*="text-white/"],[class*="text-cream/"]{color:rgba(42,49,55,.86)!important}
[class*="hover:text-white"]:hover{color:#151a1e!important}
.text-gold,[class*="text-gold/"]{color:#2e4b3f!important}
[class*="border-white"]{border-color:rgba(42,49,55,.12)!important}
[class*="bg-white/"]{background-color:#ffffff!important}
[class*="border-gold"]{border-color:rgba(46,75,63,.3)!important}
[class*="bg-gold/"]{background-color:rgba(46,75,63,.06)!important}
[style*="color:rgba(255,255,255"],[style*="color: rgba(255,255,255"],[style*="color:rgba(248,244,237"],[style*="color: rgba(248,244,237"],[style*="color:rgba(245,245,247"],[style*="color:#f8f4ed"],[style*="color:#f5f5f7"]{color:rgba(42,49,55,.86)!important}
[style*="color:#c9a84c"],[style*="color: #c9a84c"],[style*="color:rgba(201,168,76"]{color:#2e4b3f!important}
[style*="background:rgba(201,168,76"]{background:rgba(46,75,63,.05)!important}
[style*="border:1px solid rgba(201,168,76"]{border-color:rgba(46,75,63,.28)!important}
[style*="border-left:3px solid rgba(201,168,76"]{border-left-color:#2e4b3f!important}
#rdprog{background:#2e4b3f!important}
.article-body h2,.article-body h3{color:#2a3137!important}
.article-body p,.article-body ul,.article-body ol,.article-body li{color:rgba(42,49,55,.9)!important}
.article-body strong{color:#151a1e!important;font-weight:600!important}
.article-body a:not(.btn-gold):not(.btn-ghost){color:#2e4b3f!important}
.article-body blockquote{color:rgba(42,49,55,.86)!important;border-left-color:#2e4b3f!important}
html .article-body .btn-ghost{color:#2a3137!important}
.article-card{background:#ffffff!important;border:1px solid rgba(42,49,55,.12)!important;border-radius:4px!important;box-shadow:0 18px 40px -30px rgba(21,26,30,.35)!important}
.article-card::before{background:#2e4b3f!important}
.article-card,.article-card [class*="text-"],.article-card p{color:rgba(42,49,55,.88)!important}
.article-card h3,.article-card .text-cream{color:#2a3137!important}
.article-card:hover h3{color:#151a1e!important}
.article-card .text-gold,.article-card [class*="text-gold"],.article-body>p:first-child{color:#2e4b3f!important}
.article-body>p:first-child::before{background:#2e4b3f!important;box-shadow:none!important}
.article-card:hover{border-color:rgba(46,75,63,.5)!important;box-shadow:0 24px 50px -30px rgba(21,26,30,.45)!important;transform:none!important}
.pillar-card h3,.pillar-content>p:first-child,.pillar-content>span:last-child{color:#2e4b3f!important}
.nav-empire-dropdown{background:#f6f6f3!important;border-color:rgba(42,49,55,.12)!important}
.nav-empire-dropdown .dd-title{color:#2a3137!important}
footer.bg-black,footer[class*="bg-black"]{background-color:#151a1e!important}
/* Inside a graphite panel the Tailwind utilities go back to light */
footer .text-cream,footer .text-white,.cosmic .text-cream,.cosmic .text-white,.dark .text-cream{color:#f6f6f3!important}
footer [class*="text-white/"],.cosmic [class*="text-white/"],footer [class*="text-cream/"],.cosmic [class*="text-cream/"]{color:rgba(246,246,243,.82)!important}
footer .text-gold,footer [class*="text-gold/"],.cosmic .text-gold,.cosmic [class*="text-gold/"]{color:#e3b46a!important}
footer [class*="border-white"],.cosmic [class*="border-white"]{border-color:rgba(142,167,181,.22)!important}
.cosmic [class*="bg-white/"]{background-color:rgba(255,255,255,.05)!important}
footer [style*="color:rgba(255,255,255"],footer [style*="color:rgba(248,244,237"],.cosmic [style*="color:rgba(255,255,255"],.cosmic [style*="color:rgba(248,244,237"]{color:rgba(246,246,243,.82)!important}
footer [style*="color:#c9a84c"],footer [style*="color:rgba(201,168,76"],.cosmic [style*="color:#c9a84c"],.cosmic [style*="color:rgba(201,168,76"]{color:#e3b46a!important}
footer a.font-display.text-gold{color:#f6f6f3!important}

/* ── Legal pages ────────────────────────────────────────────────────── */
.legal{color:rgba(42,49,55,.9)!important}
.legal nav a{color:#2a3137!important;font-weight:600}
.legal .wrap a{color:#2e4b3f!important;border-bottom-color:rgba(46,75,63,.35)!important}
.legal .updated{color:#2e4b3f!important;font-weight:700}
.legal th{color:#2a3137!important}
.legal th,.legal td{border-bottom-color:rgba(42,49,55,.12)!important}
.legal td{color:rgba(42,49,55,.9)!important}
.legal code,.legal td code{color:#2e4b3f!important;background:rgba(46,75,63,.07)!important}
.legal footer a{color:#e3b46a!important}

/* ── about: the speaking film is the page's graphite room ───────────── */
.cinema-stage{background:#151a1e!important}
.film-toggle{background:rgba(21,26,30,.78)!important;color:#f6f6f3!important;border-color:rgba(142,167,181,.4)!important}
.cinema+section{border-top:0!important}

/* ── ai-office: the hero film, cooled to slate ──────────────────────── */
.warm-film,.warm-film .office-film{background:#151a1e!important}
.warm-film .office-film img,.warm-film .office-film video{filter:saturate(.55) brightness(.8)}

/* ── Motion: slow and architectural, off under reduced motion ───────── */
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
@media print{body{background:#fff!important}}

/* Nav, repositioning 1 Dec 2026: seven items; short labels and tighter gaps below 1280px */
.nl-short{display:none}
.nav-right .nav-link,.nav-right .nav-cta,.nav-items a{white-space:nowrap}
@media(min-width:1001px) and (max-width:1279px){.nav-right{gap:1.05rem!important}.nav-right .nav-link{letter-spacing:.06em!important}.nav-right .nl-long{display:none}.nav-right .nl-short{display:inline}.nav-right .nav-cta{padding:.7rem 1.1rem!important}.nav-in{padding:0 22px!important}}
@media(min-width:1024px) and (max-width:1279px){nav .nav-items{gap:1.05rem!important}nav .nav-items .nl-long{display:none}nav .nav-items .nl-short{display:inline}nav .nav-items a{letter-spacing:.06em!important}nav .nav-items .btn-gold{padding:.7rem 1.1rem!important}}
@media(min-width:1001px) and (max-width:1120px){.nav-brand{font-size:1.25rem!important}}

/* The Blind Spot Audit band (homepage, Business & Capital, The Unseen, the end of each essay) */
.audit-band{padding:3.2rem 0;background:#ffffff;border-top:1px solid rgba(42,49,55,.1);border-bottom:1px solid rgba(42,49,55,.1)}
.audit-band .audit-in{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:1.6rem 3rem;align-items:center}
.audit-band .sec-title{font-size:clamp(1.4rem,2.6vw,2rem);margin-top:.7rem;max-width:760px}
@media(max-width:760px){.audit-band .audit-in{grid-template-columns:1fr}}
/* The band also sits on the Tailwind essay pages, which have no .wrap, .eyebrow or .btn of their own */
.audit-band .wrap{max-width:1080px;margin:0 auto;padding:0 24px}
.audit-band .eyebrow{display:inline-flex;align-items:center;gap:.9rem;font-family:var(--sans);text-transform:uppercase}
.audit-band .eyebrow::before{content:"";width:34px;height:1px}
.audit-band .sec-title{font-family:var(--serif);line-height:1.15;color:#2a3137}
.audit-band .btn{display:inline-flex;align-items:center;justify-content:center;font-family:var(--sans);font-size:.72rem;text-transform:uppercase;padding:1.05rem 2.2rem;white-space:nowrap}

/* Graphite panels must survive the Tailwind bg-black / section-glow reset above */
html .cosmic,html .dark,html .on-dark,html .warm-film,html footer{background-color:#151a1e!important}
.tool p.who b{color:#2a3137!important}
/* .on-dark panels (the ai-office hero, the about cinema) read like .dark */
.on-dark h1,.on-dark h2,.on-dark h3{color:#f6f6f3!important}
.on-dark h1 em,.on-dark h2 em,.on-dark h3 em{color:#e3b46a!important}
.on-dark .eyebrow{color:#e3b46a!important}.on-dark .eyebrow::before{background:#e3b46a!important}
.on-dark p,.on-dark li{color:rgba(246,246,243,.88)}
.on-dark .btn-ghost{color:#f6f6f3!important;border-color:rgba(246,246,243,.5)!important}
.on-dark .btn-gold{background:#f6f6f3!important;color:#151a1e!important;border-color:#f6f6f3!important}
.audit-band .audit-text{margin-top:.7rem;font-size:1.02rem;line-height:1.65;color:rgba(42,49,55,.9);max-width:46em}
