/* MYCELIAL ATLAS v0.5 RC — approved visual-only Ghost layer. Source: Edition theme. */
:root{--mm4-ink:#142d23;--mm4-moss:#0a2119;--mm4-paper:#f7f5ee;--mm4-cream:#faf8f2;--mm4-sage:#a8c3a5;--mm4-quiet:#5a6b60;--mm4-line:#d2d7cc;--mm4-copper:#ad9573}
body .site,body .site-content{background:var(--mm4-paper)}
.home-template .site-content{padding:0!important}
html{scroll-behavior:smooth}
/* Original Ghost publication icon / logo, presented large and unmodified. */
.gh-head.mm-head{background:var(--mm4-cream)!important;box-shadow:none!important;border-bottom:1px solid #dfe2d9!important;backdrop-filter:none!important}
.gh-head.mm-head .gh-head-inner{width:min(1550px,calc(100% - 100px));max-width:1550px;min-height:92px;display:grid;grid-template-columns:minmax(340px,1fr) auto minmax(30px,.3fr);align-items:center;gap:32px}
.gh-head.mm-head .gh-head-brand{min-width:0}
.mm-identity{display:flex;gap:15px;align-items:center;text-decoration:none;white-space:nowrap}
.mm-identity img{display:block;width:76px!important;height:76px!important;object-fit:contain;mix-blend-mode:multiply;background:transparent}
.mm-identity-name{font:400 clamp(22px,2.2vw,32px)/1.12 Georgia,'Times New Roman',serif;letter-spacing:-.047em;color:#142d23}
.gh-head.mm-head .gh-head-menu .nav>li{opacity:1!important}
.gh-head.mm-head .gh-head-menu .nav{display:flex;gap:clamp(14px,2vw,32px);align-items:center}
.gh-head.mm-head .gh-head-menu .nav a{font:700 11px/1.4 system-ui,-apple-system,sans-serif;letter-spacing:.09em;text-transform:uppercase;color:#53675a;position:relative;padding:12px 0}
.gh-head.mm-head .gh-head-menu .nav a:hover,.gh-head.mm-head .gh-head-menu .nav .nav-current a{color:#18382a}
.gh-head.mm-head .gh-head-menu .nav .nav-current a:after{content:'';position:absolute;bottom:3px;left:0;right:0;height:2px;background:var(--mm4-copper)}
.gh-head.mm-head a:focus-visible,.gh-head.mm-head button:focus-visible{outline:2px solid #6b947a;outline-offset:4px}
.gh-head.mm-head .gh-head-actions{visibility:hidden;pointer-events:none;min-width:0}
/* Approved artwork. Desktop uses a byte-for-byte existing crop from the user-selected original. */
.mm4-home-hero{position:relative;overflow:hidden;background:#06180f}
.mm4-approved-hero{display:block;max-width:none;width:100%;height:auto;aspect-ratio:1672/858;object-fit:cover}
.mm4-mobile-hero{display:none}
.mm4-paper{background:var(--mm4-paper)}
.mm4-home-editable{border-top:1px solid var(--mm4-line);padding:clamp(55px,8vw,110px) 0}
.mm4-shell{width:min(1200px,calc(100% - 100px));margin-inline:auto}
/* Interior headings: restrained but not blank; the image is atmosphere, not text. */
.mm4-page{background:var(--mm4-paper);min-height:60vh}
.mm4-page-header{position:relative;min-height:360px;display:flex;align-items:center;background:var(--mm4-moss);color:var(--mm4-cream);overflow:hidden;isolation:isolate}
.mm4-page-photo{position:absolute;inset:0;z-index:-1;background-image:linear-gradient(90deg,rgba(6,24,17,.97) 0%,rgba(6,24,17,.91) 37%,rgba(6,24,17,.26) 100%),url('../images/approved-network-detail.png');background-size:cover;background-position:50% 50%;opacity:.97}
.mm4-page-heading{position:relative;padding:72px 0 82px}
.mm4-page-heading h1{font:400 clamp(58px,7vw,104px)/1.04 Georgia,'Times New Roman',serif;letter-spacing:-.065em;max-width:860px;color:#f8f7ee;margin:0}
.mm4-page-deck{font:400 clamp(17px,1.7vw,23px)/1.65 Georgia,'Times New Roman',serif;color:#d4e1d3;max-width:715px;margin:24px 0 0}
/* Gentle page-to-page variation without extra interface chrome. */
.mm4-page--corpus .mm4-page-header{min-height:310px}
.mm4-page--corpus .mm4-page-photo{background-position:50% 37%;opacity:.83}
.mm4-page--about .mm4-page-header{min-height:330px}
.mm4-page--about .mm4-page-photo{background-position:50% 68%}
.mm4-page--research-journal .mm4-page-header{min-height:320px}
.mm4-page--research-journal .mm4-page-photo{background-position:50% 18%}
.mm4-page-content{padding:clamp(60px,7vw,112px) 0 clamp(85px,8vw,135px)}
.mm4-content{max-width:860px;margin:auto;color:#334b3c;font:400 17px/1.9 system-ui,-apple-system,'Segoe UI',sans-serif}
.mm4-content:empty{display:none}
.mm4-content .kg-width-wide{max-width:min(1130px,calc(100vw - 80px));width:min(1130px,calc(100vw - 80px));position:relative;left:50%;transform:translateX(-50%)}
.mm4-content .kg-width-full{max-width:100vw;position:relative;left:50%;transform:translateX(-50%);width:100vw}
.mm4-content h2,.mm4-content h3,.mm4-content h4{font-family:Georgia,'Times New Roman',serif;color:#18382a;letter-spacing:-.04em;font-weight:400;line-height:1.2;margin-top:1.6em}
.mm4-content h2{font-size:clamp(32px,3.4vw,49px)}
.mm4-content h3{font-size:clamp(25px,2.7vw,35px)}
.mm4-content p,.mm4-content ul,.mm4-content ol{margin-bottom:1.35em}
.mm4-content a{color:#28583e;text-underline-offset:4px}
.mm4-content blockquote{font:italic 400 clamp(21px,2.4vw,32px)/1.6 Georgia,serif;color:#234b39;border-left:3px solid #9eb79f;padding:2px 0 2px 26px;margin:2em 0}
.mm4-content hr{border:0;border-top:1px solid var(--mm4-line);margin:3em 0}
.mm4-content img{max-width:100%;height:auto}
.mm4-content :is(.kg-card,.kg-gallery-card,.kg-image-card){max-width:100%}
/* Ghost bookmark/file cards remain native and editable. */
.mm4-content .kg-bookmark-card,.mm4-content .kg-file-card{border-color:var(--mm4-line)}
/* Journal: date-title-excerpt rows authored as normal Ghost posts. */
.mm4-journal-feed{padding:0 0 120px}
.mm4-journal-feed .mm4-shell{max-width:1000px}
.mm4-journal-entry{display:grid;grid-template-columns:130px minmax(0,1fr) 24px;gap:34px;border-top:1px solid #c5d1c6;padding:32px 0 37px;align-items:start}
.mm4-journal-entry time{font:700 11px/1.6 system-ui,sans-serif;letter-spacing:.11em;text-transform:uppercase;color:#6a8070;padding-top:9px}
.mm4-journal-entry h2{font:400 clamp(25px,3vw,39px)/1.18 Georgia,serif;letter-spacing:-.037em;color:#1d392b;margin:0 0 11px}
.mm4-journal-entry h2 a{color:inherit;text-decoration:none}
.mm4-journal-entry h2 a:hover{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:5px}
.mm4-journal-entry p,.mm4-journal-empty{font:400 15px/1.75 system-ui,sans-serif;color:#637268;margin:0}
.mm4-journal-empty{padding:30px 0;border-top:1px solid var(--mm4-line)}
.mm4-journal-arrow{font:400 20px Georgia,serif;color:#769581}
/* Native Ghost content, archive and individual posts share editorial styling. */
.page-template .single,.post-template .single{background:var(--mm4-paper)}
.post-template .single-title,.page-template .single-title{font-family:Georgia,serif;font-weight:400;color:var(--mm4-ink);letter-spacing:-.05em}
.post-template .single-content,.page-template .single-content{color:#334b3c;line-height:1.8}
.gh-foot.mm-foot{background:#0d261c;color:#c8d7c8;padding:55px 0 34px}
.gh-foot.mm-foot .gh-foot-inner{border:none;max-width:1200px}
.gh-foot.mm-foot a{color:#c8d7c8}
.gh-foot.mm-foot .gh-copyright{font-size:13px}
.gh-foot.mm-foot .gh-powered-by{opacity:.67}
@media(max-width:1120px){.gh-head.mm-head .gh-head-inner{width:calc(100% - 56px);grid-template-columns:minmax(270px,1fr) auto 20px;gap:16px}.mm-identity img{width:62px!important;height:62px!important}.mm-identity-name{font-size:25px}.gh-head.mm-head .gh-head-menu .nav{gap:16px}.gh-head.mm-head .gh-head-menu .nav a{font-size:10px}}
@media(max-width:991px){.gh-head.mm-head .gh-head-inner{min-height:78px;width:calc(100% - 42px);grid-template-columns:auto 1fr auto}.gh-head.mm-head .gh-head-menu{background:var(--mm4-cream)}.gh-head.mm-head .gh-head-menu .nav{flex-direction:column;align-items:flex-start;gap:2px}.gh-head.mm-head .gh-head-menu .nav a{font-size:14px}.mm4-home-hero{min-height:630px;background:linear-gradient(90deg,rgba(3,20,12,.92),rgba(3,20,12,.51)),url('../images/approved-network-mobile.png') center right/cover}.mm4-approved-hero{display:none}.mm4-mobile-hero{display:flex;min-height:630px;flex-direction:column;justify-content:center;width:calc(100% - 76px);margin:auto}.mm4-mobile-hero h1{font:400 clamp(54px,8.5vw,91px)/1.09 Georgia,serif;letter-spacing:-.065em;color:#f7f4ea;max-width:730px;margin:0}.mm4-mobile-hero h1 em{display:block;color:#b2cdb0;font-weight:400}.mm4-mobile-hero p{font:400 clamp(18px,2.5vw,25px)/1.55 Georgia,serif;color:#edece3;max-width:570px;margin:27px 0 0}}
@media(max-width:640px){.gh-head.mm-head .gh-head-inner{width:calc(100% - 26px);min-height:76px}.mm-identity{gap:10px}.mm-identity img{width:54px!important;height:54px!important}.mm-identity-name{font-size:20px}.mm4-shell{width:calc(100% - 42px)}.mm4-home-hero,.mm4-mobile-hero{min-height:580px}.mm4-mobile-hero{width:calc(100% - 48px);padding:72px 0}.mm4-mobile-hero h1{font-size:clamp(46px,12.7vw,70px)}.mm4-mobile-hero p{font-size:18px;line-height:1.6}.mm4-page-header,.mm4-page--corpus .mm4-page-header,.mm4-page--about .mm4-page-header,.mm4-page--research-journal .mm4-page-header{min-height:290px}.mm4-page-heading{padding:70px 0}.mm4-page-heading h1{font-size:clamp(49px,12.5vw,75px)}.mm4-page-deck{font-size:18px;line-height:1.55}.mm4-page-content{padding:60px 0 90px}.mm4-content{width:calc(100% - 46px);font-size:16px;line-height:1.8}.mm4-content .kg-width-wide{width:calc(100vw - 30px);max-width:calc(100vw - 30px)}.mm4-journal-feed{padding-bottom:80px}.mm4-journal-entry{grid-template-columns:1fr 20px;gap:12px;padding:25px 0}.mm4-journal-entry time{grid-column:1/-1;padding:0}.mm4-journal-entry h2{font-size:29px}.gh-foot.mm-foot{padding:38px 0}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}


/* v0.6 live-site fixes */
body .site, body .site-content { background: var(--mm4-paper); }
.site-content { padding: 0 !important; }
.gh-head.mm-head{background:#f3f0e8;border-bottom:1px solid rgba(20,45,35,.08);position:relative;z-index:30;height:auto;}
.gh-head.mm-head .gh-head-inner{width:min(1560px,calc(100% - 64px));max-width:1560px;min-height:102px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:22px;margin:0 auto;}
.mm-brand{display:flex;align-items:center;}
.mm-identity{display:flex;gap:18px;align-items:center;text-decoration:none;white-space:nowrap;}
.mm-identity img{display:block;width:78px!important;height:78px!important;object-fit:contain;mix-blend-mode:multiply;background:transparent;}
.mm-identity-name{font:400 clamp(26px,2.6vw,38px)/1.1 Georgia,'Times New Roman',serif;letter-spacing:-.045em;color:#173628;}
.mm-desktop-nav{justify-self:end;display:flex;}
.gh-head.mm-head .gh-head-menu .nav{display:flex;flex-wrap:nowrap;gap:clamp(16px,2vw,34px);align-items:center;list-style:none;margin:0;padding:0;}
.gh-head.mm-head .gh-head-menu .nav > li{opacity:1!important;display:block!important;}
.gh-head.mm-head .gh-head-menu .nav a{font:700 12px/1.4 system-ui,-apple-system,sans-serif;letter-spacing:.10em;text-transform:uppercase;color:#53675a;position:relative;padding:12px 0;}
.gh-head.mm-head .gh-head-menu .nav a:hover,.gh-head.mm-head .gh-head-menu .nav .nav-current a{color:#18382a;}
.gh-head.mm-head .gh-head-menu .nav .nav-current a:after{content:'';position:absolute;left:0;right:0;bottom:2px;height:2px;background:var(--mm4-copper);}
.mm-burger,.mm-mobile-nav{display:none;}
.gh-head.mm-head .nav-more,.gh-head.mm-head .nav-more-toggle,.gh-head.mm-head .gh-search,.gh-head.mm-head .gh-head-actions{display:none!important;}

.mm4-home-hero{position:relative;overflow:hidden;background:#06180f;}
.mm4-approved-hero{display:block;width:100%;height:auto;}
.mm4-mobile-hero{display:none;}

@media(max-width:1100px){
  .gh-head.mm-head .gh-head-inner{width:calc(100% - 40px);grid-template-columns:auto 1fr auto;gap:16px;}
  .mm-identity img{width:64px!important;height:64px!important;}
  .mm-identity-name{font-size:28px;}
  .gh-head.mm-head .gh-head-menu .nav{gap:16px;}
  .gh-head.mm-head .gh-head-menu .nav a{font-size:11px;}
}
@media(max-width:991px){
  .gh-head.mm-head .gh-head-inner{width:calc(100% - 28px);min-height:82px;grid-template-columns:auto 1fr auto;}
  .mm-desktop-nav{display:none;}
  .mm-burger{display:block;justify-self:end;width:30px;height:22px;border:0;background:transparent;position:relative;cursor:pointer;}
  .mm-burger:before,.mm-burger:after{content:'';position:absolute;left:0;right:0;height:2px;background:#173628;border-radius:2px;transition:transform .2s ease, top .2s ease, bottom .2s ease;}
  .mm-burger:before{top:4px;}
  .mm-burger:after{bottom:4px;}
  body.mm-nav-open .mm-burger:before{top:10px;transform:rotate(45deg);}
  body.mm-nav-open .mm-burger:after{bottom:10px;transform:rotate(-45deg);}
  .mm-mobile-nav{display:none;position:absolute;top:100%;right:14px;left:14px;background:#f3f0e8;border:1px solid rgba(20,45,35,.12);box-shadow:0 16px 34px rgba(0,0,0,.08);padding:14px 18px 12px;border-radius:16px;}
  body.mm-nav-open .mm-mobile-nav{display:block;}
  .mm-mobile-nav .nav{display:flex;flex-direction:column;align-items:flex-start;gap:2px;list-style:none;margin:0;padding:0;}
  .mm-mobile-nav .nav a{display:block;padding:12px 0;font:700 15px/1.4 system-ui,-apple-system,sans-serif;letter-spacing:.09em;text-transform:uppercase;color:#173628;}
  .mm4-home-hero{min-height:630px;background:linear-gradient(90deg,rgba(3,20,12,.92),rgba(3,20,12,.51)),url('../images/approved-network-mobile.png') center right/cover;}
  .mm4-approved-hero{display:none;}
  .mm4-mobile-hero{display:flex;min-height:630px;flex-direction:column;justify-content:center;width:calc(100% - 54px);margin:auto;padding:0;}
  .mm4-mobile-hero h1{font:400 clamp(54px,8.5vw,91px)/1.09 Georgia,serif;letter-spacing:-.065em;color:#f7f4ea;max-width:730px;margin:0;}
  .mm4-mobile-hero h1 em{display:block;color:#b2cdb0;font-weight:400;}
  .mm4-mobile-hero p{font:400 clamp(18px,2.5vw,25px)/1.55 Georgia,serif;color:#edece3;max-width:570px;margin:27px 0 0;}
}
@media(max-width:640px){
  .mm-identity{gap:12px;}
  .mm-identity img{width:56px!important;height:56px!important;}
  .mm-identity-name{font-size:20px;}
  .gh-head.mm-head .gh-head-inner{width:calc(100% - 24px);min-height:76px;}
  .mm4-home-hero,.mm4-mobile-hero{min-height:580px;}
  .mm4-mobile-hero{width:calc(100% - 38px);padding:72px 0;}
}

/* v0.7: Corpus returns to an unadorned Ghost-editable reading page. */
.mm4-corpus-plain { background:var(--mm4-paper); min-height:70vh; }
.mm4-corpus-plain .mm4-page-content { padding:clamp(72px,6vw,104px) 0 clamp(96px,8vw,135px); }
.mm4-corpus-plain .mm4-content > :first-child { margin-top:0!important; }
@media (max-width:640px) {
    .mm4-corpus-plain .mm4-page-content { padding:52px 0 90px; }
}


/* v0.8: Plain interior pages; no image banner or repeated page title. */
.mm4-plain-page{background:var(--mm4-paper);min-height:65vh;}
.mm4-plain-page .mm4-page-content{padding:clamp(58px,6vw,92px) 0 clamp(90px,8vw,132px);}
.mm4-plain-page .mm4-content > :first-child,
.mm4-home-editable .mm4-content > :first-child{margin-top:0!important;}
.mm4-home-editable{border-top:0; padding:clamp(58px,6vw,92px) 0 clamp(88px,8vw,132px);}
.mm4-home-editable .mm4-content{max-width:860px;}
@media(max-width:640px){
  .mm4-plain-page .mm4-page-content{padding:46px 0 84px;}
  .mm4-home-editable{padding:46px 0 84px;}
}

/* v1.0 — warmer, more visible organic mycelial marginalia.
   Universal plain-page selector intentionally covers renamed Ghost slugs such as
   original-corpus: the v0.9 page-specific selector could miss those routes.
   Only the .mm4-plain-page template receives the ornament, never the homepage.
   Source: user-approved v1.0 visual mockup; no text baked into the rail artwork.
*/
.mm4-plain-page .mm4-page-content {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}
.mm4-plain-page .mm4-page-content::before,
.mm4-plain-page .mm4-page-content::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: min(320px, max(0px, calc((100vw - 860px) * 0.325)));
    background-image: url('../images/interior-beige-mycelial-rail.png');
    background-repeat: repeat-y;
    background-size: 100% 910px;
    background-position: center top;
    opacity: 1;
    pointer-events: none;
    z-index: 0;
}
.mm4-plain-page .mm4-page-content::before { left: 0; }
.mm4-plain-page .mm4-page-content::after { right: 0; transform: scaleX(-1); }
.mm4-plain-page .mm4-content {
    position: relative;
    z-index: 1;
}
/* At narrower desktop/mobile widths, reserve the full width for the text. */
@media (max-width: 1100px) {
    .mm4-plain-page .mm4-page-content::before,
    .mm4-plain-page .mm4-page-content::after { display: none; }
}


/* v1.0.1 — mobile navigation visibility and interaction fix.
   Override Edition's mobile #gh-head grid (which places the burger on an unseen
   extra row) with a single horizontal header. Does not touch desktop or hero.
*/
@media (max-width: 991px) {
  #gh-head.mm-head {
    position: relative;
    z-index: 100;
    height: auto;
    min-height: 76px;
    overflow: visible;
    padding-inline: clamp(14px, 4vw, 30px);
  }
  #gh-head.mm-head .gh-head-inner {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: none;
    min-height: 76px;
    height: auto;
    margin-inline: auto;
    padding: 0;
    gap: 12px;
  }
  #gh-head.mm-head .gh-head-brand {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    width: auto;
    height: auto;
    min-width: 0;
    grid-column: auto;
  }
  #gh-head.mm-head .mm-identity { min-width: 0; }
  #gh-head.mm-head .mm-identity-name { color: #173628; }
  #gh-head.mm-head .mm-desktop-nav { display: none; }
  #gh-head.mm-head .mm-burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex: 0 0 auto;
    min-width: 82px;
    min-height: 44px;
    padding: 9px 11px;
    border: 1px solid rgba(23,54,40,.25);
    border-radius: 8px;
    background: rgba(255,255,255,.22);
    color: #173628;
    cursor: pointer;
    font: 700 12px/1 system-ui,-apple-system,'Segoe UI',sans-serif;
    letter-spacing: .035em;
    text-transform: uppercase;
    touch-action: manipulation;
  }
  #gh-head.mm-head .mm-burger:hover,
  #gh-head.mm-head .mm-burger[aria-expanded="true"] {
    border-color: rgba(23,54,40,.55);
    background: rgba(23,54,40,.055);
  }
  #gh-head.mm-head .mm-burger::before,
  #gh-head.mm-head .mm-burger::after { content: none; }
  #gh-head.mm-head .mm-menu-lines {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 16px;
    height: 16px;
    justify-content: center;
  }
  #gh-head.mm-head .mm-menu-lines span {
    display: block;
    width: 16px;
    height: 1.5px;
    border-radius: 1px;
    background: currentColor;
  }
  #gh-head.mm-head .mm-mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 14px;
    right: 14px;
    z-index: 120;
    box-sizing: border-box;
    background: #f7f5ee;
    border: 1px solid rgba(23,54,40,.16);
    border-radius: 10px;
    box-shadow: 0 16px 32px rgba(11,37,24,.17);
    padding: 8px 18px;
  }
  body.mm-nav-open #gh-head.mm-head .mm-mobile-nav { display: block; }
  #gh-head.mm-head .mm-mobile-nav .nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  #gh-head.mm-head .mm-mobile-nav .nav > li {
    display: block;
    width: 100%;
    opacity: 1;
  }
  #gh-head.mm-head .mm-mobile-nav .nav > li + li {
    border-top: 1px solid rgba(23,54,40,.095);
  }
  #gh-head.mm-head .mm-mobile-nav .nav a {
    display: block;
    padding: 14px 4px;
    color: #173628;
    font: 700 13px/1.4 system-ui,-apple-system,'Segoe UI',sans-serif;
    letter-spacing: .085em;
    text-transform: uppercase;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  #gh-head.mm-head .mm-mobile-nav .nav .nav-current a {
    color: #2d6449;
  }
}
@media (max-width: 410px) {
  #gh-head.mm-head { padding-inline: 12px; }
  #gh-head.mm-head .gh-head-inner { gap: 8px; }
  #gh-head.mm-head .mm-identity { gap: 8px; }
  #gh-head.mm-head .mm-identity img { width: 47px!important; height: 47px!important; }
  #gh-head.mm-head .mm-identity-name { font-size: clamp(16px, 4.9vw, 20px); }
  #gh-head.mm-head .mm-burger { min-width: 72px; padding: 9px 8px; gap: 6px; font-size: 11px; }
}
@media (max-width: 340px) {
  #gh-head.mm-head .mm-identity img { width: 40px!important; height: 40px!important; }
  #gh-head.mm-head .mm-identity-name { font-size: 16px; }
  #gh-head.mm-head .mm-burger { min-width: 61px; gap: 4px; font-size: 10px; }
}


/* MYCELIAL ATLAS v1.1 — homepage continuation and retina-ready mobile hero.
   Preserves the original desktop <img>, typography, Ghost content, and menu.
*/
/* The hero must not lead immediately into the decorative text zone. */
.mm4-home-editable {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    box-sizing: border-box;
    margin-top: clamp(66px, 6.2vw, 106px);
    padding: 0 0 clamp(88px, 8vw, 132px);
    background: var(--mm4-paper);
}
.mm4-home-editable::before,
.mm4-home-editable::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: min(320px, max(0px, calc((100vw - 860px) * 0.325)));
    background-image: url('../images/interior-beige-mycelial-rail.png');
    background-repeat: repeat-y;
    background-size: 100% 910px;
    background-position: center top;
    opacity: 1;
    pointer-events: none;
    z-index: 0;
}
.mm4-home-editable::before {left:0;}
.mm4-home-editable::after {right:0;transform:scaleX(-1);}
.mm4-home-editable .mm4-content {position:relative;z-index:1;}
/* Maintain the approved editorial gutter when all content stays Ghost-editable. */
@media (max-width:1100px) {
  .mm4-home-editable::before,.mm4-home-editable::after { display:none; }
}
/* Real portrait asset and restrained contrast shading: mobile artwork stays
   brighter and richer than the original heavily darkened low-res background. */
@media (max-width:991px) {
  .mm4-home-hero {
      background-image: linear-gradient(90deg, rgba(1,14,9,.46) 0%, rgba(1,14,9,.28) 53%, rgba(1,14,9,.11) 100%), url('../images/approved-network-mobile-hd-v11.webp');
      background-color:#05150f;
      background-position: center center;
      background-repeat:no-repeat;
      background-size:cover;
      min-height: clamp(620px, calc(100svh - 85px), 780px);
  }
  .mm4-mobile-hero {
      min-height:inherit;
  }
  .mm4-home-editable {
      margin-top: 0;
      padding: 68px 0 96px;
  }
  .mm4-home-editable .mm4-content {
      box-sizing:border-box;
      width: min(860px, calc(100% - 56px));
      margin-inline:auto;
  }
}
@media (max-width:640px) {
  .mm4-home-hero {min-height: clamp(610px, calc(100svh - 76px), 760px);}
  .mm4-mobile-hero {min-height:inherit;}
  .mm4-home-editable {padding-top: 66px;padding-bottom: 88px;}
  .mm4-home-editable .mm4-content {width:calc(100% - 48px);}
}
@media (max-width:380px) {
  .mm4-home-editable .mm4-content {width:calc(100% - 38px);}
}


/* Mycelial Atlas v1.1.1: final editorial alignment correction.
   A single subtle header hairline replaces layered header decoration.
   Preserve the approved artwork, menus and homepage hero unchanged.
*/
#gh-head.mm-head {
    border: 0 !important;
    box-shadow: none !important;
}
/* Cover residual multi-tone/double header stripes from earlier site styles.
   Only ONE continuous 1px neutral divider remains.
   Mobile dropdown stays above page content and remains unaffected. */
#gh-head.mm-head::after {
    content: "" !important;
    display: block !important;
    position: absolute;
    left: 0;
    right: 0;
    bottom: -3px;
    height: 4px;
    background: var(--mm4-cream);
    border-bottom: 1px solid rgba(68, 89, 73, .22);
    z-index: 60;
    pointer-events: none;
}
/* Interior pages were inheriting unusually large top padding.
   Reduce only the first reading gap, without moving side artwork into text. */
body .mm4-plain-page .mm4-page-content,
body .mm4-corpus-plain .mm4-page-content {
    padding-top: clamp(34px, 3vw, 54px) !important;
}
/* Empty editor paragraphs are not meaningful page spacing. */
.mm4-plain-page .mm4-content > p:first-child:empty,
.mm4-plain-page .mm4-content > p:first-child:has(> br:only-child) {
    display: none;
}
@media (max-width: 640px) {
    body .mm4-plain-page .mm4-page-content,
    body .mm4-corpus-plain .mm4-page-content {
        padding-top: 32px !important;
    }
}

/* MYCELIAL ATLAS v1.2 — approved new hero copy, no other site changes.
   Desktop and mobile hero images are the exact approved v1.2 compositions;
   the original v1.1.1 background assets are preserved separately.
   The embedded text is represented in accessible HTML once, off-screen.
*/
.mm4-v12-home-hero {
    position: relative;
    min-height: 0 !important;
    padding: 0 !important;
    background: #06180f !important;
    background-image: none !important;
    overflow: hidden;
}
.mm4-v12-picture { display: block; width: 100%; line-height: 0; }
.mm4-v12-hero-image {
    display: block;
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    height: auto;
    object-fit: contain;
    aspect-ratio: 1752 / 898;
}
.mm4-v12-a11y-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
@media (max-width:640px) {
    .mm4-v12-home-hero { min-height: 0 !important; background-image: none !important; }
    .mm4-v12-hero-image { aspect-ratio: 931 / 1690; }
}
