/* =========================================================
   FORTRESS MEMORY PAGE SHELL
   Same page-width logic expected by the working Garden page.
   This stylesheet is loaded only on this Memory page.
   ========================================================= */

body.page-template-page-fortress-memory #secondary,
body.page-template-page-fortress-memory aside#secondary,
body.page-template-page-fortress-memory .ast-sidebar-container{
  display:none!important;
}

body.page-template-page-fortress-memory #primary,
body.page-template-page-fortress-memory .content-area,
body.page-template-page-fortress-memory .site-main{
  float:none!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
}

body.page-template-page-fortress-memory #content,
body.page-template-page-fortress-memory .site-content{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
}

body.page-template-page-fortress-memory #content > .ast-container,
body.page-template-page-fortress-memory .site-content > .ast-container{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding-left:0!important;
  padding-right:0!important;
}

#meski-memory-pumps-v2.pumps-memory-short{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
}


/*
THE FORTRESS OF MEMORIES
SHORT MEMORY · STYLE 1
MEMORY: THE SOUND OF THE PUMPS

Design intent:
- radically simpler than the Story chapters
- short-memory feel
- two images maximum
- lots of white space
- book-like silence
- ivory dominant, Meski green discreet, restrained gold accents
*/

#meski-memory-pumps-v2.pumps-memory-short{
  --pm-ivory:#f7f2e8;
  --pm-paper:#fbf8f1;
  --pm-ink:#16130f;
  --pm-brown:#5e5348;
  --pm-green:#16281e;
  --pm-green-deep:#0c1711;
  --pm-gold:#c3a04e;
  --pm-gold-soft:#e7d191;
  --pm-line:rgba(154,106,32,.18);
  width:100%;
  max-width:none;
  margin:0;
  padding:0;
  overflow:hidden;
  background:var(--pm-ivory);
  color:var(--pm-ink);
  font-family:"Jost", Arial, sans-serif;
}

#meski-memory-pumps-v2,
#meski-memory-pumps-v2 *{
  box-sizing:border-box;
}

#meski-memory-pumps-v2 img{
  display:block;
  width:100%;
  height:auto;
}

#meski-memory-pumps-v2 .pumps-frame{
  width:min(calc(100% - 60px), 1380px);
  margin-inline:auto;
}

#meski-memory-pumps-v2 .pumps-reading{
  width:min(calc(100% - 44px), 700px);
  margin-inline:auto;
}

#meski-memory-pumps-v2 .pumps-eyebrow,
#meski-memory-pumps-v2 .pumps-kicker{
  margin:0 0 18px;
  color:var(--pm-gold);
  font-size:10px;
  font-weight:700;
  letter-spacing:.20em;
  text-transform:uppercase;
}

#meski-memory-pumps-v2 .pumps-opening-panel{
  position:relative;
  min-height:86vh;
  isolation:isolate;
  color:#fff;
  background:
    var(--pumps-cover) center center / cover no-repeat,
    var(--pm-green-deep);
}

#meski-memory-pumps-v2 .pumps-opening-panel__veil{
  position:absolute;
  inset:0;
  z-index:-1;
  background:
    linear-gradient(90deg,
      rgba(7,16,11,.92) 0%,
      rgba(7,16,11,.70) 42%,
      rgba(7,16,11,.26) 72%,
      rgba(7,16,11,.10) 100%),
    linear-gradient(180deg,
      rgba(0,0,0,.10),
      rgba(0,0,0,.48));
}

#meski-memory-pumps-v2 .pumps-opening-panel__inner{
  min-height:inherit;
  position:relative;
}

#meski-memory-pumps-v2 .pumps-topbar{
  min-height:92px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  border-bottom:1px solid rgba(255,255,255,.17);
}

#meski-memory-pumps-v2 .pumps-brand{
  display:grid;
  text-decoration:none;
}

#meski-memory-pumps-v2 .pumps-brand strong{
  color:var(--pm-gold-soft);
  font-family:"Bodoni Moda", Georgia, serif;
  font-size:26px;
  font-weight:500;
  letter-spacing:.16em;
}

#meski-memory-pumps-v2 .pumps-brand span{
  margin-top:5px;
  color:rgba(255,255,255,.62);
  font-size:8px;
  letter-spacing:.20em;
  text-transform:uppercase;
}

#meski-memory-pumps-v2 .pumps-return{
  color:rgba(255,255,255,.80);
  text-decoration:none;
  font-size:9px;
  font-weight:600;
  letter-spacing:.16em;
  text-transform:uppercase;
}

#meski-memory-pumps-v2 .pumps-opening-panel__content{
  position:absolute;
  left:0;
  bottom:96px;
  width:min(760px, 82vw);
}

#meski-memory-pumps-v2 h1{
  margin:0 0 24px;
  color:#fffaf0;
  font-family:"Bodoni Moda", Georgia, serif;
  font-size:clamp(64px, 9vw, 128px);
  font-weight:500;
  line-height:.88;
  letter-spacing:-.06em;
}

#meski-memory-pumps-v2 .pumps-subtitle{
  max-width:620px;
  margin:0;
  color:rgba(255,250,240,.90);
  font-family:"Bodoni Moda", Georgia, serif;
  font-size:clamp(20px, 2.1vw, 30px);
  line-height:1.48;
}

#meski-memory-pumps-v2 .pumps-article{
  padding-block:0;
}

#meski-memory-pumps-v2 .pumps-reading--intro{
  padding-top:clamp(96px, 12vw, 170px);
}

#meski-memory-pumps-v2 .pumps-reading--body,
#meski-memory-pumps-v2 .pumps-reading--water,
#meski-memory-pumps-v2 .pumps-reading--ending{
  padding-top:clamp(82px, 10vw, 138px);
}

#meski-memory-pumps-v2 .pumps-reading p{
  margin:0 0 24px;
  color:var(--pm-brown);
  font-size:19px;
  line-height:1.9;
  text-wrap:pretty;
}

#meski-memory-pumps-v2 .pumps-lead{
  margin-bottom:34px!important;
  color:var(--pm-green)!important;
  font-family:"Bodoni Moda", Georgia, serif;
  font-size:clamp(28px, 3vw, 40px)!important;
  font-style:italic;
  line-height:1.46!important;
}

#meski-memory-pumps-v2 .pumps-quote-band{
  margin-top:clamp(72px, 9vw, 128px);
  padding:clamp(90px, 11vw, 150px) 24px;
  background:
    linear-gradient(180deg, rgba(12,23,17,1), rgba(12,23,17,.96)),
    var(--pm-green-deep);
}

#meski-memory-pumps-v2 .pumps-quote-band__inner{
  width:min(calc(100% - 20px), 1020px);
  margin-inline:auto;
}

#meski-memory-pumps-v2 .pumps-quote-text{
  margin:0;
  color:#fffaf0;
  text-align:center;
  font-family:"Bodoni Moda", Georgia, serif;
  font-size:clamp(34px, 4.8vw, 66px);
  font-style:italic;
  line-height:1.14;
  letter-spacing:-.04em;
}

#meski-memory-pumps-v2 .pumps-photo-block{
  width:min(calc(100% - 60px), 1240px);
  margin:clamp(90px, 12vw, 160px) auto 0;
}

#meski-memory-pumps-v2 .pumps-photo-block img{
  aspect-ratio:16/9;
  object-fit:cover;
  box-shadow:0 26px 70px rgba(33,24,14,.12);
}

#meski-memory-pumps-v2 .pumps-photo-block figcaption{
  margin-top:16px;
  color:var(--pm-gold);
  font-size:10px;
  font-weight:700;
  letter-spacing:.18em;
  text-transform:uppercase;
}

#meski-memory-pumps-v2 h2{
  margin:0 0 28px;
  color:var(--pm-green);
  font-family:"Bodoni Moda", Georgia, serif;
  font-size:clamp(44px, 5.2vw, 76px);
  font-weight:500;
  line-height:.98;
  letter-spacing:-.05em;
}

#meski-memory-pumps-v2 .pumps-last-line{
  margin-top:36px!important;
  padding-left:24px;
  border-left:2px solid var(--pm-gold);
  color:var(--pm-green)!important;
  font-family:"Bodoni Moda", Georgia, serif;
  font-size:24px!important;
  font-style:italic;
  line-height:1.6!important;
}

#meski-memory-pumps-v2 .pumps-footer{
  position:relative;
  width:100vw!important;
  max-width:none!important;
  margin:clamp(82px, 10vw, 140px) calc(50% - 50vw) 0!important;
  padding:0!important;
  background:var(--pm-green-deep)!important;
  color:#fffaf0;
}

#meski-memory-pumps-v2 .pumps-footer__inner{
  width:min(calc(100% - 60px), 1380px);
  min-height:132px;
  margin-inline:auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:30px;
  border-top:1px solid rgba(231,209,145,.15);
}

#meski-memory-pumps-v2 .pumps-footer__back{
  display:grid;
  text-decoration:none;
}

#meski-memory-pumps-v2 .pumps-footer__back span{
  color:var(--pm-gold);
  font-size:9px;
  font-weight:700;
  letter-spacing:.16em;
  text-transform:uppercase;
}

#meski-memory-pumps-v2 .pumps-footer__back strong{
  margin-top:7px;
  color:#fffaf0;
  font-family:"Bodoni Moda", Georgia, serif;
  font-size:26px;
  font-weight:500;
}

#meski-memory-pumps-v2 .pumps-footer__note{
  margin:0;
  color:rgba(255,250,240,.48);
  font-family:"Bodoni Moda", Georgia, serif;
  font-size:15px;
  font-style:italic;
}

/*
 * Backward-compatible footer support.
 * If WordPress is still rendering the first HTML version, where the footer
 * contains only a direct <a>, this CSS still produces the same green ending
 * as My Dream. This also makes the fix resistant to stale HTML caches.
 */
#meski-memory-pumps-v2 .pumps-footer > a:not(.pumps-footer__back){
  position:relative;
  width:min(calc(100% - 60px), 1380px);
  min-height:132px;
  margin-inline:auto;
  display:flex!important;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  border-top:1px solid rgba(231,209,145,.15);
  color:transparent!important;
  font-size:0!important;
  text-decoration:none!important;
}

#meski-memory-pumps-v2 .pumps-footer > a:not(.pumps-footer__back)::before{
  content:"Return to";
  color:var(--pm-gold);
  font-family:"Jost", Arial, sans-serif;
  font-size:9px;
  font-weight:700;
  letter-spacing:.16em;
  text-transform:uppercase;
}

#meski-memory-pumps-v2 .pumps-footer > a:not(.pumps-footer__back)::after{
  content:"The Fortress of Memories";
  margin-top:7px;
  color:#fffaf0;
  font-family:"Bodoni Moda", Georgia, serif;
  font-size:26px;
  font-weight:500;
  line-height:1.15;
}

#meski-memory-pumps-v2 .pumps-footer:not(:has(.pumps-footer__inner))::after{
  content:"A sound that became memory.";
  position:absolute;
  right:max(30px, calc((100vw - min(calc(100vw - 60px), 1380px)) / 2));
  top:50%;
  transform:translateY(-50%);
  color:rgba(255,250,240,.48);
  font-family:"Bodoni Moda", Georgia, serif;
  font-size:15px;
  font-style:italic;
}

@media (max-width: 820px){
  #meski-memory-pumps-v2 .pumps-frame{
    width:min(calc(100% - 28px), 1380px);
  }

  #meski-memory-pumps-v2 .pumps-opening-panel{
    min-height:80svh;
    background-position:58% center;
  }

  #meski-memory-pumps-v2 .pumps-topbar{
    min-height:82px;
  }

  #meski-memory-pumps-v2 .pumps-brand strong{
    font-size:21px;
  }

  #meski-memory-pumps-v2 .pumps-return{
    max-width:145px;
    text-align:right;
    font-size:8px;
  }

  #meski-memory-pumps-v2 .pumps-opening-panel__content{
    bottom:72px;
    width:100%;
  }

  #meski-memory-pumps-v2 .pumps-reading p{
    font-size:18px;
    line-height:1.84;
  }

  #meski-memory-pumps-v2 .pumps-photo-block{
    width:min(calc(100% - 28px), 1240px);
  }

  #meski-memory-pumps-v2 .pumps-footer__inner{
    width:min(calc(100% - 28px), 1380px);
    min-height:auto;
    display:block;
    padding:30px 0;
  }

  #meski-memory-pumps-v2 .pumps-footer__note{
    margin-top:18px;
  }

  #meski-memory-pumps-v2 .pumps-footer > a:not(.pumps-footer__back){
    width:min(calc(100% - 28px), 1380px);
    min-height:120px;
  }

  #meski-memory-pumps-v2 .pumps-footer:not(:has(.pumps-footer__inner))::after{
    display:none;
  }
}
