/* MiM editorial system: Lora reading, Montserrat controls, two reader themes. */
:root{color-scheme:dark;--mim-bg:#070809;--mim-surface:#101013;--mim-heading:#faf5ed;--mim-ink:#ece7ef;--mim-muted:#c7bdcc;--mim-border:#66516d;--mim-wordmark-red:#de2929;--mim-link:#e3b5ee;--mim-ui:Montserrat,Arial,sans-serif;--mim-editorial:Lora,Georgia,serif}
:root[data-theme=light]{color-scheme:light;--mim-bg:#fffaf3;--mim-surface:#fff;--mim-heading:#35122f;--mim-ink:#352f38;--mim-muted:#675b69;--mim-border:#cdbfc8;--mim-wordmark-red:#c80000;--mim-link:#793180}
:root body{background-color:var(--mim-bg);color:var(--mim-ink);font-family:var(--mim-ui)}
:root :is(h1,h2,h3,h4,h5,h6):not(.product-concept *){font-family:var(--mim-editorial);font-weight:500;letter-spacing:-.025em;line-height:1.16}
:root .home-copy h1{font-size:clamp(44px,5.3vw,78px);line-height:1.1;letter-spacing:-.035em}
:root .home-copy h2{font-family:var(--mim-editorial);font-style:italic;font-weight:400;line-height:1.45}
:root main p:not(.eyebrow):not(.fine):not(.muted):not(.resource-domain):not(.resource-access):not(.resource-review-note):not(.search-result-kind):not(.search-status):not(.search-notice):not(.shop-design-type):not(.status):not(.product-concept *){font-family:var(--mim-editorial)}
:root :is(.bios p,.essay-opening p,.essay-reflection p,.privacy-copy p,.privacy-copy li,.value-thought p,.writer-section p,.writer-section li,.writer-detail-body p,.writer-detail-body li,.writer-why-columns p,.resource-context p){font:400 19px/1.8 var(--mim-editorial)}
:root :is(.path p,.category-path p,.resource-description p,.inspiration-description,.search-result-excerpt,.shop-design-info p,.fine,.eyebrow,.muted,.resource-domain,.resource-access,.resource-review-note,.search-result-kind,.search-status,.search-notice,.status,.founder-role,.preview-caption,.shop-status,.workshop-hero-note){font-family:var(--mim-ui)!important}
:root .brand>span{font-family:var(--mim-editorial);font-size:27px;font-weight:700;letter-spacing:-.8px;line-height:1.15;color:var(--mim-heading)}
:root .brand .wordmark-in{font-family:var(--mim-editorial);font-size:.72em;font-style:italic;font-weight:400;letter-spacing:0;color:var(--mim-wordmark-red)}
:root :is(button,input,select,textarea,.button,.eyebrow,nav,footer){font-family:var(--mim-ui)}
:root .mim-theme-picker{flex:none;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;border:1px solid var(--mim-border);border-radius:999px;padding:8px 13px;background:var(--mim-surface);color:var(--mim-ink);font:500 12px/1.4 var(--mim-ui);white-space:nowrap;cursor:pointer}
:root .mim-theme-picker[hidden]{display:none}
:root .mim-theme-picker:hover{border-color:var(--mim-link)}
:root .mim-theme-picker:focus-visible{outline:3px solid #ae70cf;outline-offset:4px}
:root .mim-theme-picker .theme-glyph{font-size:19px;line-height:1}
:root body>header{gap:18px}
:root body>header>nav{gap:clamp(16px,2.3vw,38px);padding-right:0}
:root body>header>.brand{order:0}:root body>header>nav{order:1}:root body>header>.mim-theme-picker{order:2}
/* Light surfaces and solid reading colors; retain photography and product previews. */
:root[data-theme=light] body::before{display:none}
:root[data-theme=light] body{background-image:none}
:root[data-theme=light] :is(body>header,footer,.compact-footer){background:var(--mim-bg);border-color:var(--mim-border);color:var(--mim-ink)}
:root[data-theme=light] main :is(h1,h2,h3,h4,h5,h6):not(.product-concept *){color:var(--mim-heading)}
:root[data-theme=light] main :is(p,li,dt,dd,label,figcaption):not(.product-concept *){color:var(--mim-ink)}
:root[data-theme=light] :is(.fine,.muted){color:var(--mim-muted)!important}
:root[data-theme=light] :is(.eyebrow,.resource-domain,.resource-access,.resource-breadcrumb,.resource-jumps,.resource-creator,.inspiration-creator,.resource-review-note,.resource-why,.resource-suggest,.resource-back,.search-notice,.search-status,.search-result-kind,.search-filter-count,.status,.shop-design-type,.workshop-hero-note,.founder-role){color:var(--mim-muted)}
:root[data-theme=light] :is(.dropdown,.context-signup,.feature,.vision-quote,.workshop-product,.workshop-updates,.writer-newsletter,.writer-sidebar,.writer-start,.writer-guideline-facts,.writer-scope-note,.writer-detail,.original-goal,.social-card,.contact-social,.resource-invitation,.resource-context,.shop-follow,.shop-preview-dialog,.product-preview-dialog){background:var(--mim-surface);border-color:var(--mim-border);box-shadow:none}
:root[data-theme=light] :is(.notify-controls input,.writer-newsletter-form input,.site-search-controls input,textarea,select){background:var(--mim-surface);color:var(--mim-ink);border-color:#978297}
:root[data-theme=light] input::placeholder{color:var(--mim-muted);opacity:1}
:root[data-theme=light] :is(.button,.site-search-controls button,.search-more){background:#b5121b;border-color:#b5121b;color:#fff}
:root[data-theme=light] :is(.button.outline,.writer-text-link,.context-signup-secondary){background:transparent;color:var(--mim-heading);border-color:var(--mim-border)}
:root[data-theme=light] .button:hover{background:#961019;color:#fff}
:root[data-theme=light] .button.outline:hover{background:#eee2eb;color:var(--mim-heading)}
:root[data-theme=light] a:hover{color:#793180}
:root[data-theme=light] :is(.resource-context a,.resource-visit,.resource-back a,.writer-text-link,.email-link,.privacy-link){color:var(--mim-link)}
:root[data-theme=light] :is(.search-filters button,.search-filters button[aria-pressed=true]){color:var(--mim-heading)}
:root[data-theme=light] :is(.path,.workshop-product,.writer-section,.writer-detail,.resource-entry,.inspiration-entry,.search-result,.shop-design,.shop-collection,.footer-top,.footer-bottom){border-color:var(--mim-border)}
:root[data-theme=light] :is(.shared-goals strong,.value-thought strong,.essay-opening strong,.essay-reflection strong,.resource-description strong){color:var(--mim-heading)}
:root[data-theme=light] .journal-hero img{mix-blend-mode:normal}
:root[data-theme=light] .nav-toggle{color:var(--mim-heading);border-color:var(--mim-border)}
:root[data-theme=light] .nav-toggle span{background:currentColor}
:root[data-theme=light] header.menu-enhanced .dropdown{background:var(--mim-surface)}
:root[data-theme=light] .round-arrow{color:var(--mim-heading);border-color:var(--mim-border)}
:root[data-theme=light] .shop-zoom{color:#fff} /* Control overlays a photograph. */
@media(max-width:1080px){
 :root header.menu-enhanced{gap:0 10px}
 :root header.menu-enhanced>.brand{order:0}
 :root header.menu-enhanced>.mim-theme-picker{order:1;margin-left:auto}
 :root header.menu-enhanced>.nav-toggle{order:2;margin-left:0}
 :root header.menu-enhanced>#main-navigation{order:3}
 :root header.menu-enhanced .brand>span{font-size:23px}
}
@media(max-width:650px){:root :is(.bios p,.essay-opening p,.essay-reflection p,.privacy-copy p,.privacy-copy li,.value-thought p,.writer-section p,.writer-section li,.writer-detail-body p,.writer-detail-body li,.writer-why-columns p,.resource-context p){font-size:18px;line-height:1.75}}
@media(max-width:480px){
 :root header.menu-enhanced{padding:10px 5%;gap:0 8px}
 :root header.menu-enhanced .brand{gap:3px}
 :root header.menu-enhanced .brand>span{font-size:21px}
 :root header.menu-enhanced .brand img{width:36px;height:36px}
 :root .mim-theme-picker{padding:8px 10px;font-size:11px}
 :root header.menu-enhanced>.nav-toggle{width:38px;min-width:38px}
}
@media(max-width:360px){:root header.menu-enhanced .brand>span{font-size:18px}:root header.menu-enhanced .brand img{width:30px;height:30px}:root .mim-theme-picker{padding:8px}.mim-theme-picker .theme-glyph{display:none}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
/* Overrides for legacy white-only controls and dark image masks. */
:root[data-theme=light] .button.outline{color:var(--mim-heading)!important}
:root[data-theme=light] .home-paths{background:var(--mim-surface);border-color:var(--mim-border)}
:root[data-theme=light] :is(.fine a,.footer-utility a,.footer-email,.nav-search,.dropdown a){color:var(--mim-link)}
:root[data-theme=light] .journal-hero img{width:100%;max-width:580px;mix-blend-mode:normal;mask-image:none;-webkit-mask-image:none;border-radius:14px}
:root[data-theme=light] :is(.founder-role,.writer-hero-question){color:var(--mim-muted)!important}
:root[data-theme=light] .home-copy>p{line-height:1.65}
:root[data-theme=light] .resource-suggest{background:var(--mim-surface);color:var(--mim-heading);border-color:var(--mim-border)}
:root[data-theme=light] .resource-breadcrumb>span:last-child{color:var(--mim-muted)}
:root[data-theme=light] :is(.shop-hero-copy>.shop-status,.workshop-release-note){color:var(--mim-muted)!important}
:root[data-theme=light] .shop-hero-image figcaption{color:#fff}
:root[data-theme=light] .mim-theme-picker:hover{color:var(--mim-heading)}
@media(max-width:650px){:root[data-theme=light] .journal-hero{height:auto;min-height:0;align-self:auto}:root[data-theme=light] .journal-hero img{height:auto;max-height:none;max-width:350px}:root[data-theme=light] .home-stage{gap:26px}}
