/* MiM layout/contrast refinements — shared by the static site and Blog. */
:root{--mim-header-offset:108px;--mim-bullet:#9b5dde}
html{scroll-padding-top:var(--mim-header-offset)}
:root main [id]{scroll-margin-top:var(--mim-header-offset)}
/* Stay in normal document flow, then remain available on scroll. */
:root body>header{position:sticky;top:0;z-index:100;background:var(--mim-bg)}
:root body>header>.brand{order:0;flex-shrink:0}
:root body>header>.mim-theme-picker{order:1;margin-left:auto}
:root body>header>#main-navigation{order:2;margin-left:0;gap:clamp(15px,2vw,32px)}
/* One alignment for page introductions in both themes and at every breakpoint. */
:root :is(.home-stage,.home-copy,.page-intro,.team-heading,.vision-hero,.workshop-coming-hero,.resource-overview,.resource-category-hero,.writer-hero,.shop-hero-copy,.search-main){text-align:left}
:root :is(.page-intro,.team-heading,.vision-hero,.workshop-coming-hero)>.lead{margin-left:0;margin-right:0}
:root .home-copy .actions{justify-content:flex-start}
:root .writer-sidebar{top:var(--mim-header-offset);padding:24px;border-radius:12px}
:root .writer-sidebar nav{padding:0;min-width:0}
:root .writer-sidebar nav a{padding:11px 0;gap:12px}
:root .writer-scope-note{border:1px solid var(--mim-border);border-left:3px solid #ac5cde;border-radius:10px;padding:24px 28px;overflow:visible}
:root .writer-detail{border:1px solid var(--mim-border);border-radius:10px;padding:0 24px;margin:18px 0;background:var(--mim-surface)}
:root .writer-detail>summary{padding:22px 0;color:var(--mim-heading)}
:root .writer-detail>summary strong{font-size:17px;line-height:1.5}
:root .writer-detail>summary small{font-size:14px;color:var(--mim-muted);line-height:1.65}
:root .writer-detail .writer-toggle{color:var(--mim-link)}
:root .writer-detail-body{padding:0 0 24px}
:root .writer-detail-body h4{font-size:20px;color:var(--mim-heading)}
:root .writer-review-process{display:block;list-style:disc;padding-left:1.4em;margin:24px 0}
:root .writer-review-process>li{padding:14px 0 14px 6px}
:root main :is(.writer-section,.writer-detail-body,.privacy-copy,.bios) ul{list-style-type:disc;padding-left:1.4em}
:root main :is(.writer-section,.writer-detail-body,.privacy-copy,.bios) li::marker{color:var(--mim-bullet)}
:root .contact-social{border:1px solid var(--mim-border);border-radius:12px;padding:28px;margin:28px 0 0}
:root .resource-invitation{padding:28px 30px;border:1px solid var(--mim-border);border-radius:12px;margin:28px 0 38px;gap:24px;align-items:center}
:root .resource-invitation>p{font:400 23px/1.45 var(--mim-editorial);color:var(--mim-heading);max-width:520px}
:root .resource-context{padding:22px 28px;margin-bottom:32px;border:1px solid var(--mim-border);border-left:3px solid #9b5dde;border-radius:10px;background:var(--mim-surface)}
:root .resource-context p{margin:0;line-height:1.8}
:root .resource-description .resource-why{color:var(--mim-ink);line-height:1.8}
:root .resource-why>span{color:var(--mim-link);font-weight:600}
:root .shop-preview-close{color:var(--mim-heading);background:var(--mim-surface);border:1px solid var(--mim-border);border-radius:8px;width:44px;height:44px}
:root .shop-preview-close span{color:inherit}
/* Light theme: remove dark-only overlays and make every edge deliberate. */
:root[data-theme=light] :is(.home-stage,.workshop-coming-hero){background:none;box-shadow:none;filter:none}
:root[data-theme=light] .journal-hero{height:auto;align-self:center;overflow:hidden;border-radius:14px;box-shadow:none;isolation:isolate}
:root[data-theme=light] .journal-hero::before,:root[data-theme=light] .journal-hero::after{display:none}
:root[data-theme=light] .journal-hero img{display:block;max-width:100%;width:100%;height:auto;mask-image:none;-webkit-mask-image:none;mix-blend-mode:normal;border-radius:14px;box-shadow:none;filter:none}
:root[data-theme=light] :is(.footer-identity,.footer-identity span,.footer-social-icons a,.footer-utility,.footer-utility small,.footer-bottom .footer-email){color:#4e3453}
:root[data-theme=light] .footer-social-icons a:hover{color:#35122f;background:#eee4ef}
:root .footer-social-icons a{min-width:44px;min-height:44px}
:root .home-paths .vision-art{width:100%;height:100%;min-height:150px;object-fit:cover;mask-image:none;-webkit-mask-image:none;align-self:stretch;border-radius:12px}
:root[data-theme=light] :is(.bios a,.vision-quote a,.writer-section a,.writer-sidebar a,.writer-sidebar-note a,.writer-text-link){color:#5b215f!important;text-decoration:underline;text-underline-offset:4px}
:root[data-theme=light] .writer-sidebar{border:1px solid var(--mim-border)}
:root[data-theme=light] .writer-copyright{background:#35122f;border-color:#35122f;padding:24px 28px}
:root[data-theme=light] .writer-copyright :is(h3,p,a){color:#faf5ed!important}
:root[data-theme=light] .social-cards .social-card{background:var(--mim-surface);border:1px solid #978297;box-shadow:none}
:root[data-theme=light] .social-card::before{display:none}
:root[data-theme=light] :is(.social-icon,.social-card-name,.social-card-follow){color:#35122f}
:root[data-theme=light] :is(.social-card-handle,.social-card-note){color:#5c4a61}
:root[data-theme=light] .social-card-follow{border-color:var(--mim-border)}
:root[data-theme=light] .workshop-product{padding:36px;margin:28px 0;border:1px solid var(--mim-border);border-radius:14px;gap:36px}
:root[data-theme=light] .workshop-product-copy .product-promise{color:#35122f!important}
:root[data-theme=light] .workshop-coming-hero .workshop-hero-note{color:#59445e!important}
:root[data-theme=light] :is(.resource-context,.resource-invitation){background:#f6eff5}
:root[data-theme=light] .resource-description .resource-why{color:#443448}
:root[data-theme=light] .resource-why>span{color:#5b215f}
:root[data-theme=light] .resource-invitation :is(.resource-back,.resource-suggest){color:#5b215f;background:transparent;border-color:#a38aa4}
@media(max-width:1080px){
 :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 .writer-sidebar{top:auto}
}
@media(max-width:760px){
 :root .writer-sidebar{position:static;padding:22px;margin-bottom:20px}
 :root .writer-detail{padding:0 20px}
 :root .writer-detail>summary{gap:14px}
 :root .writer-detail>summary small{font-size:14px}
 :root .resource-invitation{padding:24px;align-items:flex-start;flex-direction:column;gap:16px}
 :root .resource-context{padding:22px 24px}
 :root[data-theme=light] .workshop-product{padding:26px 24px;margin:22px 0;gap:26px}
 :root .contact-social{padding:24px}
}
@media(max-width:650px){
 :root .home-stage{align-items:start}
 :root .home-copy h1{letter-spacing:-.035em}
 :root .home-paths .vision-art{min-height:120px}
 :root[data-theme=light] .journal-hero{max-width:100%;height:auto;justify-self:stretch}
 :root[data-theme=light] .journal-hero img{max-width:100%;width:100%}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
:root[data-theme=light] .workshop-product .product-coming{color:#675b69!important}
:root[data-theme=light] .resource-suggest span{color:inherit}
:root .writer-detail summary .writer-toggle{font-size:24px!important;line-height:1}
/* Compact theme control after Search; retains its full accessible hit target. */
:root body>header>.mim-theme-picker{order:3;margin-left:0}
:root body>header>#main-navigation{order:2;margin-left:auto}
:root .mim-theme-picker{position:relative;display:inline-flex;align-items:center;justify-content:center;min-width:44px;width:44px;min-height:44px;height:44px;padding:0;border:0;border-radius:8px;background:transparent;box-shadow:none;color:var(--mim-muted)}
:root .mim-theme-picker::before,:root .mim-theme-picker::after{content:none}
:root .mim-theme-picker .theme-icon{width:23px;height:23px;flex:none;stroke:currentColor}
:root .mim-theme-picker .theme-moon{display:none}
:root[data-theme=light] .mim-theme-picker .theme-sun{display:none}
:root[data-theme=light] .mim-theme-picker .theme-moon{display:block}
:root .mim-theme-picker:hover,:root .mim-theme-picker:focus-visible{color:var(--mim-heading)}
:root .mim-theme-tooltip{position:absolute;z-index:30;top:calc(100% + 8px);right:0;width:max-content;max-width:calc(100vw - 32px);padding:8px 12px;border:1px solid var(--mim-border);border-radius:8px;background:var(--mim-surface);color:var(--mim-ink);box-shadow:0 5px 18px #0002;font:500 14px/1.5 var(--mim-ui);white-space:nowrap;pointer-events:none;visibility:hidden;opacity:0}
:root .mim-theme-picker:focus-visible .mim-theme-tooltip{visibility:visible;opacity:1}
@media(hover:hover){:root .mim-theme-picker:hover .mim-theme-tooltip{visibility:visible;opacity:1}}
:root .mim-theme-picker[data-tooltip-dismissed] .mim-theme-tooltip{visibility:hidden;opacity:0}
:root .mim-theme-picker .theme-glyph{display:none}
:root .mim-theme-picker [data-mim-theme-label]{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
:root .mim-theme-picker:hover{background:transparent}
:root .home-paths .path>.vision-art,:root .home-paths .path>.path-photo,:root .home-paths .path>.path-workbook{width:100%;height:150px;min-height:0;align-self:center;border-radius:12px;object-fit:cover}
:root[data-theme=light] .writer-scope-note{border:1px solid var(--mim-border)}
:root[data-theme=light] .contact-arrow,:root[data-theme=light] .social-card-follow>span{font-size:.7em;font-weight:400;color:#8b6c90}
:root[data-theme=light] .contact-arrow{display:inline-block;vertical-align:.12em;margin-left:.15em}
:root[data-theme=light] .social-card-follow>span{font-size:18px}
:root .resource-context{max-width:none;width:100%}
:root .inspiration-page .resource-intro{max-width:none;width:100%}
@media(max-width:1080px){:root header.menu-enhanced>.mim-theme-picker{order:1;margin-left:auto}:root header.menu-enhanced>.nav-toggle{order:2}:root header.menu-enhanced>#main-navigation{order:3;margin-left:0}}
@media(max-width:900px){:root .home-paths .path>.vision-art,:root .home-paths .path>.path-photo,:root .home-paths .path>.path-workbook{height:125px}}
@media(max-width:650px){:root .home-paths .path>.vision-art,:root .home-paths .path>.path-photo,:root .home-paths .path>.path-workbook{height:110px}}
@media(prefers-reduced-motion:reduce){:root .mim-theme-picker::after{transition:none}}

:root .collection-intro{max-width:none;width:100%}
/* One radius for content panels; controls and pill toggles keep their own shape. */
:root{--mim-panel-radius:12px}
:root :is(.original-goal,.context-signup,.feature,.vision-quote,.workshop-product,.workshop-updates,.writer-newsletter,.writer-sidebar,.writer-start,.writer-guideline-facts,.writer-scope-note,.writer-detail,.writer-copyright,.contact-social,.social-cards .social-card,.resource-context,.resource-invitation,.shop-follow,.shop-preview-dialog,.product-preview-dialog){border-radius:var(--mim-panel-radius)}
:root[data-theme=light] .essay-signature span{color:var(--mim-link)}

/* Consistent panel edges with a restrained lift in Light theme. */
:root :is(.original-goal,.context-signup,.feature,.vision-quote,.workshop-product,.workshop-updates,.writer-newsletter,.writer-sidebar,.writer-start,.writer-guideline-facts,.writer-scope-note,.writer-detail,.writer-copyright,.contact-social,.social-cards .social-card,.resource-context,.resource-invitation,.resource-suggest,.shop-follow,.shop-preview-dialog,.product-preview-dialog){border:1px solid var(--mim-border);border-radius:var(--mim-panel-radius)}
:root[data-theme=light] :is(.original-goal,.context-signup,.feature,.vision-quote,.workshop-product,.workshop-updates,.writer-newsletter,.writer-sidebar,.writer-start,.writer-guideline-facts,.writer-scope-note,.writer-detail,.writer-copyright,.contact-social,.social-cards .social-card,.resource-context,.resource-invitation,.resource-suggest,.shop-follow,.shop-preview-dialog,.product-preview-dialog){box-shadow:0 2px 8px rgba(53,18,47,.04)}

/* Shared page shell: 1162px maximum, with one set of responsive gutters.
   Reading measures inside this shell remain deliberately narrower. */
:root{--mim-page-width:1162px;--mim-page-gutter:6vw}
:root :is(.home-stage,.home-paths,.page-intro,.team-stage,.bios,.original-goal,.vision-essay,.vision-garden,.wonder-quote,.workshop-coming-hero,.workshop-jumps,.workshop-products,.workshop-updates,.writer-hero,.writer-body,.writer-newsletter,.shop-hero,.shop-collection,.shop-follow,.resource-width,.context-signup,.search-main){box-sizing:border-box;width:calc(100% - 2 * var(--mim-page-gutter));max-width:var(--mim-page-width);margin-left:auto;margin-right:auto}
:root :is(.home-stage,.page-intro,.team-stage,.bios,.vision-essay,.vision-garden,.wonder-quote,.workshop-coming-hero,.workshop-products,.writer-hero,.writer-body,.shop-hero,.shop-collection){padding-left:0;padding-right:0}
:root .original-goal{padding-left:32px;padding-right:32px}
:root .workshop-jumps{padding-left:0;padding-right:0}
:root .contact-social{max-width:none;width:100%}
:root .privacy-copy{box-sizing:border-box;width:calc(100% - 2 * var(--mim-page-gutter));max-width:760px;padding-left:0;padding-right:0}
:root .essay-reflection{width:100%;max-width:none;margin-left:0;margin-right:0}
:root .essay-opening{width:100%;max-width:none}
:root .essay-opening>div{max-width:none}
@media(max-width:650px){:root{--mim-page-gutter:20px}:root .original-goal{padding-left:24px;padding-right:24px}}

/* Finish Home's final panel and give the reading room more breathing room. */
:root .home-paths{border:1px solid var(--mim-border);border-radius:var(--mim-panel-radius);margin-bottom:48px;padding:32px}
:root[data-theme=light] .home-paths{box-shadow:0 2px 8px rgba(53,18,47,.04)}
:root .resource-jumps{gap:14px 28px;margin-top:24px;margin-bottom:40px}
:root .resource-context{padding:28px 32px;margin-bottom:48px}
:root .resource-group{padding-top:12px;margin-bottom:60px}
:root .resource-group h2{margin-bottom:24px}
:root .resource-entry{padding-top:32px;padding-bottom:32px;column-gap:30px}
:root .resource-entry::before{top:32px;bottom:32px}
:root .resource-invitation{margin-top:40px;margin-bottom:48px;padding:32px}
:root .inspiration-section{padding-top:36px;margin-bottom:80px}
:root .inspiration-section-intro{margin-bottom:36px}
:root .inspiration-shelf{margin-top:44px}
:root .inspiration-shelf+.inspiration-shelf{margin-top:60px}
:root .inspiration-shelf-title{margin-bottom:20px}
:root .inspiration-list{gap:44px 56px}
:root .category-path{padding-top:36px;padding-bottom:36px}
@media(max-width:700px){:root .home-paths{padding:24px;margin-bottom:32px}:root .resource-jumps{gap:12px 20px;margin-top:20px;margin-bottom:32px}:root .resource-context{padding:24px;margin-bottom:36px}:root .resource-group{margin-bottom:44px}:root .resource-group h2{margin-bottom:20px}:root .resource-entry{padding-top:28px;padding-bottom:28px;column-gap:15px}:root .resource-entry::before{top:28px;bottom:28px}:root .resource-invitation{padding:24px;margin-top:32px;margin-bottom:36px}:root .inspiration-section{padding-top:28px;margin-bottom:56px}:root .inspiration-list{gap:36px}:root .inspiration-shelf{margin-top:32px}:root .inspiration-shelf+.inspiration-shelf{margin-top:44px}}

/* Home follows the same exploration → invitation → footer flow as other pages. */
:root .home-stage:has(+.home-paths){padding-bottom:0}
:root .home-paths{margin-top:48px;margin-bottom:0}
:root:not([data-theme=light]) .home-stage>.journal-hero{height:auto;min-height:0;align-self:center;overflow:visible}
:root:not([data-theme=light]) .home-stage>.journal-hero img{display:block;width:100%;max-width:100%;height:auto;max-height:none;object-fit:contain;mask-image:none;-webkit-mask-image:none}
@media(max-width:700px){:root .home-paths{margin-top:32px}}

/* Final reading contrast: supporting text uses the same semantic theme colors. */
:root[data-theme=light] :is(.wonder-quote cite,.thought-mark,.notify-invitation,.workshop-jumps a span,.writer-text-link span,.resource-back span){color:var(--mim-link)}
:root[data-theme=light] :is(.privacy-copy a,.inspiration-existing a){color:var(--mim-link);text-decoration:underline;text-underline-offset:3px}
:root[data-theme=light] #search-help{color:var(--mim-muted)}
:root .aaron-acknowledgment{margin-top:28px;padding-top:22px;border-top:1px solid var(--mim-border);color:var(--mim-muted)}
:root .aaron-acknowledgment strong{color:var(--mim-heading)}
:root :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #ae70cf;outline-offset:4px}

:root[data-theme=light] .contact-arrow{color:#85678b}

/* Align Home's hero with the other page introductions instead of centering it. */
:root .home-stage{align-items:start;min-height:0;padding-top:65px}
:root .home-stage>.home-copy,:root[data-theme] .home-stage>.journal-hero{align-self:start}
@media(max-width:650px){:root .home-stage{padding-top:40px}}

:root .journal-hero>picture{display:block;width:100%;min-width:0}

/* Saved-language pages: one small globe, equivalent-page links, no runtime translator. */
:root body>header>.mim-language-picker{position:relative;order:3;flex:none;margin:0}
:root body>header>.mim-theme-picker{order:4}
:root .mim-language-picker>summary{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:44px;height:44px;padding:0;list-style:none;border:0;border-radius:8px;color:var(--mim-muted);cursor:pointer}
:root .mim-language-picker>summary::-webkit-details-marker{display:none}
:root .mim-language-picker>summary::marker{content:''}
:root .mim-language-picker>summary:hover,:root .mim-language-picker>summary:focus-visible{color:var(--mim-heading)}
:root .mim-language-picker>summary:focus-visible{outline:3px solid #ae70cf;outline-offset:3px}
:root .mim-language-menu{position:absolute;right:0;top:calc(100% + 8px);z-index:110;min-width:170px;padding:8px;background:var(--mim-surface);border:1px solid var(--mim-border);border-radius:12px;box-shadow:0 8px 24px #0003}
:root .mim-language-menu a{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:44px;box-sizing:border-box;padding:8px 12px;border-radius:6px;color:var(--mim-ink);font:500 15px/1.4 var(--mim-ui);text-decoration:none}
:root .mim-language-menu a:hover,:root .mim-language-menu a:focus-visible{background:var(--mim-bg);color:var(--mim-link)}
:root .mim-language-menu a[aria-current]{color:var(--mim-link)}
:root .mim-language-tooltip{position:absolute;right:0;top:calc(100% + 8px);z-index:110;padding:8px 12px;border:1px solid var(--mim-border);border-radius:8px;background:var(--mim-surface);color:var(--mim-ink);font:500 14px/1.5 var(--mim-ui);white-space:nowrap;pointer-events:none;visibility:hidden}
:root .mim-language-picker:not([open])>summary:focus-visible .mim-language-tooltip{visibility:visible}
@media(hover:hover){:root .mim-language-picker:not([open])>summary:hover .mim-language-tooltip{visibility:visible}}
:root[lang=es] .search-language-note{font:400 15px/1.6 var(--mim-ui);color:var(--mim-muted);margin:0 0 24px}
:root[lang=es] .home-copy h1{font-size:clamp(42px,4.8vw,72px);line-height:1.12}
@media(max-width:1250px){:root body>header{gap:8px}:root body>header>#main-navigation{gap:16px}}
@media(max-width:1080px){:root header.menu-enhanced>.mim-language-picker{order:1;margin-left:auto}:root header.menu-enhanced>.mim-theme-picker{order:2;margin-left:0}:root header.menu-enhanced>.nav-toggle{order:3}:root header.menu-enhanced>#main-navigation{order:4}:root header.menu-enhanced{gap:6px}}
@media(max-width:650px){:root[lang=es] .home-copy h1{font-size:42px}}
@media(max-width:360px){:root header.menu-enhanced{gap:2px}:root header.menu-enhanced .brand>span{font-size:16px}:root header.menu-enhanced .brand img{width:26px;height:26px}}
:root .mim-language-picker[data-language-tooltip-dismissed] .mim-language-tooltip{visibility:hidden!important}
